CN103974392B - One-to-many wireless communications method - Google Patents
One-to-many wireless communications method Download PDFInfo
- Publication number
- CN103974392B CN103974392B CN201410141538.4A CN201410141538A CN103974392B CN 103974392 B CN103974392 B CN 103974392B CN 201410141538 A CN201410141538 A CN 201410141538A CN 103974392 B CN103974392 B CN 103974392B
- Authority
- CN
- China
- Prior art keywords
- data
- terminal
- slave terminal
- communication
- master terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Abstract
The invention discloses a kind of one-to-many wireless communications method, it is related to the radio transmitting method technical field of data.Methods described is according to the numbers of several slave terminal data traffics, make different communications protocol, the different communication protocol is, for the less slave terminal of data communication amount, take after oneself there are a data, inquiry master terminal port is gone in active, it is required that send data, after obtaining the response of master terminal, start the processing transmission means of transmission data, for the more slave terminal of data communication amount, take master terminal constantly to inquire slave terminal, then slave terminal response inquiry, the transmission means of data is sent.During data communication, using a kind of new method, mistakes and omissions packet can be repeated automatically to transmit.The power consumption of the less slave terminal of data communication amount is greatly reduced by using methods described, increases the reliability of the data transfer of machine system, so as to reduce the power consumption of integral device, improves communication distance.
Description
Technical field
The present invention relates to the radio transmitting method technical field of data, more particularly to an a kind of master terminal and multiple subordinates
Wireless communications method between terminal.
Background technology
Current communication technical field, radio communication are that a focus, WIFI, ZigBee, BlueTooth etc. is all general
Wireless communication standard.They are directed to the every aspect of the communication technology, have been applied to many fields, such as internet,
The field such as voice communication and Internet of Things.These technologies, all have become the standard of an industry, there is reliability, general
Property and generality.But exactly because their these features, are often just not suitable for some special fields.Some special necks
Domain, device end is just so several, and communication data amount some is very big, and some very littles, working method has continuous, and what is had is interrupted,
Communication distance has far, and what is had is close, is that communication need is different in a word.Cost, R&D cycle are besides considered, this
A little general technologies are clearly unsuitable for some specific communication situations.
The content of the invention
The technical problems to be solved by the invention are to provide a kind of one-to-many wireless communications method, by using the side
Method greatly reduces the power consumption of the less slave terminal of data communication amount, so as to reduce the power consumption of integral device.
In order to solve the above technical problems, the technical solution used in the present invention is:A kind of one-to-many wireless communications method, its
It is characterised by:Methods described makes different communications protocol according to the number of several slave terminal data traffics, described
Different communication protocols are that, for the less slave terminal of data communication amount, after taking oneself to have data, active is gone
Inquire master terminal port, it is desirable to data are sent, after obtaining the response of master terminal, start to send the processing transmission means of data, it is right
In the more slave terminal of data communication amount, master terminal is taken constantly to inquire slave terminal, then slave terminal response inquiry,
Send the transmission means of data.
Preferably, communicated for master terminal using following communication means:
The first step:Master terminal detects all communication channels, according to signal intensity, calculates the best communication of communication efficiency
Channel, and be marked;
Second step:The master terminal slave terminal more to each data communication amount broadcasts the message, and waits slave terminal
Data respond;Taken for the less slave terminal of data communication amount after oneself there are data, inquiry master terminal is removed in active
Port, it is desirable to send data, after obtaining the response of master terminal, start to send data;
3rd step:If data respond, slave terminal is told, data communication is carried out in best communication channel;
4th step:While being communicated with a slave terminal, in data switching slot, detecting remaining slave terminal is
It is no also to there are data to need to communicate, if so, being switched to the communication channel of remaining slave terminal, repeat the 3rd step.
Preferably, it is as follows for the more slave terminal of data communication amount, the means of communication:
The first step:Slave terminal works in the communication channel of oneself, and whether detection data sending port has data to need to send out
Send;
Second step:If data need to send, slave terminal, into receptive pattern, waits master from sleep mode wakeup
The communication call of terminal;
3rd step:If slave terminal does not receive the communication call of master terminal within a period of time, ignore this
Data;
4th step:If slave terminal receives the calling of master terminal, response calling, and establishes communication pattern with master terminal,
Then start to transmit data;
5th step:After master terminal has transmitted data, master terminal is waited to confirm, if the number for some mistakes and omissions that need to retransfer
According to bag, if so, carrying out mistakes and omissions packet transmission;
6th step:Transmission finishes, and master terminal enters park mode, waits next data to arrive.
Preferably, it is as follows for the less slave terminal of data communication amount, the means of communication:
The first step:Slave terminal works in the communication channel of oneself, and whether detection data sending port has data to need to send out
Send;
Second step:If data need to send, inquiry master terminal end is gone in slave terminal from sleep mode wakeup, active
Mouthful, it is desirable to data are sent, after obtaining the response of master terminal, start to send data;
3rd step:After master terminal has transmitted data, master terminal is waited to confirm, if the number for some mistakes and omissions that need to retransfer
According to bag, if so, carrying out mistakes and omissions packet transmission, and second step is repeated;
4th step:Transmission finishes, and master terminal enters park mode, waits next data to arrive.
Preferably, it is as follows for the processing method of mistakes and omissions packet:
The first step:Calculate the number of entire packet to be sent;
Second step:It is numbered to each packet, forms continuous packet row;
3rd step:Master terminal sends whole packet row and arrives slave terminal, and the slave terminal for receiving data is receiving data
Afterwards, if it find that some packets do not receive, the numbering codes of mistakes and omissions is directly transmitted to master terminal;
4th step:Master terminal receives the packet for sending mistakes and omissions after the numbering code of mistakes and omissions again, has been sent until all
Finish.
Preferably, 120 communication channels are provided between master terminal and slave terminal.
Preferably, the data communication rates between master terminal and slave terminal are 2Mbits per second.
Preferably, the data transmitted between master terminal and slave terminal are sent using subpackage, and each packet includes 32
Byte.
It is using beneficial effect caused by above-mentioned technical proposal:For one-to-many communication pattern, first according to more
The number of individual slave terminal data traffic, makes different communications protocol, for the less slave terminal of data communication amount,
After taking oneself and having data, the going of active inquires master terminal port, it is desirable to data are sent, after obtaining the response of master terminal,
Start the processing transmission means of transmission data, for the more slave terminal of data communication amount, take master terminal constantly to inquire
Slave terminal, then slave terminal response is inquired, sends the transmission means of data.Greatly reduced by using methods described
The power consumption of the less slave terminal of data communication amount, so as to reduce the power consumption of integral device.
In addition, whole equipment one shares 120 communication channels, using idle channel detection method, can in good time frequency hopping, hide
Interference signal is kept away, communication is completed in the less channel of a relative noise.
Traffic rate is 2MBits per second, such data rate, can meet the demanding terminal of the overwhelming majority, again will not
Because speed is too high and waste of resource, greatly have compressed the communication holding time of the few slave terminal of data volume, the time use up
It is possible to leave the big slave terminal equipment of data volume for.
Data take subpackage to send, and each packet is divided into 32 bytes, no matter how many data, it is necessary to using 32 bytes as
Transmitted on basis.So also for the resource occupation problem for considering the few slave of data volume.Because set for these
Standby, a packet can transmission finishes.If packet is too small, information content that each packet can include also mistake
It is small, it is unfavorable for the raising of transmission efficiency.Packet size is excessive, also there is the burden of waste of resource, in practice, it has been found that 32 words
Save best.
Processing for mistakes and omissions packet, a kind of brand-new method is employed, be exactly to calculate whole numbers to be sent first
According to the number of bag, then to each package number, continuous packet row are formed, then send the structure mistake of whole packet
Go, the slave terminal of receiving finds that some packets do not receive, directly transmit the numbering generation of mistakes and omissions after packet row are received
Code arrives master terminal, and so, master terminal just sends the packet of mistakes and omissions again, is sent until all.
Embodiment
With reference to embodiments of the invention, the technical scheme in the embodiment of the present invention is clearly and completely described,
Obviously, described embodiment is only the part of the embodiment of the present invention, rather than whole embodiments.Based in the present invention
Embodiment, the every other embodiment that those of ordinary skill in the art are obtained under the premise of creative work is not made,
Belong to the scope of protection of the invention.
Many details are elaborated in the following description to facilitate a thorough understanding of the present invention, still the present invention can be with
It is different from other manner described here using other to implement, those skilled in the art can be without prejudice to intension of the present invention
In the case of do similar popularization, therefore the present invention is not limited by following public specific embodiment.
Embodiment one
The invention discloses a kind of one-to-many wireless communications method, methods described communicates according to several slave terminal data
Amount number, make different communications protocol, different data realized by the communication protocol slave terminal for making different
Transmission method.The different communication protocol is:For the less slave terminal of data communication amount, oneself is taken there are data
Afterwards, active go inquire master terminal port, it is desirable to send data, after obtaining the response of master terminal, start to send the place of data
Transmission means is managed, for the more slave terminal of data communication amount, takes master terminal constantly to inquire slave terminal, then subordinate
Terminal response is inquired, sends the transmission means of data.It is less that data communication amount is greatly reduced by using methods described
The power consumption of slave terminal, so as to reduce the power consumption of integral device.
Further, communicated for master terminal using following communication means:
The first step:Master terminal detects all communication channels, according to signal intensity, calculates the best communication of communication efficiency
Channel, and be marked;
Second step:The master terminal slave terminal more to each data communication amount broadcasts the message, and waits slave terminal
Data respond;Taken for the less slave terminal of data communication amount after oneself there are data, inquiry master terminal is removed in active
Port, it is desirable to send data, after obtaining the response of master terminal, start to send data;
3rd step:If data respond, slave terminal is told, data communication is carried out in best communication channel;
4th step:While being communicated with a slave terminal, in data switching slot, detecting remaining slave terminal is
It is no also to there are data to need to communicate, if so, being switched to the communication channel of remaining slave terminal, repeat the 3rd step.
The more slave terminal of data communication amount and the less slave terminal of data traffic are communicated using different data
Mode.
Further, it is as follows for the more slave terminal of data communication amount, the means of communication:
The first step:Slave terminal works in the communication channel of oneself, and whether detection data sending port has data to need to send out
Send;
Second step:If data need to send, slave terminal, into receptive pattern, waits master from sleep mode wakeup
The communication call of terminal;
3rd step:If slave terminal does not receive the communication call of master terminal within a period of time, ignore this
Data;
4th step:If slave terminal receives the calling of master terminal, response calling, and establishes communication pattern with master terminal,
Then start to transmit data;
5th step:After master terminal has transmitted data, master terminal is waited to confirm, if the number for some mistakes and omissions that need to retransfer
According to bag, if so, carrying out mistakes and omissions packet transmission;
6th step:Transmission finishes, and master terminal enters park mode, waits next data to arrive.
Further, it is as follows for the less slave terminal of data communication amount, the means of communication:
The first step:Slave terminal works in the communication channel of oneself, and whether detection data sending port has data to need to send out
Send;
Second step:If data need to send, inquiry master terminal end is gone in slave terminal from sleep mode wakeup, active
Mouthful, it is desirable to data are sent, after obtaining the response of master terminal, start to send data;
3rd step:After master terminal has transmitted data, master terminal is waited to confirm, if the number for some mistakes and omissions that need to retransfer
According to bag, if so, carrying out mistakes and omissions packet transmission, and second step is repeated;
4th step:Transmission finishes, and master terminal enters park mode, waits next data to arrive.
Processing for mistakes and omissions packet, a kind of brand-new method is employed, it is specific as follows:
The first step:Calculate the number of entire packet to be sent;
Second step:It is numbered to each packet, forms continuous packet row;
3rd step:Master terminal sends whole packet row and arrives slave terminal, and the slave terminal for receiving data is receiving data
Afterwards, if it find that some packets do not receive, the numbering codes of mistakes and omissions is directly transmitted to master terminal;
4th step:Master terminal receives the packet for sending mistakes and omissions after the numbering code of mistakes and omissions again, has been sent until all
Finish.
In addition, whole equipment one shares 120 communication channels, using idle channel detection method, can in good time frequency hopping, hide
Interference signal is kept away, communication is completed in the less channel of a relative noise.Lead to it should be noted that the present invention is not limited to 120
Letter channel, the number of channel of other numbers are also possible.
Traffic rate is 2MBits per second, such data rate, can meet the demanding terminal of the overwhelming majority, again will not
Because speed is too high and waste of resource, greatly have compressed the communication holding time of the few slave terminal of data volume, the time use up
It is possible to leave the big slave terminal equipment of data volume for.It should be noted that the present invention transmission rate be not limited to it is per second
2MBits, other transmission speeds are also possible, and 2Mbits per second is preferable transmission rate.
Data take subpackage to send, and each packet is divided into 32 bytes, no matter how many data, it is necessary to using 32 bytes as
Transmitted on basis.So also for the resource occupation problem for considering the few slave of data volume.Because set for these
Standby, a packet can transmission finishes.If packet is too small, information content that each packet can include also mistake
It is small, it is unfavorable for the raising of transmission efficiency.Packet size is excessive, also there is the burden of waste of resource, in practice, it has been found that 32 words
Save best.It should be noted that each packet is not limited to 32 bytes, it is the present invention that each packet, which is divided into 32 bytes,
Select excellent packet size.
Claims (4)
- A kind of 1. one-to-many wireless communications method, it is characterised in that:Methods described is according to several slave terminal data communication amounts Number, make different communication protocol, the different communication protocol is, whole for the less subordinate of data communication amount End, after taking oneself to have data, inquiry master terminal port is gone in active, it is desirable to is sent data, is obtained the response of master terminal Afterwards, the processing transmission means of transmission data is started;It is specifically, as follows for the more slave terminal of data communication amount, the means of communication:The first step:Slave terminal works in the communication channel of oneself, and whether detection data sending port has data to need to send;Second step:If data need to send, slave terminal, into receptive pattern, waits master terminal from sleep mode wakeup Communication call;3rd step:If slave terminal does not receive the communication call of master terminal within a period of time, ignore this data;4th step:If slave terminal receives the calling of master terminal, response calling, and establishes communication pattern with master terminal, then open Begin transmission data;5th step:After data have been transmitted in slave terminal, master terminal is waited to confirm, if the data for some mistakes and omissions that need to retransfer Bag, if so, carrying out mistakes and omissions packet transmission;6th step:Transmission finishes, and slave terminal enters sleep pattern, waits next data to arrive;For the more slave terminal of data communication amount, master terminal is taken constantly to inquire slave terminal, then slave terminal rings It should inquire, send the transmission means of data;Specifically:It is as follows for the less slave terminal of data communication amount, the means of communication:The first step:Slave terminal works in the communication channel of oneself, and whether detection data sending port has data to need to send;Second step:If data need to send, inquiry master terminal port is gone in slave terminal from sleep mode wakeup, active, It is required that sending data, after obtaining the response of master terminal, start to send data;3rd step:After data have been transmitted in slave terminal, master terminal is waited to confirm, if the data for some mistakes and omissions that need to retransfer Bag, if so, carrying out mistakes and omissions packet transmission, and repeat second step;4th step:Transmission finishes, and slave terminal enters sleep pattern, waits next data to arrive;Communicated for master terminal using following communication means:The first step:Master terminal detects all communication channels, according to signal intensity, calculates the best communication letter of communication efficiency Road, and be marked;Second step:The master terminal slave terminal more to each data communication amount broadcasts the message, and waits the data of slave terminal Response;To be taken for the less slave terminal of data communication amount after oneself there are data, inquiry master terminal port is gone in active, It is required that sending data, after obtaining the response of master terminal, start to send data;3rd step:If data respond, slave terminal is told, data communication is carried out in the best communication channel of communication efficiency;4th step:While being communicated with a slave terminal, in data switching slot, whether remaining slave terminal is detected There are data to need to communicate, if so, being switched to the communication channel of remaining slave terminal, repeat the 3rd step;It is as follows for the processing method of mistakes and omissions packet:The first step:Calculate the number of entire packet to be sent;Second step:It is numbered to each packet, forms continuous packet row;3rd step:Slave terminal sends whole packet row and arrives master terminal, receives the master terminal of data after data are received, if It was found that some packets do not receive, the numbering codes of mistakes and omissions is directly transmitted to slave terminal;4th step:Slave terminal receives the packet for sending mistakes and omissions after the numbering code of mistakes and omissions again, is sent until all.
- 2. one-to-many wireless communications method according to claim 1, it is characterised in that:Set between master terminal and slave terminal There are 120 communication channels.
- 3. one-to-many wireless communications method according to claim 1, it is characterised in that:Between master terminal and slave terminal Data communication rates are 2Mbits per second.
- 4. one-to-many wireless communications method according to claim 1, it is characterised in that:Passed between master terminal and slave terminal The data sent are sent using subpackage, and each packet includes 32 bytes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410141538.4A CN103974392B (en) | 2014-04-09 | 2014-04-09 | One-to-many wireless communications method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410141538.4A CN103974392B (en) | 2014-04-09 | 2014-04-09 | One-to-many wireless communications method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103974392A CN103974392A (en) | 2014-08-06 |
CN103974392B true CN103974392B (en) | 2018-03-09 |
Family
ID=51243305
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410141538.4A Expired - Fee Related CN103974392B (en) | 2014-04-09 | 2014-04-09 | One-to-many wireless communications method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103974392B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106454705B (en) * | 2016-09-30 | 2019-12-20 | 深圳前海零距物联网科技有限公司 | Intelligent riding multi-device wireless communication system and method |
CN113219235B (en) * | 2021-05-10 | 2024-01-19 | 南京海兴电网技术有限公司 | High-instantaneity data updating method applied to electricity acquisition system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101034933A (en) * | 2007-02-08 | 2007-09-12 | 北京航空航天大学 | Self-adaptive multi-address access method and central control node |
WO2010037304A1 (en) * | 2008-09-26 | 2010-04-08 | 华为技术有限公司 | A method and apparatus for data transmitting |
CN101854736A (en) * | 2010-05-18 | 2010-10-06 | 北京交通大学 | Method for converting wireless sensor network protocols |
CN103634932A (en) * | 2012-08-27 | 2014-03-12 | 联想(北京)有限公司 | Data transmission method and electronic apparatus |
-
2014
- 2014-04-09 CN CN201410141538.4A patent/CN103974392B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101034933A (en) * | 2007-02-08 | 2007-09-12 | 北京航空航天大学 | Self-adaptive multi-address access method and central control node |
WO2010037304A1 (en) * | 2008-09-26 | 2010-04-08 | 华为技术有限公司 | A method and apparatus for data transmitting |
CN101854736A (en) * | 2010-05-18 | 2010-10-06 | 北京交通大学 | Method for converting wireless sensor network protocols |
CN103634932A (en) * | 2012-08-27 | 2014-03-12 | 联想(北京)有限公司 | Data transmission method and electronic apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN103974392A (en) | 2014-08-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107005851B (en) | A kind of device-to-device D2D communication means, apparatus and system | |
JP2005524364A5 (en) | ||
WO2008111496A3 (en) | Setting of network allocation vectors in a wireless communication system | |
CN104519493A (en) | Method for networking multiple Bluetooth devices | |
ATE513448T1 (en) | ADAPTIVE COMMUNICATIONS PROTOCOL FOR WIRELESS NETWORKS | |
WO2013189246A1 (en) | Device to device communication method, device, system, computer program and storage medium | |
WO2008078311A3 (en) | Multi-function wireless terminal | |
CN103974225B (en) | Communication device, device-to-device communication system and wireless communication method thereof | |
RU2012149951A (en) | PROVIDING MULTIPLE LEVELS OF SERVICE FOR WIRELESS COMMUNICATION | |
WO2012033367A3 (en) | Apparatus and method for supporting periodic multicast transmission in machine to machine communication system | |
CN107787029A (en) | The transmission method and device of wake-up association in a kind of WLAN | |
TW200623730A (en) | Method of configuring network device | |
WO2010018505A3 (en) | A system, method and apparatus for interference avoidance between two wireless communication networks | |
CN104168657A (en) | Communication method and communication device of same-frequency networking wireless local area network | |
US20130064166A1 (en) | System and Method for Direct Multi-User Transmission | |
WO2014110938A1 (en) | Discovery signal sending method, communication terminal and system in device to device communication | |
CN103974392B (en) | One-to-many wireless communications method | |
CN104993996A (en) | Dispatching communication method using local area network to transmit data in real time | |
RU2016147079A (en) | TERMINAL DEVICE, BASIC STATION AND METHOD FOR COMMUNICATION OF TERMINAL DEVICE AND BASIC STATION | |
WO2016161609A1 (en) | Signal transceiving method and apparatus in device-to-device (d2d) system | |
CN102149139A (en) | Method and system for sending uplink data of machine type communication (MTC) system | |
CN108471615A (en) | A kind of method of shared sub-band and base station | |
CN111787431B (en) | Centralized meter reading system of dual-mode networking communication technology and implementation method thereof | |
CN102802167B (en) | A kind of method and system for obtaining communication link quality of terminal | |
WO2023207722A1 (en) | Rs signal transmission method and device, storage medium, and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180309 Termination date: 20190409 |
|
CF01 | Termination of patent right due to non-payment of annual fee |