A touch recognition processing method, system, server, and storage medium
In the touch recognition technology, the mist touch recognition mode for different family members is set in combination with the time, speed and distance values of the touch signal, which solves the problem of low accuracy of mist touch recognition during use by family members, and achieves higher accuracy of mist touch recognition and user experience.
Patent Information
- Application Number
- CN202310297582.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-24
- Publication Date
- 2025-07-29
- Estimated Expiration
- 2043-03-24
AI Technical Summary
The existing touch recognition technology is less accurate when used by different members in the family, especially the mistaken touch recognition of the elderly and children is difficult to distinguish, resulting in the wrong response of the TV.
By obtaining the time, speed and distance values of the touch signal, and combining the usage characteristics of family members, different false touch recognition modes are set, including slapping and slashing judgments in the first time interval, and playing state and time difference judgments in the non-first time interval, to generate false touch signals to lock the screen.
Improves the accuracy of false touch recognition, reduces the TV's response to abnormal touches, protects the device and improves the user experience.
Smart Images

Figure CN116301432B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of touch recognition technology, and particularly to a touch recognition processing method, system, server, and storage medium. Background Art
[0002] With the improvement of touch control technology, many household appliances have added devices with touch control operations as new input methods for household appliances. For example, the original non-touchable display screen of a household TV is replaced with a current touchable display screen, adding the touch function without reducing the original functions of the TV. However, when using a TV with a touch function, it is inevitable to have accidental touches, resulting in the TV making corresponding responses based on these accidental touches.
[0003] Currently, in order to reduce the occurrence of accidental touches on TVs with touch functions, it is generally determined whether it is an accidental touch based on the pressure magnitude received by the touchable display screen, that is, a click operation with the pressure received by the touchable display screen less than a certain threshold is determined as an accidental touch, and no response is made to this accidental touch, that is, no action is taken based on this accidental touch. Or, it is detected whether a touch instruction acts within an invalid touch range through an anti-accidental touch protection mechanism. If it acts within the invalid touch range, the touch instruction is not responded to, that is, no action is taken based on this touch instruction; if it does not act within the invalid touch range, the touch instruction is responded to and the touch instruction corresponding to the touch instruction is executed. That is, a TV with a touch function has only one accidental touch recognition mode for touch instructions made by people at different stages.
[0004] However, all members of the family may use the TV, and members at different stages in the family have different degrees of proficiency in using touch control technology, and the criteria for judging whether a touch instruction is an accidental touch are also inconsistent. For example, the elderly have a poor degree of proficiency and can only operate some touch operations told by their children. If they do not follow the told steps during the touch process, even if they continue to follow the told steps later, the touch operation is not an accidental touch operation, but they cannot get the desired result, and there is no accidental touch operation in the whole process. However, the children of the elderly have a better degree of proficiency and can perform touch operations according to the actual situation with diverse operation steps. If the above situation encountered by the elderly occurs, it does not indicate that the touch operation is an accidental touch, but it belongs to an accidental touch for the elderly. Therefore, using the same accidental touch recognition and processing mode will reduce the accuracy of recognition. Summary of the Invention
[0005] In order to improve the accuracy of detecting accidental touches, embodiments of this application provide a touch recognition processing method, system, server, and storage medium.
[0006] In a first aspect, this embodiment provides a touch recognition processing method, and the method includes:
[0007] Obtain a touch signal and the first time corresponding to the touch signal.
[0008] Judge whether the first time falls within a first time interval. If the first time falls within the first time interval, obtain the speed value of the touch action corresponding to the touch signal acting on the display screen, and judge whether the speed value is greater than a preset speed value. If the speed value is greater than the preset speed value, generate a first false touch signal to lock the screen. Wherein, the touch signal includes a touch type, subtract the preset speed value from the speed value to obtain a speed difference. If the sign of the speed difference is positive, the speed value is greater than the preset speed value;
[0009] If the speed value is not greater than the preset speed value, judge whether the touch type belongs to the screen swiping type. If the touch type belongs to the screen swiping type, obtain the distance value of the touch action acting on the display screen, and judge whether the distance value is greater than a preset distance value. If the distance value is greater than the preset distance value, generate a first false touch signal to lock the screen;
[0010] If the distance value is not greater than the preset distance value, respond to the touch signal;
[0011] If the first time does not fall within the first time interval, obtain the working state of the TV at the current moment, judge whether the working state belongs to the playing state. If the working state does not belong to the playing state, obtain the second time corresponding to the previous touch signal and the time difference between the first time and the second time, and judge whether the time difference is within a second time interval. If the time difference is not within the second time interval, generate a second false touch signal to lock the screen. Wherein, the parameters corresponding to the playing state and the non-playing state are different. By comparing the parameters of the working state at the current moment with the parameters corresponding to the playing state, if the parameters of the working state at the current moment are inconsistent with the parameters corresponding to the playing state, it indicates that the working state does not belong to the playing state;
[0012] If the time difference is within the second time interval, respond to the touch signal.
[0013] In some embodiments, judging whether the distance value is greater than the preset distance value includes:
[0014] The number of the distance values is the same as the number of objects or fingers of the touch detection device acting on the display screen, and there is at least one distance value. Subtract the preset distance value from the distance value in turn to obtain at least one distance difference, where the distance difference is a numerical value;
[0015] Determine whether there is only one distance difference. If there is only one distance difference, determine whether the distance difference is greater than zero. If the distance difference is greater than zero, then the distance value is greater than the preset distance value;
[0016] If the distance difference is not greater than zero, then the distance value is not greater than the preset distance value;
[0017] If there is not only one distance difference, obtain the maximum distance difference based on several distance differences, and determine whether the maximum distance difference is greater than zero. If the maximum distance difference is greater than zero, then the distance value is greater than the preset distance value;
[0018] If the maximum distance difference is not greater than zero, then the distance value is not greater than the preset distance value.
[0019] In some embodiments, determining whether the time difference is within the second time interval includes:
[0020] Obtain multiple historical times corresponding to the touch signals input by the elderly during the process of learning to use the TV, and obtain the historical time difference between two adjacent historical times according to the historical times;
[0021] Sort all the historical time differences in ascending order of numerical value to obtain a historical time difference sequence, and the historical time difference sequence includes multiple historical time differences;
[0022] Mark the historical time difference at the first preset value in the historical time difference sequence as the minimum value of the second time interval;
[0023] Mark the historical time difference at the second preset value in the historical time difference sequence as the maximum value of the second time interval, where the first preset value is less than the second preset value;
[0024] Determine whether the time difference is not less than the minimum value within the second time interval and not greater than the maximum value of the second time interval. If so, then the time difference is within the second time interval;
[0025] Otherwise, the time difference is not within the second time interval.
[0026] In some of the embodiments, after generating the second false touch signal to lock the screen, it further includes:
[0027] Obtain the number of times the second false touch signal is generated, and determine whether the number of times exceeds the preset number of times. If it exceeds the preset number of times, then set the display screen to a state where it cannot receive subsequent new touch signals;
[0028] If it does not exceed the preset number of times, then continue to keep the display screen in a state where it can receive subsequent new touch signals.
[0029] In some of these embodiments, after continuing to keep the display screen in a state where it can receive subsequent new touch signals, the following steps are further included:
[0030] Obtain the historical position corresponding to the touch signal;
[0031] Each time a false touch signal is generated according to a touch signal, store the touch signal in a storage module of the touch screen controller, determine whether a new touch screen signal is received. If received, obtain the new display position corresponding to the new touch signal, and determine whether the historical position is consistent with the new display position. If they are consistent, generate an unlock instruction to unlock the display screen;
[0032] If they are not consistent, continue to keep the locked screen state.
[0033] In some of these embodiments, after generating the unlock instruction to unlock the display screen, the following steps are further included:
[0034] Generate a prompt box, where the prompt box is used to solicit the user's opinion and includes a first option and a second option;
[0035] Determine whether the user's selection result is received within a preset time period. If received, determine whether the selection result is the first option. If so, generate the main screen interface according to the selection result;
[0036] If not, continue to retain the interface before locking the screen;
[0037] If not received, continue to keep the locked screen state.
[0038] In some of these embodiments, after generating the first false touch signal to lock the screen, the following steps are further included:
[0039] Determine whether the first false touch signal is continuously received. If so, continue to keep the locked screen state;
[0040] Otherwise, generate an unlock instruction to unlock the display screen.
[0041] In a second aspect, this embodiment provides a touch recognition processing system, and the system includes: an acquisition module, a working time processing module, a screen swiping processing module, a non-working time processing module, a generation module, and a response module; wherein,
[0042] The acquisition module is used to acquire a touch signal and the first time corresponding to the touch signal, where the touch signal includes a touch type;
[0043] The working time processing module is used to determine whether the first time falls within the first time interval. If the first time falls within the first time interval, obtain the speed value of the touch action corresponding to the touch signal acting on the display screen, and determine whether the speed value is greater than a preset speed value;
[0044] The generating module is used to generate a first false touch signal to lock the screen if the speed value is greater than the preset speed value;
[0045] The screen swiping processing module is used to determine whether the touch type belongs to the screen swiping type if the speed value is not greater than the preset speed value. If the touch type belongs to the screen swiping type, obtain the distance value of the touch action acting on the display screen, and determine whether the distance value is greater than a preset distance value;
[0046] The generating module is also used to generate a first false touch signal to lock the screen if the distance value is greater than the preset distance value;
[0047] The response module is used to respond to the touch signal if the distance value is not greater than the preset distance value;
[0048] The non - working time processing module is used to obtain the working state of the TV at the current moment if the first time does not fall within the first time interval, determine whether the working state belongs to the playing state. If the working state does not belong to the playing state, obtain the second time corresponding to the previous touch signal, and the time difference between the first time and the second time, and determine whether the time difference is within the second time interval. Here, the parameters corresponding to the playing state and the non - playing state are different. By comparing the parameters of the current - moment working state with the parameters corresponding to the playing state, if the parameters of the current - moment working state are inconsistent with the parameters corresponding to the playing state, it indicates that the working state does not belong to the playing state;
[0049] The generating module is also used to generate a second false touch signal to lock the screen if the time difference is not within the second time interval;
[0050] The response module is also used to respond to the touch signal if the time difference is within the second time interval.
[0051] In a third aspect, an embodiment of the present application provides a server, which includes a processor and a memory. A computer program capable of running on the processor is stored on the server. When the computer program is executed by the processor, it implements a touch recognition processing method as described in the first aspect.
[0052] Fourthly, an embodiment of the present application provides a storage medium, on which a computer program that can run on a processor is stored. When the computer program is executed by the processor, it implements a touch recognition processing method as described in the first aspect.
[0053] By adopting the above method, when the first time falls within the first time interval, first, by comparing the speed value with the preset speed value, it is determined whether the touch action corresponding to the touch signal is a slap touch. If it is a slap touch, a first false touch signal is directly generated to lock the screen. If it is not a slap touch, it is further determined whether it is a swiping type. If not, it indicates that it is a normal click type of touch, and the touch signal needs to be responded to. If not, then according to the distance value, it is determined whether the touch action corresponding to the touch signal is a normal adjustment. If it is a normal adjustment, the touch signal is responded to. If it is not a normal adjustment, a first false touch signal is generated to lock the screen.
[0054] When the first time does not fall within the first time interval, only when a middle-aged person is at home and the home environment is relatively simple, and only in the playing state, by the time difference between two adjacent touches, it is targeted to determine whether the touch signal should be responded to, so as to improve the accuracy of detecting false touches. When the first time falls within the first time interval, considering various aspects such as when a young person or a middle-aged person is at home and the home environment is relatively complex, such as a child or a pet playing, and a person passing by in front of the display screen, it is targeted to determine whether the touch signal should be responded to, so as to improve the accuracy of detecting false touches. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] Figure 1 is a block diagram of a touch recognition processing method provided in this embodiment.
[0056] Figure 2 is a flow block diagram for determining whether the distance value is greater than the preset distance value provided in this embodiment.
[0057] Figure 3 is a flow block diagram for determining whether the time difference is within the second time interval provided in this embodiment.
[0058] Figure 4 is a framework diagram of a touch recognition processing system provided in this embodiment.
[0059] Figure 5 is a block diagram of the structure of the server provided in this embodiment. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0060] To better understand the purpose, technical solution, and advantages of this application, the following describes and explains this application in combination with the accompanying drawings and embodiments. However, those of ordinary skill in the art should understand that this application can be implemented without these details. For those of ordinary skill in the art, it is obvious that various changes can be made to the disclosed embodiments of this application, and the general principles defined in this application can be applied to other embodiments and application scenarios without departing from the principles and scope of this application. Therefore, this application is not limited to the illustrated embodiments, but conforms to the broadest scope consistent with the scope claimed in this application.
[0061] The following further describes the embodiments of this application in detail with reference to the drawings in the specification.
[0062] The working principle of a touch TV is that when a finger or other object touches the touch screen installed at the front end of the display, the touched position is detected by the touch screen controller in the form of coordinates and sent to the CPU through an interface such as an RS-232 serial port, thereby determining the input information. A touch screen system generally includes two parts: a touch screen controller and a touch detection device. Among them, the main function of the touch screen controller is to receive touch information from the touch point detection device, convert it into contact coordinates, and then send it to the CPU. At the same time, it can receive and execute commands sent by the CPU. The touch detection device is generally installed at the front end of the display, and its main function is to detect the touch position of the user and transmit it to the touch screen controller.
[0063] Figure 1 It is a block diagram of a touch recognition processing method provided in this embodiment. As Figure 1 shown, a touch recognition processing method includes the following steps:
[0064] Step S100, obtain a touch signal and a first time corresponding to the touch signal, where the touch signal includes a touch type.
[0065] When the TV set is in the powered-on state, which includes the working state and the locked-screen state, the user or other object can obtain the above-mentioned touch signal through the action of touching the touch detection device of the display screen. The touch can be a click or a screen swipe, etc. Among them, the touch signal includes a touch value and a touch type. The touch value represents the magnitude of the force per unit time of the touch action acting on the touch detection device, and the touch type represents the action type of the touch action acting on the touch detection device. The touch type mainly includes two major types: the click type and the screen swipe type. The click type is further divided into the non-slapping click type and the slapping click type, and the screen swipe type is further divided into the non-slapping screen swipe type and the slapping screen swipe type. The touch type is specifically represented in the form of keywords, and each touch type corresponds to a uniquely determined keyword. For example, the keyword for the click type of touch type is "click", and the keyword for the screen swipe type of touch type is "swipe". The touch detection device covers the entire display screen.
[0066] The TV set itself is equipped with a module for real-time recording of time. By checking this module for real-time recording of time, the first time corresponding to the touch signal can be obtained. The first time includes the date and the time point. That is, after the touch detection device detects a touch action, it automatically generates a corresponding touch signal according to the touch action, and makes this touch signal serve as a trigger signal for obtaining the first time from the module for real-time recording of time, so as to obtain the first time corresponding to the touch signal. Only by using the inherent hardware devices of the TV set itself can the touch signal and the first time corresponding to the touch signal be obtained, without the need to additionally use other hardware devices, which can save hardware costs. After the touch detection device obtains the touch signal and the first time corresponding to the touch signal, it sends the touch signal and the first time to the touch screen controller.
[0067] Step S200: Determine whether the first time falls within the first time interval. If the first time falls within the first time interval, obtain the speed value of the touch action corresponding to the touch signal acting on the display screen, and determine whether the speed value is greater than the preset speed value. If the speed value is greater than the preset speed value, generate a first false touch signal to lock the screen. Among them, subtract the preset speed value from the speed value to obtain a speed difference. If the sign of the speed difference is positive, the speed value is greater than the preset speed value.
[0068] A family mainly includes the elderly, young people and children, or the elderly, middle-aged people and children. Considering the protection of children's eyes, children are generally not allowed to get close to the TV set. Generally, it is the elderly, young people or middle-aged people who use the TV. The above-mentioned first time interval represents the time when young people or middle-aged people are not at work, that is, the whole day on Saturday and Sunday and from 7 pm to 7 am from Monday to Friday. The first time interval is preset, and the user can also adjust the time specifically represented by the first time interval according to the family situation of his own. This application does not further limit the time represented by the first time interval.
[0069] By checking whether there is overlap between the first time and all the times included in the first time interval, it can be determined whether the first time falls within the first time interval. When there is overlap, the first time falls within the first time interval, indicating that children, the elderly, young people, or middle-aged people are also at home using it. During this first time interval, the touch signal detected by the touch detection device can be touched by anyone at home, that is, it may be touched by a child. Considering that the elderly move more slowly compared to middle-aged or young people, if young people or middle-aged people are at home, generally the elderly will not touch the display screen. If the elderly have a need to touch the display screen, it is generally replaced by young people or middle-aged people to touch. However, children or pets may play at home and there will also be a situation where the touch detection device of the display screen is touched.
[0070] Since children are still in the playing stage, they will wave their arms when they are in a happy stage and accidentally touch the display screen. In addition, when a certain picture that the pet is interested in is shown on the TV, the pet will touch the display screen. When young people or middle-aged people touch the display screen, it is generally a normal touch and there will be no slapping-type touch. A speed detection sensor for detecting the speed acting on the touch detection device is also provided in the touch detection device of the display screen. This speed detection sensor is mainly used to obtain the speed value of the touch signal acting on the display screen, and this speed value refers to the instantaneous speed of the touch action acting on the display screen.
[0071] The above preset speed value is preset by the merchant. This preset speed value is determined by the merchant based on thousands of speed values of the touch detection devices of users touching the display screen. Users can also adjust the preset speed value according to the speed value acting on the touch detection device during normal touch in their own families. This application does not further limit the preset speed value.
[0072] Subtract the preset speed value from the speed value to obtain a speed difference. By looking at the sign of the speed difference, it can be determined whether the speed value is greater than the preset speed value. If the sign of the speed difference is positive, the speed value is greater than the preset speed value. At this time, it is a slapping touch, indicating that the touch signal at this time is related to a child or a pet, rather than being generated by the actions of young people or middle-aged people. After receiving the touch signal and the first time, when the touch screen controller determines that the first time falls within the first time interval and the speed value is greater than the preset speed value, it can be determined that the touch signal is generated by a child or a pet's slapping-type touch, rather than a normal touch signal. Therefore, the touch screen controller adds a keyword of mistake to the touch signal to obtain a first mis-touch signal, and triggers the screen locking device according to this first touch signal to perform a screen locking operation on the display screen.
[0073] When a child or a pet touches by patting, it may be a click touch type or a swipe touch type. However, no matter which type it is, it is not a normal touch method, and this touch needs to be determined as a mis-touch. Therefore, within the first time interval when it first occurs, by obtaining the speed value and comparing the speed value with the preset speed value, the click touch type and the pat touch type can be distinguished. The touch signal generated by the pat touch type is determined as a mis-touch, so that the TV does not perform corresponding actions according to the first mis-touch signal, excluding the touch made by the child or the pet, and improving the accuracy of detecting mis-touch.
[0074] Step S300, if the speed value is not greater than the preset speed value, determine whether the touch type belongs to the swipe type. If the touch type belongs to the swipe type, obtain the distance value at which the touch action acts on the display screen, and determine whether the distance value is greater than the preset distance value. If the distance value is greater than the preset distance value, generate a first mis-touch signal to lock the screen.
[0075] Step S400, if the distance value is not greater than the preset distance value, respond to the touch signal.
[0076] If the sign of the speed difference is not positive, then the speed value is not greater than the preset speed value. At this time, it is not a pat touch, but a non-pat click touch or a non-pat swipe touch. At this time, by checking the touch type of the touch signal, it can be known whether the touch type belongs to the swipe type. If the keyword of the touch type is click, the obtained touch signal is a non-pat click type touch signal. At this time, this touch signal is a normal touch signal, and the touch screen controller responds to this touch signal; if the keyword of the touch type is swipe, the obtained touch signal is a non-pat swipe type touch signal.
[0077] Since the touch signal obtained by the touch detection device of the display screen may be the touch signal generated by normal brightness adjustment, progress adjustment or volume adjustment operations, or it may be the touch signal generated when an object accidentally touches the display screen when passing in front of the display screen. If the touch signal is generated by accidentally touching the display screen, the touch signal will act from one side of the display screen to the other opposite side, that is, the distance at which the touch signal acts on the display screen is relatively long; if it is a normal swipe operation, the touch signal will only act on a small distance on the display screen. Therefore, by comparing the distance value with the preset distance value, it can be known whether this touch signal is a mis-touch signal.
[0078] Among them, a distance sensor is provided on the touch detection device, and the distance value at which the touch action acts on the display screen can be obtained through this distance sensor. The preset distance value is preset by the merchant, and this preset distance value is determined by the merchant based on thousands of distance values of the touch detection device for users to touch the display screen. The user can also adjust the preset distance value according to the distance value at which his own family touches the touch detection device during normal touch. This application does not further limit the preset distance value.
[0079] Figure 2 is the flowchart provided in this embodiment for judging whether the distance value is greater than the preset distance value. As Figure 2 shown, judging whether the distance value is greater than the preset distance value includes the following steps:
[0080] Step S301, the number of the distance values is the same as the number of objects or fingers of the touch detection device acting on the display screen, and there is at least one distance value. Subtract the preset distance value from the distance value in turn to obtain at least one distance difference. Among them, the distance difference is a numerical value.
[0081] Step S302, judge whether there is only one distance difference. If there is only one distance difference, judge whether the distance difference is greater than zero. If the distance difference is greater than zero, then the distance value is greater than the preset distance value.
[0082] Step S303, if the distance difference is not greater than zero, then the distance value is not greater than the preset distance value.
[0083] Step S304, if there is not only one distance difference, obtain the maximum distance value based on several distance differences, and judge whether the maximum distance difference is greater than zero. If the maximum distance difference is greater than zero, then the distance value is greater than the preset distance value.
[0084] Step S305, if the maximum distance difference is not greater than zero, then the distance value is not greater than the preset distance value.
[0085] During swiping touch, it may be one finger or one object acting on the touch detection device of the display screen, or it may be multiple fingers or multiple objects acting on the touch detection device of the display screen. If one finger or one object acts on the touch detection device of the display screen, then there is only one distance value at which the finger or the object acts on the display screen. If this distance value is greater than the preset distance value, it indicates that the distance at which the touch action acts on the display screen is greater than the preset distance value; if this distance value is not greater than the preset distance value, it indicates that the distance at which the touch action acts on the display screen is not greater than the preset distance value.
[0086] If a finger or an object does not act on the touch detection device of the display screen, then there will be more than one distance value at which the finger or the object acts on the display screen. Among them, when multiple fingers or objects act on the touch detection device of the display screen, it is impossible to ensure that the distance values corresponding to each finger or object are the same. If the maximum distance value is greater than the preset distance value, it indicates that the distance at which the touch action acts on the display screen is greater than the preset distance value; if the maximum distance value is not greater than the preset distance value, it indicates that the distance at which the touch action acts on the display screen is not greater than the preset distance value.
[0087] If the distance value is greater than the preset distance value, a first false touch signal is generated to lock the screen. Among them, the implementation method of generating the first false touch signal to lock the screen is the same as that in step S200, and no more details will be described here.
[0088] If the distance value is not greater than the preset distance value, it indicates that the touch action corresponding to the touch signal is a normal touch action. Then, the touch screen controller makes corresponding actions according to the touch signal to respond to the touch signal.
[0089] When it falls within the first time interval at the first time, first compare the speed value with the preset speed value to determine whether the touch action corresponding to the touch signal is a tapping touch. If it is a tapping touch, directly generate a first false touch signal to lock the screen. If it is not a tapping touch, further determine whether it is a swiping type. If not, it indicates that it is a normal click type touch and the touch signal needs to be responded to; if not, then according to the distance value, determine whether the touch action corresponding to the touch signal is a normal adjustment. If it is a normal adjustment, respond to the touch signal; if it is not a normal adjustment, generate a first false touch signal to lock the screen. When it falls within the first time interval at the first time, various situations are considered, such as when young people or middle-aged people are at home, the family environment is relatively complex, such as children or pets playing, and people passing by in front of the display screen, etc., to specifically determine whether the touch signal should be responded to, thereby improving the accuracy of detecting false touches.
[0090] In addition, after generating the first false touch signal to lock the screen, it also includes: determining whether the first false touch signal is continuously received. If so, continue to maintain the locked screen state; otherwise, generate an unlocking instruction to unlock the display screen.
[0091] If the next received touch signal continues to be the first false touch signal, it indicates that the finger or object has not left the touch detection device of the display screen. Then, the touch screen controller does not respond to this first false touch signal and continues to keep the display in the locked screen state to further protect the TV from overresponding to false operation signals. If the next received touch signal is not the first false touch signal, it indicates that the finger or object has left the touch detection device of the display screen. The display screen can be unlocked first according to this touch signal, and then the touch signal can be responded to, so that the TV can respond to the user's needs.
[0092] Step S500, if the first time does not fall within the first time interval, obtain the working state of the TV at the current moment, and determine whether the working state belongs to the playing state. If the working state does not belong to the playing state, obtain the second time corresponding to the previous touch signal and the time difference between the first time and the second time, and determine whether the time difference is within the second time interval. If the time difference is not within the second time interval, generate a second false trigger signal to lock the screen. Here, the parameters corresponding to the playing state and the non-playing state are different. By comparing the parameters of the working state at the current moment with the parameters corresponding to the playing state, if the parameters of the previous moment's working state are inconsistent with the parameters corresponding to the playing state, it indicates that the working state does not belong to the playing state.
[0093] Step S600, if the time difference is within the second time interval, respond to the touch signal.
[0094] When there is no overlap between the first time and all the times included in the first time interval, it means that the first time does not fall within the first time interval, indicating that only the elderly are at home. At this time, the touch signal detected by the touch detection device is only touched by the elderly. The TV has two working states, namely the playing state and the non-playing state. The working state of the TV at the current moment can be obtained by checking the working parameters of the TV itself. Here, the parameters corresponding to the playing state and the non-playing state are different. By comparing the parameters of the working state at the current moment with the parameters corresponding to the playing state, if they are consistent, it indicates that the working state of the TV at the current moment is the playing state; if they are inconsistent, it indicates that the working state of the TV at the current moment is the non-playing state.
[0095] When the TV is in the playing state, the selectable operations of the TV are limited, such as pause, progress adjustment, brightness adjustment, sound adjustment, exit, and program selection, etc. And these operations all respond to specific positions. Therefore, when the TV is in the playing state, it can be determined whether it is a normal operation by detecting whether the touch signal corresponds to these positions. If so, it is determined as a normal operation, and the touch screen controller responds to the touch signal. If not, it is determined as a false touch, and a second touch signal will be generated to lock the screen.
[0096] When the TV is in a non-playing state, it indicates that the elderly will perform operations such as searching for the TV and finding programs, and a large number of touch operations will be involved at this time. When the elderly touch the display screen normally, the time difference between two adjacent touches on the display screen is almost a fixed value. During the process of the elderly touching, without the prior notice of their children, they will appear a certain degree of panic, which will cause a large change in the time difference between two adjacent touches on the display screen. The time difference may become larger or smaller, which is a personal habit.
[0097] Each time a touch signal is obtained, the time corresponding to the touch signal will be stored. Therefore, by checking the relevant storage module, the second time corresponding to the previous touch signal can be obtained based on the touch signal at the current moment. Subtracting the second time from the first time can obtain the time difference between the first time and the second time. If the time difference is within the second time interval, it indicates that the elderly are performing touch operations normally, and the touch screen controller responds to the touch signal to make the TV display the corresponding picture. If the time difference is not within the second time interval, it indicates that the touch operation has an error. At this time, the touch screen controller generates a second false touch signal to lock the screen. Among them, the first false touch signal corresponds to the signal of false touch occurring within the first time interval, and the second false touch signal corresponds to the signal of false touch occurring outside the first time interval.
[0098] When the first time does not fall within the first time interval, only middle-aged people are at home, and the family environment is relatively simple. Only in the playing state, the time difference between two adjacent touches is used to specifically judge whether the touch signal should be responded to, so as to improve the accuracy of detecting false touches.
[0099] Figure 3 It is the flowchart of judging whether the time difference is within the second time interval provided by this embodiment. As Figure 3 shown, judging whether the time difference is within the second time interval includes the following steps:
[0100] Step S501, obtain the historical time corresponding to the touch signal input by the elderly during the process of learning to use the TV, and obtain the historical time difference between two adjacent historical times according to the historical time.
[0101] Step S502, sort all the historical time differences in ascending order of numerical value to obtain a historical time difference sequence, and the historical time difference sequence includes multiple historical time differences.
[0102] Step S503, mark the historical time difference at the first preset value in the historical time difference sequence as the minimum value of the second time interval.
[0103] Step S504: Mark the historical time difference at the second preset value in the historical time difference sequence as the maximum value of the second time interval, where the first preset value is less than the second preset value.
[0104] Step S505: Determine whether the time difference is not less than the minimum value within the second time interval and not greater than the maximum value of the second time interval. If so, the time difference is within the second time interval.
[0105] Step S506: Otherwise, the time difference is not within the second time interval.
[0106] Among all the obtained historical times, sort all the historical times in ascending order. Considering some situations such as answering calls and hands-on teaching during the teaching process, discard some smaller or larger historical times. Determine the historical time at the first preset value as the minimum value of the second time interval, and determine the historical time at the second preset value as the maximum value of the second time interval, which can make the second time interval more in line with the actual time when the elderly make touch operations by themselves, make the reference value of the judgment condition more accurate, and thus make the detection of false touches more accurate.
[0107] After generating the second false touch signal to lock the screen, it further includes: obtaining the number of times the second false touch signal is generated, determining whether the number of times exceeds the preset number of times. If it exceeds the preset number of times, set the display screen to a state where it cannot receive subsequent new touch signals; if it does not exceed the preset number of times, continue to keep the display screen in a state where it can receive subsequent new touch signals.
[0108] When only the elderly are at home, newly add the function of comparing the number of times the second false touch signal is generated with the preset number of times. After exceeding the preset number of times, on the basis of the original screen lock, the display screen cannot receive subsequent new touch signals, which can prevent the elderly from frequently touching the display screen and increase the processing pressure on the display screen.
[0109] In addition, after continuing to keep the display screen in a state where it can receive subsequent new touch signals, it further includes: obtaining the historical display screen position corresponding to the touch signal; determining whether a new touch signal is received. If a new touch signal is received, obtain the new display position corresponding to the new touch signal, and determine whether the historical display screen position is the same as the new display position. If they are the same, generate an unlocking instruction to unlock the display screen; if they are not the same, continue to keep the screen locked.
[0110] When generating a false touch signal according to each touch signal, the touch signal is stored in a storage module of the touch screen controller. After receiving a new touch signal subsequently, if the position corresponding to the new touch signal is compared with the historical position corresponding to the obtained touch signal, and if the two positions are the same, it indicates that the operation corresponding to the touch signal at the current moment is not a false touch. Then the touch screen controller generates an unlocking instruction to unlock the display screen and responds to the stored touch signal. If the two positions are different, it indicates that the operation corresponding to the touch signal at the current moment is a false touch. Then the current locking screen operation is continued to reduce the number of touches by the elderly. That is, the operation corresponding to the touch signal for locking the screen can be further verified according to the subsequent new touch signal to reduce the possibility of misjudging the attribute of the touch signal, thereby improving the accuracy of detecting false touches.
[0111] Preferably, after generating an unlocking instruction to unlock the display screen, it further includes: generating a prompt box, where the prompt box is used to solicit the opinions of the user, including a first option and a second option; determining whether the selection result of the user is received within a preset time period. If it is received, determining whether the selection result is the first option. If so, generating a main screen interface according to the selection result; if not, continuing to retain the interface before locking the screen; if not received, continuing to maintain the locked screen state.
[0112] The first option indicates that after unlocking, the elderly choose to return to the main screen interface and the elderly perform subsequent touch operations according to their needs again. The second option indicates that after unlocking, the elderly choose to continue to maintain the current display interface and the elderly continue to perform subsequent touch operations according to their needs. Among them, which choice is specifically made is decided by the elderly themselves. Compared with a fixed interface, multiple interfaces are provided, which is convenient for the elderly to make a more suitable choice for themselves.
[0113] Figure 4 It is a framework diagram of a touch recognition processing system provided by this embodiment. As Figure 4 shown, a touch recognition processing system includes an acquisition module, a working time processing module, a screen swiping processing module, a non-working time processing module, a generation module, and a response module.
[0114] An acquisition module is used to acquire a touch signal and a first time corresponding to the touch signal, where the touch signal includes a touch type. A working time processing module is used to determine whether the first time falls within a first time interval. If the first time falls within the first time interval, it acquires a speed value of a touch action corresponding to the touch signal acting on the display screen, and determines whether the speed value is greater than a preset speed value. Specifically, the speed value is subtracted from the preset speed value to obtain a speed difference. If the sign of the speed difference is positive, the speed value is greater than the preset speed value. A generation module is used to generate a first false touch signal to lock the screen if the speed value is greater than the preset speed value. A screen swiping processing module is used to determine whether the touch type belongs to a screen swiping type if the speed value is not greater than the preset speed value. If the touch type belongs to the screen swiping type, it acquires a distance value of the touch action acting on the display screen and determines whether the distance value is greater than a preset distance value. The generation module is further used to generate a first false touch signal to lock the screen if the distance value is greater than the preset distance value. A response module is used to respond to the touch signal if the distance value is not greater than the preset distance value.
[0115] A non-working time processing module is used to acquire the working state of the TV at the current moment if the first time does not fall within the first time interval, and determine whether the working state belongs to a playing state. If the working state does not belong to the playing state, it acquires a second time corresponding to the previous touch signal and a time difference between the first time and the second time, and determines whether the time difference is within a second time interval. Here, the parameters corresponding to the playing state and the non-playing state are different. By comparing the parameter of the working state at the current moment with the parameter corresponding to the playing state, if the parameter of the previous moment's working state is inconsistent with the parameter corresponding to the playing state, it indicates that the working state does not belong to the playing state. The generation module is further used to generate a second false touch signal to lock the screen if the time difference is not within the second time interval. The response module is further used to respond to the touch signal if the time difference is within the second time interval.
[0116] Figure 5 It is a structural block diagram of the server provided in this embodiment. As Figure 5 shown, the server includes a processor 51 and a memory 52. Among them, a computer program 53 capable of running on the processor 51 is stored on the memory 52. When the computer program 53 is executed by the processor, it implements a touch recognition processing method provided in an embodiment of the present application.
[0117] The memory 52 can be a ROM or other type of static storage device that can store static information and instructions, a random access memory, or other types of dynamic storage devices that can store information and instructions. It can also be an electrically erasable programmable read-only memory, a read-only optical disc or other optical disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 52 can be an internal storage unit in some embodiments.
[0118] The processor 51 can be a central processing unit, a general-purpose processor, a data signal processor, an application-specific integrated circuit, a field-programmable gate array or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It is used to run the program code stored in the memory 52 or process data.
[0119] The processor 51 and the memory 52 are connected by a bus. The bus can include a path for transmitting information between the above components. The bus can be a peripheral component interconnect standard bus or an extended industry standard architecture bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For the sake of convenience of representation, Figure 5 only a thick line is shown in the figure, but it does not mean that there is only one bus or one type of bus.
[0120] Figure 5 Only a server having a memory 52, a processor 51, and a bus is shown. It can be understood in the art that, Figure 5 the shown structure does not constitute a limitation on the server. It can be a bus-type structure or a star structure. The server can also include more or fewer components than those shown in the figure, or combine some components, or have different component deployments. How other existing or future possible electronic devices are used should also be included within the scope of protection and is incorporated herein by reference.
[0121] An embodiment of the present application provides a computer storage medium on which a computer program is stored. When it runs on a computer, it enables the computer to execute the relevant content in the foregoing method embodiments.
[0122] It should be understood that although the steps in the flowchart of the accompanying drawings are shown in sequence according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, the execution of these steps has no strict order limit and can be executed in other orders.
[0123] The above are only some embodiments of the present application. It should be noted that for those of ordinary skill in the art, without departing from the principle of the present application, several improvements and refinements can be made, and these improvements and refinements should also be regarded as the protection scope of the present application.
Claims
1. A touch recognition processing method, characterized in that The method includes: obtaining a touch signal and a first time corresponding to the touch signal; judging whether the first time falls within a first time interval. If the first time falls within the first time interval, obtaining a speed value of a touch action corresponding to the touch signal acting on a display screen, judging whether the speed value is greater than a preset speed value. If the speed value is greater than the preset speed value, generating a first false touch signal to lock the screen. Wherein, the touch signal includes a touch type, subtracting the preset speed value from the speed value to obtain a speed difference. If the sign of the speed difference is positive, the speed value is greater than the preset speed value; If the speed value is not greater than the preset speed value, judging whether the touch type belongs to a screen swiping type. If the touch type belongs to the screen swiping type, obtaining a distance value of the touch action acting on the display screen, judging whether the distance value is greater than a preset distance value. If the distance value is greater than the preset distance value, generating a first false touch signal to lock the screen; If the distance value is not greater than the preset distance value, responding to the touch signal; If the first time does not fall within the first time interval, obtaining a working state of the TV at the current moment, judging whether the working state belongs to a playing state. If it does not belong to the playing state, obtaining a second time corresponding to the previous touch signal and a time difference between the first time and the second time, judging whether the time difference is within a second time interval. If the time difference is not within the second time interval, generating a second false touch signal to lock the screen. Wherein, parameters corresponding to the playing state and the non-playing state are different. By comparing the parameter of the working state at the current moment with the parameter corresponding to the playing state, if the parameter of the working state at the current moment is inconsistent with the parameter corresponding to the playing state, it indicates that the working state does not belong to the playing state; If the time difference is within the second time interval, responding to the touch signal.
2. The method according to claim 1, wherein Judging whether the distance value is greater than the preset distance value includes: The number of the distance values is the same as the number of objects or fingers of a touch detection device acting on the display screen, and there is at least one distance value. Subtracting the preset distance value from the distance value in turn to obtain at least one distance difference. Wherein, the distance difference is a numerical value; Judging whether there is only one distance difference. If there is only one distance difference, judging whether the distance difference is greater than zero. If the distance difference is greater than zero, the distance value is greater than the preset distance value; If the distance difference is not greater than zero, the distance value is not greater than the preset distance value; If there is not only one distance difference, obtaining a maximum distance difference based on several distance differences, judging whether the maximum distance difference is greater than zero. If the maximum distance difference is greater than zero, the distance value is greater than the preset distance value; If the maximum distance difference is not greater than zero, the distance value is not greater than the preset distance value.
3. The method according to claim 1, wherein Judging whether the time difference is within the second time interval includes: obtaining a plurality of historical times corresponding to touch signals input by the elderly during the process of learning to use the TV, and obtaining a historical time difference between two adjacent historical times according to the historical times; Sort all historical time differences in ascending order of their numerical values to obtain a historical time difference sequence, where the historical time difference sequence includes multiple historical time differences; Mark the historical time difference at the first preset value in the historical time difference sequence as the minimum value of the second time interval; Mark the historical time difference at the second preset value in the historical time difference sequence as the maximum value of the second time interval, where the first preset value is less than the second preset value; Judge whether the time difference is not less than the minimum value within the second time interval and not greater than the maximum value of the second time interval. If so, the time difference is within the second time interval; Otherwise, the time difference is not within the second time interval.
4. The method according to claim 1, wherein After generating the second false touch signal to lock the screen, it further includes: Obtain the number of times the second false touch signal is generated, and judge whether the number of times exceeds a preset number of times. If it exceeds the preset number of times, set the display screen to a state where it cannot receive subsequent new touch signals; If it does not exceed the preset number of times, continue to keep the display screen in a state where it can receive subsequent new touch signals.
5. The method according to claim 4, characterized in that After continuing to keep the display screen in a state where it can receive subsequent new touch signals, it further includes: Obtain the historical position corresponding to the touch signal; Each time a false touch signal is generated according to a touch signal, store the touch signal in a storage module of the touch screen controller, judge whether a new touch screen signal is received. If so, obtain the new display position corresponding to the new touch signal, and judge whether the historical position is consistent with the new display position. If they are consistent, generate an unlock instruction to unlock the display screen; If they are not consistent, continue to keep the locked screen state.
6. The method according to claim 5, wherein After generating the unlock instruction to unlock the display screen, it further includes: Generate a prompt box, where the prompt box is used to solicit the user's opinion and includes a first option and a second option; Judge whether the user's selection result is received within a preset time period. If it is received, judge whether the selection result is the first option. If so, generate a home screen interface according to the selection result; If not, continue to retain the interface before locking the screen; If not received, continue to keep the locked screen state.
7. The method according to claim 1, characterized in that, After generating the first false touch signal to lock the screen, it further includes: Judge whether the first false touch signal is continuously received. If so, continue to keep the locked screen state; Otherwise, generate an unlock instruction to unlock the display screen.
8. A touch recognition processing system, characterized in that, The system includes an acquisition module, a working time processing module, a screen swiping processing module, a non-working time processing module, a generation module, and a response module; where The acquisition module is used to acquire a touch signal and the first time corresponding to the touch signal, where the touch signal includes a touch type; The working time processing module is used to judge whether the first time falls within the first time interval. If the first time falls within the first time interval, obtain the speed value of the touch action corresponding to the touch signal acting on the display screen, and judge whether the speed value is greater than a preset speed value. Subtract the preset speed value from the speed value to obtain a speed difference. If the sign of the speed difference is positive, the speed value is greater than the preset speed value; The generating module is used to generate a first false touch signal to lock the screen if the speed value is greater than a preset speed value; The screen swiping processing module is used to, if the speed value is not greater than the preset speed value, determine whether the touch type belongs to the screen swiping type. If the touch type belongs to the screen swiping type, obtain the distance value at which the touch action acts on the display screen, and determine whether the distance value is greater than a preset distance value; The generating module is further used to generate a first false touch signal to lock the screen if the distance value is greater than the preset distance value; The response module is used to respond to the touch signal if the distance value is not greater than the preset distance value; The non-working time processing module is used to, if the first time does not fall within the first time interval, obtain the working state of the television at the current moment, determine whether the working state belongs to the playing state. If the working state does not belong to the playing state, obtain the second time corresponding to the previous touch signal, and the time difference between the first time and the second time, and determine whether the time difference is within the second time interval. Among them, the parameters corresponding to the playing state and the non-playing state are different. By comparing the parameters of the working state at the current moment with the parameters corresponding to the playing state, if the parameters of the working state at the current moment are inconsistent with the parameters corresponding to the playing state, it indicates that the working state does not belong to the playing state; The generating module is further used to generate a second false touch signal to lock the screen if the time difference is not within the second time interval; The response module is further used to respond to the touch signal if the time difference is within the second time interval.
9. A server, characterized in that, The server includes: a processor and a memory. A computer program capable of running on the processor is stored on the memory. When the computer program is executed by the processor, it implements a touch recognition processing method as described in any one of claims 1 to 7.
10. A computer storage medium having a computer program stored thereon that can run on a processor, characterized in that, When the computer program is executed by the processor, it implements a touch recognition processing method as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Fingerprint identification processing method and device and equipment, and storage medium
CN107491677A
Touch screen mistaken touch recognition method and device, storage medium and processor
CN110347326A