CN115334483A - Data interaction method based on short-distance wireless communication - Google Patents

Data interaction method based on short-distance wireless communication Download PDF

Info

Publication number
CN115334483A
CN115334483A CN202210940983.1A CN202210940983A CN115334483A CN 115334483 A CN115334483 A CN 115334483A CN 202210940983 A CN202210940983 A CN 202210940983A CN 115334483 A CN115334483 A CN 115334483A
Authority
CN
China
Prior art keywords
data
wireless communication
instruction
reissue
sends
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
CN202210940983.1A
Other languages
Chinese (zh)
Inventor
薛海军
赵鑫鑫
李锐
姜凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Inspur Science Research Institute Co Ltd
Original Assignee
Shandong Inspur Science Research Institute 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 Shandong Inspur Science Research Institute Co Ltd filed Critical Shandong Inspur Science Research Institute Co Ltd
Priority to CN202210940983.1A priority Critical patent/CN115334483A/en
Publication of CN115334483A publication Critical patent/CN115334483A/en
Priority to PCT/CN2023/083295 priority patent/WO2024031995A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Abstract

A data interaction method based on short-distance wireless communication is characterized in that an initiator sends a data block transmission request instruction; the receiving party receives and analyzes the instruction and replies a confirmation instruction to the initiating party; the initiator sends an initial information data packet; the receiver receives and stores the data packet content and replies a confirmation instruction; the initiator continuously transmits multi-frame data packets; a receiver receives the data packet and checks and stores the data packet; the receiving party sends a reissue application; and after the initiator applies for reissue of the data packet according to reissue, the receiver judges that the data reception is completely finished after multiple rounds of interaction, and sends a transmission stop instruction to the initiator. The invention reduces the time occupied by data interaction, improves the transmission efficiency, adopts a fault-tolerant reissue mechanism to ensure the integrity of data, and is particularly suitable for data communication under the conditions of complex wireless network environment and interference.

Description

Data interaction method based on short-distance wireless communication
Technical Field
The invention relates to the technical field of short-distance wireless communication, in particular to a data interaction method based on short-distance wireless communication.
Background
The short-distance communication technology is a wireless communication technology with short distance, low complexity, low power consumption and low cost, and simultaneously has the technical advantage of no wiring and easy networking, so in recent years, devices based on short-distance wireless communication are more and more applied in the power industry and the industrial control industry, application scenes are more and more complex, but the data transmission rate of the communication technology is low, the anti-interference capability is poor under a complex electromagnetic environment, and the phenomenon of data loss or incomplete phenomenon can occur due to same frequency and adjacent frequency interference in the data transmission process.
Disclosure of Invention
In order to overcome the defects of the technologies, the invention provides a data interaction method based on short-distance wireless communication, which improves the data transmission efficiency and ensures the data accuracy.
The technical scheme adopted by the invention for overcoming the technical problems is as follows:
a data interaction method based on short-distance wireless communication comprises the following steps:
a) The data initiator sends a data block transmission instruction to a receiver;
b) The receiving party analyzes the instruction and replies confirmation information to the initiating party;
c) A sender sends an initial data packet;
d) The receiver receives the initial data packet, analyzes and stores the content in the initial data packet for analyzing and comparing the subsequent data;
e) A sender continuously sends M packet data packets according to the frame interval of Nms;
f) After receiving the data packets, the receiving party carries out statistical analysis on the total packet number and the packet loss number of the received data and sends confirmation information to the sending party;
g) If the data packet is completely received, the receiving side replies a correct receiving instruction to the sender, and if the data packet is not completely received, the receiving side sends a reissue application confirmation instruction to the sender;
h) And e) when the receiving party receives a correct receiving instruction, repeating the steps d) to g) until the data transmission is finished, when the receiving party receives a reissue application confirmation instruction, entering a data reissue flow, and repeating the steps d) to g) after the reissue data is finished until the data transmission is finished.
Preferably, the data block transmission instruction in step a) includes: file type, instruction type, request time limit and verification information of the request transmission.
Preferably, in step a), the data initiator sends the data block transmission instruction to the receiver by using a wireless communication mode.
Preferably, the data initiator in step a) is a server using a short-range wireless communication technology, an embedded terminal installed on the industrial equipment, and a handheld terminal, and the data block transmission instruction includes: parameter files, log files, fixed point data files, soe files and upgrading program files stored in the embedded terminal.
Preferably, the wireless communication is 433MHz wireless communication or bluetooth wireless communication.
Preferably, the initial packet in step c) includes: file name, file modification time, file size and file check code.
Preferably, in step e), the value of N is 6, and the value of M is 100.
Further, the data reissue process in step h) is as follows:
h-1) the receiver sends a reissue application confirmation instruction, wherein the instruction comprises the number of reissue packets and the number of data packets needing reissue;
h-2) the sender receives the reissue application confirmation instruction, and resends the data needing reissue after analysis;
h-3) the receiver confirms the reissue message.
Further, after the step h-3), if the receiving party still does not receive completely, repeating the steps h-1) to h-3) until the data transmission is finished.
The beneficial effects of the invention are: the initiator sends a data block transmission request instruction; the receiving party receives and analyzes the instruction and replies a confirmation instruction to the initiating party; the initiator sends an initial information data packet; the receiver receives and stores the data packet content and replies a confirmation instruction; the initiator continuously transmits multi-frame data packets; a receiver receives the data packet and checks and stores the data packet; the receiving party sends a reissue application; and the initiator applies for reissuing the data packet according to the reissue, and after multiple rounds of interaction, the receiver judges that the data reception is completely finished and sends a transmission stop instruction to the initiator. The invention reduces the time occupied by data interaction, improves the transmission efficiency, adopts a fault-tolerant reissue mechanism to ensure the integrity of data, and is particularly suitable for data communication under the conditions of complex wireless network environment and interference.
Drawings
FIG. 1 is a schematic diagram of a data interaction method according to the present invention;
FIG. 2 is a diagram illustrating a packet reissue process according to the present invention.
Detailed Description
The invention will be further explained with reference to fig. 1 and 2.
A data interaction method based on short-distance wireless communication comprises that an initiator sends a data block transmission request instruction; the receiving party receives and analyzes the instruction and replies a confirmation instruction to the initiating party; the initiator sends an initial information data packet; the receiver receives and stores the data packet content and replies a confirmation instruction; the initiator continuously sends multi-frame data packets; a receiver receives the data packet and checks and stores the data packet; the receiving party sends a reissue application; and after the initiator applies for reissue of the data packet according to reissue, the receiver judges that the data reception is completely finished after multiple rounds of interaction, and sends a transmission stop instruction to the initiator. Specifically, the method comprises the following steps:
as shown in fig. 1, a) a data originator sends a data block transmission instruction to a receiver;
b) The receiving party analyzes the instruction and replies confirmation information to the initiating party.
c) The sender sends an initial data packet.
d) The receiver receives the initial data packet, analyzes and stores the content in the initial data packet for analyzing and comparing the subsequent data;
e) The transmitting side continuously transmits the M packet data packets according to the frame interval of Nms.
f) After receiving the data packets, the receiving party performs statistical analysis on the total number of the received data packets and the number of the packet loss, and sends confirmation information to the sending party.
g) If the data packet is completely received, the receiving side replies a correct receiving instruction to the sender, and if the data packet is not completely received, the receiving side sends a reissue application confirmation instruction to the sender. The multi-frame data packet content comprises the total packet number of the current transmission, the packet sequence number of the current transmission, the file information content and the verification content of the current packet data. The reissue application message is used for the receiver to apply for reissue data packets to the sender due to data loss caused by wireless signal interference, and the reissue data packets mainly comprise the number of data packets to be reissued, data packet numbers and check information.
h) And e) when the receiving party receives a correct receiving instruction, repeating the steps d) to g) until the data transmission is finished, when the receiving party receives a reissue application confirmation instruction, entering a data reissue flow, and repeating the steps d) to g) after the reissue data is finished until the data transmission is finished.
The initiator sends a data block transmission request instruction; the receiving party receives and analyzes the instruction and replies a confirmation instruction to the initiating party; the initiator sends an initial information data packet; the receiver receives and stores the data packet content and replies a confirmation instruction; the initiator continuously sends multi-frame data packets; a receiver receives the data packet and checks and stores the data packet; the receiving party sends a reissue application; and after the initiator applies for reissue of the data packet according to reissue, the receiver judges that the data reception is completely finished after multiple rounds of interaction, and sends a transmission stop instruction to the initiator. The invention reduces the time occupied by data interaction, improves the transmission efficiency, adopts a fault-tolerant reissue mechanism to ensure the integrity of data, and is particularly suitable for data communication under the conditions of complex wireless network environment and interference.
Specifically, the data block transmission instruction in step a) includes: file type, instruction type, request time limit and verification information of the request transmission.
Specifically, in step a), the data initiator sends a data block transmission instruction to the receiver in a wireless communication mode.
Specifically, the data initiator in step a) is a server adopting a short-distance wireless communication technology, an embedded terminal installed on the industrial equipment and a handheld terminal, and the data block transmission instruction comprises: parameter files, log files, fixed point data files, soe files and upgrading program files stored in the embedded terminal.
Preferably, the wireless communication is 433MHz wireless communication or bluetooth wireless communication.
Specifically, the starting data packet in step c) includes: file name, file modification time, file size and file check code.
Preferably, in step e), the value of N is 6, and the value of M is 100.
As shown in fig. 2, the data reissuing process in step h) is as follows:
h-1) the receiver sends a reissue application confirmation instruction, wherein the instruction comprises the number of reissue packets and the number of data packets needing reissue.
h-2) the sender receives the reissue application confirmation instruction, and resends the data needing reissue after analysis.
h-3) the receiver confirms the reissue message.
And in order to ensure the integrity of data transmission, after the step h-3), if the receiver still does not receive completely, repeating the steps h-1) to h-3) until the data transmission is finished.
Finally, it should be noted that: although the present invention has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that modifications may be made to the embodiments described above, or equivalents may be substituted for elements thereof. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (9)

1. A data interaction method based on short-distance wireless communication is characterized by comprising the following steps:
a) The data initiator sends a data block transmission instruction to a receiver;
b) The receiving party analyzes the instruction and replies confirmation information to the initiating party;
c) A sender sends an initial data packet;
d) A receiver receives the initial data packet, analyzes and stores the content in the initial data packet for analyzing and comparing subsequent data;
e) A sender continuously sends M packet data packets according to the frame interval of Nms;
f) After receiving the data packets, the receiving party carries out statistical analysis on the total number of the received data packets and the number of the packet loss, and sends confirmation information to the sending party;
g) If the data packet is completely received, the receiving side replies a correct receiving instruction to the sending side, and if the data packet is not completely received, the receiving side sends a reissue application confirmation instruction to the sending side;
h) And e) when the receiving party receives a correct receiving instruction, repeating the steps d) to g) until the data transmission is finished, when the receiving party receives a reissue application confirmation instruction, entering a data reissue flow, and repeating the steps d) to g) after the reissue data is finished until the data transmission is finished.
2. The data interaction method based on short-range wireless communication according to claim 1, wherein: the data block transmission instruction in the step a) comprises the following steps: file type, instruction type, request time limit and verification information of the request transmission.
3. The data interaction method based on short-range wireless communication according to claim 1, wherein: in the step a), the data initiator sends a data block transmission instruction to the receiver by using a wireless communication mode.
4. The data interaction method based on short-range wireless communication according to claim 1, wherein: the data initiator in the step a) is a server adopting a short-distance wireless communication technology, an embedded terminal and a handheld terminal which are installed on the industrial equipment, and the data block transmission instruction comprises: parameter files, log files, fixed point data files, soe files and upgrading program files stored in the embedded terminal.
5. The data interaction method based on short-range wireless communication of claim 3, wherein: the wireless communication is 433MHz wireless communication or Bluetooth wireless communication.
6. The data interaction method based on short-range wireless communication according to claim 1, wherein: the initial data packet in step c) comprises: file name, file modification time, file size and file check code.
7. The data interaction method based on short-range wireless communication according to claim 1, wherein: in step e), the value of N is 6, and the value of M is 100.
8. The data interaction method based on short-range wireless communication of claim 1, wherein the data reissue process in step h) comprises:
h-1) the receiver sends a reissue application confirmation instruction, wherein the instruction comprises the number of reissue packets and the number of data packets needing reissue;
h-2) the sender receives the reissue application confirmation instruction, and resends the data needing reissue after analysis;
h-3) the receiver confirms the reissue message.
9. The data interaction method based on short-range wireless communication according to claim 8, wherein: and after the step h-3), if the receiver still does not receive completely, repeating the steps h-1) to h-3) until the data transmission is finished.
CN202210940983.1A 2022-08-08 2022-08-08 Data interaction method based on short-distance wireless communication Pending CN115334483A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210940983.1A CN115334483A (en) 2022-08-08 2022-08-08 Data interaction method based on short-distance wireless communication
PCT/CN2023/083295 WO2024031995A1 (en) 2022-08-08 2023-03-23 Data interaction method based on near field communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210940983.1A CN115334483A (en) 2022-08-08 2022-08-08 Data interaction method based on short-distance wireless communication

Publications (1)

Publication Number Publication Date
CN115334483A true CN115334483A (en) 2022-11-11

Family

ID=83922010

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210940983.1A Pending CN115334483A (en) 2022-08-08 2022-08-08 Data interaction method based on short-distance wireless communication

Country Status (2)

Country Link
CN (1) CN115334483A (en)
WO (1) WO2024031995A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024031995A1 (en) * 2022-08-08 2024-02-15 山东浪潮科学研究院有限公司 Data interaction method based on near field communication

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101309269A (en) * 2008-06-17 2008-11-19 北京锐安科技有限公司 Method and system for silent hiding network transmission
CN110099086B (en) * 2018-01-31 2020-11-06 国广融合(北京)传媒科技发展有限公司 Data transmission method based on fusion transmission system
CN110995697B (en) * 2019-11-29 2023-01-03 济南慧天云海信息技术有限公司 Big data transmission method and system
CN114422626B (en) * 2022-01-28 2022-11-08 北京秒如科技有限公司 Protocol transmission method, device and system
CN115334483A (en) * 2022-08-08 2022-11-11 山东浪潮科学研究院有限公司 Data interaction method based on short-distance wireless communication

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024031995A1 (en) * 2022-08-08 2024-02-15 山东浪潮科学研究院有限公司 Data interaction method based on near field communication

Also Published As

Publication number Publication date
WO2024031995A1 (en) 2024-02-15

Similar Documents

Publication Publication Date Title
CN101543110B (en) System, mobile communication unit and method for testing a receiver performance
CN102299772B (en) Method for receiving and managing a downlink radio link control data block in an EPRS mobile electronic communication device
CN1236579C (en) Method and apparatus for data recovery in ARQ systems
CN109495157B (en) Full-duplex high-throughput rate bidirectional ARQ communication system and method based on CCSDS protocol
CN101919197A (en) Increasing capacity in wireless communications
CN1937477A (en) Method and apparatus for improving transmission delay of status report in a wireless communications system
RU2007113374A (en) METHOD AND DEVICE FOR TRANSMITTING REPORTS FOR SMS MESSAGES IN WIRELESS COMMUNICATION SYSTEMS
CN109743077B (en) Anti-interference frequency hopping communication method in heat hidden channel
CN112566282B (en) Internet of things information transmission method and platform
CN115334483A (en) Data interaction method based on short-distance wireless communication
CN110831010A (en) Multichannel data sending and receiving method and device and data transmission system
CN107241161A (en) A kind of data transmission method and device
CN101647213A (en) System and method for processing data and control messages in a communication system
CN113645600A (en) Data transmission method, device, terminal and storage medium
WO2016172818A1 (en) Response message transmission method and network device
CN102932820A (en) Link processing method, device and system
CN102026247B (en) Establishment and maintenance method of cognitive radio communication link based on non-rate code
CN113794538A (en) High-efficiency dual-computer communication feedback method
RU2300843C2 (en) Method for transferring multiple-parameter adapted digital messages
CN113259881A (en) NB-IoT (NB-IoT) Internet of things terminal system and method for realizing self-adaptive service model
CN110139228B (en) Short message parallel sending method and device
CN114157674A (en) Wireless communication method, device, system, server and medium
CN101145892A (en) A quick response method, system, receiver and transmitter
CN112888003B (en) Mine equipment communication signal processing method based on 5G industrial Internet
CN115277295B (en) Communication method of controller and controller

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