CN107026776A - A kind of communication path collocation method, apparatus and system - Google Patents

A kind of communication path collocation method, apparatus and system Download PDF

Info

Publication number
CN107026776A
CN107026776A CN201710261810.6A CN201710261810A CN107026776A CN 107026776 A CN107026776 A CN 107026776A CN 201710261810 A CN201710261810 A CN 201710261810A CN 107026776 A CN107026776 A CN 107026776A
Authority
CN
China
Prior art keywords
networking
equipment
data bag
path
testing data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710261810.6A
Other languages
Chinese (zh)
Inventor
范永胜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Topband Co Ltd
Original Assignee
Shenzhen Topband 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 Topband Co Ltd filed Critical Shenzhen Topband Co Ltd
Priority to CN201710261810.6A priority Critical patent/CN107026776A/en
Publication of CN107026776A publication Critical patent/CN107026776A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • 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/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • 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/12Discovery or management of network topologies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/70Routing based on monitoring results

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a kind of communication path collocation method, apparatus and system, methods described includes:The first networking path testing data bag is sent to networking equipment, first networking path testing data bag includes configured information, and configured information is used to indicate that the networking equipment for receiving the first networking path testing data bag forwards the first networking path testing data bag and sends networking response message to networking control centre;Receive one or more first networking response messages of the first networking equipment return;According to one or more first networking response messages, communication path is configured for the first networking equipment, in the embodiment of the present invention, by above method networking and configure communication path, communication path can be updated in real time, it is ensured that all devices are stable, reliable, efficiently solve in the prior art that to there is networking unstable, communication path is single, and then causes the problem of communication efficiency is too low.

Description

A kind of communication path collocation method, apparatus and system
Technical field
The present invention relates to Smart Home technical field, more particularly to a kind of communication path collocation method, apparatus and system.
Background technology
Technology of Internet of things is believed by radio frequency identification (RFID), infrared inductor, global positioning system, laser scanner etc. Sensing equipment is ceased, by the agreement of agreement, any article is connected with internet, enters row information and exchanges and communicate, to realize intelligence Energyization identification, positioning, a kind of network technology followed the trail of, monitor and managed, its core and basis are still " Internet technology ", are A kind of network technology of extension and extension on the basis of Internet technology.
Smart home is the embodiment of the Thingsization under the influence of Internet of Things, is set various in family by technology of Internet of things It is standby to be connected together by networking, and the means and method being controlled.At present, with the development of smart home, smart home The networking plan of equipment is to cost, reliability and ageing requirement more and more higher, existing networking plan, it usually needs pass through Controller and forwards the mesh information to multiple route transmission mesh informations of setting by routeing to networking equipment, to enter Row networking, sets up communication path, due to the multiple networking equipments of routing management, when route breaks down, can cause multiple Networking equipment can not be all used, it is necessary to re-start networking, moreover, communication path is single, alternative is low.
Therefore networking is carried out by above-mentioned mode, and sets up communication path, it is unstable to there is networking, communication path list One, and then cause communication efficiency too low.
The content of the invention
Technical problem solved by the invention is the provision of a kind of communication path collocation method, efficiently solves existing skill Art is when carrying out networking, the problem of having that communication efficiency is low, and cause the waste of resource.
In a first aspect, the embodiments of the invention provide a kind of communication path collocation method, applied to networking control centre, bag Include following steps:
The first networking path testing data bag is sent to networking equipment, the first networking path testing data bag includes referring to Show information, the networking equipment forwarding that the configured information is used to indicating receiving the first networking path testing data bag described the One networking path testing data bag and to the networking control centre send networking response message;
One or more first networking response messages of the first networking equipment return are received, wherein, first networking rings Answer information include the equipment identification information of networking equipment, order information that the first networking path testing data bag passes through and Temporal information when the first networking response message is returned;
It is the first networking equipment configuration communication path according to one or more of first networking response messages.
Second aspect, the embodiment of the present invention additionally provides a kind of communication path collocation method, applied to networking equipment, including Following steps:
Receive the first networking path testing data bag that networking control centre and/or networking equipment are sent, described first group Networking footpath test data bag includes configured information, and the configured information is used to indicate to receive the first networking path testing data The networking equipment of bag forwards the first networking path testing data bag and sends networking response to the networking control centre Information;
According to the configured information, the first networking path testing data bag is forwarded, and to the networking control centre The first networking response message is sent, so that the networking control centre is according to the networking response message, it is the networking equipment Configure communication path;
Wherein, the first networking response message includes the networking equipment that the first networking path testing data bag passes through Identification information, order information and the first networking response message return when temporal information.
The third aspect, the embodiment of the present invention additionally provides a kind of communication path configuration device, applied to networking control centre, Including:
First networking path testing data bag transmitting element, for sending the first networking path testing data to networking equipment Bag, the first networking path testing data bag includes configured information, and the configured information is used to indicate to receive described first group During the networking equipment of networking footpath test data bag forwards the first networking path testing data bag and controlled to the networking The heart sends networking response message;
First networking response message receiving unit, for receiving one or more first networkings that the first networking equipment is returned Response message, wherein, the networking that the first networking response message includes the first networking path testing data bag process is set Temporal information when standby equipment identification information, order information and the first networking response message is returned;
Communication path dispensing unit, for according to one or more of first networking response messages, being described first group Net device configuration communication path.
Fourth aspect, the embodiment of the present invention additionally provides a kind of communication path configuration device, applied to networking equipment, bag Include:
First networking path testing data bag receiving unit, sends for receiving networking control centre and/or networking equipment The first networking path testing data bag, the first networking path testing data bag include configured information, the configured information For indicating that the networking equipment for receiving the first networking path testing data bag forwards the first networking path testing data Wrap and send networking response message to the networking control centre;
Processing unit, according to the configured information, forwards the first networking path testing data bag, and to the networking Control centre sends the first networking response message, so that the networking control centre is according to the networking response message, it is described Networking equipment configures communication path;
Wherein, the first networking response message includes the networking equipment that the first networking path testing data bag passes through Identification information, order information and the first networking response message return when temporal information.
5th aspect, the embodiment of the present invention additionally provides a kind of communication path configuration system, including:
Networking control centre, the networking control centre includes the communication path configuration device described in the above-mentioned third aspect; And
Networking equipment, the networking equipment includes the communication path configuration device described in above-mentioned fourth aspect.
In the embodiment of the present invention, by sending networking path testing data bag, networking path testing data to networking equipment Bag includes being used to indicate that the networking equipment for receiving the first networking path testing data bag forwards the first networking path Test data bag and to the networking control centre send networking response message, therefore, networking equipment is receiving networking road During the test bag of footpath, networking response message is sent to networking control device, allows networking control device according to each networking equipment When equipment identification information, order information and the first networking response message return that the networking response message of return is carried Temporal information configures communication path, therefore communication path can be versatile and flexible according to actual conditions, alternative high, improves The efficiency of communication.
Brief description of the drawings
Fig. 1 is the structural representation that a kind of communication path provided in an embodiment of the present invention configures system;
Fig. 2 is a kind of implementation process figure of communication path collocation method provided in an embodiment of the present invention;
Fig. 3 is a kind of implementation process figure of method for configuring communication path provided in an embodiment of the present invention;
Fig. 4 is the implementation process figure of another communication path collocation method provided in an embodiment of the present invention;
Fig. 5 is a kind of implementation process of the communication path collocation method of second networking equipment provided in an embodiment of the present invention Figure;
Fig. 6 is the implementation process figure of another communication path collocation method provided in an embodiment of the present invention;
Fig. 7 is a kind of implementation process figure of networking path testing data package transmitting method provided in an embodiment of the present invention;
Fig. 8 is the implementation process of the method for another second networking equipment configuration communication path provided in an embodiment of the present invention Figure;
Fig. 9 is that the embodiments of the invention provide a kind of structural representation of communication path configuration device;
Figure 10 is a kind of structural representation of communication path dispensing unit provided in an embodiment of the present invention;
Figure 11 is the structural representation of another communication path configuration device provided in the embodiment of the present invention;
Figure 12 is a kind of communication path configuration device structural representation of second networking equipment provided in an embodiment of the present invention;
Figure 13 is the structural representation of another communication path configuration device provided in an embodiment of the present invention;
Figure 14 is a kind of structural representation of first networking path testing data bag receiving unit provided in an embodiment of the present invention Figure;
Figure 15 is that the structure of the device of another second networking equipment configuration communication path provided in an embodiment of the present invention is shown It is intended to;
Figure 16 is the structural representation that another communication path provided in an embodiment of the present invention configures system.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
In the embodiment of the present invention, by sending networking path testing data bag, networking path testing data to networking equipment Bag includes being used to indicate that the networking equipment for receiving the first networking path testing data bag forwards the first networking path Test data bag and to the networking control centre send networking response message, therefore, networking equipment is receiving networking road During the test bag of footpath, networking response message is sent to networking control device, allows networking control device according to each networking equipment When equipment identification information, order information and the first networking response message return that the networking response message of return is carried Temporal information configures communication path, therefore communication path can be versatile and flexible according to actual conditions, alternative high, improves The efficiency of communication.
Embodiment one,
Fig. 1 show the embodiments of the invention provide a kind of communication path configure system structural representation, for the ease of Illustrate, illustrate only the part related to the embodiment of the present invention.
Referring to Fig. 1, the system includes networking control centre 1 and multiple networking equipments 2, constitutes fully connected topology, group Control centre 1 is netted by sending networking path testing data bag to networking equipment 2, networking equipment 2 is sent out to the networking control centre 1 Networking response message is sent, the identification information, order information and networking response message that networking response message includes equipment are returned When temporal information, identification information, order information of the networking control centre 1 according to the equipment, and networking response message return When temporal information, be networking equipment configuration communication path, to realize information transfer, by between networking equipment and networking equipment The mode for setting up communication path realizes networking, can increase the route of information transfer, and communication path can be according to actual conditions spirit Work is various, alternative high, improves the efficiency of communication.
Wherein, networking control centre can be gateway, and networking equipment can be the various information sensing devices in smart home, than Such as, infrared inductor, global positioning system, laser scanner etc., networking control centre and networking equipment, and networking equipment with Can, diffracting power strong by penetration powers such as 200M to 900M be strong, the wireless mould of the frequency range of long transmission distance between networking equipment Block is attached, and is preferable over 433M wireless modules.
In embodiments of the present invention, the first networking equipment can be consolidated network under need carry out networking networking equipment 2 In any one networking equipment, be not used to be defined in any specific networking equipment, wherein, each need to carry out networking The configured information that equipment can all be carried after networking path testing data bag is received according to the bag, the bag is set to other networkings Standby forwarding, and response message is sent to networking control centre 1, so that networking control centre 1, which is each networking equipment, configures communication Path.
Embodiment two,
Fig. 2 shows a kind of implementation process of communication path collocation method provided in an embodiment of the present invention, applied to networking Control centre, details are as follows:
In step s 110, the first networking path testing data bag is sent to networking equipment, the first networking path is surveyed Trying packet includes configured information, and the configured information is used for the networking for indicating to receive the first networking path testing data bag First networking path testing data bag described in device forwards and to the networking control centre send networking response message.
In embodiments of the present invention, when start building network when, networking control centre can by default communications band, In a broadcast manner, the first networking path testing data bag is sent to the networking equipment under same broadcast area, wherein, in advance If communications band be preferably that the such as penetration power such as 200M to 900M is strong, diffracting power strong, the communications band of long transmission distance, it is excellent Select 433M communications bands.By carrying out networking from other communications bands, it can effectively solve to cause by ZigBee mode networkings Diffracting power it is weak, the problem of ability through walls is weak.
Further, networking control centre can also obtain the address information of each networking equipment in advance, and according to acquisition The address information of each networking equipment, the first networking path testing data bag is sent to the corresponding networking equipment of the address information, To realize networking.
In embodiments of the present invention, the first networking path testing data bag includes configured information, and the configured information is used to refer to Show that the networking equipment for receiving the first networking path testing data bag forwards the first networking path testing data bag and to group Net control centre and send networking response message, after networking equipment receives the first networking path testing data bag, by this The parsing of first networking path testing data bag, obtains the configured information of the first networking path testing bag, and according to the instruction The instruction of information forwards the first networking path testing data bag, and sends networking response message to networking control centre, so Each networking equipment can be forwarded for adjacent networking equipment, so that all networking equipment formation mesh topology knots Structure, realizes interconnection.
In embodiments of the present invention, configured information may be used to indicate that networking equipment receives the first networking path testing number During according to bag, the forwarding time of random generation networking path testing data bag, and turning according to the first networking path testing data bag The hair time sends the first networking path testing data bag, such as, when networking control centre is simultaneously to networking equipment 1, networking equipment 2nd, when networking equipment 3 sends the first networking path testing data bag, the instruction letter that the first networking path testing data bag includes Breath, can indicate that networking equipment generates the different forwarding time for being used for forwarding the first networking test data bag respectively, than Such as, the forwarding time that networking equipment 1 is generated is to be forwarded after 10 seconds, and the forwarding time that networking equipment 2 is generated is to be forwarded after 5 seconds, group The forwarding time that net equipment 3 is generated is to be forwarded after 1 second, then according to the forwarding time of generation, is forwarded, can effectively kept away successively Exempt from simultaneously to forward the first networking path testing data bag, and the information collision caused and confusion.
In one embodiment of the invention, the first networking path testing data bag also includes the first networking path testing number According to the bag identification information of bag, configured information is additionally operable to indicate the networking equipment of the first networking path testing data bag process according to bag Identification information judgment forwards the number of times of the first networking path testing data bag, and stopping turns when number of times is more than preset times Send out the first networking path testing data bag.
When networking control centre receives the first networking path testing data bag, according to the bag identification information, judging should Whether the first networking path testing data bag is forwarded, and the number of times forwarded, is stopped forwarding when number of times is more than preset times First networking path testing data bag, wherein, preset times can be 1, i.e. when the forwarded over first networking path of networking equipment After test data bag, when receiving identical the first networking path testing data bag again, it will not forward again, it is to avoid circulation turns Send out the confusion caused.
Further, after networking equipment forwards the first networking path testing data bag failure for the first time, when receiving again During to the first networking path testing data bag, it can send again.
Wherein, bag identification information is used for the same first networking path testing data bag of unique mark, can be sequence number etc. The information of different first networking path testing data bags can be distinguished.
In the step s 120, the first networking response message that the first networking equipment is returned is received, wherein, first networking Response message include the equipment identification information of networking equipment that the first networking path testing data bag passes through, order information with And temporal information during the first networking response message return.
In embodiments of the present invention, when the first networking that networking control centre receives the return of the first networking equipment responds letter During breath, network linking is set up with first networking equipment, networking is realized, it will be understood that first networking equipment can be any Networking equipment, be not used to limit specific networking equipment.
In embodiments of the present invention, the first networking equipment response message includes what the first networking path testing data bag passed through Temporal information when equipment identification information, order information and the first networking response message of networking equipment are returned.At this In one application scenarios of inventive embodiments, the first networking path testing data bag that networking control centre sends includes one group Net test form, should by the identification information write-in of oneself when networking equipment receives the first networking path testing data bag Form is tested in networking, and the first networking path testing data bag is sent into next networking equipment, and next networking equipment is successively The identification information of oneself is filled in, untill all networking equipments on communication path are all filled in, now, in networking control The heart can test the content filled in form according to networking, get equipment identification information, order information, and according to receiving this The current time information of response message, gets temporal information when the first networking response message is returned.
In step s 130, it is that first networking equipment configures communication path according to the first networking response message.
In embodiments of the present invention, networking control centre is after one or more the first networking response message is received, Temporal information when being returned according to the first networking response message, obtains first on the communication path of each first networking equipment The transmission time of networking path testing data bag, and according to the equipment identification information of acquisition, get each first networking equipment Communication path on the equipment identification information that passes through in transmitting procedure of the first networking path testing data bag, according to the biography The equipment identification information passed through in defeated time and transmitting procedure, is the first networking equipment configuration communication path, and according to equipment Order information, obtains the communicating route of the communication path of configuration, according to the communicating route, to realize information transfer.
In the embodiment of the present invention, by sending networking path testing data bag, networking path testing data to networking equipment Bag includes being used to indicate that the networking equipment for receiving the first networking path testing data bag forwards the first networking path Test data bag and to the networking control centre send networking response message, therefore, networking equipment is receiving networking road During the test bag of footpath, networking response message is sent to networking control device, allows networking control device according to each networking equipment When equipment identification information, order information and the first networking response message return that the networking response message of return is carried Temporal information configures communication path, therefore communication path can be versatile and flexible according to actual conditions, alternative high, improves The efficiency of communication.
Embodiment three,
Fig. 3 shows a kind of implementation process of method for configuring communication path provided in an embodiment of the present invention, itself and implementation Example two is similar, and difference is, described according to the first networking response message, is the first networking equipment configuration communication The step of path, including:
In step S210, returned according to the equipment identification information of the networking equipment and the first networking response message Temporal information when returning, is the described configuration of first networking equipment default communication path and communication according to preset rules The priority in path;
In embodiments of the present invention, preset rules are, the identification information of networking equipment less, transmission time it is shorter, communication The priority in path is higher.That is, in the transmitting procedure of the first networking path testing data bag, transmission it is faster, and pass through group Net equipment is fewer, then the priority of communication path is higher.
In embodiments of the present invention, networking control centre is after one or more the first networking response message is received, Temporal information when being returned according to the first networking response message, obtains transmission time most short the first networking response message, than Such as, when for multiple first networking response messages, temporal information when each first networking response message is returned is obtained respectively, than Such as, the temporal information that first response message is returned was 2 o'clock, and temporal information when second response message is returned is 2: 03 Point, temporal information when the 3rd response message is returned for 2 points 05 minute, then illustrate, first response message transmission it is most fast, pass The defeated time is most short, and according to the equipment identification information of acquisition, gets the networking path testing data bag and passed through in transmitting procedure The equipment identification information crossed, the equipment identification information that first response message is passed through is 2, and what second response message was passed through sets Standby identification information is 3, when the equipment identification information that the 3rd response message is passed through is 5, it can be seen from default rule, when When needing to be configured with 3 communication paths for the first networking equipment, can according to the priority of acquisition, by 3 communication paths according to Priority arrangement, the communication path of respectively first response message, the communication path of the second response message, the 3rd response message Communication path.
Wherein, default, it can be specific numerical value, such as, 3,5 etc., can specifically be carried out according to actual conditions Set, the present invention is not limited.
Further, the communication path of prioritizing selection highest priority carries out information transfer.
In embodiments of the present invention, according to the number of the equipment identification information and the first networking response message Temporal information during return, is described default communication path of first networking equipment configuration and described logical according to preset rules The priority in letter path includes:
Rung according to the number of the equipment identification information, the repetition situation of equipment identification information, and first networking Temporal information when answering the information to return, is described default communication path of networking equipment configuration and described according to preset rules The priority of communication path.
In embodiments of the present invention, when the number according to equipment identification information and the first networking response message are returned Temporal information, according to preset rules, while being the first networking equipment configuration communication path, in addition it is also necessary to consider the mark letter of equipment The repetition situation of breath, i.e. in message transmitting procedure, networking equipment described in different communication paths is passed through, identical Repetitive rate.It should be understood that when configuring communication path for networking equipment, in the communication path of predetermined number, different communication It is lower by the repetitive rate of identical networking equipment between path, when the networking equipment in a communication path breaks down, Influence to other communication paths is smaller, it is possible to reduce the replacement of communication path, strengthens the stability of networking.
In step S220, according to the order information of the networking equipment, the information transfer road of the communication path is obtained Line;
In embodiments of the present invention, the order information of networking equipment is the first networking path testing data bag in transmitting procedure In, the order of the networking equipment sequentially passed through, such as, a communication path of configuration are specifically included:When networking control centre hair Send after a first networking path testing data bag, sequentially pass through networking equipment 1, networking equipment 2 and networking equipment 3, then should The communicating route of communication path is networking equipment 1, networking equipment 2 and networking equipment 3, when needing transmission information, can be passed through The route carries out information transfer.
In the embodiment of the present invention, by sending networking path testing data bag, networking path testing data to networking equipment Bag includes being used to indicate that the networking equipment for receiving the first networking path testing data bag forwards the first networking path Test data bag and to the networking control centre send networking response message, therefore, networking equipment is receiving networking road During the test bag of footpath, networking response message is sent to networking control device, allows networking control device according to each networking equipment When equipment identification information, order information and the first networking response message return that the networking response message of return is carried Temporal information configures communication path, therefore communication path can be versatile and flexible according to actual conditions, alternative high, improves The efficiency of communication.
Example IV,
Fig. 4 shows the implementation process of another communication path collocation method provided in the embodiment of the present invention, itself and reality Apply that example two is similar, difference is, described according to the first networking response message, be the networking equipment configuration communication lines After the step of footpath, in addition to:
In step S310, when the number of times that the communication path by highest priority transmits information failure reaches predetermined threshold value When, in remaining communication path, the communication path of highest priority is obtained, and be configured to current communication path.
In embodiments of the present invention, when because situations such as individual plants damage or be mobile, causes optimal communication path During bust this, the communication path that can choose suboptimum carries out information transfer, successively by it.When optimal communication path is transmitted several times After information failure, and when reaching predetermined threshold value, optimal communication path is discarded, while the remaining communication path of configuration is once Priority is lifted, such as, the communication path of suboptimum is promoted to optimal path, and again in remaining communication path, obtained The communication path of highest priority, and it is configured to current communication path.It can effectively solve under individual cases, be led because environment changes The problem of communication failure of cause.
Wherein, predetermined threshold value can be specific numerical value, such as, 3 times, 5 inferior, specifically can be according to actual conditions It is configured, the present invention is not limited.
In the embodiment of the present invention, by sending networking path testing data bag, networking path testing data to networking equipment Bag includes being used to indicate that the networking equipment for receiving the first networking path testing data bag forwards the first networking path Test data bag and to the networking control centre send networking response message, therefore, networking equipment is receiving networking road During the test bag of footpath, networking response message is sent to networking control device, allows networking control device according to each networking equipment When equipment identification information, order information and the first networking response message return that the networking response message of return is carried Temporal information configures communication path, therefore communication path can be versatile and flexible according to actual conditions, alternative high, improves The efficiency of communication.
Embodiment five,
Fig. 5 shows a kind of realization stream of the communication path collocation method of second networking equipment provided in an embodiment of the present invention Journey, details are as follows:
After networking success, methods described also includes:
In step S410, the networking request that the second networking equipment is sent is received, the networking request carries second group The address information of net equipment;
In embodiments of the present invention, after networking is successfully established, if there is new equipment to need addition, networking control centre New equipment can be received, i.e. the second networking equipment sends the request that networks, the second networking equipment is carried in networking request Address information, so that networking control centre, which is the second networking equipment, configures communication network.
In the step s 420, the secondth networking path testing data bag, second networking are sent to the networking equipment Path testing data bag includes the address information, so that the networking equipment forwards described second to second networking equipment Networking path testing data bag.
In embodiments of the present invention, networking control centre is received after the networking request of the second networking equipment transmission, to place The second networking path testing data bag, also, this second group are sent by way of broadcast in the networking equipment under consolidated network Networking footpath test data bag includes the address information of the second networking equipment, so that networking equipment is according to the address information, to Two networking equipments forward the second networking path testing data bag.
In step S430, the second networking response message that second networking equipment is sent is received, and according to described the Two networking response messages, are the second networking equipment configuration communication path, wherein, the second networking response message includes institute State equipment identification information, order information and second networking of the networking equipment of the second networking path testing data bag process Temporal information when response message is returned.
In embodiments of the present invention, networking control centre receives the second networking response letter of the second networking equipment transmission Breath, the second networking response message includes the temporal information when identification information, order information and return of equipment, networking control Temporal information when center is returned according to the second networking response message and send the second networking path testing data bag when Between information, obtain the time difference, obtain the transmission time of the first networking path testing data bag, and believed according to the device identification of acquisition Breath, gets the equipment identification information that the second networking path testing data bag passes through in transmitting procedure, during according to the transmission Between and transmitting procedure in the equipment identification information that passes through, be the second networking equipment configuration communication path, and according to equipment order Information, obtains the communicating route of the communication path of configuration, according to the communicating route, to realize information transfer.
In the embodiment of the present invention, by sending networking path testing data bag, networking path testing data to networking equipment Bag includes being used to indicate that the networking equipment for receiving the first networking path testing data bag forwards the first networking path Test data bag and to the networking control centre send networking response message, therefore, networking equipment is receiving networking road During the test bag of footpath, networking response message is sent to networking control device, allows networking control device according to each networking equipment When equipment identification information, order information and the first networking response message return that the networking response message of return is carried Temporal information configures communication path, therefore communication path can be versatile and flexible according to actual conditions, alternative high, improves The efficiency of communication.
Embodiment six,
Fig. 6 shows the implementation process of another communication path collocation method provided in an embodiment of the present invention, applied to One networking equipment, details are as follows:
In step S510, the first networking path testing data that networking control centre and/or networking equipment are sent is received Bag, the first networking path testing data bag includes configured information, and the configured information is used to indicate to receive described first group During the networking equipment of networking footpath test data bag forwards the first networking path testing data bag and controlled to the networking The heart sends networking response message.
In embodiments of the present invention, the first networking path testing data bag can networking control centre send, Can be networking equipment according to the instruction forwarding of configured information come or networking control centre and networking equipment all send out Come, specifically, either networking control centre sends, or networking equipment is sent, and can pass through broadcast Mode receives the first networking path testing data bag.
In embodiments of the present invention, the first networking equipment is any one in networking equipment, is not used to existing schedule and appoints Anticipate specific networking equipment.
In embodiments of the present invention, the first networking path testing data bag includes configured information, and the configured information is used to refer to Show that the networking equipment for receiving the first networking path testing data bag forwards the first networking path testing data bag and to group Net control centre and send networking response message, after networking equipment receives the first networking path testing data bag, by this The parsing of first networking path testing data bag, obtains the configured information of the first networking path testing bag, and according to the instruction The instruction of information forwards the first networking path testing data bag, and sends networking response message to networking control centre, so Each networking equipment can be forwarded for adjacent networking equipment, so that all networking equipment formation mesh topology knots Structure, realizes interconnection.
In step S520, according to the configured information, the first networking path testing data bag is forwarded, and to described Networking control centre sends the first networking response message, so that the networking control centre is according to the networking response message The networking equipment configures communication path.
In embodiments of the present invention, the first networking equipment is when receiving the first networking path testing data bag, by right The parsing of the packet, obtains configured information, and according to the configured information, forwards the first networking path testing data bag, and The first networking response message is sent to networking control centre, to realize networking.
Wherein, the first networking response message includes the mark letter for the networking equipment that the first networking path testing data bag passes through Temporal information when breath, order information and the return of the first networking response message.
In embodiments of the present invention, networking control centre is after one or more the first networking response message is received, Temporal information when being returned according to the first networking response message, obtains first on the communication path of each first networking equipment The transmission time of networking path testing data bag, and according to the equipment identification information of acquisition, get each first networking equipment Communication path on the equipment identification information that passes through in transmitting procedure of the first networking path testing data bag, according to the biography The equipment identification information passed through in defeated time and transmitting procedure, is the first networking equipment configuration communication path, and according to equipment Order information, obtains the communicating route of the communication path of configuration, according to the communicating route, to realize information transfer.
In the embodiment of the present invention, by sending networking path testing data bag, networking path testing data to networking equipment Bag includes being used to indicate that the networking equipment for receiving the first networking path testing data bag forwards the first networking path Test data bag and to the networking control centre send networking response message, therefore, networking equipment is receiving networking road During the test bag of footpath, networking response message is sent to networking control device, allows networking control device according to each networking equipment When equipment identification information, order information and the first networking response message return that the networking response message of return is carried Temporal information configures communication path, therefore communication path can be versatile and flexible according to actual conditions, alternative high, improves The efficiency of communication.
Embodiment seven,
Fig. 7 shows a kind of implementation process of networking path testing data package transmitting method provided in an embodiment of the present invention, It is similar to embodiment six, and difference is, described according to the configured information, forwards the networking path testing data Bag, be specially:
In step S610, according to the configured information, turning for the first networking path testing data bag is generated at random The hair time.
In embodiments of the present invention, the first networking equipment is after networking path testing data bag is received, according to the networking Configured information in path testing data bag, indicates the first networking equipment generation random number, and the random number can be sequence number, Can be single numerical value, such as, and 1,2,3 etc., and each networking equipment is after networking path testing data bag is received, generation Random number it is different.Further, the random number generated according to the first networking equipment, obtains corresponding forwarding time, such as, when the When the random number of one networking equipment generation is 2, then it is 200 milliseconds to obtain forwarding time, then after 200 milliseconds, to the first networking Path testing data bag is forwarded.
In another embodiment of the present invention, the first networking equipment obtains default number of devices, and according to generation with The remainder being divided by between machine number and default number of devices, obtains corresponding forwarding time, such as, and the random number of generation is 1, in advance If number of devices be 20, then remainder after being divided by is 1, then forwarding time can be 100 milliseconds, then after 100 milliseconds, to networking Path testing data bag is forwarded.
Wherein, default number of devices can be configured according to the number of networking equipment, when networking equipment is more, can be with Larger numerical value is set, such as, when needing to carry out 100 networking equipment networkings, default number of devices can be set to 50, So that networking equipment can successively be forwarded with staggering time.
In step S620, according to the forwarding time, the first networking path testing data bag is forwarded.
In the embodiment of the present invention, by sending networking path testing data bag, networking path testing data to networking equipment Bag includes being used to indicate that the networking equipment for receiving the first networking path testing data bag forwards the first networking path Test data bag and to the networking control centre send networking response message, therefore, networking equipment is receiving networking road During the test bag of footpath, networking response message is sent to networking control device, allows networking control device according to each networking equipment When equipment identification information, order information and the first networking response message return that the networking response message of return is carried Temporal information configures communication path, therefore communication path can be versatile and flexible according to actual conditions, alternative high, improves The efficiency of communication.
Embodiment eight,
Fig. 8 shows the realization of the method for another second networking equipment configuration communication path provided in an embodiment of the present invention Flow, details are as follows:
After networking success, methods described also includes:
In step S710, the second networking path testing that the networking control centre and/or networking equipment are sent is received Packet, the second networking path testing data bag includes the address information of the second networking equipment.
In embodiments of the present invention, the second networking path testing data bag can networking control centre send, Can be networking equipment according to the instruction forwarding of configured information come or networking control centre and networking equipment all send out Come, specifically, either networking control centre sends, or networking equipment is sent, and can pass through broadcast Mode receives the second networking path testing data bag.
In step S720, according to the address information of second networking equipment, the second networking path testing is forwarded Packet.
In embodiments of the present invention, networking control centre is asked by receiving the networking that the second networking equipment is sent, and is obtained The address information of the second networking equipment is got, and the address information is added in the second networking path testing data bag, is sent To networking equipment, networking equipment forwards the second networking path testing data bag by the address information of second networking equipment, So that the second networking equipment is after the second networking path testing data bag is received, the second networking is sent to networking control centre Response message, so that networking control centre is according to the second networking response message, it is the second networking equipment configuration communication path, when After networking success, networking control centre can be directed to the situation of the networking equipment newly added, be the device configuration communication newly added Other successful networking equipments of networking and communication path will not be impacted, simple to operate, user only needs to by path Equipment is added, the use threshold of user is reduced.
In the embodiment of the present invention, by sending networking path testing data bag, networking path testing data to networking equipment Bag includes being used to indicate that the networking equipment for receiving the first networking path testing data bag forwards the first networking path Test data bag and to the networking control centre send networking response message, therefore, networking equipment is receiving networking road During the test bag of footpath, networking response message is sent to networking control device, allows networking control device according to each networking equipment When equipment identification information, order information and the first networking response message return that the networking response message of return is carried Temporal information configures communication path, therefore communication path can be versatile and flexible according to actual conditions, alternative high, improves The efficiency of communication.
Can it will appreciated by the skilled person that realizing that all or part of step in above-described embodiment method is To instruct related hardware come what is completed by program, described program can be stored in a computer read/write memory medium In, described storage medium, such as ROM/RAM, disk, CD, flash memory disk.
Embodiment nine,
Fig. 9 is shown the embodiments of the invention provide a kind of structure 800 of communication path configuration device, applied to networking control Center processed, for convenience of description, illustrate only the part related to the embodiment of the present invention.
Communication path configuration device includes:First networking path testing data bag transmitting element 81, the first networking response letter Cease receiving unit 82 and communication path dispensing unit 83.
First networking path testing data bag transmitting element 81, for sending the first networking path testing number to networking equipment According to bag, the first networking path testing data bag includes configured information, and the configured information is used to indicate to receive described first The networking equipment of networking path testing data bag forwards the first networking path testing data bag and controlled to the networking Center sends networking response message.
In embodiments of the present invention, when start building network when, networking control centre can by default communications band, In a broadcast manner, the first networking path testing data bag is sent to the networking equipment under same broadcast area, wherein, in advance If communications band be preferably that the such as penetration power such as 200M to 900M is strong, diffracting power strong, the communications band of long transmission distance, it is excellent Select 433M communications bands.By carrying out networking from other communications bands, it can effectively solve to cause by ZigBee mode networkings Diffracting power it is weak, the problem of ability through walls is weak.
Further, networking control centre can also obtain the address information of each networking equipment in advance, and according to acquisition The address information of each networking equipment, the first networking path testing data bag is sent to the corresponding networking equipment of the address information, To realize networking.
In embodiments of the present invention, the first networking path testing data bag includes configured information, and the configured information is used to refer to Show that the networking equipment for receiving the first networking path testing data bag forwards the first networking path testing data bag and to group Net control centre and send networking response message, after networking equipment receives the first networking path testing data bag, by this The parsing of first networking path testing data bag, obtains the configured information of the first networking path testing bag, and according to the instruction The instruction of information forwards the first networking path testing data bag, and sends networking response message to networking control centre, so Each networking equipment can be forwarded for adjacent networking equipment, so that all networking equipment formation mesh topology knots Structure, realizes interconnection.
In embodiments of the present invention, configured information may be used to indicate that networking equipment receives the first networking path testing number During according to bag, the forwarding time of random generation networking path testing data bag, and turning according to the first networking path testing data bag The hair time sends the first networking path testing data bag, such as, when networking control centre is simultaneously to networking equipment 1, networking equipment 2nd, when networking equipment 3 sends the first networking path testing data bag, the instruction letter that the first networking path testing data bag includes Breath, can indicate that networking equipment generates the different forwarding time for being used for forwarding the first networking test data bag respectively, than Such as, the forwarding time that networking equipment 1 is generated is to be forwarded after 10 seconds, and the forwarding time that networking equipment 2 is generated is to be forwarded after 5 seconds, group The forwarding time that net equipment 3 is generated is to be forwarded after 1 second, then according to the forwarding time of generation, is forwarded, can effectively kept away successively Exempt from simultaneously to forward the first networking path testing data bag, and the information collision caused and confusion.
In one embodiment of the invention, the first networking path testing data bag also includes the first networking path testing number According to the bag identification information of bag, configured information is additionally operable to indicate the networking equipment of the first networking path testing data bag process according to bag Identification information judgment forwards the number of times of the first networking path testing data bag, and stopping turns when number of times is more than preset times Send out the first networking path testing data bag.
When networking control centre receives the first networking path testing data bag, according to the bag identification information, judging should Whether the first networking path testing data bag is forwarded, and the number of times forwarded, is stopped forwarding when number of times is more than preset times First networking path testing data bag, wherein, preset times can be 1, i.e. when the forwarded over first networking path of networking equipment After test data bag, when receiving identical the first networking path testing data bag again, it will not forward again, it is to avoid circulation turns Send out the confusion caused.
Further, after networking equipment forwards the first networking path testing data bag failure for the first time, when receiving again During to the first networking path testing data bag, it can send again.
Wherein, bag identification information is used for the same first networking path testing data bag of unique mark, can be sequence number etc. The information of different first networking path testing data bags can be distinguished.
First networking response message receiving unit 82, letter is responded for receiving the first networking that the first networking equipment is returned Breath, wherein, the first networking response message includes setting for the networking equipment that the first networking path testing data bag passes through Temporal information when standby identification information, order information and the first networking response message return.
In embodiments of the present invention, when the first networking that networking control centre receives the return of the first networking equipment responds letter During breath, network linking is set up with first networking equipment, networking is realized, it will be understood that first networking equipment can be any Networking equipment, be not used to limit specific networking equipment.
In embodiments of the present invention, the first networking equipment response message includes what the first networking path testing data bag passed through Temporal information when equipment identification information, order information and the first networking response message of networking equipment are returned.At this In one application scenarios of inventive embodiments, the first networking path testing data bag that networking control centre sends includes one group Net test form, should by the identification information write-in of oneself when networking equipment receives the first networking path testing data bag Form is tested in networking, and the first networking path testing data bag is sent into next networking equipment, and next networking equipment is successively The identification information of oneself is filled in, untill all networking equipments on communication path are all filled in, now, in networking control The heart can test the content filled in form according to networking, get equipment identification information, order information, and according to receiving this The current time information of response message, gets temporal information when the first networking response message is returned.
Communication path dispensing unit 83, for being configured according to the first networking response message for first networking equipment Communication path.
In embodiments of the present invention, networking control centre is after one or more the first networking response message is received, Temporal information when being returned according to the first networking response message, obtains first on the communication path of each first networking equipment The transmission time of networking path testing data bag, and according to the equipment identification information of acquisition, get each first networking equipment Communication path on the equipment identification information that passes through in transmitting procedure of the first networking path testing data bag, according to the biography The equipment identification information passed through in defeated time and transmitting procedure, is the first networking equipment configuration communication path, and according to equipment Order information, obtains the communicating route of the communication path of configuration, according to the communicating route, to realize information transfer.
In the embodiment of the present invention, by sending networking path testing data bag, networking path testing data to networking equipment Bag includes being used to indicate that the networking equipment for receiving the first networking path testing data bag forwards the first networking path Test data bag and to the networking control centre send networking response message, therefore, networking equipment is receiving networking road During the test bag of footpath, networking response message is sent to networking control device, allows networking control device according to each networking equipment When equipment identification information, order information and the first networking response message return that the networking response message of return is carried Temporal information configures communication path, therefore communication path can be versatile and flexible according to actual conditions, alternative high, improves The efficiency of communication.
Embodiment ten,
Figure 10 shows a kind of structure of communication path dispensing unit provided in an embodiment of the present invention, for convenience of description, It illustrate only the part related to the embodiment of the present invention.
Communication path dispensing unit 83 includes:Communication path configuration module 831 and information transfer route acquiring module 832。
Communication path configuration module 831, for the equipment identification information according to the networking equipment and described first group Temporal information when net response message is returned, according to preset rules, be default communication path of networking equipment configuration and The priority of the communication path;
In embodiments of the present invention, preset rules are, the identification information of networking equipment less, transmission time it is shorter, communication The priority in path is higher.That is, in the transmitting procedure of the first networking path testing data bag, transmission it is faster, and pass through group Net equipment is fewer, then the priority of communication path is higher.
In embodiments of the present invention, networking control centre is after one or more the first networking response message is received, Temporal information when being returned according to the first networking response message, obtains transmission time most short the first networking response message, than Such as, when for multiple first networking response messages, temporal information when each first networking response message is returned is obtained respectively, than Such as, the temporal information that first response message is returned was 2 o'clock, and temporal information when second response message is returned is 2: 03 Point, temporal information when the 3rd response message is returned for 2 points 05 minute, then illustrate, first response message transmission it is most fast, pass The defeated time is most short, and according to the equipment identification information of acquisition, gets the networking path testing data bag and passed through in transmitting procedure The equipment identification information crossed, the equipment identification information that first response message is passed through is 2, and what second response message was passed through sets Standby identification information is 3, when the equipment identification information that the 3rd response message is passed through is 5, it can be seen from default rule, when When needing to be configured with 3 communication paths for the first networking equipment, can according to the priority of acquisition, by 3 communication paths according to Priority arrangement, the communication path of respectively first response message, the communication path of the second response message, the 3rd response message Communication path.
Wherein, default, it can be specific numerical value, such as, 3,5 etc., can specifically be carried out according to actual conditions Set, the present invention is not limited.
Further, the communication path of prioritizing selection highest priority carries out information transfer.
In embodiments of the present invention, communication path configuration module is additionally operable to:
Rung according to the number of the equipment identification information, the repetition situation of equipment identification information, and first networking Temporal information when answering the information to return, is described default communication path of networking equipment configuration and described according to preset rules The priority of communication path.
In embodiments of the present invention, when the number according to equipment identification information and the first networking response message are returned Temporal information, according to preset rules, while being the first networking equipment configuration communication path, in addition it is also necessary to consider the mark letter of equipment The repetition situation of breath, i.e. in message transmitting procedure, networking equipment described in different communication paths is passed through, identical Repetitive rate.It should be understood that when configuring communication path for networking equipment, in the communication path of predetermined number, different communication It is lower by the repetitive rate of identical networking equipment between path, when the networking equipment in a communication path breaks down, Influence to other communication paths is smaller, it is possible to reduce the replacement of communication path, strengthens the stability of networking.
Information transfer route acquiring module 832, for the order information according to the networking equipment, obtains the communication lines The information transfer route in footpath.
In embodiments of the present invention, the order information of networking equipment is the first networking path testing data bag in transmitting procedure In, the order of the networking equipment sequentially passed through, such as, a communication path of configuration are specifically included:When networking control centre hair Send after a first networking path testing data bag, sequentially pass through networking equipment 1, networking equipment 2 and networking equipment 3, then should The communicating route of communication path is networking equipment 1, networking equipment 2 and networking equipment 3, when needing transmission information, can be passed through The route carries out information transfer.
In the embodiment of the present invention, by sending networking path testing data bag, networking path testing data to networking equipment Bag includes being used to indicate that the networking equipment for receiving the first networking path testing data bag forwards the first networking path Test data bag and to the networking control centre send networking response message, therefore, networking equipment is receiving networking road During the test bag of footpath, networking response message is sent to networking control device, allows networking control device according to each networking equipment When equipment identification information, order information and the first networking response message return that the networking response message of return is carried Temporal information configures communication path, therefore communication path can be versatile and flexible according to actual conditions, alternative high, improves The efficiency of communication.
Embodiment 11,
Figure 11 shows the structure of another communication path configuration device provided in the embodiment of the present invention, for the ease of saying It is bright, it illustrate only the part related to the embodiment of the present invention.
Communication path configuration device also includes:Communication path reset cell 84.
Communication path reset cell 84, the number of times for transmitting information failure when the communication path by highest priority reaches During to predetermined threshold value, in remaining communication path, the communication path of highest priority is obtained, and be configured to present communications road Footpath.
In embodiments of the present invention, when because situations such as individual plants damage or be mobile, causes optimal communication path During bust this, the communication path that can choose suboptimum carries out information transfer, successively by it.When optimal communication path is transmitted several times After information failure, and when reaching predetermined threshold value, optimal communication path is discarded, while the remaining communication path of configuration is once Priority is lifted, such as, the communication path of suboptimum is promoted to optimal path, and again in remaining communication path, obtained The communication path of highest priority, and it is configured to current communication path.It can effectively solve under individual cases, be led because environment changes The problem of communication failure of cause.
Wherein, predetermined threshold value can be specific numerical value, such as, 3 times, 5 inferior, specifically can be according to actual conditions It is configured, the present invention is not limited.
In the embodiment of the present invention, by sending networking path testing data bag, networking path testing data to networking equipment Bag includes being used to indicate that the networking equipment for receiving the first networking path testing data bag forwards the first networking path Test data bag and to the networking control centre send networking response message, therefore, networking equipment is receiving networking road During the test bag of footpath, networking response message is sent to networking control device, allows networking control device according to each networking equipment When equipment identification information, order information and the first networking response message return that the networking response message of return is carried Temporal information configures communication path, therefore communication path can be versatile and flexible according to actual conditions, alternative high, improves The efficiency of communication.
Embodiment 12,
Figure 12 shows a kind of communication path configuration device structure of second networking equipment provided in an embodiment of the present invention, is It is easy to explanation, illustrate only the part related to the embodiment of the present invention.
After networking success, the communication dispensing unit 800 also includes:Networking request reception unit 85, the second networking road Footpath test data bag transmitting element 86 and the second networking response message receiving unit 87.
Networking request reception unit 85, for receiving the networking request that the second networking equipment is sent, the networking request is taken Address information with the second networking equipment.
In embodiments of the present invention, after networking is successfully established, if there is new equipment to need addition, networking control centre New equipment can be received, i.e. the second networking equipment sends the request that networks, the second networking equipment is carried in networking request Address information, so that networking control centre, which is the second networking equipment, configures communication network.
Second networking path testing data bag transmitting element 86, for sending the secondth networking path to the networking equipment Test data bag, the second networking path testing data bag includes the address information, so that the networking equipment is to described Second networking equipment forwards the second networking path testing data bag.
In embodiments of the present invention, networking control centre is received after the networking request of the second networking equipment transmission, to place The second networking path testing data bag, also, this second group are sent by way of broadcast in the networking equipment under consolidated network Networking footpath test data bag includes the address information of the second networking equipment, so that networking equipment is according to the address information, to Two networking equipments forward the second networking path testing data bag.
Second networking response message receiving unit 87, for receiving the second networking response that second networking equipment is sent Information, and be the second networking equipment configuration communication path according to the second networking response message.
The second networking response message that second networking equipment is sent is received, and letter is responded according to second networking Breath, is the second networking equipment configuration communication path, wherein, the second networking response message includes the second networking road Equipment identification information, order information and the second networking response message for the networking equipment that footpath test data bag is passed through are returned When temporal information.
In embodiments of the present invention, networking control centre receives the second networking response letter of the second networking equipment transmission Breath, the second networking response message includes the temporal information when identification information, order information and return of equipment, networking control Temporal information when center is returned according to the second networking response message and send the second networking path testing data bag when Between information, obtain the time difference, obtain the transmission time of the first networking path testing data bag, and believed according to the device identification of acquisition Breath, gets the equipment identification information that the second networking path testing data bag passes through in transmitting procedure, during according to the transmission Between and transmitting procedure in the equipment identification information that passes through, be the second networking equipment configuration communication path, and according to equipment order Information, obtains the communicating route of the communication path of configuration, according to the communicating route, to realize information transfer.
In the embodiment of the present invention, networking path testing data bag is sent to networking equipment by networking control centre, and lead to Cross networking equipment and forward the networking path testing data bag to the networking equipment around it, realize network construction, and according to networking The response message that equipment is returned, is networking equipment configuration communication path, communication path can be updated in real time, it is ensured that Suo Youshe It is standby stable, reliable, and networking mode is simple, especially in the more fixed scene in this position of smart home, Ke Yiyou Effect solves existing networking slowly, the problem of communication efficiency low cost resource is high.
Embodiment 13,
Figure 13 shows the structure 900 of another communication path configuration device provided in an embodiment of the present invention, applied to One networking equipment, for convenience of description, illustrate only the part related to the embodiment of the present invention.
Communication path configuration device 900 includes:First networking path testing data bag receiving unit 91 and processing unit 92。
First networking path testing data bag receiving unit 91, for receiving networking control centre and/or networking equipment hair The the first networking path testing data bag sent, the first networking path testing data bag includes configured information, the instruction letter Cease for indicating that the networking equipment for receiving the first networking path testing data bag forwards the first networking path testing number Networking response message is sent according to bag and to the networking control centre.
In embodiments of the present invention, the first networking path testing data bag can networking control centre send, Can be networking equipment according to the instruction forwarding of configured information come or networking control centre and networking equipment all send out Come, specifically, either networking control centre sends, or networking equipment is sent, and can pass through broadcast Mode receives the first networking path testing data bag.
In embodiments of the present invention, the first networking equipment is any one in networking equipment, is not used to existing schedule and appoints Anticipate specific networking equipment.
In embodiments of the present invention, the first networking path testing data bag includes configured information, and the configured information is used to refer to Show that the networking equipment for receiving the first networking path testing data bag forwards the first networking path testing data bag and to group Net control centre and send networking response message, after networking equipment receives the first networking path testing data bag, by this The parsing of first networking path testing data bag, obtains the configured information of the first networking path testing bag, and according to the instruction The instruction of information forwards the first networking path testing data bag, and sends networking response message to networking control centre, so Each networking equipment can be forwarded for adjacent networking equipment, so that all networking equipment formation mesh topology knots Structure, realizes interconnection.
Processing unit 92, for according to the configured information, forwarding the first networking path testing data bag, and to institute State networking control centre and send the first networking response message, so that the networking control centre is according to the networking response message, Communication path is configured for the networking equipment.
In embodiments of the present invention, the first networking equipment is when receiving the first networking path testing data bag, by right The parsing of the packet, obtains configured information, and according to the configured information, forwards the first networking path testing data bag, and The first networking response message is sent to networking control centre, to realize networking.
Wherein, the first networking response message includes the mark letter for the networking equipment that the first networking path testing data bag passes through Temporal information when breath, order information and the return of the first networking response message.
In embodiments of the present invention, temporal information and transmission first when can be returned according to the first networking response message The temporal information of networking path testing data bag, obtains the time difference, obtains the transmission time of the first networking path testing data bag, And according to the equipment identification information of acquisition, get the equipment that the first networking path testing data bag passes through in transmitting procedure Identification information, is that the configuration of the first networking equipment is logical according to the equipment identification information passed through in the transmission time and transmitting procedure Believe path, and according to equipment order information, obtain the communicating route of the communication path of configuration, it is real so as to according to the communicating route Existing information transfer.
In the embodiment of the present invention, by sending networking path testing data bag, networking path testing data to networking equipment Bag includes being used to indicate that the networking equipment for receiving the first networking path testing data bag forwards the first networking path Test data bag and to the networking control centre send networking response message, therefore, networking equipment is receiving networking road During the test bag of footpath, networking response message is sent to networking control device, allows networking control device according to each networking equipment When equipment identification information, order information and the first networking response message return that the networking response message of return is carried Temporal information configures communication path, therefore communication path can be versatile and flexible according to actual conditions, alternative high, improves The efficiency of communication.
Embodiment 14,
Figure 14 shows a kind of knot of first networking path testing data bag receiving unit 91 provided in an embodiment of the present invention Structure, for convenience of description, illustrate only the part related to the embodiment of the present invention.
The configured information is additionally operable to indicate the networking path testing data bag that the networking equipment generation is staggered Forwarding time, and the networking path is sent according to the forwarding time of the networking path testing data bag staggered successively Test data bag.
First networking path testing data bag receiving unit 91 includes:Forwarding time generation module 911 and forwarding module 912。
Forwarding time generation module 911, for according to the configured information, the first networking path testing to be generated at random The forwarding time of packet.
In embodiments of the present invention, the first networking equipment is after networking path testing data bag is received, according to the networking Configured information in path testing data bag, indicates the first networking equipment generation random number, and the random number can be sequence number, Can be single numerical value, such as, and 1,2,3 etc., and each networking equipment is after networking path testing data bag is received, generation Random number it is different.Further, the random number generated according to the first networking equipment, obtains corresponding forwarding time, such as, when the When the random number of one networking equipment generation is 2, then it is 200 milliseconds to obtain forwarding time, then after 200 milliseconds, to the first networking Path testing data bag is forwarded.
In another embodiment of the present invention, the first networking equipment obtains default number of devices, and according to generation with The remainder being divided by between machine number and default number of devices, obtains corresponding forwarding time, such as, and the random number of generation is 1, in advance If number of devices be 20, then remainder after being divided by is 1, then forwarding time can be 100 milliseconds, then after 100 milliseconds, to networking Path testing data bag is forwarded.
Wherein, default number of devices can be configured according to the number of networking equipment, when networking equipment is more, can be with Larger numerical value is set, such as, when needing to carry out 100 networking equipment networkings, default number of devices can be set to 50, So that networking equipment can successively be forwarded with staggering time.
Forwarding module 912, for according to the forwarding time, being turned to the first networking path testing data bag Hair.
In the embodiment of the present invention, by sending networking path testing data bag, networking path testing data to networking equipment Bag includes being used to indicate that the networking equipment for receiving the first networking path testing data bag forwards the first networking path Test data bag and to the networking control centre send networking response message, therefore, networking equipment is receiving networking road During the test bag of footpath, networking response message is sent to networking control device, allows networking control device according to each networking equipment When equipment identification information, order information and the first networking response message return that the networking response message of return is carried Temporal information configures communication path, therefore communication path can be versatile and flexible according to actual conditions, alternative high, improves The efficiency of communication.
Embodiment 15,
Figure 15 shows the knot of the device of another second networking equipment configuration communication path provided in an embodiment of the present invention Structure, for convenience of description, illustrate only the part related to the embodiment of the present invention.
After networking success, the communication path configuration device includes:Second networking path testing data bag receiving unit 93
Second networking path testing data bag receiving unit 93, sets for receiving the networking control centre and/or networking The second networking path testing data bag that preparation is sent, the second networking path testing data bag includes the ground of the second networking equipment Location information.
In embodiments of the present invention, the second networking path testing data bag can networking control centre send, Can be networking equipment according to the instruction forwarding of configured information come or networking control centre and networking equipment all send out Come, specifically, either networking control centre sends, or networking equipment is sent, and can pass through broadcast Mode receives the second networking path testing data bag.
Networking path testing data packet forwarding unit 94, for the address information according to second networking equipment, forwarding The second networking path testing data bag.
In embodiments of the present invention, networking control centre is asked by receiving the networking that the second networking equipment is sent, and is obtained The address information of the second networking equipment is got, and the address information is added in the second networking path testing data bag, is sent To networking equipment, networking equipment forwards the second networking path testing data bag by the address information of second networking equipment, So that the second networking equipment is after the second networking path testing data bag is received, the second networking is sent to networking control centre Response message, so that networking control centre is according to the second networking response message, it is the second networking equipment configuration communication path, when After networking success, networking control centre can be directed to the situation of the networking equipment newly added, be the device configuration communication newly added Other successful networking equipments of networking and communication path will not be impacted, simple to operate, user only needs to by path Equipment is added, the use threshold of user is reduced.
In the embodiment of the present invention, by sending networking path testing data bag, networking path testing data to networking equipment Bag includes being used to indicate that the networking equipment for receiving the first networking path testing data bag forwards the first networking path Test data bag and to the networking control centre send networking response message, therefore, networking equipment is receiving networking road During the test bag of footpath, networking response message is sent to networking control device, allows networking control device according to each networking equipment When equipment identification information, order information and the first networking response message return that the networking response message of return is carried Temporal information configures communication path, therefore communication path can be versatile and flexible according to actual conditions, alternative high, improves The efficiency of communication.
Embodiment 16,
Figure 16 shows that another communication path provided in an embodiment of the present invention configures the structure of system, for the ease of saying It is bright, it illustrate only part related to the present invention.
Referring to Figure 16, communication configuration system includes:Networking control centre 1 and multiple networking equipments 2.
The networking control centre 1 includes embodiment 9 and arrives the communication path configuration device that embodiment 12 illustrates;And
Networking equipment 2 includes, and embodiment 13 arrives the communication path configuration device that embodiment 15 illustrates.
In the embodiment of the present invention, by sending networking path testing data bag, networking path testing data to networking equipment Bag includes being used to indicate that the networking equipment for receiving the first networking path testing data bag forwards the first networking path Test data bag and to the networking control centre send networking response message, therefore, networking equipment is receiving networking road During the test bag of footpath, networking response message is sent to networking control device, allows networking control device according to each networking equipment When equipment identification information, order information and the first networking response message return that the networking response message of return is carried Temporal information configures communication path, therefore communication path can be versatile and flexible according to actual conditions, alternative high, improves The efficiency of communication.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention Any modifications, equivalent substitutions and improvements made within refreshing and principle etc., should be included in the scope of the protection.

Claims (19)

1. a kind of communication path collocation method, applied to networking control centre, it is characterised in that methods described includes:
The first networking path testing data bag is sent to networking equipment, the first networking path testing data bag includes indicating to believe Breath, the configured information is used for described first group of networking equipment forwarding for indicating to receive the first networking path testing data bag Networking footpath test data bag and to the networking control centre send networking response message;
One or more first networking response messages of the first networking equipment return are received, wherein, the first networking response letter Breath includes the equipment identification information of the networking equipment of the first networking path testing data bag process, order information and described Temporal information when first networking response message is returned;
It is the first networking equipment configuration communication path according to one or more of first networking response messages.
2. communication path collocation method as claimed in claim 1, it is characterised in that described responded according to first networking is believed The step of breath is the first networking equipment configuration communication path, including:
Temporal information when being returned according to the number of the equipment identification information and the first networking response message, according to pre- It is the priority of the default communication path of networking equipment configuration and the communication path if regular;
According to the order information, the information transfer route of the communication path is obtained;
Wherein, the preset rules are, the equipment identification information less, transmission time it is shorter, the communication path it is preferential Level is higher.
3. communication path collocation method as claimed in claim 1, it is characterised in that it is described that the configured information is additionally operable to instruction Networking equipment generates the first networking path testing data bag at random when receiving the first networking path testing data bag Forwarding time, and the first networking path testing data bag is forwarded according to the forwarding time.
4. communication path collocation method as claimed in claim 1, it is characterised in that after networking success, methods described is also wrapped Include:
The networking request of the second networking equipment transmission is received, the request that networks carries the address information of the second networking equipment;
The second networking path testing data bag is sent to the networking equipment, the second networking path testing data bag includes institute The address information of the second networking equipment is stated, so that the networking equipment forwards the second networking path according to the address information Test data bag;
The second networking response message that second networking equipment is sent is received, and according to the second networking response message, is Second networking equipment configures communication path, wherein, the second networking response message is surveyed including the second networking path When the equipment identification information, order information and the second networking response message for trying the networking equipment that packet passes through are returned Temporal information.
5. communication path collocation method as claimed in claim 1, it is characterised in that the first networking path testing data bag Also include the bag identification information of the first networking path testing data bag, the configured information is additionally operable to indicate described first group The networking equipment that networking footpath test data bag is passed through forwards the first networking path testing according to the bag identification information judgment The number of times of packet, and stop forwarding the first networking path testing data bag when the number of times is more than preset times.
6. communication path collocation method as claimed in claim 2, it is characterised in that according to of the equipment identification information Temporal information when number and the first networking response message are returned, is that the networking equipment configuration is pre- according to preset rules If the priority of individual communication path and the communication path includes:
According to the number of the equipment identification information, the repetition situation of equipment identification information, and first networking response letter Temporal information when breath is returned, is described networking equipment configuration default communication path and communication according to preset rules The priority in path.
7. a kind of communication path collocation method, applied to the first networking equipment, it is characterised in that methods described includes:
Receive the first networking path testing data bag that networking control centre and/or networking equipment are sent, the first networking road Footpath test data bag includes configured information, and the configured information is used to indicate to receive the first networking path testing data bag Networking equipment forwards the first networking path testing data bag and sends networking response message to the networking control centre;
According to the configured information, the first networking path testing data bag is forwarded, and send to the networking control centre First networking response message, so that the networking control centre is according to the networking response message, it is the networking equipment configuration Communication path;
Wherein, the first networking response message includes the mark for the networking equipment that the first networking path testing data bag passes through Know temporal information when information, order information and the first networking response message return.
8. communication path collocation method as claimed in claim 7, it is characterised in that described according to the configured information, forwarding The networking path testing data bag, be specially:
According to the configured information, the forwarding time of the first networking path testing data bag is generated at random;
According to the forwarding time, the first networking path testing data bag is forwarded.
9. communication path collocation method as claimed in claim 7, it is characterised in that after networking success, methods described is also wrapped Include:
Receive the second networking path testing data bag that the networking control centre and/or networking equipment are sent, described second group Networking footpath test data bag includes the address information of the second networking equipment;
According to the address information of second networking equipment, the second network path test data bag is forwarded.
10. a kind of communication path configuration device, applied to networking control centre, it is characterised in that described device includes:
First networking path testing data bag transmitting element, for sending the first networking path testing data bag to networking equipment, The first networking path testing data bag includes configured information, and the configured information is used to indicate to receive the first networking road The networking equipment of footpath test data bag forwards the first networking path testing data bag and sent out to the networking control centre Send networking response message;
First networking response message receiving unit, for receiving one or more first networkings response that the first networking equipment is returned Information, wherein, the first networking response message includes the networking equipment that the first networking path testing data bag passes through Temporal information when equipment identification information, order information and the first networking response message return;
Communication path dispensing unit, for according to one or more of first networking response messages, being that first networking is set Standby configuration communication path.
11. communication path configuration device as claimed in claim 10, it is characterised in that the communication path dispensing unit, bag Include:
Communication path configuration module, is returned for the number according to the equipment identification information and the first networking response message Temporal information when returning, is described networking equipment configuration default communication path and communication path according to preset rules Priority;
Information transfer route acquiring module, for the order information according to the networking equipment, obtains the letter of the communication path Cease transmission route;
Wherein, the preset rules are, the identification information of the equipment less, transmission time it is shorter, the communication path it is excellent First level is higher.
12. communication path configuration device as claimed in claim 10, it is characterised in that the configured information is additionally operable to indicate institute State when networking equipment receives the first networking path testing data bag and generate the first networking path testing data at random The forwarding time of bag, and the first networking path testing data bag is forwarded according to the forwarding time.
13. communication path configuration device as claimed in claim 10, it is characterised in that after networking success, described device is also Including:
Networking request reception unit, for receiving the networking request that the second networking equipment is sent, the networking request carries the The address information of two networking equipments;
Second networking path testing data bag transmitting element, for sending the second networking path testing data to the networking equipment Bag, the second networking path testing data bag includes the address information of second networking equipment, so that the networking equipment The second networking path testing data bag is forwarded according to the address information;
Second networking response message receiving unit, for receiving the second networking response message that second networking equipment is sent, And be the second networking equipment configuration communication path according to the second networking response message, wherein, second networking rings Answer information include the equipment identification information of networking equipment, order information that the second networking path testing data bag passes through and Temporal information when the second networking response message is returned.
14. communication path configuration device as claimed in claim 10, it is characterised in that the first networking path testing data Bag also includes the bag identification information of the first networking path testing data bag, and the configured information is additionally operable to indicate described first The networking equipment that networking path testing data bag passes through forwards the first networking path to survey according to the bag identification information judgment The number of times of packet is tried, and the first networking path testing data bag is stopped forwarding when the number of times is more than preset times.
15. communication path collocation method as claimed in claim 11, it is characterised in that the communication path configuration module, also For:
According to the number of the equipment identification information, the repetition situation of equipment identification information, and first networking response letter Temporal information when breath is returned, is described networking equipment configuration default communication path and communication according to preset rules The priority in path.
16. a kind of communication path configuration device, applied to the first networking equipment, it is characterised in that described device includes:
First networking path testing data bag receiving unit, for receive that networking control centre and/or networking equipment send the One networking path testing data bag, the first networking path testing data bag includes configured information, and the configured information is used for Indicate the networking equipment for receiving the first networking path testing data bag forward the first networking path testing data bag with And send networking response message to the networking control centre;
Processing unit, according to the configured information, forwards the first networking path testing data bag, and control to the networking Center sends the first networking response message, so that the networking control centre is according to the networking response message, it is the networking Device configuration communication path;
Wherein, the first networking response message includes the mark for the networking equipment that the first networking path testing data bag passes through Know temporal information when information, order information and the first networking response message return.
17. communication path configuration device as claimed in claim 16, it is characterised in that the processing unit includes:
Forwarding time generation module, for according to the configured information, generating the first networking path testing data bag at random Forwarding time;
Forwarding module, for according to the forwarding time, being forwarded to the first networking path testing data bag.
18. communication path collocation method as claimed in claim 16, it is characterised in that after networking success, described device is also Including:
Second networking path testing data bag receiving unit, sends for receiving the networking control centre and/or networking equipment The second networking path testing data bag, the address of the second networking path testing data bag including the second networking equipment is believed Breath;
Networking path testing data packet forwarding unit, for the address information according to second networking equipment, forwards described the Two network path test data bags.
19. a kind of communication path configures system, it is characterised in that the system includes:
Networking control centre, the networking control centre includes the communication path configuration dress described in the claim 10~15 Put;And
Networking equipment, the networking equipment includes, the selection device of the communication path described in the claim 16~18.
CN201710261810.6A 2017-04-20 2017-04-20 A kind of communication path collocation method, apparatus and system Pending CN107026776A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710261810.6A CN107026776A (en) 2017-04-20 2017-04-20 A kind of communication path collocation method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710261810.6A CN107026776A (en) 2017-04-20 2017-04-20 A kind of communication path collocation method, apparatus and system

Publications (1)

Publication Number Publication Date
CN107026776A true CN107026776A (en) 2017-08-08

Family

ID=59526631

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710261810.6A Pending CN107026776A (en) 2017-04-20 2017-04-20 A kind of communication path collocation method, apparatus and system

Country Status (1)

Country Link
CN (1) CN107026776A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107612778A (en) * 2017-09-29 2018-01-19 深圳市盛路物联通讯技术有限公司 A kind of data acquisition and transmission method and system
CN111741076A (en) * 2020-05-28 2020-10-02 珠海格力电器股份有限公司 Network control device, electrical equipment group control system and network control method thereof
CN111835575A (en) * 2020-08-07 2020-10-27 迈普通信技术股份有限公司 Method and device for preventing equipment from being disconnected, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006245842A (en) * 2005-03-02 2006-09-14 Hitachi Ltd Communication network management apparatus and method thereof
CN102984715A (en) * 2012-12-11 2013-03-20 武汉邮电科学研究院 Networking method for wireless sensor network
CN103069917A (en) * 2011-02-25 2013-04-24 华为技术有限公司 Method for establishing a data path, device and communication system
CN104702468A (en) * 2015-03-05 2015-06-10 华为技术有限公司 Transmission path determining method, device and system
CN106341292A (en) * 2016-02-01 2017-01-18 广州华睿电子科技有限公司 Multi-point networking communication system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006245842A (en) * 2005-03-02 2006-09-14 Hitachi Ltd Communication network management apparatus and method thereof
CN103069917A (en) * 2011-02-25 2013-04-24 华为技术有限公司 Method for establishing a data path, device and communication system
CN102984715A (en) * 2012-12-11 2013-03-20 武汉邮电科学研究院 Networking method for wireless sensor network
CN104702468A (en) * 2015-03-05 2015-06-10 华为技术有限公司 Transmission path determining method, device and system
CN106341292A (en) * 2016-02-01 2017-01-18 广州华睿电子科技有限公司 Multi-point networking communication system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107612778A (en) * 2017-09-29 2018-01-19 深圳市盛路物联通讯技术有限公司 A kind of data acquisition and transmission method and system
CN111741076A (en) * 2020-05-28 2020-10-02 珠海格力电器股份有限公司 Network control device, electrical equipment group control system and network control method thereof
CN111835575A (en) * 2020-08-07 2020-10-27 迈普通信技术股份有限公司 Method and device for preventing equipment from being disconnected, electronic equipment and storage medium
CN111835575B (en) * 2020-08-07 2021-12-17 迈普通信技术股份有限公司 Method and device for preventing equipment from being disconnected, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN106656801B (en) Reorientation method, device and the Business Stream repeater system of the forward-path of Business Stream
CN104937896B (en) The processing method and transponder of address resolution protocol message, controller
CN107026776A (en) A kind of communication path collocation method, apparatus and system
CN109462662A (en) A kind of gateway, Internet of Things net equipment, Internet of things system and control method
CN103974310B (en) The tree topology construction method of radio communication multihop network equipment, device and system
CN107968750A (en) Message transmitting method, device and node
CN103281261B (en) A kind of ethernet communication method and system
CN109842507A (en) A kind of network slice management method and equipment
CN104168582B (en) A kind of microcell base station system, relevant device and data processing method
CN105592559B (en) Method and apparatus based on base station scheduling business datum
CN103731376B (en) Method and system for selecting chain aggregation root ports on stacked equipment
CN110351286A (en) Link flood attack detects response mechanism in a kind of software defined network
CN109474481A (en) Deployed with devices method and system, NM server, mobile terminal, storage medium
CN106911588A (en) Methods, devices and systems for realizing deep-packet detection optimization
CN107770826A (en) A kind of network section system of selection and relevant device
CN106412843A (en) Method, device and system for pairing gateway and terminal
CN106572075A (en) Virtual heterogeneous network convergence method based on on-demand protocol conversion
CN107317707A (en) A kind of SDN topological management method based on vertex covering set
CN103957553B (en) Perceive the TD SCDMA coexisted and merge Transmission system with sensor network
CN105324961B (en) Gre tunneling implementation method, access point and gateway
CN106851655A (en) Wireless network configuration method and its device, access net system
CN104869603A (en) ZigBee routing method suitable for wireless monitoring and controlling network
CN105208617B (en) Method for routing and communication device for fire-fighting and rescue network
CN110268739A (en) Connection control method, device and readable storage medium storing program for executing
CN102316417B (en) A kind of Wi-Fi radio sensing network order distribution method

Legal Events

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

Application publication date: 20170808

RJ01 Rejection of invention patent application after publication