Device control method, electronic device, and storage medium
AssigneeGuangdong Oppo Mobile Telecommunications Corp., Ltd.
InventorFenggui Yan
Life of this patent
Estimating the term…
Abstract
A device control method, a device control apparatus, an electronic device, and a storage medium are provided. The electronic device includes an ultrasonic emitter and an ultrasonic receiver. The method includes that operating gesture recognition is performed by the electronic device through ultrasonic waves, a recognition result is generated, a motion parameter of the electronic device is obtained, the recognition result is verified based on the motion parameter, and the electronic device is controlled based on a verification result.
Claims16
A device control method, performed by an electronic device comprising an ultrasonic emitter and an ultrasonic receiver, and comprising:
- performing operating gesture recognition through ultrasonic waves, and generating a recognition result;
- obtaining a motion parameter of the electronic device;
- determining that the recognition result corresponds to a motion posture indicated by the motion parameter, in response to detecting that a recognized operating gesture indicated by the recognition result is a target gesture, and the motion parameter indicates that the electronic device is stationary;
- determining that the recognition result does not correspond to the motion posture, in response to detecting that the recognized operating gesture indicated by the recognition result is the target gesture, and the motion parameter indicates that the electronic device is moving in a specified direction, wherein a moving direction of the target gesture corresponds to the specified direction;
- and
- determining that the recognition result is valid in response to detecting that the recognition result corresponds to the motion posture, and controlling the electronic device based on the recognition result.
An electronic device, comprising an ultrasonic emitter, an ultrasonic receiver, a processor, and a memory, wherein one or more programs are stored in the memory and are configured to be executed by the processor to:
- perform operating gesture recognition through ultrasonic waves, and generate a recognition result;
- obtain a motion parameter of the electronic device;
- determine that the recognition result corresponds to a motion posture indicated by the motion parameter, in response to detecting that a recognized operating gesture indicated by the recognition result is a target gesture, and the motion parameter indicates that the electronic device is stationary;
- determine that the recognition result does not correspond to the motion posture, in response to detecting that the recognized operating gesture indicated by the recognition result is the target gesture, and the motion parameter indicates that the electronic device is moving in a specified direction, wherein a moving direction of the target gesture corresponds to the specified direction;
- and
- determine that the recognition result is valid in response to detecting that the recognition result corresponds to the motion posture, and controlling the electronic device based on the recognition result.
A non-transitory computer-readable storage medium configured to store program codes which, when operated by a processor, are configured to:
- perform operating gesture recognition through ultrasonic waves, and generate a recognition result;
- obtain a motion parameter of the electronic device;
- determine that the recognition result corresponds to a motion posture indicated by the motion parameter, in response to detecting that a recognized operating gesture indicated by the recognition result is a target gesture, and the motion parameter indicates that the electronic device is stationary;
- determine that the recognition result does not correspond to the motion posture, in response to detecting that the recognized operating gesture indicated by the recognition result is the target gesture, and the motion parameter indicates that the electronic device is moving in a specified direction, wherein a moving direction of the target gesture corresponds to the specified direction;
- and
- determine that the recognition result is valid in response to detecting that the recognition result corresponds to the motion posture, and controlling the electronic device based on the recognition result.
Dependencies are inferred from the claim text.