CN105207891B - A kind of highly reliable bus message transmission method based on service life screening - Google Patents
A kind of highly reliable bus message transmission method based on service life screening Download PDFInfo
- Publication number
- CN105207891B CN105207891B CN201510543874.6A CN201510543874A CN105207891B CN 105207891 B CN105207891 B CN 105207891B CN 201510543874 A CN201510543874 A CN 201510543874A CN 105207891 B CN105207891 B CN 105207891B
- Authority
- CN
- China
- Prior art keywords
- message
- screening
- screening group
- group
- service life
- 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.)
- Active
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
Abstract
A kind of highly reliable bus message transmission method based on service life screening of the present invention, including, the transmitting terminal of message in the bus carries out the message transmission of n times tape verifying code, and for the receiving terminal of message after receiving M items verification correct message, decision message is effective, wherein 0<M≤N.The present invention is repeatedly sent by message sending end, the mode that message sink end repeatedly confirms the validity of message according to the service life, the reliability for realizing message is sent, both it can also avoid accidentally receiving the interference to message receiving terminal normal function after noise message to avoid the information drop-out caused by the instantaneous interference of communication line.Also, before being communicated, the transmitting terminal of message is not necessarily to shake hands the communication line reliability confirmation of equal complexity, improves affairs execution efficiency when its communication.
Description
Technical field
It is especially a kind of based on the highly reliable of service life screening the present invention relates to the message transmission technology in electronic control system
Bus message transmission method.
Background technology
In the Design of Electrical Controling System such as aircraft, automobile, the application of bus is relatively broad, and due to bus communication
Equipment deficiency caused by failure can seriously restrict the stability and reliability of equipment operation.In order to improve the communication of bus
Quality, the anti-interference for usually increasing hardware itself are an effective aspects, and in certain application environments, hardware interference becomes
It obtains unavoidably.Therefore, carrying out Anti-interference Design in logic in processing becomes an important design aspect.It " shakes hands-transmits
Breath-confirmation-confirms again " it is a common reliability design mode, but the communicating pair of which is handling efficiency in logic
It is relatively low.In order to mitigate the processing pressure of communication function, the working time of processor is more put into and is served as functionally,
It is inevitable in hardware interference to solve that the present invention proposes a kind of highly reliable bus message transmission technology screened based on the service life
In the case of bus message transmitting problem.
Invention content
The technical problem to be solved in the present invention is:A kind of high reliability bus message transmission side screened based on the service life is provided
Method solves the problems, such as that processing method in the prior art is less efficient in logic in processing.
The technical scheme is that:
A kind of highly reliable bus message transmission method based on service life screening, including, the transmitting terminal of message in the bus
The message for carrying out n times tape verifying code is sent, and for the receiving terminal of message after receiving M items verification correct message, decision message is effective,
Wherein 0<M≤N.
Further, the transmitting terminal of message is needed in TlifetimeWhole n times tape verifyings are completed in × 80% time span
The message of code is sent, and the sending cycle of message is more than twice of Tlifetime;TlifetimeFor the message useful life of receiving terminal,
The life cycle that i.e. message validity judges.
Further, according to TlifetimeDefinition assumes screening group, for one group of identical message that receiving terminal is received, letter
Egress defines as follows assumes screening group:The timing since some message by verification, until TlifetimeIn duration
All message by verification be one hypothesis screening group, it is assumed that first message definition of screening group be origination message.
Further, each assumes that screening group is the criterion unit that message validity differentiates, according to each false
When determining screening group and differentiating to message validity, it is assumed that the message outside screening group is to message distinguishing validity process without tribute
It offers.
Further, the receiving terminal of message marks the time to the message that the verification that each receives passes through, and will thereafter
TlifetimeThe message received in time is as a hypothesis screening group, if assuming, there are M items to verify the message passed through in screening group,
Then think that the message is effective, otherwise the message is judged as invalid under conditions of the hypothesis screening group is criterion unit.
Further, every bus message includes a check code, and information source passes through each field to this message
Content carries out operation, obtains check code of the numerical value as this message, completes the verification to this message.
Further, so the method that operation uses can be cyclic redundancy check, parity check code, one kind in verification and code.
Further, it is assumed that first message definition of screening group is origination message, and definition cannot function as assuming screening group
Origination message message be apoptosis message.
Further, apoptosis message includes two classes:If the first kind is as hypothesis screening group origination message, when occurring
Spacing current time alreadys exceed TlifetimeMessage;Second class is to work as by the hypothesis screening group of origination message of some message to be
Criterion unit, after differentiating that message is effective, the message in the hypothesis screening group will all become apoptosis message, cannot be re-used as new vacation
The origination message for determining screening group constructs new hypothesis screening group.
The advantages of the present invention over the prior art are that:
A kind of highly reliable bus message transmission technology based on service life screening of the present invention is repeatedly sent out by message sending end
It send, the mode that message sink end repeatedly confirms the validity of message according to the service life, the reliability for realizing message is sent,
Both it can also be avoided accidentally receiving after noise message to message to avoid the information drop-out caused by the instantaneous interference of communication line
The interference of receiving terminal normal function.Also, before being communicated, the transmitting terminal of message is not necessarily to shake hands the communication line of equal complexity
Road reliability confirms, improves affairs execution efficiency when its communication.
Description of the drawings
Fig. 1 is the operational process time diagram of the present invention.
Specific implementation mode
A kind of highly reliable bus message transmission technology based on service life screening of the present invention, the transmission of message in the bus
The message that (information source) carries out n times tape verifying code is held to send, recipient's (stay of two nights) of message verifies correct message when receiving M items
Afterwards, decision message is effective, wherein 0<M≤N.
The message that the transmitting terminal (information source) of message in bus carries out n times tape verifying code is sent, and information source is needed in Tlifetime
The message that whole n times tape verifying codes are completed in × 80% time span is sent, and the sending cycle of message is more than twice
Tlifetime。TlifetimeFor the message useful life at stay of two nights end, i.e., the life cycle that message validity judges.Stay of two nights end foundation
TlifetimeDefinition assumes screening group.For one group of identical message that stay of two nights end is received, stay of two nights end defines vacation as follows
Determine screening group:The timing since some message by verification, until TlifetimeAll message by verification in duration
For a hypothesis screening group, it is assumed that first message definition of screening group is origination message.Each assumes that screening group is message
One criterion unit of distinguishing validity, when being differentiated to message validity according to each hypothesis screening group, it is assumed that screening
Message outside group is to message distinguishing validity process without contribution.
The message that the reciever (stay of two nights) of message passes through the verification that each receives marks the time, and will T thereafterlifetime
The message received in time is as a hypothesis screening group, if assuming, there are M items to verify the message passed through in screening group, then it is assumed that
The message is effective, and otherwise the message is judged as invalid under conditions of the hypothesis screening group is criterion unit.
Every bus message includes a check code, and information source is transported by the content of each field to this message
It calculates, obtains check code of the numerical value as this message, complete the verification to this message, operation method and used school
Test code correlation, including cyclic redundancy check, parity check code, the verification modes such as verification and code.
The timing since some message by verification, until TlifetimeAll in duration are by the message of verification
One hypothesis screening group, it is assumed that first message definition of screening group is origination message, and definition cannot function as assuming screening group
The message of origination message is apoptosis message.Apoptosis message includes two classes:If the first kind as assume screening group origination message,
Its time of origin alreadys exceed T away from current timelifetimeMessage;Second class is when using some message as the hypothesis of origination message
Screening group is criterion unit, and after differentiating that message is effective, the message in the hypothesis screening group will all become apoptosis message, cannot remake
For the origination message of new hypothesis screening group, new hypothesis screening group is constructed.
One embodiment of the present of invention is realized in the high reliable communication solution to the problem of 1553B bus messages.I
Embodiment can be described as following form:
One side of 1553B bus communications is order sender, is set as BC, and another party is order recipient, is set as RT.Order
The transmission of one message of sender continues 50ms, which will altogether send 10 times in this 50ms, and each order is being sent
It will not be retransmitted in 10s afterwards.The recipient RT of order carries out 10 to the order received in 500ms and selects 5 screenings, i.e.,:
N=10, M=5, Tlifetime=500ms
At this point, the duration that BC sends an order is 50ms, meets and be less than Tlifetime× 80% condition.
In embodiment, the sending and receiving end BC and RT of message are all made of the SoC chip with compatible 61580 chips, pass through 61580
Chip sends and receives function realize 1553B bus single messages.BC is sent according to every 10ms by the channels A/B of bus
The sending method of one order sends command messages to RT, and the ends RT carry out the validity screening of message after receiving message.BC to
The order type that RT is sent is 5 kinds, is set as { COMM1,COMM2,COMM3,COMM4,COMM5}.Command messages format is defined as:
Word 1 | Word 2 |
Command word (COMMi) | Cyclic redundancy check |
The specific working mode of RT is as follows:
Receiving terminal RT initialization:RT initializes the current command count pick up array, CMDRecordArray [NUM_
CMD], each element in the array represents a kind of number of currently received command messages, therefore the value of NUM_CMD
It is 5, while initializes a timing array StartTimeArray [NUM_CMD];In addition, RT is by 1553B message receiving modes
It is initialized as interrupt mode;
Receiving terminal RT receives the processing of message moment:It is after RT receives message, that is, right after entering the interruption of 1553B message sinks
The bulk state word and CRC of 1553B message are checked, if this two check that an error has occurred, enters service life Screening Treatment
Link, if the order received is COMMi.If it is zero to check current CMDRecordArray [i], when by the current locals RT
Between be recorded in corresponding StartTimeArray [i], as COMMiOrder assumes the starting point of screening group, while right
CMDRecordArray [i] variable is done plus a processing, is not zero if checking current CMDRecordArray [i], directly right
CMDRecordArray [i] variable is done plus a processing, and it is not necessary to modify the values in corresponding StartTimeArray [i], then sentence
Whether the value of current CMDRecordArray [i] of breaking is 5, indicates that message effectively, is executed and ordered accordingly at this time if 5
COMMiCorresponding operation, does not otherwise deal with;
Receiving terminal RT circular treatments:Each element in RT periodic scan StartTimeArray arrays, if
Value in StartTimeArray [i] is not zero, then makes the difference local current time and the value in StartTimeArray [i],
Obtained value is current COMMiThe service life of order, if the interpolation is more than 500ms, by the value in StartTimeArray [i]
It resets, and the value of current CMDRecordArray [i] is reset.
The working method at the ends BC is as follows:
Transmitting terminal BC initialization:BC is initialized as 10ms using local clock and interrupts.And initial message sends count number
Group CMDSendArray [NUM_CMD], wherein each element initial value is zero.Initialization command message array:
CMDMsg [5] [2]={ { COMM1,CRC1},{COMM2,CRC2},{COMM3,CRC3},{COMM4,CRC4},
{COMM5,CRC5}}
In each order COMM of initializationiAfter the completion, calculation command COMMiThe cyclic redundancy check of message, and it is placed on message
On the position of second word.
Transmitting terminal BC message constructings to be sent:When need send COMMiWhen, it is 5 to set CMDSendArray [i].
Transmitting terminal BC message transmissions are handled:After 10ms, which is interrupted, to be generated, each member of CMDSendArray arrays is traversed
Element, if finding, some CMDSendArray [i] is not zero, and the order is respectively sent by the A and channel B of 1553B buses
To the ends RT, while the processing that subtracts one is done to CMDSendArray [i].
It is above-mentioned to realize that the concrete mode of the communication function of 1553B buses may refer to 61580 cores about based on 61580 chips
Piece service manual.
The non-detailed description of the present invention is known to the skilled person technology.
Claims (5)
1. a kind of highly reliable bus message transmission method based on service life screening, which is characterized in that including message in the bus
Transmitting terminal carry out the message of n times tape verifying code and send, the receiving terminal of message judges after receiving M items and verifying correct message
Message is effective, wherein 0<M≤N;
The transmitting terminal of message is needed in TlifetimeThe message that whole n times tape verifying codes are completed in × 80% time span is sent,
And the sending cycle of message is more than twice of Tlifetime;TlifetimeFor the message useful life of receiving terminal, i.e. message validity is sentenced
Disconnected life cycle;The message that the receiving terminal of message passes through the verification that each receives marks the time, and will T thereafterlifetime
The message received in time is as a hypothesis screening group, if assuming, there are M items to verify the message passed through in screening group, then it is assumed that
The message is effective, and otherwise the message is judged as invalid under conditions of the hypothesis screening group is criterion unit, it is assumed that screening group
First message definition be origination message, definition cannot function as assume screening group origination message message be apoptosis message;
Apoptosis message includes two classes:If the first kind as assume screening group origination message, time of origin away from current time
More than TlifetimeMessage;Second class is when by the hypothesis screening group of origination message of some message being criterion unit, and differentiation disappears
After breath is effective, the message in the hypothesis screening group will all become apoptosis message, cannot be re-used as the starting point of new hypothesis screening group
Message constructs new hypothesis screening group.
2. the highly reliable bus message transmission method according to claim 1 based on service life screening, which is characterized in that foundation
TlifetimeDefinition assumes screening group, and for one group of identical message that receiving terminal is received, receiving terminal defines vacation as follows
Determine screening group:The timing since some message by verification, until TlifetimeAll message by verification in duration
For a hypothesis screening group, it is assumed that first message definition of screening group is origination message.
3. the highly reliable bus message transmission method according to claim 2 based on service life screening, which is characterized in that each
It is a to assume that screening group is the criterion unit that message validity differentiates, according to it is each assume screening group to message validity into
When row differentiates, it is assumed that the message outside screening group is to message distinguishing validity process without contribution.
4. the highly reliable bus message transmission method according to claim 1 based on service life screening, which is characterized in that every
Bus message includes a check code, and transmitting terminal carries out operation by the content of each field to this message, obtains one
Check code of a numerical value as this message completes the verification to this message.
5. the highly reliable bus message transmission method according to claim 4 based on service life screening, which is characterized in that so
The method that operation uses can be cyclic redundancy check, parity check code, one kind in verification and code.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510543874.6A CN105207891B (en) | 2015-08-28 | 2015-08-28 | A kind of highly reliable bus message transmission method based on service life screening |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510543874.6A CN105207891B (en) | 2015-08-28 | 2015-08-28 | A kind of highly reliable bus message transmission method based on service life screening |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105207891A CN105207891A (en) | 2015-12-30 |
CN105207891B true CN105207891B (en) | 2018-08-31 |
Family
ID=54955336
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510543874.6A Active CN105207891B (en) | 2015-08-28 | 2015-08-28 | A kind of highly reliable bus message transmission method based on service life screening |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105207891B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101765147A (en) * | 2008-12-25 | 2010-06-30 | 大唐移动通信设备有限公司 | Method and device for transmitting data packet under high-speed transmission environment |
CN103346931A (en) * | 2013-07-10 | 2013-10-09 | 北京航天自动控制研究所 | 1553B bus monitoring system |
CN103546368A (en) * | 2013-11-08 | 2014-01-29 | 长沙钢为网络科技有限公司 | Data transmission method, device, instant messaging method and system |
CN104320224A (en) * | 2014-10-13 | 2015-01-28 | 北京航天自动控制研究所 | Reliable communication method based on 1553B bus |
WO2015066014A1 (en) * | 2013-10-29 | 2015-05-07 | Qualcomm Incorporated | Systems and methods for improved communication efficiency in high efficiency wireless networks |
-
2015
- 2015-08-28 CN CN201510543874.6A patent/CN105207891B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101765147A (en) * | 2008-12-25 | 2010-06-30 | 大唐移动通信设备有限公司 | Method and device for transmitting data packet under high-speed transmission environment |
CN103346931A (en) * | 2013-07-10 | 2013-10-09 | 北京航天自动控制研究所 | 1553B bus monitoring system |
WO2015066014A1 (en) * | 2013-10-29 | 2015-05-07 | Qualcomm Incorporated | Systems and methods for improved communication efficiency in high efficiency wireless networks |
CN103546368A (en) * | 2013-11-08 | 2014-01-29 | 长沙钢为网络科技有限公司 | Data transmission method, device, instant messaging method and system |
CN104320224A (en) * | 2014-10-13 | 2015-01-28 | 北京航天自动控制研究所 | Reliable communication method based on 1553B bus |
Non-Patent Citations (2)
Title |
---|
《HARQ operation in case of UL Power Limitation》;Ericsson;《3GPP TSG-RAN WG2 #60 Tdoc R2-074940》;20071109;第1-5页第1-4节、图2 * |
《On VoIP Uplink Coverage for LTE》;Ericsson;《TSG-RAN WG1 #51bis R1-080339》;20080118;第1-4节 * |
Also Published As
Publication number | Publication date |
---|---|
CN105207891A (en) | 2015-12-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8843792B2 (en) | Method and apparatus for reducing false detection of control information | |
WO2014092516A1 (en) | Packet decoding method and apparatus | |
KR20180066049A (en) | COMMUNICATION DEVICE, COMMUNICATION METHOD, PROGRAM, AND COMMUNICATION SYSTEM | |
CN101111822A (en) | Information processing apparatus and information processing method | |
US8209594B2 (en) | Sending device, receiving device, communication control device, communication system, and communication control method | |
JP2015027100A (en) | Transmission control method for packet communication, and packet communication system | |
CN108337069B (en) | Improved error rate reducing end parallel grouping CRC (Cyclic redundancy check) system | |
CN109120430A (en) | A method of guaranteeing data communication reliability | |
CN108833443A (en) | A kind of method for message transmission and system, computer equipment | |
US8817851B2 (en) | Wireless communications device and wireless communications method | |
CN111726288B (en) | Real-time data transmission and recovery method and system for power secondary equipment | |
CN105207891B (en) | A kind of highly reliable bus message transmission method based on service life screening | |
US9681461B2 (en) | Method and system of enhancing signal processing in a shared medium network | |
JP7228797B2 (en) | Receiving device and receiving method | |
CN109600204B (en) | Data transmission method and device | |
CN110532127B (en) | Error check bit protocol converter | |
CN115361236A (en) | Data transmission consistency checking method, device, equipment and medium | |
CN102655441A (en) | Communication automatic error correction coding method and system | |
JP2014082578A (en) | Full duplex communication device using communication packet and having transmitter and receiver and communication method thereof | |
JP3850841B2 (en) | Method and apparatus for monitoring safe transmission of data packet | |
JP2019083507A (en) | Reception device, transmission device, reception method and transmission method | |
CN104079443A (en) | Data transmission performance testing system and method | |
US8660135B2 (en) | Method and apparatus for determining if a mobile terminal is the intended recipient for information provided via a control channel | |
JP6562582B2 (en) | Acknowledgment indication method and associated device for data transmission | |
JP2012119813A (en) | Error correction circuit and error correction method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |