CN113942548A - Method and device for realizing standardized maintenance terminal of temporary speed limiting server - Google Patents
Method and device for realizing standardized maintenance terminal of temporary speed limiting server Download PDFInfo
- Publication number
- CN113942548A CN113942548A CN202111049073.6A CN202111049073A CN113942548A CN 113942548 A CN113942548 A CN 113942548A CN 202111049073 A CN202111049073 A CN 202111049073A CN 113942548 A CN113942548 A CN 113942548A
- Authority
- CN
- China
- Prior art keywords
- data
- temporary speed
- maintenance terminal
- speed limit
- message
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B61—RAILWAYS
- B61L—GUIDING RAILWAY TRAFFIC; ENSURING THE SAFETY OF RAILWAY TRAFFIC
- B61L27/00—Central railway traffic control systems; Trackside control; Communication systems specially adapted therefor
Landscapes
- Engineering & Computer Science (AREA)
- Mechanical Engineering (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention relates to a method and a device for realizing a standardized maintenance terminal of a temporary speed limiting server, wherein the method comprises the following steps: step S1After the standardized maintenance terminal of the temporary speed limit server is started, reading off-line configuration information and acquiring parameters of the temporary speed limit server; step S2Initializing a network task; step S3After receiving the data message from the temporary speed limiting server, the maintenance terminal classifies the message; step S4Repeatedly filtering the messages needing to be stored in the database; step S5Processing the data request of the foreground page and judging the type of the data request; step S6Converting the message in the database or the message in the real-time message queue into application data according to the request type of the foreground, and returning the application data to the foreground; step S7Rendering an interface after the foreground receives the data returned by the background; step S8Go back to step S3The data continues to be processed. Compared with the prior art, the invention has good transportability and the likeHas the advantages of simple process and low cost.
Description
Technical Field
The invention relates to a train signal control system, in particular to a method for realizing a temporary speed limit server standardized maintenance terminal.
Background
With the rapid development of socioeconomic performance in China, higher requirements are placed on railway transportation. At present, the CTCS-2 level train control system is a widely applied control system in China, wherein a temporary speed limit server is used as core ground safety equipment of the CTCS-2 level train control system and plays an important role in the safe operation of trains.
The standardized maintenance terminal of the temporary speed limit server is a maintenance subsystem of the temporary speed limit server, is based on temporary technical specifications of temporary speed limit server maintenance terminal display issued by the iron master, has complete functions and simple operation, provides a friendly visual human-computer interface, records interactive data of the temporary speed limit server and external equipment, helps maintenance personnel to monitor the operation state of the system in real time, can give an alarm in time when abnormal conditions occur in the operation process, and assists the maintenance personnel to analyze and solve problems by means of history playback, historical data query and the like.
Through retrieval, the chinese patent publication No. CN102211600A discloses a temporary speed-limiting method, server and system, the system includes a temporary speed-limiting server and a temporary speed-limiting maintenance terminal, wherein the temporary speed-limiting maintenance terminal is used for detecting, maintaining and collecting information of the temporary speed-limiting server, thereby overcoming the defect that the temporary speed-limiting dispatching instruction is often set unsuccessfully in the prior art, realizing effective issuing of the temporary speed-limiting dispatching instruction, and improving the working efficiency. However, the maintenance terminal has the problems of poor portability, low expandability, inconvenient maintenance and the like.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a method for realizing the standardized maintenance terminal of the temporary speed limiting server.
The purpose of the invention can be realized by the following technical scheme:
according to a first aspect of the present invention, a method for implementing a standardized maintenance terminal of a temporary speed limit server is provided, the method comprising the following steps:
step S1After the standardized maintenance terminal of the temporary speed limit server is started, reading off-line configuration information and acquiring parameters of the temporary speed limit server;
step S2Initializing a network task;
step S3After receiving the data message from the temporary speed limiting server, the maintenance terminal classifies the message;
step S4Repeatedly filtering the messages needing to be stored in the database;
step S5Processing the data request of the foreground page and judging the type of the data request;
step S6Converting the message in the database or the message in the real-time message queue into application data according to the request type of the foreground, and returning the application data to the foreground;
step S7Rendering an interface after the foreground receives the data returned by the background;
step S8Go back to step S3The data continues to be processed.
As a preferred technical solution, the step S1The parameters for obtaining the temporary speed limit server comprise the IP and the port number of the temporary speed limit server and other parameters for maintaining the terminal display.
As a preferred technical solution, the step S2The network task initialization in (1) is specifically to initialize NVC and TCP network tasks.
As a preferred technical solution, the network task includes a message processing task with the temporary speed limit server and a message processing task between the maintenance terminal foreground and the maintenance terminal background.
As a preferred technical solution, the step S3The classification processing of the message comprises: one part is stored in the real-time message queue and one part is stored in the database.
As a preferred technical solution, the real-time message queue stores real-time data, and the database stores historical data.
As a preferred technical solution, the step S5The data request types in the data request system comprise websocket requests and ajax requests, and the websocket requests and the ajax requests respectively correspond to real-time data and historical data.
According to a second aspect of the present invention, there is provided an apparatus for implementing a temporary speed limit server standardized maintenance terminal, the apparatus including the following steps:
the off-line configuration information reading module is used for reading off-line configuration information and acquiring parameters of the temporary speed limit server after the temporary speed limit server standardized maintenance terminal is started;
a network task initialization module for initializing NVC (non-secure network communication) and TCP network tasks;
the message classification processing module is used for performing classification processing on the messages after the maintenance terminal receives the data messages from the temporary speed limiting server;
the message filtering module is used for repeatedly filtering the messages needing to be stored in the database;
the data request type judging module is used for processing the data request of the foreground page and judging the type of the data request;
the data conversion module is used for converting the messages in the database or the messages in the real-time message queue into application data according to the request type of the foreground and returning the application data to the foreground;
and the interface rendering module is used for rendering the interface after the foreground receives the data returned by the background.
According to a third aspect of the invention, there is provided an electronic device comprising a memory having stored thereon a computer program and a processor implementing the method when executing the program.
According to a fourth aspect of the invention, a computer-readable storage medium is provided, on which a computer program is stored which, when being executed by a processor, carries out the method.
Compared with the prior art, the invention has the following advantages:
1. the invention is based on Java Web architecture, and has good portability;
2. the invention is based on the protocol analysis mode of the xml, and has good expansibility and maintainability;
3. the invention provides consistent and good UI experience for the temporary speed limit server maintenance terminal display temporary technical specification;
4. the invention has clear modularization, and the service layer, the data transmission layer and the display layer are relatively independent, thereby facilitating the maintenance of software.
Drawings
FIG. 1 is a system architecture diagram of the present invention;
FIG. 2 is a flow chart of data processing according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, shall fall within the scope of protection of the present invention.
As shown in fig. 1 and fig. 2, the method for implementing the standardized maintenance terminal of the temporary speed limit server of the present invention includes the following steps:
step S1, starting the temporary speed limit server standardized maintenance terminal, reading off-line configuration information, and acquiring the IP and port number of the temporary speed limit server and other parameters for maintaining the terminal display;
step S2, initializing NVC and TCP network tasks, including a message processing task with the temporary speed limit server and a message processing task between the foreground and the background of the maintenance terminal;
step S3, after receiving the data message from the temporary speed limiting server, classifying the message, storing the message for real-time display into a real-time message queue, and storing the message for historical inquiry into a database;
step S4, repeatedly filtering the messages to be stored in the database, optimizing the data storage mode, reducing the data volume and facilitating the subsequent data retrieval;
step S5, processing a data request of a foreground page, and judging whether the request type is a websocket request or an ajax request;
step S6, according to the request type of the foreground, if the request is a websocket request, converting the message in the real-time message queue into application data, and returning the application data to the foreground;
step S7, if the request is ajax, inquiring qualified data in the database, converting the data into application data, and returning the application data to the foreground
Step S8, after receiving the data returned by the background, the foreground renders an interface and displays the data to the user;
and step S9, the maintenance terminal receives the message of the lower computer once every 500ms, the 500ms is taken as a period, and after the message processing in the period is finished, the data processing in the next period is restarted.
The maintenance terminal is already applied to a temporary speed limit server system, is used as a maintenance subsystem of the temporary speed limit server, and makes an important contribution to the normal and safe operation of the temporary speed limit server. The system is used in Shanghai line and other projects, and can completely meet the field requirements in the operation process.
The above is a description of method embodiments, and the embodiments of the present invention are further described below by way of apparatus embodiments.
The invention relates to a device for realizing a standardized maintenance terminal of a temporary speed limiting server, which comprises the following steps:
the off-line configuration information reading module is used for reading off-line configuration information and acquiring parameters of the temporary speed limit server after the temporary speed limit server standardized maintenance terminal is started;
the network task initialization module is used for initializing NVC and TCP network tasks;
the message classification processing module is used for performing classification processing on the messages after the maintenance terminal receives the data messages from the temporary speed limiting server;
the message filtering module is used for repeatedly filtering the messages needing to be stored in the database;
the data request type judging module is used for processing the data request of the foreground page and judging the type of the data request;
the data conversion module is used for converting the messages in the database or the messages in the real-time message queue into application data according to the request type of the foreground and returning the application data to the foreground;
and the interface rendering module is used for rendering the interface after the foreground receives the data returned by the background.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the described module may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
The electronic device of the present invention includes a Central Processing Unit (CPU) that can perform various appropriate actions and processes according to computer program instructions stored in a Read Only Memory (ROM) or computer program instructions loaded from a storage unit into a Random Access Memory (RAM). In the RAM, various programs and data required for the operation of the device 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.
A plurality of components in the device are connected to the I/O interface, including: an input unit such as a keyboard, a mouse, etc.; an output unit such as various types of displays, speakers, and the like; storage units such as magnetic disks, optical disks, and the like; and a communication unit such as a network card, modem, wireless communication transceiver, etc. The communication unit allows the device to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The processing unit performs the various methods and processes described above, such as methods S1-S9. For example, in some embodiments, the methods S1-S9 may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as a storage unit. In some embodiments, part or all of the computer program may be loaded and/or installed onto the device via ROM and/or the communication unit. When the computer program is loaded into RAM and executed by the CPU, one or more of the steps of methods S1-S9 described above may be performed. Alternatively, in other embodiments, the CPU may be configured to perform methods S1-S9 in any other suitable manner (e.g., by way of firmware).
The functions described herein above 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: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a load programmable logic device (CPLD), and the like.
Program code for implementing the methods of the present invention may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The 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, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (10)
1. A realization method of a temporary speed limit server standardization maintenance terminal is characterized by comprising the following steps:
step S1After the standardized maintenance terminal of the temporary speed limit server is started, reading off-line configuration information and acquiring parameters of the temporary speed limit server;
step S2Initializing a network task;
step S3After receiving the data message from the temporary speed limiting server, the maintenance terminal classifies the message;
step S4Repeatedly filtering the messages needing to be stored in the database;
step S5Processing the data request of the foreground page and judging the type of the data request;
step S6Converting the message in the database or the message in the real-time message queue into application data according to the request type of the foreground, and returning the application data to the foreground;
step S7Rendering an interface after the foreground receives the data returned by the background;
step S8Go back to step S3The data continues to be processed.
2. The method for implementing the standardized maintenance terminal of the temporary speed limit server according to claim 1, wherein the step S is implemented by a computer1The parameters for obtaining the temporary speed limit server comprise the IP and the port number of the temporary speed limit server and other parameters for maintaining the terminal display.
3. The method for implementing the standardized maintenance terminal of the temporary speed limit server according to claim 1, wherein the step S is implemented by a computer2The network task initialization in (1) is specifically to initialize NVC and TCP network tasks.
4. The method as claimed in claim 3, wherein the network task includes a message processing task with the temporary speed limit server and a message processing task between the foreground and the background of the maintenance terminal.
5. The method for implementing the standardized maintenance terminal of the temporary speed limit server according to claim 3, wherein the step S is implemented by a computer3The classification processing of the message comprises: one part is stored in the real-time message queue and one part is stored in the database.
6. The method as claimed in claim 5, wherein the real-time data is stored in the real-time message queue, and the historical data is stored in the database.
7. The method for implementing the standardized maintenance terminal of the temporary speed limit server according to claim 1, wherein the step S is implemented by a computer5The data request types in the data request system comprise websocket requests and ajax requests, and the websocket requests and the ajax requests respectively correspond to real-time data and historical data.
8. A realization device for a temporary speed limit server standardization maintenance terminal is characterized by comprising the following steps:
the off-line configuration information reading module is used for reading off-line configuration information and acquiring parameters of the temporary speed limit server after the temporary speed limit server standardized maintenance terminal is started;
the network task initialization module is used for initializing NVC and TCP network tasks;
the message classification processing module is used for performing classification processing on the messages after the maintenance terminal receives the data messages from the temporary speed limiting server;
the message filtering module is used for repeatedly filtering the messages needing to be stored in the database;
the data request type judging module is used for processing the data request of the foreground page and judging the type of the data request;
the data conversion module is used for converting the messages in the database or the messages in the real-time message queue into application data according to the request type of the foreground and returning the application data to the foreground;
and the interface rendering module is used for rendering the interface after the foreground receives the data returned by the background.
9. An electronic device comprising a memory and a processor, the memory having stored thereon a computer program, wherein the processor, when executing the program, implements the method of any of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out the method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111049073.6A CN113942548A (en) | 2021-09-08 | 2021-09-08 | Method and device for realizing standardized maintenance terminal of temporary speed limiting server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111049073.6A CN113942548A (en) | 2021-09-08 | 2021-09-08 | Method and device for realizing standardized maintenance terminal of temporary speed limiting server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113942548A true CN113942548A (en) | 2022-01-18 |
Family
ID=79327907
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111049073.6A Pending CN113942548A (en) | 2021-09-08 | 2021-09-08 | Method and device for realizing standardized maintenance terminal of temporary speed limiting server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113942548A (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101722971A (en) * | 2009-10-30 | 2010-06-09 | 华南理工大学 | Portable temporary speed limit detecting terminal and maintenance method thereof |
CN102211600A (en) * | 2011-05-16 | 2011-10-12 | 北京和利时***工程有限公司 | Temporary speed-limiting method, server and system |
US20130205034A1 (en) * | 2012-02-06 | 2013-08-08 | Infosys Limited | Methods for facilitating communications in a presence and messaging server and devices thereof |
CN108958072A (en) * | 2018-06-15 | 2018-12-07 | 卡斯柯信号有限公司 | One kind is towards urban track traffic meter shaft subsystem intelligent maintenance system and method |
WO2018233141A1 (en) * | 2017-06-24 | 2018-12-27 | 平安科技(深圳)有限公司 | Data communication processing terminal and method and computer readable storage medium |
CN109849971A (en) * | 2019-02-02 | 2019-06-07 | 卡斯柯信号有限公司 | A kind of temporary speed limitation control method suitable for low-density railway |
CN111071306A (en) * | 2019-12-09 | 2020-04-28 | 中铁二十四局集团上海电务电化有限公司 | CTCS-2 train control system debugging method |
CN112433759A (en) * | 2020-12-17 | 2021-03-02 | 卡斯柯信号有限公司 | Standardized maintenance terminal for train control center system and implementation method thereof |
CN113022661A (en) * | 2021-04-07 | 2021-06-25 | 卡斯柯信号有限公司 | Temporary speed limit safety management method for multi-mode train control system |
-
2021
- 2021-09-08 CN CN202111049073.6A patent/CN113942548A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101722971A (en) * | 2009-10-30 | 2010-06-09 | 华南理工大学 | Portable temporary speed limit detecting terminal and maintenance method thereof |
CN102211600A (en) * | 2011-05-16 | 2011-10-12 | 北京和利时***工程有限公司 | Temporary speed-limiting method, server and system |
US20130205034A1 (en) * | 2012-02-06 | 2013-08-08 | Infosys Limited | Methods for facilitating communications in a presence and messaging server and devices thereof |
WO2018233141A1 (en) * | 2017-06-24 | 2018-12-27 | 平安科技(深圳)有限公司 | Data communication processing terminal and method and computer readable storage medium |
CN108958072A (en) * | 2018-06-15 | 2018-12-07 | 卡斯柯信号有限公司 | One kind is towards urban track traffic meter shaft subsystem intelligent maintenance system and method |
CN109849971A (en) * | 2019-02-02 | 2019-06-07 | 卡斯柯信号有限公司 | A kind of temporary speed limitation control method suitable for low-density railway |
CN111071306A (en) * | 2019-12-09 | 2020-04-28 | 中铁二十四局集团上海电务电化有限公司 | CTCS-2 train control system debugging method |
CN112433759A (en) * | 2020-12-17 | 2021-03-02 | 卡斯柯信号有限公司 | Standardized maintenance terminal for train control center system and implementation method thereof |
CN113022661A (en) * | 2021-04-07 | 2021-06-25 | 卡斯柯信号有限公司 | Temporary speed limit safety management method for multi-mode train control system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110347694B (en) | Equipment monitoring method, device and system based on Internet of things | |
CN112911013A (en) | Cloud application processing method and device, computer equipment and storage medium | |
CN112015720A (en) | On-site rapid setting method and system for relay protection equipment | |
CN111708673A (en) | Log data compression method, device, equipment and storage medium | |
CN112433759A (en) | Standardized maintenance terminal for train control center system and implementation method thereof | |
CN112910733A (en) | Full link monitoring system and method based on big data | |
CN111241043A (en) | Multimedia file sharing method, terminal and storage medium | |
CN114201336A (en) | Configuration checking control method, system and equipment for online monitoring control function of master station | |
CN116074183B (en) | C3 timeout analysis method, device and equipment based on rule engine | |
CN113942548A (en) | Method and device for realizing standardized maintenance terminal of temporary speed limiting server | |
CN116645082A (en) | System inspection method, device, equipment and storage medium | |
CN113570083A (en) | Operation and maintenance flow determination method and device for equipment, electronic equipment and storage medium | |
CN115730780A (en) | OMS (operation management system) ticket overhauling system and method of comprehensive scheduling terminal | |
CN116449810B (en) | Fault detection method and device, electronic equipment and storage medium | |
CN113986698A (en) | Communication log quantity diagnosis method, device and storage medium | |
WO2024060776A1 (en) | Service health status display method and apparatus, and device and storage medium | |
CN112860472A (en) | System fault position determining method and device, electronic equipment and storage medium | |
CN115840432A (en) | Equipment fault diagnosis method and device, computer equipment and storage medium | |
CN114064391A (en) | Distributed alarm or event information processing method and device | |
CN117156398A (en) | Message processing method, device, electronic equipment and storage medium | |
CN111739526A (en) | Nuclear power plant monitoring method and system, terminal equipment and storage medium | |
CN117035652A (en) | Method and system for automatically generating power dispatching command ticket | |
CN114186419A (en) | Master station modeling test method, system and equipment with master station online monitoring control function | |
CN114598589A (en) | Usability analysis method and system based on log data and storage medium | |
CN114844920A (en) | Internet of things equipment checking method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |