CN103095831B - Maintain the method for heartbeat mechanism, wlan client and program servers - Google Patents
Maintain the method for heartbeat mechanism, wlan client and program servers Download PDFInfo
- Publication number
- CN103095831B CN103095831B CN201310014696.9A CN201310014696A CN103095831B CN 103095831 B CN103095831 B CN 103095831B CN 201310014696 A CN201310014696 A CN 201310014696A CN 103095831 B CN103095831 B CN 103095831B
- Authority
- CN
- China
- Prior art keywords
- request message
- wlan client
- portal server
- terminal equipment
- program servers
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 33
- 230000007246 mechanism Effects 0.000 title claims abstract description 19
- 230000008569 process Effects 0.000 claims description 9
- 238000012217 deletion Methods 0.000 claims description 8
- 230000037430 deletion Effects 0.000 claims description 8
- 238000010586 diagram Methods 0.000 description 4
- 230000004044 response Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000011664 signaling Effects 0.000 description 2
- 230000003213 activating effect Effects 0.000 description 1
- 238000013475 authorization Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000001121 heart beat frequency Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
本发明提供一种维持心跳机制的方法、WLAN客户端和程序服务器,维持心跳机制的方法,包括:接收来自用户的登录请求消息;向程序服务器发送委托请求消息,委托请求消息包括:预设的在线时长和终端设备的标识,以使程序服务器在预设的在线时长内向门户服务器发送心跳包。本发明提供的维持心跳机制的方法、WLAN客户端和程序服务器,通过发送委托请求消息,以使程序服务器在预设的在线时长内向门户服务器发送心跳包维持终端设备在线,门户服务器能够根据接收的心跳包判断终端设备在线状态,实现了提高门户服务器对终端设备在线状态判断的准确性,还可以进一步提高对终端设备在线时长计算的准确性。
The present invention provides a method for maintaining a heartbeat mechanism, a WLAN client and a program server, and a method for maintaining a heartbeat mechanism, including: receiving a login request message from a user; sending a commission request message to the program server, and the commission request message includes: a preset The online duration and the identification of the terminal device, so that the program server sends a heartbeat packet to the portal server within the preset online duration. The method for maintaining the heartbeat mechanism provided by the present invention, the WLAN client and the program server send a commission request message so that the program server sends a heartbeat packet to the portal server within the preset online duration to keep the terminal device online, and the portal server can keep the terminal device online according to the received The heartbeat packet judges the online status of the terminal device, which improves the accuracy of the portal server in judging the online status of the terminal device, and can further improve the accuracy of the calculation of the online duration of the terminal device.
Description
技术领域technical field
本发明涉及通信技术,尤其涉及一种维持心跳机制的方法、WLAN客户端和程序服务器。The invention relates to communication technology, in particular to a method for maintaining a heartbeat mechanism, a WLAN client and a program server.
背景技术Background technique
终端设备使用通信运营商的无线局域网(WirelessLocalAreaNetworks,简称WLAN)获取网络资源时,通常在终端设备上运行WLAN客户端应用程序,通过该WLAN客户端应用程序向门户服务器(简称Portal服务器)发送认证请求以建立网络连接从而获取网络资源,Portal服务器接收该终端设备的认证请求并对该终端设备进行认证,Portal服务器通过该终端设备的认证请求以后,该终端设备便可以获取网络资源。When the terminal device uses the wireless local area network (Wireless Local Area Networks, WLAN for short) of the communication operator to obtain network resources, it usually runs the WLAN client application program on the terminal device, and sends an authentication request to the portal server (Portal server for short) through the WLAN client application program To establish a network connection to obtain network resources, the Portal server receives the authentication request of the terminal device and authenticates the terminal device. After the Portal server passes the authentication request of the terminal device, the terminal device can obtain network resources.
对于安装了视窗(Windows)或安卓(Android)操作系统的终端设备,终端设备通过WLAN客户端应用程序建立起网络连接以后,终端设备用户可以将该WLAN客户端应用程序切换到后台运行,该WLAN客户端应用程序切换到后台运行以后可以根据Portal服务器设置的心跳间隔定时向Portal服务器发送心跳包,Portal服务器根据心跳包可以监控终端设备用户是否希望终端设备保持网络连接,即若Portal服务器接收到心跳包则可以获知该终端设备用户希望该终端设备保持网络连接,若Portal服务器接收不到心跳包则可以获知该终端设备用户希望该终端设备断开网络连接。For a terminal device installed with a Windows (Windows) or Android (Android) operating system, after the terminal device establishes a network connection through the WLAN client application program, the terminal device user can switch the WLAN client application program to run in the background. After the client application is switched to run in the background, it can regularly send heartbeat packets to the Portal server according to the heartbeat interval set by the Portal server. The packet can know that the terminal device user wishes the terminal device to maintain a network connection, and if the Portal server does not receive the heartbeat packet, it can know that the terminal device user wishes the terminal device to disconnect the network connection.
当用户希望终端设备断开网络连接时,用户可以将WLAN客户端应用程序切换到前台并设置该WLAN客户端应用程序,使该WLAN客户端应用程序向Portal服务器发送下线请求,Portal服务器收到下线请求以后使该终端设备断开网络连接,终端设备下线,此外,即使终端设备执行非法关机等非法动作,WLAN客户端应用程序也会被迫强制关闭,WLAN客户端应用程序被迫强制关闭以后,WLAN客户端应用程序也就无法定时向Portal服务器发送心跳包,当Portal服务器接收不到终端设备通过WLAN客户端应用程序发送的心跳包时,Portal服务器则认为该终端设备用户不希望该终端设备保持网络连接,此时,Portal服务器则断开终端设备的网络连接,终端设备下线,这样在终端设备非法关机时Portal服务器能够及时的断开终端设备的网络连接。When the user wants the terminal device to disconnect from the network, the user can switch the WLAN client application to the foreground and set the WLAN client application so that the WLAN client application sends an offline request to the Portal server, and the Portal server receives After the offline request, the terminal device will be disconnected from the network, and the terminal device will go offline. In addition, even if the terminal device performs illegal actions such as illegal shutdown, the WLAN client application will be forced to close, and the WLAN client application will be forced to After it is closed, the WLAN client application program will not be able to regularly send heartbeat packets to the Portal server. When the Portal server cannot receive the heartbeat packet sent by the terminal device through the WLAN client application program, the Portal server will think that the terminal device user does not want to send the heartbeat packet. The terminal device keeps the network connection. At this time, the Portal server disconnects the network connection of the terminal device, and the terminal device goes offline. In this way, the Portal server can disconnect the network connection of the terminal device in time when the terminal device is illegally shut down.
网际操作系统(InternetworkOperationSystem,简称iOS)不支持WLAN客户端应用程序在后台运行。WLAN客户端应用程序转入后台之后将处于“休眠”状态,iOS系统为了保证终端设备登陆到门户服务器之后维持在线状态,通常采用取消心跳包的方式,即终端设备登陆到门户服务器之后,门户服务器一直保持该终端设备的在线状态,直到终端用户通过该登陆应用程序退出登陆。对于使用iOS系统的终端设备,当用户希望断开网络连接时,用户只能通过激活在后台“休眠”的WLAN客户端应用程序向Portal服务器发送下线请求,该终端设备才能断开网络连接。The Internet operating system (Internetwork Operation System, iOS for short) does not support WLAN client applications running in the background. After the WLAN client application is transferred to the background, it will be in a "sleeping" state. In order to ensure that the terminal device remains online after logging in to the portal server, the iOS system usually adopts the method of canceling the heartbeat packet, that is, after the terminal device logs in to the portal server, the portal server Keep the terminal device online until the terminal user logs out through the login application program. For a terminal device using the iOS system, when the user wants to disconnect from the network, the user can only disconnect the network connection by activating the "sleeping" WLAN client application in the background and sending an offline request to the Portal server.
然而,在iOS系统中,当终端设备执行非法关机或WLAN客户端应用程序非法关闭等非法动作或者用户已经长时间未使用网络功能,但忘记从WLAN客户端退出登陆时,即使WLAN客户端应用程序已经关闭,Portal服务器仍将保持该终端设备在线,Portal服务器记录终端设备在线状态的准确性差,用户使用终端设备进行WLAN业务时,网络侧根据终端设备在线状态维护用户资料,从而导致该用户资料不准确。However, in the iOS system, when the terminal device performs illegal actions such as illegal shutdown or the illegal closing of the WLAN client application, or the user has not used network functions for a long time, but forgets to log out from the WLAN client, even if the WLAN client application has been closed, the Portal server will still keep the terminal device online. The accuracy of the Portal server recording the online status of the terminal device is poor. precise.
发明内容Contents of the invention
本发明提供一种维持心跳机制的方法、WLAN客户端和程序服务器,以提高门户服务器对终端设备在线时长计算的准确性。The invention provides a method for maintaining a heartbeat mechanism, a WLAN client and a program server, so as to improve the accuracy of the calculation of the online duration of the terminal equipment by the portal server.
一方面,本发明提供一种维持心跳机制的方法,包括:In one aspect, the present invention provides a method for maintaining a heartbeat mechanism, comprising:
无线局域网WLAN客户端接收来自用户的登录请求消息;The wireless local area network WLAN client receives the login request message from the user;
所述WLAN客户端向程序服务器发送委托请求消息,所述委托请求消息包括:预设的在线时长和所述终端设备的标识,以使所述程序服务器在所述预设的在线时长内向门户服务器发送心跳包,所述心跳包包括所述终端设备标识。The WLAN client sends a delegation request message to the program server, and the delegation request message includes: a preset online duration and the identifier of the terminal device, so that the program server sends an authorization request to the portal server within the preset online duration Sending a heartbeat packet, where the heartbeat packet includes the terminal device identifier.
另一方面,本发明提供一种维持心跳机制的方法,包括:In another aspect, the present invention provides a method for maintaining a heartbeat mechanism, comprising:
程序服务器接收来自无线局域网WLAN客户端的委托请求消息,所述委托请求消息包括:预设的在线时长和终端设备的标识;The program server receives a commission request message from a WLAN client, where the commission request message includes: a preset online duration and an identifier of a terminal device;
所述程序服务器在所述预设的在线时长内向门户服务器发送心跳包,所述心跳包包括所述终端设备标识。The program server sends a heartbeat packet to the portal server within the preset online duration, and the heartbeat packet includes the terminal device identifier.
又一方面,本发明提供一种WLAN客户端,其特征在于,包括:In yet another aspect, the present invention provides a WLAN client, characterized in that it includes:
接收单元,用于接收来自用户的登录请求消息;a receiving unit, configured to receive a login request message from a user;
发送单元,用于向程序服务器发送委托请求消息,所述委托请求消息包括:预设的在线时长和所述终端设备的标识,以使所述程序服务器在所述预设的在线时长内向门户服务器发送心跳包,所述心跳包包括所述终端设备标识。A sending unit, configured to send an entrustment request message to the program server, the entrustment request message including: a preset online time period and the identifier of the terminal device, so that the program server sends an entrustment request message to the portal server within the preset online time period Sending a heartbeat packet, where the heartbeat packet includes the terminal device identifier.
再一方面,本发明提供一种程序服务器,其特征在于,包括:In another aspect, the present invention provides a program server, which is characterized in that it includes:
接收单元,用于接收来自无线局域网WLAN客户端的委托请求消息,所述委托请求消息包括:预设的在线时长和终端设备的标识;A receiving unit, configured to receive a commission request message from a WLAN client, where the commission request message includes: a preset online duration and an identifier of a terminal device;
发送单元,用于在所述预设的在线时长内向门户服务器发送心跳包,所述心跳包包括所述终端设备标识。A sending unit, configured to send a heartbeat packet to the portal server within the preset online duration, where the heartbeat packet includes the terminal device identifier.
本发明提供的维持心跳机制的方法、WLAN客户端和程序服务器,通过向程序服务器发送委托请求消息,以使所述程序服务器在所述预设的在线时长内向门户服务器发送心跳包维持所述终端设备在线,这样程序服务器能够根据WLAN客户端发送的委托请求消息中包括的预设的在线时长维持所述终端设备的在线时长,使终端设备在预设的在线时长内保持在线状态,门户服务器能够根据接收的心跳包判断终端设备在线状态,实现了提高门户服务器对终端设备在线状态判断的准确性,从而还可以进一步提高门户服务器对终端设备在线时长计算的准确性。The method for maintaining the heartbeat mechanism, the WLAN client and the program server provided by the present invention send a commission request message to the program server, so that the program server sends a heartbeat packet to the portal server within the preset online duration to maintain the terminal The device is online, so that the program server can maintain the online duration of the terminal device according to the preset online duration included in the commission request message sent by the WLAN client, so that the terminal device remains online within the preset online duration, and the portal server can Judging the online status of the terminal device based on the received heartbeat packet improves the accuracy of the portal server in judging the online status of the terminal device, thereby further improving the accuracy of the portal server in calculating the online duration of the terminal device.
附图说明Description of drawings
图1为本发明维持心跳机制的方法实施例一的流程图;Fig. 1 is the flow chart of embodiment 1 of the method for maintaining the heartbeat mechanism of the present invention;
图2为本发明维持心跳机制的方法实施例二的流程图;Fig. 2 is the flow chart of embodiment 2 of the method for maintaining the heartbeat mechanism of the present invention;
图3为本发明维持心跳机制的方法实施例三的信令流程图;FIG. 3 is a signaling flow chart of Embodiment 3 of the method for maintaining a heartbeat mechanism in the present invention;
图4为本发明WLAN客户端实施例一的结构示意图;FIG. 4 is a schematic structural diagram of Embodiment 1 of a WLAN client in the present invention;
图5为本发明程序服务器实施例一的结构示意图。FIG. 5 is a schematic structural diagram of Embodiment 1 of the program server of the present invention.
具体实施方式detailed description
为使本发明的目的、技术方案和优点更加清楚,下面将结合本发明中的附图,对本发明中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the present invention clearer, the technical solutions in the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the present invention. Obviously, the described embodiments are part of the embodiments of the present invention , but not all examples. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
图1为本发明维持心跳机制的方法实施例一的流程图,如图1所示,本实施例一的维持心跳机制的方法包括:Fig. 1 is a flow chart of the first embodiment of the method for maintaining the heartbeat mechanism of the present invention. As shown in Fig. 1, the method for maintaining the heartbeat mechanism of the first embodiment includes:
步骤101、WLAN客户端接收来自用户的登录请求消息。Step 101, the WLAN client receives a login request message from a user.
具体地,在一种实施方式中,WLAN客户端为终端设备上的应用程序,用户在终端设备上运行该WLAN客户端,并对该WLAN客户端进行操作,通过对该WLAN客户端的操作将用户的登陆请求消息发送给WLAN客户端,例如,用户点击WLAN客户端上的“连接到网络”功能按键,通过该操作将用户的登陆请求消息发送给WLAN客户端,WLAN客户端接收该登录请求消息之后向门户服务器发送认证请求消息,请求门户服务器将该终端设备接入到网络,从而使该终端设备上线。Specifically, in one embodiment, the WLAN client is an application program on the terminal device. The user runs the WLAN client on the terminal device and operates the WLAN client. Through the operation of the WLAN client, the user The login request message of the user is sent to the WLAN client. For example, the user clicks the "connect to the network" function button on the WLAN client, and the user's login request message is sent to the WLAN client through this operation, and the WLAN client receives the login request message. Afterwards, an authentication request message is sent to the portal server, requesting the portal server to connect the terminal device to the network, so that the terminal device goes online.
步骤102、所述WLAN客户端向程序服务器发送委托请求消息,所述委托请求消息包括:预设的在线时长和所述终端设备的标识,以使所述程序服务器在所述预设的在线时长内向门户服务器发送心跳包,所述心跳包包括所述终端设备标识。Step 102, the WLAN client sends a delegation request message to the program server, the delegation request message includes: a preset online duration and the identifier of the terminal device, so that the program server can Sending a heartbeat packet to the portal server inwardly, where the heartbeat packet includes the terminal device identifier.
具体地,WLAN客户端向程序服务器(Provider)发送委托请求消息,例如,在本实施例中,WLAN客户端向程序服务器发送的委托请求消息中包括终端设备用户设置的预设的在线时长和所述终端设备的标识,所述预设的在线时长为终端设备用户在发送委托请求消息之前预先设置的希望终端保持在线的时长,所述时长具体可以为一个时间值,例如1小时,即终端设备用户希望保持在线1小时,在其它实施例中所述预设的在线时长也可以为其它表现形式。所述终端设备的标识为发送所述委托请求消息的终端设备的标识,程序服务器根据接收到的所述委托请求消息获知发送所述委托请求消息的终端设备。在一种实施方式中,在程序服务器上维护一个“在线用户表单”,该表单用于记录当前处于在线状态的终端设备的标识,程序服务器在接收到委托请求消息之后,还可以将该委托请求消息中包含的终端设备的标识添加到该“在线用户表单”中。Specifically, the WLAN client sends a delegation request message to the program server (Provider). For example, in this embodiment, the delegation request message sent by the WLAN client to the program server includes the preset online duration and the set The identifier of the terminal device, the preset online duration is the preset duration for the terminal device user to keep the terminal online before sending the entrusting request message, and the duration may specifically be a time value, such as 1 hour, that is, the terminal device The user wishes to stay online for 1 hour. In other embodiments, the preset online duration can also be in other forms. The identifier of the terminal device is the identifier of the terminal device sending the delegation request message, and the program server learns the terminal device sending the delegation request message according to the received delegation request message. In one embodiment, an "online user form" is maintained on the program server, and the form is used to record the identification of the terminal device that is currently online. After the program server receives the delegation request message, it can also The identification of the terminal device contained in the message is added to this "Online User Form".
所述程序服务器接收到WLAN客户端发送的委托请求消息后,在该委托请求消息中包含的预设的在线时长内向门户(Portal)服务器发送心跳包。在本实施例中,所述门户服务器具有一定的心跳时间间隔,程序服务器在所述预设的在线时长内根据门户服务器的心跳频率向门户服务器发送心跳包,所述心跳包中包括所述终端设备的设备标识,这样所述终端设备在所述预设的在线时长内可以保持在线状态,即使用户将WLAN客户端在终端设备上转入后台“休眠”也不会影响所述终端设备保持在线。After receiving the delegation request message sent by the WLAN client, the program server sends a heartbeat packet to the portal (Portal) server within the preset online duration included in the delegation request message. In this embodiment, the portal server has a certain heartbeat time interval, and the program server sends a heartbeat packet to the portal server according to the heartbeat frequency of the portal server within the preset online duration, and the heartbeat packet includes the terminal The device ID of the device, so that the terminal device can remain online within the preset online duration, even if the user puts the WLAN client on the terminal device into the background "sleep", it will not affect the terminal device to stay online .
在本实施例中,WLAN客户端接收来自终端设备的登录请求消息,通过向程序服务器发送委托请求消息,以使所述程序服务器在所述预设的在线时长内向门户服务器发送心跳包维持所述终端设备在线,这样程序服务器能够根据WLAN客户端发送的委托请求消息中包括的预设的在线时长维持所述终端设备的在线时长,使终端设备在预设的在线时长内保持在线状态,门户服务器能够根据接收的心跳包判断终端设备在线状态,提高了门户服务器对终端设备在线状态判断的准确性,从而还可以提高门户服务器对终端设备在线时长计算的准确性。In this embodiment, the WLAN client receives the login request message from the terminal device, and sends a delegation request message to the program server, so that the program server sends a heartbeat packet to the portal server within the preset online time to maintain the The terminal device is online, so that the program server can maintain the online duration of the terminal device according to the preset online duration included in the commission request message sent by the WLAN client, so that the terminal device remains online within the preset online duration, and the portal server The online status of the terminal device can be judged according to the received heartbeat packet, which improves the accuracy of the portal server in judging the online status of the terminal device, thereby improving the accuracy of the portal server in calculating the online duration of the terminal device.
图2为本发明维持心跳机制的方法实施例二的流程图,如图2所示,本实施例二的维持心跳机制的方法包括:Fig. 2 is the flowchart of the second embodiment of the method for maintaining the heartbeat mechanism of the present invention. As shown in Fig. 2, the method for maintaining the heartbeat mechanism of the second embodiment includes:
步骤201、程序服务器接收来自WLAN客户端的委托请求消息,所述委托请求消息包括:预设的在线时长和终端设备的标识。Step 201, the program server receives a delegation request message from a WLAN client, where the delegation request message includes: a preset online duration and an identifier of a terminal device.
具体地,程序服务器接收来自WLAN客户端的委托请求消息,所述委托请求消息中包括:预设的在线时长和终端设备的标识,其中,在线时长由终端设备预先设定。在一种实现方式中,在程序服务器上维护一个“在线用户表单”,该用户表单用于记录当前处于在线状态的终端设备的标识,程序服务器接收到所述委托请求消息之后,还可以将该委托请求消息中包含的终端设备的标识添加到该“在线用户表单”中。Specifically, the program server receives a delegation request message from the WLAN client, where the delegation request message includes: a preset online duration and an identifier of the terminal device, wherein the online duration is preset by the terminal device. In one implementation, an "online user form" is maintained on the program server, and the user form is used to record the identification of the terminal device that is currently online. After the program server receives the entrusting request message, it can also The identification of the terminal device included in the delegation request message is added to this "Online User Form".
步骤202、所述程序服务器在所述预设的在线时长内向门户服务器发送心跳包,所述心跳包包括所述终端设备标识。Step 202, the program server sends a heartbeat packet to the portal server within the preset online duration, and the heartbeat packet includes the terminal device identifier.
具体地,程序服务器在所述委托请求消息中包含的预设的在线时长内向门户服务器发送心跳包,以维持所述终端设备保持在线状态。Specifically, the program server sends a heartbeat packet to the portal server within the preset online duration included in the delegation request message, so as to maintain the online status of the terminal device.
在本实施例中,程序服务器接收来自WLAN客户端的委托请求消息,所述委托请求消息包括:预设的在线时长和终端设备的标识,所述程序服务器在所述预设的在线时长内向门户服务器发送心跳包,所述心跳包包括所述终端设备标识,WLAN客户端能够通过委托程序服务器向门户服务器发送心跳包在预设的在线时长内维持该终端用户在线,实现了门户服务器能够根据接收的心跳包判断终端设备在线状态,提高了门户服务器对终端设备在线状态判断的准确性,从而还可以进一步提高门户服务器对终端设备在线时长计算的准确性。In this embodiment, the program server receives the entrustment request message from the WLAN client, the entrustment request message includes: a preset online duration and the identifier of the terminal device, and the program server sends a request to the portal server within the preset online duration Send a heartbeat packet, the heartbeat packet includes the terminal device identifier, the WLAN client can send a heartbeat packet to the portal server through the entrusting program server to maintain the terminal user online within the preset online duration, and realize that the portal server can The heartbeat packet judges the online status of the terminal device, which improves the accuracy of the portal server in judging the online status of the terminal device, thereby further improving the accuracy of the portal server in calculating the online duration of the terminal device.
图3为本发明维持心跳机制的方法实施例三的信令流程图,本实施例三以终端设备为苹果手机(iPhone)、推送服务器为苹果推送服务器(ApplePushNotificationService,简称APNs)为例进行详细说明,如图3所示,该方法具体包括:Figure 3 is a signaling flow chart of Embodiment 3 of the method for maintaining the heartbeat mechanism of the present invention. In Embodiment 3, the terminal device is an Apple mobile phone (iPhone), and the push server is an Apple Push Notification Service (APNs for short) as an example to describe in detail , as shown in Figure 3, the method specifically includes:
步骤301、苹果手机初始化。Step 301, the Apple mobile phone is initialized.
具体地,苹果手机初次使用时通常需要进行初始化,例如,该初始化过程可以为:苹果手机通过安全套接层协议(SecureSocketsLayer,简称SSL)连接到APNs并向APNs申请注册,APNs完成对该iPhone的注册后生成该苹果手机的设备令牌标识(DeviceToken)并返回给该苹果手机。Specifically, when an iPhone is used for the first time, it usually needs to be initialized. For example, the initialization process can be as follows: the iPhone connects to APNs through the Secure Sockets Layer protocol (Secure Sockets Layer, SSL for short) and applies for registration with APNs, and APNs completes the registration of the iPhone Then generate the device token (DeviceToken) of the iPhone and return it to the iPhone.
步骤302、苹果手机的WLAN客户端向门户服务器发送认证请求消息,以使苹果手机接入到网络。Step 302, the WLAN client of the Apple mobile phone sends an authentication request message to the portal server, so that the Apple mobile phone is connected to the network.
具体地,苹果手机用户可以通过操作苹果手机的WLAN客户端上的相关功能按键向门户服务器发送认证请求消息,门户服务器通过该苹果手机的认证请求之后,该苹果手机可以通过门户服务器访问广域网。Specifically, the user of the iPhone can send an authentication request message to the portal server by operating the relevant function button on the WLAN client of the iPhone. After the portal server passes the authentication request of the iPhone, the iPhone can access the WAN through the portal server.
进一步地,苹果手机用户还可以向苹果手机的WLAN客户端设置希望其保持在线的时间长度,即设置在线时长。Further, the user of the Apple mobile phone can also set the length of time that the WLAN client of the Apple mobile phone is expected to keep online, that is, set the online duration.
步骤303、苹果手机的WLAN客户端向程序服务器发送委托请求消息,该委托请求消息包括:预设在线时长和设备令牌标识。Step 303 , the WLAN client of the Apple mobile phone sends a delegation request message to the program server, and the delegation request message includes: a preset online duration and a device token identifier.
具体地,苹果手机的WLAN客户端被切换到后台运行之前,WLAN客户端可以采用自动方式或采用用户触发的方式,向程序服务器发送委托请求消息,该委托请求消息中包括:上述302中设置的在线时长和上述301中获取的设备令牌标识。Specifically, before the WLAN client of the Apple mobile phone is switched to run in the background, the WLAN client can send a delegation request message to the program server in an automatic manner or a user-triggered manner, and the delegation request message includes: Online duration and the device token ID obtained in 301 above.
步骤304、程序服务器将设备令牌标识添加到在线用户表单中。Step 304, the program server adds the device token identifier to the online user form.
具体地,程序服务器将该委托请求消息中包含的设备令牌标识添加到程序服务器的在线用户表单中,该在线用户表单用于记录程序服务器当前维护在线的终端设备的设备令牌标识。Specifically, the program server adds the device token identifier included in the delegation request message to the online user form of the program server, and the online user form is used to record the device token identifier of the online terminal device currently maintained by the program server.
本步骤为可选步骤,在一种具体实施方式中,也可以不执行本步骤,在步骤303之后,直接执行步骤305。This step is optional, and in a specific implementation manner, this step may not be performed, and after step 303, step 305 is directly performed.
步骤305、程序服务器定时向门户服务器发送苹果手机的心跳包。Step 305, the program server regularly sends the heartbeat packet of the Apple mobile phone to the portal server.
具体地,程序服务器根据委托请求消息中设置的预设在线时长,在所述预设在线时长内,定时向门户服务器发送心跳包以维持该苹果手机在线。在一种实现方式中,程序服务器按照一定的时间间隔向门户服务器发送心跳包,该时间间隔为与门户服务器的接收心跳包的时间间隔一致。Specifically, according to the preset online duration set in the entrusting request message, the program server regularly sends heartbeat packets to the portal server within the preset online duration to keep the Apple mobile phone online. In an implementation manner, the program server sends a heartbeat packet to the portal server at a certain time interval, which is consistent with the time interval at which the portal server receives the heartbeat packet.
步骤306、程序服务器向APNs发送到时通知消息。Step 306, the program server sends an arrival notification message to APNs.
具体地,在一种实施方式中,当苹果手机预设在线时长将要到期时,程序服务器向APNs发送包含该苹果手机设备令牌标识的通知消息,预设在线时长将要到期的时限可以预先设置,例如可以为15秒,即在苹果手机本次预设在线时长到达前15秒,程序服务器向APNs发送包含该苹果手机设备令牌标识的通知消息。Specifically, in one implementation, when the preset online duration of an Apple mobile phone is about to expire, the program server sends a notification message containing the token identifier of the Apple mobile phone device to APNs, and the time limit for the preset online duration to expire can be set in advance. The setting, for example, can be 15 seconds, that is, 15 seconds before the preset online duration of the Apple mobile phone arrives, the program server sends a notification message including the device token identifier of the Apple mobile phone to APNs.
步骤307、APNs向苹果手机的WLAN客户端推送到时通知消息。Step 307, APNs pushes an arrival notification message to the WLAN client of the Apple mobile phone.
具体地,APNs接收到程序服务器发送的包含该苹果手机设备令牌标识的通知消息之后,向该设备令牌标识的苹果手机的WLAN客户端推送到时通知消息,该WLAN客户端在该苹果手机上呈现该到时通知消息,例如,WLAN客户端可以以消息(Message)的形式在该苹果手机上呈现到时通知消息。Specifically, after APNs receives the notification message containing the device token identification of the Apple mobile phone sent by the program server, it pushes an arrival notification message to the WLAN client of the Apple mobile phone identified by the device token. The arrival notification message is presented on the mobile phone, for example, the WLAN client may present the arrival notification message on the Apple mobile phone in the form of a message (Message).
步骤308、苹果手机用户确定是否继续在线。Step 308, the Apple mobile phone user determines whether to continue online.
具体地,苹果手机用户接收到WLAN客户端呈现的消息以后,得知本次设置的在线时长将要到达。用户向WLAN客户端发送到时回复消息,其中,该消息为第一值表示用户希望继续保持在线,在此情况下,返回步骤303,再次执行步骤303至步骤308的过程,该消息为第二值表示用户希望终止在线,在此情况下,执行步骤309。例如,用户通过选择该消息提供的“激活”和“忽略”按钮,或忽略该消息对该消息进行回复,若用户选择“激活”,则表示该苹果手机用户希望继续保持在线,相应地,返回步骤303,再次执行步骤303至步骤308的过程;若选择“忽略”或忽略该消息,则表示该用户希望终止在线,相应地,执行步骤309。Specifically, after receiving the message presented by the WLAN client, the user of the Apple mobile phone knows that the online duration set this time is about to arrive. When the user sends a reply message to the WLAN client, wherein, the message is the first value indicating that the user wishes to remain online, in this case, return to step 303, and execute the process from step 303 to step 308 again, the message is the second value A value indicates that the user wishes to terminate online, in which case step 309 is performed. For example, the user replies to the message by selecting the "Activate" and "Ignore" buttons provided by the message, or ignores the message. If the user selects "Activate", it means that the Apple mobile phone user wishes to continue to be online. Correspondingly, return In step 303, the process from step 303 to step 308 is executed again; if "ignore" is selected or the message is ignored, it means that the user wishes to stop being online, and accordingly, step 309 is executed.
具体地,WLAN客户端接收来自该苹果手机用户的到时回复消息,根据该回复消息进行判断,若该回复消息为第一值即该回复消息表示用户希望继续保持在线,再次执行步骤303,即所述WLAN客户端再次向所述程序服务器发送所述委托请求消息,从而再次依次执行后续步骤304、步骤305、步骤306和步骤307,即若所述程序服务器再次接收到来自所述WLAN客户端的委托请求消息,在下一个所述预设的在线时长内继续向所述门户服务器发送所述心跳包。Specifically, the WLAN client receives a timely reply message from the user of the Apple mobile phone, and judges according to the reply message. If the reply message is the first value, that is, the reply message indicates that the user wishes to continue to stay online, step 303 is executed again, namely The WLAN client sends the delegation request message to the program server again, so as to perform subsequent steps 304, 305, 306 and 307 in sequence again, that is, if the program server receives the request from the WLAN client again The delegation request message continues to send the heartbeat packet to the portal server within the next preset online duration.
步骤309、程序服务器在所述预设的在线时长结束时向所述门户服务器发送下线请求消息。Step 309, the program server sends an offline request message to the portal server when the preset online time period ends.
具体地,若用户发送的到时回复消息为第二值,该回复消息表示用户希望终止在线,所述程序服务器在所述预设的在线时长结束时,未再次接收到来自所述WLAN客户端的委托请求消息,例如,在所述预设的在线时长结束之前5秒未再次接收到来自所述WLAN客户端的委托请求消息,程序服务器在所述预设的在线时长结束时向所述门户服务器发送下线请求消息,该下线请求消息中包含该苹果手机的设备令牌标识,门户服务器接收到程序服务器的下线请求消息以后将该设备令牌标识的苹果手机与广域网断开连接,程序服务器向门户服务器发送下线请求消息之后还可以从“在线用户表单”中删除该苹果手机的设备令牌标识。Specifically, if the time-out reply message sent by the user is the second value, the reply message indicates that the user wishes to terminate online, and the program server does not receive another message from the WLAN client when the preset online time period ends. A delegation request message, for example, if no delegation request message from the WLAN client is received 5 seconds before the end of the preset online time, the program server sends the message to the portal server when the preset online time ends An offline request message, which includes the device token identifier of the Apple mobile phone. After the portal server receives the offline request message from the program server, the Apple mobile phone identified by the device token is disconnected from the WAN, and the program server After sending an offline request message to the portal server, the device token identifier of the Apple mobile phone can also be deleted from the "online user form".
步骤310、门户服务器将苹果手机下线。Step 310, the portal server offlines the Apple mobile phone.
具体地,门户服务器接收到程序服务器的下线请求消息以后将该设备令牌标识的苹果手机与广域网断开连接。Specifically, the portal server disconnects the Apple mobile phone identified by the device token from the wide area network after receiving the logout request message from the program server.
步骤311、门户服务器向程序服务器发送下线成功响应。Step 311, the portal server sends an offline success response to the program server.
步骤312、程序服务器向APNs发送下线成功消息。Step 312, the program server sends a logout success message to APNs.
具体地,程序服务器接收到门户服务器对该苹果手机下线成功的响应之后,向APNs发送下线成功消息,该下线成功消息中包含该苹果手机的设备令牌标识。Specifically, after the program server receives the response from the portal server that the Apple mobile phone is successfully offline, it sends a successful offline message to APNs, and the successful offline message includes the device token identifier of the Apple mobile phone.
步骤313、APNs向苹果手机的WLAN客户端发送下线成功消息。Step 313, APNs sends a logout success message to the WLAN client of the Apple mobile phone.
具体地,APNs向下线成功消息中包含的设备令牌标识的苹果手机的WLAN客户端发送下线成功消息。Specifically, APNs sends an offline success message to the WLAN client of the Apple mobile phone identified by the device token contained in the offline success message.
步骤314、苹果手机的WLAN客户端结束流程。Step 314, the WLAN client of the Apple mobile phone ends the process.
WLAN客户端接收到下线成功消息之后结束流程。The process ends after the WLAN client receives the offline success message.
在上述步骤305之后,还可以包括:After the above step 305, it may also include:
WLAN客户端接收来自用户的第一下线请求消息。The WLAN client receives the first logout request message from the user.
具体地,苹果手机登陆到广域网以后,在设置的用户预设时长内,WLAN客户端可以随时接收苹果手机用户发送的下线请求消息,例如:用户在苹果手机的WLAN客户端上点击“退出登陆”按键即向WLAN客户端发送第一下线请求消息。Specifically, after the Apple mobile phone logs in to the WAN, the WLAN client can receive the logout request message sent by the user of the Apple mobile phone at any time within the preset time period set by the user. " button to send the first logout request message to the WLAN client.
WLAN客户端向所述程序服务器发送删除委托请求消息。The WLAN client sends a delete delegation request message to the program server.
具体地,WLAN客户端接收到苹果手机的第一下线请求消息之后,向程序服务器发送删除委托请求消息,以请求程序服务器停止向门户服务器发送该苹果手机的心跳包。Specifically, after receiving the first offline request message of the Apple mobile phone, the WLAN client sends a delete delegation request message to the program server to request the program server to stop sending the heartbeat packet of the Apple mobile phone to the portal server.
程序服务器向所述门户服务器发送下线请求消息。The program server sends an offline request message to the portal server.
具体地,程序服务器接收到来自WLAN客户端的删除委托请求消息之后,向门户服务器发送该苹果手机下线请求消息,以使该苹果手机与广域网断开连接。Specifically, after receiving the deletion delegation request message from the WLAN client, the program server sends the Apple mobile phone offline request message to the portal server, so that the Apple mobile phone is disconnected from the wide area network.
程序服务器在“在线用户表单”中删除该终端设备。The program server deletes the terminal device in the "online user form".
具体地,程序服务器接收到门户服务器对该苹果手机下线成功的响应之后,在“在线用户表单”中删除该苹果手机的终端标识。Specifically, the program server deletes the terminal identifier of the iPhone in the "online user form" after receiving the response from the portal server that the iPhone is successfully offline.
在本实施例中,WLAN客户端通过接收所述程序服务器通过推送服务器发送的到时通知消息并转发给所述终端设备,根据所述终端设备的到时回复消息继续向所述门户服务器发送所述心跳包维持所述终端设备在线或执行下线操作,若所述到时回复消息为第一值,所述WLAN客户端再次向所述程序服务器发送所述委托请求消息,以使所述程序服务器在下一个所述预设的在线时长内继续向所述门户服务器发送所述心跳包,若所述到时回复消息为第二值,所述WLAN客户端结束流程,以使所述程序服务器在所述预设的在线时长结束时向所述门户服务器发送下线请求消息,所述下线请求消息包括所述终端设备令牌标识,门户服务器能够根据接收的心跳包判断终端设备在线状态,提高了门户服务器对终端设备在线状态判断的准确性,还可以进一步提高Portal服务器对终端设备在线时长计算的准确性。In this embodiment, the WLAN client receives the time-out notification message sent by the program server through the push server and forwards it to the terminal device, and continues to send the time-out notification message to the portal server according to the time-out reply message of the terminal device. The heartbeat packet maintains the terminal device online or performs an offline operation, and if the timed reply message is the first value, the WLAN client sends the delegation request message to the program server again, so that the program The server continues to send the heartbeat packet to the portal server within the next preset online duration, and if the timed reply message is the second value, the WLAN client end process, so that the program server Send an offline request message to the portal server when the preset online duration ends, the offline request message includes the terminal device token identifier, the portal server can judge the online status of the terminal device according to the received heartbeat packet, and improve This improves the accuracy of the portal server in judging the online status of the terminal equipment, and can further improve the accuracy of the Portal server in calculating the online duration of the terminal equipment.
图4为本发明WLAN客户端实施例一的结构示意图,如图4所示,本实施例的WLAN客户端,包括:接收单元401和发送单元402。FIG. 4 is a schematic structural diagram of Embodiment 1 of a WLAN client in the present invention. As shown in FIG. 4 , the WLAN client in this embodiment includes: a receiving unit 401 and a sending unit 402 .
其中,接收单元401用于接收来自用户的登录请求消息;发送单元402用于向程序服务器发送委托请求消息,所述委托请求消息包括:预设的在线时长和所述终端设备的标识,以使所述程序服务器在所述预设的在线时长内向门户服务器发送心跳包,所述心跳包包括所述终端设备标识。Wherein, the receiving unit 401 is used to receive a login request message from the user; the sending unit 402 is used to send a delegation request message to the program server, and the delegation request message includes: a preset online duration and an identifier of the terminal device, so that The program server sends a heartbeat packet to the portal server within the preset online duration, and the heartbeat packet includes the terminal device identifier.
本实施例提供的WLAN客户端可以用于执行图1所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The WLAN client provided in this embodiment can be used to execute the technical solution of the method embodiment shown in FIG. 1 , and its implementation principle and technical effect are similar, and details are not repeated here.
在上述WLAN客户端实施例一的基础上,进一步地,接收单元401还可以用于接收所述程序服务器通过推送服务器发送的到时通知消息并呈现给用户;接收单元401还可以用于接收来自用户的到时回复消息;所述发送单元402还用于在所述到时回复消息为第一值时,再次向所述程序服务器发送所述委托请求消息,以使所述程序服务器在下一个所述预设的在线时长内继续向所述门户服务器发送所述心跳包;在所述到时回复消息为第二值时,结束流程,以使所述程序服务器在所述预设的在线时长结束时向所述门户服务器发送下线请求消息,所述下线请求消息包括所述终端设备标识。On the basis of the first embodiment of the above-mentioned WLAN client, further, the receiving unit 401 can also be used to receive the arrival notification message sent by the program server through the push server and present it to the user; the receiving unit 401 can also be used to receive the message from The user's timed reply message; the sending unit 402 is further configured to send the delegation request message to the program server again when the timed reply message is the first value, so that the program server will Continue to send the heartbeat packet to the portal server within the preset online duration; when the time-out reply message is the second value, end the process so that the program server ends within the preset online duration When sending an offline request message to the portal server, the offline request message includes the terminal device identifier.
进一步地,所述接收单元401,还可以用于接收来自用户的第一下线请求消息,所述第一下线请求消息包括所述终端设备标识;所述发送单元402,还可以用于向所述程序服务器发送删除委托请求消息,所述删除委托请求消息包括所述终端设备标识,以使所述程序服务器向所述门户服务器发送下线请求消息。Further, the receiving unit 401 may also be configured to receive a first offline request message from the user, the first offline request message including the terminal device identifier; the sending unit 402 may also be configured to send The program server sends a deletion delegation request message, and the deletion delegation request message includes the terminal device identifier, so that the program server sends an offline request message to the portal server.
图5为本发明程序服务器实施例一的结构示意图,如图5所示,本实施例的程序服务器,包括:接收单元501和发送单元502。FIG. 5 is a schematic structural diagram of Embodiment 1 of the program server of the present invention. As shown in FIG. 5 , the program server of this embodiment includes: a receiving unit 501 and a sending unit 502 .
其中,接收单元501用于接收来自无线局域网WLAN客户端的委托请求消息,所述委托请求消息包括:预设的在线时长和终端设备的标识;发送单元502用于在所述预设的在线时长内向门户服务器发送心跳包,所述心跳包包括所述终端设备标识。Wherein, the receiving unit 501 is configured to receive a delegation request message from a wireless local area network (WLAN) client, the delegation request message includes: a preset online duration and an identifier of a terminal device; The portal server sends a heartbeat packet, where the heartbeat packet includes the terminal device identifier.
本实施例提供的程序服务器可以用于执行图2所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The program server provided in this embodiment can be used to execute the technical solution of the method embodiment shown in FIG. 2 , and its implementation principle and technical effect are similar, and details are not repeated here.
在上述程序服务器实施例一的基础上,所述程序服务器的发送单元502,还可以用于在所述预设的在线时长结束前通过推送服务器向所述WLAN客户端发送到时通知消息,以使所述WLAN客户端将所述到时通知消息呈现给用户;并用于在所述接收单元501再次接收到来自所述WLAN客户端的委托请求消息时,在下一个所述预设的在线时长内继续向所述门户服务器发送所述心跳包,在所述接收单元501在所述预设的在线时长结束仍未再次接收到来自所述WLAN客户端的委托请求消息时,向所述门户服务器发送下线请求消息,所述下线请求消息包括所述终端设备标识;所述接收单元501还可以用于再次接收到来自所述WLAN客户端的委托请求消息。On the basis of the first embodiment of the program server, the sending unit 502 of the program server can also be configured to send an arrival notification message to the WLAN client through a push server before the preset online duration ends, so as to Make the WLAN client present the time-out notification message to the user; and be used to continue within the next preset online duration when the receiving unit 501 receives the delegation request message from the WLAN client again Send the heartbeat packet to the portal server, and send an offline message to the portal server when the receiving unit 501 has not received the entrustment request message from the WLAN client again after the preset online duration expires. A request message, where the offline request message includes the terminal device identifier; the receiving unit 501 may also be configured to receive the delegation request message from the WLAN client again.
进一步地,所述接收单元501,还可以用于接收到来自所述WLAN客户端的删除委托请求消息。Further, the receiving unit 501 may also be configured to receive a deletion delegation request message from the WLAN client.
所述发送单元502,还可以用于向所述门户服务器发送下线请求消息,所述下线请求消息包括所述终端设备标识。The sending unit 502 may also be configured to send an offline request message to the portal server, where the offline request message includes the terminal device identifier.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than limiting them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the various embodiments of the present invention. scope.
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310014696.9A CN103095831B (en) | 2013-01-15 | 2013-01-15 | Maintain the method for heartbeat mechanism, wlan client and program servers |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310014696.9A CN103095831B (en) | 2013-01-15 | 2013-01-15 | Maintain the method for heartbeat mechanism, wlan client and program servers |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103095831A CN103095831A (en) | 2013-05-08 |
CN103095831B true CN103095831B (en) | 2016-03-16 |
Family
ID=48207954
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310014696.9A Active CN103095831B (en) | 2013-01-15 | 2013-01-15 | Maintain the method for heartbeat mechanism, wlan client and program servers |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103095831B (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104579813B (en) * | 2013-10-29 | 2018-09-07 | 华为终端(东莞)有限公司 | Detection method and terminal |
CN103987017B (en) * | 2014-06-03 | 2017-09-19 | 北京奇虎科技有限公司 | A method and system for establishing service access in WLAN |
CN105517194A (en) * | 2014-10-15 | 2016-04-20 | 上海点艺信息技术有限公司 | Setting method of sending frequency of heartbeat bags, method of keeping connection and device thereof |
CN104284326A (en) * | 2014-10-31 | 2015-01-14 | 北京元心科技有限公司 | Mobile terminal power saving method, system, application processor and wireless module |
CN104991850B (en) * | 2015-06-27 | 2018-06-19 | 广州华多网络科技有限公司 | The heartbeat packet control method and device of a kind of application program |
CN105721227B (en) * | 2016-04-14 | 2019-03-05 | 武汉斗鱼网络科技有限公司 | A kind of method of counting user online hours and state server and system |
CN105933732B (en) * | 2016-06-14 | 2019-08-27 | 天脉聚源(北京)传媒科技有限公司 | A kind of video playing duration statistical method and system |
CN108810658B (en) * | 2017-05-05 | 2021-04-13 | 广东亿迅科技有限公司 | HLS video live broadcast anti-theft chain method and system |
CN112752323B (en) * | 2020-12-31 | 2023-05-05 | 上海连尚网络科技有限公司 | Method and device for changing hot spot access state |
CN113923255B (en) * | 2021-09-07 | 2024-08-09 | 苏州九宫数字科技有限公司 | Method, system and medium for detecting online information of users in game platform |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1501636A (en) * | 2002-11-19 | 2004-06-02 | 华为技术有限公司 | A method for detecting whether or not WEB authentication user is on line |
CN1649299A (en) * | 2004-01-27 | 2005-08-03 | 日立通讯技术株式会社 | Integrated application management system, integrated call management server |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110276993A1 (en) * | 2007-04-06 | 2011-11-10 | Ferguson Kenneth H | Media Content Programming Control Method and Apparatus |
-
2013
- 2013-01-15 CN CN201310014696.9A patent/CN103095831B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1501636A (en) * | 2002-11-19 | 2004-06-02 | 华为技术有限公司 | A method for detecting whether or not WEB authentication user is on line |
CN1649299A (en) * | 2004-01-27 | 2005-08-03 | 日立通讯技术株式会社 | Integrated application management system, integrated call management server |
Also Published As
Publication number | Publication date |
---|---|
CN103095831A (en) | 2013-05-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103095831B (en) | Maintain the method for heartbeat mechanism, wlan client and program servers | |
US10477463B2 (en) | Adaptive ownership and cloud-based configuration and control of network devices | |
CN107836104B (en) | Method and system for internet communication with machine equipment | |
US9515888B2 (en) | Wireless local area network gateway configuration | |
CN102932785B (en) | Rapid authentication method, system and equipment of wireless local area network | |
JP6548445B2 (en) | Communication device, communication method and program | |
US10034057B2 (en) | Message processing method, device, gateway, STB and IPTV | |
US9204345B1 (en) | Socially-aware cloud control of network devices | |
EP3286893A1 (en) | Secure transmission of a session identifier during service authentication | |
WO2015131689A1 (en) | Sensor code-pairing processing method, apparatus, network platform device, and internet of things gateway | |
WO2013159576A1 (en) | Method and terminal for accessing wireless network, wi-fi access network node, and authentication server | |
WO2014123576A1 (en) | Online signup provisioning techniques for hotspot connections | |
WO2017097023A1 (en) | Perception-free authentication method and system, and control method and system based on method | |
CN107078946B (en) | Method, device and system for processing business flow processing strategy | |
CN105635084A (en) | Apparatus and method for authenticating terminal | |
CN104767768A (en) | A method for sending/receiving network access configuration information for home appliances and home appliances | |
WO2014086222A1 (en) | Method and apparatus for setting video call parameters and sending capability parameters | |
WO2014101661A1 (en) | Service flow mirroring method and mirroring device | |
CN104918298A (en) | Network connection control method and apparatus, and mobile terminal | |
WO2015100975A1 (en) | Method, apparatus and system for selecting authentication algorithm | |
CN103516766B (en) | Method and system of communication between client-side and application server | |
WO2014187241A1 (en) | Method and wireless device for controlling disconnection of a wireless device in a wi-fi direct group of a wireless network | |
WO2012130048A1 (en) | Method and apparatus for initializing gateway in device management system | |
CN106850784A (en) | Communication method between smart host and cloud service | |
CN106792694A (en) | A kind of access authentication method, and access device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |