WO2021129849A1 - Log processing method, apparatus and device, and storage medium - Google Patents
Log processing method, apparatus and device, and storage medium Download PDFInfo
- Publication number
- WO2021129849A1 WO2021129849A1 PCT/CN2020/139801 CN2020139801W WO2021129849A1 WO 2021129849 A1 WO2021129849 A1 WO 2021129849A1 CN 2020139801 W CN2020139801 W CN 2020139801W WO 2021129849 A1 WO2021129849 A1 WO 2021129849A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- message
- log
- identification number
- transaction identification
- business
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
- H04Q11/0067—Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/069—Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
- H04Q2011/0079—Operation or maintenance aspects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
- H04Q2011/0079—Operation or maintenance aspects
- H04Q2011/0081—Fault tolerance; Redundancy; Recovery; Reconfigurability
Definitions
- This application relates to the field of telecommunication equipment, and in particular to a log processing method, device, system and storage medium.
- Optical Transport Network (OTN) equipment implements control plane access through the Automatically Switched Opetical (ASON) protocol, so that the equipment is under the automatic control of ASON to ensure that the network is efficient, timely, intelligent and reliable.
- ASON Automatically Switched Opetical
- message logs are usually recorded in binary form. After the explosive growth of business data, the message log is parsed through the traditional "number knot" method, which usually fails to reflect the relationship between the business flow and accurately locate the fault location.
- This application provides a log processing method, device, equipment, and storage medium.
- a log processing method provided by an embodiment of the present application includes: determining a transaction identification number of a business flow; generating a message log associated with the transaction identification number for an application module processing the business flow; and according to failure information of the message log Determine the source of business failures.
- a log processing device includes: an identification determination module, configured to determine a transaction identification number of a business flow; a log generation module, configured to generate an association with the transaction identification number for an application module processing the business flow The message log; the log analysis module is used to determine the source of the business failure according to the failure information of the message log.
- a device provided by an embodiment of the present application includes: one or more processors; a memory for storing one or more programs; when the one or more programs are executed by the one or more processors, all The one or more processors implement the log processing method as described in any of the embodiments of the present application.
- An embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and when the program is executed by a processor, the log processing method as described in any of the embodiments of the present application is implemented.
- FIG. 1 is a flowchart of the steps of a log processing method provided by an embodiment of the present application
- FIG. 2 is a flowchart of the steps of another log processing method provided by an embodiment of the present application.
- FIG. 3 is a flowchart of the steps of another log processing method provided by an embodiment of the present application.
- FIG. 4 is a schematic structural diagram of a log processing device provided by an embodiment of the present application.
- Fig. 5 is a schematic structural diagram of a device provided by an embodiment of the present application.
- Fig. 1 is a step flow chart of a log processing method provided by an embodiment of the present application.
- the embodiment of the present application can be applied to the case of processing message logs in optical transport network equipment.
- the method can be performed by the log processing apparatus in the embodiment of the present application.
- the device can be implemented by software and/or hardware. Referring to FIG. 1, the method of the embodiment of the present application includes the following steps:
- Step 101 Determine the transaction identification number of the service flow.
- the service stream can be the data stream transmitted in the optical transport network equipment, or the service-related data carried on the optical transport network equipment.
- the service stream can be processed by the application module in the optical transport network equipment.
- a service stream can be multiple Each application module is processed. For example, service flow a can be processed by application module A first, and then processed by application module B.
- the transaction identification number can be an identification number used to identify a service flow.
- the transaction identification number can be globally unique in the optical transmission network device.
- the transaction identification number corresponding to different service flows can be different, which can be generated for each service flow. The corresponding transaction identification number.
- Step 102 Generate a message log associated with the transaction identification number for the application module processing the service flow.
- the application module can be a software module or a hardware module mounted on the optical transport network equipment, and the application module can implement related business functions by processing the business flow;
- the message log can be a data file that records the business flow processing process, and the message log is stored In the storage space of optical transport network equipment.
- the application module that processes the business flow can generate the message log by calling the public application software interface.
- the log record in the message log corresponds to the business flow. Multiple business flows can correspond to the same log record. It is understandable that ,
- the message log can be identified by the transaction identification number, and the message log can be stored in the storage space of the device applying the method of this application.
- Step 103 Determine the source of the service failure according to the failure information in the message log.
- the fault information can be the error information stored in the message log, it can be the failure information generated in the processing of the business flow, or it can be the timeout information generated in the processing of the business flow, etc.
- the source of the business failure can be the application module that failed to process the business flow, for example A business flow can be processed by application module A, application module B, and application module C. An error occurs when the business flow is processed by application module B.
- the source of the business failure of the business flow can be application module B.
- the message log can be analyzed to obtain the fault information, and the business fault source of the fault can be obtained according to the fault information.
- the message log in the present application since the message log in the present application is in a unified format, it can be According to the regular expression matching the fault information in the message log, the fault information can be analyzed to obtain the source of the business fault.
- the technical solution of the embodiment of the present application generates a message log for the application module processing the business flow by determining the transaction identification number of the business flow.
- the message log can be associated with the transaction identification number, and the source of the business failure is determined based on the failure information in the message log.
- the relationship between the business flows in each application module is reduced, the difficulty of processing the message log is reduced, and the accuracy of locating the source of business faults can be improved.
- Fig. 2 is a step flow chart of another log processing method provided by an embodiment of the present application; the embodiment of the present application concretes the method of generating a message log.
- the log processing method provided by the embodiment of the present application includes :
- Step 201 Generate a check value according to the current system time through a preset check algorithm.
- the preset check algorithm may be a preset check algorithm, and a check value may be generated according to the system time.
- the preset check algorithm may be, for example, a cyclic redundancy check (CRC) algorithm.
- the current system time It can be the system time in the device that implements the log processing method of this application. For example, it can be the system time of a smart terminal or an optical transmission device.
- the check value can be a digit group generated after converting the current system time. The number can be fixed, and the check value can be used to generate the transaction identification number of the business flow.
- system time of the device that implements the method of the embodiment of the present application can be obtained, and the system time can be processed according to a preset check algorithm to generate a check value.
- Step 202 Generate a random number of the service flow, and generate the transaction identification number of the service flow according to the random number and the check value, wherein the transaction identification number is globally unique.
- the random number may be a randomly generated value, and the random number is generated corresponding to the service flow, and the random number generated by different service flows may be different.
- a corresponding random number can be generated for each service flow, the check value generated based on the system time and the random number can be summed, and the sum of the random number and the check value can be regarded as the service flow correspondence It can be understood that the method of generating the transaction identification number corresponding to the service flow based on the random number and the check value is not unique. You can also use the difference, XOR value and AND value of the random number and the check value as The transaction identification number corresponding to the service flow.
- the transaction identification number corresponding to the business flow can also be different, and the transaction identification number corresponding to the business flow is globally unique and can be combined with other The transaction identification number of the business flow is not repeated.
- Step 203 Determine a corresponding message extraction rule according to the message protocol of the application module.
- the message message protocol can be the processing method for the application module to analyze the service flow.
- the message message protocol can be stored in a unified message model device, for example, which can provide multiple protocol interfaces for the application module, such as UC port. , MIM port, S port, UIL port and U port, etc., the application module can call the unified messaging module device to obtain the corresponding message extraction rules.
- the unified message module device may be called to read the message extraction rules for processing the service flow, and the message extraction rules may include message structure files, common header files, message message types, and so on.
- the message type can be stored in association with the message code in the service flow, the message type can be stored as a hash table in the unified messaging module device, and the index can be the message code, and the message code in the service flow can be passed through The corresponding message type is found in the unified messaging model device.
- Step 204 Extract the message content of the service flow according to the message extraction rule.
- the content of the message may be the business data in the service flow. Because the message format of the message message that can be processed by the application module is different, the obtained message extraction rules can analyze the message messages in the service flow. , To obtain the message content of the message message in the corresponding service flow.
- Step 205 Associate the content of the message with the transaction identification number of the service flow and store it as a message log.
- the message log may be a text file composed of log records, and the message log may be stored in the storage space of the device to which the method of the embodiment of the present application is applied.
- the message content processed in the application module can be stored as a message log.
- the transaction identification number of the service flow and the corresponding message content are stored in the message log as The log record sequence number of the message log.
- the message log may also store the processing operation of the application module on the message content and the direction of sending and receiving message messages in the service flow.
- Step 206 Obtain log records in the message log to form a message queue.
- the log record can be a component of the message log.
- the log record can include the operation information of the application module on the service flow, the content of the message processed by the application module, and the message direction of the application module processing the message message.
- the message queue can be The storage space used for analyzing log records may be, for example, the cache space of a device that implements the method in the embodiment of the present application.
- the log records in the message log may be read to the message queue, where the log records read into the message queue may be log records matching a preset keyword.
- a regular expression can be used to select a log record matching a preset keyword in the message log and add it to the message queue.
- Step 207 Obtain the fault information in the message queue, and display it in a preset format to determine the source of the service fault.
- the fault information may be information about a fault that occurs when the application module processes the service flow, and the fault information may be stored in the message log.
- the fault information recorded in the log in the message queue can be extracted.
- the fault information can be, for example, one or more fields of the log record.
- the log records in the message queue can be displayed and the fault information can be highlighted.
- the fault information can be displayed by increasing the font size or bolding the font.
- the preset format can be a format for highlighting the fault information, and it can also include highlighting or changing the font.
- the display of fault information helps users find the source of business faults in a timely manner. It is understandable that fault information can also be displayed together with the transaction identification number, which is convenient for sorting out the fault business flow corresponding to the business fault.
- the check value is determined according to the current system time through a preset check algorithm, a random number corresponding to the service flow is generated, and the transaction identification number corresponding to the service flow is determined according to the check value and the random number.
- the message message protocol determines the corresponding message extraction rules, extracts the message content in the business flow according to the message extraction rules, stores the message content and transaction identification number as a message log, and obtains the log records in the message log to form a message queue, Obtain the fault information in the message queue, and display the fault information in a preset format to determine the source of the business fault, which realizes the rapid determination of the source of the business fault, reduces the difficulty of processing the message log, and enhances the stability of the business.
- storing the message content and the transaction identification number as a message log includes: storing the message content and the transaction identification number as a business message log; reading at least two The business message logs of the application module are merged as the message log.
- the content of the message when generating a message log, can be stored as a business message log in the storage space of the device.
- Each application module can store its own business message log, which can be read from each application module.
- the merged business message log file can be used as the message log.
- Fig. 3 is a step flow chart of another log processing method provided by an embodiment of the present application; referring to Fig. 3, the log processing method provided by an embodiment of the present application includes:
- Step 301 Generate a check value according to the current system time through a preset check algorithm.
- Step 302 Generate a random number of the service flow, and generate the transaction identification number of the service flow according to the random number and the check value, wherein the transaction identification number is globally unique.
- Step 303 Determine a corresponding message extraction rule according to the message message protocol of the application module.
- Step 304 Extract the message content of the service flow according to the message extraction rule.
- Step 305 Associate the content of the message with the transaction identification number of the service flow and store it as a message log.
- Step 306 Match the target log record in the message log according to a preset keyword, and store the target log record in the message queue.
- the preset keyword may be the keyword of the target log record of the sort order, for example, it may be the message direction and message type, etc.
- the target log record may be the log record of the message log that matches the preset keyword, and the target log record Can include preset keywords.
- the log records in the message log can be matched according to preset keywords.
- the log records can be used as target log records. It is understandable that the message logs can be Obtain multiple target log records by matching preset keywords. You can add the acquired target log records to the message queue.
- Step 307 Filter the log records in the message queue according to preset filtering keywords.
- the log records in the message queue can be filtered.
- the log records can be cleared from the message queue.
- Step 308 Sort and display the log records in the message queue according to the order of the transaction identification number.
- the log records in the message queue may be sorted in the order of transaction identification numbers, and the sorted message queue may be displayed.
- the log records belonging to the same transaction identification number can be displayed in the order of request messages and response messages, and the log records corresponding to the same transaction identification number can also be displayed in sequence according to chronological order.
- Step 309 The failure information in the log record is highlighted in red, where the failure information includes at least one of response failure information and timeout failure information.
- the fault information can be marked with information highlighted in red.
- the fault information can be highlighted.
- the fault information can include application module processing. Response failure information and timeout failure information during business flow.
- the SND controller configures the electrical/optical layer services, and can generate a unique transaction ID for each service flow.
- the transaction ID can realize the association of the service flow in each application module, and the service module records by calling the unified message interface
- the message message is used as the message log.
- the message log can also include the issued message and the configuration result response message. It can read the static message structure XML file and the fixed public header file to obtain the pre-set message message parsing prototype.
- the message parsing prototype can be stored in a global hash table, the index of the global hash table can be the message code, and the message parsing prototype and the message code can correspond one-to-one.
- the stored messages can be extracted from the message log.
- the extraction method can extract the fields matching the keywords through python regular expressions, and the extracted fields can be stored in the message queue.
- the messages in the message queue can be filtered, and the messages matching the filter conditions can be discarded.
- the message parsing prototype can be obtained according to the unified message model.
- the message parsing prototype is only compared with the messages in the message queue, and the occupancy defined by the attribute type in the message parsing prototype is only compared.
- Length parses the message content.
- the parsed message content can be sorted according to the service ID.
- the content of the messages belonging to the same service flow can be sorted according to the actual order, and the request and response messages belonging to a service flow are displayed together.
- the service flow is displayed in sequence according to time.
- the service configuration response result failure and timeout are highlighted in red. By judging the response result, the boundary area of the service failure can be quickly located.
- the check value is determined according to the current system time through a preset check algorithm, a random number corresponding to the service flow is generated, and the transaction identification number corresponding to the service flow is determined according to the check value and the random number.
- the message message protocol determines the corresponding message extraction rules, extracts the message content in the business flow according to the message extraction rules, stores the message content and transaction identification number as a message log, and obtains the log records in the message log to form a message queue, Obtain the fault information in the message queue, and display the fault information in a preset format to determine the source of the business fault, which realizes the rapid determination of the source of the business fault, reduces the difficulty of processing the message log, and enhances the stability of the business.
- FIG. 4 is a schematic structural diagram of a log processing device provided by an embodiment of the present application; the log processing device provided by an embodiment of the present application can execute the log processing method provided by any embodiment of the present application, and has the corresponding functional modules and beneficial effects of the execution method .
- the device may be implemented by software and/or hardware, and includes, for example, an identification determination module 401, a log generation module 402, and a log analysis module 403.
- the identification determination module 401 is used to determine the transaction identification number of the service flow.
- the log generation module 402 is configured to generate a message log associated with the transaction identification number for the application module processing the service flow.
- the log analysis module 403 is configured to determine the source of the business failure according to the failure information of the message log.
- the transaction identification number of the business flow is determined by the identification determination module
- the log generation module generates a message log for the application module processing the business flow
- the message log can be associated with the transaction identification number
- the log analysis module is based on the information in the message log
- the fault information determines the source of business faults, clarifies the relationship between the business flows in each application module, reduces the difficulty of message log processing, and improves the accuracy of business fault source location.
- the identification determination module 401 includes: a check value unit, which is used to generate a check value according to the current system time through a preset check algorithm; and an identification unit, which is used to generate a random number of the service flow, according to The random number and the check value generate the transaction identification number of the service flow, wherein the transaction identification number is globally unique.
- the log generation module 402 includes: a rule determination unit, configured to determine a corresponding message extraction rule according to the message message protocol of the application module; a content extraction unit, configured to extract according to the message extraction rule The message content of the service flow; and a log storage unit for storing the message content in association with the transaction identification number of the service flow as a message log.
- the log storage unit includes: a business log subunit for storing the message content and the transaction identification number as a business message log; and a merge log subunit for reading at least two The business message logs of the application module are merged as the message log.
- the log analysis module 403 includes: a message queue unit for obtaining log records in the message log to form a message queue; and a failure information unit for obtaining failure information in the message queue, and according to Display in a preset format to determine the source of business failures.
- the message queue unit includes: a record reading subunit, configured to match a target log record in the message log according to a preset keyword, and store the target log record in the message queue; and record The filtering subunit is used to filter the log records in the message queue according to preset filtering keywords.
- the fault information unit includes: a message sorting subunit, configured to sort and display log records in the message queue in the order of the transaction identification number; and a highlighting subunit for the log The fault information in the record is highlighted in red, where the fault information includes at least one of response failure information and timeout failure information.
- FIG. 5 is a schematic structural diagram of a device provided by an embodiment of the present application.
- the device includes a processor 50, a memory 51, an input device 52, and an output device 53; the number of processors 50 in the device may be one Or more, one processor 50 is taken as an example in FIG. 5; the device processor 50, the memory 51, the input device 52, and the output device 53 may be connected by a bus or other means. In FIG. 5, the connection by a bus is taken as an example.
- the memory 51 can be used to store software programs, computer-executable programs, and modules, such as the modules corresponding to the log processing device in the embodiment of the present application (identification determination module 401, log generation module 402, and log analysis module 403). ).
- the processor 50 executes various functional applications and data processing of the device by running the software programs, instructions, and modules stored in the memory 51, that is, realizes the above-mentioned log processing method.
- the memory 51 may mainly include a program storage area and a data storage area.
- the program storage area may store an operating system and an application program required by at least one function; the data storage area may store data created according to the use of the terminal, and the like.
- the memory 51 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices.
- the memory 51 may include a memory remotely provided with respect to the processor 50, and these remote memories may be connected to the device through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
- the input device 52 can be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the device.
- the output device 53 may include a display device such as a display screen.
- An embodiment of the present application also provides a storage medium containing computer-executable instructions, which are used to execute a log processing method when the computer-executable instructions are executed by a computer processor, and the method includes:
- the storage medium containing computer-executable instructions provided by the embodiments of the present application is not limited to the method operations described above, and can also execute the log processing methods provided in any of the embodiments of the present application. Related operations.
- the technical solution of the embodiment of the application generates a transaction identification number for the business flow, generates a message log at each application module according to the transaction identification number, and determines the source of the business failure according to the failure information of the message log.
- the transaction identification number of the embodiment of the application is Provide message logs in the same format for different business modules, and reflect the relationship of business flows through transaction identification numbers, which reduces the difficulty of message log processing and improves the accuracy of fault source location.
- ROM Read-Only Memory
- RAM Random Access Memory
- FLASH Flash memory
- hard disk or optical disk etc., including several instructions to make a computer device (which can be a personal computer) , A server, or a network device, etc.) execute the method described in the embodiment of the present application.
- user terminal encompasses any suitable type of wireless user equipment, such as a mobile phone, a portable data processing device, a portable web browser, or a vehicle-mounted mobile station.
- the various embodiments of the present application can be implemented in hardware or dedicated circuits, software, logic or any combination thereof.
- some aspects may be implemented in hardware, while other aspects may be implemented in firmware or software that may be executed by a controller, microprocessor, or other computing device, although the present application is not limited thereto.
- Computer program instructions can be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code written in any combination of one or more programming languages or Object code.
- ISA instruction set architecture
- the block diagram of any logic flow in the drawings of the present application may represent program steps, or may represent interconnected logic circuits, modules, and functions, or may represent a combination of program steps and logic circuits, modules, and functions.
- the computer program can be stored on the memory.
- the memory can be of any type suitable for the local technical environment and can be implemented using any suitable data storage technology, such as but not limited to read only memory (ROM), random access memory (RAM), optical storage devices and systems (digital multi-function optical discs) DVD or CD) etc.
- Computer-readable media may include non-transitory storage media.
- the data processor can be any type suitable for the local technical environment, such as but not limited to general-purpose computers, special-purpose computers, microprocessors, digital signal processors (DSP), application-specific integrated circuits (ASIC), programmable logic devices (FGPA) And processors based on multi-core processor architecture.
- DSP digital signal processors
- ASIC application-specific integrated circuits
- FGPA programmable logic devices
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
Claims (10)
- 一种日志处理方法,包括:A log processing method, including:确定业务流的事务标识号;Determine the transaction identification number of the business flow;为处理所述业务流的应用模块生成与所述事务标识号关联的消息日志;以及Generating a message log associated with the transaction identification number for the application module processing the service flow; and根据所述消息日志的故障信息确定业务故障源。Determine the source of the service failure according to the failure information of the message log.
- 根据权利要求1所述的方法,其中,所述确定业务流的事务标识号,包括:The method according to claim 1, wherein said determining the transaction identification number of the service flow comprises:通过预设校验算法根据当前系统时间生成校验值;以及Generate a check value according to the current system time through a preset check algorithm; and生成所述业务流的随机数,根据所述随机数和所述校验值生成所述业务流的所述事务标识号,其中,所述事务标识号全局唯一。A random number of the service flow is generated, and the transaction identification number of the service flow is generated according to the random number and the check value, wherein the transaction identification number is globally unique.
- 根据权利要求1所述的方法,其中,所述为处理所述业务流的应用模块生成与所述事务标识号关联的消息日志,包括:The method according to claim 1, wherein the generating a message log associated with the transaction identification number for the application module processing the service flow comprises:根据所述应用模块的消息报文协议确定对应的报文提取规则;Determine the corresponding message extraction rule according to the message message protocol of the application module;根据所述报文提取规则提取所述业务流的报文内容;以及Extract the message content of the service flow according to the message extraction rule; and将所述报文内容与所述业务流的事务标识号关联存储为消息日志。The content of the message and the transaction identification number of the service flow are associated and stored as a message log.
- 根据权利要求3所述的方法,其中,将所述报文内容与所述事务标识号关联存储为消息日志,包括:The method according to claim 3, wherein the associating and storing the message content and the transaction identification number as a message log comprises:将所述报文内容与所述事务标识号存储作为业务消息日志;以及Storing the message content and the transaction identification number as a business message log; and读取至少两个所述应用模块的所述业务消息日志合并作为所述消息日志。The business message logs of at least two of the application modules are read and combined as the message log.
- 根据权利要求1所述的方法,其中,所述根据所述消息日志的故障信息确定业务故障源,包括:The method according to claim 1, wherein the determining the source of the service failure according to the failure information of the message log comprises:获取所述消息日志内的日志记录组成消息队列;以及Acquiring log records in the message log to form a message queue; and获取所述消息队列中的故障信息,并按照预设格式进行展示以确定业务故障源。Obtain the fault information in the message queue and display it in a preset format to determine the source of the business fault.
- 根据权利要求5所述的方法,其中,所述获取所述消息日志内的日志记录组成消息队列,包括:The method according to claim 5, wherein said obtaining log records in said message log to form a message queue comprises:根据预设关键字匹配所述消息日志内的目标日志记录,将所述目标日志记录存储到所述消息队列;以及Match the target log record in the message log according to a preset keyword, and store the target log record in the message queue; and根据预设过滤关键字过滤所述消息队列内的日志记录。Filter the log records in the message queue according to preset filtering keywords.
- 根据权利要求5所述的方法,其中,所述获取所述消息队列中的故障信息,并按照预设格式进行展示以确定业务故障源,包括:The method according to claim 5, wherein the obtaining the fault information in the message queue and displaying it in a preset format to determine the source of the service fault comprises:按照所述事务标识号的顺序将所述消息队列内的日志记录进行排序展示;以及Sorting and displaying the log records in the message queue according to the order of the transaction identification number; and所述日志记录中的故障信息以红色高亮标识,其中,故障信息包括应答失败信息和超时失败信息中至少一种。The failure information in the log record is highlighted in red, where the failure information includes at least one of response failure information and timeout failure information.
- 一种日志处理装置,包括:A log processing device includes:标识确定模块,用于确定业务流的事务标识号;The identification determination module is used to determine the transaction identification number of the business flow;日志生成模块,用于为处理所述业务流的应用模块生成与所述事务标识号关联的消息日志;以及A log generation module, configured to generate a message log associated with the transaction identification number for the application module processing the service flow; and日志分析模块,用于根据所述消息日志的故障信息确定业务故障源。The log analysis module is used to determine the source of the business failure according to the failure information of the message log.
- 一种设备,包括:A device that includes:一个或多个处理器;以及One or more processors; and存储器,用于存储一个或多个程序;Memory, used to store one or more programs;当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-7中任一所述的日志处理方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the log processing method according to any one of claims 1-7.
- 一种计算机可读存储介质,其上存储有计算机程序,其中,该程序被处理器执行时实现如权利要求1-7中任一所述的日志处理方法。A computer-readable storage medium having a computer program stored thereon, wherein the program is executed by a processor to implement the log processing method according to any one of claims 1-7.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911364466.9 | 2019-12-26 | ||
CN201911364466.9A CN113055760A (en) | 2019-12-26 | 2019-12-26 | Log processing method, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021129849A1 true WO2021129849A1 (en) | 2021-07-01 |
Family
ID=76505886
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/139801 WO2021129849A1 (en) | 2019-12-26 | 2020-12-27 | Log processing method, apparatus and device, and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN113055760A (en) |
WO (1) | WO2021129849A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115242606B (en) * | 2022-06-21 | 2024-04-16 | 北京字跳网络技术有限公司 | Data processing method, device, server, storage medium and program product |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102238023A (en) * | 2010-04-23 | 2011-11-09 | 中兴通讯股份有限公司 | Method and device for generating warning data of network management system |
CN102495787A (en) * | 2010-09-30 | 2012-06-13 | 微软公司 | Tracking requests that flow between subsystems |
CN105099735A (en) * | 2014-05-07 | 2015-11-25 | 中国移动通信集团福建有限公司 | Method and system for acquiring a mass of detailed logs |
CN105577454A (en) * | 2016-03-03 | 2016-05-11 | 上海新炬网络信息技术有限公司 | Method for quickly positioning service fault based on log |
CN107861833A (en) * | 2017-10-30 | 2018-03-30 | 平安科技(深圳)有限公司 | The generation method and device of identification code, computer equipment, readable storage medium storing program for executing |
CN110113200A (en) * | 2019-04-29 | 2019-08-09 | 平安科技(深圳)有限公司 | The correlating method of chain-circuit system and log system, device and storage medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102724370B (en) * | 2011-03-29 | 2015-11-25 | 中国电信股份有限公司 | For data sharing method and the device of call center |
-
2019
- 2019-12-26 CN CN201911364466.9A patent/CN113055760A/en active Pending
-
2020
- 2020-12-27 WO PCT/CN2020/139801 patent/WO2021129849A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102238023A (en) * | 2010-04-23 | 2011-11-09 | 中兴通讯股份有限公司 | Method and device for generating warning data of network management system |
CN102495787A (en) * | 2010-09-30 | 2012-06-13 | 微软公司 | Tracking requests that flow between subsystems |
CN105099735A (en) * | 2014-05-07 | 2015-11-25 | 中国移动通信集团福建有限公司 | Method and system for acquiring a mass of detailed logs |
CN105577454A (en) * | 2016-03-03 | 2016-05-11 | 上海新炬网络信息技术有限公司 | Method for quickly positioning service fault based on log |
CN107861833A (en) * | 2017-10-30 | 2018-03-30 | 平安科技(深圳)有限公司 | The generation method and device of identification code, computer equipment, readable storage medium storing program for executing |
CN110113200A (en) * | 2019-04-29 | 2019-08-09 | 平安科技(深圳)有限公司 | The correlating method of chain-circuit system and log system, device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN113055760A (en) | 2021-06-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108459939B (en) | Log collection method and device, terminal equipment and storage medium | |
US8055945B2 (en) | Systems, methods and computer program products for remote error resolution reporting | |
CN114185708A (en) | Data analysis method and device based on distributed link tracking and electronic equipment | |
US20200204680A1 (en) | Framework for predictive customer care support | |
US20190050376A1 (en) | Automatic value formatting based on intrinsic structural semantics | |
CN109271315B (en) | Script code detection method, script code detection device, computer equipment and storage medium | |
US20160019266A1 (en) | Query generating method and query generating device | |
WO2019233255A1 (en) | Text message grouping method and device, and computer-readable storage medium | |
CN113420032A (en) | Classification storage method and device for logs | |
CN108073707B (en) | Financial business data updating method and device and computer readable storage medium | |
CN113051460A (en) | Elasticissearch-based data retrieval method and system, electronic device and storage medium | |
WO2021129849A1 (en) | Log processing method, apparatus and device, and storage medium | |
CN109902070B (en) | WiFi log data-oriented analysis storage search method | |
CN111581057A (en) | General log analysis method, terminal device and storage medium | |
CN113157904B (en) | Sensitive word filtering method and system based on DFA algorithm | |
CN112612832B (en) | Node analysis method, device, equipment and storage medium | |
CN116993523A (en) | Configurable account checking method, device, equipment and storage medium | |
CN115328734A (en) | Cross-service log processing method and device and server | |
CN110597765A (en) | Large retail call center heterogeneous data source data processing method and device | |
CN113641523B (en) | Log processing method and device | |
CN114281761A (en) | Data file loading method and device, computer equipment and storage medium | |
CN115357625A (en) | Structured data comparison method and device, electronic equipment and storage medium | |
CN110727759A (en) | Method and device for determining theme of voice information | |
WO2019019456A1 (en) | Claim settlement data processing method and apparatus, computer device and storage medium | |
CN114371866A (en) | Version reconfiguration test method, device and equipment of service system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20905328 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20905328 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 14/02/2023) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20905328 Country of ref document: EP Kind code of ref document: A1 |