Method for refreshing a monitoring display interface of a rail transit station yard and monitoring device
By combining the OPC server and the configuration data model library, the status attribute path of the rail transit station display interface is directly determined and refreshed, which solves the problems of resource waste and high power consumption caused by hierarchical references and achieves efficient and low-power interface refresh.
Patent Information
- Application Number
- CN202110348537.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-31
- Publication Date
- 2025-12-12
- Estimated Expiration
- 2041-03-31
AI Technical Summary
In existing technologies, hierarchical referencing relationships result in high resource consumption, high power consumption, and low interface refresh efficiency for the monitoring display interface of rail transit stations.
The system uses an OPC server to obtain the identification information and status attribute information of the station equipment. It directly determines the status attribute path of the display interface through the configuration data model library and rewrites the status attribute values, avoiding hierarchical reference addressing and realizing single signal refresh.
It reduces resource consumption, lowers interface refresh power consumption, and improves the smoothness and efficiency of interface display.
Smart Images

Figure CN115145661B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of rail transit technology, and in particular to a method for refreshing a monitoring display interface of a rail transit station yard, a device for monitoring a rail transit station yard, and a computer storage medium. BACKGROUND
[0002] A station yard diagram is used to display a full-line track layout diagram, train position information, train number information, and the state of main trackside equipment such as turnouts, signals, and track sections in real time. Therefore, the station yard diagram plays a crucial role in monitoring automatic rail trains.
[0003] In related technologies, when performing back-end data processing, for a multi-interlocking station yard diagram, the equipment ID (Identity document, identity number) of the interlocking area is used as a unique identifier, and a hierarchical reference relationship is used to recursively address the unique equipment identifier layer by layer. When refreshing the interface state number, the back-end data creates an array object of the same type of equipment, such as signals and track sections, and then sorts and writes according to the specified order to ensure that the object writing follows a unique sorting method.
[0004] However, using a hierarchical reference will result in excessive repetitive workload in finding the corresponding device state, causing significant resource consumption. In addition, when refreshing the interface, such as refreshing a single signal, other signal states will be attached, thus increasing the power consumption of interface refreshing and requiring a higher display screen. SUMMARY
[0005] The present application aims to at least solve one of the technical problems existing in the prior art. To this end, one object of the present application is to provide a method for refreshing a monitoring display interface of a rail transit station yard, which does not require hierarchical reference relationships for device addressing, reducing resource waste caused by hierarchical references, and having low refresh power consumption when refreshing the interface.
[0006] A second object of the present application is to provide a computer storage medium.
[0007] A third object of the present application is to provide a device for monitoring a rail transit station yard.
[0008] In order to achieve the above object, the first aspect of the present application provides a method for refreshing a monitoring display interface of a rail transit station yard, wherein the monitoring equipment of the rail transit station yard comprises an OPC (OLE for Process Control) server, and the method is used for the OPC server, and the method comprises the following steps: obtaining original monitoring data of station yard equipment; obtaining identity information and state attribute information of the station yard equipment according to the original monitoring data; determining a target station yard equipment whose state changes according to the state attribute information; obtaining the identity information of the target station yard equipment, and querying a configuration data model library according to the identity information of the target station yard equipment and the state attribute information to obtain a state attribute path of a display interface corresponding to the target station yard equipment; and rewriting a state attribute value of the state attribute path to refresh the display interface corresponding to the target station yard equipment.
[0009] According to the method for refreshing the monitoring display interface of the rail transit station yard, the target station yard equipment whose state changes is determined according to the state attribute information, the identity information of the target station yard equipment is obtained, the state attribute path of the display interface corresponding to the target station yard equipment is queried in the configuration data model library according to the identity information of the target station yard equipment and the state attribute information, that is, the state attribute path of the display interface is directly determined based on the obtained identity information of the target station yard equipment and the state attribute information, the target station yard equipment corresponding display interface is refreshed by rewriting the state attribute value of the state attribute path, the device addressing is not required by using the hierarchical reference relationship, the problem of large workload of the corresponding device state caused by the hierarchical reference is avoided, thereby, the resource consumption is reduced, and only the state attribute value of the state attribute path is rewritten, the single signal refreshing is performed when the display interface of the station yard equipment is refreshed, thereby, the interface refreshing power consumption is saved, the interface display is more smooth, and the display interface refreshing efficiency is improved.
[0010] In some embodiments, the method further comprises: determining a state attribute path of a display interface corresponding to each station yard equipment according to the state attribute information and the identity information of each station yard equipment; and all the state attribute paths form the configuration data model library. By setting the configuration data model library, when the state attribute information of the station yard equipment changes, the state attribute path of the display interface corresponding to the station yard equipment is determined, and the state attribute value of the state attribute path is directly rewritten, thereby, the display interface refreshing is realized, the display interface logic processing is not required, and the display interface refreshing efficiency is improved.
[0011] In some embodiments, the identity information and the state attribute information of the station yard equipment are obtained according to the original monitoring data, including: converting the original monitoring data into JSON format data and saving; and parsing the JSON format data to obtain the identity information and the state attribute information of the station yard equipment. By parsing the original monitoring data, a data basis is provided for determining the state attribute path of the display interface corresponding to the station yard equipment.
[0012] In some embodiments, the state attribute information is named according to the name of the state of the corresponding station yard equipment. This facilitates the state attribute path query and makes it easier to rewrite the state attribute value.
[0013] In some embodiments, before rewriting the state attribute value of the state attribute path, the method further includes: obtaining a variable attribute of the state attribute information, wherein the variable attribute includes read-write identification information of the state attribute information; and determining, according to the read-write identification information, that the state attribute information does not have read-write capability and prompting. The error prompt for the non-writable variable enables the user to know that the current state attribute value cannot be rewritten and refreshed, thereby improving the accuracy of monitoring.
[0014] In some embodiments, after determining the target equipment in which the state has changed according to the state attribute information, the method further includes: determining the identity information and the state attribute information of the target station yard equipment as historical record information; obtaining a historical state attribute path corresponding to the historical record information; and rewriting the state attribute value of the historical state attribute path. By determining the historical state attribute path of the historical record information, the state attribute path does not need to be determined again when rewriting the state attribute information next time, and the state attribute value can be rewritten according to the historical state attribute path, thereby making the rewriting process more convenient.
[0015] In some embodiments, the method further includes: receiving a control instruction; converting the control instruction into a control command in a JSON (JavaScript Object Notation, JS object notation) data format; and sending the control command in the JSON data format to a target station yard equipment. Thus, the safety of train operation is improved.
[0016] To achieve the above object, a second aspect embodiment of the present application provides a computer storage medium, which stores a computer program, and the computer program is executed to implement the method for monitoring a rail transit station yard.
[0017] To achieve the above object, the third aspect of the present application provides a device for monitoring a rail transit station yard, comprising: a display configured to provide a display interface to display state attribute information of a station yard device; and an OPC server connected to the display and configured to execute the method for refreshing the display interface of the rail transit station yard as described in the above embodiments.
[0018] According to the device for monitoring a rail transit station yard, the method for monitoring a rail transit station yard as described in the above embodiments is executed by the OPC server, the target station yard device with a changed state is determined according to the state attribute information, the identity information of the target station yard device is obtained, the state attribute path of the display interface corresponding to the target station yard device is queried in the configuration data model library according to the identity information of the target station yard device and the state attribute information, that is, the state attribute path of the display interface is directly determined based on the obtained identity information of the target station yard device and the state attribute information, and the refreshing of the display interface corresponding to the target station yard device is realized by rewriting the state attribute value of the state attribute path, without using the hierarchical reference relationship to address the device, thereby avoiding the problem of heavy workload of the corresponding device state caused by the hierarchical reference, reducing resource consumption, and only rewriting the state attribute value of the state attribute path, thereby saving the power consumption of the interface refreshing and making the interface display more smooth.
[0019] In some embodiments, the device for monitoring a rail transit station yard further comprises: an input device connected to the OPC server and configured to generate a control instruction according to an input operation.
[0020] Additional aspects and advantages of the present application will be in part apparent and in part pointed out hereinafter. BRIEF DESCRIPTION OF DRAWINGS
[0021] The above and / or additional aspects and advantages of the present application will become apparent and be readily appreciated from the following description, including the appended drawings.
[0022] Figure 1 is a schematic diagram of a monitoring framework of a rail transit station yard according to an embodiment of the present application;
[0023] Figure 2 is a flowchart of a method for monitoring a rail transit station yard according to an embodiment of the present application;
[0024] Figure 3 is a block diagram of a device for monitoring a rail transit station yard according to an embodiment of the present application. DETAILED DESCRIPTION
[0025] Embodiments of the present application are described in detail below with reference to the accompanying drawings. The embodiments described below are exemplary, and embodiments of the present application are described in detail below.
[0026] In an embodiment, as shown in FIG. 1, a schematic diagram of monitoring a rail transit station framework according to an embodiment of the present application is shown. Field rail data is collected by a rail external subsystem such as a vehicle-mounted device, an interlocking device, and based on an OPC server, the data is collected and parsed, and state monitoring and real-time refreshing of a station framework display interface is achieved. Figure 1
[0027] The method for monitoring a rail transit station according to an embodiment of the present application is described below with reference to FIG. 2, wherein the equipment for monitoring a rail transit station includes an OPC server, and the method is used for the OPC server. As shown in FIG. 2, the method for monitoring a rail transit station according to an embodiment of the present application includes at least steps S1-S5. Figure 2 Figure 2 The method for monitoring a rail transit station according to an embodiment of the present application includes at least steps S1-S5.
[0028] Step S1, original monitoring data of station equipment is obtained.
[0029] In an embodiment, the original monitoring data is field rail data, and the field rail data is collected by station equipment such as an interlocking device, a vehicle-mounted device, or a signal machine device, and through communication between an interface server of the OPC server and the interlocking device, the vehicle-mounted device, or the signal machine device, the interlocking data, the vehicle-mounted data, or the signal machine data is obtained, and the obtained data is used as the original monitoring data.
[0030] Step S2, identity recognition information and state attribute information of the station equipment are obtained according to the original monitoring data.
[0031] In an embodiment, after the OPC server obtains the original monitoring data, the original monitoring data is parsed, and after the parsing is completed, the identity recognition information and the state attribute information of the station equipment are obtained, for example, the identity recognition information of the signal machine device is obtained, and corresponding state attribute information such as signal machine light state, signal machine blocking or reopening, etc. is obtained.
[0032] Step S3, a target station equipment with a state change is determined according to the state attribute information.
[0033] In an embodiment, by monitoring the state attribute information of the station equipment, when the state attribute information of the station equipment changes, the target station equipment with a state change is determined, for example, when the color of the signal machine light changes from green to red, it is considered that the state attribute information of the signal machine light has changed, and thus the target station equipment is determined to be the signal machine light.
[0034] Step S4, obtaining the identity information of the target station yard device, and querying the configuration data model library according to the identity information and the state attribute information to obtain the state attribute path of the display interface corresponding to the target station yard device.
[0035] In an embodiment, the identity information and the state attribute information of the target station yard device are one-to-one corresponding. After the target station yard device is determined according to the state attribute information, the identity information of the target station yard device is also determined. The obtained identity information and the state attribute information are taken as the configuration data model, and the state attribute path of the display interface corresponding to the target station yard device is determined by querying the configuration data model library.
[0036] Specifically, the configuration data model library includes a plurality of configuration data models. The identity information and the state attribute information of each station yard device correspond to a state attribute path, i.e., a configuration data model. The plurality of configuration data models form the configuration data model library, and the configuration data model library is stored to the OPC server. After obtaining the identity information of the target station yard device, the state attribute path of the display interface corresponding to the target station yard device can be directly determined by querying the configuration data model library according to the identity information and the state attribute information, without the need for cyclic iteration to find the write point, thereby avoiding the problem of large workload in finding the corresponding device state caused by hierarchical reference, so as to reduce resource consumption.
[0037] Step S5, rewriting the state attribute value of the state attribute path to refresh the display interface corresponding to the target station yard device.
[0038] In an embodiment, after the state attribute path of the display interface corresponding to the target station yard device is determined, the state attribute value of the state attribute path is directly rewritten. For example, when the color of a signal lamp changes, the state attribute path of the display interface corresponding to the target station yard device, i.e., the signal lamp, is also determined. At this time, the state attribute value of the state attribute path is directly rewritten according to the path, for example, the state attribute value is changed from 0 to 1, to realize the refresh of the display interface corresponding to the target station yard device, i.e., directly refreshing the color of the signal lamp on the display interface, without the need for any logical processing of the interface, thereby reducing the interface logical processing process, which is conducive to the interface refresh, makes the interface display more smooth, and only rewriting the state attribute value of the state attribute path, only a single signal is refreshed when the display interface corresponding to the station yard device is refreshed, thereby saving the interface refresh power consumption.
[0039] According to the method for refreshing a monitoring display interface of a rail transit station yard provided in the embodiments of the present application, the target station yard device whose state changes is determined according to the state attribute information, and the identity recognition information of the target station yard device is obtained. According to the identity recognition information and the attribute state information of the target station yard device, the state attribute path of the display interface corresponding to the target station yard device is queried in the configuration data model library, that is, the state attribute path of the corresponding display interface is directly determined based on the obtained identity recognition information and the attribute state information of the target station yard device, and the refreshing of the display interface corresponding to the target station yard device is implemented by rewriting the state attribute value of the state attribute path, without using the hierarchical reference relationship for device addressing, thereby avoiding the problem of heavy workload of corresponding device states caused by hierarchical reference, and reducing resource consumption. In addition, only the state attribute value of the state attribute path is rewritten, and when the display interface corresponding to the station yard device is refreshed, single signal refreshing is performed, thereby saving interface refreshing power consumption and making the interface display more smooth.
[0040] In some embodiments, the method for refreshing a monitoring display interface of a rail transit station yard further includes determining the state attribute path of the display interface corresponding to each station yard device according to the state attribute information and the identity recognition information of each station yard device; and all the state attribute paths form a configuration data model library. The unique state attribute path of the display interface corresponding to the station yard device is determined according to the state attribute information and the identity recognition information of the station yard device, for example, the identity recognition information of the train number and the skip-stop state attribute information of the train number form a unique state attribute path, or the identity recognition information of the signal machine and the reopening attribute information of the signal machine form a unique state attribute path, that is, a configuration data model. By setting the configuration data model library, when the state of the first station yard device changes, the state attribute path of the display interface corresponding to the first station yard device is determined according to the identity recognition information and the state attribute information of the first station yard device, and the state attribute value of the state attribute path is rewritten to implement display interface refreshing, without the need for logical processing of the display interface, thereby improving the display interface refreshing efficiency and making the rail transit monitoring more smooth.
[0041] In some embodiments, when the identity recognition information and the state attribute information of the station yard device are obtained according to the obtained original monitoring data, the original monitoring data is converted into JSON format data, and the JSON format data is output to a storage module. The JSON format data is parsed to obtain the identity recognition information and the state attribute information of the station yard device, for example, the identity recognition information and the state attribute information of the signal machine are obtained by parsing the JSON format data, wherein the state attribute information of the signal machine includes signal machine light state, signal machine reopening or blocking state attribute information, and the like. By parsing the original monitoring data, a data basis is provided for determining the state attribute path of the display interface corresponding to the station yard device.
[0042] In some embodiments, the state attribute information is named by the name corresponding to the state of the station yard equipment, for example, the state attribute information of the signal machine is directly named by the signal machine reset, when there are more original monitoring data, the name is directly named, which is convenient for state attribute path query, and the rewriting of the state attribute value is easier.
[0043] In some embodiments, before rewriting the state attribute value of the state attribute path, the variable attribute of the state attribute information is obtained, wherein the variable attribute includes read-write identification information of the state attribute information, that is, by obtaining the variable attribute, the readable and writable information and the non-readable and writable information can be determined, for the non-writable variable information, when it is determined that the state of the first station yard equipment changes, the OPC server will have a corresponding error prompt, that is, according to the variable attribute, it is determined that the state attribute information does not have the read-write property, and the prompt is given. By giving an error prompt for non-writable variable information, the user knows that the current state attribute value cannot be rewritten and refreshed, and the accuracy of track monitoring is improved.
[0044] In some embodiments, after determining the target equipment whose state changes according to the state attribute information, the identity recognition information and the state attribute information of the target station yard equipment are determined as historical record information; the historical state attribute path corresponding to the historical record information is obtained; and the state attribute value of the historical state attribute path is rewritten. It can be understood that when rewriting the state attribute value of the state attribute path of the corresponding display interface, it can be judged whether the identity recognition information and the state attribute information of the station yard equipment are historical record information. If it is historical record information, it means that the state attribute value of the state attribute path has been rewritten, and when rewriting again, the historical state attribute path is directly obtained, and the state attribute value of the historical state attribute path is directly rewritten, and the rewriting process is more convenient.
[0045] In some embodiments, the method for monitoring the rail transit station yard further comprises that the OPC server receives the control instruction, converts the control instruction into a control command in JSON data format, and sends the control command in JSON data format to the target station yard equipment. For example, the monitoring personnel can directly issue a control instruction such as a signal machine reset instruction from the station yard diagram of the display interface, and the signal machine can directly control the reset of the signal machine after receiving the instruction.
[0046] In summary, according to the method for monitoring the rail transit station yard according to the embodiment of the present application, the target station yard equipment whose state changes is determined according to the state attribute information, and the identity recognition information of the target station yard equipment is acquired, the state attribute path of the display interface corresponding to the target station yard equipment is inquired in the configuration data model library according to the identity recognition information and the attribute state information of the target station yard equipment, that is, the state attribute path of the display interface corresponding is directly determined based on the acquired identity recognition information and the attribute state information of the target station yard equipment, and the refreshing of the display interface corresponding to the target station yard equipment is realized by rewriting the state attribute value of the state attribute path, without using the hierarchical reference relationship for device addressing, avoiding the problem that the corresponding device state workload is large due to the hierarchical reference, thereby reducing the resource consumption, and only rewriting the state attribute value of the state attribute path, when the display interface corresponding to the station yard equipment is refreshed, the single signal refreshing is performed, thereby saving the interface refreshing power consumption, making the interface display more smooth.
[0047] The computer readable storage medium according to the second aspect embodiment of the present application has a computer program stored thereon, and the computer program executes the above-mentioned method for monitoring the rail transit station yard.
[0048] The device for monitoring the rail transit station yard according to the third aspect embodiment of the present application is described below with reference to the accompanying drawings.
[0049] Figure 3 The device for monitoring the rail transit station yard according to an embodiment of the present application is shown in the block diagram of FIG. 2. Figure 3 As shown in FIG. 2, the device 20 for monitoring the rail transit station yard includes a display 21 and an OPC server 22.
[0050] The display 21 is configured to provide a display interface to display the state attribute information of the station yard equipment, and the OPC server 22 is connected with the display 21 and configured to execute the above-mentioned method for refreshing the rail transit station yard monitoring interface.
[0051] The device 20 for monitoring a rail transit station yard according to the embodiment of the present application executes the method for monitoring a rail transit station yard mentioned in the above embodiment through the OPC server 22, determines the target station yard device whose state changes according to the state attribute information, and acquires the identity recognition information of the target station yard device. According to the identity recognition information and the attribute state information of the target station yard device, the state attribute path of the display interface corresponding to the target station yard device is inquired in the configuration data model library, that is, the state attribute path of the display interface corresponding to the target station yard device is directly determined based on the acquired identity recognition information and the attribute state information of the target station yard device, and the refreshing of the display interface corresponding to the target station yard device is realized by rewriting the state attribute value of the state attribute path. The device addressing does not need to be performed by using the hierarchical reference relationship, and the problem that the corresponding device state workload is large due to the hierarchical reference is avoided, so that the resource consumption is reduced, and only the state attribute value of the state attribute path is rewritten, and the single signal refreshing is performed when the display interface corresponding to the station yard device is refreshed, so that the interface refreshing power consumption is saved, and the interface display is more smooth.
[0052] In some embodiments, the device 20 for monitoring a rail transit station yard further comprises an input device connected with the OPC server 22, and used for generating a control instruction according to an input operation. The input device generates the control instruction through the input operation, for example, the instruction for controlling the signal machine to reopen. The OPC server 22 converts the control instruction into a control command in the JSON data format, and realizes the reopening control of the target station yard device, that is, the signal machine.
[0053] In the description of the present specification, the description of the terms “one embodiment”, “some embodiments”, “exemplary embodiment”, “example”, “specific example”, or “some examples” means that the specific features, structures, materials or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present application. In the present specification, the exemplary description of the above terms does not necessarily mean the same embodiment or example.
[0054] Although the embodiments of the present application have been shown and described, those of ordinary skill in the art can understand that various changes, modifications, replacements and variations can be made to the embodiments without departing from the principles and spirit of the present application, and the scope of the present application is defined by the claims and their equivalents.
Claims
1. A method of refreshing a monitoring display interface of a rail transit station yard, characterized in that, The method is used for an OPC server of a monitoring device of a rail transit station yard, and the method comprises the following steps: Obtaining original monitoring data of a station yard device; Obtaining identity information and state attribute information of the station yard device according to the original monitoring data; Determining a state attribute path of a display interface corresponding to each station yard device according to the state attribute information and the identity information of each station yard device, and forming a configuration data model library by combining all the state attribute paths; Determining a target station yard device whose state has changed according to the state attribute information; Obtaining identity information of the target station yard device, and querying the configuration data model library according to the identity information and the state attribute information of the target station yard device to obtain a state attribute path of a display interface corresponding to the target station yard device; Rewriting a state attribute value of the state attribute path to refresh the display interface corresponding to the target station yard device.
2. The method of refreshing a transit station monitoring display interface of claim 1, wherein, The method further comprises the following steps: Converting the original monitoring data into JSON format data and saving the JSON format data; Analyzing the JSON format data to obtain the identity information and the state attribute information of the station yard device.
3. The method for refreshing a monitoring display interface of a rail transit station yard according to claim 1, characterized in that, The state attribute information is named according to the name of a state of a corresponding station yard device.
4. The method for refreshing a transit station monitoring display interface according to claim 1, wherein, Before rewriting the state attribute value of the state attribute path, the method further comprises the following steps: Obtaining a variable attribute of the state attribute information, wherein the variable attribute comprises read-write identification information of the state attribute information; Determining that the state attribute information does not have read-write capability according to the read-write identification information, and prompting.
5. The method for refreshing a rail transit station yard monitoring display interface according to claim 1, characterized in that, After determining the target device whose state has changed according to the state attribute information, the method further comprises the following steps: Determining the identity information and the state attribute information of the target station yard device as historical record information; Obtaining a historical state attribute path corresponding to the historical record information; Rewriting a state attribute value of the historical state attribute path.
6. The method for refreshing a transit station monitoring display interface according to claim 1, wherein, The method further comprises the following steps: Receiving a control instruction; Converting the control instruction into a control command in JSON data format; Sending the control command in JSON data format to a target station yard device.
7. A computer storage medium having stored thereon a computer program, characterized in that The computer program is executed to implement the method for refreshing a monitoring display interface of a rail transit station yard according to any one of claims 1-6.
8. An apparatus for monitoring a rail transit station, characterized in that, The method comprises the following steps: A display is used to provide a display interface to display state attribute information of a station yard device; An OPC server is connected to the display, and is used to execute the method for refreshing a monitoring display interface of a rail transit station yard according to any one of claims 1-6.
9. The apparatus for monitoring a rail transit station according to claim 8, characterized in that, The method further comprises the following steps: An input device is connected to the OPC server, and is used to generate a control instruction according to an input operation.
Citation Information
Patent Citations
Network monitoring method and system for rail transit equipment state
CN101997741A