CN109890008A - Synchronous method, device and the storage medium of data - Google Patents

Synchronous method, device and the storage medium of data Download PDF

Info

Publication number
CN109890008A
CN109890008A CN201811642352.1A CN201811642352A CN109890008A CN 109890008 A CN109890008 A CN 109890008A CN 201811642352 A CN201811642352 A CN 201811642352A CN 109890008 A CN109890008 A CN 109890008A
Authority
CN
China
Prior art keywords
message
link
module
gsm
abnormality
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
CN201811642352.1A
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.)
BEIJING JINHONG XIDIAN INFORMATION TECHNOLOGY Co Ltd
Original Assignee
BEIJING JINHONG XIDIAN INFORMATION TECHNOLOGY Co 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 BEIJING JINHONG XIDIAN INFORMATION TECHNOLOGY Co Ltd filed Critical BEIJING JINHONG XIDIAN INFORMATION TECHNOLOGY Co Ltd
Priority to CN201811642352.1A priority Critical patent/CN109890008A/en
Publication of CN109890008A publication Critical patent/CN109890008A/en
Pending legal-status Critical Current

Links

Abstract

The present invention provides the synchronous method, device and storage medium of a kind of data, this method is applied to main vehicular communication equipment OCU, the main OCU includes m digital mobile communication network GSM-R module, which comprises sends first message by m chain road direction AN by m GSM-R module;Wherein, m is the positive integer more than or equal to 2;According to the first message, the link state of the m link is detected respectively;The link state includes normal condition and abnormality;It is in the link of abnormality if it exists, then link re-establishment is carried out to the link of the abnormality.The stability of communication and the reliability of data transmission can be improved in synchronous method, device and the storage medium of data provided by the invention.

Description

Synchronous method, device and the storage medium of data
Technical field
The present invention relates to the control field of heavy haul train more particularly to a kind of synchronous method of the data of locomotive, device and Storage medium.
Background technique
Under the background of heavy haul train development, the synchronous manipulation system of locomotive is also increasingly taken seriously, and how to make winner Locomotive and more stable from the communication between empty locomotive is controlled, guarantees the reliability of data.
Currently, the master control locomotive of Datong-Qinhuangdao Railway locomotive synchronous manipulation system LOCOTROL and the control unit of slave controller vehicle are logical It crosses digital mobile communication network GSM-R (abbreviation GSM-R net) to be communicated, and then realizes between master control locomotive and slave controller vehicle The exchange of the two-way column control data of Che-vehicle.Specifically, first establishing each locomotive of this EMU before setting up LOCOTROL EMU GSM-R vehicular communication equipment OCU office channel unit (Office Channel Unit, OCU) and Ground Application node (Access Network, AN) circuit switched data services (Circuit Switch Data, CSD) link, when the CSD chain of entire locomotive After the completion of road is established namely LOCOTROL system has the condition of operation, at this point, master control locomotive control unit will issue column control Data, data are sent to Ground Application node AN, Ground Application node AN through GSM-R net from main OCU by established link The slave controller vehicle control unit for forwarding the data to this EMU again, to realize synchronous manipulation.
Since during synchronous manipulation, base station may handover failure, signaling connection control protocol (Skinny Call Control Protocol, SCCP) layer can call drop, the flash of base station, link uplink and downlink it is of poor quality the problems such as, due to not It can restore in time, and there was only a link between main OCU and Ground Application node AN, so as to cause the communication of LOCOTROL system Time-out cannot achieve the synchronization of data, thereby reduce the reliability of data transmission.
Summary of the invention
The embodiment of the present invention provides the synchronous method, device and storage medium of a kind of data, and the stabilization of communication can be improved Property and data transmission reliability.
According to a first aspect of the embodiments of the present invention, a kind of synchronous method of data is provided, it is vehicle-mounted that this method is applied to master Communication equipment OCU, the main OCU include m digital mobile communication network GSM-R module, which comprises
First message is sent by m chain road direction AN by m GSM-R module;Wherein, m is just whole more than or equal to 2 Number;
According to the first message, the link state of the m link is detected respectively;The link state includes normal shape State and abnormality;
It is in the link of abnormality if it exists, then link re-establishment is carried out to the link of the abnormality.
Optionally, described according to the first message, the link state of the m link is detected respectively, comprising:
According to the first message, detect respectively the m GSM-R module whether receive within a preset period of time it is described The second message that AN is returned;
If it is detected that there are GSM-R modules in the preset time period, the AN is returned described second is not received Message, it is determined that the state for not receiving the corresponding link of GSM-R module of the second message is abnormality.
Optionally, the method also includes:
If it is detected that there are p GSM-R modules to receive the second message, it is determined that each GSM-R module receives institute State the time of reception of second message, wherein p is positive integer, and p is less than m;
According to the time of reception, the sending instant and default overtime duration of the first message, judge that described first disappears Whether the transmission of breath is overtime;
If the transmission time-out of the continuous n times of first message, it is determined that the corresponding link state of the p GSM-R module For abnormality, wherein N is 0 or positive integer.
Optionally, described according to the time of reception, the sending instant and default overtime duration of the first message, judgement Whether the transmission of the first message is overtime, comprising:
Judge the difference between the time of reception and the sending instant of the first message, if be greater than described default super Shi Shichang;
If the difference between the time of reception and the sending instant of the first message is greater than the default overtime duration, Then determine the transmission time-out of the first message.
Optionally, the link to the abnormality carries out link re-establishment, comprising:
It hangs up the link state and is the link of abnormality, and re-establish the link after hanging up.
According to a second aspect of the embodiments of the present invention, a kind of synchronizing device of data is provided, described device includes:
Sending module, for sending first message by m chain road direction AN by m GSM-R module;Wherein, m be greater than Or the positive integer equal to 2;
Detection module, for detecting the link state of the m link respectively according to the first message;The link State includes normal condition and abnormality;
Module is rebuild, when detecting to have the link in abnormality for the detection module, to the abnormal shape The link of state carries out link re-establishment.
Optionally, the detection module, is specifically used for:
According to the first message, detect respectively the m GSM-R module whether receive within a preset period of time it is described The second message that AN is returned;
If it is detected that there are GSM-R modules in the preset time period, the AN is returned described second is not received Message, it is determined that the state for not receiving the corresponding link of GSM-R module of the second message is abnormality.
Optionally, described device further include: judgment module and determining module, wherein
The detection module is also used to if it is detected that there are p GSM-R modules to receive the second message, then really Fixed each GSM-R module receives the time of reception of the second message, wherein p is positive integer, and p is less than m;
The judgment module, when for according to the sending instant of the time of reception, the first message and default time-out It is long, judge whether the transmission of the first message is overtime;
The determining module, if the transmission time-out for the continuous n times of the first message, it is determined that the p GSM-R mould The corresponding link state of block is abnormality, wherein N is 0 or positive integer.
Optionally, the judgment module, is specifically used for:
Judge the difference between the time of reception and the sending instant of the first message, if be greater than described default super Shi Shichang;
If the difference between the time of reception and the sending instant of the first message is greater than the default overtime duration, Then determine the transmission time-out of the first message.
Optionally, the reconstruction module, is specifically used for:
It hangs up the link state and is the link of abnormality, and re-establish the link after hanging up.
According to a third aspect of the embodiments of the present invention, a kind of vehicular communication equipment OCU is provided, comprising:
Processor;
Memory;And
Computer program;
Wherein, the computer program is stored in the memory, and is configured as being executed by the processor, The computer program includes the instruction for executing method described in first aspect.
According to a fourth aspect of the embodiments of the present invention, a kind of computer readable storage medium is provided, it is described computer-readable Storage medium is stored with computer program, and the computer program executes vehicular communication equipment OCU described in first aspect Method.
Synchronous method, device and the storage medium of data provided by the invention, this method are applied to main vehicular communication equipment OCU, the main OCU include m digital mobile communication network GSM-R module, by m GSM-R module by m chain road direction AN hair Send first message, wherein m is the positive integer more than or equal to 2;Again according to the first message, the m link is detected respectively Link state, the link state includes normal condition and abnormality;It is in the link of abnormality if it exists, then to institute The link for stating abnormality carries out link re-establishment.Due to by setting m digital mobile communication network GSM-R module, main OCU with M link is established between AN, and message is sent by m chain road direction AN, m link be can detecte out according to the first message of transmission State, the link of abnormality, will re-establish the link of the abnormality if it exists, passes through m chain road direction AN and sends number According to, even if the transmission of data can also be carried out by other links there are anomaly link, to guarantee not losing for data, into And complete the main control unit of locomotive with from control unit data it is synchronous, by m link simultaneous transmission data, not only mention The stability of high communication also improves the reliability of data transmission.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without any creative labor, can be with It obtains other drawings based on these drawings.
Fig. 1 is the architecture diagram of the synchronous manipulation system of locomotive in the prior art.
Fig. 2 is a kind of present invention flow chart of the synchronous method of data shown according to an exemplary embodiment.
Fig. 3 is a kind of present invention schematic diagram of the hardware configuration of EOCU shown according to an exemplary embodiment.
Fig. 4 is a kind of present invention principle of the train synchronization manipulation based on EOCU shown according to an exemplary embodiment Figure.
Fig. 5 is a kind of present invention schematic diagram of the Software Function Design of EOCU shown according to an exemplary embodiment.
Fig. 6 is a kind of flow chart of the synchronous method for data that the present invention is shown according to another exemplary embodiment.
Fig. 7 is a kind of present invention schematic diagram of the link detecting of timing example inspection shown according to an exemplary embodiment.
Fig. 8 is a kind of present invention schematic diagram of the link detecting of column control data shown according to an exemplary embodiment.
Fig. 9 is a kind of flow chart of the synchronous method for data that the present invention is shown according to a further exemplary embodiment.
Figure 10 is that a kind of present invention timing example inspection shown according to an exemplary embodiment is overtime without responding process schematic diagram.
Figure 11 is that a kind of present invention column shown according to an exemplary embodiment control data time-out without responding process schematic diagram.
Figure 12 is a kind of present invention dual link control flow schematic diagram shown according to an exemplary embodiment.
Figure 13 is a kind of present invention block diagram of the synchronizing device of data shown according to an exemplary embodiment.
Figure 14 is a kind of block diagram of the synchronizing device for data that the present invention is shown according to a further exemplary embodiment.
Figure 15 is a kind of structural schematic diagram of vehicular communication equipment OCU provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
The synchronous method of data provided by the invention can be adapted in the synchronous manipulation system of heavy haul train, and Fig. 1 is existing Have the architecture diagram of the synchronous manipulation system of locomotive in technology, as shown in Figure 1, the master control locomotive of locomotive LOCOTROL system with from control The control unit of locomotive be communicated by GSM-R net, and then realize master control locomotive and slave controller vehicle 1, from empty locomotive 2 and from Two-way real-time continuous column control data exchange between empty locomotive 3.LOCOTROL system by GSM-R net, Ground Application node AN, Locomotive GSM-R vehicular communication equipment (OCU) and vehicle-mounted control module composition.Specifically, needing before being communicated each Establish link between the OCU and Ground Application node AN of locomotive, after each link establishment is good, can carry out master control locomotive with from sky Column control data are sent to main OCU by the communication between locomotive, i.e. master control locomotive, are sent to Ground Application node by GSM-R net AN, and then Ground Application node AN forwards the data to each from OCU, and then sends data to slave controller vehicle, is completed with this Column control data between the master control locomotive of locomotive and slave controller vehicle exchange, and realize the same of the master control locomotive of locomotive and slave controller vehicle Step manipulation.
But in column control data during master control locomotive and slave controller vehicle exchange, the base station of wireless communication may Handover failure, SCCP layers can call drops, the flash of base station, link uplink and downlink it is of poor quality the problems such as, due to cannot in time it is extensive It is multiple, cause LOCOTROL system communication overtime, cannot achieve the synchronization of data, thereby reduces the reliability of data transmission.
The present invention considers that above-mentioned technical problem, the present invention provide a kind of synchronous method of data, and this method is applied to Main vehicular communication equipment OCU, main OCU include m digital mobile communication network GSM-R module, pass through m item by m GSM-R module Chain road direction AN sends first message, wherein m is the positive integer more than or equal to 2;Again according to first message, m chain is detected respectively The link state on road, link state include normal condition and abnormality;It is in the link of abnormality if it exists, then to exception The link of state carries out link re-establishment.Due to passing through m digital mobile communication network GSM-R module of setting, between main OCU and AN M link is established, message is sent by m chain road direction AN, can detecte out the shape of m link according to the first message of transmission State, the link of abnormality, will re-establish the link of the abnormality if it exists, send data by m chain road direction AN, i.e., Make there are anomaly link, the transmission of data can also be carried out by other links, to guarantee not losing for data, and then completes The main control unit of locomotive with from control unit data it is synchronous, by m link simultaneous transmission data, not only increase logical The stability of letter also improves the reliability of data transmission.
Technical solution of the present invention is described in detail with specific embodiment below.These specific implementations below Example can be combined with each other, and the same or similar concept or process may be repeated no more in some embodiments.
Fig. 2 is a kind of present invention flow chart of the synchronous method of data shown according to an exemplary embodiment, this method It include m digital mobile communication network GSM-R module applied to main vehicular communication equipment OCU, main OCU, as shown in Fig. 2, this implementation Example method may include:
Step 201 sends first message by m chain road direction AN by m GSM-R module;Wherein, m is to be greater than or wait In 2 positive integer.
In this step, main OCU includes m digital mobile communication network GSM-R module, due to m digital mobile communication network GSM-R module can make to be communicated between main OCU and Ground Application node AN by multiple links, can make so multiple It is mutually redundant between link, therefore, the OCU comprising m digital mobile communication network GSM-R module can be known as enhanced OCU, Labeled as EOCU.Meanwhile EOCU system, it is not influence existing vehicle-mounted column control equipment and ground column control equipment (including equipment Connection type, configuration etc.) on the basis of, the improvement to OCU progress.In addition, in prior art LOCOTROL system by pair The simultaneously operating control of networking wireless locomotive is realized in the research and development and improvement of Ground Application node AN, EOCU and network monitoring system System, to improve the integrity problem of train synchronization manipulation communication.
Specifically, Fig. 3 is a kind of present invention schematic diagram of the hardware configuration of EOCU shown according to an exemplary embodiment. As shown in figure 3, EOCU includes 2 GSM-R modules (GSM-R module 1 and GSM-R module 2) namely m is 2, certain m may be Other positive integers greater than 2, the present invention do not do any restriction to the value of m, in addition, EOCU further includes two pieces of master control borad (master control borads 1 With master control borad 2), two power modules (power module 1 and power module 2), two recording unit plates (recording unit 1 and records Unit 2), it, can be to avoid one of them since GSM-R module, master control borad, power module and recording unit are disposed as 2 It breaks down and whole equipment is caused to can not work normally.Apart from the above, EOCU further includes power supply lead-in plate and interface board, above-mentioned Each element be arranged on the cabinet or backboard of EOCU.
Fig. 4 is a kind of present invention principle of the train synchronization manipulation based on EOCU shown according to an exemplary embodiment Figure, as shown in figure 4, include 2 GSM-R modules in each vehicle-carrying communication unit EOCU, i.e. GSM-R module 1 and GSM-R module 2, It includes AN1 and AN2 that Ground Application node AN is also corresponding, is carried out in column control data exchange process in master control locomotive and slave controller vehicle, Exchanging for data can be carried out with the link that AN1 is established respectively by GSM-R module 1 and GSM-R module 2, when AN1 breaks down When, exchanging for data can also be carried out with the link that AN2 is established respectively by GSM-R module 1 and GSM-R module 2, pass through GSM- R module 1 and GSM-R module 2 realize the redundancy of communication link, are mutually redundant further through AN1 and AN2, in addition, connecing in slave controller vehicle After the data for receiving ground AN forwarding, slave controller vehicle will send response message to master control locomotive by ground AN, further right Communication data provides safeguard, while realizing the synchronous manipulation of master control locomotive Yu slave controller vehicle.
Fig. 5 is a kind of present invention schematic diagram of the Software Function Design of EOCU shown according to an exemplary embodiment, such as Shown in Fig. 5, EOCU software includes dual link control module, registration/tunnel forwarding module, PPP service control module and active and standby control Molding block etc., wherein EOCU software is the operating system based on built-in Linux, using modularized design, EOCU software difference It is deployed on two pieces of master control borads of hardware.In addition, the dual link control module in EOCU is for carrying out pipe to double GSM-R modules Reason, is dialled, is hung up, status monitoring, dual link retransmit message duplicate removal etc., and registration/tunnel forwarding module in EOCU is used for Transmission tunnel is registered or established between control EOCU Ground Application node AN, while controlling column control data forwarding and heartbeat inspection Survey etc., furthermore it is also possible to be packaged processing in tunnel entrance for arranging control data, and deblocking processing is carried out in tunnel outlet; Point-to-point protocol (Point to Point Protocol, PPP) service control module be used for locomotive control unit (CIOM) it Between establish PPP connection, while the state that detection is connect with the PPP of CIOM;And the active and standby control module of EOCU is for controlling EOCU's Slave control board is switched to primary by the host-standby communication and state-detection of dual master control plate if main control board is abnormal;Separately Outside, the active and standby control module in Ground Application node AN is used to control host-standby communication, state-detection and the ground of two AN equipment The synchronization of application node data, be for each AN equipment itself it is primary, another is spare;If primary AN device service Device is abnormal, then spare AN device server is switched to primary.
In this step, it before sending first message by m chain road direction AN by m GSM-R module, needs first to build Vertical link, specifically, also illustrating so that m is 2 as an example, as shown in figure 4, establishing a link between GSM-R module 1 and AN1, together When GSM-R module 2 and AN1 between establish a link, wherein m is the positive integer more than or equal to 2, i.e., when each in locomotive After control locomotive and Ground Application node establish link, it will sent out respectively by established both links to the same AN Send first message, wherein first message can be preset message, or column control data, for first message Setting, the present invention do not do any restriction.
In this step, it by dividing main OCU for m GSM-R module, while being communicated with AN, it in this way can be to avoid In the prior art because communication signal quality or signal it is unstable caused by communication timeout, be subsequent master control locomotive with Column control data exchange between slave controller vehicle provides safeguard.
Step 202, according to first message, detect the link state of m link respectively;Link state include normal condition and Abnormality.
In this step, according to above-mentioned first message, the link state of m link is detected respectively, wherein chain Line state includes normal condition and abnormality, and normal condition is that link can normally carry out data transmission, and can also be managed Solution is that AN can receive first message within the preset time, and respond within the preset time to first message, different Normal state namely receives first message within the preset time and/or cannot make sound to first message within a preset time The state answered.According to first message reception or response detect the state of link, can more directly react link in this way State.
Step 203, the link for being in abnormality if it exists, then carry out link re-establishment to the link of abnormality.
In this step, from the state of the above-mentioned link detected according to first message, if it is detected that being deposited in m link In the link for having abnormality, then the link of abnormality will be rebuild.
Optionally, it hangs up link state and is the link of abnormality, and re-establish the link after hanging up.Specifically, working as When there are link being abnormality, at this point it is possible to first hang up anomaly link, and then re-registers and will establish the chain Road, in addition, other links keep current state when carrying out re-establishing link to anomaly link.
In this step, by hang up simultaneously link re-establishment to anomaly link, and it is current to keep other links to carry out State, the interruption that can be transmitted in this way to avoid data lead to the loss for transmitting data, while pass through the link to abnormality Timely link setup is carried out, in abnormality while avoiding other links, the interruption for causing data to be transmitted.And then it ensure that Master control locomotive is synchronous with the data in slave controller vehicle, realizes the synchronous manipulation of locomotive.
It is noted that during m link carries out the transmission of data, by the way that each message is numbered, And the same message in m link is identically numbered, after the message that AN receives the transmission of m link, by number Identical message carries out deduplication operation, so that the reliability of transmission data, and the memory of data occupancy is reduced simultaneously.
Synchronous method, device and the storage medium of data provided by the invention, this method are applied to main vehicular communication equipment OCU, main OCU include m digital mobile communication network GSM-R module, send the by m articles of chain road direction AN by m GSM-R module One message, wherein m is the positive integer more than or equal to 2;Again according to first message, the link state of m link is detected respectively, Link state includes normal condition and abnormality;If it exists be in abnormality link, then to the link of abnormality into Line link is rebuild.Due to establishing m chain between main OCU and m AN by m digital mobile communication network GSM-R module of setting Road sends message by m AN of m chain road direction, can detecte out the state of m link according to the first message of transmission, if depositing In the link of abnormality, the link of the abnormality will be re-established, data are sent by m chain road direction AN, even if in the presence of There is anomaly link, the transmission of data can also be carried out by other links, to guarantee not losing for data, and then completes locomotive Main control unit with from control unit data it is synchronous, by m link simultaneous transmission data, not only increase the steady of communication It is qualitative also to improve the reliability of data transmission.
Fig. 6 is a kind of flow chart of the synchronous method for data that the present invention is shown according to another exemplary embodiment.In Fig. 2 On the basis of, to how according to first message, the process of the link state of m link is detected respectively, is described in detail, is such as schemed Shown in 6, the method for the present embodiment may include:
Step 601 sends first message by m chain road direction AN by m GSM-R module;Wherein, m is to be greater than or wait In 2 positive integer.
Step 601 is similar with step 201, and details are not described herein again.
Step 602, according to first message, detect m GSM-R module respectively and whether receive AN within a preset period of time and return The second message returned.
In this step, second message be AN to the first message received after, be sent to one of m GSM-R module Response message, specifically can be for example, Fig. 7 be a kind of present invention link of timing example inspection shown according to an exemplary embodiment The schematic diagram of detection, Fig. 8 are a kind of present invention signals of the link detecting of column control data shown according to an exemplary embodiment Figure, as shown in Figure 7 and Figure 8, regularly sending first message and detect to link by timer, the timing of timer can A link state detection is carried out to be set as 200ms namely every 200ms, and by being detected in setting preset time period Whether second message is received, wherein preset time period can be set to 300ms, which is the first message sent Response message, wherein first message can be the particular message of the setting in Fig. 7, or the column control data in Fig. 8.
Step 603, if it is detected that there are GSM-R modules within a preset period of time, do not receive AN return second message, Then determine that the state for not receiving the corresponding link of GSM-R module of second message is abnormality.
In this step, include two GSM-R modules with EOCU, namely include two links and corresponding two AN (the One AN and the 2nd AN) for elaborate, if it is detected that there are GSM-R modules within a preset period of time, it is assumed that GSM-R module 1 do not receive AN return second message, it is determined that the state of the corresponding link of AN be abnormality, such as Fig. 7 or Fig. 8 in, If not receiving the second message of AN return, it is determined that the corresponding link of GSM-R module 1 within the preset 300ms time State is abnormality.In addition, column control data as first message to detect link state when, can also be to the result of transmission It is checked, whether inspection result is normal.
Step 604, the link for being in abnormality if it exists, then carry out link re-establishment to the link of abnormality.
Step 604 is similar with step 203, and details are not described herein again.
In the present embodiment, according to first message, each link is detected, by m GSM-R module of detection default Period in whether in can receive AN return second message, to determine the shape of the corresponding link of m GSM-R module State, if it is detected that there are the second messages that GSM-R module does not receive AN return within a preset time period, it is determined that the GSM- The corresponding link state of R module is abnormal, and then according to detecting as the link of anomaly link state, further by the exception shape The link of state is hung up and is re-established, and the exchange of column control data is completed with this.In this way by detecting the state of link, for Property the transmission of data is carried out by the link of normal condition, guarantee the stability of communication of locomotive and the reliability of data transmission.
Fig. 9 is a kind of flow chart of the synchronous method for data that the present invention is shown according to a further exemplary embodiment.In Fig. 2 On the basis of, to how according to first message, another process of the link state of m link is detected respectively, is described in detail, As shown in figure 9, the method for the present embodiment may include:
Step 901 sends first message by m chain road direction AN by m GSM-R module;Wherein, m is to be greater than or wait In 2 positive integer.
Step 902, according to first message, detect m GSM-R module respectively and whether receive AN within a preset period of time and return The second message returned.
Step 901- step 902 is similar with step 601- step 602, and details are not described herein again.
Step 903, if it is detected that there are p GSM-R modules to receive second message, it is determined that each GSM-R module receives To the time of reception of second message, wherein p is positive integer, and p is less than m.
In this step, if it is detected that there are p GSM-R modules in m GSM-R module within a preset time period, The second message for receiving the 2nd AN return then will further determine that each GSM-R module receives in p GSM-R module The time of reception of the second message arrived, wherein p is positive integer, and p is less than m.
Step 904, according to the time of reception, the sending instant and default overtime duration of first message, judge first message It whether overtime sends.
Specifically, can carry out judging whether the transmission of first message is overtime by following modes:
Judge the difference between the time of reception and the sending instant of first message, if be greater than default overtime duration.If connecing Time receiving carves the difference between the sending instant of first message and is greater than default overtime duration, it is determined that the transmission of first message is super When.
In this step, when EOCU sends first message by p GSM-R module, it will record the first message Identification information, send at the time of information and receive second message at the time of etc., first message send needed for time whether surpass Preset overtime duration is crossed, for example, it is A, the transmission of first message that p GSM-R module, which receives the time of reception of first message, Moment is B, presets a length of C when time-out, certainly preset overtime duration can be according to circumstances configured, according to the difference of A and B Value, judges whether the difference is greater than default overtime duration C.If judging, the difference of A and B is greater than default overtime duration C, it is determined that The transmission time-out of first message.
If the transmission time-out of the continuous n times of step 905, first message, it is determined that the corresponding link state of p GSM-R module For abnormality, wherein N is 0 or positive integer.
In this step, if the transmission time-out of the continuous n times of first message, it is determined that the corresponding link of p GSM-R module is Abnormality, wherein N is 0 or positive integer, can be configured according to demand, can be 0,2,3 and 5 etc..
Specifically, Figure 10 is that a kind of present invention timing example inspection shown according to an exemplary embodiment is overtime without responding process Schematic diagram, Figure 11 are that a kind of present invention column shown according to an exemplary embodiment control data time-out without responding process schematic diagram, As shown in Figure 10 and Figure 11, while EOCU sends first message progress link detecting request, it also will start first message hair The time-out detection sent does not respond first message in preset time-out in a length of 300ms time, namely time-out is without sound Answer, then further detect the overtime number without response, according to preset N value, if the overtime number without response be more than N this, really Being set to the link is abnormality, and wherein the N value in Figure 10 is positive integer, and N value is 0 in Figure 11.
Step 906, the link for being in abnormality if it exists, then carry out link re-establishment to the link of abnormality.
In this step, according to Figure 10 and Figure 11 in above-mentioned example it is found that if it is detected that the first message time-out sent The number of no response is more than preset value, it is determined that going out the link state is abnormality, at this point, main OCU will will start switching stream Journey, also will the abnormality link switching to normal condition link, to carry out the exchange of data.
The method that the control of locomotive dual link is illustrated with specific example below.
Figure 12 is a kind of present invention dual link control flow schematic diagram shown according to an exemplary embodiment.Such as Figure 12 institute Show: the GSM-R modules A into EOCU and GSM-R module B's EOCU dial respectively, and GSM-R modules A is registered by dialling Link (transmission data tunnel) between link and GSM-R module B and ground node AN2 between ground node AN1, EOCU The thought that Mobile IP agreement can be used establishes the IP-in-IP transmission tunnel between EOCU and Ground Application node AN;? While starting dialing, also starting time-out detection, if not receiving the response message of dialing within the preset time, it is determined that dial Number failure, if receiving the response message of dialing within the preset time, it is determined that dial-up success, namely transmission tunnel registration at Function, dialing time can be configured according to demand.After two transmission tunnel registration successes, namely enter dual channel mode, Detection can be timed to the state of dual link at this time, information can be examined by sending example or send column control Data Detection two The state of link, if the returning response message within the preset time, it is determined that link is normal, if current ink is overtime, Ling Yilian When road is normal, then current ink is hung up, and re-register to current ink;When another link is being hung up or infused During volume, current ink will keep current state.By dual link simultaneous transmission data, so guarantee transmission data can By property.
The synchronous method of data provided in an embodiment of the present invention, by carrying out equipment on the basis of former LOCOTROL system Upgrading realizes networking radio-locomotive synchronization operation control by independent research AN, EOCU and network monitoring system, thus Improve the integrity problem of train synchronization manipulation communication.EOCU is realized using double wireless data link simultaneous interpretation technologies, in double nothings Line number is gone from operation using the method by message SN according under link condition, and be effectively ensured data transmission can By property, LOCOTROL system vehicle-ground communication/truck traffic stability and reliability are improved to effectively improve.
Figure 13 is a kind of present invention block diagram of the synchronizing device of data shown according to an exemplary embodiment, such as Figure 13 institute Show, the device of the present embodiment may include: sending module 11, detection module 12 and reconstruction module 13.
Sending module 11, for sending first message by m chain road direction AN respectively;Wherein, m is more than or equal to 2 Positive integer;
Detection module 12, for detecting the link state of m link respectively according to first message;Link state includes just Normal state and abnormality;
Module 13 is rebuild, for being in the link of abnormality if it exists, then link weight is carried out to the link of abnormality It builds.
Optionally, detection module 12 are specifically used for:
According to first message, whether m GSM-R module receives AN return within a preset period of time second is detected respectively Message;
If it is detected that there are GSM-R modules within a preset period of time, do not receive AN return second message, it is determined that not The state for receiving the corresponding link of GSM-R module of second message is abnormality.
Optionally, module 13 is rebuild, is specifically used for:
It hangs up link state and is the link of abnormality, and re-establish the link after hanging up.
The present invention provides a kind of synchronizing device of data, passes through m by m GSM-R module respectively by sending module 11 Chain road direction AN sends first message, wherein m is the positive integer more than or equal to 2;Detection module 12 is according to first message again, The corresponding link state of m link is detected respectively, and link state includes normal condition and abnormality;Module 13 is rebuild to detect Module 12 detects the link for having in abnormality, then carries out link re-establishment to the link of abnormality.Due to by setting M digital mobile communication network GSM-R module is set, m link is established between main OCU and m AN, passes through m AN of m chain road direction Message is sent, the state of m link is detected according to the first message of transmission, if it exists the link of abnormality, will built again The link for founding the abnormality sends data by m chain road direction AN, even if can also pass through other there are anomaly link Link carries out the transmission of data, to guarantee not losing for data, and then complete the main control unit of locomotive with from control unit The synchronization of data, by m link simultaneous transmission data, what the stability for not only increasing communication also improved data transmission can By property.
Figure 14 is a kind of block diagram of the synchronizing device of data shown in another exemplary embodiment of the present invention, such as Figure 14 institute Show, which further includes judgment module 14 and determining module 15, wherein
Detection module 12 is also used to if it is detected that there are p GSM-R modules to receive second message, it is determined that each GSM-R Module receives the time of reception of second message;
Judgment module 14 judges first for the sending instant and default overtime duration according to the time of reception, first message Whether the transmission of message is overtime, wherein p is positive integer, and p is less than m;
Determining module 15, if sending time-out for the continuous n times of first message, it is determined that the corresponding link of p GSM-R module State is abnormality, wherein N is 0 or positive integer.
Optionally, judgment module 14 are specifically used for:
Judge the difference between the time of reception and the sending instant of first message, if be greater than default overtime duration;
If the difference between the time of reception and the sending instant of first message is greater than default overtime duration, it is determined that first disappears The transmission time-out of breath.
The device of the present embodiment can be used for executing the technical solution of embodiment of the method shown in Fig. 9, realization principle and skill Art effect is similar, and details are not described herein again.
Figure 15 is a kind of structural schematic diagram of vehicular communication equipment OCU provided in an embodiment of the present invention.The vehicle that Figure 15 is shown Carrying communication equipment OCU is only an example, should not function to the embodiment of the present invention and use scope bring any restrictions.
As shown in figure 15, vehicular communication equipment OCU may include transmitter 60, processor 61, memory 62 and at least One communication bus 63.Communication bus 63 is for realizing the communication connection between element.Memory 62 may be deposited comprising high-speed RAM Reservoir, it is also possible to further include non-volatile memories NVM, a for example, at least magnetic disk storage can store in memory 62 each Kind program, for completing various processing functions and realizing the method and step of the present embodiment.In addition, vehicular communication equipment OCU It can also include receiver 64, the receiver 64 in the present embodiment can be to have communication function accordingly and receive informational function Input interface, transmitter 60 in the present embodiment with communication function and can send the output of informational function and connect to be corresponding Mouthful.Optionally, the transmitter 60 and receiver 64 can integrate in a communication interface, can also be independent two respectively Communication interface.
In addition, being stored with computer program in memory 62, and it is configured as being executed by processor 61, the computer journey Sequence includes the instruction or execution such as figure 2 above, Fig. 6 and Fig. 9 for executing the method such as figure 2 above, Fig. 6 and embodiment illustrated in fig. 9 The instruction of the method for illustrated embodiment.
The embodiment of the present invention also provides a kind of computer readable storage medium, wherein computer-readable recording medium storage There is computer program, computer program makes vehicular communication equipment OCU execute earlier figures 2, Fig. 6 and embodiment illustrated in fig. 9 offer Data synchronous method.Wherein, above-mentioned readable storage medium storing program for executing can be by any kind of volatibility or non-volatile memories Equipment or their combination are realized, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or The various media that can store program code such as person's CD.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (10)

1. a kind of synchronous method of data, which is characterized in that be applied to main vehicular communication equipment OCU, the main OCU includes m Digital mobile communication network GSM-R module, which comprises
First message is sent by m chain road direction AN by m GSM-R module;Wherein, m is the positive integer more than or equal to 2;
According to the first message, the link state of the m link is detected respectively;The link state include normal condition and Abnormality;
It is in the link of abnormality if it exists, then link re-establishment is carried out to the link of the abnormality.
2. detecting the m item respectively the method according to claim 1, wherein described according to the first message The link state of link, comprising:
According to the first message, the m GSM-R module is detected respectively whether receive the AN within a preset period of time and return The second message returned;
If it is detected that there are GSM-R modules in the preset time period, the second message that the AN is returned is not received, Then determine that the state for not receiving the corresponding link of GSM-R module of the second message is abnormality.
3. according to the method described in claim 2, it is characterized in that, the method also includes:
If it is detected that there are p GSM-R modules to receive the second message, it is determined that each GSM-R module receives described The time of reception of two message, wherein p is positive integer, and p is less than m;
According to the time of reception, the sending instant and default overtime duration of the first message, the first message is judged It whether overtime sends;
If the continuous n times of the first message send time-out, it is determined that the corresponding link state of the p GSM-R module is extremely State, wherein N is 0 or positive integer.
4. according to the method described in claim 3, it is characterized in that, described according to the time of reception, the first message Sending instant and default overtime duration, judge whether the transmission of the first message is overtime, comprising:
Judge the difference between the time of reception and the sending instant of the first message, if when being greater than the default time-out It is long;
If the difference between the time of reception and the sending instant of the first message is greater than the default overtime duration, really The transmission time-out of the fixed first message.
5. method according to claim 1-4, which is characterized in that the link to the abnormality carries out Link re-establishment includes:
It hangs up the link state and is the link of abnormality, and re-establish the link after hanging up.
6. a kind of synchronizing device of data characterized by comprising
Sending module, for sending first message by m chain road direction AN by m GSM-R module;Wherein, m is to be greater than or wait In 2 positive integer;
Detection module, for detecting the link state of the m link respectively according to the first message;The link state Including normal condition and abnormality;
Module is rebuild, when detecting to have the link in abnormality for the detection module, to the abnormality Link carries out link re-establishment.
7. device according to claim 6, which is characterized in that the detection module is specifically used for:
According to the first message, the m GSM-R module is detected respectively whether receive the AN within a preset period of time and return The second message returned;
If it is detected that there are GSM-R modules in the preset time period, the second message that the AN is returned is not received, Then determine that the state for not receiving the corresponding link of GSM-R module of the second message is abnormality.
8. device according to claim 7, which is characterized in that described device further include: judgment module, wherein
The detection module is also used to if it is detected that there are p GSM-R modules to receive the second message, it is determined that each GSM-R module receives the time of reception of the second message, wherein p is positive integer, and p is less than m;
The judgment module is sentenced for the sending instant and default overtime duration according to the time of reception, the first message Whether the transmission for the first message of breaking is overtime;
The determining module, if being also used to the continuous n times of the first message sends time-out, it is determined that the p GSM-R module pair The link state answered is abnormality, wherein N is 0 or positive integer.
9. a kind of vehicular communication equipment OCU characterized by comprising
Processor;
Memory;And
Computer program;
Wherein, the computer program is stored in the memory, and is configured as being executed by the processor, described Computer program includes the instruction for executing the method according to claim 1 to 5.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer journey Sequence, the computer program make vehicular communication equipment OCU perform claim require the described in any item methods of 1-5.
CN201811642352.1A 2018-12-29 2018-12-29 Synchronous method, device and the storage medium of data Pending CN109890008A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811642352.1A CN109890008A (en) 2018-12-29 2018-12-29 Synchronous method, device and the storage medium of data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811642352.1A CN109890008A (en) 2018-12-29 2018-12-29 Synchronous method, device and the storage medium of data

Publications (1)

Publication Number Publication Date
CN109890008A true CN109890008A (en) 2019-06-14

Family

ID=66925440

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811642352.1A Pending CN109890008A (en) 2018-12-29 2018-12-29 Synchronous method, device and the storage medium of data

Country Status (1)

Country Link
CN (1) CN109890008A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110834477A (en) * 2019-12-03 2020-02-25 深圳市汉森软件有限公司 Distributed scanning printing system, raster synchronization method, raster synchronization device and storage medium
CN110933773A (en) * 2019-11-20 2020-03-27 北京连山时代科技有限公司 Link monitoring method and device
CN113753101A (en) * 2020-06-04 2021-12-07 株洲中车时代电气股份有限公司 Synchronous control fusion communication method for heavy-load networked electric locomotive

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101257441A (en) * 2008-02-29 2008-09-03 华为技术有限公司 Method, equipment and system for forwarding message as well as equipment for receiving message
US20100299006A1 (en) * 2003-12-22 2010-11-25 David Michael Peltz Method and System for Providing Redundancy in Railroad Communication Equipment
CN103490966A (en) * 2013-10-10 2014-01-01 北京航天发射技术研究所 Dual-redundancy CAN bus data receiving and processing method
CN103780365A (en) * 2014-01-26 2014-05-07 中国神华能源股份有限公司 Method and system for dynamically transmitting multilink redundant data
CN105704740A (en) * 2015-06-29 2016-06-22 南方银谷科技有限公司 Train vehicle-ground communication network system
CN105744564A (en) * 2014-12-10 2016-07-06 华为数字技术(苏州)有限公司 Method and system for processing messages and correlative devices
CN106301949A (en) * 2016-08-31 2017-01-04 北京钧威科技有限公司 The method and system of mobile unit data transmission
CN108933998A (en) * 2018-07-02 2018-12-04 南京兴鼎升电气设备有限公司 A kind of implementation method of the redundant wireless link protocol based on terminal device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100299006A1 (en) * 2003-12-22 2010-11-25 David Michael Peltz Method and System for Providing Redundancy in Railroad Communication Equipment
CN101257441A (en) * 2008-02-29 2008-09-03 华为技术有限公司 Method, equipment and system for forwarding message as well as equipment for receiving message
CN103490966A (en) * 2013-10-10 2014-01-01 北京航天发射技术研究所 Dual-redundancy CAN bus data receiving and processing method
CN103780365A (en) * 2014-01-26 2014-05-07 中国神华能源股份有限公司 Method and system for dynamically transmitting multilink redundant data
CN105744564A (en) * 2014-12-10 2016-07-06 华为数字技术(苏州)有限公司 Method and system for processing messages and correlative devices
CN105704740A (en) * 2015-06-29 2016-06-22 南方银谷科技有限公司 Train vehicle-ground communication network system
CN106301949A (en) * 2016-08-31 2017-01-04 北京钧威科技有限公司 The method and system of mobile unit data transmission
CN108933998A (en) * 2018-07-02 2018-12-04 南京兴鼎升电气设备有限公司 A kind of implementation method of the redundant wireless link protocol based on terminal device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
黄威等: "基于GSM-R数字移动通信系统的同步操控系统通信单元的设计和实现", 《微计算机应用》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110933773A (en) * 2019-11-20 2020-03-27 北京连山时代科技有限公司 Link monitoring method and device
CN110933773B (en) * 2019-11-20 2020-08-18 北京连山时代科技有限公司 Link monitoring method and device
CN110834477A (en) * 2019-12-03 2020-02-25 深圳市汉森软件有限公司 Distributed scanning printing system, raster synchronization method, raster synchronization device and storage medium
CN113753101A (en) * 2020-06-04 2021-12-07 株洲中车时代电气股份有限公司 Synchronous control fusion communication method for heavy-load networked electric locomotive

Similar Documents

Publication Publication Date Title
CN109688016B (en) Method for switching time slot configuration in flexible Ethernet protocol and related equipment
CN109890008A (en) Synchronous method, device and the storage medium of data
KR100482910B1 (en) Process and components for controlling the connections of a transmission system
CN101610533B (en) Method and device for realizing backup switching of access controller
CN102098201A (en) Method for realizing L2TP user access backup and network system
CN102209354A (en) Switching method, system and wireless network card for vehicle-mounted communication
CN112543468B (en) Disaster recovery method for gateway equipment and communication equipment
CN104618127A (en) Master and standby storage node switching method and system
CN105072014A (en) Multimedia data transmission method, vehicle-mounted device and monitoring server
CN111162985B (en) Rail transit terminal backup system and method
CN102045651B (en) Cluster call method, MSC, BSC and communication system
CN106465094B (en) A kind of method, relevant apparatus and the communication system of business disaster tolerance
CN111162940B (en) Rail transit communication network system based on pool technology
CN110972170B (en) Configuration method of base station and base station
CN111417154A (en) Method for keeping terminal service continuity in multiple connections and network unit
CN101237696B (en) Base station access unit switching method and base station
CN115802315A (en) Redundant radio station control method and redundant radio station
CN113316117B (en) TAU master-slave switching method and system
CN112367179B (en) Link switching method and device
CN106302018B (en) Train-ground communication method and enhanced mobile wireless module EMRM
CN111885660B (en) Transmission method and system for system information of multi-path server system based on fusion framework
CN101159524A (en) Automatic protection rearrangement checking method and device
CN1744568B (en) Network-node for exchanging data information via a path or a detour path
CN113766547A (en) Time delay compensation method and base station
CN111328045B (en) LTE track traffic communication system and method based on double-network architecture

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190614

RJ01 Rejection of invention patent application after publication