CN109787825A - Internet of things equipment adaptive configuring method, system, storage medium and equipment - Google Patents

Internet of things equipment adaptive configuring method, system, storage medium and equipment Download PDF

Info

Publication number
CN109787825A
CN109787825A CN201910033190.XA CN201910033190A CN109787825A CN 109787825 A CN109787825 A CN 109787825A CN 201910033190 A CN201910033190 A CN 201910033190A CN 109787825 A CN109787825 A CN 109787825A
Authority
CN
China
Prior art keywords
node
internet
equipment
things
smart machine
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
CN201910033190.XA
Other languages
Chinese (zh)
Other versions
CN109787825B (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.)
Shandong Jianzhu University
MH Robot and Automation Co Ltd
Original Assignee
Shandong Jianzhu University
MH Robot and Automation 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 Shandong Jianzhu University, MH Robot and Automation Co Ltd filed Critical Shandong Jianzhu University
Priority to CN201910033190.XA priority Critical patent/CN109787825B/en
Publication of CN109787825A publication Critical patent/CN109787825A/en
Application granted granted Critical
Publication of CN109787825B publication Critical patent/CN109787825B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

Present disclose provides a kind of internet of things equipment adaptive configuring method, system, storage medium and equipment, including several Internet of things node, several smart machines and server, wherein each Internet of things node is wirelessly connected multiple intelligent sockets by 433MHz, and receives the information of the smart machine in affiliated area;Server receives the control instruction that client is sent, and message is identified to all Internet of things node broadcast nodes, receive the identification information of each Internet of things node feedback, according to optimal node, suboptimum node and standby node corresponding to the feedback duration of each node and each smart machine of feedback information comprehensive selection, and virtual partition is carried out to each smart machine according to the sequence of selection, by Ethernet connect corresponding Internet of things node will data distributing relevant to control instruction to corresponding smart machine, carry out the management and control of equipment.

Description

Internet of things equipment adaptive configuring method, system, storage medium and equipment
Technical field
This disclosure relates to a kind of internet of things equipment adaptive configuring method, system, storage medium and equipment.
Background technique
Only there is provided background technical informations relevant to the disclosure for the statement of this part, it is not necessary to so constitute first skill Art.
At this stage, technology of Internet of things has been widely used, while bringing many convenient, smart machine module and The quantity of intelligent sensing module also substantially increases, and this requires entire Internet of Things framework to have preferable communication stability.
Currently, most of repeaters of each intelligent object and server communication are Internet of things node, and Internet of things node with The correspondence of intelligent object is generally the static relation of Manual definition, and an equipment is only capable of by a node administration, when certain The intelligence sensor module paralysis for administering the node is not available by a node damage completely, and the communication for affecting Internet of Things is steady It is qualitative.
In addition, many smart machines are all stored with the essential information and service condition of user, there are the privacy information of user, And some smart machines is more expensive or use process is dangerous, needs to assign special permission.How to realize to Internet of Things Net equipment permission and information security management are also a urgent problem to be solved.
Summary of the invention
The disclosure to solve the above-mentioned problems, proposes a kind of internet of things equipment adaptive configuring method, system, storage are situated between Matter and equipment.
According to some embodiments, the disclosure is adopted the following technical scheme that
A kind of internet of things equipment self-adaptive configuration system, including multiple Internet of things node, multiple smart machines and server, Wherein each Internet of things node connects multiple intelligent sockets, and the smart machine in corresponding region is connected to corresponding intelligent socket On;
Between the corresponding smart machine of the Internet of things node by be wirelessly connected, the Internet of things node with it is described Server via Ethernet connection;
Each smart machine receives control instruction, to periphery broadcast node verification information, and receives the anti-of Internet of things node Verification information is presented, duration, determines the optimal node, suboptimum node and standby node of first scheme according to response;
The server identifies message to all Internet of things node broadcast nodes, receives the knowledge of each Internet of things node feedback Other information, according to the response time of each node select each smart machine corresponding to alternative plan optimal node, suboptimum Node and standby node;
The server is configured as comprehensive first scheme and alternative plan, the smart machine intervened according to each node Load quantity determines final optimal node, suboptimum node and standby node, according to determining sequence to each smart machine and The communication relations of corresponding Internet of things node are reconfigured, will be relevant to control instruction by corresponding Internet of things node Data distributing is to corresponding smart machine.
It is limited as further, each smart machine is by one or more node administrations and control, each node control One or more equipment, each user management control one or more equipment, the ID of the ID of node, the ID of smart machine and user It is unique.
It is limited as further, has the two dimensional code for containing this facility information and verifying on each smart machine Code, two dimensional code and identifying code are all unique, and the implication relation of smart machine and each Internet of things node includes three parts: optimal section Point relationship, suboptimum node relationships and standby node relationship, wherein base station of the optimal node as management and control devices, if optimal node goes out Existing failure, when corresponding Internet of things node and the equipment can not establish connection, smart machine be configured as selection suboptimum node and/or Standby node is communicated.
It is limited as further, disposes regular library on the server, plurality of devices management is provided in rule base Mode or method, when certain or some equipment state is met certain condition, system will automatically generate equipment control instruction, and The instruction is issued to node and executes corresponding equipment control.
It is limited as further, each smart machine and user have oneself unique ID, and each equipment has uniquely User's ownership is pertaining only to an owner;The unique method that other users obtain the rights management of the equipment is the equipment Owner shares the equipment, and user, which shares, may be configured as timing and not timing, realizes the sharing of multiple other users, and real Existing rights management, rights management include it is measurable and controllable, uncontrollable two kinds can be surveyed.
It is limited as further, is deployed with database on the server, be configured as storage information, specifically include use The relation information of family information, facility information and user equipment and node, smart machine upload environmental information, indoor electric appliance electricity Gas parameter information, warning message and SOE record information.
A kind of internet of things equipment adaptive configuring method, each smart machine respectively to periphery broadcast node verification information, And receive the feedback validation information of Internet of things node, duration according to response, determine the optimal node of first scheme, suboptimum node and Standby node;
Server identifies message to all Internet of things node broadcast nodes, receives the identification letter of each Internet of things node feedback Breath, according to the response time of each node select each smart machine corresponding to alternative plan optimal node, suboptimum node And standby node;
Comprehensive first scheme and alternative plan, the smart machine load quantity intervened according to each node determine final Optimal node, suboptimum node and standby node, according to determining sequence to each smart machine and corresponding Internet of things node Communication relations reconfigured, by corresponding Internet of things node will data distributing relevant to control instruction to corresponding Smart machine is managed and controls.
It is limited as further, periodically to surrounding broadcast node verification message, repeats to determine smart machine and each The relationship of a Internet of things node, dynamic update the corresponding optimal, suboptimum of smart machine and standby node, to guarantee the stabilization of communication Property.
It is limited as further, the relationship determination process of the smart machine and each Internet of things node is device service Device comprehensive selection mechanism, specifically includes:
The equipment that node discovery periphery is newly added, and relationship verifying communication is carried out, record the feedback information of each equipment;
Node successively uploads onto the server the response time of each equipment, while uploading the information of this node;
Server identifies message to all node broadcasts nodes;
Node receives identification message, starts to carry out automatic identification to surrounding devices;
The facility information recognized is fed back to server by node, while feeding back the relevant information of this node;
Server records the communication data and each nodal information of node and equipment, carries out calculation processing to it;
Server is configured as the quantity of optimal node according to the interdependent node of equipment, select the node of minimum number for The optimal node for the equipment being newly added store while being handed down to pair likewise, setting suboptimum node and standby node Equipment is answered to confirm implication relation.
A kind of computer readable storage medium, wherein being stored with a plurality of instruction, described instruction is suitable for by terminal device Reason device loads and executes the internet of things equipment adaptive configuring method.
A kind of terminal device, including processor and computer readable storage medium, processor is for realizing each instruction;It calculates Machine readable storage medium storing program for executing is suitable for being loaded by processor and being executed the internet of things equipment for storing a plurality of instruction, described instruction Adaptive configuring method.
Compared with prior art, the disclosure has the beneficial effect that
The disclosure filters out optimal node, the excellent section of two schemes by two kinds of mechanism from bottom to top and from top to bottom Point and standby node are just arranged in order according to this if two schemes are consistent, if two schemes are inconsistent, comprehensive alternative side The load quantity of each node in case, rationally determines optimal node, excellent node and standby node, can be flexibly to smart machine and object Networked node carries out virtual grate region, and the response speed and communication streams degree of information is effectively guaranteed.
The disclosure is by itself determining the affiliated node of smart machine, the direct management equipment of user, without by manually determining The incidence relation of the control relationship of node and equipment, node and equipment is established automatically by system, and user passes through registration user, registration The management to equipment can be realized in smart machine, after smart machine powers on the system of being linked into, without user's operation, it can be achieved that intelligence Energy equipment self-organizing, establishes the incidence relation of user, smart machine and node.
The disclosure is by being divided into optimal node, suboptimum node and spare section for Internet of things node corresponding to smart machine Point, and smart machine and the matching one by one of Internet of things node, Dynamic Matching are carried out using the sequence, not only greatly reduce node Quantity, and the dependence of node is greatly reduced, solves user and the privacy authority and Operating Complexity of equipment are asked Topic.
The smart machine of the disclosure periodically can selectively choose available Internet of things node as with server Communication node, communication priority are selected according to optimal node, suboptimum node and standby node relationship, i.e., only work as optimal section Just suboptimum node can be re-replaced automatically and standby node is communicated when point damage, ensure that the high efficiency of communication and high-quality Amount.
Detailed description of the invention
The accompanying drawings constituting a part of this application is used to provide further understanding of the present application, and the application's shows Meaning property embodiment and its explanation are not constituted an undue limitation on the present application for explaining the application.
Fig. 1 is the structural relation figure of the user of the disclosure, smart machine and node;
Fig. 2 is the smart machine of the disclosure and the structural relation figure of node;
Fig. 3 is that the user of the disclosure shares smart machine permission figure;
Specific embodiment:
The disclosure is described further with embodiment with reference to the accompanying drawing.
It is noted that following detailed description is all illustrative, it is intended to provide further instruction to the application.Unless another It indicates, all technical and scientific terms used herein has usual with the application person of an ordinary skill in the technical field The identical meanings of understanding.
It should be noted that term used herein above is merely to describe specific embodiment, and be not intended to restricted root According to the illustrative embodiments of the application.As used herein, unless the context clearly indicates otherwise, otherwise singular Also it is intended to include plural form, additionally, it should be understood that, when in the present specification using term "comprising" and/or " packet Include " when, indicate existing characteristics, step, operation, device, component and/or their combination.
In the disclosure, term for example "upper", "lower", "left", "right", "front", "rear", "vertical", "horizontal", " side ", The orientation or positional relationship of the instructions such as "bottom" is to be based on the orientation or positional relationship shown in the drawings, only to facilitate describing this public affairs The relative for opening each component or component structure relationship and determination, not refers in particular to either component or element in the disclosure, cannot understand For the limitation to the disclosure.
In the disclosure, term such as " affixed ", " connected ", " connection " be shall be understood in a broad sense, and indicate may be a fixed connection, It is also possible to be integrally connected or is detachably connected;It can be directly connected, it can also be indirectly connected through an intermediary.For The related scientific research of this field or technical staff can determine the concrete meaning of above-mentioned term in the disclosure as the case may be, It should not be understood as the limitation to the disclosure.
In terms of solving the problems, such as that node increases reliability decrease and user right privacy, one kind of the present embodiment proposition Apparatus self-adaptation access and sharing method suitable for a kind of Internet of things system, not only greatly reduce the quantity of node, but also The dependence of node is greatly reduced, solves the problems, such as user to the privacy authority and Operating Complexity of equipment.
A kind of Internet of things system, it is intended to the base station functions for efficiently using Internet of things node, by several smart machines and service Device is linked, and data transmission channel is formed.The information of smart machine acquisition can be automatic by being wirelessly connected Internet of things node It uploading onto the server, user not only can send server for user information by client application and store, Terminal operation instruction can be sent by client, server receives instruction can be according to database, rule base and application service etc. The information of storage regenerates a series of background commands, and connects Internet of things node by Ethernet and be issued to smart machine, intelligence Energy equipment makes corresponding response, completes the management and control of equipment.
The system includes several Internet of things node, and several smart machines, server, user can by logging in Internet of things system To directly obtain the control permission to particular device.Wherein:
Internet of things node, is set to be wirelessly connected several equipment by 433MHz and connects server with by Ethernet Intermediate " connector ".The data that equipment collects can be transmitted to server by protocol conversion by Internet of things node;It can also It is transmitted to corresponding equipment, equipment response instruction by protocol conversion with the instruction for issuing server, and then realizes the power of equipment Limit management.
Several smart machines are set to power on the intelligent mould that can be wirelessly connected into system automatically by 433MHz Block.Intelligent object can acquire the volume of data in environment, can also collect other unintelligent devices associated there Partial parameters, and the data being collected into are uploaded onto the server through corresponding Internet of things node;Intelligent object can also connect simultaneously The server instruction forwarded from Internet of things node is received, the equipment rights management of user is realized in response instruction.
Server, be set to can to carry out by Ethernet and Internet of things node interconnection and with client interactive information, portion There are database, rule base, application service etc. in administration.Server stores user to database in the information that client is keyed in, and Algorithm operation is carried out in rule base and forms a series of new information, and new information can be to further storage, shape in the database It completes the management to equipment at instruction or returns in application service to carry out data analysis application and client end interface displaying etc..
Certainly, existing algorithm can be used in rule, the application service etc. in rule base used in the present embodiment.
Database in server is set to storage information, including user information, facility information and user equipment and section In addition the relation information of point can also store environmental information, the electric parameter information of indoor electric appliance, alarm signal of smart machine upload Breath and SOE record information etc..
Rule base in server is set to the intelligent algorithm library comprising series of rules, and function is can will to apply The information that program and equipment transmit carries out algorithm and regular operation, forms new instruction and information, and carry out data inventory Storage carries out observing and controlling to undefined term equipment.
Application service in server is set to be communicated and interacted with Internet of things node and client, can be by Internet of Things The data that net node uploads are handled, are stored, being analyzed, application and client are shown.
User accesses Internet of things system, and necessary operation is to carry out user's registration at cell phone end or WEB client side.With Family needs user that the information such as user name, password, mailbox, cell-phone number and remarks, row information of going forward side by side is arranged in register interface when registering It submits.Cell phone end and WEB client side backstage directly connect with server, and the information that user submits can store again by encryption Into the database of server.
After client logs in registered user name, client background is connected with Internet of things system user automatically.With Family can register certain smart machine in this client, and the login user and smart machine establish confirmation relationship, acquisition pair The direct administration authority of equipment, other users can not obtain the administration authority of the equipment by re-registration.
Smart machine energization access Internet of things system by registration can realize that apparatus self-adaptation responds, and smart machine can be certainly Dynamic to be broadcast periodically node verification information, all nodes for receiving broadcast carry out equipment identification, all to recognize the equipment The message that is authenticated to equipment sending device of node, equipment three nodes of conditional selection are to communicate, respectively optimal section Point, suboptimum node and standby node confirm implication relation between equipment and three nodes.Optimal node can be by equipment and node Implication relation is reported to server, carries out database purchase and client is shown.Wherein optimal node is managed as server The base station of equipment can not make the equipment and when server establishes connection if optimal node breaks down, the equipment and server into Row communication can select suboptimum node and standby node, as first scheme.The transmission of device periodically is broadcasted, and constantly dynamic updates Implication relation and database purchase.
The smart machine for accessing Internet of things system realizes apparatus self-adaptation response.The automatic broadcast node of server not timing Identify message, all nodes for receiving identification message start to carry out automatic identification to surrounding devices, and node is set what is recognized Standby information feeds back to server, while feeding back the relevant information of this node.Server records the feedback information duration of all nodes, And feedback information is handled, it is respectively optimal node, suboptimum section that the communication node of corresponding equipment is selected according to processing result Point and standby node store the correspondence of device node into database, and pass through optimal node for three nodal informations It is handed down to corresponding equipment, completes the implication relation confirmation of equipment.Wherein base station of the optimal node as management and control devices, if optimal Node breaks down, and can not make server and when the equipment establishes connection, and the equipment and server can select suboptimum node and standby It is communicated with node, as alternative plan.Server periodically identifies message, constantly dynamic more new equipment to node broadcasts Implication relation and database purchase.
When first scheme is consistent with the selection result of alternative plan, determine that the program is final scheme.
But if can theoretically choose any one kind of them as final when first scheme and the inconsistent the selection result of alternative plan Scheme.
It is of course also possible to which comprehensive two schemes, check inconsistent node.
For example, the optimal node of first scheme is A, suboptimum node is B, standby node C, and the optimal section of alternative plan Point is R, and suboptimum node is E, standby node C, then can determine that alternate node is C, compares that two nodes of A, R have been at present The quantity or total load of the smart machine of configuration.Selecting that lesser node of above-mentioned parameter is optimal node, remains and next is Suboptimum node.
Alternatively, compare two suboptimums node B, E again, according to above-mentioned competition principle, select one for suboptimum node.
As another possible embodiments, the smart machine energization access Internet of things system by registration can realize equipment certainly Adaptive response.Automatically, node broadcasts find peripheral equipment, and carry out relationship authentication, record the feedback letter of each equipment Breath and feedback duration.The nodal information of the authentication information received and this node is reported to server, server by node The feedback information and nodal information for receiving the equipment of node upload, carry out calculation process to it, according to processing result selection three To communicate with equipment, respectively optimal node, suboptimum node and standby node confirm a node between equipment and three nodes Implication relation, while carrying out database purchase and client is shown.Wherein base of the optimal node as server management and control devices It stands, if optimal node breaks down, when the equipment and server can not be made to establish connection, which carries out communicating meeting with server Select suboptimum node and standby node.Periodically to device authentication correspondence, constantly dynamic more new equipment is implicit closes node System and database purchase.
User, equipment and node all have oneself unique User ID, device id and node ID, and an equipment can be by more A node administration and control, a node can manage multiple equipment, and a user can manage control multiple equipment, but each Equipment has unique user's ownership, that is, is pertaining only to an owner.
The unique method that other users obtain the rights management of the equipment is that the owner of the equipment shares the equipment, User shares settable timing with not timing, it can be achieved that multiple other users are shared, and can realize the undefined term of rights management Share, rights management include it is measurable and controllable, uncontrollable two kinds can be surveyed.
The owner of equipment can be with the control permission for the equipment that the withdrawal of undefined term is shared.And have the right will by all users Damage equipment does not need equipment or equipment progress equipment complete deletion of reselling, and abandons the administration authority to equipment.
Specifically, as shown in Figure 1, the Internet of things system includes several Internet of things node, several smart machines and server, Wherein each Internet of things node connects multiple smart machines and server, and each smart machine connects three nodes, on server It is deployed with database, rule base and application service etc., for data storage, data processing and data application etc., Yong Hutong Client is crossed to interact with server.
Internet of things node is the Internet of things system " mediating transporter ", helps through " reliable transmission ".Major function is Several smart machines and server are linked, transmission channel is formed.The data that smart machine uploads are carried out protocol conversion to be reported to Server is reprocessed, and instruction that server issues or data are controlled through being transmitted to smart machine after protocol conversion And access.All nodes in Internet of things system are connected to all smart machines in system, and the transmitting-receiving for handling smart machine is wanted It asks, meets rights management of the server to each smart machine;It, may be with multiple smart machines for single Internet of things node Opening relationships, it is also possible to without smart machine and its opening relationships.
Smart machine is the bottom intelligent object of Internet of things system, realizes " complete perception " of Internet of things system.Access should The electric parameter number for being uploaded to server environment data, coupled unintelligent device may be implemented in the intelligent object of system According to and warning message, the instruction that also may be implemented to receive server complete the shape of unintelligent device being connected to the intelligent object State control.Smart machine periodically can selectively choose available Internet of things node as the communication node with server, Communication priority is selected according to optimal node, suboptimum node and standby node relationship, i.e., only when optimal node damages Just suboptimum node can be re-replaced automatically and standby node is communicated.
Server disposition has database, rule base and application program etc., serves as " the control brain " of system, completes Internet of Things " intellectual analysis " of system.Application program includes outer communications portion, data analysis component and interior communications portion, outer communications portion master If the transmission information of receiving node, client and sending information to node, client.Outer communications reception is to node or client Information or data is analyzed and processed by the information or data of transmission, data analysis component according to function, the information after handling Or data portion sends database to by interior communication and is stored, and partially sends rule base to by interior communication and carries out " reprocessing ", Another part is directly returned again to node by outer communication to control equipment or be returned to client to showing interface.
As shown in Fig. 2, Internet of things node may have multiple smart machines, a smart machine in the range of can identifying It can may be identified by multiple nodes.In this case, the present embodiment solves node select permeability, eventually realizes system Three nodes are only equipped with as the node with server communication for an equipment.
Certainly, in other embodiments, response time, load capacity, signal strength etc. can be comprehensively considered because usually selecting, Specific implementation is as follows:
First scheme: equipment selection mechanism
Smart machine, which powers on, can access the Internet of things system, and automatic broadcast node verifying disappears after access system Breath, all nodes that can recognize this equipment can give a response broadcast.
(1) smart machine makes a choice according to the rapidity that node replys broadcast, selects to respond and broadcasts most fast three A node establishes implication relation.Wherein smart machine first receives broadcast reply, is established as optimal node, receives second The node that a broadcast is replied is suboptimum node, and receive third broadcast reply is standby node;Smart machine receives three wide After broadcasting reply, it can make by oneself and ignore later node reverts back.
(2) information such as the signal strength comprising the communication of this node in receiveing the response, smart machine receive node response Signal strength.
Smart machine receives all receive the response and can immediately extract all signals signal strength and compare Intensity is ranked up, and maximum three results are carried out descending storage, and the 4th and smaller result will be ignored, equipment meeting The timing T time when issuing broadcast, will all be ignored more than receiveing the response for T time, and abandon handling.
It selects strongest three nodes of signal and establishes implication relation, it is optimal node that wherein signal is strongest, and signal is strong The node of degree second is suboptimum node, and signal strength third is standby node.
It (3) include the loading information of this node in receiveing the response, so-called load capacity refers to the node and other intelligence Equipment establishes the quantity of implication relation, and quantity conversion uses following formula:
Load capacity: the N=node is as the optimal number of nodes * 2+ node as the suboptimum number of nodes * 1+ node as standby With number of nodes * 1.
The sequencing that smart machine is receiveed the response according to node is received, by the node first replied message and the node Load capacity is stored, after the node load amount that replies message compared with the former, repeatedly, smart machine is selected negative Three minimum nodes of carrying capacity are established implication relation and are stored, and other nodes will be ignored, without communication.Wherein load Measuring least node is optimal node, and the few node of load capacity time is suboptimum node, load capacity section most in three nodes Point is standby node.Equipment can issue broadcast when timing T time, will all be ignored more than receiveing the response for T time, and abandon locating Reason.
(4) information, the smart machines such as signal strength M and load capacity N comprising the communication of this node in receiveing the response receive Node is receiveed the response, and calculates egress at a distance from the equipment, and equipment recalculates triadic relation and three nodes is selected to build Vertical implication relation.Computation rule is as follows:
(50) it be preferably 40%, z is preferably that x is preferably 60%, y to A=M*x+ (y/N) * z
Equipment stores the node receiveed the response A value corresponding with the node, will be compared, and be selected most to A value Its corresponding node sequence is established implication relation, optimal node relationships, suboptimum node relationships and spare section by three big A values Point relationship.A value > suboptimum node A value > standby node A value of respectively optimal node.
Smart machine stores implication relation, and preferentially selects optimal node as communication node, optimal node by equipment and The implication relation of three nodes is reported to server, and database is arrived in storage, also can be according to when issuing a command to the equipment under server Device node relationship is communicated with specified node.In addition, equipment for confirm implication relation node be not it is unalterable, It can periodically send broadcast singal, and every hair once can all re-start the once confirmation with the implication relation of node, simultaneously More new database deletes previous implication relation, is substituted for the implication relation newly confirmed.
Alternative plan: server selection mechanism
Smart machine, which powers on, can access the Internet of things system.The automatic broadcast node identification of server not timing disappears Breath, all nodes for receiving identification message, the equipment for starting to access surrounding Internet of things system carry out automatic identification, and node will The facility information recognized feeds back to server, while feeding back the relevant information of this node.Server can verify facility information such as Device id, device type etc. temporarily hew out a buffer area automatically for each equipment, and server is in the equipment temporal cache The nodal information for uploading the equipment is subjected to calculation process in area, it, will after it confirmed the implication relation of equipment and node Buffer area discharges automatically.
(2) facility information is fed back to server, the signal strength etc. also communicated comprising this node in feedback message by node Information, server (certain buffer area) receive the signal strength that node reports signal:
Descending is carried out to be stored in temporary cache area, server can issue broadcast when timing T (T is preferably 10s) Time, all feedback informations returned more than T time will all be ignored, and abandon handling.
Server selects strongest three nodes of signal, and it is optimal node, signal strength second that wherein signal is strongest Node be suboptimum node, signal strength third is standby node.
(3) comprising the loading information of this node in feedback message, so-called load capacity refers to the node and other intelligence Equipment establishes the quantity of optimal node relationships, suboptimum node relationships and standby node relationship, and server (certain buffer area) receives Loading information will carry out quantity conversion, using following formula:
Quantity conversion: the N=node is as the optimal number of nodes * 2+ node as the suboptimum number of nodes * 1+ node conduct Standby node number * 1.
Server is according to the sequencing for receiving node reporting message, by the number of the node of first reporting message and the node Amount conversion N is stored, and the number of nodes conversion of rear reporting message is compared with the former, and repeatedly, server will select Quantity conversion the smallest three nodes of N, other nodes will be ignored out, without communication.Wherein the least node of N is optimal Node, the few node of n times are suboptimum nodes, and node N most in three nodes is standby node.Server can issue extensively Sowing time timing T (T is preferably 10s) time, all feedback informations returned more than T time will all be ignored, and abandon handling.
(4) information, the server such as signal strength M and load capacity N comprising the communication of this node in reporting message receive section Point reporting message, and the tentative messages that can return to server are replied, server records the duration t that tentative messages return (s), further calculate egress at a distance from server, server recalculate both sides relation and select three nodes be it with Equipment establishes implication relation.Computation rule is as follows:
(50) it be preferably 40%, z is preferably that x is preferably 60%, y to A=M*x+ (y/N) * z
Server stores the node of reporting message A value corresponding with the node, will be compared, and select to A value Its corresponding node sequence and equipment are established implication relation, optimal node relationships, suboptimum node relationships by maximum three A values With standby node relationship.A value > suboptimum node A value > standby node A value of respectively optimal node.
Select three nodes are established the correspondence with equipment by server, and relationship are stored into database, meeting Preferentially select optimal node as communication node, meanwhile, correspondence is handed down to equipment by optimal node and carried out by server The confirmation of implication relation, when the equipment reported data is to server, also can according to device node implication relation and specified node It is communicated.In addition, server is not unalterable, server meeting periodicity for the correspondence of confirmation equipment and node Transmission broadcast singal, broadcast node of every hair all can more new equipment and node again correspondence, while more new data Library, equipment update implication relation, previous implication relation are deleted, the implication relation newly confirmed is substituted for.
Comprehensive selection mechanism
Smart machine, which powers on, can access the Internet of things system.Node broadcasts find periphery access Internet of things system Equipment, and relationship verifying communication is carried out, device replied is broadcasted device signal intensity M1Node is fed back to, nodes records are each to be set Standby feedback duration t1(s), and by the feedback signal strength M of each equipment1It successively uploads onto the server, while uploading this node Information include node signal strength M2, node is from the duration t for being broadcast to server and receiving information2(s) negative with this node Carrying capacity.The information for the same equipment that different nodes upload can be stored in temporary buffer by server, when server is one The temporary buffer can be discharged automatically after the correspondence of equipment three nodes of confirmation.
(1) server (certain buffer area) reports the rapidity i.e. node of certain equipment message from being broadcast to server according to node The duration for receiving information makes a choice, and selects and reports three most fast nodes.Wherein server first receives to report and disappears Breath, it is set to optimal node;Server second receives reporting message, is set to suboptimum node;Receive Three reporting messages are standby nodes;After selecting three nodes, server can make the section ignored and report the equipment later by oneself Point message.
(2) server (certain buffer area) receives node reporting message, respectively by t1>Δt1And t2>Δt2(Δt1、Δt2 Both preferably 3s) nodal information ignored, then calculate remaining node and report signal strength M in information1With M2Sum:
M=M1+M2
Calculated result M is ranked up, selects maximum three nodes of M as optimal node, suboptimum node and spare section Point, i.e., M > suboptimum node M > standby node M of optimal node.Server reports information to open from the node for receiving certain equipment Beginning timing, to T time after the node of the equipment report information that will ignore automatically.
(3) server (certain buffer area) receives node reporting message, respectively by t1>Δt1And t2>Δt2(Δt1、Δt2 Both preferably 3s) nodal information ignored.Calculate the average value Q that remaining node reports load capacity in informationAve, and will Load capacity is more than 2QAveNode ignored.It finally calculates remaining node and reports signal strength M in information1With M2Sum: M =M1+M2
Calculated result M is ranked up, selects maximum three nodes of M as optimal node, suboptimum node and spare section Point, i.e., M > suboptimum node M > standby node M of optimal node.Server reports information to open from the node for receiving certain equipment Beginning timing, to T time after the node of the equipment report information that will ignore automatically.
Select three nodes are established the correspondence with equipment by server, and relationship are stored into database, meeting Preferentially select optimal node as communication node, meanwhile, correspondence is handed down to equipment by optimal node and carried out by server The confirmation of implication relation, when the equipment reported data is to server, also can according to device node implication relation and specified node It is communicated.In addition, server be not for the correspondence of confirmation equipment and node it is unalterable, node can be periodic Broadcast singal is sent, broadcast node of every hair all can report again server primary, and server confirms leading to for equipment and node Gateway system, while more new database, equipment update implication relation, previous implication relation is deleted, be substituted for newly confirm it is hidden Containing relationship.As shown in figure 3, user has the direct administration authority to equipment, it can share, cancel sharing and sweep equipment.
Before user obtains to the directly management of equipment, need to carry out user's note in client before using system Volume, the information such as user name, password, mailbox, cell-phone number and remarks are arranged at client registers interface in user, and submit, server By user information encryption storage into database;Wherein user name and cell-phone number require unique, and cell-phone number is that I am present It uses, for login account or gives password for change, remark information is other information.
A unique device authentication code and equipment two-dimensional barcode information, user's registration are labeled on each smart machine shell After success, client is logged in using user name, facility registration can be carried out in client.It can be swept in mobile phone mobile terminal Code registration and key entry identifying code registration can only carry out keying in identifying code registration in WEB client side.When user carries out facility registration When, server understands the information in automatic comparison database, and the equipment same time can only be that is, main any time by a user's registration People only one.The login user and smart machine establish confirmation relationship, obtain the direct administration authority to equipment, and server will The confirmation relationship of user and equipment is stored to database, and other users can not obtain the administration authority of the equipment by re-registration.
User, equipment and node all have oneself unique User ID, device id and node ID, and an equipment can be by more A node administration and control, a node can manage multiple equipment, and a user can manage control multiple equipment, but each Equipment has unique user's ownership, that is, is pertaining only to an owner.
The unique method that other users obtain the equipment rights management is that the owner of the equipment shares the equipment, is used Family shares settable timing with not timing, it can be achieved that multiple other users are shared, and can realize the undefined term point of rights management Enjoy, rights management include it is measurable and controllable, uncontrollable two kinds can be surveyed.After user shares equipment, server will be shared automatically to be closed System storage into database, other users thus to obtain the equipment part administration authority.The owner of equipment can be with undefined term The control permission of shared equipment is withdrawn, is withdrawn after permission, the sharing relationship in database can be deleted.
All users have the right that equipment will have been damaged, do not need equipment or equipment progress equipment complete deletion of reselling, and abandon To the administration authority of equipment.Smart machine after deletion will be released from confirmation relationship with user, and database is deleted confirmation and closed System, the smart machine regain " freedom ", can be registered by other users.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
The foregoing is merely preferred embodiment of the present application, are not intended to limit this application, for the skill of this field For art personnel, various changes and changes are possible in this application.Within the spirit and principles of this application, made any to repair Change, equivalent replacement, improvement etc., should be included within the scope of protection of this application.
Although above-mentioned be described in conjunction with specific embodiment of the attached drawing to the disclosure, model not is protected to the disclosure The limitation enclosed, those skilled in the art should understand that, on the basis of the technical solution of the disclosure, those skilled in the art are not Need to make the creative labor the various modifications or changes that can be made still within the protection scope of the disclosure.

Claims (10)

1. a kind of internet of things equipment self-adaptive configuration system, it is characterized in that: include multiple Internet of things node, multiple smart machines and Server, wherein each Internet of things node connects multiple intelligent sockets, the smart machine in corresponding region is connected to corresponding intelligence On energy socket;
By being wirelessly connected between the corresponding smart machine of the Internet of things node, the Internet of things node and the service Device is connected by Ethernet;
Each smart machine receives the feedback validation information of Internet of things node, root respectively to periphery broadcast node verification information According to response time, the optimal node, suboptimum node and standby node of first scheme are determined;
The server identifies message to all Internet of things node broadcast nodes, receives the identification letter of each Internet of things node feedback Breath, according to the response time of each node select each smart machine corresponding to alternative plan optimal node, suboptimum node And standby node;
The server is configured as comprehensive first scheme and alternative plan, the smart machine load intervened according to each node Quantity determines final optimal node, suboptimum node and standby node, according to determining sequence to each smart machine and accordingly The communication relations of Internet of things node reconfigured, will data relevant to control instruction by corresponding Internet of things node It is issued to corresponding smart machine.
2. a kind of internet of things equipment self-adaptive configuration system as described in claim 1, it is characterized in that: each smart machine is by one A or multiple node administrations and control, each node manage one or more equipment, and each user management control is one or more The ID of equipment, the ID of node, the ID of smart machine and user is unique.
3. a kind of internet of things equipment self-adaptive configuration system as described in claim 1, it is characterized in that: on each smart machine There is the two dimensional code and identifying code for containing this facility information, two dimensional code and identifying code are all unique, smart machine and each Internet of Things The implication relation of net node includes three parts: optimal node relationships, suboptimum node relationships and standby node relationship, wherein optimal Base station of the node as management and control devices, if optimal node breaks down, corresponding Internet of things node and the equipment can not establish connection When, smart machine is configured as selection suboptimum node and/or standby node is communicated.
4. a kind of internet of things equipment self-adaptive configuration system as described in claim 1, it is characterized in that: being disposed on the server Regular library is provided with plurality of devices management mode or method in rule base, when certain or some equipment state meet it is certain When condition, system will automatically generate equipment control instruction, and the instruction is issued to node and executes corresponding equipment control.
5. a kind of internet of things equipment self-adaptive configuration system as described in claim 1, it is characterized in that: each smart machine and use Family has oneself unique ID, and each equipment has unique user's ownership, that is, is pertaining only to an owner;Other users obtain should The unique method of the rights management of equipment is that the owner of the equipment shares the equipment, user share may be configured as timing and Not timing, realizes the sharing of multiple other users, and realizes rights management, rights management include it is measurable and controllable, can survey uncontrollable Two kinds.
6. a kind of internet of things equipment self-adaptive configuration system as described in claim 1, it is characterized in that: being disposed on the server There is database, be configured as storage information, the relationship for specifically including user information, facility information and user equipment and node is believed Environmental information, the electric parameter information of indoor electric appliance, warning message and the SOE that breath, smart machine upload record information.
7. a kind of internet of things equipment adaptive configuring method, it is characterized in that: each smart machine is tested to periphery broadcast node respectively Information is demonstrate,proved, and receives the feedback validation information of Internet of things node, according to response duration, determines the optimal node, secondary of first scheme Excellent node and standby node;
Server identifies message to all Internet of things node broadcast nodes, receives the identification information of each Internet of things node feedback, According to the response time of each node select each smart machine corresponding to the optimal node of alternative plan, suboptimum node and standby Use node;
Comprehensive first scheme and alternative plan, the smart machine load quantity intervened according to each node determine finally most Excellent node, suboptimum node and standby node lead to each smart machine and corresponding Internet of things node according to determining sequence News relationship is reconfigured, by corresponding Internet of things node will data distributing relevant to control instruction to corresponding intelligence Equipment is managed and controls.
8. a kind of internet of things equipment adaptive configuring method as claimed in claim 7, it is characterized in that: periodically to wide around Node verification message is broadcast, repeats the relationship for determining smart machine and each Internet of things node, it is corresponding that dynamic updates smart machine Optimal, suboptimum and standby node, to guarantee the stability of communication.
9. a kind of computer readable storage medium, it is characterized in that: being wherein stored with a plurality of instruction, described instruction is suitable for being set by terminal Standby processor loads internet of things equipment adaptive configuring method described in simultaneously perform claim requirement 7 or 8.
10. a kind of terminal device, including processor and computer readable storage medium, processor is for realizing each instruction;It calculates Machine readable storage medium storing program for executing is for storing a plurality of instruction, it is characterized in that: described instruction is suitable for by processor load and perform claim is wanted Internet of things equipment adaptive configuring method described in asking 7 or 8.
CN201910033190.XA 2019-01-14 2019-01-14 Self-adaptive configuration method and system for Internet of things equipment, storage medium and equipment Active CN109787825B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910033190.XA CN109787825B (en) 2019-01-14 2019-01-14 Self-adaptive configuration method and system for Internet of things equipment, storage medium and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910033190.XA CN109787825B (en) 2019-01-14 2019-01-14 Self-adaptive configuration method and system for Internet of things equipment, storage medium and equipment

Publications (2)

Publication Number Publication Date
CN109787825A true CN109787825A (en) 2019-05-21
CN109787825B CN109787825B (en) 2021-09-03

Family

ID=66500534

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910033190.XA Active CN109787825B (en) 2019-01-14 2019-01-14 Self-adaptive configuration method and system for Internet of things equipment, storage medium and equipment

Country Status (1)

Country Link
CN (1) CN109787825B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111464369A (en) * 2020-05-12 2020-07-28 郑成军 Internet of things configuration feedback method and system using first pre-configurator
CN111555923A (en) * 2020-05-12 2020-08-18 郑成军 Internet of things configuration feedback method and system based on cross-correlation coefficient and node weight
US20200359349A1 (en) * 2019-04-29 2020-11-12 Sonicwall Inc. Establishing simultaneous mesh node connections

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102331525A (en) * 2011-06-01 2012-01-25 山东建筑大学 Distributed type on-line harmonic detecting system based on Internet of construction equipment
CN104869603A (en) * 2015-05-08 2015-08-26 中山大学 ZigBee routing method suitable for wireless monitoring and controlling network
KR101555315B1 (en) * 2014-06-24 2015-09-24 이화여자대학교 산학협력단 Method for propagating network management data for energy-efficient iot network management and energy-efficient iot node apparatus
CN105052205A (en) * 2013-03-15 2015-11-11 思科技术公司 Providing a backup network topology without serviece disruption
CN105550539A (en) * 2015-12-14 2016-05-04 四川九成信息技术有限公司 Big data resource protection method
CN107483621A (en) * 2017-09-06 2017-12-15 罗慕信息科技(上海)有限公司 A kind of internet of things equipment connection method for automatically selecting service node
CN107566264A (en) * 2017-09-28 2018-01-09 北京千丁互联科技有限公司 A kind of means of communication based on tree network, node and communication system
CN108632293A (en) * 2018-05-16 2018-10-09 山东建筑大学 Architectural Equipment Internet of things system based on block chain technology and method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102331525A (en) * 2011-06-01 2012-01-25 山东建筑大学 Distributed type on-line harmonic detecting system based on Internet of construction equipment
CN105052205A (en) * 2013-03-15 2015-11-11 思科技术公司 Providing a backup network topology without serviece disruption
KR101555315B1 (en) * 2014-06-24 2015-09-24 이화여자대학교 산학협력단 Method for propagating network management data for energy-efficient iot network management and energy-efficient iot node apparatus
CN104869603A (en) * 2015-05-08 2015-08-26 中山大学 ZigBee routing method suitable for wireless monitoring and controlling network
CN105550539A (en) * 2015-12-14 2016-05-04 四川九成信息技术有限公司 Big data resource protection method
CN107483621A (en) * 2017-09-06 2017-12-15 罗慕信息科技(上海)有限公司 A kind of internet of things equipment connection method for automatically selecting service node
CN107566264A (en) * 2017-09-28 2018-01-09 北京千丁互联科技有限公司 A kind of means of communication based on tree network, node and communication system
CN108632293A (en) * 2018-05-16 2018-10-09 山东建筑大学 Architectural Equipment Internet of things system based on block chain technology and method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200359349A1 (en) * 2019-04-29 2020-11-12 Sonicwall Inc. Establishing simultaneous mesh node connections
CN111464369A (en) * 2020-05-12 2020-07-28 郑成军 Internet of things configuration feedback method and system using first pre-configurator
CN111555923A (en) * 2020-05-12 2020-08-18 郑成军 Internet of things configuration feedback method and system based on cross-correlation coefficient and node weight
CN111555923B (en) * 2020-05-12 2021-04-23 郑成军 Internet of things configuration feedback method and system based on cross-correlation coefficient and node weight
CN111464369B (en) * 2020-05-12 2021-06-22 郑成军 Internet of things configuration feedback method and system using first pre-configurator

Also Published As

Publication number Publication date
CN109787825B (en) 2021-09-03

Similar Documents

Publication Publication Date Title
CN109787825A (en) Internet of things equipment adaptive configuring method, system, storage medium and equipment
CN106744111A (en) Elevator repair and maintenance management system and method based on bluetooth and Mobile Data Communication Technology
CN107393069B (en) Access control management method and system based on Bluetooth MESH networking core technology
CN104486835B (en) A kind of positioner based on WAP and video monitoring
CN109756380A (en) A kind of internet of things equipment adaptive access and shared method and system
CN104796969A (en) Network accessing method and system for equipment of internet of things on basis of recognition codes of internet of things
CN109525540A (en) A kind of smart machine binding method and device
CN110278568B (en) Method and network system for constructing networking based on network equipment
CN109565639A (en) The activity-triggered of portable wireless network is supplied
CN110061871A (en) Opening base station method, apparatus, computer storage medium and equipment
CN106295947A (en) Public lavatory environmental sanitation keep a public place clean intelligent operation and check management system
CN102724175A (en) Remote communication security management architecture of ubiquitous green community control network and method for constructing the same
CN107239868A (en) End message processing method and processing device for security cruising inspection system
CN206298231U (en) Elevator repair and maintenance managing device based on bluetooth and Mobile Data Communication Technology
CN109063576A (en) Management method and device for flight movement node
CN106408691A (en) Many-to-many wireless intelligent door lock system and control method thereof
CN109788057A (en) A kind of internet of things equipment dynamic virtual configuration method and system
CN105722089A (en) Equipment authentication method
CN110769032A (en) System and method for rapidly detecting and maintaining power grid equipment fault
CN110086782A (en) The method and electronic equipment of a kind of hotel's Internet of Things intelligent control system and intelligent control device
CN110458994A (en) A kind of estate management is from hair fastener system and method
CN106338976A (en) Remote intelligent industrial control system and control method thereof
CN109936814A (en) A kind of intercommunication terminal, speech talkback coordinated dispatching method and its system
CN106453370A (en) Method and device for allowing IPC to register to NVR
CN107944709A (en) A kind of training space Sharing Management system and 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
GR01 Patent grant
GR01 Patent grant