CN109729542A - A kind of one-to-many antijam wireless communication method - Google Patents

A kind of one-to-many antijam wireless communication method Download PDF

Info

Publication number
CN109729542A
CN109729542A CN201910105771.XA CN201910105771A CN109729542A CN 109729542 A CN109729542 A CN 109729542A CN 201910105771 A CN201910105771 A CN 201910105771A CN 109729542 A CN109729542 A CN 109729542A
Authority
CN
China
Prior art keywords
data
extension set
packet
host
data packet
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
CN201910105771.XA
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.)
Guangzhou Procept Biotech Co Ltd
Original Assignee
Guangzhou Procept Biotech 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 Guangzhou Procept Biotech Co Ltd filed Critical Guangzhou Procept Biotech Co Ltd
Priority to CN201910105771.XA priority Critical patent/CN109729542A/en
Publication of CN109729542A publication Critical patent/CN109729542A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a kind of one-to-many antijam wireless communication methods, are first respectively provided with independent address code in host and n extension set, and then data variable is converted to data packet by host, and send the data packet with the first extension address code to extension set first;After extension set receives data packet, compare address code, if address code is consistent, handles the data variable of corresponding extension set, and send the acknowledgment packet to host;After host has sent data packet, it is delayed and repeats sending step to next extension set, until last extension set, finally repeats conversion and sending step.Pass through this method, it effectively prevent the interference by other hosts or extension set in range, it can not only effectively complete one-to-many control system, and continuous control can be carried out to all extension sets, to well solve the existing hair that is difficult to the problem of receiving, suitable for the various occasions for needing continuous control extension set to act more.

Description

A kind of one-to-many antijam wireless communication method
Technical field
The present invention relates to wireless communication technology fields, and in particular to a kind of one-to-many antijam wireless communication method.
Background technique
Wireless communication module is widely used in vehicle monitoring, remote control, telemetering, small wireless network, radio meter register, gate inhibition System, cell call, industrial data acquisition system, wireless tag, identification, non-contact RF smart card, micro radio data Terminal, fire safety system, wireless remote-control system, biological signal collecting, hydrometeorology monitoring, robot control, wireless 232 number According in the fields such as communication, wireless 485/422 data communication, digital audio, Digital Image Transmission.
However existing communication product is mostly to use bluetooth One-to-one communication, it is difficult to solve a multicast (and transmitter Multiple receivers) system continuous data communication issue, and be easy to interfere with each other between system in actually using cause to communicate it is unstable, Influence whole use.
Summary of the invention
In view of the deficiencies of the prior art, the present invention provides a kind of one-to-many antijam wireless communication method.
To achieve the above object, the technical solution of the present invention is as follows:
A kind of one-to-many antijam wireless communication method,
S1: independent address code is respectively provided in host and n extension set;
S2: data variable is converted to data packet by host, and n=1 is arranged, and also includes address date in data packet;
S3: data packet of the host transmission with the n-th extension address code to extension set n-th, and n=n+1;
S4: after extension set receives data packet, compare address code;
S5: if address code is consistent, the corresponding data variable of extension set processing, and host is sent the acknowledgment packet to, if host exists The confirmation packet that the extension set is not received in time rating is then repeated to send data packet to the extension set and be counted, when number reaches When 15, the step is jumped out;
S6: after data packet is sent completely, host is delayed;
S7: circulation S3 to S6 step to host completes to send the data packet of last extension set;
S8: circulation S2 to S7 step.
Further, the control containing packet of the data variable in S2 data, each extension set processing data and preliminary data, institute The address date in data packet, packet control data, each extension set processing data, preliminary data is stated to be arranged successively.It can be convenient for dividing in this way Machine distinguishes each Data Position, to confirm the data content that need to handle part.
Further, in the confirmation packet in the S5 comprising address date and packet control data, the address date with Packet control data are arranged successively.
It further, also include CRC data in the data packet and confirmation packet, the CRC data is arranged in data packet Rearmost position.The bit error rate can be effectively reduced in this way, and be not easy to influence Data Position in extension set data discrimination packet.
Further, the time rating value range in the S5 is 250 μ s-4000 μ s.
Further, the time being delayed in the S6 is 0ms-1ms.
Compared with the prior art, the invention has the following advantages:
In this way, independent address code is added, it is effectively prevent the interference by other hosts or extension set in range, and logical It crosses the delay that host is sent between data packet all extension sets are carried out while being controlled, can not only effectively complete one-to-many control volume System, and continuous control can be carried out to all extension sets, to well solve the existing hair that is difficult to the problem of receiving, it is applicable in more In the various occasions for needing continuous control extension set to act.
Detailed description of the invention
Fig. 1 is the host work flow diagram of one-to-many antijam wireless communication method;
Fig. 2 is the extension set workflow schematic diagram of one-to-many antijam wireless communication method;
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real Applying mode, the present invention is described in further detail.
Embodiment
A kind of one-to-many antijam wireless communication method, method following steps:
S1: independent address code is respectively provided in host and n extension set;
S2: data variable is converted to data packet by host, and n=1 is arranged, and also includes address date in data packet;
S3: data packet of the host transmission with the n-th extension address code to extension set n-th, and n=n+1;
S4: after extension set receives data packet, compare address code;
S5: if address code is consistent, the corresponding data variable of extension set processing, and host is sent the acknowledgment packet to, if host exists The confirmation packet that the extension set is not received in time rating is then repeated to send data packet to the extension set and be counted, when number reaches When 15, the step is jumped out;
S6: after data packet is sent completely, host is delayed;
S7: circulation S3 to S6 step to host completes to send the data packet of last extension set;
S8: circulation S2 to S7 step.
Using a host and two extension sets as example, it is respectively provided in host and extension set first, extension set second independent Address code, to distinguish that host and extension set first, extension set second, wireless receiving and dispatching are professional using an envelope money of NORDIC company production NRF2401+ transceiver, work in 2.4G Hz ISM band.In this way by the way that independent address code is arranged, can be effectively prevented Other different hosts generate signal interference and influence to extension set first and extension set second.
After independent address code is provided with, the data such as movement needed for extension set first and extension set second are passed through master by host Singlechip chip inside machine is converted to data packet, includes address date, packet control data, the processing of extension set first in data packet Data, the processing of extension set second data, preliminary data and CRC data, address date, packet control data, extension set first handle number It is arranged successively according to, extension set second processing data, preliminary data and CRC data.Address date is used to send data packet in host When, extension set first and extension set second are recognized, to confirm sending object;Packet control data bag has included packet length, packet identification, packet The data such as answer logo;The data containing processing needed for extension set first and needs are made dynamic in the processing data of extension set first Make;The movement that the data containing processing needed for extension set second and needs are made in the processing data of extension set second;Preliminary data is used It is used in controlling upgrading as system;CRC data is the cyclic redundancy check of 1-2 byte, to reduce the bit error rate.
While conversion, setting one is used to record the numerical variable n of currently transmitted extension number and sets n to host 1.Then the data packet with the n-th extension address code is sent to the extension set, that is, extension set first by host, if extension set first connects Compare address code after receiving the data packet of host transmission, then starts to make corresponding actions after address code is consistent.It is sent after execution Confirmation is wrapped to host acknowledgement, is confirmed to include address date, packet control data and CRC data in packet, is confirmed the address in wrapping Data are consistent with host address code.After data packet is sent from host, host does not receive the transmission of extension set first in 250 μ s Confirmation packet can then be repeated to send data packet again, and be started counting, if not receiving the confirmation of extension set transmission yet in 15 times Packet, then do not continue to send, and skips to and be delayed in next step.
It includes that there are two types of situations that wherein host, which does not receive the confirmation packet of extension set transmission, the first is extension set failure nothing Method receives data packet to handle work, and second is after extension set receives data packet and handles work, and part is broken down Lead to not send confirmation and wrap to feed back to host.And the time of host judgement can be adjusted according to actual needs, in 250 μ s To in the range of 4000 μ s.
Extension set first and extension set second pass through built-in singlechip chip and set in the data for receiving which section part Hold, such as extension set first handles data portions contents by singlechip chip default only processing extension set first, and extension set second passes through list Piece machine core piece default only processing extension set second handles data portions contents, so that guaranteeing is not in the abnormal situation of processing.
After receiving confirmation packet or jumping out the step of repetition sends data packet, host first carries out of short duration delay, and n =n+1, that is, current n value is added 1, wherein delay time is 1ms, and main purpose is to be spaced apart the practical operation of each extension set, Host is avoided to obscure, the time can adjust according to actual needs, within the scope of 0ms-1ms.After delay, host will have second The data packet of extension address code is sent to extension set second, and the second extension set treatment process is identical as extension set first.After the completion, then it jumps back to To S2, resetting n is 1, and repeats conversion and sending step, and completion can be realized and continuously control two extension sets.
Simply to illustrate that technical concepts and features of the invention, its purpose is allows in the art above-described embodiment Those of ordinary skill cans understand the content of the present invention and implement it accordingly, and it is not intended to limit the scope of the present invention.It is all It is the equivalent changes or modifications that the essence of content according to the present invention is made, should be covered by the scope of protection of the present invention.

Claims (6)

1. a kind of one-to-many antijam wireless communication method, it is characterised in that:
S1: independent address code is respectively provided in host and n extension set;
S2: data variable is converted to data packet by host, and n=1 is arranged, and also includes address date in data packet;
S3: data packet of the host transmission with the n-th extension address code to extension set n-th, and n=n+1;
S4: after extension set receives data packet, compare address code;
S5: if address code is consistent, the corresponding data variable of extension set processing, and host is sent the acknowledgment packet to, if host is specified The confirmation packet that the extension set is not received in time is then repeated to send data packet to the extension set and be counted, when number reaches 15 When, jump out the step;
S6: after data packet is sent completely, host is delayed;
S7: circulation S3 to S6 step to host completes to send the data packet of last extension set;
S8: circulation S2 to S7 step.
2. one-to-many antijam wireless communication method according to claim 1, it is characterised in that: the data in the S2 become Amount control containing packet data, each extension set processing data and preliminary data, address date, packet control data in the data packet, Each extension set processing data, preliminary data are arranged successively.
3. one-to-many antijam wireless communication method according to claim 1, it is characterised in that: the confirmation packet in the S5 It is interior to be arranged successively comprising address date and packet control data, the address date with packet control data.
4. one-to-many antijam wireless communication method according to claim 1, it is characterised in that: the data packet and confirmation It also include CRC data in packet, the CRC data is arranged in data packet rearmost position.
5. one-to-many antijam wireless communication method according to claim 1, it is characterised in that: when specified in the S5 Between value range be 250 μ s-4000 μ s.
6. one-to-many antijam wireless communication method according to claim 1, it is characterised in that: be delayed in the S6 when Between be 0ms-1ms.
CN201910105771.XA 2019-02-01 2019-02-01 A kind of one-to-many antijam wireless communication method Pending CN109729542A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910105771.XA CN109729542A (en) 2019-02-01 2019-02-01 A kind of one-to-many antijam wireless communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910105771.XA CN109729542A (en) 2019-02-01 2019-02-01 A kind of one-to-many antijam wireless communication method

Publications (1)

Publication Number Publication Date
CN109729542A true CN109729542A (en) 2019-05-07

Family

ID=66301364

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910105771.XA Pending CN109729542A (en) 2019-02-01 2019-02-01 A kind of one-to-many antijam wireless communication method

Country Status (1)

Country Link
CN (1) CN109729542A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5432798A (en) * 1989-07-19 1995-07-11 British Telecommunications, Plc Data communication method and system
DE69532987D1 (en) * 1994-07-28 2004-06-09 Koninkl Philips Electronics Nv METHOD AND ARRANGEMENT FOR MESSAGE TRANSMISSION
CN201146501Y (en) * 2007-09-05 2008-11-05 勾延根 Digital cordless microphone
CN203120168U (en) * 2012-11-07 2013-08-07 乐鑫信息科技(上海)有限公司 WiFi control application system and improved client thereof
CN104660380A (en) * 2013-11-25 2015-05-27 上海益尚信息科技有限公司 Novel multi-standard method for dynamic allocation retransmission and control data retransmission in wireless communication network
CN104837144A (en) * 2015-03-20 2015-08-12 张韶冬 Internet of things system networking based on ISM frequency bands below 1GHz
CN106571894A (en) * 2016-11-10 2017-04-19 深圳市民德电子科技股份有限公司 Bluetooth information sending and receiving methods

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5432798A (en) * 1989-07-19 1995-07-11 British Telecommunications, Plc Data communication method and system
DE69532987D1 (en) * 1994-07-28 2004-06-09 Koninkl Philips Electronics Nv METHOD AND ARRANGEMENT FOR MESSAGE TRANSMISSION
CN201146501Y (en) * 2007-09-05 2008-11-05 勾延根 Digital cordless microphone
CN203120168U (en) * 2012-11-07 2013-08-07 乐鑫信息科技(上海)有限公司 WiFi control application system and improved client thereof
CN104660380A (en) * 2013-11-25 2015-05-27 上海益尚信息科技有限公司 Novel multi-standard method for dynamic allocation retransmission and control data retransmission in wireless communication network
CN104837144A (en) * 2015-03-20 2015-08-12 张韶冬 Internet of things system networking based on ISM frequency bands below 1GHz
CN106571894A (en) * 2016-11-10 2017-04-19 深圳市民德电子科技股份有限公司 Bluetooth information sending and receiving methods

Similar Documents

Publication Publication Date Title
CN103503554B (en) The system and method for the clear channel assessment for supporting to carry out simultaneous transmission according to multiple wireless protocols
CN104581909B (en) Coordinate the method and radio communication device of multiple wireless communication modules
CN101552625B (en) Method for operating wireless communication apparatus and apparatus capable of performing wireless communication
CN105654155B (en) Bifrequency selection label system and label data update and label information feedback method
CN102223731A (en) Interface equipment compatible with various terminals in internet of things and realization method thereof
CN103985234A (en) Remote control method based on bluetooth broadcast packet
CN107222777A (en) A kind of set top box WiFi and Bluetooth coexistence optimization method and device
CN103914419A (en) Communication method and system among board-level MCUs
CN107135472A (en) A kind of method of data transfer, device and electronic equipment
CN103973643A (en) Intelligent protocol converter
CN107948059A (en) EtherCAT and Modbus protocol conversion gateways based on SPARC architecture microprocessors
CN106162528A (en) LoRa signal and Bluetooth signal modular converter, conversion method and sender unit
CN101729219A (en) Wireless communication apparatus and wireless communication method
CN107748509B (en) ASI communication slave machine implementation method based on single chip microcomputer transceiving control
CN103209009B (en) Server wireless input device adopting near field communication (NFC) matching and working method thereof
CN109729542A (en) A kind of one-to-many antijam wireless communication method
CN107222848A (en) Coding method, transmitting terminal, storage medium and a kind of radio reception device of Wifi frame
CN103784125A (en) One-to-many wireless data collection and communication method for monitoring physiological parameters
CN106792903A (en) A kind of multi-to-multi wireless data sending method and device, method of reseptance and device
CN204741451U (en) Digit intercom and data processing device thereof
US20130135532A1 (en) Apparatus and method for communicating wireless video based on zigbee network protocol
CN104902350B (en) A kind of digital walkie-talkie and its data processing equipment, data transmission method for uplink
CN108039936A (en) A kind of communication protocol data bag and communication system for unmanned operation equipment
CN107295667A (en) A kind of access-in resource method of adjustment and device
CN103440746B (en) A kind of AFHDS2 intercommunication system being applied to telecontrolled model

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190507

RJ01 Rejection of invention patent application after publication