A dual-purpose computing method and system based on keyboard input event multiplexing
By capturing keyboard input events at the system layer and generating independent business and computing data streams, keyboard input events can be used for dual purposes. This solves the problems of single value of keyboard input and unstable computing power supply, and provides a stable, low-cost distributed computing power supply and privacy protection.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- 张宇
- Filing Date
- 2026-03-04
- Publication Date
- 2026-06-05
AI Technical Summary
In existing technologies, keyboards are merely input devices with limited value. They cannot provide a stable and low-cost computing power supply, and there is a risk of privacy information leakage. Furthermore, they cannot simultaneously enable business input and scientific computing.
By capturing keyboard input events at the system layer, generating independent business data streams and computational data streams, and performing distributed scientific computing after anonymization processing, user privacy and security are ensured, and keyboard input events can be used for dual purposes.
It enables simultaneous business input and scientific computing, forming a stable distributed computing power supply, reducing costs, ensuring user privacy and security, and is suitable for office scenarios in multiple industries.
Smart Images

Figure CN122152140A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the fields of computer input technology, distributed computing technology, and green computing technology, specifically to a method and system for dual-reusing keyboard input events to simultaneously realize business input and scientific computing. Background Technology
[0002] In existing computer application technologies, the keyboard, as the core input device, has only one function: to provide text / command input for various applications. The user's keyboard typing events only serve specific business scenarios such as current office work and entertainment. The encoded information contained in the input events is not fully utilized, and the device has a single value.
[0003] At the same time, the demand for computing power in fields such as aerospace trajectory calculation, meteorological simulation, scientific simulation, and AI model training is increasing. The current supply of computing power mainly relies on centralized supercomputing centers and cloud computing platforms, which have many shortcomings: on the one hand, centralized supercomputing centers have high construction costs and high operating energy consumption, and cloud computing platforms charge based on the amount of computing power used, resulting in high long-term costs; on the other hand, existing distributed computing technologies mostly rely on idle computer resources, and the output of computing power is random and unstable, making it impossible to form a continuous and stable supply of computing power.
[0004] In addition, existing data reuse technologies are mostly focused on secondary analysis of data content, which can easily lead to the leakage of user privacy information. Furthermore, they do not achieve the synchronous reuse of "business functions and computing functions", and cannot achieve computing power output while ensuring normal user use.
[0005] In summary, there is an urgent need for a technical solution that can fully leverage the value of keyboard input devices, achieve stable computing power supply at low cost, and take into account privacy and security, thereby solving the dual problems of the singular value of input devices and the lack of computing power demand. Summary of the Invention (a) Purpose of the invention
[0006] The purpose of this invention is to overcome the shortcomings of the prior art and provide a dual-purpose computing method and system based on keyboard input event reuse. This method enables business input and scientific computing to be completed simultaneously with a single keyboard keystroke. Without changing user operating habits, increasing hardware / energy costs, or leaking user privacy, it transforms the daily input behavior of massive office devices into low-cost, green, and stable distributed computing power, providing continuous computing power support for public scientific computing tasks. (II) Technical Solution
[0007] To achieve the above-mentioned objectives, this invention provides two core technical solutions: a dual-purpose calculation method based on keyboard input event multiplexing, and a system for implementing the method.
[0008] This method relies on automated background operation at the system level, without affecting the user's front-end office operations. Specifically, it includes the following steps: Step 1: Keyboard Event Capture: The system level captures the user's keyboard key events in real time. The capture process is low-latency and complete, ensuring fast response time for front-end key input and not affecting the user's normal office work; Step 2: Data Copying and Splitting: The captured single keyboard key event data is copied to generate two independent data streams without data interaction: a business data stream and a dedicated computing data stream; Step 3: Business Input Implementation: The business data stream is directly sent to the currently activated office application (including but not limited to Excel, Word, various enterprise business systems, and government office systems) to complete normal text / business instruction input, ensuring the smooth operation of the user's work; Step 4: Computational Data Desensitization and Parameter Extraction: The dedicated computing data stream is desensitized, removing all information related to user privacy, and only key codes / key values are extracted as calculation parameters, without uploading any original business text content; Step 5: Distributed Scientific Computing: The desensitized key codes / key values are then processed to extract the data from the dedicated computing data stream. Key-value calculation parameters are pushed to distributed public computing nodes to participate in public scientific computing tasks as calculation components; Step 6: Calculation result summary: Distributed public computing nodes summarize the calculation parameters of multiple terminals and users, complete the overall public scientific computing task, and output complete and accurate calculation results through the result summary module.
[0009] This system operates in the background and does not consume foreground system resources. It consists of five core modules that work together and operate independently. The functions of each module are as follows: Module 1: Input Capture Module: Deployed at the system layer, it captures user keyboard key events in real time without omission, featuring low latency to ensure that it does not affect foreground key input response; Module 2: Data Distribution Module: Connected to the Input Capture Module, it copies the captured key event data and distributes it into independent business data streams and computation-specific data streams; Module 3: Business Input Module: Connected to the Data Distribution Module, it pushes the business data stream to the currently active office application to enable normal text / business input functions; Module 4: De-identified Calculation Module: Connected to the Data Distribution Module, it de-identifies the computation-specific data stream, extracting only the key codes / key values as calculation parameters, and pushes the parameters to the distributed computing nodes; Module 5: Distributed Task Aggregation Module: Connected to the De-identified Calculation Module, it aggregates calculation parameters from multiple terminals and users to complete public scientific computing tasks and output complete calculation results. (III) Beneficial Effects of the Invention
[0010] This invention achieves simultaneous business input and scientific computing by double-reusing and securely processing keyboard input events, offering the following significant advantages compared to existing technologies: Realizing the reuse of input device value: Breaking through the single value boundary of the traditional keyboard as just an input device, allowing a single keystroke to generate business value and computing value at the same time, fully tapping the potential value of existing office equipment; Creating a low-cost, green computing power model: No need to invest heavily in building / leasing supercomputing or cloud computing resources, no need to modify existing office equipment, computing power can be generated using users' daily office operations, with zero additional hardware costs and zero energy consumption increments, which aligns with the green and low-carbon development concept. Protecting user privacy and office security: Adopting a two-layer security design of "dual data flow isolation + computational data anonymization", business data flow only flows locally, and computational data flow only extracts key codes without privacy attributes, thereby preventing the leakage of user office content and privacy information from the bottom layer and ensuring office security; Forming stable large-scale distributed computing power: All office computers equipped with conventional operating systems can be directly adapted to this invention, which can quickly form a large-scale distributed computing power cluster. The computing power output is synchronized with office activities, and has continuity and stability, solving the problem of randomness in existing distributed computing power. Highly applicable and easy to implement and promote: This invention is a software method / system that runs in the background, requiring no additional operation from users or technical modifications from enterprises / institutions. It is adaptable to office scenarios across all industries and various public scientific computing scenarios, making it easy to implement and promote. Attached Figure Description
[0011] Figure 1 is a schematic diagram of the core process of this invention; Explanation of reference numerals: 1 - User keyboard operation module, 2 - System layer keyboard event capture module, 3 - Data splitting / copying module, 4 - Business data flow, 5 - Calculation-specific data flow, 6 - Current office application, 7 - Desensitization processing module, 8 - Distributed public computing node, 9 - Calculation result summarization module. Detailed Implementation
[0012] The specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings. The scope of protection of the present invention is not limited to the following specific embodiments. Example 1
[0013] This embodiment provides a dual-purpose computing method based on keyboard input event multiplexing, applicable to enterprise financial office scenarios, while also providing distributed computing power for aerospace trajectory calculation. The specific implementation process is as follows: When corporate finance personnel compile financial statements in Excel, they can input report content such as numbers, text, and symbols by typing on the keyboard. The system-level input capture module captures every keyboard key press event in real time. The data splitting module copies the captured key event data into two data streams: one is a business data stream, and the other is a dedicated computing data stream. Business data is directly pushed to the current Excel application to complete the text / numerical input of financial statements, without affecting the report preparation work of financial personnel; The desensitization calculation module desensitizes the dedicated data stream for calculation, extracting only the ASCII code corresponding to each key. For example, the key "K" is extracted as code "75" and the key "0" is extracted as code "48". No original report content is extracted. The extracted ASCII codes of the keys are pushed to the distributed public computing nodes for aerospace trajectory calculation, serving as tiny parameter components for trajectory calculation and participating in the precise calculation of the rocket launch trajectory. The distributed public computing node aggregates the key-coded calculation parameters of the enterprise and other multiple terminals and users to complete the overall rocket launch trajectory calculation, and outputs the complete trajectory calculation results through the calculation result aggregation module. Example 2
[0014] This embodiment provides a computing system for implementing the above method, deployed on a government office computer terminal, and simultaneously providing distributed computing power for meteorological numerical simulation. The system consists of an input capture module, a data distribution module, a business input module, a de-identification calculation module, and a distributed task aggregation module. The specific operation process is as follows: When government staff draft official documents in the government office system, the input capture module captures keyboard key events in real time at the system level with a capture delay of less than 0.01 seconds, which does not affect the normal input of staff. The data splitting module copies and splits the captured key event data into a business data stream and a dedicated computing data stream. The two data streams do not interact with each other and are independent of each other. The business input module pushes business data streams to the government office system to complete the text input of official documents and ensure the normal operation of government office work. The desensitization calculation module desensitizes the dedicated data stream for calculation, extracts only the key values of the buttons as calculation parameters, and does not upload any original content of official documents, thus preventing the leakage of government information; The desensitized key value parameters are pushed to the distributed public computing node of meteorological numerical simulation to participate in the numerical calculation of typhoon path prediction. The distributed task aggregation module aggregates the calculation parameters from various government and enterprise office terminals, completes the numerical simulation of the overall typhoon path prediction, and outputs accurate typhoon path prediction results.
[0015] The specific implementation of the present invention is not limited to the two embodiments described above. Any technical solution that adopts the core ideas of keyboard event double reuse, data desensitization and isolation, and distributed computing power aggregation of the present invention, and makes simple adjustments to the scenario, parameters, and modules, falls within the protection scope of the present invention.
Claims
1. A dual-purpose computing method based on keyboard input event multiplexing, characterized in that, The process includes the following steps: Step 1: The system layer captures the user's keyboard key events in real time; Step 2: The captured keyboard key event data is copied and split into independent business data streams and computation-specific data streams; Step 3: The business data stream is sent to the application currently activated by the user to complete normal text / business input; Step 4: The computation-specific data stream is anonymized, extracting only the key codes / key values as computation parameters; Step 5: The anonymized computation parameters are pushed to distributed public computing nodes to participate in public scientific computing tasks; Step 6: The distributed public computing nodes aggregate the computation parameters from multiple terminals, complete the computation task, and output the computation results.
2. The dual-purpose computing method based on keyboard input event multiplexing according to claim 1, characterized in that: The keyboard key event capture process described in step 1 is low-latency, complete, and does not affect the user's foreground key input response.
3. The dual-purpose computing method based on keyboard input event multiplexing according to claim 1, characterized in that: The desensitization process described in step 4 only extracts the key codes / key values and does not upload any original user business text content.
4. The dual-purpose computing method based on keyboard input event multiplexing according to claim 1, characterized in that: The public scientific computing tasks mentioned in step 5 include, but are not limited to, aerospace trajectory calculation, meteorological numerical simulation, physical simulation, AI model training, and public scientific research project data calculation.
5. A dual-purpose computing system based on keyboard input event multiplexing that implements the method of any one of claims 1-4, characterized in that: The system is a background operating system, consisting of 5 independent but coordinated core modules: input capture module, data distribution module, business input module, de-identification calculation module, and distributed task aggregation module.
6. The dual-purpose computing system based on keyboard input event multiplexing according to claim 5, characterized in that: The input capture module is deployed at the system layer and is used to capture keyboard key events in real time; The data splitting module is used to copy and split key event data into business data streams and dedicated computing data streams.
7. The dual-purpose computing system based on keyboard input event multiplexing according to claim 5, characterized in that: The business input module is used to push business data streams to the currently active application; The desensitization calculation module is used to desensitize the dedicated calculation data stream and extract calculation parameters.
8. The dual-purpose computing system based on keyboard input event multiplexing according to claim 5, characterized in that: The distributed task aggregation module is used to aggregate computing parameters from multiple terminals, complete public scientific computing tasks, and output computing results.
9. The dual-purpose computing system based on keyboard input event multiplexing according to claim 5, characterized in that: The system requires no hardware modification to existing computer equipment and can be directly adapted to office computers running conventional operating systems.
10. The dual-purpose computing system based on keyboard input event multiplexing according to claim 5, characterized in that: The system runs entirely in the background, without consuming foreground system resources or altering the user's existing operating habits.