CN107404404A - A kind of terminal route selection method and internet-of-things terminal based on Internet of Things - Google Patents

A kind of terminal route selection method and internet-of-things terminal based on Internet of Things Download PDF

Info

Publication number
CN107404404A
CN107404404A CN201710633785.XA CN201710633785A CN107404404A CN 107404404 A CN107404404 A CN 107404404A CN 201710633785 A CN201710633785 A CN 201710633785A CN 107404404 A CN107404404 A CN 107404404A
Authority
CN
China
Prior art keywords
repeater
bandwidth
data
internet
bandwidth demand
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710633785.XA
Other languages
Chinese (zh)
Other versions
CN107404404B (en
Inventor
杜光东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Shenglu IoT Communication Technology Co Ltd
Original Assignee
Shenzhen Shenglu IoT Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Shenglu IoT Communication Technology Co Ltd filed Critical Shenzhen Shenglu IoT Communication Technology Co Ltd
Priority to CN201710633785.XA priority Critical patent/CN107404404B/en
Publication of CN107404404A publication Critical patent/CN107404404A/en
Application granted granted Critical
Publication of CN107404404B publication Critical patent/CN107404404B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0668Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/18Negotiating wireless communication parameters
    • H04W28/20Negotiating bandwidth
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/22Communication route or path selection, e.g. power-based or shortest path routing using selective relaying for reaching a BTS [Base Transceiver Station] or an access point

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a kind of terminal route selection method and internet-of-things terminal based on Internet of Things.A kind of terminal route selection method based on Internet of Things, including:The bandwidth demand of current first data waiting for transmission is determined when abnormal conditions occurs in the first repeater currently connected;Obtain data transmission state condition corresponding to the bandwidth demand of first data;The second repeater for meeting the corresponding data transmission state condition of bandwidth demand of first data is determined in the multiple backup relays devices for the repeater that backuped each other with first repeater;Route connection is established with second repeater, passes through the first data described in second repeater transmission.Using technical scheme, the repeater that can be connected in internet-of-things terminal finds other repeaters when there are abnormal conditions to carry out data transmission, and ensures being normally carried out for transmission.

Description

A kind of terminal route selection method and internet-of-things terminal based on Internet of Things
Technical field
The present invention relates to internet of things field, more particularly to a kind of terminal route selection method and thing based on Internet of Things Networked terminals.
Background technology
Technology of Internet of things is the important component of generation information technology, and the important development rank of information age Section, Internet of Things are to realize that the information between article and article exchanges and communicated on the basis of internet.Internet of Things passes through intelligence Perceive, the cognition technology that communicates such as identification technology and general fit calculation, various fields are applied to, such as intelligent transportation, safety home, intelligence Can illuminate etc..
In order that data transfer obtains farther, often using repeater signal regeneration and signals revivification are carried out in Internet of Things, Multiple internet-of-things terminals can be connected under a usual repeater, these internet-of-things terminals are by this repeater by the number of itself According to being transmitted from one network to another network.But when abnormal conditions (such as repeater occurs in the repeater of internet-of-things terminal connection Damage, load capacity are too high) when, then it can cause transmission delay or interruption, these internet-of-things terminals then can not be successfully by data transfer Go out.
The content of the invention
The present invention provides a kind of terminal route selection method and internet-of-things terminal based on Internet of Things, can be in internet-of-things terminal The repeater of connection, which occurs finding other repeaters during abnormal conditions, to carry out data transmission, and ensures being normally carried out for transmission.
First aspect of the embodiment of the present invention provides a kind of terminal route selection method based on Internet of Things, methods described bag Include:
The bandwidth of current first data waiting for transmission is determined when abnormal conditions occurs in the first repeater currently connected to be needed Ask;
Obtain data transmission state condition corresponding to the bandwidth demand of first data;
Determine to meet first number in the multiple backup relays devices for the repeater that backups each other with first repeater According to bandwidth demand corresponding to data transmission state condition the second repeater;
Route connection is established with second repeater, passes through the first data described in second repeater transmission.
It is described to be established with second repeater in the first possible implementation of first aspect of the embodiment of the present invention Also include before route connection:Determine that the current idle bandwidth of second repeater needs more than the bandwidth of first data Ask.
Wherein, the second repeater current free time is obtained from the data transmission status information of second repeater Bandwidth.
In second of possible implementation of first aspect of the embodiment of the present invention, data corresponding to the bandwidth demand pass Defeated status condition includes occupied bandwidth numerical intervals corresponding to the bandwidth demand.
Wherein, the bandwidth demand is bigger, occupied bandwidth corresponding to the occupied bandwidth numerical intervals corresponding to it Numerical value is smaller, different occupied bandwidth numerical intervals non-overlapping copies.
For example, the bandwidth demand corresponds to two predetermined levels respectively, the first predetermined level is that bandwidth demand is more than first Predetermined threshold value, the second predetermined level are less than the first predetermined threshold value, when the bandwidth demand is in the first predetermined level, the number Be that current occupied bandwidth numerical value is less than the second predetermined threshold value according to state transfer condition, i.e., it is occupied corresponding to described bandwidth demand It is [0, the second predetermined threshold value] with bandwidth numerical intervals;When the bandwidth demand is in the second predetermined level, the data pass Defeated status condition is that current occupied bandwidth numerical value is less than the 3rd predetermined threshold value more than the second predetermined threshold value, i.e., described bandwidth needs Occupied bandwidth numerical intervals corresponding to asking are [the second predetermined threshold value, the 3rd predetermined threshold value].
In the third possible implementation of first aspect of the embodiment of the present invention, data corresponding to the bandwidth demand pass Defeated condition includes the numerical intervals of the terminal quantity of connection corresponding to the bandwidth demand.
Wherein described bandwidth demand is bigger, is connected corresponding to the numerical intervals of the quantity of the terminal of the connection corresponding to it Terminal quantity numerical value it is smaller, the numerical intervals non-overlapping copies of the terminal quantity of different connection.
For example, the bandwidth demand corresponds to two predetermined levels respectively, the first predetermined level is that bandwidth demand is more than first Predetermined threshold value, the second predetermined level are less than the first predetermined threshold value, when the bandwidth demand is in the first predetermined level, the number Be that the terminal quantity currently connected is less than the 4th predetermined threshold value according to transmission state condition, i.e., connection corresponding to described bandwidth demand The numerical intervals of terminal quantity are [0, the 4th predetermined threshold value];When the bandwidth demand is in the second predetermined level, the number It is that the terminal quantity currently connected is less than the 5th predetermined threshold value, i.e., described bandwidth more than the 4th predetermined threshold value according to transmission state condition The numerical intervals of the terminal quantity of connection are [the 4th predetermined threshold value, the 5th predetermined threshold value] corresponding to demand.
In the 4th kind of possible implementation of first aspect of the embodiment of the present invention, data corresponding to the bandwidth demand pass Defeated status condition includes idle bandwidth numerical intervals corresponding to the bandwidth demand.
Wherein described bandwidth demand is bigger, and idle bandwidth numerical value corresponding to the idle bandwidth numerical intervals corresponding to it is got over Greatly, different idle bandwidth numerical intervals non-overlapping copies.
For example, the bandwidth demand grade corresponds to two predetermined levels respectively, the first predetermined level is more than for bandwidth demand First predetermined threshold value, second predetermined level are less than the first predetermined threshold value, when the bandwidth demand is in the first predetermined level When, the data transmission state condition is that current idle bandwidth numerical value is more than the 6th predetermined threshold value and is less than the 7th predetermined threshold value, Idle bandwidth numerical intervals corresponding to i.e. described bandwidth demand are [the 6th predetermined threshold value, the 7th predetermined threshold value];When the bandwidth When demand is in the second predetermined level, the data transmission state condition is that current bandwidth numerical value is less than the 6th predetermined threshold value, i.e., Idle bandwidth numerical intervals corresponding to the bandwidth demand are [0, the 6th predetermined threshold value].
With reference to second of first aspect of the embodiment of the present invention or first aspect of the embodiment of the present invention may implementation or The 4th kind of the third possible implementation or the embodiment of the present invention first aspect of first aspect of the embodiment of the present invention may be real Existing mode, the demand levels correspond to multiple predetermined levels respectively, and the multiple predetermined level is with the transmission state condition One-to-one relationship.
In a further embodiment, data transmission state condition corresponding to the bandwidth demand is with reference to the embodiment of the present invention Second of first aspect may implementation, the third possible implementation or the present invention of first aspect of the embodiment of the present invention The data transmission state condition of 4th kind of possible implementation of embodiment first aspect, i.e., described data transmission state condition are The numerical intervals of occupied bandwidth, the numerical intervals or idle bandwidth numerical value of the terminal quantity connected corresponding to the bandwidth demand The combination of one or more of section transmission state condition.
In the 5th kind of possible implementation of first aspect of the embodiment of the present invention, it is described with first repeater Backup each other and determine in multiple backup relays devices of repeater to meet transmission state corresponding to the bandwidth demand of first data Also include before second repeater of condition:
Obtain the data transmission status information of the multiple backup relays device.
In the 6th kind of possible implementation of first aspect of the embodiment of the present invention, acquisition first repeater The data transmission status information of multiple backup relays devices includes:
In the Internet of Things where first repeater initiate broadcast connection request and receive in the Internet of Things with First repeater backups each other the response message that multiple backup relays devices of repeater are sent, and the response message includes institute State the data transmission status information of multiple backup relays devices.
In a preferred embodiment, the information and the first data of first repeater are carried in the broadcast connection request Data amount information, to find the backup relays device for the first repeater for being more suitable for the first data transmission.
In an alternative embodiment, by Bluetooth technology, infrared technique, Wifi technologies or ZigBee technology in described first Connection request is broadcasted after initiation in the Internet of Things where device and receives the response message of the multiple backup relays device transmission.
In one embodiment, internet-of-things terminal is managed by first repeater to the upper strata of first repeater Manage equipment and send connection request message, the tension management equipment is received after the connection request message from the management table of itself It is middle inquiry with first repeater backup each other relation multiple backup relays devices and to the multiple backup relays device distinguish The connection request message is forwarded, the multiple backup relays device receives the connection request message, and the Internet of Things is whole backward End sends response message, and the data transmission status information of the backup relays device is carried in the response message.
The tension management equipment of wherein the first repeater can be the tool such as AP (Access Point, access point), router The equipment of standby routing function.
In the specific embodiment by taking Wifi technologies as an example, internet-of-things terminal initiates Probe in the Internet of Things Request (detecting request) frame, the identification information of first repeater is carried in the Probe Request frames, is received The identification information of first repeater described in multiple repeater interrogations of the Probe Request frames whether there is in the standby of itself In part repeater information table, the object relay of the identification information of first repeater in the backup relays device information table be present Device sends response message to the internet-of-things terminal, and the data transmission state of the target repeater is carried in the response message Information.
In another alternative embodiment, the internet-of-things terminal do not initiate broadcast connection request in the case of receive described in In Internet of Things with the repeater backup each other repeater multiple backup relays devices send response message, it is now described more Individual backup relays device sends response message and sent by the tension management equipment control of multiple backup relays devices in the Internet of Things, When tension management equipment detects that abnormal conditions occurs in first repeater, search in current range of management with described One repeater backup each other repeater multiple backup relays devices and notify the backup relays device under first repeater Terminal send response message, the data transmission status information of the multiple backup relays device is carried in the response message.
Wherein, the communication mode between the tension management equipment and the multiple repeater can be wirelessly or non-wirelessly Communication mode.
In one embodiment, the tension management equipment is an AP, AP regularly obtain the first repeater and with institute The first repeater is stated to backup each other repeater and by the information of the AP multiple backup relays devices managed, when AP detect it is described When abnormal conditions occurs in first repeater, then obtained from first repeater and annexation be present with first repeater Internet-of-things terminal information, to first repeater backup each other repeater multiple backup relays devices send respectively it is logical Know information, the information of the internet-of-things terminal is carried in the announcement information, the multiple backup relays device is respectively to the thing Networked terminals send information, and the data transmission status information of the multiple backup relays device is carried in described information.
In one embodiment, the framework of Internet of Things can be so that as shown in figure 1, in Fig. 1, AP be connected with gateway, repeater It is connected with AP, internet-of-things terminal can be connected directly between on AP, can also be connected on the repeater, wherein, it is connected to same AP Under repeater backup each other repeater.
In the 7th kind of possible implementation of first aspect of the embodiment of the present invention, acquisition first repeater The data transmission status information of multiple backup relays devices includes:
The multiple backup relays devices for the repeater that backuped each other with first repeater are obtained from first repeater Data transmission status information.
In one embodiment, first repeater periodically and with first repeater backups each other repeater Multiple backup relays devices carry out information exchange, and the data transmission state for being stored in the backup relays device that row information interacts to obtain is believed Breath, when abnormal conditions occurs in the first repeater, internet-of-things terminal obtains and the described first relaying from first repeater Device backup each other repeater multiple backup relays devices data transmission status information.
In another specific embodiment, the first repeater obtains with first repeater each other from tension management equipment The data transmission status information of multiple backup relays devices of backup relays device obtains for internet-of-things terminal, wherein the first repeater Tension management equipment in preserve the first repeater and the multiple backup relays devices for the repeater that backuped each other with the first repeater Data transmission status information.
In an alternative embodiment, store the first relaying in the first repeater or in the tension management equipment of the first repeater Backup relation between device and multiple backup relays devices of first repeater.
In an alternative embodiment, by Bluetooth technology, infrared technique, Wifi technologies or ZigBee technology from described first After in device obtain with first repeater backup each other repeater multiple backup relays devices data transmission status information.
Second aspect of the embodiment of the present invention provides a kind of internet-of-things terminal, and the internet-of-things terminal includes:
Bandwidth for transmission demand determining module, determine during for abnormal conditions occur in the first repeater currently connected current The bandwidth demand of first data waiting for transmission;
Data transmission state condition acquisition module, for obtaining data transfer corresponding to the bandwidth demand of first data Status condition;
Repeater determining module, in the multiple backup relays devices for backuping each other repeater with first repeater It is determined that meet the second repeater of data transmission state condition corresponding to the bandwidth demand of first data;
Connection establishment module is route, route connection is established with second repeater, passes through second repeater transmission First data.
In the first possible implementation of second aspect of the embodiment of the present invention, the internet-of-things terminal also includes:
Idle bandwidth determining module, for determining that the current idle bandwidth of second repeater is more than first data Bandwidth demand.
Wherein, idle bandwidth determining module obtains described second from the data transmission status information of second repeater The current idle bandwidth of repeater.
In second of possible implementation of second aspect of the embodiment of the present invention, data corresponding to the bandwidth demand pass Defeated status condition includes occupied bandwidth numerical intervals corresponding to the bandwidth demand.
Wherein, the bandwidth demand is bigger, occupied bandwidth corresponding to the occupied bandwidth numerical intervals corresponding to it Numerical value is smaller, different occupied bandwidth numerical intervals non-overlapping copies.
For example, the first predetermined level, which is bandwidth demand, is more than the first predetermined threshold value, it is default that the second predetermined level is less than first Threshold value, when the bandwidth demand is in the first predetermined level, the data mode transmission conditions are current occupied bandwidth Numerical value is less than the second predetermined threshold value, i.e., occupied bandwidth numerical intervals corresponding to described bandwidth demand are [0, second presets threshold Value];When the bandwidth demand is in the second predetermined level, the data transmission state condition is current occupied bandwidth number Value is less than the 3rd predetermined threshold value more than the second predetermined threshold value.
In the third possible implementation of second aspect of the embodiment of the present invention, data corresponding to the bandwidth demand pass Defeated condition includes the numerical intervals of the terminal quantity of connection corresponding to the bandwidth demand, i.e., occupied corresponding to described bandwidth demand It is [the second predetermined threshold value, the 3rd predetermined threshold value] with bandwidth numerical intervals.
In second of possible implementation of second aspect of the embodiment of the present invention, data corresponding to the bandwidth demand pass Defeated condition includes the numerical intervals of the terminal quantity of connection corresponding to the bandwidth demand.
Wherein described bandwidth demand is bigger, is connected corresponding to the numerical intervals of the quantity of the terminal of the connection corresponding to it Terminal quantity numerical value it is smaller, the numerical intervals non-overlapping copies of the terminal quantity of different connection.
For example, the bandwidth demand corresponds to two predetermined levels respectively, the first predetermined level is that bandwidth demand is more than first Predetermined threshold value, the second predetermined level are less than the first predetermined threshold value, when the bandwidth demand is in the first predetermined level, the number Be that the terminal quantity currently connected is less than the 4th predetermined threshold value according to transmission state condition, i.e., connection corresponding to described bandwidth demand The numerical intervals of terminal quantity are [0, the 4th predetermined threshold value];When the bandwidth demand is in the second predetermined level, the number It is that the terminal quantity currently connected is less than the 5th predetermined threshold value, i.e., described bandwidth more than the 4th predetermined threshold value according to transmission state condition The numerical intervals of the terminal quantity of connection are [the 4th predetermined threshold value, the 5th predetermined threshold value] corresponding to demand.
In the 4th kind of possible implementation of second aspect of the embodiment of the present invention, data corresponding to the bandwidth demand pass Defeated status condition includes idle bandwidth numerical intervals corresponding to the bandwidth demand.
Wherein described bandwidth demand is bigger, and idle bandwidth numerical value corresponding to the idle bandwidth numerical intervals corresponding to it is got over Greatly, different idle bandwidth numerical intervals non-overlapping copies.
For example, the bandwidth demand grade corresponds to two predetermined levels, the first predetermined level respectively in an alternative embodiment It is more than the first predetermined threshold value for bandwidth demand, second predetermined level is less than the first predetermined threshold value, at the bandwidth demand When the first predetermined level, the data transmission state condition is that current idle bandwidth numerical value is more than the 6th predetermined threshold value and is less than 7th predetermined threshold value, i.e., idle bandwidth numerical intervals corresponding to described bandwidth demand are [the 6th predetermined threshold value, the 7th default threshold Value];When the bandwidth demand is in the second predetermined level, the data transmission state condition is that current bandwidth numerical value is less than the Six predetermined threshold values, i.e., idle bandwidth numerical intervals corresponding to described bandwidth demand are [0, the 6th predetermined threshold value].
With reference to second of second aspect of the embodiment of the present invention or second aspect of the embodiment of the present invention may implementation or The 4th kind of the third possible implementation or the embodiment of the present invention second aspect of second aspect of the embodiment of the present invention may be real Existing mode, the demand levels correspond to multiple predetermined levels respectively, and the multiple predetermined level is with the transmission state condition One-to-one relationship.
In a further embodiment, data transmission state condition corresponding to the bandwidth demand is with reference to the embodiment of the present invention Second of second aspect may implementation, the third possible implementation or the present invention of second aspect of the embodiment of the present invention The data transmission state condition of 4th kind of possible implementation of embodiment second aspect, i.e., described data transmission state condition are The numerical intervals of occupied bandwidth, the numerical intervals or idle bandwidth numerical value of the terminal quantity connected corresponding to the bandwidth demand The combination of one or more of section transmission state condition.
In the 5th kind of possible implementation of second aspect of the embodiment of the present invention, the internet-of-things terminal also includes:
Data transmission status information acquisition module, the data transmission state for obtaining the multiple backup relays device are believed Breath.
In the 6th kind of possible implementation of second aspect of the embodiment of the present invention, the data transmission status information obtains Module is specifically used for:
In the Internet of Things where first repeater initiate broadcast connection request and receive in the Internet of Things with The repeater backup each other repeater multiple backup relays devices send response message, the response message include it is described more The data transmission status information of individual backup relays device.
In a preferred embodiment, the information and described first of first repeater is carried in the broadcast connection request The data amount information of data, to find the backup relays device for the first repeater for being more suitable for the first data transmission.
In an alternative embodiment, data transmission status information acquisition module passes through Bluetooth technology, infrared technique, Wifi technologies Or ZigBee technology is initiated to broadcast connection request in the Internet of Things where first repeater and receives the multiple backup The response message that repeater is sent.
In one embodiment, internet-of-things terminal is managed by first repeater to the upper strata of first repeater Manage equipment and send connection request message, the tension management equipment is received after the connection request message from the management table of itself It is middle inquiry with first repeater backup each other relation multiple backup relays devices and to the multiple backup relays device distinguish The connection request message is forwarded, the multiple backup relays device receives the connection request message, and the Internet of Things is whole backward End sends response message, and the data transmission status information of the backup relays device is carried in the response message.
The tension management equipment of wherein the first repeater can be the tool such as AP (Access Point, access point), router The equipment of standby routing function.
In the specific embodiment by taking Wifi technologies as an example, internet-of-things terminal initiates Probe in the Internet of Things Request (detecting request) frame, the identification information of first repeater is carried in the Probe Request frames, is received The identification information of first repeater described in multiple repeater interrogations of the Probe Request frames whether there is in the standby of itself In part repeater information table, the object relay of the identification information of first repeater in the backup relays device information table be present Device sends response message to the internet-of-things terminal, and the data transmission state of the target repeater is carried in the response message Information.
In another alternative embodiment, data transmission status information acquisition module is not initiating the situation of broadcast connection request It is lower to receive being backuped each other the response message that multiple backup relays devices of repeater send with the repeater in the Internet of Things, Now the multiple backup relays device sends response message and set by the tension management of multiple backup relays devices in the Internet of Things Standby control is sent, and when tension management equipment detects that abnormal conditions occurs in first repeater, searches for current range of management Multiple backup relays devices of the interior repeater that backups each other with first repeater simultaneously notify the backup relays device to described Terminal under first repeater sends response message, and the data transfer of the multiple backup relays device is carried in the response message Status information.
In one embodiment, the tension management equipment is an AP, AP regularly obtain the first repeater and with institute The first repeater is stated to backup each other repeater and by the information of the AP multiple backup relays devices managed, when AP detect it is described When abnormal conditions occurs in first repeater, then obtained from first repeater and annexation be present with first repeater Internet-of-things terminal information, to first repeater backup each other repeater multiple backup relays devices send respectively it is logical Know information, the information of the internet-of-things terminal is carried in the announcement information, the multiple backup relays device is respectively to the thing Networked terminals send information, and the data transmission status information of the backup relays device is carried in described information.
Wherein, the communication mode between the tension management equipment and the multiple repeater can be wirelessly or non-wirelessly Communication mode.
In the 7th kind of possible implementation of second aspect of the embodiment of the present invention, data transmission status information acquisition module It is specifically used for:
The multiple backup relays devices for the repeater that backuped each other with first repeater are obtained from first repeater Data transmission status information.
In one embodiment, first repeater periodically and with first repeater backups each other repeater Multiple backup relays devices carry out information exchange, and the data transmission state for being stored in the backup relays device that row information interacts to obtain is believed Breath, when abnormal conditions occurs in the first repeater, internet-of-things terminal obtains and the described first relaying from first repeater Device backup each other repeater multiple backup relays devices data transmission status information.
In another specific embodiment, the first repeater obtains with first repeater each other from tension management equipment The data transmission status information of multiple backup relays devices of backup relays device obtains for internet-of-things terminal, wherein the first repeater Tension management equipment in preserve the first repeater and the multiple backup relays devices for the repeater that backuped each other with the first repeater Data transmission status information.
In an alternative embodiment, store the first relaying in the first repeater or in the tension management equipment of the first repeater Backup relation between device and multiple backup relays devices of first repeater.
In an alternative embodiment, data transmission status information acquisition module passes through Bluetooth technology, infrared technique, Wifi technologies Or ZigBee technology is obtained from first repeater in the multiple backups for backuping each other repeater with first repeater After the data transmission status information of device.
The embodiment of the present invention obtains the multiple of the first repeater when abnormal conditions occurs in the first repeater currently connected The data transmission status information of backup relays device, bandwidth need are met according to the selection of the bandwidth demand of itself the first data waiting for transmission Second repeater of data transmission state condition corresponding to asking simultaneously establishes route annexation therewith, ensures data to be transmitted just Often transmission.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, it will use below required in embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for ability For the those of ordinary skill of domain, on the premise of not paying creative work, it can also be obtained according to these accompanying drawings other attached Figure.
Fig. 1 is a kind of network architecture of Internet of things figure in the embodiment of the present invention;
Fig. 2 is a kind of schematic flow sheet of terminal route selection method based on Internet of Things in the embodiment of the present invention;
Fig. 3-a are that internet-of-things terminal is obtained by way of broadcasting connection request and backuped each other repeater with the first repeater Multiple backup relays devices transmission state information schematic diagram;
Fig. 3-b are that internet-of-things terminal is obtained from the first repeater and backuped each other the multiple standby of repeater with the first repeater The schematic diagram of the transmission state information of part repeater;
Fig. 3-c are multiple backup relays devices transmissions that internet-of-things terminal receives the repeater that backuped each other with the first repeater The schematic diagram of the transmission state information of the multiple backup relays device of acquisition of information;
Fig. 4 is that internet-of-things terminal determines that the connection of the second repeater is shown according to the data transmission status information of backup relays device It is intended to;
Fig. 5 is the schematic flow sheet of another terminal route selection method based on Internet of Things in the embodiment of the present invention;
Fig. 6 is a kind of composition structural representation of internet-of-things terminal in the embodiment of the present invention;
Fig. 7 is a kind of hardware composition structural representation of internet-of-things terminal in the embodiment of the present invention.
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 describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.Based on this Embodiment in invention, the every other reality that those of ordinary skill in the art are obtained under the premise of creative work is not made Example is applied, belongs to the scope of protection of the invention.
Term " first ", " second ", " the 3rd " in description and claims of this specification and above-mentioned accompanying drawing etc. are For distinguishing different objects, rather than for describing particular order.In addition, term " comprising " and " having " and their any changes Shape, it is intended that cover non-exclusive include.Such as contain the process of series of steps or unit, method, system, product or The step of equipment is not limited to list or unit, but alternatively also include the step of not listing or unit, or it is optional Ground is also included for other intrinsic steps of these processes, method, product or equipment or unit.
Referring first to Fig. 2, Fig. 2 is a kind of stream of terminal route selection method based on Internet of Things in the embodiment of the present invention Journey schematic diagram, methods described can be realized in the thing for possessing certain communication capacity including mobile phone, intelligent watch, wearable device etc. On networked terminals, methods described comprises at least as shown in the figure:
S101, the band for determining when abnormal conditions occurs in the first repeater currently connected current first data waiting for transmission Wide demand.
Wherein, the abnormal conditions can include first repeater damage, the first repeater present load amount Cross high abnormal conditions.
S102, obtain data transmission state condition corresponding to the bandwidth demand of first data.
Optionally, data transmission state condition corresponding to the bandwidth demand can be occupied corresponding to the bandwidth demand With bandwidth numerical intervals, wherein, the bandwidth demand is bigger, occupied corresponding to described occupied bandwidth numerical intervals corresponding to it Occupied bandwidth numerical intervals non-overlapping copies smaller with bandwidth numerical value, different.
Specifically, the bandwidth demand can correspond to two predetermined levels, the first predetermined level is that bandwidth demand is more than the One predetermined threshold value, the second predetermined level are less than the first predetermined threshold value, described when the bandwidth demand is in the first predetermined level Data mode transmission conditions are that current occupied bandwidth numerical value is less than the second predetermined threshold value, i.e., quilt corresponding to described bandwidth demand Occupied bandwidth numerical intervals are [0, the second predetermined threshold value];When the bandwidth demand is in the second predetermined level, the data Transmission state condition is that current occupied bandwidth numerical value is less than the 3rd predetermined threshold value, i.e., described bandwidth more than the second predetermined threshold value Occupied bandwidth numerical intervals corresponding to demand are [the second predetermined threshold value, the 3rd predetermined threshold value].
Optionally, data transmission conditions corresponding to the bandwidth demand can be the end of connection corresponding to the bandwidth demand The numerical intervals of quantity are held, wherein the bandwidth demand is bigger, the numerical intervals of the quantity of the terminal of the connection corresponding to it The quantity numerical value of the terminal of corresponding connection is smaller, the numerical intervals non-overlapping copies of the terminal quantity of different connections.
Specifically, the bandwidth demand can correspond to two predetermined levels respectively, the first predetermined level is that bandwidth demand is big In the first predetermined threshold value, the second predetermined level is less than the first predetermined threshold value, when the bandwidth demand is in the first predetermined level, The data transmission state condition is that the terminal quantity that currently connects is less than the 4th predetermined threshold value, i.e., corresponding to described bandwidth demand The numerical intervals of the terminal quantity of connection are [0, the 4th predetermined threshold value];When the bandwidth demand is in the second predetermined level, The data transmission state condition is that the terminal quantity currently connected is less than the 5th predetermined threshold value, i.e. institute more than the 4th predetermined threshold value The numerical intervals for stating the terminal quantity of connection corresponding to bandwidth demand are [the 4th predetermined threshold value, the 5th predetermined threshold value].
Optionally, data transmission state condition corresponding to the bandwidth demand can be idle corresponding to the bandwidth demand Bandwidth numerical intervals, wherein the bandwidth demand is bigger, idle bandwidth corresponding to the idle bandwidth numerical intervals corresponding to it Numerical value is bigger, different idle bandwidth numerical intervals non-overlapping copies.
Specifically, the bandwidth demand grade can correspond to two predetermined levels respectively, the first predetermined level needs for bandwidth Ask and be more than the first predetermined threshold value, second predetermined level is less than the first predetermined threshold value, when the bandwidth demand is pre- in first If during grade, the data transmission state condition is that current idle bandwidth numerical value is more than the 6th predetermined threshold value and preset less than the 7th Threshold value, i.e., idle bandwidth numerical intervals corresponding to described bandwidth demand are [the 6th predetermined threshold value, the 7th predetermined threshold value];When described When bandwidth demand is in the second predetermined level, the data transmission state condition is that current bandwidth numerical value is less than the 6th default threshold Value, i.e., idle bandwidth numerical intervals corresponding to described bandwidth demand are [0, the 6th predetermined threshold value].
Wherein, the first predetermined threshold value, the second predetermined threshold value, the 3rd predetermined threshold value, the 4th predetermined threshold value, the 5th default threshold Value, the 6th predetermined threshold value, the 7th predetermined threshold value are set according to the specific bandwidth situation and behavior pattern of repeater.
Optionally, the bandwidth demand can be with two predetermined levels in unlimited such scheme, and the bandwidth demand can be with Correspond to multiple predetermined levels respectively, the respective corresponding transmission conditions of each predetermined level, can according to the demand of reality and The concrete condition of the repeater of Internet of Things network is set, and is no longer discussed one by one herein.
Further in the specific implementation, it can be the band that the bandwidth demand, which corresponds to the data transmission state condition, In the numerical intervals or idle bandwidth numerical intervals of the numerical intervals of occupied bandwidth, the terminal quantity connected corresponding to wide demand One or more transmission state conditions combination.
S103, determine in the multiple backup relays devices for the repeater that backups each other with first repeater to meet described the Second repeater of data transmission state condition corresponding to the bandwidth demand of one data.
Optionally, the data transmission state letter of the multiple backup relays device can also be obtained before step S103 is performed Breath.
Optionally, transmission state information can include the backup relays device currently occupied bandwidth numerical value, described standby Terminal quantity that part repeater currently connects, the bandwidth numerical value of the backup relays device current idle, the backup relays device The information such as device identification.
Optionally, obtaining the data transmission status information of multiple backup relays devices of first repeater can include:
Broadcast connection request is initiated in the Internet of Things where first repeater;
Receive multiple backup relays devices transmission of the repeater that backuped each other with first repeater in the Internet of Things Response message, the response message includes the data transmission status information of the multiple backup relays device.
Optionally, can be by Bluetooth technology, infrared technique, Wifi technologies or ZigBee technology in first repeater Broadcast connection request is initiated in the Internet of Things at place and receives the response message that the multiple backup relays device is sent.
By taking Wifi technologies as an example, in the specific implementation, internet-of-things terminal initiates Probe Request in the Internet of Things (detecting request) frame, the identification information of first repeater is carried in the Probe Request frames, received described The identification information of first repeater described in multiple repeater interrogations of Probe Request frames whether there is in the backup of itself After the identification information that first repeater in the backup relays device information table in device information table, be present target repeater to The internet-of-things terminal sends response message, and the data transmission state letter of the target repeater is carried in the response message Breath.
Specifically, as shown in Fig. 3-a, Fig. 3-a are that internet-of-things terminal is obtained and first by way of broadcasting connection request Repeater backup each other repeater multiple backup relays devices transmission state information schematic diagram.In Fig. 3-b, with the first relaying What device backuped each other repeater has repeater A, repeater B, repeater C, repeater D, when abnormal conditions occurs in the first repeater When internet-of-things terminal then respectively to repeater A, repeater B, repeater C, repeater D initiate connection request, repeater A, relaying After device B, repeater C, repeater D receive the connection request, then the response for carrying repeater transmission status information is believed Breath is sent to internet-of-things terminal, and internet-of-things terminal gets the respective transmission shape of repeater A, B, C, D from the response message State information.
Optionally, the data of multiple backup relays devices of first repeater can be obtained from first repeater Transmission state information.
Specifically, as shown in Fig. 3-b, it is mutual with the first repeater that Fig. 3-b are that internet-of-things terminal obtains from the first repeater For the schematic diagram of the transmission state information of multiple backup relays devices of backup relays device.In Fig. 3-b, the first repeater occurs abnormal Then their transmission state is obtained during situation to backup each other backup relays device A, B, C, D of repeater of the first repeater respectively Information, internet-of-things terminal then get repeater A, B, C, D transmission state information from the first repeater.
It is another in the specific implementation, the first repeater can be obtained from the tension management equipment of first repeater with First repeater backup each other repeater multiple backup relays devices data transmission status information so that Internet of Things is whole End can get the transmission state information of the multiple backup relays device.
Optionally, the data transmission status information of the multiple backup relays devices for obtaining first repeater can wrap Include:
Receive first repeater tension management equipment notify in Internet of Things where first repeater with institute State the first repeater to backup each other the response message that the backup relays device of repeater is sent, carry in the response message described standby The transmission state information of part repeater.
Specifically, as shown in Fig. 3-c, Fig. 3-c are that internet-of-things terminal is received and backuped each other repeater with the first repeater The schematic diagram of the transmission state information of the multiple backup relays device is obtained in the information that multiple backup relays devices are sent.Fig. 3-c In, there are A, B, C, D with the backup each other backup relays device of repeater of the first repeater, when the tension management equipment of the first repeater Detect and then notify backup relays device A, B, C, D is sent to internet-of-things terminal to carry itself when abnormal conditions occurs in the first repeater The information of transmission state information is to internet-of-things terminal.
Specifically, as shown in figure 4, Fig. 4 is internet-of-things terminal is determined according to the data transmission status information of backup relays device The connection diagram of second repeater.In Fig. 4, it is assumed that data transmission state condition is occupied bandwidth numerical intervals, and first is pre- If threshold value is 2M, the second predetermined threshold value is 5M, and the 3rd predetermined threshold value is 8M, and terminal has currently got the standby of the first repeater Part repeater A, B, C, D transmission state information, it is assumed that the bandwidth demand of current first data waiting for transmission of internet-of-things terminal is The current quilt of 1M, the A current a width of 4M of occupied band, the B current a width of 3M of occupied band, the C current a width of 6M of occupied band, D The band a width of 10M, C of occupancy are the second repeater for meeting transmission state condition.
S104, route connection is established with second repeater, pass through the first data described in second repeater transmission.
Optionally, Bluetooth technology, infrared technique, Wifi technologies or ZigBee technology and second repeater can be passed through Road connection is established, can specifically be determined according to the interconnection technique used in current Internet of Things.
Optionally, also include before route connection being established with second repeater:
Determine that the current idle bandwidth of second repeater is more than the bandwidth demand of first data.
Optionally, second repeater can be obtained from the data transmission status information of second repeater current Idle bandwidth.
The embodiment of the present invention obtains the multiple of the first repeater when abnormal conditions occurs in the first repeater currently connected The data transmission status information of backup relays device, bandwidth need are met according to the selection of the bandwidth demand of itself the first data waiting for transmission Second repeater of data transmission state condition corresponding to asking simultaneously establishes route annexation therewith, ensures data to be transmitted just Often transmission.
Further, Fig. 5 is referred to, Fig. 5 is another terminal route choosing based on Internet of Things in the embodiment of the present invention The schematic flow sheet of selection method, methods described can be realized is possessing certain lead to including mobile phone, intelligent watch, wearable device etc. On the internet-of-things terminal of letter ability, methods described comprises at least as shown in the figure:
S201, the band for determining when abnormal conditions occurs in the first repeater currently connected current first data waiting for transmission Wide demand.
Wherein, the abnormal conditions can include first repeater damage, the first repeater present load amount Cross high abnormal conditions.
S202, initiate broadcast connection request in the Internet of Things where first repeater and receive in the Internet of Things With first repeater backup each other repeater multiple backup relays devices send response message, the response message bag Include the data transmission status information of the multiple backup relays device.
Optionally, data transmission status information can include the backup relays device currently occupied bandwidth numerical value, institute State the terminal quantity, the bandwidth numerical value of the backup relays device current idle, the backup relays that backup relays device currently connects The information such as the device identification of device.
Optionally, can be by Bluetooth technology, infrared technique, Wifi technologies or ZigBee technology in first repeater Broadcast connection request is initiated in the Internet of Things at place.
By taking Wifi technologies as an example, in the specific implementation, internet-of-things terminal initiates Probe Request in the Internet of Things (detecting request) frame, the multiple backup relays devices for receiving Probe Request frames pass through Probe Response (response) frame Response message is sent to the internet-of-things terminal, the transmission state letter of the multiple backup relays device is carried in the response message Breath.
Specifically, as shown in Fig. 3-a, Fig. 3-a are that internet-of-things terminal is obtained and first by way of broadcasting connection request Repeater backup each other repeater multiple backup relays devices transmission state information schematic diagram.In Fig. 3-a, with the first relaying What device backuped each other repeater has repeater A, repeater B, repeater C, repeater D, when abnormal conditions occurs in the first repeater When internet-of-things terminal then respectively to repeater A, repeater B, repeater C, repeater D initiate connection request, repeater A, relaying After device B, repeater C, repeater D receive the connection request, then the response for carrying repeater transmission status information is believed Breath is sent to internet-of-things terminal, and internet-of-things terminal gets the respective transmission shape of repeater A, B, C, D from the response message State information.
S203, judge whether the bandwidth demand of first data is more than the first predetermined threshold value.
Optionally, the first predetermined threshold value can be the various bandwidth values such as 1M, 2M.
S204, when the bandwidth demand of first data is less than the first predetermined threshold value, from the multiple backup relays device It is middle to determine that current occupied band is wider than the terminal quantity that the second predetermined threshold value is less than the 3rd predetermined threshold value and currently connected and is more than The target backup relays device that 4th predetermined threshold value is less than the 5th predetermined threshold value is the second repeater.
Optionally, backup relays device can be obtained from the data transmission status information of the backup relays device got current Occupied bandwidth and the terminal quantity currently connected.
S205, when the bandwidth demand of first data is more than the first predetermined threshold value, from the multiple backup relays device It is default that the middle terminal quantity for determining that current occupied bandwidth is less than second predetermined threshold value and currently connected is less than the described 4th The target backup relays device of threshold value is the second repeater.
S206, route connection is established with second repeater, pass through the first data described in second repeater transmission.
Optionally, Bluetooth technology, infrared technique, Wifi technologies or ZigBee technology and second repeater can be passed through Road connection is established, can specifically be determined according to the interconnection technique used in current Internet of Things.
Optionally, also include before route connection being established with second repeater:
Determine that the current idle bandwidth of second repeater is more than the bandwidth demand of first data.
Optionally, it can obtain that to state the second repeater current from the data transmission status information of second repeater Idle bandwidth.
The embodiment of the present invention is when abnormal conditions occurs in the first repeater currently connected in the thing where the first repeater Broadcast connection request is initiated in networking and obtains the data transmission status information of multiple backup relays devices of the first repeater, is compared Itself bandwidth demand of the first data waiting for transmission and the size of the first predetermined threshold value, when the bandwidth demand of first data is small When the first predetermined threshold value, determine that current occupied band is wider than the second predetermined threshold value and is less than from the multiple backup relays device 3rd predetermined threshold value and the terminal quantity currently connected are more than the 4th predetermined threshold value and are less than in the target backup of the 5th predetermined threshold value It is the second repeater after device, route annexation is established with the second repeater, ensures the normal transmission of data to be transmitted, while root Suitable repeater is selected to cause the bandwidth resources of repeater to obtain an equitable breakdown and utilize according to the bandwidth demand of the first data.
Referring to Fig. 6, Fig. 6 is a kind of composition structural representation of internet-of-things terminal in the embodiment of the present invention, as shown in the figure The internet-of-things terminal comprises at least:
Bandwidth for transmission demand determining module 310, determine during for abnormal conditions occur in the first repeater currently connected The bandwidth demand of current first data waiting for transmission.
Wherein, the abnormal conditions can include first repeater damage, the first repeater present load amount Cross high abnormal conditions.
Data transmission state condition acquisition module 320, for obtaining data corresponding to the bandwidth demand of first data Transmission state condition.
Optionally, data transmission state condition corresponding to the bandwidth demand can be occupied corresponding to the bandwidth demand With bandwidth numerical intervals, wherein, the bandwidth demand is bigger, occupied corresponding to described occupied bandwidth numerical intervals corresponding to it Occupied bandwidth numerical intervals non-overlapping copies smaller with bandwidth numerical value, different.
Specifically, the bandwidth demand can correspond to two predetermined levels, the first predetermined level is that bandwidth demand is more than the One predetermined threshold value, the second predetermined level are less than the first predetermined threshold value, described when the bandwidth demand is in the first predetermined level Data mode transmission conditions are that current occupied bandwidth numerical value is less than the second predetermined threshold value, i.e., quilt corresponding to described bandwidth demand Occupied bandwidth numerical intervals are [0, the second predetermined threshold value];When the bandwidth demand is in the second predetermined level, the data Transmission state condition is that current occupied bandwidth numerical value is less than the 3rd predetermined threshold value, i.e., described bandwidth more than the second predetermined threshold value Occupied bandwidth numerical intervals corresponding to demand are [the second predetermined threshold value, the 3rd predetermined threshold value].
Optionally, data transmission conditions corresponding to the bandwidth demand can be the end of connection corresponding to the bandwidth demand The numerical intervals of quantity are held, wherein the bandwidth demand is bigger, the numerical intervals of the quantity of the terminal of the connection corresponding to it The quantity numerical value of the terminal of corresponding connection is smaller, the numerical intervals non-overlapping copies of the terminal quantity of different connections.
Specifically, the bandwidth demand can correspond to two predetermined levels respectively, the first predetermined level is that bandwidth demand is big In the first predetermined threshold value, the second predetermined level is less than the first predetermined threshold value, when the bandwidth demand is in the first predetermined level, The data transmission state condition is that the terminal quantity that currently connects is less than the 4th predetermined threshold value, i.e., corresponding to described bandwidth demand The numerical intervals of the terminal quantity of connection are [0, the 4th predetermined threshold value];When the bandwidth demand is in the second predetermined level, The data transmission state condition is that the terminal quantity currently connected is less than the 5th predetermined threshold value, i.e. institute more than the 4th predetermined threshold value The numerical intervals for stating the terminal quantity of connection corresponding to bandwidth demand are [the 4th predetermined threshold value, the 5th predetermined threshold value].
Optionally, data transmission state condition corresponding to the bandwidth demand can be idle corresponding to the bandwidth demand Bandwidth numerical intervals, wherein the bandwidth demand is bigger, idle bandwidth corresponding to the idle bandwidth numerical intervals corresponding to it Numerical value is bigger, different idle bandwidth numerical intervals non-overlapping copies.
Specifically, the bandwidth demand grade can correspond to two predetermined levels respectively, the first predetermined level needs for bandwidth Ask and be more than the first predetermined threshold value, second predetermined level is less than the first predetermined threshold value, when the bandwidth demand is pre- in first If during grade, the data transmission state condition is that current idle bandwidth numerical value is more than the 6th predetermined threshold value and preset less than the 7th Threshold value, i.e., idle bandwidth numerical intervals corresponding to described bandwidth demand are [the 6th predetermined threshold value, the 7th predetermined threshold value];When described When bandwidth demand is in the second predetermined level, the data transmission state condition is that current bandwidth numerical value is less than the 6th default threshold Value, i.e., idle bandwidth numerical intervals corresponding to described bandwidth demand are [0, the 6th predetermined threshold value].
Wherein, the first predetermined threshold value, the second predetermined threshold value, the 3rd predetermined threshold value, the 4th predetermined threshold value, the 5th default threshold Value, the 6th predetermined threshold value, the 7th predetermined threshold value are set according to the specific bandwidth situation and behavior pattern of repeater.
Optionally, the bandwidth demand can be with two predetermined levels in unlimited such scheme, and the bandwidth demand can be with Correspond to multiple predetermined levels respectively, the respective corresponding transmission conditions of each predetermined level can be in actual Internet of Things network Set after the concrete condition of device, no longer discussed one by one herein.
Further in the specific implementation, it can be the band that the bandwidth demand, which corresponds to the data transmission state condition, Numerical intervals of occupied bandwidth corresponding to wide demand, the numerical intervals of terminal quantity of connection, idle bandwidth numerical intervals The combination of one or more transmission state conditions.
Repeater determining module 330, for the data transmission status information according to the multiple backup relays device, described Determine to meet in second of data transmission state condition corresponding to the bandwidth demand of first data in multiple backup relays devices After device.
Specifically, as shown in figure 4, Fig. 4 is internet-of-things terminal is determined according to the data transmission status information of backup relays device The connection diagram of second repeater.In Fig. 4, it is assumed that data transmission state condition is occupied bandwidth numerical intervals, and first is pre- If threshold value is 2M, the second predetermined threshold value is 5M, and the 3rd predetermined threshold value is 8M, and terminal has currently got the standby of the first repeater Part repeater A, B, C, D transmission state information, it is assumed that the bandwidth demand of current first data waiting for transmission of internet-of-things terminal is The current quilt of 1M, the A current a width of 4M of occupied band, the B current a width of 3M of occupied band, the C current a width of 6M of occupied band, D The band a width of 10M, C of occupancy are the second repeater for meeting transmission state condition.
Connection establishment module 340 is route, route connection is established with second repeater, is passed by second repeater Defeated first data.
Optionally, route connection establishment module 340 can pass through Bluetooth technology, infrared technique, Wifi technologies or ZigBee Technology is established road with second repeater and is connected, and can specifically be determined according to the interconnection technique used in current Internet of Things.
Optionally, the internet-of-things terminal can also include data transmission status information acquisition module 350.
Optionally, transmission state information can include the backup relays device currently occupied bandwidth numerical value, described standby Terminal quantity that part repeater currently connects, the bandwidth numerical value of the backup relays device current idle, the backup relays device The information such as device identification.
Optionally, data transmission status information acquisition module 350 is specifically used for:
Broadcast connection request is initiated in the Internet of Things where first repeater;
Receive multiple backup relays devices transmission of the repeater that backuped each other with first repeater in the Internet of Things Response message, the response message includes the data transmission status information of the multiple backup relays device.
Optionally, can be by Bluetooth technology, infrared technique, Wifi technologies or ZigBee technology in first repeater Broadcast connection request is initiated in the Internet of Things at place and receives the response message that the multiple backup relays device is sent.
By taking Wifi technologies as an example, in the specific implementation, internet-of-things terminal initiates Probe Request in the Internet of Things (detecting request) frame, the identification information of first repeater is carried in the Probe Request frames, received described The identification information of first repeater described in multiple repeater interrogations of Probe Request frames whether there is in the backup of itself After the identification information that first repeater in the backup relays device information table in device information table, be present target repeater to The internet-of-things terminal sends response message, and the data transmission state letter of the target repeater is carried in the response message Breath.
Specifically, as shown in Fig. 3-a, Fig. 3-a are that internet-of-things terminal is obtained and first by way of broadcasting connection request Repeater backup each other repeater multiple backup relays devices transmission state information schematic diagram.In Fig. 3-a, with the first relaying What device backuped each other repeater has repeater A, repeater B, repeater C, repeater D, when abnormal conditions occurs in the first repeater When internet-of-things terminal then respectively to repeater A, repeater B, repeater C, repeater D initiate connection request, repeater A, relaying After device B, repeater C, repeater D receive the connection request, then the response for carrying repeater transmission status information is believed Breath is sent to internet-of-things terminal, and internet-of-things terminal gets the respective transmission shape of repeater A, B, C, D from the response message State information.
Optionally, data transmission status information acquisition module 350 can obtain described first from first repeater The data transmission status information of multiple backup relays devices of repeater.
Specifically, as shown in Fig. 3-b, it is mutual with the first repeater that Fig. 3-b are that internet-of-things terminal obtains from the first repeater For the schematic diagram of the transmission state information of multiple backup relays devices of backup relays device.In Fig. 3-b, the first repeater occurs abnormal Then their transmission state is obtained during situation to backup each other backup relays device A, B, C, D of repeater of the first repeater respectively Information, internet-of-things terminal then get repeater A, B, C, D transmission state information from the first repeater.
It is another in the specific implementation, the first repeater can be obtained from the tension management equipment of first repeater with First repeater backup each other repeater multiple backup relays devices data transmission status information so that Internet of Things is whole End can get the transmission state information of the multiple backup relays device.
Optionally, data transmission status information acquisition module 350 is specifically used for:
Receive first repeater tension management equipment notify in Internet of Things where first repeater with institute State the first repeater to backup each other the response message that the backup relays device of repeater is sent, carry in the response message described standby The transmission state information of part repeater.
Specifically, as shown in Fig. 3-c, Fig. 3-c are that internet-of-things terminal is received and backuped each other repeater with the first repeater The schematic diagram of the transmission state information of the multiple backup relays device is obtained in the information that multiple backup relays devices are sent.Fig. 3-c In, there are A, B, C, D with the backup each other backup relays device of repeater of the first repeater, when the tension management equipment of the first repeater Detect and then notify backup relays device A, B, C, D is sent to internet-of-things terminal to carry itself when abnormal conditions occurs in the first repeater The information of transmission state information is to internet-of-things terminal.
Optionally, the internet-of-things terminal can also include idle bandwidth determining module 360, for determining in described second It is more than the bandwidth demand of first data after the current idle bandwidth of device.
Optionally, idle bandwidth determining module 360 can obtain from the data transmission status information of second repeater Take the current idle bandwidth of second repeater.
The embodiment of the present invention obtains the multiple of the first repeater when abnormal conditions occurs in the first repeater currently connected The data transmission status information of backup relays device, bandwidth need are met according to the selection of the bandwidth demand of itself the first data waiting for transmission Second repeater of data transmission state condition corresponding to asking simultaneously establishes route annexation therewith, ensures data to be transmitted just Often transmission.
It is to be herein pointed out above-mentioned internet-of-things terminal is comprised at least for the database of data storage and for data The processor of processing, built-in storage medium or the storage medium being independently arranged can be included.
Wherein, for the processor for data processing, when performing processing, microprocessor, center can be used Processor (CPU, Central Processing Unit), digital signal processor (DSP, Digital SingnalProcessor) or programmable logic array (FPGA, Field-Programmable Gate Array) is realized;It is right For storage medium, comprising operational order, the operational order can be computer-executable code, pass through the operational order To realize in the terminal Route Selection flow based on Internet of Things of the embodiments of the present invention as described by with reference to Fig. 1 or Fig. 3 Each step.
Internet-of-things terminal is as shown in Figure 7 as an example of hardware entities.Described device includes processor 401, storage Medium 402 and at least one external communication interface 403;The processor 401, storage medium 402 and communication interface 403 are equal Connected by bus 404.
The processor 401 of internet-of-things terminal can call the operational order in storage medium 402 to perform below scheme:
The bandwidth of current first data waiting for transmission is determined when abnormal conditions occurs in the first repeater currently connected to be needed Ask;
Obtain data transmission state condition corresponding to the bandwidth demand of first data;
Determine to meet first number in the multiple backup relays devices for the repeater that backups each other with first repeater According to bandwidth demand corresponding to data transmission state condition the second repeater;
Route connection is established with second repeater, passes through the first data described in second repeater transmission.
It need to be noted that be:Above is referred to the description of internet-of-things terminal, is route with the terminal based on Internet of Things above The description of system of selection is similar, and the beneficial effect with method describes, and does not repeat.For in internet-of-things terminal embodiment not The ins and outs of disclosure, it refer to the description of the inventive method embodiment.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with The hardware of correlation is instructed to complete by computer program, described program can be stored in a computer read/write memory medium In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
Step in present invention method can be sequentially adjusted, merged and deleted according to actual needs.
Module in device of the embodiment of the present invention can be combined, divided and deleted according to actual needs.
Above disclosure is only preferred embodiment of present invention, can not limit the right model of the present invention with this certainly Enclose, therefore the equivalent variations made according to the claims in the present invention, still belong to the scope that the present invention is covered.

Claims (10)

1. a kind of terminal route selection method based on Internet of Things, it is characterised in that methods described includes:
The bandwidth demand of current first data waiting for transmission is determined when abnormal conditions occurs in the first repeater currently connected;
Obtain data transmission state condition corresponding to the bandwidth demand of first data;
Determine to meet first data in the multiple backup relays devices for the repeater that backups each other with first repeater Second repeater of data transmission state condition corresponding to bandwidth demand;
Route connection is established with second repeater, passes through the first data described in second repeater transmission.
2. the method as described in claim 1, it is characterised in that described to be established with second repeater before route connection also Including:
Determine that the current idle bandwidth of second repeater is more than the bandwidth demand of first data.
3. method as claimed in claim 2, it is characterised in that described to be backuped each other repeater with first repeater The second repeater for meeting transmission state condition corresponding to the bandwidth demand of first data is determined in multiple backup relays devices Also include before:
Obtain the data transmission status information of the multiple backup relays device.
4. method as claimed in claim 3, it is characterised in that the data transfer shape for obtaining the multiple backup relays device State information includes:
Connection request message, the connection are sent to the tension management equipment of first repeater by first repeater The information of first repeater and the data amount information of the first data are carried in request message;
Receive in the Internet of Things and receive institute with backup each other multiple backup relays devices of repeater of first repeater The response message sent after connection request message is stated, the response message includes the data transfer shape of the multiple backup relays device State information.
5. method as claimed in claim 4, it is characterised in that described to be backuped each other repeater with first repeater Determine to meet in second of data transmission state condition corresponding to the bandwidth demand of first data in multiple backup relays devices Include after device:
According to the data transmission status information of the multiple backup relays device, backuped each other repeater with first repeater Multiple backup relays devices in determine meet second of data transmission state condition corresponding to the bandwidth demand of first data Repeater;
Wherein, data transmission state condition includes corresponding to the bandwidth demand:
Occupied bandwidth numerical intervals corresponding to the bandwidth demand, wherein, the bandwidth demand is bigger, the quilt corresponding to it Occupied bandwidth numerical value is smaller corresponding to occupied bandwidth numerical intervals, different occupied bandwidth numerical intervals non-overlapping copies;Or Person
The numerical intervals of the terminal quantity of connection corresponding to the bandwidth demand, wherein the bandwidth demand is bigger, corresponding to it The quantity numerical value of the terminal of connection is smaller corresponding to the numerical intervals of the quantity of the terminal of the connection, the terminal of different connections The numerical intervals non-overlapping copies of quantity;Or
Idle bandwidth numerical intervals corresponding to the bandwidth demand, wherein the bandwidth demand is bigger, the free time corresponding to it Idle bandwidth numerical value is bigger corresponding to bandwidth numerical intervals, different idle bandwidth numerical intervals non-overlapping copies.
6. a kind of internet-of-things terminal, it is characterised in that the internet-of-things terminal includes:
Bandwidth for transmission demand determining module, determine during for abnormal conditions occur in the first repeater currently connected current to be passed The bandwidth demand of the first defeated data;
Data transmission state condition acquisition module, for obtaining data transmission state corresponding to the bandwidth demand of first data Condition;
Repeater determining module, for being determined in the multiple backup relays devices for backuping each other repeater with first repeater Meet the second repeater of data transmission state condition corresponding to the bandwidth demand of first data;
Connection establishment module is route, route connection is established with second repeater, by described in second repeater transmission First data.
7. internet-of-things terminal as claimed in claim 6, it is characterised in that characterized in that, the internet-of-things terminal also includes:
Idle bandwidth determining module, for determining that the current idle bandwidth of second repeater is more than the band of first data Wide demand.
8. internet-of-things terminal as claimed in claim 7, it is characterised in that the internet-of-things terminal also includes:
Data transmission status information acquisition module, for obtaining the data transmission status information of the multiple backup relays device.
9. internet-of-things terminal as claimed in claim 8, it is characterised in that the data transmission status information acquisition module is specific For:
Connection request message, the connection are sent to the tension management equipment of first repeater by first repeater The information of first repeater and the data amount information of the first data are carried in request message;
Receive in the Internet of Things and receive institute with backup each other multiple backup relays devices of repeater of first repeater The response message sent after connection request message is stated, the response message includes the data transfer shape of the multiple backup relays device State information.
10. internet-of-things terminal as claimed in claim 9, it is characterised in that the repeater determining module is specifically used for:
According to the data transmission status information of the multiple backup relays device, backuped each other repeater with first repeater Multiple backup relays devices in determine meet second of data transmission state condition corresponding to the bandwidth demand of first data Repeater;
Data transmission state condition includes corresponding to the bandwidth demand:
Occupied bandwidth numerical intervals corresponding to the bandwidth demand, wherein, the bandwidth demand is bigger, the quilt corresponding to it Occupied bandwidth numerical value is smaller corresponding to occupied bandwidth numerical intervals, different occupied bandwidth numerical intervals non-overlapping copies;Or Person
The numerical intervals of the terminal quantity of connection corresponding to the bandwidth demand, wherein the bandwidth demand is bigger, corresponding to it The quantity numerical value of the terminal of connection is smaller corresponding to the numerical intervals of the quantity of the terminal of the connection, the terminal of different connections The numerical intervals non-overlapping copies of quantity;Or
Idle bandwidth numerical intervals corresponding to the bandwidth demand, wherein the bandwidth demand is bigger, the free time corresponding to it Idle bandwidth numerical value is bigger corresponding to bandwidth numerical intervals, different idle bandwidth numerical intervals non-overlapping copies.
CN201710633785.XA 2017-07-29 2017-07-29 Terminal routing method based on Internet of things and Internet of things terminal Active CN107404404B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710633785.XA CN107404404B (en) 2017-07-29 2017-07-29 Terminal routing method based on Internet of things and Internet of things terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710633785.XA CN107404404B (en) 2017-07-29 2017-07-29 Terminal routing method based on Internet of things and Internet of things terminal

Publications (2)

Publication Number Publication Date
CN107404404A true CN107404404A (en) 2017-11-28
CN107404404B CN107404404B (en) 2021-05-28

Family

ID=60401442

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710633785.XA Active CN107404404B (en) 2017-07-29 2017-07-29 Terminal routing method based on Internet of things and Internet of things terminal

Country Status (1)

Country Link
CN (1) CN107404404B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108093459A (en) * 2017-12-29 2018-05-29 上海京颐科技股份有限公司 The data transmission method and device of medical terminal, storage medium, terminal
WO2023131138A1 (en) * 2022-01-05 2023-07-13 华为技术有限公司 Data stream transmission method, optical communication system, and related apparatus

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101019375A (en) * 2004-09-22 2007-08-15 国际商业机器公司 Method and systems for copying data components between nodes of a network
CN101047638A (en) * 2006-06-28 2007-10-03 华为技术有限公司 Mesh network route method and device
CN101159701A (en) * 2007-12-04 2008-04-09 杭州华三通信技术有限公司 VRRP based router dynamic assignment bandwidth method and system
CN102771161A (en) * 2010-01-26 2012-11-07 京瓷株式会社 Wireless relay station and control method
US20140029415A1 (en) * 2012-07-25 2014-01-30 Itron, Inc. Relaying Information for an Unreliably Heard Utility Node
CN103581014A (en) * 2012-07-20 2014-02-12 中兴通讯股份有限公司 Method and device for dynamically adjusting VRRP routers
CN103997425A (en) * 2014-05-24 2014-08-20 上海新时达电气股份有限公司 Self-restoration method for nodes, collector and repeater
CN104301370A (en) * 2014-07-11 2015-01-21 陕西东辉智能仪器有限公司 Industrial field data internet-of-things management system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101019375A (en) * 2004-09-22 2007-08-15 国际商业机器公司 Method and systems for copying data components between nodes of a network
CN101047638A (en) * 2006-06-28 2007-10-03 华为技术有限公司 Mesh network route method and device
CN101159701A (en) * 2007-12-04 2008-04-09 杭州华三通信技术有限公司 VRRP based router dynamic assignment bandwidth method and system
CN102771161A (en) * 2010-01-26 2012-11-07 京瓷株式会社 Wireless relay station and control method
CN103581014A (en) * 2012-07-20 2014-02-12 中兴通讯股份有限公司 Method and device for dynamically adjusting VRRP routers
US20140029415A1 (en) * 2012-07-25 2014-01-30 Itron, Inc. Relaying Information for an Unreliably Heard Utility Node
CN103997425A (en) * 2014-05-24 2014-08-20 上海新时达电气股份有限公司 Self-restoration method for nodes, collector and repeater
CN104301370A (en) * 2014-07-11 2015-01-21 陕西东辉智能仪器有限公司 Industrial field data internet-of-things management system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108093459A (en) * 2017-12-29 2018-05-29 上海京颐科技股份有限公司 The data transmission method and device of medical terminal, storage medium, terminal
WO2023131138A1 (en) * 2022-01-05 2023-07-13 华为技术有限公司 Data stream transmission method, optical communication system, and related apparatus

Also Published As

Publication number Publication date
CN107404404B (en) 2021-05-28

Similar Documents

Publication Publication Date Title
US10952143B2 (en) Sleeping and wake-up methods and apparatuses of master-slave network, and power saving system of master-slave network
CN100450053C (en) Apparatus and method for detecting duplicate IP addresses in mobile ad hoc network environment
CN107465609A (en) A kind of terminal route selection method and internet-of-things terminal based on Internet of Things
CN102149166B (en) The system of selection of Radio Access Network and system
CN102457420A (en) Network device and method for establishing path data
CN111565474B (en) Method and system for establishing communication connection between AP (access point) equipment and target terminal based on Mesh network
CN101179463B (en) Apparatus and method for providing network information
CN109347520B (en) Communication method, system and computer readable storage medium for dual-mode communication network
CN109302731A (en) Wireless network system and wireless network connection method
CN111314185A (en) Ad hoc network method, ad hoc network response method, controlled equipment and gateway
CN111884875A (en) Offline device determination method and device
CN103874227A (en) Method, device and system for setting up connection
CN111065141A (en) Wireless network connection method of intelligent household appliance, intelligent household appliance and system
CN107404404A (en) A kind of terminal route selection method and internet-of-things terminal based on Internet of Things
CN106455055A (en) Method for determining gateway and terminal
CN112770370B (en) Method and device for intelligent equipment to access network and intelligent equipment
CN107547264B (en) Data backup method and device based on Internet of things
CN103460759B (en) Communicator and method for searching path
CN115134021A (en) Channel fusion method and device for dual-mode communication, electronic equipment and storage medium
CN109068368A (en) A kind of district staying method, updates server and storage medium at terminal
CN112788658B (en) Data sharing method of communication equipment, communication equipment and storage medium
CN100593298C (en) Radio communication method, radio communication terminal accommodating apparatus, and radio communication terminal
CN104066151A (en) Base station device and access control method thereof
CN111836385A (en) Method and device for processing network beacon in wireless sensor network
CN105210404B (en) A kind of method, apparatus and system for establishing collaboration communication

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