CN107483330A - A kind of repeater bridging method and gateway - Google Patents
A kind of repeater bridging method and gateway Download PDFInfo
- Publication number
- CN107483330A CN107483330A CN201710593838.XA CN201710593838A CN107483330A CN 107483330 A CN107483330 A CN 107483330A CN 201710593838 A CN201710593838 A CN 201710593838A CN 107483330 A CN107483330 A CN 107483330A
- Authority
- CN
- China
- Prior art keywords
- repeater
- gateway
- target
- mentioned
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/28—Routing or path finding of packets in data switching networks using route fault recovery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/66—Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
Abstract
The invention discloses a kind of repeater bridging method, including:If gateway does not receive the feedback message of the first repeater in preset period of time, the gateway chooses target repeater from multiple second repeaters;The multiple second repeater is the alternative repeater of first repeater;The gateway sends bridge joint instruction to the target repeater, and the bridge joint instruction is used to indicate that the target repeater is bridged with first repeater.The embodiment of the present invention additionally provides a kind of gateway.Can be solved in data interchange links exception using the embodiment of the present invention, the problem of keeping in Internet of Things the normal data exchange between distinct device.
Description
Technical field
The present invention relates to electronic technology field, more particularly to a kind of repeater bridging method and gateway.
Background technology
Internet of Things is the important component of generation information technology, and the important development stage in " informationization " epoch.
Its English name is:“Internet of things(IoT)”.Internet of Things passes through Intellisense, identification technology and general fit calculation
Deng communication cognition technology, it is widely used in the fusion of network, is also therefore referred to as the world information after computer, internet
The third wave of industry development.Internet of Things is the application extension of internet, Internet of Things is network, not equal to Internet of Things
It is business and application.Therefore, application innovation is the core of Internet of Things development, and the innovation 2.0 using Consumer's Experience as core is Internet of Things
Net the soul of development.
Internet of Things solve be heterogeneous networks interconnection and thing thing between data exchange the problem of, when in Internet of Things number
When being broken down according to link exchange, the data between distinct device can be caused not interact normally, therefore how in Internet of Things
When data interchange links break down, it is that this area technology urgently to be resolved hurrily is asked to keep the normal data exchange between distinct device
Topic.
The content of the invention
The embodiment of the present invention provides a kind of repeater bridging method, for solving in data interchange links exception, keeps
In Internet of Things the problem of normal data exchange between distinct device.
In a first aspect, the embodiment of the present invention provides a kind of repeater bridging method, suitable for Internet of things system, the thing
Networked system includes gateway and the first repeater being connected with the gateway and multiple second repeaters, including:
If gateway does not receive the feedback message of the first repeater in preset period of time, the gateway is from the multiple
Target repeater is chosen in two repeaters;The multiple second repeater is the alternative repeater of first repeater;
The gateway sends bridge joint instruction to the target repeater, and the bridge joint instruction is used to indicate the object relay
Device is bridged with first repeater.
In some feasible embodiments, the gateway chooses target repeater from the multiple second repeater,
Including:
The gateway is selected from the multiple second repeater to be less than or equal to the distance of first repeater
The repeater of pre-determined distance, as target repeater.To select more high-quality relaying from multiple second repeaters
Device.
In some feasible embodiments, the gateway chooses target repeater from the multiple second repeater,
Including:
The gateway selects current data forwarding rate from the multiple second repeater and is more than or equal to preset data
The repeater of forwarding rate, as target repeater.To select more high-quality relaying from multiple second repeaters
Device.
In some feasible embodiments, the gateway chooses target repeater from the multiple second repeater,
Including:
The remaining space that the gateway selects current cache area from the multiple second repeater is more than or equal in advance
If the repeater of threshold value, as target repeater.To select more high-quality repeater from multiple second repeaters.
It is described after the gateway sends bridge joint instruction to the target repeater in some feasible embodiments
Method also includes:
The gateway sends data forwarding instruction to the target repeater, and the data forwarding instruction carries described first
The internet-of-things terminal i of repeater carrying interaction data, the data forwarding are instructed for indicating the target repeater by institute
The interaction data for stating internet-of-things terminal i is forwarded to first repeater.
In some feasible embodiments, the quantity of the target repeater is N, and the N is the integer more than 1, institute
State gateway and send bridge joint instruction to the target repeater, including:
The gateway determines that the quantity W, the W for the internet-of-things terminal that first repeater is carried are whole more than 1
Number;
If the W is more than predetermined threshold value, W/ predetermined threshold values=K, and when the K is less than the N, the gateway is to the N
K target repeater in individual target repeater sends bridge joint instruction, and the K is positive integer;
If the W is more than predetermined threshold value, W/ predetermined threshold values=K, and when the K is more than or waits the N, the gateway is to institute
State N number of target repeater and send bridge joint instruction, the K is positive integer;
If the W is more than predetermined threshold value, W/ predetermined threshold values=K ... k, and when the K+1 is less than the N, the gateway
The K+1 target repeater into N number of target repeater sends bridge joint instruction, and the K is business, and the k is remainder;
If the W is more than predetermined threshold value, W/ predetermined threshold values=K, and when the K+1 is more than or equal to the N, the gateway
Bridge joint instruction is sent to N number of target repeater, the K is business, and the k is remainder;
If the W is less than predetermined threshold value, the gateway is sent to N number of one of target repeater of target repeater
Bridge joint instruction.It can be seen that when target repeater has multiple, the number for the internet-of-things terminal that gateway can be carried according to the first repeater
The repeater with gateway bridge joint is treated in amount determination, so may be such that the harmony of the target repeater bearing capacity after follow-up bridge joint.
Second aspect, the embodiment of the present invention provide a kind of gateway, are applicable in Internet of things system, the Internet of things system
The first repeater and multiple second repeaters being connected including gateway and with the gateway, including:
Choose module, if not receiving the feedback message of the first repeater in preset period of time for gateway, the choosing
Modulus block chooses target repeater from the multiple second repeater;The multiple second repeater is first repeater
Alternative repeater;
Bridge module, for sending bridge joint instruction to the target repeater, the bridge joint instruction is used to indicate the mesh
Mark repeater is bridged with first repeater.
In some feasible embodiments, the selection module includes:
First chooses unit, is less than for being selected from the multiple second repeater with the distance of first repeater
Or the repeater equal to pre-determined distance, as target repeater.
In some feasible embodiments, the selection module includes:
Second chooses unit, is more than or equal to for selecting current data forwarding rate from the multiple second repeater
The repeater of preset data forwarding rate, as target repeater.
In some feasible embodiments, the selection module includes:
3rd choose unit, the remaining space for selecting current cache area from the multiple second repeater be more than or
Person is equal to the repeater of predetermined threshold value, as target repeater.
In some feasible embodiments, the gateway also includes:
Sending module, for sending data forwarding instruction to the target repeater, the data forwarding instruction carries institute
The internet-of-things terminal i of the first repeater carrying interaction data is stated, the data forwarding is instructed for indicating the object relay
The interaction data of the internet-of-things terminal i is forwarded to first repeater by device.
The third aspect, the embodiment of the present invention provide a kind of gateway, including:
It is stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, performs such as the embodiment of the present invention
Part or all of step described in first aspect.
Fourth aspect, the embodiments of the invention provide a kind of computer-readable recording medium, wherein, above computer is readable
Storage medium stores the computer program for electronic data interchange, wherein, above computer program causes computer to perform such as
Part or all of step described by first aspect of the embodiment of the present invention, above computer include gateway.
5th aspect, the embodiments of the invention provide a kind of computer program product, wherein, above computer program product
Non-transient computer-readable recording medium including storing computer program, above computer program are operable to make calculating
Machine performs the part or all of step as described by first aspect of the embodiment of the present invention.The computer program product can be one
Software installation bag, above computer include gateway.
5th aspect, the present invention provide a kind of Internet of Things network communication system, the Internet of Things network communication system include gateway and with
The first repeater and multiple second repeaters, second repeater of the gateway connection include target repeater, including:
First repeater, for sending interactive information to the gateway;
The gateway, if anti-for the interactive information for not receiving first repeater in preset period of time
The feedback message of feedback, then target repeater is chosen from the multiple second repeater, the multiple second repeater is described
The alternative repeater of first repeater;
The gateway, it is additionally operable to described for indicating to target repeater transmission bridge joint instruction, the bridge joint instruction
Target repeater is bridged with first repeater.
In some feasible embodiments, the gateway chooses target repeater from the multiple second repeater
Embodiment has:Select from the multiple second repeater and be less than or equal in advance with the distance of first repeater
If the repeater of distance, as target repeater.
In some feasible embodiments, the gateway chooses target repeater from the multiple second repeater
Embodiment has:Current data forwarding rate is selected from the multiple second repeater more than or equal to preset data to turn
The repeater of speed is sent out, as target repeater.
In some feasible embodiments, the gateway chooses target repeater from the multiple second repeater
Embodiment has:The remaining space in current cache area is selected from the multiple second repeater more than or equal to default
The repeater of threshold value, as target repeater.
In some feasible embodiments, after the gateway sends bridge joint instruction to the target repeater,
The gateway, it is additionally operable to send data forwarding instruction to the target repeater, the data forwarding instruction carries
The internet-of-things terminal i of first repeater carrying interaction data, the data forwarding are instructed for indicating in the target
The interaction data of the internet-of-things terminal i is forwarded to first repeater after device;
The target repeater, the data forwarding instruction sent for receiving the gateway, and by described first
The internet-of-things terminal i of repeater carrying interaction data is forwarded to first repeater.
It is described if gateway does not receive the feedback message of the first repeater in preset period of time in the embodiment of the present invention
Gateway chooses target repeater from multiple second repeaters;The multiple second repeater is alternative for first repeater
Repeater;The gateway sends bridge joint instruction to the target repeater, and the bridge joint instruction is used to indicate the object relay
Device is bridged with first repeater.It can be seen that when the communication link between gateway and the first repeater occurs abnormal, net
Close and be used to indicate that target repeater is bridged with the first repeater by sending bridge joint instruction to target repeater, to ensure the
Data interaction is normally carried out between the internet-of-things terminal and gateway that are carried on one repeater, and then is solved in data exchange chain
During the exception of road, the problem of keeping in Internet of Things the normal data exchange between distinct device.
The aspects of the invention or other aspects can more straightforwards in the following description.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the required accompanying drawing used in technology description to be 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, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of internet of things schematic diagram provided in an embodiment of the present invention;
Fig. 2 is a kind of repeater bridging method schematic flow sheet provided in an embodiment of the present invention;
Fig. 3 is another repeater bridging method schematic flow sheet provided in an embodiment of the present invention;
Fig. 4 is a kind of repeater bridging method effect diagram provided in an embodiment of the present invention;
Fig. 5 is a kind of gateway architecture schematic diagram provided in an embodiment of the present invention;
Fig. 6 is a kind of gateway portion structural representation provided in an embodiment of the present invention;
Fig. 7 is another gateway architecture schematic diagram provided in an embodiment of the present invention;
Fig. 8 is a kind of Internet of Things communication system architecture schematic diagram provided in an embodiment of the present invention.
Embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention
Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people
The every other embodiment that member is obtained under the premise of creative work is not made, it should all belong to the model that the present invention protects
Enclose.
It is described in detail individually below.
Term " first ", " second ", " the 3rd " in description and claims of this specification and the accompanying drawing and "
Four " etc. be to be used to distinguish different objects, rather than for describing particular order.In addition, term " comprising " and " having " and it
Any deformation, it is intended that cover non-exclusive include.Such as contain the process of series of steps or unit, method, be
The step of system, product or equipment are not limited to list or unit, but alternatively also including the step of not listing or list
Member, or alternatively also include for the intrinsic other steps of these processes, method, product or equipment or unit.
Referenced herein " embodiment " is it is meant that the special characteristic, structure or the characteristic that describe can wrap in conjunction with the embodiments
In at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean it is identical
Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and
Implicitly understand, embodiment described herein can be combined with other embodiments.
Hereinafter, the part term in the application is explained, in order to skilled artisan understands that.
1), internet-of-things terminal equipment, also referred to as user equipment (User Equipment, UE), it is that one kind carries to user
For voice and/or the equipment of data connectivity, for example, portable equipment, mobile unit with wireless connecting function etc..It is common
Internet-of-things terminal for example including:Mobile phone, tablet personal computer, notebook computer, palm PC, mobile internet device (mobile
Internet device, MID), wearable device, such as intelligent watch, Intelligent bracelet, pedometer etc..
2), repeater, its English name are:" Repeater (RP) ", it is a kind of connection equipment of work on a physical layer.It is suitable
For the interconnection of identical two classes network, major function is by resending or forwarding to data-signal, to expand
The distance of big network transmission.
3), gateway, English name are:" Gateway ", gateway (Gateway) are also known as gateway, protocol converter.Net
Close in Internet implementation above network interconnection, be most complicated network interconnection apparatus, network interconnection, be only used for two different nets of upper-layer protocol
Network interconnects.Gateway both can be used for wide area network interconnection, can be used for local area network interconnection.Gateway is that a kind of serve as changes important task
Computer system or equipment.Using in different communication protocol, data format or language, in addition architecture it is entirely different two
Between kind system, gateway is a translater.Simply simply reception and registration information is different from bridge, and gateway will weigh to the information received
New packing, with the demand of adaptation to end system.
4), MAC (Media Access Control or Medium Access Control) address, free translation is media
Access control, or be physical address, hardware address, for defining the position of the network equipment.In osi model, third layer net
Network layers are responsible for IP address, and second layer data link layer is then responsible for MAC Address.Therefore a main frame has a MAC Address, and every
Individual network site has an IP address for being specific to it.
5), " multiple " refer to two or more."and/or", describes the incidence relation of affiliated partner, and expression can deposit
In three kinds of relations, for example, A and/or B, can be represented:Individualism A, while A and B be present, these three situations of individualism B.
It is a kind of relation of "or" that character "/", which typicallys represent forward-backward correlation object,.
Embodiments herein is described below in conjunction with the accompanying drawings.
A kind of according to an aspect of the invention, there is provided repeater bridging method.Wherein, this method is applied in such as Fig. 1
In shown internet of things, as shown in figure 1, the internet of things includes:Multiple internet-of-things terminals 10, multiple repeaters 20 and net
30 are closed, above-mentioned Internet of Things internet-of-things terminal there can be the different forms of expression according to different situations, such as this specifically may be used eventually
Think:The equipment such as mobile phone, tablet personal computer, computer, certain its can also include the other equipment with network savvy, such as intelligence
Can TV, intelligent air condition, the smart machine of intelligent kettle or some Internet of Things;Above-mentioned internet-of-things terminal 10 wirelessly with
Repeater 20 connects, and repeater 20 is wirelessly or wired mode accesses internet, above-mentioned wireless mode with gateway 30
Including but not limited to:The mode such as bluetooth, WIFI, ZigBee, GPRS, 3G, 4G, Wimax.It is in a wired fashion example in Fig. 1, is
Facilitate expression, here only represented with a solid line.
Fig. 2 is referred to, Fig. 2 is a kind of schematic flow sheet of repeater bridging method provided in an embodiment of the present invention, is applicable
For in Internet of things system, the Internet of things system to include gateway and the first repeater being connected with the gateway and multiple second
Repeater, comprise the following steps:
If the 201, gateway does not receive the feedback message of the first repeater in preset period of time, the gateway is from multiple
Target repeater is chosen in two repeaters;The multiple second repeater is the alternative repeater of first repeater.
Wherein, above-mentioned alternative repeater is the above-mentioned gateway when the link exception between the first repeater and above-mentioned gateway
Target repeater is selected from above-mentioned alternative repeater.
Wherein, above-mentioned feedback message is that above-mentioned repeater is upward after above-mentioned gateway sends data message to above-mentioned repeater
State gateway and send the feedback message for representing to receive the information.
Wherein, above-mentioned gateway establishes connecting link, while the generation of above-mentioned gateway and storage device link with multiple repeaters
Table, the device link table include the MAC Address of above-mentioned gateway, the MAC Address of above-mentioned multiple repeaters, above-mentioned multiple repeaters
Data-forwarding rate, above-mentioned multiple repeaters buffer area remaining space size and location information.When if above-mentioned gateway is pre-
If not receiving the feedback message of the first repeater in the period, then the gateway chooses object relay from multiple second repeaters
Device, above-mentioned multiple second repeaters are the repeater in addition to above-mentioned first repeater in above-mentioned multiple repeaters.
Alternatively, the span of above-mentioned preset period of time is more than or equal to 5s and is less than or equal to 15s, such as can be waited
In 5s, 8s, 10s, 12s, 15s or other values.Preferably, above-mentioned preset period of time is 8s.
Alternatively, the first feedback message of the first relaying that above-mentioned gateway does not receive within the first period, can be above-mentioned
The abnormal either above-mentioned downlink of repeater uplink is abnormal or the uplink and downlink link of above-mentioned repeater causes extremely
's.
Wherein, the gateway chooses target repeater from multiple second repeaters, including:
The gateway is selected from the multiple second repeater to be less than or equal to the distance of first repeater
The repeater of pre-determined distance, as target repeater.
Wherein, above-mentioned gateway is inquired about in above-mentioned multiple second repeaters and above-mentioned first by inquiring about the said equipment link table
After the distance of device, the repeater for being less than or equal to pre-determined distance with the distance of above-mentioned first repeater is therefrom selected, as mesh
Mark repeater.
Alternatively, the span of above-mentioned pre-determined distance is more than or equal to 50m and is less than or equal to 150m.It is above-mentioned
Pre-determined distance can be 50m, 80m, 100m, 120m, 150m.Preferably, above-mentioned pre-determined distance is 100m.
Wherein, the gateway chooses target repeater from multiple second repeaters, including:
The gateway selects current data forwarding rate from the multiple second repeater and is more than or equal to preset data
The repeater of forwarding rate, as target repeater.
Wherein, above-mentioned gateway inquires about the data forwarding speed of above-mentioned multiple second repeaters by inquiring about the said equipment link table
Rate, the repeater that above-mentioned data-forwarding rate is more than or equal to preset data forwarding rate is therefrom selected, as object relay
Device.
Alternatively, the span of above-mentioned preset data forwarding rate may be greater than 0 and be less than or equal to 1024Mbps, example
32Mbps, 64Mbps, 128Mbps, 256Mbps, 512Mbps, 1024Mbps or other values can be such as equal to, it is preferable that on
It is 256Mbps to state preset data forwarding rate.
Wherein, the gateway chooses target repeater from multiple second repeaters, including:
The remaining space that the gateway selects current cache area from the multiple second repeater is more than or equal in advance
If the repeater of threshold value, as target repeater.
Wherein, above-mentioned gateway inquires about the buffer area residue of above-mentioned multiple second repeaters by inquiring about the said equipment link table
Space size, the remaining space for therefrom selecting above-mentioned buffer area is more than or equal to the repeater of predetermined threshold value, as in target
After device.
Alternatively, the span of above-mentioned predetermined threshold value may be greater than 0 and be less than or equal to 512Mb, such as can be equal to
32Mb, 64Mb, 128Mb, 256Mb, 512Mb or other values, it is preferable that above-mentioned predetermined threshold value is 256Mb.
202nd, the gateway sends bridge joint instruction to the target repeater, and the bridge joint instruction is used to indicate the target
Repeater is bridged with first repeater.
After above-mentioned target repeater is bridged with above-mentioned first repeater, in addition to:
Wherein, if above-mentioned target repeater is to be selected according to above-mentioned gateway from above-mentioned multiple second repeaters and described
What the repeater that the distance of one repeater is less than or equal to pre-determined distance was chosen, above-mentioned gateway turns according to needed for the first repeater
The priority for sending out data forwards rule to be forwarded to above-mentioned gateway by above-mentioned target repeater according to preset data.
Rule is forwarded for above-mentioned preset data, is illustrated:
Assuming that above-mentioned target repeater has M repeater, there is N bar data to be forwarded on the first repeater;Above-mentioned N bars are waited to turn
Hair data have different priority.Work as M>During N, above-mentioned gateway passes through the data that the priority of above-mentioned N bands forwarding data is I
The repeater that distance level scale in above-mentioned target repeater is I is forwarded to above-mentioned gateway.Above-mentioned priority is the I in I data
It is worth smaller, priority is higher;Above-mentioned distance level scale is that the I values of I repeater are smaller, above-mentioned repeater and the first repeater away from
From shorter.
Work as M<During N, N/M=J ... K, above-mentioned gateway is by data Ni*J+1、Ni*J+2……Ni*J+JBy in target repeater
Repeater Mi+1It is forwarded to gateway;Wherein, above-mentioned data Ni*J+1It is the data that priority is i*J+1, i*J+1 values are smaller, corresponding number
According to priority it is higher;Above-mentioned Mi+1The repeater for being i+1 for distance level scale, above-mentioned i+1 values are smaller, corresponding repeater with it is above-mentioned
The distance of first repeater is shorter.Above-mentioned K bars data to be forwarded is according to working as M>Data forwarding method during N carries out data forwarding.
Wherein, if above-mentioned target repeater is to select current data from the multiple second repeater according to above-mentioned gateway
What the repeater that forwarding rate is more than or equal to preset data forwarding rate was chosen, above-mentioned gateway turns according to needed for the first repeater
The priority for sending out data forwards rule to be forwarded to above-mentioned gateway by above-mentioned target repeater according to preset data.
Rule is forwarded for above-mentioned preset data, is illustrated:
Assuming that above-mentioned target repeater has M repeater, there is N bar data to be forwarded on the first repeater;Above-mentioned N bars are waited to turn
Hair data have different priority.Work as M>During N, above-mentioned gateway passes through the data that the priority of above-mentioned N bands forwarding data is I
The repeater that data-forwarding rate grade in above-mentioned target repeater is I is forwarded to above-mentioned gateway.Above-mentioned priority is I number
I values in are smaller, and priority is higher;Above-mentioned distance level scale is that the I values of I repeater are smaller, and the data of above-mentioned repeater turn
It is faster to send out speed.
Work as M<During N, N/M=J ... K, above-mentioned gateway is by data Ni*J+1、Ni*J+2……Ni*J+JBy in target repeater
Repeater Mi+1It is forwarded to gateway;Wherein, above-mentioned data Ni*J+1It is the data that priority is i*J+1, i*J+1 values are smaller, corresponding number
According to priority it is higher;Above-mentioned Mi+1The repeater for being i+1 for distance level scale, above-mentioned i+1 values are smaller, the data of corresponding repeater
Forwarding rate is faster.Above-mentioned K bars data to be forwarded is according to working as M>Data forwarding method during N carries out data forwarding.
Wherein, if above-mentioned target repeater be selected according to above-mentioned gateway from the multiple second repeater it is above-mentioned
What the repeater that the remaining space of buffer area is more than or equal to predetermined threshold value was chosen, above-mentioned gateway is according to needed for the first repeater
The priority of data is forwarded to forward rule to be forwarded to above-mentioned gateway by above-mentioned target repeater according to preset data.
Rule is forwarded for above-mentioned preset data, is illustrated:
Assuming that above-mentioned target repeater has M repeater, there is N bar data to be forwarded on the first repeater;Above-mentioned N bars are waited to turn
Hair data have different priority.Work as M>During N, above-mentioned gateway passes through the data that the priority of above-mentioned N bands forwarding data is I
The repeater that data-forwarding rate grade in above-mentioned target repeater is I is forwarded to above-mentioned gateway.Above-mentioned priority is I number
I values in are smaller, and priority is higher;Above-mentioned distance level scale is that the I values of I repeater are smaller, the buffer area of above-mentioned repeater
Remaining space is bigger.
Work as M<During N, N/M=J ... K, above-mentioned gateway is by above-mentioned data to be forwarded Ni*J+1、Ni*J+2……Ni*J+JPass through target
Repeater M in repeateri+1It is forwarded to gateway;Wherein, above-mentioned data Ni*J+1Be priority be i*J+1 data, i*J+1 values
Smaller, the priority of corresponding data is higher;Above-mentioned Mi+1The repeater for being i+1 for distance level scale, above-mentioned i+1 values are smaller, in corresponding
Buffer area remaining space after device is bigger.Above-mentioned K bars data to be forwarded is according to working as M>Data forwarding method during N carries out data and turned
Hair.
Wherein, after the gateway sends bridge joint instruction to the target repeater, methods described also includes:
The gateway sends data forwarding instruction to the target repeater, and the data forwarding instruction carries described first
The internet-of-things terminal i of repeater carrying interaction data, the data forwarding are instructed for indicating the target repeater by institute
The interaction data for stating internet-of-things terminal i is forwarded to first repeater.
Above-mentioned internet-of-things terminal i is that above-mentioned first repeater carries any one in internet-of-things terminal.
It is above-mentioned herein it should be noted that when the link-recovery between above-mentioned gateway and above-mentioned first repeater is normal
Bridged link between first repeater and above-mentioned target repeater disconnects.
Alternatively, the quantity of the target repeater is N, and the N is the integer more than 1, and the gateway is to the target
Repeater sends bridge joint instruction, including:
The gateway determines that the quantity W, the W for the internet-of-things terminal that first repeater is carried are whole more than 1
Number;
If the W is more than predetermined threshold value, W/ predetermined threshold values=K, and when the K is less than the N, the gateway is to the N
K target repeater in individual target repeater sends bridge joint instruction, and the K is positive integer;
If the W is more than predetermined threshold value, W/ predetermined threshold values=K, and when the K is more than or waits the N, the gateway is to institute
State N number of target repeater and send bridge joint instruction, the K is positive integer;
If the W is more than predetermined threshold value, W/ predetermined threshold values=K ... k, and when the K+1 is less than the N, the gateway
The K+1 target repeater into N number of target repeater sends bridge joint instruction, and the K is business, and the k is remainder;
If the W is more than predetermined threshold value, W/ predetermined threshold values=K, and when the K+1 is more than or equal to the N, the gateway
Bridge joint instruction is sent to N number of target repeater, the K is business, and the k is remainder;
If the W is less than predetermined threshold value, the gateway is sent to N number of one of target repeater of target repeater
Bridge joint instruction.
Wherein, predetermined threshold value for example can be 30,40,45,60,48,100 or other values.
It should be noted that gateway sends bridge joint instruction to N number of one of target repeater of target repeater, this
In one of target repeater can be carry internet-of-things terminal minimum number repeater, can also be in distance first
After the nearest repeater of device, can also be forwarding data capability it is most strong, can also be any one etc., the present invention do not limit
It is fixed.The K into N number of target repeater or K+1 target repeater of the gateway sends bridge joint instruction, here K
Or K+1 target repeater can be K or K+1 of the carrying internet-of-things terminal minimum number in this N number of target repeater
Forwarding data capability most strong K in repeater or N number of target repeater or K+1 repeater or away from
The K of the repeater nearest from the first repeater or K+1 repeater or forwarding data capability it is most strong K is individual or K+1
Any K or K+1 repeater etc. in individual repeater or N number of target repeater, the present invention is not construed as limiting.
It is described if gateway does not receive the feedback message of the first repeater in preset period of time in the embodiment of the present invention
Gateway chooses target repeater from multiple second repeaters;The multiple second repeater is alternative for first repeater
Repeater;The gateway sends bridge joint instruction to the target repeater, and the bridge joint instruction is used to indicate the object relay
Device is bridged with first repeater.It can be seen that when the communication link between gateway and the first repeater occurs abnormal, net
Close and be used to indicate that target repeater is bridged with the first repeater by sending bridge joint instruction to target repeater, to ensure the
Data interaction is normally carried out between the internet-of-things terminal and gateway that are carried on one repeater, and then is solved in data exchange chain
During the exception of road, the problem of keeping in Internet of Things the normal data exchange between distinct device.
The embodiment of the present invention additionally provides another more detailed method flow, as shown in figure 3, including:
301st, gateway sends interactive information to the first repeater.
Wherein, interacting before above-mentioned interactive information carries internet-of-things terminal by above-mentioned gateway with above-mentioned first repeater
Information.
The 302nd, if gateway does not receive the first repeater in preset period of time and disappeared for the feedback of interactive information feedback
Breath, then the gateway chooses target repeater from multiple second repeaters;During the multiple second repeater is described first
After the alternative repeater of device.
Wherein, above-mentioned alternative repeater is the above-mentioned gateway when the link exception between the first repeater and above-mentioned gateway
Target repeater is selected from above-mentioned alternative repeater.
Wherein, above-mentioned feedback message is that above-mentioned repeater is upward after above-mentioned gateway sends data message to above-mentioned repeater
State gateway and send the feedback message for representing to receive the information.
Wherein, above-mentioned gateway establishes connecting link, while the generation of above-mentioned gateway and storage device link with multiple repeaters
Table, the device link table include the MAC Address of above-mentioned gateway, the MAC Address of above-mentioned multiple repeaters, above-mentioned multiple repeaters
Data-forwarding rate, above-mentioned multiple repeaters buffer area remaining space size and location information.When if above-mentioned gateway is pre-
If not receiving the feedback message of the first repeater in the period, then the gateway chooses object relay from multiple second repeaters
Device, above-mentioned multiple second repeaters are the repeater in addition to above-mentioned first repeater in above-mentioned multiple repeaters.
Alternatively, the span of above-mentioned preset period of time is more than or equal to 5s and is less than or equal to 15s, such as can be waited
In 5s, 8s, 10s, 12s, 15s or other values.Preferably, above-mentioned preset period of time is 8s.
Alternatively, the first feedback message of the first relaying that above-mentioned gateway does not receive within the first period, can be above-mentioned
The abnormal either above-mentioned downlink of repeater uplink is abnormal or the uplink and downlink link of above-mentioned repeater causes extremely
's.
Wherein, the gateway chooses target repeater from multiple second repeaters, including:
The gateway is selected from the multiple second repeater to be less than or equal to the distance of first repeater
The repeater of pre-determined distance, as target repeater.
Wherein, above-mentioned gateway is inquired about in above-mentioned multiple second repeaters and above-mentioned first by inquiring about the said equipment link table
After the distance of device, the repeater for being less than or equal to pre-determined distance with the distance of above-mentioned first repeater is therefrom selected, as mesh
Mark repeater.
Alternatively, the span of above-mentioned pre-determined distance is more than or equal to 50m and is less than or equal to 150m.It is above-mentioned
Pre-determined distance can be 50m, 80m, 100m, 120m, 150m.Preferably, above-mentioned pre-determined distance is 100m.
Wherein, the gateway chooses target repeater from multiple second repeaters, including:
The gateway selects current data forwarding rate from the multiple second repeater and is more than or equal to preset data
The repeater of forwarding rate, as target repeater.
Wherein, above-mentioned gateway inquires about the data forwarding speed of above-mentioned multiple second repeaters by inquiring about the said equipment link table
Rate, the repeater that above-mentioned data-forwarding rate is more than or equal to preset data forwarding rate is therefrom selected, as object relay
Device.
Alternatively, the span of above-mentioned preset data forwarding rate may be greater than 0 and be less than or equal to 1024Mbps, example
32Mbps, 64Mbps, 128Mbps, 256Mbps, 512Mbps, 1024Mbps or other values can be such as equal to, it is preferable that on
It is 256Mbps to state preset data forwarding rate.
Wherein, the gateway chooses target repeater from multiple second repeaters, including:
The remaining space that the gateway selects current cache area from the multiple second repeater is more than or equal in advance
If the repeater of threshold value, as target repeater.
Wherein, above-mentioned gateway inquires about the data forwarding speed of above-mentioned multiple second repeaters by inquiring about the said equipment link table
Rate, the remaining space for therefrom selecting above-mentioned buffer area is more than or equal to the repeater of predetermined threshold value, as target repeater.
Alternatively, the span of above-mentioned predetermined threshold value may be greater than 0 and be less than or equal to 512Mb, such as can be equal to
32Mb, 64Mb, 128Mb, 256Mb, 512Mb or other values, it is preferable that above-mentioned predetermined threshold value is 256Mb.
303rd, inquiry obtains the MAC Address and target repeater of the first repeater in the gateway slave unit link table
MAC Address.
304th, the bridge joint for the MAC Address that the gateway carries first repeater to target repeater transmission refers to
Order.
Above-mentioned gateway is to send bridge joint to above-mentioned target repeater by the MAC Address of the above-mentioned target repeater of acquisition to refer to
Order.Above-mentioned bridge joint is instructed for indicating that above-mentioned target repeater is bridged with above-mentioned first repeater.
305th, the MAC Address for above-mentioned first repeater that the target repeater carries in being instructed according to above-mentioned bridge joint is upward
State the first repeater and send bridge joint request.
306th, first repeater receives above-mentioned bridge joint request, and is bridged with target repeater.
After above-mentioned target repeater is bridged with above-mentioned first repeater, in addition to:
Wherein, if above-mentioned target repeater is to be selected according to above-mentioned gateway from above-mentioned multiple second repeaters and described
What the repeater that the distance of one repeater is less than or equal to pre-determined distance was chosen, above-mentioned gateway turns according to needed for the first repeater
The priority for sending out data forwards rule to be forwarded to above-mentioned gateway by above-mentioned target repeater according to preset data.
Rule is forwarded for above-mentioned preset data, is illustrated:
Assuming that above-mentioned target repeater has M repeater, there is N bar data to be forwarded on the first repeater;Above-mentioned N bars are waited to turn
Hair data have different priority.Work as M>During N, above-mentioned gateway passes through the data that the priority of above-mentioned N bands forwarding data is I
The repeater that distance level scale in above-mentioned target repeater is I is forwarded to above-mentioned gateway.Above-mentioned priority is the I in I data
It is worth smaller, priority is higher;Above-mentioned distance level scale is that the I values of I repeater are smaller, above-mentioned repeater and the first repeater away from
From shorter.
Work as M<During N, N/M=J ... K, above-mentioned gateway is by data Ni*J+1、Ni*J+2……Ni*J+JBy in target repeater
Repeater Mi+1It is forwarded to gateway;Wherein, above-mentioned data Ni*J+1It is the data that priority is i*J+1, i*J+1 values are smaller, corresponding number
According to priority it is higher;Above-mentioned Mi+1The repeater for being i+1 for distance level scale, above-mentioned i+1 values are smaller, corresponding repeater with it is above-mentioned
The distance of first repeater is shorter.Above-mentioned K bars data to be forwarded is according to working as M>Data forwarding method during N carries out data forwarding.
Wherein, if above-mentioned target repeater is to select current data from the multiple second repeater according to above-mentioned gateway
What the repeater that forwarding rate is more than or equal to preset data forwarding rate was chosen, above-mentioned gateway turns according to needed for the first repeater
The priority for sending out data forwards rule to be forwarded to above-mentioned gateway by above-mentioned target repeater according to preset data.
Rule is forwarded for above-mentioned preset data, is illustrated:
Assuming that above-mentioned target repeater has M repeater, there is N bar data to be forwarded on the first repeater;Above-mentioned N bars are waited to turn
Hair data have different priority.Work as M>During N, above-mentioned gateway passes through the data that the priority of above-mentioned N bands forwarding data is I
The repeater that data-forwarding rate grade in above-mentioned target repeater is I is forwarded to above-mentioned gateway.Above-mentioned priority is I number
I values in are smaller, and priority is higher;Above-mentioned distance level scale is that the I values of I repeater are smaller, and the data of above-mentioned repeater turn
It is faster to send out speed.
Work as M<During N, N/M=J ... K, above-mentioned gateway is by data Ni*J+1、Ni*J+2……Ni*J+JBy in target repeater
Repeater Mi+1It is forwarded to gateway;Wherein, above-mentioned data Ni*J+1It is the data that priority is i*J+1, i*J+1 values are smaller, corresponding number
According to priority it is higher;Above-mentioned Mi+1The repeater for being i+1 for distance level scale, above-mentioned i+1 values are smaller, the data of corresponding repeater
Forwarding rate is faster.Above-mentioned K bars data to be forwarded is according to working as M>Data forwarding method during N carries out data forwarding.
Wherein, if above-mentioned target repeater be selected according to above-mentioned gateway from the multiple second repeater it is above-mentioned
What the repeater that the remaining space of buffer area is more than or equal to predetermined threshold value was chosen, above-mentioned gateway is according to needed for the first repeater
The priority of data is forwarded to forward rule to be forwarded to above-mentioned gateway by above-mentioned target repeater according to preset data.
Rule is forwarded for above-mentioned preset data, is illustrated:
Assuming that above-mentioned target repeater has M repeater, there is N bar data to be forwarded on the first repeater;Above-mentioned N bars are waited to turn
Hair data have different priority.Work as M>During N, above-mentioned gateway passes through the data that the priority of above-mentioned N bands forwarding data is I
The repeater that data-forwarding rate grade in above-mentioned target repeater is I is forwarded to above-mentioned gateway.Above-mentioned priority is I number
I values in are smaller, and priority is higher;Above-mentioned distance level scale is that the I values of I repeater are smaller, the buffer area of above-mentioned repeater
Remaining space is bigger.
Work as M<During N, N/M=J ... K, above-mentioned gateway is by above-mentioned data to be forwarded Ni*J+1、Ni*J+2……Ni*J+JPass through target
Repeater M in repeateri+1It is forwarded to gateway;Wherein, above-mentioned data Ni*J+1Be priority be i*J+1 data, i*J+1 values
Smaller, the priority of corresponding data is higher;Above-mentioned Mi+1The repeater for being i+1 for distance level scale, above-mentioned i+1 values are smaller, in corresponding
Buffer area remaining space after device is bigger.Above-mentioned K bars data to be forwarded is according to working as M>Data forwarding method during N carries out data and turned
Hair.
Wherein, after the gateway sends bridge joint instruction to the target repeater, methods described also includes:
The gateway sends data forwarding instruction to the target repeater, and the data forwarding instruction carries described first
The internet-of-things terminal i of repeater carrying interaction data, the data forwarding are instructed for indicating the target repeater by institute
The interaction data for stating internet-of-things terminal i is forwarded to first repeater.
Above-mentioned internet-of-things terminal i is that above-mentioned first repeater carries any one in internet-of-things terminal.
It is above-mentioned herein it should be noted that when the link-recovery between above-mentioned gateway and above-mentioned first repeater is normal
Bridged link between first repeater and above-mentioned target repeater disconnects.
It should be noted that the specific implementation process of each step of method shown in Fig. 3 can be found in described in the above method
Specific implementation process, no longer describe herein.
Referring to Fig. 4, Fig. 4 is a kind of result schematic diagram of internet-of-things terminal moving method provided in an embodiment of the present invention.Such as
To scheme shown in a, the first repeater and target repeater, above-mentioned target repeater include repeater 1 and repeater 2, and above-mentioned the
Link connection is normal between one repeater and gateway.As schemed shown in b, the link connection between above-mentioned first repeater and gateway is different
Often, after the step 302 of above-mentioned gateway according to the method described above obtains repeater 1 and the conduct target repeater of repeater 2, according to above-mentioned
Step 304, step 305 and the step 306 of method indicate that the repeater 1 in above-mentioned target repeater enters with above-mentioned first repeater
Row bridge joint so that the internet-of-things terminal that above-mentioned repeater is carried keeps normal data interaction.
The embodiment of the present invention additionally provides a kind of internet-of-things terminal equipment 500, as shown in figure 5, including:
Module 501 is chosen, it is described if not receiving the feedback message of the first repeater in preset period of time for gateway
Choose module and choose target repeater from multiple second repeaters;The multiple second repeater is first repeater
Alternative repeater;
Bridge module 502, for described for indicating to target repeater transmission bridge joint instruction, the bridge joint instruction
Target repeater is bridged with first repeater.
Alternatively, the selection module 501 includes:
First chooses unit 5011, for selecting the distance with first repeater from the multiple second repeater
Less than or equal to the repeater of pre-determined distance, as target repeater.
Alternatively, the selection module 501 includes:
Second choose unit 5012, for selected from the multiple second repeater current data forwarding rate be more than or
Equal to the repeater of preset data forwarding rate, as target repeater.
Alternatively, the selection module 501 includes:
3rd chooses unit 5013, and the remaining space for selecting current cache area from the multiple second repeater is big
In or equal to predetermined threshold value repeater, as target repeater.
Alternatively, after bridge module 502 sends bridge joint instruction to the target repeater, the gateway also includes:
Sending module 503, for sending data forwarding instruction to the target repeater, the data forwarding instruction carries
The internet-of-things terminal i of first repeater carrying interaction data, the data forwarding are instructed for indicating in the target
The interaction data of the internet-of-things terminal i is forwarded to first repeater after device.
It should be noted that above-mentioned each module (choosing module 501 and bridge module 502) is used for the phase for performing the above method
Close step.For example choose the correlation step that module 501 is used to perform above step 201.Bridge module 502 is used for more than execution
The correlation step of step 202.Additionally due to correlation step of the above-mentioned each module for performing the above method, therefore the above method
The specific implementation process of each step is the specific implementation process that above-mentioned each module performs, and is no longer described herein.
In the present embodiment, gateway 500 is to present in modular form.Here " module " can refer to application-specific collection
Into circuit (application-specific integrated circuit, ASIC), one or more softwares or firmware are performed
The processor and memory of program, integrated logic circuit, and/or other can provide the device of above-mentioned function.In addition, select above
Modulus block 501, bridge module 502 can realize that sending module 503 can pass through figure by the processor 701 of the gateway shown in Fig. 7
The communications interface processor 703 of gateway shown in 7 is realized.
As shown in fig. 7, gateway 700 can realize that the gateway 700 includes at least one processor with the structure in Fig. 7
701, at least one memory 702 and at least one communication interface 703.The processor 701, the memory 702 and institute
Communication interface 703 is stated to connect by the communication bus and complete mutual communication.
Processor 701 can be general central processor (CPU), microprocessor, ASIC
(application-specific integrated circuit, ASIC), or it is one or more for controlling above scheme journey
The integrated circuit that sequence performs.
Communication interface 703, for other equipment or communication, such as Ethernet, wireless access network (RAN), nothing
Line LAN (Wireless Local Area Networks, WLAN) etc..
Memory 702 can be read-only storage (read-only memory, ROM) or can store static information and instruction
Other kinds of static storage device, random access memory (random access memory, RAM) or letter can be stored
Breath and other kinds of dynamic memory or the EEPROM (Electrically of instruction
Erasable Programmable Read-Only Memory, EEPROM), read-only optical disc (Compact Disc Read-
Only Memory, CD-ROM) or other optical disc storages, laser disc storage (including compression laser disc, laser disc, laser disc, digital universal
Laser disc, Blu-ray Disc etc.), magnetic disk storage medium or other magnetic storage apparatus or can be used in carrying or store with referring to
The desired program code of order or data structure form simultaneously can be by any other medium of computer access, but not limited to this.
Memory can be individually present, and be connected by bus with processor.Memory can also integrate with processor.
Wherein, the memory 702 be used for store perform above scheme application code, and by processor 701
Control performs.The processor 701 is used to perform the application code stored in the memory 702.
The code that memory 702 stores can perform the upgrading for the above-mentioned application that internet-of-things terminal equipment provided above performs
Method, if not receiving the feedback message of the first repeater in preset period of time than gateway, then the gateway is from multiple second
Target repeater is chosen in repeater;The multiple second repeater is the alternative repeater of first repeater;The net
Close to the target repeater and send bridge joint instruction, the bridge joint instruction is used to indicate in the target repeater and described first
Bridged after device.
Refer to Fig. 8, Fig. 8 is a kind of Internet of Things communication system architecture schematic diagram provided in an embodiment of the present invention, the Internet of Things
Network communication system includes gateway 801 and the first repeater 802 and the second repeater 803 that are connected with gateway 801, in described second
Include target repeater 8031 after device, wherein:
First repeater 802, for sending interactive information to gateway 801;
Gateway 801, if being fed back for not receiving the first repeater 801 in preset period of time for the interactive information
Feedback message, then from multiple second repeaters 803 choose target repeater 8031, multiple second repeaters 803 be first
The alternative repeater of repeater 802;
Gateway 801, it is additionally operable to send bridge joint instruction to target repeater 8031, the bridge joint instruction is used to indicate in target
Bridged after device 8031 and the first repeater 802.
Alternatively, gateway 801 chooses the embodiment of target repeater 8031 from multiple second repeaters 803
Have:Selected from the multiple second repeater 803 and be less than or equal to pre-determined distance with the distance of first repeater 802
Repeater, as target repeater 8031.
Alternatively, gateway 801 chooses the embodiment of target repeater 8031 from multiple second repeaters 803
Have:Current data forwarding rate is selected from the multiple second repeater 803 more than or equal to preset data forwarding rate
Repeater, as target repeater 8031.
Alternatively, gateway 801 chooses the embodiment of target repeater 8031 from multiple second repeaters 803
Have:The remaining space that current cache area is selected from the multiple second repeater 803 is more than or equal in predetermined threshold value
After device, as target repeater 8031.
Alternatively, after gateway 801 sends bridge joint instruction to the target repeater,
Gateway 801, it is additionally operable to send data forwarding instruction to target repeater 8031, the data forwarding instruction carries institute
The internet-of-things terminal i of the first repeater carrying interaction data is stated, the data forwarding is instructed for indicating the object relay
The interaction data of the internet-of-things terminal i is forwarded to first repeater 802 by device 8031;
Target repeater 8031, the data forwarding instruction sent for receiving the gateway 801, and by described the
The internet-of-things terminal i of one repeater 802 carrying interaction data is forwarded to first repeater 802.
It should be noted that the specific implementation for the step of each equipment performs in Internet of Things network communication system shown in Fig. 8
Journey can be found in the specific implementation process described in the above method, no longer describe herein.
The embodiment of the present invention also provides a kind of computer-readable storage medium, wherein, the computer-readable storage medium is stored for electricity
The computer program that subdata exchanges, the computer program cause computer to perform any as described in above-mentioned embodiment of the method
The part or all of step of method, the computer include gateway.
The embodiment of the present invention also provides a kind of computer program product, and the computer program product includes storing calculating
The non-transient computer-readable recording medium of machine program, the computer program are operable to make computer perform side as described above
The part or all of step of either method described in method embodiment.The computer program product can be a software installation
Bag, the computer include gateway.
It should be noted that for foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as a series of
Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because
According to the present invention, some steps can use other orders or carry out simultaneously.Secondly, those skilled in the art should also know
Know, embodiment described in this description belongs to preferred embodiment, and involved action and module are not necessarily of the invention
It is necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion being described in detail in some embodiment
Point, it may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed device, can be by another way
Realize.For example, device embodiment described above is only schematical, such as the division of the unit, it is only one kind
Division of logic function, can there is an other dividing mode when actually realizing, such as multiple units or component can combine or can
To be integrated into another system, or some features can be ignored, or not perform.Another, shown or discussed is mutual
Coupling direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication connection of device or unit,
Can be electrical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list
Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use
When, it can be stored in a computer-readable access to memory.Based on such understanding, technical scheme substantially or
Person say the part to be contributed to prior art or the technical scheme all or part can in the form of software product body
Reveal and, the computer software product is stored in a memory, including some instructions are causing a computer equipment
(can be personal computer, server or network equipment etc.) performs all or part of each embodiment methods described of the present invention
Step.And foregoing memory includes:USB flash disk, read-only storage (ROM, Read-Only Memory), random access memory
(RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can be with the medium of store program codes.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
To instruct the hardware of correlation to complete by program, the program can be stored in a computer-readable memory, memory
It can include:Flash disk, read-only storage (English:Read-Only Memory, referred to as:ROM), random access device (English:
Random Access Memory, referred to as:RAM), disk or CD etc..
The embodiment of the present invention is described in detail above, specific case used herein to the principle of the present invention and
Embodiment is set forth, and the explanation of above example is only intended to help the method and its core concept for understanding the present invention;
Meanwhile for those of ordinary skill in the art, according to the thought of the present invention, can in specific embodiments and applications
There is change part, to sum up above-mentioned, this specification content should not be construed as limiting the invention.
Claims (10)
1. a kind of repeater bridging method, be applicable in Internet of things system, the Internet of things system include gateway and with it is described
The first repeater and multiple second repeaters of gateway connection, it is characterised in that including:
If the gateway does not receive the feedback message of first repeater in preset period of time, the gateway is from described more
Target repeater is chosen in individual second repeater, the multiple second repeater is the alternative repeater of first repeater;
The gateway to the target repeater send bridge joint instruction, it is described bridge joint instruction be used for indicate the target repeater with
First repeater is bridged.
2. according to the method for claim 1, it is characterised in that the gateway chooses mesh from the multiple second repeater
Repeater is marked, including:
The gateway is selected to be less than or equal to the distance of first repeater from the multiple second repeater and preset
The repeater of distance, as target repeater.
3. according to the method for claim 1, it is characterised in that the gateway chooses mesh from the multiple second repeater
Repeater is marked, including:
The gateway is selected current data forwarding rate from the multiple second repeater and forwarded more than or equal to preset data
The repeater of speed, as target repeater.
4. according to the method for claim 1, it is characterised in that the gateway chooses mesh from the multiple second repeater
Repeater is marked, including:
The remaining space that the gateway selects current cache area from the multiple second repeater is more than or equal to default threshold
The repeater of value, as target repeater.
5. according to the method described in claim any one of 1-4, it is characterised in that the gateway is sent to the target repeater
After bridge joint instruction, methods described also includes:
The gateway sends data forwarding instruction to the target repeater, and the data forwarding instruction carries first relaying
The internet-of-things terminal i of device carrying interaction data, the data forwarding are instructed for indicating the target repeater by the thing
Networked terminals i interaction data is forwarded to first repeater.
A kind of 6. gateway, it is characterised in that be applicable in Internet of things system, the Internet of things system include gateway and with it is described
The first repeater and multiple second repeaters of gateway connection, including:
Choose module, if not receiving the feedback message of the first repeater in preset period of time for gateway, the selection mould
Block chooses target repeater from the multiple second repeater;The multiple second repeater is standby for first repeater
Select repeater;
Bridge module, for sending bridge joint instruction to the target repeater, the bridge joint instruction is used to indicate in the target
Bridged after device and first repeater.
7. gateway according to claim 6, it is characterised in that the selection module includes:
First chooses unit, be less than with the distance of first repeater for being selected from the multiple second repeater or
Equal to the repeater of pre-determined distance, as target repeater.
8. gateway according to claim 6, it is characterised in that the selection module includes:
Second chooses unit, for selecting current data forwarding rate from the multiple second repeater more than or equal to default
The repeater of data-forwarding rate, as target repeater.
9. gateway according to claim 6, it is characterised in that the selection module includes:
3rd chooses unit, and the remaining space for selecting current cache area from the multiple second repeater is more than or waited
In the repeater of predetermined threshold value, as target repeater.
10. according to the gateway described in claim any one of 6-9, it is characterised in that the gateway also includes:
Sending module, for sending data forwarding instruction to the target repeater, data forwarding instruction carries described the
The internet-of-things terminal i of one repeater carrying interaction data, the data forwarding are instructed for indicating that the target repeater will
The interaction data of the internet-of-things terminal i is forwarded to first repeater.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010553564.3A CN111669322B (en) | 2017-07-20 | 2017-07-20 | Relay bridging method and gateway |
CN201710593838.XA CN107483330B (en) | 2017-07-20 | 2017-07-20 | Relay bridging method and gateway |
PCT/CN2017/100744 WO2019015036A1 (en) | 2017-07-20 | 2017-09-06 | Repeater bridging method and gateway |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710593838.XA CN107483330B (en) | 2017-07-20 | 2017-07-20 | Relay bridging method and gateway |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010553564.3A Division CN111669322B (en) | 2017-07-20 | 2017-07-20 | Relay bridging method and gateway |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107483330A true CN107483330A (en) | 2017-12-15 |
CN107483330B CN107483330B (en) | 2020-07-03 |
Family
ID=60595912
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710593838.XA Active CN107483330B (en) | 2017-07-20 | 2017-07-20 | Relay bridging method and gateway |
CN202010553564.3A Active CN111669322B (en) | 2017-07-20 | 2017-07-20 | Relay bridging method and gateway |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010553564.3A Active CN111669322B (en) | 2017-07-20 | 2017-07-20 | Relay bridging method and gateway |
Country Status (2)
Country | Link |
---|---|
CN (2) | CN107483330B (en) |
WO (1) | WO2019015036A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108282852A (en) * | 2018-02-06 | 2018-07-13 | 广东欧珀移动通信有限公司 | WiFi bridging managements method, apparatus, mobile terminal and computer readable storage medium |
CN111343700A (en) * | 2018-12-19 | 2020-06-26 | 南宁富桂精密工业有限公司 | Wireless sensor network communication method |
CN113067763A (en) * | 2020-11-24 | 2021-07-02 | 国网浙江余姚市供电有限公司 | High-reliability mountain area distribution network communication system and communication method thereof |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101656624A (en) * | 2008-08-18 | 2010-02-24 | 中兴通讯股份有限公司 | Multi-node application-level disaster recovery system and multi-node application-level disaster recovery method |
US20110119458A1 (en) * | 2005-01-21 | 2011-05-19 | Natsume Matsuzaki | Relay device |
CN105099793A (en) * | 2015-09-24 | 2015-11-25 | 华为技术有限公司 | Hot-standby method, hot-standby device and hot-standby system |
CN105898807A (en) * | 2016-06-08 | 2016-08-24 | 北京邮电大学 | Access point selection and resource distribution combined self-healing method in ultra-dense network |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005269059A (en) * | 2004-03-17 | 2005-09-29 | Fujitsu Ltd | Data repeater, repeating method and program |
CN101466169B (en) * | 2008-12-23 | 2011-06-15 | 福建先创电子有限公司 | Method for searching transmission path in direct discharging station system and relay equipment thereof |
CN102843716B (en) * | 2011-06-24 | 2015-11-25 | 中国移动通信集团公司 | Changing method in a kind of mobile relay network, system and equipment |
CN102932855B (en) * | 2011-08-11 | 2017-05-17 | 中兴通讯股份有限公司 | Method and system for switching relay nodes (RN) |
CN102905309B (en) * | 2012-11-06 | 2015-10-28 | 重庆邮电大学 | A kind of relay communication method based on cooperative MAC protocol in vehicle self-organizing network |
EP2739081A1 (en) * | 2012-11-29 | 2014-06-04 | British Telecommunications public limited company | Network access restoration |
CN106161057B (en) * | 2015-04-02 | 2020-03-27 | 中兴通讯股份有限公司 | User side gateway protection method, gateway equipment and system |
CN106330525A (en) * | 2015-06-30 | 2017-01-11 | 阿里巴巴集团控股有限公司 | Data transmission method and system |
CN106888494B (en) * | 2015-12-15 | 2020-10-27 | 上海诺基亚贝尔股份有限公司 | Method, device and system for selecting relay UE |
CN105682176B (en) * | 2016-01-19 | 2019-03-05 | 南京邮电大学 | Node activations method based on dealing model and bilevel optimization |
CN106535238B (en) * | 2016-11-02 | 2020-04-07 | 青岛海信移动通信技术股份有限公司 | Link switching method and device |
-
2017
- 2017-07-20 CN CN201710593838.XA patent/CN107483330B/en active Active
- 2017-07-20 CN CN202010553564.3A patent/CN111669322B/en active Active
- 2017-09-06 WO PCT/CN2017/100744 patent/WO2019015036A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110119458A1 (en) * | 2005-01-21 | 2011-05-19 | Natsume Matsuzaki | Relay device |
CN101656624A (en) * | 2008-08-18 | 2010-02-24 | 中兴通讯股份有限公司 | Multi-node application-level disaster recovery system and multi-node application-level disaster recovery method |
CN105099793A (en) * | 2015-09-24 | 2015-11-25 | 华为技术有限公司 | Hot-standby method, hot-standby device and hot-standby system |
CN105898807A (en) * | 2016-06-08 | 2016-08-24 | 北京邮电大学 | Access point selection and resource distribution combined self-healing method in ultra-dense network |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108282852A (en) * | 2018-02-06 | 2018-07-13 | 广东欧珀移动通信有限公司 | WiFi bridging managements method, apparatus, mobile terminal and computer readable storage medium |
CN108282852B (en) * | 2018-02-06 | 2021-04-27 | Oppo广东移动通信有限公司 | WiFi bridging management method and device, mobile terminal and computer readable storage medium |
CN111343700A (en) * | 2018-12-19 | 2020-06-26 | 南宁富桂精密工业有限公司 | Wireless sensor network communication method |
CN113067763A (en) * | 2020-11-24 | 2021-07-02 | 国网浙江余姚市供电有限公司 | High-reliability mountain area distribution network communication system and communication method thereof |
CN113067763B (en) * | 2020-11-24 | 2022-07-01 | 国网浙江余姚市供电有限公司 | High-reliability mountain area distribution network communication system and communication method thereof |
Also Published As
Publication number | Publication date |
---|---|
WO2019015036A1 (en) | 2019-01-24 |
CN111669322A (en) | 2020-09-15 |
CN107483330B (en) | 2020-07-03 |
CN111669322B (en) | 2022-04-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104333511B (en) | Determine the method, apparatus and system of service transmission path | |
JP4805646B2 (en) | Sensor terminal and sensor terminal control method | |
KR101706876B1 (en) | Service processing method and device | |
CN109391649A (en) | The methods, devices and systems of page load | |
CN107342952A (en) | Service link selects control method and equipment | |
CN104982013A (en) | Service routing method, device and system | |
CN107483330A (en) | A kind of repeater bridging method and gateway | |
CN103125141A (en) | Aggregation of mobile broadband network interfaces | |
CN107396287A (en) | The choosing method and device of a kind of working frequency points | |
CN104995950A (en) | Data transmission method and apparatus | |
CN108696911A (en) | A kind of selection method and device of data transmission of internet of things mode | |
CN106233775A (en) | The insertion in network data packet header of application program or RI radio intelligence and use | |
CN103155646B (en) | Realize the method for dynamic internetwork load balance, Apparatus and system | |
US20200022111A1 (en) | Group acknowledgement in a wireless communication network | |
CN107547631A (en) | A kind of communication control method and Internet of Things server | |
CN103929377A (en) | Wired network and wireless network combined dispatching method and system and related devices | |
CN107465538A (en) | A kind of internet-of-things terminal moving method and gateway | |
CN109891400A (en) | Method, apparatus and storage medium based on SPI asynchronous process event | |
CN108337625A (en) | A kind of switching method and device of operating mode | |
CN107529213A (en) | A kind of resource control method and device | |
CN107801226A (en) | Based on node society similitude and the central data forwarding method of individual and device | |
CN109996304A (en) | A kind of Internet of Things method for switching network and device | |
US20200170078A1 (en) | Method for optimizing per message type data exchange between connected objects | |
US8954720B2 (en) | IC chip, information processing apparatus, software module control method, information processing system, information processing method, and program | |
CN104471538A (en) | Data stream processing method, device and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |