CN107708088A - Data transmission method and wireless communication system - Google Patents
Data transmission method and wireless communication system Download PDFInfo
- Publication number
- CN107708088A CN107708088A CN201711026199.5A CN201711026199A CN107708088A CN 107708088 A CN107708088 A CN 107708088A CN 201711026199 A CN201711026199 A CN 201711026199A CN 107708088 A CN107708088 A CN 107708088A
- Authority
- CN
- China
- Prior art keywords
- detection device
- time slot
- gateway device
- data
- message
- 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.)
- Granted
Links
- 238000004891 communication Methods 0.000 title claims abstract description 52
- 238000000034 method Methods 0.000 title claims abstract description 34
- 230000005540 biological transmission Effects 0.000 title claims abstract description 29
- 238000001514 detection method Methods 0.000 claims abstract description 164
- 238000011144 upstream manufacturing Methods 0.000 abstract description 3
- 230000015654 memory Effects 0.000 description 17
- 238000007689 inspection Methods 0.000 description 8
- 238000005259 measurement Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 7
- 238000012545 processing Methods 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000006855 networking Effects 0.000 description 2
- 230000002457 bidirectional effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000004549 pulsed laser deposition Methods 0.000 description 1
- 230000000284 resting effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/20—Control channels or signalling for resource management
- H04W72/23—Control channels or signalling for resource management in the downlink direction of a wireless link, i.e. towards a terminal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/04—Wireless resource allocation
- H04W72/044—Wireless resource allocation based on the type of the allocated resource
- H04W72/0446—Resources in time domain, e.g. slots or frames
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W74/00—Wireless channel access
- H04W74/04—Scheduled access
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention provides a kind of data transmission method and wireless communication system.Methods described is applied to wireless communication system.The system includes multiple gateway devices and multiple detection devices.Gateway device sends beacon message to detection device successively according to gateway device sequence number in a beacon slot section.Detection device according to the beacon message that receives determines to receive the period of data message in time slot section is issued and the period corresponding to reporting in time slot section the detection device to upload data.Gateway device is being issued in time slot section according to gateway device sequence number progress data distributing.Detection device receives the data in the corresponding period.Detection device uploads data in the corresponding period in reporting time slot section.It need not be shaken hands when upstream data and downlink data being separated and time sharing transmissions, and transmitting data, thus, reduce the power consumption of detection device, simplify the complexity of protocol stack.
Description
Technical field
The present invention relates to communication technical field, in particular to a kind of data transmission method and wireless communication system.
Background technology
With the arrival of the Internet of things era, the various Wireless Networkings of Internet of Things are applied to various scenes, all kinds of wireless groups
Net mode has obtained quick development.It is more using point-to-point, point-to-multipoint wireless networking mode at present, that is, a master
Machine and an equipment or multiple equipment are by wirelessly carrying out bidirectional data transfers.
In some specific environments, substantial amounts of sensor device is arranged in some region, and the data of area sensor equipment need
Timing large area reports, and downlink data is seldom.In practical application, for such situation, a large amount of wireless hosts can be arranged.For
So many wireless device (main frame and sensor device) while the system of work, it is to need to consider that air interference conflicts with collision
Matter of utmost importance.
As ZigBee be using carrier sense with collide it is anti-tampering reduce conflicting between wireless signal, needed before sending data
Channel-monitoring is carried out, when no equipment sends data, handshake is retransmited and is shaken hands with destination end, and then carries out data biography
It is defeated.Because the quantity of sensor device is big, data need to be reported regularly, and downlink data is few, can be produced through the above way more
Power consumption, and efficiency of transmission is low.
The content of the invention
In order to overcome above-mentioned deficiency of the prior art, the technical problems to be solved by the invention are to provide a kind of data and passed
Transmission method and wireless communication system, it can be separated upstream data and downlink data and time sharing transmissions, and transmits data
When need not be shaken hands, thus, reduce the power consumption of detection device, simplify the complexity of protocol stack.
The embodiment of the present invention provides a kind of data transmission method, applied to wireless communication system, the wireless communication system
Include including multiple gateway devices and multiple detection devices, methods described:
The gateway device sends beacon report to detection device successively according to gateway device sequence number in a beacon slot section
Text;
The detection device determines to receive the time of data message in time slot section is issued according to the beacon message received
Section and the detection device in time slot section is reported to upload the period corresponding to data;
The gateway device is being issued in time slot section according to gateway device sequence number progress data distributing;
The detection device receives the data in the corresponding period;
The detection device uploads data in the corresponding period in reporting time slot section.
The embodiment of the present invention also provides a kind of wireless communication system, the wireless communication system include multiple gateway devices and
Multiple detection devices,
The gateway device, which is used to be sent to detection device successively in a beacon slot section according to gateway device sequence number, to be believed
Mark message;
The detection device is used to be determined to receive data message in time slot section is issued according to the beacon message received
Period and the detection device in time slot section is reported to upload the period corresponding to data;
The gateway device is additionally operable to issuing in time slot section according to gateway device sequence number progress data distributing;
The detection device is additionally operable to receive the data in the corresponding period;
The detection device is additionally operable to upload data in the corresponding period in reporting time slot section.
In terms of existing technologies, the invention has the advantages that:
The embodiment of the present invention provides a kind of data transmission method and wireless communication system.Applied to wireless communication system, institute
Stating wireless communication system includes multiple gateway devices and multiple detection devices.The gateway device is according to gateway device sequence number one
Beacon message is sent in beacon slot section to detection device successively.The detection device determines according to the beacon message received
The period that data message is received in time slot section is issued, and when reporting in time slot section corresponding to the detection device upload data
Between section.The gateway device is being issued in time slot section according to gateway device sequence number progress data distributing, the detection device reception
Data in the corresponding period.The detection device uploads data in the corresponding period in reporting time slot section.Thus, will be upper
Row data and downlink data are separated and time sharing transmissions, and need not be shaken hands during transmission data, improves efficiency of transmission,
The power consumption of detection device is reduced, simplifies the complexity of protocol stack.
To enable the above-mentioned purpose of invention, feature and advantage to become apparent, present pre-ferred embodiments cited below particularly, and
Accompanying drawing appended by cooperation, is described in detail below.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by embodiment it is required use it is attached
Figure is briefly described, it will be appreciated that the following drawings illustrate only certain embodiments of the present invention, therefore be not construed as pair
The restriction of scope, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to this
A little accompanying drawings obtain other related accompanying drawings.
Fig. 1 is wireless communication system schematic diagram provided in an embodiment of the present invention.
Fig. 2 is the block diagram of gateway device in Fig. 1.
Fig. 3 is the block diagram of detection device in Fig. 1.
Fig. 4 is one of schematic flow sheet of data transmission method provided in an embodiment of the present invention.
Fig. 5 is the two of the schematic flow sheet of data transmission method provided in an embodiment of the present invention.
Fig. 6 is the schematic flow sheet of the sub-step that step S120 includes in Fig. 5.
Fig. 7 is the three of the schematic flow sheet of data transmission method provided in an embodiment of the present invention.
Fig. 8 is time slot division figure provided in an embodiment of the present invention.
Icon:10- wireless communication systems;100- gateway devices;110- first memories;The storage controls of 120- first;
130- first processors;The wireless communication units of 140- first;200- detection devices;210- second memories;220- second is stored
Controller;230- second processors;The wireless communication units of 240- second.
Embodiment
Below in conjunction with accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Ground describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.Generally exist
The component of the embodiment of the present invention described and illustrated in accompanying drawing can be configured to arrange and design with a variety of herein.Cause
This, the detailed description of the embodiments of the invention to providing in the accompanying drawings is not intended to limit claimed invention below
Scope, but it is merely representative of the selected embodiment of the present invention.Based on embodiments of the invention, those skilled in the art are not doing
The every other embodiment obtained on the premise of going out creative work, belongs to the scope of protection of the invention.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi
It is defined, then it further need not be defined and explained in subsequent accompanying drawing in individual accompanying drawing.Meanwhile the present invention's
In description, term " first ", " second " etc. are only used for distinguishing description, and it is not intended that instruction or hint relative importance.
Below in conjunction with the accompanying drawings, some embodiments of the present invention are elaborated.It is following in the case where not conflicting
Feature in embodiment and embodiment can be mutually combined.
Fig. 1 is refer to, Fig. 1 is the schematic diagram of wireless communication system 10 provided in an embodiment of the present invention.The radio communication system
System 10 includes multiple gateway devices 100 and multiple detection devices 200.The gateway device 100 is sent to the detection device 200
Control instruction, the detection device 200 receives control instruction, and the data for being sent to the gateway device 100 will be needed to send
To the gateway device 100.
Fig. 2 is refer to, Fig. 2 is the block diagram of gateway device 100 in Fig. 1.The gateway device 100 can be, but
It is not limited to, main frame, server etc..The gateway device 100 includes:First memory 110, the first storage control 120, first
The wireless communication unit 140 of processor 130 and first.
First memory 110, the first storage control 120, the wireless communication unit 140 of first processor 130 and first are each
Directly or indirectly it is electrically connected between element, to realize the transmission of data or interaction.For example, these elements can lead between each other
Cross one or more communication bus or signal wire is realized and is electrically connected with.The first processor 130 is stored in first by operation
Software program and module in memory 110, so as to perform various function application and data processing.
Wherein, the first memory 110 may be, but not limited to, random access memory (Random Access
Memory, RAM), read-only storage (Read Only Memory, ROM), programmable read only memory (Programmable
Read-Only Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only
Memory, EPROM), electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only
Memory, EEPROM) etc..Wherein, first memory 110 is used for storage program, and the first processor 130 is receiving execution
After instruction, described program is performed.The first processor 130 and other access of possible component to first memory 110
It can be carried out under the control of first storage control 120.
The first processor 130 is probably a kind of IC chip, has the disposal ability of signal.Above-mentioned first
Processor 130 can be at general processor, including central processing unit (Central Processing Unit, CPU), network
Manage device (Network Processor, NP) etc..Can also be digital signal processor (DSP), application specific integrated circuit (ASIC),
Field programmable gate array (FPGA) either other PLDs, discrete gate or transistor logic, discrete hard
Part component.It can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.General processor
Can be microprocessor or the processor can also be any conventional processor etc..
By first wireless communication unit 140 and other equipment, (for example other gateways are set the gateway device 100
Standby 100, detection device 200 etc.) enter row data communication.First wireless communication unit 140 can be, wireless launcher or its
He can realize the device of radio communication.
It is appreciated that structure shown in Fig. 2 is only to illustrate, gateway device 100 may also include it is more more than shown in Fig. 2 or
Less component, or there is the configuration different from shown in Fig. 2.Each component shown in Fig. 2 can use hardware, software or its
Combination is realized.
Fig. 3 is refer to, Fig. 3 is the block diagram of detection device 200 in Fig. 1.The detection device 200 can include the
Two memories 210, the second storage control 220, the wireless communication unit 240 of second processor 230 and second.
Wherein, the second memory 210, the second storage control 220, the radio communication of second processor 230 and second
First memory 110, the first storage control 120, the radio communication list of first processor 130 and first in unit 240 and Fig. 2
The hardware configuration of member 140 is identical, just no longer introduces one by one herein.
Fig. 4 is refer to, Fig. 4 is one of schematic flow sheet of data transmission method provided in an embodiment of the present invention.The side
Method is applied to the wireless communication system 10.The wireless communication system 10 includes multiple gateway devices 100 and multiple detections are set
Standby 200.The idiographic flow of data transmission method is described in detail below.
Step S110, the gateway device 100 are set to detection successively according to gateway device sequence number in a beacon slot section
Standby 200 send beacon message.
In the present embodiment, the beacon slot section includes multiple safe time slots.Each gateway device 100 is set according to gateway
Standby sequence number sends beacon message in each safe time slot to detection device 200 successively.Wherein, in a safe time slot only
One gateway device 100 sends beacon message.For example the quantity of gateway device 100 is 2, respectively a1, a2, safe time slot is successively
For time slot 1 and time slot 2.A1 sends beacon message in time slot 1, and after the end of time slot 1, a2 sends beacon message in time slot 2.
Wherein, the time span of safe time slot, which is more than, sends the time span that beacon message needs.The time of safe time slot
Length can be set according to actual conditions, such as, 5ms.
Fig. 5 is refer to, Fig. 5 is the two of the schematic flow sheet of data transmission method provided in an embodiment of the present invention.The side
Method can also include step S115.
Step S115, after a beacon message is received, the detection device 200 no longer receives other beacon messages.
In the present embodiment, after a gateway device 100 sends beacon message, in the covering model of the gateway device 100
Detection device 200 in enclosing can receive the beacon message.After detection device 200 receives a beacon message, the inspection
Measurement equipment 200 then no longer receives other beacon messages.Thus, detection device 200 is avoided to be wasted persistently to receive beacon message
Power consumption, simultaneously because have received a beacon message, the information of the transmission of gateway device 100 can be still received, ensure that
Gateway device 100 communicates with the data of detection device 200.
Step S120, the detection device 200 determine to receive number in time slot section is issued according to the beacon message received
According to message period and report the detection device 200 in time slot section to upload the period corresponding to data.
Fig. 6 is refer to, Fig. 6 is the schematic flow sheet of the sub-step that step S120 includes in Fig. 5.The step S120 can be with
Including sub-step S121, sub-step S122 and sub-step S123.
In the present embodiment, the beacon message can include the gateway for sending the gateway device 100 of the beacon message
Equipment serial number, gateway device total quantity and purpose detection device sequence number.
Sub-step S121, detection device sequence number and the purpose detection device sequence of the detection device 200 according to itself
Number judge whether to need to receive data message in the time slot section that issues.
In the present embodiment, need to send datagram to some or some detection devices 200 in the gateway device 100
When, it can include in the beacon message needing to receive the purpose detection device sequence number of the data message.The detection device 200 is logical
Cross and the detection device sequence number of itself is compared with the purpose detection device sequence number in the beacon message, so as to judge whether
Need to receive data message in the time slot section that issues.
If desired, then sub-step S122 is performed;If need not, perform sub-step S123.
Sub-step S122, the detection device 200 is then according to the net of the gateway device 100 for sending the beacon message
Equipment serial number, gateway device total quantity, purpose detection device sequence number and safe time slot is closed to be calculated with sending the beacon report
The period that gateway device 100 corresponding to text sends datagram, to keep non-sleep state within the period to receive
Data message.
In the present embodiment, judge need it is described issue time slot section receive data message after, it is necessary to receive datagram
Gateway device sequence number of the detection device 200 of text according to the gateway device 100 for sending the beacon message, gateway device sum
Amount, purpose detection device sequence number and safe time slot are calculated gateway device 100 corresponding with sending the beacon message and sent
The period of data message.Thus, after beacon text is received between the above-mentioned period, it is necessary to which the detection for receiving data message is set
Standby 200 keep sleep state, to reduce power consumption, and non-sleep state are kept within the above-mentioned period, so as to receive data message.
Thus, data message is not only have received, also reduces power consumption.
For example each safe time slot is 5ms, gateway device total quantity is 3, and the quantity of purpose detection device sequence number is 2, inspection
Measurement equipment 200 have received the beacon message that the gateway device 100 of gateway device serial number 2 is sent, then gateway device serial number 2
The period that gateway device 100 sends datagram is 25-35ms.
Further, the beacon message can also include a shift time.The shift time sends for beacon message
Difference of the time point in the safe time slot with the safe time slot starting point.The detection device 200 can be according to described inclined
Shift time, the gateway device sequence number of the gateway device 100 for sending the beacon message, gateway device total quantity, purpose inspection
Measurement equipment sequence number and safe time slot are calculated what gateway device 100 corresponding with sending the beacon message sent datagram
Time point.Wherein, the shift time in each beacon message can be with identical, can also be different.
For example each safe time slot is 5ms, gateway device total quantity is 3, and the quantity of purpose detection device sequence number is 2, inspection
Measurement equipment 200 have received the beacon message that the gateway device 100 of gateway device serial number 2 is sent.Skew in the beacon message
Time is 1.5ms, shows that beacon message transmission time point is 6.5ms.Because same gateway device 100 is sent out in safe time slot
Literary shift time of delivering newspaper is constant, therefore, the gateway device 100 of gateway device serial number 2 can be obtained further according to shift time
The time point to send datagram is 26.5ms.Thus, can further determine that the time in a dormant state of detection device 200 and
It the time of non-sleep state, ensure that data communicate, while reduce power consumption.
Sub-step S123, the detection device 200 is according to the gateway device of the gateway device 100 for sending the beacon message
Sequence number, gateway device total quantity, purpose detection device sequence number, safe time slot and the detection device sequence number of itself are calculated in institute
State and report the period corresponding to reported data in time slot section.
For example each safe time slot is 5ms, gateway device total quantity is 3, and the quantity of purpose detection device sequence number is 2, inspection
The detection device 200 of measurement equipment serial number 1 have received the beacon message that the gateway device 100 of gateway device serial number 2 is sent.Institute
State detection device 200 and can be then calculated according to above- mentioned information and report the period corresponding to reported data in time slot section described
For 45-50ms.
Step S130, the gateway device 100 are being issued in time slot section according to gateway device sequence number progress data distributing.
In the present embodiment, the time slot section that issues issues time slot including multiple.The time slot that issues includes multiple safety
Time slot, the quantity for each issuing the safe time slot that time slot includes are corresponding with the quantity of purpose detection device sequence number.Such as Mei Gean
Full-time gap is 5ms, and the quantity of purpose detection device sequence number is 2, and it is then 10ms each to issue time slot.
Each gateway device 100 is sent out in time slot in each of the lower successively according to gateway device sequence number to be sent to detection device 200
Data message.Wherein, an only gateway device 100 in time slot is issued at one to send datagram.
Issued described in time slot section, the data message that each gateway device 100 is sent is identical, thus, has expanded and has wirelessly covered
Lid scope, the detection device 200 for ensureing to need to receive data message can receive the data-message for needing to receive.
Step S140, the detection device 200 receive the data in the corresponding period.
In the present embodiment, it is necessary to which the detection device 200 for receiving data message is sent according to the data message being calculated
Time point enters non-sleep state, so as to receive the data message for needing to receive.The detection device of data message need not be received
200 can keep resting state, to reduce power consumption.
Step S150, the detection device 200 upload data in the corresponding period in reporting time slot section.
In the present embodiment, it is described to report time slot section to include multiple safe time slots.The safety for reporting time slot section to include
The quantity of time slot is corresponding with the maximum quantity of detection device 200 in the wireless communication system 10.Thus, in detection device 200
Maximum quantity in, the detection device 200 of setting can be added or be removed according to actual conditions.Each detection device
200 upload data in each safe time slot to the gateway device 100 successively according to detection device sequence number.Due to when setting
The whole wireless zone of all gateway devices 100 covers all detection devices 200, and therefore, detection device 200 will necessarily receive
The beacon message sent to some gateway device 100.In this case, all gateway devices 100 report time slot section described
Non-sleep state is in, the detection device 200 uploads data, necessarily has gateway device 100 to receive the upload successively
Data.Wherein, when uploading data, only have the upload data of detection device 200 in a safe time slot.
In the embodiment of the present embodiment, if the total quantity of the detection device 200 in Current wireless communication system 10 is small
In the maximum total quantity of the detection device 200, last detection device 200 in Current wireless communication system 10 reports
After data, remaining time slots are then without the process of reported data.For example the maximum total quantity of the detection device 200 is 100, institute
State and report time slot section to include 100 safe time slots, the total quantity of the detection device 200 in presently described wireless communication system 10 is
80,80 detection devices 200 in Current wireless communication system 10 are successively according to detection device sequence number in preceding 80 safe time slots
Reported data, then no data transmits in rear 20 safe time slots.
Fig. 7 is refer to, Fig. 7 is the three of the schematic flow sheet of data transmission method provided in an embodiment of the present invention.The side
Method can also include step S161, step S162 and step S163.
Step S161, the detection device 200 is according to the beacon message of reception, detection device maximum quantity and gateway device
100 are calculated competition slot section respectively.
In the present embodiment, it is maximum that detection device in the wireless communication system 10 is stored with each detection device 200
Quantity.The detection device 200 can be according to the gateway of the gateway device 100 of the beacon message in the beacon message of reception
Equipment serial number, gateway device total quantity, purpose detection device sequence number, safe time slot, whole communication cycle length and described wireless
Competition slot section is calculated in detection device maximum quantity in communication system 10.Due to setting the wireless communication system 10
When, the maximum quantity of the detection device 200 in the wireless communication system 10 is arranged to definite value, therefore the gateway device
Thus 100 can be calculated competition slot section.
Step S162, the detection device 200 to the gateway device 100 send message, and/or gateway device 100 to
Other gateway devices 100 and/or detection device 200 send message.
When in the present embodiment, in competition slot section, gateway device 100 can mutually send message, can also be to inspection
Measurement equipment 200 sends message.The detection device 200 can also send message to the gateway device 100.
Step S163, if being not received by reply message in preset time, message is sent again until the competition
Time slot section terminates.
In this embodiment, the detection device 200 is only receiving data message, is uploading number after beacon message is received
According to, need to keep non-sleep state when competition slot section sends message, to reduce work(in other times then in a dormant state
Consumption.
Fig. 8 is refer to, Fig. 8 is time slot division figure provided in an embodiment of the present invention.Communication cycle T can include beacon successively
Time slot section (A1-An), issue time slot section (B1-Bn), report time slot section (C) and competition slot section (D).Wherein, gateway device 100
Total quantity be n, safe time slot is t, and the quantity of purpose detection device sequence number is h, and m is detection device in wireless communication system 10
200 maximum quantity.In beacon slot section, gateway device 100 is sent in safe time slot t successively according to gateway device sequence number
Beacon message, and sent datagram successively issuing in time slot ht issuing in time slot section.Need to receive the inspection of data message
Measurement equipment 200 then enters non-sleep state to receive data message in the corresponding data distributing period.Report in time slot section,
Each detection device 200 uploads data to gateway device 100 in safe time slot t successively according to detection device sequence number.Competing
In time slot section it, gateway device 100 and detection device 200 can mutually send message, or gateway device 100 is set to other gateways
Standby 100 send message.
Referring once again to Fig. 1, the present invention also provides a kind of wireless communication system 10.The wireless communication system 10 includes more
Individual gateway device 100 and multiple detection devices 200.The gateway device 100 is used for according to gateway device sequence number in a beacon
Beacon message is sent in gap section to detection device 200 successively.The detection device 200 is used for true according to the beacon message received
It is scheduled on and issues the period that data message is received in time slot section and report the detection device 200 in time slot section to upload data pair
The period answered.The gateway device 100 is additionally operable to issuing in time slot section according to gateway device sequence number progress data distributing.Institute
Detection device 200 is stated to be additionally operable to receive the data in the corresponding period.The detection device 200 is additionally operable in time slot section is reported
Data are uploaded in the corresponding period.
In summary, the embodiment of the present invention provides a kind of data transmission method and wireless communication system.Applied to channel radio
Letter system, the wireless communication system include multiple gateway devices and multiple detection devices.The gateway device is set according to gateway
Standby sequence number sends beacon message to detection device successively in a beacon slot section.The detection device is according to the beacon received
Message determines to receive the period of data message in time slot section is issued, and reports the detection device in time slot section to upload number
According to the corresponding period.The gateway device is being issued in time slot section according to gateway device sequence number progress data distributing, the inspection
Measurement equipment receives the data in the corresponding period.The detection device uploads number in the corresponding period in reporting time slot section
According to.Thus, it need not be shaken hands, be carried when upstream data and downlink data being separated and time sharing transmissions, and transmitting data
Efficiency of transmission has been risen, has reduced the power consumption of detection device, has simplified the complexity of protocol stack.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area
For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies
Change, equivalent substitution, improvement etc., should be included in the scope of the protection.
Claims (10)
1. a kind of data transmission method, it is characterised in that applied to wireless communication system, the wireless communication system includes multiple
Gateway device and multiple detection devices, methods described include:
The gateway device sends beacon message to detection device successively according to gateway device sequence number in a beacon slot section;
The detection device according to the beacon message that receives determine to receive in time slot section is issued the period of data message and
The period corresponding to data is uploaded reporting the detection device in time slot section;
The gateway device is being issued in time slot section according to gateway device sequence number progress data distributing;
The detection device receives the data in the corresponding period;
The detection device uploads data in the corresponding period in reporting time slot section.
2. according to the method for claim 1, it is characterised in that the beacon slot section includes multiple safe time slots, described
The mode that gateway device sends beacon message according to gateway device sequence number to detection device successively in a beacon slot section includes:
Each gateway device sends beacon message in each safe time slot to detection device successively according to gateway device sequence number, its
In, only have a gateway device transmission beacon message in a safe time slot.
3. according to the method for claim 2, it is characterised in that true according to the beacon message received in the detection device
It is scheduled on and issues the period that data message is received in time slot section and report the detection device upload data in time slot section corresponding
Period the step of before, methods described also includes:
After a beacon message is received, the detection device no longer receives other beacon messages.
4. according to the method for claim 3, it is characterised in that the beacon message includes sending the net of the beacon message
Gateway device sequence number, gateway device total quantity and the purpose detection device sequence number of equipment are closed, the detection device is according to receiving
Beacon message determine in time slot section is issued receive data message period and report the detection device in time slot section
The step of uploading the period corresponding to data includes:
The detection device judges whether to need in institute according to itself detection device sequence number and the purpose detection device sequence number
State and issue time slot section reception data message;
If desired, the detection device is then according to the gateway device sequence number of the gateway device for sending the beacon message, net
Pass equipment total quantity, purpose detection device sequence number and safe time slot are calculated gateway corresponding with sending the beacon message and set
The standby period to send datagram, to keep non-sleep state within the period to receive data message;
The detection device according to the gateway device sequence number for the gateway device for sending the beacon message, gateway device total quantity,
Purpose detection device sequence number, safe time slot and the detection device sequence number of itself are calculated reports count off in time slot section described
According to the corresponding period.
5. according to the method for claim 4, it is characterised in that the beacon message also includes a shift time, described inclined
Shift time is that beacon message sends difference of the time point in the safe time slot with the safe time slot starting point, and the detection is set
Standby then according to the gateway device for sending the beacon message gateway device sequence number, gateway device total quantity, purpose detect
The time that gateway device corresponding with sending the beacon message sends datagram is calculated in equipment serial number and safe time slot
The step of section, includes:
The detection device is according to the gateway device sequence of the shift time, the gateway device for sending the beacon message
Number, gateway device total quantity, purpose detection device sequence number and safe time slot be calculated it is corresponding with sending the beacon message
The time point that gateway device sends datagram.
6. according to the method for claim 4, it is characterised in that it is described issue time slot section include it is multiple issue time slot, it is described
Issuing time slot includes multiple safe time slots, each issues the quantity and purpose detection device sequence number of the safe time slot that time slot includes
Quantity is corresponding, and the gateway device includes issuing the step of carrying out data distributing according to gateway device sequence number in time slot section:
Each gateway device is sent out in time slot in each of the lower successively according to gateway device sequence number to send datagram to detection device, its
In, an only gateway device in time slot is issued at one and is sent datagram.
7. according to the method for claim 4, it is characterised in that it is described to report time slot section to include multiple safe time slots, it is described
Detection device uploads the step of data in the corresponding period in reporting time slot section to be included:
Each detection device uploads data in each safe time slot to the gateway device successively according to detection device sequence number, its
In, only have a detection device upload data in a safe time slot.
8. according to the method for claim 1, it is characterised in that methods described also includes:
Competition is calculated according to the beacon message of reception, detection device maximum quantity and gateway device in the detection device respectively
Time slot section;
The detection device sends message to the gateway device, and/or gateway device is set to other gateway devices and/or detection
Preparation is delivered newspaper text;
If being not received by reply message in preset time, message is sent again until the competition slot section terminates.
9. according to the method described in any one in claim 1-8, it is characterised in that the detection device is receiving beacon
After message, only non-sleep state is kept when receiving data message, uploading data, needs in competition slot section transmission message.
10. a kind of wireless communication system, it is characterised in that the wireless communication system includes multiple gateway devices and multiple detections
Equipment,
The gateway device is used to send beacon report to detection device successively in a beacon slot section according to gateway device sequence number
Text;
The detection device is used to be determined to receive the time of data message in time slot section is issued according to the beacon message received
Section and the detection device in time slot section is reported to upload the period corresponding to data;
The gateway device is additionally operable to issuing in time slot section according to gateway device sequence number progress data distributing;
The detection device is additionally operable to receive the data in the corresponding period;
The detection device is additionally operable to upload data in the corresponding period in reporting time slot section.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711026199.5A CN107708088B (en) | 2017-10-27 | 2017-10-27 | Data transmission method and wireless communication system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711026199.5A CN107708088B (en) | 2017-10-27 | 2017-10-27 | Data transmission method and wireless communication system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN107708088A true CN107708088A (en) | 2018-02-16 |
| CN107708088B CN107708088B (en) | 2020-08-21 |
Family
ID=61176282
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201711026199.5A Active CN107708088B (en) | 2017-10-27 | 2017-10-27 | Data transmission method and wireless communication system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN107708088B (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109462662A (en) * | 2018-12-20 | 2019-03-12 | 深圳市银河风云网络系统股份有限公司 | A kind of gateway, Internet of Things net equipment, Internet of things system and control method |
| CN109743140A (en) * | 2019-02-01 | 2019-05-10 | 安徽博大光通物联科技有限公司 | Communicating control method and device based on low-power consumption wide area network |
| CN110177097A (en) * | 2019-05-27 | 2019-08-27 | 深圳市银河风云网络系统股份有限公司 | Data transmission method, apparatus and system |
| CN110535925A (en) * | 2019-08-20 | 2019-12-03 | 深圳柚石物联技术有限公司 | A kind of Internet of Things control method, device, system and computer readable storage medium |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101321127A (en) * | 2008-07-21 | 2008-12-10 | 重庆邮电大学 | A Deterministic Communication Scheduling Method for Industrial Wireless Networks |
| CN103687044A (en) * | 2012-08-31 | 2014-03-26 | 中兴通讯股份有限公司 | A data transmission method and device |
| EP3007505A1 (en) * | 2014-10-06 | 2016-04-13 | Mitsubishi Electric R&D Centre Europe B.V. | Method for signalling time and frequency resources allocation in a wireless communication system |
| CN107027177A (en) * | 2016-01-29 | 2017-08-08 | 电信科学技术研究院 | A kind of transmission of Downlink Control Information, detection method and device |
-
2017
- 2017-10-27 CN CN201711026199.5A patent/CN107708088B/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101321127A (en) * | 2008-07-21 | 2008-12-10 | 重庆邮电大学 | A Deterministic Communication Scheduling Method for Industrial Wireless Networks |
| CN103687044A (en) * | 2012-08-31 | 2014-03-26 | 中兴通讯股份有限公司 | A data transmission method and device |
| EP3007505A1 (en) * | 2014-10-06 | 2016-04-13 | Mitsubishi Electric R&D Centre Europe B.V. | Method for signalling time and frequency resources allocation in a wireless communication system |
| CN107027177A (en) * | 2016-01-29 | 2017-08-08 | 电信科学技术研究院 | A kind of transmission of Downlink Control Information, detection method and device |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109462662A (en) * | 2018-12-20 | 2019-03-12 | 深圳市银河风云网络系统股份有限公司 | A kind of gateway, Internet of Things net equipment, Internet of things system and control method |
| CN109743140A (en) * | 2019-02-01 | 2019-05-10 | 安徽博大光通物联科技有限公司 | Communicating control method and device based on low-power consumption wide area network |
| CN109743140B (en) * | 2019-02-01 | 2021-09-14 | 安徽博大光通物联科技有限公司 | Communication control method and device based on low-power-consumption wide area network |
| CN110177097A (en) * | 2019-05-27 | 2019-08-27 | 深圳市银河风云网络系统股份有限公司 | Data transmission method, apparatus and system |
| CN110535925A (en) * | 2019-08-20 | 2019-12-03 | 深圳柚石物联技术有限公司 | A kind of Internet of Things control method, device, system and computer readable storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN107708088B (en) | 2020-08-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7707434B2 (en) | Power control bus for carrying power control information indicating a power supply voltage variability | |
| US8135893B2 (en) | System, apparatus and method for granting access to a shared communications bus | |
| US4887266A (en) | Communication system | |
| CN107708088A (en) | Data transmission method and wireless communication system | |
| US7852790B2 (en) | Communication master station startup period control method | |
| CN107508930A (en) | ID distribution methods and system | |
| US20150370312A1 (en) | Electronic monitoring device having wake-up for daisy chain | |
| CN102857397A (en) | Multi-master asynchronous duplex differential bus and communication method | |
| KR101526413B1 (en) | Transceiver ic and operationg mwethod thereof | |
| CN105354159A (en) | RS485 distributed bus system based control method | |
| CN114650612A (en) | LoRa networking method based on carrier sensing technology | |
| CN101196739A (en) | Autonomous system with redundant configuration and its configuration method | |
| EP3284222A1 (en) | Master communication device for a token network | |
| CN108800446A (en) | Air conditioning system and communication method between units in air conditioning system | |
| CN103186440B (en) | Detect subcard method, apparatus and system in place | |
| CN103853105A (en) | Electronic control unit flash method based on controller area network (CAN) | |
| KR20130099813A (en) | Method for changing an operating state of at least one device | |
| CN106603425A (en) | Router and state control method thereof | |
| CN106561014A (en) | Data transmission method and system, main communication equipment, and slave communication equipment | |
| CN106254193A (en) | For detecting the fieldbus devices of running state of automated equipment | |
| CN103379503A (en) | System and method for distributing channels of wireless sensor network for agricultural product logistics | |
| US10243887B2 (en) | Switch unit, ethernet network, and method for activating components in an ethernet network | |
| CN106656711B (en) | A kind of predefined method of token bus time slot | |
| CN117792573B (en) | Power line signal transmission rate adjusting method and device | |
| JP5475479B2 (en) | Communications system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |