Log data compression processing method and device, electronic equipment and storage medium
A data compression and processing method technology, applied in the Internet field, can solve the problems of reducing search efficiency, destroying the text structure of log data, and the inability of full-text search engines to perform word segmentation, so as to reduce the amount of log data and improve search efficiency.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0032] figure 1 It is a flow chart of a log data compression processing method provided by Embodiment 1 of the present invention. This embodiment is applicable to the case of performing compression processing on serialized log data with a character string structure. The method can be performed by a log data compression processing device, which can be realized by software and / or hardware, and integrated into the application end corresponding to the application program, wherein the application end can be a client with the application program installed, or It may refer to the server serving the application. Such as figure 1 As shown, the method specifically includes the following steps:
[0033] S110. Acquire each first attribute name in the first log data to be processed.
[0034] Wherein, the first log data may refer to serialized log data having a string structure, or may refer to log data to be serialized, that is, request response data and / or program internal data in the ...
Embodiment 2
[0053] image 3 It is a flow chart of the log data compression processing method provided by Embodiment 2 of the present invention. On the basis of the above-mentioned embodiments, this embodiment is concerned with "determining the first compression name corresponding to the first attribute name based on the preset mapping method" Further optimization was carried out. The explanations of terms that are the same as or corresponding to the above-mentioned embodiments will not be repeated here.
[0054] see image 3 The log data compression processing method provided in this embodiment specifically includes the following steps:
[0055] S310. Acquire each first attribute name in the first log data to be processed.
[0056] S320. Detect whether there is a compressed name corresponding to each first attribute name in the first log data in the mapping relationship between the currently stored attribute name and the compressed name, if yes, proceed to step S330, if not, proceed to...
Embodiment 3
[0086] Figure 4 It is a flow chart of the log data compression processing method provided by Embodiment 3 of the present invention. On the basis of the above embodiments, this embodiment describes the log search process in detail after obtaining the compressed second log data. The explanations of terms that are the same as or corresponding to the above-mentioned embodiments will not be repeated here.
[0087] see Figure 4 The log data compression processing method provided in this embodiment specifically includes the following steps:
[0088] S410. Acquire each first attribute name in the first log data to be processed.
[0089] specifically, Figure 5 An example of log data compression processing architecture is given. Such as Figure 5 As shown, the log serialization module in the application side can serialize the request response data object and / or the program internal data object, and obtain the serialized string structure request response data and / or program interna...
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