Log processing method and device and electronic equipment

A processing method and log technology, applied in the computer field, can solve problems such as high bandwidth cost, low efficiency, and large consumption of cloud storage space, and achieve the effect of avoiding time consumption

Pending Publication Date: 2021-02-23
ALIBABA GRP HLDG LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

As a result, cloud storage consumes a lot of space, bandwidth costs are high, and analysis and troubleshooting take a lot of time, resulting in low efficiency

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
  • Log processing method and device and electronic equipment
  • Log processing method and device and electronic equipment
  • Log processing method and device and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0074] Such as figure 2 As shown, it is one of the flow diagrams of the log processing method of the embodiment of the present invention. The method can run on the client side, and the client can be an application running on a smart device, a mobile terminal or a computer. The method includes Follow the steps below:

[0075] S101: Obtain one or more log records related to the current running state of the client according to the running state.

[0076] Specifically, according to the current running state of the client, one or more log records related to the running state can be read from the system log. Wherein, the system log mentioned here refers to all system logs generated during the operation of the client, including hardware information, software information and system problem information of all events during the system operation.

[0077] S102: Associate and store the log record with the current running state of the client. Specifically, the log records can be stored...

Embodiment 2

[0088] The above-mentioned embodiments are the processing on the client side of the log processing method of the present invention, and the following embodiments will describe the processing on the cloud, as image 3 As shown, it is the second schematic flow diagram of the log processing method of the embodiment of the present invention. The method can run on the side of the cloud. In the embodiment of the present invention, the cloud can be a cloud server or a service that has a communication connection with the above-mentioned client. The processing platform, etc., obtain information through interaction with the client, so as to monitor the abnormality of the client and identify the cause of the abnormality. In addition, the cloud server or business processing platform can also interact with the client to realize the business performed by the client. deal with. The method comprises the steps of:

[0089] S201: Receive one or more pieces of running status sent by the client....

Embodiment 3

[0100] Such as Figure 4 As shown, it is one of the structural diagrams of the log processing device in the embodiment of the present invention. The device is set on the client side, and the client can be an application running on a smart device, a mobile terminal or a computer. The log processing device It can be used as a part of the application that executes business processing, or it can be a system application independent of the application, wherein the log processing device includes:

[0101] Log record obtaining module 31: used for obtaining one or more log records related to the current running state of the client during the business process performed by the client.

[0102] Specifically, according to the current running state of the client, one or more log records related to the running state can be read from the system log. Wherein, the system log mentioned here refers to all system logs generated during the operation of the client, including hardware information, s...

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

Embodiments of the invention provide a log processing method and device, and electronic equipment. The method comprises the steps of obtaining one or more log records related to a current operation state of a client according to the current operation state of the client; associatively storing the log record and the current running state of the client; and sending the operation state to a cloud. According to the embodiment of the invention, the running state of the client and the state log are stored in the client in an associated manner, the running state of the client is sent to the cloud, the cloud monitors the running state of the client, and when an abnormality is found, the log record related to the abnormality is called from the client, so that time consumption caused by checking ofa large number of logs and waste of cloud storage space and bandwidth resources caused by uploading of log files are avoided.

Description

technical field [0001] The present application relates to a log processing method, device and electronic equipment, belonging to the technical field of computers. Background technique [0002] At present, the amount of data generated by offline smart devices during operation is increasing, and the storage space occupied by the generated logs is also large. In the existing technology, the logs are usually uploaded to the cloud database, and then read in the cloud. Obtain log data to troubleshoot problems. As a result, the cloud storage space consumes a lot, the bandwidth cost is high, and analyzing and troubleshooting problems takes a lot of time and the efficiency is low. Contents of the invention [0003] Embodiments of the present invention provide a log processing method, device and electronic equipment to save cloud storage space and bandwidth consumption. [0004] In order to achieve the above purpose, an embodiment of the present invention provides a log processing...

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/34G06F16/27
CPCG06F11/3476G06F16/27
Inventor 陈聪方颖
Owner ALIBABA GRP HLDG LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products