CN104111797B - A kind of information processing method and electronic equipment - Google Patents
A kind of information processing method and electronic equipment Download PDFInfo
- Publication number
- CN104111797B CN104111797B CN201410289639.6A CN201410289639A CN104111797B CN 104111797 B CN104111797 B CN 104111797B CN 201410289639 A CN201410289639 A CN 201410289639A CN 104111797 B CN104111797 B CN 104111797B
- Authority
- CN
- China
- Prior art keywords
- key
- key object
- adjacent
- objects
- current weight
- 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.)
- Active
Links
- 230000010365 information processing Effects 0.000 title claims abstract description 31
- 238000003672 processing method Methods 0.000 title claims abstract description 30
- 238000000034 method Methods 0.000 claims abstract description 7
- 238000005259 measurement Methods 0.000 abstract 1
- 230000003247 decreasing effect Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 8
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a kind of information processing method and electronic equipment, methods described includes:Obtain the keystroke sequence that user is inputted in default measurement period;According to the keystroke sequence, the current weight to more than one corresponding button object is adjusted;For each button object of one above button object, effective touch area of effective touch area, the adjacent button object of the button object according to the button object and the current weight of the button object button object adjacent relative to this, determine the final weights of the button object;According to the button object and the final weights of the adjacent button object of the button object, it is determined that effective button object is to respond the touch operation of user.
Description
Technical Field
The present invention relates to information processing technologies, and in particular, to an information processing method and an electronic device.
Background
As the user demands for the electronic device are higher and higher, the form of the electronic device tends to be diversified. The advent of soft keyboards for input devices for electronic devices has many advantages over hard keyboards, for example, where a touchable display is used as the soft keyboard for an electronic device, the user can intuitively and conveniently touch the touchable display to input content. For the soft keyboard, because the sizes of the fingers of the user are different and the input habits of the user are different, the user is not required to frequently perform misoperation under the same soft keyboard, and therefore, the problem of how to dynamically adjust the corresponding keys of the keyboard according to different users needs to be solved urgently.
Disclosure of Invention
In order to solve the above technical problem, embodiments of the present invention provide an information processing method and an electronic device.
The information processing method provided by the embodiment of the invention is applied to electronic equipment, wherein the electronic equipment comprises a touch display unit, the electronic equipment can display N key objects by using the touch display unit, and N is a positive integer; setting an initial current weight value relative to an adjacent key object for each key object in advance, wherein each key object corresponds to at least one current weight value, and the sum of the current weight value of the key object relative to the adjacent key object and the current weight value of the adjacent key object relative to the key object is a specific value; the method comprises the following steps:
acquiring a key sequence input by a user in a preset statistical period;
adjusting the current weight of more than one corresponding key object according to the key sequence;
for each key object of the more than one key objects, determining a final weight of the key object according to the effective touch area of the key object, the effective touch area of an adjacent key object of the key object and the current weight of the key object relative to the adjacent key object;
and determining effective key objects according to the key objects and the final weight values of the adjacent key objects of the key objects so as to respond to the touch operation of the user.
In the technical scheme provided by the embodiment of the invention, the key objects input by the user in error are collected through the key sequence input by the user; then, adjusting the current weight of the wrong key object; determining the final weight value of the key object according to the effective touch area of the key object, the effective touch area of the adjacent key object of the key object and the current weight value of the key object relative to the adjacent key object; and finally, determining effective key objects according to the final weight values of the key objects so as to respond to the touch operation of the user. Therefore, the corresponding keys of the keyboard can be dynamically adjusted according to the input habits of the user, more accurate key input matching is provided for the user, and the user experience is improved.
Drawings
Fig. 1 is a schematic flowchart of an information processing method according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating an information processing method according to a second embodiment of the present invention;
FIG. 3 is a flowchart illustrating an information processing method according to a third embodiment of the present invention;
FIG. 4 is a flowchart illustrating an information processing method according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to a first embodiment of the invention;
fig. 6 is a schematic structural diagram of an electronic device according to a second embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to a third embodiment of the present invention;
fig. 8 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention.
Detailed Description
So that the manner in which the features and aspects of the embodiments of the present invention can be understood in detail, a more particular description of the embodiments of the invention, briefly summarized above, may be had by reference to the embodiments, some of which are illustrated in the appended drawings.
Fig. 1 is a flowchart illustrating an information processing method according to a first embodiment of the present invention, where the information processing method in this example is applied to an electronic device, the electronic device includes a touch display unit, and the electronic device is capable of displaying N key objects by using the touch display unit, where N is a positive integer; setting an initial current weight value relative to an adjacent key object for each key object in advance, wherein each key object corresponds to at least one current weight value, and the sum of the current weight value of the key object relative to the adjacent key object and the current weight value of the adjacent key object relative to the key object is a specific value; as shown in fig. 1, the information processing method includes the steps of:
step 101: and acquiring a key sequence input by a user in a preset statistical period.
In the embodiment of the invention, the electronic equipment can be mobile phones, tablet computers, notebook computers and other electronic equipment. The electronic device includes a touch display unit, such as a touch display screen. The electronic equipment can utilize the touch display unit to display a set of soft keyboard, the soft keyboard comprises N key objects, and N is related to the specification of the software disk, such as different numbers of keys of American keyboard and European keyboard. Here, the key objects may be in the form of icons, letters, numbers, etc. displayed on the touch display unit, and the key objects such as the W key are displayed on the touch display unit in the W-letter format. Generally, there will be at least one adjacent key object for each key object, for example, the adjacent key objects of the W key object are Q key object, E key object and S key object.
In the embodiment of the present invention, an initial current weight of each key object relative to an adjacent key object is set in advance, for example, when an adjacent key object of an X key object is a Y key object, the initial weight of the X key object relative to the Y key object is formula (1 a):
BX,Y=0 (1a)
wherein, BX,YIndicating the initial weight of the X key object relative to the Y key object.
And the initial weight of the Y key relative to the X key object is formula (2 a):
BY,X=0 (2a)
wherein, BY,XIndicating the initial weight of the Y key relative to the X key object.
Here, the sum of the current weight of the key object relative to its neighboring key object and the current weight of the neighboring key object relative to the key object is a specific value, and generally the specific value is 0. For example, when BX,YAt 0.1, BY,XIs-0.1.
In the embodiment of the invention, the key sequence input by the user is acquired within a preset statistical period, for example, within 1 minute, and whether the user inputs an incorrect key object is judged according to the context information of the key sequence and the layout adjacency information of the soft keyboard. For example, if the input key sequence of the user is Q key object, BACKSPACE key object, W key object, it can be determined that the Q key object input by the user is an erroneous input, and what the user really wants to input is the W key object.
Step 102: and adjusting the current weight of more than one corresponding key object according to the key sequence.
Here, according to the key sequence, the wrong key object may be determined, and the current weight of the wrong key object is adjusted according to the embodiment of the present invention. Specifically, the current weight of the wrong key object is turned down, the current weight of the correct key object is turned up, and the adjustment amplitude can be preset to a first preset value, for example, 0.01. For example, for the wrong key object, the Q key, and the correct key object, the W key, the current weight of the key object of the Q key is decreased by 0.01, and the current weight of the key object of the W key is increased by 0.01.
Step 103: and aiming at each key object of the more than one key objects, determining the final weight of the key object according to the effective touch area of the key object, the effective touch area of the adjacent key object of the key object and the current weight of the key object relative to the adjacent key object.
Here, when the touch display unit of the electronic device detects that a finger of a user touches the soft keyboard, that is, when the user initiates a touch operation, the touch display unit calculates effective areas allocated to the key objects according to the layout of the soft keyboard, for example, in a touch operation, an effective touch area of a key object touching Q is SqThe effective touch area for touching the W key object is Sw. The Q key object is a wrong key object, so the current weight of the Q key object is relatively decreased through step 102, and on the contrary, the W key object is a correct key object, so the current weight of the W key object is relatively increased through step 102.
Based on this, for any one of the Q key object and the W key object, the final weight of the key object is determined according to the effective touch area of the key object, the effective touch area of the adjacent key object of the key object, and the current weight of the key object relative to the adjacent key object. For example, according to the effective touch area S of the Q key objectqW effective touch area S of key objectwCurrent weight value B of Q key objectQ,WThe final weight N of the Q key object can be determinedQ. For another example, according to the effective touch area S of the W key objectwEffective touch area S of Q key objectqW key objectCurrent weight BW,QThe final weight N of the W key object can be determinedW。
Step 104: and determining effective key objects according to the key objects and the final weight values of the adjacent key objects of the key objects so as to respond to the touch operation of the user.
In the step 103, the Q key object and the W key object are touched by one touch operation of the user, and the effective key of the touch operation can be determined according to the final weight of the Q key object and the final weight of the W key object, so as to respond to the touch operation. Specifically, when the final weight of the Q key object is greater than or equal to the key object of the W key, the effective key of the touch operation is the Q key; and when the final weight value of the W key object is larger than or equal to the key object of the Q key, the effective key of the touch operation is the W key. Therefore, the embodiment of the invention adjusts the current weight of the corresponding key object according to the key sequence input by the user, determines the final weight of the key object corresponding to one touch operation of the user based on the adjusted current weight, and determines the effective key object according to the final weight to respond to the touch operation, thereby providing more accurate key input matching for the user and improving the user experience.
Fig. 2 is a flowchart illustrating an information processing method according to a second embodiment of the present invention, where the information processing method in this example is applied to an electronic device, the electronic device includes a touch display unit, and the electronic device is capable of displaying N key objects by using the touch display unit, where N is a positive integer; setting an initial current weight value relative to an adjacent key object for each key object in advance, wherein each key object corresponds to at least one current weight value, and the sum of the current weight value of the key object relative to the adjacent key object and the current weight value of the adjacent key object relative to the key object is a specific value; as shown in fig. 2, the information processing method includes the steps of:
step 201: and acquiring a key sequence input by a user in a preset statistical period.
In the embodiment of the invention, the electronic equipment can be mobile phones, tablet computers, notebook computers and other electronic equipment. The electronic device includes a touch display unit, such as a touch display screen. The electronic equipment can utilize the touch display unit to display a set of soft keyboard, the soft keyboard comprises N key objects, and N is related to the specification of the software disk, such as different numbers of keys of American keyboard and European keyboard. Here, the key objects may be in the form of icons, letters, numbers, etc. displayed on the touch display unit, and the key objects such as the W key are displayed on the touch display unit in the W-letter format. Generally, there will be at least one adjacent key object for each key object, for example, the adjacent key objects of the W key object are Q key object, E key object and S key object.
In the embodiment of the present invention, an initial current weight of each key object relative to an adjacent key object is set in advance, for example, when an adjacent key object of an X key object is a Y key object, the initial weight of the X key object relative to the Y key object is formula (1 b):
BX,Y=0 (1b)
wherein, BX,YIndicating the initial weight of the X key object relative to the Y key object.
And the initial weight of the Y key relative to the X key object is formula (2 b):
BY,X=0 (2b)
wherein, BY,XIndicating the initial weight of the Y key relative to the X key object.
Here, the sum of the current weight of the key object relative to its neighboring key object and the current weight of the neighboring key object relative to the key object is a specific value, and generally the specific value is 0. For example, when BX,YAt 0.1, BY,XIs-0.1.
In the embodiment of the invention, the key sequence input by the user is acquired within a preset statistical period, for example, within 1 minute, and whether the user inputs an incorrect key object is judged according to the context information of the key sequence and the layout adjacency information of the soft keyboard. For example, if the input key sequence of the user is Q key object, BACKSPACE key object, W key object, it can be determined that the Q key object input by the user is an erroneous input, and what the user really wants to input is the W key object.
Step 202: and determining the mistakenly input key object and the corresponding corrected key object according to the key sequence.
Here, according to the key sequence, the wrong key object may be determined, and the current weight of the wrong key object is adjusted according to the embodiment of the present invention.
Step 203: and reducing the current weight of the mistakenly input key object relative to the corrected key object by a first preset value, and increasing the weight of the corrected key object relative to the mistakenly input key object by the first preset value.
Specifically, the current weight of the wrong key object is turned down, the current weight of the correct key object is turned up, and the adjustment amplitude can be preset to a first preset value, for example, 0.01. For example, for the wrong key object, the Q key, and the correct key object, the W key, the current weight of the key object of the Q key is decreased by 0.01, and the current weight of the key object of the W key is increased by 0.01.
Step 204: and aiming at each key object of the more than one key objects, determining the final weight of the key object according to the effective touch area of the key object, the effective touch area of the adjacent key object of the key object and the current weight of the key object relative to the adjacent key object.
Here, when the touch display unit of the electronic device detects that the user touches the soft keyboard with a finger, that is, when the user initiates a touch operation, the touch display unit calculates the effective area allocated to each key object according to the layout of the soft keyboard, for example, when the user touches the soft keyboard onceIn touch operation, the effective touch area for touching the Q key object is SqThe effective touch area for touching the W key object is Sw. The Q key object is a wrong key object, so the current weight of the Q key object is relatively decreased through step 203, and on the contrary, the W key object is a correct key object, so the current weight of the W key object is relatively increased through step 203.
Based on this, for any one of the Q key object and the W key object, the final weight of the key object is determined according to the effective touch area of the key object, the effective touch area of the adjacent key object of the key object, and the current weight of the key object relative to the adjacent key object. For example, according to the effective touch area S of the Q key objectqW effective touch area S of key objectwCurrent weight value B of Q key objectQ,WThe final weight N of the Q key object can be determinedQ. For another example, according to the effective touch area S of the W key objectwEffective touch area S of Q key objectqW current weight B of key objectW,QThe final weight N of the W key object can be determinedW。
Step 205: and determining effective key objects according to the key objects and the final weight values of the adjacent key objects of the key objects so as to respond to the touch operation of the user.
In the step 204, the Q key object and the W key object are touched by one touch operation of the user, and the effective key of the touch operation can be determined according to the final weight of the Q key object and the final weight of the W key object, so as to respond to the touch operation. Specifically, when the final weight of the Q key object is greater than or equal to the key object of the W key, the effective key of the touch operation is the Q key; and when the final weight value of the W key object is larger than or equal to the key object of the Q key, the effective key of the touch operation is the W key. Therefore, the embodiment of the invention adjusts the current weight of the corresponding key object according to the key sequence input by the user, determines the final weight of the key object corresponding to one touch operation of the user based on the adjusted current weight, and determines the effective key object according to the final weight to respond to the touch operation, thereby providing more accurate key input matching for the user and improving the user experience.
Fig. 3 is a flowchart illustrating an information processing method according to a third embodiment of the present invention, where the information processing method in this example is applied to an electronic device, the electronic device includes a touch display unit, and the electronic device is capable of displaying N key objects by using the touch display unit, where N is a positive integer; setting an initial current weight value relative to an adjacent key object for each key object in advance, wherein each key object corresponds to at least one current weight value, and the sum of the current weight value of the key object relative to the adjacent key object and the current weight value of the adjacent key object relative to the key object is a specific value; as shown in fig. 3, the information processing method includes the steps of:
step 301: and acquiring a key sequence input by a user in a preset statistical period.
In the embodiment of the invention, the electronic equipment can be mobile phones, tablet computers, notebook computers and other electronic equipment. The electronic device includes a touch display unit, such as a touch display screen. The electronic equipment can utilize the touch display unit to display a set of soft keyboard, the soft keyboard comprises N key objects, and N is related to the specification of the software disk, such as different numbers of keys of American keyboard and European keyboard. Here, the key objects may be in the form of icons, letters, numbers, etc. displayed on the touch display unit, and the key objects such as the W key are displayed on the touch display unit in the W-letter format. Generally, there will be at least one adjacent key object for each key object, for example, the adjacent key objects of the W key object are Q key object, E key object and S key object.
In the embodiment of the present invention, an initial current weight of each key object relative to an adjacent key object is set in advance, for example, when an adjacent key object of an X key object is a Y key object, the initial weight of the X key object relative to the Y key object is formula (1 c):
BX,Y=0 (1c)
wherein, BX,YIndicating the initial weight of the X key object relative to the Y key object.
And the initial weight of the Y key relative to the X key object is formula (2 c):
BY,X=0 (2c)
wherein, BY,XIndicating the initial weight of the Y key relative to the X key object.
Here, the sum of the current weight of the key object relative to its neighboring key object and the current weight of the neighboring key object relative to the key object is a specific value, and generally the specific value is 0. For example, when BX,YAt 0.1, BY,XIs-0.1.
In the embodiment of the invention, the key sequence input by the user is acquired within a preset statistical period, for example, within 1 minute, and whether the user inputs an incorrect key object is judged according to the context information of the key sequence and the layout adjacency information of the soft keyboard. For example, if the input key sequence of the user is Q key object, BACKSPACE key object, W key object, it can be determined that the Q key object input by the user is an erroneous input, and what the user really wants to input is the W key object.
Step 302: and adjusting the current weight of more than one corresponding key object according to the key sequence.
Here, according to the key sequence, the wrong key object may be determined, and the current weight of the wrong key object is adjusted according to the embodiment of the present invention. Specifically, the current weight of the wrong key object is turned down, the current weight of the correct key object is turned up, and the adjustment amplitude can be preset to a first preset value, for example, 0.01. For example, for the wrong key object, the Q key, and the correct key object, the W key, the current weight of the key object of the Q key is decreased by 0.01, and the current weight of the key object of the W key is increased by 0.01.
Step 303: and aiming at each key object of the more than one key objects, determining the final weight of the key object according to the effective touch area of the key object, the effective touch area of the adjacent key object of the key object and the current weight of the key object relative to the adjacent key object.
Here, when the touch display unit of the electronic device detects that a finger of a user touches the soft keyboard, that is, when the user initiates a touch operation, the touch display unit calculates effective areas allocated to the key objects according to the layout of the soft keyboard, for example, in a touch operation, an effective touch area of a key object touching Q is SqThe effective touch area for touching the W key object is Sw. The Q key object is a wrong key object, so the current weight of the Q key object is relatively decreased through step 302, and on the contrary, the W key object is a correct key object, so the current weight of the W key object is relatively increased through step 302.
Based on this, for any one of the Q key object and the W key object, the final weight of the key object is determined according to the effective touch area of the key object, the effective touch area of the adjacent key object of the key object, and the current weight of the key object relative to the adjacent key object. For example, according to the effective touch area S of the Q key objectqW effective touch area S of key objectwCurrent weight value B of Q key objectQ,WThe final weight N of the Q key object can be determinedQ. For another example, according to the effective touch area S of the W key objectwEffective touch area S of Q key objectqW current weight B of key objectW,QThe final weight N of the W key object can be determinedW。
Step 304: and judging whether the final weight of the key object is greater than or equal to the final weight of the adjacent key object of the key object to obtain a first judgment result.
In the step 303, the Q key object and the W key object are touched by one touch operation of the user, and the effective key of the touch operation can be determined according to the final weight of the Q key object and the final weight of the W key object, so as to respond to the touch operation.
Step 305: and when the first judgment result shows that the final weight value of the key object is greater than or equal to the final weight value of the adjacent key object of the key object, determining the key object as an effective key object.
Step 306: and when the first judgment result shows that the final weight value of the key object is smaller than the final weight value of the adjacent key object of the key object, determining the adjacent key object as an effective key object.
Specifically, when the final weight of the Q key object is greater than or equal to the key object of the W key, the effective key of the touch operation is the Q key; and when the final weight value of the W key object is larger than or equal to the key object of the Q key, the effective key of the touch operation is the W key. Therefore, the embodiment of the invention adjusts the current weight of the corresponding key object according to the key sequence input by the user, determines the final weight of the key object corresponding to one touch operation of the user based on the adjusted current weight, and determines the effective key object according to the final weight to respond to the touch operation, thereby providing more accurate key input matching for the user and improving the user experience.
Fig. 4 is a flowchart illustrating an information processing method according to a fourth embodiment of the present invention, where the information processing method in this example is applied to an electronic device, the electronic device includes a touch display unit, and the electronic device is capable of displaying N key objects by using the touch display unit, where N is a positive integer; setting an initial current weight value relative to an adjacent key object for each key object in advance, wherein each key object corresponds to at least one current weight value, and the sum of the current weight value of the key object relative to the adjacent key object and the current weight value of the adjacent key object relative to the key object is a specific value; as shown in fig. 4, the information processing method includes the steps of:
step 401: and acquiring a key sequence input by a user in a preset statistical period.
In the embodiment of the invention, the electronic equipment can be mobile phones, tablet computers, notebook computers and other electronic equipment. The electronic device includes a touch display unit, such as a touch display screen. The electronic equipment can utilize the touch display unit to display a set of soft keyboard, the soft keyboard comprises N key objects, and N is related to the specification of the software disk, such as different numbers of keys of American keyboard and European keyboard. Here, the key objects may be in the form of icons, letters, numbers, etc. displayed on the touch display unit, and the key objects such as the W key are displayed on the touch display unit in the W-letter format. Generally, there will be at least one adjacent key object for each key object, for example, the adjacent key objects of the W key object are Q key object, E key object and S key object.
In the embodiment of the present invention, an initial current weight of each key object relative to an adjacent key object is set in advance, for example, when an adjacent key object of an X key object is a Y key object, the initial weight of the X key object relative to the Y key object is a formula (1 d):
BX,Y=0 (1d)
wherein, BX,YIndicating the initial weight of the X key object relative to the Y key object.
And the initial weight of the Y key relative to the X key object is formula (2 d):
BY,X=0 (2d)
wherein, BY,XIndicating the initial weight of the Y key relative to the X key object.
Here, the key object is opposite toThe sum of the current weight of the adjacent key object and the current weight of the adjacent key object relative to the key object is a specific value, and generally the specific value is 0. For example, when BX,YAt 0.1, BY,XIs-0.1.
In the embodiment of the invention, the key sequence input by the user is acquired within a preset statistical period, for example, within 1 minute, and whether the user inputs an incorrect key object is judged according to the context information of the key sequence and the layout adjacency information of the soft keyboard. For example, if the input key sequence of the user is Q key object, BACKSPACE key object, W key object, it can be determined that the Q key object input by the user is an erroneous input, and what the user really wants to input is the W key object.
Step 402: and adjusting the current weight of more than one corresponding key object according to the key sequence.
Here, according to the key sequence, the wrong key object may be determined, and the current weight of the wrong key object is adjusted according to the embodiment of the present invention. Specifically, the current weight of the wrong key object is turned down, the current weight of the correct key object is turned up, and the adjustment amplitude can be preset to a first preset value, for example, 0.01. For example, for the wrong key object, the Q key, and the correct key object, the W key, the current weight of the key object of the Q key is decreased by 0.01, and the current weight of the key object of the W key is increased by 0.01.
Step 403: for each key object of the more than one key object, according to a formulaAnd calculating the final weight value of the key object.
Wherein N isiAnd Ni+1The final weight of the key object and the final weight of the adjacent key object of the key object, SiAnd Si+1Respectively the effective touch area of the key object and the adjacent press of the key objectEffective touch area of key object, Bi+1,iAnd Bi,i+1The current weight values of the adjacent key objects of the key objects and the current weight values of the key objects are respectively.
Here, when the touch display unit of the electronic device detects that a finger of a user touches the soft keyboard, that is, when the user initiates a touch operation, the touch display unit calculates effective areas allocated to the key objects according to the layout of the soft keyboard, for example, in a touch operation, an effective touch area of a key object touching Q is SqThe effective touch area for touching the W key object is Sw. The Q key object is a wrong key object, so the current weight of the Q key object is relatively decreased through step 402, and on the contrary, the W key object is a correct key object, so the current weight of the W key object is relatively increased through step 402.
Based on this, for any one of the Q key object and the W key object, the final weight of the key object is determined according to the effective touch area of the key object, the effective touch area of the adjacent key object of the key object, and the current weight of the key object relative to the adjacent key object. For example, according to the effective touch area S of the Q key objectqW effective touch area S of key objectwCurrent weight value B of Q key objectQ,WThe final weight N of the Q key object can be determinedQ. For another example, according to the effective touch area S of the W key objectwEffective touch area S of Q key objectqW current weight B of key objectW,QThe final weight N of the W key object can be determinedW。
Step 404: and determining effective key objects according to the key objects and the final weight values of the adjacent key objects of the key objects so as to respond to the touch operation of the user.
In the step 403, the Q key object and the W key object are touched by one touch operation of the user, and the effective key of the touch operation can be determined according to the final weight of the Q key object and the final weight of the W key object, so as to respond to the touch operation. Specifically, when the final weight of the Q key object is greater than or equal to the key object of the W key, the effective key of the touch operation is the Q key; and when the final weight value of the W key object is larger than or equal to the key object of the Q key, the effective key of the touch operation is the W key. Therefore, the embodiment of the invention adjusts the current weight of the corresponding key object according to the key sequence input by the user, determines the final weight of the key object corresponding to one touch operation of the user based on the adjusted current weight, and determines the effective key object according to the final weight to respond to the touch operation, thereby providing more accurate key input matching for the user and improving the user experience.
Fig. 5 is a schematic structural composition diagram of an electronic device according to a first embodiment of the present invention, where the electronic device includes a touch display unit, and the electronic device is capable of displaying N key objects by using the touch display unit, where N is a positive integer; setting an initial current weight value relative to an adjacent key object for each key object in advance, wherein each key object corresponds to at least one current weight value, and the sum of the current weight value of the key object relative to the adjacent key object and the current weight value of the adjacent key object relative to the key object is a specific value; the electronic device includes:
an obtaining unit 51, configured to obtain a key sequence input by a user in a preset statistical period;
the adjusting unit 52 is configured to adjust the current weight of the corresponding more than one key object according to the key sequence;
a processing unit 53, configured to determine, for each key object of the more than one key objects, a final weight of the key object according to an effective touch area of the key object, an effective touch area of an adjacent key object of the key object, and a current weight of the key object relative to the adjacent key object;
and the determining unit 54 is configured to determine valid key objects according to the key objects and the final weights of the key objects adjacent to the key objects, so as to respond to the touch operation of the user.
Those skilled in the art will understand that the implementation functions of each unit in the electronic device shown in fig. 5 can be understood by referring to the related description of the information processing method. The functions of the units in the electronic device shown in fig. 5 may be implemented by a program running on a processor, or may be implemented by specific logic circuits.
Fig. 6 is a schematic structural composition diagram of an electronic device according to a second embodiment of the present invention, where the electronic device includes a touch display unit, and the electronic device is capable of displaying N key objects by using the touch display unit, where N is a positive integer; setting an initial current weight value relative to an adjacent key object for each key object in advance, wherein each key object corresponds to at least one current weight value, and the sum of the current weight value of the key object relative to the adjacent key object and the current weight value of the adjacent key object relative to the key object is a specific value; the electronic device includes:
the acquiring unit 61 is configured to acquire a key sequence input by a user in a preset statistical period;
an adjusting unit 62, configured to adjust the current weight of the corresponding more than one key object according to the key sequence;
a processing unit 63, configured to determine, for each key object of the more than one key objects, a final weight of the key object according to an effective touch area of the key object, an effective touch area of an adjacent key object of the key object, and a current weight of the key object relative to the adjacent key object;
and the determining unit 64 is configured to determine valid key objects according to the key objects and the final weights of the key objects adjacent to the key objects, so as to respond to the touch operation of the user.
Preferably, the adjusting unit 62 includes: a first determining subunit 621, an adjusting subunit 622; wherein,
the first determining subunit 621 is configured to determine, according to the key sequence, a key object that is input by mistake and a corresponding corrected key object;
the adjusting subunit 622 is configured to reduce the current weight of the incorrectly input keystroke object relative to the corrected keystroke object by a first preset value, and increase the weight of the corrected keystroke object relative to the incorrectly input keystroke object by the first preset value.
Those skilled in the art will understand that the implementation functions of each unit and its sub-units in the electronic device shown in fig. 6 can be understood by referring to the related description of the information processing method. The functions of each unit and its sub-units in the electronic device shown in fig. 6 can be implemented by a program running on a processor, and can also be implemented by specific logic circuits.
Fig. 7 is a schematic structural composition diagram of an electronic device according to a third embodiment of the present invention, where the electronic device includes a touch display unit, and the electronic device is capable of displaying N key objects by using the touch display unit, where N is a positive integer; setting an initial current weight value relative to an adjacent key object for each key object in advance, wherein each key object corresponds to at least one current weight value, and the sum of the current weight value of the key object relative to the adjacent key object and the current weight value of the adjacent key object relative to the key object is a specific value; the electronic device includes:
an obtaining unit 71, configured to obtain a key sequence input by a user in a preset statistical period;
an adjusting unit 72, configured to adjust a current weight of at least one corresponding key object according to the key sequence;
a processing unit 73, configured to determine, for each key object of the more than one key objects, a final weight of the key object according to an effective touch area of the key object, an effective touch area of an adjacent key object of the key object, and a current weight of the key object relative to the adjacent key object;
and the determining unit 74 is configured to determine, according to the key object and the final weight values of the key objects adjacent to the key object, a valid key object to respond to a touch operation of a user.
Preferably, the determining unit 74 includes: a judgment subunit 741, a second determination subunit 742, and a third determination subunit 743; wherein,
the determining subunit 741, configured to determine whether the final weight of the key object is greater than or equal to the final weight of an adjacent key object of the key object, so as to obtain a first determination result;
the second determining subunit 742 is configured to determine that the key object is a valid key object when the first determination result indicates that the final weight of the key object is greater than or equal to the final weight of an adjacent key object of the key objects;
the third determining subunit 743 is configured to determine that the adjacent key object is a valid key object when the first determination result indicates that the final weight of the key object is smaller than the final weight of the adjacent key object.
Those skilled in the art will understand that the implementation functions of each unit and its sub-units in the electronic device shown in fig. 7 can be understood by referring to the related description of the information processing method. The functions of each unit and its sub-units in the electronic device shown in fig. 7 can be implemented by a program running on a processor, and can also be implemented by specific logic circuits.
Fig. 8 is a schematic structural composition diagram of an electronic device according to a fourth embodiment of the present invention, where the electronic device includes a touch display unit, and the electronic device is capable of displaying N key objects by using the touch display unit, where N is a positive integer; setting an initial current weight value relative to an adjacent key object for each key object in advance, wherein each key object corresponds to at least one current weight value, and the sum of the current weight value of the key object relative to the adjacent key object and the current weight value of the adjacent key object relative to the key object is a specific value; the electronic device includes:
an obtaining unit 81, configured to obtain a key sequence input by a user in a preset statistical period;
an adjusting unit 82, configured to adjust a current weight of at least one corresponding key object according to the key sequence;
a processing unit 83, configured to determine, for each key object of the more than one key objects, a final weight of the key object according to an effective touch area of the key object, an effective touch area of an adjacent key object of the key object, and a current weight of the key object relative to the adjacent key object;
the determining unit 84 is configured to determine valid key objects according to the final weights of the key objects and the key objects adjacent to the key objects, so as to respond to a touch operation of a user.
Preferably, the processing unit 83 is further configured to calculate a final weight value of the key object based on the following formula:
Ni=Si+Si+1×Bi+1,i
Ni+1=Si+1+Si×Bi,i+1
wherein N isiAnd Ni+1The final weight of the key object and the final weight of the adjacent key object of the key object, SiAnd Si+1Respectively the effective touch area of the key object and the effective touch area of an adjacent key object of the key objects, Bi+1,iAnd Bi,i+1The current weight values of the adjacent key objects of the key objects and the current weight values of the key objects are respectively.
Those skilled in the art will understand that the implementation functions of each unit in the electronic device shown in fig. 8 can be understood by referring to the related description of the information processing method. The functions of the units in the electronic device shown in fig. 8 may be implemented by a program running on a processor, or may be implemented by specific logic circuits.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as a removable Memory device, a Read Only Memory (ROM), a magnetic disk, or an optical disk.
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: various media that can store program codes, such as a removable Memory device, a Read Only Memory (ROM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.
Claims (8)
1. An information processing method is applied to electronic equipment, the electronic equipment comprises a touch display unit, the electronic equipment can display N key objects by using the touch display unit, and N is a positive integer; setting an initial current weight value relative to an adjacent key object for each key object in advance, wherein each key object corresponds to at least one current weight value, and the sum of the current weight value of the key object relative to the adjacent key object and the current weight value of the adjacent key object relative to the key object is a specific value; the method comprises the following steps:
acquiring a key sequence input by a user in a preset statistical period;
adjusting the current weight of more than one corresponding key object according to the key sequence;
for each key object of the more than one key objects, determining a final weight of the key object according to the effective touch area of the key object, the effective touch area of an adjacent key object of the key object and the current weight of the key object relative to the adjacent key object;
and determining effective key objects according to the key objects and the final weight values of the adjacent key objects of the key objects so as to respond to the touch operation of the user.
2. The information processing method according to claim 1, wherein said adjusting the current weight of the corresponding one or more key objects according to the key sequence comprises:
determining the mistakenly input key object and the corresponding corrected key object according to the key sequence;
and reducing the current weight of the mistakenly input key object relative to the corrected key object by a first preset value, and increasing the weight of the corrected key object relative to the mistakenly input key object by the first preset value.
3. The information processing method according to claim 1, wherein said determining valid key objects according to the final weights of the key objects and the key objects adjacent to the key objects comprises:
judging whether the final weight of the key object is greater than or equal to the final weight of the adjacent key object of the key object to obtain a first judgment result;
when the first judgment result shows that the final weight of the key object is greater than or equal to the final weight of the adjacent key object of the key object, determining the key object as an effective key object;
and when the first judgment result shows that the final weight value of the key object is smaller than the final weight value of the adjacent key object of the key object, determining the adjacent key object as an effective key object.
4. The information processing method according to any one of claims 1 to 3, wherein the determining the final weight value of the key object according to the effective touch area of the key object, the effective touch area of an adjacent key object of the key object, and the current weight value of the key object relative to the adjacent key object comprises:
calculating a final weight value of the key object based on the following formula:
Ni=Si+Si+1×Bi+1,i
Ni+1=Si+1+Si×Bi,i+1
wherein N isiAnd Ni+1The final weight of the key object and the final weight of the adjacent key object of the key object, SiAnd Si+1Respectively the effective touch area of the key object and the effective touch area of an adjacent key object of the key objects, Bi+1,iAnd Bi,i+1The current weight values of the adjacent key objects of the key objects and the current weight values of the key objects are respectively.
5. An electronic device is characterized by comprising a touch display unit, wherein the electronic device can display N key objects by using the touch display unit, and N is a positive integer; setting an initial current weight value relative to an adjacent key object for each key object in advance, wherein each key object corresponds to at least one current weight value, and the sum of the current weight value of the key object relative to the adjacent key object and the current weight value of the adjacent key object relative to the key object is a specific value; the electronic device includes:
the device comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is used for acquiring a key sequence input by a user in a preset statistical period;
the adjusting unit is used for adjusting the current weight of more than one corresponding key object according to the key sequence;
a processing unit, configured to determine, for each key object of the more than one key objects, a final weight of the key object according to an effective touch area of the key object, an effective touch area of an adjacent key object of the key object, and a current weight of the key object relative to the adjacent key object;
and the determining unit is used for determining effective key objects according to the key objects and the final weight values of the adjacent key objects of the key objects so as to respond to the touch operation of the user.
6. The electronic device according to claim 5, wherein the adjusting unit includes: a first determining subunit and an adjusting subunit; wherein,
the first determining subunit is configured to determine, according to the key sequence, a key object that is input by mistake and a corresponding corrected key object;
the adjusting subunit is configured to reduce the current weight of the incorrectly input key object relative to the corrected key object by a first preset value, and increase the weight of the corrected key object relative to the incorrectly input key object by the first preset value.
7. The electronic device according to claim 5, wherein the determination unit includes: the judgment subunit, the second determination subunit and the third determination subunit; wherein,
the judging subunit is configured to judge whether the final weight of the key object is greater than or equal to the final weight of an adjacent key object of the key object, so as to obtain a first judgment result;
the second determining subunit is configured to determine that the key object is an effective key object when the first determination result indicates that the final weight of the key object is greater than or equal to the final weight of an adjacent key object of the key object;
and the third determining subunit is configured to determine that the adjacent key object is an effective key object when the first determination result indicates that the final weight of the key object is smaller than the final weight of the adjacent key object.
8. The electronic device according to any of claims 5 to 7, wherein the processing unit is further configured to calculate the final weight of the key object based on the following formula:
Ni=Si+Si+1×Bi+1,i
Ni+1=Si+1+Si×Bi,i+1
wherein N isiAnd Ni+1The final weight of the key object and the final weight of the adjacent key object of the key object, SiAnd Si+1Respectively the effective touch area of the key object and the effective touch area of an adjacent key object of the key objects, Bi+1,iAnd Bi,i+1The current weight values of the adjacent key objects of the key objects and the current weight values of the key objects are respectively.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410289639.6A CN104111797B (en) | 2014-06-24 | 2014-06-24 | A kind of information processing method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410289639.6A CN104111797B (en) | 2014-06-24 | 2014-06-24 | A kind of information processing method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104111797A CN104111797A (en) | 2014-10-22 |
CN104111797B true CN104111797B (en) | 2017-07-21 |
Family
ID=51708605
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410289639.6A Active CN104111797B (en) | 2014-06-24 | 2014-06-24 | A kind of information processing method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104111797B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106033966B (en) * | 2015-03-17 | 2019-04-02 | 佛山市顺德区美的电热电器制造有限公司 | The recognition methods of key triggering and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101639738A (en) * | 2008-07-31 | 2010-02-03 | 宏达国际电子股份有限公司 | Method for operating application program and electronic device thereof |
CN102063255A (en) * | 2010-12-29 | 2011-05-18 | 百度在线网络技术(北京)有限公司 | Input method for touch screen, touch screen and device |
GB2486917A (en) * | 2010-12-31 | 2012-07-04 | Nokia Corp | Method for determining the intended character when a keypad receives input |
-
2014
- 2014-06-24 CN CN201410289639.6A patent/CN104111797B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101639738A (en) * | 2008-07-31 | 2010-02-03 | 宏达国际电子股份有限公司 | Method for operating application program and electronic device thereof |
CN102063255A (en) * | 2010-12-29 | 2011-05-18 | 百度在线网络技术(北京)有限公司 | Input method for touch screen, touch screen and device |
GB2486917A (en) * | 2010-12-31 | 2012-07-04 | Nokia Corp | Method for determining the intended character when a keypad receives input |
Also Published As
Publication number | Publication date |
---|---|
CN104111797A (en) | 2014-10-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10996834B2 (en) | Touchscreen apparatus user interface processing method and touchscreen apparatus | |
Hong et al. | SplitBoard: A simple split soft keyboard for wristwatch-sized touch screens | |
US20150149968A1 (en) | Touch device and control method thereof | |
JP5725533B2 (en) | Information processing apparatus and input method | |
US9024892B2 (en) | Mobile device and gesture determination method | |
CN106951174B (en) | A kind of method of adjustment and mobile terminal of dummy keyboard | |
TWI501138B (en) | Portable device and key hit area adjustment method thereof | |
US20120007816A1 (en) | Input Control Method and Electronic Device for a Software Keyboard | |
US20150185953A1 (en) | Optimization operation method and apparatus for terminal interface | |
US8898585B2 (en) | Electronic device, input method thereof, and computer-readable medium using the method | |
CN105528130B (en) | Control method and device and electronic equipment | |
US20090167715A1 (en) | User interface of portable device and operating method thereof | |
US9864516B2 (en) | Universal keyboard | |
CN103049205A (en) | Mobile terminal and control method thereof | |
JP2016527643A (en) | Apparatus, method, and mobile terminal for adaptively adjusting layout of touch input panel | |
CN104898880B (en) | A kind of control method and electronic equipment | |
WO2012086133A1 (en) | Touch panel device | |
CN104007890A (en) | Information processing method and electronic device | |
EP3018566A1 (en) | Handheld device and method for adjusting position of input area thereon | |
CN108475126A (en) | The processing method and touch keyboard of touch operation | |
US20150309590A1 (en) | Inputting method and associated electronic device | |
CN104111797B (en) | A kind of information processing method and electronic equipment | |
KR20070100209A (en) | Touchscreen input method without stylus | |
CN101794194A (en) | Method and device for simulation of input of right mouse button on touch screen | |
US9720513B2 (en) | Apparatus and method for receiving a key input |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant |