CN114756163A - Touch operation processing method, device, equipment and medium - Google Patents

Touch operation processing method, device, equipment and medium Download PDF

Info

Publication number
CN114756163A
CN114756163A CN202110026071.9A CN202110026071A CN114756163A CN 114756163 A CN114756163 A CN 114756163A CN 202110026071 A CN202110026071 A CN 202110026071A CN 114756163 A CN114756163 A CN 114756163A
Authority
CN
China
Prior art keywords
touch
type
calibration parameter
preset
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110026071.9A
Other languages
Chinese (zh)
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.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology 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 Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN202110026071.9A priority Critical patent/CN114756163A/en
Publication of CN114756163A publication Critical patent/CN114756163A/en
Pending legal-status Critical Current

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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text

Abstract

The disclosure relates to a touch operation processing method, device, equipment and medium. The processing method of the touch operation comprises the following steps: when a first touch operation on a target display interface is detected, acquiring a touch parameter of the first touch operation; determining a target calibration parameter range in which the touch parameter of the first touch operation falls in a plurality of calibration parameter ranges, wherein the plurality of calibration parameter ranges correspond to a plurality of preset touch types one to one, and the calibration parameter ranges are determined according to historical user interaction data; and taking the first touch type as an actual touch type of the first touch operation, wherein the first touch type is a preset touch type corresponding to the target calibration parameter range. According to the embodiment of the disclosure, the actual touch type of the user can be accurately identified, and then the actual touch intention of the user can be accurately identified.

Description

Touch operation processing method, device, equipment and medium
Technical Field
The present disclosure relates to the field of information processing technologies, and in particular, to a method, an apparatus, a device, and a medium for processing a touch operation.
Background
In recent years, with the continuous development of communication technology and the continuous advancement of technology, electronic devices such as mobile phones, notebook computers, tablet computers and the like have become indispensable use tools for people in daily life. A user can browse a webpage, play a game, watch a video and the like through the electronic equipment, and all the functions can not be realized by the touch operation of the user on the touch display screen of the electronic equipment.
At present, in a process of operating an electronic device by a user, if a touch operation of the user is not standard enough, the electronic device cannot accurately identify a real touch intention of the user, and then an erroneous operation execution result may be fed back to the user, thereby reducing user experience.
Disclosure of Invention
In order to solve the technical problem or at least partially solve the technical problem, the present disclosure provides a method, an apparatus, a device, and a medium for processing a touch operation.
In a first aspect, the present disclosure provides a method for processing a touch operation, including:
when a first touch operation on a target display interface is detected, acquiring a touch parameter of the first touch operation;
determining a target calibration parameter range in which the touch parameter of the first touch operation falls in a plurality of calibration parameter ranges, wherein the plurality of calibration parameter ranges correspond to a plurality of preset touch types one to one, and the calibration parameter ranges are determined according to historical user interaction data;
and taking the first touch type as an actual touch type of the first touch operation, wherein the first touch type is a preset touch type corresponding to the target calibration parameter range.
In a second aspect, the present disclosure provides a processing apparatus for touch operations, including:
the first obtaining unit is configured to obtain a touch parameter of a first touch operation when the first touch operation on the target display interface is detected;
the first selection unit is configured to determine a target calibration parameter range in which the touch parameter of the first touch operation falls in a plurality of calibration parameter ranges, the plurality of calibration parameter ranges correspond to a plurality of preset touch types one by one, and the calibration parameter ranges are determined according to historical user interaction data;
the first processing unit is configured to use the first touch type as an actual touch type of the first touch operation, and the first touch type is a preset touch type corresponding to the target calibration parameter range.
In a third aspect, the present disclosure provides a processing device for touch operations, including:
a processor;
a memory for storing executable instructions;
the processor is configured to read the executable instructions from the memory and execute the executable instructions to implement the processing method of the touch operation according to the first aspect.
In a fourth aspect, the present disclosure provides a computer-readable storage medium storing a computer program, which, when executed by a touch-operated processing device, causes the touch-operated processing device to implement the touch-operated processing method according to the first aspect.
Compared with the prior art, the technical scheme provided by the embodiment of the disclosure has the following advantages:
the touch operation processing method, device, equipment and medium of the embodiment of the disclosure can acquire the touch parameter of the first touch operation when the first touch operation on the target display interface is detected, and determining a target calibration parameter range in which the touch parameter of the first touch operation falls in the calibration parameter ranges of the preset touch types determined according to the historical user interaction data, further, the first touch type corresponding to the target calibration parameter range is used as the actual touch type of the first touch operation, even if the touch operation of the user is not accurate enough, the actual touch type of the user can be accurately identified based on the calibration parameter range determined according to the historical user interaction data, therefore, the real touch intention of the user is accurately identified, the feedback of wrong operation execution results to the user is avoided, and the user experience is improved.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
Fig. 1 is a scene diagram of a touch operation according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart illustrating a method for processing a touch operation according to an embodiment of the disclosure;
fig. 3 is a schematic flowchart of another processing method of touch operation according to an embodiment of the disclosure;
fig. 4 is a flowchart illustrating a processing method of another touch operation according to an embodiment of the present disclosure;
fig. 5 is a schematic flowchart illustrating a processing method of another touch operation according to an embodiment of the disclosure;
fig. 6 is a schematic structural diagram of a touch processing device according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a processing device for touch operation according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
At present, in a process of operating an electronic device by a user, if a touch operation of the user is not standard enough, the electronic device cannot accurately identify a real touch intention of the user, and then an erroneous operation execution result may be fed back to the user, thereby reducing user experience.
In order to solve the foregoing problems, embodiments of the present disclosure provide a method, an apparatus, a device, and a medium for processing a touch operation, which can complete prediction of a touch type of the touch operation according to classification statistical data corresponding to historical user interaction data, so as to analyze a touch intention of a user.
The processing method of the touch operation provided by the disclosure can be applied to electronic equipment. The electronic device can be a mobile phone, a tablet computer, a desktop computer, a notebook computer, a vehicle-mounted terminal, a wearable device, an all-in-one machine, an intelligent household device and other devices with communication functions, and can also be a virtual machine or simulator simulation device.
A user may browse any display interface within a given platform on an electronic device. The designated platform may be a designated application program or a designated website, and is not limited herein.
In the process that a user browses any display interface in a designated platform, when the user inputs any touch operation to the display interface, the electronic device can process the received touch operation through the touch operation processing method provided by the disclosure, so as to accurately identify the actual touch type of the user, and further accurately identify the real touch intention of the user.
The following takes the scenario shown in fig. 1 as an example, and a detailed description is provided for a processing method of touch operation according to an embodiment of the present disclosure.
Fig. 1 illustrates a scene diagram of a touch operation provided by an embodiment of the present disclosure.
As shown in fig. 1, the electronic device 101 may display a short video playing interface 102 in a short video platform, and a user may perform a touch operation of sliding the short video playing interface 102 up and down to change the short video content displayed by the electronic device 101. For example, the user may input a touch operation of sliding from the start point 103 to the end point 104 on the short video playing interface 102 to view the next short video content.
In order to accurately identify the actual touch type of the user, the electronic device 101 may acquire a touch parameter of a first touch operation when the first touch operation on the target display interface is detected; determining a target calibration parameter range in which the touch parameter of the first touch operation falls in a plurality of calibration parameter ranges, wherein the plurality of calibration parameter ranges correspond to a plurality of preset touch types one by one, and the calibration parameter ranges are determined according to historical user interaction data; and then, taking the first touch type as an actual touch type of the first touch operation, wherein the first touch type is a preset touch type corresponding to the target calibration parameter range.
Therefore, even under the condition that the touch operation of the user is not accurate enough, the actual touch type of the user can be accurately identified based on the calibration parameter range determined according to the historical user interaction data, so that the real touch intention of the user is accurately identified, the feedback of an error operation execution result to the user is avoided, and the user experience is improved.
With the above structure, a method for processing a touch operation according to an embodiment of the disclosure is described below with reference to fig. 2 to 5. The electronic device can be a mobile phone, a tablet computer, a desktop computer, a notebook computer, a vehicle-mounted terminal, a wearable device, an all-in-one machine, an intelligent home device and other devices with communication functions, and can also be a virtual machine or simulator simulated device.
Fig. 2 shows a flowchart of a processing method of a touch operation according to an embodiment of the present disclosure.
As shown in fig. 2, the processing method of the touch operation may include the following steps.
S210, when a first touch operation on the target display interface is detected, touch parameters of the first touch operation are obtained.
In the embodiment of the disclosure, in the process of displaying the target display interface by the electronic device, a first touch operation of a user on the target display interface can be detected in real time, and when the first touch operation on the target display interface is detected, a touch parameter of the first touch operation is acquired.
The target display interface may be any display interface, and is not limited herein.
Alternatively, the first touch operation may be any type of touch operation, including but not limited to a click operation, a double click operation, a slide operation, a finger joint operation, a multi-finger touch operation, a single key operation, a multi-key combination operation, and the like.
In some embodiments of the present disclosure, the touch parameter may include at least one of a touch position, a touch interval, and a touch duration.
In some embodiments, the first touch operation may be an operation of touching a touch display screen.
Optionally, if the first touch operation does not move when touching the touch display screen, the touch position may be each touch point position when the first touch operation touches the touch display screen; if the first touch operation moves when touching the touch display screen, the touch position may be a start position of each touch point and an end position of each touch point when the first touch operation touches the touch display screen.
Optionally, if the first touch operation does not move when touching the touch display screen, the touch distance may be set to a preset distance such as 0 or-1; if the first touch operation moves when touching the touch display screen, the touch distance may be a movement distance of each touch point when the first touch operation touches the touch display screen.
Optionally, the touch duration may be a duration of the first touch operation when the touch display screen is touched.
For example, the first touch operation is a click operation and does not move when the touch display screen is touched, the touch position may be a touch point position when the touch display screen is clicked, the touch interval may be-1, and the touch duration may be a duration of clicking the touch display screen.
For another example, the first touch operation is a double-click operation and does not move when the touch display screen is touched, the touch position may be a touch point position when the touch display screen is double-clicked, the touch interval may be-1, and the touch duration may be duration of the double-click touch display screen.
For another example, the first touch operation is a sliding operation and moves when touching the touch display screen, the touch positions may be a touch point start position and a touch point end position when sliding on the touch display screen, the touch distance may be a linear distance between the touch point start position and the touch point end position, and the touch duration may be a duration of sliding on the touch display screen.
In other embodiments, the first touch operation may also be an operation on a key.
Optionally, the touch position may be a key pressed by the first touch operation.
Optionally, the touch duration may be a duration of pressing the key by the first touch operation.
In some embodiments of the present disclosure, the touch parameter may include a touch index in addition to the touch parameter.
In some embodiments, the first touch operation may be an operation of touching a touch display screen.
Optionally, the touch index may be the number of touch points when the first touch operation touches the touch display screen.
In other embodiments, the first touch operation may be an operation of touching the touch display screen.
Optionally, the touch index may be the number of keys pressed by the first touch operation.
In some embodiments of the present disclosure, the touch parameter may include a touch pressure in addition to the touch parameter described above.
In some embodiments, the first touch operation may be an operation of touching a touch display screen.
Optionally, the touch pressure may be pressure received by each touch point when the first touch operation touches the touch display screen.
In other embodiments, the first touch operation may be an operation of touching the touch display screen.
Optionally, the touch pressure may be a pressure of the first touch operation pressing the key.
In some embodiments of the present disclosure, the touch parameter may include a touch area in addition to the touch parameter.
In some embodiments, the first touch operation may be an operation of touching a touch display screen.
Optionally, the touch area may be a contact area of each touch point when the first touch operation touches the touch display screen.
In other embodiments, the first touch operation may be an operation of touching the touch display screen.
Optionally, the touch area may be a contact area of the first touch operation pressing key.
S220, determining a target calibration parameter range in which the touch parameter of the first touch operation falls in the multiple calibration parameter ranges, wherein the multiple calibration parameter ranges correspond to multiple preset touch types one to one, and the calibration parameter ranges are determined according to historical user interaction data.
In this disclosure, the electronic device may compare the touch parameter of the first touch operation with the calibration parameter range of each preset touch type determined according to the historical user interaction data, so as to determine a target calibration parameter range in which the touch parameter of the first touch operation falls.
The upper limit of the range of the target calibration parameter range is greater than or equal to the touch parameter of the first touch operation, and the lower limit of the range of the target calibration parameter range is less than or equal to the touch parameter of the first touch operation.
In some embodiments, when the touch parameter of the first touch operation includes a parameter type, that is, the electronic device obtains the touch parameter of the parameter type of the first touch operation, the calibrated parameter range may include a calibrated parameter range corresponding to the parameter type. In other embodiments, when the touch parameter of the first touch operation includes a plurality of parameter types, that is, the electronic device obtains the touch parameter of the plurality of parameter types of the first touch operation, the calibrated parameter range may include a calibrated parameter range corresponding to each parameter type.
In these embodiments, optionally, the touch parameter of each parameter type of the first touch operation falls within the calibration parameter range corresponding to the corresponding parameter type in the target calibration parameter range.
Taking the example that the touch parameter of the first touch operation includes a touch position, a touch distance, and a touch duration, the touch position of the first touch operation needs to fall within a calibrated touch position range in the target calibration parameter range, the touch distance of the first touch operation needs to fall within a calibrated touch distance range in the target calibration parameter range, and the touch duration of the first touch operation needs to fall within a calibrated touch duration range in the target calibration parameter range.
In the embodiment of the present disclosure, the preset touch type may be any touch type, including but not limited to a click type, a double click type, a slide type, a finger joint type, a multi-finger touch type, a single key type, a multi-key combination type, and the like.
In some embodiments of the present disclosure, to determine the calibration parameter range of each preset touch type, before S220, the electronic device may further determine the calibration parameter range of each preset touch type according to historical user interaction data.
In some embodiments, before S220, the method for processing the touch operation may further include:
acquiring historical user interaction data, wherein the historical user interaction data comprises a plurality of historical touch parameters, and the plurality of historical touch parameters correspond to a plurality of historical touch operations one to one;
touch type classification is carried out on the historical touch parameters to obtain multiple groups of historical touch parameters, and the multiple groups of historical touch parameters correspond to the preset touch types one by one;
calculating the parameter mean value and the parameter variance of each group of historical touch parameters;
and generating a calibration parameter range of the preset touch type corresponding to each group of historical touch parameters according to the parameter mean value and the parameter variance.
Specifically, before the electronic device receives the first touch operation, the electronic device may store the touch type and the touch parameters of the touch operation as historical user interaction data after recognizing the touch type of the touch operation. The electronic equipment can classify the touch types of a plurality of historical touch parameters in the historical user interaction data when the calibration parameter range of each preset touch type is needed, so that a plurality of groups of historical touch parameters are obtained, and each group of historical touch parameters corresponds to one preset touch type. Then, the electronic device may calculate a parameter mean and a parameter variance of each group of historical touch parameters, so as to generate a calibration parameter range of a preset touch type corresponding to each group of historical touch parameters according to the parameter mean and the parameter variance.
The electronic device stores the touch type and the touch parameter of the touch operation as historical user interaction data after identifying the touch type of the touch operation each time, so that the historical user interaction data can comprise the historical touch parameter and the touch type corresponding to each historical touch parameter, and therefore, the recorded touch types can be used for performing touch type classification on a plurality of historical touch parameters to obtain a plurality of groups of historical touch parameters.
After obtaining a plurality of sets of historical touch parameters, the electronic device calculates the parameter mean value and the parameter variance of each set of historical touch parameters according to a statistical concept, takes the difference between the parameter mean value and the parameter variance of each set of historical touch parameters as the lower limit value corresponding to the set of historical touch parameters, takes the sum of the parameter mean value and the parameter variance of each set of historical touch parameters as the upper limit value corresponding to the set of historical touch parameters, and takes the parameter range formed by the lower limit value and the upper limit value corresponding to the set of historical touch parameters as the calibration parameter range of the preset touch type corresponding to the set of historical touch parameters.
Therefore, when the operation type of the first touch operation needs to be predicted, the electronic device can calculate and obtain the historical touch parameters of each preset touch type so as to improve the reliability of the prediction result.
In other embodiments, before S220, the method for processing the touch operation may further include:
sending a historical parameter acquisition request to a server corresponding to a target platform to which a target display interface belongs, wherein the historical parameter acquisition request is used for indicating the server to feed back multiple groups of historical touch parameters corresponding to the electronic equipment, and the multiple groups of historical touch parameters correspond to multiple preset touch types one by one;
receiving multiple groups of historical touch parameters fed back by a server;
calculating the parameter mean value and the parameter variance of each group of historical touch parameters;
and generating a calibration parameter range of the preset touch type corresponding to each group of historical touch parameters according to the parameter mean value and the parameter variance.
The target platform may be an application or a browser, which is not limited herein.
Specifically, before the electronic device receives the first touch operation, after the electronic device identifies the touch type of the touch operation, the electronic device may send the touch type and the touch parameter of the touch operation to the server, so that the server stores the touch type and the touch parameter as historical user interaction data corresponding to the electronic device, and performs touch type classification on a plurality of historical touch parameters in the historical user interaction data at predetermined intervals to obtain a plurality of sets of historical touch parameters, so that each set of historical touch parameters corresponds to one preset touch type. The electronic equipment can send a historical parameter acquisition request to a server corresponding to a target platform to which a target display interface belongs when historical touch parameters corresponding to each preset touch type are needed, so that the server inquires multiple groups of historical touch parameters corresponding to the electronic equipment, each group of historical touch parameters corresponds to one preset touch type and then feeds the preset touch types back to the electronic equipment, the electronic equipment can receive the multiple groups of historical touch parameters fed back by the server, and calculate the parameter mean value and the parameter variance of each group of historical touch parameters, so that the calibration parameter range of the preset touch types corresponding to each group of historical touch parameters is generated according to the parameter mean value and the parameter variance.
Optionally, the electronic device may further transmit its own device information to the server after recognizing the touch type of the touch operation, so that the historical user interaction data may include the device information of the electronic device receiving the touch operation.
Optionally, the device information may include at least one of an operating system type, a device model, and a resolution, which is not limited herein.
Therefore, when the calibration parameter range of each preset touch type needs to be calculated, the electronic equipment can directly acquire the historical touch parameters of each preset touch type from the server, and the processing efficiency of touch operation is improved.
In still other embodiments, the server may further perform touch type classification on a plurality of historical touch parameters in the historical user interaction data at predetermined intervals to obtain a plurality of sets of historical touch parameters, and then calculate a parameter mean and a parameter variance of each set of historical touch parameters, so that the electronic device may directly obtain the parameter mean and the parameter variance of each set of historical touch parameters, and generate a calibration parameter range of a preset touch type corresponding to each set of historical touch parameters according to the parameter mean and the parameter variance to further improve the processing efficiency of touch operation, which is not described herein again.
In other embodiments of the present disclosure, in order to obtain the calibration parameter range of each preset touch type, before S220, the method for processing the touch operation may further include:
sending a calibration range acquisition request to a server corresponding to a target platform to which a target display interface belongs, wherein the calibration range acquisition request is used for indicating the server to feed back calibration parameter ranges of all preset touch types, and the calibration parameter ranges are determined by the server according to historical user interaction data;
and receiving the calibration parameter range of each preset touch type fed back by the server.
Specifically, before the electronic device receives the first touch operation, after the electronic device identifies the touch type of the touch operation, the touch type and the touch parameter of the touch operation may be sent to the server, so that the server stores the touch type and the touch parameter as historical user interaction data corresponding to the electronic device, and performs touch type classification on a plurality of historical touch parameters in the historical user interaction data at predetermined intervals to obtain a plurality of sets of historical touch parameters, so that each set of historical touch parameters corresponds to one preset touch type, and further calculates a parameter mean value and a parameter variance of each set of historical touch parameters, so as to generate a calibration parameter range of the preset touch type corresponding to each set of historical touch parameters according to the parameter mean value and the parameter variance. When the electronic device needs the calibration parameter range of each preset touch type, a calibration range acquisition request can be sent to a server corresponding to a target platform to which a target display interface belongs, so that the server queries the calibration parameter range of each preset touch type corresponding to the electronic device and feeds the calibration parameter range back to the electronic device, and the electronic device can receive the calibration parameter range of each preset touch type fed back by the server.
Therefore, when the calibration parameter range of each preset touch type is needed, the electronic equipment can directly acquire the calibration parameter range of each preset touch type from the server, and the processing efficiency of touch operation is further improved.
S230, the first touch type is used as an actual touch type of the first touch operation, and the first touch type is a preset touch type corresponding to the target calibration parameter range.
In the embodiment of the disclosure, each calibration parameter range corresponds to one preset touch type, so that after the target calibration parameter range is determined, the electronic device may determine, among the plurality of preset touch types, a first touch type corresponding to the target calibration parameter range, and further use the first touch type as an actual touch type of the first touch operation.
In the embodiment of the disclosure, when a first touch operation on a target display interface is detected, a touch parameter of the first touch operation may be obtained, and in a calibration parameter range of each preset touch type determined according to historical user interaction data, a target calibration parameter range in which the touch parameter of the first touch operation falls is determined, and then the first touch type corresponding to the target calibration parameter range is used as an actual touch type of the first touch operation.
In another embodiment of the present disclosure, to improve the processing efficiency of the touch operation, before S220, the method for processing the touch operation may further include:
determining a target standard parameter range in which the touch parameter of the first touch operation falls in a plurality of standard parameter ranges, wherein the plurality of standard parameter ranges correspond to a plurality of preset touch types one to one;
and determining an operation instruction to be confirmed corresponding to a second touch type in a plurality of preset operation instructions corresponding to the target display interface, wherein the second touch type is a preset touch type corresponding to the target standard parameter range.
Accordingly, S220 may specifically include:
and under the condition that the operation instruction to be confirmed meets the preset misjudgment condition, selecting a target calibration parameter range from a plurality of calibration parameter ranges.
Specifically, the electronic device may obtain a touch parameter of a first touch operation when the first touch operation on the target display interface is detected, and then determine a target standard parameter range in which the touch parameter of the first touch operation falls in a standard parameter range of each preset touch type, because each standard parameter range corresponds to one preset touch type, the electronic device may determine an operation instruction to be confirmed corresponding to a second touch type corresponding to the target standard parameter range in a plurality of preset operation instructions corresponding to the target display interface, and further determine whether the operation instruction to be confirmed meets a preset erroneous judgment condition, and if the operation instruction to be confirmed meets the erroneous judgment condition, select a target calibration parameter range in the plurality of calibration parameter ranges.
The following describes the processing method of the touch operation provided in this embodiment in detail by using the embodiment shown in fig. 3.
Fig. 3 shows a schematic flowchart of another processing method for touch operation according to an embodiment of the present disclosure.
As shown in fig. 3, the method for processing the touch operation may include the following steps.
S310, when a first touch operation on the target display interface is detected, touch parameters of the first touch operation are obtained.
S310 is similar to S210 in the embodiment shown in fig. 2, and is not described herein again.
And S320, determining a target standard parameter range in which the touch parameter of the first touch operation falls in a plurality of standard parameter ranges, wherein the plurality of standard parameter ranges correspond to a plurality of preset touch types one to one.
In some embodiments of the disclosure, the standard parameter range may be an initial parameter range corresponding to a preset touch type when a duration of the target platform to which the target display interface belongs is not reached by the user.
The initial parameter range may be a parameter range preset as needed.
In other embodiments of the disclosure, when the duration that the user uses the target platform to which the target display interface belongs reaches the predetermined duration, the standard parameter range may be a parameter range updated by the electronic device using a calibration parameter range corresponding to the preset touch type. In this disclosure, after obtaining the touch parameter of the first touch operation, the electronic device may compare the touch parameter of the first touch operation with each standard parameter range of the preset touch type, so as to determine a target standard parameter range in which the touch parameter of the first touch operation falls.
It should be noted that the method for determining the target standard parameter range in the multiple standard parameter ranges is similar to S220 in the embodiment shown in fig. 2, and is not repeated herein.
S330, determining an operation instruction to be confirmed corresponding to a second touch type in a plurality of preset operation instructions corresponding to the target display interface, wherein the second touch type is a preset touch type corresponding to the target standard parameter range.
In the embodiment of the disclosure, each target display interface may correspond to a plurality of preset operation instructions, and one preset operation instruction is used to implement an operation execution result for the target display interface.
Specifically, after determining the target standard parameter range, the electronic device may first determine, in the plurality of preset touch types, a first touch type corresponding to the target standard parameter range, and then determine, in the plurality of preset operation instructions corresponding to the target display interface, an operation instruction to be confirmed corresponding to a second touch type.
In some embodiments of the disclosure, when the touch parameter of the first touch operation does not include the touch position, the electronic device may directly query the to-be-confirmed operation instruction corresponding to the second touch type in a plurality of preset operation instructions corresponding to the target display interface.
In other embodiments of the present disclosure, in a case that the touch parameter of the first touch operation includes a touch position, different operation instructions may be obtained for touch operations of the same touch type input at different touch positions.
For example, if the target display interface is a short video playing interface, the touch operation is a click operation, and a collection control is arranged at a touch position of the click operation, the operation instruction corresponding to the click operation is a collection short video. For another example, if the target display interface is a short video playing interface, the touch operation is a click operation, and no control is set at the touch position of the click operation, the operation instruction corresponding to the click operation is to pause/start playing the short video.
Optionally, the electronic device may first query a preset operation instruction corresponding to the touch position in a plurality of preset operation instructions corresponding to the target display interface, and then query an operation instruction to be confirmed corresponding to the second touch type in the preset operation instruction corresponding to the touch position.
S340, under the condition that the operation instruction to be confirmed meets the preset misjudgment condition, determining a target calibration parameter range in which the touch parameter of the first touch operation falls in a plurality of calibration parameter ranges, wherein the calibration parameter ranges correspond to a plurality of preset touch types one by one, and the calibration parameter ranges are determined according to historical user interaction data.
In this disclosure, after the electronic device determines the to-be-confirmed operation instruction corresponding to the second touch type, it may be determined whether the to-be-confirmed operation instruction meets a preset misjudgment condition, and if yes, a target calibration parameter range in which the touch parameter of the first touch operation falls may be determined in the calibration parameter ranges of the preset touch types.
Optionally, the misjudgment condition may include at least one of the following:
executing an operation instruction to be confirmed on the target display interface for a preset number of times;
and resuming to display the target display interface within the preset time after the operation instruction to be confirmed is executed.
The to-be-confirmed operation instruction executed on the target display interface for the continuous preset times refers to that the user inputs touch control operation which is similar to the touch control parameter of the first touch control operation and is judged to be of the second touch control type in the target display interface for the continuous preset times, so that the to-be-confirmed operation instruction is executed on the target display interface by the electronic equipment for the continuous preset times, but the electronic equipment can determine that the current to-be-confirmed operation instruction is an operation instruction which is judged wrongly because the user repeats the same touch control operation in the target display interface repeatedly.
Alternatively, the preset number of times may be set as needed, and is not limited herein. For example, the preset number of times may be 3 times, 5 times, 10 times, etc.
Further, resuming to display the target display interface within the preset time length after the execution of the operation instruction to be confirmed refers to that the user triggers the electronic device to resume to display the target display interface when the user receives the first touch operation within the preset time length after the electronic device executes the operation instruction to be confirmed and displays the operation execution result corresponding to the operation instruction to be confirmed.
Alternatively, the preset time period may be set according to needs, and is not limited herein. For example, the preset time period may be 1s, 2s, 3s, and the like.
Optionally, the operation execution result may be a new display interface displayed by jumping, may also be new content displayed in a superposition manner in the target display interface, and may also be a new state displayed by the control in the target display interface.
Under the condition that the operation execution result is the new display interface which is displayed in a skipping mode, the display target display interface is restored to be displayed, namely the display is returned to the target display interface to be displayed; the operation execution result is that the new content is displayed in an overlapping mode in the target display interface, and the display of the target display interface is resumed to mean that the new content is not displayed; and when the operation execution result is that the control in the target display interface is displayed in a new state, restoring to display the target display interface means that the control is restored to be displayed in a state before the first touch operation is received.
In some embodiments of the present disclosure, the electronic device may directly compare the touch parameter of the first touch operation with all calibration parameter ranges of the preset touch types in sequence, and further determine a target calibration parameter range in which the touch parameter of the first touch operation falls.
In these embodiments, the method for determining the target calibration parameter range in the multiple calibration parameter ranges is similar to S220 in the embodiment shown in fig. 2, and is not described herein again.
In other embodiments of the present disclosure, the method for determining a target calibration parameter range in a plurality of calibration parameter ranges in S340 may specifically include:
screening a candidate calibration parameter range from the plurality of calibration parameter ranges, wherein the candidate calibration parameter range is a calibration parameter range of a third touch type, and the third touch type is a preset touch type similar to the second touch type;
and determining a target calibration parameter range in the candidate calibration parameter range.
Specifically, the electronic device may store a similarity relationship between every two preset touch types in advance. For example, a similarity relationship between a click operation and a double click operation may indicate similarity. As another example, a similar relationship between a click operation and a slide operation may indicate dissimilarity. Specifically, the similarity relationship between every two preset touch types may be preset according to the need, and is not limited herein. Therefore, after determining that the operation instruction to be confirmed meets the preset misjudgment condition, the electronic device may first select a third touch type similar to the second touch type in each preset touch type according to a prestored similarity relation, then select a calibration parameter range of the third touch type in a calibration parameter range of each preset touch type as a candidate calibration parameter range, and finally sequentially compare the touch parameter of the first touch operation with the candidate calibration parameter range, thereby determining a target calibration parameter range in which the touch parameter of the first touch operation falls.
S350, the first touch type is used as an actual touch type of the first touch operation, and the first touch type is a preset touch type corresponding to the target calibration parameter range.
S350 is similar to S230 in the embodiment shown in fig. 2, and is not described herein again.
Therefore, in the embodiment of the disclosure, after determining that the initially determined touch type is the misjudged type, the electronic device can accurately identify the actual touch type of the user based on the calibration parameter range determined according to the historical user interaction data, accurately identify the real touch intention of the user, avoid feeding back a wrong operation execution result to the user, and improve the user experience.
In some embodiments of the present disclosure, after S330, the method for processing the touch operation may further include:
and under the condition that the operation instruction to be confirmed does not meet the misjudgment condition, executing the operation instruction to be confirmed on the target display interface.
Specifically, after the electronic device determines the to-be-confirmed operation instruction corresponding to the second touch type, it may be determined whether the to-be-confirmed operation instruction meets a preset erroneous judgment condition, and if not, it may be determined that the touch type is not the erroneous judgment type, and then the to-be-executed operation instruction may be executed on the target display interface, an operation execution result corresponding to the to-be-executed operation instruction is obtained, and a content corresponding to the operation execution result is displayed.
In other embodiments of the present disclosure, after S350, the method for processing the touch operation may further include:
and updating the target calibration parameter range to be the standard parameter range of the first touch type.
Specifically, after the first touch type is used as the actual touch type of the first touch operation, the electronic device may further update the target calibration parameter range to be the standard parameter range of the first touch type, so that after a new touch operation is received, the updated standard parameter range of the first touch type may be used for comparison with the touch parameter of the new touch operation, and thus the use habits of the user may be adapted, the intelligent and personalized operation type determination may be completed for the use habits of different users, and the experience of the remaining users may be further improved.
Optionally, after S350, the method for processing the touch operation may further include:
and updating the calibration parameter range of the second touch type into a standard parameter range of the second touch type.
Specifically, after the electronic device uses the first touch type as the actual touch type of the first touch operation, the electronic device may further update the calibration parameter range of the second touch type to the standard parameter range of the second touch type, so that after receiving the new touch operation, the updated standard parameter range of the second touch type may be used to compare with the new touch parameter of the touch operation, thereby avoiding a conflict between the standard parameter range of the second touch type before the update and the updated standard parameter range of the first touch type, and further improving the accuracy of touch type determination.
In another embodiment of the present disclosure, in order to enhance the experience of the user, another processing method of touch operation is further provided, which is described below with reference to fig. 4.
Fig. 4 is a flowchart illustrating a processing method of another touch operation according to an embodiment of the present disclosure.
As shown in fig. 4, the processing method of the touch operation may include the following steps.
S410, when a first touch operation on the target display interface is detected, touch parameters of the first touch operation are obtained.
S420, determining a target calibration parameter range in which the touch parameter of the first touch operation falls in the multiple calibration parameter ranges, wherein the multiple calibration parameter ranges correspond to multiple preset touch types one to one, and the calibration parameter ranges are determined according to historical user interaction data.
S430, taking the first touch type as an actual touch type of the first touch operation, wherein the first touch type is a preset touch type corresponding to the target calibration parameter range.
S410-S430 are similar to S210-S230 in the embodiment shown in fig. 2, and are not described herein again.
S440, determining an operation instruction to be executed corresponding to the first touch type in a plurality of preset operation instructions corresponding to the target display interface.
In some embodiments of the disclosure, when the touch parameter of the first touch operation does not include the touch position, the electronic device may directly query the to-be-executed operation instruction corresponding to the first touch type in a plurality of preset operation instructions corresponding to the target display interface.
In other embodiments of the disclosure, when the touch parameter of the first touch operation includes the touch position, the electronic device may first query a preset operation instruction corresponding to the touch position in a plurality of preset operation instructions corresponding to the target display interface, and further query an operation instruction to be executed corresponding to the first touch type in the preset operation instruction corresponding to the touch position.
And S450, executing an operation instruction to be executed on the target display interface.
Specifically, after determining an operation instruction to be executed corresponding to the first touch type, the electronic device may execute the operation instruction to be executed on the target display interface, obtain an operation execution result corresponding to the operation instruction to be executed, and display content corresponding to the operation execution result.
Therefore, in the embodiment of the disclosure, after the electronic device predicts the actual touch type of the first touch operation, the to-be-executed operation instruction corresponding to the actual touch type may be directly executed, and then the operation execution result desired by the user is provided for the user based on the identified operation intention of the user.
In another embodiment of the present disclosure, in order to enhance the user experience, another processing method of touch operation is further provided, which is described below with reference to fig. 5.
Fig. 5 is a flowchart illustrating a processing method of another touch operation according to an embodiment of the present disclosure.
As shown in fig. 5, the processing method of the touch operation may include the following steps.
S510, when a first touch operation on the target display interface is detected, touch parameters of the first touch operation are obtained.
S520, determining a target calibration parameter range in which the touch parameter of the first touch operation falls in the multiple calibration parameter ranges, wherein the multiple calibration parameter ranges correspond to multiple preset touch types one to one, and the calibration parameter ranges are determined according to historical user interaction data.
S530, the first touch type is used as an actual touch type of the first touch operation, and the first touch type is a preset touch type corresponding to the target calibration parameter range.
S510-S530 are similar to S210-S230 in the embodiment shown in fig. 2, and are not described herein again.
S540, inquiring the replaceable touch type corresponding to the first touch type.
In some embodiments of the present disclosure, after taking a first touch type as an actual touch type of a first touch operation, the electronic device may directly query a target replacement scheme corresponding to a target touch type in locally stored replacement schemes corresponding to preset touch types, and if the target replacement scheme includes one touch type, take the touch type as a replaceable touch type corresponding to the first touch type; when the target replacement scheme includes two or more touch types, the electronic device may obtain operation times corresponding to each preset touch type in the historical user interaction data, and then use the touch type with the largest operation times in the target replacement scheme as the replaceable touch type corresponding to the first touch type.
Optionally, before the electronic device receives the first touch operation, the electronic device may receive the replacement schemes corresponding to the preset touch types sent by the server, and store the replacement schemes locally.
In some embodiments, before the electronic device receives the first touch operation, the electronic device may store the touch type and the touch parameters of the touch operation as historical user interaction data after identifying the touch type of the touch operation. The electronic device can classify the touch types of a plurality of historical touch parameters in the historical user interaction data when operation times corresponding to each preset touch type are required, so as to obtain a plurality of groups of historical touch parameters, and then the number of each group of historical touch parameters is used as the operation times corresponding to the preset touch type corresponding to the group of historical touch parameters.
In other embodiments, before the electronic device receives the first touch operation, after the electronic device identifies the touch type of the touch operation, the touch type and the touch parameter of the touch operation may be stored as historical user interaction data, and touch type classification is performed on a plurality of historical touch parameters in the historical user interaction data at predetermined intervals to obtain a plurality of sets of historical touch parameters, and then the number of each set of historical touch parameters is used as the number of operations corresponding to the preset touch type corresponding to the set of historical touch parameters, so as to directly obtain the number of operations corresponding to each preset touch type when needed.
In other embodiments of the present disclosure, after the first touch type is used as the actual touch type of the first touch operation, the electronic device may first detect whether a replacement scheme corresponding to each preset touch type is stored locally, if so, inquiring a target replacement scheme corresponding to the target touch type in replacement schemes corresponding to each preset touch type stored locally, otherwise, sending a replacement scheme acquisition request carrying the first touch type to a server corresponding to a target platform to which the target display interface belongs by the electronic equipment, enabling the server to respond to the server to inquire the replacement scheme of the first touch type corresponding to the electronic equipment, and when the number of the touch types in the alternative is one, the alternative is fed back to the electronic equipment, and when the number of the touch types in the alternative scheme is two or more, feeding back the operation times of each touch type in the alternative scheme and the alternative scheme to the electronic equipment.
Optionally, before the electronic device receives the first touch operation, after the electronic device identifies the touch type of the touch operation, the electronic device may send the touch type and the touch parameter of the touch operation to the server, so that the server stores the touch type and the touch parameter as historical user interaction data corresponding to the electronic device, and performs touch type classification on a plurality of historical touch parameters in the historical user interaction data at predetermined intervals to obtain a plurality of sets of historical touch parameters, and uses the number of each set of historical touch parameters as the operation times corresponding to the preset touch type corresponding to the set of historical touch parameters, so as to query the electronic device.
In this disclosure, optionally, the electronic device may further determine whether to resume displaying the display interface when receiving the touch operation within a preset time period after identifying the touch type of the touch operation and executing the operation instruction corresponding to the touch type, if so, determine that the touch operation fails, if not, determine that the touch operation succeeds, and then send the touch operation failure or the touch operation success as the touch result of the touch operation to the server. The server may count the touch results of each touch type sent by the electronic device or sent by all electronic devices at preset intervals, determine the success rate of each touch type, and further determine at least one touch type with the lowest success rate. The server may generate, for each determined touch type, a replacement scheme for the touch type according to another touch type similar to the touch type in the at least one touch type with the highest success rate.
And S550, displaying first prompt information, wherein the first prompt information is used for prompting a user to trigger an operation instruction corresponding to the first touch type through touch operation of the replaceable touch type.
The first prompt information may include at least one of text, an icon, a picture, and audio, which is not limited herein.
In some embodiments, the electronic device may not execute the operation instruction corresponding to the first touch type, and display the first prompt information.
With continued reference to fig. 1, if the user inputs a touch operation of sliding from the starting point 103 to the ending point 104 on the short video playing interface 102, but the sliding distance is too short, the electronic device recognizes that the touch operation input by the user is a sliding operation, but the touch operation is predicted based on the calibration parameter ranges of the preset touch types, and the electronic device 101 may not execute any operation instruction, and directly display first prompt information such as a text "please click a page to view the next short video".
In other embodiments, if the electronic device further identifies a second touch type corresponding to the first touch operation based on the standard parameter range of each preset touch type before identifying the first touch type (refer to the embodiment shown in fig. 3), at this time, the electronic device may further execute an operation instruction to be confirmed corresponding to the second touch type, and if the user triggers to resume displaying the target display interface within the preset time period, the first prompt information is displayed.
In some embodiments of the present disclosure, after S550, the method for processing the touch operation may further include:
when a second touch operation on the target display interface is detected, acquiring touch parameters of the second touch operation;
taking the first touch type as the actual operation type of the second touch operation under the condition that the touch parameter of the second touch operation falls into the standard parameter range of the replaceable touch type;
determining an operation instruction to be executed corresponding to a first touch type in a plurality of preset operation instructions corresponding to a target display interface;
and executing the operation instruction to be executed on the target display interface.
Specifically, after displaying the first prompt information, when detecting a second touch operation on the target display interface, the electronic device may obtain a touch parameter of the second touch operation, compare the touch parameter of the second touch operation with a standard parameter range of each preset touch type, if the touch parameter of the second touch operation falls into a standard parameter range and the falling standard parameter range is a standard parameter range of a replaceable touch type corresponding to the first touch type, the electronic device may use the first touch type as an actual operation type of the second touch operation, and further determine an operation instruction to be executed corresponding to the first touch type among a plurality of preset operation instructions corresponding to the target display interface, execute the operation instruction to be executed on the target display interface, and obtain an operation execution result corresponding to the operation instruction to be executed, and displaying the content corresponding to the operation execution result.
Therefore, in the embodiment of the disclosure, after the electronic device predicts the actual touch type of the first touch operation, the operation intention of the user can be identified, and then a suitable replaceable touch type is selected for the user, and a suitable alternative interaction mode is provided for the user, so that the success rate of obtaining a satisfactory operation execution result by the user is improved, and the experience of the user is further improved. In the embodiment of the disclosure, after the replaceable touch type exists and the electronic device determines the replaceable touch type, or after the replaceable touch type does not exist and the electronic device executes an operation instruction to be confirmed corresponding to the second touch type, data such as an actual touch type of the first touch operation, a display scene to which the target display interface belongs, e.g., a video scene viewed and a personal homepage scene entered, touch parameters of the first touch operation, touch problems of the first touch operation, e.g., an excessively long touch interval of the sliding operation and an excessively long touch duration of the double-click operation, and the replaceable touch type corresponding to the actual touch type of the first touch operation, may also be sent to the server, so as to facilitate reference, future analysis, and further calibration during subsequent target platform design.
The embodiment of the present disclosure further provides a processing apparatus for touch operation, which is described below with reference to fig. 6. In the embodiment of the present disclosure, the touch-operated processing device 600 may be an electronic device. The electronic device can be a mobile phone, a tablet computer, a desktop computer, a notebook computer, a vehicle-mounted terminal, a wearable device, an all-in-one machine, an intelligent household device and other devices with communication functions, and can also be a virtual machine or simulator simulation device.
Fig. 6 shows a schematic structural diagram of a touch-control processing device according to an embodiment of the present disclosure.
As shown in fig. 6, the touch-operated processing device 600 may include a first obtaining unit 610, a first selecting unit 620, and a first processing unit 630.
The first obtaining unit 610 may be configured to obtain a touch parameter of a first touch operation when the first touch operation on the target display interface is detected.
The first selecting unit 620 may be configured to determine a target calibration parameter range in which the touch parameter of the first touch operation falls, among a plurality of calibration parameter ranges, where the plurality of calibration parameter ranges correspond to a plurality of preset touch types one to one, and the calibration parameter range is determined according to historical user interaction data.
The first processing unit 630 may be configured to use the first touch type as an actual touch type of the first touch operation, where the first touch type is a preset touch type corresponding to the target calibration parameter range.
In the embodiment of the disclosure, when a first touch operation on a target display interface is detected, a touch parameter of the first touch operation may be obtained, and in a calibration parameter range of each preset touch type determined according to historical user interaction data, a target calibration parameter range in which the touch parameter of the first touch operation falls is determined, and then the first touch type corresponding to the target calibration parameter range is used as an actual touch type of the first touch operation.
In some embodiments of the present disclosure, the touch-operated processing device 600 may further include a second selecting unit and a second processing unit.
The second selection unit may be configured to determine a target standard parameter range in which the touch parameter of the first touch operation falls among a plurality of standard parameter ranges, where the plurality of standard parameter ranges are in one-to-one correspondence with the plurality of preset touch types.
The second processing unit may be configured to determine an operation instruction to be confirmed corresponding to a second touch type in a plurality of preset operation instructions corresponding to the target display interface, where the second touch type is a preset touch type corresponding to the target standard parameter range.
Accordingly, the first selecting unit 620 may be further configured to select a target calibration parameter range from the plurality of calibration parameter ranges in case that the operation command to be confirmed satisfies the predetermined misjudgment condition.
In some embodiments of the present disclosure, the misjudgment condition may include at least one of the following:
executing an operation instruction to be confirmed on the target display interface for a preset number of times;
and resuming to display the target display interface within the preset time after the operation instruction to be confirmed is executed.
In some embodiments of the present disclosure, the touch-control processing apparatus 600 may further include a first execution unit, and the first execution unit may be configured to execute the operation instruction to be confirmed on the target display interface if the operation instruction to be confirmed does not satisfy the misjudgment condition.
In some embodiments of the present disclosure, the first selection unit 620 may include a threshold screening subunit and a threshold selection subunit.
The threshold screening subunit may be configured to screen a candidate calibration parameter range from among a plurality of calibration parameter ranges, where the candidate calibration parameter range is a calibration parameter range of a third touch type, and the third touch type is a preset touch type similar to the second touch type.
The threshold selection subunit may be configured to determine a target calibration parameter range among the candidate calibration parameter ranges.
In some embodiments of the present disclosure, the touch-operated processing device 600 may further include a third processing unit, and the third processing unit may be configured to update the target calibration parameter range to the standard parameter range of the first touch type.
In some embodiments of the present disclosure, the touch-operated processing device 600 may further include a second obtaining unit, a fourth processing unit, a fifth processing unit, and a sixth processing unit.
The second obtaining unit may be configured to obtain historical user interaction data, where the historical user interaction data includes a plurality of historical touch parameters, and the plurality of historical touch parameters correspond to the plurality of historical touch operations one to one.
The fourth processing unit may be configured to perform touch type classification on the plurality of historical touch parameters to obtain a plurality of sets of historical touch parameters, where the plurality of sets of historical touch parameters correspond to the plurality of preset touch types one to one.
The fifth processing unit may be configured to calculate a parameter mean and a parameter variance of each set of historical touch parameters.
The sixth processing unit may be configured to generate a calibration parameter range of the preset touch type corresponding to each group of historical touch parameters according to the parameter mean and the parameter variance.
In some embodiments of the present disclosure, the touch-operated processing device 600 may further include a seventh processing unit and a second execution unit.
The seventh processing unit may be configured to determine an operation instruction to be executed corresponding to the first touch type in a plurality of preset operation instructions corresponding to the target display interface.
The second execution unit may be configured to execute the operation instruction to be executed on the target display interface.
In some embodiments of the present disclosure, the touch-operated processing device 600 may further include a type query unit and an information display unit.
The type query unit may be configured to query the replaceable touch type corresponding to the first touch type.
The information display unit may be configured to display first prompt information, where the first prompt information is used to prompt a user to trigger an operation instruction corresponding to a first touch type through a touch operation of a replaceable touch type.
In some embodiments of the present disclosure, the touch-operated processing apparatus 600 may further include a third obtaining unit, an eighth processing unit, a ninth processing unit, and a third executing unit.
The third obtaining unit may be configured to obtain the touch parameter of the second touch operation when the second touch operation on the target display interface is detected.
The eighth processing unit may be configured to take the first touch type as an actual operation type of the second touch operation in a case where the touch parameter of the second touch operation falls within a standard parameter range of the replaceable touch type.
The ninth processing unit may be configured to determine an operation instruction to be executed corresponding to the first touch type in a plurality of preset operation instructions corresponding to the target display interface.
The third execution unit may be configured to execute the operation instruction to be executed on the target display interface.
In some embodiments of the present disclosure, the touch parameter may include at least one of a touch position, a touch distance, and a touch duration.
It should be noted that the processing apparatus 600 for touch operation shown in fig. 6 may perform each step in the method embodiments shown in fig. 2 to fig. 5, and implement each process and effect in the method embodiments shown in fig. 2 to fig. 5, which are not described herein again.
The disclosed embodiments also provide a touch-operated processing device, which may include a processor and a memory, where the memory may be used to store executable instructions. The processor may be configured to read the executable instructions from the memory and execute the executable instructions to implement the processing method of the touch operation in the foregoing embodiments.
Fig. 7 shows a schematic structural diagram of a touch-operated processing device according to an embodiment of the present disclosure. Referring specifically to fig. 7, a schematic diagram of a processing device 700 suitable for implementing touch operations in embodiments of the present disclosure is shown.
The processing device 700 for touch operation in the embodiment of the present disclosure may be an electronic device. The electronic devices may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., car navigation terminals), wearable devices, and the like, and fixed terminals such as digital TVs, desktop computers, smart home devices, and the like.
It should be noted that the touch-operated processing device 700 shown in fig. 7 is only an example, and should not bring any limitation to the functions and the application range of the embodiment of the present disclosure.
As shown in fig. 7, the touch-operated processing device 700 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 701 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)702 or a program loaded from a storage means 708 into a Random Access Memory (RAM) 703. In the RAM 703, various programs and data necessary for the operation of the touch-operated processing device 700 are also stored. The processing device 701, the ROM 702, and the RAM 703 are connected to each other by a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
Generally, the following devices may be connected to the I/O interface 705: input devices 706 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 707 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 708 including, for example, magnetic tape, hard disk, etc.; and a communication device 709. The communication means 709 may allow the touch-operated processing device 700 to communicate wirelessly or by wire with other devices to exchange data. While fig. 7 illustrates a touch-operated processing device 700 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
The embodiments of the present disclosure also provide a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor of a touch-operated processing device, such as a touch-operated processing device, the touch-operated processing device is enabled to implement the touch-operated processing method in the above-mentioned embodiments.
In particular, the processes described above with reference to the flow diagrams may be implemented as computer software programs, according to embodiments of the present disclosure. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 709, or may be installed from the storage means 708, or may be installed from the ROM 702. When executed by the processing device 701, the computer program performs the above-described functions defined in the processing method of the touch operation of the embodiment of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP, and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be included in the touch-operated processing device; or the touch control device can be independently arranged and not assembled into the touch control processing device.
The computer readable medium carries one or more programs which, when executed by the touch-operated processing device, cause the touch-operated processing device to perform:
when a first touch operation on a target display interface is detected, acquiring a touch parameter of the first touch operation; determining a target calibration parameter range in which the touch parameter of the first touch operation falls in a plurality of calibration parameter ranges, wherein the plurality of calibration parameter ranges correspond to a plurality of preset touch types one to one, and the calibration parameter ranges are determined according to historical user interaction data; and taking the first touch type as an actual touch type of the first touch operation, wherein the first touch type is a preset touch type corresponding to the target calibration parameter range.
In embodiments of the present disclosure, computer program code for carrying out operations of the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Wherein the name of an element does not in some cases constitute a limitation on the element itself.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and the technical features disclosed in the present disclosure (but not limited to) having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (14)

1. A processing method of touch operation is characterized by comprising the following steps:
when a first touch operation on a target display interface is detected, acquiring a touch parameter of the first touch operation;
determining a target calibration parameter range in which the touch parameter of the first touch operation falls in a plurality of calibration parameter ranges, wherein the plurality of calibration parameter ranges correspond to a plurality of preset touch types one by one, and the calibration parameter ranges are determined according to historical user interaction data;
and taking a first touch type as an actual touch type of the first touch operation, wherein the first touch type is a preset touch type corresponding to the target calibration parameter range.
2. The method according to claim 1, wherein before determining the target calibration parameter range, within the plurality of calibration parameter ranges, in which the touch parameter of the first touch operation falls, the method further comprises:
determining a target standard parameter range in which the touch parameter of the first touch operation falls in a plurality of standard parameter ranges, wherein the plurality of standard parameter ranges correspond to the plurality of preset touch types one to one;
determining an operation instruction to be confirmed corresponding to a second touch type in a plurality of preset operation instructions corresponding to the target display interface, wherein the second touch type is a preset touch type corresponding to the target standard parameter range;
wherein, in the plurality of calibration parameter ranges, determining a target calibration parameter range in which the touch parameter of the first touch operation falls includes:
and under the condition that the operation instruction to be confirmed meets a preset misjudgment condition, selecting the target calibration parameter range from the calibration parameter ranges.
3. The method of claim 2, wherein the false positive condition comprises at least one of:
executing the operation instruction to be confirmed on the target display interface for a preset number of times;
and resuming to display the target display interface within a preset time after the operation instruction to be confirmed is executed.
4. The method according to claim 2, wherein after determining an operation instruction to be confirmed corresponding to a second touch type in the plurality of preset operation instructions corresponding to the target display interface, the method further comprises:
and executing the operation instruction to be confirmed on the target display interface under the condition that the operation instruction to be confirmed does not meet the misjudgment condition.
5. The method of claim 2, wherein said selecting said target calibration parameter range among said plurality of calibration parameter ranges comprises:
screening a candidate calibration parameter range from the plurality of calibration parameter ranges, wherein the candidate calibration parameter range is a calibration parameter range of a third touch type, and the third touch type is a preset touch type similar to the second touch type;
and determining the target calibration parameter range in the candidate calibration parameter range.
6. The method of claim 2, wherein after the taking the first touch type as an actual touch type of the first touch operation, the method further comprises:
and updating the target calibration parameter range to be the standard parameter range of the first touch type.
7. The method according to claim 1, wherein before determining the target calibration parameter range, within the plurality of calibration parameter ranges, in which the touch parameter of the first touch operation falls, the method further comprises:
acquiring historical user interaction data, wherein the historical user interaction data comprises a plurality of historical touch parameters, and the plurality of historical touch parameters correspond to a plurality of historical touch operations one by one;
touch type classification is carried out on the plurality of historical touch parameters to obtain a plurality of groups of historical touch parameters, and the plurality of groups of historical touch parameters correspond to the plurality of preset touch types one by one;
calculating the parameter mean value and the parameter variance of each group of historical touch parameters;
and generating a calibration parameter range of a preset touch type corresponding to each group of historical touch parameters according to the parameter mean value and the parameter variance.
8. The method of claim 1, wherein after the taking the first touch type as an actual touch type of the first touch operation, the method further comprises:
determining an operation instruction to be executed corresponding to the first touch type in a plurality of preset operation instructions corresponding to the target display interface;
and executing the operation instruction to be executed on the target display interface.
9. The method of claim 1, wherein after the taking the first touch type as an actual touch type of the first touch operation, the method further comprises:
inquiring a replaceable touch type corresponding to the first touch type;
and displaying first prompt information, wherein the first prompt information is used for prompting a user to trigger an operation instruction corresponding to the first touch type through the touch operation of the replaceable touch type.
10. The method of claim 9, wherein after said displaying the first prompt message, the method further comprises:
when a second touch operation on the target display interface is detected, acquiring touch parameters of the second touch operation;
taking the first touch type as an actual operation type of the second touch operation under the condition that the touch parameter of the second touch operation falls into the standard parameter range of the replaceable touch type;
determining an operation instruction to be executed corresponding to the first touch type in a plurality of preset operation instructions corresponding to the target display interface;
and executing the operation instruction to be executed on the target display interface.
11. The method of claim 1, wherein the touch parameter comprises at least one of a touch position, a touch distance, and a touch duration.
12. A processing apparatus for touch operation, comprising:
the device comprises a first acquisition unit, a second acquisition unit and a display unit, wherein the first acquisition unit is configured to acquire a touch parameter of a first touch operation when the first touch operation on a target display interface is detected;
the first selection unit is configured to determine a target calibration parameter range in which the touch parameter of the first touch operation falls in a plurality of calibration parameter ranges, the plurality of calibration parameter ranges correspond to a plurality of preset touch types one to one, and the calibration parameter ranges are determined according to historical user interaction data;
and the first processing unit is configured to use a first touch type as an actual touch type of the first touch operation, wherein the first touch type is a preset touch type corresponding to the target calibration parameter range.
13. A processing device for touch operation, comprising:
a processor;
a memory for storing executable instructions;
wherein the processor is configured to read the executable instructions from the memory and execute the executable instructions to implement the processing method of the touch operation according to any one of claims 1 to 11.
14. A computer-readable storage medium, characterized in that the storage medium stores a computer program which, when executed by a touch-operated processing device, causes the touch-operated processing device to implement the touch-operated processing method of any one of claims 1 to 11.
CN202110026071.9A 2021-01-08 2021-01-08 Touch operation processing method, device, equipment and medium Pending CN114756163A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110026071.9A CN114756163A (en) 2021-01-08 2021-01-08 Touch operation processing method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110026071.9A CN114756163A (en) 2021-01-08 2021-01-08 Touch operation processing method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN114756163A true CN114756163A (en) 2022-07-15

Family

ID=82325329

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110026071.9A Pending CN114756163A (en) 2021-01-08 2021-01-08 Touch operation processing method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN114756163A (en)

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103576964A (en) * 2012-08-02 2014-02-12 北京千橡网景科技发展有限公司 Automatic calibration method and equipment for contact position
CN104978090A (en) * 2014-04-11 2015-10-14 中国电信股份有限公司 Method and system for correcting touch center of touch screen according to user behaviors
CN105469377A (en) * 2014-08-18 2016-04-06 中兴通讯股份有限公司 Touch control device and calibration method thereof
CN105700749A (en) * 2016-01-13 2016-06-22 广东欧珀移动通信有限公司 Touch control method and terminal equipment
CN106354300A (en) * 2016-08-17 2017-01-25 深圳市金立通信设备有限公司 Method and terminal for preventing misoperation
CN106527818A (en) * 2016-12-16 2017-03-22 广东欧珀移动通信有限公司 Control method and device for touch operation on mobile terminal, and mobile terminal
CN106527852A (en) * 2016-10-31 2017-03-22 努比亚技术有限公司 Control device and method of terminal application bar
CN106681634A (en) * 2016-12-14 2017-05-17 珠海格力电器股份有限公司 Terminal touch screen misoperation prevention method and device and electronic equipment
CN106933484A (en) * 2017-02-28 2017-07-07 维沃移动通信有限公司 Touch area self-adapting regulation method and mobile terminal
CN108845751A (en) * 2018-06-21 2018-11-20 Oppo广东移动通信有限公司 Processing method, device, storage medium and the electronic equipment of touch information
CN109583161A (en) * 2018-11-27 2019-04-05 咪咕文化科技有限公司 A kind of information processing method and device, storage medium
CN109745699A (en) * 2018-12-29 2019-05-14 维沃移动通信有限公司 A kind of method and terminal device responding touch control operation
CN109908580A (en) * 2019-01-25 2019-06-21 努比亚技术有限公司 Optimization method, computer equipment and the storage medium of interface
CN109976576A (en) * 2019-03-20 2019-07-05 上海龙旗科技股份有限公司 A kind of method and apparatus of mobile terminal screen false-touch prevention
CN111708479A (en) * 2020-07-17 2020-09-25 腾讯科技(深圳)有限公司 Touch operation response method and device, terminal and storage medium
CN112083858A (en) * 2020-08-31 2020-12-15 珠海格力电器股份有限公司 Method and device for adjusting display position of control

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103576964A (en) * 2012-08-02 2014-02-12 北京千橡网景科技发展有限公司 Automatic calibration method and equipment for contact position
CN104978090A (en) * 2014-04-11 2015-10-14 中国电信股份有限公司 Method and system for correcting touch center of touch screen according to user behaviors
CN105469377A (en) * 2014-08-18 2016-04-06 中兴通讯股份有限公司 Touch control device and calibration method thereof
CN105700749A (en) * 2016-01-13 2016-06-22 广东欧珀移动通信有限公司 Touch control method and terminal equipment
CN106354300A (en) * 2016-08-17 2017-01-25 深圳市金立通信设备有限公司 Method and terminal for preventing misoperation
CN106527852A (en) * 2016-10-31 2017-03-22 努比亚技术有限公司 Control device and method of terminal application bar
CN106681634A (en) * 2016-12-14 2017-05-17 珠海格力电器股份有限公司 Terminal touch screen misoperation prevention method and device and electronic equipment
CN106527818A (en) * 2016-12-16 2017-03-22 广东欧珀移动通信有限公司 Control method and device for touch operation on mobile terminal, and mobile terminal
CN106933484A (en) * 2017-02-28 2017-07-07 维沃移动通信有限公司 Touch area self-adapting regulation method and mobile terminal
CN108845751A (en) * 2018-06-21 2018-11-20 Oppo广东移动通信有限公司 Processing method, device, storage medium and the electronic equipment of touch information
CN109583161A (en) * 2018-11-27 2019-04-05 咪咕文化科技有限公司 A kind of information processing method and device, storage medium
CN109745699A (en) * 2018-12-29 2019-05-14 维沃移动通信有限公司 A kind of method and terminal device responding touch control operation
CN109908580A (en) * 2019-01-25 2019-06-21 努比亚技术有限公司 Optimization method, computer equipment and the storage medium of interface
CN109976576A (en) * 2019-03-20 2019-07-05 上海龙旗科技股份有限公司 A kind of method and apparatus of mobile terminal screen false-touch prevention
CN111708479A (en) * 2020-07-17 2020-09-25 腾讯科技(深圳)有限公司 Touch operation response method and device, terminal and storage medium
CN112083858A (en) * 2020-08-31 2020-12-15 珠海格力电器股份有限公司 Method and device for adjusting display position of control

Similar Documents

Publication Publication Date Title
CN109564571B (en) Query recommendation method and system utilizing search context
US11409817B2 (en) Display apparatus and method of controlling the same
US8862118B2 (en) Methods, apparatuses and computer program products for automating testing of devices
CN109062467B (en) Split screen application switching method and device, storage medium and electronic equipment
US9622016B2 (en) Invisiblemask: a tangible mechanism to enhance mobile device smartness
US20080252611A1 (en) Object search method and terminal having object search function
US20080284726A1 (en) System and Method for Sensory Based Media Control
CN104978267A (en) Web page testing method, terminal and server
CN110727868A (en) Object recommendation method, device and computer-readable storage medium
JP6640893B2 (en) Method and apparatus for inputting characters
EP4328766A1 (en) Processing method and apparatus based on interest tag, and device and storage medium
CN112764612A (en) Interaction method, interaction device, electronic equipment and storage medium
CN112882850A (en) Key event processing method, device, equipment and storage medium
CN113946271A (en) Display control method, display control device, electronic equipment and storage medium
WO2017011084A1 (en) System and method for interaction between touch points on a graphical display
CN103677519A (en) Method for collecting multimedia resource, terminal and server
CN103019610A (en) Object selection method and terminal
CN103150111A (en) Symbol inputting method, device and terminal
CN108604142B (en) Touch screen device operation method and touch screen device
CN114756163A (en) Touch operation processing method, device, equipment and medium
CN113268179B (en) Session message processing method, device, equipment and storage medium
EP3863235B1 (en) Method and apparatus for processing data
CN112449227B (en) Interaction method and device for touch screen application compatible with remote controller operation and smart television
CN104111977A (en) Information matching method and device and terminal
CN110262864B (en) Application processing method and device, storage medium and 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