WO2019057013A1 - Method and device for content information management - Google Patents

Method and device for content information management Download PDF

Info

Publication number
WO2019057013A1
WO2019057013A1 PCT/CN2018/106038 CN2018106038W WO2019057013A1 WO 2019057013 A1 WO2019057013 A1 WO 2019057013A1 CN 2018106038 W CN2018106038 W CN 2018106038W WO 2019057013 A1 WO2019057013 A1 WO 2019057013A1
Authority
WO
WIPO (PCT)
Prior art keywords
network element
terminal
temporary user
context information
mobility management
Prior art date
Application number
PCT/CN2018/106038
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 WO2019057013A1 publication Critical patent/WO2019057013A1/en

Links

Images

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/08Mobility data transfer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/183Processing at user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data

Definitions

  • the present application relates to the field of communications technologies, and in particular, to a context information management method and apparatus.
  • the network side establishes context information for the terminal, and the context information includes network capabilities such as the terminal, authentication information, negotiated security algorithms, created connection information, and the like.
  • the context information of the terminal may be stored in an Unstructured Data Storage Function (UDSF) network element.
  • UDSF Unstructured Data Storage Function
  • the context information of each terminal includes a Temporary Mobile Subscriber Identity (TMSI) of the terminal, and the context information of the terminal can be indexed by the TMSI of the terminal.
  • TMSI Temporary Mobile Subscriber Identity
  • the TMSI of the terminal is allocated by the Access and Mobility Management Function (AMF) network element.
  • AMF Access and Mobility Management Function
  • the AMF network element may allocate a TMSI to multiple terminals.
  • the TMSI after the context information of multiple terminals is the same. If a TMSI indexes to at least one context information, the UDSF network element may overwrite previously stored context information of the TMSI index, thereby causing the terminal's context information to be overwritten or lost.
  • the present application provides a context information management method and apparatus for solving the problem of how to avoid coverage or loss of context information of a terminal.
  • the embodiment of the present application provides a context information management method, where the method includes:
  • the data storage network element receives the first temporary user identification request message sent by the first mobility management network element, where the first temporary user identification request message is used to request the data storage network element to allocate the first temporary user identifier to the first terminal. ;
  • the data storage network element sends a first temporary user identification request response message to the first mobility management network element, where the first temporary user identification request response message includes the data storage network element as the first terminal The first temporary user ID assigned;
  • the data storage network element receives the context information of the first terminal that is sent by the first mobility management network element, and the first temporary user identifier is included in the context information of the first terminal.
  • the data storage network element allocates a first temporary user identifier to the first terminal, and stores context information of the first terminal including the first temporary user identifier, and the data storage network element stores context information of the first terminal, Therefore, the data storage network element can determine whether the context information of the first terminal is valid, so that the first terminal can be assigned a unique first temporary user identifier, and when the context information of the first terminal is valid, the other terminal is no longer allocated and The first temporary user identifies the same temporary user identifier, so that when the first temporary user identifier of the first terminal is the same as the temporary user identifier of the other terminal, the problem that the context information of the first terminal is overwritten or lost is caused.
  • the first temporary user identifier includes first indication information, where the first indication information is used to indicate whether context information of the first terminal is stored in the data storage network element.
  • the first indication information may be used to enable the other network element to quickly determine whether the context information of the first terminal is stored in the data storage network element. After the network side determines, according to the first indication information, the context information of the first terminal is stored in the data storage network element.
  • the mobility management network element serves the first terminal.
  • the method further includes:
  • the data storage network element receives a context information request message that is sent by the second mobility management network element and includes the first temporary user identifier of the first terminal, where the context information request message is used to request the context of the first terminal.
  • Information the second mobility management network element is a mobility management network element serving the first terminal;
  • the data storage network element sends the context information of the first terminal to the second mobility management network element.
  • the data storage network element can transmit the context information of the first terminal to any mobility management network element serving the first terminal, so that the speed at which the first terminal accesses the network can be improved.
  • the context information request message is that the second mobility management network element determines, according to the first indication information, that context information of the first terminal is stored in the data storage network element. After sending it.
  • an embodiment of the present application provides a context information management apparatus, where the apparatus includes a memory, a transceiver, and a processor, wherein: the memory is used to store an instruction; the processor is configured to control the transceiver according to the instruction to execute the memory storage. Signal reception and signal transmission are performed, and when the processor executes an instruction stored in the memory, the access network node is configured to perform the method in any of the possible aspects of the first aspect or the first aspect described above.
  • the embodiment of the present application provides a context information management apparatus, which is used to implement any one of the foregoing first aspect or the first aspect, including a corresponding functional module, for example, including a processing unit, a receiving unit, and a sending unit. Etc., respectively, are used to implement the steps in the above method.
  • an embodiment of the present application provides a computer readable storage medium, where the computer storage medium stores computer readable instructions, and when the computer reads and executes the computer readable instructions, causes the computer to execute the first Aspect or method of any of the possible aspects of the first aspect.
  • the embodiment of the present application provides a computer program product, when the computer reads and executes the computer program product, causing the computer to perform the method in any one of the foregoing first aspect or the first aspect.
  • an embodiment of the present application provides a chip, where the chip is connected to a memory, for reading and executing a software program stored in the memory, to implement any of the foregoing first aspect or the first aspect.
  • the method in the design is not limited to:
  • the embodiment of the present application provides a context information management method, where the method includes:
  • the first mobility management network element sends a first temporary user identification request message to the data storage network element, where the first temporary user identification request message is used to request the data storage network element to allocate a first temporary user identifier to the first terminal;
  • the first mobility management network element receives a first temporary user identification request response message sent by the data storage network element, where the first temporary user identification request response message includes the first temporary user identifier;
  • the first mobility management network element generates context information of the first terminal that includes the first temporary user identifier, and sends context information of the first terminal to the data storage network element.
  • the first mobility management network element requests the first temporary user identifier to be allocated to the first terminal by the data storage network element storing the context information of the first terminal, and the data storage network element stores the context information of the first terminal. Therefore, the data storage network element can determine whether the context information of the first terminal is valid, so that the first terminal can be assigned a unique first temporary user identifier, so the first mobility management network element can be the first temporary user identifier requested by the terminal.
  • the first temporary user identifier of the first terminal is the same as the temporary user identifier of the other terminal, the problem that the context information of the first terminal is overwritten or lost is caused.
  • the first temporary user identifier includes first indication information, where the first indication information is used to indicate whether context information of the first terminal is stored in the data storage network element.
  • the method before the first mobility management network element sends the context information of the first terminal to the data storage network element, the method further includes:
  • the first mobility management network element determines that the first terminal is in an idle state
  • the first mobility management network element determines that the first terminal is no longer served.
  • the context information of the first terminal may be stored in the data storage network element, so that The interface between the access network element and the mobility management network element is made non-sticky.
  • the method further includes:
  • the second temporary user identifier is that the second terminal is switched by the second mobility management network element Before the first mobility management network element, the data storage network element is allocated to the second terminal; the second temporary user identifier includes second indication information, and the second indication information is used to indicate Whether the context information of the second terminal is stored in the data storage network element;
  • the first mobility management network element determines that the context information of the second terminal is stored in the data storage network element according to the second indication information, requesting, by the data storage network element, the second terminal Contextual information.
  • the method further includes:
  • the first mobility management network element determines that the context information of the second terminal is not stored in the data storage network element according to the second indication information, requesting, by the second mobility management network element, the second mobility management network element The context information of the second terminal is described.
  • an embodiment of the present application provides a context information management apparatus, where the apparatus includes a memory, a transceiver, and a processor, wherein: the memory is configured to store an instruction; the processor is configured to control the transceiver according to the instruction for executing the memory storage. Signal reception and signal transmission are performed, and when the processor executes the instruction stored in the memory, the terminal is configured to perform the method in any of the above seventh aspect or the seventh aspect.
  • the embodiment of the present application provides a context information management apparatus, where the apparatus is used to implement any one of the foregoing seventh or seventh aspects, including a corresponding functional module, for example, including a processing unit and a receiving unit. , a transmitting unit, and the like, respectively, are used to implement the steps in the above method.
  • the embodiment of the present application provides a computer readable storage medium, where the computer readable medium stores computer readable instructions, and when the computer reads and executes the computer readable instructions, causes the computer to execute the seventh Aspect or method of any of the possible aspects of the seventh aspect.
  • the embodiment of the present application provides a computer program product, when the computer reads and executes the computer program product, causing the computer to perform the method in any one of the seventh aspect or the seventh aspect. .
  • the embodiment of the present application provides a chip, where the chip is connected to a memory, and is configured to read and execute a software program stored in the memory, to implement any one of the seventh aspect or the seventh aspect. Possible methods in design.
  • the embodiment of the present application provides a context information management method, where the method includes:
  • the first terminal acquires the first temporary user identifier of the first terminal from the first mobility management network element;
  • the first temporary user identifier includes first indication information and a system temporary identifier, where the first indication information is used Indicate whether the context information of the first terminal is stored in the data storage network element;
  • the first terminal After the first terminal enters the connected state from the idle state, the first terminal determines, according to the first indication information, that the context information mapped with the first temporary user identifier is not stored in the data storage network element, And sending the system temporary identifier to the access network element.
  • the first terminal may send the system temporary identifier to the access network element, thereby enabling access.
  • the network element determines the mobility management network element for the first terminal according to the temporary identifier of the system.
  • the embodiment of the present application provides a context information management method, where the method includes:
  • the first mobility management network element receives the second temporary user identifier of the second terminal that is sent by the access network element; the second temporary user identifier is that the second terminal is switched by the second mobility management network element to the Before the first mobility management network element, the data storage network element is allocated to the second terminal; the second temporary user identifier includes second indication information, where the second indication information is used to indicate the Whether context information of the second terminal is stored in the data storage network element;
  • the first mobility management network element determines that the context information of the second terminal is stored in the data storage network element according to the second indication information, requesting, by the data storage network element, the second terminal Contextual information.
  • the method further includes:
  • the first mobility management network element determines that the context information of the second terminal is not stored in the data storage network element according to the second indication information, requesting, by the second mobility management network element, the second mobility management network element The context information of the second terminal is described.
  • the embodiment of the present application provides a context information management apparatus, where the apparatus includes a memory, a transceiver, and a processor, wherein: the memory is used to store an instruction; the processor is configured to control, according to an instruction for executing the memory, and control the sending and receiving. The machine performs signal reception and signal transmission.
  • the terminal is configured to perform the method in any of the above-mentioned thirteenth or fourteenth aspects.
  • the embodiment of the present application provides a context information management apparatus, where the apparatus is used to implement any one of the thirteenth or fourteenth aspects, including a corresponding functional module, for example, including a processing unit.
  • the receiving unit, the transmitting unit, and the like are respectively used to implement the steps in the above method.
  • the embodiment of the present application provides a computer readable storage medium, where the computer storage medium stores computer readable instructions, and when the computer reads and executes the computer readable instructions, causes the computer to execute the foregoing A method of any of the thirteenth or fourteenth aspects of the possible design.
  • the embodiment of the present application provides a computer program product, when the computer reads and executes the computer program product, causing the computer to perform any of the thirteenth aspects or the fourteenth aspect of the possible design. Methods.
  • an embodiment of the present application provides a chip, where the chip is connected to a memory, and is configured to read and execute a software program stored in the memory to implement the thirteenth aspect or the fourteenth aspect.
  • FIG. 1 is a schematic diagram of a system architecture applicable to an embodiment of the present application
  • FIG. 2 is a schematic flowchart of a context information management method according to an embodiment of the present application.
  • FIG. 3 is a schematic diagram of a temporary user identification according to an embodiment of the present application.
  • FIG. 4 is a schematic diagram of a temporary user identification according to an embodiment of the present application.
  • FIG. 5 is a schematic diagram of context information management according to an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a context information management apparatus according to an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of a context information management apparatus according to an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of a context information management apparatus according to an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of a context information management apparatus according to an embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of a context information management apparatus according to an embodiment of the present application.
  • FIG. 11 is a schematic structural diagram of a context information management apparatus according to an embodiment of the present disclosure.
  • FIG. 1 is a schematic diagram showing a system architecture applicable to the embodiment of the present application.
  • the terminal 101 can communicate with the core network via the access network element 102.
  • a terminal may refer to a user equipment (UE), an access terminal, a subscriber unit, a subscriber station, a mobile station, a mobile station, a remote station, a remote terminal, a mobile device, a user terminal, a terminal, a wireless communication device, a user agent, or a user. Device.
  • UE user equipment
  • the access terminal may be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), with wireless communication.
  • FIG. 1 for convenience of description, only one terminal is illustrated. In an actual network, multiple terminals may coexist, and details are not described herein again.
  • An access network (AN) network element 102 which may also be referred to as a radio access network (RAN) network element, is hereinafter referred to as an access network element or an AN network element. It is mainly responsible for providing a wireless connection to the terminal 101, ensuring reliable transmission of uplink and downlink data of the terminal 101, and the like.
  • the access network element 102 can be a gNB (generation Node B) in a 5G system, and can be a Global System of Mobile communication (GSM) system or a base station in Code Division Multiple Access (CDMA).
  • GSM Global System of Mobile communication
  • CDMA Code Division Multiple Access
  • BTS Base Transceiver Station
  • NodeB NodeB
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • An evolved base station (Evolutional Node B, eNB or eNodeB), and the like.
  • a session management function (SMF) network element 103 which can be used to perform part of the functions of the Mobility Management Entity (MME) in the LTE system, and is mainly responsible for establishing a session, a management session, and the like for the terminal 101.
  • MME Mobility Management Entity
  • a suitable User Plane Function (UPF) network element can be selected for the terminal 101 according to the location information of the terminal 101.
  • the user plane function network element 104 is a functional network element of the user plane of the terminal 101.
  • the main functions include packet routing and forwarding, and quality of service (QoS) processing of user plane data.
  • QoS quality of service
  • Access and Mobility Management Function network element 105, whose main functions include the endpoint of the radio access network control plane, the endpoint of non-access signaling, mobility management, lawful interception, and access Authorization or authentication, etc.
  • the Policy Control Funnel (PCF) network element 106 is mainly responsible for the establishment, release, and modification of the user plane transmission path.
  • the Authentication Server Function (AUSF) network element 107 whose main functions include user authentication and the like.
  • UDM User Data Management
  • the Data Network (DN) 109 may refer to a network that provides services for the terminal 101.
  • some DNs may provide the Internet access function for the terminal 101, and some DNs may provide the MMS function for the terminal 101.
  • the unstructured data storage function network element 110 is configured to store functions such as context information of the terminal.
  • FIG. 1 Also shown in FIG. 1 is a possible implementation of an interface in each network element, such as an N2 interface between the access network element 102 and the AMF network element 109, between the access network element 102 and the UPF network element 104. N9 interface and so on, will not be repeated here.
  • the data storage network element in the method shown in FIG. 2 may refer to a UDSF network element, and the mobility management network element may refer to an AMF network element.
  • the method includes:
  • Step 201 The first mobility management network element sends a first temporary user identification request message to the data storage network element, where the first temporary user identification request message is used to request the data storage network element to allocate the first temporary to the first terminal.
  • User ID User ID.
  • Step 202 The data storage network element receives the first temporary user identification request message sent by the first mobility management network element.
  • Step 203 The data storage network element sends a first temporary user identification request response message to the first mobility management network element, where the first temporary user identification request response message includes the data storage network element.
  • Step 204 The first mobility management network element receives a first temporary user identity request response message sent by the data storage network element.
  • Step 205 The first mobility management network element generates context information of the first terminal that includes the first temporary user identifier, and sends context information of the first terminal to the data storage network element.
  • the context information of a terminal has a mapping relationship with the temporary user identifier of the terminal, and the temporary user identifier of the terminal can be used to index the context information of the terminal.
  • the first terminal Context information may also be considered to mean "context information mapped with the first temporary user identity.”
  • Step 206 The data storage network element receives the context information of the first terminal that is sent by the first mobility management network element, where the context information of the first terminal includes the first temporary user identifier.
  • the data storage network element is configured to allocate the first temporary user identifier, and store the context information of the first terminal, so that the N2 interface between the access network element and the mobility management network element is non-sticky. That is, the access network element does not need to consider the state before the first terminal when selecting the mobility management network element for the first terminal, and only needs to select according to the current virtual resource usage situation and supported performance of each mobile management network element.
  • An optimal mobility management network element serves the first terminal.
  • the first terminal is registered in the network by using the first mobility management network element.
  • the specific registration process is not limited in this application, and details are not described herein again.
  • the first mobility management network needs the first terminal to generate context information, so as to provide services such as data transmission for the first terminal.
  • step 201 after the first mobility management network element determines that the first terminal needs to be registered in the network, the first temporary user identifier is directly assigned to the first terminal in the prior art, and the data storage network element is requested to be the first.
  • the terminal allocates the first temporary user identifier to prevent the first temporary user identifier allocated by the first mobility management network element from being duplicated.
  • the data storage network element may be a new functional entity in the future 5G system.
  • the data storage network element may be used to allocate a temporary user identifier to the terminal, and generally only one data for a network.
  • the storage network element allocates a temporary user identifier, and all the mobility management network elements need to obtain the temporary user identifier of the terminal through the data storage network element.
  • the data storage network element allocates the first terminal according to the public land mobile network (PLMN) to which the terminal belongs, the first mobility management network element that serves the terminal, and the identifier of the data storage network element.
  • PLMN public land mobile network
  • the first temporary user identity of the first terminal can be uniquely identified.
  • the first temporary user identifier may be a TMSI, or may be a 5G Temporary User Identifier (5GTUI), and the like. Give an example one by one.
  • 5GTUI 5G Temporary User Identifier
  • the first temporary user identifier allocated by the data storage network element may have multiple structures, which are respectively described in detail below;
  • FIG. 3 is a schematic diagram of a temporary user identifier provided by an embodiment of the present application.
  • the first temporary user identifier may be a 5G-Global Unique Temporary Identity (5G-GUTI).
  • 5G-GUTI 5G-Global Unique Temporary Identity
  • the 5G-GUTI can be used as a temporary user identifier of the terminal to prevent long-term exposure of the terminal's International Mobile Subscriber Identity (IMSI) to reduce risks.
  • IMSI International Mobile Subscriber Identity
  • the 5GAMFI includes a Public Land Mobile Network Identifier (PLMN ID) and an AMF Identity (AMFI).
  • PLMN ID includes a 12-bit Mobile Country Code (MCC) and an 8- or 12-bit Mobile Network Code (MNC).
  • MCC Mobile Country Code
  • MNC Mobile Network Code
  • the AMFI includes a 16-bit AMF Group Identifier (AMFGI) and an 8-bit AMF Code (AMF Code), wherein the AMFGI can also be replaced with a UDSF Identifier (UDSFI) set by the data storage network element.
  • the AMFC and AMF temporary identifiers can also be used to form a 5G Temporary Identifier (5G-TI).
  • the 5G-TI can also be called a system temporary identifier.
  • the first temporary user identifier may include first indication information, where the first indication information may be AMFI or UDSFI, and the first indication information is used to indicate whether context information of the first terminal is stored in the data storage network. Yuanzhong.
  • the first temporary user identifier includes only one of the AMFI and the UDSFI.
  • the first temporary user identifier includes only the UDSFI
  • the first mobility management network element or the data storage network element is in the first temporary user identifier.
  • the bit corresponding to the first indication information is set to UDSFI; when the first temporary user identifier includes only the AMFI, the first mobility management network element or the data storage network element sets the bit corresponding to the first indication information in the first temporary user identifier.
  • AMFI AMFI
  • the context information used to indicate the first temporary user identifier mapping with the first terminal is stored in the data storage network element; when the first indication information is AMFI, it is used to indicate Context information mapped with the first temporary user identifier of the first terminal is not stored in the data storage network element.
  • the second mobility management network element determines that the first indication information in the first temporary user identifier is UDSFI, it may be determined that the context information mapped with the first temporary user identifier is stored in the data storage network element;
  • the mobility management network element determines that the first indication information in the first temporary user identifier is AMFI, it may be determined that the context information mapped with the first temporary user identifier is not stored in the data storage network element, but is stored in the first In the mobility management network element.
  • each identifier included in the first temporary user identifier may be referred to the definition in the existing literature, and details are not described herein again.
  • 5GAMFI corresponds to GUAMI in the prior art
  • A-TI corresponds to 5G-TMSI
  • MCC and MNC in 5GAMFI correspond to MCC and MNC in GUAMI respectively
  • the first temporary user identifier may include both AMFI and UDSFI, and may be specifically referred to FIG.
  • the first temporary user identifier may be 5G-GUTI
  • the first indication information in the first temporary user identifier may be UDSFI, and the first indication information indicates that the first mobility management network element is used when the context information mapped with the first temporary user identifier is stored in the data storage network element.
  • the data storage network element sets the bit corresponding to the first indication information in the first temporary user identifier to the UDSFI; the first indication information indicates that the context information mapped with the first temporary user identifier is not stored in the data storage network element,
  • the first mobility management network element or the data storage network element sets a bit corresponding to the first indication information in the first temporary user identifier to a default value.
  • the second mobility management network element determines that the UDSFI in the first temporary user identifier is a default value, it may be determined that the context information mapped with the first temporary user identifier is not stored in the data storage network element;
  • the mobility management network element determines that the UDSFI in the first temporary user identifier is not the default value, it may be determined that the context information mapped with the first temporary user identifier is stored in the data storage network element.
  • the first indication information may be a single information in the first temporary user identifier, and the first temporary user identifier may also have other forms, for example, the first temporary user identifier includes the PLMN ID, the first indication information, and the UDSFI. , AMFI, and A-TI; or the first temporary user identity includes a PLMN ID, first indication information, AMFI, and A-TI.
  • the first indication information may be set by the data storage network element in the first temporary user identifier while the first temporary user identifier is allocated to the first terminal, and of course, the data storage network element is the first terminal. While the first temporary user identifier is allocated, the bit corresponding to the first indication information in the first temporary user identifier may not be set, and the first indication information is set by the first mobility management network element.
  • step 203 the data storage network element sends the generated first temporary user identifier to the first mobility management network element.
  • step 204 after the first mobility management network element receives the first temporary user identifier, if it is determined that the data storage network element does not set the first indication information in the first temporary user identifier, the first temporary user identifier is set in the first temporary user identifier. First indication information.
  • the first temporary user identifier is included in the context information of the first terminal generated by the first mobility management network element, so the first temporary user identifier can be used to uniquely indicate the context information of the first terminal.
  • the first mobility management network element may further send a registration response message including the first temporary user identifier to the first terminal, so as to notify the first terminal that the registration is successful. Then, the registration confirmation message returned by the first terminal is received, and the registration of the first terminal in the network is completed.
  • the context information of the first terminal may be sent to the data storage network element. For example, when the first mobility management network element determines that the first terminal changes from the connected state to the idle state, or the first mobility management network element determines that the first terminal is no longer served, it is determined that the first terminal does not need to be saved. Context information of a terminal, so that the context information of the first terminal can be sent to the data storage network element.
  • step 206 after receiving the context information of the first terminal, the data storage network element saves the context information of the first terminal.
  • the first terminal After the first terminal enters the connected state from the idle state, the first terminal determines, according to the first indication information, that the context information mapped with the first temporary user identifier is not stored in the data storage network element, The access network element sends a Radio Resource Control (RRC) request message including the temporary identifier of the system, and the RRC request message is used to request the access network element to select the mobility for the first terminal to serve.
  • RRC Radio Resource Control
  • Management network element where the system temporary identifier can be 5G-TI. If the first terminal determines that the context information mapped with the first temporary user identifier is stored in the data storage network element according to the first indication information, sending, by the first network terminal, the network information to the access network element does not include the system temporary The identified RRC request message.
  • the access network element sends an RRC request response message to the first terminal, where the RRC request response message is used to indicate that the mobility management network element serving the first terminal is switched from the first mobility management network element to the second mobility management.
  • Network element After determining that the second mobility management network element is serving the first terminal, the access network element sends the first temporary user identifier of the first terminal to the second mobility management network element.
  • the second mobility management network element After the mobility management network element serving the first terminal is switched from the first mobility management network element to the second mobility management network element, the second mobility management network element needs to obtain the first terminal before serving the first terminal. Contextual information. At this time, the second mobility management network element determines, according to the first indication information in the first temporary user identifier, that the context information mapped with the first temporary user identifier is stored in the data storage network element, and then goes to the data storage network. The meta sends a context information request message, and the context information request message is used to request context information of the first terminal.
  • the data storage network element may perform, according to the first temporary user identifier, all the context information stored in the first temporary user identifier.
  • the index determines the context information mapped with the first temporary user identifier, so that the context information mapped with the first temporary user identifier of the first terminal is sent to the second mobility management network element.
  • the second mobility management network element determines, according to the first indication information in the first temporary user identifier, that the context information mapped with the first temporary user identifier is stored in the first mobility management network element, and is first The mobility management network element sends a context information request message, and the first mobility management network element sends the context information of the first terminal to the second mobility management network element.
  • the first temporary user identifier is 5GTUI
  • the second mobility management network element determines, according to the first indication information in the first temporary user identifier, that the context information mapped with the first temporary user identifier is stored in the data storage network element.
  • the indication information determines that the context information mapped with the first temporary user identifier is not stored in the data storage network element
  • acquiring 5GAMFI from the first temporary user identifier, thereby determining the first mobility management network element according to the 5GAMFI, thereby The first mobility management network element requests context information of the first terminal
  • the first mobility management network element may further receive the second temporary user identifier of the second terminal that is sent by the access network element, and the second temporary user identifier is that the second terminal is moved by the second Before the first management network element is switched to the first mobility management network element, the data storage network element is allocated by the data storage network element.
  • the second temporary user identifier includes second indication information, where the second indication information is used to indicate whether the context information of the second terminal is stored in the data storage network element; The description in the first temporary user identifier is not described here.
  • the first mobility management network element determines that the context information of the second terminal is stored in the data storage network element according to the second indication information, requesting, by the data storage network element, the second terminal Contextual information.
  • the first mobility management network element determines that the context information of the second terminal is not stored in the data storage network element according to the second indication information, then the second mobility management network element is sent to the second mobility management network. The element requests context information of the second terminal.
  • the first temporary user identifier is 5GTUI
  • the first temporary user identifier includes first indication information and a system temporary identifier.
  • Step 501 The first terminal registration process.
  • Step 502 The first mobility management network element sends a first temporary user identity request message to the data storage network element.
  • the message is used to request that the first temporary user identifier be assigned to the first terminal.
  • Step 503 The data storage network element allocates, to the first terminal, a first temporary user identifier that uniquely indicates the first terminal.
  • Step 504 The data storage network element sends a first temporary user identification request response message to the first mobility management network element.
  • the first temporary user identification request response message includes a first temporary user identifier allocated for the first terminal.
  • Step 505 The first mobility management network element sets the first indication information in the first temporary user identifier, and generates context information of the first terminal.
  • the first temporary user identifier is included in the context information of the first terminal.
  • the first indication information may be used to determine whether the network accessed by the first terminal is sticky. When the first indication information indicates that the context information mapped with the first temporary user identifier is stored in the data storage network element, the network accessed by the first terminal is not sticky; otherwise, the first indication information indicates the first temporary user. When the context information of the identifier mapping is not stored in the data storage network element, the network accessed by the first terminal is sticky.
  • Step 506 The first mobility management network element sends a registration response message including the first temporary user identifier to the first terminal.
  • Step 507 The first terminal sends a registration confirmation message to the first mobility management network element.
  • the first terminal is switched to the connected state.
  • Step 508 The first terminal transits from the connected state to the idle state, and the first mobility management network element sends the context information of the first terminal to the data storage network element.
  • Step 509 After the first terminal is changed from the idle state to the connected state, the first terminal information is determined to be stored in the data storage network element according to the first indication information, and the non-included information is sent to the access network element.
  • the RRC request message of the system temporary identifier in the first temporary user identifier is used to request the access network element to select a mobility management network element for the first terminal to serve.
  • Step 510 The access network element determines that the second mobility management network element is serving the first terminal, and sends an RRC request response message to the first terminal, where the RRC request response message is used to indicate the mobility of serving the first terminal.
  • the management network element is switched by the first mobility management network element to the second mobility management network element.
  • Step 511 The access network element sends the first temporary user identifier to the second mobility management network element.
  • Step 512 The second mobility management network element determines, according to the first indication information in the first temporary user identifier, that the context information of the first terminal is stored in the data storage network element, and then sends a context information request message to the data storage network element.
  • the context information request message is used to request context information of the first terminal.
  • the second mobility management network element determines, according to the first indication information in the first temporary user identifier, that the context information of the first terminal is not stored in the data storage network element, the first mobility management is performed.
  • the network element sends a context information request message.
  • Step 513 The data storage network element sends the context information of the first terminal to the second mobility management network element.
  • FIG. 6 a context information management apparatus provided by an embodiment of the present application.
  • the apparatus 600 includes:
  • the receiving unit 601 is configured to receive a first temporary user identifier request message sent by the first mobility management network element, where the first temporary user identifier request message is used to request to allocate a first temporary user identifier to the first terminal.
  • the sending unit 602 is configured to send a first temporary user identifier request response message to the first mobility management network element, where the first temporary user identifier request response message includes the data storage network element as the first terminal The first temporary user ID assigned;
  • the receiving unit 601 is configured to receive the context information of the first terminal that is sent by the first mobility management network element, where the context information of the first terminal includes the first temporary user identifier.
  • the first temporary user identifier includes first indication information, where the first indication information is used to indicate whether context information of the first terminal is stored in the data storage network element.
  • the receiving unit 601 is further configured to receive, by the second mobility management network element, a context information request message that includes the first temporary user identifier of the first terminal, where the context information request message is used to request Context information of the first terminal;
  • the second mobility management network element is a mobility management network element serving the first terminal;
  • the sending unit 602 is further configured to send the context information of the first terminal to the second mobility management network element.
  • the context information request message is sent by the second mobility management network element after determining that the context information of the first terminal is stored in the data storage network element according to the first indication information.
  • a context information management apparatus provided in an embodiment of the present application.
  • the apparatus 700 includes:
  • the transceiver unit 701 is configured to send a first temporary user identification request message to the data storage network element, where the first temporary user identification request message is used to request the data storage network element to allocate a first temporary user identifier to the first terminal;
  • the processing unit 702 is configured to generate context information of the first terminal that includes the first temporary user identifier.
  • the transceiver unit 701 is configured to send context information of the first terminal to the data storage network element.
  • the first temporary user identifier includes first indication information, where the first indication information is used to indicate whether context information of the first terminal is stored in the data storage network element.
  • the processing unit 702 is further configured to:
  • the transceiver unit 701 is further configured to:
  • the second temporary user identifier is that the second terminal is switched by the second mobility management network element to the first mobility management network element
  • the second temporary user identifier is included in the second temporary user identifier, and the second indication information is used to indicate context information with the second terminal. Whether it is stored in the data storage network element;
  • the processing unit 702 is further configured to: if it is determined that the context information of the second terminal is stored in the data storage network element according to the second indication information, requesting, by the transceiver unit, the data storage network element Context information of the second terminal.
  • processing unit 702 is further configured to:
  • a context information management apparatus provided in an embodiment of the present application.
  • the apparatus 800 includes:
  • the transceiver unit 801 is configured to acquire a first temporary user identifier of the first terminal from the first mobility management network element, where the first temporary user identifier includes first indication information and a system temporary identifier, where the first indication information is used by And indicating whether the context information of the first terminal is stored in the data storage network element;
  • the processing unit 802 is configured to determine, after the first terminal enters the connected state from the idle state, that the context information mapped with the first temporary user identifier is not stored in the data storage network element according to the first indication information. Transmitting, by the transceiver unit, the system temporary identifier to the access network element.
  • a context information management apparatus provided in an embodiment of the present application.
  • the apparatus 900 includes a processor 901, a transceiver 902, a memory 903, and a communication interface 904; wherein the processor 901, the transceiver 902, the memory 903, and the communication interface 904 are connected to one another via a bus 905.
  • the processor 901 may be a central processing unit (CPU), a network processor (NP), or a combination of a CPU and an NP.
  • the processor 901 may further include a hardware chip.
  • the hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof.
  • the PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a general array logic (GAL), or any combination thereof.
  • the memory 903 may include a volatile memory such as a random-access memory (RAM); the memory may also include a non-volatile memory such as a flash memory.
  • RAM random-access memory
  • non-volatile memory such as a flash memory.
  • HDD hard disk drive
  • SSD solid-state drive
  • the memory 903 may also include a combination of the above types of memories.
  • the communication interface 904 can be a wired communication access port, a wireless communication interface, or a combination thereof, wherein the wired communication interface can be, for example, an Ethernet interface.
  • the Ethernet interface can be an optical interface, an electrical interface, or a combination thereof.
  • the wireless communication interface can be a WLAN interface.
  • the bus 905 can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus.
  • PCI peripheral component interconnect
  • EISA extended industry standard architecture
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one double-headed arrow is shown in Figure 8, but it does not mean that there is only one bus or one type of bus.
  • the memory 903 can be used to store program instructions, and the processor 901 calls the program instructions stored in the memory 903 to execute:
  • a mobility management network element sends a first temporary user identification request response message, where the first temporary user identification request response message includes a first temporary user identifier that is allocated by the data storage network element to the first terminal;
  • the context information of the first terminal that is sent by the first mobility management network element, where the context information of the first terminal includes the first temporary user identifier.
  • the first temporary user identifier includes first indication information, where the first indication information is used to indicate whether context information of the first terminal is stored in the data storage network element.
  • the transceiver 902 is further configured to receive, by the second mobility management network element, a context information request message that includes the first temporary user identifier of the first terminal, where the context information request message is used to request Context information of the first terminal;
  • the second mobility management network element is a mobility management network element serving the first terminal;
  • the context information request message is sent by the second mobility management network element after determining that the context information of the first terminal is stored in the data storage network element according to the first indication information.
  • FIG. 10 it is a context information management apparatus provided by an embodiment of the present application.
  • the apparatus 1000 includes a processor 1001, a transceiver 1002, a memory 1003, and a communication interface 1004.
  • the processor 1001, the transceiver 1002, the memory 1003, and the communication interface 1004 are connected to each other through a bus 1005.
  • bus 1005. For details of the foregoing modules, refer to the description of related modules in Figure 9, and details are not described herein.
  • the transceiver 1002 is configured to send a first temporary user identification request message to the data storage network element, where the first temporary user identification request message is used to request the data storage network element to allocate a first temporary user identifier to the first terminal;
  • the processor 1001 is configured to generate context information of the first terminal that includes the first temporary user identifier.
  • the transceiver 1002 is configured to send context information of the first terminal to the data storage network element.
  • the first temporary user identifier includes first indication information, where the first indication information is used to indicate whether context information of the first terminal is stored in the data storage network element.
  • the processor 1001 is further configured to:
  • the transceiver 1002 is further configured to:
  • the second temporary user identifier is that the second terminal is switched by the second mobility management network element to the first mobility management network element
  • the second temporary user identifier is included in the second temporary user identifier, and the second indication information is used to indicate context information with the second terminal. Whether it is stored in the data storage network element;
  • the processor 1001 is further configured to: if it is determined that the context information of the second terminal is stored in the data storage network element according to the second indication information, requesting, by the transceiver, the data storage network element Context information of the second terminal.
  • the processor 1001 is further configured to:
  • the transceiver If it is determined that the context information of the second terminal is not stored in the data storage network element according to the second indication information, requesting, by the transceiver, the second terminal to the second mobility management network element Contextual information.
  • a context information management apparatus provided in an embodiment of the present application.
  • the apparatus 1100 includes a processor 1101, a transceiver 1102, a memory 1103, and a communication interface 1104; wherein the processor 1101, the transceiver 1102, the memory 1103, and the communication interface 1104 are connected to each other through a bus 1105.
  • a bus 1105. for details of the foregoing modules, refer to the description of related modules in Figure 9, and details are not described herein.
  • the transceiver 1102 is configured to acquire a first temporary user identifier of the first terminal from the first mobility management network element, where the first temporary user identifier includes first indication information and a system temporary identifier, where the first indication information is used by And indicating whether the context information of the first terminal is stored in the data storage network element;
  • the processor 1101 is configured to: after the first terminal enters the connected state from the idle state, determine, according to the first indication information, context information that is mapped to the first temporary user identifier is not stored in the data storage network element. Transmitting, by the transceiver, the system temporary identifier to the access network element.
  • the embodiment of the present application further provides a computer readable storage medium for storing computer software instructions required to execute the foregoing processor, which includes a program for executing the above-mentioned processor.
  • the embodiment of the present application provides a computer program product that, when the computer reads and executes the computer program product, causes the computer to perform the method in any of the above possible designs.
  • the embodiment of the present application provides a chip connected to a memory for reading and executing a software program stored in the memory to implement the method in any of the above possible designs.
  • embodiments of the present application can be provided as a method, system, or computer program product.
  • the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware.
  • the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Abstract

A method and device for content information management. The method comprises: a data storage network element receives a first temporary subscriber identity request message transmitted by a first mobility management network element, the first temporary subscriber identity request message being used for requesting the assignment of a first temporary subscriber identity to a first terminal; the data storage network element transmits a first temporary subscriber identity request response message to the first mobility management network element, the first temporary subscriber identity request response message comprising the first temporary subscriber identity assigned to the first terminal by the data storage network element; and the data storage network element receives context information of the first terminal transmitted by the first mobility management network element, the context information of the first terminal comprising the first temporary subscriber identity.

Description

一种上下文信息管理方法及装置Context information management method and device
本申请要求在2017年9月20日提交国家专利局、申请号为201710854757.0、发明名称为“一种上下文信息管理方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims the priority of the Chinese Patent Application, filed on Sep. 20, 2017, filed Jan. in.
技术领域Technical field
本申请涉及通信技术领域,尤其涉及一种上下文信息管理方法及装置。The present application relates to the field of communications technologies, and in particular, to a context information management method and apparatus.
背景技术Background technique
在移动通信系统中,终端在接入网络之前,网络侧会为终端建立上下文信息,上下文信息中包括诸如终端的网络能力、鉴权信息、协商的安全算法、创建的连接信息等等。在未来的5G通信系统中,例如新无线(New Radio,NR)系统,终端的上下文信息可以存储于非结构化数据存储功能(Unstructured Data storage Function,UDSF)网元中。同时,每个终端的上下文信息中包括终端的临时移动用户标识(Temporary Mobile Subscriber Identity,TMSI),终端的上下文信息可以通过该终端的TMSI进行索引。In the mobile communication system, before the terminal accesses the network, the network side establishes context information for the terminal, and the context information includes network capabilities such as the terminal, authentication information, negotiated security algorithms, created connection information, and the like. In a future 5G communication system, such as a New Radio (NR) system, the context information of the terminal may be stored in an Unstructured Data Storage Function (UDSF) network element. At the same time, the context information of each terminal includes a Temporary Mobile Subscriber Identity (TMSI) of the terminal, and the context information of the terminal can be indexed by the TMSI of the terminal.
终端的TMSI是由接入与移动性管理功能(Access and Mobility Management Function,AMF)网元分配的。但是由于AMF网元并不确定终端的上下文信息是否一直有效(终端在空闲态时,网络侧可能会把终端的上下文信息删除),因此AMF网元可能将一个TMSI分配给多个终端,此时多个终端的上下文信息之后的TMSI是相同的。如果一个TMSI索引到至少一个上下文信息,UDSF网元会覆盖先前存储的该TMSI索引的上下文信息,从而导致终端的上下文信息被覆盖或丢失。The TMSI of the terminal is allocated by the Access and Mobility Management Function (AMF) network element. However, since the AMF network element does not determine whether the context information of the terminal is always valid (the network side may delete the context information of the terminal when the terminal is in the idle state), the AMF network element may allocate a TMSI to multiple terminals. The TMSI after the context information of multiple terminals is the same. If a TMSI indexes to at least one context information, the UDSF network element may overwrite previously stored context information of the TMSI index, thereby causing the terminal's context information to be overwritten or lost.
因此,如何为终端分配的临时用户标识,避免终端的上下文被覆盖或丢失,是一个亟待解决的问题。Therefore, how to assign a temporary user identifier to a terminal to prevent the context of the terminal from being overwritten or lost is an urgent problem to be solved.
发明内容Summary of the invention
本申请提供一种上下文信息管理方法及装置,用以解决如何避免终端的上下文信息被覆盖或丢失的问题。The present application provides a context information management method and apparatus for solving the problem of how to avoid coverage or loss of context information of a terminal.
第一方面,本申请实施例提供了一种上下文信息管理方法,该方法包括:In a first aspect, the embodiment of the present application provides a context information management method, where the method includes:
数据存储网元接收第一移动性管理网元发送的第一临时用户标识请求消息,所述第一临时用户标识请求消息用于请求所述数据存储网元为第一终端分配第一临时用户标识;The data storage network element receives the first temporary user identification request message sent by the first mobility management network element, where the first temporary user identification request message is used to request the data storage network element to allocate the first temporary user identifier to the first terminal. ;
所述数据存储网元向所述第一移动性管理网元发送第一临时用户标识请求响应消息,所述第一临时用户标识请求响应消息中包括所述数据存储网元为所述第一终端分配的第一临时用户标识;The data storage network element sends a first temporary user identification request response message to the first mobility management network element, where the first temporary user identification request response message includes the data storage network element as the first terminal The first temporary user ID assigned;
所述数据存储网元接收所述第一移动性管理网元发送的所述第一终端的上下文信息,所述第一终端的上下文信息中包括所述第一临时用户标识。The data storage network element receives the context information of the first terminal that is sent by the first mobility management network element, and the first temporary user identifier is included in the context information of the first terminal.
根据上述方法,数据存储网元为第一终端分配第一临时用户标识,并存储包括所述第一临时用户标识的第一终端的上下文信息,由于数据存储网元存储第一终端的上下文信息, 因此数据存储网元可以确定第一终端的上下文信息是否有效,从而可以为第一终端分配一个唯一的第一临时用户标识,并在第一终端的上下文信息有效时,不再为其他终端分配与第一临时用户标识相同的临时用户标识,从而避免第一终端的第一临时用户标识与其他终端的临时用户标识相同时,导致第一终端的上下文信息被覆盖或丢失的问题。According to the above method, the data storage network element allocates a first temporary user identifier to the first terminal, and stores context information of the first terminal including the first temporary user identifier, and the data storage network element stores context information of the first terminal, Therefore, the data storage network element can determine whether the context information of the first terminal is valid, so that the first terminal can be assigned a unique first temporary user identifier, and when the context information of the first terminal is valid, the other terminal is no longer allocated and The first temporary user identifies the same temporary user identifier, so that when the first temporary user identifier of the first terminal is the same as the temporary user identifier of the other terminal, the problem that the context information of the first terminal is overwritten or lost is caused.
一种可选地实施方式中,所述第一临时用户标识中包括第一指示信息,所述第一指示信息用于指示所述第一终端的上下文信息是否存储于所述数据存储网元中。In an optional implementation manner, the first temporary user identifier includes first indication information, where the first indication information is used to indicate whether context information of the first terminal is stored in the data storage network element. .
通过第一指示信息,可以使得其他网元快速的确定数据存储网元中是否存储第一终端的上下文信息,当网络侧根据第一指示信息确定数据存储网元中存储第一终端的上下文信息之后,在为第一终端选择移动管理性网元时不需要考虑第一终端之前的状态,只需要根据当前的各个移动管理性网元的虚拟资源使用情况、支持的性能等选择一个最优的移动管理性网元来为第一终端服务。The first indication information may be used to enable the other network element to quickly determine whether the context information of the first terminal is stored in the data storage network element. After the network side determines, according to the first indication information, the context information of the first terminal is stored in the data storage network element. When selecting the mobility management network element for the first terminal, it is not necessary to consider the state before the first terminal, and only needs to select an optimal mobility according to the current virtual resource usage of each mobile management network element, supported performance, and the like. The management network element serves the first terminal.
一种可选地实施方式中,所述方法还包括:In an optional implementation manner, the method further includes:
所述数据存储网元接收第二移动性管理网元发送的包括所述第一终端的第一临时用户标识的上下文信息请求消息,所述上下文信息请求消息用于请求所述第一终端的上下文信息;所述第二移动性管理网元是为所述第一终端服务的移动性管理网元;The data storage network element receives a context information request message that is sent by the second mobility management network element and includes the first temporary user identifier of the first terminal, where the context information request message is used to request the context of the first terminal. Information; the second mobility management network element is a mobility management network element serving the first terminal;
所述数据存储网元将所述第一终端的上下文信息发送给所述第二移动性管理网元。The data storage network element sends the context information of the first terminal to the second mobility management network element.
通过上述方法,数据存储网元可以将第一终端的上下文信息传输给任意一个为第一终端服务的移动性管理网元,从而可以提高第一终端接入网络的速度。Through the foregoing method, the data storage network element can transmit the context information of the first terminal to any mobility management network element serving the first terminal, so that the speed at which the first terminal accesses the network can be improved.
一种可选地实施方式中,所述上下文信息请求消息为所述第二移动性管理网元根据所述第一指示信息确定所述第一终端的上下文信息存储于所述数据存储网元中之后发送的。In an optional implementation manner, the context information request message is that the second mobility management network element determines, according to the first indication information, that context information of the first terminal is stored in the data storage network element. After sending it.
第二方面,本申请实施例提供一种上下文信息管理装置,所述装置包括存储器、收发机和处理器,其中:存储器用于存储指令;处理器用于根据执行存储器存储的指令,并控制收发机进行信号接收和信号发送,当处理器执行存储器存储的指令时,接入网节点用于执行上述第一方面或第一方面中任一种可能的设计中的方法。In a second aspect, an embodiment of the present application provides a context information management apparatus, where the apparatus includes a memory, a transceiver, and a processor, wherein: the memory is used to store an instruction; the processor is configured to control the transceiver according to the instruction to execute the memory storage. Signal reception and signal transmission are performed, and when the processor executes an instruction stored in the memory, the access network node is configured to perform the method in any of the possible aspects of the first aspect or the first aspect described above.
第三方面,本申请实施例提供一种上下文信息管理装置,用于实现上述第一方面或第一方面中的任意一种方法,包括相应的功能模块,例如包括处理单元、接收单元、发送单元等,分别用于实现以上方法中的步骤。In a third aspect, the embodiment of the present application provides a context information management apparatus, which is used to implement any one of the foregoing first aspect or the first aspect, including a corresponding functional module, for example, including a processing unit, a receiving unit, and a sending unit. Etc., respectively, are used to implement the steps in the above method.
第四方面,本申请实施例提供一种计算机可读存储介质,所述计算机存储介质中存储有计算机可读指令,当计算机读取并执行所述计算机可读指令时,使得计算机执行上述第一方面或第一方面中任一种可能的设计中的方法。In a fourth aspect, an embodiment of the present application provides a computer readable storage medium, where the computer storage medium stores computer readable instructions, and when the computer reads and executes the computer readable instructions, causes the computer to execute the first Aspect or method of any of the possible aspects of the first aspect.
第五方面,本申请实施例提供一种计算机程序产品,当计算机读取并执行所述计算机程序产品时,使得计算机执行上述第一方面或第一方面中任一种可能的设计中的方法。In a fifth aspect, the embodiment of the present application provides a computer program product, when the computer reads and executes the computer program product, causing the computer to perform the method in any one of the foregoing first aspect or the first aspect.
第六方面,本申请实施例提供一种芯片,所述芯片与存储器相连,用于读取并执行所述存储器中存储的软件程序,以实现上述第一方面或第一方面中任一种可能的设计中的方法。In a sixth aspect, an embodiment of the present application provides a chip, where the chip is connected to a memory, for reading and executing a software program stored in the memory, to implement any of the foregoing first aspect or the first aspect. The method in the design.
第七方面,本申请实施例提供一种上下文信息管理方法,所述方法包括:In a seventh aspect, the embodiment of the present application provides a context information management method, where the method includes:
第一移动性管理网元向数据存储网元发送第一临时用户标识请求消息,所述第一临时用户标识请求消息用于请求所述数据存储网元为第一终端分配第一临时用户标识;The first mobility management network element sends a first temporary user identification request message to the data storage network element, where the first temporary user identification request message is used to request the data storage network element to allocate a first temporary user identifier to the first terminal;
所述第一移动性管理网元接收所述数据存储网元发送的第一临时用户标识请求响应消息,所述第一临时用户标识请求响应消息中包括所述第一临时用户标识;The first mobility management network element receives a first temporary user identification request response message sent by the data storage network element, where the first temporary user identification request response message includes the first temporary user identifier;
所述第一移动性管理网元生成包括所述第一临时用户标识的所述第一终端的上下文信息,向所述数据存储网元发送所述第一终端的上下文信息。The first mobility management network element generates context information of the first terminal that includes the first temporary user identifier, and sends context information of the first terminal to the data storage network element.
通过上述方法,第一移动性管理网元通过向存储第一终端的上下文信息的数据存储网元请求为第一终端分配第一临时用户标识,由于数据存储网元存储第一终端的上下文信息,因此数据存储网元可以确定第一终端的上下文信息是否有效,从而可以为第一终端分配一个唯一的第一临时用户标识,因此第一移动性管理网元为终端请求的第一临时用户标识可以避免第一终端的第一临时用户标识与其他终端的临时用户标识相同时,导致第一终端的上下文信息被覆盖或丢失的问题。The first mobility management network element requests the first temporary user identifier to be allocated to the first terminal by the data storage network element storing the context information of the first terminal, and the data storage network element stores the context information of the first terminal. Therefore, the data storage network element can determine whether the context information of the first terminal is valid, so that the first terminal can be assigned a unique first temporary user identifier, so the first mobility management network element can be the first temporary user identifier requested by the terminal. When the first temporary user identifier of the first terminal is the same as the temporary user identifier of the other terminal, the problem that the context information of the first terminal is overwritten or lost is caused.
一种可选地实施方式中,所述第一临时用户标识中包括第一指示信息,所述第一指示信息用于指示所述第一终端的上下文信息是否存储于所述数据存储网元中。In an optional implementation manner, the first temporary user identifier includes first indication information, where the first indication information is used to indicate whether context information of the first terminal is stored in the data storage network element. .
一种可选地实施方式中,所述第一移动性管理网元向所述数据存储网元发送所述第一终端的上下文信息之前,还包括:In an optional implementation manner, before the first mobility management network element sends the context information of the first terminal to the data storage network element, the method further includes:
所述第一移动性管理网元确定所述第一终端处于空闲状态;The first mobility management network element determines that the first terminal is in an idle state;
或者,所述第一移动性管理网元确定不再为所述第一终端服务。Alternatively, the first mobility management network element determines that the first terminal is no longer served.
通过上述方法,第一移动性管理网元确定所述第一终端处于空闲状态或不再为所述第一终端服务时,可以将第一终端的上下文信息存储在数据存储网元中,从而可以实现接入网网元与移动管理性网元之间的接口的无粘性。When the first mobility management network element determines that the first terminal is in an idle state or is no longer serving the first terminal, the context information of the first terminal may be stored in the data storage network element, so that The interface between the access network element and the mobility management network element is made non-sticky.
一种可选地实施方式中,所述方法还包括:In an optional implementation manner, the method further includes:
所述第一移动性管理网元接收接入网网元发送的第二终端的第二临时用户标识;所述第二临时用户标识为所述第二终端由第二移动性管理网元切换到所述第一移动性管理网元之前,由所述数据存储网元为所述第二终端分配的;所述第二临时用户标识中包括第二指示信息,所述第二指示信息用于指示所述第二终端的上下文信息是否存储于所述数据存储网元中;Receiving, by the first mobility management network element, a second temporary user identifier of the second terminal that is sent by the network element of the access network; the second temporary user identifier is that the second terminal is switched by the second mobility management network element Before the first mobility management network element, the data storage network element is allocated to the second terminal; the second temporary user identifier includes second indication information, and the second indication information is used to indicate Whether the context information of the second terminal is stored in the data storage network element;
所述第一移动性管理网元若根据所述第二指示信息确定所述第二终端的上下文信息存储于所述数据存储网元中,则向所述数据存储网元请求所述第二终端的上下文信息。If the first mobility management network element determines that the context information of the second terminal is stored in the data storage network element according to the second indication information, requesting, by the data storage network element, the second terminal Contextual information.
一种可选地实施方式中,所述方法还包括:In an optional implementation manner, the method further includes:
所述第一移动性管理网元若根据所述第二指示信息确定所述第二终端的上下文信息未存储于所述数据存储网元中,则向所述第二移动性管理网元请求所述第二终端的上下文信息。If the first mobility management network element determines that the context information of the second terminal is not stored in the data storage network element according to the second indication information, requesting, by the second mobility management network element, the second mobility management network element The context information of the second terminal is described.
第八方面,本申请实施例提供一种上下文信息管理装置,所述装置包括存储器、收发机和处理器,其中:存储器用于存储指令;处理器用于根据执行存储器存储的指令,并控制收发机进行信号接收和信号发送,当处理器执行存储器存储的指令时,终端用于执行上述第七方面或第七方面中任一种可能的设计中的方法。In an eighth aspect, an embodiment of the present application provides a context information management apparatus, where the apparatus includes a memory, a transceiver, and a processor, wherein: the memory is configured to store an instruction; the processor is configured to control the transceiver according to the instruction for executing the memory storage. Signal reception and signal transmission are performed, and when the processor executes the instruction stored in the memory, the terminal is configured to perform the method in any of the above seventh aspect or the seventh aspect.
第九方面,本申请实施例提供一种上下文信息管理装置,所述装置用于实现上述第七方面或第七方面中的任意一种方法,包括相应的功能模块,例如包括处理单元、接收单元、发送单元等,分别用于实现以上方法中的步骤。The ninth aspect, the embodiment of the present application provides a context information management apparatus, where the apparatus is used to implement any one of the foregoing seventh or seventh aspects, including a corresponding functional module, for example, including a processing unit and a receiving unit. , a transmitting unit, and the like, respectively, are used to implement the steps in the above method.
第十方面,本申请实施例提供一种计算机可读存储介质,所述计算机存储介质中存储有计算机可读指令,当计算机读取并执行所述计算机可读指令时,使得计算机执行上述第七方面或第七方面中任一种可能的设计中的方法。In a tenth aspect, the embodiment of the present application provides a computer readable storage medium, where the computer readable medium stores computer readable instructions, and when the computer reads and executes the computer readable instructions, causes the computer to execute the seventh Aspect or method of any of the possible aspects of the seventh aspect.
第十一方面,本申请实施例提供一种计算机程序产品,当计算机读取并执行所述计算 机程序产品时,使得计算机执行上述第七方面或第七方面中任一种可能的设计中的方法。In an eleventh aspect, the embodiment of the present application provides a computer program product, when the computer reads and executes the computer program product, causing the computer to perform the method in any one of the seventh aspect or the seventh aspect. .
第十二方面,本申请实施例提供一种芯片,所述芯片与存储器相连,用于读取并执行所述存储器中存储的软件程序,以实现上述第七方面或第七方面中任一种可能的设计中的方法。According to a twelfth aspect, the embodiment of the present application provides a chip, where the chip is connected to a memory, and is configured to read and execute a software program stored in the memory, to implement any one of the seventh aspect or the seventh aspect. Possible methods in design.
第十三方面,本申请实施例提供一种上下文信息管理方法,所述方法包括:In a thirteenth aspect, the embodiment of the present application provides a context information management method, where the method includes:
第一终端从第一移动性管理网元获取所述第一终端的第一临时用户标识;所述第一临时用户标识中包括第一指示信息以及系统临时标识,所述第一指示信息用于指示所述第一终端的上下文信息是否存储于数据存储网元中;The first terminal acquires the first temporary user identifier of the first terminal from the first mobility management network element; the first temporary user identifier includes first indication information and a system temporary identifier, where the first indication information is used Indicate whether the context information of the first terminal is stored in the data storage network element;
所述第一终端从空闲态进入连接态之后,所述第一终端若根据所述第一指示信息确定与所述第一临时用户标识映射的上下文信息不存储于所述数据存储网元中,则向接入网网元发送所述系统临时标识。After the first terminal enters the connected state from the idle state, the first terminal determines, according to the first indication information, that the context information mapped with the first temporary user identifier is not stored in the data storage network element, And sending the system temporary identifier to the access network element.
通过上述方法,第一终端根据第一指示信息确定与第一临时用户标识映射的上下文信息不存储于数据存储网元中时,可以向接入网网元发送系统临时标识,从而可以使得接入网网元根据系统临时标识为第一终端确定移动性管理网元。When the first terminal determines that the context information mapped with the first temporary user identifier is not stored in the data storage network element according to the first indication information, the first terminal may send the system temporary identifier to the access network element, thereby enabling access. The network element determines the mobility management network element for the first terminal according to the temporary identifier of the system.
第十四方面,本申请实施例提供一种上下文信息管理方法,所述方法包括:In a fourteenth aspect, the embodiment of the present application provides a context information management method, where the method includes:
第一移动性管理网元接收接入网网元发送的第二终端的第二临时用户标识;所述第二临时用户标识为所述第二终端由第二移动性管理网元切换到所述第一移动性管理网元之前,由所述数据存储网元为所述第二终端分配的;所述第二临时用户标识中包括第二指示信息,所述第二指示信息用于指示所述第二终端的上下文信息是否存储于所述数据存储网元中;The first mobility management network element receives the second temporary user identifier of the second terminal that is sent by the access network element; the second temporary user identifier is that the second terminal is switched by the second mobility management network element to the Before the first mobility management network element, the data storage network element is allocated to the second terminal; the second temporary user identifier includes second indication information, where the second indication information is used to indicate the Whether context information of the second terminal is stored in the data storage network element;
所述第一移动性管理网元若根据所述第二指示信息确定所述第二终端的上下文信息存储于所述数据存储网元中,则向所述数据存储网元请求所述第二终端的上下文信息。If the first mobility management network element determines that the context information of the second terminal is stored in the data storage network element according to the second indication information, requesting, by the data storage network element, the second terminal Contextual information.
一种可选地实施方式中,所述方法还包括:In an optional implementation manner, the method further includes:
所述第一移动性管理网元若根据所述第二指示信息确定所述第二终端的上下文信息未存储于所述数据存储网元中,则向所述第二移动性管理网元请求所述第二终端的上下文信息。If the first mobility management network element determines that the context information of the second terminal is not stored in the data storage network element according to the second indication information, requesting, by the second mobility management network element, the second mobility management network element The context information of the second terminal is described.
第十五方面,本申请实施例提供一种上下文信息管理装置,所述装置包括存储器、收发机和处理器,其中:存储器用于存储指令;处理器用于根据执行存储器存储的指令,并控制收发机进行信号接收和信号发送,当处理器执行存储器存储的指令时,终端用于执行上述第十三方面或第十四方面中任一种可能的设计中的方法。According to a fifteenth aspect, the embodiment of the present application provides a context information management apparatus, where the apparatus includes a memory, a transceiver, and a processor, wherein: the memory is used to store an instruction; the processor is configured to control, according to an instruction for executing the memory, and control the sending and receiving. The machine performs signal reception and signal transmission. When the processor executes the instruction stored in the memory, the terminal is configured to perform the method in any of the above-mentioned thirteenth or fourteenth aspects.
第十六方面,本申请实施例提供一种上下文信息管理装置,所述装置用于实现上述第十三方面或第十四方面中的任意一种方法,包括相应的功能模块,例如包括处理单元、接收单元、发送单元等,分别用于实现以上方法中的步骤。In a sixteenth aspect, the embodiment of the present application provides a context information management apparatus, where the apparatus is used to implement any one of the thirteenth or fourteenth aspects, including a corresponding functional module, for example, including a processing unit. The receiving unit, the transmitting unit, and the like are respectively used to implement the steps in the above method.
第十七方面,本申请实施例提供一种计算机可读存储介质,所述计算机存储介质中存储有计算机可读指令,当计算机读取并执行所述计算机可读指令时,使得计算机执行上述第十三方面或第十四方面中任一种可能的设计中的方法。In a seventeenth aspect, the embodiment of the present application provides a computer readable storage medium, where the computer storage medium stores computer readable instructions, and when the computer reads and executes the computer readable instructions, causes the computer to execute the foregoing A method of any of the thirteenth or fourteenth aspects of the possible design.
第十八方面,本申请实施例提供一种计算机程序产品,当计算机读取并执行所述计算机程序产品时,使得计算机执行上述第十三方面或第十四方面中任一种可能的设计中的方法。In an eighteenth aspect, the embodiment of the present application provides a computer program product, when the computer reads and executes the computer program product, causing the computer to perform any of the thirteenth aspects or the fourteenth aspect of the possible design. Methods.
第十九方面,本申请实施例提供一种芯片,所述芯片与存储器相连,用于读取并执行 所述存储器中存储的软件程序,以实现上述第十三方面或第十四方面中任一种可能的设计中的方法。According to a nineteenth aspect, an embodiment of the present application provides a chip, where the chip is connected to a memory, and is configured to read and execute a software program stored in the memory to implement the thirteenth aspect or the fourteenth aspect. A possible approach in design.
附图说明DRAWINGS
图1为适用于本申请实施例的一种系统架构示意图;1 is a schematic diagram of a system architecture applicable to an embodiment of the present application;
图2为本申请实施例提供的一种上下文信息管理方法流程示意图;2 is a schematic flowchart of a context information management method according to an embodiment of the present application;
图3为本申请实施例提供的一种临时用户标识示意图;FIG. 3 is a schematic diagram of a temporary user identification according to an embodiment of the present application;
图4为本申请实施例提供的一种临时用户标识示意图;FIG. 4 is a schematic diagram of a temporary user identification according to an embodiment of the present application;
图5为本申请实施例提供的一种上下文信息管理示意图;FIG. 5 is a schematic diagram of context information management according to an embodiment of the present application;
图6为本申请实施例提供的一种上下文信息管理装置结构示意图;FIG. 6 is a schematic structural diagram of a context information management apparatus according to an embodiment of the present application;
图7为本申请实施例提供的一种上下文信息管理装置结构示意图;FIG. 7 is a schematic structural diagram of a context information management apparatus according to an embodiment of the present application;
图8为本申请实施例提供的一种上下文信息管理装置结构示意图;FIG. 8 is a schematic structural diagram of a context information management apparatus according to an embodiment of the present application;
图9为本申请实施例提供的一种上下文信息管理装置结构示意图;FIG. 9 is a schematic structural diagram of a context information management apparatus according to an embodiment of the present application;
图10为本申请实施例提供的一种上下文信息管理装置结构示意图;FIG. 10 is a schematic structural diagram of a context information management apparatus according to an embodiment of the present application;
图11为本申请实施例提供的一种上下文信息管理装置结构示意图。FIG. 11 is a schematic structural diagram of a context information management apparatus according to an embodiment of the present disclosure.
具体实施方式Detailed ways
下面将结合附图对本申请作进一步地详细描述。The present application will be further described in detail below with reference to the accompanying drawings.
图1示例性示出了适用于本申请实施例的一种系统架构示意图,如图1所示,在未来的5G系统架构中,终端101可以经接入网网元102与核心网进行通信,终端可以指用户设备(User Equipment,UE)、接入终端、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置。接入终端可以是蜂窝电话、无绳电话、会话启动协议(Session Initiation Protocol,SIP)电话、无线本地环路(Wireless Local Loop,WLL)站、个人数字处理(Personal Digital Assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备,未来5G网络中的终端等。图1中为方便描述,只示例出1个终端,实际网络中,可能存在多个终端共存,在此不再赘述。FIG. 1 is a schematic diagram showing a system architecture applicable to the embodiment of the present application. As shown in FIG. 1 , in a future 5G system architecture, the terminal 101 can communicate with the core network via the access network element 102. A terminal may refer to a user equipment (UE), an access terminal, a subscriber unit, a subscriber station, a mobile station, a mobile station, a remote station, a remote terminal, a mobile device, a user terminal, a terminal, a wireless communication device, a user agent, or a user. Device. The access terminal may be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), with wireless communication. Functional handheld devices, computing devices or other processing devices connected to wireless modems, in-vehicle devices, wearable devices, terminals in future 5G networks, and the like. In FIG. 1 , for convenience of description, only one terminal is illustrated. In an actual network, multiple terminals may coexist, and details are not described herein again.
接入网(Access Network,AN)网元102,接入网网元也可以称之为无线接入网(Radio Access Network,RAN)网元,以下统称为接入网网元或AN网元,主要负责为终端101提供无线连接,保证终端101的上下行数据的可靠传输等。接入网网元102可为5G系统中的gNB(generation Node B),可以是全球移动通讯(Global System of Mobile communication,GSM)系统或码分多址(Code Division Multiple Access,CDMA)中的基站(Base Transceiver Station,BTS),也可以是宽带码分多址(Wideband Code Division Multiple Access,WCDMA)系统中的基站(NodeB,NB),还可以是长期演进(Long Term Evolution,LTE)系统中的演进型基站(Evolutional Node B,eNB或eNodeB)等。An access network (AN) network element 102, which may also be referred to as a radio access network (RAN) network element, is hereinafter referred to as an access network element or an AN network element. It is mainly responsible for providing a wireless connection to the terminal 101, ensuring reliable transmission of uplink and downlink data of the terminal 101, and the like. The access network element 102 can be a gNB (generation Node B) in a 5G system, and can be a Global System of Mobile communication (GSM) system or a base station in Code Division Multiple Access (CDMA). (Base Transceiver Station, BTS), which may also be a base station (NodeB, NB) in a Wideband Code Division Multiple Access (WCDMA) system, or may be a Long Term Evolution (LTE) system. An evolved base station (Evolutional Node B, eNB or eNodeB), and the like.
会话管理功能(Session Management Function,SMF)网元103,该网元可以用于执行LTE系统中移动性管理网元(Mobility Management Entity,MME)的部分功能,主要负责为终端101建立会话、管理会话等。可以根据终端101的位置信息为终端101选择合适的用户面功能(User Plane Function,UPF)网元。a session management function (SMF) network element 103, which can be used to perform part of the functions of the Mobility Management Entity (MME) in the LTE system, and is mainly responsible for establishing a session, a management session, and the like for the terminal 101. . A suitable User Plane Function (UPF) network element can be selected for the terminal 101 according to the location information of the terminal 101.
用户面功能网元104,是终端101用户面的功能网元,主要功能包括分组路由和转发,用户面数据的服务质量(Quality of Service,QoS)处理等。The user plane function network element 104 is a functional network element of the user plane of the terminal 101. The main functions include packet routing and forwarding, and quality of service (QoS) processing of user plane data.
接入和移动性管理(Access and Mobility Management Function,AMF)网元105,主要功能包括无线接入网络控制平面的终结点,非接入信令的终结点,移动性管理,合法监听,接入授权或鉴权等等。Access and Mobility Management Function (AMF) network element 105, whose main functions include the endpoint of the radio access network control plane, the endpoint of non-access signaling, mobility management, lawful interception, and access Authorization or authentication, etc.
策略控制功能(Policy Control Funtion,PCF)网元106,主要负责用户面传输路径的建立、释放和更改等功能。The Policy Control Funnel (PCF) network element 106 is mainly responsible for the establishment, release, and modification of the user plane transmission path.
鉴权服务器功能(Authentication Server Function,AUSF)网元107,其主要功能包括用户鉴权等。The Authentication Server Function (AUSF) network element 107, whose main functions include user authentication and the like.
用户数据管理(User Data Management,UDM)网元108,主要负责管理用户的签约数据等。User Data Management (UDM) network element 108 is mainly responsible for managing subscription data of users and the like.
数据网络(Data Network,DN)109可以是指为终端101提供服务的网络,比如有些DN可以为终端101提供上网功能,有些DN可以为终端101提供彩信功能。The Data Network (DN) 109 may refer to a network that provides services for the terminal 101. For example, some DNs may provide the Internet access function for the terminal 101, and some DNs may provide the MMS function for the terminal 101.
非结构化数据存储功能网元110,用于存储终端的上下文信息等功能。The unstructured data storage function network element 110 is configured to store functions such as context information of the terminal.
图1中还示出了各个网元中的接口的可能实现方式,比如接入网网元102和AMF网元109之间的N2接口,接入网网元102与UPF网元104之间的N9接口等等,在此不再一一赘述。Also shown in FIG. 1 is a possible implementation of an interface in each network element, such as an N2 interface between the access network element 102 and the AMF network element 109, between the access network element 102 and the UPF network element 104. N9 interface and so on, will not be repeated here.
结合前面的描述,如图2所示,为本申请实施例提供的一种上下文信息管理方法流程示意图。图2所示的方法中的数据存储网元可以是指UDSF网元,移动性管理网元可以是指AMF网元。As shown in FIG. 2, a schematic flowchart of a context information management method provided by an embodiment of the present application is shown. The data storage network element in the method shown in FIG. 2 may refer to a UDSF network element, and the mobility management network element may refer to an AMF network element.
参见图2,该方法包括:Referring to Figure 2, the method includes:
步骤201:第一移动性管理网元向数据存储网元发送第一临时用户标识请求消息,所述第一临时用户标识请求消息用于请求所述数据存储网元为第一终端分配第一临时用户标识。Step 201: The first mobility management network element sends a first temporary user identification request message to the data storage network element, where the first temporary user identification request message is used to request the data storage network element to allocate the first temporary to the first terminal. User ID.
步骤202:数据存储网元接收第一移动性管理网元发送的第一临时用户标识请求消息。Step 202: The data storage network element receives the first temporary user identification request message sent by the first mobility management network element.
步骤203:所述数据存储网元向所述第一移动性管理网元发送第一临时用户标识请求响应消息,所述第一临时用户标识请求响应消息中包括所述数据存储网元为所述第一终端分配的第一临时用户标识。Step 203: The data storage network element sends a first temporary user identification request response message to the first mobility management network element, where the first temporary user identification request response message includes the data storage network element. The first temporary user identifier assigned by the first terminal.
步骤204:所述第一移动性管理网元接收所述数据存储网元发送的第一临时用户标识请求响应消息。Step 204: The first mobility management network element receives a first temporary user identity request response message sent by the data storage network element.
步骤205:所述第一移动性管理网元生成包括所述第一临时用户标识的所述第一终端的上下文信息,向所述数据存储网元发送所述第一终端的上下文信息。Step 205: The first mobility management network element generates context information of the first terminal that includes the first temporary user identifier, and sends context information of the first terminal to the data storage network element.
本申请实施例中,一个终端的上下文信息与该终端的临时用户标识具有映射关系,通过该终端的临时用户标识可以索引该终端的上下文信息,为了描述方便,以下描述中,“第一终端的上下文信息”也可以认为是指“与第一临时用户标识映射的上下文信息”。In the embodiment of the present application, the context information of a terminal has a mapping relationship with the temporary user identifier of the terminal, and the temporary user identifier of the terminal can be used to index the context information of the terminal. For the convenience of description, in the following description, “the first terminal Context information may also be considered to mean "context information mapped with the first temporary user identity."
步骤206:所述数据存储网元接收所述第一移动性管理网元发送的所述第一终端的上下文信息,所述第一终端的上下文信息中包括所述第一临时用户标识。Step 206: The data storage network element receives the context information of the first terminal that is sent by the first mobility management network element, where the context information of the first terminal includes the first temporary user identifier.
上述方法中,数据存储网元用于分配第一临时用户标识,并存储第一终端的上下文信息,这样就能实现接入网网元与移动管理性网元之间的N2接口的无粘性,即接入网网元在为第一终端选择移动管理性网元时不需要考虑第一终端之前的状态,只需要根据当前的 各个移动管理性网元的虚拟资源使用情况、支持的性能等选择一个最优的移动管理性网元来为第一终端服务。In the above method, the data storage network element is configured to allocate the first temporary user identifier, and store the context information of the first terminal, so that the N2 interface between the access network element and the mobility management network element is non-sticky. That is, the access network element does not need to consider the state before the first terminal when selecting the mobility management network element for the first terminal, and only needs to select according to the current virtual resource usage situation and supported performance of each mobile management network element. An optimal mobility management network element serves the first terminal.
步骤201之前,第一终端通过第一移动性管理网元注册到网络中,具体的注册过程,本申请对此并不限定,在此不再赘述。Before the step 201, the first terminal is registered in the network by using the first mobility management network element. The specific registration process is not limited in this application, and details are not described herein again.
第一终端通过第一移动性管理网元注册到网络中后,第一移动性管理网需要第一终端生成上下文信息,从而实现为第一终端提供数据传输等服务。After the first terminal is registered in the network by the first mobility management network element, the first mobility management network needs the first terminal to generate context information, so as to provide services such as data transmission for the first terminal.
步骤201中,第一移动性管理网元确定第一终端需要注册到网络中之后,于现有技术中直接为第一终端分配第一临时用户标识不同的是,请求数据存储网元为第一终端分配第一临时用户标识,避免第一移动性管理网元分配的第一临时用户标识发生重复。In step 201, after the first mobility management network element determines that the first terminal needs to be registered in the network, the first temporary user identifier is directly assigned to the first terminal in the prior art, and the data storage network element is requested to be the first. The terminal allocates the first temporary user identifier to prevent the first temporary user identifier allocated by the first mobility management network element from being duplicated.
步骤202中,数据存储网元可以是未来的5G系统中新增的功能实体,本申请实施例中,数据存储网元可以用于为终端分配临时用户标识,并且对于一个网络,一般只有一个数据存储网元进行分配临时用户标识,所有移动性管理网元都需要通过数据存储网元获得终端的临时用户标识。In the step 202, the data storage network element may be a new functional entity in the future 5G system. In this embodiment, the data storage network element may be used to allocate a temporary user identifier to the terminal, and generally only one data for a network. The storage network element allocates a temporary user identifier, and all the mobility management network elements need to obtain the temporary user identifier of the terminal through the data storage network element.
本申请实施例中,数据存储网元根据终端所属的公共陆地移动网络(Public Land Mobile Network,PLMN)、为终端服务的第一移动性管理网元以及数据存储网元的标识为第一终端分配可以唯一标识第一终端的第一临时用户标识。In the embodiment of the present application, the data storage network element allocates the first terminal according to the public land mobile network (PLMN) to which the terminal belongs, the first mobility management network element that serves the terminal, and the identifier of the data storage network element. The first temporary user identity of the first terminal can be uniquely identified.
本申请实施例中,第一临时用户标识可以是指TMSI,或者是指5G临时用户标识(5G Temporary User Identifier,5GTUI)等其他可以标识,本申请实施例对此并不限定,在此不再逐一举例说明。In the embodiment of the present application, the first temporary user identifier may be a TMSI, or may be a 5G Temporary User Identifier (5GTUI), and the like. Give an example one by one.
本申请实施例中,数据存储网元分配的第一临时用户标识可以有多种结构,下面分别详细描述;In the embodiment of the present application, the first temporary user identifier allocated by the data storage network element may have multiple structures, which are respectively described in detail below;
如图3所示,为本申请实施例提供的一种临时用户标识示意图。图3中,第一临时用户标识可以为5G全球唯一临时用户标识(5G-Global Unique Temporary Identity,5G-GUTI)。5G-GUTI的作用有多个,例如,5G-GUTI可以作为终端的临时用户标识,防止终端的国际移动用户身份(International Mobile Subscriber Identity,IMSI)长期暴露,以减低风险等。5G-GUTI包括5GAMF标识(5G Access and Mobility Management Function Identifier,5GAMFI)和AMF临时标识(AMF Temporary Identifier,A-TI),即<5G-GUTI>:=<5GAMFI><A-TI>,AMF临时标识可以用32个比特表示,<5GAMFI>:=<MCC><MNC><AMFGI><AMFC>。FIG. 3 is a schematic diagram of a temporary user identifier provided by an embodiment of the present application. In FIG. 3, the first temporary user identifier may be a 5G-Global Unique Temporary Identity (5G-GUTI). There are several functions of the 5G-GUTI. For example, the 5G-GUTI can be used as a temporary user identifier of the terminal to prevent long-term exposure of the terminal's International Mobile Subscriber Identity (IMSI) to reduce risks. 5G-GUTI includes 5G Access and Mobility Management Function Identifier (5GAMFI) and AMF Temporary Identifier (A-TI), ie <5G-GUTI>:=<5GAMFI><A-TI>, AMF Temporary The identifier can be represented by 32 bits, <5GAMFI>:=<MCC><MNC><AMFGI><AMFC>.
具体的,5GAMFI包括公共陆地移动网络标识(Public Land Mobile Network Identifier,PLMN ID)和AMF标识(AMFI)。PLMN ID包括12比特的移动国家码(Mobile Country Code,MCC)和8或12比特的移动网络码(Mobile Network Code,MNC)。AMFI包括16比特的AMF组标识(AMF Group Identifier,AMFGI)和8比特的AMF码(AMF Code,AMFC),其中,AMFGI也可以用数据存储网元设置的UDSF标识(UDSF Identifier,UDSFI)替换。AMFC与AMF临时标识也可以用于构成5G临时标识(5G Temporary Identifier,5G-TI),5G-TI也可以称为系统临时标识。Specifically, the 5GAMFI includes a Public Land Mobile Network Identifier (PLMN ID) and an AMF Identity (AMFI). The PLMN ID includes a 12-bit Mobile Country Code (MCC) and an 8- or 12-bit Mobile Network Code (MNC). The AMFI includes a 16-bit AMF Group Identifier (AMFGI) and an 8-bit AMF Code (AMF Code), wherein the AMFGI can also be replaced with a UDSF Identifier (UDSFI) set by the data storage network element. The AMFC and AMF temporary identifiers can also be used to form a 5G Temporary Identifier (5G-TI). The 5G-TI can also be called a system temporary identifier.
其中,第一临时用户标识中可以包括第一指示信息,第一指示信息可以为AMFI或UDSFI,所述第一指示信息用于指示所述第一终端的上下文信息是否存储于所述数据存储网元中。The first temporary user identifier may include first indication information, where the first indication information may be AMFI or UDSFI, and the first indication information is used to indicate whether context information of the first terminal is stored in the data storage network. Yuanzhong.
图3中,第一临时用户标识中只包括AMFI与UDSFI中的一个,第一临时用户标识中 只包括UDSFI时,第一移动性管理网元或数据存储网元将第一临时用户标识中的第一指示信息对应的比特位设置为UDSFI;第一临时用户标识中只包括AMFI时,第一移动性管理网元或数据存储网元将第一临时用户标识中第一指示信息对应的比特位设置为AMFI。在第一指示信息为UDSFI时,用于指示与所述第一终端的第一临时用户标识映射的上下文信息存储于所述数据存储网元中;在第一指示信息为AMFI时,用于指示与所述第一终端的第一临时用户标识映射的上下文信息未存储于所述数据存储网元中。此时,第二移动性管理网元确定第一临时用户标识中的第一指示信息为UDSFI时,就可以确定与第一临时用户标识映射的上下文信息存储于数据存储网元中;反之,第二移动性管理网元确定第一临时用户标识中的第一指示信息为AMFI时,就可以确定与第一临时用户标识映射的上下文信息未存储于数据存储网元中,而是存储与第一移动性管理网元中。In FIG. 3, the first temporary user identifier includes only one of the AMFI and the UDSFI. When the first temporary user identifier includes only the UDSFI, the first mobility management network element or the data storage network element is in the first temporary user identifier. The bit corresponding to the first indication information is set to UDSFI; when the first temporary user identifier includes only the AMFI, the first mobility management network element or the data storage network element sets the bit corresponding to the first indication information in the first temporary user identifier. Set to AMFI. When the first indication information is the UDSFI, the context information used to indicate the first temporary user identifier mapping with the first terminal is stored in the data storage network element; when the first indication information is AMFI, it is used to indicate Context information mapped with the first temporary user identifier of the first terminal is not stored in the data storage network element. At this time, when the second mobility management network element determines that the first indication information in the first temporary user identifier is UDSFI, it may be determined that the context information mapped with the first temporary user identifier is stored in the data storage network element; When the mobility management network element determines that the first indication information in the first temporary user identifier is AMFI, it may be determined that the context information mapped with the first temporary user identifier is not stored in the data storage network element, but is stored in the first In the mobility management network element.
需要说明的是,图3中,第一临时用户标识中所包括的每个标识的含义可以参考现有文献中的定义,在此不再赘述。It should be noted that, in FIG. 3, the meaning of each identifier included in the first temporary user identifier may be referred to the definition in the existing literature, and details are not described herein again.
需要说明的是,现有技术中<5G-GUTI>:=<GUAMI><5G-TMSI>It should be noted that in the prior art, <5G-GUTI>:=<GUAMI><5G-TMSI>
其中,<GUAMI>:=<MCC><MNC><AMF Region ID><AMF Set ID><AMF Pointer>;,<5G-S-TMSI>:=<AMF Set ID><AMF Pointer><5G-TMSI>。AMF区域标识(AMF Region ID)、AMF集合标识(AMF Set ID)以及AMF指针(AMF Pointer)的具体内容,可以现有技术中中的描述,在此不再赘述。本申请实施例中,5GAMFI对应于现有技术中的GUAMI,A-TI对应于5G-TMSI;5GAMFI中的MCC、MNC分别对应于GUAMI中的MCC、MNC;5GAMFI中的AMFGI对应于GUAMI中的AMF Region ID和AMF Set ID,或者对应于UDSFI,即<AMFGI>:=<AMF Region ID><AMF Set ID>:=<DSFI>;5GAMFI中的AMFC对应于GUAMI中的AMF Pointer,即<AMFC>:=<AMF Pointer>。Where <GUAMI>:=<MCC><MNC><AMF Region ID><AMF Set ID><AMF Pointer>;,<5G-S-TMSI>:=<AMF Set ID><AMF Pointer><5G- TMSI>. The specific content of the AMF Region ID, the AMF Set ID, and the AMF Pointer can be described in the prior art and will not be described here. In the embodiment of the present application, 5GAMFI corresponds to GUAMI in the prior art, A-TI corresponds to 5G-TMSI; MCC and MNC in 5GAMFI correspond to MCC and MNC in GUAMI respectively; AMFGI in 5GAMFI corresponds to in GUAMI AMF Region ID and AMF Set ID, or corresponding to UDSFI, ie <AMFGI>:=<AMF Region ID><AMF Set ID>:=<DSFI>; AMFC in 5GAMFI corresponds to AMF Pointer in GUAMI, ie <AMFC >:=<AMF Pointer>.
结合图3,本申请实施例中,第一临时用户标识中可以同时包括AMFI和UDSFI,具体可以参考图4所示。图4中,第一临时用户标识可以为5G-GUTI,5G-GUTI包括5GAMFI、UDSFI和A-TI,即<5G-GUTI>:=<5GAMFI><UDSFI><A-TI>,其中,<5GAMFI>:=<MCC><MNC><AMFGI><AMFC>。上述标识的具体内容可以参考前面的描述,在此不再赘述。With reference to FIG. 3, in the embodiment of the present application, the first temporary user identifier may include both AMFI and UDSFI, and may be specifically referred to FIG. In FIG. 4, the first temporary user identifier may be 5G-GUTI, and the 5G-GUTI includes 5GAMFI, UDSFI, and A-TI, that is, <5G-GUTI>:=<5GAMFI><UDSFI><A-TI>, where < 5GAMFI>:=<MCC><MNC><AMFGI><AMFC>. For details of the foregoing, refer to the foregoing description, and details are not described herein again.
图4中,第一临时用户标识中的第一指示信息可以为UDSFI,第一指示信息指示与第一临时用户标识映射的上下文信息存储于数据存储网元中时,第一移动性管理网元或数据存储网元将第一临时用户标识中的第一指示信息对应的比特位设置为UDSFI;第一指示信息指示与第一临时用户标识映射的上下文信息不存储于数据存储网元中时,第一移动性管理网元或数据存储网元将第一临时用户标识中的第一指示信息对应的比特位设置为默认值。此时,第二移动性管理网元确定第一临时用户标识中的UDSFI为默认值时,就可以确定与第一临时用户标识映射的上下文信息不存储于数据存储网元中;反之,第二移动性管理网元确定第一临时用户标识中的UDSFI不为默认值时,就可以确定与第一临时用户标识映射的上下文信息存储于数据存储网元中。In FIG. 4, the first indication information in the first temporary user identifier may be UDSFI, and the first indication information indicates that the first mobility management network element is used when the context information mapped with the first temporary user identifier is stored in the data storage network element. Or the data storage network element sets the bit corresponding to the first indication information in the first temporary user identifier to the UDSFI; the first indication information indicates that the context information mapped with the first temporary user identifier is not stored in the data storage network element, The first mobility management network element or the data storage network element sets a bit corresponding to the first indication information in the first temporary user identifier to a default value. At this time, when the second mobility management network element determines that the UDSFI in the first temporary user identifier is a default value, it may be determined that the context information mapped with the first temporary user identifier is not stored in the data storage network element; When the mobility management network element determines that the UDSFI in the first temporary user identifier is not the default value, it may be determined that the context information mapped with the first temporary user identifier is stored in the data storage network element.
当然,第一指示信息可以为一个单独的信息存在于第一临时用户标识中,此时第一临时用户标识还可以有其他形式,例如第一临时用户标识包括PLMN ID、第一指示信息、UDSFI、AMFI、和A-TI;或者第一临时用户标识包括PLMN ID、第一指示信息、AMFI、和A-TI。Of course, the first indication information may be a single information in the first temporary user identifier, and the first temporary user identifier may also have other forms, for example, the first temporary user identifier includes the PLMN ID, the first indication information, and the UDSFI. , AMFI, and A-TI; or the first temporary user identity includes a PLMN ID, first indication information, AMFI, and A-TI.
本申请实施例中,第一指示信息可以为数据存储网元在为第一终端分配第一临时用户 标识的同时,在第一临时用户标识中设置的,当然数据存储网元在为第一终端分配第一临时用户标识的同时,也可以不对第一临时用户标识中对应于第一指示信息的比特位进行设置,由第一移动性管理网元进行设置第一指示信息。In the embodiment of the present application, the first indication information may be set by the data storage network element in the first temporary user identifier while the first temporary user identifier is allocated to the first terminal, and of course, the data storage network element is the first terminal. While the first temporary user identifier is allocated, the bit corresponding to the first indication information in the first temporary user identifier may not be set, and the first indication information is set by the first mobility management network element.
在步骤203中,数据存储网元将生成的第一临时用户标识发送给第一移动性管理网元。In step 203, the data storage network element sends the generated first temporary user identifier to the first mobility management network element.
在步骤204中,第一移动性管理网元接收到第一临时用户标识之后,若确定数据存储网元未在第一临时用户标识中设置第一指示信息,则在第一临时用户标识中设置第一指示信息。In step 204, after the first mobility management network element receives the first temporary user identifier, if it is determined that the data storage network element does not set the first indication information in the first temporary user identifier, the first temporary user identifier is set in the first temporary user identifier. First indication information.
在步骤205中,第一移动性管理网元生成的第一终端的上下文信息中包括第一临时用户标识,因此第一临时用户标识可以用于唯一指示第一终端的上下文信息。In step 205, the first temporary user identifier is included in the context information of the first terminal generated by the first mobility management network element, so the first temporary user identifier can be used to uniquely indicate the context information of the first terminal.
第一移动性管理网元接收到第一临时用户标识请求响应消息之后,还可以向第一终端发送包括所述第一临时用户标识的注册响应消息,从而实现通知第一终端注册成功。随后接收第一终端返回的注册确认消息,完成第一终端在网络中的注册。After receiving the first temporary user identification request response message, the first mobility management network element may further send a registration response message including the first temporary user identifier to the first terminal, so as to notify the first terminal that the registration is successful. Then, the registration confirmation message returned by the first terminal is received, and the registration of the first terminal in the network is completed.
第一移动性管理网元生成的第一终端的上下文信息之后,可以向数据存储网元发送所述第一终端的上下文信息。例如,第一移动性管理网元确定第一终端从连接态转到空闲(idle)态时,或者,第一移动性管理网元确定不再为第一终端服务时,确定不需要在保存第一终端的上下文信息,从而可以向数据存储网元发送所述第一终端的上下文信息。After the context information of the first terminal generated by the first mobility management network element, the context information of the first terminal may be sent to the data storage network element. For example, when the first mobility management network element determines that the first terminal changes from the connected state to the idle state, or the first mobility management network element determines that the first terminal is no longer served, it is determined that the first terminal does not need to be saved. Context information of a terminal, so that the context information of the first terminal can be sent to the data storage network element.
在步骤206中,数据存储网元接收第一终端的上下文信息之后,保存第一终端的上下文信息。In step 206, after receiving the context information of the first terminal, the data storage network element saves the context information of the first terminal.
第一终端从空闲态进入连接态之后,所述第一终端若根据所述第一指示信息确定与所述第一临时用户标识映射的上下文信息不存储于所述数据存储网元中,则向接入网网元发送包括所述系统临时标识的无线资源控制(Radio Resource Control,RRC)请求消息,RRC请求消息用于请求接入网网元为所述第一终端选择为其服务的移动性管理网元,其中系统临时标识可以为5G-TI。所述第一终端若根据所述第一指示信息确定与所述第一临时用户标识映射的上下文信息存储于所述数据存储网元中,则向接入网网元发送不包括所述系统临时标识的RRC请求消息。After the first terminal enters the connected state from the idle state, the first terminal determines, according to the first indication information, that the context information mapped with the first temporary user identifier is not stored in the data storage network element, The access network element sends a Radio Resource Control (RRC) request message including the temporary identifier of the system, and the RRC request message is used to request the access network element to select the mobility for the first terminal to serve. Management network element, where the system temporary identifier can be 5G-TI. If the first terminal determines that the context information mapped with the first temporary user identifier is stored in the data storage network element according to the first indication information, sending, by the first network terminal, the network information to the access network element does not include the system temporary The identified RRC request message.
接入网网元向第一终端发送RRC请求响应消息,所述RRC请求响应消息用于指示为第一终端服务的移动性管理网元由第一移动性管理网元切换为第二移动性管理网元。接入网网元在确定第二移动性管理网元为第一终端服务之后,将第一终端的第一临时用户标识发送给第二移动性管理网元。The access network element sends an RRC request response message to the first terminal, where the RRC request response message is used to indicate that the mobility management network element serving the first terminal is switched from the first mobility management network element to the second mobility management. Network element. After determining that the second mobility management network element is serving the first terminal, the access network element sends the first temporary user identifier of the first terminal to the second mobility management network element.
为第一终端服务的移动性管理网元由第一移动性管理网元切换为第二移动性管理网元之后,第二移动性管理网元在为第一终端服务之前,需要获取第一终端的上下文信息。此时,第二移动性管理网元根据第一临时用户标识中的第一指示信息确定与所述第一临时用户标识映射的上下文信息存储于所述数据存储网元中之后,向数据存储网元发送上下文信息请求消息,上下文信息请求消息用于请求所述第一终端的上下文信息。After the mobility management network element serving the first terminal is switched from the first mobility management network element to the second mobility management network element, the second mobility management network element needs to obtain the first terminal before serving the first terminal. Contextual information. At this time, the second mobility management network element determines, according to the first indication information in the first temporary user identifier, that the context information mapped with the first temporary user identifier is stored in the data storage network element, and then goes to the data storage network. The meta sends a context information request message, and the context information request message is used to request context information of the first terminal.
数据存储网元接收第二移动性管理网元发送的包括所述第一终端的第一临时用户标识的上下文信息请求消息之后,可以根据第一临时用户标识在其所存储的所有上下文信息中进行索引,确定出与第一临时用户标识映射的上下文信息,从而将与第一终端的第一临时用户标识映射的上下文信息发送给所述第二移动性管理网元。After receiving the context information request message that is sent by the second mobility management network element and including the first temporary user identifier of the first terminal, the data storage network element may perform, according to the first temporary user identifier, all the context information stored in the first temporary user identifier. The index determines the context information mapped with the first temporary user identifier, so that the context information mapped with the first temporary user identifier of the first terminal is sent to the second mobility management network element.
相应的,第二移动性管理网元根据第一临时用户标识中的第一指示信息确定与所述第一临时用户标识映射的上下文信息存储于第一移动性管理网元中之后,向第一移动性管理 网元发送上下文信息请求消息,第一移动性管理网元从而将第一终端的上下文信息发送给所述第二移动性管理网元。Correspondingly, the second mobility management network element determines, according to the first indication information in the first temporary user identifier, that the context information mapped with the first temporary user identifier is stored in the first mobility management network element, and is first The mobility management network element sends a context information request message, and the first mobility management network element sends the context information of the first terminal to the second mobility management network element.
举例来说,第一临时用户标识为5GTUI,第二移动性管理网元根据第一临时用户标识中的第一指示信息确定与第一临时用户标识映射的上下文信息存储于数据存储网元中之后,从第一临时用户标识中获取UDSFI,从而根据UDSFI确定数据存储网元,从而向数据存储网元请求第一终端的上下文信息;第二移动性管理网元根据第一临时用户标识中的第一指示信息确定与所述第一临时用户标识映射的上下文信息不存储于数据存储网元中之后,从第一临时用户标识中获取5GAMFI,从而根据5GAMFI确定第一移动性管理网元,从而向第一移动性管理网元请求第一终端的上下文信息For example, the first temporary user identifier is 5GTUI, and the second mobility management network element determines, according to the first indication information in the first temporary user identifier, that the context information mapped with the first temporary user identifier is stored in the data storage network element. Obtaining the UDSFI from the first temporary user identifier, thereby determining the data storage network element according to the UDSFI, thereby requesting the data storage network element for the context information of the first terminal; and the second mobility management network element according to the first temporary user identifier After the indication information determines that the context information mapped with the first temporary user identifier is not stored in the data storage network element, acquiring 5GAMFI from the first temporary user identifier, thereby determining the first mobility management network element according to the 5GAMFI, thereby The first mobility management network element requests context information of the first terminal
本申请实施例中,第一移动性管理网元还可以接收接入网网元发送的第二终端的第二临时用户标识;所述第二临时用户标识为所述第二终端由第二移动性管理网元切换到所述第一移动性管理网元之前,由所述数据存储网元为所述第二终端分配的。In the embodiment of the present application, the first mobility management network element may further receive the second temporary user identifier of the second terminal that is sent by the access network element, and the second temporary user identifier is that the second terminal is moved by the second Before the first management network element is switched to the first mobility management network element, the data storage network element is allocated by the data storage network element.
第二临时用户标识中包括第二指示信息,所述第二指示信息用于指示所述第二终端的上下文信息是否存储于所述数据存储网元中;第二临时用户标识的具体结构可以参考第一临时用户标识中的描述,在此不再赘述。The second temporary user identifier includes second indication information, where the second indication information is used to indicate whether the context information of the second terminal is stored in the data storage network element; The description in the first temporary user identifier is not described here.
所述第一移动性管理网元若根据所述第二指示信息确定所述第二终端的上下文信息存储于所述数据存储网元中,则向所述数据存储网元请求所述第二终端的上下文信息。相应的,所述第一移动性管理网元若根据所述第二指示信息确定所述第二终端的上下文信息未存储于所述数据存储网元中,则向所述第二移动性管理网元请求所述第二终端的上下文信息。If the first mobility management network element determines that the context information of the second terminal is stored in the data storage network element according to the second indication information, requesting, by the data storage network element, the second terminal Contextual information. Correspondingly, if the first mobility management network element determines that the context information of the second terminal is not stored in the data storage network element according to the second indication information, then the second mobility management network element is sent to the second mobility management network. The element requests context information of the second terminal.
如图5所示,为本申请实施例提供的一种上下文信息管理示意图。图5中,第一临时用户标识为5GTUI,第一临时用户标识中包括第一指示信息以及系统临时标识。As shown in FIG. 5, it is a schematic diagram of context information management provided by an embodiment of the present application. In FIG. 5, the first temporary user identifier is 5GTUI, and the first temporary user identifier includes first indication information and a system temporary identifier.
步骤501:第一终端注册流程。Step 501: The first terminal registration process.
该流程的具体内容可以参考现有技术,在此不再赘述。The specific content of the process can refer to the prior art, and details are not described herein again.
步骤502:第一移动性管理网元向数据存储网元发送第一临时用户标识请求消息。Step 502: The first mobility management network element sends a first temporary user identity request message to the data storage network element.
该消息用于请求为第一终端分配第一临时用户标识。The message is used to request that the first temporary user identifier be assigned to the first terminal.
步骤503:数据存储网元为第一终端分配唯一指示第一终端的第一临时用户标识。Step 503: The data storage network element allocates, to the first terminal, a first temporary user identifier that uniquely indicates the first terminal.
步骤504:数据存储网元向第一移动性管理网元发送第一临时用户标识请求响应消息。Step 504: The data storage network element sends a first temporary user identification request response message to the first mobility management network element.
第一临时用户标识请求响应消息中包括为第一终端分配的第一临时用户标识。The first temporary user identification request response message includes a first temporary user identifier allocated for the first terminal.
步骤505:第一移动性管理网元在第一临时用户标识中设置第一指示信息,并生成第一终端的上下文信息。第一终端的上下文信息中包括所述第一临时用户标识。Step 505: The first mobility management network element sets the first indication information in the first temporary user identifier, and generates context information of the first terminal. The first temporary user identifier is included in the context information of the first terminal.
第一指示信息可以用于判断第一终端所接入的网络是否具有粘性。第一指示信息指示与第一临时用户标识映射的上下文信息存储于所述数据存储网元中时,第一终端所接入的网络不具有粘性;反之,第一指示信息指示与第一临时用户标识映射的上下文信息不存储于所述数据存储网元中时,第一终端所接入的网络具有粘性。The first indication information may be used to determine whether the network accessed by the first terminal is sticky. When the first indication information indicates that the context information mapped with the first temporary user identifier is stored in the data storage network element, the network accessed by the first terminal is not sticky; otherwise, the first indication information indicates the first temporary user. When the context information of the identifier mapping is not stored in the data storage network element, the network accessed by the first terminal is sticky.
步骤506:第一移动性管理网元向第一终端发送包括所述第一临时用户标识的注册响应消息。Step 506: The first mobility management network element sends a registration response message including the first temporary user identifier to the first terminal.
步骤507:第一终端向第一移动性管理网元发送注册确认消息。Step 507: The first terminal sends a registration confirmation message to the first mobility management network element.
此时,第一终端转为连接态。At this time, the first terminal is switched to the connected state.
步骤508:第一终端从连接态转到空闲态,第一移动性管理网元向数据存储网元发送 第一终端的上下文信息。Step 508: The first terminal transits from the connected state to the idle state, and the first mobility management network element sends the context information of the first terminal to the data storage network element.
步骤509:第一终端从空闲态转到连接态后,根据第一指示信息确定与第一临时用户标识映射的上下文信息存储于数据存储网元中,则向接入网网元发送不包括所述第一临时用户标识中的系统临时标识的RRC请求消息。所述RRC请求消息用于请求接入网网元为所述第一终端选择为其服务的移动性管理网元。Step 509: After the first terminal is changed from the idle state to the connected state, the first terminal information is determined to be stored in the data storage network element according to the first indication information, and the non-included information is sent to the access network element. The RRC request message of the system temporary identifier in the first temporary user identifier. The RRC request message is used to request the access network element to select a mobility management network element for the first terminal to serve.
步骤510:接入网网元确定第二移动性管理网元为第一终端服务,并向第一终端发送RRC请求响应消息,所述RRC请求响应消息用于指示为第一终端服务的移动性管理网元由第一移动性管理网元切换为第二移动性管理网元。Step 510: The access network element determines that the second mobility management network element is serving the first terminal, and sends an RRC request response message to the first terminal, where the RRC request response message is used to indicate the mobility of serving the first terminal. The management network element is switched by the first mobility management network element to the second mobility management network element.
步骤511:接入网网元将第一临时用户标识发送给第二移动性管理网元。Step 511: The access network element sends the first temporary user identifier to the second mobility management network element.
步骤512:第二移动性管理网元根据第一临时用户标识中的第一指示信息确定第一终端的上下文信息存储于所述数据存储网元中之后,向数据存储网元发送上下文信息请求消息,上下文信息请求消息用于请求所述第一终端的上下文信息。Step 512: The second mobility management network element determines, according to the first indication information in the first temporary user identifier, that the context information of the first terminal is stored in the data storage network element, and then sends a context information request message to the data storage network element. The context information request message is used to request context information of the first terminal.
需要说明的是,若第二移动性管理网元根据第一临时用户标识中的第一指示信息确定第一终端的上下文信息不存储于所述数据存储网元中之后,向第一移动性管理网元发送上下文信息请求消息。It should be noted that, if the second mobility management network element determines, according to the first indication information in the first temporary user identifier, that the context information of the first terminal is not stored in the data storage network element, the first mobility management is performed. The network element sends a context information request message.
步骤513:数据存储网元向第二移动性管理网元发送第一终端的上下文信息。Step 513: The data storage network element sends the context information of the first terminal to the second mobility management network element.
如图6所示,为本申请实施例提供的一种上下文信息管理装置。As shown in FIG. 6, a context information management apparatus provided by an embodiment of the present application.
参见图6,该装置600包括:Referring to Figure 6, the apparatus 600 includes:
接收单元601,用于接收第一移动性管理网元发送的第一临时用户标识请求消息,所述第一临时用户标识请求消息用于请求为第一终端分配第一临时用户标识;The receiving unit 601 is configured to receive a first temporary user identifier request message sent by the first mobility management network element, where the first temporary user identifier request message is used to request to allocate a first temporary user identifier to the first terminal.
发送单元602,用于向所述第一移动性管理网元发送第一临时用户标识请求响应消息,所述第一临时用户标识请求响应消息中包括所述数据存储网元为所述第一终端分配的第一临时用户标识;The sending unit 602 is configured to send a first temporary user identifier request response message to the first mobility management network element, where the first temporary user identifier request response message includes the data storage network element as the first terminal The first temporary user ID assigned;
所述接收单元601,用于接收所述第一移动性管理网元发送的所述第一终端的上下文信息,所述第一终端的上下文信息中包括所述第一临时用户标识。The receiving unit 601 is configured to receive the context information of the first terminal that is sent by the first mobility management network element, where the context information of the first terminal includes the first temporary user identifier.
可选的,所述第一临时用户标识中包括第一指示信息,所述第一指示信息用于指示所述第一终端的上下文信息是否存储于所述数据存储网元中。Optionally, the first temporary user identifier includes first indication information, where the first indication information is used to indicate whether context information of the first terminal is stored in the data storage network element.
可选的,所述接收单元601还用于,接收第二移动性管理网元发送的包括所述第一终端的第一临时用户标识的上下文信息请求消息,所述上下文信息请求消息用于请求所述第一终端的上下文信息;所述第二移动性管理网元是为所述第一终端服务的移动性管理网元;Optionally, the receiving unit 601 is further configured to receive, by the second mobility management network element, a context information request message that includes the first temporary user identifier of the first terminal, where the context information request message is used to request Context information of the first terminal; the second mobility management network element is a mobility management network element serving the first terminal;
所述发送单元602还用于,将所述第一终端的上下文信息发送给所述第二移动性管理网元。The sending unit 602 is further configured to send the context information of the first terminal to the second mobility management network element.
可选的,所述上下文信息请求消息为所述第二移动性管理网元根据所述第一指示信息确定所述第一终端的上下文信息存储于所述数据存储网元中之后发送的。Optionally, the context information request message is sent by the second mobility management network element after determining that the context information of the first terminal is stored in the data storage network element according to the first indication information.
如图7所示,为本申请实施例提供的一种上下文信息管理装置。As shown in FIG. 7, a context information management apparatus provided in an embodiment of the present application.
参见图7,该装置700包括:Referring to Figure 7, the apparatus 700 includes:
收发单元701,用于向数据存储网元发送第一临时用户标识请求消息,所述第一临时用户标识请求消息用于请求所述数据存储网元为第一终端分配第一临时用户标识;接收所述数据存储网元发送的第一临时用户标识请求响应消息,所述第一临时用户标识请求响应消息中包括所述第一临时用户标识;The transceiver unit 701 is configured to send a first temporary user identification request message to the data storage network element, where the first temporary user identification request message is used to request the data storage network element to allocate a first temporary user identifier to the first terminal; The first temporary user identification request response message sent by the data storage network element, where the first temporary user identification request response message includes the first temporary user identifier;
处理单元702,用于生成包括所述第一临时用户标识的所述第一终端的上下文信息;The processing unit 702 is configured to generate context information of the first terminal that includes the first temporary user identifier.
所述收发单元701,用于向所述数据存储网元发送所述第一终端的上下文信息。The transceiver unit 701 is configured to send context information of the first terminal to the data storage network element.
可选的,所述第一临时用户标识中包括第一指示信息,所述第一指示信息用于指示所述第一终端的上下文信息是否存储于所述数据存储网元中。Optionally, the first temporary user identifier includes first indication information, where the first indication information is used to indicate whether context information of the first terminal is stored in the data storage network element.
可选的,所述收发单元701向所述数据存储网元发送所述第一终端的上下文信息之前,所述处理单元702还用于:Optionally, before the sending and receiving unit 701 sends the context information of the first terminal to the data storage network element, the processing unit 702 is further configured to:
确定所述第一终端处于空闲状态;Determining that the first terminal is in an idle state;
或者,确定不再为所述第一终端服务。Or, it is determined that the first terminal is no longer served.
可选的,所述收发单元701还用于:Optionally, the transceiver unit 701 is further configured to:
接收接入网网元发送的第二终端的第二临时用户标识;所述第二临时用户标识为所述第二终端由第二移动性管理网元切换到所述第一移动性管理网元之前,由所述数据存储网元为所述第二终端分配的;所述第二临时用户标识中包括第二指示信息,所述第二指示信息用于指示与所述第二终端的上下文信息是否存储于所述数据存储网元中;Receiving a second temporary user identifier of the second terminal that is sent by the network element of the access network; the second temporary user identifier is that the second terminal is switched by the second mobility management network element to the first mobility management network element The second temporary user identifier is included in the second temporary user identifier, and the second indication information is used to indicate context information with the second terminal. Whether it is stored in the data storage network element;
所述处理单元702还用于,若根据所述第二指示信息确定所述第二终端的上下文信息存储于所述数据存储网元中,则通过所述收发单元向所述数据存储网元请求所述第二终端的上下文信息。The processing unit 702 is further configured to: if it is determined that the context information of the second terminal is stored in the data storage network element according to the second indication information, requesting, by the transceiver unit, the data storage network element Context information of the second terminal.
可选的,所述处理单元702还用于:Optionally, the processing unit 702 is further configured to:
若根据所述第二指示信息确定所述第二终端的上下文信息未存储于所述数据存储网元中,则通过所述收发单元向所述第二移动性管理网元请求所述第二终端的上下文信息。Determining, by the transceiver unit, the second terminal by using the transceiver unit to the second mobility management network element, if it is determined that the context information of the second terminal is not stored in the data storage network element according to the second indication information. Contextual information.
如图8所示,为本申请实施例提供的一种上下文信息管理装置。As shown in FIG. 8, a context information management apparatus provided in an embodiment of the present application.
参见图8,该装置800包括:Referring to Figure 8, the apparatus 800 includes:
收发单元801,用于从第一移动性管理网元获取第一终端的第一临时用户标识;所述第一临时用户标识中包括第一指示信息以及系统临时标识,所述第一指示信息用于指示所述第一终端的上下文信息是否存储于数据存储网元中;The transceiver unit 801 is configured to acquire a first temporary user identifier of the first terminal from the first mobility management network element, where the first temporary user identifier includes first indication information and a system temporary identifier, where the first indication information is used by And indicating whether the context information of the first terminal is stored in the data storage network element;
处理单元802,用于在所述第一终端从空闲态进入连接态之后,若根据所述第一指示信息确定与所述第一临时用户标识映射的上下文信息不存储于所述数据存储网元中,则通过所述收发单元向接入网网元发送所述系统临时标识。The processing unit 802 is configured to determine, after the first terminal enters the connected state from the idle state, that the context information mapped with the first temporary user identifier is not stored in the data storage network element according to the first indication information. Transmitting, by the transceiver unit, the system temporary identifier to the access network element.
如图9所示,为本申请实施例提供的一种上下文信息管理装置。As shown in FIG. 9, a context information management apparatus provided in an embodiment of the present application.
参见图9,该装置900包括:处理器901、收发机902、存储器903和通信接口904;其中,处理器901、收发机902、存储器903和通信接口904通过总线905相互连接。Referring to FIG. 9, the apparatus 900 includes a processor 901, a transceiver 902, a memory 903, and a communication interface 904; wherein the processor 901, the transceiver 902, the memory 903, and the communication interface 904 are connected to one another via a bus 905.
处理器901可以是中央处理器(central processing unit,CPU),网络处理器(network processor,NP)或者CPU和NP的组合。处理器901还可以进一步包括硬件芯片。上述硬件芯片可以是专用集成电路(application-specific integrated circuit,ASIC),可编程逻辑器件(programmable logic device,PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(complex programmable logic device,CPLD),现场可编程逻辑门阵列(field-programmable gate array,FPGA),通用阵列逻辑(generic array logic,GAL)或其任意组合。The processor 901 may be a central processing unit (CPU), a network processor (NP), or a combination of a CPU and an NP. The processor 901 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a general array logic (GAL), or any combination thereof.
存储器903可以包括易失性存储器(volatile memory),例如随机存取存储器(random-access memory,RAM);存储器也可以包括非易失性存储器(non-volatile memory),例如快闪存储器(flash memory),硬盘(hard disk drive,HDD)或固态硬盘(solid-state drive,SSD);存储器903还可以包括上述种类的存储器的组合。The memory 903 may include a volatile memory such as a random-access memory (RAM); the memory may also include a non-volatile memory such as a flash memory. A hard disk drive (HDD) or a solid-state drive (SSD); the memory 903 may also include a combination of the above types of memories.
通信接口904可以为有线通信接入口,无线通信接口或其组合,其中,有线通信接口例如可以为以太网接口。以太网接口可以是光接口,电接口或其组合。无线通信接口可以为WLAN接口。The communication interface 904 can be a wired communication access port, a wireless communication interface, or a combination thereof, wherein the wired communication interface can be, for example, an Ethernet interface. The Ethernet interface can be an optical interface, an electrical interface, or a combination thereof. The wireless communication interface can be a WLAN interface.
总线905可以是外设部件互连标准(peripheral component interconnect,PCI)总线或扩展工业标准结构(extended industry standard architecture,EISA)总线等。总线可以分为地址总线、数据总线、控制总线等。为便于表示,图8中仅用一条双向箭头表示,但并不表示仅有一根总线或一种类型的总线。The bus 905 can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one double-headed arrow is shown in Figure 8, but it does not mean that there is only one bus or one type of bus.
存储器903可以用于存储程序指令,处理器901调用该存储器903中存储的程序指令执行:The memory 903 can be used to store program instructions, and the processor 901 calls the program instructions stored in the memory 903 to execute:
通过收发机902,接收第一移动性管理网元发送的第一临时用户标识请求消息,所述第一临时用户标识请求消息用于请求为第一终端分配第一临时用户标识;向所述第一移动性管理网元发送第一临时用户标识请求响应消息,所述第一临时用户标识请求响应消息中包括所述数据存储网元为所述第一终端分配的第一临时用户标识;接收所述第一移动性管理网元发送的所述第一终端的上下文信息,所述第一终端的上下文信息中包括所述第一临时用户标识。Receiving, by the transceiver 902, a first temporary user identification request message sent by the first mobility management network element, where the first temporary user identification request message is used to request to allocate a first temporary user identifier to the first terminal; a mobility management network element sends a first temporary user identification request response message, where the first temporary user identification request response message includes a first temporary user identifier that is allocated by the data storage network element to the first terminal; The context information of the first terminal that is sent by the first mobility management network element, where the context information of the first terminal includes the first temporary user identifier.
可选的,所述第一临时用户标识中包括第一指示信息,所述第一指示信息用于指示所述第一终端的上下文信息是否存储于所述数据存储网元中。Optionally, the first temporary user identifier includes first indication information, where the first indication information is used to indicate whether context information of the first terminal is stored in the data storage network element.
可选的,所述收发机902还用于,接收第二移动性管理网元发送的包括所述第一终端的第一临时用户标识的上下文信息请求消息,所述上下文信息请求消息用于请求所述第一终端的上下文信息;所述第二移动性管理网元是为所述第一终端服务的移动性管理网元;Optionally, the transceiver 902 is further configured to receive, by the second mobility management network element, a context information request message that includes the first temporary user identifier of the first terminal, where the context information request message is used to request Context information of the first terminal; the second mobility management network element is a mobility management network element serving the first terminal;
将所述第一终端的上下文信息发送给所述第二移动性管理网元。Sending the context information of the first terminal to the second mobility management network element.
可选的,所述上下文信息请求消息为所述第二移动性管理网元根据所述第一指示信息确定所述第一终端的上下文信息存储于所述数据存储网元中之后发送的。Optionally, the context information request message is sent by the second mobility management network element after determining that the context information of the first terminal is stored in the data storage network element according to the first indication information.
如图10所示,为本申请实施例提供的一种上下文信息管理装置。As shown in FIG. 10, it is a context information management apparatus provided by an embodiment of the present application.
参见图10,该装置1000包括:处理器1001、收发机1002、存储器1003和通信接口1004;其中,处理器1001、收发机1002、存储器1003和通信接口1004通过总线1005相互连接。上述模块的具体内容可以参考图9中相关模块的描述,在此不再赘述。Referring to FIG. 10, the apparatus 1000 includes a processor 1001, a transceiver 1002, a memory 1003, and a communication interface 1004. The processor 1001, the transceiver 1002, the memory 1003, and the communication interface 1004 are connected to each other through a bus 1005. For details of the foregoing modules, refer to the description of related modules in Figure 9, and details are not described herein.
收发机1002,用于向数据存储网元发送第一临时用户标识请求消息,所述第一临时用户标识请求消息用于请求所述数据存储网元为第一终端分配第一临时用户标识;接收所述数据存储网元发送的第一临时用户标识请求响应消息,所述第一临时用户标识请求响应消息中包括所述第一临时用户标识;The transceiver 1002 is configured to send a first temporary user identification request message to the data storage network element, where the first temporary user identification request message is used to request the data storage network element to allocate a first temporary user identifier to the first terminal; The first temporary user identification request response message sent by the data storage network element, where the first temporary user identification request response message includes the first temporary user identifier;
处理器1001,用于生成包括所述第一临时用户标识的所述第一终端的上下文信息;The processor 1001 is configured to generate context information of the first terminal that includes the first temporary user identifier.
所述收发机1002,用于向所述数据存储网元发送所述第一终端的上下文信息。The transceiver 1002 is configured to send context information of the first terminal to the data storage network element.
可选的,所述第一临时用户标识中包括第一指示信息,所述第一指示信息用于指示所述第一终端的上下文信息是否存储于所述数据存储网元中。Optionally, the first temporary user identifier includes first indication information, where the first indication information is used to indicate whether context information of the first terminal is stored in the data storage network element.
可选的,所述收发机1002向所述数据存储网元发送所述第一终端的上下文信息之前,所述处理器1001还用于:Optionally, before the transceiver 1002 sends the context information of the first terminal to the data storage network element, the processor 1001 is further configured to:
确定所述第一终端处于空闲状态;Determining that the first terminal is in an idle state;
或者,确定不再为所述第一终端服务。Or, it is determined that the first terminal is no longer served.
可选的,所述收发机1002还用于:Optionally, the transceiver 1002 is further configured to:
接收接入网网元发送的第二终端的第二临时用户标识;所述第二临时用户标识为所述第二终端由第二移动性管理网元切换到所述第一移动性管理网元之前,由所述数据存储网元为所述第二终端分配的;所述第二临时用户标识中包括第二指示信息,所述第二指示信息用于指示与所述第二终端的上下文信息是否存储于所述数据存储网元中;Receiving a second temporary user identifier of the second terminal that is sent by the network element of the access network; the second temporary user identifier is that the second terminal is switched by the second mobility management network element to the first mobility management network element The second temporary user identifier is included in the second temporary user identifier, and the second indication information is used to indicate context information with the second terminal. Whether it is stored in the data storage network element;
所述处理器1001还用于,若根据所述第二指示信息确定所述第二终端的上下文信息存储于所述数据存储网元中,则通过所述收发机向所述数据存储网元请求所述第二终端的上下文信息。The processor 1001 is further configured to: if it is determined that the context information of the second terminal is stored in the data storage network element according to the second indication information, requesting, by the transceiver, the data storage network element Context information of the second terminal.
可选的,所述处理器1001还用于:Optionally, the processor 1001 is further configured to:
若根据所述第二指示信息确定所述第二终端的上下文信息未存储于所述数据存储网元中,则通过所述收发机向所述第二移动性管理网元请求所述第二终端的上下文信息。If it is determined that the context information of the second terminal is not stored in the data storage network element according to the second indication information, requesting, by the transceiver, the second terminal to the second mobility management network element Contextual information.
如图11所示,为本申请实施例提供的一种上下文信息管理装置。As shown in FIG. 11, a context information management apparatus provided in an embodiment of the present application.
参见图11,该装置1100包括:处理器1101、收发机1102、存储器1103和通信接口1104;其中,处理器1101、收发机1102、存储器1103和通信接口1104通过总线1105相互连接。上述模块的具体内容可以参考图9中相关模块的描述,在此不再赘述。Referring to FIG. 11, the apparatus 1100 includes a processor 1101, a transceiver 1102, a memory 1103, and a communication interface 1104; wherein the processor 1101, the transceiver 1102, the memory 1103, and the communication interface 1104 are connected to each other through a bus 1105. For details of the foregoing modules, refer to the description of related modules in Figure 9, and details are not described herein.
收发机1102,用于从第一移动性管理网元获取第一终端的第一临时用户标识;所述第一临时用户标识中包括第一指示信息以及系统临时标识,所述第一指示信息用于指示所述第一终端的上下文信息是否存储于数据存储网元中;The transceiver 1102 is configured to acquire a first temporary user identifier of the first terminal from the first mobility management network element, where the first temporary user identifier includes first indication information and a system temporary identifier, where the first indication information is used by And indicating whether the context information of the first terminal is stored in the data storage network element;
处理器1101,用于在所述第一终端从空闲态进入连接态之后,若根据所述第一指示信息确定与所述第一临时用户标识映射的上下文信息不存储于所述数据存储网元中,则通过所述收发机向接入网网元发送所述系统临时标识。The processor 1101 is configured to: after the first terminal enters the connected state from the idle state, determine, according to the first indication information, context information that is mapped to the first temporary user identifier is not stored in the data storage network element. Transmitting, by the transceiver, the system temporary identifier to the access network element.
本申请实施例还提供了一种计算机可读存储介质,用于存储为执行上述处理器所需执行的计算机软件指令,其包含用于执行上述处理器所需执行的程序。The embodiment of the present application further provides a computer readable storage medium for storing computer software instructions required to execute the foregoing processor, which includes a program for executing the above-mentioned processor.
本申请实施例提供一种计算机程序产品,当计算机读取并执行所述计算机程序产品时,使得计算机执行上述任一种可能的设计中的方法。The embodiment of the present application provides a computer program product that, when the computer reads and executes the computer program product, causes the computer to perform the method in any of the above possible designs.
本申请实施例提供一种芯片,所述芯片与存储器相连,用于读取并执行所述存储器中存储的软件程序,以实现上述任一种可能的设计中的方法。The embodiment of the present application provides a chip connected to a memory for reading and executing a software program stored in the memory to implement the method in any of the above possible designs.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present application can be provided as a method, system, or computer program product. Thus, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware. Moreover, the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, optical storage, etc.) including computer usable program code.
本申请是参照根据本申请的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of the method, apparatus (system), and computer program product according to the present application. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个 方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。It will be apparent to those skilled in the art that various modifications and changes can be made in the present application without departing from the spirit and scope of the application. Thus, it is intended that the present invention cover the modifications and variations of the present invention.

Claims (23)

  1. 一种上下文信息管理方法,其特征在于,所述方法包括:A context information management method, the method comprising:
    数据存储网元接收第一移动性管理网元发送的第一临时用户标识请求消息,所述第一临时用户标识请求消息用于请求所述数据存储网元为第一终端分配第一临时用户标识;The data storage network element receives the first temporary user identification request message sent by the first mobility management network element, where the first temporary user identification request message is used to request the data storage network element to allocate the first temporary user identifier to the first terminal. ;
    所述数据存储网元向所述第一移动性管理网元发送第一临时用户标识请求响应消息,所述第一临时用户标识请求响应消息中包括所述数据存储网元为所述第一终端分配的第一临时用户标识;The data storage network element sends a first temporary user identification request response message to the first mobility management network element, where the first temporary user identification request response message includes the data storage network element as the first terminal The first temporary user ID assigned;
    所述数据存储网元接收所述第一移动性管理网元发送的所述第一终端的上下文信息,所述第一终端的上下文信息中包括所述第一临时用户标识。The data storage network element receives the context information of the first terminal that is sent by the first mobility management network element, and the first temporary user identifier is included in the context information of the first terminal.
  2. 根据权利要求1所述的方法,其特征在于,所述第一临时用户标识中包括第一指示信息,所述第一指示信息用于指示所述第一终端的上下文信息是否存储于所述数据存储网元中。The method according to claim 1, wherein the first temporary user identifier includes first indication information, and the first indication information is used to indicate whether context information of the first terminal is stored in the data. Storage in the network element.
  3. 根据权利要求1或2所述的方法,其特征在于,所述方法还包括:The method according to claim 1 or 2, wherein the method further comprises:
    所述数据存储网元接收第二移动性管理网元发送的包括所述第一终端的第一临时用户标识的上下文信息请求消息,所述上下文信息请求消息用于请求所述第一终端的上下文信息;所述第二移动性管理网元是为所述第一终端服务的移动性管理网元;The data storage network element receives a context information request message that is sent by the second mobility management network element and includes the first temporary user identifier of the first terminal, where the context information request message is used to request the context of the first terminal. Information; the second mobility management network element is a mobility management network element serving the first terminal;
    所述数据存储网元将所述第一终端的上下文信息发送给所述第二移动性管理网元。The data storage network element sends the context information of the first terminal to the second mobility management network element.
  4. 根据权利要求3所述的方法,其特征在于,所述上下文信息请求消息为所述第二移动性管理网元根据所述第一指示信息确定所述第一终端的上下文信息存储于所述数据存储网元中之后发送的。The method according to claim 3, wherein the context information request message is that the second mobility management network element determines that context information of the first terminal is stored in the data according to the first indication information. Sent after the storage NE.
  5. 一种上下文信息管理方法,其特征在于,所述方法包括:A context information management method, the method comprising:
    第一移动性管理网元向数据存储网元发送第一临时用户标识请求消息,所述第一临时用户标识请求消息用于请求所述数据存储网元为第一终端分配第一临时用户标识;The first mobility management network element sends a first temporary user identification request message to the data storage network element, where the first temporary user identification request message is used to request the data storage network element to allocate a first temporary user identifier to the first terminal;
    所述第一移动性管理网元接收所述数据存储网元发送的第一临时用户标识请求响应消息,所述第一临时用户标识请求响应消息中包括所述第一临时用户标识;The first mobility management network element receives a first temporary user identification request response message sent by the data storage network element, where the first temporary user identification request response message includes the first temporary user identifier;
    所述第一移动性管理网元生成包括所述第一临时用户标识的所述第一终端的上下文信息,向所述数据存储网元发送所述第一终端的上下文信息。The first mobility management network element generates context information of the first terminal that includes the first temporary user identifier, and sends context information of the first terminal to the data storage network element.
  6. 根据权利要求5所述的方法,其特征在于,所述第一临时用户标识中包括第一指示信息,所述第一指示信息用于指示所述第一终端的上下文信息是否存储于所述数据存储网元中。The method according to claim 5, wherein the first temporary user identifier includes first indication information, and the first indication information is used to indicate whether context information of the first terminal is stored in the data. Storage in the network element.
  7. 根据权利要求5或6所述的方法,其特征在于,所述第一移动性管理网元向所述数据存储网元发送所述第一终端的上下文信息之前,还包括:The method according to claim 5 or 6, wherein before the first mobility management network element sends the context information of the first terminal to the data storage network element, the method further includes:
    所述第一移动性管理网元确定所述第一终端处于空闲状态;The first mobility management network element determines that the first terminal is in an idle state;
    或者,所述第一移动性管理网元确定不再为所述第一终端服务。Alternatively, the first mobility management network element determines that the first terminal is no longer served.
  8. 根据权利要求5至7任一所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 5 to 7, wherein the method further comprises:
    所述第一移动性管理网元接收接入网网元发送的第二终端的第二临时用户标识;所述第二临时用户标识为所述第二终端由第二移动性管理网元切换到所述第一移动性管理网元之前,由所述数据存储网元为所述第二终端分配的;所述第二临时用户标识中包括第二指示信息,所述第二指示信息用于指示所述第二终端的上下文信息是否存储于所述数据存 储网元中;Receiving, by the first mobility management network element, a second temporary user identifier of the second terminal that is sent by the network element of the access network; the second temporary user identifier is that the second terminal is switched by the second mobility management network element Before the first mobility management network element, the data storage network element is allocated to the second terminal; the second temporary user identifier includes second indication information, and the second indication information is used to indicate Whether the context information of the second terminal is stored in the data storage network element;
    所述第一移动性管理网元若根据所述第二指示信息确定所述第二终端的上下文信息存储于所述数据存储网元中,则向所述数据存储网元请求所述第二终端的上下文信息。If the first mobility management network element determines that the context information of the second terminal is stored in the data storage network element according to the second indication information, requesting, by the data storage network element, the second terminal Contextual information.
  9. 根据权利要求8所述的方法,其特征在于,所述方法还包括:The method of claim 8 further comprising:
    所述第一移动性管理网元若根据所述第二指示信息确定所述第二终端的上下文信息未存储于所述数据存储网元中,则向所述第二移动性管理网元请求所述第二终端的上下文信息。If the first mobility management network element determines that the context information of the second terminal is not stored in the data storage network element according to the second indication information, requesting, by the second mobility management network element, the second mobility management network element The context information of the second terminal is described.
  10. 一种上下文信息管理方法,其特征在于,所述方法包括:A context information management method, the method comprising:
    第一终端从第一移动性管理网元获取所述第一终端的第一临时用户标识;所述第一临时用户标识中包括第一指示信息以及系统临时标识,所述第一指示信息用于指示所述第一终端的上下文信息是否存储于数据存储网元中;The first terminal acquires the first temporary user identifier of the first terminal from the first mobility management network element; the first temporary user identifier includes first indication information and a system temporary identifier, where the first indication information is used Indicate whether the context information of the first terminal is stored in the data storage network element;
    所述第一终端从空闲态进入连接态之后,所述第一终端若根据所述第一指示信息确定与所述第一临时用户标识映射的上下文信息不存储于所述数据存储网元中,则向接入网网元发送所述系统临时标识。After the first terminal enters the connected state from the idle state, the first terminal determines, according to the first indication information, that the context information mapped with the first temporary user identifier is not stored in the data storage network element, And sending the system temporary identifier to the access network element.
  11. 一种上下文信息管理装置,其特征在于,包括:A context information management apparatus, comprising:
    接收单元,用于接收第一移动性管理网元发送的第一临时用户标识请求消息,所述第一临时用户标识请求消息用于请求为第一终端分配第一临时用户标识;a receiving unit, configured to receive a first temporary user identification request message sent by the first mobility management network element, where the first temporary user identification request message is used to request to allocate a first temporary user identifier to the first terminal;
    发送单元,用于向所述第一移动性管理网元发送第一临时用户标识请求响应消息,所述第一临时用户标识请求响应消息中包括所述数据存储网元为所述第一终端分配的第一临时用户标识;a sending unit, configured to send a first temporary user identification request response message to the first mobility management network element, where the first temporary user identification request response message includes the data storage network element being allocated to the first terminal First temporary user ID;
    所述接收单元,用于接收所述第一移动性管理网元发送的所述第一终端的上下文信息,所述第一终端的上下文信息中包括所述第一临时用户标识。The receiving unit is configured to receive context information of the first terminal that is sent by the first mobility management network element, where the context information of the first terminal includes the first temporary user identifier.
  12. 根据权利要求11所述的装置,其特征在于,所述第一临时用户标识中包括第一指示信息,所述第一指示信息用于指示所述第一终端的上下文信息是否存储于所述数据存储网元中。The device according to claim 11, wherein the first temporary user identifier includes first indication information, and the first indication information is used to indicate whether context information of the first terminal is stored in the data. Storage in the network element.
  13. 根据权利要求11或12所述的装置,其特征在于,所述接收单元还用于,接收第二移动性管理网元发送的包括所述第一终端的第一临时用户标识的上下文信息请求消息,所述上下文信息请求消息用于请求所述第一终端的上下文信息;所述第二移动性管理网元是为所述第一终端服务的移动性管理网元;The apparatus according to claim 11 or 12, wherein the receiving unit is further configured to receive a context information request message that is sent by the second mobility management network element and includes the first temporary user identifier of the first terminal. The context information request message is used to request context information of the first terminal; the second mobility management network element is a mobility management network element serving the first terminal;
    所述发送单元还用于,将所述第一终端的上下文信息发送给所述第二移动性管理网元。The sending unit is further configured to send the context information of the first terminal to the second mobility management network element.
  14. 根据权利要求13所述的装置,其特征在于,所述上下文信息请求消息为所述第二移动性管理网元根据所述第一指示信息确定所述第一终端的上下文信息存储于所述数据存储网元中之后发送的。The apparatus according to claim 13, wherein the context information request message is that the second mobility management network element determines, according to the first indication information, that context information of the first terminal is stored in the data. Sent after the storage NE.
  15. 一种上下文信息管理装置,其特征在于,所述装置包括:A context information management apparatus, the apparatus comprising:
    收发单元,用于向数据存储网元发送第一临时用户标识请求消息,所述第一临时用户标识请求消息用于请求所述数据存储网元为第一终端分配第一临时用户标识;接收所述数据存储网元发送的第一临时用户标识请求响应消息,所述第一临时用户标识请求响应消息中包括所述第一临时用户标识;a transceiver unit, configured to send a first temporary user identification request message to the data storage network element, where the first temporary user identification request message is used to request the data storage network element to allocate a first temporary user identifier to the first terminal; a first temporary user identifier request response message sent by the data storage network element, where the first temporary user identifier request response message includes the first temporary user identifier;
    处理单元,用于生成包括所述第一临时用户标识的所述第一终端的上下文信息;a processing unit, configured to generate context information of the first terminal that includes the first temporary user identifier;
    所述收发单元,用于向所述数据存储网元发送所述第一终端的上下文信息。The transceiver unit is configured to send context information of the first terminal to the data storage network element.
  16. 根据权利要求15所述的装置,其特征在于,所述第一临时用户标识中包括第一指示信息,所述第一指示信息用于指示所述第一终端的上下文信息是否存储于所述数据存储网元中。The device according to claim 15, wherein the first temporary user identifier includes first indication information, and the first indication information is used to indicate whether context information of the first terminal is stored in the data. Storage in the network element.
  17. 根据权利要求15或16所述的装置,其特征在于,所述收发单元向所述数据存储网元发送所述第一终端的上下文信息之前,所述处理单元还用于:The device according to claim 15 or 16, wherein before the sending and receiving unit sends the context information of the first terminal to the data storage network element, the processing unit is further configured to:
    确定所述第一终端处于空闲状态;Determining that the first terminal is in an idle state;
    或者,确定不再为所述第一终端服务。Or, it is determined that the first terminal is no longer served.
  18. 根据权利要求15至17任一所述的装置,其特征在于,所述收发单元还用于:The device according to any one of claims 15 to 17, wherein the transceiver unit is further configured to:
    接收接入网网元发送的第二终端的第二临时用户标识;所述第二临时用户标识为所述第二终端由第二移动性管理网元切换到所述第一移动性管理网元之前,由所述数据存储网元为所述第二终端分配的;所述第二临时用户标识中包括第二指示信息,所述第二指示信息用于指示与所述第二终端的上下文信息是否存储于所述数据存储网元中;Receiving a second temporary user identifier of the second terminal that is sent by the network element of the access network; the second temporary user identifier is that the second terminal is switched by the second mobility management network element to the first mobility management network element The second temporary user identifier is included in the second temporary user identifier, and the second indication information is used to indicate context information with the second terminal. Whether it is stored in the data storage network element;
    所述处理单元还用于,若根据所述第二指示信息确定所述第二终端的上下文信息存储于所述数据存储网元中,则通过所述收发单元向所述数据存储网元请求所述第二终端的上下文信息。The processing unit is further configured to: if it is determined that the context information of the second terminal is stored in the data storage network element according to the second indication information, requesting, by the transceiver unit, the data storage network element The context information of the second terminal is described.
  19. 根据权利要求18所述的装置,其特征在于,所述处理单元还用于:The device according to claim 18, wherein the processing unit is further configured to:
    若根据所述第二指示信息确定所述第二终端的上下文信息未存储于所述数据存储网元中,则通过所述收发单元向所述第二移动性管理网元请求所述第二终端的上下文信息。Determining, by the transceiver unit, the second terminal by using the transceiver unit to the second mobility management network element, if it is determined that the context information of the second terminal is not stored in the data storage network element according to the second indication information. Contextual information.
  20. 一种上下文信息管理装置,其特征在于,所述装置包括:A context information management apparatus, the apparatus comprising:
    收发单元,用于从第一移动性管理网元获取第一终端的第一临时用户标识;所述第一临时用户标识中包括第一指示信息以及系统临时标识,所述第一指示信息用于指示所述第一终端的上下文信息是否存储于数据存储网元中;a transceiver unit, configured to acquire a first temporary user identifier of the first terminal from the first mobility management network element, where the first temporary user identifier includes first indication information and a system temporary identifier, where the first indication information is used Indicate whether the context information of the first terminal is stored in the data storage network element;
    处理单元,用于在所述第一终端从空闲态进入连接态之后,若根据所述第一指示信息确定与所述第一临时用户标识映射的上下文信息不存储于所述数据存储网元中,则通过所述收发单元向接入网网元发送所述系统临时标识。a processing unit, configured to determine, according to the first indication information, that context information mapped with the first temporary user identifier is not stored in the data storage network element, after the first terminal enters a connection state from an idle state And sending, by the transceiver unit, the system temporary identifier to the access network element.
  21. 一种计算机可读存储介质,其特征在于,所述计算机存储介质中存储有计算机可读指令,当计算机读取并执行所述计算机可读指令时,使得计算机执行如权利要求1-11任意一项所述的方法。A computer readable storage medium, wherein the computer storage medium stores computer readable instructions that, when the computer reads and executes the computer readable instructions, cause the computer to perform any of claims 1-11 The method described in the item.
  22. 一种计算机程序产品,其特征在于,当计算机读取并执行所述计算机程序产品时,使得计算机执行如权利要求1-10任意一项所述的方法。A computer program product characterized by causing a computer to perform the method of any of claims 1-10 when the computer reads and executes the computer program product.
  23. 一种芯片,其特征在于,所述芯片与存储器相连,用于读取并执行所述存储器中存储的软件程序,以实现如权利要求1-10任意一项所述的方法。A chip, characterized in that the chip is connected to a memory for reading and executing a software program stored in the memory to implement the method of any of claims 1-10.
PCT/CN2018/106038 2017-09-20 2018-09-17 Method and device for content information management WO2019057013A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710854757.0 2017-09-20
CN201710854757.0A CN109525979B (en) 2017-09-20 2017-09-20 Context information management method and device

Publications (1)

Publication Number Publication Date
WO2019057013A1 true WO2019057013A1 (en) 2019-03-28

Family

ID=65768603

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/106038 WO2019057013A1 (en) 2017-09-20 2018-09-17 Method and device for content information management

Country Status (2)

Country Link
CN (1) CN109525979B (en)
WO (1) WO2019057013A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101370252A (en) * 2007-08-15 2009-02-18 华为技术有限公司 Mobile communication method, mobile communication system and access entity
CN101511079A (en) * 2007-11-01 2009-08-19 华为技术有限公司 Method and device for accessing original network through evolution network temporary mark
EP2498566A2 (en) * 2009-11-04 2012-09-12 Samsung Electronics Co., Ltd Method and apparatus for transmitting data in a wireless communication network system
CN104284358A (en) * 2013-07-05 2015-01-14 中国移动通信集团广东有限公司 Network element dial testing implementation method and device

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100663522B1 (en) * 2001-02-14 2007-01-02 삼성전자주식회사 Method for allocating temporary mobile subscriber identification and releasing it in mobile communication system
CN100420333C (en) * 2005-02-02 2008-09-17 华为技术有限公司 Method for repositioning between support nodes in service general group wireless business
CN101047900B (en) * 2007-04-29 2012-01-25 中国移动通信集团公司 Recovery method of terminal called service, mobile exchange center and system
US20080268842A1 (en) * 2007-04-30 2008-10-30 Christian Herrero-Veron System and method for utilizing a temporary user identity in a telecommunications system
CN101355793B (en) * 2007-07-27 2011-08-31 华为技术有限公司 Method and apparatus for recognizing user equipment as well as method for transferring and distributing temporary mark
CN102056251B (en) * 2009-11-04 2013-04-03 中国移动通信集团公司 Network switching method and system and equipment adopting same
CN102300192B (en) * 2010-06-25 2014-08-13 上海贝尔股份有限公司 Equipment and method for distributing TMSI (Temporary Mobile Subscriber Identity) during machine to machine communication and corresponding network attaching and location area updating methods
CN103179644B (en) * 2011-12-21 2016-03-30 华为技术有限公司 A kind of method of read system message, equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101370252A (en) * 2007-08-15 2009-02-18 华为技术有限公司 Mobile communication method, mobile communication system and access entity
CN101511079A (en) * 2007-11-01 2009-08-19 华为技术有限公司 Method and device for accessing original network through evolution network temporary mark
EP2498566A2 (en) * 2009-11-04 2012-09-12 Samsung Electronics Co., Ltd Method and apparatus for transmitting data in a wireless communication network system
CN104284358A (en) * 2013-07-05 2015-01-14 中国移动通信集团广东有限公司 Network element dial testing implementation method and device

Also Published As

Publication number Publication date
CN109525979B (en) 2021-01-29
CN109525979A (en) 2019-03-26

Similar Documents

Publication Publication Date Title
US11523465B2 (en) Registration method, session establishment method, terminal, and AMF entity
US20230093339A1 (en) Session Management Method, Apparatus, and System
US20220330361A1 (en) Method for establishing connection and obtaining relay service code and communications apparatus
CN109167847B (en) IPv6 address generation method, SMF and communication system
WO2019153766A1 (en) Wireless communication method, network device, and terminal device
JP6978586B2 (en) Data integrity protection methods and equipment
US20210168151A1 (en) Method for implementing user plane security policy, apparatus, and system
WO2019062497A1 (en) Data analysis method and device
WO2019062498A1 (en) Method and device for acquiring feature parameters
US11489760B2 (en) Multicast group creation method, multicast group joining method, and apparatus
WO2022027492A1 (en) Communication method, device and system
WO2019062496A1 (en) Data analysis method and data analysis device
WO2019158093A1 (en) Method and device for determining ssc mode
WO2020087327A1 (en) Communication method and device
CN113382468A (en) Address allocation method for local network device, electronic device, and storage medium
EP3681182A1 (en) Method, apparatus and device for determining state of terminal device
WO2019228243A1 (en) Data transmission method, terminal device and network device
WO2017152419A1 (en) Network attachment method and apparatus
WO2018227564A1 (en) Communication method, terminal device, and network device
WO2023020297A1 (en) Relay selection method and apparatus
WO2019100343A1 (en) Method for accessing wireless local area network, terminal device, and network device
WO2017193363A1 (en) Service data stream transmission method and device
CN109525979B (en) Context information management method and device
WO2023011407A1 (en) Communication method and apparatus
WO2022237857A1 (en) Method for determining security protection enabling mode, communication method, and communication apparatus

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

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

Country of ref document: EP

Kind code of ref document: A1