CN105790900A - Reliable data returning method for aiming at low-speed wireless network - Google Patents

Reliable data returning method for aiming at low-speed wireless network Download PDF

Info

Publication number
CN105790900A
CN105790900A CN201610131906.6A CN201610131906A CN105790900A CN 105790900 A CN105790900 A CN 105790900A CN 201610131906 A CN201610131906 A CN 201610131906A CN 105790900 A CN105790900 A CN 105790900A
Authority
CN
China
Prior art keywords
data
gateway
countdown
channel
wireless network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610131906.6A
Other languages
Chinese (zh)
Inventor
施友岚
钱超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Foshan Black Box Technology Co Ltd
Original Assignee
Foshan Black Box Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Foshan Black Box Technology Co Ltd filed Critical Foshan Black Box Technology Co Ltd
Priority to CN201610131906.6A priority Critical patent/CN105790900A/en
Publication of CN105790900A publication Critical patent/CN105790900A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1806Go-back-N protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1829Arrangements specially adapted for the receiver end
    • H04L1/1858Transmission or retransmission of more than one copy of acknowledgement message
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Abstract

The invention discloses a reliable data returning method for aiming at a low-speed wireless network. The method comprises the execution flow of a gateway A and the execution flow of a node B. The method realizes 100% data returning success rate and supports no upper number limit of nodes. Multiple channels with different functions, namely an arbitration channel and an uploading channel are utilized for transmission. A plurality of mechanisms of data concurrency, data retransmission and data response are combined. An overtime automatic exiting mechanism is used. A reliable data transmission task can be finished through a lightweight structure without a protocol stack. According to the method, the arbitration channel is separated from the transmission channel, and no upper number limit of the nodes exists. Total time consumption after uploading finishing of the node is only related with the number of nodes. The method realizes the technical effects of reliable data transmission task through the lightweight structure without the protocol stack, no upper number limit of the nodes, data uploading by all nodes, and no easy information loss.

Description

A kind of infallible data retransmission method for low rate wireless network
Technical field
The present invention relates to information transmission processing field, in particular it relates to a kind of infallible data retransmission method for low rate wireless network.
Background technology
The typical networking mode Zigbee of low rate wireless network, owing to it is that the mode distributed by timeslice avoids wireless signal to conflict.But, needing to give the correct time when network exists bursty data, timeslice distribution mechanism may result in signal propagation delay, even loses.Reason is that every first nodes all can only could transmit data in the timeslice of oneself, and once there be multiple root node unexpectedly to carry out wireless data transmission simultaneously, then inherently there is air message conflict to thus result in information dropout.And for the wireless network of finite channel capacity, when data count off exceedes certain tolerance limit, if single channel transmission data, inherently there is packet loss problem.
In sum, present inventor is in realizing the embodiment of the present application in the process of inventive technique scheme, it has been found that above-mentioned technology at least exists following technical problem:
In the prior art, there is the technical problem that information is easily lost in the networking mode of existing low rate wireless network.
Summary of the invention
The invention provides a kind of infallible data retransmission method for low rate wireless network, there is the technical problem that information is easily lost in the networking mode solving existing low rate wireless network, achieve lightweight, no-protocol stack complete reliable data transmission task, limit without maximum node number, all nodes all can complete reported data, and information is not easy the technique effect lost.
For solving above-mentioned technical problem, the embodiment of the present application provides a kind of infallible data retransmission method for low rate wireless network, described method includes: the execution flow process of A gateway and the execution flow process of B node, described method is applied in ZigBee wireless network, wherein, gateway execution flow process particularly as follows:
AS1: gateway powers on, system brings into operation, and monitors arbitration channel;Wherein, described system is the operating system that gateway is built-in, or the software program inside gateway;
AS2: gateway waits data upload requests, jumps to AS3 after receiving data;
AS3: after gateway resolves, if effectively request, jumps to AS4, otherwise jumps to AS2;
AS4: gateway handoff, to uploading channel, sends data and uploads permission order, and jump to AS5;
AS5: wait that first time presets countdown, if first time presets countdown and terminates, gateway does not receive the data uploaded, then retransmit and once upload permission order, starts second time and presets countdown;
AS6: second time is preset countdown and terminated, if not receiving the data uploaded, then jumps to AS8;
AS7: during waiting that first time presets countdown, if receiving the data uploaded, then terminate in advance to preset countdown, and the data received uploaded onto the server or store, and jump to AS8;
AS8: gateway handoff returns arbitration channel, continues to monitor, and will forward AS3 to the day after tomorrow receiving data;
The execution flow process of node particularly as follows:
BS1: node powers on, system brings into operation;Described system is the operating system that gateway is built-in, or the software program inside gateway;
BS2: checking for data needs to report, if having, jumping to BS3, otherwise jumping to BS2;
BS3: be switched to arbitration channel, by multiple mechanism, upper sending out is asked, and is switched to data and uploads channel, start countdown after being sent completely;
BS4: before countdown terminates, receives the grant commands of gateway, uploads data to gateway, jumps to BS6;
BS5: countdown terminates, it does not have receive the grant commands of gateway, returns BS2, and attempts again uploading;
BS6: remove from data transmit queue and sent data, and jump to BS2.
Further, the MAC Address of the described every node allowing order to include receiving.
Further, described default countdown is specially 200ms countdown.It is on the one hand mate with hardware chip that countdown 200ms is designed as, another aspect be count down time long will return inefficient, when count down time is shorter, it is easy to cause that the data uploaded have not enough time to receive, it is easy to lead to errors judgement.
Further, described arbitration channel monitors a upper request of data for gateway, only monitors arbitration channel during the gateway free time, and any node sends out data to gateway, all needs to send upload request toward arbitration channel;Described channel of uploading for uploading data, all of child node need to receive that gateway sends can upload license data after, just can upload data.
Further, described method data send operation and adopt the multiple system of data, and namely data send operation and comprise and continuously transmit 3 secondary data each time;Described method data send operation and adopt data re-transmitting system, and namely each bag data are sent completely, if receiving return in 200ms, then automatically re-execute and once send operation.
Further, described method is applied particularly in temperature measurement system of grain storage, and temperature measurement system of grain storage includes: controller and multiple sensor being arranged on grain heap surface and inside, the data acquisition this method between sensor and controller is transmitted.
The one or more technical schemes provided in the embodiment of the present application, at least have the following technical effect that or advantage:
Include owing to have employed to be designed as the infallible data retransmission method for low rate wireless network: the execution flow process of A gateway and the execution flow process of B node, achieve the data back success rate of 100%, support node quantity no maximum, adopt the transmission of multichannel point function: arbitrate channel, upload channel, employing data are multiple, retransmit, response number of mechanisms combines, adopting time-out and automatically exit from mechanism, lightweight, no-protocol stack completes reliable data transmission task;This method is arbitrated and separates with transmission channel, limit without maximum node number;Node reported always consuming time relevant with number of nodes, but all node reported datas finally must be made to complete;So, there is the technical problem that information is easily lost in the networking mode efficiently solving existing low rate wireless network, and then achieve lightweight, no-protocol stack complete reliable data transmission task, limit without maximum node number, all nodes all can complete reported data, and information is not easy the technique effect lost.
Accompanying drawing explanation
Accompanying drawing described herein is used for providing being further appreciated by the embodiment of the present invention, constitutes the part of the application, is not intended that the restriction to the embodiment of the present invention, in the accompanying drawings:
Fig. 1 is for the execution schematic flow sheet of gateway in the infallible data retransmission method of low rate wireless network in the embodiment of the present application one;
Fig. 2 is the execution schematic flow sheet of the infallible data retransmission method interior joint in the embodiment of the present application one for low rate wireless network.
Detailed description of the invention
The invention provides a kind of infallible data retransmission method for low rate wireless network, there is the technical problem that information is easily lost in the networking mode solving existing low rate wireless network, achieve lightweight, no-protocol stack complete reliable data transmission task, limit without maximum node number, all nodes all can complete reported data, and information is not easy the technique effect lost.
In order to be better understood from technique scheme, below in conjunction with Figure of description and specific embodiment, technique scheme is described in detail.
For making the object, technical solutions and advantages of the present invention clearly understand, below in conjunction with embodiment and accompanying drawing, the present invention is described in further detail, and exemplary embodiment and the explanation thereof of the present invention are only used for explaining the present invention, not as a limitation of the invention.
Embodiment one:
In embodiment one, refer to Fig. 1-Fig. 2, it is provided that a kind of infallible data retransmission method for low rate wireless network, described method includes: the execution flow process of A gateway and the execution flow process of B node, wherein, the execution flow process of gateway particularly as follows:
AS1: gateway powers on, system brings into operation, and monitors arbitration channel;
AS2: gateway waits data upload requests, jumps to AS3 after receiving data;
AS3: after gateway resolves, if effectively request, jumps to AS4, otherwise jumps to AS2;
AS4: gateway handoff, to uploading channel, sends data and uploads permission order, and jump to AS5;
AS5: wait that first time presets countdown, if first time presets countdown and terminates, gateway does not receive the data uploaded, then retransmit and once upload permission order, starts second time and presets countdown;
AS6: second time is preset countdown and terminated, if not receiving the data uploaded, then jumps to AS8;
AS7: during waiting that first time presets countdown, if receiving the data uploaded, then terminate in advance to preset countdown, and the data received uploaded onto the server or store, and jump to AS8;
AS8: gateway handoff returns arbitration channel, continues to monitor, and will forward AS3 to the day after tomorrow receiving data;
The execution flow process of node particularly as follows:
BS1: node powers on, system brings into operation;
BS2: checking for data needs to report, if having, jumping to BS3, otherwise jumping to BS2;
BS3: be switched to arbitration channel, by multiple mechanism, upper sending out is asked, and is switched to data and uploads channel, start countdown after being sent completely;
BS4: before countdown terminates, receives the grant commands of gateway, uploads data to gateway, jumps to BS6;
BS5: countdown terminates, it does not have receive the grant commands of gateway, returns BS2, and attempts again uploading;
BS6: remove from data transmit queue and sent data, and jump to BS2.
Wherein, in the embodiment of the present application, the MAC Address of the described every node allowing order to include receiving.
Wherein, in the embodiment of the present application, described default countdown is specially 200ms countdown.
Wherein, in the embodiment of the present application, described arbitration channel monitors a upper request of data for gateway, only monitors arbitration channel during the gateway free time, and any node sends out data to gateway, all needs to send upload request toward arbitration channel;Described channel of uploading for uploading data, all of child node need to receive that gateway sends can upload license data after, just can upload data.
Wherein, in the embodiment of the present application, described method data send operation and adopt the multiple system of data, and namely data send operation and comprise and continuously transmit 3 secondary data each time;Described method data send operation and adopt data re-transmitting system, and namely each bag data are sent completely, if receiving return in 200ms, then automatically re-execute and once send operation.
Wherein, in the embodiment of the present application, described method is applied particularly in temperature measurement system of grain storage, and temperature measurement system of grain storage includes: controller and multiple sensor being arranged on grain heap surface and inside, the data acquisition this method between sensor and controller is transmitted.In the prior art, it is usually employing RS232, RS485 before temperature measurement system of grain storage, is realized by the mode of bus, and adopt the problem that aforesaid way deposits: wiring cost is high, has the upper limit supporting quantity, can not change after having constructed;And adopting the present processes, the sensor detection application of low rate wireless network, it is not necessary to wiring, it does not have support the upper limit, node can arbitrarily move.Temperature measuring application in silo, each grain heap in silo, multipair sensor will be placed in surface and inside, for detecting the temperature conditions of each some position, need when temperature drift to arrange workman to stir grain in time, to reduce local temperature, in order to avoid producing disaster hidden-trouble.Under such application scenarios, temperature information reports requirement of real-time and reports frequency is all very high.
Technical scheme in above-mentioned the embodiment of the present application, at least has the following technical effect that or advantage:
Include owing to have employed to be designed as the infallible data retransmission method for low rate wireless network: the execution flow process of A gateway and the execution flow process of B node, achieve the data back success rate of 100%, support node quantity no maximum, adopt the transmission of multichannel point function: arbitrate channel, upload channel, employing data are multiple, retransmit, response number of mechanisms combines, adopting time-out and automatically exit from mechanism, lightweight, no-protocol stack completes reliable data transmission task;This method is arbitrated and separates with transmission channel, limit without maximum node number;Node reported always consuming time relevant with number of nodes, but all node reported datas finally must be made to complete;So, there is the technical problem that information is easily lost in the networking mode efficiently solving existing low rate wireless network, and then achieve lightweight, no-protocol stack complete reliable data transmission task, limit without maximum node number, all nodes all can complete reported data, and information is not easy the technique effect lost.
Although preferred embodiments of the present invention have been described, but those skilled in the art are once know basic creative concept, then these embodiments can be made other change and amendment.So, claims are intended to be construed to include preferred embodiment and fall into all changes and the amendment of the scope of the invention.
Obviously, the present invention can be carried out various change and modification without deviating from the spirit and scope of the present invention by those skilled in the art.So, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (6)

1. the infallible data retransmission method for low rate wireless network, it is characterised in that described method includes: the execution flow process of A gateway and the execution flow process of B node, wherein, the execution flow process of gateway particularly as follows:
AS1: gateway powers on, system brings into operation, and monitors arbitration channel;
AS2: gateway waits data upload requests, jumps to AS3 after receiving data;
AS3: after gateway resolves, if effectively request, jumps to AS4, otherwise jumps to AS2;
AS4: gateway handoff, to uploading channel, sends data and uploads permission order, and jump to AS5;
AS5: wait that first time presets countdown, if first time presets countdown and terminates, gateway does not receive the data uploaded, then retransmit and once upload permission order, starts second time and presets countdown;
AS6: second time is preset countdown and terminated, if not receiving the data uploaded, then jumps to AS8;
AS7: during waiting that first time presets countdown, if receiving the data uploaded, then terminate in advance to preset countdown, and the data received uploaded onto the server or store, and jump to AS8;
AS8: gateway handoff returns arbitration channel, continues to monitor, and will forward AS3 to the day after tomorrow receiving data;
The execution flow process of node particularly as follows:
BS1: node powers on, system brings into operation;
BS2: checking for data needs to report, if having, jumping to BS3, otherwise jumping to BS2;
BS3: be switched to arbitration channel, by multiple mechanism, upper sending out is asked, and is switched to data and uploads channel, start countdown after being sent completely;
BS4: before countdown terminates, receives the grant commands of gateway, uploads data to gateway, jumps to BS6;
BS5: countdown terminates, it does not have receive the grant commands of gateway, returns BS2, and attempts again uploading;
BS6: remove from data transmit queue and sent data, and jump to BS2.
2. the infallible data retransmission method for low rate wireless network according to claim 1, it is characterised in that described permission order includes the MAC Address of the every node received.
3. the infallible data retransmission method for low rate wireless network according to claim 1, it is characterised in that described default countdown is specially 200ms countdown.
4. the infallible data retransmission method for low rate wireless network according to claim 1, it is characterized in that, described arbitration channel monitors a upper request of data for gateway, only monitors arbitration channel during the gateway free time, any node sends out data to gateway, all needs to send upload request toward arbitration channel;Described channel of uploading for uploading data, all of child node need to receive that gateway sends can upload license data after, just can upload data.
5. the infallible data retransmission method for low rate wireless network according to claim 1, it is characterised in that described method data send operation and adopt the multiple system of data, namely data send operation and comprise and continuously transmit 3 secondary data each time;Described method data send operation and adopt data re-transmitting system, and namely each bag data are sent completely, if receiving return in 200ms, then automatically re-execute and once send operation.
6. the infallible data retransmission method for low rate wireless network according to claim 1, it is characterized in that, described method is applied particularly in temperature measurement system of grain storage, temperature measurement system of grain storage includes: controller and multiple sensor being arranged on grain heap surface and inside, the data acquisition this method between sensor and controller is transmitted.
CN201610131906.6A 2016-03-09 2016-03-09 Reliable data returning method for aiming at low-speed wireless network Pending CN105790900A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610131906.6A CN105790900A (en) 2016-03-09 2016-03-09 Reliable data returning method for aiming at low-speed wireless network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610131906.6A CN105790900A (en) 2016-03-09 2016-03-09 Reliable data returning method for aiming at low-speed wireless network

Publications (1)

Publication Number Publication Date
CN105790900A true CN105790900A (en) 2016-07-20

Family

ID=56387290

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610131906.6A Pending CN105790900A (en) 2016-03-09 2016-03-09 Reliable data returning method for aiming at low-speed wireless network

Country Status (1)

Country Link
CN (1) CN105790900A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106357779A (en) * 2016-09-27 2017-01-25 北京市水利自动化研究所 Internet of Things perception terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404079A (en) * 2011-12-28 2012-04-04 用友软件股份有限公司 Data transmission control device and method
CN103259632A (en) * 2013-05-24 2013-08-21 上海大学 Wireless sensor network data reliable aggregation method based on continuous-collecting single-transmitting model
CN104270452A (en) * 2014-10-11 2015-01-07 南京航空航天大学 Remote medical data management system and wireless network communication method thereof
CN104640156A (en) * 2015-01-22 2015-05-20 北京大学 Data distributive acquisition storage method based on cabled and wireless hybrid network
CN104767588A (en) * 2015-03-12 2015-07-08 成都金本华科技股份有限公司 Method for transmitting data to client side

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404079A (en) * 2011-12-28 2012-04-04 用友软件股份有限公司 Data transmission control device and method
CN103259632A (en) * 2013-05-24 2013-08-21 上海大学 Wireless sensor network data reliable aggregation method based on continuous-collecting single-transmitting model
CN104270452A (en) * 2014-10-11 2015-01-07 南京航空航天大学 Remote medical data management system and wireless network communication method thereof
CN104640156A (en) * 2015-01-22 2015-05-20 北京大学 Data distributive acquisition storage method based on cabled and wireless hybrid network
CN104767588A (en) * 2015-03-12 2015-07-08 成都金本华科技股份有限公司 Method for transmitting data to client side

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106357779A (en) * 2016-09-27 2017-01-25 北京市水利自动化研究所 Internet of Things perception terminal
CN106357779B (en) * 2016-09-27 2018-05-08 北京市水利自动化研究所 Internet of Things perception terminal

Similar Documents

Publication Publication Date Title
US11229010B2 (en) Wireless communication system and wireless communication control method, wireless communication device and wireless communication method, and computer program
US4677612A (en) Communication system with subdivided transmission cycles
US4581734A (en) Multipriority communication system
KR102298991B1 (en) Method and apparatus for buffer management in wireless communication system
US4570257A (en) Communication system with slot time error detection
KR102119418B1 (en) Communication system, communication device and communication method
US10854089B2 (en) Method for forming and for coordinating at least one group of vehicles
US10924254B2 (en) Method and system for long-distance full-duplex wireless communication
US7996534B2 (en) File distribution in wireless networks
US20140241268A1 (en) Method for Accessing Wireless Local Area Network, Access Point and Wireless Local Area Network System
CN105828450A (en) Competition access method and apparatus
US9332536B1 (en) Method and apparatus for managing communication on a wireless channel
CN105790900A (en) Reliable data returning method for aiming at low-speed wireless network
CN102438326B (en) Multi-rate adaptive cooperative access method and system
CN103379503A (en) System and method for distributing channels of wireless sensor network for agricultural product logistics
EP0172884B1 (en) Multipriority communication system
US20130205012A1 (en) Apparatus and method for transmitting node discovery messages
WO2022179513A1 (en) Method for automatically upgrading smart devices, and cloud server
WO2014077673A1 (en) System and method for frequency channel allocation in a wireless communication network
CN113853011A (en) Data interaction method, gateway, data interaction device and data interaction system
CN112312184B (en) Video framing method
CN111432250B (en) 4K program broadcasting control system and method
JP2007243834A (en) Communication system, communication system, communication method, and computer program
US10320442B1 (en) High bandwidth channel in a frequency hopping system
TWI458372B (en) Wireless device for selecting connection target based on signal quality, system and method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160720

RJ01 Rejection of invention patent application after publication