CN104423818A - Information processing method, information processing device and electronic device - Google Patents
Information processing method, information processing device and electronic device Download PDFInfo
- Publication number
- CN104423818A CN104423818A CN201310376152.7A CN201310376152A CN104423818A CN 104423818 A CN104423818 A CN 104423818A CN 201310376152 A CN201310376152 A CN 201310376152A CN 104423818 A CN104423818 A CN 104423818A
- Authority
- CN
- China
- Prior art keywords
- electronic device
- operation instruction
- information
- hardware key
- key
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0489—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using dedicated keyboard keys or combinations thereof
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Input From Keyboards Or The Like (AREA)
Abstract
The application provides an information processing method, an information processing device and an electronic device. The information processing method is applied to the electronic device which comprises at least one hardware key and an induction device. The electronic device obtains collection information through the induction device, and processes the collection information so as to confirm a corresponding first operation instruction. The information processing method includes: obtaining an operation body so as to operate trigger information generated by the at least one hardware key; confirming a second operation instruction corresponding to the trigger information according to the trigger information; responding to the second operation instruction, and thereby achieving the purpose that the operation body can directly operate the at least one hardware key so as to enable the electronic device to execute the second operation instruction as same as the first operation instruction. Compared with an information processing method of obtaining the collection information through the induction device, and then using the electronic device to process the collection information so as to confirm the first operation instruction and respond to the first operation instruction in the prior art, success rate of operating the hardware key is higher than success rate of obtaining the collection information of the induction device, and therefore success rate of operating the electronic device is improved.
Description
Technical Field
The present disclosure relates to the field of information processing technologies, and in particular, to an information processing method and apparatus, and an electronic device.
Background
Currently, there are more and more users using intelligent electronic devices. The user may use a virtual keyboard in the intelligent electronic device for text entry or game play, etc. When a user uses a virtual keyboard to input characters, input matching errors occur. At this time, the user needs to click the Backspace key in the virtual keyboard, and the operation fails when the Backspace key is in poor touch.
When a user uses the intelligent electronic device to play a game, the user frequently clicks a virtual key in the virtual keyboard, and when the virtual key is poorly touched, the user may also fail to operate the virtual keyboard. Similarly, when the user uses the virtual keys in the virtual keyboard to perform other application operations, the problem of operation failure due to poor touch of the virtual keys also exists.
Disclosure of Invention
The technical problem to be solved by the present application is to provide an information processing method to solve the problem of operation failure caused by poor touch of a virtual key in the prior art.
The application also provides an information processing device and electronic equipment, which are used for ensuring the realization and application of the method in practice.
One aspect of the present application provides an information processing method, which is applied to an electronic device, where the electronic device includes at least one hardware key and an induction device, and the electronic device obtains collected information through the induction device and processes the collected information to determine a corresponding first operation instruction; the method comprises the following steps:
acquiring trigger information, wherein the trigger information is generated when the operation body operates the at least one hardware key;
determining a second operation instruction corresponding to the trigger information according to the trigger information;
responding to the second operation instruction; and the first operation instruction corresponding to the acquisition information and the second operation instruction corresponding to the trigger information are the same operation instruction.
Preferably, before obtaining the trigger information, the method further comprises: and setting the operation action association corresponding to the first operation instruction as the key operation of the at least one hardware key.
Preferably, setting the operation action association corresponding to the first operation instruction as a key operation of the at least one hardware key further includes:
after a first application is started, monitoring whether the key operation of the at least one hardware key corresponds to an operation action corresponding to a first operation instruction in the first application;
when a first application is started and the key operation of at least one hardware key is monitored to correspond to the operation action corresponding to a first operation instruction in the first application, monitoring whether the trigger information is generated on the at least one hardware key which is associated with the key operation;
and when the trigger information generated on the at least one hardware key is monitored, obtaining the trigger information.
Preferably, the method further comprises the following steps:
acquiring the operation position of the operation body at the current moment, which is acquired by the sensing device;
responding to the second operation instruction comprises: and responding to the second operation instruction when the operation position is located in the range of a response area, wherein the response area is the response area of the electronic equipment for responding to the first operation instruction obtained through the induction device.
Preferably, the first operation instruction comprises at least one operation instruction of clicking, sliding and page turning.
Preferably, the electronic device comprises one hardware key, and the hardware key is arranged at the upper left corner or the upper right corner of the side face of the electronic device under the condition that the size of the electronic device is in the first size range.
Preferably, the electronic device comprises one hardware key, and the hardware key is arranged on the upper half part of the left side surface or the upper half part of the right side surface of the electronic device under the condition that the size of the electronic device is in the second size range.
Another aspect of the present application provides an information processing apparatus, which is applied to an electronic device, where the electronic device includes at least one hardware key and an induction device, and the electronic device obtains collected information through the induction device and processes and determines a corresponding first operation instruction for the collected information; the device comprises:
the acquisition unit is used for acquiring trigger information, wherein the trigger information is generated when the operation body operates the at least one hardware key;
the selecting unit is used for determining a second operation instruction corresponding to the trigger information according to the trigger information;
the execution unit is used for responding to the second operation instruction; and the first operation instruction corresponding to the acquisition information and the second operation instruction corresponding to the trigger information are the same operation instruction.
Preferably, the method further comprises the following steps: and the setting unit is used for setting the operation action association corresponding to the first operation instruction as the key operation of the at least one hardware key.
Preferably, the method further comprises the following steps:
the first monitoring unit is used for monitoring whether the key operation of the at least one hardware key corresponds to the operation action corresponding to the first operation instruction in the first application or not after the first application is started;
the second monitoring unit is used for monitoring whether the triggering information is generated on the at least one hardware key which is associated with the key operation when the first application is started and the operation action corresponding to the first operation instruction in the first application is monitored when the key operation of the at least one hardware key is corresponding to the first operation instruction;
the acquiring unit is specifically configured to acquire the trigger information when the second monitoring unit monitors that the trigger information is generated on the at least one hardware key.
Preferably, the apparatus further comprises:
the position acquisition unit is used for acquiring the operation position of the operation body at the current moment, which is acquired by the induction device;
the execution unit is specifically configured to respond to the second operation instruction when the operation position is within a range of a response area, where the response area is a response area where the electronic device obtains a response to the first operation instruction through the sensing device.
Preferably, the first operation instruction comprises at least one operation instruction of clicking, sliding and page turning.
Still another aspect of the present application provides an electronic device, including at least one hardware button and an induction device, the electronic device obtains the acquisition information and is right through the induction device the acquisition information is processed and is confirmed the first operating instruction that corresponds, still includes above-mentioned information processing device.
Preferably, the electronic device comprises one hardware key, and the hardware key is arranged at the upper left corner or the upper right corner of the side face of the electronic device under the condition that the size of the electronic device is in the first size range.
Preferably, the electronic device comprises one hardware key, and the hardware key is arranged on the upper half part of the left side surface or the upper half part of the right side surface of the electronic device under the condition that the size of the electronic device is in the second size range.
Compared with the prior art, the method has the following advantages:
in the application, the electronic device includes at least one hardware key and a sensing device, and the electronic device can process the acquired information obtained by the sensing device and determine a first operation instruction corresponding to the acquired information. When the operation body operates at least one hardware key, trigger information is generated, and the electronic equipment can determine a second operation instruction corresponding to the trigger information according to the trigger information and respond to the second operation instruction.
That is to say, the electronic device replaces the first operation instruction corresponding to the acquisition information obtained by the sensing device with the second operation instruction corresponding to the trigger information generated by the hardware key, and the first operation instruction and the second operation instruction are the same operation instruction, so that the operation body can directly operate the hardware key to enable the electronic device to execute the second operation instruction which is the same as the first operation instruction. Compared with the mode that the acquisition information is acquired by the induction device, the electronic equipment processes the acquisition information to determine the first operation instruction and responds to the first operation instruction in the prior art, the success rate of hardware key operation is higher than the success rate of acquisition information acquired by the induction device, and therefore the success rate of operation of the electronic equipment is improved.
Drawings
FIG. 1 is a flow chart of an information processing method provided herein;
FIG. 2 is a schematic diagram of a hardware key arrangement in an electronic device;
FIG. 3 is another schematic diagram of a hardware key arrangement in an electronic device;
FIG. 4 is a schematic diagram of another embodiment of a hardware key arrangement in an electronic device;
FIG. 5 is a schematic diagram of another embodiment of a hardware key arrangement in an electronic device;
FIG. 6 is a schematic diagram of another embodiment of a hardware key arrangement in an electronic device;
FIG. 7 is a rear view of a hardware key arrangement in an electronic device;
FIG. 8 is another backward schematic view of a hardware key arrangement in an electronic device;
FIG. 9 is a schematic diagram of another embodiment of a hardware key arrangement in an electronic device;
FIG. 10 is a schematic diagram of a hardware key arrangement in an electronic device;
FIG. 11 is another flow chart of an information processing method provided herein;
FIG. 12 is a flowchart of another information processing method provided in the present application;
FIG. 13 is a flowchart of another information processing method provided in the present application;
FIG. 14 is a schematic diagram of an information processing apparatus according to the present application;
FIG. 15 is a schematic view of another configuration of an information processing apparatus provided in the present application;
FIG. 16 is a schematic diagram of another structure of an information processing apparatus provided in the present application;
fig. 17 is a schematic diagram of still another structure of the information processing apparatus according to the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The application is operational with numerous general purpose or special purpose computing device environments or configurations. For example: personal computers, server computers, handheld devices, portable devices, tablet-type devices, and the like.
Referring to fig. 1, a flowchart of an information processing method provided in an embodiment of the present application is shown, where the information processing method is applied to an electronic device including at least one hardware key and a sensing device, and the electronic device may obtain collected information through the sensing device and process the collected information to determine a corresponding first operation instruction.
The information processing method provided by the embodiment of the application can comprise the following steps:
step 101: and acquiring trigger information, wherein the trigger information is generated when the operation body operates the at least one hardware key.
In this embodiment, the hardware keys may be configured on the electronic device according to the size and shape of the electronic device and in combination with human mechanics, which is a science that uses mechanics principle to research and maintain and grasp the balance of the body and how the body effectively coordinates when the human body changes from one posture to another posture. The position of the hardware key set on the electronic device according to the above condition may be the most convenient position for the operation body to touch when operating the electronic device. In the actual setting process, the hardware keys of the same kind of electronic equipment with different shapes and sizes, such as a tablet computer, can be set differently.
When the electronic device includes a hardware key and the size of the electronic device is within the first size range, the hardware key on the electronic device is disposed at the upper left corner of the side surface of the electronic device, as shown in fig. 2. Wherein the size of the electronic device refers to a height dimension among body dimensions of the electronic device. And the first size range may be 0 to 4.5 inches. Of course, the first size range may take other values, and different values may be set for different people, which is not limited in this embodiment.
In the electronic device shown in fig. 2, the hardware keys are arranged at the upper left corner of the side surface of the electronic device, which is convenient for a user holding the electronic device with the right hand to operate the hardware keys with the index finger, and for a user holding the electronic device with the left hand to operate the hardware keys with the thumb.
Of course, in the case that the electronic device includes one hardware key, and the size of the electronic device is within the first size range, the one hardware key on the electronic device is disposed at the upper right corner of the side surface of the electronic device, as shown in fig. 3. The arrangement shown in fig. 3 facilitates the operation of the hardware keys with the index finger for a user holding the electronic device with the left hand and the thumb for a user holding the electronic device with the right hand.
When the electronic device includes a hardware key and the size of the electronic device is within the second size range, the hardware key on the electronic device is disposed on the upper half of the left side of the electronic device, as shown in fig. 4. Of course, when the size of the electronic device is within the second size range, a hardware key may be disposed on the upper half of the right side of the electronic device, as shown in fig. 5.
In this embodiment, the minimum value of the second size range is greater than the maximum value of the first size range, i.e. the arrangement shown in fig. 4 and 5 is suitable for electronic devices with larger sizes. The specific value of the second size range may be set by different manufacturers to different values, and certainly, different values may be set for different people by the same type of electronic device of the same manufacturer, which does not limit this embodiment.
In addition, as another way of setting the hardware keys of the electronic device in this embodiment, refer to fig. 6, in the schematic diagram shown in fig. 6, the electronic device includes a hardware key, and the hardware key is set at the bottom of the upper surface of the electronic device, so that the user can use the thumb to operate the hardware key.
Referring to fig. 7, which is a schematic view illustrating an electronic device provided with a hardware key according to an embodiment of the present application, in the schematic view illustrated in fig. 7, the electronic device includes a hardware key, and the hardware key is disposed at an upper left corner of a bottom surface of the electronic device. Of course, the hardware key on the electronic device may also be disposed at the upper right corner of the bottom surface of the electronic device as shown in fig. 8.
When the electronic device includes a plurality of hardware keys, for example, two hardware keys, the two hardware keys may be sequentially disposed at a certain interval when disposed at the bottom of the upper surface of the electronic device. The two hardware keys are sequentially arranged at certain intervals, and are similar to the arrangement of keys on the same row in a common keyboard, as shown in fig. 9.
When the electronic device includes a plurality of hardware keys, the plurality of hardware keys may also be sequentially disposed on a side surface of the electronic device, as shown in fig. 10. Fig. 10 is a further schematic diagram of the electronic device in the embodiment of the present application, in the arrangement shown in fig. 10, two hardware keys are respectively disposed on a side surface of the electronic device, and a certain interval is provided between the two hardware keys. The mode of sequentially arranging the keys on the side surface of the electronic equipment at certain intervals is similar to the mode of arranging the keys in the same row in a keyboard of a mobile phone.
It should be noted that the length of the hardware key arranged on the electronic device according to the arrangement shown in fig. 2 to fig. 10 is greater than the lengths of other hardware keys in the electronic device, and the width is also greater than the widths of other hardware keys in the electronic device, so as to be distinguished from other hardware keys.
Step 102: and determining a second operation instruction corresponding to the trigger information according to the trigger information.
In this embodiment, the trigger information may include at least one of click information and continuous press information, where the click information may include any one of click information, double click information, and continuous click information.
When the hardware key is pressed down once by the operation body, click information is generated, and a second operation instruction corresponding to the click information is a click instruction; when the operating body continuously presses the hardware key twice, double-click information is generated, and a second operating instruction corresponding to the double-click information is a double-click instruction; when the operating body presses the hardware key for more than three times continuously, continuous click information is generated, and a second operating instruction corresponding to the continuous click information is a continuous click instruction.
When the operating body presses the hardware key for a period of time, the triggering information generated by the hardware key comprises the information of pressing for the period of time and also comprises the information of which part of the hardware key is continuously pressed. The second operation instruction corresponding to the information pressed for a period of time may be a sliding instruction, and when different parts of the hardware key are pressed continuously, the corresponding sliding instruction indicates that the hardware key slides in different directions.
For example, if the upper half part of the hardware key is continuously pressed by the operation body for a period of time, the corresponding sliding instruction is an upward sliding instruction; and when the operating body continuously presses the lower half part of the hardware key for a period of time, the corresponding sliding instruction is a downward sliding instruction.
Certainly, when different parts of the hardware key are continuously pressed, the sliding instruction may also be a leftward sliding instruction or a rightward sliding instruction, and specifically, the sliding instruction may be: the operation body continuously presses the upper half part of the hardware key for a period of time, and the corresponding sliding instruction is a leftward sliding instruction; when the operating body continuously presses the lower half part of the hardware key for a period of time, the corresponding sliding instruction is a rightward sliding instruction.
In addition, when different parts of the hardware key are continuously pressed, the second operation instruction corresponding to the trigger information can also be a page turning instruction, for example, when the operation body continuously presses the upper half part of the hardware key for a period of time, the corresponding page turning instruction is an instruction for turning to the previous page; when the operating body continuously presses the lower half part of the hardware key for a period of time, the corresponding page turning instruction is an instruction for turning to the next page.
Of course, the trigger information may include multiple types of trigger information, and as including click information and pressing information lasting for a period of time, the corresponding second operation instruction may include a click instruction and an instruction corresponding to the pressing information lasting for a period of time, where the instruction corresponding to the pressing information lasting for a period of time may be a slide instruction or a page-turning instruction.
Step 103: responding to the second operation instruction; and the first operation instruction corresponding to the acquisition information and the second operation instruction corresponding to the trigger information are the same operation instruction.
In this embodiment, the second operation instruction may be any one of a click instruction, a slide instruction, and a page turning instruction, and of course, the second operation instruction may also be any combination of a click instruction, a slide instruction, and a page turning instruction.
And the electronic equipment responds to the second operation instruction after determining the second operation instruction corresponding to the trigger information. For example, when the electronic device needs to slide upward to release the standby state of the electronic device when the electronic device is unlocked, the upward sliding instruction may be associated with an operation in which the upper half portion of the hardware key is continuously pressed for a period of time. And after the upper half part of the hardware key is continuously pressed for a period of time by the operation body, determining an upward sliding instruction corresponding to the trigger information, responding to the upward sliding instruction by the electronic equipment, and unlocking the electronic equipment.
The points to be explained are: in the prior art, when an operating body operates on a sensing device, the sensing device collects information and determines that a corresponding first operating instruction is a system-level event, which is directly managed by an operating system of an electronic device. The information processing method provided by the embodiment of the application adopts the operation of the hardware key to simulate the operation of the operating body on the sensing device, so that when the hardware key on the electronic equipment simulates a second operation instruction which is the same as the first operation instruction, the hardware key sends a system level event to the operating system, the operating system sends the system level event to the application program which currently has the use right of the sensing device, and the application program responds to the second operation instruction.
The following describes the principle of the electronic device responding to the second operation instruction corresponding to the operation of the hardware key: the operating system of the electronic device is a hardware key with the number of key1, a monitoring event is added to the key1 in the operating system, the hardware key is made to be a globally valid button, and meanwhile, the processing logic of the key1 is added to the operating system.
Wherein the processing logic that adds key1 inside the operating system includes: 1) storing hardware key configuration corresponding to the opened application in a memory by using a data structure, and reading the configuration of the application program currently having the use right of the induction device as an execution scheme of the hardware key;
2) when key1 is pressed, a public laptop onKeyDown (int keyCode, KeyEvent event) method is used to overwrite the processing event when key1 is pressed
if(KeyEvent.KEYCODE_HOME==key1){
Handling events
}; the processing event is an execution scheme of the configured hardware key of the application program currently having the usage right of the sensing device when the hardware key is pressed, for example, the processing event may be a click event or a slide event.
3) And the hardware key sends a processing event to the operating system according to the read configuration, and informs the operating system of performing operation corresponding to the processing event on the sensing device. The operating system further sends a notification of the processing event to the application program that currently owns the usage rights for the sensing device, and the application program responds to the notification. For example, when the processing event is a click event of the sensing device, the hardware button notifies the operating system that a click operation is performed on a specified point of the sensing device, the operating system notifies the corresponding point of the application program to respond to the click operation, and the application program responds to the click operation on the corresponding point after receiving the notification. According to the technical scheme, the electronic equipment replaces the first operation instruction corresponding to the acquired information obtained by the sensing device with the second operation instruction corresponding to the triggering information generated by the hardware key, and the first operation instruction and the second operation instruction are the same operation instruction, so that the operation body can directly operate the hardware key to enable the electronic equipment to execute the second operation instruction which is the same as the first operation instruction. Compared with the mode that the acquisition information is acquired by the induction device, the electronic equipment processes the acquisition information to determine the first operation instruction and responds to the first operation instruction in the prior art, the success rate of hardware key operation is higher than the success rate of acquisition information acquired by the induction device, and therefore the success rate of operation of the electronic equipment is improved.
In addition, the hardware keys may be set in the setting manner shown in any one of the schematic diagrams of fig. 2 to 10, so that the user may directly operate the hardware keys using a finger while holding the electronic device. Besides, the length and the width of the hardware key can be respectively larger than those of other hardware keys, when a user continuously presses the hardware key in any one of the schematic diagrams of fig. 2 to 10, the operation is convenient and the finger pressing is not uncomfortable due to the size problem of the hardware key.
Please refer to fig. 11, which shows another flowchart of an information processing method provided in an embodiment of the present application, where the information processing method is applied to an electronic device including at least one hardware key and an induction device, and the electronic device obtains collected information through the induction device and processes and determines a corresponding first operation instruction for the collected information; the information processing method may include the steps of:
step 201: and setting the operation action association corresponding to the first operation instruction as the key operation of the at least one hardware key. The first operation instruction is a first operation instruction which is obtained by the electronic equipment through the induction device and is used for processing and determining the acquired information.
When the operation body operates the electronic device, the collected information obtained by the sensing device may be information of an operation point on the electronic device, such as a position of the operation point and a time interval between the operation points. The electronic equipment analyzes the acquired information obtained by the induction device to obtain what kind of operation instruction the electronic equipment carries out, so that the operation action corresponding to the type of operation instruction is obtained.
When the acquisition information obtained by the sensing device comprises the position of an operation point and the time interval is zero, the electronic equipment analyzes that the first operation instruction corresponding to the acquisition information is a click instruction, the operation action corresponding to the click instruction is click operation, when the click operation is related to the hardware key, the click operation association is set as one-time pressing operation of the hardware key, namely when the operation body presses the hardware key once, the electronic equipment is indicated to be required to be subjected to click operation.
When the acquired information obtained by the sensing device comprises the positions of a plurality of operation points, the position difference between the plurality of operation points is close to zero, and a certain time interval exists between two adjacent operation points, the electronic device analyzes that the first operation instruction corresponding to the acquired information is a continuous click instruction, the operation action corresponding to the continuous click instruction is continuous click operation, and the continuous click operation is associated to the hardware key, the periodic pressing operation of the hardware key can be associated and set, namely when the hardware key is periodically pressed by the operating body, the continuous click operation of the electronic device is required.
When the acquired information obtained by the sensing device comprises the positions of a plurality of operation points, a certain position difference exists between the operation points, and the time interval between the operation points is close to zero, the electronic device analyzes that the first operation instruction corresponding to the acquired information is a sliding instruction, the operation action corresponding to the sliding instruction is sliding operation, and the sliding operation is associated with the hardware key, the hardware key can be associated and set to be pressed for a period of time, namely, when the operation body presses the hardware key for a period of time, the electronic device is indicated to need to be subjected to sliding operation.
Certainly, the acquired information obtained by the sensing device includes positions of a plurality of operation points, a certain position difference exists between the plurality of operation points, and a time interval between the plurality of operation points is close to zero, the electronic device analyzes that the first operation instruction corresponding to the acquired information is a page turning instruction, and the operation action corresponding to the page turning instruction is a page turning operation.
The above lists several types of operation actions corresponding to the first operation instruction, but this embodiment is not limited to setting only the operation actions associated with the hardware key as the key operation of the hardware key, and the operation actions corresponding to other first operation instructions of the electronic device may also be associated with the key operation set as the hardware key as well, and this embodiment is not limited to this embodiment.
In addition, when the operation action corresponding to the first operation instruction may be a mixture of several operation actions, the mixture association of several operation actions may also be set as a key operation of a hardware key, and this embodiment will not be described in detail again. The mixing of several operation actions means that several different types of operation actions are executed in sequence.
It should be noted that: in this embodiment, the sensing device may be a touch screen of the electronic device, and when the operation body operates the touch screen, the touch screen may acquire the collected information. Of course, the sensing device may also be arranged in the electronic device, and is used to obtain the collected information when the operation questions operate the touch screen, and specifically, the sensing device may be set by different manufacturers.
Step 202: and acquiring trigger information, wherein the trigger information is generated when the operation body operates the at least one hardware key.
When the operation body performs key operation on the hardware key, the hardware key generates trigger information, and the trigger information indicates what key operation is performed on the hardware key by the operation body. And the operation action association corresponding to different first operation instructions is set as different key operations on the hardware key, and the generated trigger information is different.
The key operation on the hardware key may include pressing the hardware key once, pressing the hardware key twice continuously, and pressing the hardware key three or more times continuously, and the trigger information is click information, double click information, and continuous click information, respectively. The key operation on the hardware key may further include pressing the hardware key for a duration of time, and the trigger information includes information on the pressing for the duration of time and which part of the hardware key is continuously pressed. For the key operation and the triggering information of the hardware key, refer to the detailed description of step 101 in the embodiment shown in fig. 1, which is not described again in this embodiment.
Step 203: and determining a second operation instruction corresponding to the trigger information according to the trigger information.
When the operation body executes different key operations on the hardware key, the generated trigger information is also different, and the corresponding second operation instruction is also different, please refer to the description in step 102 in the embodiment shown in fig. 1, which is not described again in this embodiment.
Step 204: responding to the second operation instruction; and the first operation instruction corresponding to the acquisition information and the second operation instruction corresponding to the trigger information are the same operation instruction.
In this embodiment, the second operation instruction and the first operation instruction are the same operation instruction, and then the operation action corresponding to the first operation instruction is also the operation action corresponding to the second operation instruction, and then the electronic device responds to the second operation instruction and responds to the operation action corresponding to the second operation instruction.
In this embodiment, the electronic device sets the operation action association corresponding to the first operation instruction as the key operation of the at least one hardware key, and when the operation body performs the key operation on the hardware key and the key operation association sets the operation action corresponding to the first operation instruction, the electronic device may determine, according to the trigger information, a second operation instruction that is the same as the first operation instruction, so as to respond to the operation action of the second operation instruction on the electronic device, change the existing manner of determining the first operation instruction and responding to the first operation instruction by processing the acquired information obtained by the sensing device, and improve the operation success rate.
Referring to fig. 12, a flowchart of an information processing method provided in an embodiment of the present application is shown, where the information processing method is applied to an electronic device including at least one hardware key and a sensing device, and the electronic device may obtain collected information through the sensing device and process the collected information to determine a corresponding first operation instruction. The information processing method may include the steps of:
step 301: and setting the operation action association corresponding to the first operation instruction as the key operation of the at least one hardware key. The first operation instruction is a first operation instruction which is obtained by the electronic equipment through the induction device and is used for processing and determining the acquired information.
In the design process of the electronic equipment, a developer can respectively select at least one first operation instruction from partial applications of the electronic equipment, and the operation action association corresponding to the at least one first operation instruction in the selected applications is set as the key operation of the at least one hardware key. The operation action corresponding to the selected first operation instruction may be associated with the same key operation set as the at least one hardware key, or may be associated with different key operations set as the at least one hardware key, and may be specifically set by a developer.
In this embodiment, please refer to the related description in step 201 for an optional manner of the operation action, the key operation and the associated setting of the operation action and the key operation corresponding to the first operation instruction, which will not be further described in this embodiment.
It should be noted that: when the electronic device sets the operation action association corresponding to the first operation instruction as the key operation of at least one hardware key, the operation action association corresponding to one first operation instruction may be set as the key operation of one hardware key, that is, an operation action corresponding to one first operation instruction is set on the key operation of each hardware key.
Of course, if the number of the selected first operation instructions is greater than the number of the hardware keys, the operation actions of the first operation instructions in different applications can be repeatedly set on the same hardware key. Because the electronic equipment distributes different identification numbers for different applications, when the operation action of the first operation instruction in different applications is repeatedly set on the same hardware key, the electronic equipment can match the currently executed application through the identification numbers and determine the operation action corresponding to the key operation of the hardware key.
Step 302: and after the first application is started, monitoring whether the key operation of the at least one hardware key corresponds to the operation action corresponding to the first operation instruction in the first application, if so, executing step 307, and if not, executing step 303.
When the electronic device sets the operation action association as the key operation of the hardware key, the electronic device selects the operation action corresponding to at least one first operation instruction in a part of applications to perform the association setting, so that after the first application of the electronic device is started, whether the key operation of at least one hardware key corresponds to the operation action corresponding to the first operation instruction in the first application needs to be monitored.
In this embodiment, it is monitored whether the key operation of the at least one hardware key corresponds to the operation action corresponding to the first operation instruction in the first application, by monitoring whether the started first application is the application selected in the association setting, specifically, by monitoring whether the identification number of the started first application is included in the identification number of the selected application, if the identification number of the started first application is included in the identification number of the selected application, it indicates that the key operation of the at least one hardware key corresponds to the operation action corresponding to the first operation instruction in the first application, and if not, it indicates that the key operation of the at least one hardware key does not correspond to the operation action corresponding to the first operation instruction in the first application.
When the key operation of at least one hardware key does not correspond to the operation action corresponding to the first operation instruction in the first application, the operation action of the first operation instruction in the first application can be executed according to the existing operation mode.
For example, if the application selected by the electronic device includes a game application but does not include a text input application, when the first application started by the electronic device is the game application, it is necessary to monitor whether a key operation of at least one hardware key corresponds to an operation action corresponding to a first operation instruction in the first application. And when the first application started by the electronic equipment is a character input application, the electronic equipment executes the first application according to the existing operation flow and operation mode.
Step 303: when the first application is started and the operation action corresponding to the first operation instruction in the first application is monitored to be corresponding to the key operation of the at least one hardware key, whether the trigger information is generated on the at least one hardware key with the key operation in a relevant manner is monitored, if so, step 304 is executed, and if not, step 307 is executed.
When it is monitored that the key operation of at least one hardware key corresponds to the operation action corresponding to the first operation instruction in the first application, the electronic device needs to further monitor whether the hardware key generates the trigger information, that is, whether the operation body operates the hardware key.
Step 304: and when it is monitored that the triggering information is generated on the at least one hardware key, acquiring the triggering information, wherein the triggering information is generated when the operating body operates the at least one hardware key.
The electronic equipment monitors that the triggering information is generated on at least one hardware key to acquire the triggering information. The key operation and the triggering information of the hardware key may refer to the detailed description of step 101 in the embodiment shown in fig. 1, and are not described again in this embodiment.
Step 305: and determining a second operation instruction corresponding to the trigger information according to the trigger information.
When the operation body executes different key operations on the hardware key, the generated trigger information is also different, and the corresponding second operation instruction is also different, please refer to the description in step 102 in the embodiment shown in fig. 1, which is not described again in this embodiment.
Step 306: responding to the second operation instruction; and the first operation instruction corresponding to the acquisition information and the second operation instruction corresponding to the trigger information are the same operation instruction.
Step 307: and executing the operation action corresponding to the first operation instruction in the first application according to the existing operation mode of the operation action.
In this embodiment, the electronic device may select the operation action association corresponding to at least one first operation instruction in a part of applications to be the key operation of at least one hardware key, so that the electronic device may select and set the corresponding hardware key in a targeted manner, thereby avoiding an increase in cost of the electronic device due to an excessive increase in hardware keys.
Please refer to fig. 13, which shows another flowchart of an information processing method provided in an embodiment of the present application, where the information processing method is applied to an electronic device including at least one hardware key and a sensing device, and the electronic device may obtain collected information through the sensing device and process and determine a corresponding first operation instruction for the collected information. The information processing method may include the steps of:
step 401: and acquiring trigger information, wherein the trigger information is generated when the operation body operates the at least one hardware key.
Step 402: and determining a second operation instruction corresponding to the trigger information according to the trigger information.
In this embodiment, the specific implementation of step 401 and step 402 can refer to the description of step 101 and step 102, and will not be described again in this embodiment. Of course, before step 401 is executed, steps 301 to 303 may be added, and the specific implementation process refers to the embodiment shown in fig. 3.
Step 403: and acquiring the operation position of the operation body at the current moment acquired by the sensing device.
When the operation body operates the electronic equipment, an operation point is formed on the electronic equipment, and the operation position operated by the operation body at the current time refers to the coordinate of the operation point formed on the electronic equipment at the current time.
Step 404: and responding to the second operation instruction when the operation position is located in the response area range.
Wherein the response area is a response area of the electronic device for responding to the first operation instruction obtained by the sensing device. The electronic device presets a corresponding response area for the first operation instruction of different applications, that is, the electronic device can respond to the first operation instruction in the response area. The electronic equipment records the response area by setting the coordinate point.
The operating position is located in the response area range, namely the coordinate of an operating point formed on the current electronic equipment is located in the response area range, the electronic equipment can judge whether the operating position is located in the response area range or not by comparing the value of the coordinate, and when the operating position is located in the response area range, the electronic equipment responds to a second operating instruction, so that the problem of operation errors when an operating body operates a hardware key in the non-response area range is solved.
While, for purposes of simplicity of explanation, the foregoing method embodiments have been described as a series of acts or combination of acts, it will be appreciated by those skilled in the art that the present application is not limited by the order of acts or acts described, as some steps may occur in other orders or concurrently with other steps in accordance with the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
Corresponding to the method embodiment, an embodiment of the present application further provides an information processing apparatus, which is applied to an electronic device including at least one hardware key and a sensing device, where the electronic device obtains acquired information through the sensing device and processes the acquired information to determine a corresponding first operation instruction; referring to fig. 14, a schematic structural diagram of the information processing apparatus may include: an acquisition unit 11, a selection unit 12 and an execution unit 13. Wherein,
the acquiring unit 11 is configured to acquire trigger information, where the trigger information is trigger information generated when the operating body operates the at least one hardware key.
In this embodiment, the setting manner of the hardware key on the electronic device can refer to the schematic diagrams shown in fig. 2 to 10. The trigger information may include at least one of click information, double click information, continuous click information, and information pressed for a certain duration, and the key operation of the corresponding hardware key may include that the operator presses the hardware key once, the operator presses the hardware key twice continuously, the operator presses the hardware key three times continuously, and the operator presses the hardware key for a certain duration, which is specifically described in step 101.
And the selecting unit 12 is configured to determine, according to the trigger information, a second operation instruction corresponding to the trigger information.
In this embodiment, the trigger information may include at least one of click information, double-click information, continuous-click information, and continuous-time pressing information, and the corresponding second operation instruction may include at least one of a click instruction, a double-click instruction, a continuous-click instruction, a slide or page-turning instruction, which is described in detail with reference to the related description in step 102.
An execution unit 13, configured to respond to the second operation instruction; and the first operation instruction corresponding to the acquisition information and the second operation instruction corresponding to the trigger information are the same operation instruction.
In this embodiment, the second operation instruction may be any one of a click instruction, a slide instruction, and a page turning instruction, and of course, the second operation instruction may also be any combination of a click instruction, a slide instruction, and a page turning instruction. The first operation instruction is the same operation instruction as the second operation instruction, so the first operation instruction may include at least one of a click instruction, a slide instruction, and a page turn instruction.
And the electronic equipment responds to the second operation instruction after determining the second operation instruction corresponding to the trigger information. For example, when the electronic device needs to slide upward to release the standby state of the electronic device when the electronic device is unlocked, the upward sliding instruction may be associated with an operation in which the upper half portion of the hardware key is continuously pressed for a period of time. And after the upper half part of the hardware key is continuously pressed for a period of time by the operation body, determining an upward sliding instruction corresponding to the trigger information, responding to the upward sliding instruction by the electronic equipment, and unlocking the electronic equipment.
In this embodiment, when the electronic device uses the information processing apparatus shown in fig. 14, the operating body can directly operate the hardware key so that the electronic device can execute the second operation command which is the same as the first operation command. Compared with the mode that the acquisition information is acquired by the induction device, the electronic equipment processes the acquisition information to determine the first operation instruction and responds to the first operation instruction in the prior art, the success rate of hardware key operation is higher than the success rate of acquisition information acquired by the induction device, and therefore the success rate of operation of the electronic equipment is improved.
Please refer to fig. 15, which is a schematic structural diagram illustrating an information processing apparatus according to an embodiment of the present application, where the information processing apparatus is applied to an electronic device including at least one hardware key and a sensing device, and the electronic device obtains collected information through the sensing device and processes and determines a corresponding first operation instruction for the collected information. Wherein the information processing apparatus shown in fig. 15 may include: a setting unit 14, an acquisition unit 11, a selection unit 12 and an execution unit 13.
And the setting unit 14 is configured to set the operation action association corresponding to the first operation instruction as a key operation of the at least one hardware key.
In this embodiment, the operation actions may include a single-click operation, a double-click operation, a continuous-click operation, and a sliding operation, and the corresponding key operations may include pressing the hardware key once, pressing the hardware key twice continuously, pressing the hardware key three times continuously, and pressing the hardware key for a certain period of time. The setting unit 14 may set the operation actions and the key operations in a one-to-one correspondence. Of course, the setting unit may set several operation actions in association with one key operation. Please refer to the detailed description in step 201 for the manner how the setting unit 14 sets the operation actions and the key operations, which will not be described again.
The acquiring unit 11 is configured to acquire trigger information, where the trigger information is trigger information generated when the operating body operates the at least one hardware key.
The key operation on the hardware key may include pressing the hardware key once, pressing the hardware key twice continuously, and pressing the hardware key three or more times continuously, and the trigger information is click information, double click information, and continuous click information, respectively. The key operation on the hardware key may further include pressing the hardware key for a duration of time, and the trigger information includes information on the pressing for the duration of time and which part of the hardware key is continuously pressed. For the key operation and the triggering information of the hardware key, refer to the detailed description of step 101 in the embodiment shown in fig. 1, which is not described again in this embodiment.
And the selecting unit 12 is configured to determine, according to the trigger information, a second operation instruction corresponding to the trigger information.
In this embodiment, the trigger information may include at least one of click information, double-click information, continuous-click information, and continuous-time pressing information, and the corresponding second operation instruction may include at least one of a click instruction, a double-click instruction, a continuous-click instruction, a slide or page-turning instruction, which is described in detail with reference to the related description in step 102.
An execution unit 13, configured to respond to the second operation instruction; and the first operation instruction corresponding to the acquisition information and the second operation instruction corresponding to the trigger information are the same operation instruction.
In this embodiment, the second operation instruction and the first operation instruction are the same operation instruction, and then the operation action corresponding to the first operation instruction is also the operation action corresponding to the second operation instruction, and then the electronic device responds to the second operation instruction and responds to the operation action corresponding to the second operation instruction.
In this embodiment, the electronic device sets the operation action association corresponding to the first operation instruction as the key operation of the at least one hardware key, and when the operation body performs the key operation on the hardware key and the key operation association sets the operation action corresponding to the first operation instruction, the electronic device may determine, according to the trigger information, a second operation instruction that is the same as the first operation instruction, so as to respond to the operation action of the second operation instruction on the electronic device, change the existing manner of determining the first operation instruction and responding to the first operation instruction by processing the acquired information obtained by the sensing device, and improve the operation success rate.
Please refer to fig. 16, which shows a schematic structural diagram of an information processing apparatus according to an embodiment of the present application, where the information processing apparatus is applied to an electronic device including at least one hardware key and a sensing device, and the electronic device obtains collected information through the sensing device and processes and determines a corresponding first operation instruction for the collected information. Wherein the information processing apparatus shown in fig. 16 may include:
and the setting unit 14 is configured to set the operation action association corresponding to the first operation instruction as a key operation of the at least one hardware key.
In this embodiment, please refer to the related description in step 201 for an optional manner of the operation action, the key operation and the associated setting of the operation action and the key operation corresponding to the first operation instruction, which will not be further described in this embodiment.
It should be noted that: when the electronic device sets the operation action association corresponding to the first operation instruction as the key operation of at least one hardware key, the operation action association corresponding to one first operation instruction may be set as the key operation of one hardware key, that is, an operation action corresponding to one first operation instruction is set on the key operation of each hardware key.
Of course, if the number of the selected first operation instructions is greater than the number of the hardware keys, the operation actions of the first operation instructions in different applications can be repeatedly set on the same hardware key. Because the electronic equipment distributes different identification numbers for different applications, when the operation action of the first operation instruction in different applications is repeatedly set on the same hardware key, the electronic equipment can match the currently executed application through the identification numbers and determine the operation action corresponding to the key operation of the hardware key.
The first monitoring unit 15 is configured to monitor whether a key operation of at least one hardware key corresponds to an operation action corresponding to a first operation instruction in the first application after the first application is started.
When the setting unit 14 sets the operation action association as a key operation of a hardware key, the setting unit selects an operation action corresponding to at least one first operation instruction in a part of applications to perform association setting, so that after the first application of the electronic device is started, the first monitoring unit 15 monitors whether the key operation of at least one hardware key corresponds to the operation action corresponding to the first operation instruction in the first application.
In this embodiment, the first monitoring unit 15 monitors whether the key operation of the at least one hardware key corresponds to the operation action corresponding to the first operation instruction in the first application, and specifically, whether the identification number of the started first application is included in the identification number of the selected application by monitoring whether the started first application is the application selected in the association setting, and if the identification number of the started first application is included in the identification number of the selected application, it indicates that the key operation of the at least one hardware key corresponds to the operation action corresponding to the first operation instruction in the first application, and if not, it indicates that the key operation of the at least one hardware key does not correspond to the operation action corresponding to the first operation instruction in the first application.
The second monitoring unit 16 is configured to monitor whether the trigger information is generated on the at least one hardware key associated with the key operation when the first application is started and an operation action corresponding to the first operation instruction in the first application is monitored, where the key operation of the at least one hardware key corresponds to the operation action corresponding to the first operation instruction in the first application.
When it is monitored that the key operation of at least one hardware key corresponds to the operation action corresponding to the first operation instruction in the first application, the second monitoring unit 16 further monitors whether the hardware key generates the trigger information, that is, whether the operation body operates the hardware key.
The obtaining unit 11 is specifically configured to obtain the trigger information when the second monitoring unit monitors that the trigger information is generated on the at least one hardware key.
The obtaining unit 11 obtains the trigger information when the second monitoring unit 16 monitors that the at least one hardware key generates the trigger information. The key operation and the triggering information of the hardware key may refer to the detailed description of step 101 in the embodiment shown in fig. 1, and are not described again in this embodiment.
And the selecting unit 12 is configured to determine, according to the trigger information, a second operation instruction corresponding to the trigger information.
An execution unit 13, configured to respond to the second operation instruction; and the first operation instruction corresponding to the acquisition information and the second operation instruction corresponding to the trigger information are the same operation instruction.
In this embodiment, the electronic device may select the operation action association corresponding to at least one first operation instruction in a part of applications to be the key operation of at least one hardware key, so that the electronic device may select and set the corresponding hardware key in a targeted manner, thereby avoiding an increase in cost of the electronic device due to an excessive increase in hardware keys.
Please refer to fig. 17, which is a schematic structural diagram of an information processing apparatus according to an embodiment of the present application, where the information processing apparatus is applied to an electronic device including at least one hardware key and a sensing device, and the electronic device obtains collected information through the sensing device and processes and determines a corresponding first operation instruction for the collected information. Wherein the information processing apparatus shown in fig. 17 may include:
the acquiring unit 11 is configured to acquire trigger information, where the trigger information is trigger information generated when the operating body operates the at least one hardware key.
And the selecting unit 12 is configured to determine, according to the trigger information, a second operation instruction corresponding to the trigger information.
A position obtaining unit 17, configured to obtain an operation position, obtained by the sensing device, of the operation body at the current time. When the operation body operates the electronic equipment, an operation point is formed on the electronic equipment, and the operation position operated by the operation body at the current time refers to the coordinate of the operation point formed on the electronic equipment at the current time.
The execution unit 13 is specifically configured to respond to the second operation instruction when the operation position is within a response area range, where the response area is a response area obtained by the electronic device through the sensing device in response to the first operation instruction.
The electronic device presets a corresponding response area for the first operation instruction of different applications, that is, the electronic device can respond to the first operation instruction in the response area. The electronic equipment records the response area by setting the coordinate point.
The operating position is located in the response area range, that is, the coordinate of the operating point formed on the current electronic device is located in the response area range, the electronic device can judge whether the operating position is located in the response area range by comparing the value of the coordinate, and when the operating position is located in the response area range, the execution unit 13 responds to the second operating instruction, so that the problem of operation error when the operating body operates the hardware key in the non-response area range is avoided.
In addition, an embodiment of the present application further provides an electronic device, which includes at least one hardware key and a sensing device, where the electronic device obtains acquired information through the sensing device and processes the acquired information to determine a corresponding first operation instruction, and the electronic device further includes an information processing device, and a schematic structural diagram of the information processing device may refer to any one of the schematic structural diagrams in fig. 14 to 17, which is not described again in this embodiment.
In this embodiment, the electronic device includes one hardware key, and the hardware key is disposed at an upper left corner or an upper right corner of a side surface of the electronic device when the size of the electronic device is within a first size range, as shown in fig. 2 or fig. 3.
Of course, the electronic device includes one of the hardware keys, and in a case that the size of the electronic device is within the second size range, the hardware key is disposed on the upper half portion of the left side surface or the upper half portion of the right side surface of the electronic device, as shown in fig. 4 or fig. 5.
In addition, when the electronic device includes one hardware key, the hardware key is disposed at the bottom of the upper surface of the electronic device, as shown in fig. 6. Of course, a hardware key may be disposed at the upper left corner or the upper right corner of the bottom surface of the electronic device, as shown in fig. 7 or fig. 8.
In this embodiment, the electronic device may also include a plurality of the hardware keys, and the plurality of hardware keys are sequentially disposed on a side surface of the electronic device or a bottom portion of an upper surface of the electronic device, as shown in fig. 9 or fig. 10.
In this embodiment, the length and the width of the at least one hardware key provided on the electronic device according to the schematic diagrams shown in fig. 2 to 10 are respectively greater than the length and the width of other hardware keys in the electronic device. When the user continues to press the hardware key in any one of the schematic diagrams of fig. 2 to 10, the operation is convenient and the finger is not pressed inconveniently due to the size problem of the hardware key. And the hardware keys are arranged according to the arrangement mode shown in any one of the schematic diagrams of fig. 2 to 10, so that the user can directly operate the hardware keys by using fingers when holding the electronic device.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. The term "comprising", without further limitation, means that the element so defined is not excluded from the group consisting of additional identical elements in the process, method, article, or apparatus that comprises the element.
The foregoing detailed description is directed to an information processing method, an information processing apparatus, and an electronic device provided in the present application, and specific examples are applied in the present application to explain the principles and embodiments of the present application, and the descriptions of the foregoing examples are only used to help understand the method and the core ideas of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.
Claims (15)
1. An information processing method is applied to an electronic device and is characterized in that the electronic device comprises at least one hardware key and a sensing device, and the electronic device obtains acquired information through the sensing device and processes the acquired information to determine a corresponding first operation instruction; the method comprises the following steps:
acquiring trigger information, wherein the trigger information is generated when the operation body operates the at least one hardware key;
determining a second operation instruction corresponding to the trigger information according to the trigger information;
responding to the second operation instruction; and the first operation instruction corresponding to the acquisition information and the second operation instruction corresponding to the trigger information are the same operation instruction.
2. The information processing method according to claim 1, further comprising, before obtaining the trigger information: and setting the operation action association corresponding to the first operation instruction as the key operation of the at least one hardware key.
3. The information processing method according to claim 2, wherein setting the operation action association corresponding to the first operation instruction as the key operation of the at least one hardware key further comprises:
after a first application is started, monitoring whether the key operation of the at least one hardware key corresponds to an operation action corresponding to a first operation instruction in the first application;
when a first application is started and the key operation of at least one hardware key is monitored to correspond to the operation action corresponding to a first operation instruction in the first application, monitoring whether the trigger information is generated on the at least one hardware key which is associated with the key operation;
and when the trigger information generated on the at least one hardware key is monitored, obtaining the trigger information.
4. The information processing method according to claim 1, further comprising:
acquiring the operation position of the operation body at the current moment, which is acquired by the sensing device;
responding to the second operation instruction comprises: and responding to the second operation instruction when the operation position is located in the range of a response area, wherein the response area is the response area of the electronic equipment for responding to the first operation instruction obtained through the induction device.
5. The information processing method according to any one of claims 1 to 4, wherein the first operation instruction includes at least one of a click, a slide, and a page turn.
6. The information processing method according to any one of claims 1 to 4, wherein the electronic device includes one of the hardware keys, and the hardware key is disposed at an upper left corner or an upper right corner of a side surface of the electronic device in a case where the size of the electronic device is within the first size range.
7. The information processing method according to any one of claims 1 to 4, wherein the electronic device includes one of the hardware keys, and the hardware key is disposed on an upper half of a left side surface or an upper half of a right side surface of the electronic device in a case where the size of the electronic device is within the second size range.
8. An information processing device is applied to an electronic device and is characterized in that the electronic device comprises at least one hardware key and a sensing device, and the electronic device obtains acquired information through the sensing device and processes the acquired information to determine a corresponding first operation instruction; the device comprises:
the acquisition unit is used for acquiring trigger information, wherein the trigger information is generated when the operation body operates the at least one hardware key;
the selecting unit is used for determining a second operation instruction corresponding to the trigger information according to the trigger information;
the execution unit is used for responding to the second operation instruction; and the first operation instruction corresponding to the acquisition information and the second operation instruction corresponding to the trigger information are the same operation instruction.
9. The information processing apparatus according to claim 8, characterized by further comprising: and the setting unit is used for setting the operation action association corresponding to the first operation instruction as the key operation of the at least one hardware key.
10. The information processing apparatus according to claim 8, characterized by further comprising:
the first monitoring unit is used for monitoring whether the key operation of the at least one hardware key corresponds to the operation action corresponding to the first operation instruction in the first application or not after the first application is started;
the second monitoring unit is used for monitoring whether the triggering information is generated on the at least one hardware key which is associated with the key operation when the first application is started and the operation action corresponding to the first operation instruction in the first application is monitored when the key operation of the at least one hardware key is corresponding to the first operation instruction;
the acquiring unit is specifically configured to acquire the trigger information when the second monitoring unit monitors that the trigger information is generated on the at least one hardware key.
11. The information processing apparatus according to claim 8, characterized in that the apparatus further comprises:
the position acquisition unit is used for acquiring the operation position of the operation body at the current moment, which is acquired by the induction device;
the execution unit is specifically configured to respond to the second operation instruction when the operation position is within a range of a response area, where the response area is a response area where the electronic device obtains a response to the first operation instruction through the sensing device.
12. The information processing apparatus according to any one of claims 8 to 11, wherein the first operation instruction includes at least one of a click, a slide, and a page turn.
13. An electronic device comprising at least one hardware key and a sensing device, wherein the electronic device obtains collected information through the sensing device and processes the collected information to determine a corresponding first operation instruction, and further comprising the information processing device according to any one of claims 8 to 12.
14. The electronic device of claim 13, wherein the electronic device comprises one of the hardware keys, and the hardware key is disposed at an upper left corner or an upper right corner of a side surface of the electronic device when the size of the electronic device is within the first size range.
15. The electronic device of claim 13, wherein the electronic device comprises one of the hardware keys, and the hardware key is disposed on an upper half of a left side surface or an upper half of a right side surface of the electronic device when the size of the electronic device is within the second size range.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310376152.7A CN104423818A (en) | 2013-08-26 | 2013-08-26 | Information processing method, information processing device and electronic device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310376152.7A CN104423818A (en) | 2013-08-26 | 2013-08-26 | Information processing method, information processing device and electronic device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN104423818A true CN104423818A (en) | 2015-03-18 |
Family
ID=52972970
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201310376152.7A Pending CN104423818A (en) | 2013-08-26 | 2013-08-26 | Information processing method, information processing device and electronic device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN104423818A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106155545A (en) * | 2015-04-21 | 2016-11-23 | 中兴通讯股份有限公司 | A kind of method and device realizing that terminal screen sliding operates |
| CN107301765A (en) * | 2016-04-15 | 2017-10-27 | 零度智控(北京)智能科技有限公司 | Remote control thereof, device and terminal |
| CN111338551A (en) * | 2018-12-19 | 2020-06-26 | 北京奇虎科技有限公司 | Method and device for realizing operation function |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20100169818A1 (en) * | 2008-12-29 | 2010-07-01 | International Business Machines Corporation | Keyboard based graphical user interface navigation |
| CN102707882A (en) * | 2012-04-27 | 2012-10-03 | 深圳瑞高信息技术有限公司 | Method for converting control modes of application program of touch screen with virtual icons and touch screen terminal |
| CN102981771A (en) * | 2012-10-30 | 2013-03-20 | 华为终端有限公司 | Control method and input device of touch screen terminal |
-
2013
- 2013-08-26 CN CN201310376152.7A patent/CN104423818A/en active Pending
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20100169818A1 (en) * | 2008-12-29 | 2010-07-01 | International Business Machines Corporation | Keyboard based graphical user interface navigation |
| CN102707882A (en) * | 2012-04-27 | 2012-10-03 | 深圳瑞高信息技术有限公司 | Method for converting control modes of application program of touch screen with virtual icons and touch screen terminal |
| CN102981771A (en) * | 2012-10-30 | 2013-03-20 | 华为终端有限公司 | Control method and input device of touch screen terminal |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106155545A (en) * | 2015-04-21 | 2016-11-23 | 中兴通讯股份有限公司 | A kind of method and device realizing that terminal screen sliding operates |
| CN107301765A (en) * | 2016-04-15 | 2017-10-27 | 零度智控(北京)智能科技有限公司 | Remote control thereof, device and terminal |
| CN111338551A (en) * | 2018-12-19 | 2020-06-26 | 北京奇虎科技有限公司 | Method and device for realizing operation function |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Park et al. | Touch key design for one-handed thumb interaction with a mobile phone: Effects of touch key size and touch key location | |
| Motti et al. | Interaction techniques for older adults using touchscreen devices: a literature review | |
| CN106843739B (en) | A kind of display control method and mobile terminal of mobile terminal | |
| Weir et al. | A user-specific machine learning approach for improving touch accuracy on mobile devices | |
| CN102402369B (en) | Electronic equipment and its operation indicating mark moving method | |
| US20110095992A1 (en) | Tools with multiple contact points for use on touch panel | |
| Le et al. | Investigating screen shifting techniques to improve one-handed smartphone usage | |
| US20160274788A1 (en) | Method and device for building virtual keyboard | |
| US20120007816A1 (en) | Input Control Method and Electronic Device for a Software Keyboard | |
| US20110037705A1 (en) | Touch-sensitive user interface | |
| Goguey et al. | The performance and preference of different fingers and chords for pointing, dragging, and object transformation | |
| CN110633044B (en) | Control method, control device, electronic equipment and storage medium | |
| CN105468278A (en) | Touch screen operation identification and response method and apparatus based on virtual key, and game manipulation method and apparatus | |
| CN105867821A (en) | Icon arranging method and device and terminal | |
| CN105824495A (en) | Method for operating mobile terminal with single hand and mobile terminal | |
| CN101990656A (en) | Systems and methods for launching a user application on a computing device | |
| CN106484301A (en) | A kind of method of hiden application and terminal | |
| Matulic et al. | Hand contact shape recognition for posture-based tabletop widgets and interaction | |
| CN105022579A (en) | Image processing-based implement method and device of virtual keyboard | |
| CN104679224A (en) | Input device and input management system | |
| CN104423818A (en) | Information processing method, information processing device and electronic device | |
| TW201020876A (en) | Electronic apparatus and touch input method thereof | |
| WO2013101371A1 (en) | Apparatus and method for automatically controlling display screen density | |
| CN104025007A (en) | Detecting a first and a second touch to associate a data file with a graphical data object | |
| CN105975832A (en) | Control method of mobile terminal and mobile terminal |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150318 |
|
| RJ01 | Rejection of invention patent application after publication |