CN114285723A - Method for maintaining information transmission between terminals - Google Patents

Method for maintaining information transmission between terminals Download PDF

Info

Publication number
CN114285723A
CN114285723A CN202111581010.5A CN202111581010A CN114285723A CN 114285723 A CN114285723 A CN 114285723A CN 202111581010 A CN202111581010 A CN 202111581010A CN 114285723 A CN114285723 A CN 114285723A
Authority
CN
China
Prior art keywords
alarm
information
station
alarm information
master control
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
Application number
CN202111581010.5A
Other languages
Chinese (zh)
Inventor
崔晓丹
李新新
张小维
张炳坤
蒋红军
王强
张浩淼
李宏洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casco Signal Ltd
Original Assignee
Casco Signal Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Casco Signal Ltd filed Critical Casco Signal Ltd
Priority to CN202111581010.5A priority Critical patent/CN114285723A/en
Publication of CN114285723A publication Critical patent/CN114285723A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method for maintaining information transmission between terminals, which comprises the following steps: the controlled station caches the alarm information which is not successfully sent into a local file, and sends the cached alarm information to the master control station; and the master control station receives the alarm information and performs display processing on the condition that the alarm is not recovered or the alarm is recovered. The invention can solve the problems of inconsistent alarm information display caused by inconsistent starting time of the two maintenance terminals, alarm information loss caused by communication interruption and incapability of recovering the alarm information caused by communication interruption, so that the alarm information of the controlled station can be completely displayed in the main control station, and the alarm information between the two maintenance terminals is consistent.

Description

Method for maintaining information transmission between terminals
Technical Field
The invention relates to an alarm technology of a rail traffic signal system, in particular to a method for transmitting alarm information between railway maintenance terminals.
Background
Along with the upgrade of a national train control system, the train control and interlocking integrated equipment in the novel train control system is generated, and for message transmission between a master control station and a controlled station, controlled station alarm information needs to be displayed on the master control station. How to completely display the alarm of the controlled station becomes a core difficulty in the design of the train control interlocking integrated equipment, at present, the alarm information is sent out in real time through a network, but the alarm is lost when the communication is interrupted and the controlled station maintenance terminal is started first and then the main control station maintenance terminal is deployed, so that the alarm information between the maintenance terminals is asymmetric, and the user is puzzled and ambiguous.
Disclosure of Invention
The invention provides a method for transmitting information between maintenance terminals, which aims to solve the problem that the alarm content of a maintenance terminal of a controlled station is not completely displayed at a maintenance terminal of a main control station when the communication of two maintenance terminals is interrupted or the start time deployment of the two maintenance terminals is asynchronous, so that the alarm information between the maintenance terminals is symmetrical.
In order to achieve the above object, the present invention provides a method for maintaining information transmission between terminals, including:
the controlled station caches the alarm information which is not successfully sent into a local file, and sends the cached alarm information to the master control station again;
and the master control station receives the alarm information and performs display processing on the condition that the alarm is not recovered or the alarm is recovered.
Further, the alarm information comprises an information header and information content, the information header comprises a sending station ID, a receiving station ID and a message timestamp, and the message content comprises alarm time, alarm recovery time, an alarm device name, an alarm description, an alarm ID and an alarm grade.
Further, when the alarm information is cached in a local file of the controlled station, whether the alarm information is the same alarm source is judged according to the alarm ID of the alarm information, and the alarm recovery of the same alarm source are stored according to two alarms.
Further, the unsuccessfully transmitted alarm information includes: when the controlled station and the master control station are not normally communicated, the controlled station generates new alarm information, previous alarm recovery information, new alarm information and the alarm recovery information; and when the controlled station and the master control station are in normal communication, the master control station unsuccessfully receives the new alarm information, the previous alarm recovery information, the new alarm information and the alarm recovery information of the alarm.
Further, the controlled station and the master station do not normally communicate, and the method includes: the two maintenance terminals of the controlled station and the master station do not establish communication because of inconsistent deployment of the starting time, or the communication between the controlled station and the master station is interrupted.
Furthermore, the controlled station caches the alarm information in a local file and caches the alarm information in a memory.
Further, the method for the controlled station to send the cached alarm information to the master control station includes: and detecting the communication state between the controlled station and the main control station at regular time, and if the communication state is good, circularly traversing the alarm information cached in the local file of the controlled station and sequentially sending the alarm information to the main control station.
Further, the method for the controlled station to send the cached alarm information to the master control station further comprises the following steps: if the cached alarm information is successfully sent, the cache of the alarm information in the local file of the controlled station is cleared, and the alarm information is deleted in the memory; otherwise, the next cycle period is waited to continue sending.
Further, the method for receiving the alarm information and performing the display processing of the alarm non-recovery or the alarm recovery by the master control station comprises the following steps:
the master control station judges whether the received alarm information is new alarm information or previous alarm recovery information;
if the alarm information is newly alarm information, the ID of the controlled station to which the alarm information belongs is displayed without recovery;
if the alarm recovery information of the previous alarm is obtained, the recovery time attribute of the previous alarm is increased, the alarm state is changed, and meanwhile, the ID of the controlled station to which the alarm information belongs is recovered and displayed.
Further, the method also comprises the following steps: the master control station is provided with a database to store the received alarm information, and when the master control station is restarted, unrecovered alarms in the database are automatically loaded for display.
Furthermore, the controlled station maintenance terminal and the master control transfer maintenance terminal transmit alarm information through the inter-station communication module.
The invention has the following advantages:
when the communication between the master control station and the controlled station is not established or the communication is interrupted, the alarm recovery information of previous alarm, the alarm information of new alarm and the alarm recovery information of the alarm generated by the controlled station are cached in a local file of the controlled station, when the communication between the controlled station and the master control station is recovered, the cached alarm information is sent to the master control station again, and the master control station receives the alarm information and carries out display processing.
Drawings
FIG. 1 shows the alarm information transmission between a controlled station and a master station;
FIG. 2 is a flowchart of a method for sending alarm information from a controlled station to a master control station;
fig. 3 is a flowchart of a method for receiving alarm information and performing display processing by the master control station.
Detailed Description
The invention is described in further detail below with reference to the figures and specific examples. Advantages and features of the present invention will become apparent from the following description and from the claims. It is to be noted that the drawings are in a very simplified form and are all used in a non-precise ratio for the purpose of facilitating and distinctly aiding in the description of the embodiments of the invention.
When a controlled station sends alarm information to a main control station, four transmission conditions generally occur, as shown in fig. 1, a stage i indicates that a controlled station maintenance terminal is started first and a main control station maintenance terminal is not started, and communication is not established between the controlled station and the main control station; the second stage shows that the maintenance terminal of the controlled station establishes communication with the maintenance terminal of the main control station and operates normally; the third stage shows that the communication between the controlled station maintenance terminal and the master control station maintenance terminal is interrupted; and the stage (iv) represents the communication recovery between the controlled station maintenance terminal and the master station maintenance terminal. And the first stage and the second stage are not normally communicated, the new alarm information generated by the controlled station, the previous alarm recovery information, the new alarm information and the alarm recovery information cannot be sent to the main control station, so that the problems of inconsistent display of the alarm information between the main control station and the controlled station, loss of the key alarm information and incapability of recovering the key alarm information are caused.
The invention provides a method for maintaining information transmission between terminals, which buffers alarm information generated when a controlled station and a main control station are not normally communicated in a local file of the controlled station, and sends the alarm information again when the communication between the terminals to be maintained is recovered to be normal, so as to solve the problems: firstly, maintaining new alarm information generated by a terminal and caching new alarm recovery information in a local file of a controlled station; step two, new alarm information generated by the terminal, new alarm recovery information, previous alarm recovery information and alarm information cached in the local file are maintained and sent to the master control station, and if the cached alarm information is successfully sent, the cache of the alarm information in the local file of the controlled station is cleared; step three, the alarm recovery information of the previous alarm, the alarm information of the new alarm and the alarm recovery information of the new alarm generated by the maintenance terminal are cached in a local file of the controlled station; and fourthly, sending new alarm information generated by the maintenance terminal, new alarm recovery information, previous alarm recovery information and the alarm information cached in the local file to the master control station, and clearing the cache of the alarm information in the local file of the controlled station if the cached alarm information is successfully sent.
The method comprises the following steps that alarm information is sent or received between a controlled station and a main control station through an inter-station communication transmission module, and the inter-station communication transmission module is provided with a single thread for maintenance. The alarm information comprises an information head and information content, the information head comprises a sending station ID, a receiving station ID and an information timestamp, and the information content comprises alarm time, alarm recovery time, an alarm device name, alarm description, an alarm ID and an alarm grade. The alarm ID can be calculated according to the name of the alarm device, the alarm description and the alarm grade. The alarm ID is used for distinguishing whether each alarm message is the same alarm source. When the controlled station caches the alarm information in the local file, the alarm information of the same alarm source and the alarm recovery information of the alarm are cached according to the two alarms so as to distinguish. In addition, the controlled station caches the alarm information to a local file and caches the alarm information to a memory at the same time.
The master control station is provided with a database for storing the received alarm information. After receiving the alarm information sent by the controlled station, the master control station searches the alarm ID of the alarm information in the database to judge whether the alarm information is the alarm recovery information of the previous alarm.
In addition, the master control station is also provided with a display terminal for displaying the alarm information of the controlled station. And the display terminal is provided with an alarm recovered interface and an alarm unrecovered interface so as to distinguish and display each alarm message. And when the master control station is restarted, automatically loading the unrecovered alarm in the database for display.
The method for maintaining information transmission between terminals provided by the invention comprises the following steps: the controlled station sends alarm information to the master control station, caches the unsuccessfully sent alarm information in a local file, and sends the cached alarm information to the master control station again; and the master control station receives the alarm information sent by the master control station, judges whether the alarm information is new alarm information or previous alarm recovery information, and performs corresponding display processing.
The unsuccessfully sent alarm information includes: when the controlled station and the master control station are not normally communicated, the controlled station generates new alarm information, previous alarm recovery information, new alarm information and the alarm recovery information; and when the controlled station and the master control station are in normal communication, the master control station unsuccessfully receives the new alarm information, the previous alarm recovery information, the new alarm information and the alarm recovery information of the alarm. The said controlled station and master control station are not normally communicated, include: the two maintenance terminals of the controlled station and the master station do not establish communication because of inconsistent deployment of the starting time, or the communication between the controlled station and the master station is interrupted.
Specifically, as shown in fig. 2, the method for sending alarm information to the master control station by the controlled station includes the following steps:
s101, generating new alarm information by a controlled station, and preparing to send the new alarm information to a master control station;
the new alarm information generated by the controlled station comprises the alarm recovery information of the previous alarm, the alarm information of the new alarm and the alarm recovery information of the new alarm.
S102, periodically and circularly traversing the alarm information cached in the local file of the controlled station, copying the alarm in the file into a memory, and preparing to sequentially send the alarm information to the master control station;
s103, judging whether the communication between the controlled station and the master control station is normal; if the result is normal, executing step S104; otherwise, new alarm information generated in the step S101 is cached in a local file and a memory of the controlled station, and the alarm information cached in the step S102 is not processed;
s104, the controlled station sends alarm information to the master control station;
and when the controlled station sends the alarm information to the master control station, the alarm information cached in the local file is preferentially sent.
S105, judging whether the alarm information is successfully sent; if yes, go to step S106; otherwise, caching the alarm information generated in the step S101 into a local file and a memory of the controlled station, trying to send the alarm information cached in the step S102 again, and if the alarm information is still failed to be sent for a plurality of times, waiting for the next cycle period to send again;
s106, judging whether the source of the alarm information is the alarm information cached in the step S102; and if the alarm information is cached, the cache of the alarm information in the local file is cleared, and the alarm information is deleted in the memory.
As shown in fig. 3, the method for receiving alarm information and performing display processing by a master control station includes the following steps:
s201, receiving alarm information sent by a controlled station;
and the master control station judges the identity and the communication state of the sender, and receives alarm information sent by the controlled station if the identity of the controlled station is met and the communication between the stations is good.
S202, judging whether the received alarm information is alarm recovery information of previous alarm; if yes, executing step S203, otherwise executing step S204;
s203, increasing the recovery alarm time attribute of the previous alarm, changing the alarm state to be recovered, and displaying the alarm information to a recovered interface according to the ID of the controlled station to which the alarm information belongs;
and S204, displaying the received alarm information to an unrecovered interface according to the ID of the controlled station to which the alarm information belongs.
When the communication between the master control station and the controlled station is not established or the communication is interrupted, the alarm recovery information of previous alarm, the alarm information of new alarm and the alarm recovery information of the alarm generated by the controlled station are cached in a local file of the controlled station, when the communication between the controlled station and the master control station is recovered, the cached alarm information is sent to the master control station again, and the master control station receives the alarm information and carries out display processing.
While the present invention has been described in detail with reference to the preferred embodiments, it should be understood that the above description should not be taken as limiting the invention. Various modifications and alterations to this invention will become apparent to those skilled in the art upon reading the foregoing description. Accordingly, the scope of the invention should be determined from the following claims.

Claims (10)

1. A method for maintaining information transmission between terminals is characterized by comprising the following steps:
the controlled station caches the alarm information which is not successfully sent into a local file, and sends the cached alarm information to the master control station;
and the master control station receives the alarm information and performs display processing on the condition that the alarm is not recovered or the alarm is recovered.
2. The method of claim 1, wherein the alarm information comprises a header and a content, the header comprises a sending station ID, a receiving station ID, and a message timestamp, and the content comprises an alarm time, an alarm recovery time, an alarm device name, an alarm description, an alarm ID, and an alarm level.
3. The method of claim 2, wherein when the alarm information is cached in a local file of the controlled station, whether the alarm information is from the same source is judged according to the alarm ID of the alarm information, and the alarm from the same source are restored and stored according to two alarms.
4. The method of claim 1, wherein the unsuccessfully transmitted alert information comprises: when the controlled station and the master control station are not normally communicated, the controlled station generates new alarm information, previous alarm recovery information, new alarm information and the alarm recovery information; and when the controlled station and the master control station are in normal communication, the master control station unsuccessfully receives the new alarm information, the previous alarm recovery information, the new alarm information and the alarm recovery information of the alarm.
5. The method of claim 4, wherein the slave station and the master station do not normally communicate, comprising: the two maintenance terminals of the controlled station and the master station do not establish communication because of inconsistent deployment of the starting time, and the communication between the controlled station and the master station is interrupted.
6. The method of claim 1, wherein the method for the controlled station to send the buffered alarm information to the master station comprises: and detecting the communication state between the controlled station and the main control station at regular time, and if the communication state is good, circularly traversing the alarm information cached in the local file of the controlled station and sequentially sending the alarm information to the main control station.
7. The method of claim 6, further comprising: if the cached alarm information is successfully sent, the cache of the alarm information in the local file of the controlled station is cleared; otherwise, the next cycle period is waited to continue sending.
8. The method of claim 7, wherein the controlled station caches the alarm information in a local file and caches the alarm information in a memory; and when the cached alarm information is successfully sent, deleting the alarm information in the memory.
9. The method of claim 1, wherein the method for the master control station to receive alarm information and perform alarm non-recovery or alarm recovery display processing comprises:
the master control station judges whether the received alarm information is new alarm information or previous alarm recovery information;
if the alarm information is newly alarm information, the ID of the controlled station to which the alarm information belongs is displayed without recovery;
if the alarm recovery information of the previous alarm is obtained, the recovery time attribute of the previous alarm is increased, the alarm state is changed, and meanwhile, the ID of the controlled station to which the alarm information belongs is recovered and displayed.
10. The method of claim 1, further comprising: the master control station is provided with a database to store the received alarm information, and when the master control station is restarted, unrecovered alarms in the database are automatically loaded for display.
CN202111581010.5A 2021-12-22 2021-12-22 Method for maintaining information transmission between terminals Pending CN114285723A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111581010.5A CN114285723A (en) 2021-12-22 2021-12-22 Method for maintaining information transmission between terminals

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111581010.5A CN114285723A (en) 2021-12-22 2021-12-22 Method for maintaining information transmission between terminals

Publications (1)

Publication Number Publication Date
CN114285723A true CN114285723A (en) 2022-04-05

Family

ID=80873768

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111581010.5A Pending CN114285723A (en) 2021-12-22 2021-12-22 Method for maintaining information transmission between terminals

Country Status (1)

Country Link
CN (1) CN114285723A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101329392A (en) * 2008-07-15 2008-12-24 深圳市同洲电子股份有限公司 Method for transmitting positioning information and terminal equipment thereof
CN102857354A (en) * 2011-06-27 2013-01-02 中兴通讯股份有限公司 Method, device and system for reporting alarm information
CN102868552A (en) * 2012-08-21 2013-01-09 广东电网公司电力科学研究院 Data sending method
CN105553702A (en) * 2015-12-11 2016-05-04 天津七一二通信广播有限公司 Secondary-development rail transit wireless communication network management system
CN105894757A (en) * 2016-05-09 2016-08-24 浙江大华技术股份有限公司 Method and device for reporting alarm information from alarm terminal to server and alarm terminal
CN108111552A (en) * 2016-11-24 2018-06-01 北京大豪科技股份有限公司 Transmission method, device and the equipment of data
CN109743135A (en) * 2018-12-29 2019-05-10 中国大唐集团新能源科学技术研究院有限公司 A kind of method of breakpoint transmission file transmission
CN111211925A (en) * 2019-12-27 2020-05-29 京信通信系统(中国)有限公司 Alarm information synchronization method and device, computer equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101329392A (en) * 2008-07-15 2008-12-24 深圳市同洲电子股份有限公司 Method for transmitting positioning information and terminal equipment thereof
CN102857354A (en) * 2011-06-27 2013-01-02 中兴通讯股份有限公司 Method, device and system for reporting alarm information
CN102868552A (en) * 2012-08-21 2013-01-09 广东电网公司电力科学研究院 Data sending method
CN105553702A (en) * 2015-12-11 2016-05-04 天津七一二通信广播有限公司 Secondary-development rail transit wireless communication network management system
CN105894757A (en) * 2016-05-09 2016-08-24 浙江大华技术股份有限公司 Method and device for reporting alarm information from alarm terminal to server and alarm terminal
CN108111552A (en) * 2016-11-24 2018-06-01 北京大豪科技股份有限公司 Transmission method, device and the equipment of data
CN109743135A (en) * 2018-12-29 2019-05-10 中国大唐集团新能源科学技术研究院有限公司 A kind of method of breakpoint transmission file transmission
CN111211925A (en) * 2019-12-27 2020-05-29 京信通信系统(中国)有限公司 Alarm information synchronization method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108600353B (en) Parallel block synchronization method of block chain nodes
WO2018023994A1 (en) Disaster-recovery switching method, node, and system
CN101360013B (en) General fast fault locating method for transmission network based on correlativity analysis
EP2178251A1 (en) Method, apparatus and system for ring protection
CN106502838A (en) The caching method of train data, device and system
CN111107149A (en) Method for continuously transmitting data of road traffic equipment in disconnected network
CN111368005B (en) Block chain-based data processing method, device, equipment and readable storage medium
CN108111355B (en) Data communication gateway machine and method, device and medium for synchronizing data thereof
CN111865637B (en) Fault recovery method and system
CN114285723A (en) Method for maintaining information transmission between terminals
CN105812492B (en) A kind of method of data synchronization and system
CN107241216A (en) Maintain the method and device of the stable transmission of critical data
CN103581262B (en) A kind of master/slave data synchronous method, device and system
CN108270876B (en) Method for realizing proxy server in signal system
CN105049264A (en) Data processing method and server side
CN101599861B (en) Method and device for acquiring data in network management intermediate library
CN102739777A (en) Data stream disconnection recovering method and system
CN104396274A (en) Meter reading device
CN106921746A (en) A kind of data synchronous system and method for data synchronization
CN114338775B (en) 4G/5G wireless transmission method for urban railway vehicle-mounted maintenance terminal
WO2018107379A1 (en) Alarm synchronisation method and device
CN110727448A (en) OTA (over the air) upgrading method for charging pile
CN112685346B (en) Multi-device data synchronization method based on ARINC429 bus
CN110515903A (en) A kind of cleaning garbage files system of computer software
CN107995641A (en) Management method, device and the computer-readable recording medium of terminal and real-time base station communication failure

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