A test method and system for rail transit system

By obtaining and sorting the log fields of test cases in the rail transit system, comparing the actual and expected results, the problem of inefficient testing and auditing in the existing technology is solved, and efficient and accurate log audit is achieved.

CN112346898BActive Publication Date: 2024-11-01TRAFFIC CONTROL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011172149.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-10-28
Publication Date
2024-11-01
Estimated Expiration
2040-10-28

AI Technical Summary

Technical Problem

The test and auditing efficiency and accuracy of rail transit systems in the existing technology make it difficult for auditors to complete the test and auditing review efficiently when processing a large number of logs.

Method used

By obtaining the operation steps and actual results of each test case in the rail transit system test, sorting them in the order of expected results, and comparing the actual results with the expected results, building a log field serialization audit method to improve auditing Efficiency and accuracy.

Benefits of technology

This method effectively solves the blindness of auditors when searching logs, shortens audit time, improves audit efficiency and accuracy, and adapts to test audits of various testing methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112346898B_ABST
    Figure CN112346898B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention provides a test method and system for a rail transit system, including: obtaining the operation steps of each test case in the rail transit system test and the actual results of all log fields in the rail transit system test; sorting the log fields according to the order in which the expected results of the operation steps of each test case occur; comparing the actual results corresponding to each log field with the expected results to obtain the test comparison results; and determining the results of the rail transit system test according to the test comparison results. The test method and system provided by the embodiment of the present invention provide a log-based serialized audit method, which compares the actual results with the expected results one by one by constructing a log field sequence, thereby solving the blindness of the auditor's search when performing log audits, shortening the audit time, improving the audit efficiency and accuracy, and being able to adapt to test audits of various test methods.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of rail transit technology, and in particular to a testing method and system for a rail transit system. Background Art

[0002] With the development of urban rail transit, more and more cities are constructing subways, which puts forward higher and higher requirements on the quality of subway signal systems. In order to meet the requirements of time quality detection, the test platforms built by signal system integrators have begun to be remote. At the same time, the project schedule is urgent and the on-site test time is compressed. How to ensure the quality of on-site testing is also one of the issues that signal system integrators consider. For this reason, it is necessary to conduct test audits for remote and on-site tests.

[0003] By analyzing the logs obtained from the rail transit system test, the purpose of testing and auditing the rail transit system can be achieved. However, due to the large number of test cases and logs tested every day, how to make the test audit simple and efficient is a technical problem that every auditor needs to solve urgently at this stage. Summary of the invention

[0004] The embodiment of the present invention provides a rail transit system testing method and system, which are used to solve the defects of low efficiency and poor accuracy caused by manual review of rail transit system test logs in the prior art, so as to improve the efficiency and accuracy of system testing.

[0005] In the first aspect, an embodiment of the present invention provides a testing method for a rail transit system, which mainly includes: obtaining the operating steps of each test case in the rail transit system test and the actual results of all log fields in the rail transit system test; sorting the log fields according to the order in which the expected results of the operating steps of each test case occur; comparing the actual results corresponding to each log field with the expected results to obtain the test comparison results; and determining the results of the rail transit system test based on the test comparison results.

[0006] Optionally, before sorting the log fields according to the order in which the expected results of the operation steps of each test case occur, the method may further include: configuring the expected results of the operation steps of each test case.

[0007] Optionally, comparing the actual result corresponding to each log field with the expected result to obtain a test comparison result specifically includes: comparing the actual result corresponding to each log field with the expected result corresponding to each log field to obtain a test comparison result; the expected result corresponding to each log field is determined based on the expected result of each operation step of each test case.

[0008] Optionally, before comparing the actual result corresponding to each log field with the expected result, it can also include: taking the train operation route as a carrier, embedding multiple test cases into the train operation route to form a test sequence; and sorting the log fields according to the order in which the expected results of the operation steps of the test sequence occur.

[0009] Optionally, after sorting the log fields according to the order in which the expected results of the operation steps of each test case occur, it can also include: sequentially numbering the sorted log fields, the actual results corresponding to each log field, and the expected results; the log fields, actual results, and expected results corresponding to each operation step of each test case share a numbering code.

[0010] In a second aspect, an embodiment of the present invention further provides a test system for a rail transit system, including a data acquisition unit, a field sequence construction unit, a test comparison unit, and a test result output unit, wherein:

[0011] The data acquisition unit is used to obtain the operation steps of each test case in the rail transit system test and the actual results of all log fields in the rail transit system test; the field sequence construction unit is used to sort the log fields according to the order in which the expected results of the operation steps of each test case occur; the test comparison unit is used to compare the actual result corresponding to each log field with the expected result to obtain the test comparison result; the test result output unit is used to determine the result of the rail transit system test according to the test comparison result.

[0012] Furthermore, the rail transit system test system provided by the embodiment of the present invention may further include a data configuration unit, and the data configuration unit is used to configure the expected results of the operation steps of each test case.

[0013] Furthermore, the test system of the rail transit system may also include a test sequence construction unit; the test sequence construction unit is used to embed multiple test cases into the train operation route to form a test sequence using the train operation route as a carrier, so that the field sequence construction unit can sort the log fields in the order in which the expected results of the operation steps of the test sequence occur.

[0014] In a third aspect, an embodiment of the present invention further 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-described methods for testing a rail transit system are implemented.

[0015] In a fourth aspect, an embodiment of the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the above-described methods for testing a rail transit system.

[0016] The rail transit system testing method provided by the embodiment of the present invention and the log-based serialized audit method provided by the system, by constructing a log field sequence, compares the actual results with the expected results one by one, thereby solving the blind search of auditors when performing log audits, shortening the audit time, improving the audit efficiency and accuracy, and being able to adapt to test audits of various test methods. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in 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 embodiments can be obtained based on these drawings without paying creative work.

[0018] Figure 1 It is a flow chart of a method for testing a rail transit system provided by an embodiment of the present invention;

[0019] Figure 2 is a flow chart of another rail transit system testing method provided by an embodiment of the present invention;

[0020] Figure 3 is a schematic diagram of a test case review template provided by an embodiment of the present invention;

[0021] Figure 4 is a flow chart of another rail transit system testing method provided by an embodiment of the present invention;

[0022] Figure 5 It is a train operation route schematic diagram provided by an embodiment of the present invention;

[0023] Figure 6 is a schematic diagram of another test case review template provided by an embodiment of the present invention;

[0024] Figure 7 It is a flow chart of a test system for a rail transit system provided by an embodiment of the present invention;

[0025] Figure 8 It is a structural schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0026] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments 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.

[0027] Test audit is currently one of the means to detect the correctness of off-site testing or actual on-site testing of rail transit systems. However, due to the large number of test cases tested every day, the system log data volume is large. If the traditional audit method is used to audit the test by analyzing the log, it is necessary to search for the corresponding log fields according to the operating steps of the test case one by one, which results in auditors spending a long time during the audit and difficulty in finding the logs without order.

[0028] The embodiment of the present invention aims at the deficiencies existing in the test audit of the off-site indoor test and on-site test of the urban rail transit signal system. When the audit is performed by analyzing the log, the log fields of the audit case are serialized to simplify the test audit process, such as Figure 1 As shown, the method mainly includes but is not limited to the following steps:

[0029] Step S1: Obtain the operation steps of each test case in the rail transit system test and the actual results of all log fields in the rail transit system test;

[0030] Step S2: Sort the log fields according to the order in which the expected results of the operation steps of each test case occur;

[0031] Step S3: Compare the actual result corresponding to each log field with the expected result to obtain the test comparison result;

[0032] Step S4: Determine the result of the rail transit system test according to the test comparison result.

[0033] Among them, the test case refers to the description of the test task when testing the rail transit system, reflecting the test plan, method, technology and strategy. Its content includes test objectives, test environment, input data, test steps, expected results, test scripts, etc., and finally forms a document. As an option, any test case is compiled for a certain test goal and consists of a set of test inputs, execution conditions, test steps and expected results. The running results of the test case can be used to judge whether the rail transit system meets this test goal.

[0034] In step S1 of the embodiment of the present invention, the operation steps of each test case carried out in the test of the rail transit system are first obtained, and the actual results of all log fields in the test are obtained. It should be pointed out that in this step, it is only necessary to collect the operation steps and expected results of all test cases, and obtain all logs corresponding to each test case, and the logs record the actual results of the test cases.

[0035] Optionally, the relevant operation steps, expected results and actual results corresponding to each test case can be grouped into a data group.

[0036] Table 1 Test case list

[0037]

[0038] Table 1 is a list of log fields related to a test case provided in an embodiment of the present invention. As shown in Table 1, the test case includes two operation steps in total (their serial numbers are 1 and 2 respectively), and each operation step corresponds to an expected result.

[0039] Furthermore, if Figure 2 As shown, in step S2, the log fields corresponding to the operation steps of a single use case are first determined, and the log fields corresponding to each operation step are sorted according to the operation steps of the execution commands related to each test case described in the test case, and the log fields of the expected results corresponding to each operation step are sorted according to the order in which the expected results occur after the operation.

[0040] like Figure 3 As shown in FIG. 1 , it is a schematic diagram of a test case review template corresponding to Table 2 provided in an embodiment of the present invention, such as Figure 3 As shown, the log fields generated in the first operation step (referred to as operation step 1) include multiple items, and each log field corresponds to an expected log result and an actual log result. The expected log result is the standard state pre-set according to operation step 1, and the actual log test result is the test result obtained during the test of the rail transit system.

[0041] Furthermore, in step S3, the actual result corresponding to each log field is compared with the expected result to obtain a test comparison result;

[0042] Since all log fields have been sorted in the order in which the expected results occur in step S2, the actual results and expected results corresponding to each log field after sorting correspond to each other based on the operation steps. Therefore, the actual results corresponding to each log field are compared with the expected results to determine the correctness of the execution of each test case in the actual test process.

[0043] For example, combined with Figure 3 As shown in the figure, if the corresponding log field of operation step 1 is "preset highest driving mode", the corresponding expected result is "ITC-CM"; if the actual result is "ITC-CM", it means that the actual result corresponding to the log field corresponds to the expected result. According to this matching principle, the actual result corresponding to each log field is compared with the expected result respectively. If all the test comparison results are qualified, it proves that the result of the rail transit system test is qualified.

[0044] Optionally, due to the different requirements of each project, the relevant expected results in the test cases may also be different. Therefore, in actual comparison, different comparison standards can be used to judge the comparison of digital quantities or analog quantities, and the embodiments of the present invention do not make specific limitations on this.

[0045] The test method provided by the embodiment of the present invention constructs a log field sequence to compare the actual results with the expected results one by one, thereby solving the blind search of auditors when performing log audits, shortening the audit time, improving the audit efficiency and accuracy, and being able to adapt to test audits of various test methods.

[0046] Based on the content of the above embodiment, as an optional embodiment, before sorting the log fields according to the order in which the expected results of the operation steps of each test case occur as described in step S2, it can also include: configuring the expected results of the operation steps of each test case.

[0047] Due to the different requirements of each test project, the relevant expected results in the test cases will also be different. Therefore, during the audit, the configurable parts of each project are used as configurable items for the audit. According to the different audit projects, the audit of different projects can be achieved by modifying the relevant field configuration of the test audit template.

[0048] Generally speaking, the expected log results of each test case in the log test review template (such as Figure 3 The expected results of the logs in the column after the log field shown in the figure are unchanged. However, for similar test cases, a large part of the expected results will be the same, with only some differences. Therefore, in the embodiment of the present invention, a method is adopted in which the parts with different expected results for similar test cases can be configured by themselves, so that the test method is highly configurable. The configurable test cases can be modified according to the actual project test cases, which will not disrupt the audit basis of the auditors, further improving the efficiency of the test, and being more suitable for test audits of off-site indoor tests that use separate test cases.

[0049] Based on the content of the above embodiments, as an optional embodiment, the step S3 described in which the actual result corresponding to each log field is compared with the expected result to obtain a test comparison result mainly includes: comparing the actual result corresponding to each log field with the expected result corresponding to each log field to obtain a test comparison result; the expected result corresponding to each log field is determined based on the expected result of each operation step of each test case.

[0050] Specifically, Figure 3 As shown, the above comparison of the actual result corresponding to each log field with the expected result refers to comparing the expected log result corresponding to each log field with the actual log result. Among them, each expected log result and each actual log result are in a one-to-one correspondence.

[0051] If the comparison result of each log expected result and each log actual result matches, the test comparison result is qualified; otherwise, the test comparison result is unqualified.

[0052] The rail transit system testing method provided by the embodiment of the present invention constructs a log field sequence, and based on the log field sequence, respectively constructs a log expected result sequence and a log actual result sequence corresponding to the log expected result sequence. By comparing the log expected result sequence with the log actual result sequence, the blindness of the auditor's search when performing log audit can be effectively solved, which can greatly shorten the audit time and improve the audit efficiency.

[0053] Based on the content of the above embodiments, as an optional embodiment, before comparing the actual result corresponding to each log field with the expected result, it also includes: taking the train operation route as a carrier, embedding multiple test cases into the train operation route to form a test sequence; sorting the log fields according to the order in which the expected results of the operation steps of the test sequence occur.

[0054] Specifically, Figure 4 As shown, in the rail transit system testing method provided by the embodiment of the present invention, multiple test cases are first serialized to construct a test sequence as shown in Table 2. The test sequence is a sequence formed by embedding test cases that can be tested together into the train running circuit as a carrier.

[0055] Table 2 Test sequence

[0056]

[0057]

[0058] The train running path is as follows: Figure 5As shown in the figure, three test cases (LCF500-V65.0-2.1.12, LCF500-V65.0-2.1.14 and LCF500-V65.0-2.1.10) constitute a test sequence, and the test order of the three test cases is also set. According to the operation steps of the test cases in the test sequence, the log fields that need to be reviewed are sorted to determine the order of log fields corresponding to each operation step, and the log sequence according to the test sequence is obtained, thereby realizing the serialization of log review. The data list obtained in each step is as follows: Figure 6 shown.

[0059] The rail transit system testing method provided by the embodiment of the present invention can simultaneously review the test results of multiple test cases, thereby effectively improving the review efficiency.

[0060] Based on the content of the above embodiments, as an optional embodiment, after sorting the log fields according to the order in which the expected results of the operation steps of each test case occur, it also includes: sequentially numbering the sorted log fields, the actual results corresponding to each log field, and the expected results; the log fields, actual results, and expected results corresponding to each operation step of each test case share a numbering code.

[0061] For example, in Figure 6 In the audit template, each log field of each test case is numbered 1-N in sequence, that is, each test case is an independent numbering cycle, so the logs in all operation steps in each test case are numbered in sequence, and the numbering of the same test case constitutes an independent numbering cycle, and the numbers of different test cases are renumbered.

[0062] The rail transit system testing method provided by the embodiment of the present invention forms a log field sequence with a serial number code by numbering the log fields, that is, the corresponding log field can be retrieved by the serial number. And because each day field corresponds to the expected log result and the actual log result, the formed log expected result sequence and log actual result sequence also have serial number codes. That is, all log fields can be grouped and distinguished according to the field sequence number code in each test case, and a one-to-one correspondence between the serial number and the log field can be achieved.

[0063] The rail transit system testing method provided by the embodiment of the present invention effectively improves the testing efficiency by sequentially numbering the sorted log fields.

[0064] The embodiment of the present invention also provides a test system for a rail transit system, such as Figure 7As shown, it includes but is not limited to a data acquisition unit 1, a field sequence construction unit 2, a test comparison unit 3 and a test result output unit 4, wherein: the data acquisition unit 1 is mainly used to obtain the operation steps of each test case in the rail transit system test and the actual results of all log fields in the rail transit system test; the field sequence construction unit 2 is mainly used to sort the log fields according to the order in which the expected results of the operation steps of each test case occur; the test comparison unit 3 is mainly used to compare the actual result corresponding to each log field with the expected result to obtain the test comparison result; the test result output unit 4 is mainly used to determine the result of the rail transit system test according to the test comparison result.

[0065] Furthermore, the rail transit system test system provided by the embodiment of the present invention may further include a data configuration unit; the data configuration unit is used to configure the expected results of the operation steps of each test case.

[0066] Furthermore, the test system for the rail transit system provided by the embodiment of the present invention may also include a test sequence construction unit; the test sequence construction unit is used to embed multiple test cases into the train operation route to form a test sequence using the train operation route as a carrier, so that the field sequence construction unit can sort the log fields in the order in which the expected results of the operation steps of the test sequence occur.

[0067] It should be noted that the test system for the rail transit system provided in the embodiment of the present invention can be implemented based on the test method for the rail transit system described in any of the above embodiments during specific execution, which will not be elaborated in this embodiment.

[0068] Figure 8 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 8 As shown, the electronic device may include: a processor 810, a communication interface 820, a memory 830 and a communication bus 840, wherein the processor 810, the communication interface 820 and the memory 830 communicate with each other through the communication bus 840. The processor 810 may call the logic instructions in the memory 830 to execute the test method of the rail transit system, which mainly includes: obtaining the operation steps of each test case in the rail transit system test and the actual results of all log fields in the rail transit system test; sorting the log fields according to the order in which the expected results of the operation steps of each test case occur; comparing the actual results corresponding to each log field with the expected results to obtain the test comparison results; and determining the results of the rail transit system test according to the test comparison results.

[0069] In addition, the logic instructions in the above-mentioned memory 830 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when 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, which is stored in a storage medium and includes several 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, etc., which can store program code.

[0070] In addition, the logic instructions in the above-mentioned memory 830 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.

[0071] On the other hand, an embodiment of 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 test method of the rail transit system provided by the above-mentioned method embodiments, which mainly includes: obtaining the operation steps of each test case in the rail transit system test and the actual results of all log fields in the rail transit system test; sorting the log fields according to the order in which the expected results of the operation steps of each test case occur; comparing the actual results corresponding to each log field with the expected results to obtain the test comparison results; and determining the results of the rail transit system test based on the test comparison results.

[0072] On the other hand, an embodiment of the present invention further 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 test method for a rail transit system provided in the above embodiments, which mainly includes: obtaining the operation steps of each test case in the rail transit system test and the actual results of all log fields in the rail transit system test; sorting the log fields according to the order in which the expected results of the operation steps of each test case occur; comparing the actual result corresponding to each log field with the expected result to obtain the test comparison result; and determining the result of the rail transit system test based on the test comparison result.

[0073] 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.

[0074] 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.

[0075] 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 test method for a rail transit system, characterized in that: include: Obtaining the operation steps of each test case in the rail transit system test and the actual results of all log fields in the rail transit system test; Sorting the log fields according to the order in which the expected results of the operation steps of each test case occur; Compare the actual result corresponding to each log field with the expected result to obtain a test comparison result; Determining the result of the rail transit system test according to the test comparison result; Before comparing the actual result corresponding to each log field with the expected result, the following is also included: Taking a train operation route as a carrier, embedding a plurality of the test cases into the train operation route to form a test sequence; sorting the log fields according to the order in which the expected results of the operation steps of the test sequence occur; After sorting the log fields according to the order in which the expected results of the operation steps of each test case occur, the method further includes: The sorted log fields, the actual results corresponding to each log field, and the expected results are numbered sequentially; all operation steps of each test case are numbered in sequence; the log fields, actual results, and expected results corresponding to each operation step of each test case share a numbering code; the numbering of the same test case constitutes an independent numbering cycle, and the numbers of different test cases are renumbered.

2. The rail transit system testing method according to claim 1, characterized in that: Before sorting the log fields according to the order in which the expected results of the operation steps of each test case occur, the method further includes: Configure the expected results of the operation steps of each test case.

3. The rail transit system testing method according to claim 1, characterized in that: The actual result corresponding to each log field is compared with the expected result to obtain the test comparison result, including: Compare the actual result corresponding to each log field with the expected result corresponding to each log field to obtain a test comparison result; The expected result corresponding to each of the log fields is determined according to the expected result of each operation step of each test case.

4. A test system for a rail transit system, characterized in that: include: A data acquisition unit, used to acquire the operation steps of each test case in the rail transit system test and the actual results of all log fields in the rail transit system test; A field sequence construction unit, used to sort the log fields according to the order in which the expected results of the operation steps of each test case occur; A test sequence construction unit is used to embed a plurality of the test cases into a train operation route to form a test sequence using a train operation route as a carrier, so that the field sequence construction unit can sort the log fields according to the order in which the expected results of the operation steps of the test sequence occur; A test comparison unit, used to compare the actual result corresponding to each log field with the expected result to obtain a test comparison result; A test result output unit, used to determine the result of the rail transit system test according to the test comparison result; The test system of the rail transit system is also used to, after sorting the log fields according to the order in which the expected results of the operation steps of each test case occur, sequentially number the sorted log fields, the actual results corresponding to each log field, and the expected results; all the operation steps of each test case are numbered in sequence; the log fields, actual results, and expected results corresponding to each operation step of each test case share a numbering code; the numbering of the same test case constitutes an independent numbering cycle, and the numbers of different test cases are renumbered.

5. The rail transit system test system according to claim 4, characterized in that: Also included is a data configuration unit; The data configuration unit is used to configure the expected results of the operation steps of each test case.

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 system testing method according to any one of claims 1 to 3 are implemented.

7. A 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 system testing method as claimed in any one of claims 1 to 3 are implemented.