Automatic calculation method, device and medium for distance between warning beacon and restart beacon
Through the method of automatically calculating the preview beacon and reopening the beacon distance, the problem of inefficiency of traditional manual calculations is solved, and the automated design verification of the subway signal system is realized, and the calculation accuracy and efficiency are improved.
Patent Information
- Application Number
- CN202211701631.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-28
- Publication Date
- 2024-12-10
- Estimated Expiration
- 2042-12-28
Smart Images

Figure CN116001866B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a train signal control system, and in particular to an automatic calculation method, device and medium for the distance between a warning beacon and a restart beacon. Background Art
[0002] At present, in most subway signal systems, the point backup mode is used as a downgraded operation mode. When the continuous ATP function fails or there is a special need, the signal system will start the point backup mode to organize train operation. In the point backup mode, the on-board system controls the train operation through the trackside variable information received from the active beacon, so active beacons need to be arranged on the line. The distance between the warning beacon and the restart beacon in the active beacon needs to meet the minimum value in the real-time time parameter. If the distance between the two is too small, it means that the warning beacon is arranged too close, and the train cannot know the status of the trackside equipment such as the front signal and turnout in advance, causing the train to slow down in advance and eventually stop in front of the restart beacon, which seriously affects the operation efficiency of the train in the point backup mode. Therefore, in the system design verification stage, it is necessary to calculate the distance between the warning beacon and the restart beacon, and check that the distance between the warning beacon and the restart beacon is greater than or equal to the minimum value in the real-time time parameter.
[0003] The traditional method of calculating the distance between the advance beacon and the reopen beacon is to find the advance beacon and the reopen beacon corresponding to the signal in the backup mode variable table IBBM according to the signal machine name on the signal plan, then return to the signal plan to obtain the equipment kilometer mark corresponding to the advance beacon and the reopen beacon, and manually calculate the absolute value of the equipment kilometer mark between the advance beacon and the reopen beacon corresponding to each signal machine one by one to obtain the distance. This method requires switching back and forth between the signal plan and the backup mode variable table, which is easy to find the wrong equipment and cause distance calculation errors; and it is completely dependent on manual labor, which is time-consuming and inefficient. Summary of the invention
[0004] The purpose of the present invention is to overcome the defects of the above-mentioned prior art and provide a method, device and medium for automatically calculating the distance between the warning beacon and the restart beacon.
[0005] The purpose of the present invention can be achieved by the following technical solutions:
[0006] According to a first aspect of the present invention, there is provided a method for automatically calculating the distance between a warning beacon and a restart beacon, the method comprising the following steps:
[0007] Step S1, obtaining the device KP extraction table;
[0008] Step S2, filter out the equipment kilometer mark KP values of all signal machines and active beacons from the equipment KP extraction table, and fill them into the DN\UP sheet of the equipment KP extraction table;
[0009] Step S3, according to the DN\UP sheet of the equipment KP extraction table and the backup mode variable table, fill the signal, related warning beacon and reopening beacon, and the corresponding kilometer mark KP value into the newly created EXCEL 1;
[0010] Step S4, automatically calculate the distance from the farthest warning beacon to the restart beacon of each signal.
[0011] As a preferred technical solution, the step S1 is specifically as follows:
[0012] Extract the kilometer mark KP values of all equipment from the signal plan to obtain the equipment KP extraction table.
[0013] As a preferred technical solution, the active beacon in step S2 includes a pre-announcement beacon and a restart beacon.
[0014] As a preferred technical solution, the step S3 is specifically as follows:
[0015] Step S31, create a new EXCEL 1, and fill all the signal machines in the DN\UP sheet of the equipment KP extraction table into column A of EXCEL 1;
[0016] Step S32, finding the active beacon in column A according to the signal machine names in input 1 to input 10 in columns I to R of the backup mode variable table IBBM;
[0017] Step S33, determine and obtain the warning beacon and the restart beacon corresponding to the signal, and fill them into the newly created EXCEL 2 according to the format;
[0018] Step S34: According to the DN\UP sheet of the equipment KP extraction table, query and obtain the equipment kilometer mark KP values of the signal, all warning beacons and reopening beacons, and fill them into the corresponding columns of EXCEL 2.
[0019] As a preferred technical solution, the method automatically traverses the warning beacons and restart beacons of all traffic lights.
[0020] As a preferred technical solution, this method is suitable for the first round of design verification and subsequent regression verification.
[0021] As a preferred technical solution, this method realizes automation for the design verification of subway signal systems.
[0022] As a preferred technical solution, the method can automatically calculate the distance between the warning beacon and the restart beacon.
[0023] According to a second aspect of the present invention, there is provided an electronic device, comprising a memory and a processor, wherein a computer program is stored in the memory, and the method described above is implemented when the processor executes the program.
[0024] According to a third aspect of the present invention, there is provided a computer-readable storage medium having a computer program stored thereon, wherein the program implements the method described above when executed by a processor.
[0025] Compared with the prior art, the present invention has the following advantages:
[0026] 1. The present invention automatically traverses the advance beacons and reopen beacons of all signal machines through tools, thus overcoming the problem of manual search that it is easy to find the wrong advance beacon or reopen beacon of the signal machine, and has high accuracy;
[0027] 2. The present invention can automatically calculate the distance between the warning beacon and the restart beacon, which is time-saving and efficient;
[0028] 3. The present invention is suitable for the first round of design verification and subsequent regression verification, and has strong usability;
[0029] 4. The present invention provides a reference for automating the design verification of subway signal systems. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 Flowchart for distance calculation of warning beacon and restart beacon;
[0031] Figure 2 This is a schematic diagram of the backup mode variable table;
[0032] Figure 3 Schematic diagram of the calculation results of the distance between the warning beacon and the restart beacon. DETAILED DESCRIPTION
[0033] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions 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 should fall within the scope of protection of the present invention.
[0034] The present invention has been applied to the distance calculation of the warning beacon and the reopening beacon of the signal system of Zhengzhou Metro Line 7.
[0035] refer to Figure 1-3 , the technical solution of the present invention is described. First, refer to Figure 1 , describing the program flow of the present invention, on this basis, refer to Figure 2-3 , using examples to illustrate the specific implementation steps of the present invention.
[0036] First reference Figure 1 , including the following steps:
[0037] Step 1, use CAD to open the plan view of the signal system of Zhengzhou Metro Line 7, extract the KP values of all equipment in the plan view, and write them into the equipment KP extraction table;
[0038] Step 2: Filter out the KP values of all signal machines and active beacons from the equipment KP extraction table, and fill them into the DN\UP sheet of the equipment KP extraction table. Then filter out all signal machines from the DN\UP sheet and fill them into column A of the newly created Excel 1.
[0039] Step 3, based on all the signals in column A in the newly created Excel 1, search and determine in the backup mode variable table IBBM whether the signal has an associated active beacon (both the warning beacon and the restart beacon are active beacons). If not, the active beacon output in Excel 1 is empty; if yes, fill the relevant content found in the backup mode variable table IBBM into the active beacon in Excel 1;
[0040] Step 4, create Excel 2, write all the signals that can find relevant active beacons in Excel 1 into the signal column in Excel 2. Calculate the distance from each active beacon to the signal of each signal in Excel 1, and determine whether it is the minimum value. If so, this active beacon is a restart beacon, and write it into the restart beacon column in Excel 2; if not, sort from small to large according to the calculated distance, and fill the warning beacon and KP value into the warning beacon 1, KP1, warning beacon 2, KP2, warning beacon, KP3, warning beacon 4, KP4 in Excel 2 in sequence;
[0041] Step 5, filter out the traffic lights with warning beacons in Excel 2, and calculate the distance from the farthest warning beacon to the reopening beacon of each traffic light.
[0042] refer to Figure 2 , all the warning beacons and reopening beacons within the first interlocking area of the signal system of Zhengzhou Metro Line 7 are in column A. Search for the beacons in column A according to the signal machine names in the 10 variables from Input 1 to Input 10. For example, S2307 finds two beacons VB2307 and VB2309. Fill the beacons found in column A in IBBM into the newly created Excel 1.
[0043] refer to Figure 3, Columns A to L in Excel 2 are the names and KP values of the signal machines and their associated reopening beacons and advance beacons, respectively. Filter out all signal machines with advance beacons. There may be one or more advance beacons. Calculate the distance from the farthest advance beacon to the backup beacon and fill it into column M.
[0044] The above is an introduction to the method embodiment. The following is a further explanation of the scheme of the present invention through electronic equipment and storage medium embodiments.
[0045] The electronic device of the present invention includes a central processing unit (CPU), which can perform various appropriate actions and processes according to computer program instructions stored in a read-only memory (ROM) or loaded from a storage unit into a random access memory (RAM). In the RAM, various programs and data required for device operation can also be stored. The CPU, ROM and RAM are connected to each other via a bus. An input / output (I / O) interface is also connected to the bus.
[0046] Multiple components in the device are connected to the I / O interface, including: input units, such as keyboards, mice, etc.; output units, such as various types of displays, speakers, etc.; storage units, such as disks, optical disks, etc.; and communication units, such as network cards, modems, wireless communication transceivers, etc. The communication unit allows the device to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunication networks.
[0047] The processing unit performs the various methods and processes described above, such as the method of the present invention. For example, in some embodiments, the method of the present invention can be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit. In some embodiments, part or all of the computer program can be loaded and / or installed on the device via a ROM and / or a communication unit. When the computer program is loaded into RAM and executed by the CPU, one or more steps of the method of the present invention described above can be performed. Alternatively, in other embodiments, the CPU can be configured to perform the method of the present invention by any other appropriate means (e.g., by means of firmware).
[0048] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0049] The program code for implementing the method of the present invention can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code can be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.
[0050] In the context of the present invention, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0051] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A method for automatically calculating the distance between a warning beacon and a restart beacon, characterized in that: The method comprises the following steps: Step S1, obtaining the device KP extraction table; Step S2, filter out the equipment kilometer mark KP values of all signal machines and active beacons from the equipment KP extraction table, and fill them into the DN\UP sheet of the equipment KP extraction table; Step S3, according to the DN\UP sheet of the equipment KP extraction table and the backup mode variable table, fill the signal, related warning beacon and reopening beacon, and the corresponding kilometer mark KP value into the newly created EXCEL 1; Step S4, automatically calculating the distance from the farthest warning beacon of each signal to the reopening beacon; The step S1 is specifically as follows: Extract the kilometer mark KP values of all equipment from the signal plane map to obtain the equipment KP extraction table; The step S3 is specifically as follows: Step S31, create a new EXCEL 1, and fill all the signal machines in the DN\UP sheet of the equipment KP extraction table into column A of EXCEL 1; Step S32, finding the active beacon in column A according to the signal machine names in input 1 to input 10 in columns I to R of the backup mode variable table IBBM; Step S33, determine and obtain the warning beacon and the restart beacon corresponding to the signal, and fill them into the newly created EXCEL 2 according to the format; Step S34, according to the DN\UP sheet of the equipment KP extraction table, query and obtain the equipment kilometer mark KP values of the signal machine, all warning beacons and reopening beacons, and fill them into the corresponding columns in EXCEL 2; Calculate the distance from each active beacon to the signal of each signal in Excel 1, and determine whether it is the minimum value. If so, this active beacon is a restart beacon and write it into the restart beacon column in Excel 2; if not, sort the calculated distances from small to large, and fill the warning beacons and KP values into the warning beacon 1, KP1, warning beacon 2, KP2, warning beacon, KP3, warning beacon 4, and KP4 in Excel2 in sequence.
2. The method for automatically calculating the distance between the warning beacon and the restart beacon according to claim 1, characterized in that: The active beacons in step S2 include a pre-announcement beacon and a restart beacon.
3. The method for automatically calculating the distance between the warning beacon and the restart beacon according to claim 1, characterized in that: This method automatically traverses the warning beacons and restart beacons of all signals.
4. The method for automatically calculating the distance between the warning beacon and the restart beacon according to claim 1, characterized in that: This method is suitable for the first round of design verification and subsequent regression verification.
5. The method for automatically calculating the distance between the warning beacon and the restart beacon according to claim 1, characterized in that: This method automates the design verification of subway signal systems.
6. The method for automatically calculating the distance between the warning beacon and the restart beacon according to claim 1, characterized in that: This method can automatically calculate the distance between the warning beacon and the restart beacon.
7. An electronic device comprising a memory and a processor, wherein a computer program is stored in the memory, wherein: When the processor executes the program, the method according to any one of claims 1 to 6 is implemented.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
