Method and device for searching and processing log file

A log file and query device technology, applied in the field of log file query and processing, can solve the problem of time-consuming query process and the like

Active Publication Date: 2010-01-06
GLOBAL INNOVATION AGGREGATORS LLC
View PDF0 Cites 40 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Such a query process is very time-consuming, and the avera

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
  • Method and device for searching and processing log file
  • Method and device for searching and processing log file
  • Method and device for searching and processing log file

Examples

Experimental program
Comparison scheme
Effect test

Example

[0085] like figure 1 As shown, it is the first embodiment of a log file query method according to the present invention, including:

[0086] Step 11, the log file query device obtains at least one type of index value to be queried.

[0087] Step 12, the log file query device searches the sequence number of at least one record corresponding to the index value to be queried according to the index file; the index file includes: the index value of the at least one type and the index value corresponding to The sequence number of at least one record in .

[0088] Step 13, the log file query device obtains the record corresponding to the index value to be queried from the log file according to the sequence number of the record found; the log file includes: at least one record, the sequence number of the record, the The above record contains at least one type of index value.

[0089] In the above solution, the log file query device searches the sequence number of at least one recor...

Example

[0090] like figure 2 As shown, it is the second embodiment of a log file query method according to the present invention, including:

[0091] Step 21, the log file query device acquires at least one type of index value to be queried.

[0092] Step 22, the log file query device searches the sequence number of at least one record corresponding to the index value to be queried according to the index file; the index file includes: the at least one type of index value and the index value corresponding to The sequence number of at least one record in . Optionally, the record includes at least two types of index values; the index file includes the at least two types of index files; the index value to be queried is the at least two types of index values ​​to be queried; The step of the log file query device searching for the serial number of at least one record corresponding to the index value to be queried according to the index file includes: the log file query device searches fo...

Example

[0095] like image 3 As shown, it is the third embodiment of a log file query method according to the present invention, including:

[0096] Step 31, the log file query device acquires at least one type of index value to be queried.

[0097]Step 32, the log file query device searches the sequence number of at least one record data block corresponding to the index value to be queried according to the index file; the index file specifically includes: the sequence number of the record data block and the record data block The ordinal corresponds to a range of at least one type index value.

[0098] Step 33, the log file query device obtains the storage location information corresponding to the sequence number of the found record data block according to the log file; the log file specifically includes: at least one record data block, the sequence number of the record data block And the storage location information of the record data block in the log file, the record data block in...

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 method and a device for searching and processing a log file and relates to the field of log management, aiming at solving the technical problem that the speed of record searching in the log file in the prior art is lower. The method for searching the log file comprises the following steps: the device for searching the log file obtains at least one type of index value to be searched; the device for searching the log file searches the serial number of at least one record corresponding to the index value to be searched according to an index file, wherein the index file comprises at least one type of index value and the serial number of at least one record corresponding to the index value; the device for searching the log file obtains the record corresponding to the index value to be searched from the log file according to the serial number of the searched record; and the log file comprises at least one record and the serial number of the record. The invention can enhance the speed of record searching in the log file.

Description

technical field [0001] The invention relates to the field of log management, in particular to a method and device for querying and processing log files. Background technique [0002] In the two-layer network management system architecture of the Universal Subscriber Profile Platform (USPP), the network element side is used to collect and store acceptance logs, and the network element layer management system (EMS, Element Management Systems) is used to query the Yuan's acceptance log. [0003] Due to the large number of users, the information volume of the acceptance log is huge. At present, the network element side (OMM) stores the acceptance log information through a database system (for example, Oracle). The Oracle database is expensive and cannot store a large amount of acceptance log information. When the database acceptance log information reaches the storage limit, the network element The database records are exported as text files. A text file roughly stores 3 milli...

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
IPC IPC(8): G06F17/30H04L12/24
Inventor 吕燕洪科
Owner GLOBAL INNOVATION AGGREGATORS LLC
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