WO2012119512A1 - 心跳消息的处理方法、心跳周期的获取方法及接入网设备 - Google Patents

心跳消息的处理方法、心跳周期的获取方法及接入网设备 Download PDF

Info

Publication number
WO2012119512A1
WO2012119512A1 PCT/CN2012/071424 CN2012071424W WO2012119512A1 WO 2012119512 A1 WO2012119512 A1 WO 2012119512A1 CN 2012071424 W CN2012071424 W CN 2012071424W WO 2012119512 A1 WO2012119512 A1 WO 2012119512A1
Authority
WO
WIPO (PCT)
Prior art keywords
heartbeat
terminal
network device
message
period
Prior art date
Application number
PCT/CN2012/071424
Other languages
English (en)
French (fr)
Inventor
戴明增
邢平平
黄曲芳
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP12754419.5A priority Critical patent/EP2685668B1/en
Publication of WO2012119512A1 publication Critical patent/WO2012119512A1/zh
Priority to US14/016,824 priority patent/US9220125B2/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • H04W76/25Maintenance of established connections
    • 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/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • H04L41/0836Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability to enhance reliability, e.g. reduce downtime
    • 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
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • H04L43/103Active monitoring, e.g. heartbeat, ping or trace-route with adaptive polling, i.e. dynamically adapting the polling rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring

Definitions

  • the present invention relates to a communication technology, and in particular, to a method for processing a heartbeat message, a method for acquiring a heartbeat period, and an access network device.
  • the corresponding client periodically sends a Heart Beat (HB) message to the server to notify the server of its online status through the network side device.
  • HB Heart Beat
  • the terminal in the above-mentioned prior art sends a heartbeat message to the server through the network side device at the sending time set by itself, which may affect the processing of the normal communication message by the network side device, and may even affect the normal operation of the terminal communication service.
  • a radio resource management (RRM) algorithm involves a time parameter of a state transition of a terminal, and the terminal can perform state transition according to the time parameter, for example: the access network device can pass an inactivity timer (User The setting of Inactivity t imer ) determines the release of the terminal from the connected state to the idle state. It is assumed that the inactivity timer set by the access network device is T1, and when the access network device does not receive the data of the terminal, the timer T1 is started to start timing. If the access network device receives the data of the terminal during the running of the timer T1, the access network device stops counting; when the terminal service ends, the timer T1 is restarted.
  • T1 The setting of Inactivity t imer
  • the access network device initiates a terminal context release procedure to release the terminal from the connected state to the idle state.
  • the terminal After the terminal enters the idle state, if the terminal needs to send a heartbeat message, the terminal needs to enter the connection state first. Since the heartbeat message is sent periodically, the terminal may frequently switch between the connected state and the idle state, thereby increasing The signaling processing burden of the network side device and the power consumption of the terminal may even affect the normal operation of the terminal communication service.
  • the embodiment of the invention provides a method for processing a heartbeat message and an access network device, which are used to ensure network device pair
  • the processing of normal communication messages ensures the normal operation of the terminal communication service.
  • An aspect of the present invention provides a method for processing a heartbeat message, including:
  • the terminal acquires heartbeat control information
  • the terminal sends a heartbeat message according to the heartbeat control information.
  • Another aspect of the present invention provides a terminal, including:
  • An acquiring unit configured to acquire heartbeat control information
  • a sending unit configured to send a heartbeat message according to the heartbeat control information.
  • Another aspect of the present invention provides an access network device, including:
  • a sending unit configured to send heartbeat control information to the terminal, so that the terminal sends a heartbeat message according to the heartbeat control information.
  • the embodiment of the present invention provides a method for acquiring a heartbeat period and an access network device, which are used to reduce the signaling processing load of the network side device and the power consumption of the terminal, thereby ensuring normal communication of the terminal communication service.
  • An aspect of the present invention provides a method for acquiring a heartbeat period, including:
  • the access network device obtains a heartbeat period of the terminal, where the access network device acquires a heartbeat period of the terminal, where: the access network device acquires a heartbeat period reported by the terminal; or
  • the access network device detects the received heartbeat message sent by the terminal, and obtains a heartbeat period of the terminal; or
  • the access network device obtains a heartbeat period sent by the core network device, where the heartbeat period is obtained by detecting, by the core network device, a received heartbeat message sent by the terminal.
  • Another aspect of the present invention provides an access network device, including:
  • An acquiring unit configured to acquire a heartbeat period of the terminal, where the acquiring, by the access network device, a heartbeat period of the terminal includes:
  • the access network device detects the received heartbeat message sent by the terminal, and obtains a heartbeat period of the terminal; or
  • the access network device obtains a heartbeat period sent by the core network device, where the heartbeat period is obtained by detecting, by the core network device, a received heartbeat message sent by the terminal.
  • FIG. 1 is a schematic flowchart diagram of a method for processing a heartbeat message according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a method for processing a heartbeat message according to another embodiment of the present invention
  • FIG. 3 is a schematic flowchart of a method for processing a heartbeat message according to another embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of an access network device according to another embodiment of the present invention.
  • FIG. 6 is a schematic flowchart of a method for acquiring a heartbeat period according to another embodiment of the present invention
  • FIG. 7 is a schematic structural diagram of an access network device according to another embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of an access network device according to another embodiment of the present invention.
  • FIG. 9 is a diagram showing an inactivity timer setting in a method for acquiring a heartbeat period according to another embodiment of the present invention.
  • the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention.
  • the described embodiments are a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
  • FIG. 1 is a schematic flowchart of a method for processing a heartbeat message according to an embodiment of the present invention. As shown in FIG. 1, the method for processing a heartbeat message in this embodiment may include the following steps:
  • Step 101 The terminal acquires heartbeat control information.
  • the heartbeat control information may include, but is not limited to, one or more of a timer, a heartbeat data amount threshold, indication information indicating a heartbeat period, and indication information indicating a rule for adjusting a heartbeat period.
  • the terminal may receive the heartbeat control information sent by the access network device to the terminal.
  • the heartbeat control information may be sent by the access network device to the terminal according to the device type of the terminal (such as a normal terminal or an intelligent terminal) and/or the service type of the terminal.
  • the access network device can be based on terminal capability information reported by the terminal, such as International Mobi Equipment Identity (IMEI), or subscription type ID (Subscriber)
  • IMEI International Mobi Equipment Identity
  • Subscriber subscription type ID
  • the device type of the terminal can be distinguished by the Deep Packet Inspection (DPI).
  • DPI Deep Packet Inspection
  • the heartbeat control information sent by the access network device to the terminals corresponding to different device types may be different, and the heartbeat control information sent to the terminals corresponding to different service types may also be different.
  • the access network device may actively trigger the sending process of the heartbeat control information, for example, the access network device may detect the load of the access network device, and if it is determined that the load of the access network device is greater than a preset load threshold, The process of sending heartbeat control information to the terminal is triggered; or the access network device can passively trigger the sending process of the heartbeat control information, for example, the access network device can also obtain an overload indication from the core network device, and trigger sending to the terminal.
  • the process of the heartbeat control information, the overload indication is sent to the access network device when the load of the core network device detected by the core network device is greater than a preset load threshold, to indicate to the access network device that the core network device is overloaded.
  • the foregoing access network device may send heartbeat control information to a terminal (such as an access layer of the terminal) through, but not limited to, a system message, an RRC dedicated message, and a MAC Control Elements message.
  • Step 102 The terminal sends a heartbeat message according to the heartbeat control information.
  • the terminal sends a heartbeat message to the server corresponding to the application on the terminal according to the heartbeat control information, or sends a heartbeat message to the application corresponding to the application through the network side device (such as the access network device and/or the core network device). Send a heartbeat message.
  • the network side device such as the access network device and/or the core network device.
  • the terminal may start the timer after receiving the heartbeat control information, and send a heartbeat message to the server after the timer expires. Further, the terminal may restart the timer after sending the heartbeat message.
  • the access layer of the terminal may obtain at least one heartbeat message sent by the application layer of the terminal during the running of the timer, where the application layer of the terminal may send the heartbeat message frequently according to the technical solution in the prior art. The access layer to the terminal. Further, after the timer expires, the access layer of the terminal sends the at least one heartbeat message to the server.
  • the heartbeat message sent by the terminal in this step after the timer expires may be at least one heartbeat message obtained by the access layer of the terminal from the application layer of the terminal before the timer expires.
  • the access layer of the terminal acquires a heartbeat message sent by the application layer of the terminal after the timer expires, and sends the heartbeat message to the server. That is, the heartbeat message sent by the terminal in this step after the timer expires may be the heartbeat message obtained by the access layer of the terminal from the application layer of the terminal after the timer expires.
  • the access layer of the foregoing terminal includes a Radio Resource Control (RRC) layer, a Radio Link Control (RLC) layer, a Media Access Control (MAC) layer, and a physical layer.
  • RRC Radio Resource Control
  • RLC Radio Link Control
  • MAC Media Access Control
  • the access layer of the terminal acquires at least one heartbeat message sent by the application layer of the terminal, when the message volume of the at least one heartbeat message is greater than or equal to the heartbeat data volume threshold. Sending at least one heartbeat message to the server.
  • the heartbeat control information in this embodiment may further include a timer and a heartbeat data amount threshold, as long as any one (timer or heartbeat)
  • the data volume threshold satisfies the condition, and the access layer of the terminal can send a heartbeat message received from the application layer of the terminal to the server.
  • the terminal may send a heartbeat message to the server according to the heartbeat period.
  • the terminal may adjust the heartbeat period according to the rule for adjusting the heartbeat period to obtain the adjusted heartbeat period, and send the heartbeat to the server according to the adjusted heartbeat period.
  • the access layer of the terminal may acquire, according to the heartbeat period indicated by the indication information, or adjust the heartbeat period according to the rule of adjusting the heartbeat period indicated by the indication information, to obtain a heartbeat message sent by the adjusted heartbeat period. And send the above heartbeat message to the server.
  • the foregoing rule for adjusting the heartbeat period may be that the adjusted heartbeat period is a multiple of a heartbeat period.
  • the terminal can adjust the heartbeat period directly according to the multiple; or the terminal can adjust the heartbeat period according to the multiple according to whether the terminal sends a service within a certain period of time.
  • the foregoing rule for adjusting the heartbeat period may further adjust the heartbeat period according to the multiple, for example, the terminal may adjust the heartbeat period by multiple times; or the terminal may further multiply according to whether the terminal sends a service within a period of time. Adjust the heartbeat cycle.
  • the heartbeat control information in this embodiment may further include indication information indicating a heartbeat period and indication information of a rule for adjusting a heartbeat period, as long as Any one of the indication information indicating the heartbeat period and the rule for adjusting the heartbeat period satisfies the condition that the application layer of the terminal can send a heartbeat message to the server through the access layer of the terminal.
  • the terminal obtains the heartbeat control information, determines the heartbeat period according to the heartbeat control information, and sends a heartbeat message to the server according to the determined heartbeat period, instead of the terminal determining whether to send the heartbeat message to the server, which can avoid the terminal sending.
  • the heartbeat message affects the processing of the normal communication message by the network side device, and ensures the processing of the normal communication message by the network side device, thereby ensuring the normal operation of the terminal communication service.
  • the terminal reduces the number of times the heartbeat message is sent. Thereby, the signaling processing burden of the network side device and the power consumption of the terminal are further reduced, thereby further ensuring the normal progress of the terminal communication service.
  • the heartbeat control information in this embodiment may be heartbeat control information of all services of the terminal, or may be heartbeat control information of one or several services of the terminal. It can be understood that: if the heartbeat control information of one or several services of the terminal is included, the heartbeat control information further includes a service identifier of one or several services, so that the terminal identifies the corresponding service according to the service identifier. Therefore, the heartbeat message of the identified service can be sent according to the heartbeat control information.
  • the processing method of the heartbeat message in this embodiment can be applied to multiple radio access networks, for example: Universal Mobi le Telecommunication System (UMTS) Terrestrial Radio Access Network (Evolved Universal Mobi le Telecommunication System Territorial Radio Access) Network, E- UTRAN), UMTS Territorial Radio Access Network (UTRAN), Global System for Mobi Le Communications (GSM) or GSM Evolution Technology for Enhanced Data Rate (Enhanced Data Rate for GSM Evolution, EDGE) networks such as the GSM EDGE Radio Access Network (GERAN).
  • UMTS Universal Mobi le Telecommunication System
  • E- UTRAN Evolved Universal Mobi le Telecommunication System Territorial Radio Access
  • UTRAN UMTS Territorial Radio Access Network
  • GSM Global System for Mobi Le Communications
  • GSM Evolution Technology for Enhanced Data Rate Enhanced Data Rate for GSM Evolution, EDGE
  • GERAN GSM EDGE Radio Access Network
  • the access network device may be an Evolved NodeB (eNB) or a Home Evolved NodeB (HeNB) in the E-UTRAN, or may be a radio network controller in the UTRAN/GERAN (Radio Network) Control ler, RNC) or Base Station Controller (BSC), may also be an access network logical function in an ePDG in a WLAN of a non-3GPP network, or a base station of an access service network in a WiMAX network (Access Service) Network Base Station, ASN BS), network elements such as access network logic functions in HRPD AN in CDMA networks.
  • eNB Evolved NodeB
  • HeNB Home Evolved NodeB
  • RNC Radio Network) Control ler
  • BSC Base Station Controller
  • FIG. 2 is a schematic flowchart of a method for processing a heartbeat message according to another embodiment of the present invention. As shown in FIG. 2, the method for processing a heartbeat message in this embodiment may include the following steps:
  • Step 201 The eNB sends heartbeat control information to the access layer of the terminal, where the heartbeat control information may include a timer, indication information indicating a heartbeat period, or indication information indicating a rule for adjusting a heartbeat period.
  • the heartbeat control information may include a timer, indication information indicating a heartbeat period, or indication information indicating a rule for adjusting a heartbeat period.
  • the duration of the timer or the heartbeat period indicated by the indication information is greater than a heartbeat period determined by the terminal (or the current heartbeat period of the terminal).
  • the foregoing eNB may send heartbeat control information to an access layer of the terminal by using, but not limited to, a system message, an RRC dedicated message, and a MAC Control Elements message.
  • the eNB may actively trigger the sending process of the heartbeat control information, for example, when the eNB detects that the eNB is overloaded, the eNB triggers sending heartbeat control information to the access layer of the terminal.
  • the eNB may also passively trigger the sending process of the heartbeat control information. For example, when the eNB receives an overload indication sent by another device (such as a core network device), the eNB triggers sending heartbeat control information to the access layer of the terminal.
  • the mobility management entity detects that the ⁇ E is overloaded, and the ⁇ E can send an overload indication to the eNB through the S1-AP message, and the IjeNB sends heartbeat control information to the access layer of the terminal.
  • Step 202 The access layer of the terminal sends the heartbeat control information to the application layer of the terminal.
  • Step 203 The application layer of the terminal sends a heartbeat message to the access layer of the terminal according to the heartbeat control information.
  • the heartbeat control information is a timer
  • the application layer of the terminal receives the timer, the timing is started. After the timer expires, the application layer of the terminal sends a heartbeat message to the lower layer of the terminal, and restarts the timer.
  • the application layer of the terminal may adjust the heartbeat period according to the rule of adjusting the heartbeat period indicated by the indication information, for example: assuming the current heartbeat The period is n.
  • the application layer of the terminal can monitor whether there is a service transmission within a period of time. If no service is sent, the indication information can be The indicated adjustment rule adjusts the heartbeat period to 2n, and further continues to monitor whether there is a service transmission in the next time period. If there is no service transmission yet, the heartbeat period can be adjusted to be 3 ⁇ ;
  • the application layer of the terminal may adjust the heartbeat period according to the heartbeat period indicated by the adjusted heartbeat period, for example: assuming that the current heartbeat period is ⁇ , when adjusting the heartbeat period indication When the heartbeat period is 2 ⁇ , the application layer of the terminal can adjust the heartbeat period to 2 ⁇ ; for example: assuming that the current heartbeat period is ⁇ , when the adjustment heartbeat period indicates that the heartbeat period is m, the application layer of the terminal can adjust the heartbeat period to m.
  • the application layer of the terminal may send a heartbeat message to the access layer of the terminal in the heartbeat period after the adjustment.
  • Step 204 The access layer of the terminal sends the heartbeat message to the server by using an eNB.
  • the access layer of the terminal may first determine whether the heartbeat message can be directly sent by the eNB to the server. If yes, the access layer of the terminal directly sends the eNB to the server. The heartbeat message; if not, the access layer of the terminal first initiates a random access procedure to the eNB, and then sends a heartbeat message to the server through the eNB. If the random access procedure fails, the terminal may re-initiate the random access procedure. After the random access succeeds, the eNB sends a heartbeat message to the server.
  • the application layer of the terminal determines the heartbeat period according to the acquired heartbeat control information, and sends a heartbeat message to the server according to the heartbeat period, instead of the application layer of the terminal. It is decided to send a heartbeat message to the server through the access layer of the terminal, so as to ensure the processing of the normal communication message by the network side device, thereby ensuring the normal operation of the terminal communication service.
  • the heartbeat period indicated by the heartbeat control information is greater than the heartbeat period determined by the terminal itself (that is, the heartbeat period determined by the terminal in the terminal), the signaling processing load of the network side device and the power consumption of the terminal may be further reduced.
  • FIG. 3 is a schematic flowchart of a method for processing a heartbeat message according to another embodiment of the present invention. As shown in FIG. 3, the method for processing a heartbeat message in this embodiment may include the following steps:
  • Step 301 The eNB sends heartbeat control information to the access layer of the terminal, where the heartbeat control information may include a timer or a heartbeat data amount threshold.
  • the duration of the foregoing timer is greater than a heartbeat period determined by the terminal (or the current heartbeat period of the terminal).
  • the heartbeat data volume threshold is greater than the data volume of one heartbeat message.
  • the foregoing eNB may send heartbeat control information to the access layer of the terminal by using, but not limited to, a system message, an RRC dedicated message, and a MAC Control Elements message.
  • the eNB may actively trigger the sending process of the heartbeat control information, for example, when the eNB detects that the eNB is overloaded, the eNB triggers sending heartbeat control information to the access layer of the terminal.
  • the eNB can also passively trigger the sending process of the heartbeat control information. For example, when the eNB receives an overload indication sent by another device (such as a core network device), the eNB triggers sending heartbeat control information to the access layer of the terminal.
  • the mobility management entity detects that the ⁇ E is overloaded, and ⁇ E can send an overload indication to the eNB through the S1-AP message, and after receiving the overload indication, the Bay IjeNB accesses the terminal.
  • the layer sends heartbeat control information.
  • Step 302 The access layer of the terminal sends, according to the heartbeat control information, the heartbeat message of the application layer from the terminal received by the access layer of the terminal to the server by the eNB.
  • the timer when the access layer of the terminal receives the timer, the timer may be started immediately or when a heartbeat message sent by the application layer of the terminal is received.
  • the access layer of the terminal acquires multiple heartbeat messages sent by the application layer of the terminal in a heartbeat period.
  • the access layer of the terminal may detect the heartbeat message by using DPI or other prior art, and cache the heartbeat message.
  • the access layer of the terminal bundles the multiple heartbeat messages buffered by the access layer (for example, the MAC layer) of the terminal, and sends the bundled heartbeat message or the recently received one or more heartbeats to the server through the eNB. Message, and restart the timer.
  • the access layer of the terminal acquires multiple heartbeat messages sent by the application layer of the terminal, and buffers the plurality of heartbeat messages.
  • the amount of messages in the above multiple heartbeat messages is large
  • the threshold of the heartbeat data is equal to or equal to the threshold of the heartbeat data
  • the foregoing multiple heartbeat messages buffered by the access layer (for example, the MAC layer) of the access layer of the terminal are sent by the eNB to the server to send the bundled heartbeat message or the least recently received A heartbeat message.
  • the amount of the message may be the number of the message, or may be the size of the message.
  • the heartbeat data volume threshold may be the number of messages or the size of the message, which is not limited by the present invention.
  • the access layer of the terminal may first determine whether the heartbeat message can be directly sent by the eNB to the server. If yes, the access layer of the terminal directly sends the eNB to the server. The heartbeat message; if not, the access layer of the terminal first initiates a random access procedure to the eNB, and after the random access succeeds, the heartbeat message is sent to the server by the eNB.
  • the access layer of the terminal determines the heartbeat period according to the acquired heartbeat control information, and sends the received heartbeat message of the application layer from the terminal to the server according to the heartbeat period, instead of the terminal.
  • the application layer of the terminal receives the heartbeat message sent by the access layer of the terminal to the server immediately after receiving the heartbeat message, thereby reducing the signaling processing load of the network side device and the power consumption of the terminal, and ensuring the terminal communication.
  • the business is going on normally.
  • the heartbeat period indicated by the heartbeat control information is greater than the heartbeat period determined by the terminal itself (that is, the heartbeat period determined by the terminal in the terminal), the signaling processing load of the network side device and the power consumption of the terminal may be further reduced.
  • FIG. 4 is a schematic structural diagram of a terminal according to another embodiment of the present invention.
  • the terminal of this embodiment may include an obtaining unit 41 and a sending unit 42.
  • the obtaining unit 41 is configured to obtain the heartbeat control information
  • the sending unit 42 is configured to send the heartbeat message according to the heartbeat control information acquired by the obtaining unit 41.
  • the foregoing heartbeat control information acquired by the obtaining unit 41 may include, but is not limited to, one or more of a timer, a heartbeat data amount threshold, indication information indicating a heartbeat period, and indication information indicating a rule for adjusting a heartbeat period.
  • the functions of the terminal in the embodiment corresponding to FIG. 1 , FIG. 2 and FIG. 3 can be implemented by the terminal provided by the embodiment of the present invention.
  • the heartbeat control information acquired by the obtaining unit 41 is a timer
  • the sending unit 42 may be specifically configured to send a heartbeat message after the timer expires.
  • the heartbeat control information acquired by the obtaining unit 41 may be a heartbeat data volume threshold
  • the sending unit 42 may be configured to send the at least one heartbeat message when the message volume of the at least one heartbeat message is greater than or equal to the heartbeat data volume threshold.
  • the heartbeat control information acquired by the acquiring unit 41 may be the indication information indicating the heartbeat period
  • the sending unit 42 may be specifically configured to send the heartbeat message according to the heartbeat period indicated by the indication information, and the heartbeat control acquired by the acquiring unit 41.
  • the information may be indication information indicating a rule for adjusting the heartbeat period
  • the sending unit 42 Specifically, the method may be configured to adjust a heartbeat period according to the foregoing rule for adjusting a heartbeat period indicated by the indication information to obtain an adjusted heartbeat period, and send a heartbeat message according to the adjusted heartbeat period.
  • the terminal obtains the heartbeat control information by using the acquiring unit, so that the sending unit can determine the heartbeat period according to the heartbeat control information acquired by the acquiring unit, and send a heartbeat message to the server according to the determined heartbeat period, instead of determining whether the terminal decides itself.
  • the heartbeat message is sent to the server, the problem that the terminal sends the heartbeat message and affects the processing of the normal communication message by the network side device is ensured, and the processing of the normal communication message by the network side device is ensured, thereby ensuring the normal operation of the terminal communication service.
  • the terminal reduces the number of times the heartbeat message is sent, thereby further reducing
  • the signaling processing burden of the network side device and the power consumption of the terminal further ensure the normal operation of the terminal communication service.
  • FIG. 5 is a schematic structural diagram of an access network device according to another embodiment of the present invention.
  • the access network device in this embodiment may include a sending unit 51, configured to send heartbeat control information to the terminal, to The terminal is caused to send a heartbeat message according to the heartbeat control information.
  • the functions of the access network device in the embodiment corresponding to FIG. 1, FIG. 2 and FIG. 3 can be implemented by the access network device provided by the embodiment of the present invention.
  • the access network device in this embodiment may further include a detecting unit 52, configured to detect a load of the access network device.
  • the sending unit 51 may be specifically configured to use the foregoing access detected by the detecting unit 52.
  • the load of the network device is greater than a preset load threshold, and the heartbeat control information is sent to the terminal.
  • the access network device in this embodiment may further include a receiving unit 53 configured to acquire an overload indication of the core network device, so that the sending unit 51 sends the heartbeat control information to the terminal.
  • the overload indication is that the core network device detects the load of the core network device, and sends the load to the access network device if the load of the core network device is greater than a preset load threshold.
  • the access network device sends the heartbeat control information to the terminal through the sending unit, so that the terminal can send the heartbeat message to the server according to the acquired heartbeat control information, instead of the terminal determining whether to send the heartbeat message to the server.
  • the problem that the terminal sends a heartbeat message and affects the processing of the normal communication message by the network side device can be avoided, and the processing of the normal communication message by the network side device is ensured, thereby ensuring the normal operation of the terminal communication service.
  • the terminal reduces the number of times the heartbeat message is sent. Thereby, the signaling processing burden of the network side device and the power consumption of the terminal are further reduced, thereby further ensuring the normal progress of the terminal communication service.
  • FIG. 6 is a schematic flowchart of a method for acquiring a heartbeat period according to another embodiment of the present invention. As shown in FIG. 6, the method for acquiring a heartbeat period in this embodiment may include the following steps:
  • Step 601 The access network device acquires a heartbeat period of the terminal.
  • the access network device may obtain the heartbeat period of the terminal by using, but not limited to, the following manners:
  • the access network device obtains a heartbeat period reported by the terminal.
  • the access network device may send a heartbeat cycle request message to the access layer of the terminal, where the heartbeat cycle request message includes a bearer identifier and/or a service identifier.
  • the heartbeat cycle request message may include, but is not limited to, a system message, an RRC dedicated message (e.g., a terminal capability query message, i.e., a UE Capability Inquire message), and a new RRC message.
  • the access layer of the terminal queries the application layer of the terminal for the heartbeat period of a certain service.
  • the access layer of the terminal reports the acquired heartbeat period to the access network device, where the heartbeat period can pass, but is not limited to, an RRC dedicated message (for example, a UE Capability Information message) and a new one.
  • the RRC message is reported to the access network device.
  • the access network device can actively trigger the process of acquiring the heartbeat period, for example, the access network device can detect the load of the access network device, and if the load of the access network device is greater than a preset load threshold, the active triggering The requesting to obtain the heartbeat period from the terminal; or the access network device may also passively trigger the acquisition process of the heartbeat period, for example: the access network device may also obtain an overload indication from the core network device, and trigger a request to obtain a heartbeat period from the terminal, the overload The indication is sent to the access network device when the load of the core network device detected by the core network device is greater than a preset load threshold, to indicate to the access network device that the core network device is overloaded.
  • the access network device obtains a heartbeat period of the terminal by detecting a received heartbeat message sent by the terminal.
  • the access network device can detect the heartbeat message by using a technology such as DPI, and the heartbeat message of the service sent by the terminal is started for the first time, and the heartbeat message of the service sent by the terminal is detected for the second time.
  • the time of this timer is the heartbeat period.
  • the access network device can detect the load of the access network device, and if the load of the access network device is greater than a preset load threshold, the heartbeat message is actively triggered to obtain a heartbeat period; or the access network device can also obtain The overload indication from the core network device, the passive trigger detection heartbeat message acquires a heartbeat period, where the overload indication is that the core network device detects the load of the core network device, and if the load of the core network device is greater than a preset load threshold, the access network is accessed.
  • the access network device obtains a heartbeat period sent by the core network device, where the heartbeat period is obtained by detecting, by the core network device, the heartbeat message sent by the terminal.
  • the core network device may send an access message to the access network through an S1-AP message, for example, an Initial UE Context Request message.
  • the device notifies the core network device whether it supports DPI capability. If the core network device supports the DPI capability, for example, the access network device receives the DPI capability indication from the core network device, and the access network device may send a heartbeat cycle request message to the core network device, where the heartbeat cycle request message includes the bearer. Identification and / or business identification.
  • the core network device may detect the heartbeat message of the service indicated by the bearer identifier and/or the service identifier by using a technology such as DPI, and detect the heartbeat message start timer of the service sent by the terminal for the first time.
  • the heartbeat message of the service sent by the terminal is detected for the second time, and the timer is stopped.
  • the time of the timer is the heartbeat period.
  • the core network device sends the heartbeat period to the access network device.
  • the access network device may detect the load of the access network device, and if the load of the access network device is greater than a preset load threshold, actively trigger to request the core network device to acquire a heartbeat period; or the access network device further An overload indication from the core network device may be obtained, and the passive trigger requests the core network device to acquire a heartbeat period, where the overload indication is that the core network device detects the load of the core network device, if the load of the core network device is greater than a preset load threshold. Sent to the access network device.
  • the heartbeat period in this embodiment may be the heartbeat period of all services of the terminal (that is, the heartbeat period of all services is the same), or may also be the heartbeat period of one or several services of the terminal. (That is, each business has its own corresponding heartbeat cycle). It can be understood that: if the heartbeat period of one or several services of the terminal is, the message carrying the heartbeat period may further include a service identifier of the service corresponding to the heartbeat period, so that the access network device terminal according to the service The identification identifies the service corresponding to the heartbeat period, so as to obtain the heartbeat period of one or several services of the terminal, so that the heartbeat period of the terminal with the longest heartbeat period can be determined.
  • the access network device may further set an inactivity timer according to the acquired heartbeat period.
  • an inactive timer is set by the access network device as an example.
  • the inactivity timer is T1
  • the duration of the second timer ⁇ 2 is a heartbeat period.
  • the duration of the inactivity timer set by the access network device according to the heartbeat period may be: setting the duration of T1 to be longer than ⁇ 2.
  • both T1 and ⁇ 2 are activated.
  • P1 time when the access network device detects that the terminal has no data transmission, it starts T1; when the terminal detects that no data is transmitted and received, the terminal starts T2;
  • the terminal sends a heartbeat message, and then requests to enter the connected state.
  • the access network device detects that the terminal has no data transmission, then restarts T1; the terminal detects that no data is transmitted and received. , then restart T2;
  • the terminal sends a heartbeat message, and then requests to enter the connected state.
  • the access network device detects that the terminal has no data transmission, then restarts T1; the terminal detects that no data is transmitted and received. , then restart T2.
  • the access network device obtains the heartbeat period of the terminal, so that the access network device can set the time parameter in the RRM algorithm according to the acquired heartbeat period, thereby reducing the signaling processing burden and the terminal of the network side device.
  • the power consumption ensures the normal operation of the terminal communication service.
  • the method for acquiring the heartbeat period of the present embodiment can be applied to a plurality of radio access networks, for example: Universal Mobi le Telecommunication System (UMTS) Terrestrial Radio Access Network (Evolved Universal Mobi le Telecommunication System Territorial Radio Access) Network, E- UTRAN), UMTS Territorial Radio Access Network (UTRAN), Global System for Mobi Le Communications (GSM) / GSM Evolution Technology for Enhanced Data Rate (Enhanced Data Rate for GSM Evolution, EDGE) networks such as the GSM EDGE Radio Access Network (GERAN).
  • UMTS Universal Mobi le Telecommunication System
  • E- UTRAN Evolved Universal Mobi le Telecommunication System Territorial Radio Access
  • UTRAN UMTS Territorial Radio Access Network
  • GSM Global System for Mobi Le Communications
  • GSM Evolution Technology for Enhanced Data Rate Enhanced Data Rate for GSM Evolution, EDGE
  • GERAN GSM EDGE Radio Access Network
  • the access network device may be an Evolved NodeB (eNB) or a Home Evolved NodeB (HeNB) in the E-UTRAN, or may be a radio network controller in the UTRAN/GERAN (Radio Network).
  • Control ler, RNC) or Base Station Controller (BSC) may also be an access network logical function in an ePDG in a WLAN of a non-3GPP network, or a base station of an access service network in a WiMAX network (Access Service) Network Base Station, ASN BS), network elements such as access network logic functions in HRPD AN in CDMA networks.
  • the access network device may further send the acquired heartbeat period to other access network devices to which the terminal is switched, so that the other access network devices are used.
  • a time parameter (such as an inactivity timer) of the state transition of the foregoing terminal in the RRM algorithm is set.
  • the eNB source eNB
  • the eNB may carry the acquired heartbeat period in the handover request (HANDOVER REQ terminal ST) message sent to the other eNB (target eNB) to which the terminal is handed over.
  • the source eNB may carry the acquired heartbeat period in the Handover Required message sent to the ⁇ E, and the ⁇ E sends the target eNB to the target eNB switched to the terminal.
  • the handover request (Handover Req terminal st) message carries the acquired heartbeat period.
  • FIG. 7 is a schematic structural diagram of an access network device according to another embodiment of the present invention.
  • the access network device in this embodiment may include an obtaining unit 71.
  • the acquiring unit 71 is configured to acquire a heartbeat period of the terminal, where the acquiring the heartbeat period of the terminal by the access network device includes:
  • the access network device acquires a heartbeat period reported by the terminal;
  • the access network device detects the received heartbeat message sent by the terminal, and obtains a heartbeat period of the terminal; or
  • the access network device obtains a heartbeat period sent by the core network device, where the heartbeat period is obtained by detecting, by the core network device, a heartbeat message sent by the terminal.
  • the functions of the access network device in the embodiment of FIG. 6 can be implemented by the access network device provided by the embodiment of the present invention.
  • the access network device of this embodiment may further include a setting unit 81, which may be configured to set an inactivity timer according to the heartbeat period.
  • the access network device obtains the heartbeat period of the terminal by using the acquiring unit, so that the setting unit can set the time parameter in the RRM algorithm according to the heartbeat period acquired by the acquiring unit, thereby reducing the signaling processing burden of the network side device and The power consumption of the terminal ensures the normal operation of the terminal communication service.

Description

心跳消息的处理方法、 心跳周期的获取方法及接入网设备 本申请要求于 2011年 3月 8日提交中国专利局、 申请号为 201110054596. X、 发明 名称为 "心跳消息的处理方法、 心跳周期的获取方法及接入网设备"的中国专利申请的 优先权, 其全部内容通过引用结合在本申请中。 技术领域 本发明实施例涉及通信技术, 尤其涉及一种心跳消息的处理方法、 心跳周期的获取 方法及接入网设备。 发明背景 随着通信技术的发展, 终端上集成了越来越多的应用程序, 例如: MSN、 QQ等即时 通信 (Instant Messenger, IM) 应用程序。 上述 IM应用程序在运行过程中, 其对应的 客户端周期性向服务器发送心跳 (Heart Beat , HB ) 消息, 用以通过网络侧设备向服务 器告知自己的在线状态。上述现有技术中的终端在自己设定的发送时刻通过网络侧设备 向服务器发送心跳消息, 可能会影响网络侧设备对正常通信消息的处理, 甚至会影响终 端通信业务的正常进行。
无线资源管理 ( Radio Resource Management , RRM) 算法中涉及终端 ( Terminal ) 的状态转换的时间参数, 终端可以根据该时间参数, 进行状态的转换, 例如: 接入网设 备可以通过非激活定时器 (User Inact ivity t imer ) 的设置来决定将终端从连接态释 放到空闲态。假设接入网设备设置的非激活定时器为 Tl,接入网设备在没有接收到终端 的数据时, 启动定时器 Tl, 开始计时。 如果在定时器 T1运行期间, 接入网设备接收到 该终端的数据, 则接入网设备停止计时; 该终端业务结束时, 再启动定时器 Tl。 如果定 时器 T1超时, 接入网设备则发起终端上下文释放流程, 将该终端从连接态释放到空闲 态。在终端进入空闲态之后,如果终端需要发送心跳消息,此时终端需要先进入连接态, 由于心跳消息是周期性发送的, 则可能导致终端在连接态与空闲态之间频繁进行切换, 从而增加网络侧设备的信令处理负担和终端的电量消耗,甚至会影响终端通信业务的正 常进行。 发明内容
本发明实施例提供一种心跳消息的处理方法及接入网设备,用以保证网络侧设备对 正常通信消息的处理, 从而保证终端通信业务的正常进行。
本发明的一方面提供了一种心跳消息的处理方法, 包括:
终端获取心跳控制信息;
所述终端根据所述心跳控制信息, 发送心跳消息。
本发明的另一方面提供了一种终端, 包括:
获取单元, 用于获取心跳控制信息;
发送单元, 用于根据所述心跳控制信息, 发送心跳消息。
本发明的另一方面提供了一种接入网设备, 包括:
发送单元, 用于向终端发送心跳控制信息, 以使所述终端根据所述心跳控制信息, 发送心跳消息。
本发明实施例提供一种心跳周期的获取方法及接入网设备,用以减少网络侧设备的 信令处理负担和终端的电量消耗, 从而保证终端通信业务的正常进行。
本发明的一方面提供了一种心跳周期的获取方法, 包括:
接入网设备获取终端的心跳周期;其中,所述接入网设备获取终端的心跳周期包括: 所述接入网设备获取所述终端上报的心跳周期; 或者
所述接入网设备检测接收到的所述终端发送的心跳消息, 获取所述终端的心跳周 期; 或者
所述接入网设备获取核心网设备发送的心跳周期,所述心跳周期是所述核心网设备 通过检测接收到的所述终端发送的心跳消息获取的。
本发明的另一方面提供了一种接入网设备, 包括:
获取单元, 用于获取终端的心跳周期; 其中, 所述接入网设备获取终端的心跳周期 包括:
所述接入网设备获取所述终端上报的心跳周期; 或者
所述接入网设备检测接收到的所述终端发送的心跳消息, 获取所述终端的心跳周 期; 或者
所述接入网设备获取核心网设备发送的心跳周期,所述心跳周期是所述核心网设备 通过检测接收到的所述终端发送的心跳消息获取的。
应用本发明实施例提供的技术方案, 能够保证终端通信业务的正常进行。 附图简要说明 为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有 技术描述中所需要使用的附图作一简单地介绍, 显而易见地, 下面描述中的附图是本发 明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可 以根据这些附图获得其他的附图。
图 1为本发明的一个实施例提供的心跳消息的处理方法的流程示意图;
图 2为本发明的另一个实施例提供的心跳消息的处理方法的流程示意图; 图 3为本发明的另一个实施例提供的心跳消息的处理方法的流程示意图; 图 4为本发明的另一个实施例提供的终端的结构示意图;
图 5为本发明的另一个实施例提供的接入网设备的结构示意图;
图 6为本发明的另一个实施例提供的心跳周期的获取方法的流程示意图; 图 7为本发明的另一个实施例提供的接入网设备的结构示意图;
图 8为本发明的另一个实施例提供的接入网设备的结构示意图;
图 9为本发明的另一个实施例提供的心跳周期的获取方法中的非激活定时器设置示 意图。 实施本发明的方式 为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本发明实施例中 的附图, 对本发明实施例中的技术方案进行清楚、 完整地描述, 显然, 所描述的实施例 是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技 术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范 围。
图 1为本发明的一个实施例提供的心跳消息的处理方法的流程示意图, 如图 1所示, 本实施例的心跳消息的处理方法可以包括以下步骤:
步骤 101、 终端获取心跳控制信息;
其中, 上述心跳控制信息可以包括但不限于定时器、 心跳数据量阈值、 指示心跳周 期的指示信息和指示调整心跳周期的规则的指示信息中的一种或多种。 例如: 终端可以 接收接入网设备向该终端发送的上述心跳控制信息。 其中, 上述心跳控制信息可以是接 入网设备根据终端的设备类型 (如普通终端或智能终端) 和 /或终端的业务类型向终端 发送的。 例如: 接入网设备可以根据终端上报的终端能力信息, 如国际移动设备身份码 ( International Mobi le Equipment Identity, IMEI ) 、 或签约类型 ID ( Subscriber Profi le ID for RAT/Frequency Priority, SPID) 等, 区分终端的设备类型, 接入网 设备可以根据深度包检测 (Deep Packet Inspect ion, DPI ) 区分终端的业务类型。 接 入网设备向对应不同的设备类型的终端发送的心跳控制信息可以不同, 向对应不同的业 务类型的终端发送的心跳控制信息也可以不同。 进一步地, 接入网设备可以主动触发心 跳控制信息的发送过程, 例如: 上述接入网设备可以检测该接入网设备的负载, 若确定 上述接入网设备的负载大于预先设置的负载阈值,则触发向上述终端发送心跳控制信息 的过程; 或者接入网设备可以被动触发心跳控制信息的发送过程, 例如: 接入网设备还 可以获取来自核心网设备的过载指示, 并触发向上述终端发送心跳控制信息的过程, 该 过载指示是核心网设备检测到的该核心网设备的负载大于预先设置的负载阈值时向接 入网设备发送的, 以向接入网设备指示该核心网设备过载。
具体地, 上述接入网设备可以通过但不限于系统消息、 RRC专用消息、 MAC控制单元 (MAC Control Elements ) 消息向终端 (如终端的接入层) 发送心跳控制信息。
步骤 102、 上述终端根据上述心跳控制信息, 发送心跳消息。
例如: 上述终端根据上述心跳控制信息, 向该终端上应用程序对应的服务器发送心 跳消息, 或者通过网络侧设备 (如接入网设备和 /或核心网设备) 向该终端上应用程序 对应的服务器发送心跳消息。
本步骤中, 若上述心跳控制信息为定时器, 终端可以在接收到心跳控制信息后启动 上述定时器, 在上述定时器超时之后, 向服务器发送心跳消息。 进一步的, 终端可以在 发送心跳消息之后, 重启该定时器。 可选的, 终端的接入层在定时器运行期间, 可能获 取到上述终端的应用层发送的至少一个心跳消息, 其中, 终端的应用层可能按照现有技 术中的技术方案频繁发送的心跳消息给终端的接入层。 进一步的, 终端的接入层在上述 定时器超时之后, 向服务器发送上述至少一个心跳消息。 也就是说, 本步骤中的终端在 定时器超时之后发送的心跳消息可以为终端的接入层在定时器超时之前,从终端的应用 层获取的至少一个心跳消息。 可选的, 终端的接入层获取上述终端的应用层在上述定时 器超时之后发送的心跳消息, 并向服务器发送上述心跳消息。 也就是说, 本步骤中的终 端在定时器超时之后发送的心跳消息可以为终端的接入层在定时器超时之后,从终端的 应用层获取的心跳消息。可选的,上述终端的接入层包括无线资源控制(Radio Resource Control , RRC)层、无线链路控制(Radio Link Control , RLC)层、媒体访问控制(Media Access Control , MAC) 层和物理层。 本步骤中, 若上述心跳控制信息为心跳数据量阈值, 终端的接入层获取上述终端的 应用层发送的至少一个心跳消息,在上述至少一个心跳消息的消息量大于或等于心跳数 据量阈值时, 向服务器发送上述至少一个心跳消息。
本领域技术人员可以理解的是: 若本步骤的执行主体为终端的接入层, 那么本实施 例中的心跳控制信息还可以包括定时器和心跳数据量阈值, 只要任何一个(定时器或心 跳数据量阈值)满足条件, 终端的接入层就可以向服务器发送从终端的应用层接收到的 心跳消息。
本步骤中, 若上述心跳控制信息为指示心跳周期的指示信息, 终端可以根据上述心 跳周期, 向服务器发送心跳消息。 若上述心跳控制信息为指示调整心跳周期的规则的指 示信息,终端可以根据上述调整心跳周期的规则对心跳周期进行调整以得到调整后的心 跳周期, 根据上述调整后的心跳周期, 向服务器发送心跳消息。 具体地, 终端的接入层 可以获取上述终端的应用层根据指示信息所指示的心跳周期或根据指示信息所指示的 调整心跳周期的规则对心跳周期进行调整得到调整后的心跳周期发送的心跳消息, 并向 服务器发送上述心跳消息。 可选的, 上述调整心跳周期的规则可以为调整后的心跳周期 为心跳周期的倍数。 例如: 终端可以根据倍数直接对心跳周期进行调整; 或者终端还可 以根据终端在一段时间内是否有业务发送, 根据倍数对心跳周期进行调整。 可选的, 上 述调整心跳周期的规则还可以为按照倍数调整心跳周期, 例如: 终端可以成倍地对心跳 周期进行调整; 或者终端还可以根据终端在一段时间内是否有业务发送, 成倍地对心跳 周期进行调整。
本领域技术人员可以理解的是: 若本步骤的执行主体为终端的应用层, 那么本实施 例中的心跳控制信息还可以包括指示心跳周期的指示信息和调整心跳周期的规则的指 示信息, 只要任何一个 (指示心跳周期的指示信息和调整心跳周期的规则的指示信息) 满足条件, 终端的应用层就可以通过终端的接入层向服务器发送心跳消息。
本实施例中, 终端通过获取心跳控制信息, 根据上述心跳控制信息确定心跳周期, 并根据确定的心跳周期向服务器发送心跳消息,而不是终端自行决定何时向服务器发送 心跳消息, 能够避免终端发送心跳消息而影响网络侧设备对正常通信消息的处理的问 题, 保证了网络侧设备对正常通信消息的处理, 从而保证了终端通信业务的正常进行。
进一步地,如果本实施例中的心跳控制信息所指示的心跳周期大于终端自行确定的 心跳周期(即终端采用现有技术确定的心跳周期),则终端降低了心跳消息的发送次数, 从而进一步减少了网络侧设备的信令处理负担和终端的电量消耗,从而进一步保证了终 端通信业务的正常进行。
需要说明的是: 本实施例中的心跳控制信息可以是终端所有业务的心跳控制信息, 或者还可以是终端某一个或几个业务的心跳控制信息。 可以理解的是: 如果是终端某一 个或几个业务的心跳控制信息,那么该心跳控制信息中还包含有一个或几个业务的业务 标识, 以供终端根据该业务标识, 识别出对应的业务, 从而可以根据该心跳控制信息, 发送识别出的业务的心跳消息。
本实施例的心跳消息的处理方法可以适用于多种无线接入网, 例如: 演进通用移动 通信系统 (Universal Mobi le Telecommunication System , UMTS ) 陆地无线接入网 ( Evolved Universal Mobi le Telecommunication System Territorial Radio Access Network, E- UTRAN) 、 UMTS陆地无线接入网 (UMTS Territorial Radio Access Network, UTRAN) 、 全球移动通信系统 ( Global System for Mobi le Communications , GSM) 或 提高数据速率的 GSM演进技术 ( Enhanced Data rate for GSM Evolution, EDGE) 无线 接入网 (GSM EDGE Radio Access Network, GERAN) 等网络。
其中, 接入网设备可以为 E-UTRAN中的演进型 NodeB ( Evolved NodeB, eNB) 或家庭 演进型 NodeB (Home Evolved NodeB, HeNB) , 还可以为 UTRAN/GERAN中的无线网络控制 器 ( Radio Network Control ler, RNC)或基站控制器 (Base Station Control ler, BSC), 也可以为非 3GPP网络的 WLAN中的 ePDG中的接入网逻辑功能、 WiMAX网络中的接入服务网 络的基站 (Access Service Network Base Station, ASN BS ) 、 CDMA网络中的 HRPD AN 中的接入网逻辑功能等网元。
下面以 E-UTRAN为例, 对本发明实施例的技术方案进行详细说明。 图 2为本发明的另 一个实施例提供的心跳消息的处理方法的流程示意图, 如图 2所示, 本实施例的心跳消 息的处理方法可以包括以下步骤:
步骤 201、 eNB向终端的接入层发送心跳控制信息, 上述心跳控制信息可以包括定时 器、 指示心跳周期的指示信息或指示调整心跳周期的规则的指示信息。
可选的,上述定时器的时长或指示信息所指示的心跳周期大于终端自行确定的心跳 周期 (或终端当前的心跳周期) 。
具体地, 上述 eNB可以通过但不限于系统消息、 RRC专用消息、 MAC控制单元 (MAC Control Elements ) 消息向终端的接入层发送心跳控制信息。 具体地, eNB可以主动触发心跳控制信息的发送过程, 例如: eNB在检测到该 eNB过 载时, 触发向终端的接入层发送心跳控制信息。 eNB还可以被动触发心跳控制信息的发 送过程, 例如: eNB接收到其他设备 (如核心网设备) 发送的过载指示时, 触发向终端 的接入层发送心跳控制信息。 例如: 移动性管理实体 (Mobility Management Entity, 匪 E)检测到该匪 E过载, 匪 E可以通过 Sl-AP消息向 eNB发送过载指示, 贝 IjeNB向终端的接 入层发送心跳控制信息。
步骤 202、 终端的接入层向终端的应用层发送上述心跳控制信息;
步骤 203、 终端的应用层根据上述心跳控制信息, 向终端的接入层发送心跳消息; 本步骤中, 若上述心跳控制信息为定时器, 终端的应用层接收到该定时器时, 启动 该定时器, 终端的应用层在上述定时器超时之后, 向终端的下层发送心跳消息, 并重启 该定时器。
本步骤中, 若上述心跳控制信息为指示调整心跳周期的规则的指示信息时, 终端的 应用层则可以根据该指示信息所指示的调整心跳周期的规则, 调整心跳周期, 例如: 假 设当前的心跳周期为 n, 当调整心跳周期指示的调整规则为心跳周期每次调整时增加一 倍时, 终端的应用层可以监听在一时间段内是否有业务发送, 如果没有业务发送, 则可 以根据指示信息所指示的调整规则, 调整心跳周期为 2n, 进一步继续监听下一时间段内 是否有业务发送, 如果还没有业务发送, 则可以调整心跳周期为 3η;
若上述心跳控制信息为指示心跳周期的指示信息时,终端的应用层则可以根据该调 整心跳周期所指示的心跳周期, 调整心跳周期, 例如: 假设当前的心跳周期为 η, 当调 整心跳周期指示心跳周期为 2η时, 终端的应用层可以调整心跳周期为 2η; 再例如: 假设 当前的心跳周期为 η, 当调整心跳周期指示心跳周期为 m时, 终端的应用层可以调整心跳 周期为 m。
终端的应用层在调整心跳周期之后,可以以调整之后的心跳周期向终端的接入层发 送心跳消息。
步骤 204、 终端的接入层通过 eNB, 向服务器发送上述心跳消息。
具体地, 本步骤中, 终端的接入层通过 eNB向服务器发送心跳消息之前, 可以先判 断是否能直接通过 eNB向服务器发送心跳消息, 如果能, 终端的接入层就直接通过 eNB向 服务器发送心跳消息; 如果不能, 终端的接入层就先向 eNB发起随机接入流程, 然后再 通过 eNB向服务器发送心跳消息。 如果随机接入流程失败, 终端可以重新发起随机接入 流程, 在随机接入成功后, 通过 eNB向服务器发送心跳消息。 本实施例中, 终端的应用层通过获取心跳控制信息, 根据获取的上述心跳控制信息 确定心跳周期, 并通过终端的接入层根据该心跳周期向服务器发送心跳消息, 而不是终 端的应用层自行决定何时通过终端的接入层向服务器发送心跳消息,从而保证网络侧设 备对正常通信消息的处理, 从而保证了终端通信业务的正常进行。 当心跳控制信息所指 示的心跳周期大于终端自行确定的心跳周期 (即终端采用现有技术确定的心跳周期) , 则可以进一步减少网络侧设备的信令处理负担和终端的电量消耗。
图 3为本发明的另一个实施例提供的心跳消息的处理方法的流程示意图, 如图 3所 示, 本实施例的心跳消息的处理方法可以包括以下步骤:
步骤 301、 eNB向终端的接入层发送心跳控制信息; 其中, 上述心跳控制信息可以包 括定时器或心跳数据量阈值。
可选的, 上述定时器的时长大于终端自行确定的心跳周期 (或终端当前的心跳周 期) 。 可选的, 心跳数据量阈值大于一条心跳消息的数据量。
具体地, 上述 eNB可以通过但不限于系统消息、 RRC专用消息、 MAC控制单元 (MAC Control Elements ) 消息向终端的接入层发送心跳控制信息。
具体地, eNB可以主动触发心跳控制信息的发送过程, 例如: eNB在检测到该 eNB过 载时, 触发向终端的接入层发送心跳控制信息。 eNB还可以被动触发心跳控制信息的发 送过程, 例如: eNB接收到其他设备 (如核心网设备) 发送的过载指示时, 触发向终端 的接入层发送心跳控制信息。 例如: 移动性管理实体 (Mobility Management Entity, 匪 E)检测到该匪 E过载, 匪 E可以通过 Sl-AP消息向 eNB发送过载指示, 贝 IjeNB在收到该过 载指示后, 向终端的接入层发送心跳控制信息。
步骤 302、 终端的接入层根据上述心跳控制信息, 通过 eNB向服务器发送该终端的接 入层接收的来自终端的应用层的心跳消息。
本步骤中, 若上述心跳控制信息为定时器, 终端的接入层接收到该定时器时, 可以 立即启动该定时器或在接收到终端的应用层发送的心跳消息时启动。终端的接入层获取 终端的应用层以心跳周期发送的多个心跳消息例如, 终端的接入层可以利用 DPI或其他 现有技术检测心跳消息, 并缓存上述心跳消息。 在上述定时器超时之后, 终端的接入层 捆绑终端的接入层(例如 MAC层)所缓存的上述多个心跳消息, 通过 eNB向服务器发送捆 绑的心跳消息或最近接收的一个或多个心跳消息, 并重启该定时器。
本步骤中, 若上述心跳控制信息为心跳数据量阈值, 终端的接入层获取上述终端的 应用层发送的多个心跳消息, 缓存上述多个心跳消息。 在上述多个心跳消息的消息量大 于或等于所述心跳数据量阈值时, 终端的接入层捆绑终端的接入层(例如 MAC层)所缓存 的上述多个心跳消息, 通过 eNB向服务器发送捆绑的心跳消息或最近接收的至少一个心 跳消息。 其中, 消息量可以是消息数量, 还可以是消息大小, 本发明对此不进行限制; 相应的,心跳数据量阈值可以是消息数量,还可以是消息大小,本发明对此不进行限制。
具体地, 本步骤中, 终端的接入层通过 eNB向服务器发送心跳消息之前, 可以先判 断是否能直接通过 eNB向服务器发送心跳消息, 如果能, 终端的接入层就直接通过 eNB向 服务器发送心跳消息; 如果不能, 终端的接入层就先向 eNB发起随机接入流程, 在随机 接入成功后, 通过 eNB向服务器发送心跳消息。
本实施例中, 终端的接入层通过获取心跳控制信息, 根据获取的上述心跳控制信息 确定心跳周期, 并根据该心跳周期向服务器发送接收的来自终端的应用层的心跳消息, 而不是终端的接入层接收到终端的应用层自行决定何时向终端的接入层发送的心跳消 息之后立即向服务器发送, 从而减少了网络侧设备的信令处理负担和终端的电量消耗, 保证了终端通信业务的正常进行。当心跳控制信息所指示的心跳周期大于终端自行确定 的心跳周期 (即终端采用现有技术确定的心跳周期) , 则可以进一步减少网络侧设备的 信令处理负担和终端的电量消耗。
图 4为本发明的另一个实施例提供的终端的结构示意图, 如图 4所示, 本实施例的终 端可以包括获取单元 41和发送单元 42。 其中, 获取单元 41用于获取心跳控制信息; 发送 单元 42用于根据获取单元 41获取的上述心跳控制信息, 发送心跳消息。 其中, 获取单元 41获取的上述心跳控制信息可以包括但不限于定时器、 心跳数据量阈值、 指示心跳周期 的指示信息和指示调整心跳周期的规则的指示信息中的一种或多种。
图 1、图 2和图 3对应的实施例中终端的功能均可以由本发明实施例提供的终端实现。 具体地, 获取单元 41获取的上述心跳控制信息为定时器, 发送单元 42具体可以用于 在上述定时器超时之后, 发送心跳消息。
具体地, 获取单元 41获取的上述心跳控制信息可以为心跳数据量阈值, 发送单元 42 具体可以用于在至少一个心跳消息的消息量大于或等于上述心跳数据量阈值时,发送上 述至少一个心跳消息。
具体地, 获取单元 41获取的上述心跳控制信息可以为指示心跳周期的指示信息, 发 送单元 42具体可以用于根据上述指示信息所指示的上述心跳周期发送心跳消息; 获取单 元 41获取的上述心跳控制信息可以为指示调整心跳周期的规则的指示信息,发送单元 42 具体可以用于根据上述指示信息所指示的上述调整心跳周期的规则对心跳周期进行调 整以得到调整后的心跳周期, 根据调整后的心跳周期发送心跳消息。
本实施例中, 终端通过获取单元获取心跳控制信息, 从而使得发送单元能够根据获 取单元获取的上述心跳控制信息确定心跳周期, 并根据确定的心跳周期向服务器发送心 跳消息, 而不是终端自行决定何时向服务器发送心跳消息, 能够避免终端发送心跳消息 而影响网络侧设备对正常通信消息的处理的问题,保证了网络侧设备对正常通信消息的 处理, 从而保证了终端通信业务的正常进行。
进一步地,如果本实施例中的心跳控制信息所指示的心跳周期大于终端自行确定的 心跳周期(即终端采用现有技术确定的心跳周期),则终端降低了心跳消息的发送次数, 从而进一步减少了网络侧设备的信令处理负担和终端的电量消耗,从而进一步保证了终 端通信业务的正常进行。
图 5为本发明的另一个实施例提供的接入网设备的结构示意图, 如图 5所示, 本实施 例的接入网设备可以包括发送单元 51, 用于向终端发送心跳控制信息, 以使上述终端根 据上述心跳控制信息, 发送心跳消息。
图 1、 图 2和图 3对应的实施例中接入网设备的功能均可以由本发明实施例提供的接 入网设备实现。
可选的, 本实施例的接入网设备还可以进一步包括检测单元 52, 用于检测该接入网 设备的负载; 相应地, 发送单元 51具体可以用于若检测单元 52检测的上述接入网设备的 负载大于预先设置的负载阈值, 向上述终端发送上述心跳控制信息。
可选的, 本实施例的接入网设备还可以进一步包括接收单元 53, 用于获取核心网设 备的过载指示, 以使发送单元 51向终端发送心跳控制信息。 该过载指示是核心网设备检 测该核心网设备的负载,若上述核心网设备的负载大于预先设置的负载阈值时向接入网 设备发送的。
本实施例中, 接入网设备通过发送单元向终端发送心跳控制信息, 从而使得上述终 端能够根据获取的上述心跳控制信息, 向服务器发送心跳消息, 而不是终端自行决定何 时向服务器发送心跳消息, 能够避免终端发送心跳消息而影响网络侧设备对正常通信消 息的处理的问题, 保证了网络侧设备对正常通信消息的处理, 从而保证了终端通信业务 的正常进行。
进一步地,如果本实施例中的心跳控制信息所指示的心跳周期大于终端自行确定的 心跳周期(即终端采用现有技术确定的心跳周期),则终端降低了心跳消息的发送次数, 从而进一步减少了网络侧设备的信令处理负担和终端的电量消耗,从而进一步保证了终 端通信业务的正常进行。
图 6为本发明的另一个实施例提供的心跳周期的获取方法的流程示意图, 如图 6所 示, 本实施例的心跳周期的获取方法可以包括以下步骤:
步骤 601、 接入网设备获取终端的心跳周期;
具体地, 上述接入网设备可以通过但不限于以下方式获取终端的心跳周期:
A、 接入网设备获取上述终端上报的心跳周期;
具体地, 接入网设备可以向终端的接入层发送心跳周期请求消息, 该心跳周期请求 消息中包含承载标识和 /或业务标识。 上述心跳周期请求消息可以包括但不限于系统消 息、 RRC专用消息 (例如: 终端能力查询消息, 即 UE Capability Inquire消息) 、 新的 RRC消息。 终端的接入层接收到该心跳周期请求消息之后, 向终端的应用层查询某一个 业务的心跳周期。 终端的接入层获取到该心跳周期之后, 向接入网设备上报获取的心跳 周期,该心跳周期可以通过但不限于 RRC专用消息(例如:终端能力信息(UE Capability Information) 消息) 和新的 RRC消息向接入网设备上报。
进一步地, 接入网设备可以主动触发心跳周期的获取过程, 例如: 接入网设备可以 检测该接入网设备的负载, 若上述接入网设备的负载大于预先设置的负载阈值, 则主动 触发向终端请求获取心跳周期; 或者接入网设备还可以被动触发心跳周期的获取过程, 例如: 接入网设备还可以获取来自核心网设备的过载指示, 并触发向终端请求获取心跳 周期,该过载指示是核心网设备检测的该核心网设备的负载大于预先设置的负载阈值时 向接入网设备发送的, 以向接入网设备指示该核心网设备过载。
B、 接入网设备通过检测接收到的上述终端发送的心跳消息来获取上述终端的心跳 周期;
具体地, 接入网设备可以利用 DPI等技术检测心跳消息, 第一次检测到终端发送的 某个业务的心跳消息启动定时器, 第二次检测到终端发送的该业务的心跳消息, 停止定 时器, 该定时器的时间即为心跳周期。
进一步地, 接入网设备可以检测该接入网设备的负载, 若上述接入网设备的负载大 于预先设置的负载阈值, 则主动触发检测心跳消息获取心跳周期; 或者接入网设备还可 以获取来自核心网设备的过载指示, 被动触发检测心跳消息获取心跳周期, 该过载指示 是核心网设备检测该核心网设备的负载,若上述核心网设备的负载大于预先设置的负载 阈值时向接入网设备发送的。 c, 接入网设备获取核心网设备发送的心跳周期, 上述心跳周期是上述核心网设备 通过检测接收到的上述终端发送的心跳消息获取的。
具体地, 核心网设备 (例如: 分组数据网络网关 (Packet Data Network Gateway, 简称 P-GW) ) 可以通过 Sl-AP消息, 例如: 初始终端上下文请求 (Initial UE Context Request )消息, 向接入网设备通知该核心网设备是否支持 DPI能力。 如果核心网设备支 持 DPI能力, 例如: 接入网设备接收到来自核心网设备支持 DPI能力指示, 接入网设备则 可以向该核心网设备发送心跳周期请求消息, 该心跳周期请求消息中包含承载标识和 / 或业务标识。 核心网设备接收到心跳周期请求消息之后, 可以利用 DPI等技术检测上述 承载标识和 /或业务标识所指示的业务的心跳消息, 第一次检测到终端发送的该业务的 心跳消息启动定时器, 第二次检测到终端发送的该业务的心跳消息, 停止定时器, 该定 时器的时间即为心跳周期。 核心网设备检测到心跳周期之后, 向接入网设备发送该心跳 周期。
进一步地, 接入网设备可以检测该接入网设备的负载, 若上述接入网设备的负载大 于预先设置的负载阈值, 则主动触发向核心网设备请求获取心跳周期; 或者接入网设备 还可以获取来自核心网设备的过载指示, 被动触发向核心网设备请求获取心跳周期, 该 过载指示是核心网设备检测该核心网设备的负载,若上述核心网设备的负载大于预先设 置的负载阈值时向接入网设备发送的。
需要说明的是:本实施例中的心跳周期可以是终端所有业务的心跳周期(也就是说, 所有业务的心跳周期都是一样的),或者还可以是终端某一个或几个业务的心跳周期(也 就是说, 每个业务有自己对应的心跳周期) 。 可以理解的是: 如果是终端某一个或几个 业务的心跳周期,那么携带该心跳周期的消息可以还包含有与该心跳周期对应的业务的 业务标识, 以供接入网设备终端根据该业务标识, 识别出该心跳周期对应的业务, 从而 获取到该终端的某一个或几个业务的心跳周期,从而可以确定出一个心跳周期最长的作 为该终端的心跳周期。
进一步地, 步骤 601之后, 接入网设备还可以根据获取的上述心跳周期, 设置非激 活定时器。 为使得本发明实施例提供的方法更加清楚, 下面将以接入网设备设置非激活 定时器作为举例。 如图 9所示, 非激活定时器为 Tl, 第二定时器 Τ2的时长为心跳周期。 接入网设备根据心跳周期设置非激活定时器的时长可以为:将 T1的时长设置为大于 Τ2的 时长。 可选的, 在某一时刻 (如图 9所示的 P1时刻) , T1和 Τ2均启动。 通过上述对 T1的 设置,可以避免由于 Tl设置的不合理而导致的终端在连接态与空闲态之间频繁进行切换 的问题。
P1时刻: 接入网设备检测到终端没有数据的传输, 则启动 T1 ; 终端检测到没有数据 的发送和接收, 则启动 T2;
P2时刻: T1超时, 接入网设备将该终端释放到空闲态;
P3时刻: T2超时, 终端为发送心跳消息, 则请求进入连接态; 心跳消息发送完成后, 接入网设备检测到终端没有数据的传输, 则重新启动 T1 ; 终端检测到没有数据的发送和 接收, 则重新启动 T2;
P4时刻: T1超时, 接入网设备将该终端释放到空闲态;
P5时刻: T2超时, 终端为发送心跳消息, 则请求进入连接态; 心跳消息发送完成后, 接入网设备检测到终端没有数据的传输, 则重新启动 T1 ; 终端检测到没有数据的发送和 接收, 则重新启动 T2。
本实施例中, 通过接入网设备获取终端的心跳周期, 从而使得该接入网设备能够根 据获取的心跳周期, 设置 RRM算法中的时间参数, 减少了网络侧设备的信令处理负担和 终端的电量消耗, 从而保证了终端通信业务的正常进行。
本实施例的心跳周期的获取方法可以适用于多种无线接入网, 例如: 演进通用移动 通信系统 (Universal Mobi le Telecommunication System , UMTS ) 陆地无线接入网 ( Evolved Universal Mobi le Telecommunication System Territorial Radio Access Network, E- UTRAN) 、 UMTS陆地无线接入网 (UMTS Territorial Radio Access Network, UTRAN) 、 全球移动通信系统 (Global System for Mobi le Communications , GSM) /提 高数据速率的 GSM演进技术 ( Enhanced Data rate for GSM Evolution, EDGE ) 无线接 入网 (GSM EDGE Radio Access Network, GERAN) 等网络。
其中的接入网设备可以为 E-UTRAN中的演进型 NodeB ( Evolved NodeB, eNB) 或家庭 演进型 NodeB (Home Evolved NodeB, HeNB) , 还可以为 UTRAN/GERAN中的无线网络控制 器(Radio Network Control ler, RNC)或基站控制器 (Base Station Control ler, BSC), 也可以为非 3GPP网络的 WLAN中的 ePDG中的接入网逻辑功能、 WiMAX网络中的接入服务网 络的基站 (Access Service Network Base Station, ASN BS ) 、 CDMA网络中的 HRPD AN 中的接入网逻辑功能等网元。
进一步地, 当上述终端切换到其他接入网设备时, 上述接入网设备还可以进一步向 上述终端切换到的其他接入网设备发送获取的上述心跳周期, 以使上述其他接入网设备 根据获取的上述心跳周期, 设置 RRM算法中上述终端的状态转换的时间参数 (如非激活 定时器) 。 例如: 以 E-UTRAN的 X2接口切换为例, eNB (源 eNB ) 可以在向上述终端切换 到的其他 eNB (目标 eNB) 发送的切换请求 (HANDOVER REQ终端 ST) 消息中携带获取的心 跳周期。 又如: 以 E-UTRAN的 S1接口切换为例, 源 eNB可以在向匪 E发送的需要切换 (Handover Required) 消息中携带获取的心跳周期、 以及匪 E在向上述终端切换到的目 标 eNB发送的切换请求 (Handover Req终端 st ) 消息中携带获取的心跳周期。
图 7为本发明的另一个实施例提供的接入网设备的结构示意图, 如图 7所示, 本实施 例的接入网设备可以包括获取单元 71。 其中, 获取单元 71用于获取终端的心跳周期; 其 中, 上述接入网设备获取终端的心跳周期包括:
上述接入网设备获取上述终端上报的心跳周期; 或者
上述接入网设备检测接收到的上述终端发送的心跳消息, 获取上述终端的心跳周 期; 或者
上述接入网设备获取核心网设备发送的心跳周期,上述心跳周期是上述核心网设备 通过检测接收到的上述终端发送的心跳消息获取的。
图 6对应的实施例中接入网设备的功能均可以由本发明实施例提供的接入网设备实 现。
进一步地, 如图 8所示, 本实施例的接入网设备还可以进一步包括设置单元 81, 可 以用于根据所述心跳周期, 设置非激活定时器。
本实施例中, 接入网设备通过获取单元获取终端的心跳周期, 从而使得设置单元能 够根据获取单元获取的心跳周期, 设置 RRM算法中的时间参数, 减少了网络侧设备的信 令处理负担和终端的电量消耗, 从而保证了终端通信业务的正常进行。
需要说明的是: 对于前述的各方法实施例, 为了简单描述, 故将其都表述为一系列 的动作组合, 但是本领域技术人员应该知悉, 本发明并不受所描述的动作顺序的限制, 因为依据本发明, 某些步骤可以采用其他顺序或者同时进行。 其次, 本领域技术人员也 应该知悉, 说明书中所描述的实施例均属于优选实施例, 所涉及的动作和模块并不一定 是本发明所必须的。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分, 可以参见其他实施例的相关描述。
本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分步骤可以通过程 序指令相关的硬件来完成, 前述的程序可以存储于一计算机可读取存储介质中, 该程序 在执行时, 执行包括上述方法实施例的步骤; 而前述的存储介质包括: R0M、 RAM, 磁碟 或者光盘等各种可以存储程序代码的介质。
最后应说明的是: 以上实施例仅用以说明本发明的技术方案, 而非对其限制; 尽管 参照前述实施例对本发明进行了详细的说明, 本领域的普通技术人员应当理解: 其依然 可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替 换; 而这些修改或者替换, 并不使相应技术方案的本质脱离本发明各实施例技术方案的 精神和范围。

Claims

权利要求
1、 一种心跳消息的处理方法, 其特征在于, 包括:
终端获取心跳控制信息;
所述终端根据所述心跳控制信息, 发送心跳消息。
2、 根据权利要求 1所述的方法, 其特征在于, 所述心跳控制信息为定时器; 所述终端根据所述心跳控制信息, 发送心跳消息, 具体包括: 所述终端在所述定时 器超时之后, 发送心跳消息。
3、 根据权利要求 2所述的方法, 其特征在于, 所述终端在所述定时器超时之后发送 的心跳消息包括:
所述终端的接入层在所述定时器超时之前,从所述终端的应用层获取的至少一个心 跳消息; 或者
所述终端的接入层在所述定时器超时之后, 从所述终端的应用层获取的心跳消息。
4、根据权利要求 1所述的方法,其特征在于,所述心跳控制信息为心跳数据量阈值; 所述终端根据所述心跳控制信息, 发送心跳消息, 具体包括: 所述终端的接入层从 所述终端的应用层获取的至少一个心跳消息的消息量大于或等于所述心跳数据量阈值 时, 发送所述至少一个心跳消息。
5、 根据权利要求 1所述的方法, 其特征在于,
所述心跳控制信息为指示心跳周期的指示信息, 所述终端根据所述心跳控制信息, 发送心跳消息, 具体包括: 所述终端根据所述心跳周期发送心跳消息; 或者,
所述心跳控制信息为指示调整心跳周期的规则的指示信息,所述终端根据所述心跳 控制信息, 发送心跳消息, 具体包括: 所述终端根据所述调整心跳周期的规则对心跳周 期进行调整以得到调整后的心跳周期, 根据调整后的心跳周期发送心跳消息。
6、 根据权利要求 5所述的方法, 其特征在于, 所述调整心跳周期的规则包括: 调整 后的心跳周期为心跳周期的倍数或按照倍数调整心跳周期。
7、 根据权利要求 5所述的方法, 其特征在于, 所述心跳消息是所述终端的接入层从 所述终端的应用层获取的。
8、 根据权利要求 1至 7任一权利要求所述的方法, 其特征在于, 所述发送心跳消息, 具体包括:
向服务器发送心跳消息。
9、 根据权利要求 1至 7任一权利要求所述的方法, 其特征在于, 所述心跳控制信息 是接入网设备发送给所述终端的。
10、 根据权利要求 9所述的方法, 其特征在于,
所述心跳控制信息是所述接入网设备确定该接入网设备的负载大于预先设置的负 载阈值时, 向所述终端发送的; 或者,
所述心跳控制信息是所述接入网设备获取到核心网设备的过载指示时, 向所述终端 发送的。
11、 一种终端, 其特征在于, 包括:
获取单元, 用于获取心跳控制信息;
发送单元, 用于根据所述心跳控制信息, 发送心跳消息。
12、 根据权利要求 11所述的终端, 其特征在于, 所述心跳控制信息为定时器, 所述 发送单元具体用于
在所述定时器超时之后, 发送心跳消息。
13、 根据权利要求 11所述的终端, 其特征在于, 所述心跳控制信息为心跳数据量阈 值, 所述发送单元具体用于
在至少一个心跳消息的消息量大于或等于所述心跳数据量阈值时,发送所述至少一 个心跳消息。
14、 根据权利要求 11所述的终端, 其特征在于,
所述心跳控制信息为指示心跳周期的指示信息,所述发送单元具体用于根据所述心 跳周期发送心跳消息;
所述心跳控制信息为指示调整心跳周期的规则的指示信息, 所述发送单元具体用 于: 根据所述调整心跳周期的规则对心跳周期进行调整以得到调整后的心跳周期, 根据 调整后的心跳周期发送心跳消息。
15、 一种接入网设备, 其特征在于, 包括:
发送单元, 用于向终端发送心跳控制信息, 以使所述终端根据所述心跳控制信息, 发送心跳消息。
16、 根据权利要求 15所述的接入网设备, 其特征在于, 还包括检测单元, 用于检测 所述接入网设备的负载; 所述发送单元具体用于
若所述检测单元检测的所述接入网设备的负载大于预先设置的负载阈值, 向所述终 端发送所述心跳控制信息。
17、 根据权利要求 15或 16所述的接入网设备, 其特征在于, 还包括接收单元, 用于 获取核心网设备的过载指示, 以使所述发送单元向终端发送心跳控制信息。
18、 一种心跳周期的获取方法, 其特征在于, 包括:
接入网设备获取终端的心跳周期;其中,所述接入网设备获取终端的心跳周期包括: 所述接入网设备获取所述终端上报的心跳周期; 或者
所述接入网设备检测接收到的所述终端发送的心跳消息, 获取所述终端的心跳周 期; 或者
所述接入网设备获取核心网设备发送的心跳周期,所述心跳周期是所述核心网设备 通过检测接收到的所述终端发送的心跳消息获取的。
19、 根据权利要求 18所述的方法, 其特征在于, 所述方法还包括:
所述接入网设备根据所述心跳周期, 设置非激活定时器。
20、 一种接入网设备, 其特征在于, 包括:
获取单元, 用于获取终端的心跳周期; 其中, 所述接入网设备获取终端的心跳周期 包括:
所述接入网设备获取所述终端上报的心跳周期; 或者
所述接入网设备检测接收到的所述终端发送的心跳消息, 获取所述终端的心跳周 期; 或者
所述接入网设备获取核心网设备发送的心跳周期,所述心跳周期是所述核心网设备 通过检测接收到的所述终端发送的心跳消息获取的。
21、 根据权利要求 20所述的接入网设备, 其特征在于, 所述接入网设备还包括设置 单元, 用于
根据所述心跳周期, 设置非激活定时器。
PCT/CN2012/071424 2011-03-08 2012-02-22 心跳消息的处理方法、心跳周期的获取方法及接入网设备 WO2012119512A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP12754419.5A EP2685668B1 (en) 2011-03-08 2012-02-22 Processing method of a heartbeat message, a terminal and an access network device
US14/016,824 US9220125B2 (en) 2011-03-08 2013-09-03 Method for processing heartbeat message, method for acquiring heartbeat period, and access network device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110054596.XA CN102685768B (zh) 2011-03-08 2011-03-08 心跳消息的处理方法、心跳周期的获取方法及接入网设备
CN201110054596.X 2011-03-08

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/016,824 Continuation US9220125B2 (en) 2011-03-08 2013-09-03 Method for processing heartbeat message, method for acquiring heartbeat period, and access network device

Publications (1)

Publication Number Publication Date
WO2012119512A1 true WO2012119512A1 (zh) 2012-09-13

Family

ID=46797484

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/071424 WO2012119512A1 (zh) 2011-03-08 2012-02-22 心跳消息的处理方法、心跳周期的获取方法及接入网设备

Country Status (4)

Country Link
US (1) US9220125B2 (zh)
EP (1) EP2685668B1 (zh)
CN (1) CN102685768B (zh)
WO (1) WO2012119512A1 (zh)

Families Citing this family (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103906033A (zh) * 2012-12-28 2014-07-02 中国电信股份有限公司 用户终端上网络通信请求信令的发送方法与装置
CN103916424B (zh) * 2012-12-31 2018-05-22 中国移动通信集团广东有限公司 一种管控应用程序心跳包的方法、通信终端和通信网络
CN104135460B (zh) * 2013-05-03 2017-11-24 华为软件技术有限公司 一种推送通道保活方法和推送服务器
CN103858389B (zh) * 2013-05-31 2016-11-02 华为技术有限公司 一种传输会话的方法、客户端及Push服务器
CN104348522B (zh) * 2013-07-23 2016-09-21 普天信息技术研究院有限公司 一种适用于低功耗蓝牙设备的心跳保持的方法
US9338066B2 (en) * 2013-09-05 2016-05-10 Avaya Inc. Tunnel keep-alive timeout mechanism based on quality of service (QoS) value of received keep-alive messages
CN104703146B (zh) 2013-12-09 2019-03-08 腾讯科技(深圳)有限公司 信息推送方法、客户端及系统
CN104852946A (zh) * 2014-02-19 2015-08-19 中国移动通信集团公司 一种发送心跳报文的方法和设备
CN108770065B (zh) * 2014-07-22 2021-10-26 华为技术有限公司 一种控制空口资源的方法、设备及系统
WO2016043633A1 (en) * 2014-09-15 2016-03-24 Telefonaktiebolaget L M Ericsson (Publ) Methods and arrangements for active measurements
CN105517194A (zh) * 2014-10-15 2016-04-20 上海点艺信息技术有限公司 心跳包的发送频率的设定方法、保持连线的方法及其装置
CN105916100B (zh) * 2016-04-01 2020-04-28 华为技术有限公司 代理心跳包的方法、装置和通信系统
CN105959997B (zh) * 2016-04-19 2019-06-18 北京小米移动软件有限公司 心跳报文的发送方法、装置及终端
CN106251413A (zh) * 2016-07-25 2016-12-21 苏州爱开客信息技术有限公司 车辆出入控制系统的基站通信保持方法
CN108737142B (zh) * 2017-04-21 2020-11-06 华为技术有限公司 一种调整节点检测参数的方法、节点和网状网络
CN107197507B (zh) * 2017-05-12 2020-07-17 奇酷互联网络科技(深圳)有限公司 控制网络链接的方法、装置及移动终端
CN109602413B (zh) * 2018-12-06 2022-01-18 Oppo广东移动通信有限公司 心跳检测方法、装置、存储介质及服务器
US11003369B1 (en) 2019-01-14 2021-05-11 Pure Storage, Inc. Performing a tune-up procedure on a storage device during a boot process
CN109818832A (zh) * 2019-03-07 2019-05-28 南京文卓星辉科技有限公司 公网对讲设备、公网对讲设备的心跳处理方法及介质
CN114342447B (zh) * 2019-09-06 2023-08-29 上海诺基亚贝尔股份有限公司 管理用于通信监督的通知
CN111263471B (zh) * 2020-04-10 2024-03-15 龙尚科技(上海)有限公司 Rrc连接释放方法、装置、无线模块、终端、系统和介质
CN114157591B (zh) * 2020-09-07 2023-10-13 大唐移动通信设备有限公司 心跳检测方法、装置、系统、电子设备及存储介质
CN115208799B (zh) * 2021-03-26 2023-10-03 大唐移动通信设备有限公司 一种心跳管理方法、装置及存储介质
CN113873017B (zh) * 2021-09-06 2023-12-26 绿盟科技集团股份有限公司 一种心跳周期调整方法、装置、客户端以及服务器
CN114466437B (zh) * 2022-01-24 2024-02-20 深圳市睿联技术股份有限公司 心跳保活方法、装置、设备及计算机可读存储介质
US11902138B2 (en) * 2022-01-26 2024-02-13 Getac Technology Corporation Connection maintenance method for internet of things device
CN115134237A (zh) * 2022-08-30 2022-09-30 建信金融科技有限责任公司 数据更新方法、心跳检测方法、装置、设备及介质

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1870646A (zh) * 2006-02-17 2006-11-29 华为技术有限公司 一种媒体网关控制协议中心跳机制的改进方法
CN101043388A (zh) * 2007-03-27 2007-09-26 杭州华为三康技术有限公司 检测Web接入用户终端是否在线的方法、设备和系统
CN101217482A (zh) * 2008-01-18 2008-07-09 杭州华三通信技术有限公司 一种穿越nat下发策略的方法和一种通信装置
CN101518030A (zh) * 2006-09-28 2009-08-26 卢森特技术有限公司 用于自动配置通信网络单元的技术
CN101557405A (zh) * 2009-06-01 2009-10-14 杭州华三通信技术有限公司 一种入口认证方法及其对应的网关设备、服务器
CN101778019A (zh) * 2010-04-01 2010-07-14 杭州华三通信技术有限公司 一种心跳检测报文的发送方法和设备
CN101808044A (zh) * 2010-03-19 2010-08-18 中兴通讯股份有限公司 一种流控制传输协议多归属选路的方法及装置

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5832195A (en) * 1996-11-20 1998-11-03 Allen-Bradley Company, Llc Peer-to-peer fault identification
US6782496B2 (en) * 2001-04-13 2004-08-24 Hewlett-Packard Development Company, L.P. Adaptive heartbeats
US7421478B1 (en) * 2002-03-07 2008-09-02 Cisco Technology, Inc. Method and apparatus for exchanging heartbeat messages and configuration information between nodes operating in a master-slave configuration
DE602004018927D1 (de) 2003-06-18 2009-02-26 Genelux Corp Modifizierte rekombinante vacciniaviren, verwendungen davon
US7962623B2 (en) * 2004-06-30 2011-06-14 Microsoft Corporation Sustaining session connections
US7668962B2 (en) * 2005-02-07 2010-02-23 Symantec Operating Corporation System and method for connection failover using redirection
US8804486B2 (en) * 2007-03-05 2014-08-12 Alcatel Lucent Base stations routing traffic over a packet backhaul network to multiple routing elements
ATE484935T1 (de) * 2007-06-22 2010-10-15 Ericsson Telefon Ab L M Umgang mit periodischen ortsaktualisierungen
US8717974B2 (en) * 2008-02-06 2014-05-06 Broadcom Corporation Handheld computing unit coordination of femtocell AP functions
EP2088714B1 (en) * 2008-02-11 2011-07-13 Motorola Mobility, Inc. UMA/GAN keep-alive mechanism in wireless communication networks
US8724486B2 (en) * 2008-05-02 2014-05-13 Pine Valley Investments, Inc. System and method for heartbeat signal generation
CN102138362A (zh) * 2008-08-29 2011-07-27 交互数字专利控股公司 使用多无线电的装置的ip移动性
US8090797B2 (en) * 2009-05-02 2012-01-03 Citrix Systems, Inc. Methods and systems for launching applications into existing isolation environments
CN102036349B (zh) * 2009-09-29 2015-03-25 联想(北京)有限公司 维持终端和网络服务器连接的方法、终端及网络服务器
EP2577492A4 (en) * 2010-05-28 2015-01-07 Openpeak Inc SHARED PULSATION SERVICE FOR MANAGED DEVICES
US9244796B2 (en) * 2011-11-15 2016-01-26 International Business Machines Corporation Diagnostic heartbeat throttling

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1870646A (zh) * 2006-02-17 2006-11-29 华为技术有限公司 一种媒体网关控制协议中心跳机制的改进方法
CN101518030A (zh) * 2006-09-28 2009-08-26 卢森特技术有限公司 用于自动配置通信网络单元的技术
CN101043388A (zh) * 2007-03-27 2007-09-26 杭州华为三康技术有限公司 检测Web接入用户终端是否在线的方法、设备和系统
CN101217482A (zh) * 2008-01-18 2008-07-09 杭州华三通信技术有限公司 一种穿越nat下发策略的方法和一种通信装置
CN101557405A (zh) * 2009-06-01 2009-10-14 杭州华三通信技术有限公司 一种入口认证方法及其对应的网关设备、服务器
CN101808044A (zh) * 2010-03-19 2010-08-18 中兴通讯股份有限公司 一种流控制传输协议多归属选路的方法及装置
CN101778019A (zh) * 2010-04-01 2010-07-14 杭州华三通信技术有限公司 一种心跳检测报文的发送方法和设备

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2685668A4 *

Also Published As

Publication number Publication date
EP2685668B1 (en) 2018-07-11
CN102685768A (zh) 2012-09-19
US9220125B2 (en) 2015-12-22
US20140003352A1 (en) 2014-01-02
CN102685768B (zh) 2016-02-03
EP2685668A1 (en) 2014-01-15
EP2685668A4 (en) 2014-01-15

Similar Documents

Publication Publication Date Title
WO2012119512A1 (zh) 心跳消息的处理方法、心跳周期的获取方法及接入网设备
EP3562208B1 (en) User mobility method and device
JP6200892B2 (ja) ブラックリスト又はホワイトリストを使用するセル選択
JP6700434B2 (ja) 無線通信方法及びデバイス
JP5524410B2 (ja) Lte/epcネットワークにおけるmmeの障害を処理する方法
CN111919502B (zh) 用于处理网络的装置和方法
CN110199568B (zh) 连接恢复方法、接入和移动性管理功能实体及用户设备
WO2020063666A1 (zh) 用户设备及其执行的方法、基站及其执行的方法、移动控制实体及其执行的方法
WO2018126961A1 (zh) 通信的方法、接入网设备和终端
EP3900434A1 (en) Suspend-resume in conditional handover
WO2013010464A1 (zh) 小区信息上报和小区移动性参数调整的方法及设备
WO2018137459A1 (zh) 通信的方法、终端和接入网设备
TW201947980A (zh) 用於在無線通信系統中使用區域資料網路的方法和裝置
WO2011000280A1 (zh) 检测过早切换方法、基站及系统
US10327196B2 (en) Apparatus and methods for intelligent scheduling in hybrid networks based on client identity
WO2012149894A1 (zh) 用于电路域回退中数据传输的方法和装置
KR20160021262A (ko) 전송 방식 전환 방법, ue 및 기지국
WO2012079518A1 (zh) 一种获取终端位置信息的方法、系统和设备
WO2014101171A1 (zh) 连接失败恢复方法、装置和系统
US20180288735A1 (en) Efficient handling of paging
CN112369113A (zh) 用于在5gs中的网络调度的到cm-connected/rrc连接模式的ue转变的装置和方法
JP2023532697A (ja) 状態切替方法、接続状態mtchの指示方法および装置、ならびに記憶媒体、端末および基地局
Taleb et al. Ensuring service resilience in the EPS: MME failure restoration case
WO2013097503A1 (zh) 拥塞控制方法和设备
US11968618B2 (en) EPC enhancement for long DRX and power saving state

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: 12754419

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE