Rail transit equipment log processing system and method
By using a combination of protocol-driven interface and log recording module in the rail transit system, the problem of large log volume affecting system operation and record loss is solved, stable recording and efficient sending of logs are achieved, and system stability and troubleshooting are ensured. ability.
Patent Information
- Application Number
- CN202110705857.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2021-05-25
- Filing Date
- 2021-06-24
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2041-06-24
AI Technical Summary
When recording logs in the existing rail transit system, the clear text method results in a large amount of logs, which affects the system running time sequence, and the record board cannot identify the frame header when the records are lost, resulting in log loss.
Use a protocol-driven interface to provide a low-priority data interface for log sending, and combine it with the logging function registration module, logging interface, and recordboard-related logging modules to optimize and store log records, avoid affecting system stability, and prevent abnormal situations. In this case, use a soft delay simulation timer to send logs one by one.
It improves the stability of the system and the integrity of log records, avoids the impact of system running timing and record loss caused by large log volumes, and ensures the platform's effective screening and troubleshooting of abnormal conditions.
Smart Images

Figure CN113392083B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of rail transit technology, and in particular to a rail transit equipment log processing system and method. Background Art
[0002] For the safety computer platform, while ensuring the smooth operation of the system based on the premise of 2X2OO2, it is necessary to consider the abnormalities and errors that may occur during the operation of the safety computer platform. In the use environment, if a train fails or data errors occur, relevant records are required to check the problem and troubleshoot. Operation and maintenance personnel also need to check the operating status of the platform regularly. Therefore, it is necessary to use relevant technologies to record the key information, data and status of the platform during operation. At the same time, the corresponding files and records need to add the timestamp of the record to facilitate the later location of the time problem.
[0003] At present, each node of the rail transit system prints out the log through the serial port or sends it to the recording board in the form of an intranet protocol packet for multi-file recording. However, the above method has the following defects: 1) When the train is running, the security computer platform records log information in plain text, resulting in the amount of log records generated during the entire system runtime cycle depending on the bandwidth size of the intranet data. When the periodic log volume is too large, the period will take too much time to perform the log sending task of this cycle, affecting the operating sequence of the security computer platform system and affecting the stability of the system. 2) When recording logs, the recording board needs to filter out the frame header of the recording data packet to determine the recorded data, resulting in the recording data packet must be kept within the data capacity limit, otherwise the intranet protocol will automatically perform packet disconnection processing, and the recording board cannot recognize the frame header, resulting in record loss. Summary of the invention
[0004] The present invention provides a rail transit equipment log processing system and method, which are used to solve the defects that each node of the existing rail transit system prints out the log through a serial port or sends it to a recording board in the form of an intranet protocol packet for multi-file recording, such as affecting the operating sequence of a security computer platform system and the stability of the system when the log volume is large, and the recording board may lose records when recording logs.
[0005] The present invention provides a rail transit equipment log processing system, comprising: a protocol driver interface, a log recording function registration module, a log recording interface, a log recording sending interface, a log recording module related to a recording board, and a serial port driver printing interface.
[0006] Wherein, the output port of the protocol driver interface and the output port of the serial port driver printing interface are both connected to the input port of the log recording function registration module, the output port of the log recording function registration module is connected to the input port of the log recording interface, the output port of the log recording interface is connected to the input port of the log recording sending interface, and the output port of the log recording sending interface is connected to the input port of the log recording module related to the record board;
[0007] The protocol driver interface is used to provide a low-priority data interface and a high-priority data interface based on the protocol, the low-priority data interface is used to send logs, and the high-priority data interface is used to perform normal communication interaction;
[0008] The logging function registration module is used to implement the registration of logging function;
[0009] The log record interface is used to provide corresponding interfaces to various functional parts of the secure computer platform, and to implement modification and selection of log record contents corresponding to various functional parts;
[0010] The log record sending interface is used to provide log record sending of multiple log record levels;
[0011] The log recording module related to the record board is used to store the logs sent by the log recording sending interface;
[0012] The serial port driver printing interface is used to output log record content during debugging.
[0013] According to a rail transit equipment log processing system provided by the present invention, the log recording interface includes: an application recording interface, a middleware recording interface, a platform recording interface and a driver recording interface;
[0014] Wherein, the application record interface is used to provide an application log record interface to the application function part of the secure computer platform;
[0015] The middleware recording interface is used to provide a middleware log recording interface to the middleware functional part of the secure computer platform;
[0016] The platform logging interface is used to provide a platform log logging interface to the platform function part of the secure computer platform;
[0017] The drive record interface is used to provide a drive log record interface to the platform function part of the secure computer platform.
[0018] According to a rail transit equipment log processing system provided by the present invention, the log record levels include: error, warning, prompt and debug.
[0019] According to a rail transit equipment log processing system provided by the present invention, the protocol driver interface is specifically: a PowerLink driver interface.
[0020] The present invention further provides a rail transit equipment log processing method, based on the rail transit equipment log processing system as described in the first aspect, comprising:
[0021] When the logging function is successfully registered, the logging interface is called to enable the logging function. If the logging level is declared, the log corresponding to the logging level is written to the platform log queue;
[0022] When the logs in the platform log queue meet the conditions for sending a data packet, a low priority data interface is called to send the data packet.
[0023] A rail transit equipment log processing method provided by the present invention also includes:
[0024] When an abnormal situation occurs on the secure computer platform, determining whether the platform log queue is empty;
[0025] If the platform log queue is not empty, read the length of a single record from the platform log queue, read the corresponding log according to the length, and send the read log to the protocol sending queue;
[0026] Alternatively, if the platform log queue is empty, the soft delay simulation timer is started, and when the time of the soft delay simulation timer is reached, the low priority data interface is called to send logs one by one to the relevant log recording module of the record board.
[0027] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of any of the above-mentioned rail transit equipment log processing methods are implemented.
[0028] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned rail transit equipment log processing methods are implemented.
[0029] The rail transit equipment log processing system and method provided by the present invention can register the relevant record interface through the registration function during initialization, realize effective adaptation in different modes, different scenarios, and different interfaces, and have higher adaptability for different systems and cores. This method guarantees that the platform screens problems and faults under abnormal conditions to the greatest extent, and also facilitates the normal daily maintenance and data management of the system; it avoids the difficulty in reproducing faults and troubleshooting problems due to occasional data errors, and protects the operation safety of the platform and trains to a certain extent; the protocol driver interface sets a low-priority channel and a high-priority channel, the low-priority channel is used for log sending and storage, and the high-priority channel is used for normal communication interaction. Using the low-priority channel for log sending and storage can stably complete log recording without affecting the normal communication interaction of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0031] Figure 1 One of the structural schematic diagrams of the rail transit equipment log processing system provided in the embodiment of the present application;
[0032] Figure 2 The second structural diagram of the rail transit equipment log processing system provided in the embodiment of the present application;
[0033] Figure 3 A schematic diagram of a flow chart of a rail transit equipment log processing method provided by an embodiment of the present invention;
[0034] Figure 4 A flow chart of a log processing method provided by an embodiment of the present invention;
[0035] Figure 5 A schematic diagram of the storage and log sending process of the abnormal phase processing of the log record processing solution provided by an embodiment of the present invention;
[0036] Figure 6 A schematic diagram of the physical structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0037] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0038] It should be understood that the reference to "one embodiment" or "an embodiment" in the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present invention. Therefore, the "in one embodiment" or "in an embodiment" appearing in various places throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner.
[0039] Figure 1 One of the structural diagrams of the rail transit equipment log processing system provided in the embodiment of the present application is as follows Figure 1 As shown, the rail transit equipment log processing system includes: a protocol driver interface 101, a log recording function registration module 102, a log recording interface 103, a log recording sending interface 104, a record board related log recording module 105 and a serial port driver printing interface 106.
[0040] Among them, the output port of the protocol driver interface 101 and the output port of the serial port driver printing interface 106 are both connected to the input port of the log recording function registration module 102, the output port of the log recording function registration module 102 is connected to the input port of the log recording interface 103, the output port of the log recording interface 103 is connected to the input port of the log recording sending interface 104, and the output port of the log recording sending interface 104 is connected to the input port of the record board related log recording module 105.
[0041] The protocol driver interface 101 is used to provide a low-priority data interface and a high-priority data interface based on the protocol, the low-priority data interface is used to send logs, and the high-priority data interface is used to perform normal communication interaction.
[0042] It is understandable that using a low-priority channel for log sending and storage can stably complete log recording without affecting the normal communication interaction of the system, thereby solving the problem of too much time spent on the log sending task of the cycle when the periodic log volume is too large, avoiding affecting the operating sequence of the security computer platform system and improving system stability.
[0043] The protocol may be a PowerLink protocol, a CAN bus protocol, etc., which is related to a secure computer platform, and the present invention does not impose any limitation on this.
[0044] The log recording function registration module 102 is used to implement the registration of the log recording function;
[0045] Optionally, the relevant record interface can be registered through the registration function during initialization to achieve effective adaptation in different modes, different scenarios, and different interfaces, with higher adaptability for different systems and cores.
[0046] The log record interface 103 is used to provide corresponding interfaces to various functional parts of the secure computer platform, and to implement modification and selection of log record contents corresponding to various functional parts;
[0047] The log record sending interface 104 is used to provide log record sending of multiple log record levels;
[0048] The record board related log recording module 105 is used to store the logs sent by the log record sending interface;
[0049] Among them, the record board related log recording module 105 is the key and main recording method when the system is officially running.
[0050] The serial port driver printing interface 106 is used to output log record content during debugging.
[0051] The serial port driver printing interface 106 is an optional interface module provided for the convenience of developers to perform related operations and data debugging.
[0052] The rail transit equipment log processing system provided by the embodiment of the present invention can register the relevant record interface through the registration function during initialization, realize effective adaptation in different modes, different scenarios, and different interfaces, and has higher adaptability for different systems and cores. This method guarantees that the platform screens problems and faults under abnormal conditions to the greatest extent, and also facilitates the normal daily maintenance and data management of the system; it avoids the difficulty in reproducing faults and troubleshooting problems due to occasional data errors, and to a certain extent protects the operation safety of the platform and trains; the protocol driver interface sets a low-priority channel and a high-priority channel, the low-priority channel is used for log sending and storage, and the high-priority channel is used for normal communication interaction. Using the low-priority channel for log sending and storage can stably complete log recording without affecting the normal communication interaction of the system.
[0053] Figure 2 The second structural diagram of the rail transit equipment log processing system provided in the embodiment of the present application. Optionally, Figure 2As shown, the log recording interface 103 includes: an application recording interface 1031 , a middleware recording interface 1032 , a platform recording interface 1033 and a driver recording interface 1034 .
[0054] It can be understood that since the various functional parts of the secure computer platform are relatively independent, the log recording processing solution in the embodiment of the present application provides four different log recording interfaces for the parts, namely, the application recording interface 1031, the middleware recording interface 1032, the platform recording interface 1033 and the driver recording interface 1034.
[0055] The application record interface 1031 is used to provide an application log record interface to the application function part of the secure computer platform; the application record interface is connected to the application function part of the secure computer platform.
[0056] The middleware recording interface 1032 is used to provide a middleware log recording interface to the middleware functional part of the secure computer platform; the middleware recording interface is connected to the middleware functional part of the secure computer platform.
[0057] The platform record interface 1033 is used to provide a platform log record interface to the platform function part of the secure computer platform; the platform record interface is connected to the platform function part of the secure computer platform.
[0058] The drive record interface 1034 is used to provide a drive log record interface to the platform function part of the secure computer platform; the drive record interface is connected to the drive function part of the secure computer platform.
[0059] When each functional part needs to record the corresponding log, it calls its own interface to facilitate the modification and optional recording of the log recording content of each part.
[0060] The application recording interface 1031 , the middleware recording interface 1032 , the platform recording interface 1033 and the driver recording interface 1034 constitute the log recording interface 103 as a whole, and are respectively connected to the log recording sending interface 104 and the log recording module 105 related to the recording board.
[0061] The embodiment of the present invention provides different log recording interfaces for four parts, thereby achieving effective adaptation in different modes, different scenarios, and different interfaces, and having higher adaptability to different systems and cores.
[0062] Optionally, the logging levels include: error, warning, prompt and debug.
[0063] The embodiment of the present invention provides four logging interfaces for four different functional parts and adds four logging levels, namely, error (ERR), warning (WARNING), prompt (PROMPT) and debug (DEBUG). Developers can use debug level logs to perform corresponding relevant data analysis and debugging during the development process. When the platform is officially used for trains, it is necessary to ensure the simplicity of log records and the efficiency of the system. Therefore, during the final operation, developers can turn off the debug level records and retain the relevant record information of key errors, warnings, and prompts.
[0064] Optionally, the protocol driver interface is specifically: a PowerLink driver interface.
[0065] It is understandable that the Powerlink driver interface sets a low-priority channel and a high-priority channel. The low-priority channel is used for log sending and storage, and the high-priority channel is used for normal communication interaction. Using the low-priority channel for log sending and storage can stably complete log recording without affecting the normal communication interaction of the system.
[0066] The rail transit equipment log processing system provided by the embodiment of the present invention can register the relevant record interface through the registration function during initialization, realize effective adaptation in different modes, different scenarios, and different interfaces, and has higher adaptability for different systems and cores. This method guarantees that the platform screens problems and faults under abnormal conditions to the greatest extent, and also facilitates the normal daily maintenance and data management of the system. It avoids the phenomenon that it is difficult to reproduce faults and troubleshoot problems due to occasional data errors, and protects the operation safety of the platform and trains to a certain extent; the PowerLink driver interface sets a low-priority channel and a high-priority channel, the low-priority channel is used for log sending and storage, and the high-priority channel is used for normal communication interaction. The low-priority channel is used for log sending and storage, and the log recording is stably completed without affecting the normal communication interaction of the system. It is suitable for a secure computing platform based on the PowerLink protocol.
[0067] Figure 3 A schematic diagram of a flow chart of a rail transit equipment log processing method provided by an embodiment of the present invention, such as Figure 3 As shown, the rail transit equipment log processing method includes the following steps:
[0068] Step 300: When the logging function is successfully registered, the logging interface is called to enable the logging function. If the logging level is declared, the log corresponding to the logging level is written into the platform log queue;
[0069] You can register the relevant recording interface through the registration function during initialization. When the logging function is successfully registered, call the logging interface to enable the logging function. If the logging level is declared, for example, error, warning, prompt or debug, the log corresponding to the logging level will be written to the platform log queue;
[0070] Step 301: When the log in the platform log queue meets the condition of sending a data packet, a low priority data interface is called to send the data packet.
[0071] In order to ensure that the log sending task does not affect the normal communication interaction of the system, when the logs in the platform log queue meet the conditions for sending a data packet, a low-priority data interface is called to send the data packet.
[0072] Figure 4 A flow chart of the log processing method provided in the embodiment of the present invention. The rail transit equipment log processing method provided in the embodiment of the present invention can register the relevant record interface through the registration function during initialization, realize effective adaptation in different modes, different scenarios, and different interfaces, and has higher adaptability for different systems and cores. This method ensures that the platform screens problems and faults under abnormal conditions to the greatest extent, and also facilitates the normal daily maintenance and data management of the system. It avoids the phenomenon that it is difficult to reproduce faults and troubleshoot problems due to occasional data errors, and protects the operation safety of the platform and trains to a certain extent; the protocol driver interface sets a low priority channel for log sending and storage, which can stably complete log recording without affecting the normal communication interaction of the system.
[0073] Optionally, it also includes:
[0074] When an abnormal situation occurs on the secure computer platform, determining whether the platform log queue is empty;
[0075] If the platform log queue is not empty, read the length of a single record from the platform log queue, read the corresponding log according to the length, and send the read log to the protocol sending queue;
[0076] Alternatively, if the platform log queue is empty, the soft delay simulation timer is started, and when the time of the soft delay simulation timer is reached, the low priority data interface is called to send logs one by one to the relevant log recording module of the record board.
[0077] The key to the log record processing solution lies in the log record processing of system abnormal conditions. When the system encounters abnormal conditions such as data errors, self-test failures, and communication interruptions, it is ensured that the abnormal records can be stably sent to the record board for recording. Therefore, when entering the abnormality, it is necessary to ensure that the log records stored in the platform queue will not be lost. Due to the abnormal situation, the platform cannot start the timer to complete the data transmission. Therefore, it is necessary to perform soft delay simulation timing during exception processing, and send data to send log information one by one to the record board for recording.
[0078] Figure 5 A schematic diagram of the storage and log sending process of the abnormal phase processing of the log record processing solution provided in an embodiment of the present invention.
[0079] First, when an abnormal situation occurs on the secure computer platform, it is determined whether the platform log queue is empty;
[0080] If the platform log queue is not empty, read the length of a single record from the platform log queue, read the corresponding log according to the length, and send the read log to the protocol sending queue;
[0081] If the platform log queue is empty, the soft delay simulation timer is started. When the time of the soft delay simulation timer is reached, the low priority data interface is called to send logs one by one to the relevant log recording module of the record board.
[0082] The embodiment of the present invention ensures that the log records stored in the platform queue will not be lost when the system encounters abnormal situations such as data errors, self-check failures, and communication interruptions.
[0083] Figure 6 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 6 As shown, the electronic device may include: a processor 610, a communication interface 620, a memory 630 and a communication bus 640, wherein the processor 610, the communication interface 620 and the memory 630 communicate with each other through the communication bus 640. The processor 610 may call the logic instructions in the memory 630 to execute the rail transit equipment log processing method, the method comprising: when the log recording function is successfully registered, calling the log recording interface to start the log recording function, if the log recording level is declared, writing the log corresponding to the log recording level into the platform log queue;
[0084] When the logs in the platform log queue meet the conditions for sending a data packet, a low priority data interface is called to send the data packet.
[0085] In addition, the logic instructions in the above-mentioned memory 630 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0086] On the other hand, the present invention also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the rail transit equipment log processing method provided by the above methods, and the method includes: when the logging function is successfully registered, calling the logging interface to enable the logging function, if the logging level is declared, writing the log corresponding to the logging level to the platform log queue; when the log in the platform log queue meets the conditions for sending a data packet, calling the low priority data interface to send the data packet.
[0087] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, it is implemented to execute the above-mentioned rail transit equipment log processing method provided, the method comprising: when the log recording function is successfully registered, calling the log recording interface to enable the log recording function, if the log recording level is declared, writing the log corresponding to the log recording level into the platform log queue; when the log in the platform log queue meets the conditions for sending a data packet, calling the low priority data interface to send the data packet.
[0088] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0089] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0090] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A rail transit equipment log processing system, characterized in that: include: Protocol driver interface, log function registration module, log interface, log sending interface, log board related log module and serial port driver printing interface, Wherein, the output port of the protocol driver interface and the output port of the serial port driver printing interface are both connected to the input port of the log recording function registration module, the output port of the log recording function registration module is connected to the input port of the log recording interface, the output port of the log recording interface is connected to the input port of the log recording sending interface, and the output port of the log recording sending interface is connected to the input port of the log recording module related to the record board; The protocol driver interface is used to provide a low-priority data interface and a high-priority data interface based on the protocol, the low-priority data interface is used to send logs, and the high-priority data interface is used to perform normal communication interaction; The logging function registration module is used to implement the registration of logging function; The log record interface is used to provide corresponding interfaces to various functional parts of the secure computer platform, and to implement modification and selection of log record contents corresponding to various functional parts; The log record sending interface is used to provide log record sending of multiple log record levels; the log record levels include: error, warning, prompt and debug; The log recording module related to the record board is used to store the logs sent by the log recording sending interface; The serial port driver printing interface is used to output log record content during debugging.
2. The rail transit equipment log processing system according to claim 1, characterized in that: The log recording interface includes: an application recording interface, a middleware recording interface, a platform recording interface and a driver recording interface; Wherein, the application record interface is used to provide an application log record interface to the application function part of the secure computer platform; The middleware recording interface is used to provide a middleware log recording interface to the middleware functional part of the secure computer platform; The platform logging interface is used to provide a platform log logging interface to the platform function part of the secure computer platform; The drive record interface is used to provide a drive log record interface to the platform function part of the secure computer platform.
3. The rail transit equipment log processing system according to claim 1, characterized in that: The protocol driver interface is specifically: PowerLink driver interface.
4. A rail transit equipment log processing method, based on the rail transit equipment log processing system according to any one of claims 1 to 3, characterized in that: include: When the logging function is successfully registered, the logging interface is called to enable the logging function. If the logging level is declared, the log corresponding to the logging level is written to the platform log queue; When the logs in the platform log queue meet the conditions for sending a data packet, a low priority data interface is called to send the data packet.
5. The rail transit equipment log processing method according to claim 4 is characterized in that: Also includes: When an abnormal situation occurs on the secure computer platform, determining whether the platform log queue is empty; If the platform log queue is not empty, read the length of a single record from the platform log queue, read the corresponding log according to the length, and send the read log to the protocol sending queue; If the platform log queue is empty, the soft delay simulation timer is started. When the time of the soft delay simulation timer is reached, the low priority data interface is called to send logs one by one to the relevant log recording module of the record board.
6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of the rail transit equipment log processing method as described in claim 4 or 5 are implemented.
7. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the rail transit equipment log processing method as claimed in claim 4 or 5 are implemented.
