[go: up one dir, main page]

CN105281863B - A kind of communication data frame transmission method - Google Patents

A kind of communication data frame transmission method Download PDF

Info

Publication number
CN105281863B
CN105281863B CN201410302227.1A CN201410302227A CN105281863B CN 105281863 B CN105281863 B CN 105281863B CN 201410302227 A CN201410302227 A CN 201410302227A CN 105281863 B CN105281863 B CN 105281863B
Authority
CN
China
Prior art keywords
frame
base
data
transmission
transmitting terminal
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
Application number
CN201410302227.1A
Other languages
Chinese (zh)
Other versions
CN105281863A (en
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.)
Huizhou Desay SV Automotive Co Ltd
Original Assignee
Huizhou Desay SV Automotive 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 Huizhou Desay SV Automotive Co Ltd filed Critical Huizhou Desay SV Automotive Co Ltd
Priority to CN201410302227.1A priority Critical patent/CN105281863B/en
Publication of CN105281863A publication Critical patent/CN105281863A/en
Application granted granted Critical
Publication of CN105281863B publication Critical patent/CN105281863B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Communication Control (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

The invention discloses a kind of communication data frame transmission methods, it include: the transmitting-receiving that transmitting terminal and receiving end carry out data frame according to base T when identical opportunistic transmission, further comprising the steps of: S1, base T0 generates random number T1 when transmitting terminal passes through default transport, and T1 is set as base when the first frame data transmit;S2, transmitting terminal and receiving end, which are established, to be communicated, and T1 is sent to receiving end by base T0 when transmitting terminal passes through default transport;S3, base T1 sends the first frame data, base when subsequent data frame generates its corresponding transmission based on base when the transmission of previous frame when transmitting terminal is to transmit;S4, receiving end receives the first frame data according to base T1 when transmission, and generates base when corresponding to transmission of subsequent data frame according to base mode when the corresponding transmission of transmitting terminal generation and receive data according to base when corresponding transmission.When the present invention is by introducing variable propagation capital construction stand reliable transport mechanism make communication security it is higher, using simple, be suitble to the communication occasion for needing to maintain secrecy to Content of communciation.

Description

A kind of communication data frame transmission method
Technical field
The invention of this reality is related to a kind of communication data frame transmission method.
Background technique
Communications protocol is also known as communication regulations, refers to a kind of agreement that communication two party controls data transmission.Include in agreement To data format, the method for synchronization, transmission speed, transfer step, examines error correcting system and the problems such as control character defines makes system One regulation, communication two party must abide by jointly, it is also referred to as link control procedure.It is produced based on this agreement, different manufacturers Equipment could be correct, efficient operation.This design for uniformity and open consideration, accelerates the hair of electronic technology really Exhibition, but equally bring the safety issue of data itself.Due to using the communication interface of standard, except two modules If parsing person attempts to obtain the meaning of the data and data transmitted between them, only it is to be understood that their standard given protocol, Data are acquired by the way of parallel connection access, go out data sense further according to movement and response energy conversed analysis.
For the safety of protection communication, designer need to deliberately increase some invalid datas, and one in original data basis Rise send, but due to designer design module pre-defined agreement, so that it may to valid data carry out response and it is right Invalid data is filtered.However, parsing person can be more than authentic and valid data by the data that tool is got, it is difficult to differentiate Effective data are difficult to determine when parsing data.
The above-mentioned means of communication are not changed to communications protocol from data, parsing person according to Agreement can get data itself, it is possible to successfully parse data and its meaning.
Summary of the invention
In order to solve above-mentioned problems of the prior art, the present invention provides a kind of setting for communication data frame transmission method Meter scheme.
A kind of communication data frame transmission method, comprising the following steps: transmitting terminal and receiving end are according to identical opportunistic transmission When base T carry out data frame transmitting-receiving.
And the following steps are included:
S1, base T0 generates random number T1 when transmitting terminal passes through default transport, and T1 is set as base when the first frame data transmit; S2, transmitting terminal and receiving end, which are established, to be communicated, and T1 is sent to receiving end by base T0 when transmitting terminal passes through default transport;S3, transmitting terminal Base T1 sends the first frame data when transmitting, and subsequent data frame generates its corresponding transmission based on base when the transmission of previous frame Shi Ji;S4, receiving end receive the first frame data, and the corresponding transmission Shi Jifang generated according to transmitting terminal according to base T1 when transmission Formula generates base when corresponding to transmission of subsequent data frame and receives data according to base when corresponding transmission.
The poly- S2 of step is specifically included: S21, and when transmitting terminal sends data frame, data are stored in the data buffering of transmitting terminal Area, and trigger the data frame sent in function transmission data buffer zone;S22, when receiving end receives data frame, data deposit is connect The reception data buffer of receiving end.
The step S3 further include: after completing the transmission of the first frame data, if the second frame, third frame, n-th frame data need to be carried out Transmission, then base is f (T2)=f (f (T1)), the when base is T2=f (T1) when setting the transmission of the second frame data, third frame data transmit Base is Tn=f (fn-1 (T1)) when n frame data transmit, and continues to send the second frame, third frame, n-th frame data to receiving end.
It further include ack msg frame re-transmission step: after transmitting terminal sends data frame, if the ACK for not receiving receiving end feedback is rung Frame is answered, then data frame sends failure, and transmitting terminal is prompted to retransmit data frame.
Further include sending times detecting step: when transmitting terminal, which retransmits data frame number, is more than regulation maximum times, Then Communications failure, and transmitting terminal is prompted to re-establish communication.
Base generation step when further including transmission: it after complete data frame communication is completed in transmitting terminal and receiving end, then sends Base when end regenerates new transmission;The random number of the transmission Shi Jiwei specified range of the generation.
The communication is both-way communication.
In conclusion the invention has the following advantages: by introduce variable propagation when base improve communication security, and Establishing reliable and stable transmission mechanism keeps communication security higher, and application is simple, is suitble to need to protect Content of communciation Close communication occasion.
Detailed description of the invention
Fig. 1 is the flow diagram of communication data frame transmission method of the present invention;
Base schematic diagram when Fig. 2 is transmission of the present invention.
Specific embodiment
In order to allow those skilled in the art that can be best understood from technical solution of the present invention, with reference to the accompanying drawing to this Invention is further elaborated.
As shown in Figure 1, present invention discloses a kind of communication data frame transmission methods, comprising the following steps: transmitting terminal with connect Receiving end carries out the transmitting-receiving of data frame according to base T when identical opportunistic transmission.Further comprising the steps of: S1, transmitting terminal pass through default Base T0 generates random number T1 when transmission, and T1 is set as base when the first frame data transmit;S2, transmitting terminal and receiving end are established logical News, T1 is sent to receiving end by base T0 when transmitting terminal passes through default transport;S3, base T1 sends the first frame number when transmitting terminal is to transmit According to base when subsequent data frame generates its corresponding transmission based on base when the transmission of previous frame;S4, when receiving end is according to transmission Base T1 receives the first frame data, and generates the corresponding of subsequent data frame according to base mode when the corresponding transmission of transmitting terminal generation and pass When defeated base and according to when corresponding transmission base receive data.
When it is implemented, the poly- S2 of step is specifically included: when transmitting terminal sends data frame, data are stored in the number of transmitting terminal According to buffer area, and trigger the data frame sent in function transmission data buffer zone;When receiving end receives data frame, data deposit The reception data buffer of receiving end;The step S3 further include: complete the first frame data transmission after, if need to carry out the second frame, Third frame, the transmission of n-th frame data, then base is f when base is T2=f (T1), the transmission of third frame data when setting the transmission of the second frame data (T2) base is Tn=f (fn-1 (T1)) when=f (f (T1)), the transmission of n-th frame data, and continues to send the second frame, third to receiving end Frame, n-th frame data.As shown in Fig. 2, after receiving end is successfully received the random number T1 of transmitting terminal, the when base of the second frame data T2 is exactly f (T1), and base just becomes f (T2) when the transmission of third frame data, and so on.Wherein run in transmitting terminal and receiving end Basic function f (x) when same set of transmission, thus transmitting terminal can guarantee to obtain with the when base of receiving end both sides it is synchronous.
Cause data frame to send or receive unsuccessful due to other to prevent transmitting terminal or receiving end, also wraps Include ack msg frame re-transmission step: after transmitting terminal sends data frame, if not receiving the acknowledgement character response frame of receiving end feedback, data frame Failure is sent, and transmitting terminal is prompted to retransmit data frame;I.e. transmitting terminal does not have in the defined time after having sent data frame It is properly received acknowledgement character response frame and is considered as this Communications failure, transmitting terminal is needed to retransmit data frame, when transmitting terminal retransmits When data frame number is more than regulation maximum times, then Communications failure, and transmitting terminal is prompted to re-establish communication.When transmitting terminal with connect After receiving end one complete data frame of completion communicates successfully, base when transmitting terminal can just regenerate new transmission;In order to guarantee to lead to Interrogate efficiency, the random number of the transmission Shi Jiwei specified range of the generation.
In order to guarantee transmitting terminal and receive end communication certainty, the communication is both-way communication.
The present embodiment is more excellent embodiment of the invention, and the part not being described in detail is all made of well known maturation Technology.It should be noted that without deviating from the spirit and substance of the present invention, those skilled in the art work as can Various corresponding changes and modifications are made according to the present invention, but these change and modification all should belong to right appended by the present invention and want The protection scope asked.

Claims (6)

1. a kind of communication data frame transmission method, which comprises the following steps: transmitting terminal and receiving end are according to identical Base T carries out the transmitting-receiving of data frame when opportunistic transmission, specifically:
S1, base T0 generates random number T1 when transmitting terminal passes through default transport, and T1 is set as base when the first frame data transmit;
S2, transmitting terminal and receiving end, which are established, to be communicated, and T1 is sent to receiving end by base T0 when transmitting terminal passes through default transport;
S3, base T1 sends the first frame data when transmitting terminal is to transmit, and subsequent data frame is raw based on base when the transmission of previous frame At base when its corresponding transmission;
S4, receiving end receive the first frame data, and the corresponding transmission Shi Jifang generated according to transmitting terminal according to base T1 when transmission Formula generates base when corresponding to transmission of subsequent data frame and receives data according to base when corresponding transmission;
Wherein, the step S3 further include: after completing the transmission of the first frame data, if the second frame, third frame, n-th frame number need to be carried out According to transmission, then set the second frame data transmission when base be T2=f (T1), third frame data transmit when base be f (T2)=f (f (T1)), Base is Tn=f (fn-1 (T1)) when n-th frame data are transmitted, and continues to send the second frame, third frame, n-th frame data to receiving end.
2. a kind of communication data frame transmission method according to claim 1, which is characterized in that the poly- S2 of step is specifically wrapped It includes:
S21, when transmitting terminal sends data frame, data are stored in the data buffer zone of transmitting terminal, and trigger and send function transmission number According to the data frame in buffer area;
S22, when receiving end receives data frame, data are stored in the reception data buffer of receiving end.
3. a kind of communication data frame transmission method according to claim 1, which is characterized in that further include ack msg frame weight Send out step: after transmitting terminal sends data frame, if not receiving the acknowledgement character response frame of receiving end feedback, data frame sends failure, and mentions Show that transmitting terminal retransmits data frame.
4. a kind of communication data frame transmission method according to claim 1, which is characterized in that further include sending times detection Step: when transmitting terminal, which retransmits data frame number, is more than regulation maximum times, then Communications failure, and prompt transmitting terminal again Establish communication.
5. a kind of communication data frame transmission method according to claim 4, which is characterized in that base generates when further including transmission Step: after complete data frame communication is completed in transmitting terminal and receiving end, then base when transmitting terminal regenerates new transmission;It is described The random number of the transmission Shi Jiwei specified range of generation.
6. a kind of communication data frame transmission method according to claim 5, which is characterized in that the communication is two-way News.
CN201410302227.1A 2014-06-30 2014-06-30 A kind of communication data frame transmission method Active CN105281863B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410302227.1A CN105281863B (en) 2014-06-30 2014-06-30 A kind of communication data frame transmission method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410302227.1A CN105281863B (en) 2014-06-30 2014-06-30 A kind of communication data frame transmission method

Publications (2)

Publication Number Publication Date
CN105281863A CN105281863A (en) 2016-01-27
CN105281863B true CN105281863B (en) 2019-03-22

Family

ID=55150274

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410302227.1A Active CN105281863B (en) 2014-06-30 2014-06-30 A kind of communication data frame transmission method

Country Status (1)

Country Link
CN (1) CN105281863B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105933092B (en) * 2016-06-14 2020-04-07 Tcl移动通信科技(宁波)有限公司 Data transmission method and system based on circuit switching

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1350726A (en) * 1999-04-22 2002-05-22 因芬尼昂技术股份公司 Method of synchronizing frequencies in a radiotelephone and apparatus for performing the method
CN1411187A (en) * 2001-09-25 2003-04-16 华为技术有限公司 Link self adaptation method based on self adaptation coded modulation and automatic retransmission request
CN102244682A (en) * 2011-07-19 2011-11-16 中国科学院软件研究所 Covert communication method under cloud computing environment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102007058267B4 (en) * 2007-11-27 2011-08-25 Pilz GmbH & Co. KG, 73760 Method for transferring data between a control unit and a plurality of remote I / O units of an automated system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1350726A (en) * 1999-04-22 2002-05-22 因芬尼昂技术股份公司 Method of synchronizing frequencies in a radiotelephone and apparatus for performing the method
CN1411187A (en) * 2001-09-25 2003-04-16 华为技术有限公司 Link self adaptation method based on self adaptation coded modulation and automatic retransmission request
CN102244682A (en) * 2011-07-19 2011-11-16 中国科学院软件研究所 Covert communication method under cloud computing environment

Also Published As

Publication number Publication date
CN105281863A (en) 2016-01-27

Similar Documents

Publication Publication Date Title
CN101651531B (en) A method for handling transmission time interval (tti) bundle retransmission and communication device
MX2025006040A (en) Communication apparatus and communication method for multi-link secured retransmissions
US8281202B2 (en) Method and apparatus for improving transmission time interval bundling
CN105703890B (en) Method and equipment for data transmission
CN110463110A (en) Stop transmission repeating
EP2107709B1 (en) Method and apparatus of transmission time interval bundling management
CN103368706A (en) Transmission method, device and system for hybrid automatic repeat request
DK1845649T3 (en) Method and apparatus for sending and receiving status report in a mobile communication system
CN102111257B (en) Method and system for adjusting timing advance
WO2011126242A3 (en) Method and apparatus for packet retransmission in a mobile communication system
CN107222298B (en) Data transmission method and device
CN107370575A (en) A kind of dispatching method of autonomous retransmission, terminal and network side equipment
CN110234100B (en) Wireless data transmission method, equipment and system
JP6271895B2 (en) Base station and radio communication system
CN101882978A (en) Method and device for downlink cooperative retransmission of relay station
CN108023688A (en) A kind of data transmission method and device
CN109088702A (en) Communication method, network device and terminal
CN105281863B (en) A kind of communication data frame transmission method
CN101567891B (en) Source address verification method, device and system
CN104349475B (en) A kind of method and apparatus of the cross-carrier scheduling of TDD-FDD
US10708174B2 (en) Communication system, transmitter, receiver, communication method, transmission method, and reception method
CN101068372B (en) Method and apparatus of handling a variable of a wireless link control reset procedure
WO2012068972A1 (en) Method for activating configuration and user equipment
CN115361236A (en) Data transmission consistency checking method, device, equipment and medium
CN107257265B (en) Real-time transmission data stream forward error correction, system, device and storage medium

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