WO2017107809A1 - 一种物联网链接管理方法和设备 - Google Patents

一种物联网链接管理方法和设备 Download PDF

Info

Publication number
WO2017107809A1
WO2017107809A1 PCT/CN2016/109651 CN2016109651W WO2017107809A1 WO 2017107809 A1 WO2017107809 A1 WO 2017107809A1 CN 2016109651 W CN2016109651 W CN 2016109651W WO 2017107809 A1 WO2017107809 A1 WO 2017107809A1
Authority
WO
WIPO (PCT)
Prior art keywords
link
server
access device
heartbeat information
received
Prior art date
Application number
PCT/CN2016/109651
Other languages
English (en)
French (fr)
Inventor
庄旻轩
罗毅
Original Assignee
阿里巴巴集团控股有限公司
庄旻轩
罗毅
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 阿里巴巴集团控股有限公司, 庄旻轩, 罗毅 filed Critical 阿里巴巴集团控股有限公司
Publication of WO2017107809A1 publication Critical patent/WO2017107809A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • 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
    • 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/142Managing session states for stateless protocols; Signalling session states; State transitions; Keeping-state mechanisms
    • 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

Definitions

  • the present application relates to the field of network communications, and in particular, to an Internet of Things link management method and device.
  • the Internet of Things is a carrier based on information such as the Internet and traditional telecommunication networks, enabling all interconnected common physical objects to be interconnected.
  • the access device accesses the cloud server in the Internet of Things according to a pre-agreed protocol, and the physical device accessing the Internet of Things mainly includes an air conditioner, a refrigerator, and the like, and an embedded device including a chip.
  • the cloud server needs to manage these links, for example, links with no data for a long time. Clean up, clean up links that do not have permission verification over time limit, so that the cloud server can synchronize the real state of the access device in time and save server resources.
  • the purpose of the application is to provide an Internet of Things link management method and device, and the server determines whether to delete the link by determining whether the established link is a valid link, and at the same time, after the server establishes a valid link for the connection request,
  • the heartbeat information received by the valid link in the preset time is determined to determine whether the link is disconnected, and the sending period and the preset time of the heartbeat information are adjusted according to the number of heartbeat information received within the preset time.
  • An Internet of Things link management method is applied to a network including a server and an access device, and the method includes:
  • the server establishes a link with the receiving device according to the connection request sent by the receiving device;
  • the server marks the status of the link as authorized to cause the server and the access device to perform message interaction.
  • the server marks the status of the link as unauthorized and deletes the link.
  • the server determines whether the link is a valid link, specifically:
  • the server determines that the link is an invalid link
  • the server determines whether the verification request is correct
  • the server determines that the link is an invalid link
  • the server determines that the link is a valid link
  • the authentication information includes:
  • Session ID number Session Id and device ID number device Id Session ID number Session Id and device ID number device Id.
  • the method further includes:
  • the server determines whether the number of heartbeat information received in the second preset time exceeds a threshold
  • the server may extend the sending period of the heartbeat information and the duration of the second preset time according to a preset adjustment rule, and send the adjusted sending period of the heartbeat information to the access device. So that the access device sends heartbeat information according to the sending period of the heartbeat information;
  • the server shortens the sending period of the heartbeat information and the duration of the second preset time according to a preset adjustment rule, and sends the adjusted sending period of the heartbeat information to the access And a device, configured to enable the access device to send heartbeat information according to a sending period of the heartbeat information.
  • the method further includes:
  • the server updates the status identification of the link to be unauthorized and deletes the link.
  • An Internet of Things link management method is applied to a network including a server and an access device, and the method includes:
  • the access device sends a connection request to the server, so that the server establishes a link according to the connection request;
  • the access device sends an authentication request including the authentication information to the server, so that the server marks the status of the link as authorized;
  • the authentication message includes:
  • Session ID number Session Id and device ID number device Id Session ID number Session Id and device ID number device Id.
  • the method further includes:
  • the access device sends heartbeat information to the server according to a sending period of the heartbeat information set by the server, so that the server maintains the status identifier of the connection.
  • a server comprising:
  • a first determining module configured to determine, according to the verification information of the receiving device, whether the link is a valid link
  • the first marking module is configured to mark the status of the link as authorized when the link is a valid link, so that the server and the access device perform message interaction.
  • the server further includes:
  • the second tagging module when the link is an invalid link, is used to mark the status of the link as unauthorized and delete the link.
  • the first determining module is specifically configured to:
  • the authentication information includes:
  • Session ID number Session Id and device ID number device Id Session ID number Session Id and device ID number device Id.
  • the server further includes:
  • a second determining module configured to determine whether the marked status is authorized in the second preset time Heartbeat information sent by the link
  • the third judging module is configured to determine whether the number of heartbeat information received in the second preset time exceeds a threshold if the heartbeat information sent by the link marked as the authorized state is received;
  • the first adjustment module if it is exceeded, is configured to extend the sending period of the heartbeat information and the duration of the second preset time according to a preset adjustment rule, and send the adjusted sending period of the heartbeat information to the
  • the access device is configured to enable the access device to send heartbeat information according to the sending period of the heartbeat information
  • the second adjustment module if not exceeded, is configured to shorten the sending period of the heartbeat information and the duration of the second preset time according to a preset adjustment rule, and send the adjusted sending period of the heartbeat information to
  • the access device is configured to enable the access device to send heartbeat information according to a sending period of the heartbeat information.
  • the server further includes:
  • the update module if the heartbeat information sent by the link marked as authorized is not received, is used to update the status identifier of the link to be unauthorized, and delete the link.
  • An access device where the access device includes:
  • a first sending module configured to send a connection request to the server, so that the server establishes a link according to the connection request
  • a second sending module sending an authentication request including the authentication information to the server, so that the server marks the status of the link as authorized;
  • the authentication message includes:
  • Session ID number Session Id and device ID number device Id Session ID number Session Id and device ID number device Id.
  • the intervention device further includes:
  • a third sending module configured to send heartbeat information to the server according to a sending period of the heartbeat information set by the server, so that the server maintains the status identifier of the link.
  • the server establishes a link with the receiving device according to the connection request sent by the receiving device, and determines whether the link is a valid link according to the verification information of the receiving device; and the status of the link when the link is an invalid link. Mark as unauthorized and delete the chain The link is marked as authorized when the link is a valid link, so that the server and the access device perform message interaction. Therefore, the timely deletion of the unauthorized link is realized, and at the same time, the link corresponding to the dropped access device is cleaned in time when the network environment is poor, and the invalid link does not occupy the server resource for a long time.
  • FIG. 1 is a schematic diagram of an application of the Internet of Things technology in the prior art
  • FIG. 2 is a flowchart of a method for managing an Internet of Things link in an embodiment of the present application
  • FIG. 3 is a second flowchart of an Internet of Things link management method in an embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of a server in an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of an access device according to an embodiment of the present application.
  • the cloud server in the existing Internet of Things lacks the function of link management for the accessed device, and on the one hand, it cannot identify, process, and occupy the connection resources of the server as soon as possible, and on the other hand, cannot update and feedback in time.
  • the actual connection status of each access device in the current Internet of Things proposes an Internet of Things link management method, which can distinguish between an effective device connection and an illegal connection, and processes the illegal connection, and targets the weak network environment common in the Internet of Things scene through an indefinite length interval. Heartbeat keeps track of device status for processing and feedback.
  • FIG. 2 is a schematic flowchart of an Internet of Things link management method according to an embodiment of the present application. The method is applied to a network including a server and an access device, where the method includes the following steps:
  • Step 201 The server establishes a link with the receiving device according to a connection request sent by the receiving device.
  • the server receives a TCP (Transmission Control Protocol) connection request sent by the access device, and the server establishes a link with the access device according to the TCP connection request, where the link is It is an unauthorized link, that is, there is a link between the server and the access device, but the link cannot be used for normal communication.
  • TCP Transmission Control Protocol
  • Step 202 The server determines, according to the verification information of the receiving device, whether the link is a valid link. When the link is an invalid link, step 203 is performed, and when the link is a valid link, step 204 is performed.
  • the server determines whether the link is a valid link, specifically:
  • the server determines that the link is an invalid link
  • the server determines whether the verification request is correct
  • the server determines that the link is an invalid link
  • the server determines that the link is a valid link
  • the authentication information includes:
  • Session ID number Session Id and device ID number device Id Session ID number Session Id and device ID number device Id.
  • the server After the server establishes a link with the access device, it is required to determine whether the link is a valid link, and the server and the access device can only be used when the link is a valid link. Normal communication is performed through the link. Determining, by the server, whether the identity verification information sent by the access device is received within a first preset time, and if yes, indicating that the access device may be a legal device, if the link is to be determined as a valid link Further, if it is not received, the access device is an illegal device, or the current network environment is unstable. In this case, the link needs to be determined as an invalid link.
  • the server After the server receives the authentication information, the server needs to determine whether the session Id and the device Id included in the authentication information are correct. If the device is correct, the access device is a legal device and needs to be The link is determined to be a valid link, and if not, the access device is an illegal device.
  • the Session Id and the device Id are allocated by the server to the access device according to a preset allocation principle when the legal access device accesses the server for the first time, and the server will allocate the session for the intervention device.
  • Id and device Id are stored in their own storage space. Determining, by the server, whether the Session Id and the device Id included in the authentication information are correct, and determining, according to the Session Id and the device Id corresponding to the intervention device stored by the server, the Session Id and the device included in the authentication information. Whether the length and content of the Id are correct, if correct, the access device is a legitimate device, and the established link needs to be determined as a valid link, so that the server performs normal communication with the access device.
  • the server may determine that the Session Id in the authentication information determines whether the corresponding session has a connection history, if any And determining whether the device Id in the authentication information is correct, so that after the session Id stored in the server expires, the server may still be configured when a new session Id is not allocated to the access device. It is determined whether the link corresponding to the access device is determined to be a valid link.
  • the authentication information Session Id and the device Id may be carried in the TCP link request, or the identity verification information Session Id may be sent after the TCP link request is sent. And sending the device Id to the server, or, after receiving the response information that the server establishes a link according to the TCP connection request, sending the authentication information Session Id and device Id to the server.
  • the server After determining the link as a valid link, the server further determines whether there is a link corresponding to the same device Id in the connected state, and if so, clears the corresponding link.
  • the authentication information may further include a preset key, the key is also pre-stored in the server, and the key in the authentication information is verified to be correct when the verification link is correct. This will make the verification more accurate.
  • Step 203 the server marks the status of the link as unauthorized, and deletes the Said link.
  • the server deleting invalid links can prevent some invalid links from occupying server resources for a long time after being established.
  • Step 204 The server marks the status of the link as authorized, so that the server and the access device perform message interaction.
  • the server After the link between the server and the access device is authorized, the server performs normal communication with the access device, and during the communication, the server also needs to determine whether the current network is stable or not. Whether the access device is online for corresponding processing.
  • the method further includes:
  • the server updates the status identifier of the link to be unauthorized, and deletes the link;
  • the server determines whether the number of heartbeat information received in the second preset time exceeds a threshold
  • the server may extend the sending period of the heartbeat information and the duration of the second preset time according to a preset adjustment rule, and send the adjusted sending period of the heartbeat information to the access device. So that the access device sends heartbeat information according to the sending period of the heartbeat information;
  • the server shortens the sending period of the heartbeat information and the duration of the second preset time according to a preset adjustment rule, and sends the adjusted sending period of the heartbeat information to the access a device, configured to enable the access device to send heartbeat information according to a sending period of the heartbeat information;
  • the server updates the status identification of the link to be unauthorized and deletes the link.
  • the second preset time is determined according to the stability of the current network environment.
  • the second preset time is set based on the network environment of the access device, and can be real-time based on the network status.
  • the adjustment is used as one of the parameters for determining whether the access device is in an offline state or a weak network state, and is convenient for timely understanding and updating the state information of the access device.
  • the server determines whether the access device is still online by determining whether the access device sends the heartbeat information sent by the access device through the authorization link in a second preset time. If not, the server indicates that the access device is online.
  • the incoming device is offline, that is, the link between the access device and the server is an invalid link at this time, and the link needs to be deleted in order to prevent the invalid link from occupying server resources for a long time; if received, the The server needs to determine whether the current network is stable according to the number of heartbeat information received in the second preset time. If the number exceeds a preset threshold, the current network is relatively stable, and at the same time, in order to avoid a stable network.
  • the access device sends too much heartbeat information to the server to occupy excessive resources, and needs to extend the period of sending the heartbeat information and the duration of the second preset time, and adjusting the heartbeat information.
  • the duration of the transmission period and the second preset time is adjusted according to the threshold, if the number does not exceed a preset threshold
  • the current network is relatively poor, and in order to determine the real state of the access device as soon as possible, the heartbeat information transmission period and the second preset time duration need to be shortened, and the heartbeat information is adjusted.
  • the duration of the transmission period and the second preset time is adjusted according to the threshold.
  • a second schematic flowchart of an Internet of Things link management method is applied to a network including a server and an access device, and the method includes the following steps:
  • Step 301 The access device sends a connection request to the server, so that the server establishes a link according to the connection request.
  • connection request can be a TCP connection request.
  • Step 302 The access device sends an authentication request including identity verification information to the server, so that the server marks the status of the link as authorized.
  • the server and the access device perform normal communication through the authorized link.
  • the authentication message includes:
  • Session ID number Session Id and device ID number device Id Session ID number Session Id and device ID number device Id.
  • the method further includes:
  • the access device sends heartbeat information to the server according to a sending period of the heartbeat information set by the server, so that the server maintains the status identifier of the link.
  • the access device In order to ensure that the server maintains the authorization status of the link, the access device needs to periodically send heartbeat information according to the heartbeat information set by the server.
  • the server establishes a link with the receiving device according to the connection request sent by the receiving device, and determines whether the link is a valid link according to the verification information of the receiving device; when the link is an invalid link Mark the status of the link as unauthorized and delete the link; mark the status of the link as authorized when the link is a valid link, so that the server and the access device can exchange messages. Therefore, the timely deletion of the unauthorized link is realized, and at the same time, the link corresponding to the dropped access device is cleaned in time when the network environment is poor, and the invalid link does not occupy the server resource for a long time.
  • the present application further provides a server, where the server is applied to a network further including an access device, as shown in FIG. 4, the server includes:
  • the establishing module 41 is configured to establish a link with the receiving device according to the connection request sent by the receiving device;
  • the first determining module 42 is configured to determine, according to the verification information of the receiving device, whether the link is a valid link
  • the first marking module 43 is configured to mark the status of the link as authorized when the link is a valid link, so that the server and the access device perform message interaction.
  • the server further includes:
  • the second tagging module when the link is an invalid link, is used to mark the status of the link as unauthorized and delete the link.
  • the determining module is specifically configured to:
  • the authentication information includes:
  • Session ID number Session Id and device ID number device Id Session ID number Session Id and device ID number device Id.
  • the server further includes:
  • a second determining module configured to determine whether the heartbeat information sent by the link marked as the authorized status is received within the second preset time
  • the third judging module is configured to determine whether the number of heartbeat information received in the second preset time exceeds a threshold if the heartbeat information sent by the link marked as the authorized state is received;
  • the first adjustment module if it is exceeded, is configured to extend the sending period of the heartbeat information and the duration of the second preset time according to a preset adjustment rule, and send the adjusted sending period of the heartbeat information to the
  • the access device is configured to enable the access device to send heartbeat information according to the sending period of the heartbeat information
  • the second adjustment module if not exceeded, is configured to shorten the sending period of the heartbeat information and the duration of the second preset time according to a preset adjustment rule, and send the adjusted sending period of the heartbeat information to The access device, so that the access device sends heartbeat information according to the sending period of the heartbeat information;
  • the second preset time is determined according to the stability of the current network environment.
  • the server further includes:
  • the update module if the heartbeat information sent by the link marked as authorized is not received, is used to update the status identifier of the link to be unauthorized, and delete the link.
  • the present application further provides an access device, where the access device is applied to a network that further includes a server, as shown in FIG. 5, the access device includes:
  • a first sending module 51 configured to send a connection request to the server, so that the server establishes a link according to the connection request;
  • the second sending module 52 sends an authentication request including the authentication information to the server, so that the server marks the status of the link as authorized;
  • the authentication message includes:
  • Session ID number Session Id and device ID number device Id Session ID number Session Id and device ID number device Id.
  • the intervention device further includes:
  • a third sending module configured to send heartbeat information to the server according to a sending period of the heartbeat information set by the server, so that the server maintains the status identifier of the link.
  • the server determines whether to delete the link by determining whether the established link is a valid link, and can process the illegal link in time. At the same time, after the server establishes a valid link for the connection request, it is also required to determine that the valid link is valid. Linking the heartbeat information received within the preset time to determine whether the link is disconnected, to ensure that the broken link can be processed in time, and adjusting the sending of the heartbeat information according to the number of heartbeat information received within the preset time The period and the preset time are such that the server performs timely processing on the access device in the weak network environment, and also reduces signaling overhead with the access device in the stable network.
  • the present application can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is a better implementation. the way.
  • the technical solution of the present application which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium, including a plurality of instructions for making a
  • the terminal device (which may be a cell phone, a personal computer, a server, or a network device, etc.) performs the methods described in various embodiments of the present application.
  • modules in the apparatus in the embodiments may be distributed in the apparatus of the embodiment according to the description of the embodiments, or the corresponding changes may be located in one or more apparatuses different from the embodiment.
  • the modules of the foregoing embodiments may be integrated into one or may be deployed separately; may be combined into one module, or may be further split into multiple sub-modules.
  • the serial numbers of the embodiments of the present application are merely for the description, and do not represent the advantages and disadvantages of the embodiments.

Landscapes

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

Abstract

本申请公开了一种物联网链接管理方法,应用于包括服务器和接入设备的网络中,所述方法包括:服务器根据接收设备发送的连接请求建立与该接收设备之间的链接,并根据接收设备的验证信息判断链接是否为有效链接;当链接为无效链接时将链接的状态标记为未被授权,并删除链接;当链接为有效链接时将链接的状态标记为已授权,以使服务器和接入设备进行报文交互。从而实现了未授权链接的及时删除,同时还能保证在网络环境较差时及时清理已掉线的接入设备对应的链接,保证了无效链接不会长时间占用服务器的资源。

Description

一种物联网链接管理方法和设备 技术领域
本申请涉及网络通信领域,特别是涉及一种物联网链接管理方法和设备。
背景技术
物联网是基于互联网、传统电信网络等讯息的承载体,让所有能够被独立寻址的普通物理对象实现互联互通的网络。在应用物联网技术的过程中,接入设备按照事先约定的协议接入物联网中的云端服务器,接入物联网的物理设备主要包括空调,冰箱,等含有芯片的嵌入式设备。
如图1所示,为现有的物联网技术应用示意图,由于物联网场景下所有的接入设备都与云端服务器直接连接,因此云端服务器需要对这些链接进行管理,例如对长期没有数据的链接进行清理、对超过时限没有做权限验证的链接进行清理等,这样云端服务器能够及时地同步接入设备的真实状态,并且节省服务器资源。
然而,发明人在实现本申请过程中发现,尽管物联网中云端服务器与接入设备之间的链接非常重要,但由于接入设备的损毁或是转移等客观原因,在云端服务器中同时也会产生一些无效的链接,而现有技术中并没有任何针对这些链接进行有效管理的技术方案。这样导致了云端的服务器不仅无法尽快识别以及处理非法链接,致使无效链接建立以后长时间占据服务器资源,而且不能针对物联网场景中的弱网络环境下接入设备的断线情况做出及时处理和及时同步接入设备的链接状态,从而给服务器带来的额外的性能以及资源上的负荷,同时造成了用户体验的下降。
发明内容
本申请的目的在于提供一种物联网链接管理方法和设备,服务器通过判断已建立的链接是否为有效链接来确定是否删除所述链接,同时,在服务器为所述连接请求建立有效链接后,还需要判断所述有效链接在预设时间内收到的心跳信息,以判断所述链接是否断开,并且,根据预设时间内接收到的心跳信息的数量调整心跳信息的发送周期和预设时间,以使所述服务器对弱网络环境中的接入设备做出及时处理,还减少了与稳定网络中的接入设备之间的信令开销。
本申请的技术方案如下:
一种物联网链接管理方法,应用于包括服务器和接入设备的网络中,所述方法包括:
所述服务器根据所述接收设备发送的连接请求建立与所述接收设备之间的链接;
所述服务器根据所述接收设备的验证信息判断所述链接是否为有效链接;
当所述链接为有效链接时,所述服务器将所述链接的状态标记为已授权,以使所述服务器和所述接入设备进行报文交互。
优选地,当所述链接为无效链接时,所述服务器将所述链接的状态标记为未被授权,并删除所述链接。
所述服务器判断所述链接是否为有效链接,具体为:
所述服务器判断在第一预设时间内是否收到包含身份验证信息的验证请求;
如果没收到,所述服务器确定所述链接为无效链接;
如果收到,所述服务器判断所述验证请求是否正确;
如果不正确,所述服务器确定所述链接为无效链接;
如果正确,所述服务器确定所述链接为有效链接;
其中,所述身份验证信息包括:
会话身份标识号码Session Id和设备身份标识号码device Id。
在所述服务器将所述链接的状态标记为已授权之后,所述方法还包括:
所述服务器判断在第二预设时间内是否收到标记为授权状态的链接发送的心跳信息;
如果收到标记为授权状态的链接发送的心跳信息,所述服务器判断在所述第二预设时间内收到的心跳信息的个数是否超过阈值;
如果超过,所述服务器根据预设的调整规则延长所述心跳信息的发送周期和所述第二预设时间的时长,并将调整后的所述心跳信息的发送周期发送给所述接入设备,以使所述接入设备根据所述心跳信息的发送周期发送心跳信息;
如果没超过,所述服务器根据预设的调整规则缩短所述心跳信息的发送周期和所述第二预设时间的时长,并将调整后的所述心跳信息的发送周期发送给所述接入设备,以使所述接入设备根据所述心跳信息的发送周期发送心跳信息。
在所述服务器判断在第二预设时间内是否收到标记为授权状态的链接发送的心跳信息之后,所述方法还包括:
如果没收到标记为授权状态的链接发送的心跳信息,所述服务器将所述链接的状态标识更新为未被授权,并删除所述链接。
一种物联网链接管理方法,应用于包括服务器和接入设备的网络中,所述方法包括:
所述接入设备向所述服务器发送连接请求,以使所述服务器根据所述连接请求建立链接;
所述接入设备向所述服务器发送包含身份验证信息的验证请求,以使所述服务器将所述链接的状态标记为已授权;
其中,所述身份验证消息包括:
会话身份标识号码Session Id和设备身份标识号码device Id。
在所述接入设备根据所述响应消息向所述服务器发送包含身份验证信息的验证请求后,所述方法还包括:
所述接入设备根据所述服务器设定的心跳信息的发送周期向所述服务器发送心跳信息,以使所述服务器保持所述连接的状态标识。
一种服务器,所述服务器包括:
建立模块,用于根据所述接收设备发送的连接请求建立与所述接收设备之间的链接;
第一判断模块,用于根据所述接收设备的验证信息判断所述链接是否为有效链接;
第一标记模块,当所述链接为有效链接时,用于将所述链接的状态标记为已授权,以使所述服务器和所述接入设备进行报文交互。
所述服务器还包括:
第二标记模块,当所述链接为无效链接时,用于将所述链接的状态标记为未被授权,并删除所述链接。
所述第一判断模块,具体用于:
判断在第一预设时间内是否收到包含身份验证信息的验证请求;
如果没收到,确定所述链接为无效链接;
如果收到,判断所述验证请求是否正确;
如果不正确,确定所述链接为无效链接;
如果正确,确定所述链接为有效链接;
其中,所述身份验证信息包括:
会话身份标识号码Session Id和设备身份标识号码device Id。
所述服务器还包括:
第二判断模块,用于判断在第二预设时间内是否收到标记为授权状态 的链接发送的心跳信息;
第三判断模块,如果收到标记为授权状态的链接发送的心跳信息,用于判断在所述第二预设时间内收到的心跳信息的个数是否超过阈值;
第一调整模块,如果超过,用于根据预设的调整规则延长所述心跳信息的发送周期和所述第二预设时间的时长,并将调整后的所述心跳信息的发送周期发送给所述接入设备,以使所述接入设备根据所述心跳信息的发送周期发送心跳信息;
第二调整模块,如果没超过,用于根据预设的调整规则缩短所述心跳信息的发送周期和所述第二预设时间的时长,并将调整后的所述心跳信息的发送周期发送给所述接入设备,以使所述接入设备根据所述心跳信息的发送周期发送心跳信息。
所述服务器还包括:
更新模块,如果没收到标记为授权状态的链接发送的心跳信息,用于将所述链接的状态标识更新为未被授权,并删除所述链接。
一种接入设备,所述接入设备包括:
第一发送模块,用于向所述服务器发送连接请求,以使所述服务器根据所述连接请求建立链接;
第二发送模块,向所述服务器发送包含身份验证信息的验证请求,以使所述服务器将所述链接的状态标记为已授权;
其中,所述身份验证消息包括:
会话身份标识号码Session Id和设备身份标识号码device Id。
所述介入设备还包括:
第三发送模块,用于根据所述服务器设定的心跳信息的发送周期向所述服务器发送心跳信息,以使所述服务器保持所述链接的状态标识。
通过应用本申请的技术方案,服务器根据接收设备发送的连接请求建立与该接收设备之间的链接,并根据接收设备的验证信息判断链接是否为有效链接;当链接为无效链接时将链接的状态标记为未被授权,并删除链 接;当链接为有效链接时将链接的状态标记为已授权,以使服务器和接入设备进行报文交互。从而实现了未授权链接的及时删除,同时还能保证在网络环境较差时及时清理已掉线的接入设备对应的链接,保证了无效链接不会长时间占用服务器的资源。
附图说明
为了更清楚地说明本申请或现有技术中的技术方案,下面将对本申请或现有技术描述中所需要使用的附图作简单的介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为现有技术中物联网技术应用的示意图;
图2为本申请实施例中的一种物联网链接管理方法流程图之一;
图3为本申请实施例中的一种物联网链接管理方法流程图之二;
图4为本申请实施例中的一种服务器的结构示意图;
图5为本申请实施例中的一种接入设备的结构示意图。
具体实施方式
下面将结合本申请中的附图,对本申请中的技术方案进行清楚、完整的描述,显然,所描述的实施例是本申请的一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的其他实施例,都属于本申请保护的范围。
如背景技术所述,现有的物联网中的云端服务器对于接入的设备缺乏链接管理的功能,一方面无法尽快识别、处理非法连接以及占据服务器的连接资源,另一方面不能及时更新并且反馈当前物联网中各个接入设备的真实连接状态。为此本申请实施例提出了一种物联网链接管理方法,能够区分出有效的设备连接以及非法连接,并且针对非法连接进行处理,并针对物联网场景中常见的弱网络环境通过不定长间隔的心跳及时了解设备状态进行处理和反馈。
如图2所示,为本申请实施例提出的一种物联网链接管理方法的流程示意图之一,该方法应用于包括服务器和接入设备的网络中,所述方法包括以下步骤:
步骤201,所述服务器根据所述接收设备发送的连接请求建立与所述接收设备之间的链接。
具体的,所述服务器接收接入设备发送的TCP(Transmission Control Protocol传输控制协议)连接请求,所述服务器根据所述TCP连接请求建立与所述接入设备之间的链接,此时所述链接为未授权的链接,即所述服务器与所述接入设备之间有链接,但是所述链接不能用于正常通信。
步骤202,所述服务器根据所述接收设备的验证信息判断所述链接是否为有效链接。当所述链接为无效链接时,则执行步骤203,当所述链接为有效链接时,则执行步骤204。
所述服务器判断所述链接是否为有效链接,具体为:
所述服务器判断在第一预设时间内是否收到包含身份验证信息的验证请求;
如果没收到,所述服务器确定所述链接为无效链接;
如果收到,所述服务器判断所述验证请求是否正确;
如果不正确,所述服务器确定所述链接为无效链接;
如果正确,所述服务器确定所述链接为有效链接;
其中,所述身份验证信息包括:
会话身份标识号码Session Id和设备身份标识号码device Id。
具体的,在所述服务器建立与所述接入设备之间的链接后,需要判断所述链接是否为有效链接,只有当所述链接为有效链接时所述服务器和所述接入设备才可以通过所述链接进行正常通信。所述服务器判断在第一预设时间内是否收到所述接入设备发送的身份验证信息,如果收到,说明所述接入设备可能为合法设备,如果要将所述链接确定为有效链接则需要进一步判断,如果没有收到,说明所述接入设备为非法设备,或者当前网络环境不稳定,此时需要将所述链接确定为无效链接。
在所述服务器接收到所述身份验证信息后,所述服务器需要判断所述身份验证信息中包含的Session Id和device Id是否正确,如果正确,则说明所述接入设备为合法设备,需要将所述链接确定为有效链接,如果不正确,则说明所述接入设备为非法设备。
所述Session Id和device Id是合法接入设备在第一次接入所述服务器时由所述服务器根据预设的分配原则为接入设备分配的,并且所述服务器将为介入设备分配的Session Id和device Id存储在自身的存储空间内。所述服务器判断所述身份验证信息中包含的Session Id和device Id是否正确具体根据所述服务器存储的所述介入设备对应的Session Id和device Id判断所述身份验证信息中包含的Session Id和device Id的长度和内容是否正确,如果正确,则说明所述接入设备是合法设备需要将已建立的链接确定为有效链接,以使所述服务器与所述接入设备进行正常通信。
在所述服务器判断所述身份验证信息中包含的Session Id和device Id是否正确时还可以为:所述服务器判断所述身份验证信息中的Session Id判断对应的会话是否有过连接历史,如果有,再判断所述身份验证信息中的device Id是否正确,这样可以避免所述服务器中存储的Session Id过期后,在没有为所述接入设备分配到新的Session Id时,所述服务器依旧可以判断是否将所述接入设备对应的链接确定为有效链接。
所述接入设备在向所述服务器发送TCP连接请求时,可以将身份验证信息Session Id和device Id携带在所述TCP链接请求中,或者在发送TCP链接请求后将所述身份验证信息Session Id和device Id发送给所述服务器,再或者,在接收到所述服务器根据所述TCP连接请求建立链接的响应信息后,向所述服务器发送身份验证信息Session Id和device Id。
在将所述链接确定为有效链接后,所述服务器还要判断是否有相同的device Id对应的链接有处于连接状态的,如果有,则清除对应的链接。
所述身份验证信息还可以包含预先设定的密钥,所述密钥在所述服务器中同样进行预先的存储,在验证链接是否正确时还要验证所述身份验证信息中的密钥是否正确,这样可以使验证更加准确。
步骤203,所述服务器将所述链接的状态标记为未被授权,并删除所 述链接。
所述服务器删除无效链接可以防止一些无效链接在建立以后长时间占据服务器资源。
步骤204,所述服务器将所述链接的状态标记为已授权,以使所述服务器和所述接入设备进行报文交互。
在所述服务器与所述接入设备之间的链接被授权后,所述服务器与所述接入设备进行正常的通信,在通信期间,所述服务器还需要时时判断当前网络是否稳定,以及所述接入设备是否在线,以便进行相应的处理。
在所述服务器将所述链接的状态标记为已授权之后,所述方法还包括:
所述服务器判断在第二预设时间内是否收到标记为授权状态的链接发送的心跳信息;
如果没收到标记为授权状态的链接发送的心跳信息,所述服务器将所述链接的状态标识更新为未被授权,并删除所述链接;
如果收到标记为授权状态的链接发送的心跳信息,所述服务器判断在所述第二预设时间内收到的心跳信息的个数是否超过阈值;
如果超过,所述服务器根据预设的调整规则延长所述心跳信息的发送周期和所述第二预设时间的时长,并将调整后的所述心跳信息的发送周期发送给所述接入设备,以使所述接入设备根据所述心跳信息的发送周期发送心跳信息;
如果没超过,所述服务器根据预设的调整规则缩短所述心跳信息的发送周期和所述第二预设时间的时长,并将调整后的所述心跳信息的发送周期发送给所述接入设备,以使所述接入设备根据所述心跳信息的发送周期发送心跳信息;
如果没收到标记为授权状态的链接发送的心跳信息,所述服务器将所述链接的状态标识更新为未被授权,并删除所述链接。
其中,所述第二预设时间是根据当前网络环境的稳定性确定的。第二预设时间基于接入设备的网络环境进行设置,并可基于网络状态进行实时 调整,在用于确定接入设备处于离线状态还是在线状态的同时,还作为判断接入设备是离线状态还是弱网状态的参数之一,便于及时了解并更新接入设备的状态信息。具体的,所述服务器通过判断在第二预设时间内是否收到所述接入设备通过授权链接发送的心跳信息来判断所述接入设备是否还在线,如果没有收到,说明所述接入设备已不在线,即所述接入设备与所述服务器之间的链接此时为无效链接,为了防止所述无效链接长时间占用服务器资源需要将所述链接删除;如果收到,所述服务器需要根据在第二预设时间内接收到的心跳信息个数判断当前网络是否稳定,如果所述个数超过预先设定的阈值,则说明当前网络比较稳定,同时,为了避免在稳定的网络中所述接入设备向所述服务器发送过多的心跳信息而占用过多的资源,需要延长所述心跳信息的发送周期和所述第二预设时间的时长,在调整所述心跳信息的发送周期和所述第二预设时间的时长时是根据所述阈值进行调整的,如果所述个数未超过预先设定的阈值,则说明当前网络比较差,同时,为了尽快确定出所述接入设备的真实状态,需要缩短所述心跳信息的发送周期和所述第二预设时间的时长,在调整所述心跳信息的发送周期和所述第二预设时间的时长时是根据所述阈值进行调整的。
如图3所述,为本申请实施例提出的一种物联网链接管理方法的流程示意图之二,应用于包括服务器和接入设备的网络中,所述方法包括以下步骤:
步骤301,所述接入设备向所述服务器发送连接请求,以使所述服务器根据所述连接请求建立链接。
所述服务器根据所述链接请求建立的链接为未授权的链接,此时所述服务器与所述接入设备不能通过所述链接进行通信,所述服务器需要对所述接入设备进行进一步的验证,其中,所述连接请求可以为TCP连接请求。
步骤302,所述接入设备向所述服务器发送包含身份验证信息的验证请求,以使所述服务器将所述链接的状态标记为已授权;
所述服务器和所述接入设备通过已授权的所述链接进行正常的通信。
其中,所述身份验证消息包括:
会话身份标识号码Session Id和设备身份标识号码device Id。
在所述接入设备根据所述响应消息向所述服务器发送包含身份验证信息的验证请求后,所述方法还包括:
所述接入设备根据所述服务器设定的心跳信息的发送周期向所述服务器发送心跳信息,以使所述服务器保持所述链接的状态标识。
为了保证让所述服务器保持所述链接的授权状态,所述接入设备需要根据所述服务器设定的心跳信息周期性的发送心跳信息。
由此可见,通过应用本申请的技术方案,服务器根据接收设备发送的连接请求建立与该接收设备之间的链接,并根据接收设备的验证信息判断链接是否为有效链接;当链接为无效链接时将链接的状态标记为未被授权,并删除链接;当链接为有效链接时将链接的状态标记为已授权,以使服务器和接入设备进行报文交互。从而实现了未授权链接的及时删除,同时还能保证在网络环境较差时及时清理已掉线的接入设备对应的链接,保证了无效链接不会长时间占用服务器的资源。
基于与上述方法同样的申请构思,本申请还提出了一种服务器,所述服务器应用于还包括接入设备的网络中,如图4所述,所述服务器包括:
建立模块41,用于根据所述接收设备发送的连接请求建立与所述接收设备之间的链接;
第一判断模块42,用于根据所述接收设备的验证信息判断所述链接是否为有效链接;
第一标记模块43,当所述链接为有效链接时,用于将所述链接的状态标记为已授权,以使所述服务器和所述接入设备进行报文交互。
所述服务器还包括:
第二标记模块,当所述链接为无效链接时,用于将所述链接的状态标记为未被授权,并删除所述链接。
所述判断模块,具体用于:
判断在第一预设时间内是否收到包含身份验证信息的验证请求;
如果没收到,确定所述链接为无效链接;
如果收到,判断所述验证请求是否正确;
如果不正确,确定所述链接为无效链接;
如果正确,确定所述链接为有效链接;
其中,所述身份验证信息包括:
会话身份标识号码Session Id和设备身份标识号码device Id。
所述服务器还包括:
第二判断模块,用于判断在第二预设时间内是否收到标记为授权状态的链接发送的心跳信息;
第三判断模块,如果收到标记为授权状态的链接发送的心跳信息,用于判断在所述第二预设时间内收到的心跳信息的个数是否超过阈值;
第一调整模块,如果超过,用于根据预设的调整规则延长所述心跳信息的发送周期和所述第二预设时间的时长,并将调整后的所述心跳信息的发送周期发送给所述接入设备,以使所述接入设备根据所述心跳信息的发送周期发送心跳信息;
第二调整模块,如果没超过,用于根据预设的调整规则缩短所述心跳信息的发送周期和所述第二预设时间的时长,并将调整后的所述心跳信息的发送周期发送给所述接入设备,以使所述接入设备根据所述心跳信息的发送周期发送心跳信息;
其中,所述第二预设时间是根据当前网络环境的稳定性确定的。
所述服务器还包括:
更新模块,如果没收到标记为授权状态的链接发送的心跳信息,用于将所述链接的状态标识更新为未被授权,并删除所述链接。
基于与上述方法同样的申请构思,本申请还提出了一种接入设备,所述接入设备应用于还包括服务器的网络中,如图5所述,所述接入设备包括:
第一发送模块51,用于向所述服务器发送连接请求,以使所述服务器根据所述连接请求建立链接;
第二发送模块52,向所述服务器发送包含身份验证信息的验证请求,以使所述服务器将所述链接的状态标记为已授权;
其中,所述身份验证消息包括:
会话身份标识号码Session Id和设备身份标识号码device Id。
所述介入设备还包括:
第三发送模块,用于根据所述服务器设定的心跳信息的发送周期向所述服务器发送心跳信息,以使所述服务器保持所述链接的状态标识。
本申请中服务器通过判断已建立的链接是否为有效链接来确定是否删除所述链接,可以对非法链接进行及时处理,同时,在服务器为所述连接请求建立有效链接后,还需要判断所述有效链接在预设时间内收到的心跳信息,以判断所述链接是否断开,以保证能及时处理断开的链接,并且,根据预设时间内接收到的心跳信息的数量调整心跳信息的发送周期和预设时间,以使所述服务器对弱网络环境中的接入设备做出及时处理,还减少了与稳定网络中的接入设备之间的信令开销。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到本申请可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台终端设备(可以是手机,个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。
以上所述仅是本申请的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以做出若干改进 和润饰,这些改进和润饰也应视本申请的保护范围。
本领域技术人员可以理解实施例中的装置中的模块可以按照实施例描述进行分布于实施例的装置中,也可以进行相应变化位于不同于本实施例的一个或多个装置中。上述实施例的模块可以集成于一体,也可以分离部署;可以合并为一个模块,也可以进一步拆分成多个子模块。上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。
以上公开的仅为本申请的几个具体实施例,但是,本申请并非局限于此,任何本领域的技术人员能思之的变化都应落入本申请的保护范围。

Claims (14)

  1. 一种物联网链接管理方法,其特征在于,应用于包括服务器和接入设备的物联网中,所述方法包括:
    所述服务器根据所述接收设备发送的连接请求建立与所述接收设备之间的链接;
    所述服务器根据所述接收设备的验证信息判断所述链接是否为有效链接;
    当所述链接为有效链接时,所述服务器将所述链接的状态标记为已授权,以使所述服务器和所述接入设备进行报文交互。
  2. 如权利要求1所述方法,其特征在于,还包括:
    当所述链接为无效链接时,所述服务器将所述链接的状态标记为未被授权,并删除所述链接。
  3. 如权利要求1所述方法,其特征在于,所述服务器判断所述链接是否为有效链接,具体为:
    所述服务器判断在第一预设时间内是否收到包含身份验证信息的验证请求;
    如果没收到,所述服务器确定所述链接为无效链接;
    如果收到,所述服务器判断所述验证请求是否正确;
    如果不正确,所述服务器确定所述链接为无效链接;
    如果正确,所述服务器确定所述链接为有效链接;
    其中,所述身份验证信息包括:
    会话身份标识号码Session Id和设备身份标识号码device Id。
  4. 如权利要求1所述方法,其特征在于,在所述服务器将所述链接的状态标记为已授权之后,所述方法还包括:
    所述服务器判断在第二预设时间内是否收到标记为授权状态的链接发送的心跳信息;
    如果收到标记为授权状态的链接发送的心跳信息,所述服务器判断在 所述第二预设时间内收到的心跳信息的个数是否超过阈值;
    如果超过,所述服务器根据预设的调整规则延长所述心跳信息的发送周期和所述第二预设时间的时长,并将调整后的所述心跳信息的发送周期发送给所述接入设备,以使所述接入设备根据所述心跳信息的发送周期发送心跳信息;
    如果没超过,所述服务器根据预设的调整规则缩短所述心跳信息的发送周期和所述第二预设时间的时长,并将调整后的所述心跳信息的发送周期发送给所述接入设备,以使所述接入设备根据所述心跳信息的发送周期发送心跳信息。
  5. 如权利要求4所述方法,其特征在于,在所述服务器判断在第二预设时间内是否收到标记为授权状态的链接发送的心跳信息之后,还包括:
    如果没收到标记为授权状态的链接发送的心跳信息,所述服务器将所述链接的状态标识更新为未被授权,并删除所述链接。
  6. 一种物联网链接管理方法,其特征在于,应用于包括服务器和接入设备的物联网中,所述方法包括:
    所述接入设备向所述服务器发送连接请求,以使所述服务器根据所述连接请求建立链接;
    所述接入设备向所述服务器发送包含身份验证信息的验证请求,以使所述服务器将所述链接的状态标记为已授权;
    其中,所述身份验证消息包括:
    会话身份标识号码Session Id和设备身份标识号码device Id。
  7. 如权利要求6所述方法,其特征在于,在所述接入设备根据所述响应消息向所述服务器发送包含身份验证信息的验证请求后,所述方法还包括:
    所述接入设备根据所述服务器设定的心跳信息的发送周期向所述服务器发送心跳信息,以使所述服务器保持所述链接的状态标识。
  8. 一种服务器,其特征在于,所述服务器应用于还包括接入设备的网络中,所述服务器包括:
    建立模块,用于根据所述接收设备发送的连接请求建立与所述接收设备之间的链接;
    第一判断模块,用于根据所述接收设备的验证信息判断所述链接是否为有效链接;
    第一标记模块,当所述链接为有效链接时,用于将所述链接的状态标记为已授权,以使所述服务器和所述接入设备进行报文交互。
  9. 如权利要求8所述服务器,其特征在于,所述服务器还包括:
    第二标记模块,当所述链接为无效链接时,用于将所述链接的状态标记为未被授权,并删除所述链接。
  10. 如权利要求8所述服务器,其特征在于,所述第一判断模块,具体用于:
    判断在第一预设时间内是否收到包含身份验证信息的验证请求;
    如果没收到,确定所述链接为无效链接;
    如果收到,判断所述验证请求是否正确;
    如果不正确,确定所述链接为无效链接;
    如果正确,确定所述链接为有效链接;
    其中,所述身份验证信息包括:
    会话身份标识号码Session Id和设备身份标识号码device Id。
  11. 如权利要求8所述服务器,其特征在于,所述服务器还包括:
    第二判断模块,用于判断在第二预设时间内是否收到标记为授权状态的链接发送的心跳信息;
    第三判断模块,如果收到标记为授权状态的链接发送的心跳信息,用于判断在所述第二预设时间内收到的心跳信息的个数是否超过阈值;
    第一调整模块,如果超过,用于根据预设的调整规则延长所述心跳信 息的发送周期和所述第二预设时间的时长,并将调整后的所述心跳信息的发送周期发送给所述接入设备,以使所述接入设备根据所述心跳信息的发送周期发送心跳信息;
    第二调整模块,如果没超过,用于根据预设的调整规则缩短所述心跳信息的发送周期和所述第二预设时间的时长,并将调整后的所述心跳信息的发送周期发送给所述接入设备,以使所述接入设备根据所述心跳信息的发送周期发送心跳信息。
  12. 如权利要求11所述服务器,其特征在于,所述服务器还包括:
    更新模块,如果没收到标记为授权状态的链接发送的心跳信息,用于将所述链接的状态标识更新为未被授权,并删除所述链接。
  13. 一种接入设备,其特征在于,所述接入设备应用于还包括服务器的物联网中,所述接入设备包括:
    第一发送模块,用于向所述服务器发送连接请求,以使所述服务器根据所述连接请求建立链接;
    第二发送模块,向所述服务器发送包含身份验证信息的验证请求,以使所述服务器将所述链接的状态标记为已授权;
    其中,所述身份验证消息包括:
    会话身份标识号码Session Id和设备身份标识号码device Id。
  14. 如权利要求13所述接入设备,其特征在于,所述接入设备还包括:
    第三发送模块,用于根据所述服务器设定的心跳信息的发送周期向所述服务器发送心跳信息,以使所述服务器保持所述链接的状态标识。
PCT/CN2016/109651 2015-12-21 2016-12-13 一种物联网链接管理方法和设备 WO2017107809A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510965286.1A CN106899642A (zh) 2015-12-21 2015-12-21 一种物联网链接管理方法和设备
CN201510965286.1 2015-12-21

Publications (1)

Publication Number Publication Date
WO2017107809A1 true WO2017107809A1 (zh) 2017-06-29

Family

ID=59089151

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/109651 WO2017107809A1 (zh) 2015-12-21 2016-12-13 一种物联网链接管理方法和设备

Country Status (2)

Country Link
CN (1) CN106899642A (zh)
WO (1) WO2017107809A1 (zh)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111222121A (zh) * 2019-12-27 2020-06-02 广州芯德通信科技股份有限公司 一种嵌入式设备授权管理方法
CN112231601A (zh) * 2020-10-14 2021-01-15 深圳前海微众银行股份有限公司 链接管理方法、装置、设备及计算机存储介质
CN112235393A (zh) * 2020-10-13 2021-01-15 上海燕汐软件信息科技有限公司 一种基于物流系统的服务稳定方法和装置
CN115102885A (zh) * 2022-06-17 2022-09-23 中建八局第二建设有限公司 一种针对低功耗物联网设备的可变速心跳方法
WO2023174043A1 (zh) * 2022-03-14 2023-09-21 华为技术有限公司 一种电力线通信系统、在网状态检测方法及设备
CN112231601B (zh) * 2020-10-14 2024-05-28 深圳前海微众银行股份有限公司 链接管理方法、装置、设备及计算机存储介质

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111352927B (zh) * 2018-12-24 2023-10-03 北京嘀嘀无限科技发展有限公司 短域名管理方法、装置、服务器及可读存储介质
CN114629683B (zh) * 2022-02-11 2023-09-05 亚信科技(成都)有限公司 管理服务器的接入方法、装置、设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102333071A (zh) * 2011-05-26 2012-01-25 浙江大学 一种工程机械车辆联网通信方法及工程机械车辆联网系统
US20130139252A1 (en) * 2011-11-28 2013-05-30 International Business Machines Corporation Securing network communications from blind attacks with checksum comparisons
CN105005201A (zh) * 2015-06-04 2015-10-28 广东康宝电器股份有限公司 智能家居多移动终端数据同步与推送系统
CN105391747A (zh) * 2014-09-03 2016-03-09 苏州派尔网络科技有限公司 一种云端智能设备管理方法

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130339736A1 (en) * 2012-06-19 2013-12-19 Alex Nayshtut Periodic platform based web session re-validation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102333071A (zh) * 2011-05-26 2012-01-25 浙江大学 一种工程机械车辆联网通信方法及工程机械车辆联网系统
US20130139252A1 (en) * 2011-11-28 2013-05-30 International Business Machines Corporation Securing network communications from blind attacks with checksum comparisons
CN105391747A (zh) * 2014-09-03 2016-03-09 苏州派尔网络科技有限公司 一种云端智能设备管理方法
CN105005201A (zh) * 2015-06-04 2015-10-28 广东康宝电器股份有限公司 智能家居多移动终端数据同步与推送系统

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111222121A (zh) * 2019-12-27 2020-06-02 广州芯德通信科技股份有限公司 一种嵌入式设备授权管理方法
CN112235393A (zh) * 2020-10-13 2021-01-15 上海燕汐软件信息科技有限公司 一种基于物流系统的服务稳定方法和装置
CN112231601A (zh) * 2020-10-14 2021-01-15 深圳前海微众银行股份有限公司 链接管理方法、装置、设备及计算机存储介质
CN112231601B (zh) * 2020-10-14 2024-05-28 深圳前海微众银行股份有限公司 链接管理方法、装置、设备及计算机存储介质
WO2023174043A1 (zh) * 2022-03-14 2023-09-21 华为技术有限公司 一种电力线通信系统、在网状态检测方法及设备
CN115102885A (zh) * 2022-06-17 2022-09-23 中建八局第二建设有限公司 一种针对低功耗物联网设备的可变速心跳方法
CN115102885B (zh) * 2022-06-17 2024-05-14 中建八局第二建设有限公司 一种针对低功耗物联网设备的可变速心跳方法

Also Published As

Publication number Publication date
CN106899642A (zh) 2017-06-27

Similar Documents

Publication Publication Date Title
WO2017107809A1 (zh) 一种物联网链接管理方法和设备
CN107528856A (zh) 基于区块链的物联网雾端设备在云端平台接入认证方法
KR102408155B1 (ko) 비밀 식별자를 사용하는 사용자 장비에 관련된 동작
CN105306456B (zh) 一种登录系统的方法、服务器、系统及网络附属存储设备
US10243974B2 (en) Detecting deauthentication and disassociation attack in wireless local area networks
CN108990062B (zh) 智能安全Wi-Fi管理方法和系统
CN110636495B (zh) 一种雾计算系统中的终端用户安全漫游认证的方法
WO2017054181A1 (zh) 业务流处理策略的处理方法、装置和系统
CN104601541A (zh) 数据传输的方法、服务器和用户设备
CN109936515B (zh) 接入配置方法、信息提供方法及装置
US20220141027A1 (en) Automatic distribution of dynamic host configuration protocol (dhcp) keys via link layer discovery protocol (lldp)
US20170054642A1 (en) Prioritising sip messages
US11653395B2 (en) Method for establishing a connection of a mobile terminal to a mobile radio communication network and radio access network component
JP6456409B2 (ja) オンラインでアタッチされるユーザの総数を制御するための方法、装置、およびシステム
WO2021002180A1 (ja) 中継方法、中継システム、及び中継用プログラム
CN109548026B (zh) 一种控制终端接入的方法和装置
CN109981462B (zh) 一种报文处理方法及装置
KR102020488B1 (ko) IoT 디바이스의 인터넷 접근 제어를 위한 장치 및 이를 위한 방법
CN110830421B (zh) 数据传输方法和设备
TWI777937B (zh) 物聯網鏈接管理方法和設備
CN105391720A (zh) 用户终端登录方法及装置
CN101163326A (zh) 一种抗重放攻击的方法、系统及移动终端
US11757883B2 (en) Borrower privacy enhancement for shared-line solutions
CN107395764B (zh) 在不同数据域内的设备间进行数据交换的方法及系统
CN106506495B (zh) 一种终端上线控制方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16877620

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16877620

Country of ref document: EP

Kind code of ref document: A1