WO2012151951A1 - Method and system for triggering terminal - Google Patents

Method and system for triggering terminal Download PDF

Info

Publication number
WO2012151951A1
WO2012151951A1 PCT/CN2011/082893 CN2011082893W WO2012151951A1 WO 2012151951 A1 WO2012151951 A1 WO 2012151951A1 CN 2011082893 W CN2011082893 W CN 2011082893W WO 2012151951 A1 WO2012151951 A1 WO 2012151951A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
mobility management
management unit
trigger message
message
Prior art date
Application number
PCT/CN2011/082893
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 WO2012151951A1 publication Critical patent/WO2012151951A1/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
    • H04W8/04Registration at HLR or HSS [Home Subscriber Server]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W68/00User notification, e.g. alerting and paging, for incoming communication, change of service or the like

Definitions

  • the present invention relates to the field of machine type communication (MTC) terminal management, and in particular, to a terminal triggering method and system.
  • MTC machine type communication
  • the cellular wireless communication system is mainly composed of a Core Network (CN), a Radio Access Network (RAN), and a terminal.
  • the core network is responsible for non-access layer transactions, such as terminal location update, and the core network is The anchor point of the user plane;
  • the access network includes the base station or the base station and the base station control, and the access network is responsible for the access layer transaction, such as radio resource management, and the physical or logical connection may exist between the base stations according to actual conditions, as shown in FIG.
  • the connection between the base station 1 and the base station 2 or the base station 3, and each base station can be connected to one or more core network nodes;
  • the terminal ie, User Equipment (UE), can communicate with the cellular wireless communication network.
  • Various devices such as mobile phones or laptops.
  • a mobility management unit such as a Mobility Management Entity (MME) or a GPRS Service Support Node (SGSN)
  • MME Mobility Management Entity
  • SGSN GPRS Service Support Node
  • MME Mobility Management Entity
  • SGSN GPRS Service Support Node
  • the Home Subscriber Server (HSS) or the Home Location Register (HLR) is the entity responsible for storing the identity information, authentication information, and authorization information of the terminal device in the core network. According to different situations, the HSS or HLR. It can be used to save the identity information of the user and the binding information of the user and the terminal device, or only save the identity information of the user (the binding information of the user and the terminal device can be saved by the network management), or directly save the identity information of the terminal device.
  • the HSS or HLR is also responsible for the user's subscription database and for performing user authentication. And authorization, etc.
  • the service platform can query user or terminal information from the HSS or HLR.
  • the MTC Inter-working Function is a connection entity between the mobile communication network and the external public network, which can implement functions such as protocol conversion, address query, and information storage.
  • the interoperation function entity is externally connected.
  • the application server can be connected to the HSS/HLR, or MME/SGSN.
  • some services such as the monitoring management system, need to obtain monitoring data from the monitoring terminal.
  • the server needs to trigger the terminal to establish a connection with the server, and the required data is reported. After receiving the trigger message of the server, the terminal needs to be able to respond immediately.
  • the connection to the server is to send a trigger message to the HSS or the HLR through the server, and then query the MME or SGSN of the service terminal through the HSS or HLR, and send a trigger message to the MME or the SGSN, and finally
  • the non-access stratum (NAS) signaling is sent to the terminal, and the terminal establishes a connection with the server according to the trigger message.
  • NAS non-access stratum
  • the existing solution moves the mobility management unit MME or SGSN after the terminal moves in the idle state, and the trigger message is still stored in the mobility management unit before the change, so the network may not be able to The trigger message is sent to the terminal, and the terminal cannot establish a connection with the server in time to perform data reporting.
  • the main object of the present invention is to provide a terminal triggering method and system, which can send a trigger message to a terminal in time.
  • a method for triggering a terminal comprising:
  • the mobility management unit before the terminal change determines whether the trigger message of the terminal stored by the terminal is valid.
  • the trigger message is sent to the changed mobility management unit by using a context response message, and the trigger message is sent by the changed mobility management unit. Send to the terminal.
  • the method further includes:
  • the update request including the terminal identifier is sent to the changed mobility management unit;
  • the changed mobility management unit obtains the mobility management unit before the change based on the update request, and transmits a context request message to the mobility management unit before the change.
  • the method further includes:
  • the mobility management unit receives and saves the trigger message, and sets and starts a timer according to an effective time of the trigger message.
  • the mobility management unit before the change determines whether the trigger message of the terminal stored by itself is valid:
  • the trigger message is valid when it is determined whether the timer expires or not.
  • the changed mobility management unit sends the trigger message to the terminal: the changed mobility management unit carries the trigger message in an update accept message and sends the trigger message to the terminal.
  • a system for triggering a terminal comprising a terminal, the system further comprising: a mobility management unit, which is divided into a mobility management unit before the change and a mobility management unit after the change;
  • the mobility management unit before the change is configured to: after receiving the context request message sent by the changed mobility management unit, determine whether the trigger message stored by itself is valid; when the trigger message is valid, the context response message is The trigger message is sent to the changed mobility management unit;
  • the changed mobility management unit is configured to send a context request message and receive The triggered message is sent to the terminal.
  • system further includes: a server; wherein
  • the server is configured to send a trigger message of the terminal to the mobility management unit of the terminal, where the terminal is configured to send an update request including the terminal identifier to the changed after entering a new tracking area or routing area.
  • Mobility management unit Mobility management unit
  • the changed mobility management unit is specifically configured to obtain the mobility management unit before the change according to the update request, and send a context request message to the mobility management unit before the change.
  • the mobility management unit before the change is specifically configured to receive and save the trigger message, and set and start a timer according to an effective time of the trigger message.
  • the mobility management unit before the change is specifically configured to: after receiving the context request message sent by the changed mobility management unit, determine whether the timer expires, and the trigger message is not received. effective.
  • the changed mobility management unit is specifically configured to carry the trigger message in an update accept message and send the message to the terminal.
  • the mobility management unit before the change receives the context request message transmitted by the changed mobility management unit, and determines that the trigger message of the locally stored terminal is valid. Sending the trigger message to the changed mobility management unit, and sending the trigger message to the terminal by the changed mobility management unit to ensure that the trigger message can be sent to the terminal in time after the terminal moves. The terminal, thereby realizing real-time reporting of data.
  • FIG. 1 is a schematic structural diagram of an existing cellular wireless communication system
  • FIG. 2 is a schematic flowchart of an implementation process of a method for triggering a terminal according to the present invention
  • FIG. 3 is a schematic flowchart of an implementation manner of Embodiment 1 of a method for triggering a terminal according to the present invention
  • FIG. 4 is a schematic flowchart of an implementation manner of Embodiment 2 of a method for triggering a terminal according to the present invention
  • FIG. 5 is a schematic structural diagram of a system triggered by a terminal according to the present invention. detailed description
  • the basic idea of the present invention is: after receiving the context request message sent by the changed mobility management unit, the mobility management unit before the terminal change determines whether the trigger message of the terminal stored by the terminal is valid; the trigger message is valid.
  • the trigger message is sent to the changed mobility management unit by the context response message, and the triggered mobility message is sent to the terminal by the changed mobility management unit.
  • FIG. 2 shows an implementation flow of a method for triggering a terminal of the present invention. As shown in FIG. 2, the method includes the following steps:
  • Step 201 After receiving the context request message sent by the changed mobility management unit, the mobility management unit before the terminal change determines whether the trigger message of the terminal stored by the terminal is valid.
  • the mobility management unit is MME or SGSN;
  • the method further includes: when the MTC application server needs to obtain real-time data from the terminal, sending a trigger message of the terminal to the MTC IWF; and the MTC IWF sends the trigger message to the mobility management of the terminal by using the HSS or the HLR.
  • the unit or the MTC IWF sends the trigger message directly to the mobility management unit of the terminal;
  • the mobility management unit receives and saves the trigger message, where the trigger message may include a terminal identifier, a valid time of the trigger message, an address of the server, an application identifier, and the like; the mobility management unit is configured according to the trigger message. Setting a validity time and starting a timer; after the terminal establishes a non-access stratum connection with the mobility management unit, the mobility management unit sends a trigger message to the terminal;
  • the update request including the terminal identifier is sent to the changed mobility management unit, where the update request may specifically be tracking Zone update request or routing area update request;
  • the changed mobility management unit obtains the mobility management unit before the change based on the update request, and transmits a context request message to the mobility management unit before the change.
  • step 202 when the mobility management unit before the change receives the context request message sent by the changed mobility management unit, it is determined whether the timer expires, and if not, the trigger message If yes, go to step 202, otherwise the current processing flow ends.
  • Step 202 When the trigger message is valid, send the trigger message to the changed mobility management unit by using a context response message, and send the trigger message to the terminal by the changed mobility management unit.
  • the changed mobility management unit may send the trigger message to the terminal by carrying the trigger message in the update accept message.
  • FIG. 3 is a flowchart showing an implementation of the first embodiment of the method for triggering a terminal according to the present invention.
  • Embodiment 1 is a description of a terminal in a third generation (3G) mobile communication system. As shown in FIG. 3, the terminal is triggered by the embodiment. The method includes the following steps:
  • Step 301 When the MTC application server needs to obtain real-time data from the terminal, send a trigger message to the MTC IWF.
  • the trigger message includes a terminal identifier, a valid time of the trigger message, an address of the server, and an application identifier.
  • the terminal identifier is an external identifier used by the terminal outside the network.
  • Step 302 The MTC IWF parses the received trigger message to find the HSS where the terminal is located. After finding the HSS where the terminal is located, a new trigger message is constructed, and the newly generated trigger message is sent to the terminal by triggering the request signaling.
  • HSS HSS
  • the MTC IWF local database stores a one-to-one mapping table between the external identifier and the internal identifier, and a multi-to-one correspondence table between the internal identifier and the HSS;
  • the MTC IWF reads the terminal identifier in the trigger message, and searches for the terminal identifier corresponding to the trigger message in the network according to the external identifier and the internal identifier mapping table saved in the local database.
  • the internal identifier is identified, and the HSS where the terminal is located is found in the correspondence table between the internal identifier and the HSS according to the internal identifier; and the terminal external identifier of the original trigger message is replaced by the internal identifier of the terminal, and a new trigger message is constructed.
  • Step 303 After the terminal registers with the network, the HSS saves the current serving MME of the terminal. After receiving the trigger message, the HSS searches for the service MME of the terminal locally according to the terminal identifier in the trigger message, and inserts the subscription data signaling. The trigger message is sent to the MME. Here, for convenience of presentation, the current serving MME of the terminal may be recorded as the MME before the change.
  • Step 304 After receiving the insertion subscription data signaling sent by the HSS, the MME reads the trigger message included therein, and sets a timer T1 locally, and locally sets the timer T1 according to the valid time of the trigger message in the trigger message. Value, and start the timer, while saving the trigger message of the terminal.
  • Step 305 If the terminal has established a NAS connection with the MME, the MME before the change sends a downlink universal transmission NAS message to the terminal, where the message includes a trigger message of the terminal.
  • the step further includes: if the terminal is in an idle state, the MME does not immediately send a trigger message until the terminal establishes a NAS connection with the MME, and then sends the message.
  • Step 306 When the terminal in the idle state moves to the new tracking area, the tracking area update request needs to be sent to the changed MME, where the tracking area update request includes the identifier of the terminal; Step 307, the changed MME receives the After the tracking area update request of the terminal, the identifier of the MME before the change is extracted according to the identifier of the terminal, and then the context request message is sent to the MME before the change, and the MME before the change is requested to forward the context information of the terminal to the MME.
  • the changed MME
  • Step 308 After receiving the context request message of the changed MME, the MME before the change sends a context response message to the changed MME, and the context response message includes the terminal locally saved by the MME before the change. Contextual information, at the same time, the judgment step Whether the trigger message saved in 304 is valid, and if valid, the MME before the change includes the trigger message of the terminal in the context response message;
  • determining whether the trigger message is valid is whether the timer T1 set in the determining step 304 is up, and if not, the trigger message is still valid.
  • Step 309 After the changed MME receives the context response message sent by the MME before the change, the MME sends the trigger message to the terminal in the tracking area update accept message.
  • Step 310 After receiving the tracking area update accept message, the terminal reads the trigger message, and determines the access point that needs to establish a connection according to the application identifier given in the trigger message, and the local application identifier and the access point name comparison table. Name, which is included in the packet data network connection request message and sent to the changed MME;
  • Step 311 After receiving the packet data network connection request message of the terminal, the changed MME establishes a bearer according to the access point name provided by the terminal in the packet data network connection request message.
  • the step further includes: after the changing The MME deletes the trigger message of the terminal saved locally.
  • Step 312 After the bearer is established, the terminal communicates with the server, and the terminal can report the data to the server in real time.
  • FIG. 4 is a flowchart showing the implementation of the method for triggering the terminal of the present invention. As shown in FIG. 4, the method for triggering the terminal in the second embodiment includes the following steps:
  • Step 401 When the MTC application server needs to obtain real-time data from the terminal, send a trigger message to the MTC IWF.
  • the trigger message includes a terminal identifier, a valid time of the trigger message, an address of the server, and an application identifier.
  • the terminal identifier is an external identifier used by the terminal outside the network.
  • Step 402 The MTC IWF parses the received trigger message to find the HLR where the terminal is located. After finding the HLR where the terminal is located, constructs a new trigger message, and sends a newly generated trigger message to the terminal by triggering the request signaling.
  • HLR Specifically, the MTC IWF local database stores a one-to-one mapping table between the external identifier and the internal identifier, and a multi-to-one correspondence table between the internal identifier and the HLR;
  • the MTC IWF reads the terminal identifier in the trigger message, and searches for the internal identifier used in the network corresponding to the terminal identifier in the trigger message according to the external identifier and the internal identifier mapping table saved in the local database, and internally identifies the internal identifier according to the internal identifier.
  • the HLR corresponding table is used to find the HLR where the terminal is located.
  • the terminal internal identifier is used to replace the external identifier of the original trigger message, and a new trigger message is generated.
  • Step 403 After the terminal registers with the network, the HLR saves the current serving SGSN of the terminal. After receiving the trigger message, the HLR searches for the service SGSN of the terminal according to the terminal identifier in the trigger message, and inserts the subscription data signaling. The trigger message is sent to the SGSN. Here, for convenience of description, the current service SGSN of the terminal may be recorded as the SGSN before the change.
  • Step 405 If the terminal has established a NAS connection with the SGSN, the SGSN sends a downlink general transmission NAS message to the terminal, where the message includes a trigger message of the terminal.
  • the step further includes: if the terminal is in an idle state, the SGSN does not immediately send a trigger message until the terminal establishes a NAS connection with the SGSN and then sends the message.
  • Step 406 When the terminal in the idle state moves to the new routing area, the routing area update request needs to be sent to the changed SGSN, where the routing area update request includes the identifier of the terminal.
  • Step 407 the changed SGSN receives the terminal. After the routing area update request, the identifier of the SGSN before the change is extracted according to the identifier of the terminal, and then the context request message is sent to the SGSN before the change, and the SGSN before the change is requested to forward the context information of the terminal to the change.
  • Step 408 After receiving the context request message of the changed SGSN, the SGSN before the change sends a context response message to the changed SGSN, where the context response message includes the terminal locally saved by the SGSN before the change. Context information; at the same time, determining whether the trigger message saved in step 404 is valid, if valid, the SGSN before the change includes the trigger message of the terminal in the context response message;
  • the trigger message is valid to determine whether the timer T2 set in step 404 is up, and if not, the trigger message is still valid.
  • Step 409 After receiving the context response message sent by the SGSN before the change, the SGSN sends the trigger message to the terminal in the routing area update accept message.
  • Step 410 After receiving the routing area update accept message, the terminal reads the trigger message, and determines the access point that needs to establish a connection according to the application identifier given in the trigger message, and the local application identifier and the access point name comparison table. The name is included in the Packet Data Protocol Context Setup Request message and sent to the changed SGSN.
  • Step 411 After receiving the packet data protocol context establishment request message of the terminal, the changed SGSN establishes a bearer name according to the access point name provided by the terminal in the packet data protocol context establishment request message.
  • the step further includes: deleting, by the changed SGSN, the locally saved trigger message of the terminal.
  • Step 412 After the bearer is established, the terminal communicates with the server, and the terminal can report the data to the server in real time.
  • FIG. 5 shows the structure of the system triggered by the terminal of the present invention.
  • the system includes: a mobility management unit and a terminal 53. Further, the mobility management unit is divided into a mobility management unit 51 before the change. And the changed mobility management unit 52; wherein
  • the mobility management unit 51 before the change is used to receive the context request message sent by the changed mobility management unit 52, and determine whether the trigger message stored by itself is valid; When the message is valid, the trigger message is sent to the changed mobility management unit 52 by using a context response message;
  • the changed mobility management unit 52 is configured to send a context request message, and send the received trigger message to the terminal 53.
  • system further includes: a server 54 for transmitting a trigger message of the terminal 53 to the mobility management unit of the terminal 53;
  • the terminal 53 is configured to: after entering a new tracking area or routing area, send an update request including the terminal identifier to the changed mobility management unit 52;
  • the changed mobility management unit 52 is specifically configured to obtain the mobility management unit 51 before the change according to the update request, and send a context request message to the mobility management unit 51 before the change.
  • the mobility management unit 51 before the change is specifically configured to receive and save the trigger message, and set and start a timer according to the valid time of the trigger message.
  • the mobility management unit 51 before the change is specifically configured to determine, after the change of the context request message sent by the mobility management unit 52, whether the timer expires or not. The trigger message is valid.
  • the mobility management unit 51 before the change is specifically configured to: after receiving the trigger message of the terminal 53 sent by the server 54, when the terminal 53 and the mobility management unit have established a NAS connection, The trigger message is sent to the terminal 53.
  • the changed mobility management unit 52 is specifically configured to carry the trigger message to the terminal 53 in an update accept message.

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Disclosed is a method for triggering a terminal, comprising: a mobility management entity before change of a terminal determining whether a trigger message stored in itself is valid upon receiving a context request message sent by a mobility management entity after the change; if valid, sending the trigger message to the mobility management entity after the change through a context response message, and the mobility management entity after the change sending the trigger message to the terminal. Also disclosed is a system for triggering a terminal. According to the present invention, after movement of a terminal, a trigger message can still be sent to the terminal in time, thereby achieving real-time reporting of data.

Description

一种终端触发的方法及系统 技术领域  Method and system for terminal triggering
本发明涉及机器类型通信 ( Machine Type Communication, MTC )终端 管理领域, 尤其涉及一种终端触发的方法及系统。 背景技术  The present invention relates to the field of machine type communication (MTC) terminal management, and in particular, to a terminal triggering method and system. Background technique
蜂窝无线通讯系统主要由核心网( Core Network, CN )、接入网(Radio Access Network, RAN )和终端组成, 其中, 核心网负责非接入层事务, 例 如终端位置更新等, 且核心网是用户面的锚点; 接入网包括基站或者基站 以及基站控制, 接入网负责接入层事务如无线资源管理等, 基站之间根据 实际情况可以存在物理或者逻辑上的连接, 如图 1 中的基站 1与基站 2或 基站 3之间的连接, 并且每个基站可以和一个或者一个以上的核心网节点 连接; 终端即用户设备(User Equipment, UE )是指可以和蜂窝无线通讯网 络通讯的各种设备, 比如移动电话或者笔记本电脑等。  The cellular wireless communication system is mainly composed of a Core Network (CN), a Radio Access Network (RAN), and a terminal. The core network is responsible for non-access layer transactions, such as terminal location update, and the core network is The anchor point of the user plane; the access network includes the base station or the base station and the base station control, and the access network is responsible for the access layer transaction, such as radio resource management, and the physical or logical connection may exist between the base stations according to actual conditions, as shown in FIG. The connection between the base station 1 and the base station 2 or the base station 3, and each base station can be connected to one or more core network nodes; the terminal, ie, User Equipment (UE), can communicate with the cellular wireless communication network. Various devices, such as mobile phones or laptops.
移动性管理单元,如移动管理单元( Mobility Management Entity, MME ) 或者 GPRS服务支持节点 (Serving GPRS Support Node, SGSN )是核心网 中负责管理终端接入控制、 位置信息更新以及切换的单元, 负责核心网到 终端的非接入层信令控制和将终端注册到网络的功能。  A mobility management unit, such as a Mobility Management Entity (MME) or a GPRS Service Support Node (SGSN), is a unit in the core network responsible for managing terminal access control, location information update, and handover, and is responsible for the core. Network-to-terminal non-access stratum signaling control and the ability to register terminals to the network.
归属用户服务器( Home Subscriber Server, HSS )或归属用户位置寄存 器( Home Location Register, HLR )是核心网中负责保存终端设备的身份信 息、 认证信息和授权信息等的实体, 根据不同情况, HSS或 HLR可用于保 存用户的身份信息及用户和终端设备的绑定信息、 或只保存用户的身份信 息(可由网管保存用户和终端设备的绑定信息)、 或直接保存终端设备的身 份信息。 HSS或 HLR还负责用户的签约数据库, 以及执行用户的身份验证 和授权等。 业务平台可从 HSS或 HLR查询用户或终端信息。 The Home Subscriber Server (HSS) or the Home Location Register (HLR) is the entity responsible for storing the identity information, authentication information, and authorization information of the terminal device in the core network. According to different situations, the HSS or HLR. It can be used to save the identity information of the user and the binding information of the user and the terminal device, or only save the identity information of the user (the binding information of the user and the terminal device can be saved by the network management), or directly save the identity information of the terminal device. The HSS or HLR is also responsible for the user's subscription database and for performing user authentication. And authorization, etc. The service platform can query user or terminal information from the HSS or HLR.
MTC互操作功能实体( MTC Inter-working Function, MTC IWF )是在 移动通信网和外部公网之间的一个连接实体, 能够实现协议转换、 地址查 询、 信息保存等功能; 互操作功能实体对外连接应用服务器, 对内可以连 接到 HSS/HLR, 或 MME/SGSN。  The MTC Inter-working Function (MTC IWF) is a connection entity between the mobile communication network and the external public network, which can implement functions such as protocol conversion, address query, and information storage. The interoperation function entity is externally connected. The application server can be connected to the HSS/HLR, or MME/SGSN.
通常某些业务, 比如监控管理系统需要向监控终端获取监控数据, 需 要通过服务器触发终端建立与服务器的连接, 以上报需要的数据; 终端在 接收到服务器的触发消息后, 需要能够立即响应, 建立与服务器的连接。 目前, 为了满足服务器对终端的触发需求, 已有的解决方案为通过服务器 发送触发信息到 HSS或 HLR,然后通过 HSS或 HLR查询服务终端的 MME 或 SGSN, 将触发消息发送到 MME或 SGSN, 最后通过非接入层( NAS ) 信令发送到终端, 终端根据触发消息建立与服务器的连接。  Generally, some services, such as the monitoring management system, need to obtain monitoring data from the monitoring terminal. The server needs to trigger the terminal to establish a connection with the server, and the required data is reported. After receiving the trigger message of the server, the terminal needs to be able to respond immediately. The connection to the server. At present, in order to meet the triggering requirement of the server to the terminal, the existing solution is to send a trigger message to the HSS or the HLR through the server, and then query the MME or SGSN of the service terminal through the HSS or HLR, and send a trigger message to the MME or the SGSN, and finally The non-access stratum (NAS) signaling is sent to the terminal, and the terminal establishes a connection with the server according to the trigger message.
然而, 现有的解决方案当终端处于空闲状态下发生移动后, 移动性管 理单元 MME或 SGSN会随之发生变更, 而触发消息仍然保存在变更前的 移动性管理单元, 如此, 网络可能无法将触发消息发送到终端, 而造成终 端不能及时与服务器建立连接, 进行数据上报。 发明内容  However, the existing solution moves the mobility management unit MME or SGSN after the terminal moves in the idle state, and the trigger message is still stored in the mobility management unit before the change, so the network may not be able to The trigger message is sent to the terminal, and the terminal cannot establish a connection with the server in time to perform data reporting. Summary of the invention
有鉴于此, 本发明的主要目的在于提供一种终端触发的方法及系统, 能够及时地将触发消息发送至终端。  In view of this, the main object of the present invention is to provide a terminal triggering method and system, which can send a trigger message to a terminal in time.
为达到上述目的, 本发明的技术方案是这样实现的:  In order to achieve the above object, the technical solution of the present invention is achieved as follows:
一种终端触发的方法, 所述方法包括:  A method for triggering a terminal, the method comprising:
终端变更前的移动性管理单元收到变更后的移动性管理单元发来的上 下文请求消息后, 判断自身存储的所述终端的触发消息是否有效;  After receiving the context request message sent by the changed mobility management unit, the mobility management unit before the terminal change determines whether the trigger message of the terminal stored by the terminal is valid.
所述触发消息有效时, 通过上下文响应消息将所述触发消息发送给变 更后的移动性管理单元, 由所述变更后的移动性管理单元将所述触发消息 发送至终端。 When the trigger message is valid, the trigger message is sent to the changed mobility management unit by using a context response message, and the trigger message is sent by the changed mobility management unit. Send to the terminal.
进一步地, 所述终端变更前的移动性管理单元收到变更后的移动性管 理单元发来的上下文请求消息之前, 所述方法还包括:  Further, before the mobility management unit before the terminal change receives the context request message sent by the changed mobility management unit, the method further includes:
服务器发送终端的触发消息给所述终端的移动性管理单元;  Sending, by the server, a trigger message of the terminal to the mobility management unit of the terminal;
终端进入新的跟踪区或路由区后, 发送包含有终端标识的更新请求给 变更后的移动性管理单元;  After the terminal enters a new tracking area or routing area, the update request including the terminal identifier is sent to the changed mobility management unit;
所述变更后的移动性管理单元根据所述更新请求得到变更前的移动性 管理单元, 并发送上下文请求消息给所述变更前的移动性管理单元。  The changed mobility management unit obtains the mobility management unit before the change based on the update request, and transmits a context request message to the mobility management unit before the change.
其中, 所述服务器发送终端的触发消息给所述终端的移动性管理单元 之后, 所述方法还包括:  After the server sends a trigger message of the terminal to the mobility management unit of the terminal, the method further includes:
所述移动性管理单元接收并保存所述触发消息, 根据所述触发消息的 有效时间设置并启动定时器。  The mobility management unit receives and saves the trigger message, and sets and starts a timer according to an effective time of the trigger message.
其中, 所述变更前的移动性管理单元判断自身存储的所述终端的触发 消息是否有效为:  The mobility management unit before the change determines whether the trigger message of the terminal stored by itself is valid:
判断所述定时器是否到时, 未到时则所述触发消息有效。  The trigger message is valid when it is determined whether the timer expires or not.
其中, 所述变更后的移动性管理单元将所述触发消息发送至终端为: 变更后的移动性管理单元将所述触发消息携带在更新接受消息中发送 给所述终端。  The changed mobility management unit sends the trigger message to the terminal: the changed mobility management unit carries the trigger message in an update accept message and sends the trigger message to the terminal.
一种终端触发的系统, 包括终端, 所述系统还包括: 移动性管理单元, 分为变更前的移动性管理单元和变更后的移动性管理单元; 其中,  A system for triggering a terminal, comprising a terminal, the system further comprising: a mobility management unit, which is divided into a mobility management unit before the change and a mobility management unit after the change;
所述变更前的移动性管理单元, 用于收到变更后的移动性管理单元发 来的上下文请求消息后, 判断自身存储的触发消息是否有效; 所述触发消 息有效时, 通过上下文响应消息将所述触发消息发送给变更后的移动性管 理单元;  The mobility management unit before the change is configured to: after receiving the context request message sent by the changed mobility management unit, determine whether the trigger message stored by itself is valid; when the trigger message is valid, the context response message is The trigger message is sent to the changed mobility management unit;
所述变更后的移动性管理单元, 用于发送上下文请求消息, 并将接收 到的触发消息发送至终端。 The changed mobility management unit is configured to send a context request message and receive The triggered message is sent to the terminal.
进一步地, 所述系统还包括: 服务器; 其中,  Further, the system further includes: a server; wherein
所述服务器, 用于发送终端的触发消息给所述终端的移动性管理单元; 所述终端, 用于在进入新的跟踪区或路由区后, 发送包含有终端标识 的更新请求给变更后的移动性管理单元;  The server is configured to send a trigger message of the terminal to the mobility management unit of the terminal, where the terminal is configured to send an update request including the terminal identifier to the changed after entering a new tracking area or routing area. Mobility management unit;
所述变更后的移动性管理单元, 具体用于根据更新请求得到变更前的 移动性管理单元, 并发送上下文请求消息给所述变更前的移动性管理单元。  The changed mobility management unit is specifically configured to obtain the mobility management unit before the change according to the update request, and send a context request message to the mobility management unit before the change.
其中, 所述变更前的移动性管理单元, 具体用于接收并保存所述触发 消息, 根据所述触发消息的有效时间设置并启动定时器。  The mobility management unit before the change is specifically configured to receive and save the trigger message, and set and start a timer according to an effective time of the trigger message.
其中, 所述变更前的移动性管理单元, 具体用于在接收到变更后的移 动性管理单元发来的上下文请求消息后, 判断所述定时器是否到时, 未到 时则所述触发消息有效。  The mobility management unit before the change is specifically configured to: after receiving the context request message sent by the changed mobility management unit, determine whether the timer expires, and the trigger message is not received. effective.
其中, 所述变更后的移动性管理单元, 具体用于将所述触发消息携带 在更新接受消息中发送给所述终端。  The changed mobility management unit is specifically configured to carry the trigger message in an update accept message and send the message to the terminal.
本发明在终端发生移动性管理单元变更时, 变更前的移动性管理单元 接收到变更后的移动性管理单元发送的上下文请求消息, 且判断得到本地 保存的所述终端的触发消息有效的情况下, 将所述触发消息发送给变更后 的移动性管理单元, 由变更后的移动性管理单元将所述触发消息发送至终 端, 以保证在终端发生移动后, 仍能及时地将触发消息发送至终端, 从而 实现数据的实时上报。 附图说明  In the present invention, when the mobility management unit is changed in the terminal, the mobility management unit before the change receives the context request message transmitted by the changed mobility management unit, and determines that the trigger message of the locally stored terminal is valid. Sending the trigger message to the changed mobility management unit, and sending the trigger message to the terminal by the changed mobility management unit to ensure that the trigger message can be sent to the terminal in time after the terminal moves. The terminal, thereby realizing real-time reporting of data. DRAWINGS
图 1为现有的蜂窝无线通讯系统的架构示意图;  1 is a schematic structural diagram of an existing cellular wireless communication system;
图 2为本发明终端触发的方法的实现流程示意图;  2 is a schematic flowchart of an implementation process of a method for triggering a terminal according to the present invention;
图 3为本发明终端触发的方法实施例一的实现流程示意图;  3 is a schematic flowchart of an implementation manner of Embodiment 1 of a method for triggering a terminal according to the present invention;
图 4为本发明终端触发的方法实施例二的实现流程示意图; 图 5为本发明终端触发的系统的结构示意图。 具体实施方式 4 is a schematic flowchart of an implementation manner of Embodiment 2 of a method for triggering a terminal according to the present invention; FIG. 5 is a schematic structural diagram of a system triggered by a terminal according to the present invention. detailed description
本发明的基本思想为: 终端变更前的移动性管理单元收到变更后的移 动性管理单元发来的上下文请求消息后, 判断自身存储的所述终端的触发 消息是否有效; 所述触发消息有效时, 通过上下文响应消息将所述触发消 息发送给变更后的移动性管理单元, 由变更后的移动性管理单元将所述触 发消息发送至终端。  The basic idea of the present invention is: after receiving the context request message sent by the changed mobility management unit, the mobility management unit before the terminal change determines whether the trigger message of the terminal stored by the terminal is valid; the trigger message is valid. The trigger message is sent to the changed mobility management unit by the context response message, and the triggered mobility message is sent to the terminal by the changed mobility management unit.
为使本发明的目的、 技术方案和优点更加清楚明白, 以下举实施例并 参照附图, 对本发明进一步详细说明。  The present invention will be further described in detail below with reference to the accompanying drawings.
图 2示出了本发明终端触发的方法的实现流程, 如图 2所示, 所述方 法包括下述步驟:  FIG. 2 shows an implementation flow of a method for triggering a terminal of the present invention. As shown in FIG. 2, the method includes the following steps:
步驟 201 ,终端变更前的移动性管理单元收到变更后的移动性管理单元 发来的上下文请求消息后, 判断自身存储的所述终端的触发消息是否有效; 这里, 所述移动性管理单元为 MME或 SGSN;  Step 201: After receiving the context request message sent by the changed mobility management unit, the mobility management unit before the terminal change determines whether the trigger message of the terminal stored by the terminal is valid. Here, the mobility management unit is MME or SGSN;
在本步驟之前, 所述方法还包括: MTC应用服务器需要从终端获取实 时数据时, 会发送终端的触发消息给 MTC IWF; MTC IWF通过 HSS或 HLR将所述触发消息发送给终端的移动性管理单元或 MTC IWF将所述触 发消息直接发送到所述终端的移动性管理单元;  Before the step, the method further includes: when the MTC application server needs to obtain real-time data from the terminal, sending a trigger message of the terminal to the MTC IWF; and the MTC IWF sends the trigger message to the mobility management of the terminal by using the HSS or the HLR. The unit or the MTC IWF sends the trigger message directly to the mobility management unit of the terminal;
所述移动性管理单元接收并保存所述触发消息, 这里, 所述触发消息 中可以包含终端标识、 触发消息的有效时间、 服务器的地址、 应用标识等; 移动性管理单元根据所述触发消息中的有效时间设置并启动定时器; 当所 述终端与所述移动性管理单元建立了非接入层连接后, 所述移动性管理单 元发送触发消息给所述终端;  The mobility management unit receives and saves the trigger message, where the trigger message may include a terminal identifier, a valid time of the trigger message, an address of the server, an application identifier, and the like; the mobility management unit is configured according to the trigger message. Setting a validity time and starting a timer; after the terminal establishes a non-access stratum connection with the mobility management unit, the mobility management unit sends a trigger message to the terminal;
当所述终端移动到新的跟踪区或路由区后, 发送包含有终端标识的更 新请求给变更后的移动性管理单元, 这里, 所述更新请求具体可以为跟踪 区更新请求或路由区更新请求; After the terminal moves to the new tracking area or the routing area, the update request including the terminal identifier is sent to the changed mobility management unit, where the update request may specifically be tracking Zone update request or routing area update request;
所述变更后的移动性管理单元根据所述更新请求得到变更前的移动性 管理单元, 并发送上下文请求消息给所述变更前的移动性管理单元。  The changed mobility management unit obtains the mobility management unit before the change based on the update request, and transmits a context request message to the mobility management unit before the change.
具体地, 本步驟中, 变更前的移动性管理单元接收到变更后的移动性 管理单元发来的上下文请求消息时, 判断所述定时器是否到时, 若未到时, 则所述触发消息有效, 执行步驟 202, 否则当前处理流程结束。  Specifically, in this step, when the mobility management unit before the change receives the context request message sent by the changed mobility management unit, it is determined whether the timer expires, and if not, the trigger message If yes, go to step 202, otherwise the current processing flow ends.
步驟 202, 所述触发消息有效时,通过上下文响应消息将所述触发消息 发送给变更后的移动性管理单元, 由所述变更后的移动性管理单元将所述 触发消息发送至终端;  Step 202: When the trigger message is valid, send the trigger message to the changed mobility management unit by using a context response message, and send the trigger message to the terminal by the changed mobility management unit.
这里, 变更后的移动性管理单元可以通过将所述触发消息携带在更新 接受消息中发送给所述终端。  Here, the changed mobility management unit may send the trigger message to the terminal by carrying the trigger message in the update accept message.
图 3 示出了本发明终端触发的方法实施例一的实现流程, 实施例一以 终端在第三代(3G )移动通信系统中进行的说明, 如图 3所示, 实施例一 终端触发的方法包括下述步驟:  FIG. 3 is a flowchart showing an implementation of the first embodiment of the method for triggering a terminal according to the present invention. Embodiment 1 is a description of a terminal in a third generation (3G) mobile communication system. As shown in FIG. 3, the terminal is triggered by the embodiment. The method includes the following steps:
步驟 301 , 当 MTC应用服务器需要从终端获取实时数据时, 将触发消 息发送到 MTC IWF;  Step 301: When the MTC application server needs to obtain real-time data from the terminal, send a trigger message to the MTC IWF.
其中, 所述触发消息中包含终端标识、 触发消息的有效时间、 服务器 的地址、 应用标识; 这里, 所述终端标识为网络之外终端使用的外部标识。  The trigger message includes a terminal identifier, a valid time of the trigger message, an address of the server, and an application identifier. Here, the terminal identifier is an external identifier used by the terminal outside the network.
步驟 302, MTC IWF解析接收到的触发消息, 查找终端所在的 HSS; 在查找到终端所在的 HSS后, 构建新的触发消息, 通过触发请求信令将构 建得到的新的触发消息发送到终端所在的 HSS;  Step 302: The MTC IWF parses the received trigger message to find the HSS where the terminal is located. After finding the HSS where the terminal is located, a new trigger message is constructed, and the newly generated trigger message is sent to the terminal by triggering the request signaling. HSS;
具体地, MTC IWF本地数据库中保存有外部标识与内部标识之间的一 对一映射表, 以及内部标识与 HSS的多对一对应表;  Specifically, the MTC IWF local database stores a one-to-one mapping table between the external identifier and the internal identifier, and a multi-to-one correspondence table between the internal identifier and the HSS;
MTC IWF读取触发消息中的终端标识, 根据本地数据库中保存的外部 标识和内部标识映射表, 查找触发消息中的终端标识对应的在网络中使用 的内部标识, 并根据内部标识在内部标识与 HSS的对应表中找到终端所在 的 HSS; 使用终端内部标识替代原触发消息的终端外部标识, 构建得到新 的触发消息。 The MTC IWF reads the terminal identifier in the trigger message, and searches for the terminal identifier corresponding to the trigger message in the network according to the external identifier and the internal identifier mapping table saved in the local database. The internal identifier is identified, and the HSS where the terminal is located is found in the correspondence table between the internal identifier and the HSS according to the internal identifier; and the terminal external identifier of the original trigger message is replaced by the internal identifier of the terminal, and a new trigger message is constructed.
步驟 303 , 终端注册到网络上之后, HSS保存终端当前的服务 MME; 在接收到触发消息后, HSS根据触发消息中的终端标识在本地保存信息查 找终端的服务 MME,通过插入签约数据信令将触发消息发送到所述 MME; 这里,为了表述方便,可将终端当前的服务 MME记为变更前的 MME。 步驟 304, 所述 MME在接收到 HSS发送的插入签约数据信令后, 读 取其中包含的触发消息, 在本地设置定时器 T1 , 根据触发消息中触发消息 的有效时间在本地设置定时器 T1的值, 并启动该定时器, 同时保存该终端 的触发消息。  Step 303: After the terminal registers with the network, the HSS saves the current serving MME of the terminal. After receiving the trigger message, the HSS searches for the service MME of the terminal locally according to the terminal identifier in the trigger message, and inserts the subscription data signaling. The trigger message is sent to the MME. Here, for convenience of presentation, the current serving MME of the terminal may be recorded as the MME before the change. Step 304: After receiving the insertion subscription data signaling sent by the HSS, the MME reads the trigger message included therein, and sets a timer T1 locally, and locally sets the timer T1 according to the valid time of the trigger message in the trigger message. Value, and start the timer, while saving the trigger message of the terminal.
步驟 305 , 如果终端与所述 MME已建立 NAS连接, 则所述变更前的 MME发送下行通用传输 NAS消息给终端, 在该消息中包含该终端的触发 消息;  Step 305: If the terminal has established a NAS connection with the MME, the MME before the change sends a downlink universal transmission NAS message to the terminal, where the message includes a trigger message of the terminal.
另外, 本步驟中还包括, 如果终端处于空闲状态, 所述 MME 不立即 发送触发消息, 直至等待终端与所述 MME建立 NAS连接后再发送。  In addition, the step further includes: if the terminal is in an idle state, the MME does not immediately send a trigger message until the terminal establishes a NAS connection with the MME, and then sends the message.
步驟 306, 当处于空闲状态的终端移动到新的跟踪区, 则需要向变更后 的 MME发送跟踪区更新请求 , 所述跟踪区更新请求中包含终端的标识; 步驟 307, 变更后的 MME接收到终端的跟踪区更新请求后, 先根据终 端的标识提取变更前的 MME的标识,再发送上下文请求消息给所述变更前 的 MME, 请求所述变更前的 MME将终端的上下文信息转发到所述变更后 的 MME;  Step 306: When the terminal in the idle state moves to the new tracking area, the tracking area update request needs to be sent to the changed MME, where the tracking area update request includes the identifier of the terminal; Step 307, the changed MME receives the After the tracking area update request of the terminal, the identifier of the MME before the change is extracted according to the identifier of the terminal, and then the context request message is sent to the MME before the change, and the MME before the change is requested to forward the context information of the terminal to the MME. The changed MME;
步驟 308, 所述变更前的 MME接收到所述变更后的 MME的上下文请 求消息后, 发送上下文响应消息给所述变更后的 MME, 上下文响应消息中 包含所述变更前的 MME本地保存的终端的上下文信息, 同时, 判断步驟 304中保存的触发消息是否有效, 若有效, 则变更前的 MME在上下文响应 消息中包含该终端的触发消息; Step 308: After receiving the context request message of the changed MME, the MME before the change sends a context response message to the changed MME, and the context response message includes the terminal locally saved by the MME before the change. Contextual information, at the same time, the judgment step Whether the trigger message saved in 304 is valid, and if valid, the MME before the change includes the trigger message of the terminal in the context response message;
具体地, 判断所述触发消息是否有效为判断步驟 304 中设置的定时器 T1是否到时, 若未到时, 则该触发消息仍然有效。  Specifically, determining whether the trigger message is valid is whether the timer T1 set in the determining step 304 is up, and if not, the trigger message is still valid.
步驟 309, 变更后的 MME接收到变更前的 MME发送的上下文响应消 息后, 将触发消息携带在跟踪区更新接受消息中发送给该终端;  Step 309: After the changed MME receives the context response message sent by the MME before the change, the MME sends the trigger message to the terminal in the tracking area update accept message.
步驟 310, 终端接收到跟踪区更新接受消息后, 读取其中的触发消息, 根据触发消息中给出的应用标识, 以及本地应用标识和接入点名称对照表, 确定需要建立连接的接入点名称, 将其包含在分组数据网络连接请求消息 中发送到变更后的 MME;  Step 310: After receiving the tracking area update accept message, the terminal reads the trigger message, and determines the access point that needs to establish a connection according to the application identifier given in the trigger message, and the local application identifier and the access point name comparison table. Name, which is included in the packet data network connection request message and sent to the changed MME;
步驟 311 ,变更后的 MME接收到终端的分组数据网络连接请求消息后, 根据终端在分组数据网络连接请求消息中提供的接入点名称, 建立承载; 另外, 本步驟还包括: 所述变更后的 MME删除本地保存的该终端的 触发消息。  Step 311: After receiving the packet data network connection request message of the terminal, the changed MME establishes a bearer according to the access point name provided by the terminal in the packet data network connection request message. In addition, the step further includes: after the changing The MME deletes the trigger message of the terminal saved locally.
步驟 312, 承载建立完成后, 终端与服务器之间进行通信, 终端可以实 时上报数据给所述服务器。  Step 312: After the bearer is established, the terminal communicates with the server, and the terminal can report the data to the server in real time.
图 4示出了本发明终端触发的方法实施例二的实现流程, 如图 4所示, 所述实施例二终端触发的方法包括下述步驟:  FIG. 4 is a flowchart showing the implementation of the method for triggering the terminal of the present invention. As shown in FIG. 4, the method for triggering the terminal in the second embodiment includes the following steps:
步驟 401 , 当 MTC应用服务器需要从终端获取实时数据时, 将触发消 息发送到 MTC IWF;  Step 401: When the MTC application server needs to obtain real-time data from the terminal, send a trigger message to the MTC IWF.
其中, 所述触发消息中包含终端标识、 触发消息的有效时间、 服务器 的地址、 应用标识; 这里, 所述终端标识为网络之外终端使用的外部标识。  The trigger message includes a terminal identifier, a valid time of the trigger message, an address of the server, and an application identifier. Here, the terminal identifier is an external identifier used by the terminal outside the network.
步驟 402, MTC IWF解析接收到的触发消息, 查找终端所在的 HLR; 在查找到终端所在的 HLR后, 构建新的触发消息, 通过触发请求信令将构 建得到的新的触发消息发送到终端所在的 HLR; 具体地, MTC IWF本地数据库中保存有外部标识与内部标识之间的一 对一映射表, 以及内部标识与 HLR的多对一对应表; Step 402: The MTC IWF parses the received trigger message to find the HLR where the terminal is located. After finding the HLR where the terminal is located, constructs a new trigger message, and sends a newly generated trigger message to the terminal by triggering the request signaling. HLR; Specifically, the MTC IWF local database stores a one-to-one mapping table between the external identifier and the internal identifier, and a multi-to-one correspondence table between the internal identifier and the HLR;
MTC IWF读取触发消息中的终端标识, 根据本地数据库中保存的外部 标识和内部标识映射表, 查找触发消息中的终端标识对应的在网络中使用 的内部标识, 并根据内部标识在内部标识与 HLR的对应表中查找终端所在 的 HLR; 使用终端内部标识替代原触发消息的终端外部标识, 构建得到新 的触发消息。  The MTC IWF reads the terminal identifier in the trigger message, and searches for the internal identifier used in the network corresponding to the terminal identifier in the trigger message according to the external identifier and the internal identifier mapping table saved in the local database, and internally identifies the internal identifier according to the internal identifier. The HLR corresponding table is used to find the HLR where the terminal is located. The terminal internal identifier is used to replace the external identifier of the original trigger message, and a new trigger message is generated.
步驟 403 , 终端注册到网络上之后, HLR保存终端当前的服务 SGSN; 在接收到触发消息后, HLR根据触发消息中的终端标识在本地保存信息查 找终端的服务 SGSN, 通过插入签约数据信令将触发消息发送到 SGSN; 这里,为了表述方便,可将终端当前的服务 SGSN记为变更前的 SGSN。 步驟 404, 所述变更前的 SGSN在接收到 HLR发送的插入签约数据信 令后, 读取其中包含的触发消息, 在本地设置定时器 T2, 根据触发消息中 触发消息的有效时间在本地设置定时器 T2的值, 并启动该定时器, 同时保 存该终端的触发消息。  Step 403: After the terminal registers with the network, the HLR saves the current serving SGSN of the terminal. After receiving the trigger message, the HLR searches for the service SGSN of the terminal according to the terminal identifier in the trigger message, and inserts the subscription data signaling. The trigger message is sent to the SGSN. Here, for convenience of description, the current service SGSN of the terminal may be recorded as the SGSN before the change. Step 404: After receiving the insertion subscription data signaling sent by the HLR, the SGSN before the change reads the trigger message included therein, sets the timer T2 locally, and sets the timing locally according to the valid time of the trigger message in the trigger message. The value of T2, and start the timer, while saving the trigger message of the terminal.
步驟 405, 如果终端与 SGSN已建立 NAS连接, 则 SGSN发送下行通 用传输 NAS消息给终端, 在该消息中包含该终端的触发消息;  Step 405: If the terminal has established a NAS connection with the SGSN, the SGSN sends a downlink general transmission NAS message to the terminal, where the message includes a trigger message of the terminal.
另外, 本步驟中还包括, 如果终端处于空闲状态, 所述 SGSN不立即 发送触发消息, 直至等待终端与 SGSN建立 NAS连接后再发送。  In addition, the step further includes: if the terminal is in an idle state, the SGSN does not immediately send a trigger message until the terminal establishes a NAS connection with the SGSN and then sends the message.
步驟 406, 当处于空闲状态的终端移动到新的路由区, 则需要向变更后 的 SGSN发送路由区更新请求, 所述路由区更新请求包含终端的标识; 步驟 407, 变更后的 SGSN接收到终端的路由区更新请求后,先根据终 端的标识提取变更前的 SGSN的标识, 再发送上下文请求消息给所述变更 前的 SGSN,请求所述变更前的 SGSN将终端的上下文信息转发到所述变更 后的 SGSN; 步驟 408 , 所述变更前的 SGSN接收到所述变更后的 SGSN的上下文 请求消息后,发送上下文响应消息给所述变更后的 SGSN,上下文响应消息 中包含所述变更前的 SGSN本地保存的终端的上下文信息; 同时, 判断步 驟 404中保存的触发消息是否有效, 若有效, 则变更前的 SGSN在上下文 响应消息中包含该终端的触发消息; Step 406: When the terminal in the idle state moves to the new routing area, the routing area update request needs to be sent to the changed SGSN, where the routing area update request includes the identifier of the terminal. Step 407, the changed SGSN receives the terminal. After the routing area update request, the identifier of the SGSN before the change is extracted according to the identifier of the terminal, and then the context request message is sent to the SGSN before the change, and the SGSN before the change is requested to forward the context information of the terminal to the change. After the SGSN; Step 408: After receiving the context request message of the changed SGSN, the SGSN before the change sends a context response message to the changed SGSN, where the context response message includes the terminal locally saved by the SGSN before the change. Context information; at the same time, determining whether the trigger message saved in step 404 is valid, if valid, the SGSN before the change includes the trigger message of the terminal in the context response message;
具体地, 判断所述触发消息是否有效为判断步驟 404 中设置的定时器 T2是否到时, 若未到时, 则该触发消息仍然有效。  Specifically, it is determined whether the trigger message is valid to determine whether the timer T2 set in step 404 is up, and if not, the trigger message is still valid.
步驟 409, 变更后的 SGSN接收到变更前的 SGSN发送的上下文响应 消息后, 将触发消息携带在路由区更新接受消息中发送给该终端;  Step 409: After receiving the context response message sent by the SGSN before the change, the SGSN sends the trigger message to the terminal in the routing area update accept message.
步驟 410, 终端接收到路由区更新接受消息后, 读取其中的触发消息, 根据触发消息中给出的应用标识, 以及本地应用标识和接入点名称对照表, 确定需要建立连接的接入点名称, 将其包含在分组数据协议上下文建立请 求消息中发送到变更后的 SGSN。  Step 410: After receiving the routing area update accept message, the terminal reads the trigger message, and determines the access point that needs to establish a connection according to the application identifier given in the trigger message, and the local application identifier and the access point name comparison table. The name is included in the Packet Data Protocol Context Setup Request message and sent to the changed SGSN.
步驟 411 ,变更后的 SGSN接收到终端的分组数据协议上下文建立请求 消息后, 根据终端在分组数据协议上下文建立请求消息中提供的接入点名 称, 建立 7|载;  Step 411: After receiving the packet data protocol context establishment request message of the terminal, the changed SGSN establishes a bearer name according to the access point name provided by the terminal in the packet data protocol context establishment request message.
具体地, 本步驟还包括: 所述变更后的 SGSN删除本地保存的该终端 的触发消息。  Specifically, the step further includes: deleting, by the changed SGSN, the locally saved trigger message of the terminal.
步驟 412, 承载建立完成后, 终端与服务器之间进行通信, 终端可以实 时上报数据给所述服务器。  Step 412: After the bearer is established, the terminal communicates with the server, and the terminal can report the data to the server in real time.
图 5示出了本发明终端触发的系统的结构, 如图 5所示, 所述系统包 括: 移动性管理单元、 终端 53 ; 进一步地, 移动性管理单元分为变更前的 移动性管理单元 51和变更后的移动性管理单元 52; 其中,  FIG. 5 shows the structure of the system triggered by the terminal of the present invention. As shown in FIG. 5, the system includes: a mobility management unit and a terminal 53. Further, the mobility management unit is divided into a mobility management unit 51 before the change. And the changed mobility management unit 52; wherein
所述变更前的移动性管理单元 51 , 用于收到变更后的移动性管理单元 52发来的上下文请求消息后, 判断自身存储的触发消息是否有效; 所述触 发消息有效时, 通过上下文响应消息将所述触发消息发送给变更后的移动 性管理单元 52; The mobility management unit 51 before the change is used to receive the context request message sent by the changed mobility management unit 52, and determine whether the trigger message stored by itself is valid; When the message is valid, the trigger message is sent to the changed mobility management unit 52 by using a context response message;
所述变更后的移动性管理单元 52 , 用于发送上下文请求消息, 并将接 收到的触发消息发送至终端 53。  The changed mobility management unit 52 is configured to send a context request message, and send the received trigger message to the terminal 53.
进一步地, 所述系统还包括: 服务器 54, 用于发送终端 53的触发消息 给所述终端 53的移动性管理单元;  Further, the system further includes: a server 54 for transmitting a trigger message of the terminal 53 to the mobility management unit of the terminal 53;
相应的, 所述终端 53 , 用于在进入新的跟踪区或路由区后, 发送包含 有终端标识的更新请求给变更后的移动性管理单元 52;  Correspondingly, the terminal 53 is configured to: after entering a new tracking area or routing area, send an update request including the terminal identifier to the changed mobility management unit 52;
所述变更后的移动性管理单元 52 , 具体用于根据更新请求得到变更前 的移动性管理单元 51 , 并发送上下文请求消息给所述变更前的移动性管理 单元 51。  The changed mobility management unit 52 is specifically configured to obtain the mobility management unit 51 before the change according to the update request, and send a context request message to the mobility management unit 51 before the change.
其中, 所述变更前的移动性管理单元 51 , 具体用于接收并保存所述触 发消息, 根据所述触发消息的有效时间设置并启动定时器。  The mobility management unit 51 before the change is specifically configured to receive and save the trigger message, and set and start a timer according to the valid time of the trigger message.
进一步地, 所述变更前的移动性管理单元 51 , 具体用于在接收到变更 后的移动性管理单元 52发来的上下文请求消息后, 判断所述定时器是否到 时, 未到时则所述触发消息有效。  Further, the mobility management unit 51 before the change is specifically configured to determine, after the change of the context request message sent by the mobility management unit 52, whether the timer expires or not. The trigger message is valid.
其中, 所述变更前的移动性管理单元 51 , 具体用于在接收到服务器 54 发来的终端 53的触发消息后, 当所述终端 53与所述移动性管理单元已建 立 NAS连接, 将所述触发消息发送给所述终端 53。  The mobility management unit 51 before the change is specifically configured to: after receiving the trigger message of the terminal 53 sent by the server 54, when the terminal 53 and the mobility management unit have established a NAS connection, The trigger message is sent to the terminal 53.
其中, 所述变更后的移动性管理单元 52 , 具体用于将所述触发消息携 带在更新接受消息中发送给所述终端 53。  The changed mobility management unit 52 is specifically configured to carry the trigger message to the terminal 53 in an update accept message.
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围。  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 triggering a terminal, the method comprising:
终端变更前的移动性管理单元收到变更后的移动性管理单元发来的上 下文请求消息后, 判断自身存储的所述终端的触发消息是否有效;  After receiving the context request message sent by the changed mobility management unit, the mobility management unit before the terminal change determines whether the trigger message of the terminal stored by the terminal is valid.
所述触发消息有效时, 通过上下文响应消息将所述触发消息发送给变 更后的移动性管理单元, 由所述变更后的移动性管理单元将所述触发消息 发送至终端。  When the trigger message is valid, the trigger message is sent to the changed mobility management unit by using a context response message, and the triggered mobility management unit sends the trigger message to the terminal.
2、 根据权利要求 1所述的方法, 其特征在于, 所述终端变更前的移动 性管理单元收到变更后的移动性管理单元发来的上下文请求消息之前, 所 述方法还包括:  The method according to claim 1, wherein before the mobility management unit before the terminal change receives the context request message sent by the changed mobility management unit, the method further includes:
服务器发送终端的触发消息给所述终端的移动性管理单元;  Sending, by the server, a trigger message of the terminal to the mobility management unit of the terminal;
终端进入新的跟踪区或路由区后, 发送包含有终端标识的更新请求给 变更后的移动性管理单元;  After the terminal enters a new tracking area or routing area, the update request including the terminal identifier is sent to the changed mobility management unit;
所述变更后的移动性管理单元根据所述更新请求得到变更前的移动性 管理单元, 并发送上下文请求消息给所述变更前的移动性管理单元。  The changed mobility management unit obtains the mobility management unit before the change based on the update request, and transmits a context request message to the mobility management unit before the change.
3、 根据权利要求 2所述的方法, 其特征在于, 所述服务器发送终端的 触发消息给所述终端的移动性管理单元之后, 所述方法还包括:  The method according to claim 2, wherein, after the server sends a trigger message of the terminal to the mobility management unit of the terminal, the method further includes:
所述移动性管理单元接收并保存所述触发消息, 根据所述触发消息的 有效时间设置并启动定时器。  The mobility management unit receives and saves the trigger message, and sets and starts a timer according to an effective time of the trigger message.
4、 根据权利要求 3所述的方法, 其特征在于, 所述变更前的移动性管 理单元判断自身存储的所述终端的触发消息是否有效为:  The method according to claim 3, wherein the mobility management unit before the change determines whether the trigger message of the terminal stored by itself is valid:
判断所述定时器是否到时, 未到时则所述触发消息有效。  The trigger message is valid when it is determined whether the timer expires or not.
5、 根据权利要求 1至 4任一项所述的方法, 所述变更后的移动性管理 单元将所述触发消息发送至终端为:  The method according to any one of claims 1 to 4, wherein the changed mobility management unit sends the trigger message to the terminal:
变更后的移动性管理单元将所述触发消息携带在更新接受消息中发送 给所述终端。 The changed mobility management unit carries the trigger message in an update accept message To the terminal.
6、 一种终端触发的系统, 包括终端, 其特征在于, 所述系统还包括: 移动性管理单元, 分为变更前的移动性管理单元和变更后的移动性管理单 元; 其中,  A system for triggering a terminal, comprising a terminal, wherein the system further comprises: a mobility management unit, which is divided into a mobility management unit before the change and a mobility management unit after the change;
所述变更前的移动性管理单元, 用于收到变更后的移动性管理单元发 来的上下文请求消息后, 判断自身存储的触发消息是否有效; 所述触发消 息有效时, 通过上下文响应消息将所述触发消息发送给变更后的移动性管 理单元;  The mobility management unit before the change is configured to: after receiving the context request message sent by the changed mobility management unit, determine whether the trigger message stored by itself is valid; when the trigger message is valid, the context response message is The trigger message is sent to the changed mobility management unit;
所述变更后的移动性管理单元, 用于发送上下文请求消息, 并将接收 到的触发消息发送至终端。  The changed mobility management unit is configured to send a context request message, and send the received trigger message to the terminal.
7、 根据权利要求 6所述的系统, 其特征在于, 所述系统还包括: 服务 器; 其中,  The system according to claim 6, wherein the system further comprises: a server; wherein
所述服务器, 用于发送终端的触发消息给所述终端的移动性管理单元; 所述终端, 用于在进入新的跟踪区或路由区后, 发送包含有终端标识 的更新请求给变更后的移动性管理单元;  The server is configured to send a trigger message of the terminal to the mobility management unit of the terminal, where the terminal is configured to send an update request including the terminal identifier to the changed after entering a new tracking area or routing area. Mobility management unit;
所述变更后的移动性管理单元, 具体用于根据更新请求得到变更前的 移动性管理单元, 并发送上下文请求消息给所述变更前的移动性管理单元。  The changed mobility management unit is specifically configured to obtain the mobility management unit before the change according to the update request, and send a context request message to the mobility management unit before the change.
8、 根据权利要求 7所述的系统, 其特征在于, 所述变更前的移动性管 理单元, 具体用于接收并保存所述触发消息, 根据所述触发消息的有效时 间设置并启动定时器。  The system according to claim 7, wherein the mobility management unit before the change is specifically configured to receive and save the trigger message, and set and start a timer according to a valid time of the trigger message.
9、 根据权利要求 8所述的系统, 其特征在于, 所述变更前的移动性管 理单元, 具体用于在接收到变更后的移动性管理单元发来的上下文请求消 息后, 判断所述定时器是否到时, 未到时则所述触发消息有效。  The system according to claim 8, wherein the mobility management unit before the change is specifically configured to determine the timing after receiving the context request message sent by the changed mobility management unit. If the timer expires, the trigger message is valid.
10、 根据权利要求 6至 9任一项所述的系统, 其特征在于, 所述变更 后的移动性管理单元, 具体用于将所述触发消息携带在更新接受消息中发 送给所述终端。 The system according to any one of claims 6 to 9, wherein the changed mobility management unit is specifically configured to carry the trigger message in an update accept message. Send to the terminal.
PCT/CN2011/082893 2011-08-22 2011-11-24 Method and system for triggering terminal WO2012151951A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110241270.8A CN102958036B (en) 2011-08-22 2011-08-22 A kind of method and system of terminal triggering
CN201110241270.8 2011-08-22

Publications (1)

Publication Number Publication Date
WO2012151951A1 true WO2012151951A1 (en) 2012-11-15

Family

ID=47138724

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/082893 WO2012151951A1 (en) 2011-08-22 2011-11-24 Method and system for triggering terminal

Country Status (2)

Country Link
CN (1) CN102958036B (en)
WO (1) WO2012151951A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA3086695A1 (en) * 2017-12-26 2019-07-04 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Data transmission method and device, and computer storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101521871A (en) * 2008-02-26 2009-09-02 大唐移动通信设备有限公司 Method, device and system for updating tracking area
WO2011082538A1 (en) * 2010-01-08 2011-07-14 上海贝尔股份有限公司 Method and apparatus for mobility optimization based on group in machine-type communications

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101399750B (en) * 2007-09-30 2010-12-08 华为技术有限公司 Processing method, system and device for mobile terminal position updating

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101521871A (en) * 2008-02-26 2009-09-02 大唐移动通信设备有限公司 Method, device and system for updating tracking area
WO2011082538A1 (en) * 2010-01-08 2011-07-14 上海贝尔股份有限公司 Method and apparatus for mobility optimization based on group in machine-type communications

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"General Packet Radio Service (GPRS) enhancements for Evolved Universal Terrestrial Radio Access Network (E-UTRAN) access", 3GPP TS 23.401 V10.4.0, June 2011 (2011-06-01), pages 82 - 84 AND 197-199 *
CHINA MOBILE ET AL.: "Detailed Solution of Triggering attached MTC Device via intermediate node.", SA WG2 MEETING #85, 20 May 2011 (2011-05-20), pages 1 - 3, Retrieved from the Internet <URL:http://www.3gpp.org/ftp/tsg_sa/WG2_Arch/TSGS2_85_XiAN/Docs> *

Also Published As

Publication number Publication date
CN102958036A (en) 2013-03-06
CN102958036B (en) 2017-11-28

Similar Documents

Publication Publication Date Title
EP2785125B1 (en) Method and system for determining accessibility of terminal group
US9473877B2 (en) Uplink/downlink transmission method for small amount of data, and corresponding terminal and mobility management unit
EP2547149B1 (en) Method and system for tracking area update
WO2012094982A1 (en) Access control method and device
WO2013177992A1 (en) Method and system for sending control signaling in power save mode
WO2013097332A1 (en) Method and system for managing terminal group
WO2012022151A1 (en) Method and system for broadcasting access control parameter
WO2012109823A1 (en) Congestion control method and system of machine type communication equipments
WO2007048343A1 (en) Method and device for managing information of a terminal exited from idle mode
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
WO2013056595A1 (en) Method, system and device for establishing connection
WO2012055271A1 (en) Method and device for triggering service of machine type communication terminal
WO2011147156A1 (en) Method and system for restricting access to specific area
WO2013143218A1 (en) Updating method for trigger message counter, machine type communication server and terminal
WO2012151846A1 (en) Method and system for triggering terminal in specific location, and terminal thereof
WO2013113240A1 (en) Method for transmitting rn information, method for paging ue and apparatus thereof
US9319924B2 (en) Method and system for controlling effective time of terminal trigger message
WO2012152046A1 (en) Terminal access method and system
WO2012151916A1 (en) Method and system for triggering response of terminal, terminal and network side
WO2011127724A1 (en) Method and system for controlling signaling or data transmission of machine type communication equipment
EP2696619B1 (en) System and method for processing trigger messages of a terminal
WO2012151951A1 (en) Method and system for triggering terminal
WO2013097337A1 (en) Network congestion control method and system
WO2012151928A1 (en) Method and system for triggering terminal group

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

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

Country of ref document: EP

Kind code of ref document: A1