WO2012113178A1 - Method and apparatus for detecting connection loss of terminal - Google Patents

Method and apparatus for detecting connection loss of terminal Download PDF

Info

Publication number
WO2012113178A1
WO2012113178A1 PCT/CN2011/073725 CN2011073725W WO2012113178A1 WO 2012113178 A1 WO2012113178 A1 WO 2012113178A1 CN 2011073725 W CN2011073725 W CN 2011073725W WO 2012113178 A1 WO2012113178 A1 WO 2012113178A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
connection
connection loss
loss detection
mme
Prior art date
Application number
PCT/CN2011/073725
Other languages
French (fr)
Chinese (zh)
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 中兴通讯股份有限公司
Publication of WO2012113178A1 publication Critical patent/WO2012113178A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/02Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks

Definitions

  • the present invention relates to a connection loss detection technology for a Machine Type Communication (MTC) device, and more particularly to a method and apparatus for detecting a connection loss of a terminal.
  • MTC Machine Type Communication
  • FIG. 1 is a schematic structural diagram of a cellular wireless communication system.
  • the cellular wireless communication system is mainly composed of a core network (CN, Core Network), an access network (RAN, Radio Access Network), and a terminal.
  • the core network is responsible for non-access layer transactions such as terminal location updates, etc.
  • the core network is also the anchor point of the user plane.
  • the access network includes a base station, or a base station and a base station controller, and the access network is responsible for access layer transactions, such as management of radio resources.
  • the base stations may have physical or logical connections according to actual conditions, such as the base station 1 in FIG. And the connection between the base station 2, the base station 1 and the base station 3, and each base station can be connected to more than one core network node.
  • a user equipment UE, User Equipment refers to various devices that can communicate with a cellular wireless communication network, such as a mobile phone or a notebook computer.
  • the MTC service is a business related to machine-to-machine communication. No human involvement is required in the MTC business, and all communication is done autonomously by the machine.
  • the MTC service obtains data through sensing devices such as sensors, and then reports the data to the mobile communication network through the communication module, and accesses the public data network through the mobile communication network, which can be specifically applied to logistics monitoring, security monitoring, telemedicine detection, remote copying. Fields such as tables. These data are managed by a mobile operator or a specific server of a dedicated MTC operator and can be viewed by MTC users or MTC managers. In this process, the device that obtains the data required by the service is the MTC device.
  • the MTC device After the introduction of the MTC service, the MTC device is used in a different way than the ordinary user terminal, and is usually arranged in some unmanaged scenarios, such as a remote meter, a logistics monitor, and an automatic Vending machines, etc. are all under the supervision of no management.
  • users of MTC devices do not bring MTC devices with them from time to time.
  • the user needs to know whether the MTC equipment he owns is still working properly to perform timely repairs when the MTC equipment fails. Therefore, it is necessary to monitor the operating state of the MTC device through the communication network. Whether the MTC device is disconnected is the focus of monitoring.
  • the common method For the method of detecting the status of the MTC device, the common method is to set the detection time.
  • the MTC device fails to have signaling or data response within the detection time, it is considered as The MTC device is offline and the network needs to report to the MTC server.
  • the detection time here is stored in the Home Subscriber Server (HSS, Home Subscriber Server) as the subscription data unique to each MTC device.
  • HSS Home Subscriber Server
  • the HSS is an entity in the telecommunication network that is responsible for storing identity information, authentication information, and authorization information of a user or a terminal device. Depending on the situation, the HSS can be used to store the identity information of the user and the binding information of the user and the terminal device, or only the identity information of the user (specifically, the gateway can save the binding information of the user and the terminal device), or directly save the terminal device.
  • Identity Information The HSS is also responsible for the user's subscription database, as well as the user's authentication and authorization.
  • the service platform can query user or terminal information from the HSS.
  • the Mobility Management Entity is used to detect whether the normal terminal is online or not.
  • the terminal can access the terminal when the non-access stratum (NAS, Non Access Stratum) is disconnected.
  • NAS Non Access Stratum
  • the timer when the terminal is reachable to the timer, the implicit detachment timer is started. If the NAS connection cannot be established when the implicit detachment timer expires, the network side triggers the terminal to attach the process.
  • the service of the MTC device is different from that of the ordinary terminal.
  • the period of reporting data by the logistics monitoring device is relatively long, and the time for reporting the data by the digital medical monitoring device is short.
  • the MTC user may need different detection cycles to obtain The state of the MTC device, the unified terminal accessible timer and the implicit detach timer are not sufficient to meet the needs of different MTC users. Summary of the invention
  • the main object of the present invention is to provide a method and a device for detecting a connection loss of a terminal, which can perform connection loss detection on the terminal, so as to timely report the terminal information with lost connection.
  • a method for detecting a loss of a connection of a terminal, and adding a detection parameter of a lost connection to the subscription data of the terminal includes:
  • the network side device After receiving the connection request of the terminal, the network side device acquires the subscription data of the terminal, performs connection loss detection on the terminal, and performs reporting when detecting that the terminal connection is lost.
  • the detection parameter of the connection loss includes a connection loss detection timer duration.
  • the initiating connection loss detection on the terminal is:
  • the MME When the MME releases the NAS signaling connection of the terminal or the state of the terminal transits to an idle state, the MME initiates or restarts the connection loss detection timer, when the NAS signaling connection of the terminal is established or When the state of the terminal transitions to the connected state, the connection loss detection timer is stopped.
  • reporting is:
  • the MME sends the terminal connection loss report to the terminal server or the HSS or the gateway.
  • the method further includes:
  • the MME performs a detach operation on the terminal.
  • the detach operation deletes the bearer established for the terminal, and deletes the context information of the terminal.
  • the method further includes:
  • the MME stops the terminal reachable timer and/or the implicit detach timer when the connection loss detection timer expires;
  • the MME stops the connection loss detection timing when the implicit detach timer expires Cry
  • the network side device is an MME
  • the acquiring subscription data of the terminal is:
  • the MME first searches for the connection loss detection timer duration parameter of the terminal in the local context information, and if not, obtains the subscription data of the terminal from the HSS, and confirms whether the connection loss data of the terminal includes the connection loss detection.
  • the parameter of the timer duration is the parameter of the timer duration.
  • An apparatus for detecting a loss of a terminal connection comprising: a setting unit, a receiving unit, an obtaining unit, a detecting unit, and a reporting unit; the receiving unit, the acquiring unit, the detecting unit, and the reporting unit are In the network side device;
  • a setting unit configured to add a detection parameter of the connection loss in the subscription data of the terminal, where the detection parameter of the connection loss includes a connection loss detection timer duration;
  • a receiving unit configured to receive an attach request of the terminal
  • An obtaining unit configured to acquire subscription data of the terminal
  • a detecting unit configured to perform connection loss detection on the terminal
  • the reporting unit is configured to perform reporting when the detecting unit detects that the terminal connection is lost.
  • the detecting unit is further configured to: when the NAS signaling connection of the terminal is released, or when the state of the terminal transits to an idle state, start or restart the connection loss detection timer, where the terminal is When the NAS signaling connection is established or the state of the terminal transits to the connected state, the connection loss detection timer is stopped.
  • the reporting unit is further configured to: when the connection loss detection timer expires, send the terminal connection loss report to a terminal server or an HSS or a gateway.
  • the network side device is an MME
  • the obtaining unit is further configured to: first, in the local context information, whether there is a connection loss detection timer duration parameter of the terminal, and if not, acquire the subscription data of the terminal from the HSS, and confirm the subscription data of the terminal. Whether to include the connection loss detection timer The parameters of the duration.
  • the network side confirms whether the connection loss detection is performed on the terminal after receiving the attachment request of the terminal. In this way, when it is confirmed that the terminal connection is lost, the connection loss status of the terminal can be reported to the corresponding network device, so that the terminal management personnel can monitor the terminal status.
  • the invention realizes the monitoring of whether the terminal connection is lost by setting the loss detection timer, realizes the monitoring of the terminal status by a small protocol change cost, and compensates for the shortcomings of the prior art to the terminal management, which is greatly facilitated. Monitoring management of the terminal.
  • FIG. 1 is a schematic structural diagram of a cellular wireless communication system
  • FIG. 2 is a flowchart of a method for detecting a connection loss of a terminal according to the present invention
  • FIG. 3 is a schematic structural diagram of a device for detecting a connection loss of a terminal according to the present invention. detailed description
  • FIG. 2 is a flowchart of a method for detecting a connection loss of a terminal according to the present invention. As shown in FIG. 2, the method for detecting a connection loss of a terminal according to the present invention specifically includes the following steps:
  • Step 201 Add a detection parameter of the connection loss to the subscription data of the terminal.
  • the invention firstly sets the detection parameter of the connection loss of the terminal, that is, the detection of the loss of the terminal connection by means of the subscription data.
  • the detection parameter of the connection loss in the present invention is a related parameter of the connection loss detection timer duration. That is, the detection of the terminal is realized by setting a detection timer with a lost connection.
  • Step 202 The network side device receives an attach request of the terminal. After the terminal starts or restarts, it needs to attach to the mobile network registered by itself, and needs to send an attach request to the network side.
  • Step 203 After receiving the attach request of the terminal, the network side device searches whether the subscription data of the terminal includes the detection parameter of the connection loss, and when the inclusion includes the connection loss detection of the terminal.
  • the network side device After receiving the connection request from the terminal, the network side device first confirms whether the terminal has subscribed to the lost detected service, and initiates the detection of the connection loss of the terminal when the subscription is performed. Otherwise, the detection service is not started.
  • the network includes authentication and authentication procedures for the terminal, and the process is not related to the implementation of the technical solution of the present invention. Process.
  • the above-mentioned network-side device generally refers to the MME; the above-mentioned search for the subscription data of the terminal includes the detection parameter of the connection loss: the MME first searches the local context information whether the subscription data of the terminal is stored (ie, if the terminal is not the first time) When attached to the network, the MME stores the subscription data of the terminal acquired from the HSS and stores it as local context information. When the subscription data of the terminal is stored, it further confirms whether the subscription data of the terminal includes the connection loss detection timer duration. If the subscription data of the terminal is not stored, the subscription data of the terminal is obtained from the HSS, and the related data of the connection loss detection timer duration is included in the subscription data of the terminal.
  • the MME sends a request for acquiring the subscription data of the terminal to the HSS, where the request carries the identification information of the terminal.
  • the HSS After receiving the request for acquiring the subscription data by the MME, the HSS searches for the subscription data of the terminal according to the identification information of the terminal, and The MME sends the subscription data of the terminal to the MME.
  • Obtaining the subscription data of the terminal from the HSS is prior art, and more implementation details are not described herein.
  • the connection loss detection timer is started or restarted.
  • the terminal's NAS signaling connection is established or terminated
  • the connection loss detection timer is stopped.
  • the connection loss detection timer expires, the terminal connection is considered to be lost.
  • the state of the terminal is transferred to the connection state, that is, the terminal establishes a bearer link with the network side, that is, the terminal and the network side have data services.
  • Step 204 Perform reporting when detecting that the connection of the terminal is lost.
  • the MME sends a terminal connection loss report to the terminal server or the HSS or the gateway. That is, the terminal server or the HSS or the gateway is notified that the terminal connection is lost.
  • Step 205 The MME performs a detach operation on the terminal.
  • the MME After the MME sends the terminal connection loss report to the terminal server or the HSS or the gateway, the MME performs a detach operation on the terminal.
  • the detach operation is to delete the bearer established for the terminal, and delete the context information of the terminal.
  • the method for detecting the loss of the connection of the terminal of the present invention further includes: setting an reachable timer for detecting whether the terminal is reachable and/or an implicit detachment timer for detaching; when the MME is out of time when the connection loss detection timer expires, The terminal access timer and/or the implicit detach timer are stopped; when the implicit detach timer expires, the connection loss detection timer is stopped.
  • a terminal in the present invention especially an MTC device.
  • a terminal server is especially an MTC server.
  • the network operator needs to detect whether the connection is lost according to the needs of the user, and set the value of the connection loss detection timer according to the user requirement, and once the connection is lost, the indication
  • the network performs de-attachment on the terminal and saves it as subscription data.
  • the terminal sends an attach request to the MME
  • the MME After receiving the attach request of the terminal, the MME checks whether there is subscription data of the terminal locally, and if not, sends an update location request message to the HSS, where the update location request message includes the international mobile subscriber identity of the terminal ( IMSI, International Mobile Subscriber Identification Number ), indicating that the subscription data of the terminal needs to be requested; here, the identification information of the terminal may also be other identification information other than the IMSI, such as the identification information of the unique hardware in the terminal, as long as the terminal can be uniquely identified and can be HSS The terminal can be identified.
  • IMSI International Mobile Subscriber Identification Number
  • the HSS After receiving the update location request message sent by the MME, the HSS searches for the subscription data of the terminal according to the identifier IMSI of the terminal in the message. If the subscription data includes the subscription data of the terminal, the HSS sends the location response message to the terminal. MME. In the signed subscription data, the connection loss detection timer is included (assuming the terminal has subscribed to the service).
  • the MME After receiving the terminal subscription data sent by the HSS, the MME constructs the terminal context information locally according to the received subscription data, and saves the connection loss detection timer locally.
  • connection loss detection timer is temporarily not activated; if the terminal enters the idle state after attaching to the network, then the MME When the status of the recording terminal is idle, the connection loss detection timer is started.
  • the terminal needs to send the NAS signaling to the MME (for example, when the terminal moves out of the current tracking area, the tracking area update request signaling needs to be sent to the MME, or the terminal needs to send the service data, and send the service request signaling to the MME to request to establish.
  • the data bearer transmits data, and the tracking area update request signaling or the service request signaling is a NAS signaling.
  • the MME stops the connection loss detection timer.
  • connection loss detection timer is restarted.
  • the MME reports the terminal connection loss event to the terminal server or the HSS or the gateway, and performs a detach operation on the terminal, that is, deletes the bearer established by the terminal, and deletes the bearer locally.
  • the context information of the terminal is, deletes the bearer established by the terminal, and deletes the bearer locally.
  • connection loss timer expires after the connection loss timer expires, and the terminal accessible timer or implicit detach timer running in the MME is still running, stop the terminal access timer or implicitly detach Timer.
  • the device for detecting loss of connection of a terminal of the present invention includes: a setting unit 30, a receiving unit 31, an obtaining unit 32, and a detecting unit 33. And the reporting unit 34; the receiving unit 31, the obtaining unit 32, the detecting unit 33, and the reporting unit 34 are disposed in the network side device;
  • the setting unit 30 is configured to add a detection parameter of the connection loss in the subscription data of the terminal, where the detection parameter of the connection loss includes a connection loss detection timer duration;
  • the receiving unit 31 is configured to receive an attach request of the terminal
  • the obtaining unit 32 is configured to acquire subscription data of the terminal.
  • a detecting unit 33 configured to perform connection loss detection on the terminal
  • the reporting unit 34 is configured to perform reporting when the detecting unit detects that the terminal connection is lost.
  • the detecting unit 33 is further configured to: when the NAS signaling connection of the terminal is released, or when the state of the terminal transits to an idle state, start or restart the connection loss detection timer, and the NAS signaling at the terminal When the connection is established or the state of the terminal transits to the connected state, the connection loss detection timer is stopped.
  • the reporting unit 34 is further configured to send the terminal connection loss report to the terminal server or the HSS or the gateway when the connection loss detection timer expires.
  • the network side device is an MME
  • the obtaining unit 32 is further configured to first search for the connection loss detection timer duration parameter of the terminal in the local context information, obtain the subscription data of the terminal from the HSS when not, and confirm the subscription data of the terminal. Whether to include the parameter of the connection loss detection timer duration.
  • the device for detecting the connection loss of the terminal shown in FIG. 3 is set to implement the foregoing method for detecting the connection loss of the terminal, and the implementation functions of each processing unit in the figure may be implemented. It is understood with reference to the aforementioned description of the method of detecting terminal connection loss. It should be understood by those skilled in the art that the functions of the processing units in the device for detecting the connection loss of the terminal shown in FIG. 3 can be implemented by a program running on the processor, or can be realized by a specific logic circuit.

Abstract

The present invention discloses a method for detecting a connection loss of a terminal, and the parameters for detecting the connection loss are added to the subscription data of the terminal. The method includes that a network-side device obtains the subscription data of the terminal after receiving an attach request from the terminal, performs a connection loss detection for the terminal and reports a connection loss when the connection loss of the terminal is detected. The present invention also discloses a connection loss detection apparatus for realizing the above method. With the present invention, the detection of whether the connection of the terminal is lost is realized by configuring a loss detection timer and the terminal status is monitored at a cost of a relatively small change of the protocol. Therefore, the drawbacks in the management of the terminal in the prior art are eliminated, and the monitoring management of the terminal is facilitated greatly.

Description

检测终端连接丢失的方法及装置 技术领域  Method and device for detecting terminal connection loss
本发明涉及机器类型通信 ( MTC, Machine Type Communication )设备 的连接丟失检测技术, 尤其涉及一种检测终端连接丟失的方法及装置。 背景技术  The present invention relates to a connection loss detection technology for a Machine Type Communication (MTC) device, and more particularly to a method and apparatus for detecting a connection loss of a terminal. Background technique
图 1为蜂窝无线通讯系统的结构示意图, 如图 1所示, 蜂窝无线通讯 系统主要由核心网 (CN , Core Network ), 接入网 (RAN, Radio Access Network )和终端组成。 核心网负责非接入层事务例如终端位置更新等, 核 心网同时也是用户面的锚点。 接入网包括基站, 或者基站以及基站控制器, 接入网负责接入层事务例如无线资源的管理等, 基站之间可以根据实际情 况存在物理或者逻辑上的连接, 如图 1中的基站 1和基站 2、基站 1和基站 3之间的连接, 并且, 每个基站可以和一个以上的核心网节点连接。 终端即 用户设备(UE, User Equipment ), 是指可以与蜂窝无线通讯网络通讯的各 种设备, 比如移动电话或者笔记本电脑等。  FIG. 1 is a schematic structural diagram of a cellular wireless communication system. As shown in FIG. 1 , the cellular wireless communication system is mainly composed of a core network (CN, Core Network), an access network (RAN, Radio Access Network), and a terminal. The core network is responsible for non-access layer transactions such as terminal location updates, etc. The core network is also the anchor point of the user plane. The access network includes a base station, or a base station and a base station controller, and the access network is responsible for access layer transactions, such as management of radio resources. The base stations may have physical or logical connections according to actual conditions, such as the base station 1 in FIG. And the connection between the base station 2, the base station 1 and the base station 3, and each base station can be connected to more than one core network node. A user equipment (UE, User Equipment) refers to various devices that can communicate with a cellular wireless communication network, such as a mobile phone or a notebook computer.
MTC业务即机器对机器之间进行通信的相关业务。 在 MTC业务中不 需要人的参与, 所有的通信均由机器自主完成。 MTC业务通过传感器等感 知设备获得数据, 然后通过通信模块将数据上报给移动通信网络, 并通过 移动通信网络接入到公共数据网, 具体可应用于物流监控、 安全监测、 远 程医疗检测、 远程抄表等领域。 这些数据由移动运营商或者专门的 MTC运 营商的特定服务器进行管理, 可供 MTC用户或 MTC管理者查看。 在该过 程中, 获取业务所需要的数据的设备即为 MTC设备。  The MTC service is a business related to machine-to-machine communication. No human involvement is required in the MTC business, and all communication is done autonomously by the machine. The MTC service obtains data through sensing devices such as sensors, and then reports the data to the mobile communication network through the communication module, and accesses the public data network through the mobile communication network, which can be specifically applied to logistics monitoring, security monitoring, telemedicine detection, remote copying. Fields such as tables. These data are managed by a mobile operator or a specific server of a dedicated MTC operator and can be viewed by MTC users or MTC managers. In this process, the device that obtains the data required by the service is the MTC device.
在引入 MTC业务后, MTC设备与普通的用户终端使用方式不同, 通 常都是布置在一些无人管理的场景下, 比如远程电表、 物流监控器、 自动 售卖机等都是处于无管理人员监管的场景下。 也就是说, MTC设备的使用 者并不会时时将 MTC设备带在身边。 然而, 使用者需要掌握自己所拥有的 MTC设备是否还在正常工作, 以在 MTC设备故障时及时进行维修。 因此, 这就需要通过通信网络来监控 MTC设备的运行状态。 MTC设备是否断开 连接是需要监控的重点, 而对 MTC设备的状态进行检测的方法, 常用的方 法是设置检测时间, 如果 MTC设备在检测时间内未能有信令或数据响应, 即视为 MTC设备处于离线状态, 网络需要向 MTC服务器进行报告。 这里 的检测时间作为每个 MTC 设备特有的签约数据保存在归属用户服务器 ( HSS , Home Subscriber Server )中。 HSS是电信网络中负责保存用户或终 端设备的身份信息、 认证信息和授权信息等的实体。 根据不同情况, HSS 可用于保存用户的身份信息及用户和终端设备的绑定信息, 或只保存用户 的身份信息(具体可由网关保存用户和终端设备的绑定信息), 或直接保存 终端设备的身份信息。 HSS还负责用户的签约数据库, 以及执行用户的身 份验证和授权等。 业务平台可从 HSS查询用户或终端信息。 After the introduction of the MTC service, the MTC device is used in a different way than the ordinary user terminal, and is usually arranged in some unmanaged scenarios, such as a remote meter, a logistics monitor, and an automatic Vending machines, etc. are all under the supervision of no management. In other words, users of MTC devices do not bring MTC devices with them from time to time. However, the user needs to know whether the MTC equipment he owns is still working properly to perform timely repairs when the MTC equipment fails. Therefore, it is necessary to monitor the operating state of the MTC device through the communication network. Whether the MTC device is disconnected is the focus of monitoring. For the method of detecting the status of the MTC device, the common method is to set the detection time. If the MTC device fails to have signaling or data response within the detection time, it is considered as The MTC device is offline and the network needs to report to the MTC server. The detection time here is stored in the Home Subscriber Server (HSS, Home Subscriber Server) as the subscription data unique to each MTC device. The HSS is an entity in the telecommunication network that is responsible for storing identity information, authentication information, and authorization information of a user or a terminal device. Depending on the situation, the HSS can be used to store the identity information of the user and the binding information of the user and the terminal device, or only the identity information of the user (specifically, the gateway can save the binding information of the user and the terminal device), or directly save the terminal device. Identity Information. The HSS is also responsible for the user's subscription database, as well as the user's authentication and authorization. The service platform can query user or terminal information from the HSS.
移动性管理单元(MME, Mobility Management Entity )为检测普通终 端是否在线, 通过运行统一设置的终端可及定时器, 当终端在断开非接入 层(NAS , Non Access Stratum )连接时启动终端可及定时器, 在终端可及 定时器到时时, 启动隐式去附着定时器, 如果在隐式去附着定时器到时时 仍未能建立 NAS连接, 则网络侧触发将终端去附着流程。  The Mobility Management Entity (MME) is used to detect whether the normal terminal is online or not. The terminal can access the terminal when the non-access stratum (NAS, Non Access Stratum) is disconnected. And the timer, when the terminal is reachable to the timer, the implicit detachment timer is started. If the NAS connection cannot be established when the implicit detachment timer expires, the network side triggers the terminal to attach the process.
然而, MTC设备的业务与普通终端不同, 比如物流监控设备上报数据 的周期比较长, 而数字医疗监控设备上报数据时间较短, 对于不同的业务 应用, MTC用户就可能需要不同的检测周期来获得 MTC设备的状态, 统 一的终端可及定时器和隐式去附着定时器并不足以满足不同 MTC 用户的 需求。 发明内容 However, the service of the MTC device is different from that of the ordinary terminal. For example, the period of reporting data by the logistics monitoring device is relatively long, and the time for reporting the data by the digital medical monitoring device is short. For different service applications, the MTC user may need different detection cycles to obtain The state of the MTC device, the unified terminal accessible timer and the implicit detach timer are not sufficient to meet the needs of different MTC users. Summary of the invention
有鉴于此, 本发明的主要目的在于提供一种检测终端连接丟失的方法 及装置, 能对终端进行连接丟失检测, 以将连接丟失的终端信息及时上报。  In view of the above, the main object of the present invention is to provide a method and a device for detecting a connection loss of a terminal, which can perform connection loss detection on the terminal, so as to timely report the terminal information with lost connection.
为达到上述目的, 本发明的技术方案是这样实现的:  In order to achieve the above object, the technical solution of the present invention is achieved as follows:
一种检测终端连接丟失的方法, 在终端的签约数据中增设连接丟失的 检测参数; 所述方法包括:  A method for detecting a loss of a connection of a terminal, and adding a detection parameter of a lost connection to the subscription data of the terminal; the method includes:
网络侧设备接收到终端的附着请求后, 获取所述终端的签约数据, 并 对所述终端进行连接丟失检测, 并在检测到所述终端连接丟失时进行上报。  After receiving the connection request of the terminal, the network side device acquires the subscription data of the terminal, performs connection loss detection on the terminal, and performs reporting when detecting that the terminal connection is lost.
优选地, 所述连接丟失的检测参数包括连接丟失检测定时器时长。 优选地, 所述启动对所述终端进行连接丟失检测为:  Preferably, the detection parameter of the connection loss includes a connection loss detection timer duration. Preferably, the initiating connection loss detection on the terminal is:
所述 MME在释放所述终端的 NAS信令连接时或所述终端的状态转入 空闲状态时, 启动或重启所述连接丟失检测定时器, 在所述终端的 NAS信 令连接建立时或所述终端的状态转入连接状态时, 停止所述连接丟失检测 定时器。  When the MME releases the NAS signaling connection of the terminal or the state of the terminal transits to an idle state, the MME initiates or restarts the connection loss detection timer, when the NAS signaling connection of the terminal is established or When the state of the terminal transitions to the connected state, the connection loss detection timer is stopped.
优选地, 所述检测到所述终端的连接丟失时进行上报为:  Preferably, when the detecting that the connection of the terminal is lost, reporting is:
所述连接丟失检测定时器超时时, 所述 MME向终端服务器或 HSS或 网关发送所述终端连接丟失报告。  When the connection loss detection timer expires, the MME sends the terminal connection loss report to the terminal server or the HSS or the gateway.
优选地, 所述 MME向终端服务器或 HSS或网关发送所述终端连接丟 失才艮告之后, 所述方法还包括:  Preferably, after the MME sends the terminal connection loss to the terminal server or the HSS or the gateway, the method further includes:
所述 MME对所述终端执行去附着操作; 其中,所述去附着操作为删除 为所述终端建立的承载, 删除所述终端的上下文信息。  The MME performs a detach operation on the terminal. The detach operation deletes the bearer established for the terminal, and deletes the context information of the terminal.
优选地, 所述方法还包括:  Preferably, the method further includes:
所述 MME在所述连接丟失检测定时器超时时,停止终端可及定时器和 /或隐式去附着定时器;  The MME stops the terminal reachable timer and/or the implicit detach timer when the connection loss detection timer expires;
所述 MME在隐式去附着定时器超时时, 停止所述连接丟失检测定时 哭 The MME stops the connection loss detection timing when the implicit detach timer expires Cry
优选地, 所述网络侧设备为 MME;  Preferably, the network side device is an MME;
所述获取所述终端的签约数据为:  The acquiring subscription data of the terminal is:
MME 首先在本地上下文信息中查找是否存在所述终端的连接丟失检 测定时器时长参数, 没有时从 HSS获取所述终端的签约数据, 并确认所述 终端的签约数据中是否包含所述连接丟失检测定时器时长的参数。  The MME first searches for the connection loss detection timer duration parameter of the terminal in the local context information, and if not, obtains the subscription data of the terminal from the HSS, and confirms whether the connection loss data of the terminal includes the connection loss detection. The parameter of the timer duration.
一种检测终端连接丟失的装置, 所述装置包括: 设置单元、 接收单元、 获取单元、 检测单元及上报单元; 所述接收单元、 所述获取单元、 所述检 测单元及所述上报单元设于网络侧设备中; 其中,  An apparatus for detecting a loss of a terminal connection, the apparatus comprising: a setting unit, a receiving unit, an obtaining unit, a detecting unit, and a reporting unit; the receiving unit, the acquiring unit, the detecting unit, and the reporting unit are In the network side device;
设置单元, 用于在终端的签约数据中增设连接丟失的检测参数; 其中, 所述连接丟失的检测参数包括连接丟失检测定时器时长;  a setting unit, configured to add a detection parameter of the connection loss in the subscription data of the terminal, where the detection parameter of the connection loss includes a connection loss detection timer duration;
接收单元, 用于接收到终端的附着请求;  a receiving unit, configured to receive an attach request of the terminal;
获取单元, 用于获取所述终端的签约数据;  An obtaining unit, configured to acquire subscription data of the terminal;
检测单元, 用于对所述终端进行连接丟失检测;  a detecting unit, configured to perform connection loss detection on the terminal;
上报单元, 用于在所述检测单元检测到所述终端连接丟失时进行上报。 优选地, 所述检测单元进一步用于, 在释放所述终端的 NAS信令连接 时或所述终端的状态转入空闲状态时, 启动或重启所述连接丟失检测定时 器,在所述终端的 NAS信令连接建立时或所述终端的状态转入连接状态时, 停止所述连接丟失检测定时器。  The reporting unit is configured to perform reporting when the detecting unit detects that the terminal connection is lost. Preferably, the detecting unit is further configured to: when the NAS signaling connection of the terminal is released, or when the state of the terminal transits to an idle state, start or restart the connection loss detection timer, where the terminal is When the NAS signaling connection is established or the state of the terminal transits to the connected state, the connection loss detection timer is stopped.
优选地, 所述上报单元进一步用于, 在所述连接丟失检测定时器超时 时, 向终端服务器或 HSS或网关发送所述终端连接丟失报告。  Preferably, the reporting unit is further configured to: when the connection loss detection timer expires, send the terminal connection loss report to a terminal server or an HSS or a gateway.
优选地, 所述网络侧设备为 MME;  Preferably, the network side device is an MME;
所述获取单元进一步用于, 首先在本地上下文信息中查找是否存在所 述终端的连接丟失检测定时器时长参数, 没有时从 HSS获取所述终端的签 约数据, 并确认所述终端的签约数据中是否包含所述连接丟失检测定时器 时长的参数。 The obtaining unit is further configured to: first, in the local context information, whether there is a connection loss detection timer duration parameter of the terminal, and if not, acquire the subscription data of the terminal from the HSS, and confirm the subscription data of the terminal. Whether to include the connection loss detection timer The parameters of the duration.
本发明中, 通过在终端的签约数据中增设连接丟失的检测参数, 以使 网络侧在收到终端的附着请求后确认是否对终端进行连接丟失检测。 这样 , 在确认终端连接丟失时, 即可向相应的网络设备上报终端的连接丟失状况, 方便终端管理人员对终端状态进行监测。 本发明通过设置丟失检测定时器 而实现了对终端连接是否丟失的监测, 以较小的协议更改代价, 实现了对 终端状态的监测, 弥补了现有技术对终端管理上的不足, 大大方便了对终 端的监测管理。 附图说明  In the present invention, by adding a connection loss detection parameter to the subscription data of the terminal, the network side confirms whether the connection loss detection is performed on the terminal after receiving the attachment request of the terminal. In this way, when it is confirmed that the terminal connection is lost, the connection loss status of the terminal can be reported to the corresponding network device, so that the terminal management personnel can monitor the terminal status. The invention realizes the monitoring of whether the terminal connection is lost by setting the loss detection timer, realizes the monitoring of the terminal status by a small protocol change cost, and compensates for the shortcomings of the prior art to the terminal management, which is greatly facilitated. Monitoring management of the terminal. DRAWINGS
图 1为蜂窝无线通讯系统的结构示意图;  1 is a schematic structural diagram of a cellular wireless communication system;
图 2为本发明检测终端连接丟失的方法的流程图;  2 is a flowchart of a method for detecting a connection loss of a terminal according to the present invention;
图 3为本发明检测终端连接丟失的装置的组成结构示意图。 具体实施方式  FIG. 3 is a schematic structural diagram of a device for detecting a connection loss of a terminal according to the present invention. detailed description
为使本发明的目的、 技术方案和优点更加清楚明白, 以下举实施例并 参照附图, 对本发明进一步详细说明。  The present invention will be further described in detail below with reference to the accompanying drawings.
图 2为本发明检测终端连接丟失的方法的流程图, 如图 2所示, 本发 明检测终端连接丟失的方法具体包括以下步骤:  2 is a flowchart of a method for detecting a connection loss of a terminal according to the present invention. As shown in FIG. 2, the method for detecting a connection loss of a terminal according to the present invention specifically includes the following steps:
步骤 201 , 在终端的签约数据中增设连接丟失的检测参数。  Step 201: Add a detection parameter of the connection loss to the subscription data of the terminal.
本步骤为实现本发明技术方案的基础步骤。 本发明首先设置终端的连 接丟失的检测参数, 即通过签约数据的方式实现对终端连接丟失的检测。 终端在入网时, 即可通过运营商设置的签约数据确定是否被连接丟失检测。 具体的, 本发明中的连接丟失的检测参数为连接丟失检测定时器时长的相 关参数。 即通过设置连接丟失的检测定时器来实现对终端的检测。  This step is a basic step of implementing the technical solution of the present invention. The invention firstly sets the detection parameter of the connection loss of the terminal, that is, the detection of the loss of the terminal connection by means of the subscription data. When the terminal enters the network, it can determine whether it is connected to the loss detection through the subscription data set by the operator. Specifically, the detection parameter of the connection loss in the present invention is a related parameter of the connection loss detection timer duration. That is, the detection of the terminal is realized by setting a detection timer with a lost connection.
步骤 202, 网络侧设备接收终端的附着请求。 终端在开始或重启后, 需要附着到自身注册的移动网络, 需向网络侧 发送附着请求。 Step 202: The network side device receives an attach request of the terminal. After the terminal starts or restarts, it needs to attach to the mobile network registered by itself, and needs to send an attach request to the network side.
步骤 203 , 网络侧设备接收到终端的附着请求后, 查找所述终端的签约 数据中是否包含连接丟失的检测参数, 包含时启动对所述终端的连接丟失 检测。  Step 203: After receiving the attach request of the terminal, the network side device searches whether the subscription data of the terminal includes the detection parameter of the connection loss, and when the inclusion includes the connection loss detection of the terminal.
网络侧设备接收到终端的附着请求后, 首先确认该终端是否签约了连 接丟失的检测的业务, 签约时才会启动对该终端的连接丟失的检测, 否则 不会启动该检测业务。 当然, 本领域技术人员应当理解, 在附着到网络之 前, 还包括网络对终端的认证及鉴权等流程, 由于该流程与实现本发明的 技术方案无关, 这里不再赘述终端接入时的相关流程。  After receiving the connection request from the terminal, the network side device first confirms whether the terminal has subscribed to the lost detected service, and initiates the detection of the connection loss of the terminal when the subscription is performed. Otherwise, the detection service is not started. Certainly, those skilled in the art should understand that, before attaching to the network, the network includes authentication and authentication procedures for the terminal, and the process is not related to the implementation of the technical solution of the present invention. Process.
上述的网络侧设备一般是指 MME; 上述查找所述终端的签约数据中是 否包含连接丟失的检测参数为: MME首先在本地上下文信息中查找是否存 储有终端的签约数据 (即如果终端为非首次附着于网络时, MME会存储从 HSS获取的终端的签约数据并存储, 作为本地的上下文信息), 存储有终端 的签约数据时进一步确认终端的签约数据中是否包含连接丟失检测定时器 时长的相关参数;没有存储终端的签约数据时从 HSS获取终端的签约数据, 并确认所述终端的签约数据中是否包含所述连接丟失检测定时器时长的相 关参数。 具体的, MME向 HSS发送获取终端的签约数据的请求, 该请求 中携带有终端的标识信息; HSS接收到 MME的获取签约数据的请求后, 根据终端的标识信息查找出终端的签约数据, 并发送给 MME, MME保存 该终端的签约数据。 从 HSS获取终端的签约数据为现有技术, 这里不再赘 述其更多的实现细节。  The above-mentioned network-side device generally refers to the MME; the above-mentioned search for the subscription data of the terminal includes the detection parameter of the connection loss: the MME first searches the local context information whether the subscription data of the terminal is stored (ie, if the terminal is not the first time) When attached to the network, the MME stores the subscription data of the terminal acquired from the HSS and stores it as local context information. When the subscription data of the terminal is stored, it further confirms whether the subscription data of the terminal includes the connection loss detection timer duration. If the subscription data of the terminal is not stored, the subscription data of the terminal is obtained from the HSS, and the related data of the connection loss detection timer duration is included in the subscription data of the terminal. Specifically, the MME sends a request for acquiring the subscription data of the terminal to the HSS, where the request carries the identification information of the terminal. After receiving the request for acquiring the subscription data by the MME, the HSS searches for the subscription data of the terminal according to the identification information of the terminal, and The MME sends the subscription data of the terminal to the MME. Obtaining the subscription data of the terminal from the HSS is prior art, and more implementation details are not described herein.
MME确定终端的签约数据中包含连接丟失检测定时器时长的相关参 数时, 在释放终端的 NAS信令连接时或所述终端的状态转入空闲状态时, 启动或重启所述连接丟失检测定时器, 在终端的 NAS信令连接建立时或终 端的状态转入连接状态时, 停止连接丟失检测定时器。 本发明中, 当连接 丟失检测定时器超时时, 即认为该终端连接丟失。 这里, 终端的状态转入 连接状态即终端与网络侧建立了承载链路, 即终端与网络侧有数据业务。 When the MME determines that the subscription data of the terminal includes the relevant parameter of the connection loss detection timer duration, when the NAS signaling connection of the terminal is released or the state of the terminal transits to the idle state, the connection loss detection timer is started or restarted. When the terminal's NAS signaling connection is established or terminated When the state of the terminal is transferred to the connected state, the connection loss detection timer is stopped. In the present invention, when the connection loss detection timer expires, the terminal connection is considered to be lost. Here, the state of the terminal is transferred to the connection state, that is, the terminal establishes a bearer link with the network side, that is, the terminal and the network side have data services.
步骤 204, 在检测到所述终端的连接丟失时进行上报。  Step 204: Perform reporting when detecting that the connection of the terminal is lost.
具体的, 当连接丟失检测定时器超时时, MME 向终端服务器或 HSS 或网关发送终端连接丟失报告。 即告知终端服务器或 HSS或网关该终端连 接丟失。  Specifically, when the connection loss detection timer expires, the MME sends a terminal connection loss report to the terminal server or the HSS or the gateway. That is, the terminal server or the HSS or the gateway is notified that the terminal connection is lost.
步骤 205 , MME对所述终端执行去附着操作。  Step 205: The MME performs a detach operation on the terminal.
MME向终端服务器或 HSS或网关发送所述终端连接丟失报告之后, MME对所述终端执行去附着操作; 其中, 去附着操作为删除为终端建立的 承载, 删除终端的上下文信息。  After the MME sends the terminal connection loss report to the terminal server or the HSS or the gateway, the MME performs a detach operation on the terminal. The detach operation is to delete the bearer established for the terminal, and delete the context information of the terminal.
本发明检测终端连接丟失的方法还包括: 设置用于检测所述终端是否 可及的可及定时器和 /或去附着的隐式去附着定时器; MME在在连接丟失 检测定时器超时时, 停止终端可及定时器和 /或隐式去附着定时器; 在隐式 去附着定时器超时时, 停止所述连接丟失检测定时器。  The method for detecting the loss of the connection of the terminal of the present invention further includes: setting an reachable timer for detecting whether the terminal is reachable and/or an implicit detachment timer for detaching; when the MME is out of time when the connection loss detection timer expires, The terminal access timer and/or the implicit detach timer are stopped; when the implicit detach timer expires, the connection loss detection timer is stopped.
本发明中的终端, 尤指 MTC设备。 终端服务器尤指 MTC服务器。 以下通过具体的示例, 进一步阐明本发明技术方案的实质。  A terminal in the present invention, especially an MTC device. A terminal server is especially an MTC server. The essence of the technical solution of the present invention will be further clarified by specific examples below.
1、 终端签约到移动通信网时, 网络运营商根据用户的需求需要对其进 行是否连接丟失进行检测, 并根据用户需求设定连接丟失检测定时器的值, 以及一旦检测到连接丟失后, 指示网络对该终端执行去附着, 作为签约数 据保存。  1. When the terminal signs up to the mobile communication network, the network operator needs to detect whether the connection is lost according to the needs of the user, and set the value of the connection loss detection timer according to the user requirement, and once the connection is lost, the indication The network performs de-attachment on the terminal and saves it as subscription data.
2、 终端发送附着请求到 MME;  2. The terminal sends an attach request to the MME;
3、 MME接收到该终端的附着请求后, 检查本地是否有该终端的签约 数据, 如果没有, 则发送更新位置请求消息给 HSS, 该更新位置请求消息 中包含该终端的国际移动用户识别码 ( IMSI, International Mobile Subscriber Identification Number ), 表明需要请求该终端的签约数据; 这里, 终端的标 识信息还可以为 IMSI以外的其他标识信息,如终端中特有硬件的标识信息 等, 只要能唯一标识该终端, 并能被 HSS识别出该终端即可。 3. After receiving the attach request of the terminal, the MME checks whether there is subscription data of the terminal locally, and if not, sends an update location request message to the HSS, where the update location request message includes the international mobile subscriber identity of the terminal ( IMSI, International Mobile Subscriber Identification Number ), indicating that the subscription data of the terminal needs to be requested; here, the identification information of the terminal may also be other identification information other than the IMSI, such as the identification information of the unique hardware in the terminal, as long as the terminal can be uniquely identified and can be HSS The terminal can be identified.
4、 HSS在接收到 MME发送的更新位置请求消息后, 根据消息中的终 端的标识 IMSI, 查找该终端的签约数据, 如果签约数据中包含该终端的签 约数据, 则通过更新位置响应消息发送给 MME。 在发送的签约数据中, 包 含连接丟失检测定时器 (假设终端签约了该业务)。  After receiving the update location request message sent by the MME, the HSS searches for the subscription data of the terminal according to the identifier IMSI of the terminal in the message. If the subscription data includes the subscription data of the terminal, the HSS sends the location response message to the terminal. MME. In the signed subscription data, the connection loss detection timer is included (assuming the terminal has subscribed to the service).
5、 MME在接收到 HSS发送的终端签约数据后, 根据接收到的签约数 据在本地构造终端上下文信息, 将连接丟失检测定时器在本地保存。  After receiving the terminal subscription data sent by the HSS, the MME constructs the terminal context information locally according to the received subscription data, and saves the connection loss detection timer locally.
6、如果终端在附着到网络后立即建立与 MME的 NAS信令连接,进行 NAS信令交互, 则连接丟失检测定时器暂不启动; 如果终端在附着到网络 后, 进入空闲状态, 则当 MME记录终端的状态为空闲状态时, 启动连接丟 失检测定时器。  6. If the terminal establishes a NAS signaling connection with the MME and performs NAS signaling interaction after attaching to the network, the connection loss detection timer is temporarily not activated; if the terminal enters the idle state after attaching to the network, then the MME When the status of the recording terminal is idle, the connection loss detection timer is started.
7、 当终端需要发送 NAS信令到 MME时(例如当终端移动出当前的跟 踪区,需要发送跟踪区更新请求信令给 MME,或者终端需要发送业务数据, 发送业务请求信令给 MME请求建立数据承载来发送数据,该跟踪区更新请 求信令或业务请求信令即为一条 NAS信令 ), 在建立与 UE的 NAS信令连 接后, MME停止连接丟失检测定时器。  7. When the terminal needs to send the NAS signaling to the MME (for example, when the terminal moves out of the current tracking area, the tracking area update request signaling needs to be sent to the MME, or the terminal needs to send the service data, and send the service request signaling to the MME to request to establish. The data bearer transmits data, and the tracking area update request signaling or the service request signaling is a NAS signaling. After establishing the NAS signaling connection with the UE, the MME stops the connection loss detection timer.
8、 当终端与 MME完成 NAS信令交互, MME释放 NAS信令连接后, 连接丟失检测定时器被重新启动。  8. When the terminal completes the NAS signaling interaction with the MME, and the MME releases the NAS signaling connection, the connection loss detection timer is restarted.
9、 当连接丟失检测定时器到时时, MME向终端月良务器或 HSS或网关 报告该终端连接丟失事件, 并对该终端执行去附着操作, 即删除该终端建 立的承载, 在本地删除该终端的上下文信息。  9. When the connection loss detection timer expires, the MME reports the terminal connection loss event to the terminal server or the HSS or the gateway, and performs a detach operation on the terminal, that is, deletes the bearer established by the terminal, and deletes the bearer locally. The context information of the terminal.
10、如果连接丟失检测定时器到时后, 而在 MME运行的终端可及定时 器或者隐式去附着定时器仍在运行, 则停止终端可及定时器或隐式去附着 定时器。 10. If the connection loss timer expires after the connection loss timer expires, and the terminal accessible timer or implicit detach timer running in the MME is still running, stop the terminal access timer or implicitly detach Timer.
11、 如果隐式去附着定时器到时, 对终端的连接丟失检测定时器仍在 运行, 则停止连接丟失检测定时器。  11. If the implicit connection detach timer expires and the connection loss detection timer of the terminal is still running, stop the connection loss detection timer.
图 3为本发明检测终端连接丟失的装置的组成结构示意图, 如图 3所 示, 本发明检测终端连接丟失的装置所述装置包括: 设置单元 30、 接收单 元 31、 获取单元 32、 检测单元 33及上报单元 34; 接收单元 31、 获取单元 32、 检测单元 33及上报单元 34设于网络侧设备中; 其中,  3 is a schematic structural diagram of a device for detecting a connection loss of a terminal according to the present invention. As shown in FIG. 3, the device for detecting loss of connection of a terminal of the present invention includes: a setting unit 30, a receiving unit 31, an obtaining unit 32, and a detecting unit 33. And the reporting unit 34; the receiving unit 31, the obtaining unit 32, the detecting unit 33, and the reporting unit 34 are disposed in the network side device;
设置单元 30, 用于在终端的签约数据中增设连接丟失的检测参数; 其 中, 所述连接丟失的检测参数包括连接丟失检测定时器时长;  The setting unit 30 is configured to add a detection parameter of the connection loss in the subscription data of the terminal, where the detection parameter of the connection loss includes a connection loss detection timer duration;
接收单元 31 , 用于接收到终端的附着请求;  The receiving unit 31 is configured to receive an attach request of the terminal;
获取单元 32, 用于获取所述终端的签约数据;  The obtaining unit 32 is configured to acquire subscription data of the terminal.
检测单元 33 , 用于对所述终端进行连接丟失检测;  a detecting unit 33, configured to perform connection loss detection on the terminal;
上报单元 34, 用于在所述检测单元检测到所述终端连接丟失时进行上 报。  The reporting unit 34 is configured to perform reporting when the detecting unit detects that the terminal connection is lost.
上述检测单元 33进一步用于, 在释放所述终端的 NAS信令连接时或 所述终端的状态转入空闲状态时, 启动或重启所述连接丟失检测定时器, 在所述终端的 NAS信令连接建立时或所述终端的状态转入连接状态时, 停 止所述连接丟失检测定时器。  The detecting unit 33 is further configured to: when the NAS signaling connection of the terminal is released, or when the state of the terminal transits to an idle state, start or restart the connection loss detection timer, and the NAS signaling at the terminal When the connection is established or the state of the terminal transits to the connected state, the connection loss detection timer is stopped.
上述上报单元 34进一步用于, 在所述连接丟失检测定时器超时时, 向 终端服务器或 HSS或网关发送所述终端连接丟失报告。  The reporting unit 34 is further configured to send the terminal connection loss report to the terminal server or the HSS or the gateway when the connection loss detection timer expires.
上述网络侧设备为 MME;  The network side device is an MME;
上述获取单元 32进一步用于, 首先在本地上下文信息中查找是否存在 所述终端的连接丟失检测定时器时长参数, 没有时从 HSS获取所述终端的 签约数据, 并确认所述终端的签约数据中是否包含所述连接丟失检测定时 器时长的参数。 本领域技术人员应当理解, 本领域技术人员应当理解, 图 3 所示的检 测终端连接丟失的装置是为实现前述的检测终端连接丟失的方法而设置 的, 图中的各处理单元的实现功能可参照前述的检测终端连接丟失的方法 的相关描述而理解。 本领域技术人员应当理解, 图 3 所示的检测终端连接 丟失的装置中各处理单元的功能可通过运行于处理器上的程序而实现, 也 可通过具体的逻辑电路而实现。 The obtaining unit 32 is further configured to first search for the connection loss detection timer duration parameter of the terminal in the local context information, obtain the subscription data of the terminal from the HSS when not, and confirm the subscription data of the terminal. Whether to include the parameter of the connection loss detection timer duration. It should be understood by those skilled in the art that those skilled in the art should understand that the device for detecting the connection loss of the terminal shown in FIG. 3 is set to implement the foregoing method for detecting the connection loss of the terminal, and the implementation functions of each processing unit in the figure may be implemented. It is understood with reference to the aforementioned description of the method of detecting terminal connection loss. It should be understood by those skilled in the art that the functions of the processing units in the device for detecting the connection loss of the terminal shown in FIG. 3 can be implemented by a program running on the processor, or can be realized by a specific logic circuit.
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围。  The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.

Claims

权利要求书 Claim
1、 一种检测终端连接丟失的方法, 其特征在于, 在终端的签约数据中 增设连接丟失的检测参数; 所述方法还包括:  A method for detecting a loss of a connection of a terminal, characterized in that: the detection parameter of the connection loss is added to the subscription data of the terminal; the method further includes:
网络侧设备接收到终端的附着请求后, 获取所述终端的签约数据, 并 对所述终端进行连接丟失检测, 并在检测到所述终端连接丟失时进行上报。  After receiving the connection request of the terminal, the network side device acquires the subscription data of the terminal, performs connection loss detection on the terminal, and performs reporting when detecting that the terminal connection is lost.
2、 根据权利要求 1所述的方法, 其特征在于, 所述连接丟失的检测参 数包括连接丟失检测定时器时长。  2. The method according to claim 1, wherein the connection loss detection parameter comprises a connection loss detection timer duration.
3、 根据权利要求 2所述的方法, 其特征在于, 所述启动对所述终端进 行连接丟失检测, 为:  The method according to claim 2, wherein the initiating connection loss detection on the terminal is:
所述 MME在释放所述终端的非接入层 NAS信令连接时或所述终端的 状态转入空闲状态时, 启动或重启所述连接丟失检测定时器, 在所述终端 的 NAS信令连接建立时或所述终端的状态转入连接状态时, 停止所述连接 丟失检测定时器。  When the MME releases the non-access stratum NAS signaling connection of the terminal or the state of the terminal transits to an idle state, the MME initiates or restarts the connection loss detection timer, and the NAS signaling connection at the terminal The connection loss detection timer is stopped when the state of the terminal or the state of the terminal transits to the connection state.
4、 根据权利要求 2所述的方法, 其特征在于, 所述检测到所述终端的 连接丟失时进行上报, 为:  The method according to claim 2, wherein when the connection of the terminal is detected to be lost, the report is:
所述连接丟失检测定时器超时时,所述 MME向终端服务器或归属用户 服务器 HSS或网关发送所述终端连接丟失报告。  When the connection loss detection timer expires, the MME sends the terminal connection loss report to the terminal server or the home subscriber server HSS or the gateway.
5、 根据权利要求 4所述的方法, 其特征在于, 所述 MME向终端服务 器或 HSS或网关发送所述终端连接丟失报告之后, 所述方法还包括:  The method according to claim 4, after the MME sends the terminal connection loss report to the terminal server or the HSS or the gateway, the method further includes:
所述 MME对所述终端执行去附着操作; 其中,所述去附着操作为删除 为所述终端建立的承载, 删除所述终端的上下文信息。  The MME performs a detach operation on the terminal. The detach operation deletes the bearer established for the terminal, and deletes the context information of the terminal.
6、 根据权利要求 2至 5任一项所述的方法, 其特征在于, 所述方法还 包括:  The method according to any one of claims 2 to 5, wherein the method further comprises:
所述 MME在所述连接丟失检测定时器超时时,停止终端可及定时器和 /或隐式去附着定时器; 所述 MME在隐式去附着定时器超时时, 停止所述连接丟失检测定时 器。 The MME stops the terminal reachable timer and/or the implicit detach timer when the connection loss detection timer expires; The MME stops the connection loss detection timer when the implicit detach timer expires.
7、 根据权利要求 2所述的方法, 其特征在于, 所述网络侧设备为移动 管理单元 MME;  The method according to claim 2, wherein the network side device is a mobility management unit MME;
所述获取所述终端的签约数据为:  The acquiring subscription data of the terminal is:
MME 首先在本地上下文信息中查找是否存在所述终端的连接丟失检 测定时器时长参数, 没有时从归属用户服务器 HSS获取所述终端的签约数 据, 并确认所述终端的签约数据中是否包含所述连接丟失检测定时器时长 的参数。  The MME first searches for the connection loss detection timer duration parameter of the terminal in the local context information, and if not, acquires the subscription data of the terminal from the home subscriber server HSS, and confirms whether the subscription data of the terminal includes the The parameter that connects the length of the loss detection timer.
8、 一种检测终端连接丟失的装置, 其特征在于, 所述装置包括: 设置 单元、 接收单元、 获取单元、 检测单元及上报单元; 所述接收单元、 所述 设置单元, 用于在终端的签约数据中增设连接丟失的检测参数; 其中, 所述连接丟失的检测参数包括连接丟失检测定时器时长;  A device for detecting a loss of a connection of a terminal, the device comprising: a setting unit, a receiving unit, an acquiring unit, a detecting unit, and a reporting unit; the receiving unit, the setting unit, being used at the terminal Adding a detection parameter of the connection loss to the subscription data; wherein, the detection parameter of the connection loss includes a connection loss detection timer duration;
接收单元, 用于接收到终端的附着请求;  a receiving unit, configured to receive an attach request of the terminal;
获取单元, 用于获取所述终端的签约数据;  An obtaining unit, configured to acquire subscription data of the terminal;
检测单元, 用于对所述终端进行连接丟失检测;  a detecting unit, configured to perform connection loss detection on the terminal;
上报单元, 用于在所述检测单元检测到所述终端连接丟失时进行上报。 The reporting unit is configured to perform reporting when the detecting unit detects that the terminal connection is lost.
9、 根据权利要求 8所述的装置, 其特征在于, 所述检测单元进一步用 于,在释放所述终端的 NAS信令连接时或所述终端的状态转入空闲状态时, 启动或重启所述连接丟失检测定时器, 在所述终端的 NAS信令连接建立时 或所述终端的状态转入连接状态时, 停止所述连接丟失检测定时器。 The device according to claim 8, wherein the detecting unit is further configured to start or restart when the NAS signaling connection of the terminal is released or the state of the terminal transits to an idle state. The connection loss detection timer stops the connection loss detection timer when the NAS signaling connection of the terminal is established or when the state of the terminal transits to the connection state.
10、 根据权利要求 8所述的装置, 其特征在于, 所述上报单元进一步 用于, 在所述连接丟失检测定时器超时时, 向终端服务器或 HSS或网关发 送所述终端连接丟失报告。 The device according to claim 8, wherein the reporting unit is further configured to: when the connection loss detection timer expires, send the terminal connection loss report to a terminal server or an HSS or a gateway.
11、根据权利要求 8所述的装置,其特征在于,所述网络侧设备为 MME; 所述获取单元进一步用于, 首先在本地上下文信息中查找是否存在所 述终端的连接丟失检测定时器时长参数, 没有时从 HSS获取所述终端的签 约数据, 并确认所述终端的签约数据中是否包含所述连接丟失检测定时器 时长的参数。 The device according to claim 8, wherein the network side device is an MME; the obtaining unit is further configured to: first, in the local context information, whether there is a connection loss detection timer duration of the terminal The parameter, if not, obtains the subscription data of the terminal from the HSS, and confirms whether the subscription data of the terminal includes the parameter of the connection loss detection timer duration.
PCT/CN2011/073725 2011-02-25 2011-05-06 Method and apparatus for detecting connection loss of terminal WO2012113178A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110046162.5A CN102651883B (en) 2011-02-25 2011-02-25 Detection terminal connects the method and device lost
CN201110046162.5 2011-02-25

Publications (1)

Publication Number Publication Date
WO2012113178A1 true WO2012113178A1 (en) 2012-08-30

Family

ID=46693758

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/073725 WO2012113178A1 (en) 2011-02-25 2011-05-06 Method and apparatus for detecting connection loss of terminal

Country Status (2)

Country Link
CN (1) CN102651883B (en)
WO (1) WO2012113178A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102014000992A1 (en) 2014-01-29 2015-07-30 Alzchem Ag Liquid hardener composition for curing polymer resins (I)
DE102014000993A1 (en) 2014-01-29 2015-07-30 Alzchem Ag Liquid hardener composition for curing polymer resins (II)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015035621A1 (en) * 2013-09-13 2015-03-19 华为终端有限公司 Method, device and system for connecting to network
CN107241714B (en) * 2017-06-01 2020-12-08 珠海市魅族科技有限公司 Method, device and storage medium for establishing communication
SG11201911792PA (en) * 2017-08-07 2020-01-30 Guangdong Oppo Mobile Telecommunications Corp Ltd Service access method and device
CN110062274A (en) * 2019-04-30 2019-07-26 深圳市迅雷网络技术有限公司 A kind of video file caching method, device, equipment and readable storage medium storing program for executing
CN114079960B (en) * 2020-08-21 2023-11-21 中国移动通信集团重庆有限公司 Processing method and device for network access exception, computing equipment and storage medium
CN114221894B (en) * 2021-12-27 2024-01-26 中科海微(北京)科技有限公司 Anti-loss system and anti-loss method for networking of Internet of things

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1669346A (en) * 2002-06-07 2005-09-14 高通股份有限公司 Support for packet dormancy in a wireless communication device
CN1802864A (en) * 2003-08-06 2006-07-12 皮科特有限公司 Systems and methods for seamless roaming between wireless networks
US20080120427A1 (en) * 2006-11-17 2008-05-22 Microsoft Corporation Maintaining real-time conversations over unreliable connections
CN101529808A (en) * 2006-10-30 2009-09-09 汤姆森许可贸易公司 Method for indicating a service interruption source
EP2273763A1 (en) * 2009-06-26 2011-01-12 France Telecom System and method for detecting connection loss between a gateway and an application service

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1234224C (en) * 2002-10-14 2005-12-28 华为技术有限公司 Radio local network terminal on-line realtime testing method
CN101064722B (en) * 2006-04-30 2013-10-02 华为技术有限公司 Method for terminal to enter into idle mode in wireless city domain network
CN101511076A (en) * 2008-07-29 2009-08-19 华为技术有限公司 Management method, device and system for user access network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1669346A (en) * 2002-06-07 2005-09-14 高通股份有限公司 Support for packet dormancy in a wireless communication device
CN1802864A (en) * 2003-08-06 2006-07-12 皮科特有限公司 Systems and methods for seamless roaming between wireless networks
CN101529808A (en) * 2006-10-30 2009-09-09 汤姆森许可贸易公司 Method for indicating a service interruption source
US20080120427A1 (en) * 2006-11-17 2008-05-22 Microsoft Corporation Maintaining real-time conversations over unreliable connections
EP2273763A1 (en) * 2009-06-26 2011-01-12 France Telecom System and method for detecting connection loss between a gateway and an application service

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102014000992A1 (en) 2014-01-29 2015-07-30 Alzchem Ag Liquid hardener composition for curing polymer resins (I)
DE102014000993A1 (en) 2014-01-29 2015-07-30 Alzchem Ag Liquid hardener composition for curing polymer resins (II)

Also Published As

Publication number Publication date
CN102651883A (en) 2012-08-29
CN102651883B (en) 2016-12-28

Similar Documents

Publication Publication Date Title
WO2012113178A1 (en) Method and apparatus for detecting connection loss of terminal
US10555222B2 (en) Event based eUICC fall-back
EP2547149B1 (en) Method and system for tracking area update
EP2731364B1 (en) Method and system for managing a terminal group
WO2011157055A1 (en) Method and device for machine type communication monitoring processing
US9351151B2 (en) Measurement based eUICC fall-back
WO2014067466A1 (en) Method and device for transmitting downlink data
WO2013163945A1 (en) Method for reporting machine type communication event and device thereof
WO2014019455A1 (en) Method and device for performing mdt measurement configuration
WO2012152017A1 (en) Trigger message sending method and system
WO2014023175A1 (en) Message processing method in coexistence of multiple external identifiers of terminal and network side device
WO2013143218A1 (en) Updating method for trigger message counter, machine type communication server and terminal
KR20190069534A (en) Service subscription method and device
WO2012129853A1 (en) Method and system for detecting mobility state of machine type communication terminal
WO2013123716A1 (en) Method and system for monitoring abnormal behavior of terminal
US9319924B2 (en) Method and system for controlling effective time of terminal trigger message
WO2012152046A1 (en) Terminal access method and system
EP2696619B1 (en) System and method for processing trigger messages of a terminal
WO2012151916A1 (en) Method and system for triggering response of terminal, terminal and network side
WO2012149903A1 (en) Method and system for terminal off-line mobility management or triggering
WO2013139073A1 (en) Method and system for sending terminal monitoring report
WO2013067746A1 (en) Method and system for controlling terminal response trigger in network congestion state
WO2012155484A1 (en) A network side apparatus, system and method for triggering terminal
WO2012068792A1 (en) Mobile phone, registration method, system and device for implementing device management of the mobile phone
WO2013091303A1 (en) Method and system for processing terminal trigger message, and related network element

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11859469

Country of ref document: EP

Kind code of ref document: A1