CN103095831A - Method of maintaining heartbeat mechanism, wireless local area network (WLAN) client terminal and procedure server - Google Patents

Method of maintaining heartbeat mechanism, wireless local area network (WLAN) client terminal and procedure server Download PDF

Info

Publication number
CN103095831A
CN103095831A CN2013100146969A CN201310014696A CN103095831A CN 103095831 A CN103095831 A CN 103095831A CN 2013100146969 A CN2013100146969 A CN 2013100146969A CN 201310014696 A CN201310014696 A CN 201310014696A CN 103095831 A CN103095831 A CN 103095831A
Authority
CN
China
Prior art keywords
request message
service device
terminal equipment
wlan client
procedure service
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2013100146969A
Other languages
Chinese (zh)
Other versions
CN103095831B (en
Inventor
罗云彬
李�浩
刘辛炎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201310014696.9A priority Critical patent/CN103095831B/en
Publication of CN103095831A publication Critical patent/CN103095831A/en
Application granted granted Critical
Publication of CN103095831B publication Critical patent/CN103095831B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a method of maintaining a heartbeat mechanism, a wireless local area network (WLAN) client terminal and a procedure server. The method of maintaining the heartbeat mechanism comprises that login request information from a user is received. Authorizing request information is transmitted to the procedure server. The authorizing request information comprises pre-set on-line duration and identification of terminal equipment. A heartbeat package is transmitted to a portal server in the pre-set on-line duration by the procedure server. By means of the method of maintaining a heartbeat mechanism, the WLAN client terminal and the procedure server, the authorizing request information is transmitted, thus the terminal equipment is maintained to be on-line when the heartbeat package is transmitted to the portal server in the pre-set on-line duration by the procedure server. An on-line state of the terminal equipment can be judged by the portal server according to the received heartbeat package. Judging precision of the on-line state of the terminal equipment by the portal server is achieved. Calculating precision of the on-line duration of the terminal equipment can be further improved.

Description

Keep method, wlan client and the procedure service device of heartbeat mechanism
Technical field
The present invention relates to the communication technology, relate in particular to a kind of method, wlan client and procedure service device of keeping heartbeat mechanism.
Background technology
terminal equipment uses WLAN (wireless local area network) (the Wireless Local Area Networks of common carrier, be called for short WLAN) when obtaining Internet resources, usually move the wlan client application program on terminal equipment, by this wlan client application program to portal server (abbreviation Portal server) thus sending authentication request connects and obtains Internet resources to set up network, Portal server receives the authentication request of this terminal equipment and this terminal equipment is authenticated, Portal server is by after the authentication request of this terminal equipment, this terminal equipment just can obtain Internet resources.
for the terminal equipment that form (Windows) or Android (Android) operating system have been installed, after terminal equipment is set up the network connection by the wlan client application program, the terminal user can switch to running background with this wlan client application program, this wlan client application program can regularly send heartbeat packet to Portal server according to the eartbeat interval that Portal server arranges after switching to running background, whether Portal server can the monitoring terminal equipment user wish that terminal equipment keeps network to connect according to heartbeat packet, even Portal server receives heartbeat packet and can know that this terminal user wishes that this terminal equipment keeps network to connect, if receiving heartbeat packet, Portal server can not know that this terminal user wishes that this terminal equipment disconnects network and connects.
when the user wishes that terminal equipment disconnects the network connection, the user can switch to the wlan client application program on the foreground and this wlan client application program is set, make this wlan client application program send to Portal server the request of rolling off the production line, Portal server makes this terminal equipment disconnect the network connection after receiving the request of rolling off the production line, terminal equipment rolls off the production line, in addition, even terminal equipment is carried out the illegals such as illegal shutdown, the wlan client application program also can be forced to positive closing, after the wlan client application program is forced to positive closing, the wlan client application program also just can't regularly send heartbeat packet to Portal server, when Portal server does not receive the heartbeat packet that terminal equipment sends by the wlan client application program, Portal server thinks that this terminal user does not wish that this terminal equipment keeps network to connect, at this moment, the Portal server network of disconnected end equipment connects, terminal equipment rolls off the production line, the Portal server network connection of disconnected end equipment timely when terminal equipment illegally shuts down like this.
Internet operating system (Internet work Operation System is called for short iOS) does not support the wlan client application program at running background.The wlan client application program will be in " dormancy " state after changing the backstage over to, the iOS system maintains line states in order to guarantee terminal equipment after logging on portal server, usually adopt the mode of cancelling heartbeat packet, be after terminal equipment logs on portal server, portal server keeps the presence of this terminal equipment always, withdraws from and logs in until the terminal use logs in application program by this.For the terminal equipment that uses the iOS system, when the user wished to disconnect the network connection, the user can only send to Portal server the request of rolling off the production line by the wlan client application program that activates on the backstage " dormancy ", and this terminal equipment could disconnect network and connect.
yet, in the iOS system, when the terminal equipment illegal such as carry out that illegal shutdown or wlan client application program are illegally closed or user have not used network function for a long time, but forget from wlan client and withdraw from when logging in, even the wlan client application program is closed, Portal server will keep this terminal equipment online, Portal server records the poor accuracy of terminal equipment presence, when the user uses terminal equipment to carry out the WLAN business, network side is according to terminal equipment presence maintenance customer data, thereby cause this subscriber data inaccurate.
Summary of the invention
The invention provides a kind of method, wlan client and procedure service device of keeping heartbeat mechanism, the accuracy of the terminal equipment online hours being calculated to improve portal server.
On the one hand, the invention provides a kind of method of keeping heartbeat mechanism, comprising:
The WLAN (wireless local area network) wlan client receives the login request message from the user;
Described wlan client sends to the procedure service device and entrusts request message, described trust request message comprises: default online hours and the sign of described terminal equipment, so that described procedure service device sends heartbeat packet to portal server in described default online hours, described heartbeat packet comprises described Terminal Equipment Identifier.
On the other hand, the invention provides a kind of method of keeping heartbeat mechanism, comprising:
The procedure service device receives the trust request message from the WLAN (wireless local area network) wlan client, and described trust request message comprises: default online hours and the sign of terminal equipment;
Described procedure service device sends heartbeat packet to portal server in described default online hours, described heartbeat packet comprises described Terminal Equipment Identifier.
Another aspect the invention provides a kind of wlan client, it is characterized in that, comprising:
Receiving element is used for receiving the login request message from the user;
Transmitting element, be used for sending to the procedure service device and entrust request message, described trust request message comprises: default online hours and the sign of described terminal equipment, so that described procedure service device sends heartbeat packet to portal server in described default online hours, described heartbeat packet comprises described Terminal Equipment Identifier.
On the one hand, the invention provides a kind of procedure service device again, it is characterized in that, comprising:
Receiving element is used for receiving the trust request message from the WLAN (wireless local area network) wlan client, and described trust request message comprises: default online hours and the sign of terminal equipment;
Transmitting element is used for sending heartbeat packet to portal server in described default online hours, and described heartbeat packet comprises described Terminal Equipment Identifier.
the method of keeping heartbeat mechanism provided by the invention, wlan client and procedure service device, entrust request message by sending to the procedure service device, to keep described terminal equipment online so that described procedure service device sends heartbeat packet to portal server in described default online hours, the procedure service device default online hours that can comprise according to the trust request message that wlan client sends are kept the online hours of described terminal equipment like this, make terminal equipment remain on line states in default online hours, portal server can be according to the heartbeat packet judgement terminal equipment presence that receives, realized that the raising portal server is to terminal equipment presence Accuracy of Judgement, thereby can also further improve the accuracy that portal server calculates the terminal equipment online hours.
Description of drawings
Fig. 1 is the flow chart that the present invention keeps the embodiment of the method one of heartbeat mechanism;
Fig. 2 is the flow chart that the present invention keeps the embodiment of the method two of heartbeat mechanism;
Fig. 3 is the signaling process figure that the present invention keeps the embodiment of the method three of heartbeat mechanism;
Fig. 4 is the structural representation of wlan client embodiment one of the present invention;
Fig. 5 is the structural representation of procedure service device embodiment one of the present invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, below in conjunction with the accompanying drawing in the present invention, the technical scheme in the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
Fig. 1 is the flow chart that the present invention keeps the embodiment of the method one of heartbeat mechanism, and as shown in Figure 1, the method for keeping heartbeat mechanism of the present embodiment one comprises:
Step 101, wlan client receive the login request message from the user.
particularly, in one embodiment, wlan client is the application program on terminal equipment, the user moves this wlan client on terminal equipment, and this wlan client is operated, by the operation of this wlan client is sent to wlan client with user's the request message that logs in, for example, the user clicks " being connected to network " function button on wlan client, by this operation, user's the request message that logs in is sent to wlan client, wlan client sends authentication request message to portal server after receiving this login request message, the request portal server is linked into network with this terminal equipment, thereby this terminal equipment is reached the standard grade.
Step 102, described wlan client send to the procedure service device and entrust request message, described trust request message comprises: default online hours and the sign of described terminal equipment, so that described procedure service device sends heartbeat packet to portal server in described default online hours, described heartbeat packet comprises described Terminal Equipment Identifier.
particularly, wlan client sends to procedure service device (Provider) and entrusts request message, for example, in the present embodiment, the trust request message that wlan client sends to the procedure service device comprises default online hours that the terminal user arranges and the sign of described terminal equipment, described default online hours are sending for the terminal user the online duration of hope terminal maintenance that sets in advance before the trust request message, described duration is specifically as follows a time value, for example 1 hour, be that the terminal user wished to keep online 1 hour, described default online hours also can be other form of expression in other embodiments.The sign that is designated the terminal equipment that sends described trust request message of described terminal equipment, procedure service device are known the terminal equipment that sends described trust request message according to the described trust request message that receives.In one embodiment, safeguard one " online user's list " on the procedure service device, this list is used for recording the current sign that is in the terminal equipment of line states, the procedure service device can also entrust this sign of the terminal equipment that comprises in request message to add in this " online user's list " after receiving the trust request message.
After described procedure service device receives the trust request message of wlan client transmission, send heartbeat packet to door (Portal) server in the default online hours that comprise in this trust request message.In the present embodiment, described portal server has certain heart time interval, procedure service device palmic rate according to portal server in described default online hours sends heartbeat packet to portal server, described heartbeat packet comprises the device identification of described terminal equipment, described like this terminal equipment can remain on line states in described default online hours, also can not affect described terminal equipment maintenance online even the user changes wlan client over to backstage " dormancy " on terminal equipment.
in the present embodiment, wlan client receives the login request message from terminal equipment, entrust request message by sending to the procedure service device, to keep described terminal equipment online so that described procedure service device sends heartbeat packet to portal server in described default online hours, the procedure service device default online hours that can comprise according to the trust request message that wlan client sends are kept the online hours of described terminal equipment like this, make terminal equipment remain on line states in default online hours, portal server can be according to the heartbeat packet judgement terminal equipment presence that receives, improved portal server to terminal equipment presence Accuracy of Judgement, thereby can also improve the accuracy that portal server calculates the terminal equipment online hours.
Fig. 2 is the flow chart that the present invention keeps the embodiment of the method two of heartbeat mechanism, and as shown in Figure 2, the method for keeping heartbeat mechanism of the present embodiment two comprises:
Step 201, procedure service device receive the trust request message from wlan client, and described trust request message comprises: default online hours and the sign of terminal equipment.
Particularly, the procedure service device receives the trust request message from wlan client, and described trust request message comprises: default online hours and the sign of terminal equipment, wherein, online hours are preset by terminal equipment.In one implementation, safeguard one " online user's list " on the procedure service device, this subscriber's meter is alone in recording the current sign that is in the terminal equipment of line states, after the procedure service device receives described trust request message, this can also be entrusted the sign of the terminal equipment that comprises in request message to add in this " online user's list ".
Step 202, described procedure service device send heartbeat packet to portal server in described default online hours, described heartbeat packet comprises described Terminal Equipment Identifier.
Particularly, send heartbeat packet to portal server in the default online hours that the procedure service device comprises in described trust request message, remain on line states to keep described terminal equipment.
in the present embodiment, the procedure service device receives the trust request message from wlan client, described trust request message comprises: default online hours and the sign of terminal equipment, described procedure service device sends heartbeat packet to portal server in described default online hours, described heartbeat packet comprises described Terminal Equipment Identifier, wlan client can send heartbeat packet to portal server by the client server, and to keep this terminal use in default online hours online, realized that portal server can be according to the heartbeat packet judgement terminal equipment presence that receives, improved portal server to terminal equipment presence Accuracy of Judgement, thereby can also further improve the accuracy that portal server calculates the terminal equipment online hours.
Fig. 3 is the signaling process figure that the present invention keeps the embodiment of the method three of heartbeat mechanism, (iPhone), push server are apple push server (Apple Push Notification Service to the present embodiment three take terminal equipment as i Phone, abbreviation APNs) be elaborated for example, as shown in Figure 3, the method specifically comprises:
Step 301, i Phone initialization.
Particularly, when using for the first time, i Phone usually need to carry out initialization, for example, this initialization procedure can be for: i Phone by secure socket layer protocol (Secure Sockets Layer, be called for short SSL) be connected to APNs and apply for the registration of to APNs, the registration that APNs completes this iPhone generates afterwards the device token sign (Device Token) of this i Phone and returns to this i Phone.
The wlan client of step 302, i Phone sends authentication request message to portal server, so that i Phone is linked into network.
Particularly, the i Phone user can send authentication request message to portal server by the correlation function button on the wlan client of operation i Phone, portal server is by after the authentication request of this i Phone, and this i Phone can be accessed wide area network by portal server.
Further, the i Phone user can also wish that it keeps online time span, namely arranges online hours to the wlan client setting of i Phone.
The wlan client of step 303, i Phone sends to the procedure service device and entrusts request message, and this trust request message comprises: default online hours and device token sign.
Particularly, before the wlan client of i Phone is switched to running background, the mode that wlan client can adopt automated manner or adopt the user to trigger, send to the procedure service device and entrust request message, this trust request message comprises: the device token sign of obtaining in the online hours and above-mentioned 301 that arrange in above-mentioned 302.
Step 304, procedure service device add the device token sign in online user's list to.
Particularly, the procedure service device adds the device token sign that comprises in this trust request message in online user's list of procedure service device to, and this online user's list is used for the device token sign of the online terminal equipment of the current maintenance of logging program server.
This step is optional step, in a kind of embodiment, also can not carry out this step, after step 303, and direct execution in step 305.
Step 305, procedure service device regularly send the heartbeat packet of i Phone to portal server.
Particularly, the procedure service device in described default online hours, regularly sends heartbeat packet to portal server online to keep this i Phone according to entrusting the default online hours that arrange in request message.In one implementation, the procedure service device sends heartbeat packet according to certain time interval to portal server, and this time interval is consistent with the time interval of the reception heartbeat packet of portal server.
Notification message when step 306, procedure service device send to APNs.
Particularly, in one embodiment, when the default online hours of i Phone will expire, the procedure service device sends the notification message that comprises this i Phone device token sign to APNs, default online hours will can set in advance in the overdue time limit, for example can be 15 seconds, namely arrive front 15 seconds at these default online hours of i Phone, the procedure service device sends the notification message that comprises this i Phone device token sign to APNs.
Notification message when step 307, APNs are pushed to the wlan client of i Phone.
Particularly, after APNs receives the notification message that comprises this i Phone device token sign of procedure service device transmission, notification message when being pushed to the wlan client of the i Phone of this device token sign, this wlan client presents this then notification message on this i Phone, notification message when for example, wlan client can be presented on this i Phone with the form of message (Message).
Step 308, i Phone user determine whether to continue online.
Particularly, the i Phone user learns that the online hours of this setting will arrive after receiving the message that wlan client presents.When sending to wlan client, the user replys message, wherein, this message is that the first value representation user wishes to continue to keep online, in the case, return to step 303, execution in step 303 is to the process of step 308 again, and this message is that the second value representation user wishes to stop online, in the case, execution in step 309.For example, " activation " that this message of user by selecting provides and " ignoring " button, or ignore this message this message is replied, if the user selects " activation ", represent that this i Phone user wishes to continue to keep online, correspondingly, return to step 303, execution in step 303 is to the process of step 308 again; If select " ignoring " or ignore this message, represent that this user wishes to stop online, correspondingly, execution in step 309.
particularly, wlan client receives the then reply message from this i Phone user, judge according to this reply message, if this reply message be the first value namely this reply message represent that the user wishes continue to keep online, execution in step 303 again, be that described wlan client sends described trust request message to described procedure service device again, thereby again carry out successively subsequent step 304, step 305, step 306 and step 307, even described procedure service device receives the trust request message from described wlan client again, continue to send described heartbeat packet to described portal server in the described default online hours of the next one.
Step 309, procedure service device send to described portal server the request message that rolls off the production line when described default online hours finish.
particularly, if the then reply message that the user sends is the second value, this reply message represents that the user wishes to stop online, when described procedure service device finishes at described default online hours, again do not receive the trust request message from described wlan client, for example, the trust request message that did not again receive from described wlan client in 5 seconds before described default online hours finish, the procedure service device sends to described portal server the request message that rolls off the production line when described default online hours finish, the device token sign that comprises this i Phone in this request message that rolls off the production line, portal server receives the i Phone and the wide area network that after the request message that rolls off the production line of procedure service device, this device token are identified and disconnects, the procedure service device can also be deleted the device token sign of this i Phone from " online user's list " after portal server sends the request message that rolls off the production line.
Step 310, portal server roll off the production line i Phone.
Particularly, the portal server i Phone and the wide area network that roll off the production line after request message this device token sign that receive the procedure service device disconnects.
Step 311, portal server send to the procedure service device success response of rolling off the production line.
Step 312, procedure service device send to APNs the success message that rolls off the production line.
Particularly, the procedure service device receives portal server this i Phone is rolled off the production line after successful response, sends to APNs the success message that rolls off the production line, and comprises the device token sign of this i Phone in this success message that rolls off the production line.
Step 313, APNs send to the wlan client of i Phone the success message that rolls off the production line.
Particularly, the wlan client of the i Phone of the device token sign that comprises in the success message that rolls off the production line of APNs sends the success message that rolls off the production line.
The wlan client process ends of step 314, i Phone.
Wlan client receives the success message process ends afterwards that rolls off the production line.
After above-mentioned steps 305, can also comprise:
Wlan client receives the request message that rolls off the production line from user's first.
Particularly, after i Phone logs on wide area network, in the user preset duration that arranges, wlan client can receive the request message that rolls off the production line that the i Phone user sends at any time, and for example: the user clicks " withdraw from and log in " button namely to wlan client transmission first request message that rolls off the production line on the wlan client of i Phone.
Wlan client sends deletion to described procedure service device and entrusts request message.
Particularly, wlan client receives first of i Phone and rolls off the production line after request message, sends deletion to the procedure service device and entrusts request message, stops sending to portal server the heartbeat packet of this i Phone with the requestor server.
The procedure service device sends to described portal server the request message that rolls off the production line.
Particularly, after the procedure service device receives and entrusts request message from the deletion of wlan client, send this i Phone request message that rolls off the production line to portal server, so that this i Phone and wide area network disconnect.
The procedure service device is deleted this terminal equipment in " online user's list ".
Particularly, the procedure service device receives portal server this i Phone is rolled off the production line after successful response, the terminal iidentification of this i Phone of deletion in " online user's list ".
in the present embodiment, wlan client is by the then notification message that receives described procedure service device and send by push server and be transmitted to described terminal equipment, continue to keep described terminal equipment online or carry out the operation of rolling off the production line to the described heartbeat packet of described portal server transmission according to the then reply message of described terminal equipment, if the described message of then replying is the first value, described wlan client sends described trust request message to described procedure service device again, so that described procedure service device continues to send described heartbeat packet to described portal server in the described default online hours of the next one, if the described message of then replying is the second value, described wlan client process ends, so that described procedure service device sends to described portal server the request message that rolls off the production line when described default online hours finish, the described request message that rolls off the production line comprises described terminal equipment token sign, portal server can be according to the heartbeat packet judgement terminal equipment presence that receives, improved portal server to terminal equipment presence Accuracy of Judgement, can also further improve the accuracy that Portal server calculates the terminal equipment online hours.
Fig. 4 is the structural representation of wlan client embodiment one of the present invention, and as shown in Figure 4, the wlan client of the present embodiment comprises: receiving element 401 and transmitting element 402.
Wherein, receiving element 401 is used for receiving the login request message from the user; Transmitting element 402 is used for sending to the procedure service device entrusts request message, described trust request message comprises: default online hours and the sign of described terminal equipment, so that described procedure service device sends heartbeat packet to portal server in described default online hours, described heartbeat packet comprises described Terminal Equipment Identifier.
The wlan client that the present embodiment provides can be used for carrying out the technical scheme of embodiment of the method shown in Figure 1, its realize principle and technique effect similar, repeat no more herein.
On the basis of above-mentioned wlan client embodiment one, further, receiving element 401 can also be used for receiving the then notification message that described procedure service device sends by push server and present to the user; Receiving element 401 can also be used for receiving the then reply message from the user; Described transmitting element 402 also is used in the described message of then replying when being the first value, again send described trust request message to described procedure service device, so that described procedure service device continues to send described heartbeat packet to described portal server in the described default online hours of the next one; In the described message of then replying when being the second value, process ends, so that described procedure service device sends to described portal server the request message that rolls off the production line when described default online hours finish, the described request message that rolls off the production line comprises described Terminal Equipment Identifier.
Further, described receiving element 401 can also be used for receive the request message that rolls off the production line from user's first, and described first request message that rolls off the production line comprises described Terminal Equipment Identifier; Described transmitting element 402 can also be used for sending deletion to described procedure service device and entrust request message, and described deletion entrusts request message to comprise described Terminal Equipment Identifier, so that described procedure service device sends to described portal server the request message that rolls off the production line.
Fig. 5 is the structural representation of procedure service device embodiment one of the present invention, and as shown in Figure 5, the procedure service device of the present embodiment comprises: receiving element 501 and transmitting element 502.
Wherein, receiving element 501 is used for receiving the trust request message from the WLAN (wireless local area network) wlan client, and described trust request message comprises: default online hours and the sign of terminal equipment; Transmitting element 502 is used for sending heartbeat packet to portal server in described default online hours, and described heartbeat packet comprises described Terminal Equipment Identifier.
The procedure service device that the present embodiment provides can be used for carrying out the technical scheme of embodiment of the method shown in Figure 2, its realize principle and technique effect similar, repeat no more herein.
On the basis of said procedure server example one, the transmitting element 502 of described procedure service device, notification message in the time of can also being used for sending to described wlan client by push server before described default online hours finish is so that described wlan client is presented to the user with described then notification message; And be used for when described receiving element 501 receives trust request message from described wlan client again, continue to send described heartbeat packet to described portal server in the described default online hours of the next one, at described receiving element 501 when described default online hours finish again not receive yet trust request message from described wlan client, send to described portal server the request message that rolls off the production line, the described request message that rolls off the production line comprises described Terminal Equipment Identifier; Described receiving element 501 can also be used for again receiving the trust request message from described wlan client.
Further, described receiving element 501, request message is entrusted in the deletion that can also be used for receiving from described wlan client.
Described transmitting element 502 can also be used for sending to described portal server the request message that rolls off the production line, and the described request message that rolls off the production line comprises described Terminal Equipment Identifier.
It should be noted that at last: above each embodiment is not intended to limit only in order to technical scheme of the present invention to be described; Although with reference to aforementioned each embodiment, the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme that aforementioned each embodiment puts down in writing, and perhaps some or all of technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the scope of various embodiments of the present invention technical scheme.

Claims (12)

1. a method of keeping heartbeat mechanism, is characterized in that, comprising:
The WLAN (wireless local area network) wlan client receives the login request message from the user;
Described wlan client sends to the procedure service device and entrusts request message, described trust request message comprises: default online hours and the sign of described terminal equipment, so that described procedure service device sends heartbeat packet to portal server in described default online hours, described heartbeat packet comprises described Terminal Equipment Identifier.
2. method according to claim 1, is characterized in that, also comprises:
Described wlan client receives the then notification message that described procedure service device sends by push server and presents to the user;
Described wlan client receives the then reply message from described user;
If the described message of then replying is the first value, described wlan client sends described trust request message to described procedure service device again, so that described procedure service device continues to send described heartbeat packet to described portal server in the described default online hours of the next one;
If the described message of then replying is the second value, described wlan client process ends, so that described procedure service device sends to described portal server the request message that rolls off the production line when described default online hours finish, the described request message that rolls off the production line comprises described Terminal Equipment Identifier.
3. method according to claim 1 and 2, is characterized in that, also comprises:
Described wlan client receives the request message that rolls off the production line from described user's first;
Described wlan client sends deletion to described procedure service device and entrusts request message, described deletion entrusts request message to comprise described Terminal Equipment Identifier, so that described procedure service device sends to described portal server the request message that rolls off the production line, described first request message that rolls off the production line comprises described Terminal Equipment Identifier.
4. a method of keeping heartbeat mechanism, is characterized in that, comprising:
The procedure service device receives the trust request message from the WLAN (wireless local area network) wlan client, and described trust request message comprises: default online hours and the sign of terminal equipment;
Described procedure service device sends heartbeat packet to portal server in described default online hours, described heartbeat packet comprises described Terminal Equipment Identifier.
5. method according to claim 4, is characterized in that, also comprises:
Notification message when described procedure service device sends to described wlan client by push server before described default online hours finish is so that described wlan client is presented to the user with described then notification message;
If described procedure service device receives the trust request message from described wlan client again, continue to send described heartbeat packet to described portal server in the described default online hours of the next one;
If when described default online hours finished, described procedure service device did not receive the trust request message from described wlan client again, send to described portal server the request message that rolls off the production line, the described request message that rolls off the production line comprises described Terminal Equipment Identifier.
6. according to claim 4 or 5 described methods, is characterized in that, also comprises:
Described procedure service device receives from the deletion of described wlan client and entrusts request message;
Described procedure service device sends to described portal server the request message that rolls off the production line, and the described request message that rolls off the production line comprises described Terminal Equipment Identifier.
7. a wlan client, is characterized in that, comprising:
Receiving element is used for receiving the login request message from the user;
Transmitting element, be used for sending to the procedure service device and entrust request message, described trust request message comprises: default online hours and the sign of described terminal equipment, so that described procedure service device sends heartbeat packet to portal server in described default online hours, described heartbeat packet comprises described Terminal Equipment Identifier.
8. wlan client according to claim 7, is characterized in that, also comprises:
Described receiving element also is used for receiving the then notification message that described procedure service device sends by push server and presents to the user; Also be used for receiving the then reply message from the user;
Described transmitting element also is used in the described message of then replying when being the first value, again send described trust request message to described procedure service device, so that described procedure service device continues to send described heartbeat packet to described portal server in the described default online hours of the next one, in the described message of then replying when being the second value, process ends, so that described procedure service device sends to described portal server the request message that rolls off the production line when described default online hours finish, the described request message that rolls off the production line comprises described Terminal Equipment Identifier.
9. according to claim 7 or 8 described wlan clients, is characterized in that,
Described receiving element also be used for to receive the request message that rolls off the production line from user's first, and described first request message that rolls off the production line comprises described Terminal Equipment Identifier;
Described transmitting element also is used for sending deletion to described procedure service device and entrusts request message, and described deletion entrusts request message to comprise described Terminal Equipment Identifier, so that described procedure service device sends to described portal server the request message that rolls off the production line.
10. a procedure service device, is characterized in that, comprising:
Receiving element is used for receiving the trust request message from the WLAN (wireless local area network) wlan client, and described trust request message comprises: default online hours and the sign of terminal equipment;
Transmitting element is used for sending heartbeat packet to portal server in described default online hours, and described heartbeat packet comprises described Terminal Equipment Identifier.
11. procedure service device according to claim 10 is characterized in that,
notification message when described transmitting element also is used for sending to described wlan client by push server before described default online hours finish, so that described wlan client is presented to the user with described then notification message, and be used for when described receiving element receives trust request message from described wlan client again, continue to send described heartbeat packet to described portal server in the described default online hours of the next one, at described receiving element when described default online hours finish again not receive yet trust request message from described wlan client, send to described portal server the request message that rolls off the production line, the described request message that rolls off the production line comprises described Terminal Equipment Identifier,
Described receiving element also is used for again receiving the trust request message from described wlan client.
12. according to claim 10 or 11 described procedure service devices is characterized in that,
Request message is entrusted in the deletion that described receiving element also is used for receiving from described wlan client;
Described transmitting element also is used for sending to described portal server the request message that rolls off the production line, and the described request message that rolls off the production line comprises described Terminal Equipment Identifier.
CN201310014696.9A 2013-01-15 2013-01-15 Maintain the method for heartbeat mechanism, wlan client and program servers Active CN103095831B (en)

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 true CN103095831A (en) 2013-05-08
CN103095831B 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)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103987017A (en) * 2014-06-03 2014-08-13 北京奇虎科技有限公司 Method and system for establishing service access in WLAN
CN104284326A (en) * 2014-10-31 2015-01-14 北京元心科技有限公司 Mobile terminal power saving method, system, application processor and wireless module
CN104579813A (en) * 2013-10-29 2015-04-29 华为终端有限公司 Detection method and terminal
CN104991850A (en) * 2015-06-27 2015-10-21 广州华多网络科技有限公司 Heartbeat package control method and apparatus for application program
CN105517194A (en) * 2014-10-15 2016-04-20 上海点艺信息技术有限公司 Setting method of sending frequency of heartbeat bags, method of keeping connection and device thereof
CN105721227A (en) * 2016-04-14 2016-06-29 武汉斗鱼网络科技有限公司 Method and system for carrying out statistics to online durations of user and state server
CN108810658A (en) * 2017-05-05 2018-11-13 广东亿迅科技有限公司 A kind of method and system of HLS net casts door chain
CN105933732B (en) * 2016-06-14 2019-08-27 天脉聚源(北京)传媒科技有限公司 A kind of video playing duration statistical method and system
CN112752323A (en) * 2020-12-31 2021-05-04 上海连尚网络科技有限公司 Method and device for changing hotspot access state
CN113923255A (en) * 2021-09-07 2022-01-11 苏州九宫数字科技有限公司 Method, system and medium for detecting user online information in game platform

Citations (3)

* Cited by examiner, † Cited by third party
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 日立通讯技术株式会社 Comlex management system and complex conversation management server for applicating programme
US20110276993A1 (en) * 2007-04-06 2011-11-10 Ferguson Kenneth H Media Content Programming Control Method and Apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
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 日立通讯技术株式会社 Comlex management system and complex conversation management server for applicating programme
US20110276993A1 (en) * 2007-04-06 2011-11-10 Ferguson Kenneth H Media Content Programming Control Method and Apparatus

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104579813A (en) * 2013-10-29 2015-04-29 华为终端有限公司 Detection method and terminal
CN104579813B (en) * 2013-10-29 2018-09-07 华为终端(东莞)有限公司 Detection method and terminal
CN103987017B (en) * 2014-06-03 2017-09-19 北京奇虎科技有限公司 A kind of method and system for being used to set up service access in a wlan
CN103987017A (en) * 2014-06-03 2014-08-13 北京奇虎科技有限公司 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
CN104991850A (en) * 2015-06-27 2015-10-21 广州华多网络科技有限公司 Heartbeat package control method and apparatus for application program
CN104991850B (en) * 2015-06-27 2018-06-19 广州华多网络科技有限公司 The heartbeat packet control method and device of a kind of application program
CN105721227A (en) * 2016-04-14 2016-06-29 武汉斗鱼网络科技有限公司 Method and system for carrying out statistics to online durations of user and state server
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
CN108810658A (en) * 2017-05-05 2018-11-13 广东亿迅科技有限公司 A kind of method and system of HLS net casts door chain
CN108810658B (en) * 2017-05-05 2021-04-13 广东亿迅科技有限公司 HLS video live broadcast anti-theft chain method and system
CN112752323A (en) * 2020-12-31 2021-05-04 上海连尚网络科技有限公司 Method and device for changing hotspot access state
CN113923255A (en) * 2021-09-07 2022-01-11 苏州九宫数字科技有限公司 Method, system and medium for detecting user online information in game platform

Also Published As

Publication number Publication date
CN103095831B (en) 2016-03-16

Similar Documents

Publication Publication Date Title
CN103095831B (en) Maintain the method for heartbeat mechanism, wlan client and program servers
US11051167B2 (en) System and method for policy-based extensible authentication protocol authentication
CN103220182B (en) The system and method for intelligent terminal managing family gateway
US9578007B2 (en) Secure transmission of a session identifier during service authentication
CN103501495A (en) Perception-free WLAN (Wireless Local Area Network) authentication method fusing Portal/Web authentication and MAC (Media Access Control) authentication
US9407522B2 (en) Initiating data collection based on WiFi network connectivity metrics
CN104158883A (en) Method, device, equipment and system for carrying out user login through cross-terminal equipment
WO2017097023A1 (en) Perception-free authentication method and system, and control method and system based on method
US20180070208A1 (en) Interaction tracking and organizing system
CN105072617A (en) Authentication method based on WIFI access
US20200195646A1 (en) Method, Device and System for Obtaining Local Domain Name
WO2018196329A1 (en) Access device, authentication server, and method and system for controlling access of terminal device
CN103369531A (en) Method and device for controlling authority based on terminal information
US20130244622A1 (en) Method and System for Transferring Mobile Device Contact Information
CN111263338A (en) Network distribution method of Bluetooth Mesh network and related network distribution equipment and system
CN105991698A (en) Method, system and device for mobile terminal remotely managing intelligent router file
CN109525620B (en) Message pushing system, method and device
WO2016082515A1 (en) Wireless terminal and connection control method thereof, wireless access point device and communication system
CN107770035B (en) Method and device for pushing offline notification
FR3060933A1 (en) METHOD FOR CONTROLLING RADIO SIGNAL ISSUED BY CORRESPONDING GATEWAY, GATEWAY AND COMPUTER PROGRAM
CN109587210A (en) A kind of implementation method of the information push of more browser-safes
CN105024905B (en) Information push method and device
EP3223493B1 (en) Point-to-point protocol (ppp)-based dial-on-demand method and device, and computer storage medium
US11785506B2 (en) Methods and systems for communication session management
EP2891299B1 (en) Systems and methods for efficient remote security panel configuration and management

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