Distributed log processing method and device, medium and electronic equipment
A processing method and distributed technology, applied in the Internet field, can solve the problems of large amount of log data, large computing power, and inability to achieve efficient log management, and achieve the effects of efficient log management, improved performance, and saving computing power and storage space.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0026] Figure 1A It is a flow chart of the distributed log processing method provided in Embodiment 1 of the present application. This embodiment is applicable to any distributed log management scenario, and the method can be executed by the distributed log processing device provided in the embodiment of the present application. The The device can be implemented by software and / or hardware, and can be integrated into electronic equipment.
[0027] like Figure 1A As shown, the processing method of the distributed log includes:
[0028] S110, perform distributed log information collection on the target method through a preset entry point, and write the collected log information into a log file.
[0029] This solution is implemented by a platform capable of generating logs, and the platform may include one or more network devices, systems, service programs, and the like. The distributed storage method may be a distributed storage method. The distributed storage method is a dat...
Embodiment 2
[0046] This embodiment is a preferred embodiment provided on the basis of the foregoing embodiments. figure 2 It is a flow chart of distributed log processing provided by Embodiment 2 of the present invention, and this embodiment is optimized on the basis of the foregoing embodiments.
[0047] like figure 2 As shown, the method of this embodiment specifically includes the following steps:
[0048] S210, perform distributed log information collection on the target method through a preset entry point, and write the collected log information into a log file.
[0049] S220. Determine the synchronization rule of the log file according to the type of the log file; and determine the level of the log file according to the configuration information; wherein the level includes a program running level and a method performance level.
[0050] S230. Determine the processing result of the log file according to the synchronization rule of the log file and according to the corresponding r...
Embodiment 3
[0066] image 3 It is a structural block diagram of a distributed log processing device provided by Embodiment 3 of the present invention. The device can execute the distributed log processing method provided by any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the method. like image 3 As shown, the device may include:
[0067] The log information writing module 310 is used to perform distributed log information collection on the target method through the preset entry point, and write the collected log information into the log file;
[0068] The level determination module 320 of the log file is used to determine the synchronization rule of the log file according to the type of the log file; and determine the level of the log file according to the configuration information; wherein, the level includes a program operation level and a method performance level ;
[0069] The log file processing result determi...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com



