Touch panel programmable shortcut instruction mapping method and device and computer equipment

By extracting and integrating the gesture-shortcut mapping table through NFC communication between the touchpad and the mobile device, calculating the gesture forgetting score, and dynamically adjusting the similarity threshold, the problem of gesture recognition failure caused by user memory fuzziness or forgetting is solved, realizing intelligent fault-tolerant gesture mapping, and improving the recognition success rate and reliability.

CN121349355APending Publication Date: 2026-01-16SHENZHEN HANTIANXIN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511465513.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-10-14
Publication Date
2026-01-16

AI Technical Summary

Technical Problem

Existing technologies cannot effectively handle the problem of incomplete or distorted gesture input caused by users' fuzzy or forgotten memories, resulting in recognition failure, high learning costs, and low reliability.

Method used

The gesture-shortcut mapping table is extracted through NFC communication between the touchpad and the mobile device. The mapping tables of the local device and the mobile device are integrated to calculate the gesture forgetting score, dynamically adjust the similarity threshold, identify gestures with weakened memory, and perform programmable shortcut mapping.

Benefits of technology

It achieves intelligent error-tolerant gesture mapping, reducing the frequency of review and learning costs, adapting to the characteristics of human memory, and improving the recognition success rate and reliability of use.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121349355A_ABST
    Figure CN121349355A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of electric digital data processing, and discloses a programmable shortcut instruction mapping method and device for a touchpad and computer equipment, and the method comprises the following steps: extracting a gesture-shortcut instruction mapping table from mobile equipment through an NFC communication function between the touchpad and the mobile equipment; integrating a local gesture-instruction mapping table and a gesture-shortcut instruction mapping table of the touchpad to obtain a total gesture-instruction mapping table, and judging whether the current touch gesture can be matched in the total gesture-instruction mapping table or not; when the current touch gesture cannot be matched in the total gesture-instruction mapping table, calculating a gesture forgetting score recorded by each gesture in the total gesture-instruction mapping table; a memory weakened gesture of the user is identified in a total gesture-instruction mapping table based on the gesture forgetting score. According to the method, human memory characteristics can be understood and adapted, so that intelligent gesture mapping with fault-tolerant capability is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to a method, apparatus, and computer device for mapping programmable shortcut commands to a touchpad, belonging to the field of electronic digital data processing technology. Background Technology

[0002] Touchpad programmable shortcut mapping refers to the ability of a user to convert gestures made on the touchpad into shortcut commands that can be executed immediately on a computer or mobile phone. Moreover, this mapping can be modified or deleted by the user at any time. Programmable means that the user can customize which gestures correspond to which shortcut commands. For example, the user can set the shortcut command for a three-finger swipe down to take a screenshot.

[0003] Currently, the typical workflow for touchpad gesture recognition is as follows: the system pre-stores a set of standard gesture templates. When a user inputs a gesture, the system extracts the features of that gesture and compares it with all the stored templates for similarity. If the best matching template with a similarity exceeding a fixed threshold is found, the corresponding shortcut command is executed; otherwise, the gesture recognition is considered a failure. However, existing recognition mechanisms cannot effectively handle the problem of incomplete or distorted gesture input caused by user memory lapses or forgetting. Specifically, after a user learns and customizes a complex set of gesture commands, their memory of gesture details gradually declines over time, according to the Ebbinghaus forgetting curve. For example, a user may clearly remember that a certain swipe operation can unlock the screen, but forgets that the operation originally required the use of three fingers and only used one finger to swipe. In this case, the similarity between the user's input single-finger swipe gesture and the preset three-finger swipe template will not reach the fixed matching threshold set by the system, resulting in recognition failure and ultimately failing to find the corresponding shortcut command. Usually, the system will simply report an error and cannot understand the deeper reason for the recognition failure, which is the user's forgetting.

[0004] Currently, this matching mechanism leads to a contradiction between high learning costs and low reliability. Users need to review frequently to avoid forgetting, which contradicts the original intention of shortcuts to improve efficiency. Therefore, existing technology lacks an intelligent gesture mapping scheme that can understand and adapt to the characteristics of human memory and has error-tolerant capabilities. Summary of the Invention

[0005] This invention provides a method, apparatus, and computer device for mapping programmable shortcut commands to a touchpad. Its main purpose is to understand and adapt to the characteristics of human memory, thereby achieving intelligent gesture mapping with fault tolerance.

[0006] To achieve the above objectives, the present invention provides a touchpad programmable shortcut command mapping method, comprising: When a finger touches the touchpad, the user's current touch gesture is detected, and the gesture-shortcut mapping table is extracted from the mobile device through the NFC communication function between the touchpad and the mobile device; The local gesture-command mapping table of the touchpad is integrated with the gesture-shortcut command mapping table to obtain a total gesture-command mapping table, and it is determined whether the current touch gesture can be matched in the total gesture-command mapping table; When the current touch gesture cannot be matched in the overall gesture-command mapping table, calculate the gesture forgetting score for each gesture record in the overall gesture-command mapping table; Based on the gesture forgetting score, the user's weakened memory gestures are identified in the total gesture-command mapping table, and the target shortcut command corresponding to the weakened memory gestures in the total gesture-command mapping table is queried. A programmable shortcut mapping is implemented between the memory-weakening gesture and the target shortcut command to obtain the shortcut command mapping result.

[0007] Optionally, identifying the user's weakened gestures in the total gesture-command mapping table based on the gesture forgetting score includes: Obtain the basic similarity between the current touch gesture and each gesture record in the overall gesture-command mapping table; Based on the gesture forgetting score, calculate the memory weakening threshold of the basic similarity; Based on the comparison between the basic similarity and the memory weakening threshold, the user's memory weakening gestures are identified in the total gesture-command mapping table.

[0008] Optionally, calculating the memory weakening threshold of the basic similarity based on the gesture forgetting score includes: Configure the base matching threshold and the maximum fault tolerance threshold for the gesture forgetting score; The basic matching threshold is used as the basic threshold value; The maximum fault tolerance threshold is used as the upper limit of fault tolerance. The gesture forgetting score is used as the decay coefficient; Calculate the difference between the fault tolerance upper limit and the basic threshold. Multiply the difference by the attenuation coefficient to obtain the relaxation amount; The relaxation amount is added to the base threshold amount to obtain the memory weakening threshold.

[0009] Optionally, identifying the user's weakened gestures in the total gesture-command mapping table based on the comparison result between the basic similarity and the memory weakening threshold includes: When the size comparison result is that the basic similarity is not less than the memory weakening threshold, the candidate gesture record corresponding to the basic similarity is identified in the total gesture-command mapping table; The overall confidence level of each candidate gesture record is calculated using the gesture forgetting score and the basic similarity. The candidate gesture corresponding to the maximum value in the comprehensive confidence score is recorded as the memory-weakened gesture.

[0010] Optionally, after recognizing the user's weakened memory gestures in the overall gesture-command mapping table, the method further includes: The user's current touch gesture is recorded in the total gesture-command mapping table with the same shortcut command mapping identity as the memory-weakened gesture, so as to form a total gesture-command mapping table with multiple gestures and a single shortcut command.

[0011] Optionally, after the user's weakened memory gestures cannot be recognized in the overall gesture-command mapping table, the method further includes: The candidate gesture record that is ranked last in the overall gesture-command mapping table is used as the default recommended gesture record; The default recommended gesture record is output to the user interface to detect whether a confirmation operation for the default recommended gesture record is received within a preset waiting time. If no confirmation is received, the programmable shortcut mapping entry is made available to the user, and the user is asked to complete the new gesture-shortcut mapping. Upon receiving the confirmation operation, the default recommended gesture is recorded as a memory-weakened gesture.

[0012] Optionally, calculating the gesture forgetting score for each gesture record in the total gesture-command mapping table includes: Based on the preset Ebbinghaus forgetting curve, the time interval between the last review time corresponding to the gesture record and the current time is used as the time interval. Use the preset half-life constant as the decay control quantity; Use the natural constant as the base constant; Divide the time interval by the attenuation control value to obtain the ratio. The ratio is then negative to obtain a negative ratio. A gesture forgetting model for each gesture record is established by using the base constant as the base and the negative ratio as the exponent for exponentiation. The gesture forgetting model outputs a gesture forgetting score for each gesture record.

[0013] Optionally, the step of integrating the local gesture-command mapping table of the touchpad with the gesture-shortcut command mapping table to obtain a total gesture-command mapping table includes: In the static random access memory of the touchpad, a merged area is created between the local gesture-command mapping table and the gesture-shortcut command mapping table; Extract gesture-shortcut mapping pairs that are different gesture records between the gesture-shortcut mapping table and the local gesture-command mapping table; The local gesture-command mapping table and the gesture-shortcut command mapping pair are stored in the merging area to obtain the total gesture-command mapping table.

[0014] To address the above problems, the present invention also provides a touchpad programmable shortcut command mapping device, the device comprising: The table extraction module is used to detect the user's current touch gesture when the finger touches the touchpad, and extract the gesture-shortcut mapping table from the mobile device through the NFC communication function between the touchpad and the mobile device; The gesture matching module is used to integrate the local gesture-command mapping table of the touchpad with the gesture-shortcut command mapping table to obtain a total gesture-command mapping table, and to determine whether the current touch gesture can be matched in the total gesture-command mapping table; The scoring module is used to calculate the gesture forgetting score for each gesture record in the total gesture-command mapping table when the current touch gesture cannot be matched in the total gesture-command mapping table. The instruction query module is used to identify the user's weakened memory gestures in the total gesture-instruction mapping table based on the gesture forgetting score, and to query the target shortcut instruction corresponding to the weakened memory gesture in the total gesture-instruction mapping table; The instruction mapping module is used to implement programmable shortcut instruction mapping between the memory-weakened gesture and the target shortcut instruction, and obtain the shortcut instruction mapping result.

[0015] To address the above problems, the present invention also provides a computer device, comprising: At least one processor; and a memory communicatively connected to said at least one processor; The memory stores a computer program that can be executed by the at least one processor, enabling the at least one processor to execute the touchpad programmable shortcut instruction mapping method as described in any of the above.

[0016] Compared to the problems described in the background art, this embodiment of the invention detects the user's current touch gesture, first detecting the gesture vector input by the user, preparing for subsequent calculation of the similarity between the user's input gesture vector and the gesture vector in the template. Furthermore, this embodiment of the invention utilizes the NFC communication function between the touchpad and the mobile device to extract a gesture-shortcut command mapping table from the mobile device. This allows for expansion of the local gesture-shortcut command mapping table by adding gesture-shortcut command mapping tables from other devices when the gesture-shortcut command mapping of the devices connected to the touchpad is infrequent, resulting in fewer records in the touchpad's local gesture-shortcut command mapping table. Furthermore, this embodiment of the invention determines the similarity between the total gesture-shortcut command mapping table and the user's input gesture vector. The system checks whether the current touch gesture can be matched in the gesture-command mapping table to determine if a gesture record corresponding to the user's current gesture can be found. If no record is found, it indicates that the user may have forgotten a previously customized gesture record. If a record is found, the corresponding shortcut command is directly provided to the user. This embodiment of the invention calculates a gesture forgetting score for each gesture record in the total gesture-command mapping table, continuously assigning a gesture forgetting score to each record. This score decays exponentially with the time since the last use, thus quantifying whether the user has forgotten the gesture as a calculable parameter. With this score, subsequent matching no longer relies on a single fixed threshold and can proactively relax the comparison conditions based on the degree of memory decay, thus avoiding mismatches despite strong memory. To prevent users from mistakenly passing through gestures they've forgotten, an adaptive benchmark synchronized with human memory patterns is introduced into the entire mapping process. This embodiment of the invention identifies weakened gestures in the user's memory based on the gesture forgetting score in the total gesture-command mapping table. The gesture forgetting score allows for a dynamic lowering of the similarity threshold; the more severe the forgetting, the lower the threshold. When a user inputs incomplete or distorted gestures due to memory lapses, actions like single-finger swipes, which are originally below a fixed threshold, can still be included as candidates. The most likely intent is selected based on comprehensive confidence, thus transforming recognition failures caused by forgetting into error-tolerant command execution. This significantly reduces review frequency and learning costs, achieving an intelligent, error-tolerant gesture mapping experience that becomes wider with forgetting and more accurate with use. In this embodiment of the invention, by recording the user's current touch gesture as a shortcut command mapping identity in the overall gesture-command mapping table, the similarity between the next input gesture and the currently recorded touch gesture can be calculated simultaneously when the user inputs a gesture. The calculated similarity is then used for the next match. Because after the user inputs the current touch gesture, after adjustments based on the forgetting score and memory weakening threshold, although part of the user's gesture may be forgotten, the system still responds to the user's shortcut command. However, this raises a problem: when the user inputs a gesture again, they may mistakenly believe that the previously inputted, forgotten part of the gesture is the correct gesture, and therefore the user will re-input the forgotten part of the gesture.The system then adjusts the input erroneous gestures again based on forgetting scores and memory weakening thresholds. The forgotten gestures, i.e., the user's current touch gestures, are recorded in a mapping table for quick retrieval, reducing computational load. Therefore, this invention understands and adapts to human memory characteristics, thereby achieving fault-tolerant intelligent gesture mapping. Attached Figure Description

[0017] Figure 1 This is a flowchart illustrating a programmable shortcut command mapping method for a touchpad according to an embodiment of the present invention. Figure 2 This is a schematic diagram illustrating the workflow of a programmable shortcut command mapping method for a touchpad according to an embodiment of the present invention. Figure 3 This is a schematic diagram of a module for implementing the programmable shortcut command mapping device for the touchpad according to an embodiment of the present invention; Figure 4 This is a schematic diagram of the internal structure of an electronic device that implements the touchpad programmable shortcut command mapping method according to an embodiment of the present invention.

[0018] The objectives, features, and advantages of this invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0019] It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

[0020] This application provides a programmable shortcut command mapping method for a touchpad. The execution subject of this method includes, but is not limited to, at least one of a computer device, such as a server or a terminal, that can be configured to execute the method provided in this application. In other words, the programmable shortcut command mapping method can be executed by software or hardware installed on a terminal device or a server device. The server includes, but is not limited to, a single server, a server cluster, a cloud server, or a cloud server cluster.

[0021] Reference Figure 1 The diagram shown is a flowchart illustrating a touchpad programmable shortcut command mapping method according to an embodiment of the present invention. In this embodiment, the touchpad programmable shortcut command mapping method includes: S1. When a finger touches the touchpad, the user's current touch gesture is detected, and the gesture-shortcut command mapping table is extracted from the mobile device through the NFC communication function between the touchpad and the mobile device.

[0022] This invention detects the user's current touch gesture, first detecting the gesture vector input by the user, in order to prepare for subsequent calculation of the similarity between the user's input gesture vector and the gesture vector in the template.

[0023] The touchpad refers to an input device installed on the surface of a computer, mobile phone or other electronic device, used to detect the contact position, movement trajectory and gesture of a finger or stylus, and convert this touch information into electrical signals for the host to recognize and process.

[0024] For example, the process of detecting the user's current touch gesture is as follows: after the finger touches the touchpad surface, the capacitive sensing layer detects the charge change, and the multi-point scanning chip collects the X and Y coordinate arrays at a fixed scanning frequency; the collected coordinate arrays are denoised and smoothed; the processed coordinate sequence is feature extracted and classified using existing gesture recognition algorithms, and the type of the current touch gesture is output. The existing gesture recognition algorithms are, for example, based on Hidden Markov Models, Support Vector Machines, or Convolutional Neural Networks, and the type of the current touch gesture is, for example, single-finger swipe, two-finger pinch, three-finger swipe, etc. The recognition result is converted into a standardized gesture vector for subsequent mapping and matching. Therefore, the detection of the user's current touch gesture is achieved through existing technologies, such as mutual capacitance scanning and HMM gesture classification technology, PTP gesture parsing algorithm, and real-time gesture recognition model based on convolutional neural networks.

[0025] Furthermore, in this embodiment of the invention, the gesture-shortcut command mapping table is extracted from the mobile device through the NFC communication function between the touchpad and the mobile device. When the gesture-shortcut command mapping of the device connected to the touchpad is infrequent, resulting in fewer records in the local gesture-command mapping table of the touchpad, the gesture-shortcut command mapping tables of other devices can be added to expand the local gesture-command mapping table.

[0026] The NFC communication function refers to the near-field communication radio frequency circuit and protocol stack built into the touchpad, which can establish a wireless data link with the mobile device through a carrier wave over a very short distance, realizing point-to-point, contactless, low-power bidirectional information exchange capability. The gesture-shortcut command mapping table is a data lookup table with gesture feature data as the key and corresponding shortcut operation command as the value, used to specify the specific function that the system should respond to immediately after the user performs a specific gesture on the touchpad.

[0027] In one embodiment of the present invention, the step of extracting the gesture-shortcut command mapping table from the mobile device via the NFC communication function between the touchpad and the mobile device includes: waking up the NFC communication front-end embedded in the touchpad via the serial peripheral interface of the touchpad; when the NFC communication front-end detects that the mobile device is close to the touchpad, sending a request-response command to the mobile device; receiving the response information from the mobile device regarding the request-response command in the touchpad to complete the activation process of the NFC communication function between the touchpad and the mobile device; and after the NFC communication function between the touchpad and the mobile device is successfully activated, controlling the touchpad to read the gesture-shortcut command mapping table from the mobile device.

[0028] The serial peripheral interface refers to the data line between the main control chip of the touchpad and the near-field communication front end, used to send commands and receive data in a bit-serial manner. The NFC communication front end embedded in the touchpad refers to the near-field communication RF driver chip and its matching circuit soldered on the same double-sided circuit board as the touchpad. The mobile device refers to a mobile phone, tablet or other portable terminal with near-field communication function that can be recognized by the touchpad. The request-response instruction refers to the initial handshake command sent by the main control chip of the touchpad to the mobile device to establish a communication link. The echo response information refers to the protocol format data returned by the mobile device to the request-response instruction, used to confirm its own existence and negotiate subsequent communication parameters.

[0029] Optionally, "close" refers to the action state where the mobile device enters the effective magnetic field range of the touchpad's near-field communication antenna at a very short distance. "Controlling the touchpad to read the gesture-shortcut command mapping table from the mobile device" refers to the action where, after the link is activated, the main control chip continues to send a data read command to completely download the gesture and shortcut command correspondence stored in the mobile device to the touchpad side. "Activation processing of NFC communication function" refers to the complete process in which both parties complete protocol negotiation, channel identifier allocation, and link confirmation, enabling data frames to be sent and received normally.

[0030] S2. Integrate the local gesture-command mapping table of the touchpad with the gesture-shortcut command mapping table to obtain a total gesture-command mapping table, and determine whether the current touch gesture can be matched in the total gesture-command mapping table.

[0031] In one embodiment of the present invention, integrating the local gesture-command mapping table and the gesture-shortcut command mapping table of the touchpad to obtain a total gesture-command mapping table includes: allocating a merge area between the local gesture-command mapping table and the gesture-shortcut command mapping table in the static random access memory of the touchpad; extracting gesture-shortcut command mapping pairs that record different gestures between the gesture-shortcut command mapping table and the local gesture-command mapping table; and storing the local gesture-command mapping table and the gesture-shortcut command mapping pairs in the merge area to obtain the total gesture-command mapping table.

[0032] The merging area refers to a dedicated data cache area in the static random access memory of the touchpad main control chip, used to temporarily store all entries after merging the local gesture-command mapping table and the gesture-shortcut command mapping table downloaded by near-field communication, for subsequent matching and querying. The gesture-shortcut command mapping pair refers to a key-value data unit composed of gesture feature data and its unique corresponding shortcut operation command, which is the smallest component of the gesture-shortcut command mapping table.

[0033] Furthermore, in this embodiment of the invention, it is determined whether the current touch gesture can be matched in the total gesture-command mapping table to determine whether a gesture record corresponding to the user's current gesture can be found. If no record can be found, it means that the user may have forgotten the gesture record that was previously customized. If a record is found, the shortcut command corresponding to the found gesture record can be directly responded to the user.

[0034] In one embodiment of the present invention, determining whether the current touch gesture can be matched in the overall gesture-command mapping table includes: calculating the basic similarity between the current touch gesture and each gesture record in the overall gesture-command mapping table; querying the overall gesture-command mapping table for a gesture record highly similar to the current touch gesture based on the basic similarity; if no gesture record highly similar to the current touch gesture is found in the overall gesture-command mapping table, determining that the current touch gesture cannot be matched in the overall gesture-command mapping table; if a gesture record highly similar to the current touch gesture is found in the overall gesture-command mapping table, determining that the current touch gesture can be matched in the overall gesture-command mapping table.

[0035] Optionally, the process of calculating the basic similarity between the current touch gesture and each gesture record in the total gesture-instruction mapping table can be implemented using existing technologies, such as cosine similarity, Euclidean distance, etc.

[0036] S3. When the current touch gesture cannot be matched in the total gesture-command mapping table, calculate the gesture forgetting score for each gesture record in the total gesture-command mapping table.

[0037] This invention calculates the gesture forgetting score for each gesture record in the total gesture-command mapping table, continuously assigning a gesture forgetting score to each gesture record. This score decays exponentially with the time since the last use, thereby quantifying whether the user has forgotten the gesture into a calculable parameter. With this score, subsequent matching no longer relies on a single fixed threshold, and the comparison conditions can be actively relaxed according to the degree of memory decay. This avoids being wrongly rejected even when the user remembers it well, and also prevents being wrongly approved even when the user has forgotten a lot. This introduces an adaptive benchmark that is synchronized with the laws of human memory into the entire mapping process.

[0038] In one embodiment of the present invention, calculating the gesture forgetting score of each gesture record in the total gesture-command mapping table includes: according to a preset Ebbinghaus forgetting curve, taking the time interval between the last review time and the current time corresponding to the gesture record as a time interval quantity; taking a preset half-life constant as a decay control quantity; taking a natural constant as a base constant; dividing the time interval quantity by the decay control quantity to obtain a ratio quantity; taking a negative value for the ratio quantity to obtain a negative ratio quantity; performing a power operation with the base constant as the base and the negative ratio quantity as the exponent to establish a gesture forgetting model for each gesture record; and outputting the gesture forgetting score of each gesture record through the gesture forgetting model.

[0039] The Ebbinghaus forgetting curve refers to the quantitative law that the strength of a user's memory of newly acquired information decays exponentially over time. That is, the longer the time elapsed since the last review, the smaller the amount of memory retained and the greater the degree of forgetting. Moreover, the rate of decay is determined by the difficulty of the memory material, the number of reviews, and the individual's learning ability. The last review time refers to the time when the user last successfully used the corresponding gesture and was confirmed by the system. It is used as the starting point for calculating memory decay. The half-life constant is a preset time length constant, which represents the time span required for the memory strength to decay to half of the initial value. It is used to control the rate of increase in forgetting score, such as 24 hours, 12 hours, 6 hours, etc.

[0040] As another embodiment, establishing a gesture forgetting model for each gesture record includes: establishing a gesture forgetting model for each gesture record using the following formula: in, This represents a gesture forgetting model. This represents the time interval between the current moment and the last review moment, where H represents the half-life constant and e represents the natural constant. The score indicates the number of gestures forgotten.

[0041] It should be noted that, for example, When it is an hour, it means approximately The post-forgetting score will reach approximately 0.63. When it is an hour, it means approximately The post-forgetting score will reach approximately 0.63, meaning that the user will forget most of the content. Regarding the value of 0.63, let's compare t with... If both are set to 12 hours or 24 hours, then =1, It is approximately 0.63. This value can be adjusted based on the user's overall learning ability. He indicated that he had just reviewed the material. t indicates that the user fully remembers the gesture, and as time goes by, t increases: A gradually approaches 1, indicating complete forgetting.

[0042] S4. Based on the gesture forgetting score, identify the user's weakened memory gestures in the total gesture-command mapping table, and query the target shortcut command corresponding to the weakened memory gestures in the total gesture-command mapping table.

[0043] This invention identifies weakened gestures in the user's memory based on the gesture forgetting score in the total gesture-command mapping table. By leveraging the gesture forgetting score, the similarity threshold is dynamically lowered; the more severe the forgetting, the lower the threshold. When a user inputs incomplete or distorted gestures due to memory lapses, operations such as single-finger swipes, which were originally below a fixed threshold, can still be included as candidates. The most likely intent is selected by comprehensively assessing confidence, thereby transforming recognition failures caused by forgetting into error-tolerant and successful command execution. This significantly reduces the frequency of review and learning costs, achieving an intelligent error-tolerant gesture mapping experience that becomes wider the range of forgetting and more accurate the more it is used.

[0044] In one embodiment of the present invention, identifying the user's weakened memory gestures in the total gesture-command mapping table based on the gesture forgetting score includes: obtaining the basic similarity between the current touch gesture and each gesture record in the total gesture-command mapping table; calculating a memory weakening threshold of the basic similarity based on the gesture forgetting score; and identifying the user's weakened memory gestures in the total gesture-command mapping table based on a comparison between the basic similarity and the memory weakening threshold.

[0045] In another embodiment of the present invention, the step of calculating the memory weakening threshold of the basic similarity based on the gesture forgetting score includes: configuring a basic matching threshold and a maximum tolerance threshold for the gesture forgetting score; using the basic matching threshold as a basic threshold amount; using the maximum tolerance threshold as a tolerance upper limit amount; using the gesture forgetting score as a decay coefficient; calculating the difference between the tolerance upper limit amount and the basic threshold amount; multiplying the difference amount by the decay coefficient to obtain a relaxation amount; and adding the relaxation amount to the basic threshold amount to obtain the memory weakening threshold.

[0046] The formula for calculating the memory weakening threshold is generally as follows: , This represents the maximum fault tolerance threshold. Indicates the basic matching threshold. This represents the gesture forgetting score for the i-th gesture record. The basic matching threshold represents the threshold required for a match when the user's memory is strong, while the maximum tolerance threshold represents the threshold where the system relaxes the standard and lowers the threshold when the user has almost completely forgotten the information. (Regarding...) and These two parameters are parameters that have been measured experimentally beforehand. For example, during a historical period, the user's current gesture and the forgotten portion of the gesture records that match this current gesture are collected, and some are randomly set. and The numerical values ​​record the gestures that have been forgotten. The calculation shows that the similarity across all current gestures is no less than this. At that time, this corresponding and As the final selected parameter.

[0047] In another embodiment of the present invention, identifying the user's memory-weakened gestures in the total gesture-command mapping table based on the size comparison result between the basic similarity and the memory weakening threshold includes: when the size comparison result is that the basic similarity is not less than the memory weakening threshold, identifying candidate gesture records corresponding to the basic similarity in the total gesture-command mapping table; calculating the comprehensive confidence of each candidate gesture record using the gesture forgetting score and the basic similarity; and taking the candidate gesture record corresponding to the maximum value in the comprehensive confidence as the memory-weakened gesture.

[0048] As another embodiment, the step of calculating the overall confidence score of each candidate gesture record using the gesture forgetting score and the basic similarity includes: calculating the overall confidence score of each candidate gesture record using the following formula based on the gesture forgetting score and the basic similarity: in, Indicates the overall confidence level. This represents the i-th candidate gesture record. The score indicates the number of gestures forgotten.

[0049] It should be noted that the higher the overall confidence level, the greater the likelihood that the candidate gesture record will become the final weakened memory gesture.

[0050] Furthermore, in this embodiment of the invention, by recording the user's current touch gesture as the same shortcut command mapping identity in the overall gesture-command mapping table, the similarity between the next input gesture and the currently recorded touch gesture can be calculated simultaneously when the user inputs a gesture. The calculated similarity is then used for the next match. Because after the user inputs the current touch gesture, after adjustments based on the forgetting score and memory weakening threshold, although the user's gesture has been partially forgotten, the system still responds to the user's shortcut command. However, this leads to a problem: when the user inputs a gesture again, they may mistakenly believe that the previously inputted, forgotten part of the gesture is the correct gesture. Therefore, the user will input the forgotten part of the gesture again, and the system will have to adjust the input of the incorrect gesture again based on the forgetting score and memory weakening threshold. Recording the forgotten part of the gesture, i.e., the user's current touch gesture, in the mapping table allows for quick retrieval and reduces the amount of computation.

[0051] In another embodiment of the present invention, after identifying the user's weakened memory gesture in the total gesture-command mapping table, the method further includes: recording the user's current touch gesture as having the same shortcut command mapping identity as the weakened memory gesture in the total gesture-command mapping table, so as to form a total gesture-command mapping table with multiple gestures and a single shortcut command.

[0052] In another embodiment of the present invention, after the user's weakened gesture cannot be recognized in the overall gesture-command mapping table, the method further includes: using the last-ranked candidate gesture record in the overall gesture-command mapping table as the default recommended gesture record; outputting the default recommended gesture record to the user interface to detect whether a confirmation operation for the default recommended gesture record is received within a preset waiting time; if no confirmation operation is received, opening a programmable shortcut command mapping entry to the user to wait for the user to complete a new gesture-shortcut command mapping; and if the confirmation operation is received, using the default recommended gesture record as the weakened gesture.

[0053] The default recommended gesture record refers to the last item in the candidate set of gestures that cannot be recognized due to weakened memory. The system pushes this item to the user interface as the final alternative gesture for user confirmation or re-entry. The last item has the lowest overall confidence, so the system uses it as the most uncertain alternative, which can minimize the risk of misrecommendation and reduce the risk of user misoperation.

[0054] S5. Implement the programmable shortcut mapping between the memory-weakening gesture and the target shortcut command to obtain the shortcut command mapping result.

[0055] Optionally, the process of implementing the programmable shortcut mapping between the memory-weakened gesture and the target shortcut to obtain the shortcut mapping result is as follows: after determining which shortcut corresponds to the user's gesture, the shortcut is executed.

[0056] See Figure 2 The diagram shown illustrates the workflow of a programmable shortcut command mapping method for a touchpad according to an embodiment of the present invention. Figure 2 In this system, when a finger touches the touchpad, the system first detects the user's current touch gesture; then, it determines the total gesture-command mapping table through near field communication (NFC) and judges whether the gesture matches: if the match is successful, the shortcut command is directly output; if the match fails, the forgetting score of the gesture is calculated, and its basic matching similarity is compared with the memory weakening threshold calculated with the forgetting score, and the shortcut command is output again, thereby realizing intelligent gesture recognition and command execution with memory fault tolerance.

[0057] Compared to the problems described in the background art, this embodiment of the invention detects the user's current touch gesture, first detecting the gesture vector input by the user, preparing for subsequent calculation of the similarity between the user's input gesture vector and the gesture vector in the template. Furthermore, this embodiment of the invention utilizes the NFC communication function between the touchpad and the mobile device to extract a gesture-shortcut command mapping table from the mobile device. This allows for expansion of the local gesture-shortcut command mapping table by adding gesture-shortcut command mapping tables from other devices when the gesture-shortcut command mapping of the devices connected to the touchpad is infrequent, resulting in fewer records in the touchpad's local gesture-shortcut command mapping table. Furthermore, this embodiment of the invention determines the similarity between the total gesture-shortcut command mapping table and the user's input gesture vector. The system checks whether the current touch gesture can be matched in the gesture-command mapping table to determine if a gesture record corresponding to the user's current gesture can be found. If no record is found, it indicates that the user may have forgotten a previously customized gesture record. If a record is found, the corresponding shortcut command is directly provided to the user. This embodiment of the invention calculates a gesture forgetting score for each gesture record in the total gesture-command mapping table, continuously assigning a gesture forgetting score to each record. This score decays exponentially with the time since the last use, thus quantifying whether the user has forgotten the gesture as a calculable parameter. With this score, subsequent matching no longer relies on a single fixed threshold and can proactively relax the comparison conditions based on the degree of memory decay, thus avoiding mismatches despite strong memory. To prevent users from mistakenly passing through gestures they've forgotten, an adaptive benchmark synchronized with human memory patterns is introduced into the entire mapping process. This embodiment of the invention identifies weakened gestures in the user's memory based on the gesture forgetting score in the total gesture-command mapping table. The gesture forgetting score allows for a dynamic lowering of the similarity threshold; the more severe the forgetting, the lower the threshold. When a user inputs incomplete or distorted gestures due to memory lapses, actions like single-finger swipes, which are originally below a fixed threshold, can still be included as candidates. The most likely intent is selected based on comprehensive confidence, thus transforming recognition failures caused by forgetting into error-tolerant command execution. This significantly reduces review frequency and learning costs, achieving an intelligent, error-tolerant gesture mapping experience that becomes wider with forgetting and more accurate with use. In this embodiment of the invention, by recording the user's current touch gesture as a shortcut command mapping identity in the overall gesture-command mapping table, the similarity between the next input gesture and the currently recorded touch gesture can be calculated simultaneously when the user inputs a gesture. The calculated similarity is then used for the next match. Because after the user inputs the current touch gesture, after adjustments based on the forgetting score and memory weakening threshold, although part of the user's gesture may be forgotten, the system still responds to the user's shortcut command. However, this raises a problem: when the user inputs a gesture again, they may mistakenly believe that the previously inputted, forgotten part of the gesture is the correct gesture, and therefore the user will re-input the forgotten part of the gesture.The system then adjusts the input erroneous gestures again based on forgetting scores and memory weakening thresholds. The forgotten gestures, i.e., the user's current touch gestures, are recorded in a mapping table for quick retrieval, reducing computational load. Therefore, this invention understands and adapts to human memory characteristics, thereby achieving fault-tolerant intelligent gesture mapping.

[0058] like Figure 3 The diagram shown is a functional block diagram of a touchpad programmable shortcut command mapping device according to the present invention.

[0059] The touchpad programmable shortcut command mapping device 300 described in this invention can be installed in a computer device. Depending on the functions implemented, the touchpad programmable shortcut command mapping device may include a table extraction module 301, a gesture matching module 302, a score calculation module 303, a command query module 304, and a command mapping module 305. The module described in this invention can also be referred to as a unit, which refers to a series of computer program segments that can be executed by the computer device's processor and perform a fixed function, and are stored in the computer device's memory.

[0060] In this embodiment of the invention, the functions of each module / unit are as follows: The table extraction module 301 is used to detect the user's current touch gesture when the finger touches the touchpad, and extract the gesture-shortcut command mapping table from the mobile device through the NFC communication function between the touchpad and the mobile device; The gesture matching module 302 is used to integrate the local gesture-command mapping table of the touchpad with the gesture-shortcut command mapping table to obtain a total gesture-command mapping table, and to determine whether the current touch gesture can be matched in the total gesture-command mapping table; The scoring module 303 is used to calculate the gesture forgetting score for each gesture record in the total gesture-command mapping table when the current touch gesture cannot be matched in the total gesture-command mapping table. The instruction query module 304 is used to identify the user's weakened memory gestures in the total gesture-instruction mapping table based on the gesture forgetting score, and to query the target shortcut instruction corresponding to the weakened memory gesture in the total gesture-instruction mapping table; The instruction mapping module 305 is used to implement programmable shortcut instruction mapping between the memory-weakened gesture and the target shortcut instruction, and obtain the shortcut instruction mapping result.

[0061] In detail, the modules in the touchpad programmable shortcut command mapping device 300 described in this embodiment of the invention employ the same methods as described above during use. Figure 1The method described herein uses the same technical means as the programmable shortcut command mapping method for touchpads and can produce the same technical effect, so it will not be repeated here.

[0062] like Figure 4 The diagram shown is a structural schematic of the computer equipment used in the parking operation management method of the present invention to implement proactive services.

[0063] The computer device may include a processor 40, a memory 41, a communication bus 42, and a communication interface 43. It may also include a computer program stored in the memory 41 and capable of running on the processor 40, such as a proactive parking operation management program.

[0064] In some embodiments, the processor 40 may be composed of integrated circuits, such as a single packaged integrated circuit or multiple integrated circuits with the same or different functions, including combinations of one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and various control chips. The processor 40 is the control unit of the computer device, connecting various components of the entire computer device through various interfaces and lines. It executes programs or modules stored in the memory 41 (e.g., executing proactive parking operation management programs) and calls data stored in the memory 41 to perform various functions of the computer device and process data.

[0065] The memory 41 includes at least one type of readable storage medium, including flash memory, portable hard drive, multimedia card, card-type memory (e.g., SD or DX memory), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 41 can be an internal storage unit of a computer device, such as a portable hard drive. In other embodiments, the memory 41 can be an external storage device of a computer device, such as a plug-in portable hard drive, Smart Media Card (SMC), Secure Digital (SD) card, Flash Card, etc. Furthermore, the memory 41 can include both internal and external storage units of the computer device. The memory 41 can be used not only to store application software and various types of data installed on the computer device, such as the code of database configuration connection programs, but also to temporarily store data that has been output or will be output.

[0066] The communication bus 42 can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. This bus can be divided into an address bus, a data bus, a control bus, etc. The bus is configured to enable communication between the memory 41 and at least one processor 40, etc.

[0067] The communication interface 43 is used for communication between the aforementioned computer device and other devices, including a network interface and a user interface. Optionally, the network interface may include a wired interface and / or a wireless interface (such as a Wi-Fi interface, Bluetooth interface, etc.), typically used to establish communication connections between the computer device and other computer devices. The user interface may be a display, an input unit (such as a keyboard), and optionally, the user interface may also be a standard wired interface or a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, or an OLED (Organic Light-Emitting Diode) touchscreen, etc. The display may also be appropriately referred to as a screen or display unit, used to display information processed in the computer device and to display a visual user interface.

[0068] Figure 4 A computer device with components is shown, which will be understood by those skilled in the art. Figure 4 The structure shown does not constitute a limitation on the computer device and may include fewer or more components than shown, or combine certain components, or have different component arrangements.

[0069] For example, although not shown, the computer device may also include a power supply (such as a battery) to power various components. Preferably, the power supply can be logically connected to the at least one processor 40 through a power management device, thereby enabling functions such as charging management, discharging management, and power consumption management. The power supply may also include one or more DC or AC power supplies, recharging devices, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components. The computer device may also include various sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be described in detail here.

[0070] It should be understood that the embodiments described are for illustrative purposes only and are not limited to this structure in terms of the scope of the patent invention.

[0071] The database configuration linker stored in the memory 41 of the computer device is a combination of multiple computer programs, which, when run in the processor 40, can achieve the following: When a finger touches the touchpad, the user's current touch gesture is detected, and the gesture-shortcut mapping table is extracted from the mobile device through the NFC communication function between the touchpad and the mobile device; The local gesture-command mapping table of the touchpad is integrated with the gesture-shortcut command mapping table to obtain a total gesture-command mapping table, and it is determined whether the current touch gesture can be matched in the total gesture-command mapping table; When the current touch gesture cannot be matched in the overall gesture-command mapping table, calculate the gesture forgetting score for each gesture record in the overall gesture-command mapping table; Based on the gesture forgetting score, the user's weakened memory gestures are identified in the total gesture-command mapping table, and the target shortcut command corresponding to the weakened memory gestures in the total gesture-command mapping table is queried. A programmable shortcut mapping is implemented between the memory-weakening gesture and the target shortcut command to obtain the shortcut command mapping result.

[0072] Specifically, the processor 40's implementation method of the above-mentioned computer program can be found in [reference needed]. Figure 1 The descriptions of the relevant steps in the corresponding embodiments are not repeated here.

[0073] Furthermore, if the modules / units integrated into the computer device are implemented as software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium. The storage medium can be volatile or non-volatile. For example, the computer-readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a portable hard drive, a magnetic disk, an optical disk, a computer memory, or a read-only memory (ROM).

[0074] It will be apparent to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.

[0075] Finally, it should be noted that in the above embodiments, each embodiment can be combined with each other or independent. Deleting any one of them will not affect the technical implementation of other embodiments. The above embodiments are only used to illustrate the technical solutions of the present invention and not to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

Claims

1. A method for programmable shortcut command mapping for a touchpad, the method comprising: The method comprises: detecting a current touch gesture of a user when a finger touches the touchpad, extracting a gesture-shortcut instruction mapping table from the mobile device through an NFC communication function between the touchpad and the mobile device; integrating a local gesture-instruction mapping table of the touchpad and the gesture-shortcut instruction mapping table to obtain a total gesture-instruction mapping table, and determining whether the current touch gesture can be matched in the total gesture-instruction mapping table; when the current touch gesture cannot be matched in the total gesture-instruction mapping table, calculating a gesture forgetting score of each gesture record in the total gesture-instruction mapping table; based on the gesture forgetting score, identifying a memory-weakened gesture of the user in the total gesture-instruction mapping table, and querying a target shortcut instruction corresponding to the memory-weakened gesture in the total gesture-instruction mapping table; realizing programmable shortcut instruction mapping between the memory-weakened gesture and the target shortcut instruction to obtain a shortcut instruction mapping result.

2. The programmable shortcut command mapping method for a touchpad as claimed in claim 1, wherein, The method for identifying the memory-weakened gesture of the user in the total gesture-instruction mapping table based on the gesture forgetting score comprises: obtaining a basic similarity between the current touch gesture and each gesture record in the total gesture-instruction mapping table; calculating a memory-weakened threshold value of the basic similarity according to the gesture forgetting score; based on a size comparison result between the basic similarity and the memory-weakened threshold value, identifying the memory-weakened gesture of the user in the total gesture-instruction mapping table.

3. The programmable shortcut command mapping method for a touchpad as claimed in claim 2, wherein, The method for calculating the memory-weakened threshold value of the basic similarity according to the gesture forgetting score comprises: configuring a basic matching threshold value and a maximum fault tolerance threshold value of the gesture forgetting score; taking the basic matching threshold value as a basic threshold value amount; taking the maximum fault tolerance threshold value as a fault tolerance upper limit amount; taking the gesture forgetting score as a decay coefficient; calculating a difference amount between the fault tolerance upper limit amount and the basic threshold value amount; multiplying the difference amount by the decay coefficient to obtain a relaxation amount; adding the relaxation amount and the basic threshold value amount to obtain the memory-weakened threshold value.

4. The programmable shortcut command mapping method for a touchpad as claimed in claim 2, wherein, The method for identifying the memory-weakened gesture of the user in the total gesture-instruction mapping table based on the size comparison result between the basic similarity and the memory-weakened threshold value comprises: when the size comparison result is that the basic similarity is not less than the memory-weakened threshold value, identifying a candidate gesture record corresponding to the basic similarity in the total gesture-instruction mapping table; calculating a comprehensive confidence of each candidate gesture record by using the gesture forgetting score and the basic similarity; taking a candidate gesture record corresponding to a maximum value in the comprehensive confidence as the memory-weakened gesture.

5. The programmable shortcut command mapping method for a touchpad as claimed in claim 4, wherein, After identifying the memory-weakened gesture of the user in the total gesture-instruction mapping table, the method further comprises: recording the current touch gesture of the user in the total gesture-instruction mapping table with the same shortcut instruction mapping identity as the memory-weakened gesture to form a total gesture-instruction mapping table with multiple gestures and a single shortcut instruction.

6. The programmable shortcut command mapping method for a touchpad as claimed in claim 4, wherein, After failing to identify the memory-weakened gesture of the user in the total gesture-instruction mapping table, the method further comprises: record the candidate gesture as a default recommended gesture record; output the default recommended gesture record to a user interface to detect whether a confirmation operation for the default recommended gesture record is received within a preset waiting time length; when the confirmation operation is not received, open a programmable shortcut instruction mapping entry to the user to wait for the user to complete a new gesture-shortcut instruction mapping; when the confirmation operation is received, record the default recommended gesture record as a memory-weakened gesture.

7. The programmable shortcut command mapping method for a touchpad as claimed in claim 1, wherein, the score calculation module is configured to calculate a gesture forgetting score of each gesture record in the total gesture-instruction mapping table when the current touch gesture cannot be matched in the total gesture-instruction mapping table; the time interval between the last review time of the gesture record and the current time is taken as a time interval quantity according to a preset Ebbinghaus forgetting rule; a preset half-life constant is taken as a decay control quantity; a natural constant is taken as a base constant; the time interval quantity is divided by the decay control quantity to obtain a ratio quantity; the ratio quantity is taken as a negative value to obtain a negative ratio quantity; power operation is performed on the negative ratio quantity with the base constant as the base to establish a gesture forgetting model of each gesture record; the gesture forgetting score of each gesture record is output through the gesture forgetting model.

8. The programmable shortcut command mapping method for a touchpad as claimed in claim 1, wherein, the integrating the local gesture-instruction mapping table of the touchpad and the gesture-shortcut instruction mapping table to obtain a total gesture-instruction mapping table comprises: opening a merging area between the local gesture-instruction mapping table and the gesture-shortcut instruction mapping table in a static random access memory of the touchpad; extracting gesture-shortcut instruction mapping pairs of different gesture records between the local gesture-instruction mapping table and the gesture-shortcut instruction mapping table; storing the local gesture-instruction mapping table and the gesture-shortcut instruction mapping pairs into the merging area to obtain a total gesture-instruction mapping table.

9. A programmable shortcut command mapping device for a touchpad, comprising: the device comprises: a table extraction module configured to detect a current touch gesture of a user when a finger touches a touchpad, and extract a gesture-shortcut instruction mapping table from a mobile device through NFC communication function between the touchpad and the mobile device; a gesture matching module configured to integrate a local gesture-instruction mapping table of the touchpad and the gesture-shortcut instruction mapping table to obtain a total gesture-instruction mapping table, and determine whether the current touch gesture can be matched in the total gesture-instruction mapping table; a score calculation module configured to calculate a gesture forgetting score of each gesture record in the total gesture-instruction mapping table when the current touch gesture cannot be matched in the total gesture-instruction mapping table; an instruction query module configured to identify a memory-weakened gesture of the user in the total gesture-instruction mapping table based on the gesture forgetting score, and query a target shortcut instruction corresponding to the memory-weakened gesture in the total gesture-instruction mapping table; an instruction mapping module configured to realize programmable shortcut instruction mapping between the memory-weakened gesture and the target shortcut instruction to obtain a shortcut instruction mapping result.

10. A computer device, comprising: the computer device comprises: at least one processor; and a memory connected in communication with the at least one processor; wherein The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to perform the programmable shortcut instruction mapping method of the touchpad as claimed in any one of claims 1 to 8.