CN110391986A - The routing communication means and system of intelligent door lock - Google Patents

The routing communication means and system of intelligent door lock Download PDF

Info

Publication number
CN110391986A
CN110391986A CN201910827316.0A CN201910827316A CN110391986A CN 110391986 A CN110391986 A CN 110391986A CN 201910827316 A CN201910827316 A CN 201910827316A CN 110391986 A CN110391986 A CN 110391986A
Authority
CN
China
Prior art keywords
door lock
intelligent
routing
intelligent door
gateway
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910827316.0A
Other languages
Chinese (zh)
Other versions
CN110391986B (en
Inventor
薛跃荣
孟宪军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baiyou Technology Co Ltd
Original Assignee
Beijing Baiyou Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baiyou Technology Co Ltd filed Critical Beijing Baiyou Technology Co Ltd
Priority to CN201910827316.0A priority Critical patent/CN110391986B/en
Publication of CN110391986A publication Critical patent/CN110391986A/en
Application granted granted Critical
Publication of CN110391986B publication Critical patent/CN110391986B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • 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/12Shortest path evaluation
    • H04L45/122Shortest path evaluation by minimising distances, e.g. by selecting a route with minimum of number of hops
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation
    • H04L45/123Evaluation of link metrics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation
    • H04L45/124Shortest path evaluation using a combination of metrics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation
    • H04L45/126Shortest path evaluation minimising geographical or physical path length

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention discloses the routing communication means and system of a kind of intelligent door lock, the routing communication means of the intelligent door lock includes: the broadcast message for receiving intelligent gateway and/or other intelligent door locks and being broadcasted;If broadcast message is received from intelligent gateway, signal strength when communicating by itself door lock information and with intelligent gateway generates routing relation table in conjunction with gateway information, and the routing relation table is broadcasted;If broadcast message is received from other intelligent door locks, signal strength when then communicating by itself door lock information and with other corresponding intelligent door locks, which is added in routing relation table, generates new routing relation table, and broadcast new routing relation table, so that other corresponding intelligent door locks send intelligent gateway for new routing relation table according to routing relation table.Intelligent gateway of the present invention can select suitable routing relation table to realize information exchange with corresponding intelligent door lock by the intelligent door lock of surrounding.

Description

The routing communication means and system of intelligent door lock
Technical field
The present invention relates to field of communication technology more particularly to the routing communication means and system of a kind of intelligent door lock.
Background technique
Currently, many long Renting an Apartments, hotel manage for convenience, most of intelligent door locks and basic of being all utilized On be by intelligent gateway and background communication.In traditional technology, intelligent gateway and intelligent door lock networking usually in a manner of star-like, i.e., Intelligent door lock needs to carry out networking with intelligent gateway before communicating with intelligent gateway.However, communicating only one by way of networking Communication path, simultaneously because the load capacity of intelligent gateway is limited, the intelligent door lock quantity of gateway networking after reaching the upper limit, needs The intelligent door lock of networking may can not find suitable gateway networking and become isolated equipment, can not communicate with cloud, to make Normal use is unable at intelligent door lock.
Summary of the invention
It is an object of the invention to for the deficiency in traditional technology, provide a kind of routing communication means of intelligent door lock with And system.
In one embodiment, the present invention provides a kind of routing communication means of intelligent door lock, are applied to intelligent door lock, Method includes:
Receive the broadcast message that intelligent gateway and/or other intelligent door locks are broadcasted;Each broadcast message includes intelligent network The gateway information of pass or routing relation table including gateway information and intelligent gateway to other intelligent door locks;
If broadcast message, received from intelligent gateway, signal when communicating by itself door lock information and with intelligent gateway is strong Degree, to generate routing relation table, which is broadcasted in conjunction with gateway information, and the routing relation table is added Intelligent gateway is sent to response message;
If broadcast message received from other intelligent door locks, by itself door lock information and with other corresponding intelligent door locks Signal strength when communication, which is added in routing relation table, generates new routing relation table, new routing relation table is carried out wide It broadcasts, and the new routing relation table is added to response message and is sent to intelligence using the routed path in new routing relation table Gateway.
In one of the embodiments, further include:
If the routing confirmation message of intelligent gateway transmission is received, to route the routed path and intelligence in confirmation message Gateway is communicated;Wherein, when intelligent gateway receives multiple routing relation tables from intelligent door lock, intelligent gateway utilizes multiple roads According to preset rules the priority orders of routed path are determined in each routing relation table by relation table and by highest priority Routed path is as the routed path in routing confirmation message.
In one of the embodiments, further include:
Response message is being sent after the first preset time, if receiving multiple broadcast letters in the first preset time Breath then determines that the priority of the routed path in the multiple routing relation tables generated by multiple broadcast messages is suitable according to preset rules Sequence, and the routed path with highest priority is added to response message and is sent to intelligent gateway.
The routed path with highest priority is added to response message in one of the embodiments, and is sent to intelligence After gateway further include:
If the routing confirmation message of intelligent gateway is not received in the second preset time, according to the preferential of routed path Grade sequence, is added to response message for the routed path of next priority and is sent to intelligent gateway.
Preset rules in one of the embodiments, are as follows: the signal strength in routing relation table between neighbouring device is all larger than Preset threshold, and routed path length is shorter, then priority is higher;
If routed path length is identical, the summation of signal strength is bigger, and priority is higher.
Preset rules in one of the embodiments, are as follows: the signal strength in routing relation table between neighbouring device is all larger than Preset threshold, and the summation of signal strength is bigger, then priority is higher;
If the summation of signal strength is identical, routed path length is shorter, and priority is higher.
On the other hand, in one embodiment, the present invention also provides a kind of routing communication means of intelligent door lock, packets It includes:
Broadcast includes the broadcast message of the gateway information of intelligent gateway itself;
The response message including routing relation table, routing relation table are received from the intelligent door lock directly communicated with intelligent gateway Routing relation table for the intelligent door lock itself directly communicated with intelligent gateway, or be other intelligent door locks to intelligent gateway Routing relation table;Each routing relation table include communication strength between routed path and intelligent gateway and intelligent door lock and/ Or the communication strength between intelligent door lock.
It is wrapped after receiving response message from the intelligent door lock directly communicated with intelligent gateway in one of the embodiments, It includes:
If receiving multiple response messages of corresponding intelligent door lock, arranged using the routing relation in multiple response messages Table according to preset rules determines in each routing relation table the priority orders of routed path and by the routing road of highest priority Diameter is sent to corresponding intelligent door lock as the routed path in routing confirmation message, and by routing confirmation message.
Routing confirmation message is sent to after corresponding intelligent door lock in one of the embodiments, and includes:
If not receiving the response message of corresponding intelligent door lock within a preset time, according to the priority of routed path Sequentially, the routed path of next priority is added to routing confirmation message and is sent to corresponding intelligent door lock.
On the other hand, in one embodiment, the present invention also provides a kind of routing communication systems of intelligent door lock, including One intelligent gateway and at least one intelligent door lock;
Intelligent door lock executes the routing communication means of the intelligent door lock applied to intelligent door lock at runtime;
Intelligent gateway executes the routing communication means of the intelligent door lock applied to intelligent gateway at runtime.
The routing communication means and system of intelligent door lock of the invention, intelligent door lock receive intelligent gateway and/or other Intelligent door lock broadcast broadcast message, and add upon receipt itself door lock information and and intelligent gateway or with it is corresponding Communication signal strength when other intelligent door locks communicate has generated itself and has then been broadcasted to the routing relation table of intelligent gateway, So as to which the routing relation table is sent to intelligent gateway by corresponding intelligent door lock, the intelligent door lock of surrounding can also basis The routing relation table forms itself to the new routing relation table of intelligent gateway.Various embodiments of the present invention, which can aid in, removes intelligence from Can door lock communicated with intelligent gateway before networking step, the multiple routing relation tables of itself are synchronized to intelligence by each intelligent door lock Gateway, and then intelligent gateway can select suitable routing relation table by the intelligent door lock of surrounding and corresponding intelligent door lock Realize information exchange.The embodiment of the present invention reduces the networking cost of intelligent door lock, meanwhile, it is convenient for intelligent door lock and intelligent gateway Communicated, improve intelligent door lock routing communication flexibility, effectively prevent because with intelligent gateway distance farther out due to cause to lead to The generation of the problem of letter failure.
Detailed description of the invention
In order to illustrate more clearly of technical solution of the present invention, letter will be made to attached drawing needed in the embodiment below It singly introduces, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as to the present invention The restriction of protection scope.In various figures, part is similarly comprised using similar number.
Fig. 1 shows process signal of the embodiment of the present invention applied to the routing communication means of the intelligent door lock of intelligent door lock Figure;
Fig. 2 shows the process signals that the embodiment of the present invention is applied to the routing communication means of the intelligent door lock of intelligent gateway Figure;
Fig. 3 shows the routing communication system architecture schematic diagram of the intelligent door lock of the embodiment of the present invention;
Fig. 4 shows another structural schematic diagram of the routing communication system of the intelligent door lock of the embodiment of the present invention.
Specific embodiment
Below in conjunction with attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete Ground description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.
The component of embodiments of the present invention, which are generally described and illustrated herein in the accompanying drawings can be come with a variety of different configurations Arrangement and design.Therefore, requirement is not intended to limit to the detailed description of the embodiment of the present invention provided in the accompanying drawings below The scope of the present invention of protection, but it is merely representative of selected embodiment of the invention.Based on the embodiment of the present invention, this field skill Art personnel every other embodiment obtained without making creative work belongs to the model that the present invention protects It encloses.
Hereinafter, term " includes ", " having " and its cognate that can be used in various embodiments of the present invention are only It is intended to mean that special characteristic, number, step, operation, the combination of element, component or aforementioned item, and is understood not to first Exclude the combined presence or increase by one of one or more other features, number, step, operation, element, component or aforementioned item A or more feature, number, step, operation, element, component or aforementioned item combination a possibility that.
In addition, term " first ", " second ", " third " etc. are only used for distinguishing description, it is not understood to indicate or imply Relative importance.
Unless otherwise defined, otherwise all terms (including technical terms and scientific terms) used herein have and this The identical meaning of the various normally understood meanings of embodiment one skilled in the art of invention.The term (such as exists The term limited in the dictionary generally used) it is to be interpreted as that there is contain identical with situational meaning in the related technical field Justice and Utopian meaning or meaning too formal will be interpreted as having, unless in various embodiments of the present invention It is clearly defined.
The routing communication means and system of intelligent door lock of the invention are suitable for long Renting an Apartment, hotel, and institute The scene that an intelligent gateway is only installed in the given communication range in place, when intelligent gateway is communicated with intelligent door lock, is not necessarily to With intelligent door lock networking.It, then can be by other intelligent door locks letter when intelligent door lock cannot be communicated directly with intelligent gateway Breath is routed to intelligent gateway, communicates eventually by intelligent gateway with cloud.Each intelligent door lock communication is saved in intelligent gateway Routing iinformation chooses optimal routed path for each intelligent door lock, when one of routed path goes wrong, Ke Yixuan With other routed paths.Intelligent gateway only does data and is packaged distribution processor, does not do the operation of task business layer.
Referring to Fig. 1, in one embodiment, the present invention provides a kind of routing communication means of intelligent door lock, are applied to Intelligent door lock, this method comprises:
Step S110: the broadcast message that intelligent gateway and/or other intelligent door locks are broadcasted is received;Each broadcast message packet Include the gateway information of intelligent gateway or the routing relation table including gateway information and intelligent gateway to other intelligent door locks.
Routing relation table can with but be not limited to include routed path, neighbouring device of the intelligent gateway to other intelligent door locks Between signal strength, i.e. signal strength between the signal strength of intelligent door lock and intelligent gateway and/or adjacent intelligent door lock. Wherein gateway information is the equipment Serial Number of intelligent gateway, and door lock information is the equipment Serial Number of intelligent door lock.
Step S120: if broadcast message received from intelligent gateway, when being communicated by itself door lock information and with intelligent gateway Signal strength routing relation table is generated in conjunction with gateway information, which is broadcasted, and the routing is closed It is that table is added to response message and is sent to intelligent gateway.
Intelligent gateway can regularly send broadcast message, if intelligent door lock can be communicated directly with intelligent gateway, can receive The broadcast message broadcasted to intelligent gateway.Intelligent door lock is after receiving the broadcast message, by the door lock information of itself, He Yuzhi Signal strength when energy gateway communication generates routing relation table in conjunction with gateway information.Then intelligent door lock will include the routing The broadcast message of relation table is broadcasted, and the routing relation table is added to response message and is sent to intelligent gateway.To intelligence Energy gateway can receive the routing relation table and be stored to carry out Path selection when communicating with intelligent door lock.
The embodiment of the present invention enable to intelligent gateway receive the routing relation table of intelligent door lock so as to intelligent door Flexible choice routed path when lock communication.Other intelligent door locks can also receive simultaneously, facilitate the generation of other intelligent door locks New routing relation table, thus by new routing relation table to realize that information passes by the intelligent door lock of surrounding and intelligent gateway It passs to be communicated.
Step S130: if broadcast message received from other intelligent door locks, by itself door lock information and with it is corresponding other Signal strength when intelligent door lock communicates, which is added in routing relation table, generates new routing relation table, by new routing relation Table is broadcasted, and the new routing relation table is added to response message and is sent out using the routed path in new routing relation table Give intelligent gateway.
Intelligent door lock can also receive the broadcast message of other intelligent door locks broadcast.Assuming that by taking intelligent door lock A as an example, intelligence Door lock A can receive other intelligent door locks broadcast broadcast message, then other intelligent door locks be can directly with intelligent door lock A The intelligent door lock of communication.Receive other intelligent door locks broadcast broadcast message after, intelligent door lock A by itself door lock information, With with other corresponding intelligent door locks communicate when signal strength be added in routing relation table, point of addition be it is corresponding its Behind his intelligent door lock, forms new connection grade and obtain intelligent gateway to the routed path of intelligent door lock A and then generate new road It is broadcasted by relation table and as broadcast message.Because each new routing relation table that intelligent door lock A is generated is to be based on connecing What the routing relation table of other the corresponding intelligent door locks broadcast received obtained.Intelligent door lock A is utilizing new routing relation table In routed path when response message is sent to intelligent gateway, may make other corresponding intelligent door locks to receive response letter The road Xi Houyuan is sent to intelligent gateway, i.e., the intelligent door lock on former routed path passes the new routing relation table of intelligent door lock A Intelligent gateway is passed, so that intelligent gateway can be collected into the corresponding each routing relation table of each intelligent door lock.
Intelligent gateway in the embodiment of the present invention is an intelligent gateway being arranged in specified region, and each intelligent door lock is extremely Be stored with less one to the intelligent gateway routing relation table, and the intelligent gateway is also stored with corresponding intelligent door lock to the intelligence The routing relation table of gateway.And then intelligent gateway can be chosen according to the routing relation table being collected into optimal routed path with it is corresponding Intelligent door lock communicated, can be by the intelligence of surrounding thus when intelligent door lock cannot be with the intelligent gateway direct communication Door lock carries out information transmitting.The embodiment of the present invention can reduce the networking cost of intelligent door lock and intelligent gateway, while improve intelligence Energy door lock routes the flexibility communicated with intelligent gateway, further prevents intelligent door lock networking failure and causes to be unable to normal use The problem of occur.
The routing communication means of the intelligent door lock of the embodiment of the present invention, intelligent door lock receive intelligent gateway and/or other intelligence Can door lock broadcast broadcast message, and add upon receipt itself door lock information and and intelligent gateway or with it is corresponding its The communication signal strength when communication of his intelligent door lock has generated itself and has then been broadcasted to the routing relation table of intelligent gateway, from And the routing relation table can be sent to intelligent gateway by corresponding intelligent door lock, the intelligent door lock of surrounding can also be according to this Routing relation table forms itself to the new routing relation table of intelligent gateway.The embodiment of the present invention, which can aid in, removes intelligent door from The networking step before communicating with intelligent gateway is locked, the multiple routing relation tables of itself are synchronized to intelligent network by each intelligent door lock It closes, and then intelligent gateway can select suitable routing relation table with real with corresponding intelligent door lock by the intelligent door lock of surrounding Existing information exchange.The embodiment of the present invention reduces the networking cost of intelligent door lock, meanwhile, convenient for intelligent door lock and intelligent gateway into Row communication, improve intelligent door lock routing communication flexibility, effectively prevent because with intelligent gateway distance farther out due to cause to communicate The generation of the problem of failure.
In a specific embodiment, further includes:
Step S210: if the routing confirmation message of intelligent gateway transmission is received, to route the routing in confirmation message Path is communicated with intelligent gateway;Wherein, when intelligent gateway receives multiple routing relation tables from intelligent door lock, intelligent gateway The priority orders of routed path in each routing relation table are determined according to preset rules using multiple routing relation tables and will most The routed path of high priority is as the routed path in routing confirmation message.
In the present embodiment, equipment of the intelligent gateway as the routed path communicated with corresponding intelligent door lock is confirmed, intelligence Gateway is after receiving each routing relation table of corresponding intelligent door lock, according to preset rules to the routing in each routing relation table Path carries out the arrangement of priority orders, then selects the routed path of highest priority and generates routing confirmation message transmission To corresponding intelligent door lock.Routing confirmation message be used to that corresponding intelligent door lock to be made to receive after to communicating with intelligent gateway Routed path is recognized.
The routing communication means of the intelligent door lock of the embodiment of the present invention, intelligent door lock can take out according to selected by intelligent gateway Optimal routed path communicated with intelligent gateway, can thus when intelligent door lock cannot be with intelligent gateway direct communication Information transmitting is carried out by the intelligent door lock of surrounding.The embodiment of the present invention can reduce the networking of intelligent door lock and intelligent gateway at This, while improving intelligent door lock and routing the flexibility communicated with intelligent gateway, further prevent intelligent door lock networking from failing And lead to the generation for the problem of being unable to normal use.
In a specific embodiment, further includes:
Step S310: response message is being sent after the first preset time, if receiving in the first preset time more A broadcast message then determines the routed path in the multiple routing relation tables generated by multiple broadcast messages according to preset rules Priority orders, and the routed path with highest priority is added to response message and is sent to intelligent gateway.
In the present embodiment, intelligent door lock can be used as the equipment for determining the routed path communicated with intelligent gateway.In order to enable Intelligent door lock itself is communicated with optimal routed path with intelligent gateway, is added to by the new routing relation table generated Response message is sent to outside intelligent gateway, can be according to default rule after the first preset time receives multiple broadcast messages Routed path in each routing relation table is then carried out to the arrangement of priority, and the routed path with highest priority is added It adds to response message and is sent to intelligent gateway, so that intelligent gateway confirms and corresponding intelligent door lock after receiving the response message The routed path of communication, validation testing can be that the routed path is marked.
The routing communication means of the intelligent door lock of the embodiment of the present invention, intelligent door lock can be determined according to multiple routing relation tables With the communication routed path of intelligent gateway, intelligent door lock is enabled to pass through intelligent gateway and cloud by the intelligent door lock of surrounding Carry out information exchange.Meanwhile the step of intelligent door lock and intelligent gateway networking can be saved, prevent intelligent door lock networking from failing and shadow Ring normal use.
In a specific embodiment, routing relation table is after being sent to intelligent gateway for response message further include:
Step S410: if the routing confirmation message of intelligent gateway is not received in the second preset time, according to routing The routed path of next priority is added to response message and is sent to intelligent gateway by the priority orders in path.
The response time that second preset time communicates between intelligent door lock and intelligent gateway, if in the second preset time The information of intelligent gateway transmission is not received, then it represents that the routed path that intelligent door lock is communicated with intelligent gateway is obstructed.Therefore, intelligence Energy door lock chooses the routed path of next priority then to be communicated by this routed path with intelligent gateway.
The routing communication means of the intelligent door lock of the embodiment of the present invention can adjust intelligent door lock and intelligent gateway road in time By the path communicated, the flexibility of intelligent door lock routing communication is improved.
In a specific embodiment, preset rules are as follows: the signal strength in routing relation table between neighbouring device is big In preset threshold, and routed path length is shorter, then priority is higher;
If routed path length is identical, the summation of signal loudness is bigger, and priority is higher.
The routing communication means of the intelligent door lock of the embodiment of the present invention, the signal strength between neighbouring device are greater than default threshold In the case of value, the preferred shortest routed path of routed path length.The preset rules of the embodiment of the present invention can meet communication letter While number strength demand, the communication between intelligent door lock and intelligent gateway is realized with shorter routed path, to can be improved The timeliness of efficiency and the information transmitting of transmission.
In a specific embodiment, preset rules are as follows: the signal strength in routing relation table between neighbouring device is big In preset threshold, and signal strength summation is bigger, then priority is higher;
If signal strength summation is identical, routed path length is shorter, and priority is higher.
The routing communication means of the intelligent door lock of the embodiment of the present invention, the signal strength between neighbouring device are greater than default threshold In the case of value, the maximum routed path of the summation of preferred signal intensity.The preset rules of the embodiment of the present invention can be with signal strength Stronger routed path realizes the communication between intelligent door lock and intelligent gateway, so that the reliability of transmission can be improved.
On the other hand, referring to fig. 2, the embodiment of the invention also provides a kind of routing communication means of intelligent door lock, applications In intelligent gateway, comprising:
Step S610: broadcast includes the broadcast message of the gateway information of intelligent gateway itself.
Intelligent gateway can fixed time broadcast itself broadcast message.
Step S620: receiving the response message including routing relation table from the intelligent door lock directly communicated with intelligent gateway, Routing relation table is the routing relation table of the intelligent door lock itself directly communicated with intelligent gateway, or extremely for other intelligent door locks The routing relation table of intelligent gateway;Each routing relation table includes logical between routed path and intelligent gateway and intelligent door lock Believe the communication strength between intensity and/or intelligent door lock.
The routing communication means of the intelligent door lock of the embodiment of the present invention helps that intelligent door lock and intelligent gateway can be removed from Networking step before communication, intelligent gateway can store and manage each routing relation table of intelligent door lock, can therefrom be intelligent door Lock selects suitable routed path and is communicated.The embodiment of the present invention reduces the networking cost of intelligent door lock, convenient for intelligence Door lock is communicated with intelligent gateway, can be by the intelligence of surrounding when intelligent door lock cannot be with the intelligent gateway direct communication Door lock carry out information transmitting improves intelligent door lock routing communication flexibility, effectively prevent because with intelligent gateway distance farther out due to The generation for the problem of leading to communication failure.
In a specific embodiment, it is wrapped after receiving response message from the intelligent door lock directly communicated with intelligent gateway It includes:
Step S710: if receiving multiple response messages of corresponding intelligent door lock, using in multiple response messages Routing relation list according to preset rules determine in each routing relation table the priority orders of routed path and by highest it is preferential The routed path of grade is sent to corresponding intelligent door as the routed path in routing confirmation message, and by routing confirmation message Lock.
Intelligent gateway closes each routing after receiving each routing relation table of corresponding intelligent door lock, according to preset rules Routed path table in system carries out the arrangement of priority orders, then selects the routed path of highest priority and generates routing Confirmation message is sent to corresponding intelligent door lock.Routing confirmation message for after receiving corresponding intelligent door lock to intelligence The routed path of energy gateway communication is recognized.
The routing communication means of the intelligent door lock of the embodiment of the present invention, enables to intelligent door lock by the intelligent door of surrounding Lock carries out information exchange by intelligent gateway and cloud.Meanwhile the step of intelligent door lock and intelligent gateway networking can be saved, it prevents Intelligent door lock networking fails and influences normal use.
In a specific embodiment, routing confirmation message is sent to after corresponding intelligent door lock and includes:
Step S810: if not receiving the response message that corresponding intelligent door lock is sent in the second preset time, root According to the priority orders of routed path, the routed path of next priority is added to routing confirmation message and is sent to corresponding intelligence It can door lock.
The routing communication means of the intelligent door lock of the embodiment of the present invention can adjust intelligent door lock and intelligent gateway road in time By the path communicated, the flexibility of intelligent door lock routing communication is improved.
Referring to Fig. 3, in one embodiment, the present invention also provides a kind of routing communication systems of intelligent door lock, include one Intelligent gateway 310 and at least one intelligent door lock 320;
Intelligent door lock 320 executes the routing communication means of the intelligent door lock applied to intelligent door lock at runtime;
Intelligent gateway 310 executes the routing communication means of the intelligent door lock applied to intelligent gateway at runtime.
The routing communication system of the intelligent door lock of the embodiment of the present invention, intelligent door lock receive intelligent gateway and/or other intelligence Can door lock broadcast broadcast message, and add upon receipt itself door lock information and and intelligent gateway or with it is corresponding its The communication signal strength when communication of his intelligent door lock has generated itself and has then been broadcasted to the routing relation table of intelligent gateway, from And the routing relation table can be sent to intelligent gateway by corresponding intelligent door lock, the intelligent door lock of surrounding can also be according to this Routing relation table forms itself to the new routing relation table of intelligent gateway.The embodiment of the present invention, which can aid in, removes intelligent door from The networking step before communicating with intelligent gateway is locked, the multiple routing relation tables of itself are synchronized to intelligent network by each intelligent door lock It closes, and then intelligent gateway can select suitable routing relation table with real with corresponding intelligent door lock by the intelligent door lock of surrounding Existing information exchange.The embodiment of the present invention reduces the networking cost of intelligent door lock, meanwhile, convenient for intelligent door lock and intelligent gateway into Row communication, improve intelligent door lock routing communication flexibility, effectively prevent because with intelligent gateway distance farther out due to cause to communicate The generation of the problem of failure.
Referring to fig. 4, as a preferred embodiment, the routing communication system of the intelligent door lock of the embodiment of the present invention, including One intelligent gateway G and intelligent door lock N1-N9, below with intelligent gateway G selection be with the intelligent door lock N9 routed path communicated Example is illustrated.
Assuming that other N3-N9 cannot can then pass through the intelligence of surrounding with intelligent gateway G direct communication other than N1 and N2 Door lock is communicated with intelligent gateway G realization.Further, it is assumed that there is relationship on two roads that intelligent gateway G stores intelligent door lock N9 Table, including routed path 1:G → N1 → N8 → N9, routed path 2:G → N2 → N5 → N4 → N9.Then intelligent gateway G is first Priority ranking is carried out by preset rules, it is assumed that 1 priority of routed path is higher than routed path 2.Intelligent gateway G is according to confirmation Routed path 1 is sent to N9 for confirmation message is routed, and N9 can be marked after receiving to confirm the routed path, and then intelligent door lock N9 It is identified with the intelligent gateway G routed path communicated.When intelligent gateway G sends information to intelligent door lock N9, information is successively passed through It crosses N1, N8 and passes to N9.Assuming that (communication timeout) intelligent gateway G can not receive the response letter of N9 in finite time when N8 failure Breath, it tries communicated by the routed path 2 of next priority with intelligent gateway N9, to cloud transmission failure if all unsuccessful Alarm signal.
In several embodiments provided herein, it should be understood that disclosed device and method can also pass through Other modes are realized.The apparatus embodiments described above are merely exemplary, for example, flow chart and structure in attached drawing Figure shows the system frame in the cards of the device of multiple embodiments according to the present invention, method and computer program product Structure, function and operation.In this regard, each box in flowchart or block diagram can represent a module, section or code A part, a part of the module, section or code includes one or more for implementing the specified logical function Executable instruction.It should also be noted that function marked in the box can also be to be different from the implementation as replacement The sequence marked in attached drawing occurs.For example, two continuous boxes can actually be basically executed in parallel, they are sometimes It can execute in the opposite order, this depends on the function involved.It is also noted that in structure chart and/or flow chart The combination of each box and the box in structure chart and/or flow chart, can function or movement as defined in executing it is dedicated Hardware based system realize, or can realize using a combination of dedicated hardware and computer instructions.
In addition, each functional module or unit in each embodiment of the present invention can integrate one independence of formation together Part, be also possible to modules individualism, an independent part can also be integrated to form with two or more modules.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be intelligence Can mobile phone, personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or Part steps.And storage medium above-mentioned include: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), Random access memory (RAM, Random Access Memory), magnetic or disk etc. be various to can store program code Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.

Claims (10)

1. a kind of routing communication means of intelligent door lock, which is characterized in that be applied to intelligent door lock, which comprises
Receive the broadcast message that intelligent gateway and/or other intelligent door locks are broadcasted;Each broadcast message includes the intelligent network The gateway information of pass or routing relation including the gateway information and the intelligent gateway to other intelligent door locks Table;
If the broadcast message is received from the intelligent gateway, when communicating by itself door lock information and with the intelligent gateway Signal strength routing relation table is generated in conjunction with the gateway information, which is broadcasted, the road Bing Jianggai Response message is added to by relation table and is sent to the intelligent gateway;
If the broadcast message received from other described intelligent door locks, by itself door lock information and with it is corresponding it is described other Signal strength when intelligent door lock communicates is added in the routing relation table and generates new routing relation table, will be described new Routing relation table is broadcasted, and the new routing relation table is added to response message using in the new routing relation table Routed path be sent to the intelligent gateway.
2. the routing communication means of intelligent door lock according to claim 1, which is characterized in that further include:
If receiving the routing confirmation message that the intelligent gateway is sent, in the routing confirmation message routed path with The intelligent gateway is communicated;Wherein, when the intelligent gateway receives multiple routing relation tables from the intelligent door lock, institute It states intelligent gateway and determines the excellent of routed path in each routing relation table according to preset rules using the multiple routing relation table First grade is sequentially and using the routed path of highest priority as the routed path in the routing confirmation message.
3. the routing communication means of intelligent door lock according to claim 1, which is characterized in that further include:
The response message is being sent after the first preset time, if receiving multiple broadcast in first preset time Information then determines the excellent of the routed path in the multiple routing relation tables generated by the multiple broadcast message according to preset rules First grade sequence, and the routed path with highest priority is added to the response message and is sent to the intelligent gateway.
4. the routing communication means of intelligent door lock according to claim 3, which is characterized in that will be with highest priority Routed path is added to the response message and is sent to after the intelligent gateway further include:
If the routing confirmation message of the intelligent gateway is not received in the second preset time, according to routed path The routed path of next priority is added to the response message and is sent to the intelligent gateway by priority orders.
5. the routing communication means of intelligent door lock according to claim 2 or 3, which is characterized in that the preset rules are as follows: Signal strength in routing relation table between neighbouring device is all larger than preset threshold, and routed path length is shorter, then priority is got over It is high;
If routed path length is identical, the summation of signal strength is bigger, and priority is higher.
6. the routing communication means of intelligent door lock according to claim 2 or 3, which is characterized in that the preset rules are as follows: Signal strength in routing relation table between neighbouring device is all larger than preset threshold, and the summation of signal strength is bigger, then priority It is higher;
If the summation of signal strength is identical, routed path length is shorter, and priority is higher.
7. a kind of routing communication means of intelligent door lock is applied to intelligent gateway characterized by comprising
Broadcast includes the broadcast message of the gateway information of intelligent gateway itself;
The response message including routing relation table is received from the direct intelligent door lock communicated with the intelligent gateway, the routing is closed It is the routing relation table that table is the intelligent door lock directly communicated with intelligent gateway itself, or is other intelligent door locks to institute State the routing relation table of intelligent gateway;Each routing relation table include routed path and the intelligent gateway and intelligent door lock it Between communication strength and/or intelligent door lock between communication strength.
8. the routing communication means of intelligent door lock according to claim 7, which is characterized in that from the direct and intelligent network The intelligent door lock for closing communication receives response message and includes: later
If receiving multiple response messages of corresponding intelligent door lock, closed using the routing in multiple response messages Series of tables according to preset rules determines in each routing relation table the priority orders of routed path and by the road of highest priority By path as the routed path in routing confirmation message, and the routing confirmation message is sent to the corresponding intelligence Door lock.
9. the routing communication means of intelligent door lock according to claim 8, which is characterized in that by the routing confirmation message Be sent to the corresponding intelligent door lock includes: later
If the response message of the corresponding intelligent door lock is not received within a preset time, according to the described excellent of routed path First grade sequence, is added to the routing confirmation message for the routed path of next priority and is sent to the corresponding intelligent door Lock.
10. a kind of routing communication system of intelligent door lock, which is characterized in that including an intelligent gateway and at least one intelligent door Lock;
The intelligent door lock at runtime perform claim require 1 to 6 any one described in intelligent door lock routing communication means;
The intelligent gateway at runtime perform claim require 7 to 9 any one described in intelligent door lock routing communication means.
CN201910827316.0A 2019-09-03 2019-09-03 Routing communication method and system of intelligent door lock Active CN110391986B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910827316.0A CN110391986B (en) 2019-09-03 2019-09-03 Routing communication method and system of intelligent door lock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910827316.0A CN110391986B (en) 2019-09-03 2019-09-03 Routing communication method and system of intelligent door lock

Publications (2)

Publication Number Publication Date
CN110391986A true CN110391986A (en) 2019-10-29
CN110391986B CN110391986B (en) 2021-04-20

Family

ID=68289742

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910827316.0A Active CN110391986B (en) 2019-09-03 2019-09-03 Routing communication method and system of intelligent door lock

Country Status (1)

Country Link
CN (1) CN110391986B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101577954A (en) * 2009-04-30 2009-11-11 南京正保通信网络技术有限公司 Wireless multi-hop ad hoc network communication method
CN101594658A (en) * 2009-07-10 2009-12-02 浙江大学 802.11 multi-interface wideband wireless mesh network method for routing
WO2013158589A1 (en) * 2012-04-18 2013-10-24 Draker, Inc. Establishing a mesh network
CN103414643A (en) * 2013-07-22 2013-11-27 深圳市金正方科技股份有限公司 Acquisition terminals and method for maintaining smart power grid routing topological structure
CN105263175A (en) * 2015-10-29 2016-01-20 华为技术有限公司 Networking method for intelligent equipment, intelligent equipment and mobile terminal
CN106231633A (en) * 2016-10-10 2016-12-14 广东工业大学 A kind of Ad hoc communication network optimization method and system
CN107393069A (en) * 2017-07-17 2017-11-24 曹迪 Access control management method and system based on bluetooth MESH networking core technologies
CN108966303A (en) * 2018-06-22 2018-12-07 北京格瑞空间科技有限公司 A kind of loaming method of the wireless internet of things equipment based on LoRa
CN110139224A (en) * 2019-04-11 2019-08-16 深圳市航天华拓科技有限公司 A kind of wireless self-networking method suitable for environment of internet of things

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101577954A (en) * 2009-04-30 2009-11-11 南京正保通信网络技术有限公司 Wireless multi-hop ad hoc network communication method
CN101594658A (en) * 2009-07-10 2009-12-02 浙江大学 802.11 multi-interface wideband wireless mesh network method for routing
WO2013158589A1 (en) * 2012-04-18 2013-10-24 Draker, Inc. Establishing a mesh network
CN103414643A (en) * 2013-07-22 2013-11-27 深圳市金正方科技股份有限公司 Acquisition terminals and method for maintaining smart power grid routing topological structure
CN105263175A (en) * 2015-10-29 2016-01-20 华为技术有限公司 Networking method for intelligent equipment, intelligent equipment and mobile terminal
CN106231633A (en) * 2016-10-10 2016-12-14 广东工业大学 A kind of Ad hoc communication network optimization method and system
CN107393069A (en) * 2017-07-17 2017-11-24 曹迪 Access control management method and system based on bluetooth MESH networking core technologies
CN108966303A (en) * 2018-06-22 2018-12-07 北京格瑞空间科技有限公司 A kind of loaming method of the wireless internet of things equipment based on LoRa
CN110139224A (en) * 2019-04-11 2019-08-16 深圳市航天华拓科技有限公司 A kind of wireless self-networking method suitable for environment of internet of things

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
KAREL HEURTEFEUX等: ""Is RSSI a Good Choice for Localization in Wireless Sensor network?"", 《IEEE》 *
王林珠等: ""基于AdHoc的有效广播路由算法"", 《吉宁大学学报(信息科学版)》 *

Also Published As

Publication number Publication date
CN110391986B (en) 2021-04-20

Similar Documents

Publication Publication Date Title
CN101390321B (en) Techniques for detecting loop-free paths that cross routing information boundaries
JP5756908B2 (en) Multi-hop communication system, handset
CN102474903A (en) Low latency mesh network
CN108259283A (en) Wireless device communication means and system based on wide area network Mesh technologies
US8228845B2 (en) Sensor node of low power for monitoring application in mesh sensor network using time division access scheme, and routing method thereof
CN110244649A (en) PLC internal data acquisition method and system
CN104168194A (en) Cluster network path control method equipment and cluster network system
EP2991288A1 (en) Method and device for determining next hop and distributing routing information
CN109314975A (en) The operating method of communication node in cordless communication network, associated communication node, communication system and storage system
CN110535767A (en) Intelligent door lock, intelligent gateway and the communication means in cloud and system
CN110391986A (en) The routing communication means and system of intelligent door lock
JP5673303B2 (en) Wireless terminal device, wireless system, and wireless communication method
CN107770847A (en) Method for network access, access device and terminal device
CN102665227B (en) Gateway-based relaying method based on wireless network
CN108696386B (en) System, configuration server, electronic device and configuration method of mesh communication network
US9098994B2 (en) Electric meter network system, electric meter node and broadcasting method thereof
CN110739987A (en) Low-voltage power line broadband carrier communication system
EP2840859A1 (en) Method, system and terminal for tourism scenic area notification based on ad hoc network
JP5834250B2 (en) Multi-hop communication system, hybrid slave, and communication path selection method in multi-hop communication system
CN104079451B (en) A kind of method and apparatus for finding optical module
JP5799236B2 (en) Multi-hop communication system, hybrid slave, and communication path selection method in multi-hop communication system
JP5685305B2 (en) Multi-hop communication system, hybrid slave, and communication path selection method in multi-hop communication system
JP5807210B2 (en) Hybrid handset, multi-hop communication system, program
CN113316177B (en) Decision communication system and decision communication method for intelligent group
JP7350929B2 (en) Wireless communication device, communication system, wireless communication method and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant