CN102647307A - Method and system for reducing heartbeat messages - Google Patents

Method and system for reducing heartbeat messages Download PDF

Info

Publication number
CN102647307A
CN102647307A CN2012100823692A CN201210082369A CN102647307A CN 102647307 A CN102647307 A CN 102647307A CN 2012100823692 A CN2012100823692 A CN 2012100823692A CN 201210082369 A CN201210082369 A CN 201210082369A CN 102647307 A CN102647307 A CN 102647307A
Authority
CN
China
Prior art keywords
heartbeat
territory
server
request
acting server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012100823692A
Other languages
Chinese (zh)
Other versions
CN102647307B (en
Inventor
邢晓江
梁爽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201210082369.2A priority Critical patent/CN102647307B/en
Priority to PCT/CN2012/076865 priority patent/WO2013143228A1/en
Publication of CN102647307A publication Critical patent/CN102647307A/en
Application granted granted Critical
Publication of CN102647307B publication Critical patent/CN102647307B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/0816Configuration setting characterised by the conditions triggering a change of settings the condition being an adaptation, e.g. in response to network events
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/1045Proxies, e.g. for session initiation protocol [SIP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/143Termination or inactivation of sessions, e.g. event-controlled end of session
    • H04L67/145Termination or inactivation of sessions, e.g. event-controlled end of session avoiding end of session, e.g. keep-alive, heartbeats, resumption message or wake-up for inactive or interrupted session
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/20Services signaling; Auxiliary data signalling, i.e. transmitting data via a non-traffic channel

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 invention discloses a method and system for reducing heartbeat messages, and relates to the field of mobile communication. The method comprises the following steps that: after receiving a login request of an application module of user equipment UE, an application server sends a request of detecting the online status of a packet data PS (Packet Switch) domain of UE (User Equipment) to a 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 online status of the PS domain of the UE through a radio communication network; and when detecting that the online status of the PS domain of the UE is offline, the heartbeat proxy server notifies the application server that the application module of the UE is offline. The method and the system provided by the invention solve the problem that too heavy network load is caused by excessive heartbeat messages in a mobile communication network, and has the beneficial effects that the heartbeat messages in the radio communication network are reduced and thereby the network load is reduced.

Description

A kind of method and system of reducing heartbeat message
Technical field
The present invention relates to moving communicating field, particularly a kind of method and system of reducing the heartbeat message of various application.
Background technology
Reception in the network and transmission data all are to use the socket SOCKET among the WINDOWS to realize.But,, send data so and will have problems with the reception data if this socket breaks off.Do you how to judge that socket can also use? This just need create heartbeat mechanism in system.So-called " heartbeat " is exactly that self-defining structure of client timed sending (heartbeat message or heartbeat packet or heartbeat frame) is given server, makes server know that client is online, thereby guarantees the long validity that is connected between client and the server.
In various application; Especially some adopt the application of client-server architectures; For example instant message, remote data acquisition, telemanagement and some P2P (Peer-to-Peer; Point-to-point) etc. application a large amount of heartbeat message is all arranged so that server is understood the state of activation of terminal applies, perhaps make the state of activation of understanding each other between terminal and the terminal each other.
The heartbeat message of JICQ has brought great burden to network especially mobile communications network.With QQ is example, and the client that QQ uses reaches the purpose that takies outer net IP address for a long time through regularly sending heartbeat message to application server, and server can pass through the presence of the heartbeat message perception client of terminal to report.But because user group's quantity of QQ is huge; The quantity of heartbeat message is also huge thereupon; Heartbeat message is to GSM (Global System of Mobile communication, global system for mobile communications) network and 3G (3rd-generation, 3G (Third Generation) Moblie technology)/LTE (Long Term Evolution; Long-term evolving network) influence is very big, mainly shows:
On the GSM network, for signaling plane, instant messaging class business such as QQ have caused CCCH (Common Control Channel; CCCH) overload; And cause CS (Circuit Service, circuit carries service) paging congested, influence user's basic audio and experience.According to statistics, the control channel consumption of QQ is other business 5 to 10 times like web page browsing and download, causes some regional CCCH loads to surpass red thresholding or yellow thresholding, directly causes paging success rate low, influences the voice user and experiences.For service surface, always online type of professional PDCH (Packet Data CHannel, Packet Data Channel) level of resources utilization of part is lower, causes problems such as resource consumption and income imbalance.
From the statistics of the 3G/LTE network of external operator, use for always online type, particularly the intelligent use on the intelligent terminal has caused also for the 3G/LTE network to seriously influence.For signaling plane; Always online type of professional frequent send " heartbeat message " causes the state of user RRC (Radio Resource Control, radio resource control) frequently to change; Core net and RNC (Radio Network Controller; Radio network controller) the S1 interface User Status between Iu interface, base station and the core net between constantly changes, problems such as paging and the increase of service request signaling, RAB (Radio Access Bear, RAB) signaling amount surge.According to statistics, every transmission one byte data of user is used for always online type and can be produced above 10 times to the signaling amount of general service.
Too much heartbeat message; The impact that mobile communications network is brought has badly influenced the normal operation of network; And had influence on other users' normal use, and brought great burden to operator, solve if do not consider; Along with QQ and so on JICQ further popularize and to the raising of general population's permeability, mobile communications network can't bear the heavy load the most at last.
Summary of the invention
The object of the present invention is to provide a kind of method and system of reducing heartbeat message, can solve better that the offered load that heartbeat message too much in the mobile communications network causes is overweight, the normal use that influences other users, bring the problem of very big burden to operator.
According to an aspect of the present invention, a kind of method of reducing heartbeat message is provided, said method comprises:
Application server sends the request of the grouped data PS territory presence that detects UE to the heartbeat acting server after the logging request that receives UE (User Equipment, subscriber equipment) application module;
After said heartbeat acting server receives the request of the PS territory presence that is used to detect UE, detect the presence in PS (Packet Switch, the packet switching) territory of said UE through cordless communication network;
When not online, the said UE application module of said heartbeat acting server notification applications server rolls off the production line at the PS territory presence that detects said UE.
Preferably, said method also comprises:
At the PS territory presence that detects said UE when being online, said heartbeat acting server to said application server send heartbeat message with notify the online or said heartbeat acting server of the said UE application module of said application server not to said application server send message but said application server to give tacit consent to said UE application module online.
Preferably, the step of presence that detects the PS territory of said UE through cordless communication network is specially:
Said heartbeat acting server is regularly to the HSS of cordless communication network (Home Subscriber Server; Home subscriber server)/HLR (Home Location Register; Attaching position register) request of the PS territory presence of UE is inquired about in transmission, carries the ID of UE in the described request;
After said HSS/HLR receives the request of PS territory presence of said inquiry UE, return to said heartbeat acting server according to the PS territory presence information of the ID inquiry UE of UE and with it.
Preferably, the step of presence that detects the PS territory of said UE through cordless communication network is specially:
Said heartbeat acting server is regularly to the PDN of cordless communication network (Public Data Network; Public data network)/GGSN (Gateway GPRS Support Node; Gateway GPRS Support Node) request of the PS territory presence of transmission inquiry UE, the IP address of carrying UE in the described request;
Said PDN/GGSN returns to said heartbeat acting server according to the PS territory presence information of said IP address lookup UE and with it after receiving the request of PS territory presence of said inquiry UE.
Preferably, the step of presence that detects the PS territory of said UE through cordless communication network is specially:
Said heartbeat acting server carries the ID of UE to the request of HSS/HLR transmission registered UE in the described request;
After said HSS/HLR receives the request of said registered UE, detect the PS territory presence information of UE in real time according to the ID of UE;
Said HSS/HLR when not online, notifies the said UE of said heartbeat acting server to roll off the production line at the presence in the PS territory that detects UE.
According to a further aspect in the invention, a kind of system that reduces heartbeat message is provided, said system comprises:
Application server is used for after the logging request that receives the UE application module, sends the request of the PS territory presence that detects UE to the heartbeat acting server;
Cordless communication network is used to detect the presence in the PS territory of UE;
The heartbeat acting server; Be used for after the request that receives the PS territory presence that is used to detect UE; Detect the presence in the PS territory of said UE through cordless communication network; And at the PS territory presence that detects said UE when not online, the said UE application module of notification applications server rolls off the production line.
Preferably,
Said heartbeat acting server also is used at the PS territory presence that detects said UE when being online, said heartbeat acting server to said application server send heartbeat message with notify the online or said heartbeat acting server of the said UE application module of said application server not to said application server send message but said application server to give tacit consent to said UE application module online.
Preferably, said cordless communication network also comprises:
HSS/HLR; Be used for after the request of the PS territory of the inquiry UE that receives the timed sending of said heartbeat acting server presence, the PS territory presence information of the ID inquiry UE of the UE that carries in the request according to the PS territory presence of said inquiry UE also returns to said heartbeat acting server with it.
Preferably, said cordless communication network also comprises:
PDN/GGSN; After being used to receive the request of PS territory presence of inquiry UE of said heartbeat acting server timed sending, the PS territory presence information of the IP address lookup UE of the UE that carries in the request according to the PS territory presence of said inquiry UE also returns to said heartbeat acting server with it.
Preferably, said cordless communication network also comprises:
HSS/HLR; Be used for after the request of the registered UE that receives said heartbeat acting server transmission; The ID of the UE that carries in the request according to said registered UE detects the PS territory presence information of UE in real time; And at the presence in the PS territory that detects UE when not online, notify the said UE of said heartbeat acting server to roll off the production line.
Compared with prior art, beneficial effect of the present invention is: reduced the heartbeat message in the mobile communications network, and then the load that has alleviated mobile communications network, promoted user's Experience Degree.
Description of drawings
Fig. 1 is a kind of flow chart that reduces the method for heartbeat message that the embodiment of the invention one provides;
Fig. 2 is a kind of flow chart that reduces the method for heartbeat message that the embodiment of the invention two provides;
Fig. 3 is a kind of flow chart that reduces the method for heartbeat message that the embodiment of the invention three provides;
Fig. 4 is a kind of flow chart that reduces the method for heartbeat message that the embodiment of the invention four provides;
Fig. 5 is the flow chart that the application on the UE that provides of the embodiment of the invention five is normally withdrawed from;
Fig. 6 is that the application on the UE that provides of the embodiment of the invention six can not normally be sent the handling process when logging off message by aborted;
Fig. 7 is a kind of structural representation that reduces the system of heartbeat message that the embodiment of the invention seven provides.
Embodiment
, should be appreciated that following illustrated preferred embodiment only is used for explanation and explains the present invention, and be not used in qualification the present invention a preferred embodiment of the present invention will be described in detail below in conjunction with accompanying drawing.
Fig. 1 is a kind of flow chart that reduces the method for heartbeat message that the embodiment of the invention one provides, and as shown in Figure 1, said method comprises:
Step S101, application server send the request of the PS territory presence that detects UE to the heartbeat acting server after the logging request that receives the UE application module.
The UE application module sends logging request to application server, and said application server carries out this logging request after the authentication, to the request that the heartbeat acting server sends the PS territory presence that detects UE, carries the ID of said UE in the described request.
After step S102, said heartbeat acting server receive the request of the PS territory presence that is used to detect UE, detect the presence in the PS territory of said UE through cordless communication network.
The presence that detects the PS territory of said UE through cordless communication network can have multiple implementation:
One, the heartbeat acting server regularly sends the request of the PS territory presence of inquiry UE to cordless communication network.
Application server carries the ID of UE to the request that the heartbeat acting server sends the PS territory presence that detects UE in the described request.The ID of UE includes but not limited to phone number or IP address etc.
If the ID of UE is a phone number is MSISDN (Mobile Subscriber International ISDN/PSTN Number; Mobile user comprehensive service digital net number); Then the heartbeat acting server regularly sends the request of the PS territory presence of inquiry UE to the HSS/HLR of cordless communication network, carries the ID of UE in the described request.After HSS/HLR receives the request of PS territory presence of said inquiry UE, return to said heartbeat acting server according to the PS territory presence information of the ID inquiry UE of UE and with it.
If the ID of UE is the IP address, then the heartbeat acting server regularly sends the request of the PS territory presence of inquiry UE, the IP address of carrying UE in the described request to the PDN/GGSN of cordless communication network.Said HSS/HLR returns to said heartbeat acting server according to the PS territory presence information of said IP address lookup UE and with it after receiving the request of PS territory presence of said inquiry UE.
Two, the heartbeat acting server sends the request of registered UE to HSS/HLR.
Said heartbeat acting server carries the ID of UE to the request of HSS/HLR transmission registered UE in the described request; After said HSS/HLR receives the request of said registered UE, detect the PS territory presence information of UE in real time according to the ID of UE.HSS/HLR when not online, notifies the said UE of said heartbeat acting server to roll off the production line at the PS territory presence that detects UE.
Step S103, when not online, the said UE application module of said heartbeat acting server notification applications server rolls off the production line at the PS territory presence that detects said UE.
After the heartbeat acting server received the PS territory presence of the UE that cordless communication network returns, presence was not when online in the PS territory of said UE, and the said UE application module of notification applications server rolls off the production line; When presence is online in the PS territory of said UE, said heartbeat acting server to said application server send heartbeat message with notify the online or said heartbeat acting server of the said UE of said application server not to said application server send heartbeat message but said application server to give tacit consent to said UE online.
Fig. 2 is a kind of flow chart that reduces the method for heartbeat message that the embodiment of the invention two provides, and present embodiment is an example with JICQ QQ, and the QQ client is the application module on the UE, and the QQ server is an application server.As shown in Figure 2, said method comprises:
Step S201, the last QQ client of UE is initiated logging request to the QQ server.
The user clicks login button after QQ client input QQ number and password, the last QQ client of UE is sent logging request to the QQ server.
Step S202, the QQ server obtains the ID of UE.
After the QQ server receives the request of this client, the user of this QQ client is carried out normal authentication and obtains the ID of UE.The ID of UE can be phone number or IP address of user etc.For the UE of QQ user identity and phone number binding and this mobile phone login of QQ client usefulness, the QQ server can directly get access to this user's phone number.For the user that QQ user identity and phone number are not bound, the QQ server can't be known this user's phone number, but can get access to the IP address.
Step S203, notice QQ client does not need to send heartbeat message to the QQ server.
QQ server notification QQ client need not used heartbeat message, thereby makes the QQ client on this UE not redispatch heartbeat message to the QQ server.
Step S204, the relevant information of sending UE to the heartbeat acting server.
The QQ server includes but not limited to that with the relevant information of the UE that gets access to the ID of UE gives the heartbeat acting server.
Step S205 adds UE in UE maintenance of information table.
The heartbeat acting server is saved in UE information in the UE maintenance of information table after receiving the UE information of QQ server transmission.UE maintenance of information table comprises phone number, IP address, presence of user etc.
Step S206, the request of the PS territory presence of UE is obtained in timed sending.
The heartbeat acting server regularly sends the request of the PS territory presence information of obtaining UE to the HSS/HLR of cordless communication network, carry the ID of this UE in the described request.
Step S207, HSS/HLR obtain the PS territory presence information of UE, and the IP address of indication UE does not discharge.
After HSS/HLR receives the request of the PS territory presence that obtains UE that the heartbeat acting server sends, be user's Mobile Subscriber International ISDN Number or the PS territory presence information that UE is inquired about in the IP address according to the ID of UE.Simultaneously, HSS/HLR indication PDN or GGSN keep this IP and give this UE, even the long-time inertia of this UE.The PS territory presence of HSS/HLR inquiry UE is a prior art, repeats no more here.
The heartbeat acting server can carry out interconnectedly with a plurality of HSS/HLR, and the heartbeat acting server can also be supported the ID according to UE to choose certain HSS/HLR to inquire about.Specifically, can store the ID of UE and the corresponding relation of HSS/HLR in advance, also can be that inquiry is to inquire about each HSS/HLR successively for the first time, writes down the HSS/HLR at UE place then, and subsequent query is directly inquired about this HSS/HLR according to the result of record again.
The heartbeat acting server can be in batches the PS territory presence information of a plurality of UE of inquiry.Because the user of QQ is numerous; The probability that lands the QQ server simultaneously is very big; Therefore the QQ server also can the relevant information with a plurality of UE in batches send to the heartbeat acting server; After the heartbeat acting server received the relevant information of a plurality of UE, also the relevant information with a plurality of UE of batch sent to the PS territory presence of HSS/HLR and a plurality of UE of acquisition request.After HSS/HLR receives this request, obtain the PS territory presence of each UE according to the ID of each UE that carries in the request.
Step S208 returns the presence information in the PS territory of UE.
HSS/HLR is that the IP address that said UE keeps sends to the heartbeat acting server with PS territory presence and the possible PDN/GGSN of the UE that is inquired.After the heartbeat acting server receives the information that HSS/HLR returns, according to the information of corresponding UE in the information updating UE maintenance of information table that is returned.Specifically, upgrade presence and the IP address of corresponding UE in the UE maintenance of information table according to the IP address of the PS territory presence of the UE in the information of returning and UE.After the heartbeat acting server has upgraded UE maintenance of information table, carry out different processing according to the presence information in the PS territory of UE, if the PS territory presence of UE is online, execution in step S209, otherwise execution in step S210.
Step S209, UE is online in the PS territory for notice QQ server.
The heartbeat acting server is when presence is online in the PS territory of UE, and notice QQ server UE is online in the PS territory to be that the application module of UE is online.The mode of heartbeat acting server notice QQ server has two kinds, and a kind of is that the QQ client of simulating on the UE is sent heartbeat message to the QQ server, and another kind is not send any message, but acquiescence UE is online in the PS territory.
Step S210, notice QQ server UE rolls off the production line in the PS territory.
The heartbeat acting server sends message to the QQ server, and said UE is not online in the PS territory for notice QQ server.After the QQ server receives the message of heartbeat acting server, that the QQ ID of this UE is online for not.
Fig. 3 is a kind of flow chart that reduces the method for heartbeat message that the embodiment of the invention three provides, and as shown in Figure 3, said method comprises:
Step S301, last certain of UE is used login.
Last certain of UE is used to application server and is initiated logging request.
Step S302 obtains the ID of this UE.
After application server carries out normal authentication to this UE, obtain the ID of this UE, present embodiment is the IP address information.
Step S303 is submitted to the heartbeat acting server with the information of UE.
Application server sends to the heartbeat acting server with the information of UE.The information of UE comprises that the ID of UE is the IP address.Application server is when sending UE information, and the sign that also will whether need keep this IP sends to the heartbeat acting server.
Step S304, the heartbeat acting server is preserved UE information.
The heartbeat acting server adds the information of the UE that receives in the UE maintenance of information table to.
Step S305, the request of the PS territory presence of timed sending inquiry UE.
The timing of heartbeat acting server is carried the IP address of this UE and the sign that whether need keep this IP to the request that PDN or GGSN send the PS territory presence of inquiry UE in the described request.
Step S306 obtains the IMSI information of UE according to the IP address.
After PDN/GGSN receives query requests, whether online according to this IP address of IP address lookup, and corresponding IMSI (International Mobile SubscriberIdentification Number, international mobile subscriber identity) information.And, in said query requests, carry whether for this user keeps being designated under the situation that keeps IP of this IP address, PDN or GGSN keep this IP address, otherwise are not this IP address of UE reservation.
Step S307 returns IMSI and the presence of UE.
PDN/GGSN returns to the heartbeat acting server with the PS territory presence of IMSI that inquires and UE.
Step S308, whether record IMSI and corresponding IP address information and the result who inquired about last time compare, also online to judge this IMSI.
After the heartbeat acting server receives the message that PDN/GGSN returns; The IMSI of the UE that the last time of being preserved in the IMSI of received UE and the UE maintenance of information table is inquired compares; Judge whether the corresponding IMSI in IP address changes; If change, can judge that then UE rolls off the production line in the PS territory.IMSI and IP address that the last time that the heartbeat acting server upgrades this UE in the UE maintenance of information table with IMSI and the IP address information of received UE inquires.
The heartbeat acting server is when presence is online in the PS territory of UE, execution in step S309, otherwise execution in step S310.
Step S309, notification applications server UE is online in the PS territory.
Online mode has two kinds to heartbeat acting server notification applications server UE in the PS territory, and a kind of is that the application of simulating on the UE is sent heartbeat message to application server, and another kind is not send any message, but acquiescence UE is online in the PS territory.
Step S310, notification applications server UE rolls off the production line in the PS territory.
The heartbeat acting server sends message to application server, and the said UE of notification applications server is not online in the PS territory.After application server receives the message of heartbeat acting server, that the application identities of this UE is online for not.
Except recited above through the mode of heartbeat acting server timed sending query requests with the PS territory state that obtains UE; Can also above-mentioned steps 305 to step 308 be replaced to obtain the PS territory presence of UE by following steps: the heartbeat acting server sends the request of registered UE to PDN/GGSN; After PDN/GGSN receives register requirement; Detect the presence in the PS territory of UE in real time; Be released when perhaps the corresponding IMSI in IP address changes in the IP address of UE, the PS territory state of this UE of notice heartbeat acting server is online for not, otherwise the PS territory state of heartbeat acting server acquiescence UE is online.When the heartbeat acting server is online at the PS territory state of acquiescence UE, execution in step S309, otherwise execution in step S310.
Fig. 4 is a kind of flow chart that reduces the method for heartbeat message that the embodiment of the invention four provides, and is of Fig. 4, said method comprising the steps of:
Step S401, last certain of UE is used login.
Last certain of UE is used to application server and is initiated logging request.
Step S402 obtains the ID of this UE.
Application server to the normal authentication of this UE after, obtain the ID of this UE, the ID of UE is the phone number of UE here.
Step S403 is submitted to the heartbeat acting server with the ID of UE.
Application server is submitted to the heartbeat acting server with the information such as ID of this UE.
Step S404, the heartbeat acting server is safeguarded the information of UE.
The heartbeat acting server adds the information of the UE that receives in the UE maintenance of information table to.
Step S405 sends register requirement.
The heartbeat acting server sends register requirement to HSS/HLR, carries the ID of this UE in the described request.
Step S406 detects the PS territory presence of this UE in real time.
After HSS/HLR receives register requirement, preserve the relevant information of UE, and detect the PS territory presence of this UE in real time.HSS/HLR detects the PS territory presence of UE according to the ID of UE; And at the PS territory presence that detects UE when not online; Execution in step S408; Otherwise HSS/HLR does not send any message to the heartbeat acting server, and the PS territory presence of heartbeat acting server acquiescence UE is online, execution in step S407.
Step S407, notification applications server UE is online in the PS territory.
The mode of notification applications server has two kinds, and a kind of is that the application of simulating on the UE is sent heartbeat message to application server, and another kind is not send any message, but acquiescence UE is online in the PS territory.Application server is waited at this moment and is received its other steps of execution of other message trigger.
Step S408, at the presence in the PS territory that detects UE when not online, notice heartbeat acting server.
When not online, notice heartbeat acting server UE rolls off the production line at the presence in the PS territory that detects UE.
Step S409, the maintenance information of renewal UE.
The heartbeat acting server changes to information not online or this UE of deletion in UE maintenance of information table with the presence of this UE in the UE maintenance of information table.
Step S410, notification applications server UE rolls off the production line in the PS territory
The heartbeat acting server sends message to application server, and the said UE of notification applications server is not online in the PS territory.Application server receives this not after the online message, and the application identities of this UE is online for not.
Fig. 5 is the flow chart that the application on the UE that provides of the embodiment of the invention five is normally withdrawed from, and as shown in Figure 5, the said flow process that normally withdraws from may further comprise the steps:
Step S501, the application module of UE sends OPT-OUT NOTICE to application server.
Step S502, application server sends UE to the heartbeat acting server and withdraws from message.
Application server sends the message that UE withdraws to the heartbeat acting server after receiving the OPT-OUT NOTICE that the application module of UE sends.
Step S503 deletes this UE from UE maintenance of information table.
The heartbeat acting server receives after UE withdraws from message, from UE maintenance of information table with the information deletion of this UE.
If from cordless communication network, obtain the PS territory presence of UE is through obtaining to the mode of HSS/HLR or PDN/GGSN transmission register requirement; The heartbeat acting server also need send the notice of deleting this UE to HSS/HLR or PDN/GGSN; After HSS/HLR or PDN/GGSN receive the deletion notice, with the relevant information deletion of the UE that is preserved.
Application module in the foregoing description five on the UE is normally to withdraw from, but the application meeting on the UE sometimes is by abnormal end.Under abortive situation, the last application module of UE does not send the message of logging off to application server, at this moment; If the user restarts this application; Then get final product according to normally landing flow processing in the foregoing description, if but the user does not restart this application, and application server just can not send this user's the request of withdrawing to the heartbeat acting server; This heartbeat acting server also can continue the monitoring wireless communication network; If UE also keeps the PS territory online, so, application server can think that also this UE keeps online.So the abnormal end problem of the application that UE is last must solve.
Fig. 6 is that the application that the present invention implements on six UE that provide can not normally be sent the handling process when logging off message by aborted, and as shown in Figure 6, said flow process comprises:
Step S601, application server go up to this UE that withdraws from unusually and send packet.
Application server or other UE go up to this UE that withdraws from unusually and send packet.This packet can be that other UE forwards through application server, and for example, the QQ user on other UE uses to the QQ of this UE and sends out message, also can be that application server itself uses transmission message for the QQ of this UE.At present, all can be with automatically for this application data bag and require ACK confirm to respond.
Step S602, PDN/GGSN detect and send failure.
When this packet sent to PDN or GGSN, because this application of this UE is closed unusually, PDN or GGSN will detect and send failure.
Step S603 returns failed message.
PDN or GGSN will send failed message and return to application server after detecting and sending failure.Application server knows that this application on this UE has occurred unusually after receiving the transmission failure.
Execution in step S601 after repeatedly attempting, if application server is still received the transmission failure, thinks that then this UE withdraws from unusually to step S603 many times repeatedly.
Step S604 sends this UE message that rolled off the production line to the heartbeat acting server.
Application server sends this user message that rolled off the production line to the heartbeat acting server.
Step S605 deletes this UE from UE maintenance of information table.
After the heartbeat acting server receives the message that rolls off the production line that application server sends, this UE delete perhaps this UE to be labeled as from UE maintenance of information table roll off the production line.
Under the abortive situation of the application on the UE, also there is another kind of extreme case, promptly this on this UE both used and do not started once more, also had no other UE or application server to send packet to it and carried out alternately.The consequence of this extreme situation is that the state of this UE is shown by mistake, does not have any use problem.If follow-up have any packet mutual with this application on this UE, so, the presence of this application of this UE still can be repaired.
If in order thoroughly to avoid this small probability event, can also but, in this case, have the part heartbeat message later on by application server or heartbeat acting server on behalf of sending a kind of probe message to this UE with certain frequency.Consider that this egregious cases is a small probability event, and this small probability event does not influence use, therefore can omit by the step of application server or heartbeat acting server transmission probe data packet.
Fig. 7 is a kind of structural representation that reduces the system of heartbeat message that the embodiment of the invention seven provides; As shown in Figure 7; Said system comprises: UE, cordless communication network, heartbeat acting server, application server; Wherein application server can have many, and the last application module that is equipped with of UE has a plurality of HSS/HLR and a plurality of PDN/GGSN in the cordless communication network.The interface of heartbeat acting server and application server is an interface 1, and the interface of heartbeat acting server and HSS/HLR is an interface 2, and the interface of heartbeat acting server and PDN/GGSN is an interface 3.
UE is a user terminal, above operation various need make up one's mind to application server jump the application module of message.
The application module that is installed on the UE is used for sending log messages to application server.Application module mainly refers to the various application that need heartbeat message, includes but not limited to instant message class service, and like QQ, MSN etc., remote data acquisition or control are like the Internet of Things application etc.
Application server is used for after the logging request that receives the UE application module, sends the request of the PS territory presence that detects UE to the heartbeat acting server.
The heartbeat acting server; Be used for after the request that receives the PS territory presence that is used to detect UE; Detect the presence in the PS territory of said UE through cordless communication network; And at the PS territory presence that detects said UE when not online, the said UE application module of notification applications server rolls off the production line; At the PS territory presence that detects said UE when being online; Send heartbeat message to notify the said UE application module of said application server online to said application server, certainly the heartbeat acting server can be not yet to application server send any message but application server to give tacit consent to said UE application module online.The heartbeat acting server detect through cordless communication network said UE the PS territory presence step specifically; Be the request that the heartbeat acting server regularly sends the presence in the PS territory of inquiring about UE to the HSS/HLR or the PDN/GGSN of cordless communication network, HSS/HLR or PDN/GGSN return to the heartbeat acting server with the presence result who inquires.Perhaps the heartbeat acting server sends the request of registered UE to HSS/HLR, HSS/HLR detect the PS territory presence of UE in real time and at the presence in the PS territory that detects UE when not online, notify the heartbeat acting server.
Cordless communication network is used to detect the presence in the PS territory of UE.Said cordless communication network comprises HSS/HLR, PDN/GGSN.Wherein, HSS/HLR is after the request of the PS territory of the inquiry UE that receives the timed sending of said heartbeat acting server presence, and the PS territory presence information of the ID inquiry UE of the UE that carries in the request according to the PS territory presence of said inquiry UE also returns to said heartbeat acting server with it; HSS/HLR is after the request of the registered UE that receives said heartbeat acting server transmission; The ID of the UE that carries in the request according to said registered UE detects the PS territory presence information of UE in real time; And at the presence in the PS territory that detects UE when not online, notify the said UE of said heartbeat acting server to roll off the production line.PDN/GGSN is after the request of the PS territory of the inquiry UE that receives the timed sending of said heartbeat acting server presence, and the PS territory presence information of the IP address lookup UE of the UE that carries in the request according to the PS territory presence of said inquiry UE also returns to said heartbeat acting server with it.
In sum; The present invention just can obtain the user's online state through the application of heartbeat acting server; And do not need the application on the UE to send heartbeat message; So not only can save Internet resources greatly, also can reduce the power consumption at terminal, simplify the end side of application and the processing complexity of service center.
Although preceding text specify the present invention, the invention is not restricted to this, those skilled in the art of the present technique can carry out various modifications according to principle of the present invention.Therefore, all modifications of doing according to the principle of the invention all are to be understood that to falling into protection scope of the present invention.

Claims (10)

1. a method of reducing heartbeat message is characterized in that, said method comprises:
Application server sends the request of the grouped data PS territory presence that detects UE to the heartbeat acting server after the logging request that receives the user equipment (UE) application module;
After said heartbeat acting server receives the request of the PS territory presence that is used to detect UE, detect the presence in the PS territory of said UE through cordless communication network;
When not online, the said UE application module of said heartbeat acting server notification applications server rolls off the production line at the PS territory presence that detects said UE.
2. method according to claim 1 is characterized in that, said method also comprises:
At the PS territory presence that detects said UE when being online, said heartbeat acting server to said application server send heartbeat message with notify the online or said heartbeat acting server of the said UE application module of said application server not to said application server send message but said application server to give tacit consent to said UE application module online.
3. method according to claim 1 and 2 is characterized in that, the step of presence that detects the PS territory of said UE through cordless communication network is specially:
Said heartbeat acting server regularly sends the request of the PS territory presence of inquiry UE to the home subscriber server HSS/ of cordless communication network attaching position register HLR, carry the ID of UE in the described request;
After said HSS/HLR receives the request of PS territory presence of said inquiry UE, return to said heartbeat acting server according to the PS territory presence of the ID inquiry UE of UE and with it.
4. method according to claim 1 and 2 is characterized in that, the step of presence that detects the PS territory of said UE through cordless communication network is specially:
Said heartbeat acting server regularly sends the request of the PS territory presence of inquiry UE, the IP address of carrying UE in the described request to the public data network PDN/ of cordless communication network Gateway GPRS Support Node GGSN;
Said PDN/GGSN returns to said heartbeat acting server according to the PS territory presence of said IP address lookup UE and with it after receiving the request of PS territory presence of said inquiry UE.
5. method according to claim 1 and 2 is characterized in that, the step of presence that detects the PS territory of said UE through cordless communication network is specially:
Said heartbeat acting server carries the ID of UE to the request of HSS/HLR transmission registered UE in the described request;
After said HSS/HLR receives the request of said registered UE, detect the PS territory presence of UE in real time according to the ID of UE;
Said HSS/HLR when not online, notifies the said UE of said heartbeat acting server to roll off the production line at the presence in the PS territory that detects UE.
6. a system that reduces heartbeat message is characterized in that, said system comprises:
Application server is used for after the logging request that receives the UE application module, sends the request of the PS territory presence that detects UE to the heartbeat acting server;
Cordless communication network is used to detect the presence in the PS territory of UE;
The heartbeat acting server; Be used for after the request that receives the PS territory presence that is used to detect UE; Detect the presence in the PS territory of said UE through cordless communication network; And at the PS territory presence that detects said UE when not online, the said UE application module of notification applications server rolls off the production line.
7. system according to claim 6 is characterized in that,
Said heartbeat acting server also is used at the PS territory presence that detects said UE when being online, said heartbeat acting server to said application server send heartbeat message with notify the online or said heartbeat acting server of the said UE application module of said application server not to said application server send message but said application server to give tacit consent to said UE application module online.
8. according to claim 6 or 7 described systems, it is characterized in that said cordless communication network also comprises:
HSS/HLR; Be used for after the request of the PS territory of the inquiry UE that receives the timed sending of said heartbeat acting server presence, the PS territory presence of the ID inquiry UE of the UE that carries in the request according to the PS territory presence of said inquiry UE also returns to said heartbeat acting server with it.
9. according to claim 6 or 7 described systems, it is characterized in that said cordless communication network also comprises:
PDN/GGSN; After being used to receive the request of PS territory presence of inquiry UE of said heartbeat acting server timed sending, the PS territory presence of the IP address lookup UE of the UE that carries in the request according to the PS territory presence of said inquiry UE also returns to said heartbeat acting server with it.
10. according to claim 6 or 7 described systems, it is characterized in that said cordless communication network also comprises:
HSS/HLR; Be used for after the request of the registered UE that receives said heartbeat acting server transmission; The ID of the UE that carries in the request according to said registered UE detects the PS territory presence of UE in real time; And at the presence in the PS territory that detects UE when not online, notify the said UE of said heartbeat acting server to roll off the production line.
CN201210082369.2A 2012-03-26 2012-03-26 A kind of method and system for reducing heartbeat message Active CN102647307B (en)

Priority Applications (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
PCT/CN2012/076865 WO2013143228A1 (en) 2012-03-26 2012-06-13 Method and system for reducing heartbeat messages

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
CN102647307A true CN102647307A (en) 2012-08-22
CN102647307B CN102647307B (en) 2018-03-20

Family

ID=46659892

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210082369.2A Active CN102647307B (en) 2012-03-26 2012-03-26 A kind of method and system for reducing heartbeat message

Country Status (2)

Country Link
CN (1) CN102647307B (en)
WO (1) WO2013143228A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
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
CN105684494A (en) * 2014-07-30 2016-06-15 华为技术有限公司 State detection method, device, and system
CN106209890A (en) * 2016-07-25 2016-12-07 天脉聚源(北京)教育科技有限公司 A kind of method and device of long-distance education client login authentication
CN105429883B (en) * 2015-10-22 2018-05-18 上海斐讯数据通信技术有限公司 The long connection method of multiple smart machines and server apparatus and smart machine
CN114189551A (en) * 2021-12-18 2022-03-15 杭州视洞科技有限公司 Statistical method for online state consistency

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11258862B2 (en) * 2019-08-12 2022-02-22 Addigy, Inc. Intelligent persistent mobile device management
CN111263471B (en) * 2020-04-10 2024-03-15 龙尚科技(上海)有限公司 RRC connection release method, device, wireless module, terminal, system and medium
CN113472955B (en) * 2021-07-06 2023-06-20 浙江百应科技有限公司 Seat state consistency control method and system

Citations (3)

* Cited by examiner, † Cited by third party
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
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 (6)

* Cited by examiner, † Cited by third party
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
CN105684494A (en) * 2014-07-30 2016-06-15 华为技术有限公司 State detection method, device, and system
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

Also Published As

Publication number Publication date
WO2013143228A1 (en) 2013-10-03
CN102647307B (en) 2018-03-20

Similar Documents

Publication Publication Date Title
CN102647307A (en) Method and system for reducing heartbeat messages
KR102250738B1 (en) Smooth ue transfer within an evolved packet core
US8965415B2 (en) Short packet data service
CN107113598B (en) Support of mobile terminated communications in evolved packet system
JP5478737B2 (en) Method and device for group-based mobility optimization in machine type communication
KR101339044B1 (en) Handling reachability of mobile device when serving core network node changes
Sama et al. Enabling network programmability in LTE/EPC architecture using OpenFlow
US20200374950A1 (en) Method, Telecommunications Node and Telecommunications Terminal
US20160095022A1 (en) Method, apparatus, and system for connecting to network
CN102271367A (en) Method and equipment for transmitting small data
US11425764B2 (en) Communication method and communications apparatus for reporting establishment causes
CN103841569A (en) Virtual base station establishing method, device and system and data transmission method, device and system.
KR102074110B1 (en) Common process implementation methods, devices and systems
WO2013081412A1 (en) Method and device for supporting mtc trigger of serving node in wireless communication system
CN100407816C (en) Calling method of group call
US20130150008A1 (en) Method and apparatus for signaling trace
US10299211B2 (en) Method for saving power of user equipment and device
US20140140282A1 (en) Service response method, device and system
CN105474688A (en) Congestion control for short message service in 3rd generation partnership project (3GPP) systems
CN102104882A (en) Entire user or equipment service flow tracing method and system
CN104955136A (en) Terminal management apparatus, terminal, communication system, terminal management method, and program
CN102761981A (en) Method and system for establishing RRC (Radio Resource Control) connection
EP2999248B1 (en) Information obtaining method and device
KR20200140325A (en) Improved battery performance for devices with power saving features
CN102752795B (en) Data communications method and communication service node

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant