CN109040204A - For the data processing method of gateway, gateway component and sensor network - Google Patents

For the data processing method of gateway, gateway component and sensor network Download PDF

Info

Publication number
CN109040204A
CN109040204A CN201810784046.5A CN201810784046A CN109040204A CN 109040204 A CN109040204 A CN 109040204A CN 201810784046 A CN201810784046 A CN 201810784046A CN 109040204 A CN109040204 A CN 109040204A
Authority
CN
China
Prior art keywords
gateway
node
data
acquisition
sensor
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
CN201810784046.5A
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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201810784046.5A priority Critical patent/CN109040204A/en
Publication of CN109040204A publication Critical patent/CN109040204A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1008Server selection for load balancing based on parameters of servers, e.g. available memory or workload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching

Abstract

The present invention provides a kind of data transmission method for gateway, comprising: receives the acquisition data that the sensor node as acquisition node corresponding with the gateway is sent;Judge the current work load of the gateway whether more than the first predetermined load;When the current work load of the gateway is less than first predetermined load, the acquisition data that the acquisition node is sent are received;When the current work load of the gateway is more than first predetermined load, is sent to the acquisition node for sending the acquisition data and wait indication signal;When the workload of the gateway is by being more than that first predetermined load is reduced to first predetermined load or less, to the sensor node for being used as temporary node and the sensor node as acquisition node sends data acquisition request.The present invention also provides a kind of gateway components and a kind of sensor network.The data transmission method may insure sensor network data transmission efficiency with higher and higher network utilization.

Description

For the data processing method of gateway, gateway component and sensor network
Technical field
The present invention relates to internet of things field, and in particular, to a kind of to be somebody's turn to do for the data processing method of gateway, a kind of execution The gateway component of data processing method and it is a kind of include to the sensor network of gateway component.
Background technique
Important component of the sensor network as Internet of Things, including multiple sensor nodes and multiple gateways, it is described Sensing network is responsible for the effect for obtaining physical world information and being transferred to background application.Wherein, the main function of sensor node It can be acquisition data, gateway is used to handle (for example, data compression is whole the data that its corresponding sensor node transmits Conjunction or protocol conversion) after, it is uploaded to background server, is used for background application.
, often there is some or gateway receive data mistake in the sensor network more complicated for some detection environment Can not mostly handle in time and the less situation of other gateway workloads, not only reduce data-handling efficiency, also will cause resource Waste.
Therefore, the data-handling efficiency for how improving sensor network, the utilization rate for improving sensor network become ability Domain technical problem urgently to be resolved.
Summary of the invention
The purpose of the present invention is to provide a kind of data processing methods for gateway, a kind of execution data processing method Gateway component and it is a kind of include to the sensor network of gateway component.The treatment effeciency of data can be improved in the data method And improve resource utilization.
To achieve the goals above, as one aspect of the present invention, a kind of transmission side data for gateway is provided Method, the gateway is used in the sensor network including multiple sensor nodes, and the gateway corresponds to multiple sensor nodes, Wherein, the data transmission method includes:
Receive the acquisition data that the sensor node as acquisition node corresponding with the gateway is sent;
Judge the current work load of the gateway whether more than the first predetermined load;
When the current work load of the gateway is less than first predetermined load, receives the acquisition node and send Acquisition data;
When the current work load of the gateway is more than first predetermined load, to adopting for the transmission acquisition data Collect node and sends waiting indication signal;
When the workload of the gateway is by being more than that first predetermined load is reduced to first predetermined load or less When, to the sensor node for being used as temporary node and the sensor node as acquisition node sends data acquisition request.
Preferably, the data transmission method includes:
When receiving acquisition data from the acquisition node simultaneously and from the data of the temporary node, preferentially Handle the data from the temporary node.
Preferably, the data transmission method further include:
When the time that the workload of the gateway is more than first predetermined load being more than the predetermined time, taken to backstage Device sending assist process of being engaged in instructs;
After receiving the assistance confirmation instruction that the background server is sent, saved to the temporary node and the acquisition Point sends forwarding instruction, and the forwarding instruction includes the address of standby gateway, and the current work load of the standby gateway is less than Second predetermined load, and second predetermined load is less than first predetermined load;
After sending the forwarding instruction, when the workload of the gateway is reduced to first predetermined load or less, It is sent to the background server and cancels assistance instruction.
Preferably, the data transmission method further include:
When receiving assist process instruction, receive from sensing not corresponding with the gateway and as acquisition node The data of the data of device and sensor that is not corresponding with the gateway and being used as temporary node;
When simultaneously receive it is not corresponding with the gateway and as acquisition node sensor data and not with it is described Gateway is corresponding and when being used as the data of the sensor of temporary node, number of the priority processing from the sensor for being used as temporary node According to.
As the second aspect of the invention, a kind of gateway component is provided, the gateway component is used to include multiple biographies In the sensor network of sensor node, the gateway component is corresponding with multiple sensor nodes, wherein the gateway component includes Gateway, communication module, judgment module and control module;
The communication module is used to receive adopting for the sensor node transmission as acquisition node corresponding with the gateway Collect data;
The judgment module is used to judge that the current work load of the gateway whether more than the first predetermined load, and to generate Judging result;
The control module is used for when the current work load of the gateway is less than first predetermined load, control The communication module receives the acquisition data that acquisition node corresponding with the gateway is sent;
The control module is used to receiving the current work load for determining the gateway be more than first predetermined negative It is generated when the judging result of lotus and waits indication signal, and controlled the communication module and the waiting indication signal is sent to transmission The acquisition node of the acquisition data;
The control module is also used to receiving the current work load for determining the gateway be more than described first predetermined It is received again after the judging result of load and determines that the current work load of the gateway is less than sentencing for first predetermined load Data acquisition signal is generated when disconnected result, and controls the communication module and the data acquisition signal is sent to the workingstorage section Point and the acquisition node.
Preferably, the control module is used to receive the acquisition from the acquisition node simultaneously in the communication module Data and when from the data of the temporary node, control data of the gateway priority processing from the temporary node.
Preferably, the control module is used in the workload of the gateway be more than the time of first predetermined load Assist process instruction is generated when more than the predetermined time, and controls the communication module and assist process instruction is sent to backstage Server;
The control module is also used to true in the assistance for receiving the background server transmission by the communication module After recognizing instruction, forwarding instruction is sent to the temporary node and the acquisition node by the communication module, the forwarding refers to The address including standby gateway is enabled, the current work load of the standby gateway is less than the second predetermined load, and described second is pre- Constant load is less than first predetermined load;
The control module is also used to after sending forwarding instruction, be reduced to when the workload of the gateway described in It when below the first predetermined load, generates and cancels assistance instruction, and taken by the communication module to background server transmission Disappear assistance instruction.
Preferably, the control module is also used to after receiving assist process instruction by the communication module, is passed through The communication module simultaneously receive from it is not corresponding with the gateway and as acquisition node sensor data and not with The gateway is corresponding and when being used as the Data Concurrent of the sensor of temporary node and sending to the gateway, and the control module is also used to Control data of the gateway priority processing from the sensor for being used as temporary node.
As the third aspect of the invention, a kind of sensor network is provided, the sensor network includes multiple biographies Sensor node and multiple gateway components, the sensor node is corresponding with scheduled gateway component with according to pre-defined rule, In, the gateway component is the gateway component provided by the present invention;
The sensor node is used for after receiving waiting indication signal to the sensor node hair for being used as temporary node Send acquisition data;
The sensor node is also used to receive the acquisition data of other sensors node transmission;
The sensor node is also used to when receiving data acquisition request, sends data to corresponding gateway group Part.
Preferably, the sensor network further includes background server
Described in the background server is used to after receiving assist process instruction send to the gateway for being used as standby gateway Assist process instruction;
The background server be also used to receive it is described disappear assistance instruction when, the cancellation assistance instruction is sent to Gateway as standby gateway.
Detailed description of the invention
The drawings are intended to provide a further understanding of the invention, and constitutes part of specification, with following tool Body embodiment is used to explain the present invention together, but is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the flow chart of the data processing method provided by the present invention for gateway;
Fig. 2 is the module diagram of gateway component provided by the present invention;
Fig. 3 is the module diagram of sensor network provided by the present invention.
Description of symbols
210: gateway 220: communication module
230: judgment module 240: control module
311~316: sensor node
320: background server
Specific embodiment
Below in conjunction with attached drawing, detailed description of the preferred embodiments.It should be understood that this place is retouched The specific embodiment stated is merely to illustrate and explain the present invention, and is not intended to restrict the invention.
As one aspect of the present invention, a kind of data transmission method for gateway is provided, the gateway is for including In the sensor network of multiple sensor nodes, and the gateway corresponds to multiple sensor nodes, wherein as shown in Figure 1, described Data transmission method includes:
In step s 110, the acquisition number that the sensor node as acquisition node corresponding with the gateway is sent is received According to;
In the step s 120, judge the current work load of the gateway whether more than the first predetermined load;
In step s 130, when the current work load of the gateway is less than first predetermined load, institute is received State the acquisition data of acquisition node transmission;
In step S140, when the current work load of the gateway is more than first predetermined load, to transmission institute The acquisition node for stating acquisition data, which is sent, waits indication signal;
In step S150, when the workload of the gateway is by being more than that first predetermined load is reduced to described first When below predetermined load, to the sensor node for being used as temporary node and the sensor node as acquisition node sends data Acquisition request.
In the sensor network, including multiple sensor nodes and multiple gateways.Wherein, sensor node and gateway Between there is corresponding relationships, for example, a gateway can correspond to multiple sensors.In the present invention, temporary to how to select Node does not do particular/special requirement, for example, the sensor node that can be would sit idle for is as temporary node.
In the present invention, to first predetermined load, there is no special requirements.User can be according to the performance of gateway Parameter determines first predetermined load.For example, first predetermined load can be 70% of the gateway at full capacity.
When the current work load of gateway is more than first predetermined load, data processing speed can decline.In this hair In bright, when the current work load for judging the gateway is more than first predetermined load, no longer reception acquisition node is sent out The acquisition data sent only handle the data that the gateway has been received, and improve processing speed.At the same time, the gateway is to hair It send the acquisition node of the acquisition data to send and waits indication signal, which is receiving the waiting indication signal Afterwards, acquisition data are sent to the sensor node for being used as temporary node, so as to make full use of in the sensor network Idle node.
As mentioned above it is possible, no longer being received after the current work load of the gateway is more than first predetermined load New data, therefore, after a period of work, load can be down under first predetermined load gateway, this In the case of, data acquisition request is sent to the sensor node for being used as temporary node, which is receiving data acquisition After request, the data for being temporarily stored in the node are sent to the gateway, continue to handle by the gateway.
In data transmission method provided by the present invention, it can either ensure the data processing speed of gateway, and can be abundant Utilize the equipment in Internet of Things.
It is easily understood that when the judging result in step S120 is " work at present of the gateway, which meets, is less than institute State the first predetermined load " when, the gateway continues to the acquisition data from acquisition node.
In order to handle data in time, it is preferable that the data transmission method includes:
In step S160, when the acquisition data received simultaneously from the acquisition node and the temporary node is come from Data when, data of the priority processing from the temporary node.
For ease of description, the data from temporary node in step S160 are referred to as data A, by step S160 It is referred to as data B from the data of acquisition node.It is easily understood that data A is also that acquisition node is collected, and acquires section Time of the time earlier than acquisition data B of point acquisition data A.Therefore, gateway processes data can be improved by step S160 Real-time.
Preferably, the data transmission method further include:
In step S170, when the workload of the gateway is more than first predetermined load and is more than described first pre- When the time of constant load is more than the predetermined time, assist process instruction is issued to background server;
In step S180, after receiving the assistance confirmation instruction that the background server is sent, to the workingstorage section Point and the acquisition node send forwarding instruction, and the forwarding instruction includes the address of standby gateway, and the standby gateway is worked as Preceding workload is less than the second predetermined load, and second predetermined load is less than first predetermined load.
In the present invention, had no time the data of processing using the standby gateway processing current gateway in opposite idle state, Not only the utilization rate of sensor network can be improved, but also the efficiency of data processing can be improved.
When below the load reduction of the gateway to first predetermined load, acquisition data can be continued to.Phase Ying Di should release the stand-by state of standby gateway.Specifically, the data transmission method further include:
After sending forwarding instruction to the temporary node and the acquisition node, when the current work load of the gateway is low When first predetermined load, is sent to the background server and cancel assistance instruction.
It should be pointed out that the standby gateway and current gateway belong to a sensor network.That is, same In one sensor network, any one gateway all possibly serves for standby gateway.Correspondingly, the data transmission method also wraps It includes:
In step S191, when receiving assist process instruction, receive from not corresponding with the gateway and as adopting Collect the data of the sensor of node and the data of sensor that is not corresponding with the gateway and being used as temporary node;
In step S192, when the number for receiving sensor that is not corresponding with the gateway and being used as acquisition node simultaneously Accordingly and when the data of sensor that is not corresponding with the gateway and being used as temporary node, priority processing, which comes from, is used as temporary node Sensor data.
Further, the data transmission method further include:
After receiving cancellation assistance instruction, confirmation is sent to the background server and cancels assistance instruction.
As the second aspect of the invention, a kind of gateway component is provided, the gateway component is used to include multiple sensings In the sensor network of device node, the gateway component is corresponding with multiple sensor nodes, wherein as shown in Fig. 2, the gateway Component includes gateway 210, communication module 220, judgment module 230 and control module 240.
It should be pointed out that gateway component provided by the present invention is for executing above-mentioned data transmission provided by the present invention Method.
Communication module 220 is for executing step S110, that is, communication module 220 is for receiving use corresponding with the gateway Make the acquisition data that the sensor node of acquisition node is sent.
Judgment module 230 is for executing step S120, that is, judgment module 230 is used to judge that the work at present of gateway 210 to be negative Whether lotus generates judging result more than the first predetermined load.
Control module 240 is for executing step S130 to step S150.That is, control module 240 is used for working as in gateway 210 When preceding workload is less than first predetermined load, control communication module 220 receives acquisition node corresponding with gateway 210 The acquisition data of transmission.
Control module 240 is also used to receiving the current work load for determining gateway 210 be more than first predetermined negative It is generated when the judging result of lotus and waits indication signal, and controlled communication module 220 and the waiting indication signal is sent to transmission The acquisition node of the acquisition data.
Control module 240 is also used to receiving the current work load for determining gateway 210 be more than first predetermined negative The judgement knot for determining that the current work load of gateway 210 is less than first predetermined load is received after the judging result of lotus again Data acquisition signal is generated when fruit, and control communication module 220 by the data acquisition signal be sent to the temporary node and The acquisition node.
The advantages of above having described data transmission method provided by the present invention in detail and beneficial effect, here It repeats no more.
In order to handle data in time, it is preferable that control module 230 is also used to execute step S160, that is, control module 240 For receiving the acquisition data from the acquisition node and the data from the temporary node simultaneously in communication module 220 When, control data of 210 priority processing of gateway from the temporary node.
Preferably, control module 240 is also used to execute step S170 and step S180.Specifically, control module 240 is used for Assist process instruction is generated when the time that the workload of gateway 210 is more than first predetermined load is more than the predetermined time, And it controls communication module 220 and assist process instruction is sent to background server.
Control module 240 is also used to receiving the assistance confirmation that the background server is sent by communication module 220 After instruction, forwarding instruction, the forwarding instruction packet are sent to the temporary node and the acquisition node by communication module 220 Include the address of standby gateway, the current work load of the standby gateway is less than the second predetermined load, and second predetermined negative Lotus is less than first predetermined load.
Preferably, control module 240 is also used to after sending the forwarding instruction, when the workload of gateway 210 reduces It when below to first predetermined load, generates and cancels assistance instruction, and sent out by communication module 220 to the background server Send cancellation assistance instruction.
As described above, the gateway in the gateway component is also used as standby gateway, correspondingly, control module 240 It is also used to when receiving assist process instruction by communication module 220, control communication module 220, which receives, to be come from and the gateway The data of sensor not corresponding and as acquisition node and sensor that is not corresponding with the gateway and being used as temporary node Data Concurrent send to gateway 210, and control data of 210 priority processing of gateway from the sensor for being used as temporary node.
As the third aspect of the invention, a kind of sensor network is provided, as shown in figure 3, the sensor network packet Include multiple sensor nodes and multiple gateway components, the sensor node with according to pre-defined rule and scheduled gateway component phase It is corresponding, wherein the gateway component is above-mentioned gateway component provided by the present invention.
Sensor node is used to adopt after receiving waiting indication signal to the sensor node transmission for being used as temporary node Collect data, and sensor node be also used to receive other sensors node transmission acquisition data and sensor node also For when receiving data acquisition request, sending data to corresponding gateway component.
In the present invention, special restriction is not done to the pre-defined rule.For example, the pre-defined rule may include: away from Sensor node from the gateway component no more than X meters is sensor node corresponding with the gateway component.Accordingly Ground, sensor module of the distance between the described gateway component more than X meters are sensor not corresponding with the gateway component Node.
Sensor node 311,312,313,314,315,316, gateway component A and gateway component B are shown in Fig. 3.Net Pass component A is corresponding with sensor node 311,312,313, and gateway component B is corresponding with sensor node 314,315,316.
As mentioned above it is possible, each sensor node not only may be used as acquisition node, but also it may be used as temporary node.
When the sensor node of used temporary node receive forwarding instruction after, by this keep in node receive it is temporary Data are sent to the gateway as standby gateway.
Preferably, the sensor network further includes background server 320, and the background server 320 is for receiving The assist process instruction is sent to the gateway for being used as standby gateway after assist process instruction.Also, background server 320 is also used In receive it is described disappear assistance instruction when, the cancellation assistance instruction is sent to the gateway as standby gateway.
The working principle of sensor network provided by the present invention is introduced below with reference to Fig. 3.As shown in figure 3, the sensing Device network includes sensor node 311,312,313,314,315,316, gateway component A and gateway component B.Gateway component A with Sensor node 311,312,313 is corresponding, and gateway component B is corresponding with sensor node 314,315,316.
For the ease of explaining, sensor node 311 to be used as to the acquisition node for sending data to gateway component A, work as gateway When the current work load of gateway is more than the first predetermined load in component A, specified sensor node 312 is as temporary node.
Specifically, when the current work load of gateway in gateway component A be more than the first predetermined load when, gateway component A to Sensor node 311, which is sent, waits indication signal;
After sensor node 311 receives waiting indication signal, acquisition data, sensor are sent to sensor node 312 Node 312 keeps in the data;
When the workload of gateway drops to the first predetermined load or less in gateway component A, to sensor node 311 and pass Sensor node 312 sends data acquisition request;
After sensor node 311 and sensor node 312 receive data acquisition request, sensor node 311 directly to Gateway component A sends acquisition data, and temporary data are sent to gateway component A by sensor node 312;
It is preferential to locate after gateway component A receives the data of data and sensor node 312 from sensor node 311 Manage the data that sensor node 312 is sent;
If after the predetermined time (for example, a hour), the workload of gateway is predetermined still above first in gateway component A Load, gateway component A send assist process instruction to background server 320;
After background server 320 receives assist process instruction, workload is inquired in the sensor network lower than the The gateway component (for example, gateway component B) of two predetermined loads, and as standby gateway, background server 320 is by the association Process instruction is helped to be sent to standby gateway;
After the confirmation message for receiving gateway component B, background server 320 is sent to gateway component A assists confirmation instruction;
After gateway component A receives assistance confirmation instruction, forwarding is sent to sensor node 311 and sensor node 312 Instruction, the forwarding instruction include the address of gateway in gateway component B;
Sensor node 311 and sensor node 312 send data to gateway component B;
When the current work load of gateway in gateway component A is lower than the first predetermined load, sent out to background server 320 Send cancellation assistance instruction;
After background server 320 receives cancellation assistance instruction, is sent to gateway component B and cancel assistance instruction;
Gateway component A sends data acquisition instruction to sensor node 311, sensor node 312;
Gateway component A, gateway component B, sensor node 311, sensor node 312 restore normal working condition.
It is understood that the principle that embodiment of above is intended to be merely illustrative of the present and the exemplary implementation that uses Mode, however the present invention is not limited thereto.For those skilled in the art, essence of the invention is not being departed from In the case where mind and essence, various changes and modifications can be made therein, these variations and modifications are also considered as protection scope of the present invention.

Claims (10)

1. a kind of data transmission method for gateway, the gateway is used for the sensor network including multiple sensor nodes In, and the gateway corresponds to multiple sensor nodes, which is characterized in that the data transmission method includes:
Receive the acquisition data that the sensor node as acquisition node corresponding with the gateway is sent;
Judge the current work load of the gateway whether more than the first predetermined load;
When the current work load of the gateway is less than first predetermined load, adopting for the acquisition node transmission is received Collect data;
When the current work load of the gateway is more than first predetermined load, to the acquisition section for sending the acquisition data Point, which is sent, waits indication signal;
When the workload of the gateway is by being more than that first predetermined load is reduced to first predetermined load or less, to Sensor node as temporary node and the sensor node as acquisition node send data acquisition request.
2. data transmission method according to claim 1, which is characterized in that the data transmission method includes:
When receiving acquisition data from the acquisition node simultaneously and from the data of the temporary node, priority processing Data from the temporary node.
3. data transmission method according to claim 1 or 2, which is characterized in that the data transmission method further include:
When the time that the workload of the gateway is more than first predetermined load being more than the predetermined time, to background server Issue assist process instruction;
After receiving the assistance confirmation instruction that the background server is sent, sent out to the temporary node and the acquisition node Forwarding is sent to instruct, the forwarding instruction includes the address of standby gateway, and the current work load of the standby gateway is less than second Predetermined load, and second predetermined load is less than first predetermined load;
After sending the forwarding instruction, when the workload of the gateway is reduced to first predetermined load or less, to institute It states background server and sends and cancel assistance instruction.
4. data transmission method according to claim 3, which is characterized in that the data transmission method further include:
When receiving assist process instruction, receive from sensor that is not corresponding with the gateway and being used as acquisition node The data of data and sensor that is not corresponding with the gateway and being used as temporary node;
When simultaneously receive it is not corresponding with the gateway and as acquisition node sensor data and not with the gateway When the data of sensor that is corresponding and being used as temporary node, data of the priority processing from the sensor for being used as temporary node.
5. a kind of gateway component, the gateway component is used in the sensor network including multiple sensor nodes, the gateway Component is corresponding with multiple sensor nodes, which is characterized in that the gateway component include gateway, communication module, judgment module and Control module;
The communication module is used to receive the acquisition number that the sensor node as acquisition node corresponding with the gateway is sent According to;
The judgment module is used to judge that the current work load of the gateway whether more than the first predetermined load, and to generate judgement As a result;
The control module is used for when the current work load of the gateway is less than first predetermined load, described in control Communication module receives the acquisition data that acquisition node corresponding with the gateway is sent;
The control module is used to receiving the current work load for determining the gateway be more than first predetermined load It is generated when judging result and waits indication signal, and controlled the communication module and the waiting indication signal is sent to described in transmission Acquire the acquisition node of data;
The control module is also used to receiving the current work load for determining the gateway be more than first predetermined load Judging result after receive the judgement knot for determining that the current work load of the gateway is less than first predetermined load again Data acquisition signal is generated when fruit, and control the communication module by the data acquisition signal be sent to the temporary node and The acquisition node.
6. gateway component according to claim 5, which is characterized in that the control module is used for same in the communication module When receive acquisition data from the acquisition node and when from the data of the temporary node, it is preferential to control the gateway Handle the data from the temporary node.
7. gateway component according to claim 5 or 6, which is characterized in that the control module is used in the gateway Workload, which is more than the time of first predetermined load, generates assist process instruction when being more than the predetermined time, and controls described logical Assist process instruction is sent to background server by letter module;
The control module is also used to refer in the assistance confirmation for receiving the background server transmission by the communication module After order, forwarding instruction, the forwarding instruction packet are sent to the temporary node and the acquisition node by the communication module Include the address of standby gateway, the current work load of the standby gateway is less than the second predetermined load, and second predetermined negative Lotus is less than first predetermined load;
The control module is also used to after sending the forwarding instruction, when the workload of the gateway is reduced to described first When below predetermined load, generates and cancel assistance instruction, and sent by the communication module to the background server and cancel association Help instruction.
8. gateway component according to claim 7, which is characterized in that the control module is also used to by the communication After module receives assist process instruction, is received simultaneously by the communication module and come from not corresponding with the gateway and be used as The Data Concurrent of the data of the sensor of acquisition node and sensor that is not corresponding with the gateway and being used as temporary node is sent When to the gateway, the control module is also used to control the gateway priority processing from the sensor for being used as temporary node Data.
9. a kind of sensor network, the sensor network includes multiple sensor nodes and multiple gateway components, the sensing Device node is corresponding with scheduled gateway component with according to pre-defined rule, which is characterized in that the gateway component is claim 5 To gateway component described in any one of 8;
The sensor node is used to adopt after receiving waiting indication signal to the sensor node transmission for being used as temporary node Collect data;
The sensor node is also used to receive the acquisition data of other sensors node transmission;
The sensor node is also used to when receiving data acquisition request, sends data to corresponding gateway component.
10. sensor network according to claim 9, which is characterized in that the sensor network further includes background service Device, the gateway component are gateway component described in claim 7 or 8,
The background server is used to send the assistance to the gateway for being used as standby gateway after receiving assist process instruction Process instruction;
The background server be also used to receive it is described disappear assistance instruction when, the cancellation assistance instruction is sent to and is used as The gateway of standby gateway.
CN201810784046.5A 2018-07-17 2018-07-17 For the data processing method of gateway, gateway component and sensor network Pending CN109040204A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810784046.5A CN109040204A (en) 2018-07-17 2018-07-17 For the data processing method of gateway, gateway component and sensor network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810784046.5A CN109040204A (en) 2018-07-17 2018-07-17 For the data processing method of gateway, gateway component and sensor network

Publications (1)

Publication Number Publication Date
CN109040204A true CN109040204A (en) 2018-12-18

Family

ID=64643074

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810784046.5A Pending CN109040204A (en) 2018-07-17 2018-07-17 For the data processing method of gateway, gateway component and sensor network

Country Status (1)

Country Link
CN (1) CN109040204A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116582488A (en) * 2023-07-14 2023-08-11 中创(深圳)物联网有限公司 Data transmission method, device, equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101107595A (en) * 2005-01-19 2008-01-16 丰田自动车株式会社 Fault diagnosis data recording system and method
CN103501276A (en) * 2013-10-09 2014-01-08 中国联合网络通信集团有限公司 Method and device for communication between server and sensor nodes
CN103888994A (en) * 2012-12-21 2014-06-25 中国科学院计算技术研究所 Multi-gateway processing method with thermal disaster recovery capability and system
CN104618960A (en) * 2010-09-28 2015-05-13 华为技术有限公司 Gateway data transmission method, device and system
CN106453082A (en) * 2016-11-08 2017-02-22 浙江工商大学 Fair delay-tolerant network node cooperation stimulation method based on credit strategy
CN107302575A (en) * 2017-06-19 2017-10-27 深圳市盛路物联通讯技术有限公司 A kind of synchronous Internet of Things access node and the method and system of money order elementary time
CN108174397A (en) * 2017-12-08 2018-06-15 南京邮电大学 A kind of multiple gateway Synergistic method of task-driven
KR20180072319A (en) * 2016-12-21 2018-06-29 창신대학교 산학협력단 Method for controlling packet load of gateway in IoT network

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101107595A (en) * 2005-01-19 2008-01-16 丰田自动车株式会社 Fault diagnosis data recording system and method
CN104618960A (en) * 2010-09-28 2015-05-13 华为技术有限公司 Gateway data transmission method, device and system
CN103888994A (en) * 2012-12-21 2014-06-25 中国科学院计算技术研究所 Multi-gateway processing method with thermal disaster recovery capability and system
CN103501276A (en) * 2013-10-09 2014-01-08 中国联合网络通信集团有限公司 Method and device for communication between server and sensor nodes
CN106453082A (en) * 2016-11-08 2017-02-22 浙江工商大学 Fair delay-tolerant network node cooperation stimulation method based on credit strategy
KR20180072319A (en) * 2016-12-21 2018-06-29 창신대학교 산학협력단 Method for controlling packet load of gateway in IoT network
CN107302575A (en) * 2017-06-19 2017-10-27 深圳市盛路物联通讯技术有限公司 A kind of synchronous Internet of Things access node and the method and system of money order elementary time
CN108174397A (en) * 2017-12-08 2018-06-15 南京邮电大学 A kind of multiple gateway Synergistic method of task-driven

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116582488A (en) * 2023-07-14 2023-08-11 中创(深圳)物联网有限公司 Data transmission method, device, equipment and storage medium
CN116582488B (en) * 2023-07-14 2023-10-13 中创(深圳)物联网有限公司 Data transmission method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109298694B (en) Garbage can robot scheduling method and device
CN104469901A (en) Method and device for data processing
DE60029813D1 (en) PORTABLE COMMUNICATION DEVICE WITH HUMAN MACHINE INTERFACE AND METHOD FOR THE OPERATION
CN101248628A (en) Network interface control program and network interface control device
CN102970244A (en) Network message processing method of multi-CPU (Central Processing Unit) inter-core load balance
CN103984235A (en) Space manipulator control system software architecture based on C/S structure and establishing method
CN102946376A (en) Method for implementing asynchronous communication
CN104378272B (en) Method for message transmission and device
CN109040204A (en) For the data processing method of gateway, gateway component and sensor network
CN105847294A (en) High-frequency electrostatic dust removal power supply system communication protocol converter based on W5500 and communication method
CN113920678B (en) Remote smoke alarm system on M5311 chip based on middle moving object
CN101719928B (en) Method and device for regulating queue scheduling and switch
JP2007074218A (en) Program, device, and method for controlling packet transmission
CN103973584A (en) Method and equipment for dynamically switching forwarding modes of data packets
CN109787874B (en) Real-time transceiving method, equipment and storage medium based on Linux platform
CN109586405A (en) Micro-grid system and its communication means
JP6880896B2 (en) Image forming equipment, information processing system, and programs
CN107222299A (en) A kind of data transmission method, system and electronic equipment
KR101810243B1 (en) System for controlling sensor
CN106900041B (en) Energy-saving method and device for nodes of Internet of things
CN105207795A (en) IOT communication method and device
Rooney et al. Edge server software architecture for sensor applications
CN113316101B (en) Short message sending method, short message sending device, short message sending equipment and storage medium
CN109639795A (en) A kind of service management and device based on AcitveMQ message queue
CN109219072A (en) WIFI data transmission failure localization method, system, controller and storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181218

RJ01 Rejection of invention patent application after publication