Touch method and electronic device
Abstract
The disclosure provides a touch method applied in an electronic device and the corresponding electronic device. The electronic device has a first key arranged at a first position of the electronic device, and the first key is operable to respond to a first operation to control the electronic device to generate a first executable instruction based on the first operation for instructing the electronic device to display a first main interface through the first executable instruction. The method comprises: receiving a second operation via the first key when the electronic device displays a first interface of a first application program; judging whether the second operation satisfies a first preset rule to acquire a first judgment result; generating, according to the first judgment result, a second executable instruction based on the second operation; and controlling, according to the second executable instruction, the electronic device to perform an operation corresponding to the second executable instruction.
Claims
exact text as granted — not AI-modifiedI claim:
1. A touch method applied in an electronic device having a first key arranged at a first position of the electronic device, the first key being operable to respond to a first operation to control the electronic device to generate a first executable instruction based on the first operation for instructing the electronic device to display a first main interface through the first executable instruction, the method comprising:
receiving a second operation via the first key when the electronic device displays a first interface of a first application program;
acquiring data information corresponding to the second operation, the data information representing data information corresponding to movement parameters of the second operation;
determine current posture information of the electronic device;
acquiring a first judgment result based on the data information and the posture information; and
adjusting, according to the first judgment result, a first functional parameter of the electronic device, so that the adjusted first functional parameter corresponds to the first judgment result,
wherein the manner of adjusting the first functional parameter when a first movement direction of the second operation relative to the electronic device and a first posture of the electronic device are determined is identical to the manner of adjusting the first functional parameter when a second movement direction of the second operation relative to the electronic device, which is opposite to the first movement direction, and a second posture of the electronic device, which is opposite to the second posture, are determined.
2. The method according to claim 1 , wherein said adjusting the first functional parameter of the electronic device according to the first judgment result comprises:
adjusting the first functional parameter in a first adjustment mode when the first judgment result indicates that a movement direction in the movement parameters of the second operation which are represented by the data information is a first preset direction or a third preset direction relative to the electronic device, wherein the electronic device is in a posture corresponding to the posture information.
3. The method according to claim 2 , wherein, if the first judgment result indicates that the movement direction in the movement parameters of the second operation which are represented by the data information is a first direction or a third direction and the electronic device is correspondingly in a first posture or a second posture corresponding to the posture information, the first direction or the third direction relative to the electronic device in the first posture or the second posture is correspondingly determined as the first preset direction or the third preset direction.
4. The method according to claim 1 , wherein said adjusting the first functional parameter of the electronic device according to the first judgment result comprises:
adjusting the first functional parameter in a second adjustment mode when the first judgment result indicates that a movement direction in the movement parameters of the second operation which are represented by the data information is a second preset direction or a fourth preset direction relative to the electronic device, wherein the electronic device is in a posture corresponding to the posture information.
5. The method according to claim 4 , wherein, if the first judgment result indicates that the movement direction in the movement parameters of the second operation which are represented by the data information is a second direction or a fourth direction and the electronic device is correspondingly in a first posture or a second posture corresponding to the posture information, the second direction or the fourth direction relative to the electronic device in the first posture or the second posture is correspondingly determined as the second preset direction or the fourth preset direction.
6. The method according to claim 4 , further comprising:
determining, according to the data information, a first displacement formed by the second operation on the first key, and a first speed of the second operation relative to the first key;
judging whether the first displacement and the first speed satisfy a first preset rule to acquire a first judgment result; and
adjusting the first functional parameter in the second adjustment mode according to the first judgment result.
7. The method according to claim 6 , wherein adjusting the first functional parameter in the second adjustment mode according to the first judgment result comprises:
adjusting, according to the first judgment result, the first functional parameter to a first value in the second adjustment mode within a preset period of time when the first judgment result indicates that the first displacement and the first speed satisfy the first preset rule.
8. The method according to claim 2 , further comprising:
determining, according to the data information, a second displacement formed by the second operation on the first key; and
determining a first adjustment amplitude corresponding to the second displacement;
wherein adjusting the first functional parameter in the first adjustment mode comprises adjusting the first functional parameter with the first adjustment amplitude in the first adjustment mode.
9. An electronic device, comprising:
a first key arranged at a first position of the electronic device, the first key being operable to sense a touch operation; and
a second key arranged at a second position of the electronic device, the second key being operable to adjust a first functional parameter of the electronic device,
wherein only the first key and the second key are arranged on a surface of the body of the electronic device,
a processor,
a memory configured to store instructions which, when executed by the processor, causes the processor to:
receive a second operation via the first key;
acquire data information corresponding to the second operation, the data information representing data information corresponding to movement parameters of the second operation;
determine current posture information of the electronic device;
acquire a first judgment result based on the data information and the posture information; and
adjust, according to the first judgment result, the first functional parameter of the electronic device, so that the adjusted first functional parameter corresponds to the first judgment result,
wherein the manner of adjusting the first functional parameter when a first movement direction of the second operation relative to the electronic device and a first posture of the electronic device are determined is identical to the manner of adjusting the first functional parameter when a second movement direction of the second operation relative to the electronic device, which is opposite to the first movement direction, and a second posture of the electronic device, which is opposite to the second posture, are determined.
10. The electronic device according to claim 9 , wherein a first touch sensing region is arranged in the first key, and the electronic device is operable to respond to the touch operation via the first touch sensing region.
11. The electronic device according to claim 9 , wherein the first key is arranged at a first position on a first surface of the electronic device, the first surface being a surface in which the display area of the electronic device is located, the first position being a position corresponding to at least a part of the first surface excluding the display area, and the first key being concave relative to the first surface.
12. The electronic device according to claim 9 , wherein a physiological feature collection unit is integrated in the first key, and the electronic device is operable to collect physiological feature parameters of an operating body corresponding to the touch operation through the physiological feature collection unit.
13. An electronic device, comprising:
a first key arranged at a first position of the electronic device, the first key is operable to respond to a first operation to control the electronic device to generate a first executable instruction based on the first operation for instructing the electronic device to display a first main interface through the first executable instruction; and
a processor configured to:
receive a second operation via the first key when the electronic device displays a first interface of a first application program;
acquire data information corresponding to the second operation, the data information representing data information corresponding to movement parameters of the second operation;
determine current posture information of the electronic device;
acquire a first judgment result based on the data information and the posture information; and
adjust, according to the first judgment result, a first functional parameter of the electronic device, so that the adjusted first functional parameter corresponds to the first judgment result,
wherein the manner of adjusting the first functional parameter when a first movement direction of the second operation relative to the electronic device and a first posture of the electronic device are determined is identical to the manner of adjusting the first functional parameter when a second movement direction of the second operation relative to the electronic device, which is opposite to the first movement direction, and a second posture of the electronic device, which is opposite to the second posture, are determined.Join the waitlist — get patent alerts
Track US9864503B2 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.