Equipment state monitoring device and method for computer interlocking system
By designing and configuring data modules, status data modules and drawing display modules in the railway computer interlocking system, rapid monitoring of equipment status and fault location are achieved, the problem of inefficient equipment status monitoring in the existing technology is solved, and the system is improved Flexibility and scalability.
Patent Information
- Application Number
- CN202411318372.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-20
- Publication Date
- 2025-01-03
AI Technical Summary
The existing railway computer interlocking system cannot quickly monitor the equipment status, and cannot modify the display in time when the equipment parameters or status changes, resulting in inefficiency.
A device status monitoring device for computer interlocking system is designed, including configuration data module, status data module and drawing display module. By separating configuration data and status data, the logic and data of scene diagram are separated, allowing configuration data to be separated only. Customize drawing elements, state data is used to update the display status in real time, and the drawing display module is used to draw and display scene maps.
It realizes rapid monitoring of equipment status and timely locating faulty equipment, improves staff efficiency, and facilitates system iterative upgrades and modification of equipment specification information, supporting subsequent expansion.
Smart Images

Figure CN119239708A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of railway signal interlocking intelligent operation and maintenance system, and in particular to an equipment status monitoring device and method for a computer interlocking system. Background Art
[0002] The railway computer interlocking system is composed of numerous indoor and outdoor equipment. The maintenance and repair work will need to employ a large number of people due to unreasonable methods and insufficient information and intelligence. Today, with the maturity of information technology and intelligent technology, the use of intelligent operation and maintenance systems to provide real-time monitoring of equipment operation status, quickly locate the location of the faulty equipment when a failure occurs, and notify maintenance personnel of the repair function will greatly improve the efficiency of the staff.
[0003] Therefore, how to efficiently monitor the status of equipment, intuitively display the status information of equipment, promptly and prominently indicate the location of the faulty equipment, and prompt the user the cause of the fault are some of the issues that need to be considered in the development of intelligent operation and maintenance systems. In the development, it is also necessary to consider the switching problems caused by different indoor equipment in different stations when switching between different stations, as well as the modification of indoor equipment status display components due to system iteration and upgrade. These issues require reasonable component architecture design to ensure. Summary of the invention
[0004] In view of the above defects of the prior art, the present invention provides an equipment status monitoring device and method for a computer interlocking system to solve the technical problems in the prior art that the equipment status cannot be quickly monitored and the equipment parameters or status cannot be modified in time when they change.
[0005] To achieve the above-mentioned purpose and other related purposes, the present invention provides an equipment status monitoring device for a computer interlocking system, including: a configuration data module, used to obtain the type and quantity of equipment in the station, and obtain the drawing elements of each device according to the type and quantity of the equipment and preset equipment specification information; a status data module, used to receive status message data from a server, and parse the status of the equipment from the status message data; and a drawing display module, used to draw and display a scene graph according to the drawing elements of each device and the status of the device.
[0006] In one embodiment of the present invention, the drawing and display module includes: a device primitive unit, used to draw device primitives; a line primitive unit, used to draw line primitives; a scene unit, used to create device primitives and line primitives according to the drawing elements of the device, and draw a scene graph through the device primitive unit and the line primitive unit; and a view management unit, used to display the scene graph drawn in the scene unit.
[0007] In an embodiment of the present invention, the drawing elements of the device include device name, device position, device spacing, device image, device size, device connection and device status.
[0008] In one embodiment of the present invention, the initial state of the device is preset in the state data module, and the state of the device that is not parsed from the state message data is set as the initial state of the device.
[0009] In one embodiment of the present invention, the view management unit is used to specify the default display center position and zoom ratio of the scene graph, and adjust the center position and zoom ratio of the scene graph according to the user's zoom and move operation instructions for the scene graph.
[0010] In an embodiment of the present invention, the scene unit includes a flashing timer, and the flashing timer is used to set a flashing function for the device graphic element when a device fails, so as to display a failure alarm.
[0011] In one embodiment of the present invention, the scene unit includes a menu event control for processing menu events in the scene unit.
[0012] In one embodiment of the present invention, the scene unit further includes a device double-click control for processing double-click events of each device in the scene unit.
[0013] To achieve the above-mentioned purpose and other related purposes, the present invention also provides a method for monitoring the equipment status of a computer interlocking system, which is applied to the equipment status monitoring device of the above-mentioned computer interlocking system, and the method includes: obtaining the type and quantity of equipment in the scene, and obtaining the drawing elements of each equipment according to the type and quantity of the equipment and preset equipment specification information; receiving status message data from the server, and parsing the status of the equipment from the status message data; and drawing and displaying a scene graph according to the drawing elements of each equipment and the status of the equipment.
[0014] In one embodiment of the present invention, a scene graph is drawn and displayed according to drawing elements of each device and the status of the device, including: obtaining device primitives and line primitives in the scene according to the drawing elements of each device; drawing a scene graph using device primitive units and line primitive units according to the device primitives and line primitives in the scene and the status of the device; and displaying the drawn scene graph using a view management unit.
[0015] Beneficial effects of the present invention: The present invention proposes a device and method for monitoring the equipment status of a computer interlocking system. The device separates the configuration data and the status data by setting a configuration data module and a status data module, wherein the configuration data only customizes the data of each drawing element of the equipment in the scene, and the status data is used to update the display status in real time. The drawing display module is used to implement the drawing logic of the scene. After the logic is separated from the data, when the configuration data and the status data change, the scene graph can be modified without modifying the drawing logic, which is convenient for subsequent expansion. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only 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.
[0017] Figure 1 A structural block diagram of a device status monitoring device provided by an embodiment of the present invention;
[0018] Figure 2 A functional example diagram of a configuration data module provided by an embodiment of the present invention;
[0019] Figure 3 A functional example diagram of a status data module provided by an embodiment of the present invention;
[0020] Figure 4 A functional example diagram of a view management unit provided in one embodiment of the present invention;
[0021] Figure 5 An example diagram of the functions of a scene unit provided by an embodiment of the present invention;
[0022] Figure 6 An example of a scene graph provided for an embodiment of the present invention;
[0023] Figure 7 A flow chart of a device status monitoring method provided by an embodiment of the present invention;
[0024] Figure 8 A flowchart of drawing and displaying a scene graph provided by an embodiment of the present invention;
[0025] Fig. 9 A complete flow chart is provided for one embodiment of the present invention.
[0026] Description of the accompanying drawings: 100, configuration data module; 200, status data module; 300, drawing and display module; 301, device primitive unit; 302, line primitive unit; 303, scene unit; 304, view management unit. DETAILED DESCRIPTION
[0027] The following describes the embodiments of the present invention through specific specific embodiments, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. It should be noted that the following embodiments and the features in the embodiments can be combined with each other without conflict. In addition to the specific methods, equipment, and materials used in the embodiments, according to the technical personnel in this technical field's grasp of the prior art and the records of the present invention, any methods, equipment, and materials of the prior art that are similar or equivalent to the methods, equipment, and materials described in the embodiments of the present invention can also be used to implement the present invention.
[0028] It should be understood that the terms used in the embodiments of the present invention are for describing specific embodiments rather than for limiting the scope of protection of the present invention. Unless otherwise defined, all technical and scientific terms used in the present invention have the same meaning as those generally understood by those skilled in the art.
[0029] In the following description, numerous details are discussed to provide a more thorough explanation of the embodiments of the present invention. However, it is obvious to those skilled in the art that the embodiments of the present invention can be implemented without these specific details. In some of the embodiments, well-known structures and devices are shown in the form of block diagrams rather than in detail to avoid making the embodiments of the present invention difficult to understand.
[0030] The flowchart and block diagram in the accompanying drawings illustrate the system architecture, functions and operations that may be implemented according to the methods and computer program products of various embodiments disclosed in the present invention. In this regard, each box in the flowchart or block diagram can represent a module, a program segment, or a part of a code, and the module, the program segment, or a part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or the flowchart, and the combination of the boxes in the block diagram and / or the flowchart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0031] See also Figure 1 , Figure 1An equipment status monitoring device for a computer interlocking system provided in an embodiment of the present invention includes a configuration data module 100, a status data module 200, and a drawing display module 300. The configuration data module 100 is used to obtain the type and quantity of equipment in the station field, and obtain the drawing elements of each equipment according to the type and quantity of the equipment and the preset equipment specification information; the status data module 200 is used to receive status message data from the server, and parse the status message data to obtain the status of the equipment; the drawing display module 300 is used to draw and display the scene graph according to the drawing elements of each equipment and the status of the equipment.
[0032] The device separates configuration data and status data by setting a configuration data module 100 and a status data module 200, wherein the configuration data only customizes the data of each drawing element of the device in the scene, and the status data is used to update the display status in real time. The drawing display module 300 is used to implement the drawing logic of the scene. After the logic is separated from the data, when the configuration data and the status data change, the scene graph can be modified without modifying the drawing logic, which is convenient for subsequent expansion.
[0033] For a computer interlocking system, the main purpose of operation and maintenance is to be able to understand the operating status of each device in a timely manner. Therefore, the present invention designs a component architecture consisting of a configuration data module 100, a status data module 200 and a drawing display module 300 to achieve the functions required for operation and maintenance.
[0034] When the preset specification information of the equipment changes due to factors such as site switching, equipment switching, system iteration upgrade, etc., by setting the configuration data module 100, the preset equipment specification information can be easily added, modified or deleted when the equipment changes.
[0035] By setting the status data module 200, the operating status of each device can be obtained in time. The drawing and display module 300 draws the scene graph according to the status data module 200, so the scene graph includes the status information of each device. When a device fails, the location of the faulty device can be quickly located through the scene graph, so as to facilitate timely notification of maintenance personnel for maintenance, thereby improving the efficiency of the staff.
[0036] The following is a detailed description of each module.
[0037] See also Figure 2 The configuration data module 100 is mainly used to set and store various specification information of the equipment. Then, according to the type and quantity of the loading station equipment and the various specification information of the stored equipment, the drawing elements of each device can be calculated according to the preset rules, thereby facilitating the drawing display module 300 to draw the scene graph.
[0038] In a specific embodiment of the present invention, the drawing elements of a device may include, for example, the device name, device position, device spacing, device image, device size, device connection, and device status. Among them, the device name is unique, and each device has its own unique name; the device spacing reflects the distance information between devices, which is convenient for drawing to allow a certain interval between each device; the device image may be, for example, a picture path; the device size corresponds to the size of the device image. The device status corresponds to the device image, and different device states correspond to different device images, so that different display styles can be drawn for different device states during subsequent drawing.
[0039] See also Figure 2 In a specific embodiment of the present invention, the following settings can also be performed in the configuration data module 100 to implement corresponding functions, such as setting the number of cabinets, setting the number of control and display machines, creating station map control data, setting the SVG image path, setting the device type information, obtaining the number of control and display machines, obtaining the number of cabinets, obtaining the SVG image path, setting the CTC unique name, setting the control and display machine unique name, setting the routing switch unique name, setting the interlocking machine unique name, setting the master-slave converter unique name, setting the maintenance machine unique name, setting the power panel unique name, setting the fiber splitter unique name, setting the fiber splitter group unique name, setting the cabinet unique name, setting the communication machine unique name, obtaining the device unique name through the unique name, setting the device status, setting the device menu, obtaining the cabinet index according to the device ID, obtaining the device ID according to the type index, initializing the set attribute value, etc.
[0040] In a specific embodiment of the present invention, the initial state of the device is preset in the state data module 200, and the state of the device that is not parsed from the state message data is set as the initial state of the device. The initial state of the device is equivalent to the default state of each device. When the relevant device state information is not parsed, the default state of the device can be used to draw the scene graph.
[0041] See also Figure 3 In a specific embodiment of the present invention, the status data module 200 can also set the main communication machine status, the standby communication machine status, the interlocking machine status, the control and display machine status, the power screen status, the CTC status, the switch status, the maintenance machine status, the equipment error status, etc.
[0042] In a specific embodiment of the present invention, the drawing and display module 300 includes a device primitive unit 301, a line primitive unit 302, a scene unit 303 and a view management unit 304. The device primitive unit 301 is used to draw device primitives; the line primitive unit 302 is used to draw line primitives; the scene unit 303 is used to create device primitives and line primitives according to the drawing elements of the device, and draw a scene graph through the device primitive unit 301 and the line primitive unit 302; the view management unit 304 is used to display the scene graph drawn in the scene unit 303. By setting the device primitive unit 301 and the line primitive unit 302, it is convenient to draw the device and the line; the scene unit 303 is mainly used to draw the scene graph by integrating the information of the modules and units such as the configuration data module 100, the state data module 200, the device primitive unit 301 and the line primitive unit 302; the view management unit 304 is mainly used to display the drawn scene graph.
[0043] The device primitive unit 301 may be, for example, a series of libraries corresponding to devices, or may be a drawing method of a device, and the drawing of the device is realized by calling the method. The line primitive unit 302 is similar, but is mainly used to realize the drawing of line primitives.
[0044] In a specific embodiment of the present invention, the view management unit 304 is used to specify the default display center position and zoom ratio of the scene graph, so that the scene graph can be displayed; and the center position and zoom ratio of the scene graph are adjusted according to the user's zoom and move operation instructions for the scene graph. For example, when the user controls the zoom or drag of the display scene with the mouse, the view management unit 304 can respond to the user's operation and perform corresponding actions to adjust the display content of the scene graph.
[0045] See also Figure 4 In a specific embodiment of the present invention, the view management unit 304 can, for example, implement the following functions: setting the scene to be used, the scene movement center, setting the zoom range, obtaining the maximum zoom value, obtaining the minimum zoom value, obtaining the current zoom value, setting the current zoom value, etc.
[0046] In a specific embodiment of the present invention, the scene unit 303 includes a flashing timer, which is used to set a flashing function for the device element when the device fails to display a fault alarm. By setting the flashing timer, the fault information of the device can be more clearly indicated, which helps the staff to quickly detect and locate the faulty device.
[0047] In a specific embodiment of the present invention, the scene unit 303 includes a menu event control for processing menu events in the scene unit 303. By setting the menu event control, the functions set in the menu can be quickly and conveniently executed.
[0048] In a specific embodiment of the present invention, the scene unit 303 further includes a device double-click control for processing double-click events of each device in the scene unit 303. Through the device double-click control, it is possible to double-click a device to enter other pages specified by different devices, for example, by double-clicking a power screen, you can enter a power screen data page; double-clicking a cabinet, you can enter a cabinet module page, and so on.
[0049] See also Figure 5 In a specific embodiment of the present invention, the scene unit 303 can, for example, implement the following functions: clear the scene, draw controls in the scene, restart the flash timer, refresh device controls, obtain device controls, obtain connection controls, menu events, double-click device events, etc.
[0050] See also Figure 6 , Figure 6 This is an example of a scene graph in a specific embodiment of the present invention. Various devices and connections as well as obvious device failures can be seen from this example graph.
[0051] See also Figure 7 , Figure 7 A method for monitoring the equipment status of a computer interlocking system provided in one embodiment of the present invention is applied to the above-mentioned device for monitoring the equipment status of a computer interlocking system. The method includes steps S100 to S300.
[0052] Step S100, obtaining the type and quantity of devices in the scene, and obtaining the drawing elements of each device according to the type and quantity of the devices and the preset device specification information. This step can be performed by the configuration data module 100, which mainly obtains the type and quantity of devices in the scene to calculate the drawing elements of each device.
[0053] Step S200: receiving status message data from the server, and parsing the status message data to obtain the status of the device; it can be understood that if the status of the device is not parsed, it can be set to the initial state. This step can be performed by the status data module 200.
[0054] Step S300 is used to draw and display a scene graph according to the drawing elements and states of each device. This step can be performed by the drawing and display module 300.
[0055] See also Figure 8In a specific embodiment of the present invention, step S300 includes: S301, according to the drawing elements of each device, obtain the device primitives and line primitives in the scene; S302, according to the device primitives and line primitives in the scene and the state of the device, use the device primitive unit 301 and the line primitive unit 302 to draw the scene graph; S303, use the view management unit 304 to display the drawn scene graph. In this step, by converting the drawing elements into device primitives and line primitives, the drawing of the scene graph is made more convenient and faster, and the primitives can be modified separately later without affecting the entire scene graph.
[0056] It should be noted that the step division of the above methods is only for clear description. When implemented, they can be combined into one step or some steps can be split and decomposed into multiple steps. As long as they contain the same logical relationship, they are all within the scope of protection of this patent; adding insignificant modifications to the algorithm or process or introducing insignificant designs without changing the core design of the algorithm and process are all within the scope of protection of this patent.
[0057] See also Fig. 9 , Fig. 9 The diagram shows a complete flow chart, including the drawing of the initial state and the state update, from which the complete monitoring process of the present invention can be clearly seen.
[0058] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the art may modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by a person of ordinary skill in the art without departing from the spirit and technical concept disclosed by the present invention shall still be covered by the claims of the present invention.
Claims
1. A device for monitoring the equipment status of a computer interlocking system, characterized in that: include: The configuration data module is used to obtain the type and quantity of equipment in the station, and obtain the drawing elements of each equipment according to the type and quantity of the equipment and the preset equipment specification information; A status data module is used to receive status message data from the server and parse the status message data to obtain the status of the device; as well as The drawing and display module is used to draw and display the scene graph according to the drawing elements and device status of each device.
2. The device for monitoring the equipment status of a computer interlocking system according to claim 1, characterized in that: The drawing and display module comprises: Device primitive unit, used for drawing device primitives; Line primitive unit, used for drawing line primitives; A scene unit, used to create a device primitive and a line primitive according to the drawing elements of the device, and draw a scene graph by using the device primitive unit and the line primitive unit; and The view management unit is used to display the scene graph drawn in the scene unit.
3. The device for monitoring the equipment status of a computer interlocking system according to claim 1, characterized in that: The drawing elements of the device include device name, device position, device spacing, device image, device size, device connection and device status.
4. The device state monitoring device for a computer interlocking system according to claim 1, characterized in that: The state data module is preset with the initial state of the device, and the state of the device that is not parsed from the state message data is set as the initial state of the device.
5. The device state monitoring device for a computer interlocking system according to claim 2, characterized in that: The view management unit is used to specify the default display center position and zoom ratio of the scene graph, and adjust the center position and zoom ratio of the scene graph according to the user's zoom and move operation instructions for the scene graph.
6. The device for monitoring the equipment status of a computer interlocking system according to claim 2, characterized in that: The scene unit includes a flashing timer, and the flashing timer is used to set a flashing function for the device graphic element when the device fails, so as to display a failure alarm.
7. The device state monitoring device for a computer interlocking system according to claim 2, characterized in that: The scene unit includes a menu event control for processing menu events in the scene unit.
8. The device for monitoring the equipment status of a computer interlocking system according to claim 2, characterized in that: The scene unit also includes a device double-click control for processing double-click events of each device in the scene unit.
9. A method for monitoring the equipment status of a computer interlocking system, characterized in that: The device state monitoring device for a computer interlocking system according to any one of claims 1 to 8, wherein the method comprises: Obtain the type and quantity of devices in the scene, and obtain the drawing elements of each device according to the type and quantity of the devices and the preset device specification information; Receive status message data from the server, and parse the status message data to obtain the status of the device; Used to draw and display the scene graph based on the drawing elements and device status of each device.
10. The device status monitoring method of a computer interlocking system according to claim 9, characterized in that: Used to draw and display the scene graph according to the drawing elements and device status of each device, including: According to the drawing elements of each device, the device primitives and line primitives in the scene are obtained; Draw a scene graph using device primitive units and line primitive units according to the device primitives and line primitives in the scene and the state of the device; The drawn scene graph is displayed using a view management unit.
