CN107483621A - A kind of internet of things equipment connection method for automatically selecting service node - Google Patents

A kind of internet of things equipment connection method for automatically selecting service node Download PDF

Info

Publication number
CN107483621A
CN107483621A CN201710797611.7A CN201710797611A CN107483621A CN 107483621 A CN107483621 A CN 107483621A CN 201710797611 A CN201710797611 A CN 201710797611A CN 107483621 A CN107483621 A CN 107483621A
Authority
CN
China
Prior art keywords
service node
service
internet
node
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710797611.7A
Other languages
Chinese (zh)
Inventor
陆军军
张磊
陈怀杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Rom Information Technology (shanghai) Co Ltd
Original Assignee
Rom Information Technology (shanghai) 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 Rom Information Technology (shanghai) Co Ltd filed Critical Rom Information Technology (shanghai) Co Ltd
Priority to CN201710797611.7A priority Critical patent/CN107483621A/en
Publication of CN107483621A publication Critical patent/CN107483621A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/143Termination or inactivation of sessions, e.g. event-controlled end of session
    • H04L67/145Termination or inactivation of sessions, e.g. event-controlled end of session avoiding end of session, e.g. keep-alive, heartbeats, resumption message or wake-up for inactive or interrupted session

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Medical Informatics (AREA)
  • Cardiology (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A kind of internet of things equipment connection method for automatically selecting service node:(1) equipment end is initiated to obtain available service node list request by specifying the automatic Connection Service center of networking module, after successful connection;(2) service centre obtains service node state and routing iinformation, using the dispatching algorithm of optimal path, evaluates network connection stability;(3) connection evaluation highest service node;(4) at regular intervals, all service nodes re-connected again, evaluate operation, obtain the state of network in real time;When needed, handover network connects, and ensures the stability that equipment is stably connected with service centre's node, does not go offline;(5) periodically heartbeat packet is sent after equipment connects to service centre.Beneficial effects of the present invention:(1) flexibility of service node is good, and optimal service node is selected according to the signal intelligence of real network situation service node and EMS memory occupation situation;(2) network stabilization, fed back according to network condition, assess the equipment connection of Internet of Things in real time, the network at internet of things equipment end switches circuit in time when occurring unstable.

Description

A kind of internet of things equipment connection method for automatically selecting service node
Technical field
The present invention relates to a kind of internet of things equipment connection method for automatically selecting service node, belong to internet of things equipment network Interconnection technique field.
Background technology
The shortcomings that prior art:(1) service node of internet of things equipment connection is distributed according to physical address, single node connects When connecing, internet of things equipment drop rate is higher, and the cost of switching is bigger;(2) may physical address relatively close to but can not Ensure the quick and stability of communication, when service node goes wrong, what meeting was seamless is switched to other stable sections Point, ensure the reliability and stability of communication.
The content of the invention
The present invention is in view of the deficienciess of the prior art, provide a kind of internet of things equipment connection for automatically selecting service node Method, and in particular to how internet of things equipment effectively connects with service platform, and when in the case that network is severe it is effective The stable service platform access entrance of selection.
Present invention design internet of things equipment connection, it can find most suitable service platform section under various network conditions Point, and in the Joint failure with service node, rational service node can be effectively found again, Internet of Things is provided significantly and set Stability, the reliability of standby connection.Effectively solves internet of things equipment in severe working environment due to unstable networks The problem of loss of data is excessive caused by problem.Effective use range to improving internet of things equipment etc. has important meaning.
Specifically, the technical scheme that the present invention solves above-mentioned technical problem is as follows:A kind of thing for automatically selecting service node Networked devices connection method, methods described include:
(1) in equipment end after electricity by the specified automatic Connection Service center of networking module, can initiate to obtain after successful connection Take the request of available service node list;
(2) service centre can obtain service node state and the routing iinformation of details is obtained in connection procedure, according to Routing iinformation uses the dispatching algorithm of optimal path, evaluation and the network connection stability of the service node;
(3) from the result calculated, selection evaluation highest service node is attached;
(4) at regular intervals, evaluation operation is re-started to all service nodes again, it is current to obtain in real time The state of device network solicited status and the service node connected, when needed, handover network connects as early as possible, to ensure to set It is standby to be stably connected with service centre's node, the stability not gone offline;
(5) a heartbeat packet periodically can be sent to service centre after equipment connects.
The present invention is further arranged to, and in (1), WIFI, Lora are connected to the domain name service specified by router, Gsm module can initiate connection request to designated domain name.
The present invention is further arranged to, and in (2), service node state includes current node cpu loss, RAM takes Than, hard disk EMS memory occupation ratio.
The present invention is further arranged to, and in (2), routing iinformation includes request frequency number, the device id of request and request Equipment longitude and latitude.
The present invention is further arranged to, and evaluation highest service node is that current CPU occupancy is minimum, RAM occupancy is minimum, hard The remaining most node of part internal memory.
The present invention is further arranged to, in equipment end selection communication protocol tcp/ip, mqtt, http or https and service The heart communicates.
The present invention is further arranged to, and after service centre receives data, is saved into database;When APP or webpage please After seeking data, the data conversion of preservation is returned to APP or web-page requests by node into readable data format.
The invention has the advantages that:
(1) flexibility of service node is good, according to the signal intelligence and EMS memory occupation of real network situation service node Situation selects optimal service node;
(2) network stabilization, fed back according to network condition, assess the equipment connection of Internet of Things, internet of things equipment in real time The network at end switches circuit in time when occurring unstable.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, it will use below required in embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for this area For those of ordinary skill, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is service node network state detection and service state evaluation rubric figure.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
The inventive method solve technical problem be:The service node for avoiding internet of things equipment connection from specifying, but according to The network environment of itself, suitable service node is connected, and when service node goes out abnormal, can quickly be switched to other Optimal service node.
By way of domain name mapping, during internet of things equipment connection server, the node specified is connected to, then passes through weight The mode of orientation, the node closer with equipment is directed to, so as to reduce the delay of internet of things equipment and service node.
A kind of internet of things equipment connection method for automatically selecting service node, methods described include:
(1) in equipment end after electricity by the specified automatic Connection Service center of networking module, can initiate to obtain after successful connection The request of available service node list is taken, WIFI, Lora can be connected to the domain name service specified, gsm module by router Connection request can be initiated to designated domain name;
(2) service centre can obtain service node state, and such as current node cpu is lost, and RAM takes ratio, hard disk internal memory Ratio etc. is taken, and in connection procedure, obtains routing iinformation such as request frequency number, the device id of request of details, request Equipment longitude and latitude etc., the dispatching algorithm of optimal path, evaluation and the network connection of the service node are used according to the information of route Stability;
(3) a period of time, such as after 10 seconds, from the result calculated, the current CPU of selection evaluation takes minimum, RAM and taken At least, the remaining most highest service node of hardware memory is attached;
(4) at regular intervals, evaluation operation is re-started to all service nodes again, it is current to obtain in real time The state of device network solicited status and the service node connected, when needed, handover network connects as early as possible, to ensure to set It is standby to be stably connected with service centre's node, the stability not gone offline;
(5) a heartbeat packet periodically can be sent to service centre after equipment connects, as sent one to service centre in 60s Secondary request, it was demonstrated that this equipment is also connecting;
(6) equipment end can select communication protocol tcp/ip, mqtt, http or https to be communicated with service centre.Service centre After receiving data, database can be saved into;After APP or web-page requests data, node can by the data conversion of preservation into Readable data format returns to APP or web-page requests.
The key point of this patent, service node network state detection and service state evaluation rubric can be found in Fig. 1.
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and Within principle, any modification, equivalent substitution and improvements made etc., it should be included in the scope of the protection.

Claims (7)

1. a kind of internet of things equipment connection method for automatically selecting service node, it is characterised in that methods described includes:
(1) initiate by the specified automatic Connection Service center of networking module, after successful connection to obtain after electricity in equipment end available Service node list request;
(2) service centre can obtain service node state and the routing iinformation of details is obtained in connection procedure, according to route Information uses the dispatching algorithm of optimal path, evaluation and the network connection stability of the service node;
(3) from the result calculated, selection evaluation highest service node is attached;
(4) at regular intervals, evaluation operation is re-started to all service nodes again, to obtain current equipment in real time The state of network request state and the service node connected, when needed, handover network connects as early as possible, to ensure equipment energy Service centre's node is enough stably connected with, the stability not gone offline;
(5) periodically a heartbeat packet is sent after equipment connects to service centre.
2. the internet of things equipment connection method according to claim 1 for automatically selecting service node, it is characterised in that: (1) in, WIFI, Lora are connected to the domain name service specified by router, and gsm module can initiate connection to designated domain name please Ask.
3. the internet of things equipment connection method according to claim 1 for automatically selecting service node, it is characterised in that: (2) in, service node state includes current node cpu loss, RAM takes ratio, hard disk EMS memory occupation ratio.
4. the internet of things equipment connection method according to claim 1 for automatically selecting service node, it is characterised in that: (2) in, routing iinformation includes the equipment longitude and latitude of request frequency number, the device id of request and request.
5. the internet of things equipment connection method according to claim 1 for automatically selecting service node, it is characterised in that:Evaluation Highest service node is that current CPU occupancy is minimum, RAM occupancy is minimum, the remaining most node of hardware memory.
6. the internet of things equipment connection method according to claim 1 for automatically selecting service node, it is characterised in that:Equipment Selection communication protocol tcp/ip, mqtt, http or https communicate with service centre at end.
7. the internet of things equipment connection method according to claim 1 for automatically selecting service node, it is characterised in that:Service After center receives data, database is saved into;After APP or web-page requests data, node by the data conversion of preservation into Readable data format returns to APP or web-page requests.
CN201710797611.7A 2017-09-06 2017-09-06 A kind of internet of things equipment connection method for automatically selecting service node Pending CN107483621A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710797611.7A CN107483621A (en) 2017-09-06 2017-09-06 A kind of internet of things equipment connection method for automatically selecting service node

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710797611.7A CN107483621A (en) 2017-09-06 2017-09-06 A kind of internet of things equipment connection method for automatically selecting service node

Publications (1)

Publication Number Publication Date
CN107483621A true CN107483621A (en) 2017-12-15

Family

ID=60583767

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710797611.7A Pending CN107483621A (en) 2017-09-06 2017-09-06 A kind of internet of things equipment connection method for automatically selecting service node

Country Status (1)

Country Link
CN (1) CN107483621A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108337330A (en) * 2018-05-22 2018-07-27 深圳云驰科技有限公司 A kind of internet of things equipment grouping distributed scheduling management strategy
CN109787825A (en) * 2019-01-14 2019-05-21 山东建筑大学 Internet of things equipment adaptive configuring method, system, storage medium and equipment
CN114928568A (en) * 2022-06-16 2022-08-19 中国联合网络通信集团有限公司 Routing path selection method, device and computer readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546226A (en) * 2010-12-08 2012-07-04 中国科学院声学研究所 Multi-node-based network service provision system and method
FR2959897B1 (en) * 2010-05-10 2013-05-10 Web Securite Systeme CONFIGURING AN IP CAMERA
CN103532867A (en) * 2013-10-30 2014-01-22 四川迅游网络科技股份有限公司 Acceleration transmission method and system for network data
CN103777737A (en) * 2013-08-15 2014-05-07 中华电信股份有限公司 Cloud computer room energy saving method based on server resource load and position sensing
CN105471983A (en) * 2015-11-19 2016-04-06 广州云湾信息技术有限公司 Method and system for establishing internet-of-things communication
CN105516369A (en) * 2016-02-04 2016-04-20 城云科技(杭州)有限公司 Video cloud platform load balancing method and video cloud platform load balancing dispatcher
CN106034073A (en) * 2015-03-20 2016-10-19 网宿科技股份有限公司 Multipath transmission optimization method based on content distribution network

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2959897B1 (en) * 2010-05-10 2013-05-10 Web Securite Systeme CONFIGURING AN IP CAMERA
CN102546226A (en) * 2010-12-08 2012-07-04 中国科学院声学研究所 Multi-node-based network service provision system and method
CN103777737A (en) * 2013-08-15 2014-05-07 中华电信股份有限公司 Cloud computer room energy saving method based on server resource load and position sensing
CN103532867A (en) * 2013-10-30 2014-01-22 四川迅游网络科技股份有限公司 Acceleration transmission method and system for network data
CN106034073A (en) * 2015-03-20 2016-10-19 网宿科技股份有限公司 Multipath transmission optimization method based on content distribution network
CN105471983A (en) * 2015-11-19 2016-04-06 广州云湾信息技术有限公司 Method and system for establishing internet-of-things communication
CN105516369A (en) * 2016-02-04 2016-04-20 城云科技(杭州)有限公司 Video cloud platform load balancing method and video cloud platform load balancing dispatcher

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108337330A (en) * 2018-05-22 2018-07-27 深圳云驰科技有限公司 A kind of internet of things equipment grouping distributed scheduling management strategy
CN109787825A (en) * 2019-01-14 2019-05-21 山东建筑大学 Internet of things equipment adaptive configuring method, system, storage medium and equipment
CN109787825B (en) * 2019-01-14 2021-09-03 山东建筑大学 Self-adaptive configuration method and system for Internet of things equipment, storage medium and equipment
CN114928568A (en) * 2022-06-16 2022-08-19 中国联合网络通信集团有限公司 Routing path selection method, device and computer readable storage medium

Similar Documents

Publication Publication Date Title
US11765679B2 (en) Mapping and bridging wireless networks to provide better service
EP3398068B1 (en) Network redundancy and failure detection
CN102684951B (en) The system of selection of many Wide Area Network interface networking, system and network equipment
CN102571856B (en) Method, device and system for selecting transition node
US20090133105A1 (en) Multi-medium wide area communication network
CN107306278A (en) Fault detection method, GSLB server and residential gateway
TWI568223B (en) Routing message delivery method applicable to netowrk node and network node using the same and communication network using the same
CN104767680B (en) It route the method and apparatus being switched fast
CN107483621A (en) A kind of internet of things equipment connection method for automatically selecting service node
US20140211618A1 (en) Access point and method of controlling wireless communications
CN104270291A (en) Content delivery network (CDN) quality monitoring method
CN102164051A (en) Service-oriented fault detection and positioning method
WO2011157145A2 (en) Main/backup switching method between communication device, communication device, system and service request device
CN103957538A (en) Method and device for detecting network quality
EP3001615B1 (en) Bit error rate detecting method and network device
CN106603261A (en) Hot backup method, first master device, backup device and communication system
US8467286B2 (en) Load balancing and fault protection in aggregation networks
CN104869118B (en) A kind of method and system for realizing DDoS defence based on dynamic tunneling technique
CN102036336B (en) A kind of cognitive routing protocol and implementation method
CN110224937A (en) A kind of satellite network method for routing, equipment and device
CN113612636B (en) Software defined network topology discovery method and system
CN101931560B (en) Method and device for acquiring connection relationship between network equipment
CN115277467A (en) Communication method and device based on home gateway, gateway and storage medium
CN109039728A (en) Flow congestion detection method and system based on BFD
CN113630313B (en) Transmission network system and transmission network test system

Legal Events

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

Application publication date: 20171215

RJ01 Rejection of invention patent application after publication