Log processing method and device, storage medium and processor
A processing method and log technology, applied in the field of data processing, can solve the problems of difficult log processing, no solution proposed, complex log processing, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0032] According to an embodiment of the present invention, an embodiment of a log processing method is provided. It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and, although A logical order is shown in the flowcharts, but in some cases the steps shown or described may be performed in an order different from that shown or described herein.
[0033] figure 1 is a flowchart of a log processing method according to an embodiment of the present invention. Such as figure 1 As shown, the method may include the following steps:
[0034] Step S102, acquiring logs to be processed.
[0035] In the technical solution provided in step S102 of the present invention, the log to be processed is an input log entered at the log entry. Optionally, the log to be processed in this embodiment is first input to the verifier, and the log to be processed is verified by th...
Embodiment 2
[0083] The technical solutions of the embodiments of the present invention are illustrated below in combination with preferred implementation modes.
[0084] Short video app logs record various user behaviors, such as logging in and out of the app, browsing and watching short videos, searching for short videos, etc. Properly defining, collecting, and processing these logs is of great significance for continuously optimizing the App.
[0085] First, the definition of a log should be comprehensive and concise. Among them, comprehensive means that user behavior needs to be recorded as much as possible, and concise means that in order to reduce the network overhead of transmission, the log should only record core information and discard redundant information. The log should contain the following elements: App version number, timestamp, user action, user ID, object type, object ID, and page where the action occurred. Redundant information, such as user and object details, should ...
Embodiment 3
[0153] The embodiment of the present invention also provides a log processing device. It should be noted that the log processing apparatus in this embodiment can be used to execute the log processing method in the embodiment of the present invention.
[0154] Figure 4 is a schematic diagram of a log processing device according to an embodiment of the present invention. Such as Figure 4 As shown, the log processing apparatus 40 may include: an acquisition unit 41 , a replication unit 42 , a processing unit 43 and a sending unit 44 .
[0155] The acquiring unit 41 is configured to acquire logs to be processed.
[0156] The copying unit 42 is configured to copy the log to be processed to obtain multiple copies of the log to be processed.
[0157] The processing unit 43 is configured to process multiple logs to be processed in parallel in the data flow and at least one business flow respectively.
[0158] The sending unit 44 is configured to send the first processing result...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


