Server transaction log processing method and device
A processing method and server technology, applied in the Internet field, can solve problems such as low efficiency, and achieve the effects of improving efficiency, reducing maintenance costs, and improving customer satisfaction
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0047] join figure 1 A flow chart of a server transaction log processing method is shown, and the method is applied to specifically include the following steps:
[0048] S101. When a transaction is detected to occur, record the transaction log;
[0049] For example, when an "overflow" transaction is detected on the server, a log of the "overflow" transaction is recorded.
[0050] S102. Update the content of the transaction log to the log list corresponding to the transaction;
[0051] S103. Upload the log list.
[0052] The server is in a server cluster, and the log is transmitted to a central server in the server cluster, which is convenient for staff to check.
[0053] An embodiment of the present invention provides a server transaction log processing method, which is applied to a server in a server cluster. When a transaction is detected, the transaction log is recorded, and then the content of the transaction log is updated to the log list corresponding to the transacti...
Embodiment 2
[0055] join figure 2 Shown is a flow chart of server transaction log processing, the method is implemented on the basis of server transaction log processing provided in Embodiment 1, and specifically includes the following steps:
[0056] S201. When a transaction is detected to occur, record the transaction log;
[0057] S202. Determine whether there is a log list corresponding to the transaction on the server;
[0058] If yes, execute step S203.
[0059] If not, execute step S204.
[0060] S203. Update the content of the transaction log to the log list corresponding to the transaction;
[0061] S204. Create a log list corresponding to the transaction and update the content of the transaction log into the log list corresponding to the transaction.
[0062] For example, corresponding to this transaction in the memory of the server, a log list is created, and the log list records each occurrence of the transaction.
[0063] S205. Upload the log list.
[0064]An embodiment...
Embodiment 3
[0066] join image 3 A flow chart of server transaction log processing is shown, and the method is applied to specifically include the following steps:
[0067] S301. When a transaction is detected to occur, record the transaction log;
[0068] S302. Update the content of the transaction log to the log list corresponding to the transaction;
[0069] S303. Determine whether the transaction has been committed or rolled back;
[0070] If yes, execute step S304.
[0071] S304. Mark the state of the transaction as ended;
[0072] S305. Determine whether the status of all transactions is completed;
[0073] Specifically, the server will set a timed task, and judge whether the status of the transaction is ended every preset time period.
[0074] If yes, execute step S306.
[0075] S306. Upload the log list.
[0076] An embodiment of the present invention provides a server transaction log processing method, which is applied to a server in a server cluster. When a transaction is...
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