APM data acquisition and privacy protection display method in off-line state
By using the main control microcontroller to record and calculate the APM value in the offline state, the problem of privacy leakage and function limitation when obtaining the APM value in the existing technology is solved, and the security of user operations, real-time feedback and personalized management are realized, which is suitable for Gaming and office scenarios provide a reference standard for comparison with professional players.
Patent Information
- Application Number
- CN202410629812.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-21
- Publication Date
- 2024-08-30
AI Technical Summary
The existing technology has privacy leaks, security risks, and functional limitations when obtaining and displaying APM values. It cannot effectively determine whether the user's operation is within the range of valid APM records, and it cannot compare the user's APM value with the level of professional players.
The main control microcontroller records the effective information of the keyboard or mouse in the offline state, calculates the APM value in real time, displays and compares it locally, provides a customized data collection method, and uses a filtering mechanism to ignore non-game related operations, directly in the MCU Calculate and display the APM value on the end to avoid the risk of leakage during data transmission.
It enhances the security of user information and real-time operation feedback, provides personalized APM data collection methods, helps users improve their operation level, ensures the privacy and accuracy of data, and is suitable for games and office scenarios.
Smart Images

Figure CN118567946A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing and analysis technology, and in particular to an offline APM data collection and privacy protection display method. Background Art
[0002] In the prior art, keyboards and mice are daily peripheral products widely used in office and gaming fields. The APM (Actions Per Minute) value, i.e. the number of operations per minute, is an important indicator for measuring the user's operation frequency, especially in the gaming field, where it is important for evaluating the player's operation level and reaction speed.
[0003] However, the current methods of obtaining APM data mainly rely on computer-side software, which needs to obtain all user input information and record it on the computer. This method has a significant risk of privacy leakage because all user operation data is recorded and may be accessed by third-party software or personnel. In addition, this method may be regarded as bad cheating behavior in the game environment, resulting in the player's account being banned and other penalties.
[0004] Although some technologies try to obtain keyboard and mouse status data through API interfaces to reduce the risk of directly obtaining user input information, these methods still cannot completely avoid privacy leakage. Therefore, it is particularly important to develop a method that can securely obtain and display user APM values offline.
[0005] Furthermore, the prior art lacks an effective way to determine whether the user's operation is within the valid APM record range, and cannot compare the user's APM value with the level of professional players, thereby providing users with a reference standard for improving their own operation level.
[0006] See comparative document 1, the invention patent with application publication number CN112791387A, which discloses a data processing method, device and medium based on mouse and keyboard, and uses an API interface to obtain data representing the status of multiple keyboards and mice. Although this method attempts to reduce the intrusion on user privacy, there are still several key problems:
[0007] 1. Data security: Although it is relatively safe to obtain data through API interfaces, the risk of data being intercepted or abused cannot be completely avoided.
[0008] 2. Functional limitations: This method may not be able to comprehensively record and analyze all valid operations of users, especially when the operation mode becomes complex or diverse.
[0009] 3. Dependence on computer software: This method still relies on computer software or drivers to process and analyze data, which increases the complexity of the system and potential security vulnerabilities.
[0010] Therefore, how to accurately obtain and display the APM value while protecting user privacy, and provide an effective way to determine whether the user's operation is within the valid APM record range, and be able to compare the user's APM value with the level of professional players, has become a technical problem to be solved by the present invention. Summary of the invention
[0011] The technical problem solved by the present invention is to provide an APM data collection and privacy protection display method in an offline state in response to the defects existing in the above-mentioned prior art, so as to solve the problems of privacy leakage, security risks and functional limitations in the current technology in obtaining and displaying APM values proposed in the above-mentioned background technology.
[0012] In order to solve the above technical problems, the technical solution adopted by the present invention is as follows:
[0013] A method for collecting and displaying APM data in an offline state with privacy protection, the method obtaining and displaying the APM value of a user in an offline state, comprising the following steps:
[0014] Step 1, recording the effective information generated by the keyboard or mouse during use, including key operations and mouse operations, through the main control microcontroller;
[0015] Step 2: Users can customize the start or stop of APM data collection. The start or stop methods include starting it through computer software, starting it through a mobile phone app, starting it through a shortcut key, or starting it automatically.
[0016] Step 3: Record the specific number of operations per minute of the user in real time, calculate the APM value based on the number of operations, and display the APM value on each port to show the user effective information;
[0017] Step 4: For gaming operations, the effective range is defined to distinguish and record the user's effective APM value, including recording and judging by commonly used game keys, mouse movement speed, and key speed;
[0018] Step 5, the user can actively trigger the judgment criteria through different operation modes to record the correctness of the information used;
[0019] Step 6: Actively obtain user information on the MCU side to calculate and display the APM value to protect user privacy.
[0020] As a further solution of the present invention, in step 4, for keyboard operations, the user's common key operations in the game, such as attack, team, stop, and building instructions, are recorded as valid data, and non-game related key inputs are ignored.
[0021] As a further solution of the present invention, in step 4, for mouse operations, the mouse movement speed and key pressing speed, as well as the number of frequent clicks of the left mouse button are recorded as standards for judging user operations and recorded.
[0022] As a further solution of the present invention, the method also includes comparing the APM value of the user with the level of professional players, providing the user with a reference standard for improving his or her own operating level.
[0023] As a further solution of the present invention, it also includes: a main control microcontroller, which is used to record the effective information of the keyboard or mouse and calculate the APM value.
[0024] As a further solution of the present invention, it also includes: a display port for displaying the APM value to the user; and a user operation trigger module for customizing the start or stop of APM data collection, and recording and judging according to user operations.
[0025] As a further solution of the present invention, the user can customize the shortcut key combination for starting and closing APM data collection to meet the personalized needs of different users.
[0026] As a further solution of the present invention, the method also includes a filtering mechanism for filtering out operation information not actively generated by the user, so as to improve the accuracy of APM data collection.
[0027] Compared with the prior art, the present invention has the following beneficial effects:
[0028] 1. By analyzing the user's habitual operation, we can judge whether the user is within the valid APM record range, display valid information on the user's product screen, including but not limited to the valid information display on the screen, and transfer the final value to the computer as the user's data. This value does not contain the user's data information, but only the user's valid value. Through this value, we can refer to the average level of professional sailors and judge whether our own frequency of use can reach the standard value. In the definition of the standard value, it can be divided into the novice period, the competent period, the master period, and the expert period. According to different values, we can judge our own standard range.
[0029] 2. Enhance the security of user information: This application obtains and processes the user's APM value offline, avoiding the security risks that may be caused by obtaining user information through computer software. All data processing and storage are completed locally, effectively preventing the leakage of user information and providing stronger protection for user privacy.
[0030] 3. Provide personalized APM data collection methods: Users can customize the start or stop of APM data collection according to their own needs, and there are various ways to start it, including through computer software, mobile phone APP, shortcut keys, and automatic start, which provides users with great convenience and flexibility.
[0031] 4. Real-time and comprehensive operation feedback: By recording and analyzing the user's keyboard and mouse operations in real time, this application can accurately calculate the user's APM value and display it on each port to provide users with real-time operation feedback. This not only helps users understand their own operation habits, but also helps users improve their operation efficiency and skill level.
[0032] 5. Dual application in gaming and office scenarios: The APM algorithm of this application is not only applicable to gaming scenarios, but also helps users improve their gaming skills by recording their effective operations in the game. At the same time, the algorithm is also applicable to office scenarios, helping users improve their work efficiency by monitoring their typing and mouse operation frequencies.
[0033] 6. Innovative user privacy protection mechanism: By actively obtaining user information on the MCU side for calculation and directly displaying the APM value on the device side, this application effectively avoids the risk of user information leakage during transmission. This innovative privacy protection mechanism ensures the security and privacy of user data.
[0034] 7. Improve user experience: This application greatly improves the user experience by providing personalized APM data collection methods, real-time operation feedback, and powerful privacy protection functions. At the same time, by providing users with effective information reference standards, it helps users more accurately evaluate their gaming level and office efficiency.
[0035] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0037] Figure 1 A schematic diagram showing the APM value that can be displayed at each port and presenting effective information to the user.
[0038] Figure 2 This is a schematic diagram of not needing to obtain and display the APM value on the computer. DETAILED DESCRIPTION
[0039] The technical solutions in the embodiments of the present invention are described clearly and completely below. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0040] See also Figure 1 —2. In an embodiment of the present invention, a method for collecting and displaying APM data in an offline state with privacy protection is provided. The method obtains and displays the APM value of a user in an offline state, comprising the following steps:
[0041] Step 1, recording the effective information generated by the keyboard or mouse during use, including key operations and mouse operations, through the main control microcontroller;
[0042] Step 2: Users can customize the start or stop of APM data collection. The start or stop methods include starting it through computer software, starting it through a mobile phone app, starting it through a shortcut key, or starting it automatically.
[0043] Step 3: Record the specific number of operations per minute of the user in real time, calculate the APM value based on the number of operations, and display the APM value on each port to show the user effective information;
[0044] Step 4: For gaming operations, the effective range is defined to distinguish and record the user's effective APM value, including recording and judging by commonly used game keys, mouse movement speed, and key speed;
[0045] Step 5, the user can actively trigger the judgment criteria through different operation modes to record the correctness of the information used;
[0046] Step 6: Actively obtain user information on the MCU side to calculate and display the APM value to protect user privacy.
[0047] In step 4, for keyboard operations, the user's common key operations in the game, such as attack, team, stop, and building instructions, are recorded as valid data, and non-game related key inputs are ignored.
[0048] In step 4, for mouse operation, the mouse movement speed and key pressing speed, as well as the number of frequent clicks of the left mouse button are recorded as the standard for judging the user operation and recorded.
[0049] The method also includes comparing the user's APM value with the level of professional players, providing the user with a reference standard for improving his or her own operating level.
[0050] As a further solution of the present invention, it also includes: a main control microcontroller, which is used to record the effective information of the keyboard or mouse and calculate the APM value.
[0051] As a further solution of the present invention, it also includes: a display port for displaying the APM value to the user; and a user operation trigger module for customizing the start or stop of APM data collection, and recording and judging according to user operations.
[0052] Users can customize the shortcut key combinations for starting and closing APM data collection to meet the personalized needs of different users.
[0053] The method also includes a filtering mechanism for filtering out operation information not actively generated by the user, so as to improve the accuracy of APM data collection.
[0054] Embodiment 1:
[0055] This embodiment provides a specific application of an offline APM data collection and privacy protection display method. The method is mainly used to obtain and display the user's APM value in an offline state, aiming to solve the privacy leakage and operation level evaluation problems existing in the prior art when obtaining APM data.
[0056] First, the user uses the main control microcontroller to record the effective information such as key operations and mouse operations generated during the use of the keyboard or mouse. This information is processed locally without uploading to a computer or other device, thus effectively protecting user privacy.
[0057] Users can customize the start or stop of APM data collection according to their needs. For example, before the game starts, users can turn on the APM data collection function through computer software or mobile phone APP, or set a specific shortcut key combination to quickly start or stop the function. This flexibility allows users to operate according to their actual situation.
[0058] Once the APM data collection function is activated, the main control microcontroller will record the specific number of operations per minute of the user in real time and calculate the APM value based on these operations. The APM value will then be displayed to the user on each display port so that the user can understand his or her operation frequency in real time.
[0059] For game-related operations, this method distinguishes and records the user's effective APM value by defining an effective range. Specifically, for keyboard operations, the system records the user's common key operations in the game, such as attack, team, stop, building instructions, etc., and records them as valid data. At the same time, the system ignores key inputs that are not related to the game to improve the accuracy of the data. For mouse operations, the system records the mouse movement speed and key speed, as well as the number of frequent clicks of the left mouse button, as criteria for judging user operations and records them.
[0060] In addition, users can actively trigger judgment criteria through different operation modes to verify the correctness of the recorded information. This mechanism helps ensure the accuracy of data and provides users with more control.
[0061] It is worth mentioning that this method also includes the function of comparing the user's APM value with the level of professional players. Through this comparison, the user can understand the gap between his or her own operation level and that of professional players, thereby providing a reference standard for improving his or her own operation level.
[0062] Specifically, the implementation of this function relies on a pre-established database of professional player APM values or reference standards. The following details how to implement this function so that ordinary technicians in this field can implement it:
[0063] 1. Construction of a database of professional player APM values: First, by collecting and analyzing a large number of professional players' in-game operation data, a database of professional player APM values is established. This database can contain the APM value range or average value of professional players in various games and at different difficulty levels. The database needs to be updated regularly to reflect the latest trends in the gaming industry and changes in the operation level of professional players.
[0064] 2. Calculation and storage of user APM values: Whenever a user enables the APM data collection function, the system will record the user's operation data in real time and calculate the APM value. These APM values can be stored in the user's personal profile for subsequent retrieval and comparison.
[0065] 3. Implementation of the comparison function: Select the game and difficulty level: Users first need to select the game they are playing and the difficulty level of the game. This information will be used to retrieve the corresponding reference standard from the professional player APM value database.
[0066] 4. Retrieve the APM value of professional players: The system retrieves the corresponding APM value range or average value of professional players from the database based on the game and difficulty level selected by the user.
[0067] 5. Comparison operation: Compare the user's APM value with the retrieved professional player's APM value. This comparison can be presented to the user in a variety of ways, such as graphically showing the position of the user's APM value in the professional player range, or directly showing the percentage difference between the user's APM value and the professional player average.
[0068] 6. Provide feedback and suggestions: Based on the comparison results, the system can provide feedback and suggestions to the user. For example, if the user's APM value is far below the professional player level, the system can suggest that the user increase practice time or seek professional guidance. On the contrary, if the user's APM value is close to or exceeds the professional player level, the system can encourage the user to maintain the current state or challenge a more difficult game.
[0069] 7. User interface design: In order to facilitate user operation and understanding of comparison results, the user interface should be designed to be intuitive and easy to use. For example, a bar chart or scatter plot can be used to show the comparison results between the user's APM value and the professional player's APM value, and color or animation can be used to highlight the difference. In addition, the user interface should also contain clear instructions and explanations to help users understand the meaning of the comparison results and how to adjust their operation strategies based on the results.
[0070] By implementing this function, this method not only provides users with a tool to evaluate their own operation level, but also provides them with a reference standard for improving their own operation level. Users can develop training plans, adjust game strategies or seek professional guidance based on the comparison results of their APM values with those of professional players, thereby continuously improving their game skills.
[0071] In general, the offline APM data collection and privacy protection display method provided by this embodiment can not only safely obtain and display the user's APM value in an offline state, but also effectively determine whether the user's operation is within the valid APM record range and compare it with the level of professional players. This method not only protects the user's privacy, but also provides the user with a practical operation level evaluation tool.
[0072] Embodiment 2:
[0073] This embodiment provides a method for securely obtaining and displaying the user's APM value in an offline state, with particular attention to user privacy protection and operation level assessment. The method is mainly applied to keyboards and mice, and the main control microcontroller records the valid information generated by the user during use, and calculates the APM value in real time.
[0074] First, when the user uses the keyboard or mouse, the main control microcontroller will record all valid key operations and mouse operations. This information is processed locally and will not be uploaded to the computer or other devices, thus ensuring the absolute security of user privacy. Users can customize the start or stop of APM data collection, and the startup methods are flexible and diverse, including starting through computer software, mobile phone APP, shortcut keys, and automatic start. This design fully considers the user's usage habits and personalized needs.
[0075] Once APM data collection is started, the main control microcontroller will record the specific number of operations per minute of the user in real time, and accurately calculate the APM value based on these operations. This value will be displayed to the user through various display ports so that the user can understand his or her operation frequency and hand speed in real time.
[0076] For game-related operations, this method accurately records the user's effective APM value by defining an effective range. For keyboard operations, the system records the user's common key operations in the game, such as attack, team, stop, building instructions, etc., and records them as valid data. At the same time, non-game related key inputs will be ignored to improve data accuracy. For mouse operations, the system records the mouse movement speed and key speed, as well as the number of frequent clicks of the left mouse button, as criteria for judging user operations, and records them, which helps avoid being judged as a plug-in.
[0077] In addition, users can actively trigger the judgment criteria through different operation modes to verify the correctness of the recorded information. For example, users can enter the game mode through a combination of keys such as "FN+win" to start APM recording. When not in the game, the APM recording can be turned off through the shortcut key. This mechanism not only protects user privacy, but also provides users with a practical operation level assessment tool.
[0078] At the same time, this method is not only widely used in the field of games, but also suitable for office text input and other scenarios. Users can effectively confirm their own input text or mouse usage frequency standards by checking the APM value, thereby improving their work efficiency and operation level.
[0079] In general, the method provided in this embodiment securely obtains and displays the user's APM value in an offline state, while protecting the user's privacy and providing the function of operating level evaluation. This method does not need to obtain and display the APM value on the computer side, but directly displays it to the user through the display screen on the keyboard, mouse or receiver, providing the user with a convenient and practical operating level reference standard.
[0080] Embodiment 3:
[0081] The way to obtain all valid information of users offline is to use the APM value generated by the keyboard or mouse during use, and record the valid information of the keystrokes through the main control microcontroller. This method can avoid the use of software on the computer side, which may make user information safer. Users can customize the start or stop of APM data collection. There are several ways to start or stop it:
[0082] 1. Open through computer software;
[0083] 2. Open via mobile APP;
[0084] 3. Open via shortcut keys;
[0085] 4. Automatically start and other methods to record user APM data collection.
[0086] according to Figure 1 As shown, the APM value can be displayed on each port and present effective information to the user.
[0087] Among them, the effective algorithm of APM is:
[0088] The conventional operation algorithm records the number of operations per minute in real time to calculate the user's APM value. This can also be used as a record of the user's daily operation. In this record, the user's typing or input keystroke speed is effectively displayed. The user's hand speed is monitored in real time per minute to better improve the user's basic judgment during use and determine whether the input is at a normal level.
[0089] When collecting user information offline, the normal operation of the game category is used to record whether the user's information during the game is real and valid, and the user is recorded and collected in the following ways to see if the user is not within the valid information range. The following algorithms are used to record the user's effective AMP value for the game category:
[0090] 1. Define the valid range by game category, and use the commonly used game buttons to determine whether the data collected by the user is valid;
[0091] The position located by the software in the matrix recorded in real time by the single-chip computer calculation inside the keyboard is the effective point, and the real-time recording of the keystrokes, for example, in the game of StarCraft, 1 to 9 are required for grouping information, A is the attack command, H key controls the team, S is for stop, B is for building, and some conventional keys that need to be quickly located are effective keys for the game. Such keys are used as recording points. If the non-game key input is an invalid key, it is used to record and judge the actual effective keystrokes of the user per minute during the game, with 2 to 3 letter points as the actual record, to reduce the invalid commands of the user when typing or other communication, so as to judge it as valid data. And display the valid information on the keyboard screen.
[0092] 2. Use the speed of moving the mouse and the speed of keystrokes to determine whether the user's judgment is a standard memory record of the game;
[0093] The mouse is frequently operated during the game, and the action is to move and hold down the left button to drag or long press the button to proceed to the next step. Frequent clicking of the left mouse button more than once is recorded as a point. The microcontroller inside the mouse is used to calculate and record the number of button presses, and at the same time record the relative amount of mouse movement. The two can be displayed separately, and effective information can be displayed on the screen of the mouse or receiver.
[0094] 3. Actively trigger the user to use different operation modes as the judgment standard to record the correctness of the information used by the user.
[0095] The user triggers the start by pressing a combination of keys, such as FN+win on the keyboard to enter the game mode, or other user-defined shortcut operations, such as K4+K5 on the mouse to start and enter the game APM recording mode. When not in the game, you can use the shortcut key to turn off AMP recording.
[0096] In terms of user privacy protection, by actively obtaining user information for calculation on the MCU side, it can effectively protect users during use. Through other software, it can detect and record the user's information and transmit it to the computer. It can record and display the user's APM value on the device side without driver, and display the user's APM value through the screen on the keyboard, mouse or mouse receiver. After professional players provide users with effective information reference standards, they can use the mouse + keyboard value as a reference to determine their own gaming level.
[0097] The present invention can effectively protect user privacy, and judge whether the user is within the effective APM record range by analyzing the user's habitual operation, displaying effective information on the user's product screen, including but not limited to the effective information display on the screen, and transmitting the final value to the computer as the user's data for storage. This value does not contain the user's data information, but only contains the user's effective value. Through this value, the average level of professional sailors can be referred to, and whether one's own frequency of use can reach the standard value can be judged. In the definition of the standard value, it can be divided into the novice period, the competent period, the master period, and the expert period. According to different values, a standard range of oneself can be judged.
[0098] 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 features of the present invention. Therefore, the embodiments should be considered exemplary and non-restrictive in all respects, and the scope of the present invention is defined by the appended claims rather than the above description, and it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims be included in the present invention.
Claims
1. A method for collecting and displaying APM data in an offline state with privacy protection, characterized in that: The method obtains and displays the APM value of the user in an offline state, comprising the following steps: Step 1, recording the effective information generated by the keyboard or mouse during use, including key operations and mouse operations, through the main control microcontroller; Step 2: Users can customize the start or stop of APM data collection. The start or stop methods include starting it through computer software, starting it through a mobile phone app, starting it through a shortcut key, or starting it automatically. Step 3: Record the specific number of operations per minute of the user in real time, calculate the APM value based on the number of operations, and display the APM value on each port to show the user effective information; Step 4: For gaming operations, the effective range is defined to distinguish and record the user's effective APM value, including recording and judging by commonly used game keys, mouse movement speed, and key speed; Step 5, the user can actively trigger the judgment criteria through different operation modes to record the correctness of the information used; Step 6: Actively obtain user information on the MCU side to calculate and display the APM value to protect user privacy.
2. According to the method for APM data collection and privacy protection display in offline state in claim 1, it is characterized in that: In step 4, for keyboard operations, the user's common key operations in the game, such as attack, team, stop, and building instructions, are recorded as valid data, and non-game related key inputs are ignored.
3. The method for collecting and displaying APM data in an offline state and protecting privacy according to claim 1, characterized in that: In step 4, for mouse operation, the mouse movement speed and key pressing speed, as well as the number of frequent clicks of the left mouse button are recorded as the standard for judging the user operation and recorded.
4. The method for APM data collection and privacy protection display in an offline state according to claim 1, characterized in that: The method also includes comparing the user's APM value with the level of professional players, providing the user with a reference standard for improving his or her own operating level.
5. The method for APM data collection and privacy protection display in an offline state according to claim 1, characterized in that: Also includes: The main control microcontroller is used to record the effective information of the keyboard or mouse and calculate the APM value.
6. The method for collecting and displaying APM data in an offline state with privacy protection according to claim 1, characterized in that: Also includes: Display port, used to display the APM value to the user; And the user operation trigger module is used to customize the start or stop of APM data collection, and record and judge according to user operations.
7. The method for collecting and displaying APM data in an offline state with privacy protection according to claim 1, characterized in that: Users can customize the shortcut key combinations for starting and closing APM data collection to meet the personalized needs of different users.
8. The method for collecting and displaying APM data in an offline state with privacy protection according to claim 1, characterized in that: The method also includes a filtering mechanism for filtering out operation information not actively generated by the user to improve the accuracy of APM data collection.
