Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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

Inactive Publication Date: 2018-08-24
WANBANG CHARGING EQUIP CO LTD
View PDF10 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In today's Internet era with a huge amount of data, data interaction usually needs to be completed in a server cluster environment. In the cluster environment, each server will store logs in its own memory. Maintenance personnel need to check the logs one by one. If the cluster There are dozens or even more than a hundred servers in the network, so it is conceivable that the efficiency is extremely low

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Server transaction log processing method and device
  • Server transaction log processing method and device
  • Server transaction log processing method and device

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a server transaction log processing method and device. The method is applied to a server in a server cluster, and comprises the following steps of: when a transaction is monitored, recording a transaction log; updating content of the transaction log into a log list corresponding to the transaction; and finally uploading the log to a remote server to be checked by maintainers. According to the method and device, the difficulty of searching problems by the maintainers is reduced and the efficiency of positioning the problems and subsequently solving the problems is improved; and the maintainers can check logs of all the servers through operating a single machine, and no extra learning cost is caused, so that the project maintenance cost is reduced, the bug fixing efficiency is improved and then the customer satisfaction is improved.

Description

technical field [0001] The present invention relates to the technical field of the Internet, in particular to a server transaction log processing method and device. Background technique [0002] In the daily server maintenance process, once a problem occurs, the maintenance personnel usually query the log to locate the problem. In today's Internet era with a huge amount of data, data interaction usually needs to be completed in a server cluster environment. In the cluster environment, each server will store logs in its own memory. Maintenance personnel need to check the logs one by one. If the cluster There are dozens or even more than a hundred servers in the server, and it is conceivable that the efficiency is extremely low. Contents of the invention [0003] Aiming at the above-mentioned problems in the prior art, the present invention provides a server transaction log processing method. [0004] In a first aspect, an embodiment of the present invention provides a ser...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/30H04L29/08
CPCG06F11/3006G06F11/3065H04L67/06H04L67/1095
Inventor 李霖邵丹薇郑隽一储丹
Owner WANBANG CHARGING EQUIP CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products