CN108521675A - A kind of low-consumption wireless collision-proof method - Google Patents

A kind of low-consumption wireless collision-proof method Download PDF

Info

Publication number
CN108521675A
CN108521675A CN201810365402.XA CN201810365402A CN108521675A CN 108521675 A CN108521675 A CN 108521675A CN 201810365402 A CN201810365402 A CN 201810365402A CN 108521675 A CN108521675 A CN 108521675A
Authority
CN
China
Prior art keywords
transmitting terminal
rssi
low
threshold parameters
collision
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
CN201810365402.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.)
Zhejiang Morgan Intelligent Technology Co Ltd
Original Assignee
Zhejiang Morgan Intelligent Technology 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 Zhejiang Morgan Intelligent Technology Co Ltd filed Critical Zhejiang Morgan Intelligent Technology Co Ltd
Priority to CN201810365402.XA priority Critical patent/CN108521675A/en
Publication of CN108521675A publication Critical patent/CN108521675A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • H04W74/08Non-scheduled access, e.g. ALOHA
    • H04W74/0808Non-scheduled access, e.g. ALOHA using carrier sensing, e.g. carrier sense multiple access [CSMA]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/318Received signal strength
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of low-consumption wireless collision-proof methods, are related to wireless control field, including step:S10 sets delay parameter and RSSI threshold parameters in transmitting terminal;S20, transmitting terminal carry out timing according to delay parameter;S30, transmitting terminal obtain RSSI value out of place spatial dimension;S40, transmitting terminal compare the RSSI value obtained out of current spatial and the RSSI threshold parameters of setting;S50, transmitting terminal emit wireless signal;S60, receiving terminal receives and handles wireless signal, if the RSSI threshold parameters of the RSSI value and setting that are obtained out of current spatial in S40 compare, the parameter area of RSSI threshold parameters is not met, then transmitting terminal comes back to step S20 and carries out timing, by the method for time and spatial spreading, effectively reduces power consumption while realizing the purpose of wireless signal anticollision.

Description

A kind of low-consumption wireless collision-proof method
Technical field
The present invention relates to wireless control fields, and in particular to a kind of low-consumption wireless collision-proof method.
Background technology
With the continuous improvement of people's living standards, the equipment using wireless control is more and more, inevitably just hold Easily there is the problems such as co-channel interference, control failure, may bring great inconvenience to user, in existing wireless technology often Method includes that transmitting terminal emits a wireless signal to receiving terminal, and this method wireless signal is easy to lose because of interference It loses, another method is that transmitting terminal transmitting persistently emits multiple wireless signal, and this method can greatly improve the success of reception Rate, but its power consumption, with regard to very high, transmitting terminal is easy out of power quickly.
Invention content
To solve the above-mentioned problems, the purpose of the present invention is to provide a kind of wireless collision-proof methods of low-power consumption.
The technical solution adopted in the present invention is to achieve the goals above:A kind of low-consumption wireless collision-proof method, packet Include transmitting terminal and receiving terminal, including step:
S10 sets delay parameter and RSSI threshold parameters in transmitting terminal;
S20, transmitting terminal carry out timing according to delay parameter;
S30, transmitting terminal obtain RSSI value out of place spatial dimension;
S40, transmitting terminal compare the RSSI value obtained out of current spatial and the RSSI threshold parameters of setting;
S50, transmitting terminal emit wireless signal;
S60, receiving terminal receive and handle wireless signal.
If the RSSI threshold parameters of the RSSI value and setting that are obtained out of current spatial in S40 compare, do not meet The parameter area of RSSI threshold parameters, then transmitting terminal come back to step S20 and carry out timing.
By using above-mentioned technical proposal, the time for emitting signal between transmitting terminal and transmitting terminal is differentiated, and lead to It crosses and obtains the intensity that the RSSI value in current spatial determines signal interference in current spatial, whether can currently be sent out in this, as judgement The condition of signal is penetrated, the probability of radio signal collision is so just first reduced from launch time, then by limiting current spatial The RSSI threshold parameter ranges that signal can be emitted, there are the possibility that high intensity is interfered in current spatial when avoiding transmitting signal Property, improve the success rate of transmitting signal.
Preferably, the delay parameter that transmitting terminal is set in S10 is generated at random by function.
By using above-mentioned technical proposal, each transmitting terminal can one delay parameter of automated randomized generation, so Reduce artificial intervention, the possibility that signal interferes greatly is reduced while emitted from the probability of random function Property.
Preferably, the delay parameter range generated at random is 20-200ms.
By using above-mentioned technical proposal, a suitable range is on the time of transmitting terminal delay emission signal, both It will not lead to the increase of signal collision probability, the power consumption of transmitting terminal will not be caused to increase.
Preferably, the signal of transmitting terminal single emission includes the data packets of multiple repetitions in S50.
By using above-mentioned technical proposal, can avoid because partly interference leads to the loss of data packet present in space.
Preferably, the quantity of the data packet is 3.
By using above-mentioned technical proposal, can be avoided because of the interference in space under the premise of ensureing transmitting terminal power consumption The loss of caused data packet.
Preferably, each data packet is equipped with synchronous code and ID codes.
By using above-mentioned technical proposal, data is made to be surrounded by identified foundation, greatly prevents losing for data packet It loses.
Compared with the prior art, the advantages of the present invention are as follows:Wireless signal can be prevented in the case where ensureing low-power consumption Collision.
Description of the drawings
Fig. 1 is the flow diagram of the present invention.
Specific implementation mode
Below in conjunction with attached drawing embodiment, present invention is further described in detail.
Embodiment 1
A kind of low-consumption wireless collision-proof method as shown in Figure 1 comprising transmitting terminal and receiving terminal, its step are as follows:
S10 sets delay parameter and RSSI threshold parameters in transmitting terminal;
S20, transmitting terminal carry out timing according to delay parameter;
S30, transmitting terminal obtain RSSI value out of place spatial dimension;
S40, transmitting terminal compare the RSSI value obtained out of current spatial and the RSSI threshold parameters of setting;
S50, transmitting terminal emit wireless signal;
S60, receiving terminal receive and handle wireless signal.
If the RSSI threshold parameters of the RSSI value and setting that are obtained out of current spatial in S40 compare, do not meet The parameter area of RSSI threshold parameters, then transmitting terminal come back to step S20 and carry out timing.
In the present embodiment, the delay parameter set in the system of transmitting terminal in S10 is wireless for limiting transmitting terminal transmitting The time of signal, unit are millisecond (ms), so assume to have transmitting terminal A and transmitting terminal B while needing to emit wireless signal, to it Transmitting terminal A emits after being delayed 20ms after setting delay parameter, and transmitting terminal B emits after being delayed 40ms, then has been spaced apart its hair The time for penetrating wireless signal avoids the collision of its signal.
In the present embodiment, for judging, signal interference is strong in space as one for the RSSI threshold parameters set in S10 The parameter area of degree will carry out the RSSI value in space after the completion of transmitting terminal is according to the delay parameter timing set It checks, the RSSI value got in space is compared with the RSSI threshold parameters set then, sees the RSSI in space Whether value is within the scope of suitable interference strength, and transmitting terminal can emit if meeting launching condition, if the RSSI value in space The range for not meeting the RSSI threshold parameters set then illustrates there is signal interference in space, then transmitting terminal comes back to S20's Step re-starts timing waiting and emits next time, so in the case where more transmitting terminals are carried out at the same time, passes through the time first The time interval that transmitting terminal is emitted wireless signal by delay is opened, then in order to avoid the delay time set between transmitting terminal exists The possibility repeated, is further detected the signal interference intensity in space, to avoid wireless communication to the greatest extent Number collision possibility.
In the present embodiment, the delay parameter of transmitting terminal setting is generated at random by function, the delay parameter generated at random Range reduces human intervention in 20-200ms, such transmitting terminal, and multiple hairs are greatly reduced from random number probability It penetrates end while emitting the possibility that signal generates interference, while the power consumption that transmitting terminal parameter will not be made excessive.
In the present embodiment, the signal of each transmitting terminal single emission includes the data packet of 3 repetitions, and each data packet is all provided with There are a synchronous code and ID codes, such data packet just has identified foundation, even if while emitting 3 data packets and can be deposited in space There is partial data packet loss in interference, can also improve the success rate of reception as far as possible.
According to the present embodiment, the anti-collision capacity of wireless signal is emitted to 3 transmitting terminals and power consumption is tested, as a result such as Under:
The transmitting terminal selected in test is made of microcontroller (PIC16LF1936) and wireless chip A7139.
For A7139 under 100K rates, transmitting 16 byte numbers, one group of data need used time 13.6ms, random to send with 20ms Integral multiple send 3 packets at random, packet maximum delay is 60ms, therefore distributes 3 bag datas up to 180ms, passes through the time The probability of interval collision has been lowered to 1/9, if the same packet number sent get over the probability that multipacting is hit will be smaller.
Wherein by test, A7139 and microcontroller (1MHz) emit required electric current at 7DBM (DBM is transmission power) About 18mA (mA is current unit), when not emitting, standby required electric current is 1mA, and the electric current for obtaining RSSI values is 5mA, if 3 A transmitting terminal without delay emission, then required for consume power P=18mA*180ms=3240mA.ms;And it uses and prolongs When transmitting after, required power P=18mA*60ms+1mA*120ms=1200mA.ms, the power of reduction has some idea of.
But only makes transmitting terminal delay emission by the way that delay parameter is arranged, but still might have the possibility of collision, 3 hairs It is only as follows by the collision situation of delay emission to penetrate end:
A emits +++ and+B emits --- C transmittings====
There is the case where still hitting packet among this known to table.
After the step of detecting RSSI value is added, transmitting terminal can all detect current RSSI value before transmission, until space In annoyance level comply with standard after, then emitted, the method by being detected after delay, when 3 transmitting terminals transmittings Collision situation is as follows:
1, A emits +++ and+B emits --- C transmittings====
20ms 40 60 80 10 120 140 160 180ms
A emits ++++ ++++ ++++
B emits —— —— ——
C emits ==== ==== ====
The possibility of data-bag lost caused by signal interference in space is so avoided to the greatest extent.
And this result that power detection is carried out to the method is:
Power P=18mA*60ms+1mA*120ms+5mA*1ms*6=1230mA.ms
It can be seen that the present invention realizes the purpose for making wireless signal anticollision under the premise of low-power consumption.
Although the preferred embodiment of the present invention described in detail above, it is to be clearly understood that for this field Technical staff for, the invention may be variously modified and varied.Appoint made by all within the spirits and principles of the present invention What modification, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (6)

1. a kind of low-consumption wireless collision-proof method, including transmitting terminal and receiving terminal, which is characterized in that including step:
S10 sets delay parameter and RSSI threshold parameters in transmitting terminal;
S20, transmitting terminal carry out timing according to delay parameter;
S30, transmitting terminal obtain RSSI value out of place spatial dimension;
S40, transmitting terminal compare the RSSI value obtained out of current spatial and the RSSI threshold parameters of setting;
S50, transmitting terminal emit wireless signal;
S60, receiving terminal receive and handle wireless signal.
If the RSSI threshold parameters of the RSSI value and setting that are obtained out of current spatial in S40 compare, RSSI are not met The parameter area of parameter is limited, then transmitting terminal returns to step S20 and re-starts timing.
2. low-consumption wireless collision-proof method according to claim 1, which is characterized in that the delay parameter of transmitting terminal setting It is generated at random by function.
3. low-consumption wireless collision-proof method according to claim 2, which is characterized in that the delay ginseng generated at random Number range is 20-200ms.
4. low-consumption wireless collision-proof method according to claim 1, which is characterized in that transmitting terminal single emission in S50 Signal include the data packets of multiple repetitions.
5. low-consumption wireless collision-proof method according to claim 4, which is characterized in that the quantity of the data packet is 3 It is a.
6. low-consumption wireless collision-proof method according to claim 4, which is characterized in that each data packet is equipped with Synchronous code and ID codes.
CN201810365402.XA 2018-04-23 2018-04-23 A kind of low-consumption wireless collision-proof method Pending CN108521675A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810365402.XA CN108521675A (en) 2018-04-23 2018-04-23 A kind of low-consumption wireless collision-proof method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810365402.XA CN108521675A (en) 2018-04-23 2018-04-23 A kind of low-consumption wireless collision-proof method

Publications (1)

Publication Number Publication Date
CN108521675A true CN108521675A (en) 2018-09-11

Family

ID=63428980

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810365402.XA Pending CN108521675A (en) 2018-04-23 2018-04-23 A kind of low-consumption wireless collision-proof method

Country Status (1)

Country Link
CN (1) CN108521675A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111278058A (en) * 2020-01-20 2020-06-12 全球能源互联网研究院有限公司 Method, device and storage medium for coordinating conflict of random access signal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102118824A (en) * 2011-01-14 2011-07-06 利尔达科技有限公司 Radio communication anti-collision method based on received signal strength indicator (RSSI)
CN102695256A (en) * 2012-05-29 2012-09-26 无锡赛睿科技有限公司 Parallel transmission method and system thereof for wireless sensor network
CN105049135A (en) * 2015-05-29 2015-11-11 上海斐讯数据通信技术有限公司 Conducted interference debugging method and system of frequency modulation (FM) signals and electronic equipment
US20160150535A1 (en) * 2014-11-21 2016-05-26 Panasonic Intellectual Property Management Co., Ltd. Wireless communication device
US20180102032A1 (en) * 2016-10-10 2018-04-12 Netgear, Inc. Intruder detection using a wireless service mesh network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102118824A (en) * 2011-01-14 2011-07-06 利尔达科技有限公司 Radio communication anti-collision method based on received signal strength indicator (RSSI)
CN102695256A (en) * 2012-05-29 2012-09-26 无锡赛睿科技有限公司 Parallel transmission method and system thereof for wireless sensor network
US20160150535A1 (en) * 2014-11-21 2016-05-26 Panasonic Intellectual Property Management Co., Ltd. Wireless communication device
CN105049135A (en) * 2015-05-29 2015-11-11 上海斐讯数据通信技术有限公司 Conducted interference debugging method and system of frequency modulation (FM) signals and electronic equipment
US20180102032A1 (en) * 2016-10-10 2018-04-12 Netgear, Inc. Intruder detection using a wireless service mesh network

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111278058A (en) * 2020-01-20 2020-06-12 全球能源互联网研究院有限公司 Method, device and storage medium for coordinating conflict of random access signal
CN111278058B (en) * 2020-01-20 2022-09-23 全球能源互联网研究院有限公司 Method, device and storage medium for coordinating conflict of random access signal

Similar Documents

Publication Publication Date Title
CN105409147B (en) The method and its equipment for the search signal that detection communicates device for device
US10236726B2 (en) Joint selection of antennas and transmission power level for wireless energy transfer
CN104349290B (en) The method and apparatus of paging message is sent and received in machine type communication
Yang et al. Data-oriented transmission in future wireless systems: Toward trustworthy support of advanced Internet of Things
US7746961B2 (en) Efficient detection of predetermined sequences
CN108282898A (en) Accidental access method, user equipment and the network equipment
EP2088812A2 (en) Method for generating and transmitting optimal cell ID codes
CN106793147B (en) Pilot tone accidental access method based on timing-advance information
CN109257082A (en) A kind of antenna switching handling method, apparatus and system
CN105517136B (en) The method that dynamic adjusts emission power of wireless terminal
CN110521176A (en) Technology and equipment for the third level synchronization signal designs for new radio
CN107105474A (en) A kind of accidental access method limited in arrowband Internet of Things based on dynamic access
CN106550441A (en) A kind of control method and device of radio transmitted power
CN108521675A (en) A kind of low-consumption wireless collision-proof method
EP3518597A1 (en) Data transmission method and apparatus
CN108449150A (en) Star based on radio map information ground disturbance coordination method, device and equipment
JP2019522410A (en) Information transmission method, network device, and user equipment
CN102281621A (en) Method, base station and user terminal for implementing transmission power control in wireless network
CN106658730A (en) Transmission method with low control overhead
CN108541075A (en) The method and device of random access based on non-orthogonal multiple technology
CN106330256B (en) A kind of frequency-hopping method based on radio
CN103037473B (en) A kind of application method and terminal of terminal-pair up-link wireless public resource
CN106209159A (en) A kind of packet targeting sequencing and packet header and processing method thereof and Frame
US8068458B2 (en) Random access preamble selection
CN107708121A (en) A kind of optimal cognitive radio networks channel crosses the building method of sequence

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: 20180911

RJ01 Rejection of invention patent application after publication