CN113938346A - MVB port data processing method, MVB communication network and rail transit vehicle - Google Patents

MVB port data processing method, MVB communication network and rail transit vehicle Download PDF

Info

Publication number
CN113938346A
CN113938346A CN202111154409.5A CN202111154409A CN113938346A CN 113938346 A CN113938346 A CN 113938346A CN 202111154409 A CN202111154409 A CN 202111154409A CN 113938346 A CN113938346 A CN 113938346A
Authority
CN
China
Prior art keywords
data
mvb
port data
time
mvb port
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
CN202111154409.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.)
CRRC Zhuzhou Locomotive Co Ltd
Original Assignee
CRRC Zhuzhou Locomotive 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 CRRC Zhuzhou Locomotive Co Ltd filed Critical CRRC Zhuzhou Locomotive Co Ltd
Priority to CN202111154409.5A priority Critical patent/CN113938346A/en
Publication of CN113938346A publication Critical patent/CN113938346A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40267Bus for use in transportation systems
    • H04L2012/40293Bus for use in transportation systems the transportation system being a train

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses an MVB port data processing method, an MVB communication network and a rail transit vehicle.A sending end sends all MVB port data to a receiving end at the moment when t is 0; judging whether the MVB port data in the sending end changes relative to the MVB port data at the time when t is equal to i, and only sending an MVB port data packet header to the receiving end if all the MVB port data do not change; if a plurality of MVB port data are changed, the transmitting end transmits the changed MVB port data to the receiving end; wherein i is greater than 0. The invention can greatly compress the data transmission and storage size in the MVB communication, thereby storing the full-port data of the MVB communication port, greatly saving the storage space, lightening the storage burden of a train control system, reducing the risk of breakdown of the MVB communication network and ensuring the normal operation of the train.

Description

MVB port data processing method, MVB communication network and rail transit vehicle
Technical Field
The invention relates to a data storage technology of a train control system, in particular to an MVB port data processing method, an MVB communication network and a rail transit vehicle.
Background
In the field of rail transit, the data volume that train control system needs to store is huge, and data storage receives the restriction of storage space, save time, in order to prevent to occupy too much storage space, among the prior art, only utilize certain fixed ports to carry out data storage, save time simultaneously and also receive the restriction. If the quantity of the acquired data is limited, the real-time acquisition, detection and analysis of the train data can be influenced.
The invention patent application No. 200910142057.4 discloses a data transmission method, error detection method, system and apparatus that encapsulates raw data into PES packets, writes error detection parameters in each packet header, and transmits the packets. The scheme does not consider the limitation of storage space and acquisition time, so that the storage burden of a train control system is increased, and the breakdown of an MVB communication network is seriously caused to influence the normal operation of a train.
Disclosure of Invention
The technical problem to be solved by the invention is to provide an MVB port data processing method, an MVB communication network and a rail transit vehicle aiming at the defects of the prior art, so that the data transmission size in MVB communication is greatly reduced, and the breakdown of the MVB communication network is prevented.
In order to solve the technical problems, the technical scheme adopted by the invention is as follows: an MVB port data processing method executes the following operation in each data transmission period T1:
at the time of S1 and t being 0, the transmitting end transmits all MVB port data to the receiving end;
at the time of S2 and t ═ i, whether MVB port data in the transmitting end changes relative to MVB port data at the time of t ═ 0 is judged, and if all MVB port data do not change, only a MVB port data packet header is transmitted to the receiving end; if a plurality of MVB port data are changed, the transmitting end transmits the changed MVB port data to the receiving end; wherein i is greater than 0.
In each sending period, the MVB port data at the time when t is equal to i is compared with the MVB port data at the time when t is equal to 0, and only the MVB port data at the time when t is equal to 0 and the port data changing at the time when i is sent, so that data compression of a sending end is realized, the data transmission size in MVB communication is greatly compressed, further, the MVB communication network can be prevented from being broken down, the transmitted MVB port data is prevented from being lost, and the real-time performance of data transmission is ensured.
In the present invention, T1 is 1024 ms. Considering the compression efficiency of the MVB communication data, the smaller the T1 period, the smaller the probability of the change of more ports, and the higher the compression efficiency; while the smaller T1, the greater the number of complete frames. Combining the balance of the two, T1 is selected to be 1s (i.e. 1024ms) through practical experience tests.
Further, the method of the present invention further comprises:
and S3, the receiving end decodes the received MVB port data, restores the change data in the step S2 into complete frame data, and stores the complete frame data in a buffer for later use.
S4, in each data storage period T2, storing the restored data at the time when T is 0 into a cache; judging whether the data restored at the time t-k is changed relative to the data at the time t-k-1, if so, storing the changed data into a cache by a receiving end; if the data restored at the time t-k is unchanged from the data at the time t-k-1, only storing an MVB port data packet header in the data restored at the time t-k to a cache; wherein k is greater than 1.
In order to reduce the data storage space, the invention judges whether the data changes at the receiving end, and only puts the restored data at the starting time (t is 0) of each period and the changed data into the cache, thereby further compressing the size of the data to be stored in the MVB communication process, greatly saving the data storage space and lightening the storage burden of the train control system.
The receiving end writes the data in the cache into the storage device every T2.
Preferably, T2 ═ 5 min. The setting of T2 mainly considers the compression efficiency of MVB communication and the data coupling, because the longer the T2 setting is, the more data that cannot be recovered due to an emergency such as a data transmission error occurs when the data contrast criterion that changes when T is k is T-k-1 is used for processing data in steps S3 and S4; meanwhile, the shorter the T2 is, the more the number of complete frames is, the lower the compression efficiency is, and the T2 is selected to be 5min through practical experience tests, so that the data coupling is reduced while the compression efficiency is ensured, and the situation that data cannot be recovered due to emergencies such as data transmission errors is reduced as much as possible.
Further, in order to facilitate checking of erroneous data, a CRC check code is set at the end of each frame of data sent by the sending end to the receiving end.
Further, in order to ensure the accuracy of the recovered data, in step S3, the specific implementation process of decoding the received MVB port data by the receiving end includes: checking the received MVB port data according to the check code at the tail of each frame of data, and discarding error data; the receiving end judges whether the received data is a complete frame or a change frame, if the complete frame is received, the complete frame is directly stored, and if the change frame is received, the change frame data is restored into complete data; the complete frame refers to all MVB port data; the change frame refers to the changed MVB port data.
The present invention also provides an MVB communication network, comprising:
a VCU for performing an operation including the following steps in each data transmission period T1:
when t is 0, all MVB port data are sent to the ERM;
judging whether the MVB port data changes relative to the MVB port data at the time when t is equal to i, and if all the MVB port data do not change, only sending an MVB port data packet header to an ERM; if a plurality of MVB port data are changed, the transmitting end transmits the changed MVB port data to the ERM; wherein i is greater than 0;
and the ERM is used for decoding the received MVB port data, analyzing the changed frame data into complete frame data and storing the complete frame data for standby.
The specific implementation process of decoding the received MVB port data by the ERM includes: checking the received MVB port data according to the check code at the tail of each frame of data, and discarding error data; judging whether the received data is a complete frame or a change frame, if the received data is the complete frame, directly storing the complete frame, and if the received data is the change frame, restoring the change frame data into the complete data; the complete frame refers to all MVB port data; the change frame refers to the changed MVB port data.
The ERM also performs the following operations: in each data storage period T2, storing the restored data at the time when T is 0 into a cache; judging whether the data restored at the time t-k is changed relative to the data at the time t-k-1, if so, storing the changed data into a cache by a receiving end; if the data restored at the time t-k is unchanged from the data at the time t-k-1, only storing an MVB port data packet header in the data restored at the time t-k to a cache; wherein k is greater than 1.
The VCU and the ERM communicate via a UDP protocol. The characteristic of the UDP communication is that it has no congestion control, and the sending end sends data at a preset rate, which has high real-time performance, but once the network has a problem, the data is lost. Because the network topology structure between the VCU and the ERM is simple, the electrical connection is stable and reliable, the communication network can be considered to be reliable, the communication related to the invention needs real-time performance, and the UDP communication is selected in order to further ensure the real-time performance of the communication.
As an inventive concept, the invention also provides a rail transit vehicle which adopts the MVB communication network.
In the present invention, the time t is 0, and refers to the start time of the transmission cycle during data transmission, and refers to the start time of the storage cycle during data storage.
Compared with the prior art, the invention has the beneficial effects that: the invention can greatly compress the data transmission and storage size in the MVB communication, thereby storing the full-port data of the MVB communication port, greatly saving the storage space, lightening the storage burden of a train control system, reducing the risk of breakdown of the MVB communication network and ensuring the normal operation of the train.
Drawings
Fig. 1 is a data transmission flowchart according to embodiment 1 of the present invention;
FIG. 2 is a flow chart of data reception according to embodiment 1 of the present invention;
FIG. 3 is a flowchart of data storage according to embodiment 1 of the present invention;
fig. 4 is a network structure diagram according to embodiment 2 of the present invention.
Detailed Description
The data processing method of the embodiment 1 of the invention comprises the following steps:
step 1 raw data encoding and transmission
The original data refers to MVB port data sent or received by the train control module, and the MVB port data is converted into event record data through original number coding compression.
The original data coding and compressing method is realized by the way of differential coding. The original data comprises information (including port size, period, length and data content) of each MVB port, in each transmission period, original data at the time when t is 0 (namely the starting time of the transmission period) are combined into complete frame data, the MVB port data at the time when t is i is compared with the complete frame data at the time when t is 0, and when the data content of the MVB port changes, the changed MVB port information is combined into changed frame data.
As shown in fig. 1, the sending process refers to that original data is sent to a data storage device after being encoded, a sending period is 1024ms, data sent in each sending period T1 is composed of 1 complete frame and a plurality of change frames, and a reference standard of a change frame in each sending period is a complete frame in the period. The transmission process is used to ensure the reliability of the data, and once the data has an error, part of the data can be discarded, and the correct data can be obtained again from the complete frame of the next period. Wherein 1024ms is used as a parameter and can be adjusted according to actual conditions.
And a CRC check is added at the end of each frame data for receiving subsequent data check, so that the error change frame can be conveniently identified and discarded.
The following table is the data protocol sent, where the control word is used to distinguish between full and changed frames.
Figure BDA0003288082210000041
Figure BDA0003288082210000051
Step 2 receiving end decoding
As shown in fig. 2, after receiving the data transmitted in step 1, the CRC checks whether the data is correct, and discards the erroneous data. The receiving end can distinguish whether the received data is a complete frame or a changed frame according to the control word, if the complete frame is received, the complete frame is directly stored, if the changed frame is received, the changed frame is compared with the complete frame, the changed frame data is restored to be the complete frame data (i.e. each changed frame and the port data which are not changed in the complete frame are combined into the complete frame data, for example, the changed frame contains 50 MVB port data, the 50 MVB port data and the other 50 MVB port data which are not changed in the complete frame are combined into one complete frame data), and the decoded data is stored in a buffer for use.
Step 3, storing the data as a file
As shown in fig. 3, the data decoded in step 2 is stored in the buffer. The method for storing the file is that every 5 minutes is set as a period, the data of each storage period is composed of a complete frame and a plurality of change frames, the judgment standard of the change frames is to compare the current frame data with the previous frame data, and the changed data of the current frame is composed of the change frames. And opening a space in the cache for storing the file of each period, and copying the file to a data storage device such as a hard disk and the like after the file is stored for 5 minutes for permanent storage. Wherein 5 minutes is taken as a parameter and can be adjusted according to actual conditions.
The method of the invention can greatly compress the data transmission and storage size in the MVB communication, thereby storing the full port data of the MVB communication port.
The method of the invention can greatly compress the size of the file because of adopting a differentiated storage mode, and the size of the file is compressed twice in the steps 1 and 3. Meanwhile, the invention considers the error check problem, and loses 1024ms data at most if the accidental transmission fault problem occurs.
Referring to fig. 4, the communication network structure of the present invention includes a VCU, which communicates with an ERM over a UDP bus. Generally, in the field of rail transit, a VCU (train control module) is used as a device for providing original data, and step 1 is implemented to send data frames after encoding the original data through UDP, wherein the data frames include two types, namely, complete frames and changed frames. And the ERM (event logging module) is used for receiving and storing data and realizing the step 2 and the step 3.

Claims (10)

1. An MVB port data processing method is characterized in that the operation comprising the following steps is executed in each data transmission period T1:
at the time of S1 and t being 0, the transmitting end transmits all MVB port data to the receiving end;
at the time of S2 and t ═ i, whether MVB port data in the transmitting end changes relative to MVB port data at the time of t ═ 0 is judged, and if all MVB port data do not change, only a MVB port data packet header is transmitted to the receiving end; if a plurality of MVB port data are changed, the transmitting end transmits the changed MVB port data to the receiving end, wherein i is larger than 0; preferably, T1 is 1024 ms.
2. The MVB port data processing method of claim 1, further comprising:
s3, decoding the received MVB port data by the receiving end to obtain the restored data;
s4, in each data storage period T2, storing the restored data at the time when T is 0 into a cache; judging whether the data restored at the time t-k is changed relative to the data at the time t-k-1, if so, storing the changed data into a cache by a receiving end; if the data restored at the time t-k is unchanged from the data at the time t-k-1, only storing an MVB port data packet header in the data restored at the time t-k to a cache; wherein k is greater than 1.
3. The MVB port data processing method according to claim 2, wherein the receiving end writes the data in the cache into the storage device every T2; preferably, T2 ═ 5 min.
4. The MVB port data processing method of claim 2, wherein a CRC code is set at the end of each frame of data sent from the sending end to the receiving end.
5. The MVB port data processing method of claim 4, wherein in step S3,
the specific implementation process of the receiving end for decoding the received MVB port data comprises the following steps:
checking the received MVB port data according to the check code at the tail of each frame of data, and discarding error data;
the receiving end judges whether the received data is a complete frame or a change frame, if the complete frame is received, the complete frame is directly stored, and if the change frame is received, the change frame data is restored into complete data; the complete frame refers to all MVB port data; the change frame refers to the changed MVB port data.
6. An MVB communication network, comprising:
a VCU for performing an operation including the following steps in each data transmission period T1:
when t is 0, all MVB port data are sent to the ERM;
judging whether the MVB port data changes relative to the MVB port data at the time when t is equal to i, and if all the MVB port data do not change, only sending an MVB port data packet header to an ERM; if a plurality of MVB port data are changed, the transmitting end transmits the changed MVB port data to the ERM, wherein i is larger than 0;
the ERM is used for decoding the received MVB port data to obtain the restored data;
preferably, the specific implementation process of the ERM decoding the received MVB port data includes: checking the received MVB port data according to the check code at the tail of each frame of data, and discarding error data; judging whether the received data is a complete frame or a change frame, if the received data is the complete frame, directly storing the complete frame, and if the received data is the change frame, restoring the change frame data into the complete data; the complete frame refers to all MVB port data; the change frame refers to the changed MVB port data.
7. The MVB communication network of claim 6, wherein the ERM further performs the following operations: in each data storage period T2, storing the restored data at the time when T is 0 into a cache; judging whether the data restored at the time t-k is changed relative to the data at the time t-k-1, if so, storing the changed data into a cache by a receiving end; if the data restored at the time t-k is unchanged from the data at the time t-k-1, only storing an MVB port data packet header in the data restored at the time t-k to a cache; wherein k is greater than 1.
8. The MVB communication network of claim 7, wherein the ERM further performs the following operations: and writing the data in the cache into the storage device every T2.
9. The MVB communication network according to any one of claims 6 to 8, wherein the VCU and the ERM communicate via a UDP protocol.
10. A rail transit vehicle, characterized in that it employs the MVB communication network according to any one of claims 6 to 9.
CN202111154409.5A 2021-09-29 2021-09-29 MVB port data processing method, MVB communication network and rail transit vehicle Pending CN113938346A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111154409.5A CN113938346A (en) 2021-09-29 2021-09-29 MVB port data processing method, MVB communication network and rail transit vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111154409.5A CN113938346A (en) 2021-09-29 2021-09-29 MVB port data processing method, MVB communication network and rail transit vehicle

Publications (1)

Publication Number Publication Date
CN113938346A true CN113938346A (en) 2022-01-14

Family

ID=79277336

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111154409.5A Pending CN113938346A (en) 2021-09-29 2021-09-29 MVB port data processing method, MVB communication network and rail transit vehicle

Country Status (1)

Country Link
CN (1) CN113938346A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6151306A (en) * 1997-03-12 2000-11-21 Yazaki Corporation Vehicle multiplex communication system
CN101146025A (en) * 2006-09-13 2008-03-19 华为技术有限公司 Packet transmission method, system and compression unit for compression real time transmission protocol
CN101163095A (en) * 2006-10-13 2008-04-16 中兴通讯股份有限公司 IP packet compression method for terminal-to-terminal link transmission
CN102420672A (en) * 2011-01-25 2012-04-18 苏州汉明科技有限公司 Method for wireless local area network wireless access point to carry out data forwarding to wireless controller
CN102821040A (en) * 2012-06-28 2012-12-12 用友软件股份有限公司 Network transmission flow compression unit and network transmission flow compression method
CN104361424A (en) * 2014-10-11 2015-02-18 中国电子科技集团公司第十研究所 Master data system integration method based on enterprise service bus (ESB)
CN104469427A (en) * 2014-12-09 2015-03-25 北京国双科技有限公司 Data transmission method and terminal and server
WO2017203651A1 (en) * 2016-05-26 2017-11-30 三菱電機株式会社 Fixed-period data transmission method
CN112566180A (en) * 2020-12-09 2021-03-26 东方通信股份有限公司 Method for improving packet data transmission rate of TETRA system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6151306A (en) * 1997-03-12 2000-11-21 Yazaki Corporation Vehicle multiplex communication system
CN101146025A (en) * 2006-09-13 2008-03-19 华为技术有限公司 Packet transmission method, system and compression unit for compression real time transmission protocol
CN101163095A (en) * 2006-10-13 2008-04-16 中兴通讯股份有限公司 IP packet compression method for terminal-to-terminal link transmission
CN102420672A (en) * 2011-01-25 2012-04-18 苏州汉明科技有限公司 Method for wireless local area network wireless access point to carry out data forwarding to wireless controller
CN102821040A (en) * 2012-06-28 2012-12-12 用友软件股份有限公司 Network transmission flow compression unit and network transmission flow compression method
CN104361424A (en) * 2014-10-11 2015-02-18 中国电子科技集团公司第十研究所 Master data system integration method based on enterprise service bus (ESB)
CN104469427A (en) * 2014-12-09 2015-03-25 北京国双科技有限公司 Data transmission method and terminal and server
WO2017203651A1 (en) * 2016-05-26 2017-11-30 三菱電機株式会社 Fixed-period data transmission method
CN112566180A (en) * 2020-12-09 2021-03-26 东方通信股份有限公司 Method for improving packet data transmission rate of TETRA system

Similar Documents

Publication Publication Date Title
CN112134651B (en) OAM message transmission method, transmission equipment and storage medium
US6233251B1 (en) Multiplex transmission method and system, and audio jitter absorbing method used therein
CN109862440A (en) Audio video transmission forward error correction, device, computer equipment and storage medium
US20030023915A1 (en) Forward error correction system and method for packet based communication systems
CN102761509B (en) The receiving system of ofdm system and the method for reduction receiving system internal memory
US7003710B2 (en) Communications method, communications apparatus and communications system using same communications apparatus
CN101800757A (en) No-feedback one-way data transmission method based on single fiber structure
KR102255051B1 (en) Data processing method and device
CN112995685B (en) Data transmitting method and device, data receiving method and device, medium and equipment
EP1392025A2 (en) Wireless communication method and wireless communication device
CN114499993A (en) High-reliability safe transmission and control system and method based on one-way optical gate
CN111211863B (en) MAC transmitting terminal, MAC receiving terminal and circuit, FPGA chip and data transmission system
JPH10247901A (en) Re-transmission control method
JP2002541724A (en) Digital data transfer method and apparatus
WO2016142193A1 (en) Apparatus and method for transmitting and receiving redundancy information of a first packet in a second packet
KR100341391B1 (en) Adaptive added transmission method and packet loss recovery method for interactive audio service, and audio input-output control device in multimedia computer
WO2009006858A1 (en) Method, system and device for information transmission and reception
CN113938346A (en) MVB port data processing method, MVB communication network and rail transit vehicle
CN101662339A (en) Method and device for verifying data recovered by forward error correction
JP2002344430A (en) Communication method and transmitter, receiver and communication system provided with the same
CN114500672A (en) Data transmission method and system
CN111294163A (en) DigRF retransmission failure processing method and device
WO2022266974A1 (en) Image processing method and device, service server, and storage medium
JP2655099B2 (en) Serial communication method
CN112217602B (en) Method, device and terminal for processing cluster voice packet

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