CN104168206B - Adapter gateway load balancing control method, device and system - Google Patents
Adapter gateway load balancing control method, device and system Download PDFInfo
- Publication number
- CN104168206B CN104168206B CN201310185783.0A CN201310185783A CN104168206B CN 104168206 B CN104168206 B CN 104168206B CN 201310185783 A CN201310185783 A CN 201310185783A CN 104168206 B CN104168206 B CN 104168206B
- Authority
- CN
- China
- Prior art keywords
- internet
- things
- adapter gateway
- adapter
- gateway
- 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.)
- Active
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention discloses an adapter gateway load balancing control method, device and system. The adapter gateway load balancing control method is characterized by selecting an adapter gateway corresponding to an IOT (internet of things) node according to the correspondence relation between adapter gateways and IOT nodes when receiving reported data information sent by the IOT node; and sending the reported data information to the adapter gateway corresponding to the IOT node so as to enable the adapter gateway corresponding to the IOT node to send the reported data information to an IOT platform. By distributing load to the corresponding adapter gateways, reasonable load distribution is realized, and thus the adapter gateway can realize linear expansion of service capability conveniently.
Description
Technical field
The present invention relates to the communications field, more particularly to a kind of adapter gateway load balancing control device method, device and it is
System.
Background technology
In Internet of Things framework, application platform generally using adapter gateway realize the parsing of sensing data, identification, warehouse-in,
And forwarding, as shown in Figure 1.The performance of adapter gateway directly affects the performance of platform of internet of things, must examine in the face of extensive service
The load balancing mode of adapter gateway is considered, to guarantee that it is expansible that platform service ability is directly proportional to hardware device ability.Load is equal
Weighing apparatus is exactly will load(Task)It is balanced, shares and performed on multiple operating units.
Current conventional simple load method mainly has:
1、DNS(Domain Name System, domain name system)Load balancing:It is that multiple address configurations are same in DNS
Individual name, the purpose that load balancing is realized in different addresses is returned by dns resolution process to different users.
2. proxy server load balance:To ask uniformly to be transmitted to multiple servers using proxy server, so as to reach
To the purpose of load balancing.
3. address conversion gateway load balancing:By an external IP(Internet Protocol, Internet protocol)Address
Multiple implicit IP address are mapped as, to each TCP(Transmission Control Protocol transmission control protocols)Connection
Request dynamic uses one of home address, reaches the purpose of load balancing.
The work of adapter gateway is controlled by configuration, and its configuration can describe those Internet of Things nodes(Other titles such as perceive edge
Gateway, gateway of internet of things, intelligence sensor etc.)Processed by the adapter gateway, it is all kinds of for what is received from these Internet of Things nodes
How information should be processed.Generally, adapter gateway processes the information received from Internet of Things node according to configuration, for not in its configuration
The data that Internet of Things node in description is sent, adapter gateway does not know how to process without method interpretation yet, therefore typically directly abandons.
Above-mentioned adapter gateway causes Physical Network application platform to obtain using simple load balancing mode based on the treatment characteristic of configuration
Obtain service ability linear expansion.Concrete reason is analyzed as follows:
If to realize adapter gateway load balancing using above-mentioned plain mode, just must be to be dealt with all by system
Internet of Things data it is related be configured in load balancing cluster duplicate copy on all of equipment.This processing mode directly with it is negative
Carry the balanced original intention for lifting platform processes ability mutually to deviate from.First, huge configuration file not only expends substantial amounts of server and deposits
Storage resource, equally also by the linear calculating demand for lifting single data processing.I.e., it is assumed that Internet of Things node scale be M, configuration file
Size will be a × M, and wherein a is the average configuration file size per Internet of Things node, and the process of the data that single is received is calculated and opened
Sell for k × a × M.Secondly, the increase of Internet of Things node will cause the linearly increasing of data, i.e. data volume for b × M, i.e. total data
Computing cost is a × k × b × M2.Therefore, as adopted simple load mode, the computing cost of data processing will be with Internet of Things
The index magnitude of node increases, and computing resource is only capable of increasing in a linear fashion, the linear service ability extension mesh of load balancing
Mark will be unable to cash.
Therefore, in platform of internet of things technology, it is necessary to design its special load balance process framework, mechanism and flow process.
The content of the invention
The technical problem to be solved in the present invention is to provide a kind of adapter gateway load balancing control device method, device and is
System.By the way that load is assigned in corresponding adapter gateway, the reasonable distribution of load is realized, consequently facilitating adapter gateway is realized
The linear expansion of service ability.
According to an aspect of the present invention, there is provided a kind of adapter gateway control method for equalizing load, including:
When the reported data information of Internet of Things node transmission is received, close according to adapter gateway is corresponding with Internet of Things node
System, selects the adapter gateway corresponding with Internet of Things node;
Reported data information is sent to into the adapter gateway corresponding with Internet of Things node, so as to described relative with Internet of Things node
Reported data information is sent to platform of internet of things by the adapter gateway answered.
Preferably, when the control data for specifying Internet of Things node of platform of internet of things transmission is received, according to adaptation
Gateway and the corresponding relation of Internet of Things node, select the adapter gateway corresponding with specified Internet of Things node;
Control data is sent to into the adapter gateway corresponding with specified Internet of Things node, so as to described with specified Internet of Things node
Control data is sent to specified Internet of Things node by corresponding adapter gateway, realizes platform of internet of things to specifying the control of Internet of Things node
System.
Preferably, it is right with Internet of Things node according to adapter gateway when the configuration information of platform of internet of things transmission is received
Should be related to, using configuration information the configuration subset corresponding with each adapter gateway is generated respectively;
Configuration subset is sent to into corresponding adapter gateway, so that adapter gateway is matched somebody with somebody using corresponding configuration subset
Put renewal;
Receive the config update confirmation that adapter gateway sends;
Judge whether to receive the config update confirmation that whole adapter gateways send;
After the config update confirmation that whole adapter gateways send is received, configuration is completed into confirmation and is sent to
Platform of internet of things.
Preferably, it is right with Internet of Things node according to adapter gateway when the configuration information of platform of internet of things transmission is received
Should be related to, include the step of generate the configuration subset corresponding with each adapter gateway respectively using configuration information:
When the configuration information of platform of internet of things transmission is received, according to adapter gateway and the corresponding relation of Internet of Things node,
Extract the Internet of Things node configuration information corresponding with i-th adapter gateway from configuration information, wherein i is natural number, 1≤i
≤ N, N are the adapter gateway quantity in system;
The Internet of Things node configuration information corresponding with i-th adapter gateway is matched somebody with somebody as i-th adapter gateway is corresponding
Put subset.
Preferably, the corresponding relation is used for each Internet of Things node is corresponding with a unique adapter gateway.
According to a further aspect in the invention, there is provided a kind of adapter gateway load balancing control device, including first receives single
Unit, select unit and the first transmitting element, wherein:
First receiving unit, for receiving the reported data information of Internet of Things node transmission;
Select unit, during for the reported data information that the transmission of Internet of Things node is received when the first receiving unit, according to suitable
Corresponding relation with gateway Yu Internet of Things node, selects the adapter gateway corresponding with Internet of Things node;
First transmitting element, for reported data information to be sent to into the adapter gateway corresponding with Internet of Things node, so as to
Reported data information is sent to platform of internet of things by the adapter gateway corresponding with Internet of Things node.
Preferably, above-mentioned device of stating also includes the second receiving unit and the second transmitting element, wherein:
Second receiving unit, for receiving the control data for specifying Internet of Things node of platform of internet of things transmission;
Select unit be additionally operable to the second receiving unit receive platform of internet of things transmission for specifying Internet of Things node
During control data, according to adapter gateway and the corresponding relation of Internet of Things node, the adaptation net corresponding with specified Internet of Things node is selected
Close;
Second transmitting element, for control data to be sent to into the adapter gateway corresponding with specified Internet of Things node, so as to
Control data is sent to specified Internet of Things node by the adapter gateway corresponding with specified Internet of Things node, realizes platform of internet of things
Control to specifying Internet of Things node.
Preferably, said apparatus also include configuration subset signal generating unit and recognition unit, wherein:
Second receiving unit is additionally operable to receive the configuration information that platform of internet of things sends, and receives the configuration that adapter gateway sends
Update confirmation;
Configuration subset signal generating unit, during for the configuration information that platform of internet of things transmission is received when the second receiving unit,
According to adapter gateway and the corresponding relation of Internet of Things node, the configuration corresponding with each adapter gateway is generated respectively using configuration information
Subset;
Second transmitting element is additionally operable to for configuration subset to be sent to corresponding adapter gateway, so that adapter gateway is using right
The configuration subset answered carries out config update;According to the instruction of recognition unit, configuration is completed into confirmation Internet of Things is sent to put down
Platform;
Recognition unit, for judging whether the second receiving unit receives the config update confirmation that whole adapter gateways send
Information;If the second receiving unit receives the config update confirmation that whole adapter gateways send, the second transmitting element is indicated
Configuration is completed into confirmation and is sent to platform of internet of things.
Preferably, configure subset signal generating unit and specifically include information extraction modules and configuration subset generation module, wherein:
Information extraction modules, for according to the corresponding relation of adapter gateway and Internet of Things node, extracting from configuration information
The Internet of Things node configuration information corresponding with i-th adapter gateway, wherein i is natural number, and 1≤i≤N, N are the adaptation in system
Gateway quantity;
Configuration subset generation module, for using the Internet of Things node configuration information corresponding with i-th adapter gateway as i-th
The corresponding configuration subset of individual adapter gateway.
Preferably, the corresponding relation is used for each Internet of Things node is corresponding with a unique adapter gateway.
According to a further aspect in the invention, there is provided a kind of adapter gateway load balancing control system, including platform of internet of things,
Adapter gateway load balancing control device, at least one adapter gateway, wherein:
Adapter gateway load balancing control device, for when the reported data information of Internet of Things node transmission is received, pressing
According to adapter gateway and the corresponding relation of Internet of Things node, the adapter gateway corresponding with Internet of Things node is selected, by reported data information
It is sent to the adapter gateway corresponding with Internet of Things node;
The adapter gateway corresponding with Internet of Things node, for reported data information to be sent to into platform of internet of things;
Platform of internet of things, for processing reported data information.
Preferably, adapter gateway load balancing control device is the adapter gateway load balancing that any of the above-described embodiment is related to
Control device.
The present invention by when the reported data information of Internet of Things node transmission is received, according to adapter gateway and Internet of Things node
Corresponding relation, select the adapter gateway corresponding with Internet of Things node.Reported data information is sent to relative with Internet of Things node
The adapter gateway answered, puts down so that reported data information is sent to Internet of Things by the adapter gateway corresponding with Internet of Things node
Platform.By the way that load is assigned in corresponding adapter gateway, the reasonable distribution of load is realized, consequently facilitating adapter gateway is realized
The linear expansion of service ability.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, may be used also
To obtain other accompanying drawings according to these accompanying drawings.
Fig. 1 is the schematic diagram of Internet of Things framework one embodiment in prior art.
Fig. 2 is the schematic diagram of adapter gateway control method for equalizing load one embodiment of the present invention.
Fig. 3 is the schematic diagram of another embodiment of adapter gateway control method for equalizing load of the present invention.
Fig. 4 is the schematic diagram of the another embodiment of adapter gateway control method for equalizing load of the present invention.
Fig. 5 is the schematic diagram that the present invention generates configuration subset one embodiment.
Fig. 6 is the schematic flow sheet of reported data of the present invention.
Fig. 7 is the schematic flow sheet that the present invention issues control information.
Fig. 8 is the schematic flow sheet of adapter gateway load balancing configuration of the present invention.
Fig. 9 is the schematic diagram of adapter gateway load balancing control device one embodiment of the present invention.
Figure 10 is the schematic diagram of another embodiment of adapter gateway load balancing control device of the present invention.
Figure 11 is the schematic diagram of the another embodiment of adapter gateway load balancing control device of the present invention.
Figure 12 is the schematic diagram of present invention configuration subset signal generating unit one embodiment.
Figure 13 is the schematic diagram of adapter gateway load balancing control system one embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than the embodiment of whole.Below
It is illustrative to the description only actually of at least one exemplary embodiment, never conduct is to the present invention and its application or makes
Any restriction.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.
Unless specifically stated otherwise, the part for otherwise illustrating in these embodiments and positioned opposite, the digital table of step
Do not limit the scope of the invention up to formula and numerical value.
Simultaneously, it should be appreciated that for the ease of description, the size of the various pieces shown in accompanying drawing is not according to reality
Proportionate relationship draw.
For technology, method and apparatus may be not discussed in detail known to person of ordinary skill in the relevant, but suitable
In the case of, the technology, method and apparatus should be considered the part for authorizing description.
In all examples shown here and discussion, any occurrence should be construed as merely exemplary, and not
It is as restriction.Therefore, the other examples of exemplary embodiment can have different values.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi
It is defined in individual accompanying drawing, then it need not be further discussed in subsequent accompanying drawing.
Fig. 2 is the schematic diagram of adapter gateway control method for equalizing load one embodiment of the present invention.Preferably, the present embodiment
Method and step can be performed by adapter gateway load balancing control device.
Step 201, when the reported data information of Internet of Things node transmission is received, according to adapter gateway and Internet of Things node
Corresponding relation, selects the adapter gateway corresponding with Internet of Things node.
Step 202, by reported data information the adapter gateway corresponding with Internet of Things node is sent to, so as to described and Internet of Things
Reported data information is sent to platform of internet of things by the corresponding adapter gateway of node.
Based on the adapter gateway control method for equalizing load that the above embodiment of the present invention is provided, by the way that load is assigned to into phase
In the adapter gateway answered, the reasonable distribution of load is realized, consequently facilitating adapter gateway realizes the linear expansion of service ability.
Preferably, above-mentioned corresponding relation is used for each Internet of Things node is corresponding with a unique adapter gateway.
This corresponding relation can be realized using various ways.For example (N, m), wherein m represents m-th Internet of Things to modular function Mod
Node, the quantity of adapter gateway in N expression systems, if the result of calculation of modular function is i, can be by i-th adapter gateway and m-th
Internet of Things node is corresponding.
Fig. 3 is the schematic diagram of another embodiment of adapter gateway control method for equalizing load of the present invention.Preferably, the present embodiment
Method and step can be performed by adapter gateway load balancing control device.
Step 301, when the control data for specifying Internet of Things node of platform of internet of things transmission is received, according to adaptation
Gateway and the corresponding relation of Internet of Things node, select the adapter gateway corresponding with specified Internet of Things node.
Step 302, by control data the adapter gateway corresponding with specified Internet of Things node is sent to, so as to it is described with it is specified
Control data is sent to specified Internet of Things node by the corresponding adapter gateway of Internet of Things node, realizes platform of internet of things to specifying Internet of Things
The control of node.
By above-described embodiment, platform of internet of things is capable of achieving to specifying the control of Internet of Things node.
Fig. 4 is the schematic diagram of the another embodiment of adapter gateway control method for equalizing load of the present invention.Preferably, the present embodiment
Method and step can be performed by adapter gateway load balancing control device.
Step 401 is right with Internet of Things node according to adapter gateway when the configuration information of platform of internet of things transmission is received
Should be related to, using configuration information the configuration subset corresponding with each adapter gateway is generated respectively.
Step 402, by configuration subset corresponding adapter gateway is sent to, so that adapter gateway is using corresponding configuration
Collection carries out config update.
Step 403, receives the config update confirmation that adapter gateway sends.
Step 404, judges whether to have been received by the config update confirmation that whole adapter gateways send.
Step 405, after the config update confirmation that whole adapter gateways send is received, by configuration confirmation letter is completed
Breath is sent to platform of internet of things.
By above-described embodiment, config update of the platform of internet of things to adapter gateway is capable of achieving.
Fig. 5 is the schematic diagram that the present invention generates configuration subset one embodiment.As shown in figure 5, above-mentioned ought receive Internet of Things
During the configuration information that net platform sends, according to adapter gateway and the corresponding relation of Internet of Things node, generated respectively using configuration information
The step of corresponding with each adapter gateway configuration subset, includes:
Step 501 is right with Internet of Things node according to adapter gateway when the configuration information of platform of internet of things transmission is received
Should be related to, the Internet of Things node configuration information corresponding with i-th adapter gateway is extracted from configuration information, and wherein i is nature
Number, 1≤i≤N, N are the adapter gateway quantity in system.
Step 502, using the Internet of Things node configuration information corresponding with i-th adapter gateway as i-th adapter gateway phase
Corresponding configuration subset.
The present invention is further described below by specific message processing flow.
Fig. 6 is the schematic flow sheet of reported data of the present invention.
Step 601, m-th Internet of Things node to adapter gateway load balancing control device sends reported data information.
Step 602, adapter gateway load balancing control device is selected according to adapter gateway and the corresponding relation of Internet of Things node
The adapter gateway corresponding with m-th Internet of Things node.
Step 603, adapter gateway load balancing control device is sent to reported data information and m-th Internet of Things node phase
Corresponding adapter gateway.
Step 604, is sent to Internet of Things and puts down with m-th corresponding adapter gateway of Internet of Things node by reported data information
Platform.
Preferably, in step 604, adapter gateway can be after verifying, then by reported data to reported data information
Information is sent to platform of internet of things, so as to improve the safety of system.
Fig. 7 is the schematic flow sheet that the present invention issues control information.
Step 701, platform of internet of things sends the control for m-th Internet of Things node to adapter gateway load balancing control device
System request.
Step 702, adapter gateway load balancing control device is selected according to adapter gateway and the corresponding relation of Internet of Things node
The adapter gateway corresponding with m-th Internet of Things node.
Step 703, adapter gateway load balancing control device is sent to control data corresponding with m-th Internet of Things node
Adapter gateway.
Step 704, m-th Internet of Things node is sent to m-th corresponding adapter gateway of Internet of Things node by control data.
Preferably, m-th corresponding adapter gateway of Internet of Things node also updates corresponding control process using control data
State.
Step 705, m-th Internet of Things node is operated accordingly according to control data.
Step 706, m-th Internet of Things node sends confirmation to m-th corresponding adapter gateway of Internet of Things node.
Step 707, dissection process is carried out with m-th corresponding adapter gateway of Internet of Things node to confirmation.
Step 708, platform of internet of things is sent to m-th corresponding adapter gateway of Internet of Things node by analysis result.
Fig. 8 is the schematic flow sheet of adapter gateway load balancing configuration of the present invention.
Step 801, platform of internet of things is to adapter gateway load balancing control device send configuration information.
Step 802, adapter gateway load balancing control device is utilized according to adapter gateway and the corresponding relation of Internet of Things node
Configuration information generates respectively the configuration subset corresponding with each adapter gateway.
Preferably, configuration subset can be generated according to the mode shown in above-mentioned Fig. 5.
Step 803, adapter gateway load balancing control device is sent to corresponding adapter gateway by subset is configured.
For convenience's sake, an adapter gateway is illustrate only in figure.Those skilled in the art are it will be appreciated that suitable
Configuration subset can be sent to each corresponding adapter gateway with gateway load-balancing control device.
Step 804, adapter gateway carries out config update using corresponding configuration subset.
Step 805, adapter gateway update configuration after the completion of, to adapter gateway load balancing control device send configuration more
New confirmation.
Step 806, adapter gateway load balancing control device judges whether to have been received by what whole adapter gateways sent
Config update confirmation.
Step 807, after the config update confirmation that whole adapter gateways send is received, by configuration confirmation letter is completed
Breath is sent to platform of internet of things.
Fig. 9 is the schematic diagram of adapter gateway load balancing control device one embodiment of the present invention.As shown in figure 9, adaptation
Gateway load-balancing control device includes the first receiving unit 901, the transmitting element 903 of select unit 902 and first.Wherein:
First receiving unit 901, for receiving the reported data information of Internet of Things node transmission.
Select unit 902, during for the reported data information that the transmission of Internet of Things node is received when the first receiving unit 901,
According to adapter gateway and the corresponding relation of Internet of Things node, the adapter gateway corresponding with Internet of Things node is selected.
First transmitting element 903, for reported data information to be sent to into the adapter gateway corresponding with Internet of Things node, with
Toilet states the adapter gateway corresponding with Internet of Things node and reported data information is sent to into platform of internet of things.
Based on the adapter gateway load balancing control device that the above embodiment of the present invention is provided, by the way that load is assigned to into phase
In the adapter gateway answered, the reasonable distribution of load is realized, consequently facilitating adapter gateway realizes the linear expansion of service ability.
Figure 10 is the schematic diagram of another embodiment of adapter gateway load balancing control device of the present invention.Implement with shown in Fig. 9
Example is compared, and in the embodiment shown in fig. 10, adapter gateway load balancing control device also includes the second receiving unit 1001 and the
Two transmitting elements 1002.Wherein:
Second receiving unit 1001, for receiving the control data for specifying Internet of Things node of platform of internet of things transmission.
Select unit 902 be additionally operable to the second receiving unit 1001 receive platform of internet of things transmission for specify Internet of Things
During the control data of node, according to adapter gateway and the corresponding relation of Internet of Things node, select corresponding with specified Internet of Things node
Adapter gateway.
Second transmitting element 1002, for control data to be sent to into the adapter gateway corresponding with specified Internet of Things node,
So that control data is sent to specified Internet of Things node by the adapter gateway corresponding with specified Internet of Things node, Internet of Things is realized
Control of the platform to specified Internet of Things node.
Figure 11 is the schematic diagram of the another embodiment of adapter gateway load balancing control device of the present invention.Implement with shown in Figure 10
Example is compared, and in the embodiment shown in fig. 11, adapter gateway load balancing control device also includes configuration subset signal generating unit 1101
With recognition unit 1102.Wherein:
Second receiving unit 1001 is additionally operable to receive the configuration information that platform of internet of things sends, and receives what adapter gateway sent
Config update confirmation.
Configuration subset signal generating unit 1101, for receiving the configuration of platform of internet of things transmission when the second receiving unit 1001
During information, according to adapter gateway and the corresponding relation of Internet of Things node, generated respectively using configuration information relative with each adapter gateway
The configuration subset answered.
Second transmitting element 1002 is additionally operable to for configuration subset to be sent to corresponding adapter gateway, so as to adapter gateway profit
Config update is carried out with corresponding configuration subset;According to the instruction of recognition unit 1102, configuration is completed into confirmation and is sent to
Platform of internet of things.
Recognition unit 1102, for judging whether the second receiving unit 1001 receives the configuration that whole adapter gateways send
Update confirmation;If the second receiving unit 1001 receives the config update confirmation that whole adapter gateways send, indicate
Configuration is completed confirmation and is sent to platform of internet of things by the second transmitting element 1002.
Figure 12 is the schematic diagram of present invention configuration subset signal generating unit one embodiment.As shown in figure 12, subset life is configured
Information extraction modules 1201 and configuration subset generation module 1202 are specifically included into unit.Wherein:
Information extraction modules 1201, for according to the corresponding relation of adapter gateway and Internet of Things node, carrying from configuration information
The Internet of Things node configuration information corresponding with i-th adapter gateway is taken out, wherein i is natural number, and 1≤i≤N, N are in system
Adapter gateway quantity.
Configuration subset generation module 1202, for will make with i-th corresponding Internet of Things node configuration information of adapter gateway
For the corresponding configuration subset of i-th adapter gateway.
Preferably, in the various embodiments described above, corresponding relation is used to for each Internet of Things node to be adapted to net with unique one
Close corresponding.
Figure 13 is the schematic diagram of adapter gateway load balancing control system one embodiment of the present invention.As shown in figure 13, on
System is stated including platform of internet of things 1301, adapter gateway load balancing control device 1302, at least one adapter gateway 1303.Its
In:
Adapter gateway load balancing control device 1302, in the reported data information for receiving the transmission of Internet of Things node
When, according to adapter gateway and the corresponding relation of Internet of Things node, the adapter gateway corresponding with Internet of Things node is selected, by reported data
Information is sent to the adapter gateway corresponding with Internet of Things node.
The adapter gateway 1303 corresponding with Internet of Things node, puts down for reported data information to be sent to into Internet of Things
Platform.
Platform of internet of things 1301, for processing reported data information.
Based on the adapter gateway load balancing control system that the above embodiment of the present invention is provided, by the way that load is assigned to into phase
In the adapter gateway answered, the reasonable distribution of load is realized, consequently facilitating adapter gateway realizes the linear expansion of service ability.
Preferably, adapter gateway load balancing control device is that the adapter gateway that any embodiment is related in accompanying drawing 9-12 is born
Carry equalising control device.
One of ordinary skill in the art will appreciate that realizing all or part of step of above-described embodiment can pass through hardware
To complete, it is also possible to which the hardware that correlation is instructed by program is completed, and described program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read only memory, disk or CD etc..
Description of the invention is given for the sake of example and description, and is not exhaustively or by the present invention
It is limited to disclosed form.Many modifications and variations are for the ordinary skill in the art obvious.Select and retouch
It is to more preferably illustrate the principle and practical application of the present invention, and one of ordinary skill in the art is managed to state embodiment
The present invention is solved so as to design the various embodiments with various modifications for being suitable to special-purpose.
Claims (11)
1. a kind of adapter gateway control method for equalizing load, it is characterised in that include:
When the reported data information of Internet of Things node transmission is received, according to adapter gateway and the corresponding relation of Internet of Things node, choosing
Select the adapter gateway corresponding with Internet of Things node;
Reported data information is sent to into the adapter gateway corresponding with Internet of Things node, so as to described corresponding with Internet of Things node
Reported data information is sent to platform of internet of things by adapter gateway;
Wherein, when the configuration information of platform of internet of things transmission is received, according to adapter gateway and the corresponding relation of Internet of Things node,
The configuration subset corresponding with each adapter gateway is generated respectively using configuration information;
Configuration subset is sent to into corresponding adapter gateway, so that adapter gateway is configured more using corresponding configuration subset
Newly.
2. method according to claim 1, it is characterised in that
When the control data for specifying Internet of Things node of platform of internet of things transmission is received, according to adapter gateway and Internet of Things section
The corresponding relation of point, selects the adapter gateway corresponding with specified Internet of Things node;
Control data is sent to into the adapter gateway corresponding with specified Internet of Things node, so as to described relative with specified Internet of Things node
Control data is sent to specified Internet of Things node by the adapter gateway answered, and realizes platform of internet of things to specifying the control of Internet of Things node.
3. method according to claim 1, it is characterised in that also include:
Receive the config update confirmation that adapter gateway sends;
Judge whether to receive the config update confirmation that whole adapter gateways send;
After the config update confirmation that whole adapter gateways send is received, configuration is completed into confirmation and is sent to Internet of Things
Net platform.
4. method according to claim 3, it is characterised in that
When the configuration information of platform of internet of things transmission is received, according to adapter gateway and the corresponding relation of Internet of Things node, utilize
The step of configuration information generates respectively the configuration subset corresponding with each adapter gateway includes:
When the configuration information of platform of internet of things transmission is received, according to the corresponding relation of adapter gateway and Internet of Things node, from matching somebody with somebody
Extract the Internet of Things node configuration information corresponding with i-th adapter gateway in confidence breath, wherein i is natural number, 1≤i≤N, N
For the adapter gateway quantity in system;
Will be sub as i-th corresponding configuration of adapter gateway with i-th corresponding Internet of Things node configuration information of adapter gateway
Collection.
5. the method according to any one of claim 1-4, it is characterised in that
The corresponding relation is used for each Internet of Things node is corresponding with a unique adapter gateway.
6. a kind of adapter gateway load balancing control device, it is characterised in that including the first receiving unit, select unit, first
Transmitting element, the second receiving unit, configuration subset signal generating unit and the second transmitting element, wherein:
First receiving unit, for receiving the reported data information of Internet of Things node transmission;
Select unit, during for the reported data information that the transmission of Internet of Things node is received when the first receiving unit, according to adaptation net
The corresponding relation with Internet of Things node is closed, the adapter gateway corresponding with Internet of Things node is selected;
First transmitting element, for reported data information to be sent to into the adapter gateway corresponding with Internet of Things node, so as to described
Reported data information is sent to platform of internet of things by the adapter gateway corresponding with Internet of Things node;
Second receiving unit, for receiving the configuration information of platform of internet of things transmission;
Configuration subset signal generating unit, during for the configuration information that platform of internet of things transmission is received when the second receiving unit, according to
Adapter gateway and the corresponding relation of Internet of Things node, using configuration information configuration corresponding with each adapter gateway is generated respectively
Collection;
Second transmitting element, by configuration subset corresponding adapter gateway is sent to, so that adapter gateway utilizes corresponding configuration
Subset carries out config update.
7. device according to claim 6, it is characterised in that
Second receiving unit is additionally operable to receive the control data for specifying Internet of Things node that platform of internet of things sends;
Select unit is additionally operable to receive the control for specifying Internet of Things node of platform of internet of things transmission in the second receiving unit
During request, according to adapter gateway and the corresponding relation of Internet of Things node, the adapter gateway corresponding with specified Internet of Things node is selected;
Second transmitting element is additionally operable to for control data to be sent to the adapter gateway corresponding with specified Internet of Things node, so as to described
Control data is sent to specified Internet of Things node by the adapter gateway corresponding with specified Internet of Things node, realizes platform of internet of things to referring to
The control of earnest interlink point.
8. device according to claim 7, it is characterised in that described device also includes recognition unit, wherein:
Second receiving unit is additionally operable to receive the config update confirmation that adapter gateway sends;Second transmitting element is additionally operable to root
According to the instruction of recognition unit, configuration is completed into confirmation and is sent to platform of internet of things;
Recognition unit, for judging whether the second receiving unit receives the config update confirmation letter that whole adapter gateways send
Breath;If the second receiving unit receives the config update confirmation that whole adapter gateways send, indicate that the second transmitting element will
Configuration completes confirmation and is sent to platform of internet of things.
9. device according to claim 8, it is characterised in that configuration subset signal generating unit specifically includes information extraction modules
With configuration subset generation module, wherein:
Information extraction modules, for according to the corresponding relation of adapter gateway and Internet of Things node, extracting from configuration information and i-th
The corresponding Internet of Things node configuration information of individual adapter gateway, wherein i is natural number, and 1≤i≤N, N are the adapter gateway in system
Quantity;
Configuration subset generation module, for will fit as i-th with i-th corresponding Internet of Things node configuration information of adapter gateway
With the corresponding configuration subset of gateway.
10. the device according to any one of claim 6-9, it is characterised in that
The corresponding relation is used for each Internet of Things node is corresponding with a unique adapter gateway.
11. a kind of adapter gateway load balancing control systems, it is characterised in that include as any one of claim 6-10
Adapter gateway load balancing control device, and,
Adapter gateway, for reported data information to be sent to into platform of internet of things;
Platform of internet of things, for processing reported data information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310185783.0A CN104168206B (en) | 2013-05-20 | 2013-05-20 | Adapter gateway load balancing control method, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310185783.0A CN104168206B (en) | 2013-05-20 | 2013-05-20 | Adapter gateway load balancing control method, device and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104168206A CN104168206A (en) | 2014-11-26 |
CN104168206B true CN104168206B (en) | 2017-05-17 |
Family
ID=51911842
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310185783.0A Active CN104168206B (en) | 2013-05-20 | 2013-05-20 | Adapter gateway load balancing control method, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104168206B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109257239A (en) * | 2018-11-22 | 2019-01-22 | 福建福诺移动通信技术有限公司 | One kind being based on TCP High Availabitity things-internet gateway data interaction system and method |
TWI734249B (en) * | 2019-11-07 | 2021-07-21 | 財團法人資訊工業策進會 | Network system and decision method |
CN111818021B (en) * | 2020-06-20 | 2021-02-09 | 深圳市众创达企业咨询策划有限公司 | Configuration information safety protection system and method based on new generation information technology |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101651588A (en) * | 2008-08-12 | 2010-02-17 | 华为技术有限公司 | Method for selecting gateway, method for establishing connection, related device and communication system |
CN101754277A (en) * | 2008-12-19 | 2010-06-23 | Ut斯达康通讯有限公司 | Method for selecting access gateway and control node of access gateway |
CN103108294A (en) * | 2011-11-10 | 2013-05-15 | 中国电信股份有限公司 | Data forwarding processing method and gateway equipment and communication system |
-
2013
- 2013-05-20 CN CN201310185783.0A patent/CN104168206B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101651588A (en) * | 2008-08-12 | 2010-02-17 | 华为技术有限公司 | Method for selecting gateway, method for establishing connection, related device and communication system |
CN101754277A (en) * | 2008-12-19 | 2010-06-23 | Ut斯达康通讯有限公司 | Method for selecting access gateway and control node of access gateway |
CN103108294A (en) * | 2011-11-10 | 2013-05-15 | 中国电信股份有限公司 | Data forwarding processing method and gateway equipment and communication system |
Non-Patent Citations (3)
Title |
---|
IEEE 》.2009,全文. * |
Panlong Yang,etc.Characterizing the Scaling Capacity of Multiple Gateway Access in Wireless Sensor Networks.《ighth IEEE International Conference on Embedded Computing * |
单个ZigBee网络的多网关系统;刘焕强,等;《计算机系统应用》;20121115;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN104168206A (en) | 2014-11-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10325062B2 (en) | Method and device for generating engineering topology of digital substation | |
CN104320377B (en) | The anti-stealing link method and equipment of a kind of files in stream media | |
CN101099345B (en) | Interpreting an application message at a network element using sampling and heuristics | |
CN108200165B (en) | Request Transmission system, method, apparatus and storage medium | |
KR101831604B1 (en) | Method for transmitting data, method for authentication, and server for executing the same | |
CN103997521B (en) | A kind of file operation method based on router, device and router | |
CN104580253A (en) | Method and device for processing user data | |
CN109361711A (en) | Firewall configuration method, apparatus, electronic equipment and computer-readable medium | |
CN107948324A (en) | Ask Transmission system, method, apparatus and storage medium | |
CN102004673A (en) | Processing method and system of multi-core processor load balancing | |
CN105991361A (en) | Monitoring method and monitoring system for cloud servers in cloud computing platform | |
CN105471917A (en) | Data transmission method and system | |
CN103458034A (en) | Method for having access to SPICE protocol remote desktop through WEB page | |
Kumar et al. | WSN and IoT based smart city model using the MQTT protocol | |
CN104168206B (en) | Adapter gateway load balancing control method, device and system | |
CN101656642B (en) | Method, device and system for testing authentication performance of network access equipment | |
CN202094935U (en) | Dynamic IP network based remote switch signal control system | |
US8966321B2 (en) | Logical port and layer protocol test configuration resource manager | |
CN111935767B (en) | Network simulation system | |
CN105721274B (en) | The fusion method and device of one kind of multiple instant messagings | |
Sharma et al. | SCADA Communication Protocols: Modbus & IEC 60870–5 | |
US20230353648A1 (en) | Data tracking for data owners | |
CN110493175A (en) | A kind of information processing method, electronic equipment and storage medium | |
CN105122851A (en) | System for transmitting heterogeneous network-linked data and method therefor | |
CN102215226A (en) | Self-organized network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |