Interface configuration method, device and medium based on axle counting simulation system

By adopting an interface configuration method based on the axis-counter simulation system in the urban rail fully electronic interlocking system, the problem of low simulation testing efficiency caused by the axis-counter simulation system adapting to multiple interface models is solved, and the interface is rapidly expanded and adapted, improving the availability and maintainability of the test system.

CN114942788BActive Publication Date: 2025-05-02CRSC URBAN RAIL TRANSIT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210395111.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-14
Publication Date
2025-05-02
Estimated Expiration
2042-04-14

AI Technical Summary

Technical Problem

In urban rail fully electronic interlocking systems, the axle counter simulation system needs to be adapted to multiple interface models to achieve logical simulation, resulting in low simulation testing efficiency.

Method used

Through an interface configuration method based on axle counter simulation system, configuration data is obtained, device basic attributes are read, device basic attributes are initialized, internal state checks and network communication connections are initialized, interface rapid expansion and adaptation are realized.

Benefits of technology

It improves the testing efficiency of the communication interface between the axle counter simulation system and the interlocking logic software, realizes the reuse of configuration data, the convenience and reliability of test operations, and improves the availability and maintainability of the test system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114942788B_ABST
    Figure CN114942788B_ABST
Patent Text Reader

Abstract

The present invention provides an interface configuration method, device and medium based on an axle counting simulation system, the method comprising: obtaining configuration data, and reading basic device attributes based on the configuration data; if it is determined based on the basic device attributes that the corresponding axle counting device belongs to an axle counting system type device, then initializing the corresponding basic device attributes; after completing the initialization of the basic device attributes, obtaining the corresponding device type mask, and based on the device type mask, determining the corresponding axle counting device and obtaining the corresponding interface private attributes; initializing the interface private attributes. The present invention is used to solve the defects of the interface configuration method, device and medium based on the axle counting simulation system in the prior art, and can realize the rapid expansion and adaptation of the communication interface between the axle counting simulation system and the interlocking logic unit software, the reuse of configuration data, the convenient and reliable test operation, and effectively improve the availability and maintainability of the test system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of urban rail full electronic interlocking, and in particular to an interface configuration method, equipment and medium based on an axle counting simulation system. Background Art

[0002] As a new computer interlocking system solution, the urban rail fully electronic interlocking achieves safe and reliable train control through the modularization of business functions, compatibility with the original relay interface method, and support for adaptation of multiple external communication interfaces.

[0003] Among them, in the urban rail full-electronic interlocking system, the axle counting system detects the occupied / idle status of the track section, and realizes the function of uploading the status to the interlocking logic unit through the track circuit module or the universal input module; under the original relay interface mode, the relay circuit controls the relay to be sucked up / down according to the status feedback from the axle counting system to realize the relay status upload; when the axle counting system communicates directly with the interlocking logic unit, the interactive collection of axle counting information can be realized.

[0004] Abnormal occupancy reported by the axle counting system requires human intervention, usually by sending an axle counting pre-reset or axle counting reset command to the logic software to perform a clearing operation on the axle counting section.

[0005] In view of the software interface mode and business characteristics of the axle counting system and the interlocking logic unit, during the testing process, the axle counting simulation system needs to adapt to multiple interface models to realize the interface and logic simulation of the corresponding business. Generally, one interface requirement is matched with a set of simulation software. Therefore, when simulating the interface of the axle counting system, there is a defect of low simulation test efficiency. Summary of the invention

[0006] The present invention provides an interface configuration method, device and medium based on an axle counter simulation system, which are used to solve the defects of the interface configuration method, device and medium based on the axle counter simulation system in the prior art, and can realize rapid expansion and adaptation of the communication interface between the axle counter simulation system and the interlocking logic unit software, reuse of configuration data, convenient and reliable test operation, and effectively improve the availability and maintainability of the test system.

[0007] The present invention provides an interface configuration method based on an axle counting simulation system, comprising:

[0008] Obtain configuration data, and read basic device properties based on the configuration data;

[0009] If it is determined based on the basic attributes of the device that the corresponding axle counting device belongs to an axle counting system type device, initializing the corresponding basic attributes of the device;

[0010] After completing the initialization of the basic properties of the device, the corresponding device type mask is obtained, and based on the device type mask, the corresponding axle counting device is determined and the corresponding interface private properties are obtained;

[0011] Initialize the private attributes of the interface.

[0012] According to an interface configuration method based on an axle counting simulation system provided by the present invention, after the step of initializing the private attributes of the interface, the method further includes:

[0013] After completing the initialization of the private attributes of the interface, the correctness of the internal state of all attributes of the device is checked;

[0014] When the verification is passed, the initialization operation of the next device is carried out, otherwise a prompt and alarm will be issued for the detected abnormal configuration.

[0015] According to an interface configuration method based on an axle counting simulation system provided by the present invention, after the step of transferring to the initialization operation of the next device after the verification is passed, it also includes:

[0016] After all devices are initialized, determine whether the corresponding interface attributes exist according to the interface type mask value corresponding to the device;

[0017] If the corresponding interface attribute exists, the network communication connection of the corresponding interface is initialized.

[0018] According to an interface configuration method based on an axle counting simulation system provided by the present invention, the basic device attributes include optional configuration items of a secure communication protocol based on multi-channel communication;

[0019] If the corresponding interface attribute exists, the step of initializing the network communication connection of the corresponding interface includes:

[0020] If there are corresponding interface attributes, based on the basic attributes of the device, a corresponding communication mode is selected to enable a multi-channel communication connection to initialize the network communication connection of the corresponding interface.

[0021] According to an interface configuration method based on an axle counting simulation system provided by the present invention, after the step of initializing the private attributes of the interface, a simulation test process is also included, and the simulation test process includes:

[0022] When receiving interface data corresponding to the control command, determining an interface data type and a device type mask of the interface data;

[0023] According to the interface data type and the device type mask, convert the interface command of the corresponding device to obtain a corresponding controlled mask;

[0024] According to the controlled mask, a corresponding controlled response judgment process is performed to collect test results based on the controlled response judgment process.

[0025] According to an interface configuration method based on an axle counting simulation system provided by the present invention, the basic attributes of the equipment include interlocking software data, control and display software data, simulation data, a full electronic module arrangement table, an interlocking relay acquisition and drive table, an engineering data comparison table, a sequence arrangement table of each interface device, and a linkage relationship table of each interface field.

[0026] The present invention also provides an interface configuration device based on an axle counting simulation system, comprising:

[0027] A basic attribute reading module, used to obtain configuration data and read basic attributes of the device based on the configuration data;

[0028] A device basic property initialization module, configured to initialize the corresponding device basic property if it is determined based on the device basic property that the corresponding axle counting device belongs to an axle counting system type device;

[0029] A private attribute acquisition module, used to acquire the corresponding device type mask after completing the initialization of the basic attributes of the device, and based on the device type mask, determine the corresponding axle counting device and acquire the corresponding interface private attributes;

[0030] The private attribute initialization module is used to initialize the private attributes of the interface.

[0031] 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 interface configuration method based on the axle counting simulation system as described above is implemented.

[0032] 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, the interface configuration method based on the axle counting simulation system as described in any one of the above is implemented.

[0033] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the interface configuration method based on the axle counting simulation system as described above is implemented.

[0034] The interface configuration method based on the axle counting simulation system provided by the present invention can realize rapid expansion and adaptation of the communication interface between the axle counting simulation system and the interlocking logic unit software, reuse of configuration data, convenient and reliable test operation, and effectively improve the availability and maintainability of the test system. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0036] Figure 1 It is one of the flow charts of the interface configuration method based on the axle counting simulation system provided by the present invention;

[0037] Figure 2 It is a schematic diagram of an interface configuration flow of the interface configuration method based on the axle counting simulation system provided by the present invention;

[0038] Figure 3 The second flowchart of the interface configuration method based on the axle counting simulation system provided by the present invention;

[0039] Figure 4 The third flowchart of the interface configuration method based on the axle counting simulation system provided by the present invention;

[0040] Figure 5 A fourth flowchart of the interface configuration method based on the axle counting simulation system provided by the present invention;

[0041] Figure 6 A simulation test flow chart based on the axle counting simulation system provided by the present invention;

[0042] Figure 7 It is a structural schematic diagram of an interface configuration device based on an axle counting simulation system provided by the present invention;

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

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

[0045] Combine the following Figure 1-Figure 6 The interface configuration method based on the axle counting simulation system of the present invention is described.

[0046] Please refer to Figure 1 The present invention provides an interface configuration method based on an axle counting simulation system, comprising:

[0047] Step 10, obtaining configuration data, and reading basic device attributes based on the configuration data;

[0048] Step 20, if it is determined based on the basic attributes of the device that the corresponding axle counting device belongs to an axle counting system type device, then the corresponding basic attributes of the device are initialized;

[0049] Step 30, after completing the initialization of the basic attributes of the device, obtain the corresponding device type mask, and based on the device type mask, determine the corresponding axle counting device and obtain the corresponding interface private attributes;

[0050] Step 40, initializing the interface private attributes.

[0051] Among them, the basic attributes are the basic common attributes of the equipment, and the basic common attributes of the equipment include the occupied / cleared / fault status of the axle counting equipment.

[0052] Please refer to Figure 2 , Figure 2 This is a configuration flow chart of the interface configuration method based on the axle counting simulation system proposed by the present invention. Each basic property of the device is read in turn, and then it is determined whether it belongs to the axle counting system type device. If it is an axle counting system type device according to the device foundation, the basic properties of the device are initialized. After the basic properties of the device are initialized, a single type device mask is determined according to the basic properties of the device, and it is determined which type of axle counting device or which manufacturer's axle counting device the currently initialized device belongs to, so as to obtain the corresponding interface private properties according to the device type mask. After that, the interface private properties are initialized.

[0053] After the axle counting simulation system initializes the basic common properties of a single device, it then initializes the private properties of the interface of the axle counting device. Therefore, the interface configuration for axle counting devices of different manufacturers and types can achieve rapid expansion and adaptation of the communication interface between the axle counting simulation system and the interlocking logic software, reuse of configuration data, convenient and reliable test operations, and effectively improve the availability and maintainability of the test system.

[0054] Among them, the basic type configuration mask of the axle counting device can be obtained to represent the basic properties of the axle counting device. For example, please refer to the axle counting system mask design description table shown in the following table. A 4-byte DWORD variable can be used to represent the basic type configuration mask. A BIT bit represents an attribute. 0 indicates that there is no such attribute, and 1 indicates that there is such an interface attribute. The basic type configuration mask is used to identify which basic attributes or attributes the device has.

[0055] Table 1 Axle counter system mask design description table

[0056] BIT 32 31 30 … 2 1 0 Axle counter type mask 0 0 0 0 0 0 1 Whether the mask is controlled 0 0 0 0 0 0 1 … … … … … … … … Other usage masks … … … … … … …

[0057] In order to facilitate understanding of the improvements of the present invention, the following explanation is given.

[0058] The disadvantages of the prior art solutions are:

[0059] 1. The above simulation implementation of full electronic track circuit module or universal input module, relay status acquisition under relay interface, and direct communication with axle counters of different manufacturers did not extract common core functional features for development and implementation;

[0060] 2. There are many types of axle counting simulation software, the operation and display interfaces are quite different, the functions are independent of each other, and the operation process is complicated;

[0061] 3. When adding the axle counting system interface simulation, it is not possible to quickly adapt and expand the axle counting system functions on the original basis, and a new set of functions can only be developed, which increases the development and testing workload;

[0062] 4. The method of equipping one set of simulation software with one set of data does not achieve the reuse of basic configuration, but increases the workload of data configuration and data testing tasks.

[0063] In view of these shortcomings, the present invention proposes an interface configuration method based on an axle counting simulation system, which obtains configuration data and reads basic device properties based on the configuration data; if it is determined based on the basic device properties that the corresponding axle counting device belongs to an axle counting system type device, the corresponding device basic properties are initialized; after completing the initialization of the device basic properties, the corresponding device type mask is obtained, and based on the device type mask, the corresponding axle counting device is determined and the corresponding interface private properties are obtained; initializing the interface private properties can achieve rapid expansion and adaptation of the communication interface between the axle counting simulation system and the interlocking logic unit software, reuse of configuration data, convenient and reliable test operations, and effectively improve the availability and maintainability of the test system.

[0064] In some other embodiments, the basic attributes of the equipment include interlocking software data, control and display software data, simulation data, full electronic module arrangement table, interlocking relay acquisition and drive table, engineering data comparison table, sequence arrangement table of each interface device, and linkage relationship table of each interface field.

[0065] In this embodiment, the axle counter simulation system provides a function for reading basic properties of the device. The basic properties of the device can be read according to the configuration file of the device. The axle counter simulation system can read multiple properties, further improving the interface configuration efficiency of the axle counter simulation system to the axle counter system.

[0066] The occupancy status collection of the fully electronic track circuit module or universal input module equipment, the relay status collection under the relay interface, and the simulation implementation method of the occupancy and clearing communication data of the axle counters directly communicating and interacting with different manufacturers. The core functions of the axle counter occupancy collection status and the axle counter reset and clearing command implementation logic are basically the same, except that there are differences in the input and output data displayed on the external communication interface.

[0067] In order to reduce the workload of data configuration, the data of the axle counter simulation system consists of interlocking software data, control and display software data, simulation data, full electronic module arrangement table, interlocking relay acquisition and drive table, engineering data comparison table, each interface device sequence arrangement table, and each interface field linkage relationship table generated by standardized templates. Furthermore, for data that cannot be obtained from the above sources, it can be uniformly added in the interface private attribute configuration file, which can effectively reduce the data configuration workload of the axle counter simulation system.

[0068] In some other embodiments, please refer to Figure 3 , after step 40, the step of initializing the private attributes of the interface, it also includes:

[0069] Step 50, after completing the initialization of the private attributes of the interface, verify the correctness of the internal state of all attributes of the device;

[0070] Step 60: When the verification is passed, the initialization operation of the next device is performed; otherwise, a prompt and an alarm are issued for the abnormal configuration detected.

[0071] Please refer to Figure 2 After completing the initialization of the private properties of the interface, in order to ensure the data security and logical health protection of the internal system, it is necessary to perform an internal state correctness check on all device properties according to the device primitive mask type. Only when the check passes can the device object be created and the initialization operation of the next device be carried out. Otherwise, prompts and alarms will be given for detected abnormal configurations. In serious cases, the software will exit the running state.

[0072] In this embodiment, the security of the interface configuration is improved by checking the correctness of the internal state of all attributes of the device.

[0073] In some other embodiments, please refer to Figure 4 , step 60, after the step of transferring to the initialization operation of the next device after the verification is passed, it also includes:

[0074] Step 70, after all devices are initialized, determine whether corresponding interface attributes exist according to the interface type mask value corresponding to the device;

[0075] Step 80: If the corresponding interface attribute exists, the network communication connection of the corresponding interface is initialized.

[0076] After the interface data of all devices are initialized, it is determined whether the network communication connection of the corresponding interface needs to be initialized according to the recorded interface type mask value. When the network communication connection of the corresponding interface needs to be initialized, it is determined whether the corresponding interface attribute exists according to the interface type mask value corresponding to the device. It should be noted that the efficiency of interface configuration is improved by determining whether the corresponding interface attribute exists through the interface type mask value.

[0077] In some other embodiments, the basic device attributes include optional configuration items of a secure communication protocol based on multi-channel communication;

[0078] If the corresponding interface attribute exists, the step of initializing the network communication connection of the corresponding interface includes:

[0079] Step 81: If there are corresponding interface attributes, based on the basic attributes of the device, a corresponding communication mode is selected to enable a multi-channel communication connection to initialize the network communication connection of the corresponding interface.

[0080] In this embodiment, if there are corresponding interface attributes, the corresponding communication mode is selected based on the basic attributes of the device to enable multi-channel communication connection to initialize the network communication connection of the corresponding interface. On the one hand, the axle counting simulation system realizes the corresponding network communication initialization of multiple devices through the basic attributes of the device, which improves the efficiency of interface configuration. On the other hand, since the enabled communication mode is multi-channel, it enables interface communication through multiple communication modes, and can adapt to multiple communication formats at the same time, thereby improving the applicability of the axle counting simulation system.

[0081] Multi-channel communication connections can be optional configuration items of RSSP-I and RSSP-II, a secure communication protocol based on serial ports, UDP, and TCP communications. The axle counting simulation system provides common optional configuration items of RSSP-I and RSSP-II, a secure communication protocol based on serial ports, UDP, and TCP communications. In the simulation basic data, select the corresponding communication method to enable optional multi-channel connections such as simulated dual-system and simulated dual-network, and according to the interface device sorting table, the function of sending and receiving network communication data associated with the corresponding interface can be realized.

[0082] In some other embodiments, please refer to Figure 5 After step 40, the step of initializing the private attributes of the interface, a simulation test process is also included, and the simulation test process includes:

[0083] Step 90, upon receiving the interface data corresponding to the control command, determining the interface data type and the device type mask of the interface data;

[0084] Step 100, performing interface command conversion of the corresponding device according to the interface data type and the device type mask to obtain a corresponding controlled mask;

[0085] Step 110: performing a corresponding controlled response determination process according to the controlled mask, so as to collect test results based on the controlled response determination process.

[0086] In this embodiment, please refer to Figure 6 When the test control unit sends an axle counter reset or axle counter pre-reset command from the control and display terminal interface, the logic unit software receives and processes the command to drive and output interface protocol information to each interface unit.

[0087] When the axle counting simulation system receives external interface data, it distributes the data according to the interface device sorting table. The distribution process is judged according to the current device type mask and the received interface data type to realize device-level interface command conversion and storage.

[0088] In principle, an axle counting device should be exclusively controlled by an axle counting system, that is, the number of effective mask bits of a single device is 1. Since this axle counting simulation system comprehensively considers the scenarios of the use of multiple communication formats and manufacturers' axle counting systems, that is, the number of effective mask bits of a single device is greater than 1, a new command response judgment control process is introduced. The controlled mask field is used to realize whether to receive the interface driver command control to execute subsequent commands. This field can realize value conversion by calling the window. The meaning of the controlled value is the same as the basic configuration mask attribute.

[0089] When a valid controlled mask is enabled and it can be comprehensively judged that the drive command from the interlocking logic software can continue to be executed, the single device completes the protocol conversion to each communication interface data, and packages the interface data according to the device sorting table and the specific interface protocol content, thereby completing the upload of the occupied / free information of the basic attributes of the axle counting device to the interlocking logic. Correspondingly, the test controller and the test recorder control the test process and record the test results respectively.

[0090] The interface configuration device based on the axle counter simulation system provided by the present invention is described below. The interface configuration device based on the axle counter simulation system described below and the interface configuration method based on the axle counter simulation system described above can correspond to each other.

[0091] Please refer to Figure 7 The interface configuration device based on the axle counting simulation system provided by the present invention comprises:

[0092] A basic attribute reading module, used to obtain configuration data and read basic attributes of the device based on the configuration data;

[0093] A device basic property initialization module, configured to initialize the corresponding device basic property if it is determined based on the device basic property that the corresponding axle counting device belongs to an axle counting system type device;

[0094] A private attribute acquisition module, used to acquire the corresponding device type mask after completing the initialization of the basic attributes of the device, and based on the device type mask, determine the corresponding axle counting device and acquire the corresponding interface private attributes;

[0095] The private attribute initialization module is used to initialize the private attributes of the interface.

[0096] Furthermore, the interface configuration device based on the axle counting simulation system further includes:

[0097] A correctness check module, used to check the correctness of the internal state of all attributes of the device after completing the initialization of the private attributes of the interface;

[0098] The exception handling module is used to transfer to the initialization operation of the next device when the verification is passed, otherwise it will prompt and alarm for the detected abnormal configuration.

[0099] Furthermore, the interface configuration device based on the axle counting simulation system further includes:

[0100] A determination module, used to determine whether there is a corresponding interface attribute according to the interface type mask value corresponding to the device after all devices are initialized;

[0101] The network communication initialization module is used to initialize the network communication connection of the corresponding interface if the corresponding interface attribute exists.

[0102] Furthermore, the basic attributes of the device include optional configuration items of a secure communication protocol based on multi-channel communication;

[0103] The network communication initialization module is also used for:

[0104] If there are corresponding interface attributes, based on the basic attributes of the device, a corresponding communication mode is selected to enable a multi-channel communication connection to initialize the network communication connection of the corresponding interface.

[0105] Furthermore, the interface configuration device based on the axle counting simulation system further includes:

[0106] The simulation test module is used for:

[0107] When receiving interface data corresponding to the control command, determining an interface data type and a device type mask of the interface data;

[0108] According to the interface data type and the device type mask, convert the interface command of the corresponding device to obtain a corresponding controlled mask;

[0109] According to the controlled mask, a corresponding controlled response judgment process is performed to collect test results based on the controlled response judgment process.

[0110] Furthermore, the basic attributes of the equipment include interlocking software data, control and display software data, simulation data, full electronic module arrangement table, interlocking relay acquisition and drive table, engineering data comparison table, sequence arrangement table of each interface device, and linkage relationship table of each interface field.

[0111] 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 an interface configuration method based on an axle counting simulation system, the method comprising: obtaining configuration data, and reading basic device attributes based on the configuration data; if it is determined based on the basic device attributes that the corresponding axle counting device belongs to an axle counting system type device, then initializing the corresponding basic device attributes; after completing the initialization of the basic device attributes, obtaining the corresponding device type mask, and based on the device type mask, determining the corresponding axle counting device and obtaining the corresponding interface private attributes; initializing the interface private attributes.

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

[0113] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the interface configuration method based on the axle counting simulation system provided by the above methods, and the method includes: obtaining configuration data, and reading the basic properties of the device based on the configuration data; if it is determined based on the basic properties of the device that the corresponding axle counting device belongs to the axle counting system type device, the corresponding basic properties of the device are initialized; after completing the initialization of the basic properties of the device, the corresponding device type mask is obtained, and based on the device type mask, the corresponding axle counting device is determined and the corresponding interface private properties are obtained; the interface private properties are initialized.

[0114] 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 interface configuration method based on the axle counting simulation system provided by the above-mentioned methods, the method comprising: obtaining configuration data, and reading the basic properties of the device based on the configuration data; if it is determined based on the basic properties of the device that the corresponding axle counting device belongs to the axle counting system type device, then initializing the corresponding basic properties of the device; after completing the initialization of the basic properties of the device, obtaining the corresponding device type mask, and based on the device type mask, determining the corresponding axle counting device and obtaining the corresponding interface private properties; initializing the interface private properties.

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

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

[0117] 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. An interface configuration method based on an axle counting simulation system, characterized in that: include: Obtain configuration data, and read basic device properties based on the configuration data; If it is determined based on the basic attributes of the device that the corresponding axle counting device belongs to an axle counting system type device, initializing the corresponding basic attributes of the device; After completing the initialization of the basic properties of the device, the corresponding device type mask is obtained, and based on the device type mask, the corresponding axle counting device is determined and the corresponding interface private properties are obtained; Initialize the private attributes of the interface; After the step of initializing the private attributes of the interface, the method further includes: After completing the initialization of the private attributes of the interface, the correctness of the internal state of all attributes of the device is checked; When the verification is passed, the next device will be initialized. Otherwise, a prompt and alarm will be given for any abnormal configuration detected. After the step of transferring to the initialization operation of the next device after the verification is passed, the method further includes: After all devices are initialized, determine whether the corresponding interface attributes exist according to the interface type mask value corresponding to the device; If the corresponding interface attributes exist, the network communication connection of the corresponding interface is initialized.

2. The interface configuration method based on the axle counting simulation system according to claim 1, characterized in that: The basic attributes of the device include optional configuration items of a secure communication protocol based on multi-channel communication; If the corresponding interface attribute exists, the step of initializing the network communication connection of the corresponding interface includes: If there are corresponding interface attributes, based on the basic attributes of the device, a corresponding communication mode is selected to enable a multi-channel communication connection to initialize the network communication connection of the corresponding interface.

3. The interface configuration method based on the axle counting simulation system according to claim 1, characterized in that: After the step of initializing the private attributes of the interface, a simulation test process is also included, and the simulation test process includes: When receiving interface data corresponding to the control command, determining an interface data type and a device type mask of the interface data; According to the interface data type and the device type mask, convert the interface command of the corresponding device to obtain a corresponding controlled mask; According to the controlled mask, a corresponding controlled response judgment process is performed to collect test results based on the controlled response judgment process.

4. The interface configuration method based on the axle counting simulation system according to any one of claims 1 to 3, characterized in that: The basic attributes of the equipment include interlocking software data, control and display software data, simulation data, full electronic module arrangement table, interlocking relay acquisition and drive table, engineering data comparison table, sequence arrangement table of each interface device, and linkage relationship table of each interface field.

5. An interface configuration device based on an axle counting simulation system, characterized in that: include: A basic attribute reading module, used to obtain configuration data and read basic attributes of the device based on the configuration data; A device basic property initialization module, configured to initialize the corresponding device basic property if it is determined based on the device basic property that the corresponding axle counting device belongs to an axle counting system type device; A private attribute acquisition module, used to acquire the corresponding device type mask after completing the initialization of the basic attributes of the device, and based on the device type mask, determine the corresponding axle counting device and acquire the corresponding interface private attributes; The private attribute initialization module is used to initialize the private attributes of the interface; after completing the initialization of the private attributes of the interface, the correctness of the internal state of all attributes of the device is checked; when the check passes, the initialization operation of the next device is transferred to, and when all devices are initialized, it is determined whether there is a corresponding interface attribute according to the interface type mask value corresponding to the device; if there is a corresponding interface attribute, the network communication connection of the corresponding interface is initialized; when the check fails, a prompt and alarm are given for the detected abnormal configuration.

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 interface configuration method based on the axle counting simulation system according to any one of claims 1 to 4 is 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 interface configuration method based on the axle counting simulation system according to any one of claims 1 to 4 is implemented.

8. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the interface configuration method based on the axle counting simulation system according to any one of claims 1 to 4 is implemented.