CN105335057B - Information processing method and electronic equipment - Google Patents

Information processing method and electronic equipment Download PDF

Info

Publication number
CN105335057B
CN105335057B CN201410230817.8A CN201410230817A CN105335057B CN 105335057 B CN105335057 B CN 105335057B CN 201410230817 A CN201410230817 A CN 201410230817A CN 105335057 B CN105335057 B CN 105335057B
Authority
CN
China
Prior art keywords
sub
region
data
change
area
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
Application number
CN201410230817.8A
Other languages
Chinese (zh)
Other versions
CN105335057A (en
Inventor
王元成
陈英标
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201410230817.8A priority Critical patent/CN105335057B/en
Publication of CN105335057A publication Critical patent/CN105335057A/en
Application granted granted Critical
Publication of CN105335057B publication Critical patent/CN105335057B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Position Input By Displaying (AREA)

Abstract

The invention discloses an information processing method, which is applied to electronic equipment, wherein the electronic equipment comprises a touch input unit; dividing an input area of the touch input unit into N sub-areas; acquiring a first trigger instruction, wherein the first trigger instruction is used for detecting first data of each sub-area; responding to the first trigger instruction, judging whether the detected first data of each subarea exceeds a first range set for the corresponding subarea, and generating a first judgment result; when the first judgment result represents that the first data of at least one subarea exceeds a first range set for the corresponding subarea, determining that the touch input unit has a first change; meanwhile, the invention also discloses the electronic equipment. Mechanical deformations in the electronic device can be detected.

Description

Information processing method and electronic equipment
Technical Field
The present invention relates to information processing technologies, and in particular, to an information processing method and an electronic device.
Background
Integrated (ALL-IN-ONE) electronic devices are popular with a wide range of users due to their aesthetic and multi-functionality. The integrated electronic device is more prone to mechanical deformation due to its good lightness and thinness. Background noise is caused by the occurrence of mechanical deformation, and the existence of the background noise can cause the electronic equipment to mistakenly assume that a Touch operation is received even if the electronic equipment does not receive the Touch operation, so that the processing of normal data is influenced. How to detect mechanical deformation becomes a problem to be solved urgently.
Disclosure of Invention
In order to solve the existing technical problem, an embodiment of the present invention provides an information processing method and an electronic device, which can detect mechanical deformation in the electronic device and avoid the problem of false alarm touch operation caused by the mechanical deformation.
The technical scheme of the embodiment of the invention is realized as follows:
the embodiment of the invention provides an information processing method, which is applied to electronic equipment, wherein the electronic equipment comprises a touch input unit; dividing an input area of the touch input unit into N sub-areas, wherein N is a positive integer greater than 1; the method comprises the following steps:
acquiring a first trigger instruction, wherein the first trigger instruction is used for detecting first data of each sub-area;
responding to the first trigger instruction, judging whether the detected first data of each subarea exceeds a first range set for the corresponding subarea, and generating a first judgment result;
and when the first judgment result represents that the first data of at least one subarea exceeds a first range set for the corresponding subarea, determining that the touch input unit has a first change.
In the foregoing solution, after determining that the touch input unit has the first change, the method further includes:
adjusting the first data for each of the at least one sub-region to compensate for the first variation.
In the foregoing solution, after determining that the touch input unit has the first change, the method includes:
acquiring the change type of the first change of the touch input unit;
determining an adjustment rule corresponding to the change type according to the first corresponding relation;
accordingly, the adjusting the first data of each of the at least one sub-region to compensate for the first variation includes:
according to the adjustment rule, performing corresponding compensation operation on the first data of each sub-region in the at least one sub-region, so that the adjusted first data of each sub-region is adapted to the first range value of the corresponding sub-region;
the first corresponding relation is used for representing a preset corresponding relation between the change type and the adjustment rule.
In the foregoing solution, the obtaining the type of the first change of the touch input unit includes:
determining a change area covered by the at least one subarea on the touch input unit;
determining a change type corresponding to the change area according to the second corresponding relation;
the second corresponding relation is used for representing a preset corresponding relation between the change type and the change area.
In the above scheme, the method further comprises:
when the change type is a first change type, dividing a change area with the first change type;
determining an adjustment rule corresponding to the first variation type as a first adjustment rule;
and according to the first adjustment rule, performing first compensation operation on the divided first sub-variation region, and performing second compensation operation on the divided second sub-variation region, so that the first data of each sub-region included in the first sub-variation region and the second sub-variation region are adapted to the first range value of each sub-region.
In the above scheme, the method further comprises:
acquiring the first trigger instruction when the electronic equipment is powered on;
or when the first operation is acquired, acquiring the first trigger instruction; the first operation is used to characterize a detection operation of first data of the respective sub-region.
An embodiment of the present invention further provides an electronic device, where the electronic device includes: a touch input unit and a dividing unit; the dividing unit is used for dividing an input area of the touch input unit into N sub-areas, wherein N is a positive integer greater than 1; the electronic device further includes:
the device comprises an acquisition unit, a detection unit and a processing unit, wherein the acquisition unit is used for acquiring a first trigger instruction which is used for detecting first data of each sub-area;
the response unit is used for responding to the first trigger instruction, judging whether the detected first data of each subarea exceeds a first range set for the corresponding subarea or not, and generating a first judgment result;
and when the first judgment result represents that the first data of at least one subarea exceeds a first range set for the corresponding subarea, determining that the touch input unit has a first change.
In the foregoing solution, the response unit is configured to adjust the first data of each sub-area of the at least one sub-area to compensate for the first variation.
In the above scheme, the response unit is configured to obtain a change type of the first change of the touch input unit;
determining an adjustment rule corresponding to the change type according to the first corresponding relation;
according to the adjustment rule, performing corresponding compensation operation on the first data of each sub-region in the at least one sub-region, so that the adjusted first data of each sub-region is adapted to the first range value of the corresponding sub-region;
the first corresponding relation is used for representing a preset corresponding relation between the change type and the adjustment rule.
In the foregoing solution, the response unit is configured to determine a change area covered by the at least one sub area on the touch input unit;
determining a change type corresponding to the change area according to the second corresponding relation;
the second corresponding relation is used for representing a preset corresponding relation between the change type and the change area.
In the foregoing solution, the response unit is configured to, when the change type is a first change type, divide a change area having the first change type;
determining an adjustment rule corresponding to the first variation type as a first adjustment rule;
and according to the first adjustment rule, performing first compensation operation on the divided first sub-variation region, and performing second compensation operation on the divided second sub-variation region, so that the first data of each sub-region included in the first sub-variation region and the second sub-variation region are adapted to the first range value of each sub-region.
In the above scheme, the obtaining unit is configured to obtain the first trigger instruction when the electronic device is powered on;
or, the method is used for acquiring the first trigger instruction when acquiring the first operation; the first operation is used to characterize a detection operation of first data of the respective sub-region.
The information processing method and the electronic equipment are applied to the electronic equipment, and the electronic equipment comprises a touch input unit; dividing an input area of the touch input unit into N sub-areas, wherein N is a positive integer greater than 1; the method comprises the following steps: acquiring a first trigger instruction, wherein the first trigger instruction is used for detecting first data of each sub-area; responding to the first trigger instruction, judging whether the detected first data of each subarea exceeds a first range set for the corresponding subarea, and generating a first judgment result; when the first judgment result represents that the first data of at least one subarea exceeds a first range set for the corresponding subarea, determining that the touch input unit has a first change; the mechanical deformation in the electronic equipment can be detected, and the problem of false alarm touch operation caused by the mechanical deformation is avoided; the multifunctional electronic equipment is embodied, and the user experience is improved.
Drawings
FIG. 1 is a schematic flow chart illustrating a first embodiment of an information processing method according to the present invention;
FIG. 2 is a flowchart illustrating an implementation of a second embodiment of the information processing method according to the present invention;
FIG. 3 is a flowchart illustrating an implementation of a third embodiment of the information processing method according to the present invention;
FIG. 4 is a schematic diagram of a first embodiment of an electronic device according to the present invention;
FIG. 5 is a schematic diagram of a second embodiment of an electronic device according to the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to a third embodiment of the invention.
Detailed Description
The preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings, and it should be understood that the preferred embodiments described below are only for the purpose of illustrating and explaining the present invention, and are not to be construed as limiting the present invention.
The first embodiment of the information processing method provided by the invention is applied to an electronic device, wherein the electronic device comprises a touch input unit; dividing an input area of the touch input unit into N sub-areas, wherein N is a positive integer greater than 1; in the electronic equipment supporting touch operation, a voltage range value is configured for each subarea in the divided N subareas.
Fig. 1 is a flow chart of a first embodiment of an information processing method provided by the present invention; as shown in fig. 1, the method includes:
step 101: and acquiring a first trigger instruction, wherein the first trigger instruction is used for detecting first data of each sub-area.
Wherein the first data may be a current voltage value of each sub-region.
The method includes the steps that a first trigger instruction is obtained when the electronic equipment is powered on, for example, in a production test stage of the electronic equipment, when a tester starts the electronic equipment, the electronic equipment obtains the first trigger instruction; for example, when the electronic device is purchased by a user, the electronic device acquires the first trigger instruction when the user turns on the electronic device.
Or when the electronic device acquires a first operation, acquiring the first trigger instruction, where the first operation is used to characterize a detection operation on first data of each sub-region. The first operation may be an operation of a user on a first function key, a voice operation of the user, an operation of the user on a first function icon, or the like; the first function key is used for detecting voltage values of all the sub-areas; the first function key can be set independently, and can also be multiplexed with other function keys in the electronic equipment, such as an audio size adjusting key; the first function icon is used for representing an icon for detecting the voltage value of each sub-area.
Step 102: and responding to the first trigger instruction, judging whether the detected first data of each sub-area exceeds a first range set for the corresponding sub-area, and generating a first judgment result.
Here, it is determined whether the voltage value of each of the sub-regions currently detected exceeds the voltage range set for the corresponding sub-region.
Step 103: and when the first judgment result represents that the first data of at least one subarea exceeds a first range set for the corresponding subarea, determining that the touch input unit has a first change.
Here, when it is determined that the current voltage value of at least one sub-area exceeds the voltage range set for the sub-area, it is determined that the touch input unit is deformed to be a non-planar surface, that is, the electronic device including the touch input unit is mechanically deformed.
As can be seen from the above, in the first embodiment of the method of the present invention, by detecting whether the voltage values of the N sub-regions divided for the touch input unit exceed the voltage ranges set for the N sub-regions, it is possible to automatically detect whether the electronic device is in the mechanical deformation state, and the method is high in detection rate, and is simple and easy to implement.
The second embodiment of the information processing method provided by the invention is applied to an electronic device, wherein the electronic device comprises a touch input unit; dividing an input area of the touch input unit into N sub-areas, wherein N is a positive integer greater than 1; in the electronic equipment supporting touch operation, a voltage range value is configured for each subarea in the divided N subareas.
FIG. 2 is a flowchart of a second embodiment of an information processing method according to the present invention; as shown in fig. 2, the method includes:
step 201: and acquiring a first trigger instruction, wherein the first trigger instruction is used for detecting first data of each sub-area.
Wherein the first data may be a current voltage value of each sub-region.
The method includes the steps that a first trigger instruction is obtained when the electronic equipment is powered on, for example, in a production test stage of the electronic equipment, when a tester starts the electronic equipment, the electronic equipment obtains the first trigger instruction; for example, when the electronic device is purchased by a user, the electronic device acquires the first trigger instruction when the user turns on the electronic device.
Or when the electronic device acquires a first operation, acquiring the first trigger instruction, where the first operation is used to characterize a detection operation on first data of each sub-region. The first operation may be an operation of a user on a first function key, a voice operation of the user, an operation of the user on a first function icon, or the like; the first function key is used for detecting voltage values of all the sub-areas; the first function key can be set independently, and can also be multiplexed with other function keys in the electronic equipment, such as an audio size adjusting key; the first function icon is used for representing an icon for detecting the voltage value of each sub-area.
Step 202: and responding to the first trigger instruction, judging whether the detected first data of each sub-area exceeds a first range set for the corresponding sub-area, and generating a first judgment result.
Here, it is determined whether the voltage value of each of the sub-regions currently detected exceeds the voltage range set for the corresponding sub-region.
Step 203: and when the first judgment result represents that the first data of at least one subarea exceeds a first range set for the corresponding subarea, determining that the touch input unit has a first change.
Here, when it is determined that the current voltage value of at least one sub-area exceeds the voltage range set for the sub-area, it is determined that the touch input unit is deformed to be a non-planar surface, that is, the electronic device including the touch input unit is mechanically deformed.
Step 204: adjusting the first data for each of the at least one sub-region to compensate for the first variation.
Here, after it is determined in step 203 that the electronic device is in the mechanical deformation state, in order to avoid that the electronic device falsely reports the touch operation caused by the mechanical deformation, in this embodiment, it is necessary to compensate the voltage value of the sub-region in the non-reasonable voltage range value due to the mechanical deformation, so that the voltage value of the sub-region is in the reasonable voltage range.
Wherein the types of mechanical deformation include: diagonal deformation and long-diagonal deformation; for each type of deformation, there is a certain deformation rule physically, for example: and the voltage values of all the sub-areas included in the diagonal deformation area are increased, the increased voltage values are obtained, the difference between the changed voltage values and the upper limit value in the voltage range corresponding to the corresponding sub-area is obtained, and the difference is subtracted from the changed voltage values, so that the voltage values of the diagonal deformation area are close to the reasonable voltage range value of the corresponding sub-area.
Therefore, in the second embodiment of the method of the present invention, by detecting whether the voltage values of the N sub-regions divided for the touch input unit exceed the voltage ranges set for the N sub-regions, it is possible to automatically detect whether the electronic device is in a mechanical deformation state; meanwhile, the voltage value of the sub-area included in the mechanical deformation area is compensated, so that the problem of touch misinformation caused by mechanical deformation is avoided; the multifunctional electronic equipment is embodied, and the user experience is improved.
FIG. 3 is a flowchart of a third embodiment of an information processing method according to the present invention; as shown in fig. 3, the method includes:
step 301: and acquiring a first trigger instruction, wherein the first trigger instruction is used for detecting first data of each sub-area.
Wherein the first data may be a current voltage value of each sub-region.
The method includes the steps that a first trigger instruction is obtained when the electronic equipment is powered on, for example, in a production test stage of the electronic equipment, when a tester starts the electronic equipment, the electronic equipment obtains the first trigger instruction; for example, when the electronic device is purchased by a user, the electronic device acquires the first trigger instruction when the user turns on the electronic device.
Or when the electronic device acquires a first operation, acquiring the first trigger instruction, where the first operation is used to characterize a detection operation on first data of each sub-region. The first operation may be an operation of a user on a first function key, a voice operation of the user, an operation of the user on a first function icon, or the like; the first function key is used for detecting voltage values of all the sub-areas; the first function key can be set independently, and can also be multiplexed with other function keys in the electronic equipment, such as an audio size adjusting key; the first function icon is used for representing an icon for detecting the voltage value of each sub-area.
Step 302: and responding to the first trigger instruction, judging whether the detected first data of each sub-area exceeds a first range set for the corresponding sub-area, and generating a first judgment result.
Here, it is determined whether the voltage value of each of the sub-regions currently detected exceeds the voltage range set for the corresponding sub-region.
Step 303: and when the first judgment result represents that the first data of at least one subarea exceeds a first range set for the corresponding subarea, determining that the touch input unit has a first change.
Here, when it is determined that the current voltage value of at least one sub-area exceeds the voltage range set for the sub-area, it is determined that the touch input unit is deformed to be a non-planar surface, that is, the electronic device is mechanically deformed.
Step 304: and acquiring the change type of the first change of the touch input unit.
In this step, the obtaining of the change type may be by: determining a change area covered by the at least one subarea on the touch input unit; determining a change type corresponding to the change area according to the second corresponding relation; the second corresponding relation is used for representing a preset corresponding relation between the change type and the change area.
Here, the types of deformation due to mechanical deformation include: diagonal deformation and long-diagonal deformation; the area covered by the diagonal deformation is around the diagonal of the touch input unit of the electronic equipment; the area covered by the long opposite side deformation is arranged around two long sides of a touch input unit of the electronic equipment. After the electronic device acquires a change area (deformation area) covered by a sub-area in an unreasonable voltage range, the change type of the mechanical deformation of the electronic device can be determined according to the relationship between the change area and the corresponding change type.
Step 305: determining an adjustment rule corresponding to the change type according to the first corresponding relation; the first corresponding relation is used for representing a preset corresponding relation between the change type and the adjustment rule.
Step 306: and performing corresponding compensation operation on the first data of each sub-region in the at least one sub-region according to the adjustment rule, so that the adjusted first data of each sub-region is adapted to the first range value of the corresponding sub-region.
Here, the compensation operation is performed on all the sub-regions in the deformation region in the operation method indicated in the adjustment rule, so that the voltage values of the sub-regions after the compensation operation are all within the respective reasonable voltage ranges.
In this embodiment, steps 304-306 can be further described as adjusting the first data of each of the at least one sub-region to compensate for the first variation.
In a preferred embodiment of the present invention, the method further comprises:
when the change type is a first change type, dividing a change area with the first change type; determining an adjustment rule corresponding to the first variation type as a first adjustment rule;
and according to the first adjustment rule, performing first compensation operation on the divided first sub-variation region, and performing second compensation operation on the divided second sub-variation region, so that the first data of each sub-region included in the first sub-variation region and the second sub-variation region are adapted to the first range value of each sub-region.
Wherein the first variation type includes: diagonal deformation, long-edge-to-edge deformation, etc.
For example, taking the variation type (deformation type) of diagonal deformation as an example, the characteristics are: the voltage values of all the sub-regions included in the diagonal variable region become larger, and the voltage value of the sub-region at the central position of the diagonal variable region becomes larger than the voltage value of the sub-region at the non-central position of the diagonal variable region. Setting an adjustment rule for the diagonal deformation type may be: and subtracting a larger value from the voltage value of the sub-area at the central position of the diagonal variable area, and subtracting a smaller value from the voltage value of the sub-area at the non-central position of the diagonal variable area. In this example, the first sub-variation region is a central position of the diagonal variation region, the second sub-variation region is a non-central position of the diagonal variation region, and the central position of the diagonal variation region and the non-central position of the diagonal variation region are respectively calculated according to the first adjustment rule corresponding to the diagonal variation type, so that the voltage value of each sub-region included in the diagonal variation region is within the voltage range value of each sub-region.
As can be seen from the above, in the third embodiment of the method of the present invention, by detecting whether the voltage values of the N sub-regions divided for the touch input unit exceed the voltage ranges set for the N sub-regions, it is possible to automatically detect whether the electronic device is in the mechanical deformation state; meanwhile, the voltage value of the sub-area included in the mechanical deformation area is compensated according to the change type and the corresponding adjustment rule thereof, so that the problem of touch misinformation caused by mechanical deformation is avoided; the multifunctional electronic equipment is embodied, and the user experience is improved.
A first embodiment of an electronic device provided by the present invention includes: a touch input unit and a dividing unit; the dividing unit is used for dividing an input area of the touch input unit into N sub-areas, wherein N is a positive integer greater than 1; after the dividing unit divides the N sub-regions, a voltage range value is configured for each sub-region.
FIG. 4 is a schematic diagram of a first embodiment of an electronic device according to the present invention; as shown in fig. 4, the electronic device further includes:
an obtaining unit 41, configured to obtain a first trigger instruction, where the first trigger instruction is used to detect first data of each sub-region.
Wherein the first data may be a current voltage value of each sub-region.
The obtaining unit 41 obtains the first trigger instruction when the electronic device is powered on, for example, in a production test stage of the electronic device, when a tester starts the electronic device, the obtaining unit 41 obtains the first trigger instruction; for example, when the electronic device is purchased by a user, and the user turns on the electronic device, the obtaining unit 41 obtains the first trigger instruction.
Or, the obtaining unit 41 obtains the first trigger instruction when obtaining a first operation, where the first operation is used to characterize a detection operation on first data of each sub-region. The first operation may be an operation of a user on a first function key, a voice operation of the user, an operation of the user on a first function icon, or the like; the first function key is used for detecting voltage values of all the sub-areas; the first function key can be set independently, and can also be multiplexed with other function keys in the electronic equipment, such as an audio size adjusting key; the first function icon is used for representing an icon for detecting the voltage value of each sub-area.
A response unit 42, configured to respond to the first trigger instruction, determine whether the detected first data of each sub-region exceeds a first range set for the corresponding sub-region, and generate a first determination result; and when the first judgment result represents that the first data of at least one subarea exceeds a first range set for the corresponding subarea, determining that the touch input unit has a first change.
Here, when the response unit 42 determines whether the currently detected voltage value of each sub-area exceeds the voltage range set for the corresponding sub-area, and when it is determined that the current voltage value of at least one sub-area exceeds the voltage range set for the sub-area, it is determined that the touch input unit is deformed to be a non-planar surface, that is, the electronic device is mechanically deformed.
As can be seen from the above, in the first embodiment of the electronic device of the present invention, by detecting whether the voltage values of the N sub-regions divided for the touch input unit exceed the voltage ranges set for the N sub-regions, it is possible to automatically detect whether the electronic device is in the mechanical deformation state, and the detection rate is high and is simple and easy to implement.
A second embodiment of the electronic device provided by the present invention includes: a touch input unit and a dividing unit; the dividing unit is used for dividing an input area of the touch input unit into N sub-areas, wherein N is a positive integer greater than 1; after the dividing unit divides the N sub-regions, a voltage range value is configured for each sub-region.
FIG. 5 is a schematic diagram of a second embodiment of an electronic device according to the present invention; as shown in fig. 5, the electronic device further includes:
the obtaining unit 51 is configured to obtain a first trigger instruction, where the first trigger instruction is used to detect first data of each sub-region.
Wherein the first data may be a current voltage value of each sub-region.
The obtaining unit 51 obtains the first trigger instruction when the electronic device is powered on, for example, in a production test stage of the electronic device, when a tester starts the electronic device, the obtaining unit 51 obtains the first trigger instruction; for example, when the electronic device is purchased by a user, and the user turns on the electronic device, the obtaining unit 51 obtains the first trigger instruction.
Or, the obtaining unit 51 obtains the first trigger instruction when obtaining a first operation, where the first operation is used to characterize a detection operation on first data of each sub-region. The first operation may be an operation of a user on a first function key, a voice operation of the user, an operation of the user on a first function icon, or the like; the first function key is used for detecting voltage values of all the sub-areas; the first function key can be set independently, and can also be multiplexed with other function keys in the electronic equipment, such as an audio size adjusting key; the first function icon is used for representing an icon for detecting the voltage value of each sub-area.
A response unit 52, configured to respond to the first trigger instruction, determine whether the detected first data of each sub-region exceeds a first range set for the corresponding sub-region, and generate a first determination result; and when the first judgment result represents that the first data of at least one subarea exceeds a first range set for the corresponding subarea, determining that the touch input unit has a first change.
Here, when the response unit 52 determines whether the currently detected voltage value of each sub-area exceeds the voltage range set for the corresponding sub-area, and when it is determined that the current voltage value of at least one sub-area exceeds the voltage range set for the sub-area, it is determined that the touch input unit is deformed to be a non-planar surface, that is, the electronic device is mechanically deformed.
The response unit 52 is further configured to adjust the first data of each of the at least one sub-area to compensate for the first variation.
Here, after the response unit 52 determines that the electronic device is in the mechanical deformation state, in order to avoid the electronic device from misreporting the touch operation caused by the mechanical deformation, in this embodiment, it is necessary to compensate the voltage value of the sub-area in the non-reasonable voltage range value due to the mechanical deformation, so that the voltage value of the sub-area is in the reasonable voltage range.
Wherein the types of mechanical deformation include: diagonal deformation and long-diagonal deformation; for each type of deformation, there is a certain deformation rule physically, for example: the voltage values of all the sub-regions included in the diagonal variable region are increased, the response unit 52 first obtains the increased voltage value by using the rule, obtains a difference between the changed voltage value and an upper limit value in a voltage range corresponding to the corresponding sub-region, subtracts the difference from the changed voltage value, and compensates the first data by making the voltage value of the diagonal variable region approach a reasonable voltage value of the corresponding sub-region.
Therefore, in the second embodiment of the electronic device of the present invention, by detecting whether the voltage values of the N sub-regions divided by the touch input unit exceed the voltage ranges set for the N sub-regions, it is possible to automatically detect whether the electronic device is in a mechanical deformation state; meanwhile, the voltage value of the sub-area included in the mechanical deformation area is compensated, so that the problem of touch misinformation caused by mechanical deformation is avoided; the multifunctional electronic equipment is embodied, and the user experience is improved.
A third embodiment of the electronic device provided by the present invention includes: a touch input unit and a dividing unit; the dividing unit is used for dividing an input area of the touch input unit into N sub-areas, wherein N is a positive integer greater than 1; after the dividing unit divides the N sub-regions, a voltage range value is configured for each sub-region.
FIG. 6 is a schematic diagram of a third embodiment of an electronic device according to the present invention; as shown in fig. 6, the electronic device further includes:
the obtaining unit 61 is configured to obtain a first trigger instruction, where the first trigger instruction is used to detect first data of each sub-region.
Wherein the first data may be a current voltage value of each sub-region.
The obtaining unit 61 obtains the first trigger instruction when the electronic device is powered on, for example, in a production test stage of the electronic device, when a tester starts the electronic device, the obtaining unit 61 obtains the first trigger instruction; the obtaining unit 61 obtains the first trigger instruction when the user turns on the electronic device, for example, when the electronic device is purchased by the user.
Or, when acquiring a first operation, the acquiring unit 61 acquires the first trigger instruction, where the first operation is used to characterize a detection operation on first data of each sub-region. The first operation may be an operation of a first function key by a user, a voice operation of the user, an operation of a first function icon by the user, or the like; the first function key is used for detecting voltage values of all the sub-areas; the first function key can be set independently, and can also be multiplexed with other function keys in the electronic equipment, such as an audio size adjusting key; the first function icon is used for representing an icon for detecting the voltage value of each sub-area.
A response unit 62, configured to respond to the first trigger instruction, determine whether the detected first data of each sub-region exceeds a first range set for the corresponding sub-region, and generate a first determination result; and when the first judgment result represents that the first data of at least one subarea exceeds a first range set for the corresponding subarea, determining that the touch input unit has a first change.
Here, when the response unit 62 determines whether the currently detected voltage value of each sub-area exceeds the voltage range set for the corresponding sub-area, and when it is determined that the current voltage value of at least one sub-area exceeds the voltage range set for the sub-area, it is determined that the touch input unit is deformed to be a non-planar surface, that is, the electronic device is mechanically deformed.
The response unit 62 is configured to obtain a change type of the first change of the touch input unit.
Further, the response unit 62 obtains the change type by:
determining a change area covered by the at least one subarea on the touch input unit; determining a change type corresponding to the change area according to the second corresponding relation; the second corresponding relation is used for representing a preset corresponding relation between the change type and the change area.
Here, the types of deformation due to mechanical deformation include: diagonal deformation and long-diagonal deformation; the area covered by the diagonal deformation is around the diagonal of the touch input unit of the electronic equipment; the area covered by the long opposite side deformation is arranged around two long sides of a touch input unit of the electronic equipment. After the response unit 62 obtains the change area (deformation area) covered by the sub-area in the unreasonable voltage range, the change type of the mechanical deformation of the electronic device can be determined according to the relationship between the change area and the change type corresponding to the change area.
The response unit 62 is configured to determine an adjustment rule corresponding to the change type according to the first corresponding relationship; the first corresponding relation is used for representing a preset corresponding relation between the change type and the adjustment rule; and performing corresponding compensation operation on the first data of each sub-region in the at least one sub-region according to the adjustment rule, so that the adjusted first data of each sub-region is adapted to the first range value of the corresponding sub-region.
Here, the response unit 62 performs compensation operation on all sub-regions within the deformation region in the operation method indicated in the adjustment rule, so that the voltage values of the sub-regions after the compensation operation are all within the respective reasonable voltage ranges.
In this embodiment, the response unit 62 is further configured to: when the change type is a first change type, dividing a change area with the first change type; determining an adjustment rule corresponding to the first variation type as a first adjustment rule; and according to the first adjustment rule, performing first compensation operation on the divided first sub-variation region, and performing second compensation operation on the divided second sub-variation region, so that the first data of each sub-region included in the first sub-variation region and the second sub-variation region are adapted to the first range value of each sub-region.
Wherein the first variation type includes: diagonal deformation, long-edge-to-edge deformation, etc.
For example, taking the variation type (deformation type) of diagonal deformation as an example, the characteristics are: the voltage values of all the sub-regions included in the diagonal variable region become larger, and the voltage value of the sub-region at the central position of the diagonal variable region becomes larger than the voltage value of the sub-region at the non-central position of the diagonal variable region. Setting an adjustment rule for the diagonal deformation type may be: and subtracting a larger value from the voltage value of the sub-area at the central position of the diagonal variable area, and subtracting a smaller value from the voltage value of the sub-area at the non-central position of the diagonal variable area. In this example, the first sub-variation region is a central position of the diagonal variation region, the second sub-variation region is a non-central position of the diagonal variation region, and the response unit 62 performs the calculation indicated by the adjustment rule according to the adjustment rule corresponding to the diagonal variation type, so that the voltage value of each sub-region included in the diagonal variation region is within the voltage range value of each sub-region.
In this embodiment, the response unit 62 performs a corresponding compensation operation on the first data of each sub-region in the at least one sub-region according to the adjustment rule, so that the function of adapting the adjusted first data of each sub-region to the first range value of the corresponding sub-region can be further described as the function of the response unit 62 adjusting the first data of each sub-region in the at least one sub-region to compensate the first change.
As can be seen from the above, in the third embodiment of the electronic device of the present invention, by detecting whether the voltage values of the N sub-regions divided by the touch input unit exceed the voltage ranges set for the N sub-regions, it is possible to automatically detect whether the electronic device is in the mechanical deformation state; meanwhile, the voltage value of the sub-area included in the mechanical deformation area is compensated according to the change type and the corresponding adjustment rule thereof, so that the problem of touch misinformation caused by mechanical deformation is avoided; the multifunctional electronic equipment is embodied, and the user experience is improved.
It should be noted that, the electronic device according to the above embodiments of the present invention is an all-in-one computer, and the technical solution of the embodiments of the present invention can also be applied to: industrial control computers, personal computers, and the like, various types of computers, tablet computers, mobile phones, electronic readers, and the like.
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.
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.

Claims (8)

1. An information processing method is applied to electronic equipment, and the electronic equipment comprises a touch input unit; dividing an input area of the touch input unit into N sub-areas, wherein N is a positive integer greater than 1; the method comprises the following steps:
acquiring a first trigger instruction, wherein the first trigger instruction is used for detecting first data of each sub-area;
responding to the first trigger instruction, judging whether the detected first data of each subarea exceeds a first range set for the corresponding subarea, and generating a first judgment result;
when the first judgment result represents that the first data of at least one subarea exceeds a first range set for the corresponding subarea, determining that the touch input unit has a first change;
after determining that the first change occurs to the touch input unit, the method further includes:
adjusting the first data for each of the at least one sub-region to compensate for the first variation;
after determining that the touch input unit has the first change, the method includes:
acquiring the change type of the first change of the touch input unit;
determining an adjustment rule corresponding to the change type according to the first corresponding relation;
accordingly, the adjusting the first data of each of the at least one sub-region to compensate for the first variation includes:
according to the adjustment rule, performing corresponding compensation operation on the first data of each sub-region in the at least one sub-region, so that the adjusted first data of each sub-region is adapted to the first range value of the corresponding sub-region;
the first corresponding relation is used for representing a preset corresponding relation between the change type and the adjustment rule.
2. The method according to claim 1, wherein the obtaining of the type of the first change of the touch input unit comprises:
determining a change area covered by the at least one subarea on the touch input unit;
determining a change type corresponding to the change area according to the second corresponding relation;
the second corresponding relation is used for representing a preset corresponding relation between the change type and the change area.
3. The method of claim 2, further comprising:
when the change type is a first change type, dividing a change area with the first change type;
determining an adjustment rule corresponding to the first variation type as a first adjustment rule;
and according to the first adjustment rule, performing first compensation operation on the divided first sub-variation region, and performing second compensation operation on the divided second sub-variation region, so that the first data of each sub-region included in the first sub-variation region and the second sub-variation region are adapted to the first range value of each sub-region.
4. The method according to any one of claims 1 to 3, further comprising:
acquiring the first trigger instruction when the electronic equipment is powered on;
or when the first operation is acquired, acquiring the first trigger instruction; the first operation is used to characterize a detection operation of first data of the respective sub-region.
5. An electronic device, the electronic device comprising: a touch input unit and a dividing unit; the dividing unit is used for dividing an input area of the touch input unit into N sub-areas, wherein N is a positive integer greater than 1; the electronic device further includes:
the device comprises an acquisition unit, a detection unit and a processing unit, wherein the acquisition unit is used for acquiring a first trigger instruction which is used for detecting first data of each sub-area; the response unit is used for responding to the first trigger instruction, judging whether the detected first data of each subarea exceeds a first range set for the corresponding subarea or not, and generating a first judgment result;
when the first judgment result represents that the first data of at least one subarea exceeds a first range set for the corresponding subarea, determining that the touch input unit has a first change;
the response unit is further configured to adjust the first data of each of the at least one sub-region to compensate for the first variation;
the response unit is further used for acquiring the change type of the first change of the touch input unit;
determining an adjustment rule corresponding to the change type according to the first corresponding relation;
according to the adjustment rule, performing corresponding compensation operation on the first data of each sub-region in the at least one sub-region, so that the adjusted first data of each sub-region is adapted to the first range value of the corresponding sub-region;
the first corresponding relation is used for representing a preset corresponding relation between the change type and the adjustment rule.
6. The electronic device of claim 5, wherein the response unit is configured to determine a change area covered by the at least one sub-area on the touch input unit;
determining a change type corresponding to the change area according to the second corresponding relation;
the second corresponding relation is used for representing a preset corresponding relation between the change type and the change area.
7. The electronic device according to claim 6, wherein the response unit is configured to divide a change area having a first change type when the change type is the first change type;
determining an adjustment rule corresponding to the first variation type as a first adjustment rule;
and according to the first adjustment rule, performing first compensation operation on the divided first sub-variation region, and performing second compensation operation on the divided second sub-variation region, so that the first data of each sub-region included in the first sub-variation region and the second sub-variation region are adapted to the first range value of each sub-region.
8. The electronic device according to any one of claims 5 to 7, wherein the obtaining unit is configured to obtain the first trigger instruction when the electronic device is powered on;
or, the method is used for acquiring the first trigger instruction when acquiring the first operation; the first operation is used to characterize a detection operation of first data of the respective sub-region.
CN201410230817.8A 2014-05-28 2014-05-28 Information processing method and electronic equipment Active CN105335057B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410230817.8A CN105335057B (en) 2014-05-28 2014-05-28 Information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410230817.8A CN105335057B (en) 2014-05-28 2014-05-28 Information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN105335057A CN105335057A (en) 2016-02-17
CN105335057B true CN105335057B (en) 2019-12-24

Family

ID=55285644

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410230817.8A Active CN105335057B (en) 2014-05-28 2014-05-28 Information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN105335057B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10333828A (en) * 1997-05-30 1998-12-18 Nec Shizuoka Ltd Touch panel
CN1692371A (en) * 2002-05-17 2005-11-02 3M创新有限公司 Calibration of force based touch panel systems
CN102147678A (en) * 2010-02-05 2011-08-10 三星电子株式会社 Method and apparatus compensating noise in touch panel

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10333828A (en) * 1997-05-30 1998-12-18 Nec Shizuoka Ltd Touch panel
CN1692371A (en) * 2002-05-17 2005-11-02 3M创新有限公司 Calibration of force based touch panel systems
CN102147678A (en) * 2010-02-05 2011-08-10 三星电子株式会社 Method and apparatus compensating noise in touch panel

Also Published As

Publication number Publication date
CN105335057A (en) 2016-02-17

Similar Documents

Publication Publication Date Title
EP2857944B1 (en) Mobile communication terminal, screen adjusting method and storage medium
US9886090B2 (en) Haptic notifications utilizing haptic input devices
CN105117156B (en) A kind of information processing method and electronic equipment
US9529475B2 (en) Method for calibration of capacitive touch screen and capacitive touch apparatus
EP2804083A1 (en) Screen unlocking system and method
US9965086B2 (en) Method for enabling function module of terminal, and terminal device
US9760466B2 (en) Touch-control monitoring method for touchscreen and terminal
KR101813061B1 (en) Data reporting method and apparatus, and terminal device
US10459572B2 (en) Touchscreen interference suppression method and apparatus, and terminal device
WO2014180444A1 (en) Sensitivity adjustment method and device
KR101361365B1 (en) Method and apparatus for controlling user terminal using magnetic field
CN105718173B (en) Terminal control method, terminal control device and terminal
EP2703970A1 (en) Apparatus and method for processing input on touch screen
CN109766054B (en) Touch screen device and control method and medium thereof
CN108255393B (en) Unlocking password generation method and mobile terminal
CN103135934A (en) Touch-screen mobile device and method and device for switching application program quickly
JP2014048971A (en) Input device, method for controlling input device, control program, and computer readable recording medium recorded with control program
KR20210102372A (en) Electromagnetic interference control method and related products
CN104898880A (en) Control method and electronic equipment
KR20080105724A (en) Communication terminal having touch panel and method for calculating touch coordinates thereof
CN104571814B (en) Projection method and electronic equipment
US20150193075A1 (en) Touch apparatus and touch method thereof
US10228792B2 (en) Touch determining device and method, and display device
CN105335057B (en) Information processing method and electronic equipment
CN104731503B (en) A kind of control method and electronic equipment

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
GR01 Patent grant