WO2014146473A1 - Equipment identification allocation method and system - Google Patents

Equipment identification allocation method and system Download PDF

Info

Publication number
WO2014146473A1
WO2014146473A1 PCT/CN2013/091088 CN2013091088W WO2014146473A1 WO 2014146473 A1 WO2014146473 A1 WO 2014146473A1 CN 2013091088 W CN2013091088 W CN 2013091088W WO 2014146473 A1 WO2014146473 A1 WO 2014146473A1
Authority
WO
WIPO (PCT)
Prior art keywords
device identity
management entity
device identifier
allocated
identity
Prior art date
Application number
PCT/CN2013/091088
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 WO2014146473A1 publication Critical patent/WO2014146473A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support

Definitions

  • the present invention relates to an identity distribution technology in the field of wireless communication technologies, and in particular, to a method and system for allocating device identification. Background technique
  • D2D device-to-device
  • D2D technology can work in licensed or unlicensed frequency bands, allowing multiple D2D-enabled user equipments, namely D2D User Equipment (D2D User Equipment) to perform direct discovery without network infrastructure or network infrastructure. / Direct communication.
  • D2D User Equipment D2D User Equipment
  • Direct communication There are three main types of D2D applications:
  • UE 1 and UE2 perform data interaction under the coverage of the cellular network, and the user plane data does not pass through the network infrastructure, as shown in mode 1 of FIG.
  • D2D technology usually includes D2D discovery technology and D2D communication technology:
  • D2D discovery technology refers to determining/determining the proximity between two or more D2D user equipments (for example, within a range in which D2D direct communication is possible) or for determining/determining that a first user equipment is adjacent to a second user Equipment technology.
  • D2D communication technology refers to a technology in which some or all of the communication data between D2D user equipments can communicate directly without going through the network infrastructure.
  • D2D user equipment can discover each other by sending or receiving discovery signals/information.
  • the network can assist D2D user equipment to perform D2D discovery and realize management and control of D2D discovery.
  • the discovery signal/information may include device identification information identifying the user equipment that sent the discovery signal, and may also be referred to as a discovery ID.
  • the discovery ID is usually assigned by the network and is used to uniquely identify the D2D user equipment in the air interface in a specific area.
  • the discovery ID can uniquely identify the UE in its effective area and can be multiplexed in different spaces, if the UE moves out of the effective area of the discovery ID, if the original discovery ID is also used, it is likely If the discovery ID of the other UEs conflicts with each other, the network cannot uniquely identify the UE by using the discovery ID, which will result in the D2D discovery being unsuccessful. Therefore, the discovery ID has regional validity and time validity. Once the specific area or specific time is exceeded, it is found. The ID is invalid. In the D2D scenario, the network side needs to have an allocation mechanism for recovering the discovery ID and re-allocating the discovery ID for the UE. However, in the existing standard, the LTE system does not support the discovery ID allocation mechanism in the D2D scenario. Summary of the invention
  • the main purpose of the embodiments of the present invention is to provide a method and system for allocating device identifiers.
  • the network side can assign an identifier to the UE.
  • the technical solution of the embodiment of the present invention is implemented as follows: A method for allocating device identifiers, the method includes:
  • the device identity management entity allocates a device identifier to the user equipment UE;
  • the device identity management entity sends information to the UE, and the information includes the device identifier.
  • the device identifier management entity allocates a device identifier to the UE, and the device identifier management entity allocates a device identifier to the UE in the process of attaching the UE; or the device identifier management entity is in the tracking area of the UE. Assigning a device identifier to the UE during the update process;
  • the device identifier management entity allocates a device identifier to the UE in a service request process of the UE;
  • the device identifier management entity allocates a device identifier to the UE in a handover process of the UE;
  • the device identifier management entity allocates a device identifier to the UE in a device identifier allocation process of the UE.
  • the device identifier management entity allocates a device identifier to the UE in the handover process of the UE, and further includes:
  • the first device identifier management entity indicates that the second device identifier management entity needs to allocate a new device identifier in an explicit or implicit manner; the first device identifier management entity is a source device identifier management entity of the UE; The second device identity management entity is a target device identity management entity of the UE.
  • the device identifier management entity allocates a device identifier to the UE, and further includes:
  • the device identifiers used by the UE in different RRC states are allocated by different device identity management entities;
  • the device identifiers used by the UE in different RRC states are allocated by the same device identity management entity.
  • the device identifiers used by the UE in different RRC states are allocated by different device identifier management entities, and the method further includes:
  • the device identifier used by the UE in the connected state is allocated by the base station, and the device identifier used by the UE in the idle state is allocated by the mobility management entity.
  • the device identifier management entity allocates a device identifier to the UE, and further includes: the device identifiers allocated by the device identifier management entity for use by the UE in different RRC states are different in length.
  • the device identifier management entity allocates a device identifier to the UE, and further includes: the device identifier management entity allocates a device identifier to the UE according to the subscription level of the UE.
  • the device identifier management entity allocates a device identifier to the UE according to the subscription level of the UE, and further includes:
  • the device identification management entity allocates different device identification lengths for UEs of different subscription levels
  • the device identity management entity allocates device identifiers for UEs of different subscription levels from different device identity sets.
  • the device identifier management entity sends information to the UE, where the information includes the device identifier, and further includes:
  • the information further includes the UE state corresponding to the device identifier; the UE state includes: an idle state and a connected state.
  • the device identifier management entity sends information to the UE, where the information includes the device identifier, and further includes:
  • the information also includes a valid time range of the device identification.
  • the device identity management entity is in the device identity allocation process of the UE.
  • the UE allocates the device identifier, and further includes:
  • the UE When the information received by the UE from the device identity management entity includes the valid time range of the device identifier, after the device identifier exceeds the valid time range, the UE requests the device identity management entity to allocate a new device identifier.
  • the UE requests the device identity management entity to allocate a new device identifier
  • the UE requests the device identity management entity to allocate a new device identifier
  • the UE requests the device identity management entity to allocate a new device identifier
  • the UE requests the device identity management entity to allocate a device identifier according to an event-triggered manner
  • the UE allocates a device identifier to the device identity management entity request according to an event-triggered periodic manner
  • the UE periodically requests the device identity management entity to allocate a device identifier.
  • the method further includes: the device identifier management entity determining whether the allocated device identifier needs to be released, and if the device identifier needs to be released, releasing the allocated device Logo.
  • the device identifier management entity determines whether it is necessary to release the allocated device identifier, and further includes:
  • the device identifier management entity determines, according to the device identifier release indication information of the UE, whether the allocated device identifier needs to be released;
  • the device identifier management entity determines, according to the device identifier release indication information of the device identifier management entity that currently allocates the device identifier to the UE, whether the required device label needs to be released. Or the device identifier management entity determines, according to the device identifier release indication information of other network elements, whether the allocated device identifier needs to be released.
  • the device identifier management entity determines whether it is necessary to release the allocated device identifier according to the device identifier release indication information of the UE, and further includes:
  • the sending device identifier release indication information indicates that the device identifier management entity releases the device identifier allocated for the UE.
  • the device identifier management entity determines whether the device identifier needs to be released according to the device identifier release indication information of the device identifier management entity that is currently assigned the device identifier of the UE, and further includes:
  • the device identifier management entity that currently allocates the device identifier to the UE indicates, according to the identifier information of the device identifier management entity that is configured to allocate the device identifier to the UE, and the identifier information of the UE that is sent by the UE.
  • the device identity management entity that describes the UE assignment device identity releases the device identity that has been assigned to the UE.
  • the device identifier management entity determines whether it is necessary to release the allocated device identifier, and further includes:
  • the device identity management entity determines that the allocated device identifier needs to be released, and the The assigned device ID is released.
  • the device identifier allocated by the device management entity to the UE is composed of any one or more of the following:
  • IMSI International Mobile Subscriber Identity
  • the cell radio network of the UE temporarily identifies a C-RNTI
  • the tracking area TA where the UE is located identifies information.
  • a device identification distribution system includes: a device identification allocation unit and a device identification sending unit located on a device identity management entity side;
  • the device identifier allocation unit is configured to allocate a device identifier to the UE
  • the device identifier sending unit is configured to send information to the UE, where the information includes the device identifier.
  • the device identifier allocation unit and the device identifier sending unit may use a central processing unit (CPU), a digital signal processor (DSP), or a programmable signal array when performing processing.
  • CPU central processing unit
  • DSP digital signal processor
  • programmable signal array when performing processing.
  • 1 J FPGA, Field - Programmable Gate Array
  • the device identifier allocation unit is further configured to allocate a device identifier to the UE in an attaching process of the UE;
  • the device identifier is allocated to the UE in the tracking area update process of the UE; or, the UE identifier is allocated to the UE in a service request process of the UE;
  • the device identifier is allocated to the UE in a handover process of the UE;
  • the device identifier is allocated to the UE in a device identity allocation process of the UE.
  • the device identifier allocation unit is further configured to allocate the device identifiers used by the UE in different RRC states by different device identifier management entities; or the device identifiers used by the UE in different RRC states are identified by the same device identifier. Manage entity assignments.
  • the device identifier allocation unit is further configured to allocate, to the UE, the lengths of the device identifiers used by the UEs in different RRC states to be different.
  • the device identifier allocation unit is further configured to allocate a device identifier to the UE according to the subscription level of the UE.
  • the device identifier allocation unit is further configured to allocate different device identifier lengths to UEs of different subscription levels; Or, assigning device identifiers to UEs of different subscription levels from different device identifier sets.
  • the device identifier sending unit is further configured to: if the device identifier used by the UE in different RRC states is allocated by different device identifier management entities, the information sent by the UE further includes the UE status corresponding to the device identifier.
  • the UE status includes: an idle state and a connected state.
  • the device identifier sending unit is further configured to include the valid time range of the device identifier in the information that is sent.
  • the device identifier allocation unit is further configured to: when the device identifier is allocated to the UE in the device identifier allocation process of the UE, after the device identifier exceeds the valid time range, the device identifier is received from the UE. a request to assign a new device ID;
  • the UE when the UE detects that the cell identity of the currently camped cell is changed, the UE receives a request for allocating a new device identifier from the UE;
  • the UE when the UE detects that the discovery area identifier of the currently camped cell broadcast changes, receiving a request for allocating a new device identifier from the UE;
  • a request for periodic allocation of device identification from the UE is received.
  • the system further includes: a device identifier release unit located on the device identifier management entity side, configured to release the allocated device identifier when the device identifier is required to be released, and then the device identifier is released.
  • a device identifier release unit located on the device identifier management entity side, configured to release the allocated device identifier when the device identifier is required to be released, and then the device identifier is released.
  • the device identifier release unit is further configured to determine, according to the device identifier release indication information of the UE, whether the allocated device identifier needs to be released; Or determining, according to the device identifier release indication information of the device identifier management entity that currently allocates the device identifier to the UE, whether the allocated device identifier needs to be released;
  • the device identifier release indication information of other network elements it is determined whether the allocated device identifier needs to be released.
  • the device identifier release unit is further configured to: when the information sent includes the valid time range of the device identifier, after the valid time range is exceeded, it is determined that the allocated device identifier needs to be released, and The assigned device ID is released.
  • the device identifier management entity allocates a device identifier to the UE; the device identifier management entity sends information to the UE, where the information includes the device identifier.
  • the network side allocates an identifier to the UE in the D2D scenario.
  • FIG. 1 is a schematic diagram of an application mode in which D2D technology is applied
  • FIG. 2 is a schematic diagram of an implementation process of a method according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of an implementation process of a second embodiment of a method according to the present invention.
  • FIG. 5 is a schematic flowchart of an implementation process of a third embodiment of a method according to the present invention.
  • FIG. 6 is a schematic flowchart of an implementation process of Embodiment 4 of the method of the present invention.
  • FIG. 7 is a schematic flowchart of an implementation process of Embodiment 5 of the method according to the present invention.
  • Embodiment 7 of the method according to the present invention.
  • Embodiment 8 is a schematic flowchart of an implementation process of Embodiment 8 of the method according to the present invention.
  • FIG. 11 is a schematic flowchart of an implementation process of Embodiment 9 of the method of the present invention. detailed description
  • the device identity management entity allocates a device identifier to the UE; the device identifier The management entity sends information to the UE, and the information includes the device identifier.
  • a method for allocating device identification mainly includes the following contents:
  • the device identity management entity allocates a device identifier to the UE
  • the device identity management entity sends information to the UE, the information including the device identity assigned to the UE, the device identity being used to identify the UE in device-to-device discovery and/or device-to-device communication.
  • the device identifier management entity allocates the device identifier to the UE, and the method further includes: the device identifier management entity assigning the device identifier to the UE in the attaching process of the UE;
  • the device identifier management entity allocates a device identifier to the UE in a tracking area update process of the UE;
  • the device identifier management entity allocates a device identifier to the UE in a service request process of the UE;
  • the device identifier management entity allocates a device identifier to the UE in a handover process of the UE;
  • the device identity management entity allocates a device identity to the UE in a device identity allocation process of the UE.
  • the device identifier management entity allocates the device identifier to the UE in the handover process of the UE, and further includes:
  • the first device identifier management entity indicates that the second device identifier management entity needs to allocate a new device identifier in an explicit or implicit manner; the first device identifier management entity is a source device identifier management entity of the UE; The second device identity management entity is a target device identity management entity of the UE.
  • the device identifier management entity allocates a device identifier to the UE, and further includes:
  • the device identifier used by the UE in different RRC states is managed by a different device identifier. Assignment
  • the device identifiers used by the UE in different RRC states are allocated by the same device identity management entity.
  • the device identifiers used by the UE in different RRC states are allocated by different device identifier management entities, and the method further includes:
  • the device identifier used by the UE in the connected state is allocated by the base station, and the device identifier used by the UE in the idle state is allocated by the mobility management entity.
  • the device identifier management entity allocates the device identifier to the UE, and further includes: the device identifiers allocated by the device identifier management entity for use by the UE in different RRC states are different in length.
  • the device identifiers used by the device identifier management entity for the UEs to be used in different RRC states are different in length, and the method further includes:
  • the device identifier used by the UE in the idle state is longer than the device identifier used in the connected state.
  • the device identifier management entity allocates the device identifier to the UE, and the method further includes: the device identifier management entity assigning the device identifier to the UE according to the subscription level of the UE.
  • the device identifier management entity allocates the device identifier to the UE according to the subscription level of the UE, and further includes:
  • the device identification management entity allocates different device identification lengths for UEs of different subscription levels
  • the device identity management entity allocates device identifiers for UEs of different subscription levels from different device identity sets.
  • the device identifier management entity sends information to the UE, where the information includes the device identifier, and further includes:
  • the information includes one or more device identifiers.
  • the information may further include an effective time range of the device identifier.
  • the device identifier management entity sends information to the UE, where the information includes the device identifier, and further includes:
  • the information also indicates the UE status corresponding to the device identifiers.
  • the UE status includes: an idle state and a connected state.
  • the device identifier management entity allocates the device identifier to the UE in the device identifier allocation process of the UE, and further includes:
  • the UE requests the device identification management entity to allocate a new device identifier, after the information received by the device identifier management entity indicates the valid time range of the device identifier, and the device identifier exceeds the valid time range;
  • the UE requests the device identity management entity to allocate a new device identifier
  • the UE requests the device identity management entity to allocate a new device identifier
  • the UE requests the device identity management entity to allocate a new device identifier
  • the UE requests the device identity management entity to allocate a device identifier according to an event-triggered manner
  • the UE allocates a device identifier to the device identity management entity request according to an event-triggered periodic manner
  • the UE periodically requests the device identity management entity to allocate a device identifier.
  • the method further includes: The device sent by the UE when the UE detects that the cell identifier and/or the tracking area code and/or the discovery area identifier of the currently camped cell are changed, and the device identification management entity requests to allocate a new device identifier.
  • the identifier allocation request includes the identifier information of the device identity management entity that last assigned the device identifier to the UE and the identifier information of the UE.
  • the identifier information of the UE includes, but is not limited to: a device identifier that was last allocated to the UE.
  • the method further includes: the UE storing the information, and using the information in device-to-device discovery and/or device-to-device communication.
  • the UE stores the information, and uses the information in device-to-device discovery and/or device-to-device communication, and further includes:
  • the UEs In the case that the device identifiers used by the UEs in different RRC states are allocated by different device identity management entities, the UEs respectively store information corresponding to different RRC states, and device-to-device discovery and/or device-to-device The corresponding information is used in the communication process according to the current RRC state.
  • the method further includes: the device identifier management entity determining whether the allocated device identifier needs to be released, and releasing the allocated device identifier if necessary.
  • the mechanism for releasing the device identifier allocated in the D2D scenario can also be supported.
  • the UE does not need to use the device identifier (also referred to as the discovery ID) or the UE has moved out of the original device identifier effective area
  • the network element that allocates the original device identifier needs to release the original device identifier, otherwise The device identifier is invalidated.
  • the network side does not know when the UE does not need to use the device identifier (for example, the UE turns off the D2D module or closes an application), or moves out of the original device.
  • the IDLE state UE moves out of the cell under the base station), thereby reducing the number of device identifiers that can be allocated in the cell under the base station, thereby reducing the effective utilization of the device identifier, and using the embodiment of the present invention,
  • the device ID release mechanism allocated in the D2D scenario can improve the effective utilization of device IDs.
  • the device identifier management entity determines whether it is necessary to release the allocated device identifier, and further includes:
  • the device identifier management entity determines, according to the device identifier release indication information of the UE, whether the allocated device identifier needs to be released;
  • the device identifier management entity determines, according to the device identifier release indication information of the device identifier management entity that currently allocates the device identifier to the UE, whether the allocated device identifier needs to be released;
  • the device identifier management entity determines, according to the device identifier release indication information of other network elements, whether the allocated device identifier needs to be released.
  • the device identifier management entity determines whether it is necessary to release the allocated device identifier according to the device identifier release indication information of the UE, and further includes:
  • the sending device identifier release indication information indicates that the device identifier management entity releases the device identifier allocated for the UE.
  • the device identifier management entity determines, according to the device identifier release indication information of the device identifier management entity that is currently assigned the device identifier of the UE, whether to release the allocated device identifier, and further includes:
  • the device identity management entity that currently allocates the device identifier to the UE indicates the device identity management entity according to the identifier information of the device identity management entity that is configured to allocate the device identifier to the UE and the identifier information of the UE that is sent by the UE. Release the device identification that has been assigned to the UE.
  • the device identity management entity determines whether it is necessary to release the allocated device identifier. Also includes:
  • the device identity management entity determines that the allocated device identifier needs to be released, and the The assigned device ID is released.
  • the device identity management entity may be an independent network entity, or located in an existing network entity or a newly added network entity.
  • the existing network entity includes but is not limited to: a base station, a mobility management entity, A contracting server (HSS); the new network entity includes but is not limited to: a server that can be used for D2D purposes.
  • HSS contracting server
  • the device management entity allocates a device identifier to the UE by one or more of the following:
  • TMSI Temporary Mobile Subscriber Identity
  • C-RNTI cell radio network temporary identifier
  • the tracking area (TA) where the UE is located identifies information.
  • the embodiment of the present invention solves the problem of device device redistribution and release in device-to-device discovery, and the device identifier can be effectively solved under the signaling message that needs to be introduced in the embodiment of the present invention.
  • the problem of allocation and can solve the problem of resource release of device identification, avoiding invalidation of device identification and improving the effective utilization of device identification.
  • FIG. 2 is a schematic diagram of an implementation process of a method according to an embodiment of the present invention, including the following steps: Step 101: A device identity management entity allocates a device identifier to a UE.
  • Step 102 The device identity management entity sends information to the UE, where the information includes a device identifier allocated to the UE.
  • the device identifier is used to identify the UE in device-to-device discovery and/or device-to-device communication.
  • This embodiment describes a method for a device identity management entity to allocate a device identifier to a UE during an attach procedure of a UE.
  • the device identity management entity is located in the base station and / or MME. As shown in FIG. 3, this embodiment includes the following steps:
  • Step 201 The UE initiates an attach process after being powered on. After establishing an RRC connection with the base station, the UE sends a NAS message attach request to the base station in the air interface RRC message, and the base station transparently transmits the attach request message to the MME.
  • Step 202 The MME selects a serving serving gateway (S-GW) and a packet data gateway (P-GW) for the UE, and creates a default evolved packet system (EPS) bearer for the UE.
  • S-GW serving serving gateway
  • P-GW packet data gateway
  • EPS evolved packet system
  • Step 203 The S-GW creates a context of the UE, and sends a create session request message to the P-GW selected by the MME for the UE.
  • Step 204 The P-GW creates a context of the UE, and replies to the S-GW to create a session response message.
  • Step 205. The S-GW replies to the MME with a create session response message.
  • Step 206 The MME allocates a device identifier to the UE.
  • the MME may also specify a valid time range of the device identifier.
  • the device identifier can uniquely identify the UE in a tracking area or a discovery area composed of multiple cells, that is, in the tracking area or the discovery area.
  • Step 207 The MME sends an S1 interface initial context request message to the base station, where the NAS message attach accept message is included. If the MME allocates a device identifier to the UE, the MME sends the device identifier information including the device identifier to the base station. If the MME allocates the valid time range of the device identifier, the device identifier information further includes a valid time range of the device identifier. Optionally, the MME may also indicate that the allocated device identifier is used by the UE in an idle state.
  • Step 208 The base station allocates a device identifier to the UE.
  • the base station may further specify the device identifier.
  • the device identifier can uniquely identify the UE in the next cell of the base station, that is, it is valid in the cell range.
  • the possible cases are: only the MME allocates a device identifier to the UE, or only the base station allocates a device identifier to the UE, or both the base station and the MME allocate a device identifier for the UE.
  • the UE uses the device identifier assigned by the base station or the MME in different RRC states. If the UE uses the device identifier allocated by the MME in the idle state, the UE uses the device identifier allocated by the base station in the connected state.
  • the length of the device identifier used by the UE in different RRC states is different, for example, the device identifier used by the UE in the idle state is longer than the device identifier used in the connected state. In this way, the effective area of the device identifier used by the UE in the idle state is larger than that in the connected state, and the number of times the UE re-acquires after the device identifier fails can be reduced, thereby achieving a greater degree of UE power saving.
  • Step 209 The base station sends the NAS message attach accept message sent by the MME to the UE by using an air interface RRC message.
  • the base station transmits device identification information to the UE in the message.
  • one or more device identifiers may be included in the device identification information.
  • the device identification information may further include a valid time range of the device identifier and/or a corresponding UE status.
  • Step 210 The UE parses and stores the device identification information after receiving the RRC message, and sends the discovery signal by using the device identifier in the device-to-device discovery process. If the device identification information includes two device identifiers, the UE sends a discovery signal by using the corresponding device identifier according to the current RRC state.
  • the device identifier may be the user identifier allocated by the base station or the MME for the D2D use, or may be the C-RNTI allocated by the base station for the UE, or the IMSI, or the S-TMSI allocated by the MME, and the IP address allocated by the PGW for the UE.
  • the address, the identification information of the TA where the UE is located, and the like may also be composed of one or more of the above identification information.
  • Method Embodiment 2 This embodiment describes a method for a device identity management entity to allocate a device identity to a UE during a Tracking Area Update (TAU) process of a UE.
  • the device identity management entity is located in the base station and/or MME. As shown in FIG. 4, this embodiment includes the following steps:
  • Step 301 After the UE moves and camps on a new cell in the idle state, and detects that the TAI of the cell is not in the TAI list configured by the MME in the attaching process, the UE initiates a TAU process.
  • the UE first establishes an RRC connection with the base station. Then, the RRC message is sent to the RRC connection establishment completion message to the base station, which includes the NAS message TAU request message.
  • the base station transparently transmits the NAS message to the target MME through the S1 interface message.
  • Steps 302-304 The target MME interacts with the source MME to deliver the context of the UE. Steps 305-308.
  • the SGW of the UE is not replaced, and the MME and the S-GW,
  • the P-GW interacts to modify the bearer process.
  • Step 309 The target MME sends a location update message to the HSS to update the location information of the UE on the HSS.
  • Steps 310-311 The HSS sends a location cancel message to the source MME to inform the source MME that the UE has moved out of its area.
  • the source MME replies to the HSS with a location cancellation confirmation message.
  • Step 312 The source MME releases the device identifier assigned to the UE. Step 312 here can be performed before or after step 311.
  • the HSS replies to the target MME with a location update confirmation message.
  • the MME allocates a device identifier to the UE.
  • the MME may also specify a valid time range of the device identifier.
  • the device identifier can uniquely identify the UE in a tracking area or a discovery area composed of multiple cells, that is, in the tracking area or the discovery area.
  • Step 315 The MME sends an S1 interface initial context request message to the base station, where the NAS message TAU accept message is included. If the MME allocates the device identifier to the UE, the MME sends the device identifier information including the device identifier to the base station. If the MME is configured with the valid time range of the device identifier, the device identifier information also includes the valid time range of the device identifier. Optionally, The MME may also indicate that the assigned device identity is used by the UE in an idle state.
  • Step 316 The base station allocates a device identifier to the UE.
  • the base station may further specify a valid time range for the device identifier.
  • the device identifier can uniquely identify the UE in the next cell of the base station, that is, it is valid in the cell range.
  • the possible cases are: only the MME allocates a device identifier to the UE, or only the base station allocates a device identifier to the UE, or both the base station and the MME allocate a device identifier for the UE.
  • the UE uses the device identifier assigned by the base station or the MME in different RRC states. If the UE uses the device identifier allocated by the MME in the idle state, the UE uses the device identifier allocated by the base station in the connected state.
  • the length of the device identifier used by the UE in different RRC states is different, for example, the device identifier used by the UE in the idle state is longer than the device identifier used in the connected state. In this way, the effective area of the device identifier used by the UE in the idle state is larger than that in the connected state, and the number of times the UE re-acquires after the device identifier fails can be reduced, thereby achieving a greater degree of UE power saving.
  • Step 317 The base station sends the NAS message attach accept message sent by the MME to the UE by using an air interface RRC message.
  • the base station transmits device identification information to the UE in the message.
  • one or more device identifiers may be included in the device identification information.
  • the device identification information may further include a valid time range of the device identifier and/or a corresponding UE status.
  • Step 318 After receiving the RRC message, the UE parses and stores the device identification information therein, and uses the device identifier to send the discovery signal in the device-to-device discovery process. If the device identification information includes two device identifiers, the UE sends a discovery signal by using the corresponding device identifier according to the current RRC state.
  • This embodiment describes a method for a device identity management entity to allocate a device identifier to a UE in a service request (SR) initiated by a UE.
  • the device identity management entity is located at the base In the station and / or MME. As shown in FIG. 5, this embodiment includes the following steps:
  • Step 401 Idle state
  • the UE has the service data to be sent, first establishes an RRC connection with the base station, and then carries the NAS message service request message to the base station in the RRC message RRC connection setup complete message. After receiving the base station, the NAS message is transparently transmitted to the MME.
  • Step 402 The MME allocates a device identifier to the UE; or the MME determines whether the TAI or the discovery area identifier of the UE is the same as the TAI or the discovery area identifier of the current location when the device identifier is allocated to the UE, and if not, the UE is allocated. New device identification.
  • the MME may also specify a valid time range of the device identifier.
  • the MME sends an initial context setup request message to the base station to establish an E-RAB bearer for the UE. If the MME allocates a device identifier to the UE, the message carries the device identifier information including the device identifier. If the MME is configured with the valid time range of the device identifier, the device identifier information further includes a valid time range of the device identifier. Optionally, the MME may also indicate that the allocated device identifier is used by the UE in an idle state.
  • Step 404 The base station allocates a device identifier for the D2D to the UE.
  • the base station may further specify a valid time range of the device identifier.
  • the device identifier can uniquely identify the UE in the next cell of the base station, that is, it is valid within the cell range.
  • step 402 and step 404 the possible cases are as follows: Only the MME allocates a device identifier to the UE, or only the base station allocates a device identifier to the UE, or both the base station and the MME allocate a device identifier for the UE. In the case that both the base station and the MME allocate the device identifier to the UE, the UE uses the device identifier assigned by the base station or the MME in different RRC states. If the UE uses the device identifier allocated by the MME in the idle state, the UE uses the device identifier allocated by the base station in the connected state.
  • the lengths of the device identifiers used by the UEs in different RRC states are different, for example, the device identifiers used by the UE in the idle state are longer than the device identifiers used in the connected state. In this way, the effective area of the device identifier used by the UE in the idle state is larger than that in the connected state, so that the number of times the UE re-acquires after the device identifier fails can be reduced, thereby achieving a greater degree of UE. Power saving purposes.
  • Step 405. The base station sends an RRC connection reconfiguration message to the UE, and establishes a corresponding air interface DRB data bearer for the UE. If the base station receives the device identification information from the MME, the message includes device identification information received from the MME. If the base station allocates the device identifier to the UE, the message carries the device identifier information that is allocated by the base station and includes the device identifier. If the base station is configured with the valid time range of the device identifier, the device identifier information further includes a valid time range of the device identifier. Optionally, the base station may further indicate that the allocated device identifier is used by the UE in the connected state. After completing the corresponding air interface configuration, the UE replies to the RRC connection reconfiguration complete message to the base station.
  • Step 406 After receiving the RRC message, the UE parses and stores the device identification information therein, and uses the device identifier to send the discovery signal in the device-to-device discovery process. If the device identification information indicates that the device identifier corresponds to the RRC connected state of the UE, the UE sends the discovery signal by using the device identifier only when it is in the corresponding RRC state. If the UE receives two device identifiers, the UE sends a discovery signal according to the current RRC state using the corresponding device identifier.
  • Step 407. The base station sends an initial context setup complete message to the MME.
  • the MME performs an modify bearer process to the S-GW and the P-GW according to the accepted EPS bearer replied by the base station to establish S1 and S6 bearers.
  • This embodiment describes a method for a base station to allocate a device identifier to a UE during an X2 handover process of the UE.
  • the device identity management entity is located in the base station and / or MME. As shown in FIG. 6, the embodiment includes the following steps:
  • Step 501 The UE detects a strong signal of the neighboring cell, and sends a measurement report to the source base station.
  • Step 502. The source base station performs a handover decision according to the measurement report sent by the UE, and determines to execute the X2 handover procedure. Then the target base station is determined and an X2 handover request message is sent to the target base station.
  • the handover request message may include explicit or implicit indication information indicating that a new device identity needs to be allocated to the UE.
  • the implicit indication may be D2D related capability information of the UE, or the UE is working D2D related applications or behaviors performed.
  • Step 503 The target base station allocates a device identifier for the D2D to the UE.
  • the target base station may further specify a valid time range of the device identifier.
  • the device identifier can uniquely identify the UE in the next cell of the base station, that is, it is valid within the cell range.
  • Step 504. After the target base station performs resource reservation for the UE, the target base station sends a handover request acknowledgement message to the source base station. If the target base station allocates the device identifier to the UE, the message carries the device identifier information including the device identifier. If the target base station is configured with the valid time range of the device identifier, the device identifier information further includes a valid time range of the device identifier. Optionally, the base station may further indicate that the allocated device identifier is used by the UE in the connected state.
  • Step 505 The source base station transparently transmits the handover command sent by the target base station to the UE by using an RRC connection reconfiguration message, where the device identifier information sent by the target base station is included.
  • Step 506 The UE parses and stores the device identification information after receiving the RRC connection reconfiguration message, and sends the discovery signal by using the device identifier in the device-to-device (D2D) discovery process. If the device identification information indicates that the device identifier corresponds to the RRC connected state of the UE, the UE sends the discovery signal by using the device identifier only when it is in the connected state.
  • D2D device-to-device
  • Step 507. The source base station sends an SN state transition message to the target base station, where the uplink and downlink PDCP layer states are included to ensure data packet order and lossless handover.
  • Step 508 The UE disconnects from the source base station, synchronizes with the target base station, establishes an RRC connection, and then sends an RRC connection reconfiguration complete message to the target base station.
  • the message may include explicit or implicit indication information indicating that a new device identity needs to be assigned to the UE.
  • the implicit indication may be D2D related capability information of the UE, or a D2D related application or behavior being performed by the UE.
  • Step 509 The target base station sends a path transfer request message to the MME of the UE to notify the MME that the UE handover is completed and the S1 control plane path is transferred.
  • the MME then sends a modify bearer message to the S-GW to transfer the S1 user plane path.
  • the path transfer request message may include explicit or implicit indication information indicating that a new device identifier needs to be allocated to the UE.
  • the implicit indication can be UE D2D related capability information, or D2D related applications or behaviors that the UE is conducting.
  • Step 510 The MME allocates a device identifier to the UE.
  • the MME determines whether the TAI or the discovery area identifier of the UE is the same as the current TAI or the discovery area identifier when the UE allocates the device identifier. If not, the UE allocates a new device. logo.
  • the MME may further specify a valid time range of the device identifier.
  • the possible situation is: only the MME allocates the device identifier to the UE, or only the base station allocates the device identifier to the UE, or the base station and the MME all allocate the device identifier for the UE.
  • the UE uses the device identifier assigned by the base station or the MME in different RRC states. If the UE uses the device identifier allocated by the MME in the idle state, the UE uses the device identifier allocated by the base station in the connected state.
  • the length of the device identifier used by the UE in different RRC states is different, for example, the device identifier used by the UE in the idle state is longer than the device identifier used in the connected state. In this way, the effective area of the device identifier used by the UE in the idle state is larger than that in the connected state, and the number of times the UE re-acquires after the device identifier fails can be reduced, thereby achieving a greater degree of UE power saving.
  • Step 511 The MME of the UE replies with a path transfer request acknowledgement message to the target base station.
  • the network side identifier information of the UE for example, IMSI, S-TMSI, etc.
  • the message carries the device identifier information including the device identifier.
  • the MME allocates the valid time range of the device identifier the device identifier information further includes a valid time range of the device identifier.
  • the MME may also indicate that the allocated device identifier is used by the UE in an idle state.
  • Step 512 If the path transfer request acknowledgement message received by the target base station includes the device identifier information, the target base station sends an RRC connection reconfiguration to the UE, where the message carries the device identifier information including the device identifier. If the MME simultaneously allocates the valid time range of the device identifier and the RRC state corresponding to the UE, the device identifier information also includes the valid time range and relative of the device identifier. The RRC state should be.
  • Step 513 The UE parses and stores the device identification information after receiving the RRC connection reconfiguration message, and sends the discovery signal by using the device identifier in the device-to-device discovery process. If the device identification information indicates that the device identifier corresponds to the RRC idle state of the UE, the UE sends the discovery signal by using the device identifier only when in the idle state.
  • Step 514 The target base station establishes and maintains a mapping relationship between the device identifier of the UE and the network side identifier, and is used for subsequent D2D related purposes.
  • Step 515 The target base station sends a user context release message to the source base station to notify the source base station that the handover is complete and release the UE related context.
  • Step 516 After receiving the user context release message, the source base station may release the context of the UE, including releasing the device identifier allocated to the UE.
  • This embodiment describes a method for a base station to allocate a device identifier to a UE in an S1 handover procedure of a UE.
  • the device identity management entity is located in the base station and / or MME. As shown in Figure 7, this embodiment includes the following steps:
  • Step 601 The UE detects a strong signal of the neighboring cell, and sends a measurement report to the source base station.
  • Step 602 The source base station performs a handover decision according to the measurement report sent by the UE, and determines to perform the S1 handover procedure. Then, the target base station is determined and an S1 handover request message is sent to the MME of the UE.
  • the handover request message may include explicit or implicit indication information indicating that a new device identity needs to be allocated to the UE.
  • the implicit indication may be D2D related capability information of the UE, or a D2D related application or behavior being performed by the UE.
  • Step 603 The source base station sends a Forward Relocation Request message to the source MME.
  • the message may include explicit or implicit indication information indicating that a new device identity needs to be assigned to the UE.
  • Step 604 The target MME sends an S1 interface switch request message to the target base station, where the message may include explicit or implicit indication information for indicating that the UE needs to be assigned a new device identifier.
  • Step 605. The target base station allocates a device identifier for the D2D to the UE.
  • the target base station may further specify a valid time range of the device identifier.
  • Step 606 The target base station sends a handover request acknowledgement message to the target MME. If the target base station allocates the device identifier to the UE, the message carries the device identifier information including the device identifier. If the target base station is configured with the valid time range of the device identifier, the device identifier information further includes a valid time range of the device identifier. Optionally, the target base station may also indicate that the allocated device identifier is used by the UE in the connected state.
  • the target MME allocates a device identifier to the UE.
  • the MME determines whether the TAI or the discovery area identifier of the UE is the same as the current TAI or the discovery area identifier when the UE allocates the device identifier. If not, the UE is allocated a new one.
  • Equipment Identity optionally, the MME may further specify a valid time range of the device identifier.
  • the possible situation is: only the MME allocates the device identifier to the UE, or only the base station allocates the device identifier to the UE, or the base station and the MME allocate the device identifier to the UE.
  • the UE uses the device identifier assigned by the base station or the MME in different RRC states. If the UE uses the device identifier allocated by the MME in the idle state, the UE uses the device identifier allocated by the base station in the connected state.
  • the length of the device identifier used by the UE in different RRC states is different, for example, the device identifier used by the UE in the idle state is longer than the device identifier used in the connected state. In this way, the effective area of the device identifier used by the UE in the idle state is larger than that in the connected state, and the number of times the UE re-acquires after the device identifier fails can be reduced, thereby achieving a greater degree of UE power saving.
  • Step 608 The target MME sends a forwarding relocation response message to the source MME. If the target MME receives the device identification information from the target base station, the message includes the device identification information received from the target base station. If the target MME allocates the device identifier to the UE, the message carries the device identifier information that is allocated by the target MME and includes the device identifier. If the target MME allocates devices at the same time The effective time range of the identifier, the device identification information further includes a valid time range of the device identifier. Optionally, the target MME may further indicate that the allocated device identifies the RRC state of the corresponding UE.
  • the UE After receiving the RRC message, the UE parses and stores the device identification information therein, and sends the discovery signal by using the device identifier in the device-to-device discovery process. If the device identification information indicates that the device identifier corresponds to the RRC connected state of the UE, the UE sends the discovery signal by using the device identifier only when it is in the corresponding RRC state. If the UE receives two device identifiers, the UE sends a discovery signal by using the corresponding device identifier according to the current RRC state.
  • This embodiment describes a method for a base station to allocate a device identifier to a UE in a device identity allocation process of a UE.
  • the device identity management entity is located in the base station. As shown in FIG. 8, the embodiment includes the following steps:
  • Step 701. The UE triggers the initiating device identity allocation process based on the following conditions:
  • the conditions include any one or a combination of the following:
  • the UE in the idle state or the connected state detects that the allocated device identifier exceeds the valid time range
  • the idle state UE detects that the ECGI of the camped cell changes
  • Event triggering for example, the UE opens the D2D module, the UE opens an application, and the UE starts the D2D discovery/discovery function;
  • the UE periodically triggering, for example, the UE periodically performs D2D discovery/discovery based on the application to update the request list of the buddy list to periodically request the device identification assignment;
  • Step 702 The UE sends a device identity allocation request message to the base station (if the UE is in an idle state, an RRC connection needs to be established first).
  • the message may further include status indication information, configured to indicate a UE status corresponding to the device identifier to be allocated.
  • the message contains the device identifier. Assign the cause value, such as the valid time range, ECGI change, etc.
  • the message includes the MME identity information of the UE.
  • the message includes the base station identification information that is used to allocate the device identifier to the UE and the identifier information of the UE (for example, the C-RNTI of the UE in the last cell, the device identifier that was last allocated to the UE, and the like).
  • the base station allocates a device identifier to the UE.
  • the base station may also specify a valid time range for the device identification.
  • the device identifier can uniquely identify the UE in the next cell of the base station, that is, it is valid within the cell range.
  • the base station determines, according to the status indication information, whether to allocate the device identifier to the UE. Specifically, if the status indication information indicates that the device identifier to be allocated corresponds to the connected state of the UE, the base station allocates the device identifier to the UE.
  • the base station may not allocate the device identifier to the UE according to the seventh embodiment, and send the device identifier allocation request message to the MME of the UE.
  • Step 704 The base station replies to the UE with a device identity assignment response message.
  • the message carries device identification information including the device identifier. If the base station is configured with the valid time range of the device identifier, the device identifier information further includes a valid time range of the device identifier. Optionally, the base station may further indicate that the allocated device identifier is used by the UE in the connected state.
  • Step 705 The UE parses and stores the device identification information after receiving the device identity allocation response message, and sends the discovery signal by using the device identifier in the device-to-device discovery process. If the device identification information indicates that the device identifier corresponds to the RRC connected state of the UE, the UE sends the discovery signal by using the device identifier only when it is in the connected state.
  • Step 706 if the cause value of the device identity allocation request indication received by the base station is a cell ECGI change (because the idle state UE moves out of the original camping cell), the base station sends the device identity release according to the source base station identity information sent by the UE.
  • the request message is sent to the source base station, where the message includes the identifier information of the UE, for example, the C-RNTI of the UE in the last cell (source cell), the device identifier assigned by the source base station to the UE, and the like.
  • Step 707 The source base station releases the device identifier assigned to the UE.
  • the source base station sends a device identity release confirmation message to the base station (target base station) currently serving the UE, to confirm that the device identity release is complete.
  • Step 708 The base station sends a device identity update message to the MME.
  • the message includes a new device identifier allocated by the base station to the UE. Step 708 here can also be performed prior to step 706.
  • This embodiment describes a method for an MME to allocate a device identifier to a UE in a device identity allocation process of a UE.
  • the device identity management entity is located in the MME. As shown in Figure 9, the following steps are included:
  • Step 801. The UE triggers the initiating device identity allocation process based on the following conditions.
  • the conditions include any one or a combination of the following:
  • the UE in the idle state or the connected state detects that the allocated device identifier exceeds the valid time range
  • the UE detects that the TAI/discovery zone identity of its camping cell has changed.
  • the discovery area is composed of one or more cells, and each cell in a discovery area broadcasts a discovery area identifier that uniquely identifies the discovery area;
  • Event triggering for example, the UE opens the D2D module, the UE opens an application, and the UE starts the D2D discovery/discovery function;
  • the UE periodically triggering, for example, the UE periodically performs D2D discovery/discovery based on the application to update the request list of the buddy list to periodically request the device identification assignment;
  • Event-triggered periodicity for example, the UE starts periodic requesting device identification allocation.
  • Step 802. The UE sends a device identity allocation request message to the base station (if the UE is in an idle state, an RRC connection needs to be established first).
  • the message may further include status indication information, configured to indicate a UE status corresponding to the device identifier to be allocated.
  • the message includes a device identifier allocation cause value, such as exceeding a valid time range, a TAI change, a discovery area identifier change, and the like.
  • the message includes the MME identity information of the UE.
  • the message includes the MME identity information that is used to allocate the device identifier to the UE and the identity information of the UE (eg, the IMSI or S-TMSI of the UE, the device identifier assigned to the UE last time, and the like).
  • the identity information of the UE eg, the IMSI or S-TMSI of the UE, the device identifier assigned to the UE last time, and the like.
  • the base station sends a device identity allocation request to the MME of the UE.
  • the base station determines, according to the status indication information, whether to allocate the device identifier to the UE. Specifically, if the status indication information indicates that the device identifier to be allocated corresponds to the idle state of the UE, the base station does not allocate the device identifier to the UE, and sends a device identifier allocation request message to the MME of the UE.
  • the message may further include status indication information, which is used to indicate a UE status corresponding to the device identifier to be allocated.
  • the message includes a device identifier allocation cause value, such as exceeding a valid time range, a TAI change, a discovery area identifier change, and the like.
  • the message includes the MME identity information that last assigned the device identifier to the UE and the identity information of the UE.
  • the MME allocates a device identifier to the UE.
  • the MME may also specify a valid time range for the device identification.
  • the device identifier can uniquely identify the UE in a tracking area or a discovery area composed of multiple cells, that is, in the tracking area or the discovery area.
  • the MME determines, according to the status indication information, whether to allocate a device identifier to the UE. Specifically, if the status indication information indicates that the device identifier to be allocated corresponds to the idle state of the UE, the MME allocates the device identifier to the UE.
  • Step 805. The MME replies to the base station with a device identity assignment response message.
  • the message carries the device identification information including the device identifier. If the MME allocates the valid time range of the device identifier, the device identifier information further includes a valid time range of the device identifier. Optionally, the MME may also Indicates that the assigned device identifier is used by the UE in an idle state.
  • Step 806 if the cause value of the device identity allocation request indication received by the MME is a cell TAI/discovery area identifier change, the MME sends a device identity release request message to the source MME according to the source MME identity information sent by the UE, where the message is sent.
  • the identifier information of the UE is included, for example, the IMSI or S-TMSI of the UE, the device identifier assigned by the source MME to the UE, and the like. Step 606 herein can be performed before or after step 606.
  • Step 807. The source MME releases the device identifier assigned to the UE.
  • the source MME sends a device identifier release confirmation message to the MME (target MME) currently serving the UE, to confirm that the device identifier release is complete.
  • Step 808 The base station sends the received device identification information to the UE by using the device identifier allocation response message, and carries the original device identifier, requesting to release the original device identifier.
  • Step 809 The UE parses and stores the device identification information after receiving the device identity allocation response message, and sends the discovery signal by using the device identifier in the device-to-device discovery process. If the device identification information indicates that the device identifier corresponds to the RRC idle state of the UE, the UE sends the discovery signal by using the device identifier only when in the idle state.
  • This embodiment describes a method in which a UE requests a base station to release a device identifier.
  • the device identity management entity is located in the base station.
  • the embodiment includes the following steps: Step 901.
  • the UE determines that the device identifier is not currently used. For example, the UE turns off the D2D module, or turns off the D2D discovery/discovery feature, or closes an application.
  • Step 902 The UE sends a device identity release request message to the base station (if the UE is in an idle state, an RRC connection needs to be established first).
  • the message may further include status indication information, configured to indicate a UE status corresponding to the device identifier that needs to be released.
  • the message includes a device identifier release reason value.
  • the message includes the MME identity information of the UE.
  • the message includes the device identifier to be released.
  • the base station determines, according to the status indication information, whether the device identifier needs to be released. Specifically, if the status indication information indicates that the device identifier to be allocated corresponds to the connected state of the UE, the base station releases the device identifier allocated for the UE.
  • the base station sends a device identity release confirmation message to the UE to confirm that the device identifier has been released.
  • Step 905 The base station sends a device identity release notification message to the MME of the UE to notify the MME that the device identifier has been released.
  • the message includes a network side identifier of the UE, or a released device identifier.
  • Step 906 the MME sends a device identity release confirmation message to the base station to confirm that the device identifier has been released.
  • This embodiment describes a method in which a UE requests an MME to release a device identifier.
  • the device identity management entity is located in the MME.
  • the embodiment includes the following steps: Step 1001.
  • the UE determines that the device identifier is not currently used. For example, the UE turns off the D2D module, or turns off the D2D discovery/discovery feature, or closes an application.
  • Step 1002 The UE sends a device identity release request message to the base station (if the UE is in an idle state, an RRC connection needs to be established first).
  • the message may further include status indication information, configured to indicate a UE status corresponding to the device identifier that needs to be released.
  • the message contains the device ID release reason value.
  • the message includes the MME identity information of the UE.
  • the message contains the device ID to be released.
  • Step 1003 The base station sends a device identity release request message to the MME. Or, if the device identifier allocation request message sent by the UE includes the status indication information, the base station determines, according to the status indication information, whether the device identifier needs to be released. Specifically, if the status indication information indicates that the device identifier to be allocated corresponds to the idle state of the UE, the base station does not perform the release of the device identifier, but A backup identity release request message is sent to the MME.
  • the message may further include status indication information, configured to indicate a UE status corresponding to the device identifier that needs to be released.
  • the message includes a device identifier release reason value.
  • the message includes the device identifier to be released.
  • Step 1004. The MME releases the device identifier of the UE. Or, if the device identifier allocation request message received by the MME includes status indication information, the MME determines, according to the status indication information, whether the device identifier needs to be released. Specifically, if the status indication information indicates that the device identifier to be allocated corresponds to the idle state of the UE, the MME releases the device identifier allocated for the UE.
  • Step 1005. the MME sends a device identity release response message to the base station to confirm that the device identifier has been released.
  • Step 1006 the base station sends a device identity release response message to the UE to confirm that the device identifier has been released.
  • a device identification distribution system includes: a device identification allocation unit and a device identification sending unit located on a device identity management entity side; wherein the device identifier allocation unit is configured to allocate a device identifier to the UE; the device identifier sending unit is configured to Sending information to the UE, the information including the device identifier; the device identifier is used to identify the UE in device-to-device discovery and/or device-to-device communication.
  • the device identity allocation unit is further configured to allocate the device identifier to the UE in an attach procedure of the UE;
  • the device identifier is allocated to the UE in the tracking area update process of the UE; or, the UE identifier is allocated to the UE in a service request process of the UE;
  • the device identifier is allocated to the UE in a handover process of the UE;
  • the device identifier is allocated to the UE in a device identity allocation process of the UE.
  • the device identifier allocation unit is further configured to allocate the device identifiers used by the UE in different RRC states by different device identifier management entities; or the device identifiers used by the UE in different RRC states are managed by the same device identifier. Entity allocation.
  • the device identifier allocation unit is further configured to allocate to the UE that the lengths of the device identifiers used by the UE in different RRC states are different.
  • the device identifier allocation unit is further configured to allocate a device identifier to the UE according to the subscription level of the UE.
  • the device identifier allocation unit is further configured to allocate different device identifier lengths to UEs of different subscription levels;
  • the device identifier sending unit is further configured to: if the device identifier used by the UE in different RRC states is allocated by different device identifier management entities, the information sent includes the UE status corresponding to the device identifier.
  • the UE status includes: an idle state and a connected state.
  • the device identifier sending unit further configured to send the information further includes a valid time range of the device identifier.
  • the device identifier allocation unit is further configured to: when the device identifier is allocated to the UE in the device identifier allocation process of the UE, after the device identifier exceeds the valid time range, receive the assignment from the UE a request for a new device identification;
  • the UE when the UE detects that the cell identity of the currently camped cell is changed, the UE receives a request for allocating a new device identifier from the UE;
  • the UE when the UE detects that the discovery area identifier of the currently camped cell broadcast changes, receiving a request for allocating a new device identifier from the UE;
  • receiving a clearing of the allocation device identifier from the event triggering periodic manner of the UE Or receiving a request for periodic allocation of device identification from the UE.
  • the system further includes: a device identifier release unit located on the device identifier management entity side, configured to release the allocated device identifier when the device identifier is required to be released, and the allocated device identifier is released.
  • a device identifier release unit located on the device identifier management entity side, configured to release the allocated device identifier when the device identifier is required to be released, and the allocated device identifier is released.
  • the device identifier release unit is further configured to determine, according to the device identifier release indication information of the UE, whether the allocated device identifier needs to be released;
  • the device identifier release indication information of other network elements it is determined whether the allocated device identifier needs to be released.
  • the device identifier release unit is further configured to: when the information sent includes the valid time range of the device identifier, after the valid time range is exceeded, it is determined that the allocated device identifier needs to be released, and the allocated device identifier is allocated. The device ID is released.
  • the device identification management entity allocates a device identifier to the UE; the device identifier management entity sends information to the UE, where the information includes the device identifier.
  • the network side allocates an identifier to the UE in the D2D scenario.

Landscapes

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

Abstract

Disclosed are an equipment identification allocation method and system. The method comprises: an equipment identification management entity allocating an equipment identification for a user equipment (UE); and the equipment identification management entity sending information to the UE, wherein the information contains the equipment identification. In the system, an equipment identification allocation unit is configured to allocate the equipment identification for the UE; and an equipment identification sending unit is used for sending information to the UE, wherein the information contains the equipment identification. By adopting the present invention, a network side can allocate an identification for a UE in a device-to-device scenario.

Description

一种设备标识的分配方法及系统 技术领域  Method and system for allocating equipment identification
本发明涉及无线通信技术领域的标识分配技术, 尤其涉及一种设备标 识的分配方法及系统。 背景技术  The present invention relates to an identity distribution technology in the field of wireless communication technologies, and in particular, to a method and system for allocating device identification. Background technique
随着无线多媒体业务的发展, 人们对高数据速率和用户体验的需求日 益增长, 从而对传统蜂窝网络的系统容量和覆盖提出了较高要求。 另一方 面社交网络、 近距离数据共享、 本地广告等应用的流行使得人们对了解附 近感兴趣的人或事物并与之通信的需求逐渐增加。 现有的基于小区的蜂窝 求背景下, 代表未来通信技术发展新方向的设备到设备 ( D2D, Device-to-Device )技术应运而生。 D2D技术的应用, 可以减轻蜂窝网络的 负担、 减少用户设备的电池功耗、 提高数据速率, 并改善网络基础设施的 鲁棒性, 很好地满足上述高数据速率业务和邻近服务的要求。  With the development of wireless multimedia services, the demand for high data rates and user experiences is increasing, which places high demands on the system capacity and coverage of traditional cellular networks. The popularity of applications such as social networking, near-field data sharing, and local advertising has led to an increasing demand for people who are interested in and communicating with nearby people. In the context of existing cell-based cells, device-to-device (D2D) technology, which represents a new direction for the development of future communication technologies, has emerged. The application of D2D technology can reduce the burden on the cellular network, reduce the battery power consumption of the user equipment, increase the data rate, and improve the robustness of the network infrastructure, which satisfies the requirements of the above high data rate services and proximity services.
D2D技术可以工作在授权频段或非授权频段,允许多个支持 D2D功能 的用户设备, 即 D2D用户设备( D2D UE, D2D User Equipment )在有网络 基础设施或无网络基础设施的情况下进行直接发现 /直接通信。 D2D的应用 场景主要有三种:  D2D technology can work in licensed or unlicensed frequency bands, allowing multiple D2D-enabled user equipments, namely D2D User Equipment (D2D User Equipment) to perform direct discovery without network infrastructure or network infrastructure. / Direct communication. There are three main types of D2D applications:
1 )用户设备(UE ) 1 和 UE2在蜂窝网络的覆盖下进行数据交互, 用 户面数据不经过网络基础设施, 如图 1的模式 1所示。  1) User equipment (UE) 1 and UE2 perform data interaction under the coverage of the cellular network, and the user plane data does not pass through the network infrastructure, as shown in mode 1 of FIG.
2 )在弱 /无覆盖区域的 UE中继传输, 如图 1中的模式 2所示, 允许信 号质量较差的 UE4通过附近有网络覆盖的 UE3与网络进行通信,能帮助运 营商扩展覆盖、 提高容量。 3 )在发生地震或紧急情况, 蜂窝网络不能正常工作的情况下, 允许设 备间直接通信, 如图 1中的模式 3所示, UE5、 UE6和 UE7间控制面和用 户面都不经过网络基础设施而进行一跳或多跳的数据通信。 2) UE relay transmission in the weak/uncovered area, as shown in mode 2 in FIG. 1, the UE 4 that allows poor signal quality communicates with the network through the UE3 with network coverage nearby, which can help the operator to expand coverage, Increase capacity. 3) In the event of an earthquake or emergency, if the cellular network is not working properly, direct communication between devices is allowed. As shown in mode 3 in Figure 1, the control plane and user plane between UE5, UE6 and UE7 do not pass through the network foundation. One-hop or multi-hop data communication for the facility.
D2D技术通常包括 D2D发现技术和 D2D通信技术:  D2D technology usually includes D2D discovery technology and D2D communication technology:
1 ) D2D发现技术是指用于判断 /确定两个或多个 D2D用户设备之间相 互邻近(例如在可进行 D2D直接通信范围之内 )或用于判断 /确定第一用户 设备邻近第二用户设备的技术。  1) D2D discovery technology refers to determining/determining the proximity between two or more D2D user equipments (for example, within a range in which D2D direct communication is possible) or for determining/determining that a first user equipment is adjacent to a second user Equipment technology.
2 ) D2D通信技术是指 D2D用户设备之间部分或全部通信数据可以不 通过网络基础设施而直接进行通信的技术。  2) D2D communication technology refers to a technology in which some or all of the communication data between D2D user equipments can communicate directly without going through the network infrastructure.
通常, D2D用户设备间可通过发送或接收发现信号 /信息来发现对方, 在有蜂窝网络覆盖下, 网络可辅助 D2D用户设备进行 D2D发现并实现对 D2D发现的管理和控制。 该发现信号 /信息中可包含标识发送该发现信号的 用户设备的设备标识信息, 也可称为发现 ID。发现 ID通常由网络分配, 用 于特定区域内在空口唯一标识 D2D用户设备。  Generally, D2D user equipment can discover each other by sending or receiving discovery signals/information. Under the coverage of cellular network, the network can assist D2D user equipment to perform D2D discovery and realize management and control of D2D discovery. The discovery signal/information may include device identification information identifying the user equipment that sent the discovery signal, and may also be referred to as a discovery ID. The discovery ID is usually assigned by the network and is used to uniquely identify the D2D user equipment in the air interface in a specific area.
由于发现 ID在其有效区域内是可以唯一标识 UE的, 而在不同的空间 上是可以复用的, UE移动出发现 ID的有效区域情况下, 若还使用原先的 发现 ID, 则很有可能与其它不同 UE的发现 ID发生冲突, 网络不能通过发 现 ID唯一标识出 UE, 将导致 D2D发现不能顺利执行, 因此, 发现 ID具 有地域有效性及时间有效性,一旦超出特定区域或特定时长则发现 ID失效, 在 D2D场景下需要网络侧具备将该发现 ID回收并为 UE重新分配发现 ID 的分配机制, 然而, 现有标准中, LTE系统在 D2D场景下并不支持发现 ID 的分配机制。 发明内容  Since the discovery ID can uniquely identify the UE in its effective area and can be multiplexed in different spaces, if the UE moves out of the effective area of the discovery ID, if the original discovery ID is also used, it is likely If the discovery ID of the other UEs conflicts with each other, the network cannot uniquely identify the UE by using the discovery ID, which will result in the D2D discovery being unsuccessful. Therefore, the discovery ID has regional validity and time validity. Once the specific area or specific time is exceeded, it is found. The ID is invalid. In the D2D scenario, the network side needs to have an allocation mechanism for recovering the discovery ID and re-allocating the discovery ID for the UE. However, in the existing standard, the LTE system does not support the discovery ID allocation mechanism in the D2D scenario. Summary of the invention
有鉴于此, 本发明实施例的主要目的在于提供一种设备标识的分配方 法及系统, 在 D2D场景下网络侧能为 UE分配标识。 为达到上述目的, 本发明实施例的技术方案是这样实现的: 一种设备标识的分配方法, 该方法包括: In view of this, the main purpose of the embodiments of the present invention is to provide a method and system for allocating device identifiers. In the D2D scenario, the network side can assign an identifier to the UE. To achieve the above objective, the technical solution of the embodiment of the present invention is implemented as follows: A method for allocating device identifiers, the method includes:
设备标识管理实体为用户设备 UE分配设备标识;  The device identity management entity allocates a device identifier to the user equipment UE;
设备标识管理实体发送信息给所述 UE, 所述信息包含所述设备标识。 其中, 所述设备标识管理实体为 UE分配设备标识, 还包括: 所述设备标识管理实体在 UE的附着过程中为所述 UE分配设备标识; 或者, 所述设备标识管理实体在 UE的跟踪区域更新过程中为所述 UE 分配设备标识;  The device identity management entity sends information to the UE, and the information includes the device identifier. The device identifier management entity allocates a device identifier to the UE, and the device identifier management entity allocates a device identifier to the UE in the process of attaching the UE; or the device identifier management entity is in the tracking area of the UE. Assigning a device identifier to the UE during the update process;
或者,所述设备标识管理实体在 UE的服务请求过程中为所述 UE分配 设备标识;  Or the device identifier management entity allocates a device identifier to the UE in a service request process of the UE;
或者,所述设备标识管理实体在 UE的切换过程中为所述 UE分配设备 标识;  Or the device identifier management entity allocates a device identifier to the UE in a handover process of the UE;
或者, 所述设备标识管理实体在 UE的设备标识分配过程中为所述 UE 分配设备标识。  Or the device identifier management entity allocates a device identifier to the UE in a device identifier allocation process of the UE.
其中,所述设备标识管理实体在 UE的切换过程中为所述 UE分配设备 标识, 还包括:  The device identifier management entity allocates a device identifier to the UE in the handover process of the UE, and further includes:
第一设备标识管理实体通过显式或隐式的方式指示第二设备标识管理 实体所述 UE 需要分配新的设备标识; 所述第一设备标识管理实体为所述 UE的源设备标识管理实体; 所述第二设备标识管理实体为所述 UE的目标 设备标识管理实体。  The first device identifier management entity indicates that the second device identifier management entity needs to allocate a new device identifier in an explicit or implicit manner; the first device identifier management entity is a source device identifier management entity of the UE; The second device identity management entity is a target device identity management entity of the UE.
其中, 所述设备标识管理实体为 UE分配设备标识, 还包括:  The device identifier management entity allocates a device identifier to the UE, and further includes:
UE在不同的 RRC状态下使用的设备标识由不同的设备标识管理实体 分配;  The device identifiers used by the UE in different RRC states are allocated by different device identity management entities;
或者, UE在不同的 RRC状态下使用的设备标识由相同的设备标识管 理实体分配。 其中, 所述 UE在不同的 RRC状态下使用的设备标识由不同的设备标 识管理实体分配, 还包括: Alternatively, the device identifiers used by the UE in different RRC states are allocated by the same device identity management entity. The device identifiers used by the UE in different RRC states are allocated by different device identifier management entities, and the method further includes:
UE在连接态下使用的设备标识由基站分配, UE在空闲态下使用的设 备标识由移动管理实体分配。  The device identifier used by the UE in the connected state is allocated by the base station, and the device identifier used by the UE in the idle state is allocated by the mobility management entity.
其中, 所述设备标识管理实体为 UE分配设备标识, 还包括: 所述设备标识管理实体分配的用于 UE在不同的 RRC状态下使用的设 备标识的长度不相同。  The device identifier management entity allocates a device identifier to the UE, and further includes: the device identifiers allocated by the device identifier management entity for use by the UE in different RRC states are different in length.
其中, 所述设备标识管理实体为 UE分配设备标识, 还包括: 所述设备标识管理实体根据所述 UE的签约等级为所述 UE分配设备标 识。  The device identifier management entity allocates a device identifier to the UE, and further includes: the device identifier management entity allocates a device identifier to the UE according to the subscription level of the UE.
其中,所述设备标识管理实体根据所述 UE的签约等级为所述 UE分配 设备标识, 还包括:  The device identifier management entity allocates a device identifier to the UE according to the subscription level of the UE, and further includes:
所述设备标识管理实体为不同签约等级的 UE分配的设备标识长度不 同;  The device identification management entity allocates different device identification lengths for UEs of different subscription levels;
或者, 所述设备标识管理实体从不同的设备标识集合中为不同签约等 级的 UE分配设备标识。  Alternatively, the device identity management entity allocates device identifiers for UEs of different subscription levels from different device identity sets.
其中, 所述设备标识管理实体发送信息给所述 UE, 所述信息包含所述 设备标识, 还包括:  The device identifier management entity sends information to the UE, where the information includes the device identifier, and further includes:
UE在不同的 RRC状态下使用的设备标识由不同的设备标识管理实体 分配情况下, 所述信息还包含所述设备标识对应的 UE状态; 所述 UE状态 包括: 空闲态和连接态。  In the case that the device identifier used by the UE in different RRC states is allocated by a different device identity management entity, the information further includes the UE state corresponding to the device identifier; the UE state includes: an idle state and a connected state.
其中, 所述设备标识管理实体发送信息给所述 UE, 所述信息包含所述 设备标识, 还包括:  The device identifier management entity sends information to the UE, where the information includes the device identifier, and further includes:
所述信息中还包含所述设备标识的有效时间范围。  The information also includes a valid time range of the device identification.
其中,所述设备标识管理实体在所述 UE的设备标识分配过程中为所述 UE分配设备标识, 还包括: The device identity management entity is in the device identity allocation process of the UE. The UE allocates the device identifier, and further includes:
所述 UE从设备标识管理实体接收的信息包含设备标识的有效时间范 围的情况下, 所述设备标识超出有效时间范围后,所述 UE向所述设备标识 管理实体请求分配新的设备标识;  When the information received by the UE from the device identity management entity includes the valid time range of the device identifier, after the device identifier exceeds the valid time range, the UE requests the device identity management entity to allocate a new device identifier.
或者,若所述 UE检测到当前所驻留小区广播的小区标识改变,则所述 UE向所述设备标识管理实体请求分配新的设备标识;  Or, if the UE detects a cell identity change of the currently camped cell broadcast, the UE requests the device identity management entity to allocate a new device identifier;
或者,若所述 UE检测到当前所驻留小区广播的跟踪区域码改变,则所 述 UE向所述设备标识管理实体请求分配新的设备标识;  Or, if the UE detects that the tracking area code of the currently camped cell broadcast changes, the UE requests the device identity management entity to allocate a new device identifier;
或者,若所述 UE检测到当前所驻留小区广播的发现区域标识改变, 则 所述 UE向所述设备标识管理实体请求分配新的设备标识;  Or, if the UE detects that the discovery area identifier of the currently camped cell broadcast changes, the UE requests the device identity management entity to allocate a new device identifier;
或者,所述 UE基于事件触发的方式向所述设备标识管理实体请求分配 设备标识;  Or the UE requests the device identity management entity to allocate a device identifier according to an event-triggered manner;
或者,所述 UE基于事件触发的周期性方式向所述设备标识管理实体请 求分配设备标识;  Or the UE allocates a device identifier to the device identity management entity request according to an event-triggered periodic manner;
或者, 所述 UE周期性的向所述设备标识管理实体请求分配设备标识。 其中,所述设备标识管理实体为 UE分配设备标识之后,该方法还包括: 所述设备标识管理实体判断是否需要释放已分配的设备标识, 若需要 释放设备标识, 则释放所述已分配的设备标识。  Or the UE periodically requests the device identity management entity to allocate a device identifier. After the device identifier management entity allocates the device identifier to the UE, the method further includes: the device identifier management entity determining whether the allocated device identifier needs to be released, and if the device identifier needs to be released, releasing the allocated device Logo.
其中, 所述设备标识管理实体判断是否需要释放已分配的设备标识, 还包括:  The device identifier management entity determines whether it is necessary to release the allocated device identifier, and further includes:
所述设备标识管理实体根据所述 UE 的设备标识释放指示信息判断是 否需要释放已分配的设备标识;  The device identifier management entity determines, according to the device identifier release indication information of the UE, whether the allocated device identifier needs to be released;
或者,所述设备标识管理实体根据当前为所述 UE分配设备标识的设备 标识管理实体的设备标识释放指示信息判断是否需要释放已分配的设备标 或者, 所述设备标识管理实体根据其它网元的设备标识释放指示信息 判断是否需要释放已分配的设备标识。 Or the device identifier management entity determines, according to the device identifier release indication information of the device identifier management entity that currently allocates the device identifier to the UE, whether the required device label needs to be released. Or the device identifier management entity determines, according to the device identifier release indication information of other network elements, whether the allocated device identifier needs to be released.
其中,所述设备标识管理实体根据所述 UE的设备标识释放指示信息判 断是否需要释放已分配的设备标识, 还包括:  The device identifier management entity determines whether it is necessary to release the allocated device identifier according to the device identifier release indication information of the UE, and further includes:
若所述 UE判断当前不需要使用设备标识,则发送设备标识释放指示信 息指示设备标识管理实体释放为所述 UE分配的设备标识。  And if the UE determines that the device identifier is not required to be used, the sending device identifier release indication information indicates that the device identifier management entity releases the device identifier allocated for the UE.
其中,所述设备标识管理实体根据当前为所述 UE分配设备标识的设备 标识管理实体的设备标识释放指示信息判断是否需要释放已分配的设备标 识, 还包括:  The device identifier management entity determines whether the device identifier needs to be released according to the device identifier release indication information of the device identifier management entity that is currently assigned the device identifier of the UE, and further includes:
当前为所述 UE分配设备标识的设备标识管理实体根据所述 UE发送的 上一次为所述 UE分配设备标识的设备标识管理实体的标识信息和所述 UE 的标识信息指示所述上一次为所述 UE 分配设备标识的设备标识管理实体 释放已经为所述 UE分配的设备标识。  The device identifier management entity that currently allocates the device identifier to the UE indicates, according to the identifier information of the device identifier management entity that is configured to allocate the device identifier to the UE, and the identifier information of the UE that is sent by the UE. The device identity management entity that describes the UE assignment device identity releases the device identity that has been assigned to the UE.
其中, 所述设备标识管理实体判断是否需要释放已分配的设备标识, 还包括:  The device identifier management entity determines whether it is necessary to release the allocated device identifier, and further includes:
若所述设备标识管理实体发送给所述 UE 的信息指示了设备标识的有 效时间范围, 则超出有效时间范围后, 所述设备标识管理实体判断需要释 放已分配的设备标识, 并将所述已分配的设备标识释放。  If the information sent by the device identity management entity to the UE indicates the valid time range of the device identifier, after the valid time range is exceeded, the device identity management entity determines that the allocated device identifier needs to be released, and the The assigned device ID is released.
其中,所述设备管理实体为 UE分配的设备标识由以下任意一个或多个 组成:  The device identifier allocated by the device management entity to the UE is composed of any one or more of the following:
用于设备到设备用途的标识信息;  Identification information for device-to-device use;
所述 UE的临时移动用户标识 TMSI;  Temporary mobile subscriber identity TMSI of the UE;
所述 UE的国际移动用户识别码 IMSI;  The UE's International Mobile Subscriber Identity (IMSSI);
所述 UE的小区无线网络临时标识 C-RNTI;  The cell radio network of the UE temporarily identifies a C-RNTI;
所述 UE的 IP地址; 所述 UE所在的跟踪区域 TA标识信息。 The IP address of the UE; The tracking area TA where the UE is located identifies information.
一种设备标识的分配系统, 该系统包括: 位于设备标识管理实体侧的 设备标识分配单元和设备标识发送单元; 其中,  A device identification distribution system, the system includes: a device identification allocation unit and a device identification sending unit located on a device identity management entity side;
所述设备标识分配单元, 配置为给 UE分配设备标识;  The device identifier allocation unit is configured to allocate a device identifier to the UE;
所述设备标识发送单元, 配置为发送信息给所述 UE, 所述信息包含所 述设备标识。  The device identifier sending unit is configured to send information to the UE, where the information includes the device identifier.
所述设备标识分配单元和所述设备标识发送单元, 在执行处理时, 可 以采用中央处理器( CPU, Central Processing Unit )、数字信号处理器( DSP, Digital Signal Processor )或可编程遝辑阵歹1 J ( FPGA, Field - Programmable Gate Array ) 实现。 The device identifier allocation unit and the device identifier sending unit may use a central processing unit (CPU), a digital signal processor (DSP), or a programmable signal array when performing processing. 1 J (FPGA, Field - Programmable Gate Array) implementation.
其中, 所述设备标识分配单元, 还配置为在 UE 的附着过程中为所述 UE分配设备标识;  The device identifier allocation unit is further configured to allocate a device identifier to the UE in an attaching process of the UE;
或者, 在 UE的跟踪区域更新过程中为所述 UE分配设备标识; 或者, 在 UE的服务请求过程中为所述 UE分配设备标识;  Or, the device identifier is allocated to the UE in the tracking area update process of the UE; or, the UE identifier is allocated to the UE in a service request process of the UE;
或者, 在 UE的切换过程中为所述 UE分配设备标识;  Or, the device identifier is allocated to the UE in a handover process of the UE;
或者, 在 UE的设备标识分配过程中为所述 UE分配设备标识。  Or, the device identifier is allocated to the UE in a device identity allocation process of the UE.
其中, 所述设备标识分配单元, 还配置为 UE在不同的 RRC状态下使 用的设备标识由不同的设备标识管理实体分配; 或者, UE在不同的 RRC 状态下使用的设备标识由相同的设备标识管理实体分配。  The device identifier allocation unit is further configured to allocate the device identifiers used by the UE in different RRC states by different device identifier management entities; or the device identifiers used by the UE in different RRC states are identified by the same device identifier. Manage entity assignments.
其中, 所述设备标识分配单元, 还配置为给 UE分配的用于 UE在不同 的 RRC状态下使用的设备标识的长度为不相同。  The device identifier allocation unit is further configured to allocate, to the UE, the lengths of the device identifiers used by the UEs in different RRC states to be different.
其中, 所述设备标识分配单元,还配置为根据所述 UE的签约等级为所 述 UE分配设备标识。  The device identifier allocation unit is further configured to allocate a device identifier to the UE according to the subscription level of the UE.
其中, 所述设备标识分配单元,还配置为给不同签约等级的 UE分配的 设备标识长度不同; 或者, 从不同的设备标识集合中为不同签约等级的 UE分配设备标识。 其中, 所述设备标识发送单元, 还配置为 UE在不同的 RRC状态下使 用的设备标识由不同的设备标识管理实体分配情况下, 发送的所述信息中 还包含所述设备标识对应的 UE状态;所述 UE状态包括:空闲态和连接态。 The device identifier allocation unit is further configured to allocate different device identifier lengths to UEs of different subscription levels; Or, assigning device identifiers to UEs of different subscription levels from different device identifier sets. The device identifier sending unit is further configured to: if the device identifier used by the UE in different RRC states is allocated by different device identifier management entities, the information sent by the UE further includes the UE status corresponding to the device identifier. The UE status includes: an idle state and a connected state.
其中, 所述设备标识发送单元, 还配置为发送的所述信息中还包含所 述设备标识的有效时间范围。  The device identifier sending unit is further configured to include the valid time range of the device identifier in the information that is sent.
其中, 所述设备标识分配单元,还配置为在所述 UE的设备标识分配过 程中为所述 UE 分配设备标识的情况下, 所述设备标识超出有效时间范围 后, 接收来自于所述 UE的分配新的设备标识的请求;  The device identifier allocation unit is further configured to: when the device identifier is allocated to the UE in the device identifier allocation process of the UE, after the device identifier exceeds the valid time range, the device identifier is received from the UE. a request to assign a new device ID;
或者, UE检测到当前所驻留小区广播的小区标识改变时, 接收来自于 所述 UE的分配新的设备标识的请求;  Or, when the UE detects that the cell identity of the currently camped cell is changed, the UE receives a request for allocating a new device identifier from the UE;
或者, UE检测到当前所驻留小区广播的跟踪区域码改变时, 接收来自 于所述 UE的分配新的设备标识的请求;  Or, when the UE detects that the tracking area code of the currently camped cell broadcast changes, receiving a request for allocating a new device identifier from the UE;
或者, UE检测到当前所驻留小区广播的发现区域标识改变时, 接收来 自于所述 UE的分配新的设备标识的请求;  Or, when the UE detects that the discovery area identifier of the currently camped cell broadcast changes, receiving a request for allocating a new device identifier from the UE;
或者,接收来自于所述 UE的基于事件触发的方式的分配设备标识的请 求;  Or receiving a request for assigning a device identifier from an event triggering manner of the UE;
或者,接收来自于所述 UE的基于事件触发的周期性方式的分配设备标 识的清求;  Or receiving, by the UE, an event-triggered periodic manner of the allocation of the device identifier;
或者, 接收来自于所述 UE的周期性的分配设备标识的请求。  Alternatively, a request for periodic allocation of device identification from the UE is received.
其中, 该系统还包括: 位于设备标识管理实体侧的设备标识释放单元, 配置为已分配设备标识后, 判断出需要释放已分配的设备标识时, 释放已 分配的设备标识。  The system further includes: a device identifier release unit located on the device identifier management entity side, configured to release the allocated device identifier when the device identifier is required to be released, and then the device identifier is released.
其中, 所述设备标识释放单元,还配置为根据所述 UE的设备标识释放 指示信息判断是否需要释放已分配的设备标识; 或者,根据当前为所述 UE分配设备标识的设备标识管理实体的设备标 识释放指示信息判断是否需要释放已分配的设备标识; The device identifier release unit is further configured to determine, according to the device identifier release indication information of the UE, whether the allocated device identifier needs to be released; Or determining, according to the device identifier release indication information of the device identifier management entity that currently allocates the device identifier to the UE, whether the allocated device identifier needs to be released;
或者, 根据其它网元的设备标识释放指示信息判断是否需要释放已分 配的设备标识。  Or, according to the device identifier release indication information of other network elements, it is determined whether the allocated device identifier needs to be released.
其中, 所述设备标识释放单元, 还配置为发送的所述信息中还包含所 述设备标识的有效时间范围的情况下, 超出有效时间范围后判断出需要释 放已分配的设备标识, 并将已分配的设备标识释放。  The device identifier release unit is further configured to: when the information sent includes the valid time range of the device identifier, after the valid time range is exceeded, it is determined that the allocated device identifier needs to be released, and The assigned device ID is released.
本发明实施例通过设备标识管理实体为 UE分配设备标识;设备标识管 理实体发送信息给 UE, 信息包含设备标识。 采用本发明实施例, 在 D2D 场景下实现了网络侧为 UE分配标识。 附图说明  In the embodiment of the present invention, the device identifier management entity allocates a device identifier to the UE; the device identifier management entity sends information to the UE, where the information includes the device identifier. In the embodiment of the present invention, the network side allocates an identifier to the UE in the D2D scenario. DRAWINGS
图 1为应用 D2D技术的应用模式示意图;  FIG. 1 is a schematic diagram of an application mode in which D2D technology is applied;
图 2为本发明实施例方法的实现流程示意图;  2 is a schematic diagram of an implementation process of a method according to an embodiment of the present invention;
图 3为本发明的方法实施例一的实现流程示意图;  3 is a schematic flowchart of an implementation process of Embodiment 1 of the method of the present invention;
图 4为本发明的方法实施例二的实现流程示意图;  4 is a schematic diagram of an implementation process of a second embodiment of a method according to the present invention;
图 5为本发明的方法实施例三的实现流程示意图;  FIG. 5 is a schematic flowchart of an implementation process of a third embodiment of a method according to the present invention; FIG.
图 6为本发明的方法实施例四的实现流程示意图;  6 is a schematic flowchart of an implementation process of Embodiment 4 of the method of the present invention;
图 7为本发明的方法实施例五的实现流程示意图;  7 is a schematic flowchart of an implementation process of Embodiment 5 of the method according to the present invention;
图 8为本发明的方法实施例六的实现流程示意图;  8 is a schematic flowchart of an implementation process of Embodiment 6 of the method according to the present invention;
图 9为本发明的方法实施例七的实现流程示意图;  9 is a schematic diagram of an implementation process of Embodiment 7 of the method according to the present invention;
图 10为本发明的方法实施例八的实现流程示意图;  10 is a schematic flowchart of an implementation process of Embodiment 8 of the method according to the present invention;
图 11为本发明的方法实施例九的实现流程示意图。 具体实施方式  FIG. 11 is a schematic flowchart of an implementation process of Embodiment 9 of the method of the present invention. detailed description
在本发明实施例中,设备标识管理实体为 UE分配设备标识;设备标识 管理实体发送信息给 UE, 信息包含设备标识。 In the embodiment of the present invention, the device identity management entity allocates a device identifier to the UE; the device identifier The management entity sends information to the UE, and the information includes the device identifier.
一种设备标识的分配方法, 该方法主要包括以下内容:  A method for allocating device identification, the method mainly includes the following contents:
设备标识管理实体为 UE分配设备标识;  The device identity management entity allocates a device identifier to the UE;
设备标识管理实体发送信息给所述 UE, 所述信息包含为 UE分配的所 述设备标识, 所述设备标识用于设备到设备发现和 /或设备到设备通信中标 识所述 UE。  The device identity management entity sends information to the UE, the information including the device identity assigned to the UE, the device identity being used to identify the UE in device-to-device discovery and/or device-to-device communication.
优选的, 所述设备标识管理实体为 UE分配设备标识, 还包括: 所述设备标识管理实体在所述 UE的附着过程中为所述 UE分配设备标 识;  Preferably, the device identifier management entity allocates the device identifier to the UE, and the method further includes: the device identifier management entity assigning the device identifier to the UE in the attaching process of the UE;
或者,所述设备标识管理实体在所述 UE的跟踪区域更新过程中为所述 UE分配设备标识;  Or the device identifier management entity allocates a device identifier to the UE in a tracking area update process of the UE;
或者, 所述设备标识管理实体在所述 UE的服务请求过程中为所述 UE 分配设备标识;  Or the device identifier management entity allocates a device identifier to the UE in a service request process of the UE;
或者,所述设备标识管理实体在所述 UE的切换过程中为所述 UE分配 设备标识;  Or the device identifier management entity allocates a device identifier to the UE in a handover process of the UE;
或者,所述设备标识管理实体在所述 UE的设备标识分配过程中为所述 UE分配设备标识。  Alternatively, the device identity management entity allocates a device identity to the UE in a device identity allocation process of the UE.
优选的,所述设备标识管理实体在所述 UE的切换过程中为所述 UE分 配设备标识, 还包括:  Preferably, the device identifier management entity allocates the device identifier to the UE in the handover process of the UE, and further includes:
第一设备标识管理实体通过显式或隐式的方式指示第二设备标识管理 实体所述 UE 需要分配新的设备标识; 所述第一设备标识管理实体为所述 UE的源设备标识管理实体; 所述第二设备标识管理实体为所述 UE的目标 设备标识管理实体。  The first device identifier management entity indicates that the second device identifier management entity needs to allocate a new device identifier in an explicit or implicit manner; the first device identifier management entity is a source device identifier management entity of the UE; The second device identity management entity is a target device identity management entity of the UE.
优选的, 所述设备标识管理实体为 UE分配设备标识, 还包括:  Preferably, the device identifier management entity allocates a device identifier to the UE, and further includes:
UE在不同的 RRC状态下使用的设备标识由不同的设备标识管理实体 分配; The device identifier used by the UE in different RRC states is managed by a different device identifier. Assignment
或者, UE在不同的 RRC状态下使用的设备标识由相同的设备标识管 理实体分配。  Alternatively, the device identifiers used by the UE in different RRC states are allocated by the same device identity management entity.
优选的, UE在不同的 RRC状态下使用的设备标识由不同的设备标识 管理实体分配, 还包括:  Preferably, the device identifiers used by the UE in different RRC states are allocated by different device identifier management entities, and the method further includes:
UE在连接态下使用的设备标识由基站分配, UE在空闲态下使用的设 备标识由移动管理实体分配。  The device identifier used by the UE in the connected state is allocated by the base station, and the device identifier used by the UE in the idle state is allocated by the mobility management entity.
优选的, 所述设备标识管理实体为 UE分配设备标识, 还包括: 所述设备标识管理实体分配的用于 UE在不同的 RRC状态下使用的设 备标识的长度不相同。  Preferably, the device identifier management entity allocates the device identifier to the UE, and further includes: the device identifiers allocated by the device identifier management entity for use by the UE in different RRC states are different in length.
优选的, 所述设备标识管理实体分配的用于 UE在不同的 RRC状态下 使用的设备标识的长度不相同, 还包括:  Preferably, the device identifiers used by the device identifier management entity for the UEs to be used in different RRC states are different in length, and the method further includes:
UE 在空闲态下使用的设备标识比在连接态下使用的设备标识长度更 长。  The device identifier used by the UE in the idle state is longer than the device identifier used in the connected state.
优选的, 所述设备标识管理实体为 UE分配设备标识, 还包括: 所述设备标识管理实体根据所述 UE的签约等级为所述 UE分配设备标 识。  Preferably, the device identifier management entity allocates the device identifier to the UE, and the method further includes: the device identifier management entity assigning the device identifier to the UE according to the subscription level of the UE.
优选的,所述设备标识管理实体根据所述 UE的签约等级为所述 UE分 配设备标识, 还包括:  Preferably, the device identifier management entity allocates the device identifier to the UE according to the subscription level of the UE, and further includes:
所述设备标识管理实体为不同签约等级的 UE分配的设备标识长度不 同;  The device identification management entity allocates different device identification lengths for UEs of different subscription levels;
或者, 所述设备标识管理实体从不同的设备标识集合中为不同签约等 级的 UE分配设备标识。  Alternatively, the device identity management entity allocates device identifiers for UEs of different subscription levels from different device identity sets.
优选的, 所述设备标识管理实体发送信息给所述 UE, 所述信息包含所 述设备标识, 还包括: 所述信息中包含一个或多个设备标识。 进一步的, 所述信息中还可以 包含所述设备标识的有效时间范围。 Preferably, the device identifier management entity sends information to the UE, where the information includes the device identifier, and further includes: The information includes one or more device identifiers. Further, the information may further include an effective time range of the device identifier.
优选的, 所述设备标识管理实体发送信息给所述 UE, 所述信息包含所 述设备标识, 还包括:  Preferably, the device identifier management entity sends information to the UE, where the information includes the device identifier, and further includes:
UE在不同的 RRC状态下使用的设备标识由不同的设备标识管理实体 分配情况下, 所述信息中还指示所述设备标识所对应的 UE状态。 所述 UE 状态包括: 空闲态和连接态。  In the case that the device identifiers used by the UEs in different RRC states are allocated by different device identifier management entities, the information also indicates the UE status corresponding to the device identifiers. The UE status includes: an idle state and a connected state.
优选的,所述设备标识管理实体在所述 UE的设备标识分配过程中为所 述 UE分配设备标识, 还包括:  Preferably, the device identifier management entity allocates the device identifier to the UE in the device identifier allocation process of the UE, and further includes:
所述 UE从设备标识管理实体接收的信息指示了设备标识的有效时间 范围情况下, 所述设备标识超出有效时间范围后,所述 UE向所述设备标识 管理实体请求分配新的设备标识;  The UE requests the device identification management entity to allocate a new device identifier, after the information received by the device identifier management entity indicates the valid time range of the device identifier, and the device identifier exceeds the valid time range;
或者,若所述 UE检测到当前所驻留小区广播的小区标识改变,则所述 UE向所述设备标识管理实体请求分配新的设备标识;  Or, if the UE detects a cell identity change of the currently camped cell broadcast, the UE requests the device identity management entity to allocate a new device identifier;
或者,若所述 UE检测到当前所驻留小区广播的跟踪区域码改变,则所 述 UE向所述设备标识管理实体请求分配新的设备标识;  Or, if the UE detects that the tracking area code of the currently camped cell broadcast changes, the UE requests the device identity management entity to allocate a new device identifier;
或者,若所述 UE检测到当前所驻留小区广播的发现区域标识改变, 则 所述 UE向所述设备标识管理实体请求分配新的设备标识;  Or, if the UE detects that the discovery area identifier of the currently camped cell broadcast changes, the UE requests the device identity management entity to allocate a new device identifier;
或者,所述 UE基于事件触发的方式向所述设备标识管理实体请求分配 设备标识;  Or the UE requests the device identity management entity to allocate a device identifier according to an event-triggered manner;
或者,所述 UE基于事件触发的周期性方式向所述设备标识管理实体请 求分配设备标识;  Or the UE allocates a device identifier to the device identity management entity request according to an event-triggered periodic manner;
或者, 所述 UE周期性的向所述设备标识管理实体请求分配设备标识。 优选的,所述设备标识管理实体在所述 UE的设备标识分配过程中为所 述 UE分配设备标识之后, 还包括: 所述 UE检测到当前所驻留小区广播的小区标识和 /或跟踪区域码和 /或 发现区域标识改变后向所述设备标识管理实体请求分配新的设备标识情况 下,所述 UE发送的设备标识分配请求中包含上一次为所述 UE分配设备标 识的设备标识管理实体的标识信息和所述 UE的标识信息。 Or the UE periodically requests the device identity management entity to allocate a device identifier. Preferably, after the device identifier management entity allocates the device identifier to the UE in the device identifier allocation process of the UE, the method further includes: The device sent by the UE when the UE detects that the cell identifier and/or the tracking area code and/or the discovery area identifier of the currently camped cell are changed, and the device identification management entity requests to allocate a new device identifier. The identifier allocation request includes the identifier information of the device identity management entity that last assigned the device identifier to the UE and the identifier information of the UE.
优选的, 进一步的, 所述 UE的标识信息包括但不限于: 上一次为所述 UE分配的设备标识。  Preferably, the identifier information of the UE includes, but is not limited to: a device identifier that was last allocated to the UE.
优选的, 所述设备标识管理实体发送信息给所述 UE之后, 还包括: 所述 UE存储所述信息, 并在设备到设备发现和 /或设备到设备通信过 程中使用所述信息。  Preferably, after the device identity management entity sends the information to the UE, the method further includes: the UE storing the information, and using the information in device-to-device discovery and/or device-to-device communication.
优选的, 所述 UE存储所述信息, 并在设备到设备发现和 /或设备到设 备通信过程中使用所述信息, 还包括:  Preferably, the UE stores the information, and uses the information in device-to-device discovery and/or device-to-device communication, and further includes:
所述 UE在不同的 RRC状态下使用的设备标识由不同的设备标识管理 实体分配情况下, 所述 UE分别存储不同的 RRC状态下对应的信息, 并在 设备到设备发现和 /或设备到设备通信过程中根据当前所处的 RRC 状态使 用相对应的信息。  In the case that the device identifiers used by the UEs in different RRC states are allocated by different device identity management entities, the UEs respectively store information corresponding to different RRC states, and device-to-device discovery and/or device-to-device The corresponding information is used in the communication process according to the current RRC state.
优选的, 所述设备标识管理实体为 UE分配设备标识之后, 还包括: 所述设备标识管理实体判断是否需要释放已分配的设备标识, 若需要, 则释放所述已分配的设备标识。  Preferably, after the device identifier management entity allocates the device identifier to the UE, the method further includes: the device identifier management entity determining whether the allocated device identifier needs to be released, and releasing the allocated device identifier if necessary.
这里需要指出的是: 采用本发明实施例, 除了实现 D2D场景下支持设 备标识分配的机制,还可以支持 D2D场景下所分配的设备标识释放的机制。 对比现有技术来说, 当 UE不需要使用设备标识 (也称为发现 ID )或 UE 已经移动出了原设备标识有效区域后, 分配原设备标识的网元需将原设备 标识释放, 否则将导致设备标识被无效占用, 然而, 采用现有技术在多数 情况下,网络侧并不知道何时 UE不需要使用设备标识(例如, UE关闭 D2D 模块或关闭某应用)、 或是否移动出原设备标识有效区域(例如, 设备标识 由基站分配的情况下, IDLE态 UE移动出该基站下小区),从而导致该基站 下小区内可分配的设备标识数目减少, 进而降低设备标识的有效利用率, 而采用本发明实施例, 支持 D2D场景下所分配的设备标识释放的机制, 能 提高设备标识的有效利用率。 It should be noted that, in the embodiment of the present invention, in addition to the mechanism for supporting the device identifier allocation in the D2D scenario, the mechanism for releasing the device identifier allocated in the D2D scenario can also be supported. Compared with the prior art, when the UE does not need to use the device identifier (also referred to as the discovery ID) or the UE has moved out of the original device identifier effective area, the network element that allocates the original device identifier needs to release the original device identifier, otherwise The device identifier is invalidated. However, in the majority of cases, the network side does not know when the UE does not need to use the device identifier (for example, the UE turns off the D2D module or closes an application), or moves out of the original device. Identify a valid area (for example, device ID) In the case of being allocated by the base station, the IDLE state UE moves out of the cell under the base station), thereby reducing the number of device identifiers that can be allocated in the cell under the base station, thereby reducing the effective utilization of the device identifier, and using the embodiment of the present invention, The device ID release mechanism allocated in the D2D scenario can improve the effective utilization of device IDs.
优选的, 所述设备标识管理实体判断是否需要释放已分配的设备标识, 还包括:  Preferably, the device identifier management entity determines whether it is necessary to release the allocated device identifier, and further includes:
所述设备标识管理实体根据所述 UE 的设备标识释放指示信息判断是 否需要释放已分配的设备标识;  The device identifier management entity determines, according to the device identifier release indication information of the UE, whether the allocated device identifier needs to be released;
或者,所述设备标识管理实体根据当前为所述 UE分配设备标识的设备 标识管理实体的设备标识释放指示信息判断是否需要释放已分配的设备标 识;  Or the device identifier management entity determines, according to the device identifier release indication information of the device identifier management entity that currently allocates the device identifier to the UE, whether the allocated device identifier needs to be released;
或者, 所述设备标识管理实体根据其它网元的设备标识释放指示信息 判断是否需要释放已分配的设备标识。  Or the device identifier management entity determines, according to the device identifier release indication information of other network elements, whether the allocated device identifier needs to be released.
优选的,所述设备标识管理实体根据所述 UE的设备标识释放指示信息 判断是否需要释放已分配的设备标识, 还包括:  Preferably, the device identifier management entity determines whether it is necessary to release the allocated device identifier according to the device identifier release indication information of the UE, and further includes:
若所述 UE判断当前不需要使用设备标识,则发送设备标识释放指示信 息指示设备标识管理实体释放为所述 UE分配的设备标识。  And if the UE determines that the device identifier is not required to be used, the sending device identifier release indication information indicates that the device identifier management entity releases the device identifier allocated for the UE.
优选的,所述设备标识管理实体根据当前为所述 UE分配设备标识的设 备标识管理实体的设备标识释放指示信息判断是否需要释放已分配的设备 标识, 还包括:  Preferably, the device identifier management entity determines, according to the device identifier release indication information of the device identifier management entity that is currently assigned the device identifier of the UE, whether to release the allocated device identifier, and further includes:
当前为所述 UE分配设备标识的设备标识管理实体根据所述 UE发送的 上一次为所述 UE分配设备标识的设备标识管理实体的标识信息和所述 UE 的标识信息指示所述设备标识管理实体释放已经为所述 UE 分配的设备标 识。  The device identity management entity that currently allocates the device identifier to the UE indicates the device identity management entity according to the identifier information of the device identity management entity that is configured to allocate the device identifier to the UE and the identifier information of the UE that is sent by the UE. Release the device identification that has been assigned to the UE.
优选的, 所述设备标识管理实体判断是否需要释放已分配的设备标识, 还包括: Preferably, the device identity management entity determines whether it is necessary to release the allocated device identifier. Also includes:
若所述设备标识管理实体发送给所述 UE 的信息指示了设备标识的有 效时间范围, 则超出有效时间范围后, 所述设备标识管理实体判断需要释 放已分配的设备标识, 并将所述已分配的设备标识释放。  If the information sent by the device identity management entity to the UE indicates the valid time range of the device identifier, after the valid time range is exceeded, the device identity management entity determines that the allocated device identifier needs to be released, and the The assigned device ID is released.
这里需要指出的是, 所述设备标识管理实体可以为独立的网络实体, 或者位于现有网络实体或新增网络实体中; 所述现有网络实体包括但不限 于: 基站, 移动管理实体, 归属签约服务器(HSS ); 所述新增网络实体包 括但不限于: 可用于 D2D用途的服务器。  It should be noted that the device identity management entity may be an independent network entity, or located in an existing network entity or a newly added network entity. The existing network entity includes but is not limited to: a base station, a mobility management entity, A contracting server (HSS); the new network entity includes but is not limited to: a server that can be used for D2D purposes.
优选的,进一步的, 所述设备管理实体为 UE分配设备标识由以下中一 个或多个组成:  Preferably, the device management entity allocates a device identifier to the UE by one or more of the following:
用于 D2D用途的标识信息;  Identification information for D2D use;
所述 UE的临时移动用户标识 ( TMSI );  Temporary Mobile Subscriber Identity (TMSI) of the UE;
所述 UE的国际移动用户识别码( IMSI );  The International Mobile Subscriber Identity (IMSI) of the UE;
所述 UE的小区无线网络临时标识( C-RNTI );  a cell radio network temporary identifier (C-RNTI) of the UE;
所述 UE的 IP地址;  The IP address of the UE;
所述 UE所在的跟踪区域(TA )标识信息。  The tracking area (TA) where the UE is located identifies information.
综上所述, 采用本发明实施例, 解决了在设备到设备发现中, 设备标 识的重新分配和释放的问题, 采用本发明实施例能在尽量减少需要引入的 信令消息下有效解决设备标识的分配问题, 并能解决设备标识的资源释放 问题, 避免设备标识被无效占用, 提高设备标识的有效利用率。  In summary, the embodiment of the present invention solves the problem of device device redistribution and release in device-to-device discovery, and the device identifier can be effectively solved under the signaling message that needs to be introduced in the embodiment of the present invention. The problem of allocation, and can solve the problem of resource release of device identification, avoiding invalidation of device identification and improving the effective utilization of device identification.
下面结合附图对技术方案的实施作进一步的详细描述。  The implementation of the technical solution will be further described in detail below with reference to the accompanying drawings.
如图 2所示为本发明实施例方法的实现流程示意图, 包括以下步骤: 步骤 101、 设备标识管理实体为 UE分配设备标识。  FIG. 2 is a schematic diagram of an implementation process of a method according to an embodiment of the present invention, including the following steps: Step 101: A device identity management entity allocates a device identifier to a UE.
步骤 102、 设备标识管理实体发送信息给 UE, 所述信息包含为 UE分 配的设备标识。 这里, 所述设备标识用于设备到设备发现和 /或设备到设备通信中标识 所述 UE。 Step 102: The device identity management entity sends information to the UE, where the information includes a device identifier allocated to the UE. Here, the device identifier is used to identify the UE in device-to-device discovery and/or device-to-device communication.
方法实施例一:  Method embodiment one:
本实施例描述的是设备标识管理实体在 UE的附着过程中为 UE分配设 备标识的方法。 在该实施例中, 设备标识管理实体位于基站和 /或 MME中。 如图 3所示, 本实施例包括以下步骤:  This embodiment describes a method for a device identity management entity to allocate a device identifier to a UE during an attach procedure of a UE. In this embodiment, the device identity management entity is located in the base station and / or MME. As shown in FIG. 3, this embodiment includes the following steps:
步骤 201.UE开机后发起附着过程。 UE与基站建立 RRC连接后, 在空 口 RRC消息中发送 NAS消息附着请求给基站, 基站再将该附着请求消息 透传至 MME。  Step 201: The UE initiates an attach process after being powered on. After establishing an RRC connection with the base station, the UE sends a NAS message attach request to the base station in the air interface RRC message, and the base station transparently transmits the attach request message to the MME.
步骤 202.MME为 UE选择服务的服务网关 ( S-GW )和分组数据网关 ( P-GW ), 并为 UE创建默认演进分组系统( EPS )承载。 MME发送创建 会话请求消息给 S-GW。  Step 202: The MME selects a serving serving gateway (S-GW) and a packet data gateway (P-GW) for the UE, and creates a default evolved packet system (EPS) bearer for the UE. The MME sends a create session request message to the S-GW.
步骤 203.S-GW创建 UE的上下文, 并向 MME为 UE选择的 P-GW发 送创建会话请求消息。  Step 203: The S-GW creates a context of the UE, and sends a create session request message to the P-GW selected by the MME for the UE.
步骤 204.P-GW创建 UE的上下文,并向 S-GW回复创建会话响应消息。 步骤 205. S-GW向 MME回复创建会话响应消息。  Step 204: The P-GW creates a context of the UE, and replies to the S-GW to create a session response message. Step 205. The S-GW replies to the MME with a create session response message.
步骤 206. MME为 UE分配设备标识。 可选的, MME还可以规定该设 备标识的有效时间范围。 该设备标识在多个小区组成的跟踪区域或发现区 域内可唯一标识该 UE, 也即在跟踪区域或发现区域内有效。  Step 206. The MME allocates a device identifier to the UE. Optionally, the MME may also specify a valid time range of the device identifier. The device identifier can uniquely identify the UE in a tracking area or a discovery area composed of multiple cells, that is, in the tracking area or the discovery area.
步骤 207.MME发送 S1接口初始上下文请求消息给基站,其中包含 NAS 消息附着接受消息。 若 MME为 UE分配了设备标识, 则 MME将包含设备 标识的设备标识信息发送给基站。若 MME同时分配了设备标识的有效时间 范围,则该设备标识信息中还包含设备标识的有效时间范围;可选的, MME 还可以指示所分配的设备标识为 UE在空闲态下使用。  Step 207: The MME sends an S1 interface initial context request message to the base station, where the NAS message attach accept message is included. If the MME allocates a device identifier to the UE, the MME sends the device identifier information including the device identifier to the base station. If the MME allocates the valid time range of the device identifier, the device identifier information further includes a valid time range of the device identifier. Optionally, the MME may also indicate that the allocated device identifier is used by the UE in an idle state.
步骤 208.基站为 UE分配设备标识,可选的,基站还可以规定该设备标 识的有效时间范围。 该设备标识在该基站下一个小区内可唯一标识该 UE, 也即在小区范围内有效。 Step 208: The base station allocates a device identifier to the UE. Optionally, the base station may further specify the device identifier. The effective time range for identification. The device identifier can uniquely identify the UE in the next cell of the base station, that is, it is valid in the cell range.
需要注意的是, 基于步骤 206和步骤 208, 可能的情况为: 仅 MME为 UE分配设备标识,或仅基站为 UE分配设备标识,或基站和 MME都为 UE 分配设备标识。 基站和 MME都为 UE分配设备标识的情况下, UE在不同 的 RRC状态下分别使用基站或 MME分配的设备标识。 如 UE在空闲态下 使用 MME分配的设备标识, UE在连接态下使用基站分配的设备标识。 进 一步的, UE在不同的 RRC状态下使用的设备标识的长度不相同, 如 UE 在空闲态下使用的设备标识比在连接态下使用的设备标识的长度更长。 这 样可以使得 UE在空闲态下使用的设备标识的有效区域比在连接态下更大, 则可以减少设备标识失效后 UE重新获取的次数, 进而达到更大程度的 UE 节电目的。  It should be noted that, based on step 206 and step 208, the possible cases are: only the MME allocates a device identifier to the UE, or only the base station allocates a device identifier to the UE, or both the base station and the MME allocate a device identifier for the UE. In the case that both the base station and the MME allocate the device identifier to the UE, the UE uses the device identifier assigned by the base station or the MME in different RRC states. If the UE uses the device identifier allocated by the MME in the idle state, the UE uses the device identifier allocated by the base station in the connected state. Further, the length of the device identifier used by the UE in different RRC states is different, for example, the device identifier used by the UE in the idle state is longer than the device identifier used in the connected state. In this way, the effective area of the device identifier used by the UE in the idle state is larger than that in the connected state, and the number of times the UE re-acquires after the device identifier fails can be reduced, thereby achieving a greater degree of UE power saving.
步骤 209.基站通过空口 RRC消息将 MME发送的 NAS消息附着接受消 息发送至 UE。 基站在该消息中将设备标识信息发送至 UE。 根据以上描述, 设备标识信息中可能包含一个或多个设备标识。 可选的, 设备标识信息还 可包含设备标识的有效时间范围和 /或对应的 UE状态。  Step 209: The base station sends the NAS message attach accept message sent by the MME to the UE by using an air interface RRC message. The base station transmits device identification information to the UE in the message. According to the above description, one or more device identifiers may be included in the device identification information. Optionally, the device identification information may further include a valid time range of the device identifier and/or a corresponding UE status.
步骤 210.UE接收 RRC消息后解析并存储其中的设备标识信息, 并在 设备到设备发现过程中使用设备标识发送发现信号。 若设备标识信息中包 含两个设备标识, 则 UE根据当前所处的 RRC状态使用相对应的设备标识 发送发现信号。  Step 210: The UE parses and stores the device identification information after receiving the RRC message, and sends the discovery signal by using the device identifier in the device-to-device discovery process. If the device identification information includes two device identifiers, the UE sends a discovery signal by using the corresponding device identifier according to the current RRC state.
需要注意的是, 设备标识有可能是基站或 MME针对 D2D用途分配的 用户标识, 也有可能是基站为 UE分配的 C-RNTI, 或者 IMSI, 或者 MME 分配的 S-TMSI, PGW为 UE分配的 IP地址, UE所在 TA的标识信息等, 还有可能由上述一种或多种标识信息组成。  It should be noted that the device identifier may be the user identifier allocated by the base station or the MME for the D2D use, or may be the C-RNTI allocated by the base station for the UE, or the IMSI, or the S-TMSI allocated by the MME, and the IP address allocated by the PGW for the UE. The address, the identification information of the TA where the UE is located, and the like may also be composed of one or more of the above identification information.
方法实施例二: 本实施例描述的是设备标识管理实体在 UE的跟踪区域更新( TAU )过 程中为 UE分配设备标识的方法。在该实施例中,设备标识管理实体位于基 站和 /或 MME中。 如图 4所示, 本实施例包括以下步骤: Method Embodiment 2: This embodiment describes a method for a device identity management entity to allocate a device identity to a UE during a Tracking Area Update (TAU) process of a UE. In this embodiment, the device identity management entity is located in the base station and/or MME. As shown in FIG. 4, this embodiment includes the following steps:
步骤 301.空闲态下 UE移动并驻留到一个新的小区后,检测到该小区的 TAI不在附着过程中 MME为其配置的 TAI列表中,则 UE发起 TAU过程。 UE首先与基站建立 RRC连接。 然后发送 RRC消息 RRC连接建立完成消 息至基站, 其中包含 NAS消息 TAU请求消息。 基站再将该 NAS消息通过 S1接口消息透传至目标 MME。  Step 301. After the UE moves and camps on a new cell in the idle state, and detects that the TAI of the cell is not in the TAI list configured by the MME in the attaching process, the UE initiates a TAU process. The UE first establishes an RRC connection with the base station. Then, the RRC message is sent to the RRC connection establishment completion message to the base station, which includes the NAS message TAU request message. The base station then transparently transmits the NAS message to the target MME through the S1 interface message.
步骤 302-304.目标 MME与源 MME间交互, 以传递 UE的上下文。 步骤 305-308.该实施例中 UE的 SGW并没有更换, MME与 S-GW, Steps 302-304. The target MME interacts with the source MME to deliver the context of the UE. Steps 305-308. In this embodiment, the SGW of the UE is not replaced, and the MME and the S-GW,
P-GW交互进行修改承载过程。 The P-GW interacts to modify the bearer process.
步骤 309.目标 MME发送位置更新消息到 HSS, 以更新 UE在 HSS上 的位置信息。  Step 309. The target MME sends a location update message to the HSS to update the location information of the UE on the HSS.
步骤 310-311.HSS向源 MME发送位置取消消息, 以告知源 MME该 UE已经移动出其区域。 源 MME向 HSS回复位置取消确认消息。  Steps 310-311. The HSS sends a location cancel message to the source MME to inform the source MME that the UE has moved out of its area. The source MME replies to the HSS with a location cancellation confirmation message.
步骤 312.源 MME将为该 UE分配的设备标识释放。此处步骤 312可在 步骤 311之前或之后执行。  Step 312. The source MME releases the device identifier assigned to the UE. Step 312 here can be performed before or after step 311.
步骤 313.HSS向目标 MME回复位置更新确认消息。  Step 313. The HSS replies to the target MME with a location update confirmation message.
步骤 314.MME为 UE分配设备标识。 可选的, MME还可以规定该设 备标识的有效时间范围。 该设备标识在多个小区组成的跟踪区域或发现区 域内可唯一标识该 UE, 也即在跟踪区域或发现区域内有效。  Step 314. The MME allocates a device identifier to the UE. Optionally, the MME may also specify a valid time range of the device identifier. The device identifier can uniquely identify the UE in a tracking area or a discovery area composed of multiple cells, that is, in the tracking area or the discovery area.
步骤 315.MME发送 S 1接口初始上下文请求消息给基站,其中包含 NAS 消息 TAU接受消息。 若 MME为 UE分配了设备标识, 则 MME将包含设 备标识的设备标识信息发送给基站。若 MME同时分配了设备标识的有效时 间范围, 则该设备标识信息中还包含设备标识的有效时间范围; 可选的, MME还可以指示所分配的设备标识为 UE在空闲态下使用。 Step 315. The MME sends an S1 interface initial context request message to the base station, where the NAS message TAU accept message is included. If the MME allocates the device identifier to the UE, the MME sends the device identifier information including the device identifier to the base station. If the MME is configured with the valid time range of the device identifier, the device identifier information also includes the valid time range of the device identifier. Optionally, The MME may also indicate that the assigned device identity is used by the UE in an idle state.
步骤 316.基站为 UE分配设备标识,可选的,基站还可以规定该设备标 识的有效时间范围。 该设备标识在该基站下一个小区内可唯一标识该 UE, 也即在小区范围内有效。  Step 316. The base station allocates a device identifier to the UE. Optionally, the base station may further specify a valid time range for the device identifier. The device identifier can uniquely identify the UE in the next cell of the base station, that is, it is valid in the cell range.
需要注意的是, 基于步骤 314和步骤 316, 可能的情况为: 仅 MME为 UE分配设备标识,或仅基站为 UE分配设备标识,或基站和 MME都为 UE 分配设备标识。 基站和 MME都为 UE分配设备标识的情况下, UE在不同 的 RRC状态下分别使用基站或 MME分配的设备标识。 如 UE在空闲态下 使用 MME分配的设备标识, UE在连接态下使用基站分配的设备标识。 进 一步的, UE在不同的 RRC状态下使用的设备标识的长度不相同, 如 UE 在空闲态下使用的设备标识比在连接态下使用的设备标识的长度更长。 这 样可以使得 UE在空闲态下使用的设备标识的有效区域比在连接态下更大, 则可以减少设备标识失效后 UE重新获取的次数, 进而达到更大程度的 UE 节电目的。  It should be noted that, based on step 314 and step 316, the possible cases are: only the MME allocates a device identifier to the UE, or only the base station allocates a device identifier to the UE, or both the base station and the MME allocate a device identifier for the UE. In the case that both the base station and the MME allocate the device identifier to the UE, the UE uses the device identifier assigned by the base station or the MME in different RRC states. If the UE uses the device identifier allocated by the MME in the idle state, the UE uses the device identifier allocated by the base station in the connected state. Further, the length of the device identifier used by the UE in different RRC states is different, for example, the device identifier used by the UE in the idle state is longer than the device identifier used in the connected state. In this way, the effective area of the device identifier used by the UE in the idle state is larger than that in the connected state, and the number of times the UE re-acquires after the device identifier fails can be reduced, thereby achieving a greater degree of UE power saving.
步骤 317.基站通过空口 RRC消息将 MME发送的 NAS消息附着接受消 息发送至 UE。 基站在该消息中将设备标识信息发送至 UE。 根据以上描述, 设备标识信息中可能包含一个或多个设备标识。 可选的, 设备标识信息还 可包含设备标识的有效时间范围和 /或对应的 UE状态。  Step 317: The base station sends the NAS message attach accept message sent by the MME to the UE by using an air interface RRC message. The base station transmits device identification information to the UE in the message. According to the above description, one or more device identifiers may be included in the device identification information. Optionally, the device identification information may further include a valid time range of the device identifier and/or a corresponding UE status.
步骤 318.UE接收 RRC消息后解析并存储其中的设备标识信息, 并在 设备到设备发现过程中使用设备标识发送发现信号。 若设备标识信息中包 含两个设备标识, 则 UE根据当前所处的 RRC状态使用相对应的设备标识 发送发现信号。  Step 318. After receiving the RRC message, the UE parses and stores the device identification information therein, and uses the device identifier to send the discovery signal in the device-to-device discovery process. If the device identification information includes two device identifiers, the UE sends a discovery signal by using the corresponding device identifier according to the current RRC state.
方法实施例三:  Method embodiment three:
本实施例描述的是设备标识管理实体在 UE发起的服务请求(SR )过 程中为 UE分配设备标识的方法。在该实施例中,设备标识管理实体位于基 站和 /或 MME中。 如图 5所示, 本实施例包括以下步骤: This embodiment describes a method for a device identity management entity to allocate a device identifier to a UE in a service request (SR) initiated by a UE. In this embodiment, the device identity management entity is located at the base In the station and / or MME. As shown in FIG. 5, this embodiment includes the following steps:
步骤 401.空闲态 UE有业务数据要发送,则首先与基站建立 RRC连接, 然后在 RRC消息 RRC连接建立完成消息中携带 NAS消息服务请求消息给 基站。 基站接收后将该 NAS消息透传至 MME。  Step 401. Idle state The UE has the service data to be sent, first establishes an RRC connection with the base station, and then carries the NAS message service request message to the base station in the RRC message RRC connection setup complete message. After receiving the base station, the NAS message is transparently transmitted to the MME.
步骤 402.MME为 UE分配设备标识; 或者 MME判断为上一次为 UE 分配设备标识时 UE所在的 TAI或发现区域标识与当前所在的 TAI或发现 区域标识是否相同,若不相同, 则为 UE分配新的设备标识。可选的, MME 还可以规定该设备标识的有效时间范围。  Step 402: The MME allocates a device identifier to the UE; or the MME determines whether the TAI or the discovery area identifier of the UE is the same as the TAI or the discovery area identifier of the current location when the device identifier is allocated to the UE, and if not, the UE is allocated. New device identification. Optionally, the MME may also specify a valid time range of the device identifier.
步骤 403.MME 发送初始上下文建立请求消息给基站, 为 UE 建立 E-RAB承载。 若 MME为 UE分配了设备标识, 则该消息中携带包含设备 标识的设备标识信息。若 MME同时分配了设备标识的有效时间范围,则该 设备标识信息中还包含设备标识的有效时间范围; 可选的, MME还可以指 示所分配的设备标识为 UE在空闲态下使用。  Step 403. The MME sends an initial context setup request message to the base station to establish an E-RAB bearer for the UE. If the MME allocates a device identifier to the UE, the message carries the device identifier information including the device identifier. If the MME is configured with the valid time range of the device identifier, the device identifier information further includes a valid time range of the device identifier. Optionally, the MME may also indicate that the allocated device identifier is used by the UE in an idle state.
步骤 404.基站为 UE分配用于 D2D的设备标识, 可选的, 基站还可以 规定该设备标识的有效时间范围。 该设备标识在该基站下一个小区内可唯 一标识该 UE, 也即在小区范围内有效。  Step 404: The base station allocates a device identifier for the D2D to the UE. Optionally, the base station may further specify a valid time range of the device identifier. The device identifier can uniquely identify the UE in the next cell of the base station, that is, it is valid within the cell range.
需要注意的是, 基于步骤 402和步骤 404, 可能的情况为: 仅 MME为 UE分配设备标识,或仅基站为 UE分配设备标识,或基站和 MME都为 UE 分配设备标识。 基站和 MME都为 UE分配设备标识的情况下, UE在不同 的 RRC状态下分别使用基站或 MME分配的设备标识。 如 UE在空闲态下 使用 MME分配的设备标识, UE在连接态下使用基站分配的设备标识。 进 一步的, UE在不同的 RRC状态下使用的设备标识的长度不相同, 如 UE 在空闲态下使用的设备标识比在连接态下使用的设备标识的长度更长。 这 样可以使得 UE在空闲态下使用的设备标识的有效区域比在连接态下更大, 则可以减少设备标识失效后 UE重新获取的次数, 进而达到更大程度的 UE 节电目的。 It should be noted that, based on step 402 and step 404, the possible cases are as follows: Only the MME allocates a device identifier to the UE, or only the base station allocates a device identifier to the UE, or both the base station and the MME allocate a device identifier for the UE. In the case that both the base station and the MME allocate the device identifier to the UE, the UE uses the device identifier assigned by the base station or the MME in different RRC states. If the UE uses the device identifier allocated by the MME in the idle state, the UE uses the device identifier allocated by the base station in the connected state. Further, the lengths of the device identifiers used by the UEs in different RRC states are different, for example, the device identifiers used by the UE in the idle state are longer than the device identifiers used in the connected state. In this way, the effective area of the device identifier used by the UE in the idle state is larger than that in the connected state, so that the number of times the UE re-acquires after the device identifier fails can be reduced, thereby achieving a greater degree of UE. Power saving purposes.
步骤 405. 基站向 UE发送 RRC连接重配置消息,为 UE建立相应的空 口 DRB数据承载。 若基站从 MME处接收到设备标识信息, 则该消息中包 含从 MME接收的设备标识信息。 若基站为 UE分配了设备标识, 则该消息 中携带基站分配的包含设备标识的设备标识信息。 若基站同时分配了设备 标识的有效时间范围, 则该设备标识信息中还包含设备标识的有效时间范 围; 可选的, 基站还可以指示所分配的设备标识为 UE在连接态下使用。 UE完成相应的空口配置后回复 RRC连接重配置完成消息给基站。  Step 405. The base station sends an RRC connection reconfiguration message to the UE, and establishes a corresponding air interface DRB data bearer for the UE. If the base station receives the device identification information from the MME, the message includes device identification information received from the MME. If the base station allocates the device identifier to the UE, the message carries the device identifier information that is allocated by the base station and includes the device identifier. If the base station is configured with the valid time range of the device identifier, the device identifier information further includes a valid time range of the device identifier. Optionally, the base station may further indicate that the allocated device identifier is used by the UE in the connected state. After completing the corresponding air interface configuration, the UE replies to the RRC connection reconfiguration complete message to the base station.
步骤 406. UE接收 RRC消息后解析并存储其中的设备标识信息, 并在 设备到设备发现过程中使用设备标识发送发现信号。 若设备标识信息中指 示设备标识对应 UE的 RRC连接态,则 UE仅在处于相应的 RRC状态时使 用该设备标识发送发现信号。 若 UE接收到两个设备标识, 则 UE根据当前 所处的 RRC状态使用相对应的设备标识发送发现信号。  Step 406. After receiving the RRC message, the UE parses and stores the device identification information therein, and uses the device identifier to send the discovery signal in the device-to-device discovery process. If the device identification information indicates that the device identifier corresponds to the RRC connected state of the UE, the UE sends the discovery signal by using the device identifier only when it is in the corresponding RRC state. If the UE receives two device identifiers, the UE sends a discovery signal according to the current RRC state using the corresponding device identifier.
步骤 407.基站发送初始上下文建立完成消息给 MME。  Step 407. The base station sends an initial context setup complete message to the MME.
步骤 408-411. MME根据基站回复的已接受的 EPS承载,向 S-GW、P-GW 交互进行修改承载过程, 以建立 S1和 S6承载。  Step 408-411. The MME performs an modify bearer process to the S-GW and the P-GW according to the accepted EPS bearer replied by the base station to establish S1 and S6 bearers.
方法实施例四:  Method Embodiment 4:
本实施例描述的是基站在 UE的 X2切换过程中为 UE分配设备标识的 方法。 在该实施例中, 设备标识管理实体位于基站和 /或 MME 中。 如图 6 所示, 本实施例包括以下步骤:  This embodiment describes a method for a base station to allocate a device identifier to a UE during an X2 handover process of the UE. In this embodiment, the device identity management entity is located in the base station and / or MME. As shown in FIG. 6, the embodiment includes the following steps:
步骤 501.UE检测到相邻小区的强信号, 并发送测量报告给源基站。 步骤 502.源基站根据 UE发送的测量报告进行切换判决, 并判断执行 X2切换流程。 则确定目标基站并发送 X2切换请求消息给目标基站。 该切 换请求消息中可包含用于指示需要为 UE分配新的设备标识的显式或隐式 指示信息。 例如, 隐式指示可以是 UE的 D2D相关能力信息, 或 UE正在 进行的 D2D相关应用或行为。 Step 501. The UE detects a strong signal of the neighboring cell, and sends a measurement report to the source base station. Step 502. The source base station performs a handover decision according to the measurement report sent by the UE, and determines to execute the X2 handover procedure. Then the target base station is determined and an X2 handover request message is sent to the target base station. The handover request message may include explicit or implicit indication information indicating that a new device identity needs to be allocated to the UE. For example, the implicit indication may be D2D related capability information of the UE, or the UE is working D2D related applications or behaviors performed.
步骤 503.目标基站为 UE分配用于 D2D的设备标识, 可选的, 目标基 站还可以规定该设备标识的有效时间范围。 该设备标识在该基站下一个小 区内可唯一标识该 UE, 也即在小区范围内有效。  Step 503: The target base station allocates a device identifier for the D2D to the UE. Optionally, the target base station may further specify a valid time range of the device identifier. The device identifier can uniquely identify the UE in the next cell of the base station, that is, it is valid within the cell range.
步骤 504. 目标基站为 UE进行资源预留后, 向源基站发送切换请求确 认消息。若目标基站为 UE分配了设备标识, 则该消息中携带包含设备标识 的设备标识信息。 若目标基站同时分配了设备标识的有效时间范围, 则该 设备标识信息中还包含设备标识的有效时间范围; 可选的, 基站还可以指 示所分配的设备标识为 UE在连接态下使用。  Step 504. After the target base station performs resource reservation for the UE, the target base station sends a handover request acknowledgement message to the source base station. If the target base station allocates the device identifier to the UE, the message carries the device identifier information including the device identifier. If the target base station is configured with the valid time range of the device identifier, the device identifier information further includes a valid time range of the device identifier. Optionally, the base station may further indicate that the allocated device identifier is used by the UE in the connected state.
步骤 505.源基站通过 RRC连接重配置消息将目标基站发送的切换命令 透传至 UE, 其中包含目标基站发送的设备标识信息。  Step 505: The source base station transparently transmits the handover command sent by the target base station to the UE by using an RRC connection reconfiguration message, where the device identifier information sent by the target base station is included.
步骤 506. UE接收 RRC连接重配置消息后解析并存储其中的设备标识 信息, 并在设备到设备(D2D )发现过程中使用设备标识发送发现信号。 若设备标识信息中指示该设备标识对应 UE的 RRC连接态, 则 UE仅在处 于连接态时使用该设备标识发送发现信号。  Step 506. The UE parses and stores the device identification information after receiving the RRC connection reconfiguration message, and sends the discovery signal by using the device identifier in the device-to-device (D2D) discovery process. If the device identification information indicates that the device identifier corresponds to the RRC connected state of the UE, the UE sends the discovery signal by using the device identifier only when it is in the connected state.
步骤 507.源基站向目标基站发送 SN状态转移消息,其中包含上行及下 行 PDCP层状态, 以保证数据包的保序以及无损切换。  Step 507. The source base station sends an SN state transition message to the target base station, where the uplink and downlink PDCP layer states are included to ensure data packet order and lossless handover.
步骤 508.UE与源基站断开连接, 与目标基站同步并建立 RRC连接, 然后发送 RRC连接重配置完成消息给目标基站。 该消息中可包含用于指示 需要为 UE分配新的设备标识的显式或隐式指示信息。例如, 隐式指示可以 是 UE的 D2D相关能力信息, 或 UE正在进行的 D2D相关应用或行为。  Step 508. The UE disconnects from the source base station, synchronizes with the target base station, establishes an RRC connection, and then sends an RRC connection reconfiguration complete message to the target base station. The message may include explicit or implicit indication information indicating that a new device identity needs to be assigned to the UE. For example, the implicit indication may be D2D related capability information of the UE, or a D2D related application or behavior being performed by the UE.
步骤 509.目标基站向 UE的 MME发送路径转移请求消息,以通知 MME 该 UE切换完成并转移 S1控制面路径。 MME再发送修改承载消息给 S-GW 以转移 S1用户面路径。 该路径转移请求消息中可包含用于指示需要为 UE 分配新的设备标识的显式或隐式指示信息。 例如, 隐式指示可以是 UE 的 D2D相关能力信息, 或 UE正在进行的 D2D相关应用或行为。 Step 509. The target base station sends a path transfer request message to the MME of the UE to notify the MME that the UE handover is completed and the S1 control plane path is transferred. The MME then sends a modify bearer message to the S-GW to transfer the S1 user plane path. The path transfer request message may include explicit or implicit indication information indicating that a new device identifier needs to be allocated to the UE. For example, the implicit indication can be UE D2D related capability information, or D2D related applications or behaviors that the UE is conducting.
步骤 510. MME为 UE分配设备标识; 或者 MME判断为 UE分配设备 标识时 UE所在的 TAI或发现区域标识与当前所在的 TAI或发现区域标识 是否相同, 若不相同, 则为 UE分配新的设备标识。 可选的, MME还可以 规定该设备标识的有效时间范围;  Step 510. The MME allocates a device identifier to the UE. The MME determines whether the TAI or the discovery area identifier of the UE is the same as the current TAI or the discovery area identifier when the UE allocates the device identifier. If not, the UE allocates a new device. Logo. Optionally, the MME may further specify a valid time range of the device identifier.
需要注意的是, 基于步骤 503和步骤 510, 可能的情况为: 仅 MME为 UE分配设备标识,或仅基站为 UE分配设备标识,或基站和 MME都为 UE 分配设备标识。 基站和 MME都为 UE分配设备标识的情况下, UE在不同 的 RRC状态下分别使用基站或 MME分配的设备标识。 如 UE在空闲态下 使用 MME分配的设备标识, UE在连接态下使用基站分配的设备标识。 进 一步的, UE在不同的 RRC状态下使用的设备标识的长度不相同, 如 UE 在空闲态下使用的设备标识比在连接态下使用的设备标识的长度更长。 这 样可以使得 UE在空闲态下使用的设备标识的有效区域比在连接态下更大, 则可以减少设备标识失效后 UE重新获取的次数, 进而达到更大程度的 UE 节电目的。  It should be noted that, based on the step 503 and the step 510, the possible situation is: only the MME allocates the device identifier to the UE, or only the base station allocates the device identifier to the UE, or the base station and the MME all allocate the device identifier for the UE. In the case that both the base station and the MME allocate the device identifier to the UE, the UE uses the device identifier assigned by the base station or the MME in different RRC states. If the UE uses the device identifier allocated by the MME in the idle state, the UE uses the device identifier allocated by the base station in the connected state. Further, the length of the device identifier used by the UE in different RRC states is different, for example, the device identifier used by the UE in the idle state is longer than the device identifier used in the connected state. In this way, the effective area of the device identifier used by the UE in the idle state is larger than that in the connected state, and the number of times the UE re-acquires after the device identifier fails can be reduced, thereby achieving a greater degree of UE power saving.
步骤 511.UE的 MME回复路径转移请求确认消息给目标基站。可选的, 其中包含 UE的网络侧标识信息 (例如, IMSI, S-TMSI等)。 若 MME为 UE 分配了设备标识, 则该消息中携带包含设备标识的设备标识信息。 若 MME同时分配了设备标识的有效时间范围,则该设备标识信息中还包含设 备标识的有效时间范围; 可选的, MME还可以指示所分配的设备标识为 UE在空闲态下使用。  Step 511. The MME of the UE replies with a path transfer request acknowledgement message to the target base station. Optionally, the network side identifier information of the UE (for example, IMSI, S-TMSI, etc.) is included. If the MME allocates the device identifier to the UE, the message carries the device identifier information including the device identifier. If the MME allocates the valid time range of the device identifier, the device identifier information further includes a valid time range of the device identifier. Optionally, the MME may also indicate that the allocated device identifier is used by the UE in an idle state.
步骤 512.若目标基站接收的路径转移请求确认消息中包含设备标识信 息, 则目标基站发送 RRC连接重配置给 UE,该消息中携带包含设备标识的 设备标识信息。若 MME同时分配了设备标识的有效时间范围和 UE相对应 的 RRC状态, 则该设备标识信息中还包含设备标识的有效时间范围和相对 应的 RRC 态。 Step 512. If the path transfer request acknowledgement message received by the target base station includes the device identifier information, the target base station sends an RRC connection reconfiguration to the UE, where the message carries the device identifier information including the device identifier. If the MME simultaneously allocates the valid time range of the device identifier and the RRC state corresponding to the UE, the device identifier information also includes the valid time range and relative of the device identifier. The RRC state should be.
步骤 513. UE接收 RRC连接重配置消息后解析并存储其中的设备标识 信息, 并在设备到设备发现过程中使用设备标识发送发现信号。 若设备标 识信息中指示该设备标识对应 UE的 RRC空闲态, 则 UE仅在处于空闲态 时使用该设备标识发送发现信号。  Step 513: The UE parses and stores the device identification information after receiving the RRC connection reconfiguration message, and sends the discovery signal by using the device identifier in the device-to-device discovery process. If the device identification information indicates that the device identifier corresponds to the RRC idle state of the UE, the UE sends the discovery signal by using the device identifier only when in the idle state.
步骤 514.目标基站建立并保存 UE的设备标识与网络侧标识的映射关 系, 用于后续的 D2D有关用途。  Step 514: The target base station establishes and maintains a mapping relationship between the device identifier of the UE and the network side identifier, and is used for subsequent D2D related purposes.
步骤 515.目标基站发送用户上下文释放消息给源基站, 以通知源基站 切换完成并释放 UE相关上下文。  Step 515. The target base station sends a user context release message to the source base station to notify the source base station that the handover is complete and release the UE related context.
步骤 516.源基站收到用户上下文释放消息后,可释放 UE的上下文,其 中包含释放其为该 UE分配的设备标识。  Step 516: After receiving the user context release message, the source base station may release the context of the UE, including releasing the device identifier allocated to the UE.
方法实施例五:  Method Embodiment 5:
本实施例描述的是基站在 UE的 S1切换过程中为 UE分配设备标识的 方法。 在该实施例中, 设备标识管理实体位于基站和 /或 MME 中。 如图 7 所示, 本实施例包括以下步骤:  This embodiment describes a method for a base station to allocate a device identifier to a UE in an S1 handover procedure of a UE. In this embodiment, the device identity management entity is located in the base station and / or MME. As shown in Figure 7, this embodiment includes the following steps:
步骤 601.UE检测到相邻小区的强信号, 并发送测量报告给源基站。 步骤 602.源基站根据 UE发送的测量报告进行切换判决, 并判断执行 S 1切换流程。 则确定目标基站并发送 S 1切换要求消息给 UE的 MME。 该 切换要求消息中可包含用于指示需要为 UE分配新的设备标识的显式或隐 式指示信息。 例如, 隐式指示可以是 UE的 D2D相关能力信息, 或 UE正 在进行的 D2D相关应用或行为。  Step 601: The UE detects a strong signal of the neighboring cell, and sends a measurement report to the source base station. Step 602: The source base station performs a handover decision according to the measurement report sent by the UE, and determines to perform the S1 handover procedure. Then, the target base station is determined and an S1 handover request message is sent to the MME of the UE. The handover request message may include explicit or implicit indication information indicating that a new device identity needs to be allocated to the UE. For example, the implicit indication may be D2D related capability information of the UE, or a D2D related application or behavior being performed by the UE.
步骤 603. 源基站向源 MME发送转发重定位请求消息。 该消息中可包 含用于指示需要为 UE分配新的设备标识的显式或隐式指示信息。  Step 603: The source base station sends a Forward Relocation Request message to the source MME. The message may include explicit or implicit indication information indicating that a new device identity needs to be assigned to the UE.
步骤 604.目标 MME向目标基站发送 S1接口切换请求消息, 该消息中 可包含用于指示需要为 UE分配新的设备标识的显式或隐式指示信息。 步骤 605. 目标基站为 UE分配用于 D2D的设备标识, 可选的, 目标基 站还可以规定该设备标识的有效时间范围。 Step 604: The target MME sends an S1 interface switch request message to the target base station, where the message may include explicit or implicit indication information for indicating that the UE needs to be assigned a new device identifier. Step 605. The target base station allocates a device identifier for the D2D to the UE. Optionally, the target base station may further specify a valid time range of the device identifier.
步骤 606.目标基站发送切换请求确认消息给目标 MME,若目标基站为 UE分配了设备标识, 则该消息中携带包含设备标识的设备标识信息。 若目 标基站同时分配了设备标识的有效时间范围, 则该设备标识信息中还包含 设备标识的有效时间范围; 可选的, 目标基站还可以指示所分配的设备标 识为 UE在连接态下使用。  Step 606: The target base station sends a handover request acknowledgement message to the target MME. If the target base station allocates the device identifier to the UE, the message carries the device identifier information including the device identifier. If the target base station is configured with the valid time range of the device identifier, the device identifier information further includes a valid time range of the device identifier. Optionally, the target base station may also indicate that the allocated device identifier is used by the UE in the connected state.
步骤 607. 目标 MME为 UE分配设备标识; 或者 MME判断为 UE分 配设备标识时 UE所在的 TAI或发现区域标识与当前所在的 TAI或发现区 域标识是否相同, 若不相同, 则为 UE分配新的设备标识。 可选的, MME 还可以规定该设备标识的有效时间范围;  Step 607. The target MME allocates a device identifier to the UE. The MME determines whether the TAI or the discovery area identifier of the UE is the same as the current TAI or the discovery area identifier when the UE allocates the device identifier. If not, the UE is allocated a new one. Equipment Identity. Optionally, the MME may further specify a valid time range of the device identifier.
需要注意的是, 基于步骤 605和步骤 607, 可能的情况为: 仅 MME为 UE分配设备标识,或仅基站为 UE分配设备标识,或基站和 MME都为 UE 分配设备标识。 基站和 MME都为 UE分配设备标识的情况下, UE在不同 的 RRC状态下分别使用基站或 MME分配的设备标识。 如 UE在空闲态下 使用 MME分配的设备标识, UE在连接态下使用基站分配的设备标识。 进 一步的, UE在不同的 RRC状态下使用的设备标识的长度不相同, 如 UE 在空闲态下使用的设备标识比在连接态下使用的设备标识的长度更长。 这 样可以使得 UE在空闲态下使用的设备标识的有效区域比在连接态下更大, 则可以减少设备标识失效后 UE重新获取的次数, 进而达到更大程度的 UE 节电目的。  It should be noted that, based on the step 605 and the step 607, the possible situation is: only the MME allocates the device identifier to the UE, or only the base station allocates the device identifier to the UE, or the base station and the MME allocate the device identifier to the UE. In the case that both the base station and the MME allocate the device identifier to the UE, the UE uses the device identifier assigned by the base station or the MME in different RRC states. If the UE uses the device identifier allocated by the MME in the idle state, the UE uses the device identifier allocated by the base station in the connected state. Further, the length of the device identifier used by the UE in different RRC states is different, for example, the device identifier used by the UE in the idle state is longer than the device identifier used in the connected state. In this way, the effective area of the device identifier used by the UE in the idle state is larger than that in the connected state, and the number of times the UE re-acquires after the device identifier fails can be reduced, thereby achieving a greater degree of UE power saving.
步骤 608.目标 MME向源 MME发送转发重定位响应消息,若目标 MME 从目标基站处接收到设备标识信息, 则该消息中包含从目标基站接收的设 备标识信息。 若目标 MME为 UE分配了设备标识, 则该消息中携带目标 MME分配的包含设备标识的设备标识信息。 若目标 MME同时分配了设备 标识的有效时间范围, 则该设备标识信息中还包含设备标识的有效时间范 围; 可选的, 目标 MME还可以指示所分配的设备标识相应的 UE所处的 RRC状态。 Step 608: The target MME sends a forwarding relocation response message to the source MME. If the target MME receives the device identification information from the target base station, the message includes the device identification information received from the target base station. If the target MME allocates the device identifier to the UE, the message carries the device identifier information that is allocated by the target MME and includes the device identifier. If the target MME allocates devices at the same time The effective time range of the identifier, the device identification information further includes a valid time range of the device identifier. Optionally, the target MME may further indicate that the allocated device identifies the RRC state of the corresponding UE.
步骤 609-611. UE接收 RRC消息后解析并存储其中的设备标识信息, 并在设备到设备发现过程中使用设备标识发送发现信号。 若设备标识信息 中指示设备标识对应 UE的 RRC连接态,则 UE仅在处于相应的 RRC状态 时使用该设备标识发送发现信号。 若 UE接收到两个设备标识, 则 UE根据 当前所处的 RRC状态使用相对应的设备标识发送发现信号。  Step 609-611. After receiving the RRC message, the UE parses and stores the device identification information therein, and sends the discovery signal by using the device identifier in the device-to-device discovery process. If the device identification information indicates that the device identifier corresponds to the RRC connected state of the UE, the UE sends the discovery signal by using the device identifier only when it is in the corresponding RRC state. If the UE receives two device identifiers, the UE sends a discovery signal by using the corresponding device identifier according to the current RRC state.
方法实施例六:  Method Embodiment 6:
本实施例描述的是基站在 UE的设备标识分配过程中为 UE分配设备标 识的方法。 在该实施例中, 设备标识管理实体位于基站中。 如图 8所示, 本实施例包括以下步骤:  This embodiment describes a method for a base station to allocate a device identifier to a UE in a device identity allocation process of a UE. In this embodiment, the device identity management entity is located in the base station. As shown in FIG. 8, the embodiment includes the following steps:
步骤 701.UE基于以下条件触发发起设备标识分配过程:  Step 701. The UE triggers the initiating device identity allocation process based on the following conditions:
这里, 所述条件包括以下任一种或多种的组合:  Here, the conditions include any one or a combination of the following:
1 )处于空闲态或连接态的 UE检测到已分配的设备标识超出有效时间 范围;  1) The UE in the idle state or the connected state detects that the allocated device identifier exceeds the valid time range;
2 ) 空闲态 UE检测到其驻留小区的 ECGI发生改变;  2) The idle state UE detects that the ECGI of the camped cell changes;
3 )事件触发, 例如, UE打开 D2D模块, UE打开某应用程序, UE开 启 D2D发现 /被发现功能等;  3) Event triggering, for example, the UE opens the D2D module, the UE opens an application, and the UE starts the D2D discovery/discovery function;
4 )周期性触发, 例如 UE基于应用程序周期性进行 D2D发现 /被发现 以更新好友列表的需求周期性的请求设备标识分配;  4) periodically triggering, for example, the UE periodically performs D2D discovery/discovery based on the application to update the request list of the buddy list to periodically request the device identification assignment;
5 )事件触发的周期性, 例如, UE开启周期性请求设备标识分配。 步骤 702.UE发送设备标识分配请求消息给基站 (若 UE处于空闲态, 需先建立 RRC连接)。 可选的, 该消息中还可以包含状态指示信息, 用于 指示所需分配的设备标识对应的 UE状态。可选的,该消息中包含设备标识 分配原因值, 如超出有效时间范围, ECGI改变等。 可选的, 该消息中包含 UE的 MME标识信息。 可选的, 该消息中包含上一次为 UE分配设备标识 的基站标识信息和 UE的标识信息 (例如, UE在上一次小区的 C-RNTI, 上一次为 UE分配的设备标识等)。 5) Event-triggered periodicity, for example, the UE starts periodic requesting device identification allocation. Step 702: The UE sends a device identity allocation request message to the base station (if the UE is in an idle state, an RRC connection needs to be established first). Optionally, the message may further include status indication information, configured to indicate a UE status corresponding to the device identifier to be allocated. Optionally, the message contains the device identifier. Assign the cause value, such as the valid time range, ECGI change, etc. Optionally, the message includes the MME identity information of the UE. Optionally, the message includes the base station identification information that is used to allocate the device identifier to the UE and the identifier information of the UE (for example, the C-RNTI of the UE in the last cell, the device identifier that was last allocated to the UE, and the like).
步骤 703.基站为 UE分配设备标识。或者,基站还可以规定该设备标识 的有效时间范围。 该设备标识在该基站下一个小区内可唯一标识该 UE, 也 即在小区范围内有效。或者,若 UE发送的设备标识分配请求消息中包含状 态指示信息, 则基站根据该状态指示信息确定是否为 UE分配设备标识。具 体的,若状态指示信息指示所需分配的设备标识对应 UE的连接态,则该基 站为 UE分配设备标识。 若状态指示信息指示所需分配的设备标识对应 UE 的空闲态, 则可根据实施例七中所述, 该基站不为 UE分配设备标识, 并发 送设备标识分配请求消息给 UE的 MME  Step 703. The base station allocates a device identifier to the UE. Alternatively, the base station may also specify a valid time range for the device identification. The device identifier can uniquely identify the UE in the next cell of the base station, that is, it is valid within the cell range. Or, if the device identifier allocation request message sent by the UE includes the status indication information, the base station determines, according to the status indication information, whether to allocate the device identifier to the UE. Specifically, if the status indication information indicates that the device identifier to be allocated corresponds to the connected state of the UE, the base station allocates the device identifier to the UE. If the status indication information indicates that the device identifier to be allocated corresponds to the idle state of the UE, the base station may not allocate the device identifier to the UE according to the seventh embodiment, and send the device identifier allocation request message to the MME of the UE.
步骤 704.基站向 UE回复设备标识分配响应消息。该消息中携带包含设 备标识的设备标识信息。 若基站同时分配了设备标识的有效时间范围, 则 该设备标识信息中还包含设备标识的有效时间范围; 可选的, 基站还可以 指示所分配的设备标识为 UE在连接态下使用。  Step 704: The base station replies to the UE with a device identity assignment response message. The message carries device identification information including the device identifier. If the base station is configured with the valid time range of the device identifier, the device identifier information further includes a valid time range of the device identifier. Optionally, the base station may further indicate that the allocated device identifier is used by the UE in the connected state.
步骤 705. UE接收设备标识分配响应消息后解析并存储其中的设备标 识信息, 并在设备到设备发现过程中使用设备标识发送发现信号。 若设备 标识信息中指示该设备标识对应 UE的 RRC连接态, 则 UE仅在处于连接 态时使用该设备标识发送发现信号。  Step 705: The UE parses and stores the device identification information after receiving the device identity allocation response message, and sends the discovery signal by using the device identifier in the device-to-device discovery process. If the device identification information indicates that the device identifier corresponds to the RRC connected state of the UE, the UE sends the discovery signal by using the device identifier only when it is in the connected state.
步骤 706.可选的, 若基站接收的设备标识分配请求指示的原因值为小 区 ECGI改变 (由于空闲态 UE移动出原驻留小区), 则基站根据 UE发送 的源基站标识信息发送设备标识释放请求消息给源基站, 该消息中包含 UE 的标识信息, 例如, UE在上一次小区 (源小区) 内的 C-RNTI, 上一次源 基站为 UE分配的设备标识等。 步骤 707. 源基站释放为该 UE分配的设备标识。 可选的, 源基站发送 设备标识释放确认消息给当前为 UE服务的基站 (目标基站), 以确认设备 标识释放完成。 Step 706. Optionally, if the cause value of the device identity allocation request indication received by the base station is a cell ECGI change (because the idle state UE moves out of the original camping cell), the base station sends the device identity release according to the source base station identity information sent by the UE. The request message is sent to the source base station, where the message includes the identifier information of the UE, for example, the C-RNTI of the UE in the last cell (source cell), the device identifier assigned by the source base station to the UE, and the like. Step 707. The source base station releases the device identifier assigned to the UE. Optionally, the source base station sends a device identity release confirmation message to the base station (target base station) currently serving the UE, to confirm that the device identity release is complete.
步骤 708.基站发送设备标识更新消息给 MME。 可选的, 该消息中包含 基站为 UE分配的新的设备标识。此处步骤 708还可以在步骤 706之前进行。  Step 708: The base station sends a device identity update message to the MME. Optionally, the message includes a new device identifier allocated by the base station to the UE. Step 708 here can also be performed prior to step 706.
步骤 709.若 MME接收的设备标识更新消息中包含基站为 UE分配的新 的设备标识, 则 MME更新该 UE的设备标识。 MME发送设备标识更新确认 消息给基站, 该消息中包含该 UE的网络侧标识信息(如, IMSI,S-TMSI等)。 基站接收后可建立该 UE的设备标识及网络侧标识的映射关系。  Step 709. If the device identifier update message received by the MME includes a new device identifier allocated by the base station for the UE, the MME updates the device identifier of the UE. The MME sends a device identity update acknowledgement message to the base station, where the message includes network side identification information (eg, IMSI, S-TMSI, etc.) of the UE. After receiving, the base station can establish a mapping relationship between the device identifier of the UE and the network side identifier.
方法实施例七:  Method Embodiment 7:
本实施例描述的是 MME在 UE的设备标识分配过程中为 UE分配设备 标识的方法。在该实施例中,设备标识管理实体位于 MME中。如图 9所示, 包括以下步骤:  This embodiment describes a method for an MME to allocate a device identifier to a UE in a device identity allocation process of a UE. In this embodiment, the device identity management entity is located in the MME. As shown in Figure 9, the following steps are included:
步骤 801.UE基于以下条件触发发起设备标识分配过程。  Step 801. The UE triggers the initiating device identity allocation process based on the following conditions.
这里, 所述条件包括以下任一种或多种的组合:  Here, the conditions include any one or a combination of the following:
1 )处于空闲态或连接态的 UE检测到已分配的设备标识超出有效时间 范围;  1) The UE in the idle state or the connected state detects that the allocated device identifier exceeds the valid time range;
2 ) 空闲态 UE检测到其驻留小区的 TAI/发现区域标识发生改变。 其中 发现区域由一个或多个小区组成, 一个发现区域中的每个小区都广播唯一 标识该发现区域的发现区域标识;  2) Idle state The UE detects that the TAI/discovery zone identity of its camping cell has changed. The discovery area is composed of one or more cells, and each cell in a discovery area broadcasts a discovery area identifier that uniquely identifies the discovery area;
3 )事件触发, 例如, UE打开 D2D模块, UE打开某应用程序, UE开 启 D2D发现 /被发现功能等;  3) Event triggering, for example, the UE opens the D2D module, the UE opens an application, and the UE starts the D2D discovery/discovery function;
4 )周期性触发, 例如 UE基于应用程序周期性进行 D2D发现 /被发现 以更新好友列表的需求周期性的请求设备标识分配;  4) periodically triggering, for example, the UE periodically performs D2D discovery/discovery based on the application to update the request list of the buddy list to periodically request the device identification assignment;
5 )事件触发的周期性, 例如, UE开启周期性请求设备标识分配。 步骤 802.UE发送设备标识分配请求消息给基站 (若 UE处于空闲态, 需先建立 RRC连接)。 可选的, 该消息中还可以包含状态指示信息, 用于 指示所需分配的设备标识对应的 UE状态。可选的,该消息中包含设备标识 分配原因值, 如超出有效时间范围, TAI改变, 发现区域标识改变等。 可选 的, 该消息中包含 UE的 MME标识信息。 可选的, 该消息中包含上一次为 UE分配设备标识的 MME标识信息和 UE的标识信息 (例如, UE的 IMSI 或 S-TMSI, 上一次为 UE分配的设备标识等)。 5) Event-triggered periodicity, for example, the UE starts periodic requesting device identification allocation. Step 802. The UE sends a device identity allocation request message to the base station (if the UE is in an idle state, an RRC connection needs to be established first). Optionally, the message may further include status indication information, configured to indicate a UE status corresponding to the device identifier to be allocated. Optionally, the message includes a device identifier allocation cause value, such as exceeding a valid time range, a TAI change, a discovery area identifier change, and the like. Optionally, the message includes the MME identity information of the UE. Optionally, the message includes the MME identity information that is used to allocate the device identifier to the UE and the identity information of the UE (eg, the IMSI or S-TMSI of the UE, the device identifier assigned to the UE last time, and the like).
步骤 803. 基站发送设备标识分配请求给 UE的 MME。或者,若 UE发 送的设备标识分配请求消息中包含状态指示信息, 则基站根据该状态指示 信息确定是否为 UE分配设备标识。具体的,若状态指示信息指示所需分配 的设备标识对应 UE的空闲态, 则该基站不为 UE分配设备标识, 并发送设 备标识分配请求消息给 UE的 MME。 可选的, 该消息中还可以包含状态指 示信息, 用于指示所需分配的设备标识对应的 UE状态。 可选的, 该消息中 包含设备标识分配原因值, 如超出有效时间范围, TAI改变, 发现区域标识 改变等。 可选的, 该消息中包含上一次为 UE分配设备标识的 MME标识信 息和 UE的标识信息。  Step 803. The base station sends a device identity allocation request to the MME of the UE. Or, if the device identifier allocation request message sent by the UE includes the status indication information, the base station determines, according to the status indication information, whether to allocate the device identifier to the UE. Specifically, if the status indication information indicates that the device identifier to be allocated corresponds to the idle state of the UE, the base station does not allocate the device identifier to the UE, and sends a device identifier allocation request message to the MME of the UE. Optionally, the message may further include status indication information, which is used to indicate a UE status corresponding to the device identifier to be allocated. Optionally, the message includes a device identifier allocation cause value, such as exceeding a valid time range, a TAI change, a discovery area identifier change, and the like. Optionally, the message includes the MME identity information that last assigned the device identifier to the UE and the identity information of the UE.
步骤 804. MME为 UE分配设备标识。 或者, MME还可以规定该设备 标识的有效时间范围。 该设备标识在多个小区组成的跟踪区域或发现区域 内可唯一标识该 UE, 也即在跟踪区域或发现区域内有效。 或者, 若 MME 接收的设备标识分配请求消息中包含状态指示信息,则 MME根据该状态指 示信息确定是否为 UE分配设备标识。具体的,若状态指示信息指示所需分 配的设备标识对应 UE的空闲态, 则该 MME为 UE分配设备标识。  Step 804. The MME allocates a device identifier to the UE. Alternatively, the MME may also specify a valid time range for the device identification. The device identifier can uniquely identify the UE in a tracking area or a discovery area composed of multiple cells, that is, in the tracking area or the discovery area. Or, if the device identifier allocation request message received by the MME includes status indication information, the MME determines, according to the status indication information, whether to allocate a device identifier to the UE. Specifically, if the status indication information indicates that the device identifier to be allocated corresponds to the idle state of the UE, the MME allocates the device identifier to the UE.
步骤 805.MME向基站回复设备标识分配响应消息。该消息中携带包含 设备标识的设备标识信息。 若 MME同时分配了设备标识的有效时间范围, 则该设备标识信息中还包含设备标识的有效时间范围; 可选的, MME还可 以指示所分配的设备标识为 UE在空闲态下使用。 Step 805. The MME replies to the base station with a device identity assignment response message. The message carries the device identification information including the device identifier. If the MME allocates the valid time range of the device identifier, the device identifier information further includes a valid time range of the device identifier. Optionally, the MME may also Indicates that the assigned device identifier is used by the UE in an idle state.
步骤 806.可选的,若 MME接收的设备标识分配请求指示的原因值为小 区 TAI/发现区域标识改变,则 MME根据 UE发送的源 MME标识信息发送 设备标识释放请求消息给源 MME, 该消息中包含 UE的标识信息, 例如, UE的 IMSI或 S-TMSI, 上一次源 MME为 UE分配的设备标识等。 此处步 骤 606可以在步骤 606之前或之后进行。  Step 806. Optionally, if the cause value of the device identity allocation request indication received by the MME is a cell TAI/discovery area identifier change, the MME sends a device identity release request message to the source MME according to the source MME identity information sent by the UE, where the message is sent. The identifier information of the UE is included, for example, the IMSI or S-TMSI of the UE, the device identifier assigned by the source MME to the UE, and the like. Step 606 herein can be performed before or after step 606.
步骤 807.源 MME释放为 UE分配的设备标识。 可选的, 源 MME发送 设备标识释放确认消息给当前为 UE服务的 MME (目标 MME ), 以确认设 备标识释放完成。  Step 807. The source MME releases the device identifier assigned to the UE. Optionally, the source MME sends a device identifier release confirmation message to the MME (target MME) currently serving the UE, to confirm that the device identifier release is complete.
步骤 808.基站将接收的设备标识信息通过设备标识分配响应消息发送 给 UE, 携带的是原设备标识, 请求释放原设备标识。  Step 808: The base station sends the received device identification information to the UE by using the device identifier allocation response message, and carries the original device identifier, requesting to release the original device identifier.
步骤 809.UE接收设备标识分配响应消息后解析并存储其中的设备标识 信息, 并在设备到设备发现过程中使用设备标识发送发现信号。 若设备标 识信息中指示该设备标识对应 UE的 RRC空闲态, 则 UE仅在处于空闲态 时使用该设备标识发送发现信号。  Step 809. The UE parses and stores the device identification information after receiving the device identity allocation response message, and sends the discovery signal by using the device identifier in the device-to-device discovery process. If the device identification information indicates that the device identifier corresponds to the RRC idle state of the UE, the UE sends the discovery signal by using the device identifier only when in the idle state.
方法实施例八:  Method Embodiment 8:
本实施例描述的是 UE请求基站释放设备标识的方法。 在该实施例中, 设备标识管理实体位于基站中。 如图 10所示, 本实施例包括以下步骤: 步骤 901.UE确定当前不需要使用设备标识。 例如, UE关闭了 D2D模 块, 或关闭了 D2D发现 /被发现功能, 或关闭某应用程序。  This embodiment describes a method in which a UE requests a base station to release a device identifier. In this embodiment, the device identity management entity is located in the base station. As shown in FIG. 10, the embodiment includes the following steps: Step 901. The UE determines that the device identifier is not currently used. For example, the UE turns off the D2D module, or turns off the D2D discovery/discovery feature, or closes an application.
步骤 902.UE发送设备标识释放请求消息给基站 (若 UE处于空闲态, 需先建立 RRC连接)。 可选的, 该消息中还可以包含状态指示信息, 用于 指示所需释放的设备标识对应的 UE状态。可选的,该消息中包含设备标识 释放原因值。 可选的, 该消息中包含 UE的 MME标识信息。 可选的, 该消 息中包含需释放的设备标识。 步骤 903.基站释放 UE的设备标识。 或者, 若 UE发送的设备标识分配 请求消息中包含状态指示信息, 则基站根据该状态指示信息确定是否需要 释放设备标识。 具体的, 若状态指示信息指示所需分配的设备标识对应 UE 的连接态, 则该基站释放为 UE分配的设备标识。 Step 902: The UE sends a device identity release request message to the base station (if the UE is in an idle state, an RRC connection needs to be established first). Optionally, the message may further include status indication information, configured to indicate a UE status corresponding to the device identifier that needs to be released. Optionally, the message includes a device identifier release reason value. Optionally, the message includes the MME identity information of the UE. Optionally, the message includes the device identifier to be released. Step 903: The base station releases the device identifier of the UE. Or, if the device identifier allocation request message sent by the UE includes the status indication information, the base station determines, according to the status indication information, whether the device identifier needs to be released. Specifically, if the status indication information indicates that the device identifier to be allocated corresponds to the connected state of the UE, the base station releases the device identifier allocated for the UE.
步骤 904.可选的, 基站发送设备标识释放确认消息给 UE, 以确认设备 标识已释放。  Step 904. Optionally, the base station sends a device identity release confirmation message to the UE to confirm that the device identifier has been released.
步骤 905.基站发送设备标识释放通知消息给 UE的 MME,以通知 MME 该设备标识已经释放。 可选的, 该消息中包含 UE的网络侧标识, 或已释放 的设备标识。  Step 905: The base station sends a device identity release notification message to the MME of the UE to notify the MME that the device identifier has been released. Optionally, the message includes a network side identifier of the UE, or a released device identifier.
步骤 906.可选的, MME发送设备标识释放确认消息给基站, 以确认设 备标识已释放。  Step 906. Optionally, the MME sends a device identity release confirmation message to the base station to confirm that the device identifier has been released.
方法实施例九:  Method Example 9:
本实施例描述的是 UE请求 MME释放设备标识的方法。在该实施例中, 设备标识管理实体位于 MME中。 如图 11所示, 本实施例包括以下步骤: 步骤 1001.UE确定当前不需要使用设备标识。 例如, UE关闭了 D2D 模块, 或关闭了 D2D发现 /被发现功能, 或关闭某应用程序。  This embodiment describes a method in which a UE requests an MME to release a device identifier. In this embodiment, the device identity management entity is located in the MME. As shown in FIG. 11, the embodiment includes the following steps: Step 1001. The UE determines that the device identifier is not currently used. For example, the UE turns off the D2D module, or turns off the D2D discovery/discovery feature, or closes an application.
步骤 1002.UE发送设备标识释放请求消息给基站(若 UE处于空闲态, 需先建立 RRC连接)。 可选的, 该消息中还可以包含状态指示信息, 用于 指示所需释放的设备标识对应的 UE状态。可选的,该消息中包含设备标识 释放原因值。 可选的, 该消息中包含 UE的 MME标识信息。 可选的, 该消 息中包含需释放的设备标识。  Step 1002: The UE sends a device identity release request message to the base station (if the UE is in an idle state, an RRC connection needs to be established first). Optionally, the message may further include status indication information, configured to indicate a UE status corresponding to the device identifier that needs to be released. Optionally, the message contains the device ID release reason value. Optionally, the message includes the MME identity information of the UE. Optionally, the message contains the device ID to be released.
步骤 1003.基站发送设备标识释放请求消息给 MME。 或者, 若 UE发 送的设备标识分配请求消息中包含状态指示信息, 则基站根据该状态指示 信息确定是否需要释放设备标识。 具体的, 若状态指示信息指示所需分配 的设备标识对应 UE的空闲态,则该基站不执行设备标识的释放, 而是将设 备标识释放请求消息发送至 MME。 可选的, 该消息中还可以包含状态指示 信息, 用于指示所需释放的设备标识对应的 UE状态。 可选的, 该消息中包 含设备标识释放原因值。 可选的, 该消息中包含需释放的设备标识。 Step 1003: The base station sends a device identity release request message to the MME. Or, if the device identifier allocation request message sent by the UE includes the status indication information, the base station determines, according to the status indication information, whether the device identifier needs to be released. Specifically, if the status indication information indicates that the device identifier to be allocated corresponds to the idle state of the UE, the base station does not perform the release of the device identifier, but A backup identity release request message is sent to the MME. Optionally, the message may further include status indication information, configured to indicate a UE status corresponding to the device identifier that needs to be released. Optionally, the message includes a device identifier release reason value. Optionally, the message includes the device identifier to be released.
步骤 1004. MME释放 UE的设备标识。 或者, 若 MME接收的设备标 识分配请求消息中包含状态指示信息,则 MME根据该状态指示信息确定是 否需要释放设备标识。 具体的, 若状态指示信息指示所需分配的设备标识 对应 UE的空闲态, 则该 MME释放为 UE分配的设备标识。  Step 1004. The MME releases the device identifier of the UE. Or, if the device identifier allocation request message received by the MME includes status indication information, the MME determines, according to the status indication information, whether the device identifier needs to be released. Specifically, if the status indication information indicates that the device identifier to be allocated corresponds to the idle state of the UE, the MME releases the device identifier allocated for the UE.
步骤 1005.可选的, MME发送设备标识释放响应消息给基站, 以确认 设备标识已释放。  Step 1005. Optionally, the MME sends a device identity release response message to the base station to confirm that the device identifier has been released.
步骤 1006. 可选的, 基站发送设备标识释放响应消息给 UE, 以确认设 备标识已释放。  Step 1006. Optionally, the base station sends a device identity release response message to the UE to confirm that the device identifier has been released.
一种设备标识的分配系统, 该系统包括: 位于设备标识管理实体侧的 设备标识分配单元和设备标识发送单元; 其中, 述设备标识分配单元配置 为给 UE分配设备标识; 设备标识发送单元配置为发送信息给所述 UE, 所 述信息包含所述设备标识; 所述设备标识用于设备到设备发现和 /或设备到 设备通信中标识所述 UE。  A device identification distribution system, the system includes: a device identification allocation unit and a device identification sending unit located on a device identity management entity side; wherein the device identifier allocation unit is configured to allocate a device identifier to the UE; the device identifier sending unit is configured to Sending information to the UE, the information including the device identifier; the device identifier is used to identify the UE in device-to-device discovery and/or device-to-device communication.
优选的,设备标识分配单元还配置为在 UE的附着过程中为所述 UE分 配设备标识;  Preferably, the device identity allocation unit is further configured to allocate the device identifier to the UE in an attach procedure of the UE;
或者, 在 UE的跟踪区域更新过程中为所述 UE分配设备标识; 或者, 在 UE的服务请求过程中为所述 UE分配设备标识;  Or, the device identifier is allocated to the UE in the tracking area update process of the UE; or, the UE identifier is allocated to the UE in a service request process of the UE;
或者, 在 UE的切换过程中为所述 UE分配设备标识;  Or, the device identifier is allocated to the UE in a handover process of the UE;
或者, 在 UE的设备标识分配过程中为所述 UE分配设备标识。  Or, the device identifier is allocated to the UE in a device identity allocation process of the UE.
优选的, 设备标识分配单元, 还配置为 UE在不同的 RRC状态下使用 的设备标识由不同的设备标识管理实体分配; 或者, UE在不同的 RRC状 态下使用的设备标识由相同的设备标识管理实体分配。 优选的, 设备标识分配单元, 还配置为给 UE分配的用于 UE在不同的 RRC状态下使用的设备标识的长度为不相同。 Preferably, the device identifier allocation unit is further configured to allocate the device identifiers used by the UE in different RRC states by different device identifier management entities; or the device identifiers used by the UE in different RRC states are managed by the same device identifier. Entity allocation. Preferably, the device identifier allocation unit is further configured to allocate to the UE that the lengths of the device identifiers used by the UE in different RRC states are different.
优选的,设备标识分配单元,还配置为根据所述 UE的签约等级为所述 UE分配设备标识。  Preferably, the device identifier allocation unit is further configured to allocate a device identifier to the UE according to the subscription level of the UE.
优选的,设备标识分配单元,还配置为给不同签约等级的 UE分配的设 备标识长度不同;  Preferably, the device identifier allocation unit is further configured to allocate different device identifier lengths to UEs of different subscription levels;
或者, 从不同的设备标识集合中为不同签约等级的 UE分配设备标识。 优选的, 设备标识发送单元, 还配置为 UE在不同的 RRC状态下使用 的设备标识由不同的设备标识管理实体分配情况下, 发送的所述信息中还 包含所述设备标识对应的 UE状态; 所述 UE状态包括: 空闲态和连接态。  Or, assigning device identifiers to UEs of different subscription levels from different device identifier sets. Preferably, the device identifier sending unit is further configured to: if the device identifier used by the UE in different RRC states is allocated by different device identifier management entities, the information sent includes the UE status corresponding to the device identifier. The UE status includes: an idle state and a connected state.
优选的, 设备标识发送单元, 还配置为发送的所述信息中还包含所述 设备标识的有效时间范围。  Preferably, the device identifier sending unit further configured to send the information further includes a valid time range of the device identifier.
优选的,设备标识分配单元,还配置为在所述 UE的设备标识分配过程 中为所述 UE分配设备标识的情况下, 所述设备标识超出有效时间范围后, 接收来自于所述 UE的分配新的设备标识的请求;  Preferably, the device identifier allocation unit is further configured to: when the device identifier is allocated to the UE in the device identifier allocation process of the UE, after the device identifier exceeds the valid time range, receive the assignment from the UE a request for a new device identification;
或者, UE检测到当前所驻留小区广播的小区标识改变时, 接收来自于 所述 UE的分配新的设备标识的请求;  Or, when the UE detects that the cell identity of the currently camped cell is changed, the UE receives a request for allocating a new device identifier from the UE;
或者, UE检测到当前所驻留小区广播的跟踪区域码改变时, 接收来自 于所述 UE的分配新的设备标识的请求;  Or, when the UE detects that the tracking area code of the currently camped cell broadcast changes, receiving a request for allocating a new device identifier from the UE;
或者, UE检测到当前所驻留小区广播的发现区域标识改变时, 接收来 自于所述 UE的分配新的设备标识的请求;  Or, when the UE detects that the discovery area identifier of the currently camped cell broadcast changes, receiving a request for allocating a new device identifier from the UE;
或者,接收来自于所述 UE的基于事件触发的方式的分配设备标识的请 求;  Or receiving a request for assigning a device identifier from an event triggering manner of the UE;
或者,接收来自于所述 UE的基于事件触发的周期性方式的分配设备标 识的清求; 或者, 接收来自于所述 UE的周期性的分配设备标识的请求。 Or receiving a clearing of the allocation device identifier from the event triggering periodic manner of the UE; Alternatively, receiving a request for periodic allocation of device identification from the UE.
优选的, 该系统还包括: 位于设备标识管理实体侧的设备标识释放单 元, 配置为已分配设备标识后, 判断出需要释放已分配的设备标识时, 释 放已分配的设备标识。  Preferably, the system further includes: a device identifier release unit located on the device identifier management entity side, configured to release the allocated device identifier when the device identifier is required to be released, and the allocated device identifier is released.
优选的,设备标识释放单元,还配置为根据所述 UE的设备标识释放指 示信息判断是否需要释放已分配的设备标识;  Preferably, the device identifier release unit is further configured to determine, according to the device identifier release indication information of the UE, whether the allocated device identifier needs to be released;
或者,根据当前为所述 UE分配设备标识的设备标识管理实体的设备标 识释放指示信息判断是否需要释放已分配的设备标识;  Or determining, according to the device identifier release indication information of the device identifier management entity that currently allocates the device identifier to the UE, whether the allocated device identifier needs to be released;
或者, 根据其它网元的设备标识释放指示信息判断是否需要释放已分 配的设备标识。  Or, according to the device identifier release indication information of other network elements, it is determined whether the allocated device identifier needs to be released.
优选的, 设备标识释放单元, 还配置为发送的所述信息中还包含所述 设备标识的有效时间范围的情况下, 超出有效时间范围后判断出需要释放 已分配的设备标识, 并将已分配的设备标识释放。  Preferably, the device identifier release unit is further configured to: when the information sent includes the valid time range of the device identifier, after the valid time range is exceeded, it is determined that the allocated device identifier needs to be released, and the allocated device identifier is allocated. The device ID is released.
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围。 工业实用性  The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention. Industrial applicability
本发明实施例是通过设备标识管理实体为 UE分配设备标识;设备标识 管理实体发送信息给 UE, 信息包含设备标识。 采用本发明实施例, 在 D2D 场景下实现了网络侧为 UE分配标识。  In the embodiment of the present invention, the device identification management entity allocates a device identifier to the UE; the device identifier management entity sends information to the UE, where the information includes the device identifier. In the embodiment of the present invention, the network side allocates an identifier to the UE in the D2D scenario.

Claims

权利要求书 claims
1、 一种设备标识的分配方法, 该方法包括: 1. A method of assigning device identification, the method includes:
设备标识管理实体为用户设备 UE分配设备标识; The equipment identification management entity allocates equipment identification to the user equipment UE;
设备标识管理实体发送信息给所述 UE, 所述信息包含所述设备标识。 The device identity management entity sends information to the UE, where the information includes the device identity.
2、 根据权利要求 1所述的方法, 其中, 所述设备标识管理实体为 UE 分配设备标识, 还包括: 2. The method according to claim 1, wherein the device identity management entity allocates a device identity to the UE, further comprising:
所述设备标识管理实体在 UE的附着过程中为所述 UE分配设备标识; 或者, 所述设备标识管理实体在 UE的跟踪区域更新过程中为所述 UE 分配设备标识; The device identity management entity allocates a device identity to the UE during the attachment process of the UE; or, the device identity management entity allocates a device identity to the UE during the tracking area update process of the UE;
或者,所述设备标识管理实体在 UE的服务请求过程中为所述 UE分配 设备标识; Alternatively, the device identity management entity allocates a device identity to the UE during the UE's service request process;
或者,所述设备标识管理实体在 UE的切换过程中为所述 UE分配设备 标识; Alternatively, the device identity management entity allocates a device identity to the UE during the handover process of the UE;
或者, 所述设备标识管理实体在 UE的设备标识分配过程中为所述 UE 分配设备标识。 Alternatively, the device identity management entity allocates a device identity to the UE during the device identity allocation process of the UE.
3、 根据权利要求 2所述的方法, 其中, 所述设备标识管理实体在 UE 的切换过程中为所述 UE分配设备标识, 还包括: 3. The method according to claim 2, wherein the device identity management entity allocates a device identity to the UE during the handover process of the UE, further comprising:
第一设备标识管理实体通过显式或隐式的方式指示第二设备标识管理 实体所述 UE 需要分配新的设备标识; 所述第一设备标识管理实体为所述 UE的源设备标识管理实体; 所述第二设备标识管理实体为所述 UE的目标 设备标识管理实体。 The first device identity management entity instructs the second device identity management entity explicitly or implicitly that the UE needs to allocate a new device identity; the first device identity management entity is the source device identity management entity of the UE; The second device identity management entity is the target device identity management entity of the UE.
4、 根据权利要求 1所述的方法, 其中, 所述设备标识管理实体为 UE 分配设备标识, 还包括: 4. The method according to claim 1, wherein the device identity management entity allocates a device identity to the UE, further comprising:
UE在不同的 RRC状态下使用的设备标识由不同的设备标识管理实体 分配; 或者, UE在不同的 RRC状态下使用的设备标识由相同的设备标识管 理实体分配。 The device identities used by UE in different RRC states are allocated by different device identity management entities; Alternatively, the device identities used by the UE in different RRC states are allocated by the same device identity management entity.
5、根据权利要求 4所述的方法, 其中, 所述 UE在不同的 RRC状态下 使用的设备标识由不同的设备标识管理实体分配, 还包括: 5. The method according to claim 4, wherein the device identities used by the UE in different RRC states are allocated by different device identity management entities, and further includes:
UE在连接态下使用的设备标识由基站分配, UE在空闲态下使用的设 备标识由移动管理实体分配。 The device identity used by the UE in the connected state is allocated by the base station, and the device identity used by the UE in the idle state is allocated by the mobility management entity.
6、 根据权利要求 1所述的方法, 其中, 所述设备标识管理实体为 UE 分配设备标识, 还包括: 6. The method according to claim 1, wherein the device identity management entity allocates a device identity to the UE, further comprising:
所述设备标识管理实体分配的用于 UE在不同的 RRC状态下使用的设 备标识的长度不相同。 The lengths of the device identities allocated by the device identity management entity for use by the UE in different RRC states are different.
7、 根据权利要求 1所述的方法, 其中, 所述设备标识管理实体为 UE 分配设备标识, 还包括: 7. The method according to claim 1, wherein the device identity management entity allocates a device identity to the UE, further comprising:
所述设备标识管理实体根据所述 UE的签约等级为所述 UE分配设备标 识。 The device identity management entity allocates a device identity to the UE according to the subscription level of the UE.
8、 根据权利要求 7所述的方法, 其中, 所述设备标识管理实体根据所 述 UE的签约等级为所述 UE分配设备标识, 还包括: 8. The method according to claim 7, wherein the device identity management entity allocates a device identity to the UE according to the subscription level of the UE, further comprising:
所述设备标识管理实体为不同签约等级的 UE分配的设备标识长度不 同; The device identity management entity allocates different lengths of device identities to UEs of different subscription levels;
或者, 所述设备标识管理实体从不同的设备标识集合中为不同签约等 级的 UE分配设备标识。 Alternatively, the device identity management entity allocates device identities from different device identity sets to UEs of different subscription levels.
9、 根据权利要求 1所述的方法, 其中, 所述设备标识管理实体发送信 息给所述 UE, 所述信息包含所述设备标识, 还包括: 9. The method according to claim 1, wherein the device identity management entity sends information to the UE, the information includes the device identity, and further includes:
UE在不同的 RRC状态下使用的设备标识由不同的设备标识管理实体 分配情况下, 所述信息还包含所述设备标识对应的 UE状态; 所述 UE状态 包括: 空闲态和连接态。 When the device identifiers used by the UE in different RRC states are allocated by different device identifier management entities, the information also includes the UE state corresponding to the device identifier; the UE state includes: idle state and connected state.
10、 根据权利要求 1 所述的方法, 其中, 所述设备标识管理实体发送 信息给所述 UE, 所述信息包含所述设备标识, 还包括: 10. The method according to claim 1, wherein the device identity management entity sends information to the UE, the information includes the device identity, and further includes:
所述信息中还包含所述设备标识的有效时间范围。 The information also includes a valid time range of the device identification.
11、 根据权利要求 2 所述的方法, 其中, 所述设备标识管理实体在所 述 UE的设备标识分配过程中为所述 UE分配设备标识, 还包括: 11. The method according to claim 2, wherein the device identity management entity allocates a device identity to the UE during the device identity allocation process of the UE, further comprising:
所述 UE从设备标识管理实体接收的信息包含设备标识的有效时间范 围的情况下, 所述设备标识超出有效时间范围后,所述 UE向所述设备标识 管理实体请求分配新的设备标识; If the information received by the UE from the device identity management entity contains the valid time range of the device identity, after the device identity exceeds the valid time range, the UE requests the device identity management entity to allocate a new device identity;
或者,若所述 UE检测到当前所驻留小区广播的小区标识改变,则所述 UE向所述设备标识管理实体请求分配新的设备标识; Alternatively, if the UE detects that the cell identity broadcast by the cell where it currently resides changes, the UE requests the device identity management entity to allocate a new device identity;
或者,若所述 UE检测到当前所驻留小区广播的跟踪区域码改变,则所 述 UE向所述设备标识管理实体请求分配新的设备标识; Alternatively, if the UE detects a change in the tracking area code broadcast by the cell where it currently resides, the UE requests the equipment identification management entity to allocate a new equipment identification;
或者,若所述 UE检测到当前所驻留小区广播的发现区域标识改变, 则 所述 UE向所述设备标识管理实体请求分配新的设备标识; Or, if the UE detects that the discovery area identity broadcast by the cell where it is currently camped changes, the UE requests the device identity management entity to allocate a new device identity;
或者,所述 UE基于事件触发的方式向所述设备标识管理实体请求分配 设备标识; Alternatively, the UE requests the device identity management entity to allocate a device identity based on an event-triggered manner;
或者,所述 UE基于事件触发的周期性方式向所述设备标识管理实体请 求分配设备标识; Alternatively, the UE requests the device identity management entity to allocate a device identity based on an event-triggered periodic manner;
或者, 所述 UE周期性的向所述设备标识管理实体请求分配设备标识。 Alternatively, the UE periodically requests the device identity management entity to allocate a device identity.
12、 根据权利要求 1至 11任一项所述的方法, 其中, 所述设备标识管 理实体为 UE分配设备标识之后, 该方法还包括: 12. The method according to any one of claims 1 to 11, wherein after the device identity management entity allocates a device identity to the UE, the method further includes:
所述设备标识管理实体判断是否需要释放已分配的设备标识, 若需要 释放设备标识, 则释放所述已分配的设备标识。 The device identity management entity determines whether the allocated device identity needs to be released. If the device identity needs to be released, the allocated device identity is released.
13、 根据权利要求 12所述的方法, 其中, 所述设备标识管理实体判断 是否需要释放已分配的设备标识, 还包括: 所述设备标识管理实体根据所述 UE 的设备标识释放指示信息判断是 否需要释放已分配的设备标识; 13. The method according to claim 12, wherein the device identity management entity determines whether the allocated device identity needs to be released, further comprising: The device identity management entity determines whether the allocated device identity needs to be released based on the device identity release indication information of the UE;
或者,所述设备标识管理实体根据当前为所述 UE分配设备标识的设备 标识管理实体的设备标识释放指示信息判断是否需要释放已分配的设备标 识; Alternatively, the device identity management entity determines whether the allocated device identity needs to be released based on the device identity release indication information of the device identity management entity that currently allocates a device identity to the UE;
或者, 所述设备标识管理实体根据其它网元的设备标识释放指示信息 判断是否需要释放已分配的设备标识。 Alternatively, the device identity management entity determines whether the allocated device identity needs to be released based on the device identity release indication information of other network elements.
14、 根据权利要求 13所述的方法, 其中, 所述设备标识管理实体根据 所述 UE的设备标识释放指示信息判断是否需要释放已分配的设备标识,还 包括: 14. The method according to claim 13, wherein the device identity management entity determines whether the allocated device identity needs to be released based on the device identity release indication information of the UE, and further includes:
若所述 UE判断当前不需要使用设备标识,则发送设备标识释放指示信 息指示设备标识管理实体释放为所述 UE分配的设备标识。 If the UE determines that it does not need to use the device identity currently, it sends device identity release indication information to instruct the device identity management entity to release the device identity allocated for the UE.
15、 根据权利要求 13所述的方法, 其中, 所述设备标识管理实体根据 当前为所述 UE 分配设备标识的设备标识管理实体的设备标识释放指示信 息判断是否需要释放已分配的设备标识, 还包括: 15. The method according to claim 13, wherein the device identity management entity determines whether the allocated device identity needs to be released based on the device identity release indication information of the device identity management entity that currently allocates a device identity to the UE, and further include:
当前为所述 UE分配设备标识的设备标识管理实体根据所述 UE发送的 上一次为所述 UE分配设备标识的设备标识管理实体的标识信息和所述 UE 的标识信息指示所述上一次为所述 UE 分配设备标识的设备标识管理实体 释放已经为所述 UE分配的设备标识。 The device identity management entity that currently allocates a device identity to the UE indicates that the last time it was assigned to the UE is based on the identity information of the device identity management entity that last assigned a device identity to the UE and the identity information of the UE sent by the UE. The device identity management entity that allocates the device identity to the UE releases the device identity that has been allocated to the UE.
16、 根据权利要求 12所述的方法, 其中, 所述设备标识管理实体判断 是否需要释放已分配的设备标识, 还包括: 16. The method according to claim 12, wherein the device identity management entity determines whether the allocated device identity needs to be released, further comprising:
若所述设备标识管理实体发送给所述 UE 的信息指示了设备标识的有 效时间范围, 则超出有效时间范围后, 所述设备标识管理实体判断需要释 放已分配的设备标识, 并将所述已分配的设备标识释放。 If the information sent by the device identity management entity to the UE indicates the valid time range of the device identity, after the valid time range is exceeded, the device identity management entity determines that the allocated device identity needs to be released, and the allocated device identity is The assigned device ID is released.
17、 根据权利要求 1至 11任一项所述的方法, 其中, 所述设备管理实 体为 UE分配的设备标识由以下任意一个或多个组成: 17. The method according to any one of claims 1 to 11, wherein the device management implementation The device identity assigned by the entity to the UE consists of any one or more of the following:
用于设备到设备用途的标识信息; Identification information for device-to-device use;
所述 UE的临时移动用户标识 TMSI; The temporary mobile subscriber identity TMSI of the UE;
所述 UE的国际移动用户识别码 IMSI; The International Mobile Subscriber Identity IMSI of the UE;
所述 UE的小区无线网络临时标识 C-RNTI; The cell radio network temporary identifier C-RNTI of the UE;
所述 UE的 IP地址; The IP address of the UE;
所述 UE所在的跟踪区域 TA标识信息。 The tracking area TA identification information where the UE is located.
18、 一种设备标识的分配系统, 该系统包括: 位于设备标识管理实体 侧的设备标识分配单元和设备标识发送单元; 其中, 18. A device identity distribution system, the system includes: a device identity distribution unit and a device identity sending unit located on the device identity management entity side; wherein,
所述设备标识分配单元, 配置为给 UE分配设备标识; The device identity allocation unit is configured to allocate a device identity to the UE;
所述设备标识发送单元, 配置为发送信息给所述 UE, 所述信息包含所 述设备标识。 The device identification sending unit is configured to send information to the UE, where the information includes the device identification.
19、 根据权利要求 18所述的系统, 其中, 所述设备标识分配单元, 还 配置为在 UE的附着过程中为所述 UE分配设备标识; 19. The system according to claim 18, wherein the device identity allocation unit is further configured to allocate a device identity to the UE during the attachment process of the UE;
或者, 在 UE的跟踪区域更新过程中为所述 UE分配设备标识; 或者, 在 UE的服务请求过程中为所述 UE分配设备标识; Or, allocate a device identity to the UE during the UE's tracking area update process; or allocate a device identity to the UE during the UE's service request process;
或者, 在 UE的切换过程中为所述 UE分配设备标识; Or, assign a device identity to the UE during the handover process of the UE;
或者, 在 UE的设备标识分配过程中为所述 UE分配设备标识。 Alternatively, the UE is assigned a device identity during the UE's device identity allocation process.
20、 根据权利要求 18所述的系统, 其中, 所述设备标识分配单元, 还 配置为 UE在不同的 RRC状态下使用的设备标识由不同的设备标识管理实 体分配; 或者, UE在不同的 RRC状态下使用的设备标识由相同的设备标 识管理实体分配。 20. The system according to claim 18, wherein the device identity allocation unit is further configured so that the device identities used by the UE in different RRC states are allocated by different device identity management entities; or, the device identities used by the UE in different RRC states are allocated by different device identity management entities. The device identity used in the state is assigned by the same device identity management entity.
21、 根据权利要求 18所述的系统, 其中, 所述设备标识分配单元, 还 配置为给 UE分配的用于 UE在不同的 RRC状态下使用的设备标识的长度 为不相同。 21. The system according to claim 18, wherein the device identity allocation unit is further configured to allocate different lengths of device identities to the UE for use by the UE in different RRC states.
22、 根据权利要求 18所述的系统, 其中, 所述设备标识分配单元, 还 配置为根据所述 UE的签约等级为所述 UE分配设备标识。 22. The system according to claim 18, wherein the device identity allocation unit is further configured to allocate a device identity to the UE according to the subscription level of the UE.
23、 根据权利要求 22所述的系统, 其中, 所述设备标识分配单元, 还 配置为给不同签约等级的 UE分配的设备标识长度不同; 23. The system according to claim 22, wherein the device identity allocation unit is further configured to allocate device identities of different lengths to UEs of different subscription levels;
或者, 从不同的设备标识集合中为不同签约等级的 UE分配设备标识。 Alternatively, allocate device identities from different device identity sets to UEs of different subscription levels.
24、 根据权利要求 18所述的系统, 其中, 所述设备标识发送单元, 还 配置为 UE在不同的 RRC状态下使用的设备标识由不同的设备标识管理实 体分配情况下,发送的所述信息中还包含所述设备标识对应的 UE状态; 所 述 UE状态包括: 空闲态和连接态。 24. The system according to claim 18, wherein the device identity sending unit is further configured to send the information when the device identities used by the UE in different RRC states are allocated by different device identity management entities. also includes the UE state corresponding to the device identifier; the UE state includes: idle state and connected state.
25、 根据权利要求 18所述的系统, 其中, 所述设备标识发送单元, 还 配置为发送的所述信息中还包含所述设备标识的有效时间范围。 25. The system according to claim 18, wherein the device identification sending unit is further configured so that the information sent also includes a valid time range of the device identification.
26、 根据权利要求 19所述的系统, 其中, 所述设备标识分配单元, 还 配置为在所述 UE的设备标识分配过程中为所述 UE分配设备标识的情况 下,所述设备标识超出有效时间范围后,接收来自于所述 UE的分配新的设 备标识的请求; 26. The system according to claim 19, wherein the device identity allocation unit is further configured to allocate a device identity to the UE during the device identity allocation process of the UE, and the device identity exceeds the valid limit. After the time range, receive a request from the UE to allocate a new device identity;
或者, UE检测到当前所驻留小区广播的小区标识改变时, 接收来自于 所述 UE的分配新的设备标识的请求; Or, when the UE detects that the cell identity broadcast by the cell where it currently resides changes, it receives a request from the UE to allocate a new device identity;
或者, UE检测到当前所驻留小区广播的跟踪区域码改变时, 接收来自 于所述 UE的分配新的设备标识的请求; Or, when the UE detects that the tracking area code broadcast by the cell where it is currently camped changes, it receives a request from the UE to allocate a new device identity;
或者, UE检测到当前所驻留小区广播的发现区域标识改变时, 接收来 自于所述 UE的分配新的设备标识的请求; Or, when the UE detects that the discovery area identifier broadcast by the cell where it is currently camped changes, it receives a request from the UE to allocate a new device identifier;
或者,接收来自于所述 UE的基于事件触发的方式的分配设备标识的请 求; Or, receive a request from the UE to allocate a device identity based on an event-triggered manner;
或者,接收来自于所述 UE的基于事件触发的周期性方式的分配设备标 识的清求; 或者, 接收来自于所述 UE的周期性的分配设备标识的请求。 Alternatively, receive a request from the UE to allocate a device identity in a periodic manner based on event triggering; Alternatively, receive a periodic request for allocating a device identity from the UE.
27、 根据权利要求 18至 26任一项所述的系统, 其中, 该系统还包括: 位于设备标识管理实体侧的设备标识释放单元, 配置为已分配设备标识后, 判断出需要释放已分配的设备标识时, 释放已分配的设备标识。 27. The system according to any one of claims 18 to 26, wherein the system further includes: a device identity release unit located on the device identity management entity side, configured to determine that the allocated device identity needs to be released after it has been allocated. When a device ID is issued, the assigned device ID is released.
28、 根据权利要求 27所述的系统, 其中, 所述设备标识释放单元, 还 配置为根据所述 UE 的设备标识释放指示信息判断是否需要释放已分配的 设备标识; 28. The system according to claim 27, wherein the device identity release unit is further configured to determine whether the allocated device identity needs to be released based on the device identity release indication information of the UE;
或者,根据当前为所述 UE分配设备标识的设备标识管理实体的设备标 识释放指示信息判断是否需要释放已分配的设备标识; Or, determine whether the allocated device identity needs to be released based on the device identity release indication information of the device identity management entity that currently assigns the device identity to the UE;
或者, 根据其它网元的设备标识释放指示信息判断是否需要释放已分 配的设备标识。 Or, determine whether the allocated device identity needs to be released based on the device identity release indication information of other network elements.
29、 根据权利要求 27所述的系统, 其中, 所述设备标识释放单元, 还 配置为发送的所述信息中还包含所述设备标识的有效时间范围的情况下, 超出有效时间范围后判断出需要释放已分配的设备标识, 并将已分配的设 备标识释放。 29. The system according to claim 27, wherein the device identification releasing unit is further configured to determine that when the information sent also contains a valid time range of the device identification, it is determined that the valid time range is exceeded. The allocated device ID needs to be released and the allocated device ID needs to be released.
PCT/CN2013/091088 2013-03-21 2013-12-31 Equipment identification allocation method and system WO2014146473A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310092314.4A CN104066078A (en) 2013-03-21 2013-03-21 Method and system for distributing equipment identifiers
CN201310092314.4 2013-03-21

Publications (1)

Publication Number Publication Date
WO2014146473A1 true WO2014146473A1 (en) 2014-09-25

Family

ID=51553566

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/091088 WO2014146473A1 (en) 2013-03-21 2013-12-31 Equipment identification allocation method and system

Country Status (2)

Country Link
CN (1) CN104066078A (en)
WO (1) WO2014146473A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3386265A4 (en) * 2015-12-04 2019-09-04 LG Electronics Inc. -1- Method and apparatus for transmitting ue id in wireless communication system
EP3749051A4 (en) * 2018-01-30 2021-01-06 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for assigning ue identifier, network device, ue, and computer storage medium

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6562922B2 (en) * 2014-07-31 2019-08-21 シャープ株式会社 Terminal device, control method, and integrated circuit
WO2016112499A1 (en) * 2015-01-13 2016-07-21 华为技术有限公司 Resource indication method, access point, and terminal
CN106162777B (en) * 2015-04-09 2021-03-26 中兴通讯股份有限公司 Relay node switching method and system
CN108028863B (en) * 2015-09-21 2021-10-22 Lg 电子株式会社 Method for processing ID collision for D2D communication system and device thereof
CN108377569A (en) * 2016-10-17 2018-08-07 华为技术有限公司 The method and Provider Equipment of distributing user mark
CN108023875A (en) * 2017-11-16 2018-05-11 广州视源电子科技股份有限公司 A kind of device authorization method and system
CN109963340B (en) * 2017-12-25 2022-07-01 上海诺基亚贝尔股份有限公司 Method, apparatus and computer readable medium for reducing signaling overhead and data latency
CN108429740B (en) * 2018-02-12 2020-08-07 华为技术有限公司 Method and device for obtaining equipment identifier
CN108966185B (en) * 2018-08-16 2021-10-26 Oppo(重庆)智能科技有限公司 Resource release method, terminal and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101507348A (en) * 2006-08-21 2009-08-12 高通股份有限公司 Method and apparatus for random access in an orthogonal multiple-access communication system
CN101583155A (en) * 2008-05-16 2009-11-18 大唐移动通信设备有限公司 Load migration method for mobile management entity and communication equipment
CN102045834A (en) * 2009-10-14 2011-05-04 大唐移动通信设备有限公司 Method and device for allocating TA list
US20130016703A1 (en) * 2011-07-11 2013-01-17 Renesas Mobile Corporation User Identifier Multiplexing By Time Division

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101507348A (en) * 2006-08-21 2009-08-12 高通股份有限公司 Method and apparatus for random access in an orthogonal multiple-access communication system
CN101583155A (en) * 2008-05-16 2009-11-18 大唐移动通信设备有限公司 Load migration method for mobile management entity and communication equipment
CN102045834A (en) * 2009-10-14 2011-05-04 大唐移动通信设备有限公司 Method and device for allocating TA list
US20130016703A1 (en) * 2011-07-11 2013-01-17 Renesas Mobile Corporation User Identifier Multiplexing By Time Division

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3386265A4 (en) * 2015-12-04 2019-09-04 LG Electronics Inc. -1- Method and apparatus for transmitting ue id in wireless communication system
US10595195B2 (en) 2015-12-04 2020-03-17 Lg Electronics Inc. Method and apparatus for transmitting UE ID in wireless communication system
US10945123B2 (en) 2015-12-04 2021-03-09 Lg Electronics Inc. Method and apparatus for transmitting UE ID in wireless communication system
EP3749051A4 (en) * 2018-01-30 2021-01-06 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for assigning ue identifier, network device, ue, and computer storage medium

Also Published As

Publication number Publication date
CN104066078A (en) 2014-09-24

Similar Documents

Publication Publication Date Title
US11540100B2 (en) Method and apparatus for communication of terminal in mobile communication system
WO2014146473A1 (en) Equipment identification allocation method and system
US11589208B2 (en) Method for transmitting data in CIoT system and device therefor
US10159099B2 (en) Wireless communication system and connection method between user equipment and a mobility management entity
EP3399824B1 (en) Data scheduling method, base station and system
KR102039908B1 (en) Method and apparatus for state transition of device-to-device communications
JP6031529B2 (en) Mobile communication system, mobile communication network, infrastructure device, mobility manager, method and computer program
JP6084035B2 (en) Packet data network gateway selection method
US9585178B2 (en) Method for handling proximity-based service discovery and communication in a wireless communications system
WO2016161747A1 (en) Information processing method, communication node and computer storage medium
JPWO2020032127A1 (en) Relay device
EP3496477B1 (en) Paging method, device and system, and related computer-readable medium
WO2015004142A1 (en) Method for deciding to handover user equipment in a mobile communicaton network
JP5484581B2 (en) Emergency service user calling method and calling system
KR20090033088A (en) Method for user equipment performing direct communication via hnb access system
JP2015513864A (en) Method for controlling services in a wireless communication system
KR20100120075A (en) Method for providing connection type information and method for controlling radio resource of home (e)nodeb
WO2014166439A1 (en) Trunking multicast decision method, trunking terminal, trunking server and storage medium
KR20130008482A (en) Terminal of supporting direct communication using infra communication and direct communication method of the same
CN107708213B (en) Method and system for releasing cluster resources
KR101598598B1 (en) Integrated base station and method for providing intelligent service
JP2017163459A (en) Communication system and communication method
KR20160092388A (en) Method and Apparatus for Controlling Session for Providing Local Service in Mobile Small Cell

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

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

Country of ref document: EP

Kind code of ref document: A1