WO2013143228A1 - Method and system for reducing heartbeat messages - Google Patents
Method and system for reducing heartbeat messages Download PDFInfo
- Publication number
- WO2013143228A1 WO2013143228A1 PCT/CN2012/076865 CN2012076865W WO2013143228A1 WO 2013143228 A1 WO2013143228 A1 WO 2013143228A1 CN 2012076865 W CN2012076865 W CN 2012076865W WO 2013143228 A1 WO2013143228 A1 WO 2013143228A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- domain
- online
- request
- heartbeat
- proxy server
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
- H04L41/0816—Configuration setting characterised by the conditions triggering a change of settings the condition being an adaptation, e.g. in response to network events
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/10—Active monitoring, e.g. heartbeat, ping or trace-route
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/10—Architectures or entities
- H04L65/1045—Proxies, e.g. for session initiation protocol [SIP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/143—Termination or inactivation of sessions, e.g. event-controlled end of session
- H04L67/145—Termination or inactivation of sessions, e.g. event-controlled end of session avoiding end of session, e.g. keep-alive, heartbeats, resumption message or wake-up for inactive or interrupted session
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/20—Services signaling; Auxiliary data signalling, i.e. transmitting data via a non-traffic channel
Definitions
- the present invention relates to the field of mobile communications, and in particular, to a method and system for reducing heartbeat messages of various applications. Background technique
- Receiving and sending data in the network is done using sockets (SOCKET) in WINDOWS.
- SOCKET sockets
- the socket is disconnected, there is a problem with sending and receiving data.
- heartbeat means that the client periodically sends a custom structure (heartbeat message or heartbeat packet or heartbeat frame) to the server, so that the server knows that the client is online, thus ensuring the validity of the long connection between the client and the server.
- the heartbeat message of the instant messaging tool imposes a great burden on the network, especially the mobile communication network.
- the client of the QQ application can periodically send the heartbeat message to the application server to achieve the long-term occupation of the external network IP address, and the server can sense the online state of the client through the heartbeat message reported by the terminal.
- the heartbeat message is for the Global System of Mobile Communication (GSM) network and the third generation mobile communication technology (3G, 3rd-generation).
- LTE Long Term Evolution
- CCCH Common Control Channel
- CS Common Service
- CCCH load in some areas exceeds the red threshold or the yellow threshold, which directly causes a low paging success rate and affects the voice user experience.
- PDCH Packet Data CHannel
- a method of reducing a heartbeat message comprising:
- the application server receives the login of the user equipment (UE, User Equipment) application module. After the request, send a request for detecting the online status of the packet data PS domain of the UE to the heartbeat proxy server; after receiving the request for detecting the online status of the PS domain of the UE, the heartbeat proxy server detects the packet of the UE by using the wireless communication network. Exchange the online status of the (PS, Packet Switch) domain;
- the heartbeat proxy server Upon detecting that the PS domain online status of the UE is offline, the heartbeat proxy server notifies the application server that the UE application module has gone offline.
- the method further includes:
- the heartbeat proxy server After detecting that the PS domain online status of the UE is online, the heartbeat proxy server sends a heartbeat message to the application server to notify the application server that the UE application module is online or does not send a message to the application server. By default, the UE application module is online.
- detecting, by the wireless communication network, the online status of the PS domain of the UE is: the heartbeat proxy server timings to a home subscriber server (HSS, Home Subscriber Server) of the wireless communication network.
- HSS home subscriber server
- the HSS/HLR After receiving the request for querying the PS domain online status of the UE, the HSS/HLR queries the PS domain online status information of the UE according to the ID of the UE and returns it to the heartbeat proxy server.
- detecting, by the wireless communication network, the online status of the PS domain of the UE is: the heartbeat proxy server timing to a public data network (PDN, Public Data Network)/Gateway GPRS support node of the wireless communication network (GGSN, Gateway GPRS) Supporting a request to query the online status of the PS domain of the UE, where the request carries the IP address of the UE; after receiving the request for querying the online status of the PS domain of the UE, the PDN/GGSN queries according to the IP address.
- the PS domain online status information of the UE is returned to the heartbeat proxy server.
- detecting, by the wireless communication network, the online status of the PS domain of the UE is: the heartbeat proxy server sends a request for registering a UE to the HSS/HLR, where the request carries ID with UE;
- the HSS/HLR After receiving the request of the registration UE, the HSS/HLR detects the PS domain online state information of the UE in real time according to the ID of the UE;
- the HSS/HLR When detecting that the online status of the PS domain of the UE is offline, the HSS/HLR notifies the heartbeat proxy server that the UE has gone offline.
- a system for reducing heartbeat messages comprising:
- An application server configured to send, to the heartbeat proxy server, a request for detecting an online status of the PS domain of the UE after receiving the login request of the UE application module;
- a wireless communication network configured to detect an online state of a PS domain of the UE
- a heartbeat proxy server configured to detect an online state of a PS domain of the UE by using a wireless communication network after receiving a request for detecting a PS domain online state of the UE, and detecting that the PS domain online state of the UE is When not online, the application server is notified that the UE application module has gone offline.
- the heartbeat proxy server is further configured to: when detecting that the PS domain online state of the UE is online, send a heartbeat message to the application server to notify the application server that the UE application module is online or not to the application server. The message is sent and the UE application module is online by default.
- the wireless communication network further includes:
- the HSS/HLR is configured to query the PS of the UE according to the ID of the UE carried in the request for querying the online status of the PS domain of the UE after receiving the request of the heartbeat proxy server to periodically query the PS domain online status of the UE. Domain online status information and return it to the heartbeat agent service crying
- the wireless communication network further includes:
- a PDN/GGSN configured to receive the query UE periodically sent by the heartbeat proxy server After the PS domain online status request, the PS domain online status information of the UE is queried according to the IP address of the UE carried in the request for querying the PS domain online status of the UE, and is returned to the heartbeat proxy server.
- the wireless communication network further includes:
- the HSS/HLR is configured to detect, in real time, the PS domain online state information of the UE according to the ID of the UE carried in the request of the registration UE, after receiving the request of the UE registered by the heartbeat proxy server, and detecting the UE When the online status of the PS domain is offline, the heartbeat proxy server is notified that the UE has gone offline.
- the invention has the advantages that: the heartbeat message in the mobile communication network is reduced, thereby reducing the load of the mobile communication network and improving the user experience.
- FIG. 1 is a flowchart of a method for reducing a heartbeat message according to Embodiment 1 of the present invention
- FIG. 2 is a flowchart of a method for reducing a heartbeat message according to Embodiment 2 of the present invention
- a flowchart of a method for reducing a heartbeat message is provided.
- FIG. 4 is a flowchart of a method for reducing a heartbeat message according to Embodiment 4 of the present invention;
- FIG. 5 is a normal exit of an application on a UE according to Embodiment 5 of the present invention;
- FIG. 6 is a flowchart of a process when an application on a UE that is abnormally interrupted cannot be normally issued with an exit login message according to Embodiment 6 of the present invention;
- FIG. 7 is a schematic structural diagram of a system for reducing heartbeat messages according to Embodiment 7 of the present invention. detailed description
- FIG. 1 is a flowchart of a method for reducing a heartbeat message according to Embodiment 1 of the present invention. As shown in FIG. 1, the method includes: Step S101: After receiving the login request of the UE application module, the application server sends a request for detecting the online status of the PS domain of the UE to the heartbeat proxy server.
- the UE application module sends a login request to the application server. After the application server authenticates the login request, the application server sends a request to the heartbeat proxy server to detect the online status of the PS domain of the UE, where the request carries the ID of the UE.
- Step S102 After receiving the request for detecting the online status of the PS domain of the UE, the heartbeat proxy server detects the online state of the PS domain of the UE through the wireless communication network.
- Detecting the online status of the PS domain of the UE through the wireless communication network can be implemented in various ways:
- the heartbeat proxy server periodically sends a request to the wireless communication network to query the PS domain online status of the UE.
- the application server sends a request for detecting the online status of the PS domain of the UE to the heartbeat proxy server, where the request carries the ID of the UE.
- the ID of the UE includes but is not limited to a mobile phone number or an IP address.
- the heartbeat proxy server periodically sends a request for querying the PS domain online status of the UE to the HSS/HLR of the wireless communication network.
- the request carries the ID of the UE.
- the HSS/HLR queries the PS domain online status information of the UE according to the ID of the UE and returns it to the heartbeat proxy server.
- the heartbeat proxy server periodically sends a request for querying the online status of the PS domain of the UE to the PDN/GGSN of the wireless communication network, where the request carries the IP address of the UE.
- the HSS/HLR queries the PS domain online status information of the UE according to the IP address and returns it to the heartbeat proxy server.
- the heartbeat proxy server sends a request to the HSS/HLR to register the UE.
- the heartbeat proxy server sends a request for registering the UE to the HSS/HLR, where the request carries the ID of the UE.
- the HSS/HLR detects the PS domain of the UE in real time according to the ID of the UE. status information.
- the HSS/HLR notifies the heartbeat proxy server that the UE has gone offline.
- Step S103 When it is detected that the online state of the PS domain of the UE is offline, the heartbeat proxy server notifies the application server that the UE application module has gone offline.
- the heartbeat proxy server After receiving the PS domain online status of the UE returned by the wireless communication network, the heartbeat proxy server notifies the application server that the UE application module has gone offline when the online status of the PS domain of the UE is offline; the PS of the UE When the domain online status is online, the heartbeat proxy server sends a heartbeat message to the application server to notify the application server that the UE is online or the heartbeat proxy server does not send a heartbeat message to the application server but the application server By default the UE is online.
- FIG. 2 is a flowchart of a method for reducing a heartbeat message according to Embodiment 2 of the present invention.
- an instant communication tool QQ is taken as an example
- a QQ client is an application module on a UE
- a QQ server is an application server.
- the method includes:
- Step S201 The QQ client on the UE initiates a login request to the QQ server.
- the login button is clicked, and the QQ client on the UE sends a login request to the QQ server.
- Step S202 the QQ server acquires the ID of the UE.
- the QQ server After receiving the request from the client, the QQ server performs normal authentication on the user of the QQ client and obtains the ID of the UE.
- the ID of the UE may be the mobile phone number or IP address of the user.
- the QQ server can directly obtain the mobile phone number of the user.
- the QQ server cannot know the mobile phone number of the user, but can obtain the IP address. Step S203, notifying the QQ client that the heartbeat message is not required to be sent to the QQ server.
- the QQ server notifies the QQ client that the heartbeat message is not needed, thereby making the UE
- the QQ client no longer sends heartbeat messages to the QQ server.
- Step S204 Send related information of the UE to the heartbeat proxy server.
- the QQ server sends the related information of the UE to the heartbeat proxy server, including but not limited to the ID of the UE.
- Step S205 Add a UE to the UE information maintenance table.
- the heartbeat proxy server After receiving the UE information sent by the QQ server, the heartbeat proxy server saves the UE information to the UE information maintenance table.
- the UE information maintenance table includes the user's mobile phone number, IP address, online status, and the like.
- Step S206 A request for acquiring the online status of the PS domain of the UE is periodically sent.
- the heartbeat proxy server periodically sends a request for obtaining the PS domain online state information of the UE to the HSS/HLR of the wireless communication network, where the request carries the ID of the UE.
- Step S207 The HSS/HLR acquires the PS domain online state information of the UE, and indicates the UE
- the IP address is not released.
- the HSS/HLR After receiving the request of the heartbeat proxy server to obtain the online state of the PS domain of the UE, the HSS/HLR queries the UE's PS domain online state information according to the UE's ID, that is, the user's MSISDN number or IP address. At the same time, the HSS/HLR instructs the PDN or GGSN to reserve the IP to the UE even if the UE is inactive for a long time.
- the HSS/HLR querying the PS domain online status of the UE is a prior art and will not be described here.
- the heartbeat proxy server can be interconnected with multiple HSS/HLRs, and the heartbeat proxy server can also support selecting a certain HSS/HLR for query according to the ID of the UE. Specifically, the correspondence between the ID of the UE and the HSS/HLR may be pre-stored, or the first query may sequentially query each HSS/HLR, and then record the HSS/HLR where the UE is located, and subsequent queries are directly processed according to the result of the recording. Query the HSS/HLR.
- the heartbeat proxy server can query the PS domain online status information of multiple UEs in batches.
- the QQ server can also send related information of multiple UEs to the heartbeat proxy server in batches. After receiving the related information of multiple UEs, the heartbeat proxy server also batches The related information of multiple UEs is sent to the HSS/HLR and requests to acquire the PS domain online status of multiple UEs. After receiving the request, the HSS/HLR acquires the PS domain online status of each UE according to the ID of each UE carried in the request.
- Step S208 returning online status information of the PS domain of the UE.
- the HSS/HLR sends the queried UE's PS domain online status and the IP address reserved by the PDN/GGSN for the UE to the heartbeat proxy server.
- the heartbeat proxy server updates the information of the corresponding UE in the UE information maintenance table according to the returned information. Specifically, the online status and the IP address of the corresponding UE in the UE information maintenance table are updated according to the PS domain online status of the UE and the IP address of the UE in the returned information.
- the heartbeat proxy server performs different processing according to the online state information of the PS domain of the UE. If the online state of the PS domain of the UE is online, step S209 is performed; otherwise, step S210 is performed.
- Step S209 notifying the QQ server that the UE is online in the PS domain.
- the heartbeat proxy server When the online status of the PS domain of the UE is online, the heartbeat proxy server notifies the QQ server that the UE is online in the PS domain, that is, the application module of the UE is online.
- the heartbeat proxy server notifies the QQ server in two ways. One is that the QQ client on the simulated UE sends a heartbeat message to the QQ server, and the other is that no message is sent, but the default UE is online in the PS domain.
- Step S210 notifying the QQ server that the UE is offline in the PS domain.
- the heartbeat proxy server sends a message to the QQ server to inform the QQ server that the UE is not online in the PS domain. After receiving the message of the heartbeat proxy server, the QQ server identifies the QQ user of the UE as offline.
- FIG. 3 is a flowchart of a method for reducing a heartbeat message according to Embodiment 3 of the present invention, such as As shown in FIG. 3, the method includes:
- Step S301 An application login on the UE.
- An application on the UE initiates a login request to the application server.
- Step S302 Acquire an ID of the UE.
- Step S303 Submit the information of the UE to the heartbeat proxy server.
- the application server sends the UE information to the heartbeat proxy server.
- the information of the UE includes the ID of the UE, that is, the IP address.
- the application server sends the UE information to the heartbeat proxy server whether it needs to retain the identity of the IP.
- Step S304 the heartbeat proxy server saves the UE information.
- the heartbeat proxy server adds the received UE information to the UE information maintenance table.
- Step S305 A request for querying the online status of the PS domain of the UE is periodically sent.
- the heartbeat proxy server periodically sends a request to the PDN or the GGSN to query the online status of the PS domain of the UE, where the request carries the IP address of the UE and whether the identifier of the IP needs to be retained.
- Step S306 acquiring IMSI information of the UE according to the IP address.
- the IP address of the IP address query is online, and the corresponding international mobile subscriber identity 1 J another code (IMSI, International Mobile Subscriberldentification Number) information.
- IMSI International Mobile Subscriberldentification Number
- the PDN or the GGSN reserves the IP address, otherwise the IP address is not reserved for the UE.
- Step S307 returning the IMSI and online status of the UE.
- the PDN/GGSN returns the queried IMSI and the UE's PS domain online status to the heartbeat proxy server.
- Step S308 recording the IMSI and the corresponding IP address information, and performing the result of the last query. Contrast to determine if the IMSI is still online.
- the heartbeat proxy server After receiving the message returned by the PDN/GGSN, the heartbeat proxy server compares the IMSI of the received UE with the IMSI of the UE that was last queried in the UE information maintenance table, and determines whether the IMSI corresponding to the IP address changes. If a change occurs, it can be determined that the UE is offline in the PS domain.
- the heartbeat proxy server updates the last queried IMSI and IP address of the UE in the UE information maintenance table with the IMSI and IP address information of the received UE.
- step S309 When the online status of the PS domain of the UE is online, the heartbeat proxy server performs step S309, otherwise, step S310 is performed.
- Step S309 notifying the application server that the UE is online in the PS domain.
- the heartbeat proxy server notifies the application server that there are two ways for the UE to be online in the PS domain. One is to simulate that the application on the UE sends a heartbeat message to the application server, and the other is to not send any message, but the default UE is online in the PS domain.
- Step S310 notifying the application server that the UE is offline in the PS domain.
- the heartbeat proxy server sends a message to the application server notifying the application server that the UE is not online in the PS domain. After receiving the message of the heartbeat proxy server, the application server identifies the application of the UE as offline.
- the above steps 305 to 308 may be replaced by the following steps to obtain the PS domain online state of the UE: Heartbeat Proxy Server Sending a request to register the UE to the PDN/GGSN.
- the PDN/GGSN detects the online status of the PS domain of the UE in real time, and notifies the heartbeat proxy server when the IP address of the UE is released or the IMSI corresponding to the IP address changes.
- the PS domain status of the UE is offline. Otherwise, the heartbeat proxy server defaults the PS domain status of the UE to online.
- the heartbeat proxy server performs step S309 when the PS domain status of the default UE is online, otherwise step S310 is performed.
- FIG. 4 is a flowchart of a method for reducing a heartbeat message according to Embodiment 4 of the present invention, such as As described in FIG. 4, the method includes the following steps:
- Step S401 An application login on the UE.
- An application on the UE initiates a login request to the application server.
- Step S402 obtaining an ID of the UE.
- the ID of the UE is obtained, where the ID of the UE is
- Step S403 submit the ID of the UE to the heartbeat proxy server.
- the application server submits information such as the ID of the UE to the heartbeat proxy server.
- Step S404 the heartbeat proxy server maintains information of the UE.
- the heartbeat proxy server adds the received UE information to the UE information maintenance table.
- Step S405 Send a registration request.
- the heartbeat proxy server sends a registration request to the HSS/HLR, where the request carries the UE
- Step S406 detecting the online state of the PS domain of the UE in real time.
- the HSS/HLR After receiving the registration request, the HSS/HLR saves the related information of the UE, and detects the online state of the PS domain of the UE in real time.
- the HSS/HLR detects the online state of the PS domain of the UE according to the ID of the UE, and when it detects that the online state of the PS domain of the UE is offline, step S408 is performed; otherwise, the HSS/HLR does not send any message to the heartbeat proxy server, the heartbeat proxy server
- the default UE's PS domain online status is online, and step S407 is performed.
- Step S407 notifying the application server that the UE is online in the PS domain.
- Step S408 when it is detected that the online status of the PS domain of the UE is offline, the heartbeat proxy server is notified.
- the heartbeat proxy server UE is notified to have gone offline.
- Step S409 updating maintenance information of the UE.
- the heartbeat proxy server changes the online status of the UE in the UE information maintenance table to be offline or deletes the information of the UE in the UE information maintenance table.
- Step S410 notifying the application server that the UE is offline in the PS domain.
- the heartbeat proxy server sends a message to the application server notifying the application server that the UE is not online in the PS domain. After receiving the offline message, the application server identifies the application of the UE as offline.
- FIG. 5 is a flowchart of a normal exit of an application on a UE according to Embodiment 5 of the present invention. As shown in FIG. 5, the normal exit process includes the following steps:
- Step S501 The application module of the UE sends an exit notification to the application server.
- Step S502 The application server sends a UE exit message to the heartbeat proxy server.
- the application server After receiving the exit notification sent by the application module of the UE, the application server sends a message of the UE exit to the heartbeat proxy server.
- Step S503 deleting the UE from the UE information maintenance table.
- the heartbeat proxy server After receiving the UE exit message, the heartbeat proxy server deletes the information of the UE from the UE information maintenance table.
- the heartbeat proxy server If the PS domain online status of the UE is obtained from the wireless communication network by sending a registration request to the HSS/HLR or the PDN/GGSN, the heartbeat proxy server also needs to send a notification to the HSS/HLR or the PDN/GGSN to delete the UE. After receiving the deletion notification, the HSS/HLR or the PDN/GGSN deletes the related information of the saved UE.
- the application module on the UE in the foregoing fifth embodiment is normally exited, but sometimes the application on the UE is abnormally terminated.
- the application module on the UE does not send a message to the application server to log out.
- the user restarts the application follow the above implementation.
- the normal login process can be processed, but if the user does not restart the application, the application server will not send the user's exit request to the heartbeat proxy server, and the heartbeat proxy server will continue to monitor the wireless communication network, if the UE still maintains The PS domain is online, then the application server will also consider the UE to remain online. Therefore, the abnormal termination problem of the application on the UE must be solved.
- FIG. 6 is a process flow when an application on a UE that is provided by the implementation of the sixth embodiment of the present invention is abnormally interrupted and cannot normally issue an exit login message. As shown in FIG. 6, the process includes:
- Step S601 The application server sends a data packet to the abnormally exited UE.
- the application server or other UE sends a data packet to the abnormally exited UE.
- the data packet may be forwarded by other UEs through the application server.
- the QQ user on other UEs sends a message to the QQ application of the UE, or the application server itself sends a message to the QQ application of the UE.
- an ACK confirmation response is automatically requested for this application packet.
- Step S602 The PDN/GGSN detects that the transmission fails.
- the PDN or GGSN When the data packet is sent to the PDN or GGSN, the PDN or GGSN will detect the transmission failure because the application of the UE has been abnormally closed.
- Step S603 returning a failure message.
- the PDN or GGSN After detecting the failure of the PDN or GGSN, the PDN or GGSN returns a failure message to the application server. After receiving the message that the transmission fails, the application server knows that the application on the UE has abnormality.
- Steps S601 to S603 are repeatedly performed multiple times. After multiple attempts, if the application server still receives the message that the transmission fails, the UE is considered to have exited abnormally.
- Step S604 sending a message that the UE has gone offline to the heartbeat proxy server.
- the application server sends a message that the user has gone offline to the heartbeat proxy server.
- Step S605 The UE is deleted from the UE information maintenance table.
- the heartbeat proxy server After receiving the offline message sent by the application server, the heartbeat proxy server deletes the UE from the UE information maintenance table or marks the UE as offline.
- the application on the UE is abnormally terminated, there is another extreme case where the application on the UE is neither restarted nor any other UE or application server sends a packet to it for interaction. The consequence of this extreme situation is that the state of the UE is incorrectly displayed and there are no usage problems. If any subsequent packets interact with the application on the UE, then the online status of the application for the UE can still be corrected.
- the application server or the heartbeat proxy server may also send a probe message to the UE at a certain frequency, but in this case, there will be some heartbeat information in the future. Considering that this extreme situation is a small probability event, and such a small probability event does not affect the use, the step of transmitting the probe packet by the application server or the heartbeat proxy server can be omitted.
- FIG. 7 is a schematic structural diagram of a system for reducing a heartbeat message according to Embodiment 7 of the present invention.
- the system includes: a UE, a wireless communication network, a heartbeat proxy server, and an application server, where the application server may have Multiple units, application modules installed on the UE, and multiple HSS/HLRs and multiple PDN/GGSNs in the wireless communication network.
- the interface between the heartbeat proxy server and the application server is interface 1
- the interface of the heartbeat proxy server and the HSS/HLR is interface 2
- the interface of the heartbeat proxy server and the PDN/GGSN is interface 3.
- the UE is a user terminal on which various application modules that need to send heartbeat messages to the application server are run.
- the application module installed on the UE is used to send a login message to the application server.
- the application module mainly refers to various applications that require heartbeat messages, including but not limited to instant messaging services such as QQ.
- MSN remote data collection or control, such as Internet of Things applications.
- the application server is configured to send, to the heartbeat proxy server, a request for detecting the online status of the PS domain of the UE after receiving the login request of the UE application module.
- a heartbeat proxy server configured to: after receiving a request for detecting a PS domain online state of the UE, detecting an online state of the PS domain of the UE by using a wireless communication network, and detecting the When the PS domain online status of the UE is offline, the application server is notified that the UE application module has gone offline; when detecting that the PS domain online status of the UE is online, sending a heartbeat message to the application server to notify the The UE application module of the application server is online.
- the heartbeat proxy server may not send any message to the application server, but the application server defaults that the UE application module is online.
- the step of detecting, by the heartbeat proxy server, the online state of the PS domain of the UE through the wireless communication network specifically, the heartbeat proxy server periodically sends an inquiry to the HSS/HLR or the PDN/GGSN of the wireless communication network to query the online state of the PS domain of the UE.
- the request, HSS/HLR or PDN/GGSN returns the queried online status result to the heartbeat proxy server.
- the heartbeat proxy server sends a request for registering the UE to the HSS/HLR.
- the HSS/HLR detects the online status of the PS domain of the UE in real time and notifies the heartbeat proxy server when it detects that the online state of the PS domain of the UE is offline.
- a wireless communication network is configured to detect an online state of a PS domain of the UE.
- the wireless communication network includes an HSS/HLR, a PDN/GGSN.
- the HSS/HLR queries the PS domain of the UE according to the ID of the UE carried in the request for querying the online state of the PS domain of the UE after receiving the request of the heartbeat proxy server to periodically query the PS domain online state of the UE.
- the online status information is returned to the heartbeat proxy server; after receiving the request for registering the UE sent by the heartbeat proxy server, the HSS/HLR detects the UE in real time according to the ID of the UE carried in the request of the registered UE.
- the PS domain is in the online state information, and when it is detected that the online state of the PS domain of the UE is offline, the heartbeat proxy server is notified that the UE has gone offline.
- the PDN/GGSN After receiving the request of the heartbeat proxy server to periodically query the PS domain online state of the UE, the PDN/GGSN queries the PS domain of the UE according to the IP address of the UE carried in the request for querying the PS domain online state of the UE. Status information is returned to the heartbeat proxy server.
- the present invention can obtain the online state of the user through the application of the heartbeat proxy server, and does not require the application on the UE to send the heartbeat message, which not only can greatly save network resources, but also can reduce the power consumption of the terminal, simplifying the operation.
- the processing complexity of the application's terminal side and service is not limited thereto, and various modifications may be made by those skilled in the art in accordance with the principles of the invention. Therefore, modifications made in accordance with the principles of the invention should be construed as falling within the scope of the invention.
- the heartbeat proxy server after receiving the request for detecting the online state of the PS domain of the UE, the heartbeat proxy server detects the online state of the PS domain of the UE through the wireless communication network, and notifies the application server to facilitate the application server to obtain the online state of the user.
- the application on the UE is not required to send a heartbeat message, which greatly reduces the heartbeat message in the mobile communication network, thereby reducing the load on the mobile communication network and improving the user experience.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Cardiology (AREA)
- General Health & Medical Sciences (AREA)
- Multimedia (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention relates to the field of mobile communication. Disclosed are a method and a system for reducing heartbeat messages. The method comprises: after receiving a login request of an application module of a user equipment UE, an application server sending a request for detecting an online state of a packet data PS domain of the UE to a heartbeat proxy server; after receiving the request for detecting the online state of the PS domain of the UE, the heartbeat proxy server detecting the online state of the PS domain of the UE through a wireless communication network; and when it is detected that the online state of the PS domain of the UE is offline, the heartbeat proxy server notifying the application server that the application module of the UE is offline. The present invention solves the problem of excessively heavy network load caused by excessive heartbeat messages in the mobile communication network, and has beneficial effects of reducing the heartbeat messages in the wireless communication network, thereby reducing the network load.
Description
一种缩减心跳消息的方法及系统 技术领域 Method and system for reducing heartbeat message
本发明涉及移动通信领域, 特别涉及一种缩减各种应用的心跳消息的 方法及系统。 背景技术 The present invention relates to the field of mobile communications, and in particular, to a method and system for reducing heartbeat messages of various applications. Background technique
网络中的接收和发送数据都是使用 WINDOWS中的套接字(SOCKET ) 实现的。 但是, 如果此套接字已经断开, 那么发送数据和接收数据就会存 在问题。 判断套接字是否还可以使用, 就需要用到在系统中创建心跳机制。 所谓 "心跳" 就是客户端定时发送一个自定义的结构体(心跳消息或心跳 包或心跳帧)给服务器, 使服务器知道客户端在线, 从而确保客户端与服 务器之间的长连接的有效性。 Receiving and sending data in the network is done using sockets (SOCKET) in WINDOWS. However, if the socket is disconnected, there is a problem with sending and receiving data. To determine if a socket is still available, you need to create a heartbeat mechanism in your system. The so-called "heartbeat" means that the client periodically sends a custom structure (heartbeat message or heartbeat packet or heartbeat frame) to the server, so that the server knows that the client is online, thus ensuring the validity of the long connection between the client and the server.
在各种应用中, 尤其是一些釆用客户-服务器架构的应用, 例如即时消 息、 远程数据釆集、 远程管理以及一些点对点(P2P, Peer-to-Peer )等应用 都有大量的心跳消息, 以使服务器了解终端应用的激活状态, 或者使终端 和终端之间相互了解彼此的激活状态。 In a variety of applications, especially applications that use client-server architectures, such as instant messaging, remote data collection, remote management, and some peer-to-peer (P2P, Peer-to-Peer) applications, have a large number of heartbeat messages. In order to make the server aware of the activation status of the terminal application, or to make the terminal and the terminal understand each other's activation status.
即时通信工具的心跳消息对网络尤其是移动通信网络带来了极大的负 担。 以 QQ为例, QQ应用的客户端通过定时向应用服务器发送心跳消息达 到长期占用外网 IP地址的目的, 且服务器可以通过终端上报的心跳消息感 知客户端的在线状态。 但由于 QQ 的用户群体数量庞大, 心跳消息的数量 也随之更加庞大, 心跳消息对全球移动通讯系统( GSM , Global System of Mobile communication )网络以及第三代移动通信技术 ( 3G, 3rd-generation ) /长期演进( LTE , Long Term Evolution ) 网络的影响很大, 主要表现在: 在 GSM网络上, 对于信令面, QQ等即时通信类业务引起了公共控制
信道( CCCH, Common Control Channel )过载, 并导致电路承载服务( CS, Circuit Service )寻呼拥塞, 影响用户基本话音体验。 据统计, QQ的控制信 道消耗是其他业务如网页浏览和下载的 5至 10倍,导致一些地区 CCCH负 荷超过红色门限或黄色门限, 直接造成寻呼成功率低, 影响语音用户体验。 对于业务面, 部分永远在线类业务分组数据信道 ( PDCH , Packet Data CHannel ) 资源利用效率较低, 导致资源消耗和收益不平衡等问题。 The heartbeat message of the instant messaging tool imposes a great burden on the network, especially the mobile communication network. Taking QQ as an example, the client of the QQ application can periodically send the heartbeat message to the application server to achieve the long-term occupation of the external network IP address, and the server can sense the online state of the client through the heartbeat message reported by the terminal. However, due to the large number of QQ user groups, the number of heartbeat messages is also larger. The heartbeat message is for the Global System of Mobile Communication (GSM) network and the third generation mobile communication technology (3G, 3rd-generation). / Long Term Evolution (LTE) network has a great impact, mainly in: On the GSM network, for the signaling plane, QQ and other instant messaging services cause public control The channel (CCCH, Common Control Channel) is overloaded, and causes the CS (Clock Service) paging congestion, which affects the user's basic voice experience. According to statistics, QQ's control channel consumption is 5 to 10 times that of other services such as web browsing and downloading. As a result, CCCH load in some areas exceeds the red threshold or the yellow threshold, which directly causes a low paging success rate and affects the voice user experience. For the business side, part of the always-on-line service packet data channel (PDCH, Packet Data CHannel) resource utilization efficiency is low, resulting in resource consumption and income imbalance.
从国外运营商的 3G/LTE网络的统计数据来看, 永远在线类应用, 特别 是智能终端上的智能应用也对 3G/LTE 网络造成了严重的影响。 对于信令 面,永远在线类业务频繁发送"心跳消息",会导致用户无线资源控制( RRC, Radio Resource Control )协议的状态频繁改变, 核心网和无线网络控制器 ( RNC, Radio Network Controller )之间的 Iu接口、 基站与核心网之间的 S1接口用户状态不断改变,寻呼和业务请求信令增加、无线接入承载(RAB, Radio Access Bear )信令量激增等问题。 据统计, 用户每发送一字节数据, 永远在线类应用会产生超过 10倍于普通业务的信令量。 From the statistics of 3G/LTE networks of foreign operators, always-on applications, especially smart applications on smart terminals, have also had a serious impact on 3G/LTE networks. For the signaling plane, the always-on-line service frequently sends a "heartbeat message", which causes the status of the user's radio resource control (RRC) protocol to change frequently. The core network and the radio network controller (RNC) The inter-Iu interface, the S1 interface user status between the base station and the core network are constantly changing, the paging and service request signaling is increased, and the radio access bear (RAB, Radio Access Bear) signaling is proliferating. According to statistics, for every byte of data sent by a user, an always-on application will generate more than 10 times the amount of signaling for normal services.
过多的心跳消息 , 对移动通信网络带来的冲击已经严重影响到了网络 的正常运行, 并影响到了其他用户的正常使用, 给运营商带来了极大的负 担, 如果不解决, 随着 QQ之类即时通信工具的进一步普及和对普通人群 渗透率的提高, 移动通信网络最终将不堪重负。 发明内容 Excessive heartbeat messages, the impact on mobile communication networks has seriously affected the normal operation of the network, and affected the normal use of other users, causing a great burden on operators, if not resolved, with QQ The further spread of instant messaging tools and the penetration of the general population, mobile communication networks will eventually be overwhelmed. Summary of the invention
本发明的目的在于提供一种缩减心跳消息的方法及系统, 能更好地解 决移动通信网络中过多的心跳消息导致的网络负载过重、 影响其他用户的 正常使用、 给运营商带来极大负担的问题。 It is an object of the present invention to provide a method and system for reducing heartbeat messages, which can better solve the problem of excessive network load caused by excessive heartbeat messages in a mobile communication network, affecting the normal use of other users, and bringing extremes to operators. The problem of big burdens.
根据本发明的一个方面, 提供了一种缩减心跳消息的方法, 所述方法 包括: According to an aspect of the present invention, a method of reducing a heartbeat message is provided, the method comprising:
应用服务器在接收到用户设备(UE, User Equipment )应用模块的登录
请求后,向心跳代理服务器发送检测 UE的分组数据 PS域在线状态的请求; 所述心跳代理服务器接收到用于检测 UE的 PS域在线状态的请求后, 通过无线通信网络检测所述 UE的分组交换(PS , Packet Switch )域的在线 状态; The application server receives the login of the user equipment (UE, User Equipment) application module. After the request, send a request for detecting the online status of the packet data PS domain of the UE to the heartbeat proxy server; after receiving the request for detecting the online status of the PS domain of the UE, the heartbeat proxy server detects the packet of the UE by using the wireless communication network. Exchange the online status of the (PS, Packet Switch) domain;
在检测到所述 UE的 PS域在线状态为不在线时, 所述心跳代理服务器 通知应用服务器所述 UE应用模块已经下线。 Upon detecting that the PS domain online status of the UE is offline, the heartbeat proxy server notifies the application server that the UE application module has gone offline.
优选的, 所述方法还包括: Preferably, the method further includes:
在检测到所述 UE的 PS域在线状态为在线时, 所述心跳代理服务器向 所述应用服务器发送心跳消息以通知所述应用服务器所述 UE应用模块在 线或者不向所述应用服务器发送消息而默认所述 UE应用模块在线。 After detecting that the PS domain online status of the UE is online, the heartbeat proxy server sends a heartbeat message to the application server to notify the application server that the UE application module is online or does not send a message to the application server. By default, the UE application module is online.
优选的, 通过无线通信网络检测所述 UE的 PS域的在线状态为: 所述心跳代理服务器定时向无线通信网络的归属用户服务器 (HSS , Home Subscriber Server ) 3属位置哥存器 ( HLR, Home Location Register ) 发送查询 UE的 PS域在线状态的请求, 所述请求中携带 UE的 ID; Preferably, detecting, by the wireless communication network, the online status of the PS domain of the UE is: the heartbeat proxy server timings to a home subscriber server (HSS, Home Subscriber Server) of the wireless communication network. a request to query the online status of the PS domain of the UE, where the request carries the ID of the UE;
所述 HSS/HLR接收到所述查询 UE的 PS域在线状态的请求后, 根据 UE的 ID查询 UE的 PS域在线状态信息并将其返回给所述心跳代理服务器。 After receiving the request for querying the PS domain online status of the UE, the HSS/HLR queries the PS domain online status information of the UE according to the ID of the UE and returns it to the heartbeat proxy server.
优选的, 通过无线通信网络检测所述 UE的 PS域的在线状态为: 所述心跳代理服务器定时向无线通信网络的公用数据网 (PDN, Public Data Network ) /网关 GPRS支持节点( GGSN, Gateway GPRS Support Node ) 发送查询 UE的 PS域在线状态的请求, 所述请求中携带 UE的 IP地址; 所述 PDN/GGSN接收到所述查询 UE的 PS域在线状态的请求后, 根 据所述 IP地址查询 UE的 PS域在线状态信息并将其返回给所述心跳代理服 务器。 Preferably, detecting, by the wireless communication network, the online status of the PS domain of the UE is: the heartbeat proxy server timing to a public data network (PDN, Public Data Network)/Gateway GPRS support node of the wireless communication network (GGSN, Gateway GPRS) Supporting a request to query the online status of the PS domain of the UE, where the request carries the IP address of the UE; after receiving the request for querying the online status of the PS domain of the UE, the PDN/GGSN queries according to the IP address. The PS domain online status information of the UE is returned to the heartbeat proxy server.
优选的, 通过无线通信网络检测所述 UE的 PS域的在线状态为: 所述心跳代理服务器向 HSS/HLR发送注册 UE的请求, 所述请求中携
带 UE的 ID; Preferably, detecting, by the wireless communication network, the online status of the PS domain of the UE is: the heartbeat proxy server sends a request for registering a UE to the HSS/HLR, where the request carries ID with UE;
所述 HSS/HLR接收到所述注册 UE的请求后,根据 UE的 ID实时检测 UE的 PS域在线状态信息; After receiving the request of the registration UE, the HSS/HLR detects the PS domain online state information of the UE in real time according to the ID of the UE;
所述 HSS/HLR在检测到 UE的 PS域的在线状态为不在线时, 通知所 述心跳代理服务器所述 UE已经下线。 When detecting that the online status of the PS domain of the UE is offline, the HSS/HLR notifies the heartbeat proxy server that the UE has gone offline.
根据本发明的另一方面, 提供了一种缩减心跳消息的系统, 所述系统 包括: According to another aspect of the present invention, a system for reducing heartbeat messages is provided, the system comprising:
应用服务器,用于在接收到 UE应用模块的登录请求后, 向心跳代理服 务器发送检测 UE的 PS域在线状态的请求; An application server, configured to send, to the heartbeat proxy server, a request for detecting an online status of the PS domain of the UE after receiving the login request of the UE application module;
无线通信网络, 用于检测 UE的 PS域的在线状态; a wireless communication network, configured to detect an online state of a PS domain of the UE;
心跳代理服务器, 用于在接收到用于检测 UE的 PS域在线状态的请求 后, 通过无线通信网络检测所述 UE的 PS域的在线状态, 并在检测到所述 UE的 PS域在线状态为不在线时, 通知应用服务器所述 UE应用模块已经 下线。 a heartbeat proxy server, configured to detect an online state of a PS domain of the UE by using a wireless communication network after receiving a request for detecting a PS domain online state of the UE, and detecting that the PS domain online state of the UE is When not online, the application server is notified that the UE application module has gone offline.
优选的, Preferably,
所述心跳代理服务器还用于在检测到所述 UE的 PS域在线状态为在线 时,向所述应用服务器发送心跳消息以通知所述应用服务器所述 UE应用模 块在线或者不向所述应用服务器发送消息而默认所述 UE应用模块在线。 The heartbeat proxy server is further configured to: when detecting that the PS domain online state of the UE is online, send a heartbeat message to the application server to notify the application server that the UE application module is online or not to the application server. The message is sent and the UE application module is online by default.
优选的, 所述无线通信网络还包括: Preferably, the wireless communication network further includes:
HSS/HLR, 用于在接收到所述心跳代理服务器定时发送的查询 UE 的 PS域在线状态的请求后,根据所述查询 UE的 PS域在线状态的请求中携带 的 UE的 ID查询 UE的 PS域在线状态信息并将其返回给所述心跳代理服务 哭口 The HSS/HLR is configured to query the PS of the UE according to the ID of the UE carried in the request for querying the online status of the PS domain of the UE after receiving the request of the heartbeat proxy server to periodically query the PS domain online status of the UE. Domain online status information and return it to the heartbeat agent service crying
优选的, 所述无线通信网络还包括: Preferably, the wireless communication network further includes:
PDN/GGSN, 用于接收到所述心跳代理服务器定时发送的查询 UE 的
PS域在线状态的请求后,根据所述查询 UE的 PS域在线状态的请求中携带 的 UE的 IP地址查询 UE的 PS域在线状态信息并将其返回给所述心跳代理 服务器。 a PDN/GGSN, configured to receive the query UE periodically sent by the heartbeat proxy server After the PS domain online status request, the PS domain online status information of the UE is queried according to the IP address of the UE carried in the request for querying the PS domain online status of the UE, and is returned to the heartbeat proxy server.
优选的, 所述无线通信网络还包括: Preferably, the wireless communication network further includes:
HSS/HLR, 用于在接收到所述心跳代理服务器发送的注册 UE 的请求 后,根据所述注册 UE的请求中携带的 UE的 ID实时检测 UE的 PS域在线 状态信息, 并在检测到 UE的 PS域的在线状态为不在线时, 通知所述心跳 代理服务器所述 UE已经下线。 The HSS/HLR is configured to detect, in real time, the PS domain online state information of the UE according to the ID of the UE carried in the request of the registration UE, after receiving the request of the UE registered by the heartbeat proxy server, and detecting the UE When the online status of the PS domain is offline, the heartbeat proxy server is notified that the UE has gone offline.
与现有技术相比较, 本发明的有益效果在于: 缩减了移动通信网络中 的心跳消息, 进而减轻了移动通信网络的负载, 提升了用户的体验度。 附图说明 Compared with the prior art, the invention has the advantages that: the heartbeat message in the mobile communication network is reduced, thereby reducing the load of the mobile communication network and improving the user experience. DRAWINGS
图 1是本发明实施例一提供的一种缩减心跳消息的方法的流程图; 图 2是本发明实施例二提供的一种缩减心跳消息的方法的流程图; 图 3是本发明实施例三提供的一种缩减心跳消息的方法的流程图; 图 4是本发明实施例四提供的一种缩减心跳消息的方法的流程图; 图 5是本发明实施例五提供的 UE上的应用正常退出的流程图; 图 6是本发明实施例六提供的 UE上的应用被异常中断不能正常发出退 出登录消息时的处理流程; 1 is a flowchart of a method for reducing a heartbeat message according to Embodiment 1 of the present invention; FIG. 2 is a flowchart of a method for reducing a heartbeat message according to Embodiment 2 of the present invention; A flowchart of a method for reducing a heartbeat message is provided. FIG. 4 is a flowchart of a method for reducing a heartbeat message according to Embodiment 4 of the present invention; FIG. 5 is a normal exit of an application on a UE according to Embodiment 5 of the present invention; FIG. 6 is a flowchart of a process when an application on a UE that is abnormally interrupted cannot be normally issued with an exit login message according to Embodiment 6 of the present invention;
图 7是本发明实施例七提供的一种缩减心跳消息的系统的结构示意图。 具体实施方式 FIG. 7 is a schematic structural diagram of a system for reducing heartbeat messages according to Embodiment 7 of the present invention. detailed description
以下结合附图对本发明的优选实施例进行详细说明, 应当理解, 以下 所说明的优选实施例仅用于说明和解释本发明, 并不用于限定本发明。 The preferred embodiments of the present invention are described in detail below with reference to the accompanying drawings.
图 1 是本发明实施例一提供的一种缩减心跳消息的方法的流程图, 如 图 1所示, 所述方法包括:
步骤 S101 , 应用服务器在接收到 UE应用模块的登录请求后, 向心跳 代理服务器发送检测 UE的 PS域在线状态的请求。 FIG. 1 is a flowchart of a method for reducing a heartbeat message according to Embodiment 1 of the present invention. As shown in FIG. 1, the method includes: Step S101: After receiving the login request of the UE application module, the application server sends a request for detecting the online status of the PS domain of the UE to the heartbeat proxy server.
UE应用模块向应用服务器发送登录请求, 所述应用服务器对该登录请 求进行鉴权之后,向心跳代理服务器发送检测 UE的 PS域在线状态的请求, 所述请求中携带所述 UE的 ID。 The UE application module sends a login request to the application server. After the application server authenticates the login request, the application server sends a request to the heartbeat proxy server to detect the online status of the PS domain of the UE, where the request carries the ID of the UE.
步骤 S102 ,所述心跳代理服务器接收到用于检测 UE的 PS域在线状态 的请求后, 通过无线通信网络检测所述 UE的 PS域的在线状态。 Step S102: After receiving the request for detecting the online status of the PS domain of the UE, the heartbeat proxy server detects the online state of the PS domain of the UE through the wireless communication network.
通过无线通信网络检测所述 UE的 PS域的在线状态可以有多种实现方 式: Detecting the online status of the PS domain of the UE through the wireless communication network can be implemented in various ways:
一、 心跳代理服务器定时向无线通信网络发送查询 UE的 PS域在线状 态的请求。 1. The heartbeat proxy server periodically sends a request to the wireless communication network to query the PS domain online status of the UE.
应用服务器向心跳代理服务器发送检测 UE的 PS域在线状态的请求, 所述请求中携带 UE的 ID。UE的 ID包括但不限于手机号码或者 IP地址等。 The application server sends a request for detecting the online status of the PS domain of the UE to the heartbeat proxy server, where the request carries the ID of the UE. The ID of the UE includes but is not limited to a mobile phone number or an IP address.
如果 UE的 ID是手机号码即移动用户综合业务数字网号码( MSISDN, Mobile Subscriber International ISDN/PSTN Number ), 则心跳代理服务器定 时向无线通信网络的 HSS/HLR发送查询 UE的 PS域在线状态的请求, 所 述请求中携带 UE的 ID。 HSS/HLR接收到所述查询 UE的 PS域在线状态 的请求后,根据 UE的 ID查询 UE的 PS域在线状态信息并将其返回给所述 心跳代理服务器。 If the ID of the UE is a mobile number, ie, Mobile Subscriber International ISDN/PSTN Number, the heartbeat proxy server periodically sends a request for querying the PS domain online status of the UE to the HSS/HLR of the wireless communication network. The request carries the ID of the UE. After receiving the request for querying the PS domain online status of the UE, the HSS/HLR queries the PS domain online status information of the UE according to the ID of the UE and returns it to the heartbeat proxy server.
如果 UE的 ID是 IP地址, 则心跳代理服务器定时向无线通信网络的 PDN/GGSN发送查询 UE的 PS域在线状态的请求, 所述请求中携带 UE的 IP地址。 所述 HSS/HLR接收到所述查询 UE的 PS域在线状态的请求后, 根据所述 IP地址查询 UE的 PS域在线状态信息并将其返回给所述心跳代理 服务器。 If the ID of the UE is an IP address, the heartbeat proxy server periodically sends a request for querying the online status of the PS domain of the UE to the PDN/GGSN of the wireless communication network, where the request carries the IP address of the UE. After receiving the request for querying the PS domain online status of the UE, the HSS/HLR queries the PS domain online status information of the UE according to the IP address and returns it to the heartbeat proxy server.
二、 心跳代理服务器向 HSS/HLR发送注册 UE的请求。
所述心跳代理服务器向 HSS/HLR发送注册 UE的请求, 所述请求中携 带 UE的 ID; 所述 HSS/HLR接收到所述注册 UE的请求后, 根据 UE的 ID 实时检测 UE的 PS域在线状态信息。 HSS/HLR在检测到 UE的 PS域在线 状态为不在线时, 通知所述心跳代理服务器所述 UE已经下线。 2. The heartbeat proxy server sends a request to the HSS/HLR to register the UE. The heartbeat proxy server sends a request for registering the UE to the HSS/HLR, where the request carries the ID of the UE. After receiving the request of the registered UE, the HSS/HLR detects the PS domain of the UE in real time according to the ID of the UE. status information. When detecting that the PS domain online status of the UE is offline, the HSS/HLR notifies the heartbeat proxy server that the UE has gone offline.
步骤 S103 , 在检测到所述 UE的 PS域在线状态为不在线时, 所述心跳 代理服务器通知应用服务器所述 UE应用模块已经下线。 Step S103: When it is detected that the online state of the PS domain of the UE is offline, the heartbeat proxy server notifies the application server that the UE application module has gone offline.
心跳代理服务器接收到无线通信网络返回的 UE的 PS域在线状态后, 在所述 UE的 PS域在线状态为不在线时, 通知应用服务器所述 UE应用模 块已经下线; 在所述 UE的 PS域在线状态为在线时, 所述心跳代理服务器 向所述应用服务器发送心跳消息以通知所述应用服务器所述 UE在线或者 所述心跳代理服务器不向所述应用服务器发送心跳消息但所述应用服务器 默认所述 UE在线。 After receiving the PS domain online status of the UE returned by the wireless communication network, the heartbeat proxy server notifies the application server that the UE application module has gone offline when the online status of the PS domain of the UE is offline; the PS of the UE When the domain online status is online, the heartbeat proxy server sends a heartbeat message to the application server to notify the application server that the UE is online or the heartbeat proxy server does not send a heartbeat message to the application server but the application server By default the UE is online.
图 2是本发明实施例二提供的一种缩减心跳消息的方法的流程图, 本 实施例以即时通信工具 QQ为例, QQ客户端是 UE上的应用模块, QQ服 务器是应用服务器。 如图 2所示, 所述方法包括: FIG. 2 is a flowchart of a method for reducing a heartbeat message according to Embodiment 2 of the present invention. In this embodiment, an instant communication tool QQ is taken as an example, a QQ client is an application module on a UE, and a QQ server is an application server. As shown in FIG. 2, the method includes:
步骤 S201 , UE上的 QQ客户端向 QQ服务器发起登录请求。 Step S201: The QQ client on the UE initiates a login request to the QQ server.
用户在 QQ客户端输入 QQ号码和密码之后点击登录按钮, UE上的 QQ客户端向 QQ服务器发送登录请求。 After the user enters the QQ number and password in the QQ client, the login button is clicked, and the QQ client on the UE sends a login request to the QQ server.
步骤 S202, QQ服务器获取 UE的 ID。 Step S202, the QQ server acquires the ID of the UE.
QQ服务器接收到该客户端的请求后,对该 QQ客户端的用户进行正常 鉴权并获取 UE的 ID。 UE的 ID可以是用户的手机号码或者 IP地址等。 对 于 QQ用户身份和手机号码绑定并且 QQ客户端用该手机登录的 UE, QQ 服务器可以直接获取到该用户的手机号码。 对于 QQ 用户身份和手机号码 未绑定的用户, QQ服务器无法获知该用户的手机号码, 但可以获取到 IP 地址。
步骤 S203 , 通知 QQ客户端不需向 QQ服务器发送心跳消息。 After receiving the request from the client, the QQ server performs normal authentication on the user of the QQ client and obtains the ID of the UE. The ID of the UE may be the mobile phone number or IP address of the user. For a UE whose QQ user identity and mobile phone number are bound and the QQ client logs in with the mobile phone, the QQ server can directly obtain the mobile phone number of the user. For users whose QQ user identity and mobile phone number are not bound, the QQ server cannot know the mobile phone number of the user, but can obtain the IP address. Step S203, notifying the QQ client that the heartbeat message is not required to be sent to the QQ server.
QQ服务器通知 QQ客户端不需要使用心跳消息, 从而使该 UE上的 The QQ server notifies the QQ client that the heartbeat message is not needed, thereby making the UE
QQ客户端不再发送心跳消息给 QQ服务器。 The QQ client no longer sends heartbeat messages to the QQ server.
步骤 S204, 向心跳代理服务器发送 UE的相关信息。 Step S204: Send related information of the UE to the heartbeat proxy server.
QQ服务器将获取到的 UE的相关信息包括但不限于 UE的 ID送给心 跳代理服务器。 The QQ server sends the related information of the UE to the heartbeat proxy server, including but not limited to the ID of the UE.
步骤 S205 , 添加 UE到 UE信息维护表中。 Step S205: Add a UE to the UE information maintenance table.
心跳代理服务器接收到 QQ服务器发送的 UE信息后,将 UE信息保存 到 UE信息维护表中。 UE信息维护表包括用户的手机号码、 IP地址、 在线 状态等。 After receiving the UE information sent by the QQ server, the heartbeat proxy server saves the UE information to the UE information maintenance table. The UE information maintenance table includes the user's mobile phone number, IP address, online status, and the like.
步骤 S206, 定时发送获取 UE的 PS域在线状态的请求。 Step S206: A request for acquiring the online status of the PS domain of the UE is periodically sent.
心跳代理服务器定时向无线通信网络的 HSS/HLR发送获取 UE的 PS 域在线状态信息的请求, 所述请求中携带该 UE的 ID。 The heartbeat proxy server periodically sends a request for obtaining the PS domain online state information of the UE to the HSS/HLR of the wireless communication network, where the request carries the ID of the UE.
步骤 S207 , HSS/HLR获取 UE的 PS域在线状态信息, 并指示 UE的 Step S207: The HSS/HLR acquires the PS domain online state information of the UE, and indicates the UE
IP地址不释放。 The IP address is not released.
HSS/HLR接收到心跳代理服务器发送的获取 UE的 PS域在线状态的请 求后 , 根据 UE的 ID即用户的 MSISDN号码或者 IP地址来查询 UE的 PS 域在线状态信息。 同时, HSS/HLR指示 PDN或者 GGSN保留该 IP给该 UE, 即使该 UE长时间不活动。 HSS/HLR查询 UE的 PS域在线状态是现 有技术, 此处不再赘述。 After receiving the request of the heartbeat proxy server to obtain the online state of the PS domain of the UE, the HSS/HLR queries the UE's PS domain online state information according to the UE's ID, that is, the user's MSISDN number or IP address. At the same time, the HSS/HLR instructs the PDN or GGSN to reserve the IP to the UE even if the UE is inactive for a long time. The HSS/HLR querying the PS domain online status of the UE is a prior art and will not be described here.
心跳代理服务器可以和多个 HSS/HLR进行互联, 心跳代理服务器还可 以支持根据 UE的 ID选择到某个 HSS/HLR进行查询。 具体地说, 可以预 先存储 UE的 ID和 HSS/HLR的对应关系, 也可以是第一次查询是依次查 询各个 HSS/HLR, 然后记录 UE所在的 HSS/HLR, 后续查询再依照记录的 结果直接查询该 HSS/HLR。
心跳代理服务器可以批量地查询多个 UE的 PS域在线状态信息。 因为 QQ的用户众多, 同时登陆 QQ服务器的概率很大, 因此 QQ服务器也可以 批量地将多个 UE的相关信息发送给心跳代理服务器,心跳代理服务器接收 到多个 UE的相关信息后,也批量地将多个 UE的相关信息发送给 HSS/HLR 并请求获取多个 UE的 PS域在线状态。 HSS/HLR接收到该请求后,根据请 求中携带的各 UE的 ID获取各个 UE的 PS域在线状态。 The heartbeat proxy server can be interconnected with multiple HSS/HLRs, and the heartbeat proxy server can also support selecting a certain HSS/HLR for query according to the ID of the UE. Specifically, the correspondence between the ID of the UE and the HSS/HLR may be pre-stored, or the first query may sequentially query each HSS/HLR, and then record the HSS/HLR where the UE is located, and subsequent queries are directly processed according to the result of the recording. Query the HSS/HLR. The heartbeat proxy server can query the PS domain online status information of multiple UEs in batches. Because there are many users of QQ and the probability of logging in to the QQ server at the same time, the QQ server can also send related information of multiple UEs to the heartbeat proxy server in batches. After receiving the related information of multiple UEs, the heartbeat proxy server also batches The related information of multiple UEs is sent to the HSS/HLR and requests to acquire the PS domain online status of multiple UEs. After receiving the request, the HSS/HLR acquires the PS domain online status of each UE according to the ID of each UE carried in the request.
步骤 S208, 返回 UE的 PS域的在线状态信息。 Step S208, returning online status information of the PS domain of the UE.
HSS/HLR将所查询到的 UE的 PS域在线状态以及可能的 PDN/GGSN 为所述 UE保留的 IP地址发送给心跳代理服务器。 心跳代理服务器接收到 HSS/HLR返回的信息后, 根据所返回的信息更新 UE信息维护表中相应的 UE的信息。 具体地说, 根据返回的信息中的 UE的 PS域在线状态及 UE 的 IP地址更新 UE信息维护表中相应的 UE的在线状态及 IP地址。 心跳代 理服务器更新了 UE信息维护表后, 根据 UE的 PS域的在线状态信息进行 不同的处理, 如果 UE的 PS域在线状态为在线, 执行步骤 S209 , 否则执行 步骤 S210。 The HSS/HLR sends the queried UE's PS domain online status and the IP address reserved by the PDN/GGSN for the UE to the heartbeat proxy server. After receiving the information returned by the HSS/HLR, the heartbeat proxy server updates the information of the corresponding UE in the UE information maintenance table according to the returned information. Specifically, the online status and the IP address of the corresponding UE in the UE information maintenance table are updated according to the PS domain online status of the UE and the IP address of the UE in the returned information. After the UE information maintenance table is updated, the heartbeat proxy server performs different processing according to the online state information of the PS domain of the UE. If the online state of the PS domain of the UE is online, step S209 is performed; otherwise, step S210 is performed.
步骤 S209, 通知 QQ服务器 UE在 PS域在线。 Step S209, notifying the QQ server that the UE is online in the PS domain.
心跳代理服务器在 UE的 PS域在线状态为在线时,通知 QQ服务器 UE 在 PS域在线即 UE的应用模块在线。 心跳代理服务器通知 QQ服务器的方 式有两种, 一种是模拟 UE上的 QQ客户端向 QQ服务器发送心跳消息, 另 一种是不发送任何消息, 但默认 UE在 PS域在线。 When the online status of the PS domain of the UE is online, the heartbeat proxy server notifies the QQ server that the UE is online in the PS domain, that is, the application module of the UE is online. The heartbeat proxy server notifies the QQ server in two ways. One is that the QQ client on the simulated UE sends a heartbeat message to the QQ server, and the other is that no message is sent, but the default UE is online in the PS domain.
步骤 S210, 通知 QQ服务器 UE在 PS域下线。 Step S210, notifying the QQ server that the UE is offline in the PS domain.
心跳代理服务器向 QQ服务器发送消息, 通知 QQ服务器所述 UE在 PS域已不在线。 QQ服务器接收到心跳代理服务器的消息后, 将该 UE的 QQ用户标识为不在线。 The heartbeat proxy server sends a message to the QQ server to inform the QQ server that the UE is not online in the PS domain. After receiving the message of the heartbeat proxy server, the QQ server identifies the QQ user of the UE as offline.
图 3是本发明实施例三提供的一种缩减心跳消息的方法的流程图, 如
图 3所示, 所述方法包括: FIG. 3 is a flowchart of a method for reducing a heartbeat message according to Embodiment 3 of the present invention, such as As shown in FIG. 3, the method includes:
步骤 S301 , UE上的某应用登录。 Step S301: An application login on the UE.
UE上的某应用向应用服务器发起登录请求。 An application on the UE initiates a login request to the application server.
步骤 S302, 获取该 UE的 ID。 Step S302: Acquire an ID of the UE.
应用服务器对该 UE进行正常鉴权后, 获取该 UE的 ID , 本实施例为 After the application server performs normal authentication on the UE, the ID of the UE is obtained. This embodiment is
IP地址信息。 IP address information.
步骤 S303 , 将 UE的信息提交到心跳代理服务器。 Step S303: Submit the information of the UE to the heartbeat proxy server.
应用服务器将 UE的信息发送给心跳代理服务器。 UE的信息包括 UE 的 ID即 IP地址。应用服务器在发送 UE信息的同时,还将是否需要保留该 IP的标识发送给心跳代理服务器。 The application server sends the UE information to the heartbeat proxy server. The information of the UE includes the ID of the UE, that is, the IP address. The application server sends the UE information to the heartbeat proxy server whether it needs to retain the identity of the IP.
步骤 S304, 心跳代理服务器保存 UE信息。 Step S304, the heartbeat proxy server saves the UE information.
心跳代理服务器将接收到的 UE的信息添加到 UE信息维护表中。 The heartbeat proxy server adds the received UE information to the UE information maintenance table.
步骤 S305 , 定时发送查询 UE的 PS域在线状态的请求。 Step S305: A request for querying the online status of the PS domain of the UE is periodically sent.
心跳代理服务器定时向 PDN或者 GGSN发送查询 UE的 PS域在线状 态的请求,所述请求中携带该 UE的 IP地址以及是否需要保留该 IP的标识。 The heartbeat proxy server periodically sends a request to the PDN or the GGSN to query the online status of the PS domain of the UE, where the request carries the IP address of the UE and whether the identifier of the IP needs to be retained.
步骤 S306, 根据 IP地址获取 UE的 IMSI信息。 Step S306, acquiring IMSI information of the UE according to the IP address.
PDN/GGSN接收到查询请求后 , 根据 IP地址查询该 IP地址是否在线, 以及对应的 国 际移动用 户 识另1 J码 ( IMSI , International Mobile Subscriberldentification Number )信息。 并且, 在所述查询请求中携带的是 否为该用户保留该 IP地址的标识为保留 IP的情况下, PDN或者 GGSN保 留该 IP地址, 否则不为 UE保留该 IP地址。 PDN / GGSN after receiving the query request, the IP address of the IP address query is online, and the corresponding international mobile subscriber identity 1 J another code (IMSI, International Mobile Subscriberldentification Number) information. And, in the case that the identifier of the IP address that is reserved for the user is the reserved IP, the PDN or the GGSN reserves the IP address, otherwise the IP address is not reserved for the UE.
步骤 S307, 返回 UE的 IMSI及在线状态。 Step S307, returning the IMSI and online status of the UE.
PDN/GGSN将查询到的 IMSI及 UE的 PS域在线状态返回给心跳代理 服务器。 The PDN/GGSN returns the queried IMSI and the UE's PS domain online status to the heartbeat proxy server.
步骤 S308 , 记录 IMSI及对应的 IP地址信息, 和上次查询的结果进行
对比, 以判断该 IMSI是否还在线。 Step S308, recording the IMSI and the corresponding IP address information, and performing the result of the last query. Contrast to determine if the IMSI is still online.
心跳代理服务器接收到 PDN/GGSN返回的消息后, 将所接收到的 UE 的 IMSI与 UE信息维护表中所保存的上一次查询出的 UE的 IMSI进行比较, 判断 IP地址对应的 IMSI是否变化, 如果发生变化, 则可以判断 UE在 PS 域下线。 心跳代理服务器用所接收到的 UE的 IMSI和 IP地址信息更新 UE 信息维护表中该 UE的上一次查询出的 IMSI和 IP地址。 After receiving the message returned by the PDN/GGSN, the heartbeat proxy server compares the IMSI of the received UE with the IMSI of the UE that was last queried in the UE information maintenance table, and determines whether the IMSI corresponding to the IP address changes. If a change occurs, it can be determined that the UE is offline in the PS domain. The heartbeat proxy server updates the last queried IMSI and IP address of the UE in the UE information maintenance table with the IMSI and IP address information of the received UE.
心跳代理服务器在 UE的 PS域在线状态为在线时, 执行步骤 S309, 否 则执行步骤 S310。 When the online status of the PS domain of the UE is online, the heartbeat proxy server performs step S309, otherwise, step S310 is performed.
步骤 S309, 通知应用服务器 UE在 PS域在线。 Step S309, notifying the application server that the UE is online in the PS domain.
心跳代理服务器通知应用服务器 UE在 PS域在线的方式有两种, 一种 是模拟 UE上的应用向应用服务器发送心跳消息, 另一种是不发送任何消 息 , 但默认 UE在 PS域在线。 The heartbeat proxy server notifies the application server that there are two ways for the UE to be online in the PS domain. One is to simulate that the application on the UE sends a heartbeat message to the application server, and the other is to not send any message, but the default UE is online in the PS domain.
步骤 S310, 通知应用服务器 UE在 PS域下线。 Step S310, notifying the application server that the UE is offline in the PS domain.
心跳代理服务器向应用服务器发送消息, 通知应用服务器所述 UE在 PS域已不在线。 应用服务器接收到心跳代理服务器的消息后, 将该 UE的 应用标识为不在线。 The heartbeat proxy server sends a message to the application server notifying the application server that the UE is not online in the PS domain. After receiving the message of the heartbeat proxy server, the application server identifies the application of the UE as offline.
除了上面所述的通过心跳代理服务器定时发送查询请求以获取 UE 的 PS域状态的方式之外, 还可以将上述步骤 305至步骤 308由以下步骤代替 以获取 UE的 PS域在线状态: 心跳代理服务器向 PDN/GGSN发送注册 UE 的请求, PDN/GGSN接收到注册请求后,实时检测 UE的 PS域的在线状态, 在 UE的 IP地址被释放或者 IP地址对应的 IMSI发生变化时, 通知心跳代 理服务器该 UE的 PS域状态为不在线, 否则心跳代理服务器默认 UE的 PS 域状态为在线。 心跳代理服务器在默认 UE的 PS域状态为在线时, 执行步 骤 S309, 否则执行步骤 S310。 In addition to the manner of periodically sending a query request by the heartbeat proxy server to obtain the PS domain status of the UE, the above steps 305 to 308 may be replaced by the following steps to obtain the PS domain online state of the UE: Heartbeat Proxy Server Sending a request to register the UE to the PDN/GGSN. After receiving the registration request, the PDN/GGSN detects the online status of the PS domain of the UE in real time, and notifies the heartbeat proxy server when the IP address of the UE is released or the IMSI corresponding to the IP address changes. The PS domain status of the UE is offline. Otherwise, the heartbeat proxy server defaults the PS domain status of the UE to online. The heartbeat proxy server performs step S309 when the PS domain status of the default UE is online, otherwise step S310 is performed.
图 4是本发明实施例四提供的一种缩减心跳消息的方法的流程图, 如
图 4所述, 所述方法包括以下步骤: 4 is a flowchart of a method for reducing a heartbeat message according to Embodiment 4 of the present invention, such as As described in FIG. 4, the method includes the following steps:
步骤 S401 , UE上的某应用登录。 Step S401: An application login on the UE.
UE上的某应用向应用服务器发起登录请求。 An application on the UE initiates a login request to the application server.
步骤 S402, 获取该 UE的 ID。 Step S402, obtaining an ID of the UE.
应用服务器对该 UE正常鉴权后, 获取该 UE的 ID , 此处 UE的 ID为 After the application server normalizes the UE, the ID of the UE is obtained, where the ID of the UE is
UE的手机号码。 UE's mobile number.
步骤 S403, 将 UE的 ID提交到心跳代理服务器。 Step S403, submit the ID of the UE to the heartbeat proxy server.
应用服务器将该 UE的 ID等信息提交到心跳代理服务器。 The application server submits information such as the ID of the UE to the heartbeat proxy server.
步骤 S404, 心跳代理服务器维护 UE的信息。 Step S404, the heartbeat proxy server maintains information of the UE.
心跳代理服务器将接收到的 UE的信息添加到 UE信息维护表中。 步骤 S405 , 发送注册请求。 The heartbeat proxy server adds the received UE information to the UE information maintenance table. Step S405: Send a registration request.
心跳代理服务器向 HSS/HLR发送注册请求, 所述请求中携带该 UE的 The heartbeat proxy server sends a registration request to the HSS/HLR, where the request carries the UE
ID。 ID.
步骤 S406 , 实时检测该 UE的 PS域在线状态。 Step S406, detecting the online state of the PS domain of the UE in real time.
HSS/HLR接收到注册请求后,保存 UE的相关信息, 并实时检测该 UE 的 PS域在线状态。 HSS/HLR根据 UE的 ID检测 UE的 PS域在线状态, 并 在检测到 UE的 PS域在线状态为不在线时,执行步骤 S408,否则 HSS/HLR 不向心跳代理服务器发送任何消息, 心跳代理服务器默认 UE的 PS域在线 状态为在线, 执行步骤 S407。 After receiving the registration request, the HSS/HLR saves the related information of the UE, and detects the online state of the PS domain of the UE in real time. The HSS/HLR detects the online state of the PS domain of the UE according to the ID of the UE, and when it detects that the online state of the PS domain of the UE is offline, step S408 is performed; otherwise, the HSS/HLR does not send any message to the heartbeat proxy server, the heartbeat proxy server The default UE's PS domain online status is online, and step S407 is performed.
步骤 S407, 通知应用服务器 UE在 PS域在线。 Step S407, notifying the application server that the UE is online in the PS domain.
通知应用服务器的方式有两种,一种是模拟 UE上的应用向应用服务器 发送心跳消息, 另一种是不发送任何消息, 但默认 UE在 PS域在线。 应用 服务器此时等待接收其他消息触发其执行其他步骤。 There are two ways to notify the application server. One is that the application on the simulated UE sends a heartbeat message to the application server, and the other is that no message is sent, but the default UE is online in the PS domain. The application server is now waiting to receive other messages to trigger it to perform additional steps.
步骤 S408, 在检测到 UE的 PS域的在线状态为不在线时, 通知心跳代 理服务器。
在检测到 UE 的 PS域的在线状态为不在线时, 通知心跳代理服务器 UE已经下线。 Step S408, when it is detected that the online status of the PS domain of the UE is offline, the heartbeat proxy server is notified. When it is detected that the online status of the PS domain of the UE is offline, the heartbeat proxy server UE is notified to have gone offline.
步骤 S409 , 更新 UE的维护信息。 Step S409, updating maintenance information of the UE.
心跳代理服务器将 UE信息维护表中该 UE的在线状态更改为不在线或 者在 UE信息维护表中删除该 UE的信息。 The heartbeat proxy server changes the online status of the UE in the UE information maintenance table to be offline or deletes the information of the UE in the UE information maintenance table.
步骤 S410, 通知应用服务器 UE在 PS域下线 Step S410, notifying the application server that the UE is offline in the PS domain.
心跳代理服务器向应用服务器发送消息, 通知应用服务器所述 UE在 PS域已不在线。 应用服务器接收到该不在线消息后, 将该 UE的应用标识 为不在线。 The heartbeat proxy server sends a message to the application server notifying the application server that the UE is not online in the PS domain. After receiving the offline message, the application server identifies the application of the UE as offline.
图 5是本发明实施例五提供的 UE上的应用正常退出的流程图,如图 5 所示, 所述正常退出流程包括以下步骤: FIG. 5 is a flowchart of a normal exit of an application on a UE according to Embodiment 5 of the present invention. As shown in FIG. 5, the normal exit process includes the following steps:
步骤 S501 , UE的应用模块向应用服务器发送退出通知。 Step S501: The application module of the UE sends an exit notification to the application server.
步骤 S502, 应用服务器向心跳代理服务器发送 UE退出消息。 Step S502: The application server sends a UE exit message to the heartbeat proxy server.
应用服务器接收到 UE的应用模块发送的退出通知后,向心跳代理服务 器发送 UE退出的消息。 After receiving the exit notification sent by the application module of the UE, the application server sends a message of the UE exit to the heartbeat proxy server.
步骤 S503 , 将该 UE从 UE信息维护表中删除。 Step S503, deleting the UE from the UE information maintenance table.
心跳代理服务器接收到 UE退出消息后, 从 UE信息维护表中将该 UE 的信息删除。 After receiving the UE exit message, the heartbeat proxy server deletes the information of the UE from the UE information maintenance table.
如果从无线通信网络中获取 UE的 PS域在线状态是通过向 HSS/HLR 或者 PDN/GGSN发送注册请求的方式获取的, 心跳代理服务器还需要向 HSS/HLR 或者 PDN/GGSN 发送删除该 UE 的通知, HSS/HLR 或者 PDN/GGSN接收到删除通知后, 将所保存的 UE的相关信息删除。 If the PS domain online status of the UE is obtained from the wireless communication network by sending a registration request to the HSS/HLR or the PDN/GGSN, the heartbeat proxy server also needs to send a notification to the HSS/HLR or the PDN/GGSN to delete the UE. After receiving the deletion notification, the HSS/HLR or the PDN/GGSN deletes the related information of the saved UE.
上述实施例五中 UE上的应用模块是正常退出,但有时 UE上的应用会 被异常终止。 在异常终止的情况下, UE上的应用模块并没有向应用服务器 发出退出登录的消息, 此时, 如果用户重新启动该应用, 则按照上述实施
例中正常登陆流程处理即可, 但如果用户没有重新启动该应用, 应用服务 器就不会向心跳代理服务器发送该用户的退出请求, 该心跳代理服务器还 会继续监视无线通信网络, 如果 UE还保持 PS域在线, 那么, 应用服务器 还会认为该 UE保持在线。 所以, UE上的应用的异常终止问题必须解决。 The application module on the UE in the foregoing fifth embodiment is normally exited, but sometimes the application on the UE is abnormally terminated. In the case of abnormal termination, the application module on the UE does not send a message to the application server to log out. At this time, if the user restarts the application, follow the above implementation. In the example, the normal login process can be processed, but if the user does not restart the application, the application server will not send the user's exit request to the heartbeat proxy server, and the heartbeat proxy server will continue to monitor the wireless communication network, if the UE still maintains The PS domain is online, then the application server will also consider the UE to remain online. Therefore, the abnormal termination problem of the application on the UE must be solved.
图 6是本发明实施六提供的 UE上的应用被异常中断不能正常发出退出 登录消息时的处理流程, 如图 6所示, 所述流程包括: 6 is a process flow when an application on a UE that is provided by the implementation of the sixth embodiment of the present invention is abnormally interrupted and cannot normally issue an exit login message. As shown in FIG. 6, the process includes:
步骤 S601 , 应用服务器向该异常退出的 UE上发送数据包。 Step S601: The application server sends a data packet to the abnormally exited UE.
应用服务器或者其他 UE向该异常退出的 UE上发送数据包。该数据包 可以是其他 UE通过应用服务器转发过来的, 例如, 其他 UE上的 QQ用户 向该 UE的 QQ应用发消息, 也可以是应用服务器本身给该 UE的 QQ应用 发送消息。 目前, 对于这种应用数据包都会自动带要求 ACK确认回应。 The application server or other UE sends a data packet to the abnormally exited UE. The data packet may be forwarded by other UEs through the application server. For example, the QQ user on other UEs sends a message to the QQ application of the UE, or the application server itself sends a message to the QQ application of the UE. Currently, for this application packet, an ACK confirmation response is automatically requested.
步骤 S602 , PDN/GGSN检测到发送失败。 Step S602: The PDN/GGSN detects that the transmission fails.
该数据包发送到 PDN或者 GGSN时, 由于该 UE的该应用已经异常关 闭, PDN或者 GGSN将会检测到发送失败。 When the data packet is sent to the PDN or GGSN, the PDN or GGSN will detect the transmission failure because the application of the UE has been abnormally closed.
步骤 S603 , 返回失败消息。 Step S603, returning a failure message.
PDN或者 GGSN检测到发送失败后, 将发送失败消息返回给应用服务 器。应用服务器在收到发送失败的消息后知道该 UE上的该应用已经出现异 常。 After detecting the failure of the PDN or GGSN, the PDN or GGSN returns a failure message to the application server. After receiving the message that the transmission fails, the application server knows that the application on the UE has abnormality.
反复执行步骤 S601至步骤 S603多次, 在多次尝试之后, 如果应用服 务器仍然收到发送失败的消息, 则认为该 UE已经异常退出。 Steps S601 to S603 are repeatedly performed multiple times. After multiple attempts, if the application server still receives the message that the transmission fails, the UE is considered to have exited abnormally.
步骤 S604, 向心跳代理服务器发送该 UE已经下线消息。 Step S604, sending a message that the UE has gone offline to the heartbeat proxy server.
应用服务器向心跳代理服务器发送该用户已经下线消息。 The application server sends a message that the user has gone offline to the heartbeat proxy server.
步骤 S605 , 将该 UE从 UE信息维护表中删除。 Step S605: The UE is deleted from the UE information maintenance table.
心跳代理服务器接收到应用服务器发送的下线消息后, 将该 UE从 UE 信息维护表中删除或者将该 UE标记为已下线。
在 UE上的应用异常终止的情况下, 还存在另一种极端情况, 即该 UE 上的该应用既没有被再次启动,也没有任何其他 UE或应用服务器向其发送 数据包进行交互。这种极端的情形的后果只是该 UE的状态被错误显示, 不 会有任何使用问题。如果后续有任何数据包和该 UE上的该应用交互,那么, 该 UE的该应用的在线状态仍然可以被纠正。 After receiving the offline message sent by the application server, the heartbeat proxy server deletes the UE from the UE information maintenance table or marks the UE as offline. In the case where the application on the UE is abnormally terminated, there is another extreme case where the application on the UE is neither restarted nor any other UE or application server sends a packet to it for interaction. The consequence of this extreme situation is that the state of the UE is incorrectly displayed and there are no usage problems. If any subsequent packets interact with the application on the UE, then the online status of the application for the UE can still be corrected.
为了彻底避免这种小概率事件, 还可以由应用服务器或者心跳代理服 务器代为以一定的频率向该 UE发送一种探测消息, 不过, 在这种情况下, 以后会有部分心跳信息。 考虑到这种极端情形为小概率事件, 而且, 这种 小概率事件不影响使用, 因此由应用服务器或者心跳代理服务器发送探测 数据包的步骤可以省略。 In order to completely avoid such a small probability event, the application server or the heartbeat proxy server may also send a probe message to the UE at a certain frequency, but in this case, there will be some heartbeat information in the future. Considering that this extreme situation is a small probability event, and such a small probability event does not affect the use, the step of transmitting the probe packet by the application server or the heartbeat proxy server can be omitted.
图 7是本发明实施例七提供的一种缩减心跳消息的系统的结构示意图, 如图 7所示, 所述系统包括: UE、 无线通信网络、 心跳代理服务器、 应用 服务器, 其中应用服务器可以有多台, UE上安装有应用模块, 无线通信网 络中有多个 HSS/HLR以及多个 PDN/GGSN。 心跳代理服务器和应用服务器 的接口是接口 1 , 心跳代理服务器和 HSS/HLR的接口是接口 2 , 心跳代理 服务器和 PDN/GGSN的接口是接口 3。 FIG. 7 is a schematic structural diagram of a system for reducing a heartbeat message according to Embodiment 7 of the present invention. As shown in FIG. 7, the system includes: a UE, a wireless communication network, a heartbeat proxy server, and an application server, where the application server may have Multiple units, application modules installed on the UE, and multiple HSS/HLRs and multiple PDN/GGSNs in the wireless communication network. The interface between the heartbeat proxy server and the application server is interface 1, the interface of the heartbeat proxy server and the HSS/HLR is interface 2, and the interface of the heartbeat proxy server and the PDN/GGSN is interface 3.
UE是用户终端, 上面运行各种需要向应用服务器发心跳消息的应用模 块。 The UE is a user terminal on which various application modules that need to send heartbeat messages to the application server are run.
安装在 UE上的应用模块用于向应用服务器发送登录消息。应用模块主 要指各种需要心跳消息的应用, 包括但不限于即时消息类服务, 如 QQ , The application module installed on the UE is used to send a login message to the application server. The application module mainly refers to various applications that require heartbeat messages, including but not limited to instant messaging services such as QQ.
MSN等、 远程数据釆集或者控制, 如物联网应用等。 MSN, etc., remote data collection or control, such as Internet of Things applications.
应用服务器,用于在接收到 UE应用模块的登录请求后, 向心跳代理服 务器发送检测 UE的 PS域在线状态的请求。 The application server is configured to send, to the heartbeat proxy server, a request for detecting the online status of the PS domain of the UE after receiving the login request of the UE application module.
心跳代理服务器, 用于在接收到用于检测 UE的 PS域在线状态的请求 后, 通过无线通信网络检测所述 UE的 PS域的在线状态, 并在检测到所述
UE的 PS域在线状态为不在线时, 通知应用服务器所述 UE应用模块已经 下线; 在检测到所述 UE的 PS域在线状态为在线时, 向所述应用服务器发 送心跳消息以通知所述应用服务器所述 UE应用模块在线,当然心跳代理服 务器也可以不向应用服务器发送任何消息但应用服务器默认所述 UE应用 模块在线。 心跳代理服务器通过无线通信网络检测所述 UE的 PS域的在线 状态的步骤具体地说, 是心跳代理服务器定时向无线通信网络的 HSS/HLR 或者 PDN/GGSN发送查询 UE的 PS域的在线状态的请求, HSS/HLR或者 PDN/GGSN将查询到的在线状态结果返回给心跳代理服务器。 或者心跳代 理服务器向 HSS/HLR发送注册 UE的请求, HSS/HLR实时检测 UE的 PS 域在线状态并在检测到 UE的 PS域的在线状态为不在线时, 通知心跳代理 服务器。 a heartbeat proxy server, configured to: after receiving a request for detecting a PS domain online state of the UE, detecting an online state of the PS domain of the UE by using a wireless communication network, and detecting the When the PS domain online status of the UE is offline, the application server is notified that the UE application module has gone offline; when detecting that the PS domain online status of the UE is online, sending a heartbeat message to the application server to notify the The UE application module of the application server is online. Of course, the heartbeat proxy server may not send any message to the application server, but the application server defaults that the UE application module is online. The step of detecting, by the heartbeat proxy server, the online state of the PS domain of the UE through the wireless communication network, specifically, the heartbeat proxy server periodically sends an inquiry to the HSS/HLR or the PDN/GGSN of the wireless communication network to query the online state of the PS domain of the UE. The request, HSS/HLR or PDN/GGSN returns the queried online status result to the heartbeat proxy server. Or the heartbeat proxy server sends a request for registering the UE to the HSS/HLR. The HSS/HLR detects the online status of the PS domain of the UE in real time and notifies the heartbeat proxy server when it detects that the online state of the PS domain of the UE is offline.
无线通信网络, 用于检测 UE的 PS域的在线状态。 所述无线通信网络 包括 HSS/HLR、 PDN/GGSN。 其中, HSS/HLR在接收到所述心跳代理服务 器定时发送的查询 UE的 PS域在线状态的请求后,根据所述查询 UE的 PS 域在线状态的请求中携带的 UE的 ID查询 UE的 PS域在线状态信息并将其 返回给所述心跳代理服务器; HSS/HLR在接收到所述心跳代理服务器发送 的注册 UE的请求后, 根据所述注册 UE的请求中携带的 UE的 ID实时检 测 UE的 PS域在线状态信息,并在检测到 UE的 PS域的在线状态为不在线 时, 通知所述心跳代理服务器所述 UE 已经下线。 PDN/GGSN在接收到所 述心跳代理服务器定时发送的查询 UE的 PS域在线状态的请求后, 根据所 述查询 UE的 PS域在线状态的请求中携带的 UE的 IP地址查询 UE的 PS 域在线状态信息并将其返回给所述心跳代理服务器。 A wireless communication network is configured to detect an online state of a PS domain of the UE. The wireless communication network includes an HSS/HLR, a PDN/GGSN. The HSS/HLR queries the PS domain of the UE according to the ID of the UE carried in the request for querying the online state of the PS domain of the UE after receiving the request of the heartbeat proxy server to periodically query the PS domain online state of the UE. The online status information is returned to the heartbeat proxy server; after receiving the request for registering the UE sent by the heartbeat proxy server, the HSS/HLR detects the UE in real time according to the ID of the UE carried in the request of the registered UE. The PS domain is in the online state information, and when it is detected that the online state of the PS domain of the UE is offline, the heartbeat proxy server is notified that the UE has gone offline. After receiving the request of the heartbeat proxy server to periodically query the PS domain online state of the UE, the PDN/GGSN queries the PS domain of the UE according to the IP address of the UE carried in the request for querying the PS domain online state of the UE. Status information is returned to the heartbeat proxy server.
综上所述, 本发明通过心跳代理服务器的应用便可以获取用户的在线 状态, 而不需要 UE上的应用发送心跳消息,这样不但可以大大节省网络资 源, 也可以减少终端的耗电, 简化了应用的终端侧和服务处的处理复杂度。
尽管上文对本发明进行了详细说明, 但是本发明不限于此, 本技术领 域技术人员可以根据本发明的原理进行各种修改。 因此, 凡按照本发明原 理所作的修改, 都应当理解为落入本发明的保护范围。 In summary, the present invention can obtain the online state of the user through the application of the heartbeat proxy server, and does not require the application on the UE to send the heartbeat message, which not only can greatly save network resources, but also can reduce the power consumption of the terminal, simplifying the operation. The processing complexity of the application's terminal side and service. Although the invention has been described in detail above, the invention is not limited thereto, and various modifications may be made by those skilled in the art in accordance with the principles of the invention. Therefore, modifications made in accordance with the principles of the invention should be construed as falling within the scope of the invention.
工业实用性 Industrial applicability
本发明中, 心跳代理服务器接收到用于检测 UE的 PS域在线状态的请 求后,通过无线通信网络检测 UE的 PS域的在线状态,并通知应用服务器, 方便应用服务器获取用户的在线状态, 而不需要 UE上的应用发送心跳消 息, 这大大缩减了移动通信网络中的心跳消息, 进而减轻了移动通信网络 的负载, 提升了用户的体验度。
In the present invention, after receiving the request for detecting the online state of the PS domain of the UE, the heartbeat proxy server detects the online state of the PS domain of the UE through the wireless communication network, and notifies the application server to facilitate the application server to obtain the online state of the user. The application on the UE is not required to send a heartbeat message, which greatly reduces the heartbeat message in the mobile communication network, thereby reducing the load on the mobile communication network and improving the user experience.
Claims
1、 一种缩减心跳消息的方法, 其中, 所述方法包括: A method for reducing a heartbeat message, where the method includes:
应用服务器在接收到用户设备 UE应用模块的登录请求后,向心跳代理 服务器发送检测 UE的分组数据 PS域在线状态的请求; After receiving the login request of the user equipment UE application module, the application server sends a request to the heartbeat proxy server to detect the online status of the packet data PS domain of the UE;
所述心跳代理服务器接收到用于检测 UE的 PS域在线状态的请求后, 通过无线通信网络检测所述 UE的 PS域的在线状态; After receiving the request for detecting the online status of the PS domain of the UE, the heartbeat proxy server detects the online state of the PS domain of the UE through the wireless communication network;
在检测到所述 UE的 PS域在线状态为不在线时, 所述心跳代理服务器 通知应用服务器所述 UE应用模块已经下线。 Upon detecting that the PS domain online status of the UE is offline, the heartbeat proxy server notifies the application server that the UE application module has gone offline.
2、 根据权利要求 1所述的方法, 其中, 所述方法还包括: 2. The method according to claim 1, wherein the method further comprises:
在检测到所述 UE的 PS域在线状态为在线时, 所述心跳代理服务器向 所述应用服务器发送心跳消息以通知所述应用服务器所述 UE应用模块在 线或者不向所述应用服务器发送消息而默认所述 UE应用模块在线。 After detecting that the PS domain online status of the UE is online, the heartbeat proxy server sends a heartbeat message to the application server to notify the application server that the UE application module is online or does not send a message to the application server. By default, the UE application module is online.
3、 根据权利要求 1或 2所述的方法, 其中, 通过无线通信网络检测所 述 UE的 PS域的在线状态, 为: The method according to claim 1 or 2, wherein the online state of the PS domain of the UE is detected by a wireless communication network, which is:
所述心跳代理服务器定时向无线通信网络的归属用户服务器 HSS/归属 位置寄存器 HLR发送查询 UE的 PS域在线状态的请求, 所述请求中携带 UE的 ID; The heartbeat proxy server periodically sends a request for querying the online status of the PS domain of the UE to the home subscriber server HSS/home location register HLR of the wireless communication network, where the request carries the ID of the UE;
所述 HSS/HLR接收到所述查询 UE的 PS域在线状态的请求后, 根据 UE的 ID查询 UE的 PS域在线状态信息并将其返回给所述心跳代理服务器。 After receiving the request for querying the PS domain online status of the UE, the HSS/HLR queries the PS domain online status information of the UE according to the ID of the UE and returns it to the heartbeat proxy server.
4、 根据权利要求 1或 2所述的方法, 其中, 通过无线通信网络检测所 述 UE的 PS域的在线状态, 为: The method according to claim 1 or 2, wherein the online state of the PS domain of the UE is detected by a wireless communication network, which is:
所述心跳代理服务器定时向无线通信网络的公用数据网 P DN/网关 GPRS支持节点 GGSN发送查询 UE的 PS域在线状态的请求, 所述请求中 携带 UE的 IP地址; The heartbeat proxy server periodically sends a request for querying the online status of the PS domain of the UE to the public data network P DN/gateway GPRS support node GGSN of the wireless communication network, where the request carries the IP address of the UE;
所述 PDN/GGSN接收到所述查询 UE的 PS域在线状态的请求后, 根 据所述 IP地址查询 UE的 PS域在线状态信息并将其返回给所述心跳代理服 务器。 After the PDN/GGSN receives the request for querying the PS domain online state of the UE, the root The PS domain online status information of the UE is queried according to the IP address and returned to the heartbeat proxy server.
5、 根据权利要求 1或 2所述的方法, 其中, 通过无线通信网络检测所 述 UE的 PS域的在线状态, 为: The method according to claim 1 or 2, wherein the online state of the PS domain of the UE is detected by a wireless communication network, which is:
所述心跳代理服务器向 HSS/HLR发送注册 UE的请求, 所述请求中携 带 UE的 ID; The heartbeat proxy server sends a request for registering a UE to the HSS/HLR, where the request carries the ID of the UE;
所述 HSS/HLR接收到所述注册 UE的请求后,根据 UE的 ID实时检测 UE的 PS域在线状态信息; After receiving the request of the registration UE, the HSS/HLR detects the PS domain online state information of the UE in real time according to the ID of the UE;
所述 HSS/HLR在检测到 UE的 PS域的在线状态为不在线时, 通知所 述心跳代理服务器所述 UE已经下线。 When detecting that the online status of the PS domain of the UE is offline, the HSS/HLR notifies the heartbeat proxy server that the UE has gone offline.
6、 一种缩减心跳消息的系统, 其中, 所述系统包括: 6. A system for reducing heartbeat messages, wherein the system comprises:
应用服务器,用于在接收到 UE应用模块的登录请求后, 向心跳代理服 务器发送检测 UE的 PS域在线状态的请求; An application server, configured to send, to the heartbeat proxy server, a request for detecting an online status of the PS domain of the UE after receiving the login request of the UE application module;
无线通信网络, 用于检测 UE的 PS域的在线状态; a wireless communication network, configured to detect an online state of a PS domain of the UE;
心跳代理服务器, 用于在接收到用于检测 UE的 PS域在线状态的请求 后, 通过无线通信网络检测所述 UE的 PS域的在线状态, 并在检测到所述 UE的 PS域在线状态为不在线时, 通知应用服务器所述 UE应用模块已经 下线。 a heartbeat proxy server, configured to detect an online state of a PS domain of the UE by using a wireless communication network after receiving a request for detecting a PS domain online state of the UE, and detecting that the PS domain online state of the UE is When not online, the application server is notified that the UE application module has gone offline.
7、 根据权利要求 6所述的系统, 其中: 7. The system of claim 6 wherein:
所述心跳代理服务器还用于在检测到所述 UE的 PS域在线状态为在线 时,向所述应用服务器发送心跳消息以通知所述应用服务器所述 UE应用模 块在线或者不向所述应用服务器发送消息而默认所述 UE应用模块在线。 The heartbeat proxy server is further configured to: when detecting that the PS domain online state of the UE is online, send a heartbeat message to the application server to notify the application server that the UE application module is online or not to the application server. The message is sent and the UE application module is online by default.
8、根据权利要求 6或 7所述的系统,其中, 所述无线通信网络还包括: HSS/HLR, 用于在接收到所述心跳代理服务器定时发送的查询 UE 的 The system according to claim 6 or 7, wherein the wireless communication network further comprises: an HSS/HLR, configured to query the UE periodically sent by the heartbeat proxy server
PS域在线状态的请求后,根据所述查询 UE的 PS域在线状态的请求中携带 的 UE的 ID查询 UE的 PS域在线状态信息并将其返回给所述心跳代理服务 哭口 After the request for the online status of the PS domain, the request is performed according to the request for querying the online status of the PS domain of the UE. The ID of the UE queries the PS domain online status information of the UE and returns it to the heartbeat proxy service crying
9、根据权利要求 6或 7所述的系统,其中, 所述无线通信网络还包括: PDN/GGSN, 用于接收到所述心跳代理服务器定时发送的查询 UE 的 PS域在线状态的请求后,根据所述查询 UE的 PS域在线状态的请求中携带 的 UE的 IP地址查询 UE的 PS域在线状态信息并将其返回给所述心跳代理 服务器。 The system of claim 6 or 7, wherein the wireless communication network further comprises: a PDN/GGSN, configured to receive, after receiving, a request from the heartbeat proxy server to periodically query a PS domain online state of the UE, And querying the PS domain online state information of the UE according to the IP address of the UE carried in the request for querying the PS domain online state of the UE, and returning the information to the heartbeat proxy server.
10、 根据权利要求 6或 7所述的系统, 其中, 所述无线通信网络还包 括: 10. The system according to claim 6 or 7, wherein the wireless communication network further comprises:
HSS/HLR, 用于在接收到所述心跳代理服务器发送的注册 UE 的请求 后,根据所述注册 UE的请求中携带的 UE的 ID实时检测 UE的 PS域在线 状态信息, 并在检测到 UE的 PS域的在线状态为不在线时, 通知所述心跳 代理服务器所述 UE已经下线。 The HSS/HLR is configured to detect, in real time, the PS domain online state information of the UE according to the ID of the UE carried in the request of the registration UE, after receiving the request of the UE registered by the heartbeat proxy server, and detecting the UE When the online status of the PS domain is offline, the heartbeat proxy server is notified that the UE has gone offline.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210082369.2A CN102647307B (en) | 2012-03-26 | 2012-03-26 | A kind of method and system for reducing heartbeat message |
CN201210082369.2 | 2012-03-26 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2013143228A1 true WO2013143228A1 (en) | 2013-10-03 |
Family
ID=46659892
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2012/076865 WO2013143228A1 (en) | 2012-03-26 | 2012-06-13 | Method and system for reducing heartbeat messages |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102647307B (en) |
WO (1) | WO2013143228A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105684494A (en) * | 2014-07-30 | 2016-06-15 | 华为技术有限公司 | State detection method, device, and system |
CN111263471A (en) * | 2020-04-10 | 2020-06-09 | 龙尚科技(上海)有限公司 | RRC connection release method, apparatus, radio module, terminal, system and medium |
CN113472955A (en) * | 2021-07-06 | 2021-10-01 | 浙江百应科技有限公司 | Seat state consistency control method and system |
US20220159082A1 (en) * | 2019-08-12 | 2022-05-19 | Addigy, Inc. | Intelligent persistent mobile device management |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103501305A (en) * | 2013-10-14 | 2014-01-08 | 中国联合网络通信集团有限公司 | Internet service realization method, application server and calling proxy server |
CN104363579A (en) * | 2014-10-31 | 2015-02-18 | 中国联合网络通信集团有限公司 | Online application implementing method and device |
CN105429883B (en) * | 2015-10-22 | 2018-05-18 | 上海斐讯数据通信技术有限公司 | The long connection method of multiple smart machines and server apparatus and smart machine |
CN106209890A (en) * | 2016-07-25 | 2016-12-07 | 天脉聚源(北京)教育科技有限公司 | A kind of method and device of long-distance education client login authentication |
CN114189551A (en) * | 2021-12-18 | 2022-03-15 | 杭州视洞科技有限公司 | Statistical method for online state consistency |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102177697A (en) * | 2011-04-29 | 2011-09-07 | 华为技术有限公司 | Method for controlling internet services, and relevant device and system |
CN102264045A (en) * | 2011-07-21 | 2011-11-30 | 中兴通讯股份有限公司 | Method and system for implementing instant messaging handshake |
CN102316423A (en) * | 2010-07-06 | 2012-01-11 | 华为技术有限公司 | Information pushing method, device and system |
-
2012
- 2012-03-26 CN CN201210082369.2A patent/CN102647307B/en active Active
- 2012-06-13 WO PCT/CN2012/076865 patent/WO2013143228A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102316423A (en) * | 2010-07-06 | 2012-01-11 | 华为技术有限公司 | Information pushing method, device and system |
CN102177697A (en) * | 2011-04-29 | 2011-09-07 | 华为技术有限公司 | Method for controlling internet services, and relevant device and system |
CN102264045A (en) * | 2011-07-21 | 2011-11-30 | 中兴通讯股份有限公司 | Method and system for implementing instant messaging handshake |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105684494A (en) * | 2014-07-30 | 2016-06-15 | 华为技术有限公司 | State detection method, device, and system |
EP3163935A4 (en) * | 2014-07-30 | 2017-07-12 | Huawei Technologies Co., Ltd. | State detection method, device, and system |
US10091834B2 (en) | 2014-07-30 | 2018-10-02 | Huawei Technologies Co., Ltd. | Status detection method, apparatus, and system |
US20220159082A1 (en) * | 2019-08-12 | 2022-05-19 | Addigy, Inc. | Intelligent persistent mobile device management |
US11805179B2 (en) * | 2019-08-12 | 2023-10-31 | Addigy, Inc. | Intelligent persistent mobile device management |
CN111263471A (en) * | 2020-04-10 | 2020-06-09 | 龙尚科技(上海)有限公司 | RRC connection release method, apparatus, radio module, terminal, system and medium |
CN111263471B (en) * | 2020-04-10 | 2024-03-15 | 龙尚科技(上海)有限公司 | RRC connection release method, device, wireless module, terminal, system and medium |
CN113472955A (en) * | 2021-07-06 | 2021-10-01 | 浙江百应科技有限公司 | Seat state consistency control method and system |
Also Published As
Publication number | Publication date |
---|---|
CN102647307A (en) | 2012-08-22 |
CN102647307B (en) | 2018-03-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2013143228A1 (en) | Method and system for reducing heartbeat messages | |
JP7349984B2 (en) | METHODS, SYSTEMS, AND COMPUTER-READABLE MEDIA FOR USING CERTIFICATION VALIDATION PERIOD | |
US9247018B2 (en) | Method and apparatus for cooperation between push devices | |
US9392634B2 (en) | Node and method for connection re-establishment | |
US8503300B2 (en) | Efficient messaging over internet protocol | |
US8880683B2 (en) | Global real-time network resource and timer synchronization | |
US20190394712A1 (en) | Network event reporting for pdn connectivity | |
WO2014110927A1 (en) | Method, device and system for sending trigger message | |
US10142955B2 (en) | Apparatus and method for controlling device triggering in a mobile communication network | |
US10660067B2 (en) | Systems and methods for efficient signaling of IoT devices in a wireless telecommunications network | |
WO2015027482A1 (en) | Network capability information transmitting method and device | |
CN102413453A (en) | Method and system for sharing subscriber number of machine type communication (MTC) equipment | |
WO2013189222A1 (en) | Trigger information sending method, protocol conversion method, and system thereof | |
CN113491148A (en) | Method and apparatus for supporting event monitoring | |
US11381955B2 (en) | Methods, systems, and computer readable media for monitoring machine type communications (MTC) device related information | |
US20170019749A1 (en) | Service control system, user apparatus, and service control method | |
WO2011137582A1 (en) | Method, system and gateway equipment for service initiation | |
WO2011110022A1 (en) | Method, device and system for transmitting data | |
CN102215543A (en) | Periodical timer setting method and system | |
WO2014086208A1 (en) | Method, apparatus, and mme for processing circuit switched network service | |
KR20130023971A (en) | Traffic control gateway and traffic control method using the same | |
US11096240B2 (en) | Systems and methods for a connection release procedure between user equipment and a base station | |
KR20130023970A (en) | Traffic control gateway and traffic control method using the same | |
US20240098504A1 (en) | Systems and methods for service-based automatic identity switching for a device in a private network | |
CN103546884B (en) | Machine type communication system, and method and devices for transmitting data of machine type communication system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 12872684 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 12872684 Country of ref document: EP Kind code of ref document: A1 |