Database-based inter-service integral log ID generation method
A database and multi-service technology, applied in the computer field, can solve problems such as system congestion, high pressure of database reading and writing, and difficulty in database expansion, and achieve the effects of reducing pressure, improving system throughput, and improving system response performance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0028] A database-based method for generating integral log IDs between multiple services, the method comprising:
[0029] S1. Unify the generation configuration of the integral log ID in the ID database;
[0030] Such as figure 1 As shown, the generation configuration includes business identifier, maximum ID value, ID number segment length and version number;
[0031] The business identifier (BizType) is used for business differentiation;
[0032] The maximum ID value (MaxId) represents the maximum value of the batch ID to which the current service identifier is assigned;
[0033] The ID number section length (Step) represents the number of IDs allocated each time. The commonly used method in the prior art is to read and write the database every time the ID is obtained. After the ID number section length is set in this embodiment, only when the entire ID section Read and write the database once when it is almost consumed, which can effectively reduce the frequency of databa...
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