CN104918290B - A kind of data transmission method - Google Patents
A kind of data transmission method Download PDFInfo
- Publication number
- CN104918290B CN104918290B CN201510251239.0A CN201510251239A CN104918290B CN 104918290 B CN104918290 B CN 104918290B CN 201510251239 A CN201510251239 A CN 201510251239A CN 104918290 B CN104918290 B CN 104918290B
- Authority
- CN
- China
- Prior art keywords
- node
- gateway
- bandwidth
- data
- sleep
- 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
- 230000005540 biological transmission Effects 0.000 title claims abstract description 41
- 238000000034 method Methods 0.000 title claims abstract description 35
- 230000007958 sleep Effects 0.000 claims description 84
- 238000012790 confirmation Methods 0.000 claims description 40
- 101100172132 Mus musculus Eif3a gene Proteins 0.000 claims description 6
- 238000012546 transfer Methods 0.000 claims description 4
- 230000036578 sleeping time Effects 0.000 claims description 3
- 230000035479 physiological effects, processes and functions Effects 0.000 claims 1
- 108700026140 MAC combination Proteins 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 230000007423 decrease Effects 0.000 description 3
- 230000003247 decreasing effect Effects 0.000 description 3
- 238000007726 management method Methods 0.000 description 3
- 230000036772 blood pressure Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000005265 energy consumption Methods 0.000 description 2
- 230000036760 body temperature Effects 0.000 description 1
- 230000005059 dormancy Effects 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 238000002513 implantation Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000013468 resource allocation Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000004622 sleep time Effects 0.000 description 1
- 230000036967 uncompetitive effect Effects 0.000 description 1
- 230000002618 waking effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/16—Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
- H04W28/18—Negotiating wireless communication parameters
- H04W28/20—Negotiating bandwidth
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0251—Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W74/00—Wireless channel access
- H04W74/08—Non-scheduled access, e.g. ALOHA
- H04W74/0808—Non-scheduled access, e.g. ALOHA using carrier sensing, e.g. carrier sense multiple access [CSMA]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/02—Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
- H04W84/10—Small scale networks; Flat hierarchical networks
- H04W84/12—WLAN [Wireless Local Area Networks]
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Quality & Reliability (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention provides a kind of data transmission method, it applies in wireless body area network, when including: that node sends data to gateway using period 1 property bandwidth, judge whether data volume to be sent is greater than preset first threshold value or is less than default second threshold, period 1 property bandwidth is that gateway is determined according to the periodical bandwidth request that node is sent;If data volume to be sent is greater than preset first threshold value or is less than default second threshold, node sends adjustable bandwidth request to gateway;Gateway generates an adjustment bandwidth according to adjustable bandwidth request;Gateway obtains Secondary periodicity bandwidth according to adjustment bandwidth generated and period 1 property bandwidth;Gateway sends first message to node, and first message carries the information of Secondary periodicity bandwidth;Node sends data to gateway using Secondary periodicity bandwidth.The above method can improve the efficiency of transmission of data in wireless body area network while energy saving.
Description
Technical field
The present invention relates to wireless sensor network data link-layer technologies field more particularly to a kind of data transmission methods.
Background technique
With the made rapid progress of scientific and technological medical level and the continuous development of wireless technology, human health is monitored to wireless body area
The development of network (Wireless Body Area Networks, WBANs) brings huge challenge and opportunity.WBANs is with a
Artificial center is directed to the wearable wireless network with implantation human body sensor, for detecting human life feature, such as heart speed
Rate, temperature, blood pressure, electrocardiogram and electroencephalogram etc..In WBANs, the battery of sensor node is low-density, and by size
Limitation so that in most cases battery it is non-exchange with recharge.Therefore, efficient efficiency operational version is wireless body area
The important component of network media access control (Media Access Control, abbreviation MAC) layer design.
Although having the short-distance radio network of several types that can be used to form a WBAN at present, such as
The Wireless LAN (Wireless Local Area Networks, abbreviation WLAN) of IEEE802.11 agreement and
The wireless personal area network (Wireless Personal Area Network, abbreviation WPAN) of IEEE802.15.2 agreement,
But these requirements in terms of cannot all meeting WBANs energy efficiency, it cannot achieve flexible Bandwidth Management.IEEE802.11 association
The WLAN of view has been designed to 10~100 meters of wireless network coverage, and high bandwidth and high energy consumption make node battery
Service life can only maintain work normally for several hours.The WPAN of IEEE802.15.2 agreement has been used for designing low rate radio individual
Local Area Network, it is ensured that the 250kbs data rate of 10 meters of coverage areas, but it is unable to satisfy IEEE802.15.4 standard MAC control
10Mbps rate of the message processed in the competition transmission phase, and the standard does not form effective energy-saving scheme.
Furthermore general wireless sensor network technology is more absorbed in solution distributed point-to-point (Ad hoc) and is asked
Topic.MAC protocol for wireless sensor network can be divided into two classes, competition-based) Carrier Sense Multiple Access (Carrier
Sense Multiple Access, abbreviation CSMA) and based on uncompetitive time division multiple acess (Time Division Multiple
Access, abbreviation TDMA).Most of WBANs applications have continual periodical bandwidth request and real-time significant event report, institute
It is not energy efficient with MAC protocol competition-based and is not flexible bandwidth management.
In consideration of it, in wireless body area network how while energy saving improve data transfer efficiency become at present need
Technical problems to be solved.
Summary of the invention
In order to solve the above technical problems, the present invention provides a kind of data transmission method, applies in wireless body area network,
The efficiency of transmission of data can be improved while energy saving in wireless body area network.
In a first aspect, the present invention provides a kind of data transmission method, apply in wireless body area network, comprising:
When node sends data to gateway using period 1 property bandwidth, it is default to judge whether data volume to be sent is greater than
First threshold is less than default second threshold, and the period 1 property bandwidth is the period that the gateway is sent according to the node
Property bandwidth request determine;
If data volume to be sent is greater than preset first threshold value or is less than default second threshold, the node is to the net
It closes and sends adjustable bandwidth request;
The gateway generates an adjustment bandwidth according to the adjustable bandwidth request, and the gateway is according to tune generated
Whole bandwidth and the period 1 property bandwidth obtain Secondary periodicity bandwidth;
The gateway sends first message to the node, and the first message carries the letter of the Secondary periodicity bandwidth
Breath;
The node sends data to the gateway using the Secondary periodicity bandwidth.
Optionally, the gateway obtains Secondary periodicity according to adjustment bandwidth generated and the period 1 property bandwidth
Bandwidth, comprising:
The gateway increases or decreases the period 1 property bandwidth according to adjustment bandwidth generated, obtains second week
Phase property bandwidth.
Optionally, when the node sends data to gateway using period 1 property bandwidth, judge data to be sent
Whether amount is greater than preset first threshold value or is less than before default second threshold, further includes:
Node is to gateway sending cycle bandwidth request;
The gateway is after receiving the periodical bandwidth request, according to service quality QoS requirements and currently available band
Width is that the node distributes period 1 property bandwidth;
The gateway sends second message to the node, and the second message carries the letter of the period 1 property bandwidth
Breath;
The node sends data to the gateway using the period 1 property bandwidth.
Optionally, the method also includes:
When the node has bursty data to need to be uploaded to the gateway, the node sends burst band to the gateway
Width request, the burst bandwidth request carry initial burst bandwidth length, and the bursty data is node life collected
What reason characteristic generated when being more than preset threshold range;
The gateway is that the node distributes burst bandwidth according to burst bandwidth request;
The gateway sends third message to the node, and the third message carries the letter of distributed burst bandwidth
Breath;
The gateway judges whether the node uses distributed burst bandwidth to send data to the gateway;
If the node has used the burst bandwidth distributed to send data to the gateway, the gateway is the section
The length of the burst bandwidth of point distribution is constant, and it is next to gateway transmission that the node continues to use distributed burst bandwidth
Frame data;
If the node does not use, distributed burst bandwidth sends data to the gateway or the gateway does not connect
The data from the node are received, then the gateway sends the first confirmation ACK message to the node, to show not in institute
It states and receives the data that the node is sent in burst bandwidth, and the gateway is dashed forward in next frame by what the node distributed
The wide length of hair band is reduced to the half for the burst bandwidth that its previous frame is distributed;
The gateway sends the 4th message to the node, and it is described that the 4th message, which carries the gateway in next frame,
The length for the burst bandwidth that node is distributed is reduced to the information of the half for the burst bandwidth that its previous frame is distributed;
The node using length be reduced to the burst bandwidth that previous frame is distributed half burst bandwidth to the net
It closes and sends next frame data, return to the gateway and judge whether the node uses distributed burst bandwidth to send out to the gateway
The step of sending data, until the burst transfers of data finishes or occur the first emergency case.
Optionally, first emergency case includes:
The gateway and the node are out of touch.
Optionally, the method also includes:
If node data not to be sent to the gateway, the node enter sleep pattern.
Optionally, the sleep pattern, comprising:
When the node is not to gateway data to be sent, the node is during contention intervenes part CAP
CSMA/CA is avoided to send Sleep Request to the gateway by Carrier Sense Multiple Access/collision;
The gateway sends the second confirmation ACK message to the node, is asked with showing that the gateway has been received by the sleep
It asks;
The gateway sends sleep confirmation message to the node in the downlink transmission time of next frame data;
The node determines whether node sleep according to the sleep confirmation message;
If allowing node sleep, the node starts to sleep, sleep according to the sleep confirmation message in next frame
Period, if the node is assigned with time slot GTS by the gateway, the node is sent out in the time slot GTS to the gateway
Send data;
The node listens to whether the gateway sends third confirmation ACK message, and the third confirmation ACK message is described
The confirmation message that gateway returns after receiving node data transmitted in the time slot GTS to the node;
If the node receives the third confirmation ack signal, continues to sleep, terminate until sleeping time;If institute
It states node and is not received by the third confirmation ack signal, then sleep is terminated in advance, and carry out re-synchronizing for time, to reach
The time consistency of the gateway and the node.
Optionally, after the step of node determines whether node sleep according to the sleep confirmation message,
Further include:
If not allowing node sleep, the node terminates the Sleep Request.
Optionally, the Sleep Request includes: starting frame number and the duration of sleep.
Optionally, the sleep confirmation message includes: whether to allow node sleep, the time span of node sleep.
As shown from the above technical solution, data transmission method of the invention, by node using period 1 property bandwidth to
Gateway judges whether data volume to be sent is greater than preset first threshold value or is less than default second threshold, period 1 when sending data
Property bandwidth be that the periodical bandwidth request that gateway is sent according to node determines, if data volume to be sent is greater than preset first threshold value
Or then for node to the adjustable bandwidth request of gateway transmission, gateway is raw according to the adjustable bandwidth request less than default second threshold
It increases or decreases period 1 property bandwidth to obtain Secondary periodicity at an adjustment bandwidth, and according to adjustment bandwidth generated
Bandwidth, node using Secondary periodicity bandwidth to gateway send data, thereby, it is possible in wireless body area network energy saving
While improve data efficiency of transmission.
Detailed description of the invention
Fig. 1 is a kind of structural schematic diagram of the data frame for MAC protocol based on TDMA that the embodiment of the present invention uses;
Fig. 2 is a kind of flow diagram for data transmission method that one embodiment of the invention provides;
Fig. 3 is a kind of having on bursty data needs in the node for data transmission method that one embodiment of the invention provides
Reach the part flow diagram when gateway;
Fig. 4 is a kind of flow diagram of the sleep pattern for data transmission method that one embodiment of the invention provides.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, the technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
It is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiment of the present invention, ordinary skill people
Member's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
The embodiment of the present invention is applied in wireless body area network WBANs, and a kind of MAC protocol based on TDMA, such as Fig. 1 are utilized
Shown, the data frame structure of MAC association includes: beacon, downlink and uplink;
The beacon is used for MAC layer time synchronization, and respectively downlink and uplink distributes time slot (Granted
Time Slot, abbreviation GTS), management needs the network information of periodic broadcast
The downlink, for being transmitted from the gateway to the data of the sensor node.
The uplink, including contention intervention part (Contention Access Period, abbreviation CAP) He Bingzheng
Free portion (Contention Free Period, abbreviation CFP);
Wherein, CAP is based on Carrier Sense Multiple Access/collision and avoids (Carrier Sense Multiple Access
With Collision Avoidance, abbreviation CSMA/CA), the sensor node competes MAC control message in CAP
Transmission;Gateway control the distribution of time slot GTS in CFP, a GTS dedicated node in the cfp, the gateway is according to current transmission
Feature neatly allocation of downlink, CAP, CFP duration.
It can be switched by reducing node radio transmission state and reception state using the data frame structure of above-mentioned MAC association
Time saves the energy, and the complete collisionless of CFP dedicated time slot distribution improves the success rate of message transmissions, thus very big
Transmitting again for data is decreased under degree, saves the energy.
The resource allocation algorithm of intra-gateway of the embodiment of the present invention can be node distribution according to the characteristic of data transmission link
Different types of bandwidth resources.Based on the data frame structure of above-mentioned MAC association, the embodiment of the present invention defines the bandwidth of 3 seed types
Resource: burst bandwidth, periodical bandwidth and adjustable bandwidth.Burst bandwidth, which can be used for node, has bursty data to need to be uploaded to net
Artis;Periodical bandwidth is that gateway node is regularly sensor node of system distribution data bandwidth, guarantees the collected number of node
According to gateway node can be uploaded in time;Adjustable bandwidth can be regarded as a kind of novel periodical bandwidth, and gateway node can
To be increased according to the actual demand of sensor node or reduce the data bandwidth of node, it is mainly used for when volume of transmitted data is larger
Period can guarantee that data can be completely uploaded in time.
Fig. 2 shows a kind of flow diagram for data transmission method that one embodiment of the invention provides, data transmission
Method is applied in wireless body area network, as shown in Fig. 2, the data transmission method of the present embodiment is as described below.
201, when node sends data to gateway using period 1 property bandwidth, judge whether data volume to be sent is greater than
Preset first threshold value is less than default second threshold, and the period 1 property bandwidth is what the gateway was sent according to the node
What periodical bandwidth request determined.
It should be noted that the node of the present embodiment is sensor node.
If 202, data volume to be sent is greater than preset first threshold value or is less than default second threshold, the node is to institute
It states gateway and sends adjustable bandwidth request.
203, the gateway generates an adjustment bandwidth according to the adjustable bandwidth request, and the gateway is according to being generated
Adjustment bandwidth and the period 1 property bandwidth obtain Secondary periodicity bandwidth.
In a particular application, this step 203 may particularly include:
The period 1 property bandwidth is increased that (data volume to be sent is big according to adjustment bandwidth generated by the gateway
When preset first threshold value) or reduce (when data volume to be sent is less than preset first threshold value), obtain Secondary periodicity bandwidth.
204, the gateway sends first message to the node, and the first message carries the Secondary periodicity bandwidth
Information.
The gateway generates an adjustment bandwidth according to the adjustable bandwidth request, and according to adjustment bandwidth generated
The period 1 property bandwidth is increased or decreased, Secondary periodicity bandwidth is obtained.
205, the node sends data to the gateway using the Secondary periodicity bandwidth.
It should be noted that the present embodiment defines a kind of adjustable bandwidth, adjustable bandwidth is defined as to increase or decrease
Periodical bandwidth, adjustable bandwidth need to control message CAP transmit, or with burst bandwidth, periodicity bandwidth for transmission.Gateway
An adjustment bandwidth can be generated, the control message that response bag contains Bandwidth adjustment information is carried out.For example, when gateway is thought using band
Width can be added to adjustable bandwidth or when adjustable bandwidth needs to be reduced, and gateway will be notified that node bandwidth distribution knot
Fruit.
The data transmission method of the present embodiment, by sentencing when node sends data to gateway using period 1 property bandwidth
Whether data volume to be sent of breaking is greater than preset first threshold value or is less than default second threshold, if data volume to be sent is greater than in advance
If first threshold is less than default second threshold, then node sends adjustable bandwidth request to gateway, and gateway is according to adjustable bands
Wide request generates an adjustment bandwidth, and is increased or decreased period 1 property bandwidth according to adjustment bandwidth generated, obtains
Secondary periodicity bandwidth, node using Secondary periodicity bandwidth to gateway send data, be utilized the present embodiment define it is adjustable
Whole bandwidth can improve the efficiency of transmission of data in wireless body area network while energy saving.
In a particular application, before step 201, further includes:
Node is to gateway sending cycle bandwidth request;
The gateway is after receiving the periodical bandwidth request, according to service quality QoS requirements and currently available band
Width is that the node distributes period 1 property bandwidth;
The gateway sends second message to the node, and the second message carries the letter of the period 1 property bandwidth
Breath;
The node sends data to the gateway using the period 1 property bandwidth.
It should be noted that it is regularly sensor node of system distribution data band that the periodical bandwidth of the present embodiment, which is gateway node,
Width guarantees that the collected data of node can be uploaded to gateway node in time.In normal data transmission procedure, sensor
Node sends data to gateway using periodically band wide bandwidth, periodical bandwidth allow node visit mac frame a part or
Several mac frames.Gateway assignment period bandwidth after considering qos requirement and current available bandwidth, periodical bandwidth can also be
Necessity is recycled, such as node requirements abandon periodical bandwidth or node disconnects network connection etc..
In a particular application, data transmission method described in the present embodiment, as shown in figure 3, further including step S1-S8:
S1, when the node has bursty data to need to be uploaded to the gateway, the node sends prominent to the gateway
Bandwidth request is sent out, the burst bandwidth request carries initial burst bandwidth length, and the bursty data is acquired by the node
Physiological characteristic data generate when being more than preset threshold range.
S2, the gateway are that the node distributes burst bandwidth according to burst bandwidth request;
S3, the gateway send third message to the node, and the third message carries distributed burst bandwidth
Information.
S4, the gateway judge whether the node uses distributed burst bandwidth to send data to the gateway.
If S5, the node have used the burst bandwidth distributed to send data to the gateway, the gateway is institute
The length for stating the burst bandwidth of node distribution is constant, and the node continues to use distributed burst bandwidth and sends to the gateway
Next frame data.
If S6, the node, which do not use distributed burst bandwidth to send data or the gateway to the gateway, not to be had
The data from the node are received, then the gateway sends the first confirmation (Acknowledgement, letter to the node
Claim ACK) message, to show not receiving the data of the node transmission in the burst bandwidth, and the gateway exists
The length for the burst bandwidth that next frame is distributed by the node is reduced to the half for the burst bandwidth that its previous frame is distributed.
S7, the gateway send the 4th message to the node, and the 4th message carries the gateway in next frame and is
The length for the burst bandwidth that the node is distributed is reduced to the information of the half for the burst bandwidth that its previous frame is distributed.
S8, the node using length be reduced to the burst bandwidth that previous frame is distributed half burst bandwidth to described
Gateway sends next frame data, returns to the gateway and judges whether the node uses distributed burst bandwidth to the gateway
The step of sending data, until the burst transfers of data finishes or occur the first emergency case.
Wherein, first emergency case includes: that the gateway and the node are out of touch etc..
It should be noted that the burst bandwidth of the present embodiment is only capable of the temporary time of persistently several mac frames, can by gateway by
Gradually recycle.Burst bandwidth length is the initial bandwidth that node requests gateway in a mac frame, the band if gateway discovery happens suddenly
Width does not use in a frame, then the burst bandwidth length of next frame will will become the half of former frame burst-length.If
Gateway does not receive the arbitrary data of dedicated node, then gateway will send confirmation ack signal to node to show present frame
Do not use burst bandwidth.In this case gateway and node can all reduce unexpected length to current length half.
The burst bandwidth that the present embodiment defines is utilized in the data transmission method of the present embodiment, can be in wireless body area network
The efficiency of transmission of data is improved in network while energy saving.
The embodiment of the present invention can be used for the human health monitoring field of wireless body area network, including heart rate detection system
System, body temperature and blood pressure detecting system, electrocardiogram and electroencephalogram detection system etc., especially when exist too much burst data with
When need in time upload with processing the case where, it is not limited to this.
In a particular application, data transmission method described in the present embodiment, further includes:
If node data not to be sent to the gateway, the node enter sleep pattern.
In a particular application, as shown in figure 4, sleep pattern described in the present embodiment, it may include step P1-P7:
P1, when the node is not to gateway data to be sent, the node intervenes the part CAP phase in contention
Between by Carrier Sense Multiple Access/collision avoid CSMA/CA to the gateway send Sleep Request.
Wherein, the Sleep Request can include: the information such as the starting frame number of sleep and duration.
P2, the gateway send the second confirmation ACK message to the node, to show that the gateway has been received by the sleep
Request.
P3, the gateway send sleep confirmation message to the node in the downlink transmission time of next frame data.
Wherein, the sleep confirmation message can include: node sleep, time span of node sleep etc. whether is allowed to believe
Breath.
P4, the node determine whether node sleep according to the sleep confirmation message.
If P5, allowing node sleep, the node starts to sleep, sleep according to the sleep confirmation message in next frame
During dormancy, if the node is assigned with time slot GTS by the gateway, the node is in the time slot GTS to the gateway
Send data.
P6, the node listen to whether the gateway sends third confirmation ACK message, and the third confirmation ACK message is
The gateway disappears after receiving node data transmitted in the time slot GTS to the confirmation that the node returns
Breath.
If P7, the node receive the third confirmation ack signal, continues to sleep, terminate until sleeping time;If
The node is not received by the third confirmation ack signal, then sleep is terminated in advance, and carry out re-synchronizing for time, to reach
To the time consistency of the gateway and the node.
In a particular application, after above-mentioned steps P4, as shown in figure 4, further including step P8:
If P8, not allowing node sleep, the node terminates the Sleep Request.
It should be noted that according to the data frame structure of the above-mentioned MAC protocol based on TDMA, the sleep machine of the embodiment of the present invention
System mainly includes 3 processes: Sleep Request, sleep confirmation and sleep awakening.Firstly, node is given during CAP by CSMA/CA
Gateway sends Sleep Request.Sleep Request parameter includes sleep starting frame number and sleep time, and later, gateway will be to section
Point sends ack signal to show to have been received by the Sleep Request of node.In the downlink periods of next mac frame, gateway will be sent out
Sleep confirmation signal is sent, that is, the actual parameter for whether allowing, sleeping of sleeping.Practical sleep parameters are by present data transmission, current
The Sleep Request parameter that transmission link state and node are sent codetermines.If node is assigned with GTS resource by gateway,
Even if sleep period intermediate node data can be sent to gateway.
Time synchronization is that the critical issue of above-mentioned MAC protocol design reliably transmits number if gateway is asynchronous with node
According to being impossible.Because gateway and node respectively have clock unit, node is waken up out of a very long time to be guaranteed again
Time synchronization is extremely difficult.The embodiment of the present invention increases the time in sleep pattern and re-synchronizes process as a result, which occurs
The ack msg confirmation signal of gateway is not received in node, and node can terminate sleep state at this time, be re-synchronized.
One critical issue of the embodiment of the present invention is to guarantee the real-time report of critical event, this requires sleep pattern to prop up
Hold the property at any time of burst critical event.The embodiment of the present invention propose sleep pattern in, node can be in CAP or GTS on
Report critical event to gateway, node etc. receives after the event confirmation signal of gateway, it will is again introduced into sleep.
Since in WBANs, idle listening is a kind of greatly energy consumption, this is primarily due to node and needs for a long time
It keeps waking up just to receive potential information.WBANs application in, almost without from gateway to node down link data and control
Message processed so receiving bootstrap information in each frame, and remains the biography of wake-up in uplink and downlink
Sensor node can consume a large amount of energy.Based on this, the sleep pattern of the embodiment of the present invention can guarantee data high-quality transmission
Requirement under allow useless node to enter sleep as far as possible in beacon, downlink and uplink.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to
The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey
When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or
The various media that can store program code such as person's CD.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent
Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to
So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into
Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution
The range of scheme.
Claims (8)
1. a kind of data transmission method, which is characterized in that the data transmission method is applied in wireless body area network, packet
It includes:
When node sends data to gateway using period 1 property bandwidth, judge whether data volume to be sent is greater than default first
Threshold value is less than default second threshold, and the period 1 property bandwidth is the periodical band that the gateway is sent according to the node
Width request determination;
If data volume to be sent is greater than preset first threshold value or is less than default second threshold, the node is sent out to the gateway
Send adjustable bandwidth request;
The gateway generates an adjustment bandwidth according to the adjustable bandwidth request, and the gateway is according to adjustment band generated
The wide and described period 1 property bandwidth obtains Secondary periodicity bandwidth, comprising: is greater than default first threshold in data volume to be sent
When value, the gateway increases the period 1 property bandwidth according to adjustment bandwidth generated, obtains Secondary periodicity bandwidth;
When data volume to be sent is less than preset first threshold value, the gateway is according to adjustment bandwidth generated by the period 1
Property bandwidth reduce, obtain Secondary periodicity bandwidth;
The gateway sends first message to the node, and the first message carries the information of the Secondary periodicity bandwidth;
The node sends data to the gateway using the Secondary periodicity bandwidth;
When the node has bursty data to need to be uploaded to the gateway, the node sends burst bandwidth to the gateway and asks
It asks, the burst bandwidth request carries initial burst bandwidth length, and the bursty data is that node physiology collected is special
What sign data generated when being more than preset threshold range;
The gateway is that the node distributes burst bandwidth according to burst bandwidth request;
The gateway sends third message to the node, and the third message carries the information of distributed burst bandwidth;
The gateway judges whether the node uses distributed burst bandwidth to send data to the gateway;
If the node has used the burst bandwidth distributed to send data to the gateway, the gateway is the node point
The length for the burst bandwidth matched is constant, and the node continues to use distributed burst bandwidth and sends next frame number to the gateway
According to;
If the node does not use, distributed burst bandwidth sends data to the gateway or the gateway is not received by
Data from the node, then the gateway sends the first confirmation ACK message to the node, to show not described prominent
The data that the node is sent, and the burst band that the gateway is distributed in next frame by the node are received in hair band is wide
Wide length is reduced to the half for the burst bandwidth that its previous frame is distributed;
The gateway sends the 4th message to the node, and it is the node that the 4th message, which carries the gateway in next frame,
The length for the burst bandwidth distributed is reduced to the information of the half for the burst bandwidth that its previous frame is distributed;
The burst bandwidth for the half that the node is reduced to the burst bandwidth that previous frame is distributed using length is sent out to the gateway
Next frame data are sent, the gateway is returned and judges whether the node uses distributed burst bandwidth to send number to the gateway
According to the step of, until the burst transfers of data finishes or occurs the first emergency case.
2. the method according to claim 1, wherein being sent out using period 1 property bandwidth to gateway in the node
When sending data, judge whether data volume to be sent is greater than preset first threshold value or is less than before default second threshold, further includes:
Node is to gateway sending cycle bandwidth request;
The gateway is according to service quality QoS requirements and current available bandwidth after receiving the periodical bandwidth request
The node distributes period 1 property bandwidth;
The gateway sends second message to the node, and the second message carries the information of the period 1 property bandwidth;
The node sends data to the gateway using the period 1 property bandwidth.
3. the method according to claim 1, wherein first emergency case includes:
The gateway and the node are out of touch.
4. the method according to claim 1, wherein further include:
If node data not to be sent to the gateway, the node enter sleep pattern.
5. according to the method described in claim 4, it is characterized in that, the sleep pattern, comprising:
When the node is not to gateway data to be sent, the node passes through during contention intervenes part CAP
Carrier Sense Multiple Access/collision avoids CSMA/CA from sending Sleep Request to the gateway;
The gateway sends the second confirmation ACK message to the node, to show that the gateway has been received by the Sleep Request;
The gateway sends sleep confirmation message to the node in the downlink transmission time of next frame data;
The node determines whether node sleep according to the sleep confirmation message;
If allowing node sleep, the node starts to sleep according to the sleep confirmation message in next frame, during sleep,
If the node is assigned with time slot GTS by the gateway, the node sends number to the gateway in the time slot GTS
According to;
The node listens to whether the gateway sends third confirmation ACK message, and the third confirmation ACK message is the gateway
The confirmation message returned after receiving node data transmitted in the time slot GTS to the node;
If the node receives the third confirmation ack signal, continues to sleep, terminate until sleeping time;If the section
Point is not received by the third confirmation ack signal, then terminates sleep in advance, and carry out re-synchronizing for time, to reach described
The time consistency of gateway and the node.
6. according to the method described in claim 5, it is characterized in that, being according to sleep confirmation message judgement in the node
After the step of no permission node sleep, further includes:
If not allowing node sleep, the node terminates the Sleep Request.
7. method according to claim 5 or 6, which is characterized in that the Sleep Request include: sleep starting frame number and
Duration.
8. method according to claim 5 or 6, which is characterized in that the sleep confirmation message includes: whether to allow node
It sleeps, the time span of node sleep.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510251239.0A CN104918290B (en) | 2015-05-15 | 2015-05-15 | A kind of data transmission method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510251239.0A CN104918290B (en) | 2015-05-15 | 2015-05-15 | A kind of data transmission method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104918290A CN104918290A (en) | 2015-09-16 |
CN104918290B true CN104918290B (en) | 2019-03-01 |
Family
ID=54086895
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510251239.0A Expired - Fee Related CN104918290B (en) | 2015-05-15 | 2015-05-15 | A kind of data transmission method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104918290B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105491648A (en) * | 2015-11-28 | 2016-04-13 | 广东欧珀移动通信有限公司 | Carrier aggregation function control method and device |
CN105959981A (en) * | 2016-02-29 | 2016-09-21 | 青岛克路德机器人有限公司 | Remote control fire-fighting robot communication method and fire-fighting robot |
CN106411607B (en) * | 2016-11-04 | 2019-08-20 | 锐捷网络股份有限公司 | Flow transmission control method and device based on VXLAN network |
CN106878920B (en) | 2016-12-29 | 2017-12-22 | 建荣半导体(深圳)有限公司 | Data forwarding method, its device, bluetooth equipment and audio frequency transmission method |
CN111435925B (en) * | 2019-01-11 | 2023-09-26 | 阿里巴巴集团控股有限公司 | Snapshot data transmission method and device |
CN111585877B (en) * | 2020-04-22 | 2021-02-23 | 菱亚能源科技(深圳)股份有限公司 | Intelligent power grid gateway based on optical carrier |
CN114900488A (en) * | 2022-03-07 | 2022-08-12 | 浙江大华技术股份有限公司 | Data transmission method, computer readable storage medium and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101521624A (en) * | 2008-02-26 | 2009-09-02 | 大唐移动通信设备有限公司 | Method and device for distributing downlink bandwidth of lub port |
CN103326961A (en) * | 2013-06-14 | 2013-09-25 | 中国人民解放军信息工程大学 | Reserved bandwidth adaptive adjusting method based on QoS |
CN103888223A (en) * | 2014-04-01 | 2014-06-25 | 中国科学院微电子研究所 | Modulation control method and device |
CN103929276A (en) * | 2014-04-30 | 2014-07-16 | 中国科学院微电子研究所 | Rate self-adaption method and system of wireless body area network |
CN104391812A (en) * | 2014-12-02 | 2015-03-04 | 联想(北京)有限公司 | Communication method and first electronic equipment |
-
2015
- 2015-05-15 CN CN201510251239.0A patent/CN104918290B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101521624A (en) * | 2008-02-26 | 2009-09-02 | 大唐移动通信设备有限公司 | Method and device for distributing downlink bandwidth of lub port |
CN103326961A (en) * | 2013-06-14 | 2013-09-25 | 中国人民解放军信息工程大学 | Reserved bandwidth adaptive adjusting method based on QoS |
CN103888223A (en) * | 2014-04-01 | 2014-06-25 | 中国科学院微电子研究所 | Modulation control method and device |
CN103929276A (en) * | 2014-04-30 | 2014-07-16 | 中国科学院微电子研究所 | Rate self-adaption method and system of wireless body area network |
CN104391812A (en) * | 2014-12-02 | 2015-03-04 | 联想(北京)有限公司 | Communication method and first electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN104918290A (en) | 2015-09-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104918290B (en) | A kind of data transmission method | |
CN102804694B (en) | For managing the terminal equipment of emergency, telegon and method | |
US10334530B2 (en) | Access and power management for centralized networks | |
Liu et al. | MAC protocol in wireless body area networks for E-health: Challenges and a context-aware design | |
Fang et al. | BodyMAC: Energy efficient TDMA-based MAC protocol for wireless body area networks | |
JP5943088B2 (en) | 802.11 access restriction window | |
KR101644807B1 (en) | Methods and arrangements to coordinate communications in a wireless network | |
Hayat et al. | Energy efficient MAC protocols | |
US9468003B2 (en) | Medium access control (MAC) protocol for body area networks | |
US20130329658A1 (en) | Method and apparatus for restricting channel access to a wireless station operating in accordance with a power saving scheme | |
Bradai et al. | Investigation and performance analysis of MAC protocols for WBAN networks | |
WO2015154499A1 (en) | Information interaction method, device and system for wban | |
CN110312313B (en) | Wireless body area network MAC protocol based on multiple channels, communication method and system | |
Huang et al. | Analysis and comparison of the IEEE 802.15. 4 and 802.15. 6 wireless standards based on MAC layer | |
Bradai et al. | New priority MAC protocol for wireless body area networks | |
Ullah et al. | Performance study of low-power MAC protocols for wireless body area networks | |
Ahmad et al. | iA-MAC: Improved adaptive medium access control protocol for wireless body area networks | |
CN107517502A (en) | A kind of cut-in method, equipment and system | |
Bradai et al. | Performance analysis of medium access control protocol for wireless body area networks | |
Gopalan et al. | A survey on power-efficient MAC protocols for wireless body area networks | |
CN109936875B (en) | Dual-channel medium access control method based on priority | |
Israr et al. | Simulation analysis of medium access techniques | |
Monowar | TRW-MAC: A thermal-aware receiver-driven wake-up radio enabled duty cycle MAC protocol for multi-hop implantable wireless body area networks in Internet of Things | |
CN105611557B (en) | Method for avoiding interference between networks based on nested composite superframe structure | |
Pandey et al. | MAC Protocols of Wireless Body Area Network: A Survey |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190301 Termination date: 20190515 |