Business data asynchronous storage method and system and medium
A business data, asynchronous technology, applied in electrical digital data processing, special data processing applications, digital data information retrieval, etc., can solve the problems of slow data processing, unable to obtain business data in time, not friendly enough, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0056] The present invention provides a method for asynchronous storage of business data, please refer to figure 1 , including the following steps:
[0057] S100, enabling a business data processing thread;
[0058] Step S100 specifically includes running the system business, caching the business data generated by the system business into the Redis cache queue, and enabling several business data processing threads:
[0059] Because all system services run on the CPU, before the CPU generates service data according to the system service and caches it in the Redis cache queue, the Redis cache queue uses CAS to divide the service data into several key segments, for example, the service data is [0:8 ], then divide it into three key segments, namely [0:2][3:5][6:8]. The key segments run in the CPU that generates business data according to the system business.
[0060]Because the business of the server operating system needs to be processed concurrently, multiple business data pro...
Embodiment 2
[0076] An embodiment of the present invention provides a system for asynchronously storing business data, please refer to figure 2 , including: system business module, Redis cache module, thread module, alarm module and database module;
[0077] The Redis cache module is connected to the system business module and the thread module respectively, and the thread module is connected to the alarm module and the database module respectively;
[0078] The system business module is used to run the system business and generate business data according to the system business. The system business module in this embodiment runs on the server.
[0079] The Redis cache module is used to cache the business data generated by the system business modules.
[0080] The thread module is used to enable business data processing threads.
[0081] The alarm module is used for performing alarm indication.
[0082] The database module is used to save the business data.
[0083] The business data p...
Embodiment 3
[0088] The present invention also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program for executing the above method when executed by a processor.
[0089] Finally, it should be noted that those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be realized through computer programs to instruct relevant hardware to complete, and the program of the monitoring software method can be stored in a computer-readable In the storage medium, when the program is executed, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the storage medium of the program may be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM). The foregoing computer program embodiments can achieve the same or similar effects as any of the foregoing method embodiments corresponding thereto.
[0090] In addition, the...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com