WO2021129849A1 - Log processing method, apparatus and device, and storage medium - Google Patents

Log processing method, apparatus and device, and storage medium Download PDF

Info

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
Application number
PCT/CN2020/139801
Other languages
French (fr)
Chinese (zh)
Inventor
田琪
温秋明
朱玺
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2021129849A1 publication Critical patent/WO2021129849A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q11/0067Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/069Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects
    • H04Q2011/0081Fault 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

Proposed in embodiments of the present application are a log processing method, apparatus and device, and a storage medium. The method comprises: determining a transaction identification number of a service flow; generating, for an application module that processes the service flow, a message log associated with the transaction identification number; and determining a service fault source according to fault information of the message log.

Description

日志处理方法、装置、设备和存储介质Log processing method, device, equipment and storage medium
相关申请的交叉引用Cross references to related applications
本申请基于申请号为201911364466.9、申请日为2019年12月26日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此以引入方式并入本申请。This application is filed based on a Chinese patent application with an application number of 201911364466.9 and an application date of December 26, 2019, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby incorporated into this application by way of introduction.
技术领域Technical field
本申请涉及电信设备领域,具体涉及一种日志处理方法、装置、系统和存储介质。This application relates to the field of telecommunication equipment, and in particular to a log processing method, device, system and storage medium.
背景技术Background technique
当前光传送网(Optical Transport Network,OTN)设备通过自动交换光网络(Automatically Switched Opetical,ASON)协议实现控制平面的接入,使设备在ASON的自动控制下,保证网络的高效及时和智能可靠。然而,基于ASON的控制面管理架构,从上游控制器到下游单板,经过众多的应用模块,各应用模块记录的消息日志格式不统一,甚至缺少消息日志。此外,消息日志通常以二进制形式记录,当业务数据爆炸性增长后,通过传统的“数字节”的方式对消息日志进行解析,通常无法体现业务流的关联关系,无法准确定位故障位置。At present, 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. However, based on the ASON control plane management architecture, from the upstream controller to the downstream board, there are many application modules, and the message log format recorded by each application module is not uniform, and even lacks message logs. In addition, 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.
发明内容Summary of the invention
本申请提供了一种日志处理方法、装置、设备和存储介质。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 provided by an embodiment of the present application 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.
关于本申请的以上实施例和其他方面以及其实现方式,在附图说明、具体实施方式和权利要求中提供更多说明。Regarding the above embodiments and other aspects of the application and their implementation manners, more descriptions are provided in the description of the drawings, the specific implementation manners, and the claims.
附图说明Description of the drawings
图1是本申请实施例提供的一种日志处理方法的步骤流程图;FIG. 1 is a flowchart of the steps of a log processing method provided by an embodiment of the present application;
图2是本申请实施例提供的另一种日志处理方法的步骤流程图;FIG. 2 is a flowchart of the steps of another log processing method provided by an embodiment of the present application;
图3是本申请实施例提供的另一种日志处理方法的步骤流程图;FIG. 3 is a flowchart of the steps of another log processing method provided by an embodiment of the present application;
图4是本申请实施例提供的一种日志处理装置的结构示意图;FIG. 4 is a schematic structural diagram of a log processing device provided by an embodiment of the present application;
图5是本申请实施例提供的一种设备的结构示意图。Fig. 5 is a schematic structural diagram of a device provided by an embodiment of the present application.
具体实施方式Detailed ways
为使本申请的目的、技术方案和优点更加清楚明白,下文中将结合附图对本申请的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。In order to make the objectives, technical solutions, and advantages of the present application clearer, the embodiments of the present application will be described in detail below in conjunction with the accompanying drawings. It should be noted that the embodiments in the application and the features in the embodiments can be combined with each other arbitrarily if there is no conflict.
图1是本申请实施例提供的一种日志处理方法的步骤流程图,本申请实施例可应用于处理光传送网设备中消息日志的情况,该方法可由本申请实施例中的日志处理装置来执行,该装置可以通过软件和/或硬件的方式实现,参见图1,本申请实施例的方法包括如下步骤: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. To execute, 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:
步骤101、确定业务流的事务标识号。Step 101: Determine the transaction identification number of the service flow.
其中,业务流可以是光传送网设备中传输的数据流,可以是光传送网设备上承载的业务相关的数据,业务流可以由光传送网设备中的应用模块处理,一个业务流可以被多个应用模块处理,例如,业务流a可以先通过应用模块A处理,再由应用模块B进行处理。Among them, 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.
在一个示例中,事务标识号可以是用于标识业务流的标识号,在光传输网设备中事务标识号可以全局唯一,不同的业务流对应的事务标识号可以不同,可以为各业务流生成对应的事务标识号。In an example, 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.
步骤102、为处理所述业务流的应用模块生成与所述事务标识号关联的消息日志。Step 102: Generate a message log associated with the transaction identification number for the application module processing the service flow.
其中,应用模块可以是搭载在光传送网设备上的软件模块或者硬件模块,应用模块可以通过对业务流进行处理实现相关业务功能;消息日志可以是记录业务流处理过程的数据文件,消息日志存储在光传送网设备的存储空间上。Among them, 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.
在一个示例中,处理业务流的应用模块可以通过调用公共应用软件接口实现消息日志的生成,消息日志中的日志记录与业务流对应,多个业务流可以对应相同的日志记录,可以理解的是,消息日志可以通过事务标识号进行标识,消息日志可以存储在应用本申请方法的设备存储空间。In an example, 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.
步骤103、根据所述消息日志的故障信息确定业务故障源。Step 103: Determine the source of the service failure according to the failure information in the message log.
其中,故障信息可以是消息日志中存储的错误信息,可以是处理业务流产生的失败信息,也可以是处理业务流产生的超时信息等,业务故障源可以是处理业务流失败的应用模块,例如,一个业务流可以被应用模块A、应用模块B和应用模块C处理,该业务流在应用模块B进行处理时发生错误,该业务流的业务故障源可以是应用模块B。Among them, 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.
在本申请实施例中,可以对消息日志进行分析获取到其中的故障信息,可以根据故障信息获取到该故障发生的业务故障源,示例性的,由于本申请中的消息日志为统一格式,可以根据正则表达式在消息日志中匹配故障信息,可以对故障信息进行分析获取业务故障源。In the embodiment of the present application, 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. For example, 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.
图2是本申请实施例提供的另一种日志处理方法的步骤流程图;本申请实施例对生成消息日志的方式进行了具体化,参见图2,本申请实施例的提供的日志处理方法包括: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. Referring to Fig. 2, the log processing method provided by the embodiment of the present application includes :
步骤201、通过预设校验算法根据当前系统时间生成校验值。Step 201: Generate a check value according to the current system time through a preset check algorithm.
其中,预设校验算法可以是预先设定校验算法,可以根据系统时间生成校验值,预设校验算法例如可以是循环冗余校验(Cyclic Redundancy Check,CRC) 算法,当前系统时间可以是实现本申请日志处理方法的设备中的系统时间,例如,可以是智能终端或者光传送设备的系统时间,校验值可以是对当前系统时间转换后生成的数位组,校验值的位数可以固定,校验值可以用于生成业务流的事务标识号。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.
在一个示例中,可以获取到实现本申请实施例方法的设备系统时间,可以对系统时间按照预设校验算法进行处理生成校验值。In an example, the 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.
步骤202、生成所述业务流的随机数,根据所述随机数和所述校验值生成所述业务流的所述事务标识号,其中,所述事务标识号全局唯一。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.
其中,随机数可以是随机生成的数值,随机数对应业务流生成,不同的业务流生成的随机数可以不同。Among them, 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.
在本申请实施例中,可以针对各业务流生成对应的随机数,可以将基于系统时间生成的校验值与随机数进行求和运算,可以将随机数与校验值之和作为业务流对应的事务标识号,可以理解的是,根据随机数和校验值生成业务流对应的事务标识号的方式不唯一,还可以将随机数与校验值的差值、异或值和与值作为业务流对应的事务标识号。可以理解的是,由于不同的业务流的随机数不相同,当业务流对应的系统时间相同时,业务流对应的事务标识号也可以不同,业务流对应的事务标识号全局唯一,可以与其他业务流的事务标识号不重复。In the embodiment of this application, 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. It is understandable that because the random numbers of different business flows are not the same, when the system time corresponding to the business flow is the same, 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.
步骤203、根据所述应用模块的消息报文协议确定对应的报文提取规则。Step 203: Determine a corresponding message extraction rule according to the message protocol of the application module.
其中,消息报文协议可以是应用模块解析业务流的处理方式,消息报文协议例如可以存储在统一消息模型装置中,该统一消息模型装置可以为应用模块提供多种协议的接口,例如UC口、MIM口、S口、UIL口和U口等,应用模块可以调用统一消息模块装置获取到对应的报文提取规则。Among them, 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.
在一个示例中,可以调用统一消息模块装置读取到处理业务流的报文提取规则,报文提取规则中可以包括消息结构文件、公共头文件以及消息报文类型等。在一个示例中,报文类型可以与业务流中的消息码关联存储,报文类型可以在统一消息模块装置中存储为一个哈希表,索引可以是消息码,可以通过业务流中的消息码在统一消息模型装置中查找到对应的报文类型。In an example, 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. In an example, 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.
步骤204、根据所述报文提取规则提取所述业务流的报文内容。Step 204: Extract the message content of the service flow according to the message extraction rule.
在一个示例中,报文内容可以是业务流中的业务数据,应用模块由于可以处理的消息报文的报文格式不同,可以获取到的报文提取规则对业务流内的消息报文进行解析,获取到对应业务流内消息报文的报文内容。In an example, 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.
步骤205、将所述报文内容与所述业务流的事务标识号关联存储为消息日志。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.
在本申请实施例中,可以将应用模块中处理的报文内容存储为消息日志,为了对报文内容进行标识,将业务流的事务标识号与对应的报文内容一并存储到消息日志作为消息日志的日志记录序号。在一个示例中,消息日志中还可以存储应用模块对报文内容的处理操作和业务流中消息报文的收发方向。In the embodiment of this application, the message content processed in the application module can be stored as a message log. In order to identify the message content, 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. In an example, 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.
步骤206、获取所述消息日志内的日志记录组成消息队列。Step 206: Obtain log records in the message log to form a message queue.
其中,日志记录可以是消息日志的组成部分,日志记录中可以包括应用模块对业务流的操作信息、应用模块处理的报文内容、应用模块处理消息报文的报文方向等,消息队列可以是用于对日志记录进行分析的存储空间,例如可以是实现本申请实施例方法的设备的缓存空间。Among them, 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.
在一个示例中,可以将消息日志内的日志记录读取到消息队列,其中,读取到消息队列中的日志记录可以是与预设关键字匹配的日志记录。示例性的,可以通过正则表达式在消息日志内选择与预设关键字匹配的日志记录添加到消息队列。In an example, 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. Exemplarily, 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.
步骤207、获取所述消息队列中的故障信息,并按照预设格式进行展示以确定业务故障源。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.
其中,故障信息可以是应用模块处理业务流时产生故障的信息,故障信息可以存储在消息日志中。Among them, 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.
在本申请实施例中,可以提取消息队列中日志记录的故障信息,故障信息可以例如是日志记录的一个或者多个字段,可以将消息队列中的日志记录进行展示,并将故障信息进行突出显示,例如,可以将故障信息以增大字号或者描粗字体的方式进行显示,其中,预设格式可以是对故障信息进行突出展示的格式,还可以包括高亮显示或者改变字体等,可以通过对故障信息的展示帮助用 户及时发现业务故障源,可以理解的是,故障信息还可以与事务标识号一同展示,便于梳理业务故障对应的故障业务流。In the embodiment of the present application, 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. For example, 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.
本申请实施例的技术方案,通过预设校验算法根据当前系统时间确定校验值,生成业务流对应的随机数,根据校验值和随机数确定业务流对应的事务标识号,根据应用模块的消息报文协议确定对应的报文提取规则,根据报文提取规则提取业务流中的报文内容,将报文内容和事务标识号存储为消息日志,获取消息日志内日志记录组成消息队列,获取消息队列中的故障信息,并将故障信息按照预设格式展示以确定业务故障源,实现了业务故障源的快速确定,降低了消息日志的处理难度,可增强业务的稳定性。In the technical solution of the embodiment of the application, 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.
一种实施方式中,将所述报文内容与所述事务标识号关联存储为消息日志,包括:将所述报文内容与所述事务标识号存储作为业务消息日志;读取至少两个所述应用模块的所述业务消息日志合并作为所述消息日志。In one embodiment, 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.
在本申请实施例中,在生成消息日志时,可以将先将报文内容作为业务消息日志存储在设备存储空间中,各应用模块可以存储有各自的业务消息日志,可以读取各应用模块中的业务消息日志进行合并,可以将合并后的业务消息日志文件作为消息日志。In the embodiment of the present application, when generating a message log, the content of the message 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. To merge the business message logs, the merged business message log file can be used as the message log.
图3是本申请实施例提供的另一种日志处理方法的步骤流程图;参见图3,本申请实施例提供的日志处理方法包括: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:
步骤301、通过预设校验算法根据当前系统时间生成校验值。Step 301: Generate a check value according to the current system time through a preset check algorithm.
步骤302、生成所述业务流的随机数,根据所述随机数和所述校验值生成所述业务流的所述事务标识号,其中,所述事务标识号全局唯一。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.
步骤303、根据所述应用模块的消息报文协议确定对应的报文提取规则。Step 303: Determine a corresponding message extraction rule according to the message message protocol of the application module.
步骤304、根据所述报文提取规则提取所述业务流的报文内容。Step 304: Extract the message content of the service flow according to the message extraction rule.
步骤305、将所述报文内容与所述业务流的事务标识号关联存储为消息日志。Step 305: Associate the content of the message with the transaction identification number of the service flow and store it as a message log.
步骤306、根据预设关键字匹配所述消息日志内的目标日志记录,将所述目标日志记录存储到所述消息队列。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.
其中,预设关键字可以是筛序目标日志记录的关键字,例如可以是报文方向和报文类型等,目标日志记录可以是与预设关键字匹配的消息日志的日志记 录,目标日志记录中可以包括预设关键字。Among them, 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.
在一个示例中,可以根据预设关键字对消息日志内日志记录进行匹配,当日志记录存在预设关键字时,可以将该日志记录作为目标日志记录,可以理解的是,在消息日志内可以通过匹配预设关键字获取到多个目标日志记录。可以将获取到的目标日志记录添加到消息队列中。In one example, the log records in the message log can be matched according to preset keywords. When the log records have 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.
步骤307、根据预设过滤关键字过滤所述消息队列内的日志记录。Step 307: Filter the log records in the message queue according to preset filtering keywords.
在本申请实施例中,可以对消息队列中日志记录进行过滤,当日志记录包含预设过滤关键字时,可以将该日志记录从消息队列中清除。In the embodiment of the present application, the log records in the message queue can be filtered. When the log records contain preset filtering keywords, the log records can be cleared from the message queue.
步骤308、按照所述事务标识号的顺序将所述消息队列内的日志记录进行排序展示。Step 308: Sort and display the log records in the message queue according to the order of the transaction identification number.
在一个示例中,为了便于直观显示故障信息,可以按照事务标识号的顺序将消息队列中的日志记录进行排序,可以将排序后的消息队列进行展示。在一个示例中,可以将属于相同事务标识号的日志记录按照请求消息和应答消息的顺序进行显示,对应相同事务标识号的日志记录还可以根据时间先后顺序依次进行显示。In an example, in order to facilitate the visual display of the fault information, 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. In one example, 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.
步骤309、所述日志记录中的故障信息以红色高亮标识,其中,故障信息包括应答失败信息和超时失败信息中至少一种。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.
在一个示例中,可以将故障信息以红色高亮的信息进行标识,当消息队列中的日志记录以视图方式展示时,可以凸显显示故障信息,在本申请实施例中故障信息可以包括应用模块处理业务流时的应对失败信息和超时失败信息。In an example, the fault information can be marked with information highlighted in red. When the log records in the message queue are displayed in a view, the fault information can be highlighted. In this embodiment of the application, the fault information can include application module processing. Response failure information and timeout failure information during business flow.
示例性的,SND控制器对电/光层业务进行配置,可以对每条业务流生成唯一的事务ID,事务ID可以实现业务流在各应用模块中的关联,业务模块通过调用统一消息接口记录消息报文作为消息日志,消息日志中还可以包括下发报文和配置结果应对报文,可以读取静态消息结构XML文件和固定公共头文件,获取到预先设定的消息报文解析原型,消息报文解析原型可以存放在一个全局哈希表中,该全局哈希表的索引可以为消息码,消息报文解析原型和消息码可以一一对应。可以从消息日志中将存储的消息提取,提取的方式可以通过python正则表达式提取与关键字匹配的字段,可以将提取到的字段存储到消息队列。可以对消息队列中的消息进行过滤,丢弃匹配过滤条件的消息,可以根据统一 消息模型获取消息解析原型,根据消息解析原型与消息队列中的消息仅对比,根据消息解析原型中属性类型定义的占用长度解析消息内容,为了便于直观显示,可以对解析出的消息内容按照业务ID进行排序,属于同一业务流的消息内容可以按照实际顺序进行排序,归属一条业务流的请求消息和应答消息一起显示,业务流内部按照时间先后依次显示,业务配置应答结果失败和超时用红色高亮标示,通过对应答结果的判断,可以快速定位到业务故障的界限区域。Exemplarily, 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. In order to facilitate visual display, 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.
本申请实施例的技术方案,通过预设校验算法根据当前系统时间确定校验值,生成业务流对应的随机数,根据校验值和随机数确定业务流对应的事务标识号,根据应用模块的消息报文协议确定对应的报文提取规则,根据报文提取规则提取业务流中的报文内容,将报文内容和事务标识号存储为消息日志,获取消息日志内日志记录组成消息队列,获取消息队列中的故障信息,并将故障信息按照预设格式展示以确定业务故障源,实现了业务故障源的快速确定,降低了消息日志的处理难度,可增强业务的稳定性。In the technical solution of the embodiment of the application, 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.
图4是本申请实施例提供的一种日志处理装置的结构示意图;本申请实施例提供的日志处理装置可以执行本申请任意实施例提供的日志处理方法,具备执行方法相应的功能模块和有益效果。该装置可以由软件和/或硬件实现,例如包括:标识确定模块401、日志生成模块402和日志分析模块403。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.
其中,标识确定模块401,用于确定业务流的事务标识号。Wherein, the identification determination module 401 is used to determine the transaction identification number of the service flow.
日志生成模块402,用于为处理所述业务流的应用模块生成与所述事务标识号关联的消息日志。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.
日志分析模块403,用于根据所述消息日志的故障信息确定业务故障源。The log analysis module 403 is configured to determine the source of the business failure according to the failure information of the message log.
本申请实施例的技术方案,通过标识确定模块确定业务流的事务标识号,日志生成模块为处理业务流的应用模块生成消息日志,消息日志可以与事务标识号关联,日志分析模块基于消息日志内的故障信息确定业务故障源,明确了在各应用模块中业务流的关联关系,降低了消息日志处理的难度,可提高业务故障源定位的准确程度。In the technical solution of the embodiment of the present application, 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, and 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.
一种实施方式中,标识确定模块401包括:校验值单元,用于通过预设校验算法根据当前系统时间生成校验值;以及标识单元,用于生成所述业务流的随机数,根据所述随机数和所述校验值生成所述业务流的所述事务标识号,其 中,所述事务标识号全局唯一。In one embodiment, 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.
一种实施方式中,日志生成模块402包括:规则确定单元,用于根据所述应用模块的消息报文协议确定对应的报文提取规则;内容提取单元,用于根据所述报文提取规则提取所述业务流的报文内容;以及日志存储单元,用于将所述报文内容与所述业务流的事务标识号关联存储为消息日志。In one embodiment, 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.
一种实施方式中,日志存储单元包括:业务日志子单元,用于将所述报文内容与所述事务标识号存储作为业务消息日志;以及合并日志子单元,用于读取至少两个所述应用模块的所述业务消息日志合并作为所述消息日志。In one embodiment, 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.
一种实施方式中,日志分析模块403包括:消息队列单元,用于获取所述消息日志内的日志记录组成消息队列;以及故障信息单元,用于获取所述消息队列中的故障信息,并按照预设格式进行展示以确定业务故障源。In one embodiment, 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.
一种实施方式中,消息队列单元包括:记录读取子单元,用于根据预设关键字匹配所述消息日志内的目标日志记录,将所述目标日志记录存储到所述消息队列;以及记录过滤子单元,用于根据预设过滤关键字过滤所述消息队列内的日志记录。In one embodiment, 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.
一种实施方式中,故障信息单元包括:消息排序子单元,用于按照所述事务标识号的顺序将所述消息队列内的日志记录进行排序展示;以及突出显示子单元,用于所述日志记录中的故障信息以红色高亮标识,其中,故障信息包括应答失败信息和超时失败信息中至少一种。In one embodiment, 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.
图5是本申请实施例提供的一种设备的结构示意图,如图5所示,该设备包括处理器50、存储器51、输入装置52和输出装置53;设备中处理器50的数量可以是一个或多个,图5中以一个处理器50为例;设备处理器50、存储器51、输入装置52和输出装置53可以通过总线或其他方式连接,图5中以通过总线连接为例。FIG. 5 is a schematic structural diagram of a device provided by an embodiment of the present application. As shown in FIG. 5, 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.
存储器51作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序以及模块,如本申请实施例日志处理装置对应的模块(标识确定模块401、日志生成模块402和日志分析模块403)。处理器50通过运行存储在存储器51中的软件程序、指令以及模块,从而执行设备的各种功能应用以及数据处理,即实现上述的日志处理方法。As a computer-readable storage medium, 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.
存储器51可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据终端的使用所创建的数据等。此外,存储器51可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实例中,存储器51可包括相对于处理器50远程设置的存储器,这些远程存储器可以通过网络连接至设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。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. In addition, 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. In some examples, 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.
输入装置52可用于接收输入的数字或字符信息,以及产生与设备的用户设置以及功能控制有关的键信号输入。输出装置53可包括显示屏等显示设备。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:
确定业务流的事务标识号;为处理所述业务流的应用模块生成与所述事务标识号关联的消息日志;根据所述消息日志的故障信息确定业务故障源。Determine the transaction identification number of the business flow; generate a message log associated with the transaction identification number for the application module processing the business flow; determine the source of the business failure according to the failure information of the message log.
当然,本申请实施例所提供的一种包含计算机可执行指令的存储介质,其计算机可执行指令不限于如上所述的方法操作,还可以执行本申请任意实施例所提供的日志处理方法中的相关操作。Of course, 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.
通过以上关于实施方式的描述,所属领域的技术人员可以清楚地了解到,本发明可借助软件及必需的通用硬件来实现,当然也可以通过硬件实现,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如计算机的软盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、闪存(FLASH)、硬盘或光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请实施例所述的方法。Through the above description of the implementation manners, those skilled in the art can clearly understand that the present invention can be implemented by software and necessary general-purpose hardware, of course, it can also be implemented by hardware, but in many cases the former is a better implementation. . Based on this understanding, the technical solution of this application essentially or the part that contributes to the prior art can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk. , Read-Only Memory (ROM), Random Access Memory (RAM), Flash memory (FLASH), 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.
值得注意的是,上述日志处理装置的实施例中,所包括的各个单元和模块只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,各功能单元的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。It is worth noting that in the above embodiment of the log processing device, the various units and modules included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding function can be realized; in addition, each The specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of this application.
本领域内的技术人员应明白,术语用户终端涵盖任何适合类型的无线用户设备,例如移动电话、便携数据处理装置、便携网络浏览器或车载移动台。Those skilled in the art should understand that the term 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.
一般来说,本申请的多种实施例可以在硬件或专用电路、软件、逻辑或其任何组合中实现。例如,一些方面可以被实现在硬件中,而其它方面可以被实现在可以被控制器、微处理器或其它计算装置执行的固件或软件中,尽管本申请不限于此。In general, the various embodiments of the present application can be implemented in hardware or dedicated circuits, software, logic or any combination thereof. For example, 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.
本申请的实施例可以通过移动装置的数据处理器执行计算机程序指令来实现,例如在处理器实体中,或者通过硬件,或者通过软件和硬件的组合。计算机程序指令可以是汇编指令、指令集架构(ISA)指令、机器指令、机器相关指令、微代码、固件指令、状态设置数据、或者以一种或多种编程语言的任意组合编写的源代码或目标代码。The embodiments of the present application may be implemented by executing computer program instructions by a data processor of a mobile device, for example, in a processor entity, or by hardware, or by a combination of software and hardware. 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.
本申请附图中的任何逻辑流程的框图可以表示程序步骤,或者可以表示相互连接的逻辑电路、模块和功能,或者可以表示程序步骤与逻辑电路、模块和功能的组合。计算机程序可以存储在存储器上。存储器可以具有任何适合于本地技术环境的类型并且可以使用任何适合的数据存储技术实现,例如但不限于只读存储器(ROM)、随机访问存储器(RAM)、光存储器装置和系统(数码多功能光碟DVD或CD光盘)等。计算机可读介质可以包括非瞬时性存储介质。数据处理器可以是任何适合于本地技术环境的类型,例如但不限于通用计算机、专用计算机、微处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、可编程逻辑器件(FGPA)以及基于多核处理器架构的处理器。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.
通过示范性和非限制性的示例,上文已提供了对本申请的示范实施例的详细描述。但结合附图和权利要求来考虑,对以上实施例的多种修改和调整对本领域技术人员来说是显而易见的,但不偏离本发明的范围。因此,本发明的恰当范围将根据权利要求确定。By way of exemplary and non-limiting examples, a detailed description of the exemplary embodiments of the present application has been provided above. However, considering the accompanying drawings and claims, various modifications and adjustments to the above embodiments are obvious to those skilled in the art, but they do not deviate from the scope of the present invention. Therefore, the proper scope of the present invention will be determined according to the claims.

Claims (10)

  1. 一种日志处理方法,包括: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.
  2. 根据权利要求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.
  3. 根据权利要求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.
  4. 根据权利要求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.
  5. 根据权利要求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.
  6. 根据权利要求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.
  7. 根据权利要求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.
  8. 一种日志处理装置,包括: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.
  9. 一种设备,包括: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.
  10. 一种计算机可读存储介质,其上存储有计算机程序,其中,该程序被处理器执行时实现如权利要求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.
PCT/CN2020/139801 2019-12-26 2020-12-27 Log processing method, apparatus and device, and storage medium WO2021129849A1 (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (6)

* Cited by examiner, † Cited by third party
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