CN115967469A - Data auto-negotiation transmission method - Google Patents

Data auto-negotiation transmission method Download PDF

Info

Publication number
CN115967469A
CN115967469A CN202211444559.4A CN202211444559A CN115967469A CN 115967469 A CN115967469 A CN 115967469A CN 202211444559 A CN202211444559 A CN 202211444559A CN 115967469 A CN115967469 A CN 115967469A
Authority
CN
China
Prior art keywords
transmission
data
negotiation
auto
size
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
CN202211444559.4A
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.)
CETC 30 Research Institute
Original Assignee
CETC 30 Research Institute
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 CETC 30 Research Institute filed Critical CETC 30 Research Institute
Priority to CN202211444559.4A priority Critical patent/CN115967469A/en
Publication of CN115967469A publication Critical patent/CN115967469A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a data auto-negotiation transmission method, which is used for data transmission in voice communication and comprises the following steps: establishing an auto-negotiation transmission protocol between a calling terminal and a called terminal; the calling terminal divides the data to be transmitted into a plurality of data blocks; and determining the size of the data transmission fragment according to the channel condition, and sequentially dividing each data block into a plurality of transmission fragments for transmission. The invention can realize safe and reliable auto-negotiation transmission of data between the devices based on the encrypted voice channel established during the communication between the terminal devices, and solves the potential safety hazard of data transmission between the devices.

Description

Data auto-negotiation transmission method
Technical Field
The invention belongs to the technical field of data security, and particularly relates to a data auto-negotiation transmission method.
Background
With the development of digital communication technology, the functions of terminal devices are more and more abundant, the data transmission requirements among the terminal devices are more and more, and the data transmission modes among the terminal devices are various at present, such as wired transmission, wireless WiFi transmission, bluetooth transmission and the like, so that the rapid transmission of data among the devices can be realized.
Although the existing data transmission scheme between terminal devices can realize the rapid transmission of data between devices, important and sensitive data lack security protection measures, and are easy to be intercepted by attackers in transmission, thereby causing immeasurable loss.
Meanwhile, the current data transmission scheme between terminal devices does not consider the current channel condition in data transmission, the size of the data transmission fragment is set before data transmission, and the size of the transmission fragment is not adaptively adjusted according to the channel condition, so that the transmission success rate is low due to the overlarge transmitted data packet under the conditions of bad channel and large error code, or the transmission fragment cannot be adaptively increased under the condition of good channel transmission condition, so as to improve the transmission efficiency.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provide a data auto-negotiation transmission method, which realizes safe and reliable auto-negotiation transmission of data between equipment based on an encrypted voice channel established during conversation between terminal equipment and solves the potential safety hazard of data transmission between equipment.
The purpose of the invention is realized by the following technical scheme:
a data auto-negotiation transmission method for data transmission in voice communication, the method comprising:
establishing an auto-negotiation transmission protocol between a calling terminal and a called terminal;
the calling terminal divides the data to be transmitted into a plurality of data blocks;
and determining the size of the data transmission fragment according to the channel condition, and sequentially dividing each data block into a plurality of transmission fragments for transmission.
Further, the establishing of the auto-negotiation transmission protocol between the calling terminal and the called terminal specifically includes:
an encrypted voice channel is established between a calling terminal and a called terminal, the calling terminal sends a data transmission negotiation request command to the called terminal, and the called terminal responds to the data transmission negotiation response command after receiving the request command.
Further, the method further comprises:
the called terminal checks the transmission fragments after receiving the transmission fragments, if the check is passed, a successful receiving response is sent to the calling terminal, the next data block is transmitted after the check of all the transmission fragments of the current data block is passed, and if the check is not passed, a failure receiving response is sent to the calling terminal;
if the calling terminal receives the receiving failure response or the receiving response is overtime in the transmission, the transmission failure is registered and the transmission fragment with the transmission failure is retransmitted.
Further, the method further comprises:
and when the transmission fragment which fails in retransmission fails again, repeatedly dividing the data block into smaller transmission fragments and then retransmitting the transmission fragments until the transmission is successful.
Further, the method further comprises:
and setting the maximum retransmission time upper limit, and terminating data transmission when the data retransmission time still fails when the data retransmission time reaches the maximum retransmission time.
Further, the dividing the data block into smaller transmission slices includes:
the transmission slice size of a data block is divided into half of the previous time.
Further, the method further comprises:
before the next data block is transmitted, whether the current channel condition is good or not is judged, and the next data block is transmitted after the transmission fragment size of the data block is increased.
Further, the determining whether the current channel condition is good specifically includes:
and judging whether the number of times of the current data fragmentation continuous transmission success is larger than a set fragmentation transmission size adjustment threshold value or not and the size of the current fragmentation data packet is smaller than a maximum transmission value, and if the current data fragmentation continuous transmission success number is equal to the set fragmentation transmission size adjustment threshold value, judging that the current fragmentation data packet size is good.
Further, the method further comprises:
before increasing the size of the fragment data packet, judging whether the size of the transmission fragment reaches a preset transmission maximum value, and if so, not increasing.
Further, the method further comprises:
and after the transmission of all the data blocks is finished, the called terminal sends an on-hook signaling to inform the calling terminal that the transmission is finished.
The invention has the beneficial effects that:
(1) The method can realize safe and reliable auto-negotiation transmission of data between the devices based on the encrypted voice channel established during the communication between the terminal devices, solve the potential safety hazard existing in the data transmission between the devices and ensure the data safety.
(2) The invention can adaptively adjust the size of the transmission fragment data packet according to the channel condition, improve the success rate of data transmission under the severe channel condition, adaptively increase the size of the fragment after the channel condition becomes good, and improve the transmission efficiency.
(3) The invention has the retransmission mechanism of packet error and packet loss, and improves the success rate and the transmission efficiency of data transmission.
Drawings
Fig. 1 is a schematic flow chart of a data auto-negotiation transmission method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of an adaptive adjustment of data slicing according to an embodiment of the present invention;
fig. 3 is a flowchart of an application example of a data auto-negotiation transmission method according to an embodiment of the present invention.
Detailed Description
The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict.
All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The current data transmission scheme between terminal devices does not consider the current channel condition in data transmission, sets the size of a data transmission fragment before data transmission, and does not adaptively adjust the size of the transmission fragment according to the channel condition, so that the transmission success rate is low due to too large transmitted data packets under the conditions of bad channels and large error codes, or the transmission fragment cannot be adaptively increased under the condition of good channel transmission condition, thereby improving the transmission efficiency.
In order to solve the above technical problem, the following embodiments of the data auto-negotiation transmission method of the present invention are proposed.
Example 1
Referring to fig. 1, as shown in fig. 1, a schematic flow chart of a data auto-negotiation transmission method provided in this embodiment is shown, where the method specifically includes the following steps:
the method comprises the following steps: and carrying out data transmission auto-negotiation between the terminal devices.
Specifically, after a telephone call is established between terminal devices, an encrypted voice channel is established between the devices, a party serving as a calling party sends a data transmission negotiation request command, and after the called party receives the data transmission negotiation request command, a data transmission negotiation response command is responded to, so that data transmission auto-negotiation is completed.
Step two: and dividing the data to be transmitted between the terminal devices into data blocks.
Specifically, after completing data transmission auto-negotiation, the calling party may send packet data to the called party, and before data transmission, the data is divided into a plurality of data blocks according to the size of the transmission data;
step three: and transmitting each data block in sequence in a slicing way.
Specifically, in the transmission process of each data block, the size of a data transmission fragment is determined according to the channel condition, the transmitted data block is divided into a plurality of transmission fragments, each fragment data is transmitted by a sender in sequence in the transmission, a receiver checks the received data transmission fragment data, if the check is passed, a fragment receiving success response is sent to the data sender, the data fragments are stored, and after all the fragments of the data block are received and the check is passed, the sender starts to transmit the next data block.
Step four: and (4) notifying completion of data transmission.
Specifically, after the inter-terminal data transmission is completed, the terminal device of the receiving party actively sends an on-hook signaling to notify the calling terminal that the transmission is completed.
The data auto-negotiation transmission method provided by the embodiment can realize safe and reliable auto-negotiation transmission of data between the devices based on the encrypted voice channel established during the communication between the terminal devices, solve the potential safety hazard existing in the data transmission between the devices and ensure the data safety.
Example 2
The present embodiment adds a scheme for adaptively adjusting the size of the fragmented data packet in real time according to the channel condition on the basis of the foregoing embodiments.
Referring to fig. 2, fig. 2 is a schematic diagram illustrating the data slice adaptive adjustment according to this embodiment.
In the process of starting data fragment transmission of a first data block between terminal devices, the current channel state is set to be better in channel condition, and transmission is carried out according to the maximum transmission value of a fragment data packet. If the data fragment transmission is successful, the size of the transmission fragment packet is set as the current transmission value, and the successful transmission times are recorded.
In the data fragment transmission process, if the current channel condition deteriorates and causes the sending end to receive a data transmission failure command or receives no data transmission response command within time and causes transmission failure for 1 time, firstly, the successful transmission times are set to be 0, the current channel condition is adjusted to be the current burst error code, the data fragment is sent again, and if the retransmission is successful, the data fragment is sent continuously according to the current fragment size; if the retransmission still fails, the current channel condition is adjusted to be that continuous error codes exist currently, the residual data of the data block is re-fragmented, the size of the data fragment is half of the size of the original data fragment, so that the transmission success rate is improved, and the size of the current data fragment packet and the successful transmission times are recorded. If the data transmission is successful after the data fragmentation is reduced, recording the successful transmission times, updating the size of the current fragmented data packet, and continuing the transmission of the subsequent data fragmentation. And if the retransmission transmission fails, re-fragmenting the residual data of the data block, and sending the residual data of the data block after the size of the data fragment is half of that of the current data fragment. And setting a maximum retransmission time in data retransmission, and if the data retransmission time is equal to the maximum retransmission time, terminating the data.
Before the next data block is transmitted, whether the number of times of continuous transmission success of the current data fragment is larger than a set fragment transmission size adjustment threshold value or not is judged, the size of the current fragment data packet is smaller than the maximum transmission value, if the two judgment conditions are met, the current channel condition is considered to be recovered to a better state, and the size of the fragment data packet is doubled, so that the transmission efficiency is improved.
The scheme for realizing safe and reliable data auto-negotiation transmission between terminal devices based on the encrypted voice channel can adaptively adjust the size of the fragmented data packet in real time according to the current signaling condition, set the appropriate maximum value and minimum value of the fragmented data packet transmission according to the actual condition, and after the fragmented data packet is equal to the maximum value or the minimum value of the fragmented data packet transmission, the size of the fragmented data packet is not adjusted upwards or downwards any more, so that the transmission success rate and the transmission efficiency are improved.
Example 3
The present embodiment provides an application example of the data auto-negotiation transmission method proposed in the foregoing embodiment.
Referring to fig. 3, as shown in fig. 3, a flowchart of an application example of the data auto-negotiation transmission method provided in this embodiment is shown.
A telephone A having a voice encryption function (hereinafter referred to as "telephone A") and a telephone B having a voice encryption function (hereinafter referred to as "telephone B") are both connected to a voice communication system composed of an exchange. Phone a transmits to phone B the locally stored 512 number books, each of which occupies 64 bytes of memory space. The method comprises the steps that a phone A sends a call request to a phone B, the call type is data transmission, the phone B receives and sends a called response signaling to enter a conversation state, after data transmission auto-negotiation between the phone A and the phone B is completed, the phone A starts to transmit a directory to the phone B through an encrypted voice channel, the phone A divides the directory into 8 data blocks of 0, 1, 8230and 7 for transmission before transmission, the size of each data block is 4096 bytes, and the size adjustment threshold value of fragment transmission is set to be successful transmission for 8 times. When transmission is started, the data block 7 is transmitted first, the maximum value of the data fragment packet size of the data block 7 is set to be 1024 bytes, and the transmission is started by dividing the data block into 4 transmission fragments of 0, 1, 2 and 3.
Assuming that when the 1 st segment of the data block 6 is transmitted, the verification fails after the segment phone B receives the segment, the phone B sends a data transmission failure response to the phone A, the phone A judges that a burst error code exists in a current transmission channel after receiving the failure response, sets the successful transmission times to 0, retransmits the 1 st segment of the data block 6, and transmits the data block successfully, and continues to transmit the rest data block.
Assuming that when the data is transmitted to the 2 nd segment of the data block 3, the verification fails after the segment phone B receives the data and the verification still fails after the retransmission of the phone a, it is determined that the current transmission channel condition has a continuous error code, the remaining 3072 bytes of data of the data block 3 are re-segmented, the size of the data segment is half of the original size, that is, 512 bytes, and is totally divided into 6 transmission segments of 0, 1, 2, 3, 4 and 5, and meanwhile, the number of successful transmissions is set to 0, and the remaining data of the data block 1 is re-transmitted to the phone B.
After the transmission of the data block 3 is completed, the data block 2 is transmitted, before the transmission, it is first judged whether the successful times of the data transmission at this time is greater than a certain successful transmission adjustment threshold value, at this time, the successful transmission times is 6, and is less than a size adjustment threshold value of a fragmented data packet 8, the data block 2 is still fragmented into 8 data fragments of 0, 1, 8230according to the size of the data fragment, and 7, the total number of the data fragments is 8.
After the transmission of the data block 2 is completed, the data block 1 is transmitted, before the transmission, it is first judged whether the number of successful data transmissions is greater than a predetermined successful transmission adjustment threshold value, at this time, the number of successful data transmissions is 14, which is greater than the size adjustment threshold value 8 of the fragmented data packet, the size of the data fragment of the data block 1 is increased to 1 time of the original size, that is, 1024 bytes, and the transmission is divided into 4 data fragments of 0, 1, 2, and 3.
And when the phone B successfully receives the 0 th data fragment of the received data block 0, the data transmission is judged to be finished, the phone B sends an on-hook signaling to the phone A, and the data transmission is finished.
According to the embodiment, the scheme can realize safe and reliable auto-negotiation transmission of data between the devices based on the encrypted voice channel established during the call between the terminal devices, and solves the potential safety hazard of data transmission between the devices. Meanwhile, aiming at the problem that the size of the transmission data fragment cannot be adaptively adjusted according to the channel condition so as to improve the transmission success rate and the transmission efficiency, the data transmission scheme provided by the invention can adaptively adjust the size of the transmission data fragment according to the channel condition, and has a packet error and packet loss retransmission mechanism, so that the success rate and the transmission efficiency of data transmission are improved.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (10)

1. A method for data auto-negotiation transmission, the method being used for data transmission in voice communication, the method comprising:
establishing an auto-negotiation transmission protocol between a calling terminal and a called terminal;
the calling terminal divides the data to be transmitted into a plurality of data blocks;
and determining the size of the data transmission fragment according to the channel condition, and sequentially dividing each data block into a plurality of transmission fragments for transmission.
2. The data auto-negotiation transmission method of claim 1, wherein the establishing of the auto-negotiation transmission protocol between the calling terminal and the called terminal specifically comprises:
an encrypted voice channel is established between a calling terminal and a called terminal, the calling terminal sends a data transmission negotiation request command to the called terminal, and the called terminal responds to the data transmission negotiation response command after receiving the request command.
3. The data auto-negotiation transmission method of claim 1, wherein the method further comprises:
the called terminal checks the transmission fragments after receiving the transmission fragments, if the check is passed, a successful receiving response is sent to the calling terminal, the next data block is transmitted after the check of all the transmission fragments of the current data block is passed, and if the check is not passed, a failure receiving response is sent to the calling terminal;
if the calling terminal receives the receiving failure response or the receiving response is overtime in the transmission, the transmission failure is registered and the transmission fragment with the transmission failure is sent again.
4. The data auto-negotiation transmission method of claim 3, wherein the method further comprises:
and when the transmission fragment with the retransmission failure fails again, repeatedly dividing the data block into smaller transmission fragments and then retransmitting the transmission fragments until the transmission is successful.
5. The data auto-negotiation transmission method of claim 4, wherein the method further comprises:
and setting the maximum retransmission time upper limit, and terminating data transmission when the data retransmission time still fails when the data retransmission time reaches the maximum retransmission time.
6. The data auto-negotiation transmission method of claim 4, wherein the partitioning of the data blocks into smaller transmission slices comprises:
the transmission slice size of a data block is divided into half of the previous time.
7. The method for data auto-negotiation transmission according to any of claims 3-6, wherein the method further comprises:
before the next data block is transmitted, judging whether the current channel condition is good or not, and transmitting the next data block after increasing the size of the transmission fragment of the data block.
8. The data auto-negotiation transmission method of claim 7, wherein the determining whether the current channel condition is good specifically comprises:
and judging whether the number of times of the current data fragmentation continuous transmission success is larger than a set fragmentation transmission size adjustment threshold value or not and the size of the current fragmentation data packet is smaller than a maximum transmission value, and if the current data fragmentation continuous transmission success number is equal to the set fragmentation transmission size adjustment threshold value, judging that the current fragmentation data packet size is good.
9. The data auto-negotiation transmission method of claim 8, wherein the method further comprises:
before increasing the size of the fragment data packet, judging whether the size of the transmission fragment reaches a preset transmission maximum value, and if so, not increasing.
10. The data auto-negotiation transmission method of claim 1, wherein the method further comprises:
and after the transmission of all the data blocks is finished, the called terminal sends an on-hook signaling to inform the calling terminal that the transmission is finished.
CN202211444559.4A 2022-11-18 2022-11-18 Data auto-negotiation transmission method Pending CN115967469A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211444559.4A CN115967469A (en) 2022-11-18 2022-11-18 Data auto-negotiation transmission method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211444559.4A CN115967469A (en) 2022-11-18 2022-11-18 Data auto-negotiation transmission method

Publications (1)

Publication Number Publication Date
CN115967469A true CN115967469A (en) 2023-04-14

Family

ID=87356914

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211444559.4A Pending CN115967469A (en) 2022-11-18 2022-11-18 Data auto-negotiation transmission method

Country Status (1)

Country Link
CN (1) CN115967469A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1909551A (en) * 2005-08-03 2007-02-07 北京航空航天大学 Data exchanging method based on Web service
CN103051981A (en) * 2012-11-16 2013-04-17 北京邮电大学 Adaptive frame size calculation method for multiple hop transmission of video
CN103607264A (en) * 2013-10-17 2014-02-26 兴唐通信科技有限公司 3G network-based in-band data transmission method
CN104348746A (en) * 2013-08-05 2015-02-11 宏碁股份有限公司 Method of data transmission between user equipment and base station in wireless network system
CN109861797A (en) * 2017-12-28 2019-06-07 北京新岸线移动通信技术有限公司 A kind of data transmission method and system
CN110099114A (en) * 2019-04-30 2019-08-06 普华云创科技(北京)有限公司 Block chain and the file memory method of IPFS agreement, system, terminal and storage medium
CN112332977A (en) * 2020-11-05 2021-02-05 重庆邮电大学 Encryption transmission method under multi-channel transmission scene
CN112671809A (en) * 2021-03-17 2021-04-16 北京红云融通技术有限公司 Data transmission method, signal source end and receiving end
CN114786151A (en) * 2022-04-20 2022-07-22 重庆邮电大学 Multi-path end-to-end transmission system based on air-ground communication and application method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1909551A (en) * 2005-08-03 2007-02-07 北京航空航天大学 Data exchanging method based on Web service
CN103051981A (en) * 2012-11-16 2013-04-17 北京邮电大学 Adaptive frame size calculation method for multiple hop transmission of video
CN104348746A (en) * 2013-08-05 2015-02-11 宏碁股份有限公司 Method of data transmission between user equipment and base station in wireless network system
CN103607264A (en) * 2013-10-17 2014-02-26 兴唐通信科技有限公司 3G network-based in-band data transmission method
CN109861797A (en) * 2017-12-28 2019-06-07 北京新岸线移动通信技术有限公司 A kind of data transmission method and system
CN110099114A (en) * 2019-04-30 2019-08-06 普华云创科技(北京)有限公司 Block chain and the file memory method of IPFS agreement, system, terminal and storage medium
CN112332977A (en) * 2020-11-05 2021-02-05 重庆邮电大学 Encryption transmission method under multi-channel transmission scene
CN112671809A (en) * 2021-03-17 2021-04-16 北京红云融通技术有限公司 Data transmission method, signal source end and receiving end
CN114786151A (en) * 2022-04-20 2022-07-22 重庆邮电大学 Multi-path end-to-end transmission system based on air-ground communication and application method

Similar Documents

Publication Publication Date Title
US8223647B2 (en) System and method for increasing data throughout using a block acknowledgement
KR101132033B1 (en) Method for combining data packets by a telecommunication device
JP4331088B2 (en) Communication apparatus and communication method
EP2290866B1 (en) Method for moving a receive window in a radio access network
JP5539496B2 (en) Method and apparatus for increasing the reliability of MAC messages
KR101344206B1 (en) Method and apparatus for reordering fragments within a mac layer service data unit within a downlink frame
EP1046245B1 (en) Method for the communication of information and apparatus employing the method
US8238236B2 (en) Method for reporting reception result of packets in mobile communication system
KR20060115819A (en) Method of transmitting control information for uplink channel scheduling and method of scheduling uplink channel
JP2008005494A (en) Method and apparatus for handling downlink data upon handover in wireless communications system
JP2008005492A (en) Method and apparatus for detection and recovery of dtx-ack error in mobile communications system
WO2008072911A1 (en) Apparatus and method for transmitting/receiving data in a mobile communication system
AU2017262892B2 (en) System and method for maintaining synchronization in connectionless transmissions
EP3443697A1 (en) Apparatuses and methods for using arq processes in a relay device
US11240703B2 (en) Communications devices, method and mobile communications system
KR20100113457A (en) Method of receiving a point-to-multipoint service in a wireless communication system
CN108400842A (en) A kind of state report sending method and device applied to recipient
JPH10505965A (en) Radio channel selection method and apparatus
WO2014101111A1 (en) Data transmission method and device
WO2009088342A1 (en) Reordering timer for a retransmission protocol
CN115967469A (en) Data auto-negotiation transmission method
CN101193095B (en) Data transmission method and system for wireless link control layer
CN114765808A (en) Method for providing quality of service in wireless communication system
WO2016015418A1 (en) Service processing method and apparatus
KR101201046B1 (en) Method and Apparatus for retransmitting a control message in a mobile communication system

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