CN110083266B - Information processing method, device and storage medium - Google Patents

Information processing method, device and storage medium Download PDF

Info

Publication number
CN110083266B
CN110083266B CN201910262408.9A CN201910262408A CN110083266B CN 110083266 B CN110083266 B CN 110083266B CN 201910262408 A CN201910262408 A CN 201910262408A CN 110083266 B CN110083266 B CN 110083266B
Authority
CN
China
Prior art keywords
touch
control instruction
determining
characteristic parameter
touch operation
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
CN201910262408.9A
Other languages
Chinese (zh)
Other versions
CN110083266A (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.)
Shanghai Moaan Intelligent Technology Co ltd
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Shanghai Moaan Intelligent Technology Co ltd
Beijing Xiaomi Mobile Software Co 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 Shanghai Moaan Intelligent Technology Co ltd, Beijing Xiaomi Mobile Software Co Ltd filed Critical Shanghai Moaan Intelligent Technology Co ltd
Priority to CN201910262408.9A priority Critical patent/CN110083266B/en
Publication of CN110083266A publication Critical patent/CN110083266A/en
Application granted granted Critical
Publication of CN110083266B publication Critical patent/CN110083266B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • G06F3/03547Touch pads, in which fingers can move on a surface
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present disclosure relates to an information processing method, an information processing apparatus, and a storage medium, wherein the method is applied to a touch device and includes: detecting a first touch operation; acquiring a touch characteristic parameter corresponding to the first touch operation and acquiring a control instruction option corresponding to the first touch operation, wherein the control instruction option comprises a plurality of candidate control instructions corresponding to the first touch operation; determining a target control instruction in the candidate control instructions according to a preset mode; and executing the target control instruction. The touch control device and the touch control method can reduce misoperation of the touch control device.

Description

Information processing method, device and storage medium
Technical Field
The present disclosure relates to the field of touch devices, and in particular, to an information processing method and apparatus, and a storage medium.
Background
At present, the application of touch devices has become popular, and the touch devices can be applied to various electronic devices, such as electronic readers, mobile phones, PADs, and the like. When a user uses a touch device, the user generally needs to hold the touch device with a single hand, which needs to face the problems of stable holding and false touch prevention when the user uses the touch device. For example, for a mobile phone with a small body width, a user can hold a frame and click a screen with a thumb, for a device with a large screen, the thumb is required to be arranged on the front side of the body, and the other four fingers are arranged on the back side of the body to cooperatively pinch the shell to ensure the holding stability, if the screen is in an unlocked state, the thumb is easily triggered by mistake when contacting the screen and is recognized as different operations, and the unexpected operations are very easy to cause troubles for the user.
The prior art has the technical problem of easily causing touch misoperation, and the user experience is not good.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides an information processing method, an information processing apparatus, and a storage medium capable of improving touch recognition accuracy.
According to a first aspect of the embodiments of the present disclosure, there is provided an information processing method applied to a touch device, including:
detecting a first touch operation;
acquiring a touch characteristic parameter corresponding to the first touch operation and acquiring a control instruction option corresponding to the first touch operation, wherein the control instruction option comprises a plurality of candidate control instructions corresponding to the first touch operation;
determining a target control instruction in the candidate control instructions according to a preset mode;
and executing the target control instruction.
In some possible embodiments, the obtaining the touch characteristic parameter corresponding to the first touch operation includes:
and acquiring at least one of the touch area, the touch time, the distance between the touch center position and the touch boundary of the touch equipment and the movement distance of the first touch operation.
In some possible embodiments, the obtaining of the control instruction option corresponding to the first touch operation includes:
determining a candidate control instruction corresponding to the first touch operation based on at least one of the touch characteristic parameters corresponding to the first touch operation;
and forming the control instruction option by using each determined candidate control instruction.
In some possible embodiments, the determining, according to a preset manner, a target control instruction in the candidate control instructions includes:
acquiring touch characteristic parameters corresponding to each candidate control instruction and weight information of each touch characteristic parameter;
and determining a target control instruction in the candidate control instructions according to the touch characteristic parameters corresponding to the candidate control instructions and the weight information of the touch characteristic parameters, and determining the target control instruction in the candidate control instructions.
In some possible embodiments, determining a target control instruction in the candidate control instructions according to the touch characteristic parameter corresponding to each candidate control instruction and the weight information of each touch characteristic parameter includes:
determining a quantization value corresponding to each touch characteristic parameter according to the touch characteristic parameter corresponding to each candidate control instruction;
determining a weighted sum of quantized values of the touch characteristic parameters according to weight information of the touch characteristic parameters corresponding to the candidate control instructions so as to determine priorities of the candidate control instructions;
and determining the candidate control instruction with the highest priority as the target control instruction.
In some possible embodiments, the determining, according to the touch characteristic parameter corresponding to each candidate control instruction, a quantization value corresponding to each touch characteristic parameter includes:
if the value corresponding to the touch characteristic parameter is larger than or equal to a reference threshold value, determining that the quantized value of the touch characteristic parameter is a first value;
and if the value corresponding to the touch characteristic parameter is smaller than the reference threshold, determining the quantized value of the touch characteristic parameter according to the ratio of the value corresponding to the touch characteristic parameter to the reference threshold.
In some possible embodiments, the obtaining a quantized value corresponding to each touch characteristic parameter further includes:
if the touch area of the first touch operation is larger than or equal to an area reference threshold, determining that the quantized value of the touch area is a first numerical value, and if the touch area of the first touch operation is smaller than the area reference threshold, determining the quantized value of the touch area according to the ratio of the touch area to the area reference threshold; and/or
If the touch time of the first touch operation is greater than or equal to a time reference threshold, determining that the quantized value of the touch time is a first numerical value, and if the touch time of the first touch operation is less than the time reference threshold, determining the quantized value of the touch time according to a ratio of the touch time to the time reference threshold; and/or
If the first distance between the touch center position of the first touch operation and the touch boundary of the touch equipment is greater than or equal to a first distance threshold, determining that the quantized value of the first distance is a first numerical value, and if the first distance is less than the first distance threshold, determining the quantized value of the first distance according to the ratio of the first distance to the first distance threshold; and/or
If the moving distance of the touch point of the first touch operation is greater than or equal to a second distance threshold, determining that the quantized value of the moving distance is a first numerical value, and if the moving distance is less than the second distance threshold, determining the quantized value of the moving distance according to the ratio of the moving distance to the second distance threshold.
In some possible embodiments, after executing the target control instruction, the method further comprises:
detecting a second touch operation within a first time range after the target instruction is executed;
if the target control instruction corresponding to the second touch operation is a reverse instruction of the target control instruction of the first touch operation, adjusting at least one of the touch characteristic parameter and the weight information of the touch characteristic parameter corresponding to the target control instruction of the first touch operation, and/or adjusting at least one of the touch characteristic parameter and the weight information of the touch characteristic parameter corresponding to the target control instruction of the second touch operation.
According to a second aspect of the present disclosure, there is provided an information processing apparatus comprising:
the detection module is used for detecting a first touch operation;
an obtaining module, configured to obtain a touch characteristic parameter corresponding to the first touch operation and obtain a control instruction option corresponding to the first touch operation, where the control instruction option includes a plurality of candidate control instructions corresponding to the first touch operation;
the determining module is used for determining a target control instruction in the candidate control instructions according to a preset mode;
an execution module to execute the target control instruction.
In some possible embodiments, the obtaining module obtains the touch characteristic parameter corresponding to the first touch operation, including:
and acquiring at least one of the touch area, the touch time, the distance between the touch center position and the touch boundary of the touch equipment and the movement distance of the first touch operation.
In some possible embodiments, the obtaining module is further configured to determine a candidate control instruction corresponding to the first touch operation based on at least one of the touch characteristic parameters corresponding to the first touch operation, and
and forming the control instruction option by using each determined candidate control instruction.
In some possible embodiments, the determining module is further configured to obtain a touch characteristic parameter corresponding to each candidate control instruction and weight information of each touch characteristic parameter, and
and determining a target control instruction in the candidate control instructions according to the touch characteristic parameters corresponding to the candidate control instructions and the weight information of the touch characteristic parameters, and determining the target control instruction in the candidate control instructions.
In some possible embodiments, the determining module is further configured to determine, according to the touch characteristic parameter corresponding to each of the candidate control instructions, a quantization value corresponding to each of the touch characteristic parameters;
determining a weighted sum of quantized values of the touch characteristic parameters according to the weight information of the touch characteristic parameters corresponding to the candidate control instructions so as to determine the priority of the candidate control instructions; and
and determining the candidate control instruction with the highest priority as the target control instruction.
In some possible embodiments, the determining module is further configured to determine that the quantized value of the touch characteristic parameter is a first value when the value corresponding to the touch characteristic parameter is greater than or equal to a reference threshold;
and when the value corresponding to the touch characteristic parameter is smaller than a reference threshold value, determining a quantized value of the touch characteristic parameter according to a ratio between the value corresponding to the touch characteristic parameter and the reference threshold value.
In some possible embodiments, the determining module is further configured to determine, when the touch area of the first touch operation is greater than or equal to an area reference threshold, that the quantized value of the touch area is a first numerical value, and determine, when the touch area of the first touch operation is less than the area reference threshold, the quantized value of the touch area according to a ratio between the touch area and the area reference threshold; and/or
Determining a quantized value of touch time as a first numerical value when the touch time of the first touch operation is greater than or equal to a time reference threshold, and determining the quantized value of touch time according to a ratio of the touch time to the time reference threshold when the touch time of the first touch operation is less than the time reference threshold; and/or
When a first distance between the touch center position of the first touch operation and the touch boundary of the touch device is greater than or equal to a first distance threshold, determining a quantized value of the first distance as a first numerical value, and when the first distance is less than the first distance threshold, determining the quantized value of the first distance according to a ratio of the first distance to the first distance threshold; and/or
When the moving distance of the touch point of the first touch operation is larger than or equal to a second distance threshold, determining that the quantized value of the moving distance is a first numerical value, and when the moving distance is smaller than the second distance threshold, determining the quantized value of the moving distance according to the ratio of the moving distance to the second distance threshold.
In some possible embodiments, the obtaining module is further configured to detect a second touch operation within a first time range after the target instruction is executed;
and the apparatus further comprises:
and the adjusting module is used for adjusting at least one of the touch characteristic parameter and the weight information of the touch characteristic parameter corresponding to the target control instruction of the first touch operation and/or adjusting at least one of the touch characteristic parameter and the weight information of the touch characteristic parameter corresponding to the target control instruction of the second touch operation when the target control instruction corresponding to the second touch operation is a reverse instruction of the target control instruction of the first touch operation.
According to a third aspect of the present disclosure, there is provided an information processing apparatus comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the method of any one of the first aspect.
According to a fourth aspect of the present disclosure, there is provided a non-transitory computer readable storage medium having instructions which, when executed by a processor, enable the processor to perform the method according to any one of the first aspects.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the touch characteristic parameter identification method and device, the target control instruction corresponding to the touch characteristic parameter can be identified according to the obtained touch characteristic parameter, the touch characteristic parameter corresponding to the touch operation can be obtained in real time, the candidate control instruction can be determined according to the touch characteristic parameter, the target control instruction in the candidate control instructions can be determined according to a set mode, the touch identification precision can be improved, and the probability of misoperation can be reduced.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flow chart illustrating an information processing method according to an example embodiment.
Fig. 2 is a flowchart illustrating a step S200 in an information processing method according to an exemplary embodiment.
Fig. 3 is a flowchart illustrating a step S300 in an information processing method according to an exemplary embodiment.
FIG. 4 is a flowchart illustrating a step S302 in an information processing method according to an exemplary embodiment
Fig. 5 is an exemplary diagram illustrating an information processing method according to an exemplary embodiment.
Fig. 6 is another flow chart illustrating an information processing method according to an example embodiment.
Fig. 7 is a process diagram illustrating an information processing method according to an example embodiment.
Fig. 8 is a block diagram illustrating an information processing apparatus according to an example embodiment.
FIG. 9 is a block diagram illustrating an apparatus in accordance with an example embodiment
FIG. 10 is a block diagram illustrating an apparatus in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the disclosure, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating an information processing method according to an exemplary embodiment, and the information processing method according to the embodiment of the present disclosure may be used in a terminal device having a touch function, such as an e-reader, a mobile phone, a PAD, and the like, as long as the terminal device has the touch function, and thus the terminal device according to the embodiment of the present disclosure may be used. For convenience of description, the embodiments of the present disclosure refer to a device that runs the information processing method of the embodiments of the present disclosure as a touch device. As shown in fig. 1, an information processing method according to an embodiment of the present disclosure may include:
s100: detecting a first touch operation;
s200: acquiring a touch characteristic parameter corresponding to the first touch operation and acquiring a control instruction option corresponding to the first touch operation, wherein the control instruction option comprises a plurality of candidate control instructions corresponding to the first touch operation;
s300: determining a target control instruction in the candidate control instructions according to a preset mode;
s400: and executing the target control instruction.
In the embodiment of the present disclosure, a touch operation, for example, a first touch operation, may be detected first, where the first touch operation may be in any touch form, such as sliding, clicking, double clicking, or touching while holding the device, and any touch operation on a touch panel or a touch screen may be used as the first touch operation in the embodiment of the present disclosure.
After receiving the first touch operation, a touch characteristic parameter of the first touch operation may be analyzed, where the touch characteristic parameter may be used to represent touch parameter information corresponding to the first touch operation, and the touch characteristic parameter may include at least one of touch position, touch time, touch area, distance between the touch position and a touch boundary of the touch area, and movement distance. The above is an exemplary description of the touch characteristic parameters, and other touch characteristic parameters may also be included in other embodiments of the disclosure, which is not further illustrated in the disclosure. The detection of the touch characteristic parameters may be performed by a sensor or a timer built in the touch device, and those skilled in the art may detect the corresponding touch characteristic parameters by using different detection devices according to different requirements.
After obtaining the touch characteristic parameter, possible candidate control instructions corresponding to the touch characteristic parameter may be obtained. Fig. 2 is a flowchart illustrating a step S200 in an information processing method according to an exemplary embodiment, where the acquiring a control instruction option corresponding to the first touch operation may include:
s201: determining a candidate control instruction corresponding to the first touch operation based on at least one of the touch characteristic parameters corresponding to the first touch operation;
s202: and forming the control instruction option by using each determined candidate control instruction.
As described in the foregoing embodiment, in step S200, the touch characteristic parameter corresponding to the first touch operation may be obtained, and the candidate control instruction that may be matched may be determined according to each parameter information in the obtained touch characteristic parameter.
In some possible embodiments, a corresponding control instruction may be determined according to each of the touch characteristic parameters, so that a corresponding candidate control instruction may be obtained. For example, the corresponding control instruction may be determined according to the touch position of the touch. For the embodiment in which the touch device is an electronic reader, if the touch position of the first touch operation is determined to be on the left side of the touch screen, it may be determined that the control instruction corresponding to the touch operation is "previous page" or "page up", and if the touch position is on the right side of the touch screen, it may be determined that the control instruction corresponding to the touch operation is "next page" or "page down". Or for other touch devices, the determined control instruction may also be a "click operation instruction" or the like. For another example, the corresponding control command may be determined according to the touch time of the touch. For the embodiment in which the touch device is an electronic reader, if it is determined that the touch time corresponding to the first touch operation exceeds the preset time, it may be determined that the control instruction corresponding to the touch operation is a "return directory", and if it is determined that the touch time corresponding to the first touch operation is less than the preset time, it may be determined that the control instruction corresponding to the touch operation is a "click operation instruction", or the like. The control instruction corresponding to each touch characteristic parameter may be distinguished according to different devices, and the correspondence between the control instruction and the touch characteristic parameter may be implemented according to the prior art, which is not specifically limited by the present disclosure.
In other possible embodiments, the corresponding control instruction may be determined according to two or more characteristic parameters of the touch characteristic parameters at the same time, for example, the control instruction may be determined according to the touch time and the touch position of the first touch operation at the same time, or the control instruction may be determined according to the touch position and the touch area of the first touch operation at the same time. Similarly, in other embodiments, the corresponding control command may be determined in other combinations, which is not limited in this disclosure.
Through step S201, a candidate control instruction corresponding to the first touch operation may be determined. After obtaining each candidate control command, the control command option may be formed by using the obtained candidate control command in step S202, and in the subsequent processing, a target control command may be selected from the control command options, and then the target control command may be executed. In step S201, since the candidate control instructions determined according to the touch characteristic parameters may be repeated, in forming the control instruction options, the deduplication processing of the candidate control instructions may be performed, that is, there is no repeated candidate control instruction in the control instruction options.
It should be noted that the determined control instruction options in the embodiment of the present disclosure necessarily include "no-operation instruction," and the "no-operation instruction" may be determined based on each touch characteristic parameter, or may be an instruction added when the candidate control instruction obtained according to each touch characteristic parameter does not include "no-operation instruction. When determining the candidate control instruction corresponding to the first touch operation according to the touch characteristic parameter, it may be determined whether the touch characteristic parameter satisfies a false touch condition, and if the false touch condition is satisfied, it may be determined that the candidate control instruction corresponding to the first touch operation is a "no-operation instruction". Wherein the mis-touch condition may include at least one of:
a) the touch time of the first touch operation is smaller than a first time reference threshold value or larger than a second time reference threshold value, wherein the second time reference threshold value is larger than the first time reference threshold value; the first time reference threshold and the second time reference threshold may be set according to different requirements, for example, the first time reference threshold may be 0.1s, the second time reference threshold may be 5s, and the like, but this disclosure does not specifically limit this.
b) The touch area of the first touch operation is smaller than a first area reference threshold or larger than a second area reference threshold, wherein the second area reference threshold is larger than the first area reference threshold, and both the first area reference threshold and the second area reference threshold can be set according to different requirements, for example, the first area reference threshold is one third of the area of the finger, and the second area reference threshold is 2 times of the area of the finger. Wherein the first area reference threshold and the second area reference threshold may be specific area values, which are not specifically limited by the present disclosure.
c) The touch movement path corresponding to the first touch operation does not match any touch gesture, and in the embodiment of the disclosure, a standard touch gesture may be set for the touch device to implement different controls.
In other embodiments of the disclosure, it may also be determined whether the control instruction corresponding to the first touch operation is an "no-operation instruction" in other manners, and a person skilled in the art may set different conditions according to different requirements, which is not specifically limited by the disclosure.
In addition, when the candidate control instruction determined based on each touch characteristic parameter includes the "no-operation instruction", a control instruction option may be formed from each obtained candidate control instruction, and when the candidate control instruction determined based on each touch characteristic parameter does not include the "no-operation instruction", the "no-operation instruction" may be added to the candidate control instruction to form the control instruction option.
In addition, after the candidate control instructions are obtained, a target control instruction corresponding to the first touch operation can be selected and determined from the candidate control instructions according to a preset mode, and the target control instruction is an instruction with the highest priority in the candidate control instructions.
Fig. 3 is a flowchart illustrating a step S300 in an information processing method according to an exemplary embodiment, where determining a target control instruction in the candidate control instructions in a preset manner may include:
s301: acquiring touch characteristic parameters corresponding to each candidate control instruction and weight information of each touch characteristic parameter;
s302: and determining a target control instruction in the candidate control instructions according to the touch characteristic parameters corresponding to the candidate control instructions and the weight information of the touch characteristic parameters, and determining the target control instruction in the candidate control instructions.
In the embodiment of the present disclosure, each candidate control instruction may assign a corresponding weight to each touch characteristic parameter, and the weights of the touch characteristic parameters corresponding to the candidate control instructions are different. In the determining process of executing the target control instruction, the weight assigned to each touch characteristic parameter by each candidate control instruction may be obtained first, for example, the weight information is read from the memory, and then the priority for each candidate control instruction is calculated by assigning different weights, so as to determine the target control instruction.
Fig. 4 is a flowchart illustrating a step S302 in an information processing method according to an exemplary embodiment, where the determining a target control instruction in the candidate control instructions according to a touch characteristic parameter corresponding to each candidate control instruction and weight information of each touch characteristic parameter (step S302) may include:
s3021: determining a quantization value corresponding to each touch characteristic parameter according to the touch characteristic parameter corresponding to each candidate control instruction;
s3022: determining a weighted sum of quantized values of the touch characteristic parameters according to the weight information of the touch characteristic parameters corresponding to the candidate control instructions so as to determine probability values of the candidate control instructions;
s3023: and determining the candidate control instruction with the maximum probability value as the target control instruction.
As described in the foregoing embodiments, the present disclosure allocates different weight values corresponding to the touch characteristic parameters to the candidate control commands.
In some possible embodiments, a quantized value (quantized score) corresponding to each touch characteristic parameter corresponding to a first touch operation may be obtained first, where the corresponding touch characteristic parameters may have different quantized values for different first touch operations. As described above, the touch characteristic parameter corresponding to the first touch operation may include parameter information such as touch time information, touch position information, and touch area information, and corresponding quantized values may be obtained for different touch characteristic parameters. The quantization value of the touch characteristic parameter is a quantization score obtained according to a quantization standard. The quantization standard of the touch characteristic parameter is explained in detail below.
According to the embodiment of the disclosure, the acquired touch characteristic parameters can be compared with the reference threshold values, and corresponding quantized values can be obtained according to the comparison results, wherein the reference threshold values can be different for different types of touch characteristic parameters, and a person skilled in the art can set the corresponding reference threshold values according to different setting requirements. Specifically, if the value corresponding to the touch characteristic parameter is greater than or equal to a reference threshold, determining that the quantized value of the touch characteristic parameter is a first value; if the value corresponding to the touch characteristic parameter is smaller than the reference threshold, determining a quantized value of the touch characteristic parameter according to a ratio between the value corresponding to the touch characteristic parameter and the reference threshold, for example, a product of the ratio between the value corresponding to the touch characteristic parameter and the reference threshold and the first value may be used as the quantized value. If the touch area of the first touch operation is larger than or equal to an area reference threshold, determining that the quantized value of the touch area is a first numerical value, and if the touch area of the first touch operation is smaller than the area reference threshold, determining the quantized value of the touch area according to the ratio of the touch area to the area reference threshold;
if the touch time of the first touch operation is greater than or equal to a time reference threshold, determining that the quantized value of the touch time is a first numerical value, and if the touch time of the first touch operation is less than the time reference threshold, determining the quantized value of the touch time according to a ratio of the touch time to the time reference threshold; if the first distance between the touch center position of the first touch operation and the touch boundary of the touch equipment is greater than or equal to a first distance threshold, determining that the quantized value of the first distance is a first numerical value, and if the first distance is less than the first distance threshold, determining the quantized value of the first distance according to the ratio of the first distance to the first distance threshold; if the moving distance of the touch point of the first touch operation is greater than or equal to a second distance threshold, determining that the quantized value of the moving distance is a first numerical value, and if the moving distance is less than the second distance threshold, determining the quantized value of the moving distance according to the ratio of the moving distance to the second distance threshold.
For example, the touch area may be compared with an area reference threshold, and if the touch area is greater than or equal to the area reference threshold, the obtained quantization value is a first value, and if the touch area is less than the area reference threshold, the obtained quantization value is a product of a ratio between the touch area and the area reference threshold and the first value. As shown in table 1, when the touch contact area corresponding to the first touch operation is greater than the area reference threshold, the quantized value of the touch area may be determined as 100 points, otherwise, the product of the ratio of the touch area to the area reference threshold and the first value (100) is used as the quantized value.
Correspondingly, the touch time may also be compared with a time reference threshold, and if the touch time is greater than or equal to the time reference threshold, the obtained quantized value is a first numerical value, and if the touch time is less than the area reference threshold, the obtained quantized value is a product of a ratio between the touch time and the time reference threshold and the first numerical value. As shown in table 1, when the touch contact time corresponding to the first touch operation is greater than the time reference threshold, the quantized value of the touch area may be determined as 100 minutes, otherwise, the quantized value is the product of the ratio of the touch contact time to the time reference threshold and the first value (100).
In addition, the closest distance between the touch position and the touch boundary of the touch device may also be compared with a distance reference threshold, and if the closest distance is greater than or equal to the distance reference threshold, the obtained quantized value is a first value, and if the closest distance is less than the distance reference threshold, the obtained quantized value is a product of a ratio between the closest distance and the distance reference threshold and the first value. As shown in table 1, when the shortest distance between the touch position corresponding to the first touch operation and the touch boundary of the touch device is greater than the distance reference threshold, the quantized value of the shortest distance may be determined as 100 points, otherwise, the product of the ratio of the shortest distance to the distance reference threshold and the first value (100) is used as the quantized value.
Correspondingly, the movement distance of the movement path of the first touch operation may also be compared with a movement distance reference threshold, if the movement distance is greater than or equal to the movement distance reference threshold, the obtained quantization value is a first numerical value, and if the movement distance is less than the movement distance reference threshold, the obtained quantization value is a product of a ratio between the movement distance and the movement distance reference threshold and the first numerical value. As shown in table 1, it can be obtained that the moving distance corresponding to the first touch operation is greater than the moving distance reference threshold, the quantized value of the moving distance is 100 minutes, otherwise, the product of the ratio between the moving distance and the moving distance reference threshold and the first numerical value (100) is taken as the quantized value.
Similarly, for other touch characteristic parameters in the embodiment of the present disclosure, a corresponding characteristic parameter reference threshold may also be set, so as to correspondingly obtain a quantized value of each touch characteristic parameter. For example, the first values of the touch characteristic parameters in the embodiment of the present disclosure are all 100 points, and in other embodiments, the first values of the quantization criteria executed for different touch characteristic parameters may be different.
TABLE 1
Figure BDA0002015705210000111
After the quantized value of the touch characteristic parameter corresponding to the first touch operation is determined in step S3021, step S3022 may be performed. In the embodiment of the present disclosure, each candidate control instruction may be associated with a different touch characteristic parameter, and may have a corresponding weight for the associated touch characteristic parameter. The touch characteristic parameters associated with each candidate control instruction may be the same or different, and the weights of the touch characteristic parameters corresponding to the candidate control instructions may be different.
In some possible embodiments, the first candidate control instruction (e.g., the next page instruction) may be associated with touch characteristic parameters such as touch position, touch time, touch area, etc., and the second candidate control instruction (e.g., the previous page instruction) may also be associated with touch characteristic parameters such as touch position, touch time, touch area, etc. The third candidate control command (e.g., the sliding command) may be associated with touch characteristic parameters such as a touch position, a moving path, and a touch time. That is, the touch characteristic parameters associated with each candidate control instruction in the embodiment of the present disclosure may be the same or different, and may be specifically set according to requirements.
For different candidate control instructions, the weights of the corresponding touch characteristic parameters may be different. The distribution of each weight may be determined with the touch characteristic parameter and the candidate control instruction. After the quantized value of each touch characteristic parameter and the weight corresponding to each touch characteristic parameter under different candidate control instructions are obtained, the weighted sum of each touch characteristic parameter can be obtained. That is, in each candidate control instruction, the quantized value of each touch characteristic parameter and the corresponding weight may be multiplied, and the results of the multiplication may be added, so as to obtain the priority of the candidate control instruction.
Fig. 5 is an exemplary diagram illustrating an information processing method according to an exemplary embodiment. The touch device may be an electronic reader, the electronic device may detect a touch operation on the touch interface in real time, for example, may detect a first touch operation, and obtaining a candidate control instruction corresponding to the first touch characteristic parameter may include: A. calling out a menu, B turning up a page, C turning down a page, and D doing nothing. (it is an option to do nothing, it may be that the user touches the screen while holding it, the system receives the interrupt signal from the TP, but through the operation of the touch feature, it is determined that this is not the user's active behavior, at which time the system should do nothing). The quantization criteria according to the touch characteristic parameters are shown in table 1, where the touch characteristic parameters associated with each candidate control instruction are the same: H. the touch screen contact area, the contact time, the distance between the touch position and the center, and the movement length. The total priority of each candidate control instruction is the quantized value of parameter a + the weight of parameter B.
The above four touch characteristic parameters are the most common, one or more of the touch characteristic parameters may be adopted in actual use, and new touch characteristic parameters may also be added, for example, the G-sensor mobile sensor collects the operation frequency habit information of the user, and the more effective factors are introduced, which is in principle helpful for determining the real requirement of the user, and both of them are within the scope of the method of the embodiment of the present disclosure.
Through the above manner, the priority of each candidate control instruction can be obtained, the candidate control instruction with the highest priority can be determined as the target control instruction, and the control program corresponding to the first touch operation is completed by executing the target control instruction.
According to the embodiment of the disclosure, the priority of each candidate control instruction can be calculated according to the weight information of the touch characteristic parameter allocated to each candidate control instruction, so that the touch detection precision is effectively improved, and the misjudgment condition is reduced.
Further, in the embodiment of the present disclosure, it may also be determined whether the determination result of the target control instruction is correct according to the touch operation after the target control instruction is executed, and the touch characteristic parameter information and the corresponding weight information in each candidate control instruction may be further optimized under the condition of an erroneous determination.
FIG. 6 is another flow chart illustrating an information processing method according to an exemplary embodiment. The embodiment of the present disclosure may further include, after executing the target control instruction:
s400: detecting a second touch operation within a first time range after the target instruction is executed;
s500: if the target control instruction corresponding to the second touch operation is a reverse instruction of the target control instruction of the first touch operation, adjusting at least one of the touch characteristic parameter and the weight information of the touch characteristic parameter corresponding to the target control instruction of the first touch operation, and/or adjusting at least one of the touch characteristic parameter and the weight information of the touch characteristic parameter corresponding to the target control instruction of the second touch operation. And the response corresponding to the reverse instruction of the target control instruction is opposite to the response corresponding to the target control instruction. For example, the "previous page" instruction and the "next page" instruction are reverse instructions, and the "left-sliding" instruction and the "right-sliding" instruction are reverse instructions, which are not illustrated herein, and two instructions may be determined as reverse instructions as long as the responses of the two instructions are opposite.
Through steps S100 to S300 of the embodiment of the present disclosure, a target control instruction corresponding to a first touch operation may be obtained, and in an actual application process, a situation of misjudgment may exist, and at this time, the correctness of the judgment may be verified through steps S400 and S500, and the touch characteristic parameters and the weights thereof in each candidate control instruction are optimized to be closer to the real expectation of a specific user.
The second touch operation can be detected within a first time range after the target control instruction is executed. The first time range may be a preset time range, such as 5s, or may be other time ranges, and those skilled in the art may set the time range according to requirements. After the second touch operation is detected, the touch characteristic parameter corresponding to the second touch operation can be obtained, and the target control instruction corresponding to the second touch operation is determined. The process of determining the target control instruction corresponding to the second touch operation is the same as the process of determining the target control instruction corresponding to the first touch operation, and a repeated description thereof is omitted here. After obtaining the target control instruction corresponding to the second touch characteristic operation, it may be determined whether the target control instruction of the first touch operation and the target control instruction of the second touch operation are reverse instructions, and if the target control instructions are reverse instructions, it may be determined that the target control instruction of the first touch operation may be incorrect. Alternatively, in other embodiments of the present disclosure, it may also be determined whether two touch operations are detected within a first time range after the target control instruction, and if both the target control instructions corresponding to the two touch operations are the target control instruction corresponding to the first touch operation as the reverse instruction, it may be determined that the target control instruction of the first touch operation is incorrect.
When it is determined that the target control instruction of the first touch operation is incorrect, at least one of the touch characteristic parameters corresponding to the target control instruction of the first touch operation and the weight information of each touch characteristic parameter may be correspondingly adjusted. For example, the touch characteristic parameter associated with the target control instruction may be increased, so that each first touch operation may be more fully analyzed. In addition, the weight information of each touch characteristic parameter can be adjusted, wherein the sum of the weights of the touch characteristic parameters associated with each control instruction is 1, and the weights of at least a part of the touch characteristic parameters can be correspondingly increased and decreased when the weights of the touch characteristic parameters are adjusted, so that the touch detection function can be continuously optimized in the process of using the device, and misjudgment and misoperation can be reduced.
In other possible embodiments, when it is determined that the target control instruction of the first touch operation is incorrect, at least one of the touch characteristic parameter and the weight information of the touch characteristic parameter corresponding to the target control instruction of the second touch operation may also be correspondingly adjusted. When it is determined that the target control instruction of the first touch operation is incorrect, it may be reflected that the touch characteristic parameter and the weight of the target control instruction corresponding to the second touch operation need to be further optimized and adjusted, and correspondingly, the touch characteristic parameter associated with the target control instruction may also be increased, so that each second touch operation may be more sufficiently analyzed. In addition, the weight information of each touch characteristic parameter can be adjusted, and when the weight of each touch characteristic parameter is adjusted, the weight of at least one part of the touch characteristic parameters can be correspondingly increased and decreased, so that the touch detection function can be continuously optimized in the process of using the equipment, and misjudgment and misoperation can be reduced.
For example, in the reading interface, the system finds that a certain displacement occurs in the path of the coordinate center in the last several factors (the first touch operation is detected), so as to determine that the user has performed a "sliding operation" and help the user turn to the "next page" (determine that the target control instruction corresponding to the first touch operation is the next page instruction). In the first time range, there may be two cases:
1. this may be in accordance with the operation expectation of the user, the user will continue to read and perform the subsequent operation, and then the last judgment will be regarded as "successful judgment" by the system, the probabilistic inference of the relevant factor will be confirmed, and the training will be strengthened continuously.
2. This determination may not be actually required by the user, so the user does not recognize the response operation of the system, and the user may naturally make a correction, for example, the last case may be that the user shakes slightly while holding the hand and does not intend to turn the page, and the page turning of the system is an "erroneous determination" and an "erroneous operation" which are not intended by the user, and the user may revert to the state before the operation, for example, turning back to the previous page (performing the second touch operation). The decision is given a reverse operation, and for such an operation to occur, we give a reduction in the coefficient, which also affects the subsequent interpretation of similar behavior.
The "reverse operation" in the embodiments of the present disclosure may be defined in advance, and each instruction constituting the reverse instruction may also be defined, for example, the "next page" and the "previous page" operate in reverse directions with each other, the "enter" menu is a "return" reverse operation, the reverse operation should occur within a certain time, and the excess is regarded as a normal operation.
Based on the above configuration, the embodiment of the present disclosure may implement a self-learning process, that is, the weights of the touch characteristic parameters may be adjusted according to the operation of the user in the actual use process, and the previous determination condition may be continuously corrected according to the correctness of the operation. The method is continuously adaptive to the personalized operation habit of a specific user, is perfected day by day, and gradually improves the identification precision.
In order to clearly explain the embodiments of the present disclosure, the following exemplifies the procedures of the information processing method of the embodiments of the present disclosure. Fig. 7 is a process diagram illustrating an information processing method according to an example embodiment. The touch device may detect a touch operation on the touch interface, as shown in fig. 7, and detect a first touch operation shown in fig. 7. At this time, touch characteristic parameters of the first touch operation, such as touch position, touch area, touch time, and other information, may be obtained, and a candidate control instruction may be determined according to the obtained parameter values of the touch characteristic parameters, and for example, the candidate control instruction may include a: next page, B: no operation instruction, C: and setting options. After obtaining each candidate control instruction, the target control instruction may be determined according to a preset manner, for example, a quantized value of the touch characteristic parameter corresponding to each candidate control instruction is obtained according to a quantization standard of the embodiment of the present disclosure, and then a priority of each candidate control instruction is obtained, which refers to the process of step S300. For example, in the embodiment of the present disclosure, the candidate control instruction with the highest priority is determined to be C: and the next page can execute the jump operation of the next page at the moment and turn the page to the next page.
Then, in a first time range, detecting a second touch operation received by the touch device, and similarly determining a target control instruction corresponding to the second touch operation, if the target control instruction corresponding to the second touch operation and the target control instruction corresponding to the first touch operation are in reverse response, it is indicated that the determined target control instruction of the first touch operation may be erroneous, at this time, at least one of a touch characteristic parameter and a weight thereof corresponding to the target control instruction of the first touch operation may be adjusted in a feedback manner, or at least one of a touch characteristic parameter and a weight thereof corresponding to the target control instruction of the second touch operation may also be adjusted, so that in the use process of the device, the touch characteristic parameters and the weights corresponding to the control instructions may be continuously perfected, and the touch precision may be improved.
In other embodiments, the second touch operation is not detected within the first time range, or the target control instruction corresponding to the second touch operation and the first touch operation is not a reverse instruction, and it may be determined that the determination of the target control instruction corresponding to the first touch operation may be correct, and it may not be necessary to adjust the touch characteristic parameters and the weights thereof.
In summary, the embodiment of the present disclosure may identify the target control instruction corresponding to the touch characteristic parameter according to the obtained touch characteristic parameter, where the touch characteristic parameter corresponding to the touch operation may be obtained in real time, and determine the candidate control instruction according to each touch characteristic parameter.
In addition, an information processing apparatus to which the method of the above embodiments can be applied is also provided in an embodiment of the present disclosure, and fig. 8 is a block diagram of an information processing apparatus shown according to an exemplary embodiment. As shown in fig. 8, the information processing apparatus of the embodiment of the present disclosure may include:
a detection module 10, configured to detect a first touch operation;
an obtaining module 20, configured to obtain a touch characteristic parameter corresponding to the first touch operation and obtain a control instruction option corresponding to the first touch operation, where the control instruction option includes a plurality of candidate control instructions corresponding to the first touch operation;
a determining module 30, configured to determine a target control instruction in the candidate control instructions according to a preset manner;
an execution module 40 for executing the target control instruction.
In some possible embodiments, the obtaining module obtains the touch characteristic parameter corresponding to the first touch operation, including:
and acquiring at least one of the touch area, the touch time, the distance between the touch center position and the touch boundary of the touch equipment and the movement distance of the first touch operation.
In some possible embodiments, the obtaining module is further configured to determine a candidate control instruction corresponding to the first touch operation based on at least one of the touch characteristic parameters corresponding to the first touch operation, and
and forming the control instruction option by using each determined candidate control instruction.
In some possible embodiments, the determining module is further configured to obtain a touch characteristic parameter corresponding to each candidate control instruction and weight information of each touch characteristic parameter, and
and determining a target control instruction in the candidate control instructions according to the touch characteristic parameters corresponding to the candidate control instructions and the weight information of the touch characteristic parameters, and determining the target control instruction in the candidate control instructions.
In some possible embodiments, the determining module is further configured to determine, according to the touch characteristic parameter corresponding to each of the candidate control instructions, a quantization value corresponding to each of the touch characteristic parameters;
determining a weighted sum of quantized values of the touch characteristic parameters according to the weight information of the touch characteristic parameters corresponding to the candidate control instructions so as to determine the priority of the candidate control instructions; and
and determining the candidate control instruction with the highest priority as the target control instruction.
In some possible embodiments, the determining module is further configured to determine that the quantized value of the touch characteristic parameter is a first value when the value corresponding to the touch characteristic parameter is greater than or equal to a reference threshold value;
and when the value corresponding to the touch characteristic parameter is smaller than a reference threshold value, determining a quantized value of the touch characteristic parameter according to a ratio between the value corresponding to the touch characteristic parameter and the reference threshold value.
In some possible embodiments, the determining module is further configured to determine, when the touch area of the first touch operation is greater than or equal to an area reference threshold, that the quantized value of the touch area is a first numerical value, and determine, when the touch area of the first touch operation is less than the area reference threshold, the quantized value of the touch area according to a ratio between the touch area and the area reference threshold; and/or
Determining a quantized value of touch time as a first numerical value when the touch time of the first touch operation is greater than or equal to a time reference threshold, and determining the quantized value of touch time according to a ratio of the touch time to the time reference threshold when the touch time of the first touch operation is less than the time reference threshold; and/or
When a first distance between the touch center position of the first touch operation and the touch boundary of the touch device is greater than or equal to a first distance threshold, determining a quantized value of the first distance as a first numerical value, and when the first distance is less than the first distance threshold, determining the quantized value of the first distance according to a ratio of the first distance to the first distance threshold; and/or
When the moving distance of the touch point of the first touch operation is larger than or equal to a second distance threshold, determining that the quantized value of the moving distance is a first numerical value, and when the moving distance is smaller than the second distance threshold, determining the quantized value of the moving distance according to the ratio of the moving distance to the second distance threshold.
In some possible embodiments, the obtaining module is further configured to detect a second touch operation within a first time range after the target instruction is executed;
and the apparatus further comprises:
and the adjusting module is used for adjusting at least one of the touch characteristic parameter and the weight information of the touch characteristic parameter corresponding to the target control instruction of the first touch operation and/or adjusting at least one of the touch characteristic parameter and the weight information of the touch characteristic parameter corresponding to the target control instruction of the second touch operation when the target control instruction corresponding to the second touch operation is a reverse instruction of the target control instruction of the first touch operation.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 9 is a block diagram illustrating an information processing apparatus 800 according to an example embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 9, the apparatus 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the apparatus 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 806 provide power to the various components of device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed status of the device 800, the relative positioning of components, such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in the position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration/deceleration of the device 800, and a change in the temperature of the device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the device 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Fig. 10 is a block diagram illustrating an information processing apparatus 1900 according to an example embodiment. For example, the apparatus 1900 may be provided as a server. Referring to FIG. 10, the device 1900 includes a processing component 1922 further including one or more processors and memory resources, represented by memory 1932, for storing instructions, e.g., applications, executable by the processing component 1922. The application programs stored in memory 1932 may include one or more modules that each correspond to a set of instructions. Further, the processing component 1922 is configured to execute instructions to perform the above-described method. The device 1900 may also include a power component 1926 configured to perform power management of the device 1900, a wired or wireless network interface 1950 configured to connect the device 1900 to a network, and an input/output (I/O) interface 1958. The device 1900 may operate based on an operating system stored in memory 1932, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided that includes instructions, such as the memory 1932 that includes instructions, which are executable by the processing component 1922 of the apparatus 1900 to perform the above-described method. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (14)

1. An information processing method applied to a touch device is characterized by comprising the following steps:
detecting a first touch operation;
acquiring a touch characteristic parameter corresponding to the first touch operation and acquiring a control instruction option corresponding to the first touch operation, wherein the control instruction option comprises a plurality of candidate control instructions corresponding to the first touch operation;
determining a target control instruction in the candidate control instructions according to a preset mode;
executing the target control instruction;
wherein, according to a preset mode, the determining a target control instruction in the candidate control instructions includes:
acquiring touch characteristic parameters corresponding to each candidate control instruction and weight information of each touch characteristic parameter;
determining a target control instruction in the candidate control instructions according to the touch characteristic parameters corresponding to the candidate control instructions and the weight information of the touch characteristic parameters;
determining a target control instruction in the candidate control instructions according to the touch characteristic parameters corresponding to the candidate control instructions and the weight information of the touch characteristic parameters, including:
determining a quantization value corresponding to each touch characteristic parameter according to the touch characteristic parameter corresponding to each candidate control instruction;
determining a weighted sum of quantized values of the touch characteristic parameters according to the weight information of the touch characteristic parameters corresponding to the candidate control instructions so as to determine the priority of the candidate control instructions;
and determining the candidate control instruction with the highest priority as the target control instruction.
2. The method according to claim 1, wherein the obtaining of the touch characteristic parameter corresponding to the first touch operation comprises:
and acquiring at least one of the touch area, the touch time, the distance between the touch center position and the touch boundary of the touch equipment and the movement distance of the first touch operation.
3. The method according to claim 1 or 2, wherein the obtaining of the control instruction option corresponding to the first touch operation includes:
determining a candidate control instruction corresponding to the first touch operation based on at least one of the touch characteristic parameters corresponding to the first touch operation;
and forming the control instruction option by using each determined candidate control instruction.
4. The method according to claim 1, wherein the determining a quantization value corresponding to each touch characteristic parameter according to the touch characteristic parameter corresponding to each candidate control instruction comprises:
if the value corresponding to the touch characteristic parameter is larger than or equal to a reference threshold value, determining that the quantized value of the touch characteristic parameter is a first value;
and if the value corresponding to the touch characteristic parameter is smaller than the reference threshold, determining the quantized value of the touch characteristic parameter according to the ratio of the value corresponding to the touch characteristic parameter to the reference threshold.
5. The method according to claim 4, wherein the obtaining of the quantized value corresponding to each touch characteristic parameter further comprises:
if the touch area of the first touch operation is larger than or equal to an area reference threshold, determining that the quantized value of the touch area is a first numerical value, and if the touch area of the first touch operation is smaller than the area reference threshold, determining the quantized value of the touch area according to the ratio of the touch area to the area reference threshold; and/or
If the touch time of the first touch operation is greater than or equal to a time reference threshold, determining that the quantized value of the touch time is a first numerical value, and if the touch time of the first touch operation is less than the time reference threshold, determining the quantized value of the touch time according to a ratio of the touch time to the time reference threshold; and/or
If the first distance between the touch center position of the first touch operation and the touch boundary of the touch equipment is greater than or equal to a first distance threshold, determining that the quantized value of the first distance is a first numerical value, and if the first distance is less than the first distance threshold, determining the quantized value of the first distance according to the ratio of the first distance to the first distance threshold; and/or
If the moving distance of the touch point of the first touch operation is greater than or equal to a second distance threshold, determining that the quantized value of the moving distance is a first numerical value, and if the moving distance is less than the second distance threshold, determining the quantized value of the moving distance according to the ratio of the moving distance to the second distance threshold.
6. The method of claim 1, wherein after executing the target control instruction, the method further comprises:
detecting a second touch operation within a first time range after the target instruction is executed;
if the target control instruction corresponding to the second touch operation is a reverse instruction of the target control instruction of the first touch operation, adjusting at least one of the touch characteristic parameter and the weight information of the touch characteristic parameter corresponding to the target control instruction of the first touch operation, and/or adjusting at least one of the touch characteristic parameter and the weight information of the touch characteristic parameter corresponding to the target control instruction of the second touch operation.
7. An information processing apparatus characterized by comprising:
the detection module is used for detecting a first touch operation;
an obtaining module, configured to obtain a touch characteristic parameter corresponding to the first touch operation and obtain a control instruction option corresponding to the first touch operation, where the control instruction option includes a plurality of candidate control instructions corresponding to the first touch operation;
the determining module is used for determining a target control instruction in the candidate control instructions according to a preset mode;
an execution module for executing the target control instruction;
the determining module is further configured to obtain a touch characteristic parameter corresponding to each candidate control instruction and weight information of each touch characteristic parameter, and
determining a target control instruction in the candidate control instructions according to the touch characteristic parameters corresponding to the candidate control instructions and the weight information of the touch characteristic parameters;
the determining module is further configured to determine a quantization value corresponding to each touch characteristic parameter according to the touch characteristic parameter corresponding to each candidate control instruction;
determining a weighted sum of quantized values of the touch characteristic parameters according to the weight information of the touch characteristic parameters corresponding to the candidate control instructions so as to determine the priority of the candidate control instructions; and
and determining the candidate control instruction with the highest priority as the target control instruction.
8. The apparatus of claim 7, wherein the obtaining module obtains the touch characteristic parameter corresponding to the first touch operation, and includes:
and acquiring at least one of the touch area, the touch time, the distance between the touch center position and the touch boundary of the touch equipment and the movement distance of the first touch operation.
9. The apparatus according to claim 7 or 8, wherein the obtaining module is further configured to determine a candidate control instruction corresponding to the first touch operation based on at least one of the touch characteristic parameters corresponding to the first touch operation, and
and forming the control instruction option by using each determined candidate control instruction.
10. The apparatus according to claim 9, wherein the determining module is further configured to determine that the quantized value of the touch characteristic parameter is a first value when the value corresponding to the touch characteristic parameter is greater than or equal to a reference threshold value;
and when the value corresponding to the touch characteristic parameter is smaller than a reference threshold value, determining a quantized value of the touch characteristic parameter according to a ratio between the value corresponding to the touch characteristic parameter and the reference threshold value.
11. The apparatus according to claim 10, wherein the determining module is further configured to determine the quantized value of the touch area as a first numerical value when the touch area of the first touch operation is greater than or equal to an area reference threshold, and determine the quantized value of the touch area according to a ratio between the touch area and the area reference threshold when the touch area of the first touch operation is less than the area reference threshold; and/or
Determining a quantized value of touch time as a first numerical value when the touch time of the first touch operation is greater than or equal to a time reference threshold, and determining the quantized value of touch time according to a ratio of the touch time to the time reference threshold when the touch time of the first touch operation is less than the time reference threshold; and/or
When a first distance between the touch center position of the first touch operation and the touch boundary of the touch device is greater than or equal to a first distance threshold, determining a quantized value of the first distance as a first numerical value, and when the first distance is less than the first distance threshold, determining the quantized value of the first distance according to a ratio of the first distance to the first distance threshold; and/or
When the moving distance of the touch point of the first touch operation is larger than or equal to a second distance threshold, determining that the quantized value of the moving distance is a first numerical value, and when the moving distance is smaller than the second distance threshold, determining the quantized value of the moving distance according to the ratio of the moving distance to the second distance threshold.
12. The apparatus of claim 7, wherein the obtaining module is further configured to detect a second touch operation within a first time range after the target instruction is executed;
and the apparatus further comprises:
and the adjusting module is used for adjusting at least one of the touch characteristic parameter and the weight information of the touch characteristic parameter corresponding to the target control instruction of the first touch operation and/or adjusting at least one of the touch characteristic parameter and the weight information of the touch characteristic parameter corresponding to the target control instruction of the second touch operation when the target control instruction corresponding to the second touch operation is a reverse instruction of the target control instruction of the first touch operation.
13. An information processing apparatus characterized by comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the method of any one of claims 1-6.
14. A non-transitory computer readable storage medium having instructions therein which, when executed by a processor, enable the processor to perform the method of any one of claims 1-6.
CN201910262408.9A 2019-04-02 2019-04-02 Information processing method, device and storage medium Active CN110083266B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910262408.9A CN110083266B (en) 2019-04-02 2019-04-02 Information processing method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910262408.9A CN110083266B (en) 2019-04-02 2019-04-02 Information processing method, device and storage medium

Publications (2)

Publication Number Publication Date
CN110083266A CN110083266A (en) 2019-08-02
CN110083266B true CN110083266B (en) 2022-05-13

Family

ID=67414127

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910262408.9A Active CN110083266B (en) 2019-04-02 2019-04-02 Information processing method, device and storage medium

Country Status (1)

Country Link
CN (1) CN110083266B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111124187A (en) * 2019-12-30 2020-05-08 宝能汽车有限公司 Message sending method and device, touch control equipment, vehicle-mounted terminal and electronic equipment
CN111190401A (en) * 2019-12-30 2020-05-22 讯飞智元信息科技有限公司 Instruction scheduling method, hydraulic engineering control method, equipment and medium
CN113176847A (en) * 2021-04-07 2021-07-27 上海墨案智能科技有限公司 Method and equipment for preventing mistaken touch of ink screen
CN114647359A (en) * 2022-02-28 2022-06-21 合肥讯飞读写科技有限公司 State switching method, device, equipment and storage medium
CN115731684B (en) * 2022-10-21 2024-04-12 广州视声智能股份有限公司 Control method and device of wireless key switch equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103176669A (en) * 2011-12-26 2013-06-26 汉王科技股份有限公司 Capacitive input device and method of confirming effective touch points thereof
CN106201487A (en) * 2016-06-29 2016-12-07 联想(北京)有限公司 A kind of control method and electronic equipment
CN107102802A (en) * 2017-04-19 2017-08-29 网易(杭州)网络有限公司 Overlay target system of selection and device, storage medium, electronic equipment
CN107491502A (en) * 2017-07-31 2017-12-19 深圳市金立通信设备有限公司 A kind of method and terminal for selecting entry
CN107526443A (en) * 2017-09-29 2017-12-29 北京金山安全软件有限公司 Augmented reality method, device, system, electronic equipment and storage medium
CN107656670A (en) * 2017-09-11 2018-02-02 深圳市金立通信设备有限公司 Method, terminal device and the computer-readable medium that a kind of icon is shown
CN108984092A (en) * 2018-06-27 2018-12-11 Oppo广东移动通信有限公司 Apparatus control method, device, storage medium and electronic equipment
CN110115837A (en) * 2019-05-10 2019-08-13 网易(杭州)网络有限公司 Signal creating method, display methods, device, equipment, medium in game

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8661340B2 (en) * 2007-09-13 2014-02-25 Apple Inc. Input methods for device having multi-language environment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103176669A (en) * 2011-12-26 2013-06-26 汉王科技股份有限公司 Capacitive input device and method of confirming effective touch points thereof
CN106201487A (en) * 2016-06-29 2016-12-07 联想(北京)有限公司 A kind of control method and electronic equipment
CN107102802A (en) * 2017-04-19 2017-08-29 网易(杭州)网络有限公司 Overlay target system of selection and device, storage medium, electronic equipment
CN107491502A (en) * 2017-07-31 2017-12-19 深圳市金立通信设备有限公司 A kind of method and terminal for selecting entry
CN107656670A (en) * 2017-09-11 2018-02-02 深圳市金立通信设备有限公司 Method, terminal device and the computer-readable medium that a kind of icon is shown
CN107526443A (en) * 2017-09-29 2017-12-29 北京金山安全软件有限公司 Augmented reality method, device, system, electronic equipment and storage medium
CN108984092A (en) * 2018-06-27 2018-12-11 Oppo广东移动通信有限公司 Apparatus control method, device, storage medium and electronic equipment
CN110115837A (en) * 2019-05-10 2019-08-13 网易(杭州)网络有限公司 Signal creating method, display methods, device, equipment, medium in game

Also Published As

Publication number Publication date
CN110083266A (en) 2019-08-02

Similar Documents

Publication Publication Date Title
CN110083266B (en) Information processing method, device and storage medium
CN109408207B (en) Microservice access control method, microservice access control device and storage medium
EP3163404B1 (en) Method and device for preventing accidental touch of terminal with touch screen
US20170060320A1 (en) Method for controlling a mobile terminal using a side touch panel
US10762324B2 (en) Pressure determination method and device and fingerprint recognition method and device
US20180107869A1 (en) Method and apparatus for identifying gesture
CN107402711B (en) Volume adjusting method and device and computer readable storage medium
CN107656694B (en) Display control method and device of user interface
EP3035172A1 (en) Method and device for activating operation state of mobile terminal
CN110059548B (en) Target detection method and device
CN111104001B (en) Method and device for preventing screen from being touched mistakenly, mobile terminal and storage medium
US20230393732A1 (en) Virtual keyboard setting method and apparatus, and storage medium
CN114185444A (en) Method and device for preventing mistaken touch of touch screen and storage medium
WO2021000450A1 (en) Touch signal processing method, device, and medium
CN106990893B (en) Touch screen operation processing method and device
CN107402677B (en) Method and device for recognizing finger lifting in touch operation and terminal
CN107203315B (en) Click event processing method and device and terminal
US10671827B2 (en) Method and device for fingerprint verification
US10198614B2 (en) Method and device for fingerprint recognition
US20220066632A1 (en) Number input method, apparatus, and storage medium
CN110673753B (en) Key false touch error correction method and device
CN106843691B (en) Operation control method and device of mobile terminal
CN111736718A (en) Touch screen control method and device
CN107329604B (en) Mobile terminal control method and device
US20160173668A1 (en) Method and device for activating an operating state of a mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant