CN106851686A - Realization method and system with time bias data collection radio MAC protocol - Google Patents

Realization method and system with time bias data collection radio MAC protocol Download PDF

Info

Publication number
CN106851686A
CN106851686A CN201710053369.2A CN201710053369A CN106851686A CN 106851686 A CN106851686 A CN 106851686A CN 201710053369 A CN201710053369 A CN 201710053369A CN 106851686 A CN106851686 A CN 106851686A
Authority
CN
China
Prior art keywords
data
delay
information
data message
frame length
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
Application number
CN201710053369.2A
Other languages
Chinese (zh)
Other versions
CN106851686B (en
Inventor
秦利涛
丁英强
李希魁
赵澎波
武吉庆
李宏伟
敖彬仪
杨东升
王飞虎
李宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Xingong Intelligent System Co Ltd
Original Assignee
Zhengzhou Xingong Intelligent System Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Xingong Intelligent System Co Ltd filed Critical Zhengzhou Xingong Intelligent System Co Ltd
Priority to CN201710053369.2A priority Critical patent/CN106851686B/en
Publication of CN106851686A publication Critical patent/CN106851686A/en
Application granted granted Critical
Publication of CN106851686B publication Critical patent/CN106851686B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • H04W80/02Data link layer protocols

Abstract

The invention provides a kind of realization method and system with time bias data collection radio MAC protocol, it is related to communication protocol techniques field, by gathering the first data message, and data delay information is obtained according to the first data message, time mark is carried out to the data frame of the first data message according to data delay information, obtain trailer information, temporal information is obtained by gps system, and data acquisition time information is calculated according to temporal information and trailer information, data acquisition time information is packed with the first data message, obtain the second data message, and the second data message is sent to data service center.The present invention can improve the time accuracy of sensing node gathered data.

Description

Realization method and system with time bias data collection radio MAC protocol
Technical field
The present invention relates to communication protocol techniques field, more particularly, to time bias data collection radio MAC protocol Realization method and system.
Background technology
Internet of Things is new industry, and sensor is the basis of Internet of Things, and it is most basic that wireless network sensor is even more Internet of Things Industry, its technical merit simultaneously be also influence Internet of Things application popularization key factor.Wireless sensor network includes sensing Node and network trunk.Sensing node is exactly network sensor, and it is responsible for collection, treatment and the transmission of data.Network trunk is born Duty collects the data of sensing node, then transmits to data service center.Sensing node collection data it is necessary to have when Between, the data for otherwise gathering are meaningless.General way is:GPS (Global Positioning are filled on sensing node System, global positioning system), obtain the time from GPS.In addition, being sent to network trunk after sensing node gathered data, do not have There is the time for indicating data acquisition, the data that network trunk will be received are sent to data service center with the current time of oneself. If acquisition time is long, or network blockage occurs, then so the data of collection just have very big time delay, so that Data lose meaning or even produce serious consequence.
The content of the invention
In view of this, it is an object of the invention to provide a kind of realization with time bias data collection radio MAC protocol Method and system, to improve the time accuracy of sensing node gathered data.
In a first aspect, the embodiment of the invention provides a kind of realization side with time bias data collection radio MAC protocol Method, wherein, methods described includes:
The first data message is gathered, and data delay information is obtained according to first data message;
Time mark is carried out to the data frame of first data message according to the data delay information, postamble letter is obtained Breath;
Temporal information is obtained by global position system GPS, and is calculated with the trailer information according to the temporal information Obtain data acquisition time information;
The data acquisition time information is packed with first data message, the second data message is obtained, and Second data message is sent to data service center.
With reference in a first aspect, the embodiment of the invention provides the first possible implementation method of first aspect, wherein, institute Stating method also includes:
Judge whether first data message is correct;
If first data message is correct, generation confirms packet, and the confirmation packet is fed back into sensing Device node, and feedback delay information is obtained according to the confirmation packet.
With reference to the first possible implementation method of first aspect, second of first aspect is the embodiment of the invention provides Possible implementation method, wherein, first data message includes the first data frame length, described to be believed according to first data Breath obtains data delay information to be included:
The 3rd data message is obtained, and parameter and feedback delay letter are calculated according to the 3rd data message Breath;
According to the parameter and first data frame length, the first Delay is obtained;
Obtain first and send and confirm Delay, and combine first Delay and the feedback delay information, meter Calculation obtains the second Delay;
According to first Delay and second Delay, the data delay information is obtained.
With reference to second possible implementation method of first aspect, the third of first aspect is the embodiment of the invention provides Possible implementation method, wherein, the 3rd data message includes the second data frame length and the 3rd data frame length, described Being calculated parameter and the feedback delay information according to the 3rd data message includes:
Second data frame length is obtained by the first debugging, and measures the second transmission and confirm Delay;
3rd data frame length is obtained by the second debugging, and measures the 3rd transmission and confirm Delay;
According to second data frame length, the 3rd data frame length, it is described second send confirm Delay and Described 3rd sends confirmation Delay, is calculated the parameter and the feedback delay information.
With reference to second possible implementation method of first aspect, the 4th kind of first aspect is the embodiment of the invention provides Possible implementation method, wherein, it is described when obtaining the data according to first Delay and second Delay The information of prolonging includes:
Carried out calculating the data delay information according to following formula:
T=aX+m
Wherein, the T is the data delay information, and a is first data frame length, and the X is the ginseng Number, the m is second Delay.
Second aspect, the embodiment of the present invention also provides a kind of realization system with time bias data collection radio MAC protocol System, wherein, including:
Data delay acquiring unit, for gathering the first data message, and obtains data according to first data message Delay;
Indexing unit, for carrying out time mark to the data frame of first data message according to the data delay information Note, obtains trailer information;
Data acquisition time acquiring unit, for by GPS obtain temporal information, and according to the temporal information with it is described Trailer information is calculated data acquisition time information;
Transmitting element, for the data acquisition time information to be packed with first data message, obtains Two data messages, and second data message is sent to data service center.
With reference to second aspect, the first possible implementation method of second aspect is the embodiment of the invention provides, wherein, also Including:
Ruling unit, for judging whether first data message is correct, in the correct feelings of the first data message Under condition, generation confirms packet, the confirmation packet is fed back into sensor node, and obtain according to the confirmation packet Feedback delay information.
With reference to the first possible implementation method of second aspect, second of second aspect is the embodiment of the invention provides Possible implementation method, wherein, first data message includes the first data frame length, and the data delay acquiring unit is also For:
The 3rd data message is obtained, and parameter and feedback delay letter are calculated according to the 3rd data message Breath;
According to the parameter and first data frame length, the first Delay is obtained;
Obtain first and send and confirm Delay, and combine first Delay and the feedback delay information, meter Calculation obtains the second Delay;
According to first Delay and second Delay, the data delay information is obtained.
With reference to second possible implementation method of second aspect, the third of second aspect is the embodiment of the invention provides Possible implementation method, wherein, the 3rd data message includes the second data frame length and the 3rd data frame length, described Being calculated parameter and the feedback delay information according to the 3rd data message includes:
Second data frame length is obtained by the first debugging, and measures the second transmission and confirm Delay;
3rd data frame length is obtained by the second debugging, and measures the 3rd transmission and confirm Delay;
According to second data frame length, the 3rd data frame length, it is described second send confirm Delay and Described 3rd sends confirmation Delay, is calculated the parameter and the feedback delay information.
With reference to second possible implementation method of second aspect, the 4th kind of second aspect is the embodiment of the invention provides Possible implementation method, wherein, it is described when obtaining the data according to first Delay and second Delay The information of prolonging includes:
Carried out calculating the data delay information according to following formula:
T=aX+m
Wherein, the T is the data delay information, and a is first data frame length, and the X is the ginseng Number, the m is second Delay.
The realization side of wireless MAC (Multiple Access Control, multiple access control) agreement that the present invention is provided Method and system, by gathering the first data message, and obtain data delay information, according to data delay according to the first data message Information carries out time mark to the data frame of the first data message, trailer information is obtained, when being obtained by global position system GPS Between information, and data acquisition time information is calculated according to temporal information and trailer information, by data acquisition time information with First data message is packed, and obtains the second data message, and the second data message is sent into data service center.This hair The bright time accuracy that can improve sensing node gathered data.
Other features and advantages of the present invention will be illustrated in the following description, also, the partly change from specification Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages are in specification, claims And specifically noted structure is realized and obtained in accompanying drawing.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate Appended accompanying drawing, is described in detail below.
Brief description of the drawings
In order to illustrate more clearly of the specific embodiment of the invention or technical scheme of the prior art, below will be to specific The accompanying drawing to be used needed for implementation method or description of the prior art is briefly described, it should be apparent that, in describing below Accompanying drawing is some embodiments of the present invention, for those of ordinary skill in the art, before creative work is not paid Put, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of implementation method with time bias data collection radio MAC protocol that the embodiment of the present invention one is provided Flow chart;
Fig. 2 is another realization side with time bias data collection radio MAC protocol that the embodiment of the present invention one is provided Method flow chart;
Fig. 3 is the data delay information obtaining method flow chart that the embodiment of the present invention one is provided;
Fig. 4 is the flow chart of step S310 in the data delay information obtaining method that the embodiment of the present invention one is provided;
Fig. 5 is that a kind of of the offer of the embodiment of the present invention two realizes system with time bias data collection radio MAC protocol Schematic diagram;
Fig. 6 is the wireless sensor network structural representation that the embodiment of the present invention two is provided.
Icon:
100- data delay acquiring units;200- indexing units;300- data acquisition time acquiring units;400- sends single Unit.
Specific embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with accompanying drawing to the present invention Technical scheme be clearly and completely described, it is clear that described embodiment is a part of embodiment of the invention, rather than Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creative work premise Lower obtained every other embodiment, belongs to the scope of protection of the invention.
Wireless sensor network includes sensing node and network trunk.Sensing node is responsible for collection, treatment and the biography of data Defeated, network trunk is responsible for collecting the data of sensing node, then transmits to data service center, and data service center is responsible for Receive the data that send over of network trunk and stored, analyzed, be presented to user.In the mistake that data are acquired, transmit , if acquisition time is long, or there is network blockage, then so the data of collection just have very big time delay in Cheng Zhong, Data are made to lose meaning or even produce serious consequence.
Based on this, the implementation method with time bias data collection radio MAC protocol provided in an embodiment of the present invention and it is System, can improve the time accuracy of sensing node gathered data.
For ease of understanding the present embodiment, first to the band time bias data acquisition disclosed in the embodiment of the present invention The implementation method of wireless MAC protocols describes in detail.
Embodiment one:
Fig. 1 is a kind of implementation method with time bias data collection radio MAC protocol that the embodiment of the present invention one is provided Flow chart.
Reference picture 1, the implementation method with time bias data collection radio MAC protocol comprises the following steps:
Step S110, gathers the first data message, and obtain data delay information according to the first data message;
Step S120, time mark is carried out according to data delay information to the data frame of the first data message, obtains postamble Information;
Step S130, obtains temporal information, and be calculated data according to temporal information and trailer information by gps system Acquisition time information;
Step S140, data acquisition time information is packed with the first data message, obtains the second data message, and Second data message is sent to data service center.
Specifically, since sensing node gather the first data message received successfully to network trunk, between this period Referred to as data delay.More specifically, data delay includes collection time delay, transmission delay, propagation delay, processing delay.Number It is collection time delay, transmission delay, propagation delay and processing delay sum according to time delay.Wherein, collection time delay refers to since data Data are collected to start to send;Transmission delay refers to that data is activation completion is sent to since data;Propagation delay refers to from biography Sense node sends data and starts to network trunk to receive data, in the propagation rate of free space is the light velocity due to electromagnetic wave, because This can ignore propagation delay;Processing delay refer to from receiving data to making the award, including data unpack, data decoding, CRC check etc..
Transmission delay is the number related with data frame length to processing delay, using transmission delay and processing delay as first Delay.Assuming that the data frame length of the first data message is a, then the first Delay is exactly aX, wherein X is unknown ginseng Number.Collection time delay is set to m as the second Delay, and m is unknown constant.
Fig. 2 is another realization side with time bias data collection radio MAC protocol that the embodiment of the present invention one is provided Method flow chart.
Reference picture 2, the implementation method with time bias data collection radio MAC protocol also comprises the following steps:
Step S210, judges whether the first data message is correct, if the first data message is correct, performs step S221;If the first data message is incorrect, step S222 and step S230 is performed;
Step S221, generation confirms packet, will confirm that packet feeds back to sensor node, and according to confirmation packet Obtain feedback delay information;
Step S222;First data message is abandoned;
Step S230, the first data message is resend.
Specifically, network trunk carries out ruling to the first data message, and in the case of the first data message is correct, one First data message is sent to data server by aspect, on the other hand feeds back a confirmation packet to sensing node;From net Network relaying is made a ruling to sensing node to receive and confirms that packet is set to n this period, confirms that packet is regular length, N is the unknown constant relevant with packet is confirmed.
In the case of the first data message mistake, network trunk abandons the first data message, and sensing node is certain The confirmation packet of feedback is not received in time, just automatically the first data message is resend to network trunk, in network Judge again after the first data message to resending.
Exemplary embodiment of the invention, the first data message include the first data frame length, reference picture 3, according to First data message obtains data delay information and comprises the following steps:
Step S310, obtains the 3rd data message, and be calculated parameter, and feedback delay letter according to the 3rd data message Breath;
Specifically, the 3rd data message includes the second data frame length and the 3rd data frame length, reference picture 4, this step Especially by step S410 --- S430 is realized:
Step S410, obtains the second data frame length, and measure the second transmission confirmation Delay by the first debugging;
Step S420, obtains the 3rd data frame length, and measure the 3rd transmission confirmation Delay by the second debugging;
Step S430, sends according to the second data frame length, the 3rd data frame length, second and confirms Delay and the 3rd Send and confirm Delay, be calculated parameter and feedback delay information.
Wherein, define since sensing node gathered data, to the confirmation packet of network trunk transmission is received, This period confirms time delay to send, and adopting K when sending confirmation represents.
By debugging, sensing node only sends data not gathered data, carries out manual amendment to the 3rd data message, and set It is set to the second data frame length b;Start timer timing, Zhi Daoshou while sensing node starts to send three data messages To network trunk feedback data validation bag when stop timing, by check timer calculate the second transmission confirm time delay K2, There is formula (1):
BX+n=K2 (1)
Equally, by debugging, sensing node only sends data not gathered data, the 3rd data message is manually repaiied When changing, and being arranged to the 3rd data frame length c, there is formula (2):
CX+n=K3 (2)
Wherein, K3 is that the 3rd transmission confirms time delay.
Parameter X and feedback delay n can be calculated according to formula (1) and formula (2).
Step S320, according to parameter and the first data frame length, obtains the first Delay;
Datum specifically, the first data frame length is a, the first Delay be transmission delay and processing delay it Be aX.
Step S330, obtains first and sends confirmation Delay, and combines the first Delay and feedback delay information, meter Calculation obtains the second Delay;
Specifically, in sensing node gathered data, thering is the first transmission to confirm time delay K1, such as shown in formula (3):
M+aX+n=K1 (3)
The first transmission that can be checked in formula (3) by timer timing confirms Delay K1, then by parameter X and feedback Time delay n is brought into formula (3), can be calculated collection time delay m, and the second Delay is collection time delay.
Step S340, according to the first Delay and the second Delay, obtains data delay information.
Specifically, due to having ignored propagation delay, therefore data delay information only includes the first Delay and the second time delay Information, such as formula (4) are represented:
T=aX+m (4)
Wherein, T is data delay information, and aX is the first Delay, i.e. transmission delay and processing delay sum, and m is to adopt Collection time delay.
When sensing network has gathered the first data message and to send, data delay information T is write the number of data frame It is marked according to position end, obtains trailer information, when network trunk receives the first data message, is parsed according to trailer information Data delay information is obtained, and combination calculates specific data acquisition time information self by the temporal information that GPS is obtained, Illustrate:Assuming that temporal information is 15:30, data delay information be 15 minutes, then data acquisition time information be by when Between information 15:30 push away forward 15 minutes, are 15:15.Data acquisition time information is packed with the first data message, is obtained Second data message, and the second data message is sent to data service center.
The implementation method with time bias data collection radio MAC protocol that the present invention is provided, by gathering the first data Information, and data delay information is obtained according to the first data message, according to data delay information to the data of the first data message Frame carries out time mark, obtains trailer information, by global position system GPS obtain temporal information, and according to temporal information with Trailer information is calculated data acquisition time information, and data acquisition time information is packed with the first data message, obtains To the second data message, and the second data message is sent to data service center.The present invention can improve sensing node collection The time accuracy of data.
Embodiment two:
Fig. 5 is that a kind of of the offer of the embodiment of the present invention two realizes system with time bias data collection radio MAC protocol Schematic diagram.
Reference picture 5, realizes that system includes with time bias data collection radio MAC protocol:
Data delay acquiring unit 100, for gathering the first data message, and when obtaining data according to the first data message Prolong information;
Indexing unit 200, for carrying out time mark to the data frame of the first data message according to data delay information, obtains To trailer information;
Data acquisition time acquiring unit 300, for obtaining temporal information by GPS, and according to temporal information and postamble Information is calculated data acquisition time information;
Transmitting element 400, for data acquisition time information to be packed with the first data message, obtains the second data Information, and the second data message is sent to data service center.
Exemplary embodiment of the invention, realizes that system is also wrapped with time bias data collection radio MAC protocol Include:
Ruling unit, for judging whether the first data message is correct, in the case of the first data message is correct, generation Confirm packet, will confirm that packet feeds back to sensor node, and feedback delay information is obtained according to confirmation packet.
Exemplary embodiment of the invention, the first data message includes the first data frame length, and data delay is obtained Unit 100 is additionally operable to:
The 3rd data message is obtained, and parameter and feedback delay information are calculated according to the 3rd data message;
According to parameter and the first data frame length, the first Delay is obtained;
Obtain first and send and confirm Delay, and combine the first Delay and feedback delay information, be calculated the Two Delays;
According to the first Delay and the second Delay, data delay information is obtained.
Exemplary embodiment of the invention, the 3rd data message includes the second data frame length and the 3rd data frame length Degree, being calculated parameter and feedback delay information according to the 3rd data message includes:
Second data frame length is obtained by the first debugging, and measures the second transmission and confirm Delay;
3rd data frame length is obtained by the second debugging, and measures the 3rd transmission and confirm Delay;
Sent according to the second data frame length, the 3rd data frame length, second and confirm that Delay and the 3rd sends confirmation Delay, is calculated parameter and feedback delay information.
Fig. 6 is the wireless sensor network structural representation that the embodiment of the present invention two is provided.
Reference picture 6, wireless sensor network includes sensing node, network trunk and data service center.Sensing node point Than wide, than larger, it is responsible for the collection of data, treatment and transmits area coverage cloth;Network trunk is responsible for collecting sensing section The data of point, data are transmitted to data service center;Data service center is responsible for data and is stored, analyzes, It is presented to user.
In addition, data frame format involved in the present invention is 802.11MAC data frame formats.
What the present invention was provided realizes system with time bias data collection radio MAC protocol, by gathering the first data Information, and data delay information is obtained according to the first data message, according to data delay information to the data of the first data message Frame carries out time mark, obtains trailer information, by global position system GPS obtain temporal information, and according to temporal information with Trailer information is calculated data acquisition time information, and data acquisition time information is packed with the first data message, obtains To the second data message, and the second data message is sent to data service center.The present invention can improve sensing node collection The time accuracy of data.
The meter of the realization method and system with time bias data collection radio MAC protocol that the embodiment of the present invention is provided Calculation machine program product, including the computer-readable recording medium of program code is stored, the instruction that described program code includes can For performing the method described in previous methods embodiment, implement and can be found in embodiment of the method, will not be repeated here.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description With the specific work process of device, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In addition, in the description of the embodiment of the present invention, unless otherwise clearly defined and limited, term " installation ", " phase Company ", " connection " should be interpreted broadly, for example, it may be being fixedly connected, or being detachably connected, or be integrally connected;Can Being to mechanically connect, or electrically connect;Can be joined directly together, it is also possible to be indirectly connected to by intermediary, Ke Yishi Two connections of element internal.For the ordinary skill in the art, with concrete condition above-mentioned term can be understood at this Concrete meaning in invention.
If the function is to realize in the form of SFU software functional unit and as independent production marketing or when using, can be with Storage is in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are used to so that a computer equipment (can be individual People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the invention. And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
In the description of the invention, it is necessary to explanation, term " " center ", " on ", D score, "left", "right", " vertical ", The orientation or position relationship of the instruction such as " level ", " interior ", " outward " be based on orientation shown in the drawings or position relationship, merely to Be easy to the description present invention and simplify describe, rather than indicate imply signified device or element must have specific orientation, With specific azimuth configuration and operation, therefore it is not considered as limiting the invention.Additionally, term " first ", " second ", " the 3rd " is only used for describing purpose, and it is not intended that indicating or implying relative importance.
Finally it should be noted that:Embodiment described above, specific embodiment only of the invention, is used to illustrate the present invention Technical scheme, rather than its limitations, protection scope of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair It is bright to be described in detail, it will be understood by those within the art that:Any one skilled in the art The invention discloses technical scope in, it can still modify to the technical scheme described in previous embodiment or can be light Change is readily conceivable that, or equivalent is carried out to which part technical characteristic;And these modifications, change or replacement, do not make The essence of appropriate technical solution departs from the spirit and scope of embodiment of the present invention technical scheme, should all cover in protection of the invention Within the scope of.Therefore, protection scope of the present invention described should be defined by scope of the claims.

Claims (10)

1. a kind of implementation method with time bias data collection radio MAC protocol, it is characterised in that methods described includes:
The first data message is gathered, and data delay information is obtained according to first data message;
Time mark is carried out to the data frame of first data message according to the data delay information, trailer information is obtained;
Temporal information is obtained by global position system GPS, and is calculated with the trailer information according to the temporal information Data acquisition time information;
The data acquisition time information is packed with first data message, the second data message is obtained, and by institute State the second data message and be sent to data service center.
2. the implementation method with time bias data collection radio MAC protocol according to claim 1, it is characterised in that Methods described also includes:
Judge whether first data message is correct;
If first data message is correct, generation confirms packet, and the confirmation packet is fed back into sensor section Point, and feedback delay information is obtained according to the confirmation packet.
3. the implementation method with time bias data collection radio MAC protocol according to claim 2, it is characterised in that First data message includes the first data frame length, described to obtain data delay packet according to first data message Include:
The 3rd data message is obtained, and parameter and the feedback delay information are calculated according to the 3rd data message;
According to the parameter and first data frame length, the first Delay is obtained;
Obtain first and send and confirm Delay, and combine first Delay and the feedback delay information, calculate To the second Delay;
According to first Delay and second Delay, the data delay information is obtained.
4. the implementation method with time bias data collection radio MAC protocol according to claim 3, it is characterised in that 3rd data message includes the second data frame length and the 3rd data frame length, described according to the 3rd data message meter Calculation obtains parameter and the feedback delay information to be included:
Second data frame length is obtained by the first debugging, and measures the second transmission and confirm Delay;
3rd data frame length is obtained by the second debugging, and measures the 3rd transmission and confirm Delay;
Sent according to second data frame length, the 3rd data frame length, described second and confirm Delay and described 3rd sends confirmation Delay, is calculated the parameter and the feedback delay information.
5. the implementation method with time bias data collection radio MAC protocol according to claim 3, it is characterised in that It is described the data delay information is obtained according to first Delay and second Delay to include:
Carried out calculating the data delay information according to following formula:
T=aX+m
Wherein, the T is the data delay information, and a is first data frame length, and the X is the parameter, institute M is stated for second Delay.
6. it is a kind of to realize system with time bias data collection radio MAC protocol, it is characterised in that including:
Data delay acquiring unit, for gathering the first data message, and obtains data delay according to first data message Information;
Indexing unit, for carrying out time mark to the data frame of first data message according to the data delay information, Obtain trailer information;
Data acquisition time acquiring unit, for obtaining temporal information by GPS, and according to the temporal information and the postamble Information is calculated data acquisition time information;
Transmitting element, for the data acquisition time information to be packed with first data message, obtains the second number It is believed that breath, and second data message is sent to data service center.
It is 7. according to claim 6 to realize system with time bias data collection radio MAC protocol, it is characterised in that Also include:
Ruling unit, for judging whether first data message is correct, in the case of first data message is correct, Generation confirms packet, the confirmation packet is fed back into sensor node, and fed back according to the confirmation packet Delay.
It is 8. according to claim 7 to realize system with time bias data collection radio MAC protocol, it is characterised in that First data message includes the first data frame length, and the data delay acquiring unit is additionally operable to:
The 3rd data message is obtained, and parameter and the feedback delay information are calculated according to the 3rd data message;
According to the parameter and first data frame length, the first Delay is obtained;
Obtain first and send and confirm Delay, and combine first Delay and the feedback delay information, calculate To the second Delay;
According to first Delay and second Delay, the data delay information is obtained.
It is 9. according to claim 8 to realize system with time bias data collection radio MAC protocol, it is characterised in that 3rd data message includes the second data frame length and the 3rd data frame length, described according to the 3rd data message meter Calculation obtains parameter and the feedback delay information to be included:
Second data frame length is obtained by the first debugging, and measures the second transmission and confirm Delay;
3rd data frame length is obtained by the second debugging, and measures the 3rd transmission and confirm Delay;
Sent according to second data frame length, the 3rd data frame length, described second and confirm Delay and described 3rd sends confirmation Delay, is calculated the parameter and the feedback delay information.
It is 10. according to claim 8 to realize system with time bias data collection radio MAC protocol, it is characterised in that It is described the data delay information is obtained according to first Delay and second Delay to include:
Carried out calculating the data delay information according to following formula:
T=aX+m
Wherein, the T is the data delay information, and a is first data frame length, and the X is the parameter, institute M is stated for second Delay.
CN201710053369.2A 2017-01-22 2017-01-22 Method and system for realizing wireless MAC protocol with time compensation data acquisition Active CN106851686B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710053369.2A CN106851686B (en) 2017-01-22 2017-01-22 Method and system for realizing wireless MAC protocol with time compensation data acquisition

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710053369.2A CN106851686B (en) 2017-01-22 2017-01-22 Method and system for realizing wireless MAC protocol with time compensation data acquisition

Publications (2)

Publication Number Publication Date
CN106851686A true CN106851686A (en) 2017-06-13
CN106851686B CN106851686B (en) 2020-03-31

Family

ID=59120395

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710053369.2A Active CN106851686B (en) 2017-01-22 2017-01-22 Method and system for realizing wireless MAC protocol with time compensation data acquisition

Country Status (1)

Country Link
CN (1) CN106851686B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5940399A (en) * 1996-06-20 1999-08-17 Mrv Communications, Inc. Methods of collision control in CSMA local area network
CN101958813A (en) * 2010-09-14 2011-01-26 中兴通讯股份有限公司 Method for delaying data acquisition and device thereof
CN102088335A (en) * 2010-12-23 2011-06-08 中兴通讯股份有限公司 Method and device for determining time delay of data service
CN102572706A (en) * 2010-12-28 2012-07-11 上海贝尔股份有限公司 Method, equipment and system for detecting transmission time delays in wireless multi-cast system
CN102668468A (en) * 2009-11-03 2012-09-12 英特尔公司 Frame structure for support of large delay spread deployment scenarios
CN103138873A (en) * 2011-11-23 2013-06-05 中兴通讯股份有限公司 Obtaining method and device for two-layer data package time delay
CN103701847A (en) * 2013-10-28 2014-04-02 陕西高新实业有限公司 Onboard network data acquisition and synchronous transmission system
CN103929263A (en) * 2014-04-30 2014-07-16 北京华力创通科技股份有限公司 Network communication method, network communication delay determining method and network communication local time synchronizing method
CN104012025A (en) * 2011-11-07 2014-08-27 维特赛半导体公司 Physical layer processing of timestamps and MAC security

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5940399A (en) * 1996-06-20 1999-08-17 Mrv Communications, Inc. Methods of collision control in CSMA local area network
CN102668468A (en) * 2009-11-03 2012-09-12 英特尔公司 Frame structure for support of large delay spread deployment scenarios
CN101958813A (en) * 2010-09-14 2011-01-26 中兴通讯股份有限公司 Method for delaying data acquisition and device thereof
CN102088335A (en) * 2010-12-23 2011-06-08 中兴通讯股份有限公司 Method and device for determining time delay of data service
CN102572706A (en) * 2010-12-28 2012-07-11 上海贝尔股份有限公司 Method, equipment and system for detecting transmission time delays in wireless multi-cast system
CN104012025A (en) * 2011-11-07 2014-08-27 维特赛半导体公司 Physical layer processing of timestamps and MAC security
CN103138873A (en) * 2011-11-23 2013-06-05 中兴通讯股份有限公司 Obtaining method and device for two-layer data package time delay
CN103701847A (en) * 2013-10-28 2014-04-02 陕西高新实业有限公司 Onboard network data acquisition and synchronous transmission system
CN103929263A (en) * 2014-04-30 2014-07-16 北京华力创通科技股份有限公司 Network communication method, network communication delay determining method and network communication local time synchronizing method

Also Published As

Publication number Publication date
CN106851686B (en) 2020-03-31

Similar Documents

Publication Publication Date Title
CN105722413B (en) A kind of data communications method and data communication system
JP6933732B2 (en) Methods, devices, and storage media for transmitting paging messages
CN107079258A (en) A kind of information-pushing method and communication system
CN101267291B (en) Method, wireless sensor network system and synchronization device for realizing synchronization collection
JP2018519698A5 (en)
CN104780607B (en) To method, bluetooth trunking and the audiomonitor of the positioning of bluetooth wearable device
CN107172580A (en) Intelligent hardware gathered data is transmitted to the method for data receiver based on bluetooth iBeacon Radio Broadcasting Agreements
CN103858374A (en) Systems and methods for acknowledging communications from a plurality of devices
US11259156B1 (en) Asset tracking systems and methods
CN106453575A (en) Collectivized management child anti-lost system based on LoRa technology
CN108023682B (en) Positioning method and positioning device
CN106842122A (en) A kind of assisted location method and system based on WiFiAware
EP3000262B1 (en) A method and apparatus for recording information from a plurality of mobile devices in an area
EP4052518A1 (en) Method and apparatus for probing access points
JP6670851B2 (en) Network event timer optimization technology
CN106851686A (en) Realization method and system with time bias data collection radio MAC protocol
JP2003198563A (en) Radio communication device, method therefor, radio communication program and computer readable recording medium recorded with the same program
JP6378562B2 (en) Information processing apparatus and information processing method
KR101567993B1 (en) System for Managing Quality Indicator for Application Service
CN106576100B (en) TCP network agent configuration method and device
CN113985854A (en) Data processing method and device and electronic equipment
JP6408057B1 (en) Communication terminal, communication method, and program
CN105745978B (en) Method for synchronizing time, device and communication system
CN104580397B (en) Page access method and the network equipment
CN116455984B (en) Data transmission method, device, storage medium and electronic equipment

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