WO2013170723A1 - 终端间通讯终端的注册、发现、接入方法、装置及系统、终端发现方法及装置 - Google Patents

终端间通讯终端的注册、发现、接入方法、装置及系统、终端发现方法及装置 Download PDF

Info

Publication number
WO2013170723A1
WO2013170723A1 PCT/CN2013/075400 CN2013075400W WO2013170723A1 WO 2013170723 A1 WO2013170723 A1 WO 2013170723A1 CN 2013075400 W CN2013075400 W CN 2013075400W WO 2013170723 A1 WO2013170723 A1 WO 2013170723A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
registration
communication
network
information
Prior art date
Application number
PCT/CN2013/075400
Other languages
English (en)
French (fr)
Inventor
李志军
谢宝国
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2013170723A1 publication Critical patent/WO2013170723A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Definitions

  • the present invention relates to the field of communications, and in particular to a method for registering, discovering, and accessing a communication terminal between terminals, and a method for registering, discovering, and accessing an inter-terminal communication terminal.
  • BACKGROUND In mobile communication communication may occur between a user equipment (User Equipment, UE for short) (also referred to as a terminal, or a user terminal) and an application server (abbreviated as AS), and may also occur in Communication between two user devices, between two user devices, may be through AS transit, or may be through end-to-end IP data flow between two user devices.
  • UE User Equipment
  • AS Application Server
  • Packet Service (PS) networks provide IP-based data communications.
  • the IP address of the UE is allocated by the IP assignment entity in the network, and all IP data streams communicated by the UE need to pass through the IP assignment entity.
  • 1 is a schematic diagram of an architecture of a UE accessing a packet domain according to the related art. As shown in FIG.
  • the structure includes: UE, UMTS Terrestrial Radio Access Network (UTRAN), evolved terrestrial wireless Access network (Evolved UMTS for short) E-UTRAN, Serving GPRS Supporting Node (SGSN), Mobile Management Entity (MME), Home Location Register (referred to as Home Location Register) HLR)/Home Subscriber Server (HSS), Serving Gateway (SGW), Packet Data Network Gateway (PGW), Gateway GPRS Supporting Node (Gateway GPRS Supporting) Node, referred to as GGSN), AS.
  • the PGW and the GGSN are respectively assigned by the E-UTRAN and the Internet Protocol (IP) under the UTRAN/GERAN.
  • the GGSN and the PGW may be collectively referred to as a public data network gateway.
  • the UE can access the core network through UMTS and E-UTRAN, and after the IP address is assigned, the IP communication with the application server AS or other terminals can be realized.
  • the IP data stream is forwarded to the public data network gateway (GGSN/PGW) after being passed through the base station, and then sent by the GGSN/PGW to the AS or the destination UE according to the IP routing rule, where the UE goes to the base station and the base station to
  • the communication between the public data network gateways (GGSN/PGW) is not based on IP routing rules, but based on the routing technology of the underlying link. During the whole process, the base station does not perceive the information of the IP layer.
  • the base station does not know the IP address, port, and the like of the UE.
  • P2P Peer-to-Peer
  • the IP data packet must be returned to the public data network gateway (GGSN/PGW) located at the upper layer. And then sent to the destination UE, especially when the public data network gateway (GGSN/PGW) is located in the home network, and the two UEs communicating with each other are located in the visited network, the media routing phenomenon is particularly prominent in this scenario.
  • Figure 2 depicts the round-trip phenomenon of the above IP data stream.
  • the communication link between UE1 and UE2 is: UE1 eNodeB SGW PGW (Forwarding Network) SGW eNodeB UE2.
  • IP data stream from UE1 to UE2 goes out from the same base station eNodeB, and returns to the public data network gateway, and returns to the eNodeB after a large circle.
  • the above-mentioned phenomenon of IP data flow is more and more prominent as the mobile broadband process progresses.
  • mobile networks are increasingly showing the characteristics of broadband networks. With the widespread use of smartphones, the transmission of media data streams over mobile networks is becoming more frequent.
  • the industry proposes a technology similar to WIFI for direct communication between adjacent terminals.
  • the two terminals in the physical location use the spectrum resources of the operator.
  • the burst technology that increases the power, and the similar WIFI broadcast mechanism to achieve mutual discovery, and establish a point-to-point direct connection wireless communication, as shown in Figure 2 is the direct communication link between UE1 and UE2 (the picture is thicker Dotted line).
  • the use of the above direct communication technology brings the following negative effects to the operator: First, since the direct communication between the terminals utilizes the operator's spectrum resources, and uses the burst technology of increasing the power, The spectrum resources of the operators constitute a certain degree of interference; Second, the operators cannot detect and count the direct communication of the terminals, and thus cannot prevent and improve the negative effects caused by the above direct communication technologies.
  • the operator cannot prevent and improve the impact of the above direct communication technology by utilizing the operator's spectrum resources and the operator is unable to participate and give sufficient control capability. Therefore, the operator's spectrum resources constitute a certain degree of interference.
  • the present invention provides a method for registering, discovering, and accessing an inter-terminal communication terminal, a device and a system thereof, and a method and device for discovering a terminal, to at least solve the problem that the direct communication technology in the related art constitutes a spectrum resource of an operator. A certain degree of interference problems.
  • a method for registering an inter-terminal communication D2D terminal including:
  • the D2D registration server receives the D2D registration request sent by the D2D terminal through the network entity; the D2D registration server (D2D Register Server, referred to as DRS) performs the registration operation of the D2D terminal.
  • the network entity is a radio base station system, wherein when the D2D terminal sends a D2D registration request to the radio base station system in the evolved terrestrial radio access network EUTRAN, the radio base station system comprises: a base station eNodeB; when the D2D terminal is connected to the terrestrial radio
  • the radio base station system in the UTRAN sends a D2D registration request the radio base station system includes: a base station NodeB and a radio network controller (Radio Network Controller, RNC for short), and the D2D registration request is carried in radio resource management (Radio Resource Control, referred to as In the message for RRC).
  • RNC Radio Network Controller
  • the network entity is a core network mobility management network element, wherein when the D2D terminal sends a D2D registration request to the wireless base station system in the EUTRAN, the core network mobility management network element includes: a mobility management entity MME, when the D2D terminal When the D2D registration request is sent to the wireless base station system in the EUTRAN, the core network mobility management network element includes: a serving GPRS support node SGSN, and the D2D registration request is carried in a Network Attached Storage (NAS) message.
  • NAS Network Attached Storage
  • the receiving, by the D2D registration server, the D2D registration request sent by the D2D terminal by the network entity comprises: when the network entity sends the D2D registration request to the D2D registration server, the network entity carries the access information of the D2D terminal in the D2D registration request and sends the The D2D registration server, where the access information of the D2D terminal includes: an access identifier of the D2D terminal and location information of the D2D terminal.
  • the D2D registration request includes one of the following: an application layer identifier of the D2D terminal; an application layer identifier of the D2D terminal and a service type of the D2D terminal.
  • the registration method of the D2D terminal further includes: when the D2D terminal is successfully registered, the D2D terminal enters the D2D communication mode, wherein the D2D communication mode is D2D for the D2D terminal.
  • the communication service enters the connected state; in the case where the D2D terminal fails to register or the registration is successful, the D2D terminal releases the resources prepared for the D2D communication mode.
  • the registration method of the D2D terminal further includes: the D2D terminal enters an idle state.
  • the registration method of the D2D terminal further includes: if the registration of the D2D terminal on the D2D registration server is successful, the D2D registration server stores the registration of the D2D terminal.
  • Context where the registration context includes one of the following: access layer information of the D2D terminal; access layer information of the D2D terminal and application layer information of the D2D terminal.
  • a method for discovering a D2D terminal including: a D2D registration server receives a D2D terminal discovery request sent by a D2D terminal forwarded by a network entity; and the D2D registration server determines the proximity according to the D2D terminal discovery request.
  • the D2D terminal returns information of the adjacent D2D terminal to the D2D terminal.
  • the D2D registration server determines the neighboring terminal according to the D2D terminal discovery request, and returns the information of the adjacent D2D terminal to the D2D terminal.
  • the D2D registration server acquires the registration of the D2D terminal that initiates the D2D terminal discovery request according to the D2D terminal discovery request.
  • the D2D registration server determines the neighboring D2D terminal according to the registration context of the D2D terminal, and returns the information of the adjacent D2D terminal to the D2D terminal.
  • the D2D registration server determines the neighboring D2D terminal according to the registration context of the D2D terminal, and returns the information of the adjacent D2D terminal to the D2D terminal.
  • the D2D terminal discovery request carries the preset D2D service type or the D2D application layer.
  • the D2D registration server determines the neighboring D2D terminal according to the information group, and returns the information of the adjacent D2D to the D2D terminal, where the information group includes one of the following: registration of the D2D terminal Context and preset D2D service type; registration context of D2D terminal and D2D application layer identification.
  • the D2D terminal discovery method further includes: the D2D terminal sends a D2D registration request to the network entity.
  • the D2D terminal discovery method further includes: the D2D registration server storing the registration context of the D2D terminal, where the registration context includes one of the following: access layer information of the D2D terminal; access of the D2D terminal Layer information and application layer information of the D2D terminal.
  • the D2D terminal discovery method further includes: after the D2D registration server queries the network registered by the D2D terminal or subscribes to the location information of the D2D terminal, occurs at the location of the D2D terminal.
  • the D2D registration server updates the location information in the access layer information of the D2D terminal to the changed location information of the D2D terminal.
  • the registered network includes one of the following: a wireless base station system, a core network mobility management network element, a Serving Mobile Location Center (SMLC), or an enhanced service mobile positioning center (Enhanced SMLC, referred to as E-SMLC), Gateway Mobile Location Center GMLC.
  • SMLC Serving Mobile Location Center
  • E-SMLC enhanced service mobile positioning center
  • Gateway Mobile Location Center GMLC Gateway Mobile Location Center
  • the network entity is a radio base station system, wherein when the D2D terminal sends a D2D terminal discovery request to the radio base station system in the EUTRAN, the radio base station system includes: a base station eNodeB; when the D2D terminal sends the D2D terminal to the radio base station system in the UTRAN When the request is found, the radio base station system includes: the base station NodeB and the RNC, and the D2D terminal discovery request is carried in the radio resource management RRC message.
  • the network entity is a core network mobility management network element, wherein when the D2D terminal sends a D2D terminal discovery request to the core network mobility management network element in the EUTRAN, the core network mobility management network element includes: MME; when D2D When the terminal sends a D2D terminal discovery request to the core network mobility management network element in the UTRAN, the core network mobility management network element includes: SGSN, and the D2D terminal discovery request is carried in the NAS message.
  • a method for accessing a terminal including: acquiring, by the terminal, a network that the terminal supports D2D communication; and when the network supports D2D communication, the network receiving the D2D communication request sent by the terminal The network performs D2D access authentication on the terminal according to the D2D communication request.
  • the network to be accessed by the terminal to obtain the information that the terminal supports the D2D communication includes: The network to be accessed by the terminal receives an attach request sent by the terminal and carries the information that the terminal supports the D2D communication.
  • the network is a mobility management network element, and when the terminal sends a D2D communication request to the mobility management network element in the EUTRAN, the mobility management network element includes: a mobility management entity (Mobile Management Entity, MME for short)
  • the mobility management network element includes: an SGSN.
  • the network performs D2D access authentication on the terminal according to the D2D communication request, where: the wireless base station system in the network receives the D2D communication request, and initiates a request for obtaining the D2D subscription information of the terminal to the mobility management network element; The system performs D2D access authentication on the terminal according to the D2D subscription information of the terminal.
  • the wireless base station system When the terminal sends a D2D communication request to the wireless base station system in the EUTRAN, the wireless base station system includes: a base station eNodeB, where the mobility management network element includes: MME; When the terminal sends a D2D communication request to the radio base station system in the UTRAN, the radio base station system includes: an RNC, and the mobility management network element includes: an SGSN.
  • the network performs D2D access authentication on the terminal according to the D2D communication request, including: the wireless base station system in the network receives the D2D communication request, and initiates a request for authenticating the D2D terminal to the mobility management network element; the wireless base station system adopts the mobile The result of the authentication of the D2D terminal by the sex management network element.
  • a terminal access method including: acquiring, by a terminal, information about a network to be accessed by the terminal to support D2D communication; and when the network supports D2D communication, the terminal sends a D2D communication request to the network, The D2D communication request is used to trigger the network to perform D2D access authentication on the terminal.
  • the terminal acquires the information that the terminal to access the network to support the D2D communication includes: the terminal obtains the information that the network supports the D2D communication in one of the following manners: the terminal obtains the information that the network supports the D2D communication by receiving the cell broadcast message;
  • the attach response message acquires information that the network supports D2D communication.
  • the obtaining, by the terminal, the information that the network supports the D2D communication by receiving the attach response message comprises: determining, by the network, the D2D communication activation indication according to the following information, and when the connection response message carries the D2D communication activation indication, the terminal obtains the network support by using the D2D communication activation indication.
  • a D2D terminal registration device configured to receive a D2D registration request sent by a D2D terminal through a network entity; and an execution module, set to Perform the registration operation of the D2D terminal.
  • the receiving module is further configured to receive a D2D registration request that carries the access information of the D2D terminal added by the network entity, where the access information of the D2D terminal includes: an access identifier of the D2D terminal and location information of the D2D terminal.
  • the registration device of the D2D terminal further includes: a storage module, configured to store a registration context of the D2D terminal when the registration of the D2D terminal on the D2D registration server is successful, wherein the registration context includes one of the following: D2D terminal connection Incoming layer information; access layer information of the D2D terminal and application layer information of the D2D terminal.
  • a D2D terminal discovery device is provided.
  • the device is applied to a D2D registration server, and includes: a first receiving module, configured to receive a D2D terminal discovery request sent by a D2D terminal and forwarded by a network entity. And a determining module, configured to determine an adjacent D2D terminal according to the D2D terminal discovery request, and return information of the adjacent D2D terminal to the D2D terminal, wherein the adjacent D2D terminal is a D2D terminal capable of communicating with the D2D terminal.
  • the determining module comprises: an obtaining unit, configured to acquire a registration context of the D2D terminal that initiates the D2D terminal discovery request according to the D2D terminal discovery request; and a determining unit, configured to determine the neighboring D2D terminal according to the registration context of the D2D terminal, and The information of the adjacent D2D terminal is returned to the D2D terminal.
  • the determining unit is further configured to: when the D2D terminal discovery request carries the preset D2D service type or the D2D application layer identifier, determine the neighboring D2D terminal according to the information group, and return the adjacent D2D information to the D2D terminal.
  • the D2D terminal where the information group includes one of the following: a registration context of the D2D terminal and a preset D2D service type; a registration context of the D2D terminal and a D2D application layer identifier.
  • the device for discovering the D2D terminal further includes: a second receiving module, configured to receive, by the network entity, the D2D registration sent by the D2D terminal before the D2D registration server receives the D2D terminal discovery request sent by the D2D terminal and is forwarded by the network entity. request.
  • the discovery device of the D2D terminal further includes: a storage module, configured to store a registration context of the D2D terminal after the D2D terminal successfully registers, wherein the registration context includes one of: an access layer information of the D2D terminal; and a D2D terminal Access layer information and application layer information of the D2D terminal.
  • the discovery device of the D2D terminal further includes: an update module, configured to: after the D2D registration server queries the network registered by the D2D terminal or subscribes to the location information of the D2D terminal, in a case where the location of the D2D terminal changes, D2D The registration server updates the location information in the access layer information of the D2D terminal to the changed location information of the D2D terminal.
  • an access device of a terminal is provided.
  • the device is applied to a network, and includes: an acquiring module, configured to acquire information of a terminal to be registered to the network to support D2D communication; and a receiving module, configured to be When the network supports D2D communication, the receiving terminal sends a D2D communication request; and the access authentication module is configured to perform D2D access authentication on the terminal according to the D2D communication request.
  • the obtaining module is further configured to receive, by the terminal, an attach request that carries information that the terminal supports D2D communication.
  • an access device of a terminal where the device is applied to a terminal, and the method includes: an acquiring module, configured to acquire information about a network to be accessed by the terminal to support D2D communication; a sending module, setting In order to support the D2D communication in the terminal, the D2D communication request is sent to the network, where the D2D communication request is used to trigger the network to perform D2D access authentication on the terminal.
  • the obtaining module comprises: a first obtaining unit, configured to acquire information of the network supporting D2D communication by receiving a cell broadcast message; and a second acquiring unit, configured to obtain information that the network supports D2D communication by receiving an attach response message.
  • the second obtaining unit is further configured to determine, by the network, the D2D communication activation indication according to the following information, and when the D2D communication activation indication is carried in the attach response message, obtain the network support D2D through the D2D communication activation indication.
  • Communication information otherwise, the terminal obtains information that the network does not support D2D communication, wherein the judgment information includes one of the following: D2D communication support capability of the terminal and D2D communication support capability of the network; D2D communication support capability of the terminal, D2D communication of the network Support capability and D2D service signing of the terminal.
  • an access system for a terminal comprising: an access device for a terminal applied to a network according to any of the above, and an access device according to the terminal applied to the terminal.
  • a terminal discovery method including: a terminal sending a D2D registration request to a base station, where the D2D registration request is used to trigger the base station to forward forwarding to a DRS through a mobility management entity MME.
  • the terminal receives a response that is sent by the base station and is corresponding to the D2D registration request, where the response is that the DRS is sent by the MME to the base station; Sending a D2D discovery request, the discovery request is used to trigger the base station to forward a forward D2D discovery request to the DRS by using the MME; and the terminal receives a D2D discovery response that is forwarded by the base station and corresponding to the D2D discovery request.
  • a terminal discovery apparatus is further applied to a terminal, including: a second sending module, configured to send a D2D registration request to a base station, where the D2D registration request is used to trigger the base station Transmitting a forward D2D registration message to the DRS by the mobility management entity MME; the second receiving module is configured to receive a response that is fed back by the base station and corresponding to the D2D registration request, where the response is that the DRS passes the MME a third sending module, configured to send a D2D discovery request to the base station, where the discovery request is used to trigger the base station to forward a forward D2D discovery request to the DRS by using the MME; And a receiving module, configured to receive, by the base station, a D2D discovery response corresponding to the D2D discovery request.
  • the D2D terminal before the D2D communication is performed by the two D2D terminals, the D2D terminal first registers on the D2D registration server. After the registration is successful, the D2D terminal sends a D2D terminal discovery request to the D2D registration server, and the D2D registration server according to the above D2D.
  • the terminal discovery request determines an adjacent D2D terminal that can perform D2D communication with the D2D terminal
  • the D2D terminal can perform D2D communication with the determined adjacent D2D terminal, so that the D2D registration server can participate in two D2D terminals.
  • the D2D communication performed by the D2D terminal is controlled by the registration authentication of the D2D terminal and the process of determining the D2D terminal that can perform D2D communication with the D2D terminal, thereby realizing the operator can pass the D2D communication.
  • Setting up the D2D registration server to participate in and control the D2D communication between the two D2D terminals, and solving the related art direct communication technology the operator is unable to participate in the direct access communication technology and the operator is unable to participate and give sufficient control capability, resulting in the operator Unable to prevent and improve the above direct connection
  • the impact of technology brings, giving operators spectrum resources constitutes a problem of some degree of interference, to reduce interference with the operator's spectrum resources of results.
  • FIG. 1 is a schematic diagram of an architecture of a D2D terminal accessing a packet domain according to the related art
  • FIG. 2 is a schematic diagram of IP data communication between different D2D terminals under a base station under the same base station according to the related art
  • 3 is a flowchart of a method for registering a D2D terminal according to an embodiment of the present invention
  • FIG. 4 is a flowchart of a method for discovering a D2D terminal according to an embodiment of the present invention
  • FIG. 5 is a method for accessing a terminal according to an embodiment of the present invention
  • FIG. 6 is a flowchart of another terminal access method according to an embodiment of the present invention
  • FIG. 7 is a structural block diagram of a D2D terminal registration apparatus according to an embodiment of the present invention
  • FIG. 8 is a preferred implementation according to the present invention.
  • FIG. 9 is a structural block diagram of a discovery apparatus of a D2D terminal according to an embodiment of the present invention
  • FIG. 10 is a structural block diagram of a determination module according to an embodiment of the present invention
  • FIG. 12 is a diagram of a discovery device for another D2D terminal in accordance with a preferred embodiment of the present invention.
  • Figure 13 is a block diagram showing the structure of a device for discovering a D2D terminal according to a preferred embodiment of the present invention.
  • Figure 14 is a block diagram showing the structure of an access device for a terminal applied to a network according to an embodiment of the present invention;
  • FIG. 16 is a structural block diagram of a discovery apparatus of a D2D terminal applied to a D2D terminal according to a preferred embodiment of the present invention;
  • FIG. 17 is a block diagram of a discovery apparatus according to the present invention.
  • FIG. 18 is a schematic flowchart of a D2D terminal initiating a D2D registration request to a radio base station according to the first embodiment of the present invention, and the radio base station forwards the D2D registration request sent by the D2D terminal to the D2D registration server.
  • FIG. 19 is a D2D according to the first embodiment of the present invention.
  • FIG. 19 is a schematic diagram of a process in which a terminal initiates a D2D registration request to a core network mobility management network element, and a core network mobility management network element forwards a D2D registration request sent by a D2D terminal to a D2D registration server.
  • FIG. 20 is a network direction according to Embodiment 2 of the present invention.
  • the D2D terminal provides information about the D2D registration server, and the D2D terminal directly initiates a D2D registration request to the D2D registration server.
  • FIG. 21 is a schematic diagram of the D2D registration server subscribing the current location information of the D2D terminal from the eNodeB according to the third embodiment of the present invention, thereby determining the proximity.
  • FIG. 22 is a schematic flowchart of determining a current D2D terminal from a MME by a D2D registration server according to Embodiment 3 of the present invention, thereby determining a current D2D terminal; FIG.
  • FIG. 23 is a schematic diagram of a D2D terminal according to Embodiment 3 of the present invention
  • D2D registration server subscribes to D2D terminal from LCS The current location information is used to determine the flow diagram of the adjacent D2D terminal.
  • FIG. 24 is a schematic flowchart of the D2D communication support information between the network and the terminal and performing the access authentication of the terminal according to the fourth embodiment of the present invention; A flowchart of obtaining D2D communication support information of a network by using a cell broadcast according to the fourth embodiment of the present invention; FIG.
  • 26 is a schematic flowchart of obtaining D2D communication support information of a network by receiving a attach response message according to Embodiment 4 of the present invention
  • 27 is a schematic flowchart of a D2D access authentication performed by a radio access network on a terminal when a terminal initiates a D2D communication request according to Embodiment 4 of the present invention
  • FIG. 28 is a schematic diagram of a D2D communication request initiated by the terminal according to Embodiment 4 of the present invention.
  • FIG. 3 is a flowchart of a method for registering a D2D terminal according to an embodiment of the present invention.
  • the method for registering the D2D terminal includes steps S302 to S304.
  • Step S302 The D2D registration server receives the D2D registration request sent by the D2D terminal through the network entity.
  • the D2D terminal Before the D2D communication between the two D2D terminals, the D2D terminal first registers on the D2D registration server. After the registration is successful, the two D2D terminals are likely to realize mutual discovery, and further attempts to establish D2D communication can be realized.
  • the D2D registration server can participate in the D2D communication between the two D2D terminals, and realize the D2D communication of the D2D terminal by the process of registering and authenticating the D2D terminal, so that the operator can participate by setting the D2D registration server. Control D2D communication between two D2D terminals to control the direct communication of the terminal, reduce the use of the uncontrolled terminal direct communication mode, and the operator can provide mutual discovery between the directly connected communication terminals based on the operator network.
  • Controls such as access authentication before the direct connection communication can solve the problem that the above-mentioned direct communication technology cannot be prevented and improved by the operator due to the use of the operator's spectrum resources and the operator's inability to participate and give sufficient control capability.
  • the impact of the coming, thus giving the operator a frequency Spectral resources constitute a certain degree of interference, and the effect of reducing interference to the operator's spectrum resources is achieved.
  • the network entity may be a radio base station system, where when the D2D terminal sends a D2D registration request to the radio base station system in the EUTRAN, the radio base station system may include: a base station eNodeB; when the D2D terminal sends to the radio base station system in the UTRAN When the D2D registration request is made, the radio base station system may include: a base station NodeB and a radio network manager RNC, and the D2D registration request is carried in the RRC message.
  • the registration request can be processed according to different situations, which improves the flexibility of processing the registration request message.
  • the network entity may be a core network mobility management network element, wherein when the D2D terminal sends a D2D registration request to the wireless base station system in the EUTRAN, the core network mobility management network element may include: a mobility management entity MME, when When the D2D terminal sends a D2D registration request to the radio base station system in the EUTRAN, the core network mobility management network element may include: an SGSN, and the D2D registration request is carried in the NAS message.
  • the registration request can be processed according to different situations, and the flexibility of processing the registration request message is improved.
  • the network entity when the network entity sends the D2D registration request sent by the D2D terminal to the D2D registration server, the network entity carries the access information of the D2D terminal in the D2D registration request and sends the information to the D2D registration server, where the D2D terminal access information
  • the method includes: an access identifier of the D2D terminal and location information of the D2D terminal. This excellent In the selected implementation manner, the access identifier of the terminal and the location information of the terminal are sent to the D2D registration server by using the registration request, so that the D2D registration server can register the D2D according to the foregoing information, thereby reducing the load of the signaling interaction.
  • the D2D registration request may include one of the following: an application layer identifier of the D2D terminal; an application layer identifier of the D2D terminal and a service type of the D2D terminal.
  • the registration request in the preferred embodiment carries the application layer identifier of the D2D terminal; the application layer identifier of the D2D terminal and the service type of the D2D terminal, so that the D2D server receiving the D2D registration request can accurately access the D2D terminal.
  • the D2D terminal After the D2D registration server performs the registration operation of the D2D terminal, in the case that the D2D terminal registration is successful, the D2D terminal enters the D2D communication mode, wherein the D2D communication mode starts the D2D communication service for the D2D terminal, and enters the connected state; In the case where the D2D terminal registration fails, the D2D terminal releases the resources prepared for the D2D communication mode.
  • the D2D registration server performs the registration operation on the D2D terminal, different operations are performed according to whether the D2D terminal registration is successful.
  • the D2D terminal enters the D2D communication mode; in the case of failure, the D2D terminal releases the resources prepared for the D2D communication mode, thereby improving the resource utilization of the system.
  • the registration method of the D2D terminal further includes: the D2D terminal enters an idle state, that is, after the D2D terminal releases the resource prepared for the D2D communication mode, if there is no other communication connection, The UE can exit the connected state and enter the idle state.
  • the D2D registration server After the D2D registration server receives the D2D registration request sent by the D2D terminal through the network entity, if the registration of the D2D terminal on the D2D registration server is successful, the D2D registration server stores the registration context of the D2D terminal, where the registration context includes the following One: access layer information of the D2D terminal; access layer information of the D2D terminal and application layer information of the D2D terminal.
  • the D2D registration server when the D2D terminal is successfully registered, stores the access layer information including the D2D terminal; the access layer information of the D2D terminal and the registration context of the application layer information of the D2D terminal, so that the D2D registration server can Providing the access layer information of the D2D terminal and/or the application layer information of the D2D terminal for the D2D subsequent communication can reduce the load of the signaling transmission.
  • This embodiment provides a method for discovering a D2D terminal. As shown in FIG. 4, the method for discovering the D2D terminal includes steps S402 to S404. Step S402: The D2D registration server receives the D2D terminal discovery request sent by the D2D terminal and forwarded by the network entity.
  • Step S404 The D2D registration server determines the neighboring D2D terminal according to the D2D terminal discovery request, and returns information of the adjacent D2D terminal to the D2D terminal.
  • the D2D terminal sends a D2D terminal discovery request to the D2D registration server, and when the D2D registration server determines, according to the D2D terminal discovery request, that the D2D terminal can perform D2D communication with the D2D terminal, the foregoing
  • the D2D terminal can perform D2D communication with the determined adjacent D2D terminal, realizes that the D2D registration server can participate in the D2D communication performed by the two D2D terminals, and determines the adjacent D2D terminal that can perform D2D communication with the D2D terminal.
  • the process is implemented to control the D2D communication of the D2D terminal, so that the operator can participate in and control the D2D communication performed by the two D2D terminals by setting the D2D registration server, which can solve the related technology in utilizing the operator spectrum resources and the operator. Unable to participate and give sufficient control ability, which will prevent operators from preventing and improving the impact of the above-mentioned direct communication technology, which will cause a certain degree of interference to the operator's spectrum resources, and achieve a reduction in operators. Spectrum resource The effect of interference.
  • the D2D registration server determines the neighboring terminal according to the D2D terminal discovery request, and returns the information of the adjacent D2D terminal to the D2D terminal.
  • the D2D registration server acquires the registration of the D2D terminal that initiates the D2D terminal discovery request according to the D2D terminal discovery request. Context; the D2D registration server determines the neighboring D2D terminal according to the registration context of the D2D terminal, and returns the information of the adjacent D2D terminal to the D2D terminal. In the preferred embodiment, the D2D registration server may determine the proximity of the terminal according to the registration context of the acquired D2D terminal and the registration context of the D2D terminal stored in the D2D server, thereby improving the reliability of determining the D2D terminal.
  • the D2D registration server determines the neighboring D2D terminal according to the registration context of the D2D terminal, and returns the information of the adjacent D2D terminal to the D2D terminal.
  • the D2D terminal discovery request carries the preset D2D service type or the D2D application layer.
  • the D2D registration server determines the neighboring D2D terminal according to the information group, and returns the information of the adjacent D2D to the D2D terminal, where the information group includes one of the following: registration of the D2D terminal Context and preset D2D service type; registration context of D2D terminal and D2D application layer identification.
  • the D2D registration server may obtain the D2D terminal by using the D2D service type (or the D2D application layer identifier).
  • the registration context and the context of the stored D2D terminal determine the D2D terminal, which improves the efficiency of determining the D2D terminal.
  • the D2D terminal discovery method further includes: the D2D terminal sends a D2D registration request to the network entity.
  • the D2D registration server receives the D2D terminal forwarded by the network entity.
  • the D2D terminal discovery method further includes: the D2D registration server storing the registration context of the D2D terminal, where the registration context includes one of the following: access layer information of the D2D terminal; access of the D2D terminal Layer information and application layer information of the D2D terminal.
  • the D2D registration server stores the access layer information, the access layer information of the D2D terminal, and the application layer information of the D2D terminal, so that the D2D server can register the D2D terminal by using the above information in subsequent processing.
  • the D2D terminal discovery method further includes: after the D2D registration server queries the network registered by the D2D terminal or subscribes to the location information of the D2D terminal, occurs at the location of the D2D terminal. In the case of a change, the D2D registration server updates the location information in the access layer information of the D2D terminal to the changed location information of the D2D terminal, thereby improving the accuracy of the location information of the D2D terminal.
  • the registered network includes one of the following: a wireless base station system, a core network mobility management network element, a service mobile positioning center SMLC/E-SMLC, and a gateway mobile positioning center GMLC.
  • the network entity is a radio base station system, wherein when the D2D terminal sends a D2D terminal discovery request to the radio base station system in the EUTRAN, the radio base station system includes: a base station eNodeB; when the D2D terminal sends the D2D terminal to the radio base station system in the UTRAN When the request is found, the radio base station system includes: the base station NodeB and the RNC, and the D2D terminal discovery request is carried in the radio resource management RRC message.
  • the network entity is a core network mobility management network element, wherein when the D2D terminal sends a D2D terminal discovery request to the core network mobility management network element in the EUTRAN, the core network mobility management network element includes: MME; when D2D When the terminal sends a D2D terminal discovery request to the core network mobility management network element in the UTRAN, the core network mobility management network element includes: SGSN, and the D2D terminal discovery request is carried in the NAS message.
  • MME when D2D When the terminal sends a D2D terminal discovery request to the core network mobility management network element in the UTRAN, the core network mobility management network element includes: SGSN, and the D2D terminal discovery request is carried in the NAS message.
  • This embodiment provides a method for accessing a terminal. As shown in FIG. 5, the access method of the terminal includes steps S502 to S506. Step S502: The network to be accessed by the terminal acquires information that the terminal supports D2D communication.
  • Step S504 When the network supports D2D communication, the network receives the D2D communication request sent by the terminal.
  • Step S506 The network performs D2D access authentication on the terminal according to the D2D communication request.
  • the network and the terminal interact with each other to support the D2D communication information, that is, the network obtains the information of the terminal supporting the D2D communication, and after the terminal obtains the information supporting the D2D communication of the network, when the network supports the D2D communication, the D2D sent by the receiving terminal is received.
  • the terminal After the communication request, the terminal performs D2D access authentication according to the D2D communication request, wherein the D2D communication request is any one of the following requests: a D2D registration request, a D2D discovery request, and a D2D connection request.
  • the information that the terminal to access the network to obtain the D2D communication information is: the network to be accessed by the terminal receives the attachment request sent by the terminal and carries the information that the terminal supports the D2D communication, and the terminal supports the D2D communication information. .
  • the network may be a mobility management network element, wherein when the terminal sends a D2D communication request to the mobility management network element in the EUTRAN, the mobility management network element may include: MME; when the D2D terminal moves to the UTRAN When the management network element sends a D2D communication request, the mobility management network element may include: an SGSN.
  • the network performs D2D access authentication on the terminal according to the D2D communication request, including: the wireless base station system in the network receives the D2D communication request, and initiates a request for obtaining the D2D subscription information of the D2D terminal to the mobility management network element; The base station system performs D2D access authentication on the terminal according to the D2D subscription information of the terminal.
  • the wireless base station system may include: a base station eNodeB, where the mobility management network element may include: MME;
  • the radio base station system may include: an RNC, where the mobility management network element may include: an SGSN.
  • the network performs D2D access authentication on the terminal according to the D2D communication request, including: the wireless base station system in the network receives the D2D communication request, and initiates a request for authenticating the D2D terminal to the mobility management network element; the wireless base station system adopts the mobile
  • the flexibility of the network for D2D access authentication of the terminal according to the D2D communication request is improved.
  • This embodiment provides a method for accessing a terminal. As shown in FIG. 6, the access method of the terminal includes steps S602 to S604. Step S602: The terminal acquires information that the network to be accessed by the terminal supports D2D communication.
  • Step S604 When the network supports D2D communication, the terminal sends a D2D communication request to the network, where the D2D communication request is used to trigger the network to perform D2D access authentication on the terminal.
  • the terminal acquires the information that the terminal to access the network to support the D2D communication includes: the terminal obtains the information that the network supports the D2D communication in one of the following manners: the terminal obtains the information that the network supports the D2D communication by receiving the cell broadcast message; The attach response message acquires information that the network supports D2D communication.
  • the obtaining, by the terminal, the information that the network supports the D2D communication by receiving the attach response message comprises: determining, by the network, the D2D communication activation indication according to the following information, and when the connection response message carries the D2D communication activation indication, the terminal obtains the network support by using the D2D communication activation indication.
  • D2D communication information otherwise, the terminal obtains information that the network does not support D2D communication, wherein the judgment information includes one of the following: D2D communication support capability of the terminal and D2D communication support capability of the network; D2D communication support capability of the terminal, D2D of the network Communication support capability and D2D service signing of the terminal.
  • the D2D terminal registration device includes: a receiving module 702, configured to receive the D2D sent by the D2D terminal through the network entity. Registration request; execution module 704, connected to the receiving module 702, configured to perform a registration operation of the D2D terminal.
  • the receiving module 702 is further configured to receive a D2D registration request that carries the access information of the D2D terminal added by the network entity, where the access information of the D2D terminal includes: an access identifier of the D2D terminal and location information of the D2D terminal. .
  • the access information of the D2D terminal includes: an access identifier of the D2D terminal and location information of the D2D terminal.
  • the registration device of the D2D terminal further includes: a storage module 706, configured to store a registration context of the D2D terminal when the registration of the D2D terminal on the D2D registration server is successful, where the registration context includes the following One: access layer information of the D2D terminal; access layer information of the D2D terminal and application layer information of the D2D terminal.
  • the present embodiment provides a D2D terminal discovery device, which is applied to a D2D registration server. As shown in FIG. 9, the D2D terminal discovery device includes: a first receiving module 902, configured to receive a forwarding by a network entity.
  • the D2D terminal discovery request sent by the D2D terminal; the determining module 904 is connected to the first receiving module 902, configured to determine the neighboring D2D terminal according to the D2D terminal discovery request, and return the information of the adjacent D2D terminal to the D2D terminal, wherein,
  • the D2D terminal is a D2D terminal capable of communicating with a D2D terminal.
  • the determining module 904 includes: an obtaining unit 9042, configured to acquire a registration context of the D2D terminal that initiates the D2D terminal discovery request according to the D2D terminal discovery request; and a determining unit 9044, connected to the obtaining unit 9042, It is configured to determine an adjacent D2D terminal according to a registration context of the D2D terminal, and return information of the adjacent D2D terminal to the D2D terminal.
  • the determining unit 9044 is further configured to: when the D2D terminal discovery request carries the preset D2D service type or the D2D application layer identifier, determine the neighboring D2D terminal according to the information group, and return the adjacent D2D information.
  • the device for discovering the D2D terminal further includes: a second receiving module 906, configured to: before the D2D registration server receives the D2D terminal discovery request sent by the D2D terminal and forwarded by the network entity, by using the network entity Receiving a D2D registration request sent by the D2D terminal.
  • a second receiving module 906 configured to: before the D2D registration server receives the D2D terminal discovery request sent by the D2D terminal and forwarded by the network entity, by using the network entity Receiving a D2D registration request sent by the D2D terminal.
  • the device for discovering the D2D terminal further includes: a storage module 908, configured to store a registration context of the D2D terminal after the D2D terminal successfully registers, wherein the registration context includes one of the following: Access layer information; access layer information of the D2D terminal and application layer information of the D2D terminal.
  • the discovery device of the D2D terminal further includes: an update module 910, configured to be located at a location of the D2D terminal after the D2D registration server queries the network registered by the D2D terminal or subscribes to the location information of the D2D terminal. In the case of a change, the D2D registration server updates the location information in the access layer information of the D2D terminal to the changed location information of the D2D terminal.
  • the present embodiment provides an access device for a terminal, where the device is applied to a network.
  • the access device of the terminal includes: an obtaining module 1402, configured to acquire a terminal to be registered to the network to support D2D communication.
  • the receiving module 1404 is connected to the obtaining module 1402, and is configured to receive the D2D communication request sent by the terminal when the network supports the D2D communication;
  • the access authentication module 1406 is connected to the receiving module 1404, and is configured to perform the terminal according to the D2D communication request.
  • D2D access authentication Preferably, the obtaining module 1402 is further configured to receive an attach request sent by the terminal that carries information that the terminal supports D2D communication.
  • the embodiment provides an access device for the terminal, and the device is applied to the terminal.
  • the access device of the terminal includes: an obtaining module 1502, configured to acquire a network to be accessed by the terminal to support D2D communication.
  • the sending module 1504 is connected to the obtaining module 1502, and configured to send a D2D communication request to the network when the terminal supports the D2D communication, where the D2D communication request is used to trigger the network to perform D2D access authentication on the terminal.
  • the acquiring module 1502 includes: a first acquiring unit 1602, configured to acquire information that the network supports D2D communication by receiving a cell broadcast message; and the second obtaining unit 1604 is configured to obtain by receiving an attach response message.
  • the network supports D2D communication information.
  • the second acquiring unit 1604 is further configured to determine, by the network, the D2D communication activation indication according to the following information, and when the D2D communication activation indication is carried in the attach response message, obtain the information that the network supports the D2D communication by using the D2D communication activation indication; otherwise, The terminal obtains information that the network does not support D2D communication, wherein the judgment information includes one of the following: D2D communication support capability of the terminal and D2D communication support capability of the network; D2D communication support capability of the terminal, D2D communication support capability of the network, and D2D of the terminal Business signing situation.
  • Embodiment 1 provides an access system for a terminal, including: the access device applied to the terminal of the network in any of the above preferred embodiments, and the access of the terminal applied to the terminal in any of the above preferred embodiments Device.
  • a terminal equivalent to a D2D terminal
  • a network equivalent to a network entity
  • the network forwards the D2D registration request of the terminal to the D2D registration server, and includes the following steps S1 to S3.
  • Step Sl the terminal enters the D2D communication mode, and initiates a D2D registration message to the network.
  • the terminal enters the D2D communication mode, which can be understood as the terminal opening the D2D communication service service module.
  • the initiation of D2D communication requires the network and the terminal to have the ability to support D2D communication at the same time, and to open the D2D communication service. Considering that for the terminal, turning on the D2D service may mean additional power consumption, so the terminal can open the D2D communication service module only when D2D communication is required. In this sense, the terminal will enter the D2D communication mode.
  • Step S2 The network verifies the D2D authorization information of the terminal as needed. The network forwards the terminal's D2D registration message to the DRS server.
  • the network may perform a D2D authorization verification process on the terminal to verify whether the terminal is allowed to access D2D communication in the network.
  • Step S3 The DRS server receives the D2D registration message forwarded by the network, and stores the D2D registration context.
  • the DRS server may authenticate the D2D registration request of the terminal according to the need, and determine whether to receive the D2D registration of the terminal according to the authentication result.
  • the DRS server stores the D2D registration context of the terminal.
  • FIG. 17 is a schematic structural diagram of introducing a D2D registration server in a network according to the first embodiment of the present invention, wherein a DRS server (DRS) is deployed in the network, and receives and processes the D2D registration initiated by the terminal, and according to .
  • the registration service DRS can be deployed on the side of the radio network (Radio Access Network, RAN for short) or close to the core network (Core Network).
  • the RS may be deployed on the eNodeB side of the base station or on the eNodeB.
  • the RS may be deployed on the MME side of the mobility management network element or on the MME.
  • FIG. 18 is a schematic diagram of a process in which a D2D terminal initiates a D2D registration request to a radio base station according to the first embodiment of the present invention, and the radio base station forwards the D2D registration request sent by the D2D terminal to the D2D registration server, and takes the EUTRAN access as an example, the terminal (equivalent to The D2D terminal initiates a D2D registration request to the base station eNodeB, and the eNodeB forwards the D2D registration request of the terminal to the DRS server.
  • the two terminals UE1 and UE2 are used as an example to initiate a D2D registration process, and the process includes the following steps S1802 to S1818.
  • Step S1802 UE1 enters a D2D communication mode, and initiates a D2D registration message to the eNodeB.
  • the D2D registration message may be included in the RRC message; the D2D registration message may be a simple D2D registration identifier indicating that the UE1 enters the D2D communication mode.
  • the so-called D2D communication mode can be considered as the UE opens the D2D communication service, establishes the D2D communication resource, and then maintains the activation state of the D2D communication resource. From the network perspective, the D2D communication mode may mean that the UE is in a connected state, and the UE's radio resources and core network resources remain active.
  • the D2D registration message may also carry the D2D application layer information of the UE. Specifically, it may be a combination of the following information: a D2D User ID of the UE1, and a D2D Service Type of the UE1.
  • the D2D user identifier of the UE is used by the D2D application to identify a D2D communication client.
  • the D2D service type of the UE which is used to identify the type of a D2D application, such as Skype, QQ, and the like.
  • only one type of the D2D user identifier of the UE and the D2D service type of the UE may be provided, or may be provided at the same time.
  • the D2D user identifier of the UE may implicitly express the D2D service type of the UE.
  • the D2D user identifier of the UE is: lisi@msn.com, and some parts that may be identified by the D2D user (here, the D2D user)
  • the domain name part of the identity derives the D2D service type (which can be considered as an MSN service here).
  • the D2D user identifier of the UE implicitly expresses the D2D service type by default, and the D2D service type information may not need to be provided.
  • Step S1804 After receiving the D2D registration message initiated by the UE1, the eNodeB performs D2D access authentication on the UE1 as needed.
  • the eNodeB may interact with the MME to obtain the D2D access authentication information of the UE1 from the MME.
  • UE1 performs D2D access authentication.
  • the eNodeB may also allow the MME to perform D2D access authentication for UE1 and use the MME to perform D2D access authentication results for UE1.
  • the eNodeB decides whether to reject the D2D registration message of UE1 or forward the registration message of UE1 to the DRS server. Specifically, if the D2D authentication of the UE1 fails, the eNodeB performs step S1806 to return a D2D registration failure message to the UE1, carrying an appropriate cause value.
  • Step S1808 If the D2D authentication of the UE1 is successful, the eNodeB performs step S1808 to forward the D2D registration message of the UE1 to the DRS server.
  • Step S1806 If the D2D access authentication of the UE1 fails, the eNodeB returns a D2D registration failure message to the UE1. In the registration failure message, the appropriate reason value is carried, indicating the specific cause of the D2D registration failure.
  • Step S1808 If the D2D access authentication of the UE1 is successful, the eNodeB forwards the D2D registration message of the UE1 to the DRS server. When forwarding the D2D registration message of the UE1 to the DRS server, the eNodeB may further access the access layer of the UE1.
  • the information is sent to the DRS server.
  • the method may include: access identifier information (IMSI, or other used terminal access identifier) of the UE1. Additionally, the access layer information may further include: current location information (such as Cell-ID) of UE1.
  • Step S1810 After receiving the registration request of the UE1, the DRS server performs D2D application authentication, stores the D2D registration context, and returns a D2D registration response according to the requirement. In this step, the DRS server may perform D2D authentication on the application layer of the UE1, that is, D2D application certification. If the D2D application authentication is successful, the DRS server returns a D2D registration success response to the eNodeB.
  • the DRS server If the D2D application authentication fails, the DRS server returns a D2D registration failure response to the eNodeB, carrying the appropriate cause value. In addition, if the D2D authentication is successful, the DRS server stores the D2D registration context of UE1, such as:
  • Access layer information of UE1 access identifier of UE1 (such as IMSI), cell location information (Cell-ID) of UE1; application layer information of UE1: D2D User ID of UE1, D2D service of UE1 Type (D2D Service Type); Step S1812, the DRS server returns a D2D registration response to the eNodeB, specifically, a D2D registration success response or a D2D registration failure response according to the request; in step S1814, the eNodeB returns a D2D registration response message to the UE1, the D2D The registration response message is carried in the RRC message. In step S1816, the UE1 receives the D2D registration response message returned by the eNodeB.
  • Step S1818 Similarly, if the UE 2 enters the D2D mode, the UE 2 performs D2D registration to the network.
  • 19 is a schematic diagram of a process for a D2D terminal to initiate a D2D registration request to a core network mobility management network element according to the first embodiment of the present invention, and the core network mobility management network element forwards the D2D registration request sent by the D2D terminal to the D2D registration server.
  • the EUTRAN access the terminal (equivalent to the D2D terminal) initiates D2D registration to the MME, and the MME forwards the D2D registration of the terminal to the DRS server.
  • the D2D registration process is initiated by using the two terminals UE1 and UE2 as an example, and the following steps S1902 to S1918 are included.
  • the UE1 enters the D2D communication mode, and initiates a D2D registration message to the MME.
  • the D2D registration message can be included in the NAS message.
  • the D2D registration message may be a simple D2D registration identifier indicating that UE1 enters the D2D communication mode.
  • the D2D registration message may also carry the D2D application layer information of the UE. Specifically, it may be a combination of the following information: a D2D User ID of the UE1, and a D2D Service Type of the UE1.
  • Step S1904 After receiving the D2D registration message initiated by the UE1, the MME performs D2D access authentication on the UE1 as needed. In this step, the MME performs D2D access authentication on the UE1. According to the D2D access authentication result for UE1, the MME decides whether to reject the D2D registration message of UE1 or forward the registration message of UE1 to the DRS server.
  • step S1906 If the D2D authentication of the UE1 fails, the MME performs step S1906 to return a D2D registration failure message to the UE1, carrying an appropriate cause value. If the D2D authentication of the UE1 is successful, the MME performs step S1908 to forward the D2D registration message of the UE1 to the DRS server.
  • step S1906 If the D2D access authentication of the UE1 fails, the MME returns a D2D registration failure message to the UE1. In the registration failure message, the appropriate cause value is carried, indicating the specific cause of the D2D failure.
  • Step S1908 If the D2D access authentication of the UE1 is successful, the MME forwards the D2D registration message of the UE1 to the DRS server.
  • the MME may further access the access layer of the UE1.
  • the information is sent to the DRS server.
  • the method may include: access identifier information (IMSI, or other used terminal access identifier) of the UE1, and current location information (such as a Cell-ID) of the UE1.
  • IMSI access identifier information
  • the DRS server After receiving the registration request of the UE1, the DRS server performs D2D application authentication, stores the D2D registration context, and returns a D2D registration response according to the requirement. In this step, the DRS server may perform D2D authentication on the application layer of the UE1, that is, D2D application certification.
  • the DRS server If the D2D application authentication is successful, the DRS server returns a D2D registration success response to the eNodeB. If the D2D application authentication fails, the DRS server returns a D2D registration failure response to the MME, carrying the appropriate cause value. In addition, if the D2D authentication is successful, the DRS server stores the D2D registration context of UE1, such as:
  • Access layer information of UE1 access identifier of UE1 (such as IMSI), cell location information (Cell-ID) of UE1; application layer information of UE1: D2D User ID of UE1, D2D service of UE1 Type (D2D Service Type); Step S1912: The DRS server returns a D2D registration response to the MME, specifically, a D2D registration success response or a D2D registration failure response according to the request.
  • the MME returns a D2D registration response message to the UE1, where the D2D registration response message is carried in the NAS message.
  • the UE1 receives the D2D registration response message returned by the MME.
  • Step S1918 Similarly, if the UE 2 enters the D2D mode, the UE 2 performs D2D registration to the network.
  • the flow shown in FIG. 19 and the flow shown in FIG. 18 are similar in principle, and the difference is:
  • the UE sends a D2D registration message to the MME, and the message is included in the NAS message. , forwarded by the MME to the DRS server.
  • the D2D registration message is included in the RRC message, and is forwarded by the eNodeB to the DRS server.
  • the D2D access authentication process is performed by the MME.
  • the D2D access authentication process can be performed by the eNodeB, or the MME.
  • the MME When forwarding the D2D registration message of the UE, the MME adds the access layer information of the UE, such as the access layer identifier (IMSI, or other access layer identifier) of the UE, and the cell location information (Cell-ID) of the UE.
  • the eNodeB attaches access layer information of the UE.
  • the MME identifies the D2D registration message of the UE, and knows that the UE enters the D2D communication mode. Since the eNodeB does not recognize the UE-initiated D2D registration message, the eNodeB does not know that the UE has entered the D2D communication mode.
  • the UE performs D2D registration to the DRS server through the network, so that the DRS server obtains basic information of the UE (eg, the UE has entered the D2D communication mode, the initial location information of the UE, etc.).
  • the DRS server is provided with a preliminary capability to select an adjacent D2D registration terminal according to the D2D registration result of the UE.
  • the UE does not know where the D2D registration server exists in the network, and the UE only attempts to initiate a D2D registration process to the network, and the network (radio access network, core network) forwards the D2D of the UE to the D2D registration server. Register the message and return a D2D registration response to the UE.
  • the method requires the network to participate in the D2D registration process. If the network is not allowed to participate in the D2D registration process, another method may exist. As described in the second embodiment, the network provides the D2D registration server to the UE, and the UE itself sends the D2D to the D2D. Registration server initiated D2D registration, and the D2D registration server utilizes some basic services provided by the network, such as location service LCS, to obtain location information of the UE accessing the network.
  • LCS location service
  • step S2002 the UE requests to attach to the network, and the network performs normal attach procedure processing, and returns the DHCP server and the DRS server information in the attach response.
  • the returned DRS server information can be a domain name or an IP address. If the returned DRS server information is a domain name, the UE needs to request the DHCP server to resolve the DRS server address. Step S2012, the UE performs a DHCP request to the DHCP server to parse the IP address of the DRS server according to the situation. Steps S2014 ⁇ S2016, the UE initiates a D2D registration request to the DRS server, and the DRS server authenticates the D2D registration request of the UE, and returns to the UE. D2D registration response. If the D2D registration is successful, the DRS server saves the D2D registration context of the UE.
  • the UE sends a D2D registration message carrying similar information as shown in FIG.
  • the DRS may obtain the D2D subscription data of the UE through other interfaces, and perform D2D authentication on the UE according to the subscription data of the UE.
  • Step S2018 after the UE receives the D2D registration response, according to the situation, if the registration fails, the UE releases
  • the terminal performs D2D registration, so that the DRS server can obtain the terminal entering the D2D communication mode in the area, and it is possible to know the type of the D2D service opened by the terminal, the D2D application identifier of the terminal, and the like, so that the terminal can find the Other terminals that provide D2D services in a certain area.
  • the terminal may move, causing the location information of the terminal to change, so that the terminal location registered when the terminal initial D2D registration on the DRS server becomes inaccurate, thereby making the neighboring terminal based on the original D2D registration location. The discovery became less practical.
  • Embodiment 3 This embodiment provides a method for querying a neighboring D2D terminal.
  • a terminal is described (equivalent to
  • the D2D terminal queries the DRS server for the process of the adjacent D2D terminal, and the process includes the following steps S1 to S4.
  • Step S1 the terminal initiates D2D registration, and the DRS server stores the D2D context of the terminal.
  • Step S2 After the terminal registers successfully, the DRS server subscribes to the location of the terminal to the network; after the DRS server registers successfully with the terminal D2D, the network accesses the network (radio access network) , core network) The location of the subscription terminal changes, so that after the location of the terminal changes, the DRS server can obtain the notification in time and obtain the latest terminal location information.
  • Step S3 The terminal sends a request to the DRS server to query the neighboring D2D terminal.
  • step S4 the DRS server determines other terminals adjacent to the requesting terminal according to the D2D registration information of the terminal and the location information of the terminal, and returns the terminal to the sending request.
  • . 21 is a schematic diagram of a process in which a D2D registration server subscribes to current location information of a D2D terminal from an eNodeB to determine a neighboring D2D terminal according to Embodiment 3 of the present invention. Taking EUTRAN access as an example, the DRS subscribes to the eNodeB (equivalent to a D2D terminal). The position of the change is to determine the neighboring terminal based on the latest location of the terminal.
  • the flow includes the following steps S2102 to S2126. Step S2102 ⁇ S2108, the UE initiates a D2D registration process, and the specific steps are as shown in step S1802 of FIG.
  • Step S2110 After the D2D registration of the UE is successful, the DRS server subscribes to the eNodeB for the location change of the UE.
  • Step S2112 After the D2D registration of the UE is successful, the UE enters the D2D communication mode.
  • Step S2114 after the period of time, the UE may move.
  • Step S2116 the eNodeB detects the movement of the UE, and reports the location change of the UE to the DRS server; When the UE moves in the D2D communication mode, the radio resource of the UE remains active.
  • the radio access network eNodeB
  • the radio access network can detect the mobility of the UE, thereby triggering a location change event, and reporting the location change of the UE to the DRS server.
  • the DRS server obtains the latest location information of the UE.
  • the UE sends a D2D terminal discovery request to the eNodeB to request discovery of the adjacent D2D terminal.
  • the UE When transmitting the D2D terminal discovery request, the UE may specify the D2D service type of the terminal that is desired to be discovered, and the DRS detects the adjacent D2D terminal according to the D2D service type when the UE initiates the D2D registration.
  • Step S2120 The eNodeB forwards the D2D terminal discovery request of the UE to the DRS server.
  • Step S2122 The DRS server calculates, according to the D2D registration information of the terminal, the latest location information of the terminal, which terminals are neighboring D2D terminals; if the UE sends the request in the D2D terminal, carries the D2D service type of the terminal that is desired to be discovered (D2D Service) Type), the DRS server filters the matched D2D terminals according to the D2D service type when the UE initiates the D2D registration.
  • D2D Service D2D Service
  • Step S2124 The DRS server returns a D2D terminal discovery response to the eNodeB, where the neighboring D2D terminal list is carried.
  • the list of adjacent D2D terminals returned by the DRS server, where the information of the neighboring terminals may include a combination of the following information: the ID of the terminal (such as the access layer identifier IMSI of the terminal, the D2D User ID of the terminal, and the IP of the terminal).
  • the eNodeB forwards the D2D discovery response to the UE.
  • the UE can discover the neighboring D2D terminal by using the foregoing method, so that a certain terminal can be selected to request the D2D connection to be initiated.
  • the network entity that forwards the D2D message is not the eNodeB but the MME, and the discovery process of the D2D terminal is as shown in FIG. 22.
  • FIG. 22 The network entity that forwards the D2D message is not the eNodeB but the MME, and the discovery process of the D2D terminal is as shown in FIG. 22.
  • FIG. 22 is a schematic diagram of a process in which a D2D registration server subscribes to current location information of a D2D terminal from an MME to determine a neighboring D2D terminal according to Embodiment 3 of the present invention.
  • the DRS subscribes to the MME (equivalent to a D2D terminal).
  • the position of the change is to determine the neighboring terminal based on the latest location of the terminal.
  • the flowcharts of FIG. 22 and FIG. 21 are similar, and mainly have the following differences:
  • the UE sends a D2D terminal discovery request to the MME, and the message is included in the NAS message, and is forwarded by the MME to the DRS server.
  • the D2D registration message is included in the RRC message, and is forwarded by the eNodeB to the DRS server.
  • the DRS server subscribes to the MME for the location change of the UE, and further the MME may subscribe to the eNodeB for the location change of the UE.
  • the DRS directly subscribes to the eNodeB's location change of the UE.
  • the DRS directly subscribes to the location change of the UE to the eNodeB/MME, which has additional location service enhancement requirements for the eNodeB/MME.
  • the DRS requests the LCS positioning service system to subscribe to the location information of the UE by using a Gateway Mobile Location Center (GMLC) of the Location Service (LCS), so that the location of the UE occurs.
  • GMLC Gateway Mobile Location Center
  • LCS Location Service
  • the latest location information of the UE is known in time when the change occurs.
  • the LCS positioning service system can calculate the location of the UE by using the network positioning capability, the UE positioning capability, and the like, and can satisfy the positioning requirement of the cell level (Cell level) or the positioning requirement based on the physical precision.
  • the LCS positioning procedure can wake up the UE and keep the UE in the connected state in order to obtain the most accurate location information of the UE.
  • FIG. 23 is a schematic flowchart of determining a current location information of a D2D terminal from a LCS by a D2D registration server according to Embodiment 3 of the present invention, thereby determining a neighboring D2D terminal, and taking an E-UTRAN access as an example to describe a DRS to LCS positioning service system.
  • the GMLC subscribes to the location information of the UE, and calculates a flow diagram of the neighboring terminal based on the latest information of the UE, and includes the following steps S2302 to S2326.
  • Step S2302 to step S2308 the UE (equivalent to the D2D terminal) performs the D2D registration process, and the same steps S 1802 to S 1808.
  • step S2310 the UE enters the D2D communication mode.
  • the D2D communication mode it is required that the D2D communication mode must be that the UE remains in the connected state.
  • the LCS location service can effectively activate the UE to enter the connected state, so there is no need to emphasize that the UE must remain in the connected state when entering the D2D communication mode.
  • the DRS server subscribes to the location information of the UE to the GMLC.
  • step S2314 the GMLC triggers the terminal call location process. In this step, according to the existing LCS positioning process, the interaction with the MME and the eNodeB is involved.
  • Step S2316 Trigger the UE to enter a connected state according to the terminal call location procedure.
  • the MME reports the location change of the UE to the GMLC.
  • the GMLC reports the location change of the UE to the DRS server.
  • the DRS server obtains the latest location information of the UE.
  • Step S2324 to step S2326 the UE initiates a D2D terminal discovery request according to the foregoing steps of FIG. 21 and FIG. 22, and the DRS determines the neighboring D2D terminal according to the D2D registration information of the UE and the latest location information of the UE, and sends a D2D terminal discovery response to the UE.
  • the DRS server obtains the location information of the UE from the GMLC.
  • the DRS server can also be directly established with the Serving Mobile Location Center (SMLC) or the Enhanced Service Mobile Location Center (E-SMLC).
  • SMLC Serving Mobile Location Center
  • E-SMLC Enhanced Service Mobile Location Center
  • the internal interface obtains the location information of the UE.
  • Embodiment 4 In the D2D direct communication, the operator wants to have sufficient control capability for the D2D communication, which is embodied on the operator network, and needs to be able to control the D2D access of the terminal, and the access control may be based on the capabilities of the network.
  • the process of the terminal, the signing of the terminal, and the like are performed.
  • a method is proposed to enable the terminal and the network to know each other's ability to support D2D, thereby performing necessary access authentication control when the terminal attempts D2D communication. FIG.
  • step S2402 the terminal and the network exchange D2D communication support information.
  • D2D communication support information including two levels of meaning: One is the actual support for D2D communication inherent in the terminal or network, and the other is the D2D communication activation indication of the terminal or network, that is, the terminal or network starts D2D communication service. Instructions.
  • the network obtains the D2D communication support information of the terminal. The typical method is as follows: When the terminal initiates an attach request to the network, the terminal indicates the D2D communication support capability of the terminal. If the terminal actually has the D2D communication support capability, but the D2D communication support capability is currently disabled, the terminal does not carry the D2D communication support capability when making a request to the network.
  • the terminal obtains the D2D communication support information of the network, and may be: The terminal obtains the support capability of the network for D2D communication through the cell broadcast of the wireless access system. Here, the terminal obtains the actual support capability for the D2D communication inherent in the network; or, the terminal indicates the support information of the network to the D2D communication in the attach response through the attaching process. If the network indicates the D2D communication support capability of the network to the terminal during the attaching process, it may be the actual support capability for the D2D communication inherent in the network, or may be the D2D communication activation indication of the network.
  • the network can deliver the D2D communication activation indication according to the actual support capability of the network for D2D communication, the D2D communication support capability of the terminal, and the subscription data of the terminal (such as whether the terminal is allowed to perform D2D communication).
  • Step S2404 The terminal initiates a D2D communication request according to the network support information for the D2D communication. If in the foregoing step, if the network does not deliver the actual support capability of the network to the D2D communication or the D2D communication activation indication to the terminal, it indicates that the network does not support D2D communication or does not allow the terminal to perform D2D communication, and the terminal should not initiate to the network. D2D communication request.
  • the D2D communication request may be: a D2D registration request, a D2D terminal discovery request, a D2D connection request, and the like.
  • Step S2406 After receiving the D2D communication request initiated by the terminal, the network performs D2D access authentication on the terminal.
  • Step S2408 The network processes the D2D communication request according to the D2D access authentication result. If the D2D access authentication fails, the terminal's D2D communication request is rejected, and the appropriate failure reason is returned. If the D2D access authentication is successful, the D2D communication request of the terminal is further processed.
  • Step S2502 The operator performs configuration on the eNodeB, and the configuration may be performed by an Operator Management System (OMS).
  • OMS Operator Management System
  • the cell broadcast information of different base stations may be different according to the configuration.
  • step S2504 the eNodeB indicates the D2D communication support capability of the network to all terminals that read the cell broadcast through the cell broadcast.
  • 26 is a schematic flowchart of obtaining D2D communication support information of a network by receiving an attach response message according to Embodiment 4 of the present invention, and a flowchart for performing D2D support information when a terminal is attached to a network, where EUTRAN access is taken as an example.
  • the flow includes the following steps S2602 to S2614.
  • Step S2602 The terminal initiates an attach request, where the D2D communication support capability of the terminal is carried.
  • Step S2604, the eNodeB forwards the terminal attach request to the MME.
  • Step S2608 the HSS returns a location update response to the MME.
  • the location update response returned by the HSS the subscription data of the terminal is carried.
  • the contract data it is indicated whether the terminal has contracted the D2D service.
  • the MME determines, according to the information, the D2D communication activation indication returned by the UE.
  • the MME may use the following information to comprehensively determine the D2D activation communication indication that should be returned to the UE:
  • the MME can adopt the following strategy to decide the D2D communication activation indication: - decide only according to the actual support capability of the D2D communication of the network;
  • step S2612 the MME returns an attach response, which carries the D2D communication activation indication
  • step S2614 the eNodeB forwards the attach response to the UE, where the D2D communication activation indication is carried.
  • the UE considers that the network allows the D2D communication service to be performed.
  • the UE should consider that the D2D communication service is not allowed under the network.
  • the network sends a D2D communication activation indication to the UE, it is possible to consider only the D2D communication support capability of the network, and not whether the UE subscribes to the D2D service.
  • the network when the network sends the D2D activation indication to the UE, the network comprehensively compares the D2D communication support capability of the network, the D2D communication support capability of the UE, and whether the UE subscribes to the D2D service, but before the UE actually initiates the D2D communication request, the UE The D2D subscription service may be cancelled, or the UE's D2D credit amount has been used up.
  • the network when the UE actually initiates a D2D communication request (such as a D2D registration request, a D2D terminal discovery request, a D2D connection request), the network may still need to perform access authentication for the UE's D2D communication request.
  • FIG. 27 and 28 are processes in which the network performs D2D access authentication on the UE when the UE initiates a D2D communication request.
  • FIG. 27 is a schematic flowchart of a D2D access authentication performed by a radio access network to a terminal when a terminal initiates a D2D communication request according to Embodiment 4 of the present invention.
  • the eNodeB is The flow chart of the UE performing D2D access authentication includes the following steps S2702 to S2712. Step S2702, the UE initiates a D2D communication request to the eNodeB.
  • the D2D communication request may be: a D2D registration request, a D2D terminal discovery request, a D2D connection establishment request, etc.; in step S2704, the eNodeB requests the MME for the D2D subscription information of the UE; or the eNodeB requests the MME to perform D2D access authentication for the UE.
  • Step S2706 The MME returns the D2D subscription information of the UE to the eNodeB according to step S2704. Alternatively, the MME performs D2D access authentication on the UE, and returns a D2D access authentication result to the eNodeB.
  • the MME returns the related subscription information of the D2D communication service of the UE according to the subscription data of the UE. If the eNodeB requests the MME to perform D2D access authentication on the UE, the MME performs D2D access authentication on the UE by using the subscription data of the UE. For example: If the UE does not subscribe to the D2D communication service, the access authentication fails. Step S2708: The eNodeB performs D2D access authentication on the UE according to the returned result of the MME.
  • the eNodeB may directly use the MME's access authentication result to the UE.
  • step S2710 if the D2D access authentication for the UE is unsuccessful, the D2D communication failure response is returned to the UE, and the appropriate cause value is carried; or, if the D2D access authentication for the UE is successful, S2712 is performed.
  • step S2712 the D2D access authentication of the UE is successful, and the eNodeB forwards the D2D communication request.
  • the subsequent D2D communication processing request process is handled as the case may be.
  • FIG. 28 is a schematic diagram of a process of performing D2D access authentication on a terminal by a core network when a terminal initiates a D2D communication request according to Embodiment 4 of the present invention.
  • EUTRAN access when the UE initiates a D2D communication request, the MME performs the UE on the UE.
  • the flow chart of the D2D access authentication is similar to the flow shown in FIG. 27, and the difference is: In the flow shown in FIG. 28, the eNodeB does not participate in D2D access authentication, and the D2D access authentication is completely processed by the MME.
  • Embodiment 5 In this embodiment, software is also provided, which is used to execute the technical solutions described in the above embodiments and preferred embodiments.
  • a storage medium is provided, the software being stored, including but not limited to: an optical disk, a floppy disk, a hard disk, a rewritable memory, and the like.
  • the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module.

Abstract

本发明提供了终端间通讯终端的注册、发现、接入方法、装置及系统、终端发现方法及装置,其中,该注册方法包括:D2D注册服务器通过网络实体接收D2D终端发送的D2D注册请求;D2D注册服务器执行D2D终端的注册操作。本发明解决了相关技术中的直连通讯技术对运营商的频谱资源构成了一定程度的干扰的问题,从而运营商可以通过设置 D2D注册服务器进而参与并控制两个D2D终端进行的D2D通讯。

Description

终端间通讯终端的注册、 发现、接入方法、装置及系统、终端发现方 法及装置 技术领域 本发明涉及通信领域, 具体而言, 涉及一种终端间通讯终端的注册、 发现、 接入 方法、 装置及系统、 终端发现方法及装置。 背景技术 在移动通信中, 通讯可以发生在用户设备 (User Equipment, 简称为 UE) (或者 也称为终端、 或用户终端) 和应用服务器 (Application Server, 简称为 AS) 之间, 也 可能发生在两个用户设备之间, 两个用户设备之间的通讯, 可能通过 AS 中转, 也可 能是两个用户设备之间通过端到端的的 IP数据流进行。 在移动通信中, 分组 (Packet Service, 简称为 PS) 网络提供了基于 IP的数据通 信。 UE的 IP地址由网络中的 IP分配实体负责分配, UE通信的所有的 IP数据流均需 要经过该 IP分配实体。 图 1是根据相关技术下 UE接入到分组域的架构示意图, 如图 1所示, 该结构包 括: UE、 UMTS陆地无线接入网 (UMTS Terrestrial Radio Access Network, 简称为 UTRAN) 演进的陆地无线接入网 (Evolved UMTS简称为 E-UTRAN)、 服务 GPRS 支持节点 (Serving GPRS Supporting Node, 简称为 SGSN)、 移动性管理实体 (Mobile Management Entity, 简称 MME)、 归属位置寄存器 (Home Location Register, 简称为 HLR) /归属用户服务器 (Home Subscriber Server, 简称为 HSS)、 服务网关 (Serving Gateway , 简称 SGW)、 分组数据网络网关 (Packet Data Network Gateway, 简称为 PGW)、 网关 GPRS支持节点 (Gateway GPRS Supporting Node, 简称为 GGSN)、 AS。 其中, PGW、 GGSN 分别为 E-UTRAN、 UTRAN/GERAN 下的网络协议 (Internet Protocol, 简称为 IP) 分配实体, 可以将 GGSN、 PGW统称为公共数据网络网关。
UE可以通过 UMTS、 E-UTRAN接入到核心网, 被分配 IP地址后, 才能实现和 应用服务器 AS或其他终端的 IP通讯。 在通讯过程中, IP数据流经过基站后被转发到 公共数据网络网关(GGSN/PGW), 然后再由 GGSN/PGW根据 IP路由规则发送给 AS 或目的端 UE, 其中, UE到基站、 基站到公共数据网络网关(GGSN/PGW)之间的通 讯, 并不是基于 IP路由规则进行的, 而是基于底层链路的路由技术进行的。 在整个过 程中, 基站并不感知 IP层的信息, 比如, 基站不知道 UE的 IP地址、 端口等信息。 在上述场景下, 即使两个 UE在同一个基站下通过 IP实现对等 (Peer-to-Peer, 简 称为 P2P)通讯, IP数据包也必须迂回到位于上层的公共数据网络网关(GGSN/PGW) 后再发送到目的端 UE, 尤其当公共数据网络网关 (GGSN/PGW) 位于归属网, 而相 互通讯的两个 UE都位于拜访网时, 在这种场景下媒体路由现象尤其突出。 图 2描述 了上述 IP 数据流的迂回现象, 如图 2 所示, UE1 和 UE2 之间的通讯链路为: UE1 eNodeB SGW PGW (转发网络) SGW eNodeB UE2。 很明显地可以看 出, UE1到 UE2的 IP数据流是从同一个基站 eNodeB出去,迂回到公共数据网络网关, 绕了一大圈后又回到该 eNodeB上。 上述 IP数据流迂回的现象,随着移动宽带化进程越来越突出。在移动网络演进中, 移动网络越来越显现出宽带网络的特性。 随着智能手机广泛应用, 在移动网络中传输 媒体数据流越来越频繁。 尤为突出的是, 随着社交应用和基于位置的通讯应用越来越 流行, 在同一个区域内 (同一个基站下、 临近基站范围内) 的数据流量越来越大。 这 些数据流量均需要迂回到核心网的公共数据网络网关 (GGSN/PGW), 大大增加了回 程带宽要求, 增大了 IP通讯的时延, 也加大了公共数据网络网关 (GGSN/PGW) 的 负担。 并且, 随着移动宽带化越来越深入, 日益增长的 IP数据流量对核心网的公共数 据网络网关 (GGSN/PGW) 也提出了更高的要求。 为了应对数据流量增长需求, 运营商必须增加更多的公共数据网络网关 (GGSN/PGW) 设备, 但是, 每个用户的月均收费却呈现下降趋势, 这种情况也使得 运营商的投资和收益越来越失衡。 针对临近区域内的终端间的相互通讯, 业界提出了一种类似 WIFI 的临近终端间 直连通讯的技术, 物理位置上临近的两个终端 (比如: lKm范围内)利用运营商频谱 资源, 通过调增功率的突发脉冲技术, 以及类似 WIFI广播机制实现相互发现, 并建 立点对点的直连无线通讯, 如图 2所示, 就是 UE1和 UE2之间的直连通讯链路 (图 中较粗的虚线)。 但是, 上述直连通讯技术的使用, 给运营商带来了如下负面影响: 其 一: 由于终端间的直连通讯利用了运营商频谱资源, 并使用调增功率的突发脉冲技术, 从而对运营商的频谱资源构成了一定程度的干扰; 其二: 运营商无法探测并统计上述 终端直连通讯, 从而无法预防和改善上述直连通讯技术所带来的负面影响。 综上, 在相关技术的直连通讯技术中, 由于利用运营商频谱资源且运营商无法参 与其中并赋予足够的控制能力, 导致运营商无法预防和改善上述直连通讯技术所带来 的影响, 从而给运营商的频谱资源构成了一定程度的干扰。
P72100 发明内容 本发明提供了一种终端间通讯终端的注册、 发现、 接入方法、 装置及系统、 终端 发现方法及装置, 以至少解决相关技术中的直连通讯技对运营商的频谱资源构成了一 定程度的干扰的问题。 根据本发明的一个方面, 提供了一种终端间通讯 D2D 终端的注册方法, 包括:
D2D注册服务器通过网络实体接收 D2D终端发送的 D2D注册请求; D2D注册服务器 (D2D Register Server, 简称为 DRS) 执行 D2D终端的注册操作。 优选地, 网络实体为无线基站系统, 其中, 当 D2D终端向演进的陆地无线接入网 EUTRAN中的无线基站系统发送 D2D注册请求时,无线基站系统包括:基站 eNodeB; 当 D2D终端向陆地无线接入网 UTRAN中的无线基站系统发送 D2D注册请求时, 无 线基站系统包括: 基站 NodeB和无线网络管理器 (Radio Network Controller, 简称为 RNC), D2D注册请求携带在无线资源管理 (Radio Resource Control, 简称为 RRC) 消息中。 优选地, 网络实体为核心网移动性管理网元, 其中, 当 D2D终端向 EUTRAN中 的无线基站系统发送 D2D注册请求时, 核心网移动性管理网元包括: 移动性管理实体 MME, 当 D2D终端向 EUTRAN中的无线基站系统发送 D2D注册请求时, 核心网移 动性管理网元包括: 服务 GPRS支持节点 SGSN, D2D注册请求携带在网络连接存储 (Network Attached Storage, 简称为 NAS) 消息中。 优选地, D2D注册服务器通过网络实体接收 D2D终端发送的 D2D注册请求包括: 当网络实体将 D2D注册请求发送给 D2D注册服务器时, 网络实体将 D2D终端的接入 信息携带在 D2D注册请求中发送给 D2D注册服务器, 其中, D2D终端的接入信息包 括: D2D终端的接入标识和 D2D终端的位置信息。 优选地, D2D注册请求包括以下之一: D2D终端的应用层标识; D2D终端的应用 层标识和 D2D终端的服务类型。 优选地, 在 D2D注册服务器执行 D2D终端的注册操作之后, 上述 D2D终端的注 册方法还包括: 在 D2D终端注册成功的情况下, D2D终端进入 D2D通讯模式, 其中, D2D通讯模式为 D2D终端开启 D2D通讯服务, 并进入连接态;在 D2D终端注册失败 或去注册成功的情况下, D2D终端释放为 D2D通讯模式所准备的资源。 优选地, 在 D2D终端注册失败或去注册成功之后, 上述 D2D终端的注册方法还 包括: D2D终端进入空闲态。 优选地,在 D2D注册服务器通过网络实体接收 D2D终端发送的 D2D注册请求之 后, 上述 D2D终端的注册方法还包括: 如果 D2D终端在 D2D注册服务器上的注册成 功时, D2D注册服务器存储 D2D终端的注册上下文, 其中, 注册上下文包括以下之 一: D2D终端的接入层信息; D2D终端的接入层信息和 D2D终端的应用层信息。 根据本发明的另一方面, 提供了一种 D2D终端的发现方法, 包括: D2D注册服 务器接收通过网络实体转发的由 D2D终端发送的 D2D终端发现请求; D2D注册服务 器根据 D2D终端发现请求确定临近的 D2D终端,并将临近的 D2D终端的信息返回给 D2D终端。 优选地, D2D注册服务器根据 D2D终端发现请求确定临近的终端, 并将临近的 D2D终端的信息返回给 D2D终端包括: D2D注册服务器根据 D2D终端发现请求获取 发起该 D2D终端发现请求的 D2D终端的注册上下文; D2D注册服务器根据 D2D终端 的注册上下文确定临近的 D2D终端, 并将临近的 D2D终端的信息返回给 D2D终端。 优选地, D2D注册服务器根据 D2D终端的注册上下文确定临近的 D2D终端, 并 将临近的 D2D终端的信息返回给 D2D终端包括: 当 D2D终端发现请求中携带有预设 的 D2D服务类型或 D2D应用层标识时, D2D注册服务器根据信息组确定所述现临近 的 D2D终端, 并将所述临近的的 D2D的信息返回给所述 D2D终端, 其中, 所述信息 组包括以下之一: D2D终端的注册上下文和预设的 D2D服务类型; D2D终端的注册 上下文和 D2D应用层标识。 优选地,在 D2D注册服务器接收通过网络实体转发的由 D2D终端发送的 D2D终 端发现请求之前, 上述 D2D终端发现方法还包括: D2D终端向网络实体发送 D2D注 册请求。 优选地, 在 D2D终端注册成功之后, 上述 D2D终端发现方法还包括: D2D注册 服务器存储 D2D终端的注册上下文, 其中, 注册上下文包括以下之一: D2D终端的 接入层信息; D2D终端的接入层信息和 D2D终端的应用层信息。 优选地, 在 D2D注册服务器存储 D2D终端的注册上下文之后, 上述 D2D终端发 现方法还包括:在 D2D注册服务器向该 D2D终端注册的网络查询或订阅 D2D终端的 位置信息后, 在 D2D终端的位置发生变化的情况下, D2D注册服务器更新 D2D终端 的接入层信息中的位置信息为 D2D终端的变化后的位置信息。 优选地, 注册的网络包括以下之一: 无线基站系统、 核心网移动性管理网元、 服 务移动定位中心 (Serving Mobile Location Center, 简称为 SMLC) /增强的服务移动定 位中心 (Enhanced SMLC, 简称为 E-SMLC)、 网关移动定位中心 GMLC。 优选地, 网络实体为无线基站系统, 其中, 当 D2D终端向 EUTRAN中的无线基 站系统发送 D2D终端发现请求时, 无线基站系统包括: 基站 eNodeB; 当 D2D终端向 UTRAN中的无线基站系统发送 D2D终端发现请求时,无线基站系统包括:基站 NodeB 和 RNC, D2D终端发现请求携带在无线资源管理 RRC消息中。 优选地, 网络实体为核心网移动性管理网元, 其中, 当 D2D终端向 EUTRAN中 的核心网移动性管理网元发送 D2D 终端发现请求时, 核心网移动性管理网元包括: MME;当 D2D终端向 UTRAN中的核心网移动性管理网元发送 D2D终端发现请求时, 核心网移动性管理网元包括: SGSN, D2D终端发现请求携带在 NAS消息中。 根据本发明的又一方面, 提供了一种终端的接入方法, 包括: 终端待接入的网络 获取该终端支持 D2D通讯的信息;在网络支持 D2D通讯时,网络接收终端发送的 D2D 通讯请求; 网络根据 D2D通讯请求对终端进行 D2D接入认证。 优选地, 终端待接入的网络获取该终端支持 D2D通讯的信息包括: 终端待接入的 网络接收该终端发送的携带有该终端支持 D2D通讯的信息的附着请求。 优选地: 网络为移动性管理网元, 其中, 当终端向 EUTRAN中的移动性管理网元 发送 D2D通讯请求时, 移动性管理网元包括: 移动性管理实体 (Mobile Management Entity, 简称为 MME); 当终端向 UTRAN中的移动性管理网元发送 D2D通讯请求时, 移动性管理网元包括: SGSN。 优选地, 网络根据 D2D通讯请求对终端进行 D2D接入认证包括: 网络中的无线 基站系统接收到 D2D通讯请求, 并向移动性管理网元发起用于获得终端的 D2D签约 信息的请求; 无线基站系统根据终端的 D2D签约信息对终端进行 D2D接入认证, 其 中, 当终端向 EUTRAN中的无线基站系统发送 D2D通讯请求时,无线基站系统包括: 基站 eNodeB, 移动性管理网元包括: MME; 当终端向 UTRAN中的无线基站系统发 送 D2D通讯请求时, 无线基站系统包括: RNC, 移动性管理网元包括: SGSN。 优选地, 网络根据 D2D通讯请求对终端进行 D2D接入认证包括: 网络中的无线 基站系统接收到 D2D通讯请求, 并向移动性管理网元发起对 D2D终端进行认证的请 求; 无线基站系统采用移动性管理网元对 D2D终端进行认证的结果。 根据本发明的又一方面, 提供了一种终端的接入方法, 包括: 终端获取该终端待 接入的网络支持 D2D通讯的信息; 在网络支持 D2D通讯时, 终端向网络发送 D2D通 讯请求, 其中, D2D通讯请求用于触发网络对终端进行 D2D接入认证。 优选地, 终端获取该终端待接入的网络支持 D2D通讯的信息包括: 终端通过以下 方式之一获得网络支持 D2D 通讯的信息: 终端通过接收小区广播消息获取网络支持 D2D通讯的信息; 终端通过接收附着响应消息获取网络支持 D2D通讯的信息。 优选地, 在终端通过接收附着响应消息获取网络支持 D2D通讯的信息包括: 网络 根据以下信息判断 D2D通讯激活指示,在附着响应消息中携带 D2D通讯激活指示时, 终端通过 D2D通讯激活指示获得网络支持 D2D通讯的信息, 否则, 终端获得网络不 支持 D2D通讯的信息, 其中, 判断信息包括以下之一: 终端的 D2D通讯支持能力和 网络的 D2D通讯支持能力; 终端的 D2D通讯支持能力、 网络的 D2D通讯支持能力和 终端的 D2D业务签约情况。 根据本发明的又一方面, 提供了一种 D2D终端的注册装置, 该装置应用于 D2D 注册服务器, 包括: 接收模块, 设置为通过网络实体接收 D2D终端发送的 D2D注册 请求; 执行模块, 设置为执行 D2D终端的注册操作。 优选地, 接收模块还设置为, 接收携带有网络实体添加的 D2D终端的接入信息的 D2D注册请求, 其中, D2D终端的接入信息包括: D2D终端的接入标识和 D2D终端 的位置信息。 优选地,上述 D2D终端的注册装置还包括:存储模块,设置为当 D2D终端在 D2D 注册服务器上的注册成功时, 存储 D2D终端的注册上下文, 其中, 注册上下文包括以 下之一: D2D终端的接入层信息; D2D终端的接入层信息和 D2D终端的应用层信息。 根据本发明的又一方面, 提供了一种 D2D终端的发现装置, 该装置应用于 D2D 注册服务器, 包括: 第一接收模块, 设置为接收通过网络实体转发的由 D2D终端发送 的 D2D终端发现请求; 确定模块, 设置为根据 D2D终端发现请求确定临近的 D2D终 端, 并将临近的 D2D终端的信息返回给 D2D终端, 其中, 临近的 D2D终端是能够与 D2D终端进行通信的 D2D终端。 优选地, 确定模块包括: 获取单元, 设置为根据 D2D 终端发现请求获取发起该 D2D终端发现请求的 D2D终端的注册上下文; 确定单元, 设置为根据 D2D终端的注 册上下文确定临近的 D2D终端, 并将临近的 D2D终端的信息返回给 D2D终端。 优选地, 确定单元还设置为, 当 D2D终端发现请求中携带有预设的 D2D服务类 型或 D2D应用层标识时, 根据信息组确定现临近的 D2D终端, 并将临近的的 D2D的 信息返回给 D2D终端, 其中, 信息组包括以下之一: D2D终端的注册上下文和预设 的 D2D服务类型; D2D终端的注册上下文和 D2D应用层标识。 优选地, 上述 D2D终端的发现装置还包括: 第二接收模块, 设置为在 D2D注册 服务器接收通过网络实体转发的由 D2D终端发送的 D2D终端发现请求之前, 通过网 络实体接收 D2D终端发送的 D2D注册请求。 优选地, 上述 D2D终端的发现装置还包括: 存储模块, 设置为在 D2D终端注册 成功之后, 存储 D2D终端的注册上下文, 其中, 注册上下文包括以下之一: D2D终 端的接入层信息; D2D终端的接入层信息和 D2D终端的应用层信息。 优选地, 上述 D2D终端的发现装置还包括: 更新模块, 设置为在 D2D注册服务 器向该 D2D终端注册的网络查询或订阅 D2D终端的位置信息后,在 D2D终端的位置 发生变化的情况下, D2D注册服务器更新 D2D终端的接入层信息中的位置信息为 D2D 终端的变化后的位置信息。 根据本发明的又一方面, 提供了一种终端的接入装置, 该装置应用于网络, 包括: 获取模块, 设置为获取待注册到网络的终端支持 D2D通讯的信息; 接收模块, 设置为 在网络支持 D2D通讯时, 接收终端发送的 D2D通讯请求; 接入认证模块, 设置为根 据 D2D通讯请求对终端进行 D2D接入认证。 优选地, 获取模块, 还设置为接收终端发送的携带有该终端支持 D2D通讯的信息 的附着请求。 根据本发明的又一方面, 提供了一种终端的接入装置, 该装置应用于终端, 其包 括: 获取模块, 设置为获取该终端待接入的网络支持 D2D通讯的信息; 发送模块, 设 置为在终端支持 D2D通讯时, 向网络发送 D2D通讯请求, 其中, D2D通讯请求用于 触发网络对终端进行 D2D接入认证。 优选地, 获取模块包括: 第一获取单元, 设置为通过接收小区广播消息获取网络 支持 D2D 通讯的信息; 第二获取单元, 设置为通过接收附着响应消息获取网络支持 D2D通讯的信息。 优选地, 第二获取单元, 还设置为网络根据以下信息判断 D2D通讯激活指示, 在 附着响应消息中携带 D2D通讯激活指示时,通过 D2D通讯激活指示获得网络支持 D2D 通讯的信息, 否则, 终端获得网络不支持 D2D通讯的信息, 其中, 判断信息包括以下 之一: 终端的 D2D通讯支持能力和网络的 D2D通讯支持能力; 终端的 D2D通讯支持 能力、 网络的 D2D通讯支持能力和终端的 D2D业务签约情况。 根据本发明的又一方面, 提供了一种终端的接入系统, 该系统包括: 根据上述任 一项应用于网络的终端的接入装置和根据上述应用于终端的终端的接入装置。 根据本发明的再一方面,还提供了一种终端发现方法,包括:终端向基站发送 D2D 注册请求, 其中, 所述 D2D注册请求用于触发所述基站通过移动管理实体 MME 向 DRS转发前转 D2D注册消息; 所述终端接收所述基站反馈的对应于所述 D2D注册请 求的响应, 其中, 所述响应是所述 DRS通过所述 MME向所述基站发送的; 所述终端 向所述基站发送 D2D发现请求,所述发现请求用于触发所述基站通过所述 MME向所 述 DRS转发前转 D2D发现请求;所述终端接收所述基站转发的对应于所述 D2D发现 请求的 D2D发现响应。 根据本发明的再一方面, 还提供了一种终端发现装置, 应用于终端, 包括: 第二 发送模块, 用于向基站发送 D2D注册请求, 其中, 所述 D2D注册请求用于触发所述 基站通过移动管理实体 MME向 DRS转发前转 D2D注册消息; 第二接收模块, 用于 接收所述基站反馈的对应于所述 D2D注册请求的响应, 其中, 所述响应是所述 DRS 通过所述 MME向所述基站发送的; 第三发送模块, 用于向所述基站发送 D2D发现请 求, 所述发现请求用于触发所述基站通过所述 MME向所述 DRS转发前转 D2D发现 请求; 第三接收模块, 用于接收所述基站转发的对应于所述 D2D发现请求的 D2D发 现响应。 在本申请中,在两个 D2D终端进行 D2D通讯之前, D2D终端首先在 D2D注册服 务器上进行注册, 在注册成功后, D2D终端向 D2D注册服务器发送 D2D终端发现请 求, 在 D2D注册服务器根据上述 D2D终端发现请求确定出可以与该 D2D终端进行 D2D通讯的临近的 D2D终端时,该 D2D终端则可以与确定出的临近的 D2D终端进行 D2D通讯, 实现了 D2D注册服务器可以参与到两个 D2D终端进行的 D2D通讯中, 并 通过对 D2D终端的注册认证, 和确定可以与上述 D2D终端进行 D2D通讯的临近的 D2D终端的过程来实现对 D2D终端进行的 D2D通讯进行控制, 从而实现了运营商可 以通过设置 D2D注册服务器进而参与并控制两个 D2D终端进行的 D2D通讯,解决了 相关技术中直连通讯技术中, 由于利用运营商频谱资源且运营商无法参与其中并赋予 足够的控制能力, 导致运营商无法预防和改善上述直连通讯技术所带来的影响, 从而 给运营商的频谱资源构成了一定程度的干扰的问题, 达到了降低对运营商的频谱资源 的干扰的效果。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部分, 本发 明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在附图 中: 图 1是根据相关技术的 D2D终端接入到分组域的架构示意图; 图 2是根据相关技术的同一个基站下 /临近基站下不同 D2D终端间进行 IP数据通 信的示意图; 图 3是根据本发明实施例的 D2D终端的注册方法的流程图; 图 4是根据本发明实施例的 D2D终端的发现方法的流程图; 图 5是根据本发明实施例的终端的接入方法的流程图; 图 6是根据本发明实施例的另一种终端的接入方法的流程图; 图 7是根据本发明实施例的 D2D终端的注册装置的结构框图; 图 8是根据本发明优选实施例的 D2D终端的注册装置的结构框图; 图 9是根据本发明实施例的 D2D终端的发现装置的结构框图; 图 10是根据本发明实施例的确定模块的结构框图; 图 11是根据本发明优选实施例的 D2D终端的发现装置的结构框图; 图 12是根据本发明优选实施例的另一种 D2D终端的发现装置的结构框图; 图 13是根据本发明优选实施例的又一种 D2D终端的发现装置的结构框图; 图 14是根据本发明实施例的应用于网络的终端的接入装置的结构框图; 图 15是根据本发明实施例的应用于终端的终端的接入装置的结构框图; 图 16是根据本发明优选实施例的应用于 D2D终端的 D2D终端的发现装置的结构 框图; 图 17是根据本发明实施例一的网络中引入 D2D注册服务器的架构示意图; 图 18是根据本发明实施例一的 D2D终端向无线基站发起 D2D注册请求,无线基 站将 D2D终端发送的 D2D注册请求转发给 D2D注册服务器的流程示意图; 图 19是根据本发明实施例一的 D2D终端向核心网移动性管理网元发起 D2D注册 请求,核心网移动性管理网元将 D2D终端发送的 D2D注册请求转发给 D2D注册服务 器的流程示意图; 图 20是根据本发明实施例二的网络向 D2D终端提供 D2D注册服务器的信息, D2D终端直接向 D2D注册服务器发起 D2D注册请求的流程示意图; 图 21是根据本发明实施例三的 D2D注册服务器从 eNodeB订阅 D2D终端的当前 位置信息, 从而确定临近的 D2D终端的流程示意图; 图 22是根据本发明实施例三的 D2D注册服务器从 MME订阅 D2D终端的当前位 置信息, 从而确定临近的 D2D终端的流程示意图; 图 23是根据本发明实施例三的 D2D注册服务器从 LCS订阅 D2D终端的当前位 置信息, 从而确定临近的 D2D终端的流程示意图; 图 24是根据本发明实施例四的网络和终端间交互各自的 D2D通讯支持信息, 并 执行终端的接入认证的流程示意图; 图 25是根据本发明实施例四的终端通过小区广播获得网络的 D2D通讯支持信息 的流程示意图; 图 26是根据本发明实施例四的终端通过接收附着响应消息获得网络的 D2D通讯 支持信息的流程示意图; 图 27是根据本发明实施例四的在终端发起 D2D通讯请求时, 无线接入网络对终 端进行 D2D接入认证的流程示意图; 以及 图 28是根据本发明实施例四的在终端发起 D2D通讯请求时, 核心网对终端进行 D2D接入认证的流程示意图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在不冲突的 情况下, 本申请中的实施例及实施例中的特征可以相互组合。 本实施例提供了一种 D2D终端的注册方法, 图 3是根据本发明实施例的 D2D终 端的注册方法的流程图, 如图 3所示, 该 D2D终端的注册方法包括步骤 S302至步骤 S304。 步骤 S302: D2D注册服务器通过网络实体接收 D2D终端发送的 D2D注册请求。 步骤 S304: D2D注册服务器执行 D2D终端的注册操作。 通过上述步骤,在两个 D2D终端进行 D2D通讯之前, D2D终端首先在 D2D注册 服务器上进行注册, 在注册成功后, 两个 D2D终端才有可能实现相互发现, 并可进一 步尝试建立 D2D通讯,实现了 D2D注册服务器可以参与到两个 D2D终端进行的 D2D 通讯中,通过对 D2D终端的注册认证的过程来实现对 D2D终端进行的 D2D通讯进行 控制, 从而运营商可以通过设置 D2D注册服务器进而参与并控制两个 D2D终端进行 的 D2D通讯, 实现对终端直连通讯的控制, 降低非受控的终端直连通讯方式的采用, 进而运营商可以基于运营商网络提供直连通讯终端间的相互发现、 直连通讯发起前的 接入认证等控制, 可以解决相关技术中由于利用运营商频谱资源且运营商无法参与其 中并赋予足够的控制能力, 导致运营商无法预防和改善上述直连通讯技术所带来的影 响, 从而给运营商的频谱资源构成了一定程度的干扰的问题, 达到了减低对运营商的 频谱资源的干扰的效果。 优选地, 上述网络实体可以为无线基站系统, 其中, 当 D2D终端向 EUTRAN中 的无线基站系统发送 D2D注册请求时,无线基站系统可以包括:基站 eNodeB;当 D2D 终端向 UTRAN中的无线基站系统发送 D2D注册请求时, 无线基站系统可以包括: 基 站 NodeB和无线网络管理器 RNC, D2D注册请求携带在 RRC消息中。 该优选实施方 式下, 网络实体为无线基站系统时可以根据不同情况对注册请求进行处理, 提高了注 册请求消息处理的灵活性。 优选地, 网络实体可以为核心网移动性管理网元,其中, 当 D2D终端向 EUTRAN 中的无线基站系统发送 D2D注册请求时, 核心网移动性管理网元可以包括: 移动性管 理实体 MME, 当 D2D终端向 EUTRAN中的无线基站系统发送 D2D注册请求时, 核 心网移动性管理网元可以包括: SGSN, D2D注册请求携带在 NAS消息中。 该优选实 施方式下, 网络实体为核心网移动性管理网元时可以根据不同情况对注册请求进行处 理, 提高了注册请求消息处理的灵活性。 优选地,当网络实体将 D2D终端发送的 D2D注册请求发送给 D2D注册服务器时, 网络实体将 D2D终端的接入信息携带在 D2D注册请求中发送给 D2D注册服务器,其 中, D2D终端的接入信息包括: D2D终端的接入标识和 D2D终端的位置信息。 该优 选实施方式中,将终端的接入标识和终端的位置信息通过注册请求发送给 D2D注册服 务器, 可以使得 D2D注册服务器可以根据上述信息对 D2D进行注册, 降低了信令交 互的负荷。 优选地, D2D注册请求可以包括以下之一: D2D终端的应用层标识; D2D终端的 应用层标识和 D2D终端的服务类型。 该优选实施方式中的注册请求中携带有 D2D终 端的应用层标识; D2D终端的应用层标识和 D2D终端的服务类型, 可以使得接收该 D2D注册请求的 D2D服务器对 D2D终端进行准确接入。 优选地, 在 D2D注册服务器执行 D2D终端的注册操作之后, 在 D2D终端注册成 功的情况下, D2D终端进入 D2D通讯模式, 其中, D2D通讯模式为 D2D终端开启 D2D通讯服务,并进入连接态;在 D2D终端注册失败的情况下, D2D终端释放为 D2D 通讯模式所准备的资源。 该优选实施方式中, 在 D2D注册服务器对 D2D终端执行注 册操作后, 根据 D2D 终端注册是否成功, 执行不同的操作。 在成功的情况下, D2D 终端进入 D2D通讯模式; 在失败的情况下, D2D终端释放为 D2D通讯模式所准备的 资源, 提高了系统的资源利用率。 优选地, 在 D2D终端注册失败或去注册成功之后, 上述 D2D终端的注册方法还 包括: D2D终端进入空闲态, 即 D2D终端释放为 D2D通讯模式所准备的资源后, 如 果没有其他通讯连接, 则 UE可以退出连接态, 进入空闲态。 优选地,在 D2D注册服务器通过网络实体接收 D2D终端发送的 D2D注册请求之 后,如果 D2D终端在 D2D注册服务器上的注册成功时, D2D注册服务器存储 D2D终 端的注册上下文, 其中, 注册上下文包括以下之一: D2D终端的接入层信息; D2D终 端的接入层信息和 D2D终端的应用层信息。 该优选实施方式中, 在 D2D终端注册成 功时, D2D注册服务器存储包含有 D2D终端的接入层信息; D2D终端的接入层信息 和 D2D终端的应用层信息的注册上下文,使得 D2D注册服务器可以为该 D2D后续通 信提供 D2D终端的接入层信息和 /或 D2D终端的应用层信息, 可以降低信令传输的负 荷。 本实施例提供了一种 D2D终端的发现方法, 如图 4所示, 该 D2D终端的发现方 法包括步骤 S402至步骤 S404。 步骤 S402: D2D注册服务器接收通过网络实体转发的由 D2D终端发送的 D2D终 端发现请求。 步骤 S404: D2D注册服务器根据 D2D终端发现请求确定临近的 D2D终端, 并将 临近的 D2D终端的信息返回给 D2D终端。 通过上述步骤, 在注册成功后, D2D终端向 D2D注册服务器发送 D2D终端发现 请求,在 D2D注册服务器根据上述 D2D终端发现请求确定可以出可以与上述 D2D终 端进行 D2D通讯的临近的 D2D终端时,上述 D2D终端则可以与确定出的临近的 D2D 终端进行 D2D通讯, 实现了 D2D注册服务器可以参与到两个 D2D终端进行的 D2D 通讯中,并通过确定可以与上述 D2D终端进行 D2D通讯的临近的 D2D终端的过程来 实现对 D2D终端进行的 D2D通讯进行控制,从而运营商可以通过设置 D2D注册服务 器进而参与并控制两个 D2D终端进行的 D2D通讯, 可以解决相关技术中由于利用运 营商频谱资源且运营商无法参与其中并赋予足够的控制能力, 导致运营商无法预防和 改善上述直连通讯技术所带来的影响, 从而给运营商的频谱资源构成了一定程度的干 扰的问题, 达到了减低对运营商的频谱资源的干扰的效果。 优选地, D2D注册服务器根据 D2D终端发现请求确定临近的终端, 并将临近的 D2D终端的信息返回给 D2D终端包括: D2D注册服务器根据 D2D终端发现请求获取 发起该 D2D终端发现请求的 D2D终端的注册上下文; D2D注册服务器根据 D2D终端 的注册上下文确定临近的 D2D终端, 并将临近的 D2D终端的信息返回给 D2D终端。 在该优选实施方式中, D2D注册服务器可以根据获取到的 D2D终端的注册上下文和 该 D2D服务器中存储的该 D2D终端的注册上下文确定临近的终端, 提高了确定 D2D 终端的可靠性。 优选地, D2D注册服务器根据 D2D终端的注册上下文确定临近的 D2D终端, 并 将临近的 D2D终端的信息返回给 D2D终端包括: 当 D2D终端发现请求中携带有预设 的 D2D服务类型或 D2D应用层标识时, D2D注册服务器根据信息组确定所述现临近 的 D2D终端, 并将所述临近的的 D2D的信息返回给所述 D2D终端, 其中, 所述信息 组包括以下之一: D2D终端的注册上下文和预设的 D2D服务类型; D2D终端的注册 上下文和 D2D应用层标识。 在该优选实施方式中, 在 D2D终端发现请求中携带有预 设的 D2D服务类型或 D2D应用层标识时, 该 D2D注册服务器可以通过 D2D服务类 型 (或 D2D应用层标识)、 获取到的 D2D终端的注册上下文和存储的 D2D终端的上 下文确定 D2D终端, 该方式提高了确定 D2D终端的效率。 优选地,在 D2D注册服务器接收通过网络实体转发的由 D2D终端发送的 D2D终 端发现请求之前, 上述 D2D终端发现方法还包括: D2D终端向网络实体发送 D2D注 册请求。 该优选实施方式中, 在 D2D注册服务器接收由网络实体转发的 D2D终端发 现请求之前, 包括由 D2D终端向网络实体发送 D2D注册请求, 可以降低信息交互的 负荷。 优选地, 在 D2D终端注册成功之后, 上述 D2D终端发现方法还包括: D2D注册 服务器存储 D2D终端的注册上下文, 其中, 注册上下文包括以下之一: D2D终端的 接入层信息; D2D终端的接入层信息和 D2D终端的应用层信息。 该优选实施方式中, D2D注册服务器存储包括接入层信息; D2D终端的接入层信息和 D2D终端的应用层 信息, 使得 D2D服务器在后续处理中可以使用上述信息对 D2D终端进行注册。 优选地, 在 D2D注册服务器存储 D2D终端的注册上下文之后, 上述 D2D终端发 现方法还包括:在 D2D注册服务器向该 D2D终端注册的网络查询或订阅 D2D终端的 位置信息后, 在 D2D终端的位置发生变化的情况下, D2D注册服务器更新 D2D终端 的接入层信息中的位置信息为 D2D终端的变化后的位置信息, 提高了 D2D终端的位 置信息的准确性。 优选地, 注册的网络包括以下之一: 无线基站系统、 核心网移动性管理网元、 服 务移动定位中心 SMLC/E-SMLC、 网关移动定位中心 GMLC。 优选地, 网络实体为无线基站系统, 其中, 当 D2D终端向 EUTRAN中的无线基 站系统发送 D2D终端发现请求时, 无线基站系统包括: 基站 eNodeB; 当 D2D终端向 UTRAN中的无线基站系统发送 D2D终端发现请求时,无线基站系统包括:基站 NodeB 和 RNC, D2D终端发现请求携带在无线资源管理 RRC消息中。 优选地, 网络实体为核心网移动性管理网元, 其中, 当 D2D终端向 EUTRAN中 的核心网移动性管理网元发送 D2D 终端发现请求时, 核心网移动性管理网元包括: MME;当 D2D终端向 UTRAN中的核心网移动性管理网元发送 D2D终端发现请求时, 核心网移动性管理网元包括: SGSN, D2D终端发现请求携带在 NAS消息中。 本实施例提供了一种终端的接入方法, 如图 5所示, 该终端的接入方法包括步骤 S502至步骤 S506。 步骤 S502: 终端待接入的网络获取该终端支持 D2D通讯的信息。 步骤 S504: 在网络支持 D2D通讯时, 网络接收终端发送的 D2D通讯请求。 步骤 S506: 网络根据 D2D通讯请求对终端进行 D2D接入认证。 通过上述步骤, 网络和终端交互各自的支持 D2D通讯的信息, 即网络获得终端的 支持 D2D通讯的信息, 终端获得网络的支持 D2D通讯的信息后, 在网络支持 D2D通 讯时, 接收终端发送的 D2D通讯请求后, 根据 D2D通讯请求对终端进行 D2D接入认 证, 其中, D2D通讯请求为以下任一种请求: D2D注册请求、 D2D发现请求、 D2D 连接请求。 优选地, 终端待接入的网络获取该终端支持 D2D通讯的信息包括: 终端待接入的 网络接收该终端发送的携带有该终端支持 D2D 通讯的信息的附着请求来该终端支持 D2D通讯的信息。 优选地: 网络可以为移动性管理网元, 其中, 当终端向 EUTRAN中的移动性管理 网元发送 D2D通讯请求时,移动性管理网元可以包括: MME;当 D2D终端向 UTRAN 中的移动性管理网元发送 D2D通讯请求时, 移动性管理网元可以包括: SGSN。 优选地, 网络根据 D2D通讯请求对终端进行 D2D接入认证包括: 网络中的无线 基站系统接收到 D2D通讯请求, 并向移动性管理网元发起用于获得 D2D终端的 D2D 签约信息的请求;无线基站系统根据终端的 D2D签约信息对终端进行 D2D接入认证, 其中, 当终端向 EUTRAN中的无线基站系统发送 D2D通讯请求时, 无线基站系统可 以包括: 基站 eNodeB, 移动性管理网元可以包括: MME; 当终端向 UTRAN中的无 线基站系统发送 D2D通讯请求时, 无线基站系统可以包括: RNC, 移动性管理网元可 以包括: SGSN。 优选地, 网络根据 D2D通讯请求对终端进行 D2D接入认证包括: 网络中的无线 基站系统接收到 D2D通讯请求, 并向移动性管理网元发起对 D2D终端进行认证的请 求; 无线基站系统采用移动性管理网元对 D2D终端进行认证的结果, 提高了网络根据 D2D通讯请求对终端进行 D2D接入认证的灵活性。 本实施例提供了一种终端的接入方法, 如图 6所示, 该终端的接入方法包括步骤 S602至步骤 S604。 步骤 S602: 终端获取该终端待接入的网络支持 D2D通讯的信息。 步骤 S604:在网络支持 D2D通讯时,终端向网络发送 D2D通讯请求,其中, D2D 通讯请求用于触发网络对终端进行 D2D接入认证。 优选地, 终端获取该终端待接入的网络支持 D2D通讯的信息包括: 终端通过以下 方式之一获得网络支持 D2D 通讯的信息: 终端通过接收小区广播消息获取网络支持 D2D通讯的信息; 终端通过接收附着响应消息获取网络支持 D2D通讯的信息。 优选地, 在终端通过接收附着响应消息获取网络支持 D2D通讯的信息包括: 网络 根据以下信息判断 D2D通讯激活指示,在附着响应消息中携带 D2D通讯激活指示时, 终端通过 D2D通讯激活指示获得网络支持 D2D通讯的信息, 否则, 终端获得网络不 支持 D2D通讯的信息, 其中, 判断信息包括以下之一: 终端的 D2D通讯支持能力和 网络的 D2D通讯支持能力; 终端的 D2D通讯支持能力、 网络的 D2D通讯支持能力和 终端的 D2D业务签约情况。 本实施例提供了一种 D2D终端的注册装置, 该装置应用于 D2D注册服务器, 如 图 7所示, 该 D2D终端的注册装置包括: 接收模块 702, 设置为通过网络实体接收 D2D终端发送的 D2D注册请求; 执行模块 704, 连接至接收模块 702, 设置为执行 D2D终端的注册操作。 优选地,上述接收模块 702还设置为接收携带有网络实体添加的 D2D终端的接入 信息的 D2D注册请求,其中, D2D终端的接入信息包括: D2D终端的接入标识和 D2D 终端的位置信息。 优选地, 如图 8所示, 上述 D2D终端的注册装置还包括: 存储模块 706, 设置为 当 D2D终端在 D2D注册服务器上的注册成功时,存储 D2D终端的注册上下文,其中, 注册上下文包括以下之一: D2D终端的接入层信息; D2D终端的接入层信息和 D2D 终端的应用层信息。 本实施例提供了一种 D2D终端的发现装置, 该装置应用于 D2D注册服务器, 如 图 9所示, 该 D2D终端的发现装置包括: 第一接收模块 902, 设置为接收通过网络实 体转发的由 D2D终端发送的 D2D终端发现请求; 确定模块 904, 连接至第一接收模 块 902, 设置为根据 D2D终端发现请求确定临近的 D2D终端, 并将临近的 D2D终端 的信息返回给 D2D终端,其中, 临近的 D2D终端是能够与 D2D终端进行通信的 D2D 终端。 优选地,如图 10所示,上述确定模块 904包括: 获取单元 9042,设置为根据 D2D 终端发现请求获取发起该 D2D 终端发现请求的 D2D 终端的注册上下文; 确定单元 9044, 连接至获取单元 9042, 设置为根据 D2D终端的注册上下文确定临近的 D2D终 端, 并将临近的 D2D终端的信息返回给 D2D终端。 优选地, 上述确定单元 9044还设置为当 D2D终端发现请求中携带有预设的 D2D 服务类型或 D2D应用层标识时, 根据信息组确定现临近的 D2D终端, 并将临近的的 D2D的信息返回给 D2D终端, 其中, 信息组包括以下之一: D2D终端的注册上下文 和预设的 D2D服务类型; D2D终端的注册上下文和 D2D应用层标识。 优选地, 如图 11所示, 上述 D2D终端的发现装置还包括: 第二接收模块 906, 设置为在 D2D注册服务器接收通过网络实体转发的由 D2D终端发送的 D2D终端发现 请求之前, 通过网络实体接收 D2D终端发送的 D2D注册请求。 优选地, 如图 12所示, 上述 D2D终端的发现装置还包括: 存储模块 908, 设置 为在 D2D终端注册成功之后, 存储 D2D终端的注册上下文, 其中, 注册上下文包括 以下之一: D2D终端的接入层信息; D2D终端的接入层信息和 D2D终端的应用层信 息。 优选地, 如图 13所示, 上述 D2D终端的发现装置还包括: 更新模块 910, 设置 为在 D2D注册服务器向该 D2D终端注册的网络查询或订阅 D2D终端的位置信息后, 在 D2D终端的位置发生变化的情况下, D2D注册服务器更新 D2D终端的接入层信息 中的位置信息为 D2D终端的变化后的位置信息。 本实施例提供了一种终端的接入装置, 该装置应用于网络, 如图 14所示, 该终端 的接入装置包括: 获取模块 1402, 设置为获取待注册到网络的终端支持 D2D通讯的 信息; 接收模块 1404, 连接至获取模块 1402, 设置为在网络支持 D2D通讯时, 接收 终端发送的 D2D通讯请求; 接入认证模块 1406, 连接至接收模块 1404, 设置为根据 D2D通讯请求对终端进行 D2D接入认证。 优选地, 上述获取模块 1402, 还设置为接收终端发送的携带有该终端支持 D2D 通讯的信息的附着请求。 本实施例提供了一种终端的接入装置, 该装置应用于终端, 如图 15所示, 该终端 的接入装置包括: 获取模块 1502, 设置为获取该终端待接入的网络支持 D2D通讯的 信息; 发送模块 1504, 连接至获取模块 1502, 设置为在终端支持 D2D通讯时, 向网 络发送 D2D通讯请求,其中, D2D通讯请求用于触发网络对终端进行 D2D接入认证。 优选地, 如图 16所示, 上述获取模块 1502包括: 第一获取单元 1602, 设置为通 过接收小区广播消息获取网络支持 D2D通讯的信息; 第二获取单元 1604, 设置为通 过接收附着响应消息获取网络支持 D2D通讯的信息。 优选地, 上述第二获取单元 1604, 还设置为网络根据以下信息判断 D2D通讯激 活指示, 在附着响应消息中携带 D2D通讯激活指示时, 通过 D2D通讯激活指示获得 网络支持 D2D通讯的信息, 否则, 终端获得网络不支持 D2D通讯的信息, 其中, 判 断信息包括以下之一: 终端的 D2D通讯支持能力和网络的 D2D通讯支持能力; 终端 的 D2D通讯支持能力、 网络的 D2D通讯支持能力和终端的 D2D业务签约情况。 本实施例提供了一种终端的接入系统, 其包括: 上述任一优选实施例中的应用于 网络的终端的接入装置和上述任一优选实施例中的应用于终端的终端的接入装置。 以下结合附图和实施例对上述各个实施例进行详细地描述。 实施例一: 以下是终端 (相当于 D2D终端) 向网络 (相当于网络实体) 发起 D2D注册请求 过程, 由网络将终端的 D2D注册请求转发给 D2D注册服务器的流程, 包括如下步骤 S1至步骤 S3。 步骤 Sl, 终端进入 D2D通讯模式, 向网络发起 D2D注册消息。 在该步骤中, 终端进入 D2D通讯模式, 可以理解为终端打开 D2D通讯服务服务 模块。 D2D通讯的发起, 需要网络和终端同时具备支持 D2D通讯的能力, 并且开启 D2D通讯服务。 考虑到对于终端而言, 开启 D2D服务可能意味着额外的功率消耗, 因此终端可以只在需要进行 D2D通讯的时候打开 D2D通讯服务模块。从这个意义上, 终端将进入 D2D通讯模式。 步骤 S2, 根据需要, 网络验证终端的 D2D授权信息。 网络将终端的 D2D注册消 息前转给 DRS服务器。 在该步骤中, 网络有可能对终端执行 D2D授权验证过程, 以验证终端是否被允许 接入在网络中进行 D2D通讯。 步骤 S3, DRS服务器接收网络前转的 D2D注册消息, 存储 D2D注册上下文。 在该过程中, DRS服务器收到网络前转的 D2D注册消息后, 根据需要, 可能会 对终端的 D2D注册请求进行认证, 根据认证结果决定是否接收终端的 D2D注册。 在 D2D注册完成后, DRS服务器存储终端的 D2D注册上下文。 图 17是根据本发明实施例一的网络中引入 D2D注册服务器的架构示意图,其中, 存在 DRS服务器 (D2D Register Server, 简称为 DRS) 部署在网络中, 接收并处理终 端发起的 D2D注册,并根据。该注册服务 DRS可以部署在靠近无线网络(Radio Access Network, 简称为 RAN)侧, 也可以靠近核心网络侧( Core Network, 简称为 CN)侧。 具体地, 在 EUTRAN接入情况下, RS可以部署在靠近基站 eNodeB侧, 也可以部署 在 eNodeB上。 或者, RS可以部署在靠近移动性管理网元 MME侧, 也可以部署在 MME上。 图 18是根据本发明实施例一的 D2D终端向无线基站发起 D2D注册请求,无线基 站将 D2D 终端发送的 D2D 注册请求转发给 D2D 注册服务器的流程示意图, 以 EUTRAN接入为例, 终端 (相当于 D2D终端) 向基站 eNodeB发起 D2D注册请求, eNodeB将终端的 D2D注册请求前转给 DRS服务器。 在流程图 18中, 以两个终端 UE1、 UE2为例, 分别发起 D2D注册过程, 该流程 包括如下步骤 S1802至步骤 S1818。 步骤 S1802, UE1进入 D2D通讯模式, 向 eNodeB发起 D2D注册消息。 该 D2D 注册消息可以包含在 RRC消息中; 该 D2D注册消息, 可以是一个简单的 D2D注册标识, 指明 UE1进入 D2D通讯 模式。 所谓 D2D通讯模式, 可以认为是 UE打开 D2D通讯服务, 建立 D2D通讯资源, 然后保持该 D2D通讯资源的激活状态。从网络看, D2D通讯模式可能意味着 UE处于 连接状态, UE的无线资源和核心网资源均保持活跃状态。 如果 D2D注册失败, 则 UE退出 D2D通讯模式, 包括: 释放 D2D通讯资源。 进 一步地, 如果没有其他通讯连接, 则 UE可以退出连接态, 进入空闲态。 该 D2D注册消息, 也可以携带 UE的 D2D应用层信息, 具体地, 可以是如下信 息的组合: UE1的 D2D用户标识(D2D User ID), UE1的 D2D服务类型(D2D Service Type)。
UE的 D2D用户标识, 用以供 D2D应用程序标识一个 D2D通讯客户端。 UE的 D2D服务类型, 用以标识一个 D2D应用的类型, 比如 Skype、 QQ等。 在 D2D注册消 息中, 可以只提供 UE的 D2D用户标识、和 UE的 D2D服务类型的一种, 也可以同时 提供。 通常而言, UE的 D2D用户标识有可能隐含地表达 UE的 D2D服务类型, 比如 UE的 D2D用户标识为: lisi@msn.com, 则可由 D2D用户标识的某些部分 (此处为 D2D用户标识的域名称部分) 推导出 D2D服务类型 (此处可以认为是 MSN服务)。 在此种情况下, UE的 D2D用户标识缺省地隐含表达了 D2D服务类型, 则可以不需要 提供 D2D服务类型信息。 步骤 S1804, eNodeB收到 UE1发起的 D2D注册消息后, 根据需要, 对 UE1进行 D2D接入认证; 在本步骤中, eNodeB可能和 MME进行交互, 从 MME获得 UE1的 D2D接入认 证信息, 从而对 UE1进行 D2D接入认证。 eNodeB也可能让 MME对 UE1进行 D2D 接入认证, 并使用 MME对 UE1的 D2D接入认证结果。 根据对 UE1的 D2D接入认证结果, eNodeB决定是拒绝 UE1的 D2D注册消息, 还是前转 UE1的注册消息到 DRS服务器。 具体地, 如果 UE1的 D2D认证失败, eNodeB执行步骤 S1806, 向 UE1返回 D2D 注册失败消息, 携带合适的原因值。如果 UE1的 D2D认证成功, 则 eNodeB执行步骤 S1808, 将 UE1的 D2D注册消息前转给 DRS服务器。 步骤 S1806, 如果 UE1的 D2D接入认证失败, eNodeB向 UE1返回 D2D注册失 败消息; 在该注册失败消息中, 携带合适的原因值, 表明 D2D注册失败的具体原因。 步骤 S1808, 如果 UE1的 D2D接入认证成功, 则 eNodeB将 UE1的 D2D注册消 息前转给 DRS服务器; 在向 DRS服务器前转 UE1的 D2D注册消息时, 进一步地, eNodeB可以将 UE1 的接入层信息发送给 DRS服务器。 具体地, 可以包括: UE1的接入标识信息 (IMSI, 或其他所使用的终端接入标识)。额外地, 接入层信息可以进一步包括: UE1的当前位 置信息 (如 Cell-ID )。 步骤 S1810, DRS服务器收到 UE1的注册请求后, 根据需要, 执行 D2D应用认 证, 存储 D2D注册上下文, 返回 D2D注册响应; 在该步骤中, DRS服务器可能会对 UE1进行应用层的 D2D认证, 即 D2D应用认 证。 如果 D2D应用认证成功, 则 DRS服务器向 eNodeB返回 D2D注册成功响应。 如 D2D应用认证失败, 则 DRS服务器向 eNodeB返回 D2D注册失败响应, 携带合适的 原因值。 另外, 如果 D2D认证成功, 则 DRS服务器存储 UE1的 D2D注册上下文, 如:
UE1的接入层信息: UE1的接入标识(如 IMSI)、 UE1的小区位置信息(Cell-ID); UE1的应用层信息: 如 UE1的 D2D用户标识 (D2D User ID)、 UE1的 D2D服务 类型 (D2D Service Type); 步骤 S1812, DRS服务器向 eNodeB返回 D2D注册响应, 具体地, 根据请求为 D2D注册成功响应、 或 D2D注册失败响应; 步骤 S1814, eNodeB向 UE1返回 D2D注册响应消息,该 D2D注册响应消息携带 在 RRC消息中。 步骤 S1816, UE1收到 eNodeB返回的 D2D注册响应消息, 如果 D2D注册失败, 则 UE1根据情况, 释放 D2D通讯资源, 比如关闭 D2D通讯模块。 步骤 S1818, 相同地, 如果 UE2进入 D2D模式, UE2向网络执行 D2D注册。 图 19是根据本发明实施例一的 D2D终端向核心网移动性管理网元发起 D2D注册 请求,核心网移动性管理网元将 D2D终端发送的 D2D注册请求转发给 D2D注册服务 器的流程示意图, 以 EUTRAN接入为例,终端(相当于 D2D终端)向 MME发起 D2D 注册, MME将终端的 D2D注册前转给 DRS服务器。 在流程图 19中, 以两个终端 UE1、 UE2为例, 分别发起 D2D注册过程, 包括如 下步骤 S1902至步骤 S1918。 步骤 S1902, UE1进入 D2D通讯模式, 向 MME发起 D2D注册消息。 该 D2D注 册消息可以包含在 NAS消息中。 该 D2D注册消息, 可以是一个简单的 D2D注册标识, 指明 UE1进入 D2D通讯 模式。 该 D2D注册消息, 也可以携带 UE的 D2D应用层信息, 具体地, 可以是如下信 息的组合: UE1的 D2D用户标识(D2D User ID), UE1的 D2D服务类型(D2D Service Type)。 步骤 S1904, MME收到 UE1发起的 D2D注册消息后, 根据需要, 对 UE1进行 D2D接入认证; 在本步骤中, MME对 UE1进行 D2D接入认证。 根据对 UE1的 D2D接入认证结果, MME决定是拒绝 UE1的 D2D注册消息, 还 是前转 UE1的注册消息到 DRS服务器。 具体地, 如果 UE1的 D2D认证失败, MME执行步骤 S1906, 向 UE1返回 D2D 注册失败消息, 携带合适的原因值。 如果 UE1的 D2D认证成功, 则 MME执行步骤 S1908, 将 UE1的 D2D注册消息前转给 DRS服务器。 步骤 S1906, 如果 UE1的 D2D接入认证失败, MME向 UE1返回 D2D注册失败 消息; 在该注册失败消息中, 携带合适的原因值, 表明 D2D失败的具体原因。 步骤 S1908, 如果 UE1的 D2D接入认证成功, 则 MME将 UE1的 D2D注册消息 前转给 DRS服务器; 在向 DRS服务器前转 UE1的 D2D注册消息时, 进一步地, MME可以将 UE1的 接入层信息发送给 DRS服务器。 具体地, 可以包括: UE1 的接入标识信息 (IMSI, 或其他所使用的终端接入标识)、 UE1的当前位置信息 (如 Cell-ID)。 步骤 S1910, DRS服务器收到 UE1的注册请求后, 根据需要, 执行 D2D应用认 证, 存储 D2D注册上下文, 返回 D2D注册响应; 在该步骤中, DRS服务器可能会对 UE1进行应用层的 D2D认证, 即 D2D应用认 证。 如果 D2D应用认证成功, 则 DRS服务器向 eNodeB返回 D2D注册成功响应。 如 D2D应用认证失败, 则 DRS服务器向 MME返回 D2D注册失败响应, 携带合适的原 因值。 另外, 如果 D2D认证成功, 则 DRS服务器存储 UE1的 D2D注册上下文, 如:
UE1的接入层信息: UE1的接入标识(如 IMSI)、 UE1的小区位置信息(Cell-ID); UE1的应用层信息: 如 UE1的 D2D用户标识 (D2D User ID)、 UE1的 D2D服务 类型 (D2D Service Type); 步骤 S1912, DRS服务器向 MME返回 D2D注册响应, 具体地, 根据请求为 D2D 注册成功响应、 或 D2D注册失败响应; 步骤 S1914, MME向 UE1返回 D2D注册响应消息, 该 D2D注册响应消息携带 在 NAS消息中。 步骤 S1916, UE1收到 MME返回的 D2D注册响应消息, 如果 D2D注册失败, 则 UE1根据情况, 释放 D2D通讯资源, 比如关闭 D2D通讯模块。 步骤 S1918, 相同地, 如果 UE2进入 D2D模式, UE2向网络执行 D2D注册。 图 19所示的流程和图 18所示的流程, 原理上是类似的, 不同点在于: 在图 19所示的流程中, UE通过向 MME发送 D2D注册消息, 该消息被包含在 NAS消息中, 由 MME前转给 DRS服务器。 在图 18所示的流程中, D2D注册消息被 包含在 RRC消息中, 由 eNodeB前转给 DRS服务器。
D2D接入认证过程由 MME来执行。 在图 18所示的过程中, D2D接入认证过程 可以由 eNodeB、 或 MME来执行。
MME在前转 UE的 D2D注册消息时, 附加 UE的接入层信息,如 UE的接入层标 识 (IMSI, 或其它接入层标识)、 UE的小区位置信息 (Cell-ID)。 在图 18所示的流程 中, eNodeB附加 UE的接入层信息。 在图 19所示的流程中, 仅 MME识别 UE的 D2D注册消息, 知道 UE进入 D2D 通讯模式。 由于 eNodeB不识别 UE发起的 D2D注册消息, 因而 eNodeB并不知道 UE 已经进入 D2D通讯模式。 在应用了图 18、图 19所示的流程后, UE经过网络向 DRS服务器执行 D2D注册, 使得 DRS服务器获得了 UE的基本信息 (如: UE已经进入 D2D通讯模式、 UE的初 始位置信息等), 使得 DRS服务器具有了初步的能力来根据 UE的 D2D注册结果, 选 择临近的 D2D注册终端。 在实施例一中, UE并不知道网络中 D2D注册服务器存在于何处, UE只是尝试 向网络发起 D2D注册过程, 由网络 (无线接入网、 核心网) 向 D2D注册服务器前转 UE的 D2D注册消息, 并向 UE返回 D2D注册响应。 该方式要求网络参与到 D2D注 册过程中, 如果考虑不让网络参与到 D2D注册过程中, 可以存在另外一种方式, 如实 施例二所描述, 网络向 UE提供 D2D注册服务器, 由 UE自行向 D2D注册服务器发起 D2D注册, 而 D2D注册服务器利用网络所提供的一些基础服务, 如位置服务 LCS, 来获得 UE接入到网络中的位置信息。 实施例二: 图 20是根据本发明实施例二的网络向 D2D终端提供 D2D注册服务器的信息, D2D终端直接向 D2D注册服务器发起 D2D注册请求的流程示意图, 以 EUTRAN接 入为例, 描述了网络向终端 (相当于 D2D终端) 提供 D2D注册服务器的地址信息, 终端直接向 D2D注册服务器发起 D2D注册的过程。包括如下步骤 S2002至步骤 S2018。 步骤 S2002~S2010, UE请求附着到网络, 网络执行正常的附着流程处理, 在附着 响应中, 返回 DHCP服务器、 DRS服务器信息。 所返回的 DRS服务器信息, 可以是一个域名、 IP地址。 如果返回的 DRS服务器 信息是域名, 则 UE需要向 DHCP服务器请求解析 DRS服务器地址。 步骤 S2012, 根据情况, UE向 DHCP服务器执行 DHCP请求, 解析 DRS服务器 的 IP地址; 步骤 S2014~S2016, UE向 DRS服务器发起 D2D注册请求, DRS服务器对 UE的 D2D注册请求进行认证, 并向 UE返回 D2D注册响应。 如果 D2D注册成功, 则 DRS 服务器保存 UE的 D2D注册上下文。 在该步骤中, UE发送 D2D注册消息, 其中携带如图 18的类似信息。 在 DRS服务器对 UE进行 D2D认证的过程中, DRS可能通过其他接口获得 UE 的 D2D签约数据, 根据 UE的签约数据对 UE进行 D2D认证。 步骤 S2018, 当 UE收到 D2D注册响应后, 根据情况, 如果注册失败, UE释放
D2D通讯资源。 终端执行 D2D注册,使得 DRS服务器上能获得区域内进入 D2D通讯模式的终端, 并且有可能知道这些终端所开启的 D2D服务的类型、 终端的 D2D应用标识等信息, 从而能为某个终端发现在某个区域内提供类似 D2D服务的其他终端。然而, 终端开启 D2D通讯模式后, 可能会移动, 导致终端的位置信息发生变化, 使得 DRS服务器上 终端初始 D2D注册时所登记的终端位置变得不准确, 从而使得基于原始 D2D注册位 置的临近终端发现变得没有实际作用。 为了解决这个问题, 需要 DRS服务器在终端 D2D注册成功以后, 需要从网络订 阅终端的位置变化, 当终端位置发生变化后, 使得 DRS能及时获得位置变更通知, 从 而能基于终端位置发现临近的 D2D终端。 实施例三: 本实施例提供了一种查询临近 D2D终端的方法, 本实施例中记载了终端(相当于
D2D终端)执行 D2D注册后, 从 DRS服务器查询临近 D2D终端的流程, 该流程包括 如下步骤 S1至步骤 S4。 步骤 Sl, 终端发起 D2D注册, DRS服务器存储终端的 D2D上下文; 步骤 S2, DRS服务器在终端注册成功后, 向网络订阅终端的位置; DRS服务器在终端 D2D注册成功后, 向网络 (无线接入网、 核心网) 订阅终端 的位置变化, 以便于终端的位置发生变化后, DRS服务器能及时获得通知并获得最新 的终端位置信息。 步骤 S3, 终端向 DRS服务器发送请求, 查询临近的 D2D终端; 步骤 S4, DRS服务器根据终端的 D2D注册信息、 终端的位置信息, 判断和请求 终端相临近的其他终端, 并返回给发送请求的终端。 图 21是根据本发明实施例三的 D2D注册服务器从 eNodeB订阅 D2D终端的当前 位置信息, 从而确定临近的 D2D终端的流程示意图, 以 EUTRAN接入为例, DRS向 eNodeB订阅终端 (相当于 D2D终端) 的位置变化, 以根据终端最新的位置来判断临 近的终端。 该流程包括如下步骤 S2102至步骤 S2126。 步骤 S2102~S2108, UE发起 D2D注册流程, 具体步骤如图 18步骤 S1802至步骤
S 1808所示。 步骤 S2110, 在 UE的 D2D注册成功后, DRS服务器向 eNodeB订阅 UE的位置 变化; 步骤 S2112, 当 UE的 D2D注册成功后, UE进入 D2D通讯模式; 步骤 S2114, —段时间之后, UE可能发生移动; 步骤 S2116, eNodeB探测到 UE的移动,向 DRS服务器报告 UE的位置变化情况; 当 UE处于 D2D通讯模式下移动时, UE的无线资源保持激活状态, 此时, 无线 接入网络(eNodeB)能探测 UE的移动性, 从而触发位置变化事件, 向 DRS服务器报 告 UE的位置变化情况。 根据该方法, DRS服务器获得了 UE的最新的位置信息。 步骤 S2118,然后, UE向 eNodeB发送 D2D终端发现请求,要求发现临近的 D2D 终端。
UE在发送 D2D终端发现请求时, 可能会指定希望发现的终端的 D2D服务类型 (D2D Service Type), DRS根据 UE发起 D2D注册时候的 D2D服务类型来检测临近 的 D2D终端。 步骤 S2120, eNodeB将 UE的 D2D终端发现请求前转给 DRS服务器。 步骤 S2122, DRS服务器根据终端的 D2D注册信息、 终端的最新位置信息, 计算 哪些终端是的临近的 D2D终端; 如果 UE在 D2D终端发送请求中,携带了希望发现的终端的 D2D服务类型(D2D Service Type), 则 DRS服务器根据 UE发起 D2D注册时候的 D2D服务类型来筛选匹 配的 D2D终端。 如果 UE在发起 D2D注册时没有指明 D2D服务类型, 但 UE的 D2D用户标识隐 含地指明了其 D2D服务类型, 则 DRS也可以根据 UE注册的 D2D用户标识中的有效 信息来筛选匹配的 D2D终端。 步骤 S2124, DRS服务器向 eNodeB返回 D2D终端发现响应, 其中携带临近的 D2D终端列表。 DRS服务器所返回的临近的 D2D终端列表, 其中临近终端的信息可能包括如下 信息的组合:终端的 ID (如终端的接入层标识 IMSI、终端的 D2D用户标识(D2D User ID)、 终端的 IP地址等。 步骤 S2126, eNodeB向 UE前转 D2D发现响应。 至此, UE通过上述方法可以发现临近的 D2D终端, 从而可以有针对性地选择某 个终端来请求发起 D2D连接。 需要说明的是, 如果前转 D2D消息的网络实体不是 eNodeB而是 MME, 则 D2D 终端的发现流程如图 22所示。 图 22是根据本发明实施例三的 D2D注册服务器从 MME订阅 D2D终端的当前位 置信息, 从而确定临近的 D2D终端的流程示意图, 以 EUTRAN接入为例, DRS 向 MME订阅终端 (相当于 D2D终端) 的位置变化, 以根据终端最新的位置来判断临近 的终端。 图 22和图 21的流程类似, 主要有如下不同: UE通过向 MME发送 D2D终端发现请求,该消息被包含在 NAS消息中,由 MME 前转给 DRS服务器。 在图 21所示的流程中, D2D注册消息被包含在 RRC消息中, 由 eNodeB前转给 DRS服务器。
DRS服务器向 MME订阅 UE的位置变化, 进一步地 MME可能向 eNodeB订阅 UE的位置变化。 在图 21所示的流程中, DRS直接向 eNodeB订阅 UE的位置变化。 图 21、图 22所示的流程中, DRS直接向 eNodeB/MME订阅 UE的位置变化情况, 这对于 eNodeB/MME具有额外的位置服务增强要求。 另一种方法是, DRS通过定位 服务 (Location Service, 简称 LCS) 的网关移动定位中心 (Gateway Mobile Location Center, 简称 GMLC) 来向 LCS定位服务系统请求订阅 UE的位置信息, 从而在 UE 的位置发生变化时及时获知 UE的最新位置信息。 LCS定位服务系统可以利用网络定 位能力、 UE定位能力等计算 UE的位置, 既可以满足小区级别 (Cell级别) 的定位需 求,也可以提供基于物理精度的定位需求。在定位过程中, LCS定位流程可以唤醒 UE, 将 UE保持在连接态, 以便获得 UE的最精确的位置信息。 图 23是根据本发明实施例三的 D2D注册服务器从 LCS订阅 D2D终端的当前位 置信息, 从而确定临近的 D2D终端的流程示意图, 以 E-UTRAN接入为例, 描述了 DRS向 LCS定位服务系统的 GMLC订阅 UE的位置信息, 并基于 UE的最新的信息, 计算临近终端的流程示意图, 包括如下步骤 S2302至步骤 S2326。 步骤 S2302〜步骤 S2308, UE (相当于 D2D终端) 执行 D2D注册过程, 同步骤 S 1802至步骤 S 1808。 步骤 S2310, UE进入 D2D通讯模式。 在前述流程中, 要求 D2D通讯模式必须是 UE保持在连接态。 而本流程中, 由于 采用 LCS定位服务, LCS定位服务可以有效激活 UE进入连接态, 因此无需强调 UE 进入 D2D通讯模式必须保持在连接态。 步骤 S2312, DRS服务器向 GMLC订阅 UE的位置信息。 步骤 S2314, GMLC触发终呼定位过程。 在本步骤中, 按照现有 LCS定位流程, 其间涉及和 MME、 eNodeB的交互。 由于 DRS希望 UE在 D2D注册期间均可以获得 UE的最新位置信息。因此该终呼叫定位过 程将会触发为基于 UE位置变化的位置上报过程、 或基于周期性的 UE位置上报过程。 步骤 S2316, 根据终呼定位流程, 触发 UE进入连接态。 步骤 S2318〜步骤 S2322, 其后, UE移动导致位置变化, 触发终呼定位过程的相 应处理。根据终呼定位流程, MME向 GMLC报告 UE的位置变化情况。 GMLC向 DRS 服务器报告 UE的位置变化情况。 从而, DRS服务器获得 UE的最新位置信息。 步骤 S2324〜步骤 S2326, 如前述图 21、 22流程, UE发起 D2D终端发现请求, DRS根据 UE的 D2D注册信息、 UE的最新位置信息, 判断临近的 D2D终端, 向 UE 发送 D2D终端发现响应。 对图 23所述的实施例, DRS服务器从 GMLC获得 UE的位置信息。 另外一种利 用 LCS 服务的变型方法是, DRS 服务器还可以直接和服务移动定位中心 (Serving Mobile Location Center,简称为 SMLC)、或增强的服务移动定位中心(Enhanced SMLC, 简称为 E-SMLC) 建立内部接口, 获取 UE的位置信息。 实施例四 在 D2D直连通讯中, 运营商希望对 D2D通讯具有足够的控制能力, 体现在运营 商网络上, 需要能对终端的 D2D接入进行控制, 该接入控制可能基于网络的能力、 终 端的能力、 终端的签约等过程进行。 在本实施例中, 提出了一种方法, 使得终端和网络能相互知道各自支持 D2D的能 力, 从而在终端尝试进行 D2D通讯时进行必要的接入认证控制。 图 24是根据本发明实施例四的网络和终端间交互各自的 D2D通讯支持信息, 并 执行 D2D终端的接入认证的流程示意图, 描述终端和网络交互 D2D通讯支持能力, 并对终端的 D2D 通讯请求进行接入认证的流程示意图, 该流程包括如下步骤 S2402 至步骤 S2408。 步骤 S2402, 终端和网络交互 D2D通讯支持信息。
D2D 通讯支持信息, 包括两个层面的含义: 其一是终端或网络所固有的对 D2D 通讯的实际支持能力, 其二是终端或网络的 D2D 通讯激活指示, 即终端或网络开启 D2D通讯服务的指示。 网络获得终端的 D2D通讯支持信息, 典型的方法是: 终端在向网络发起附着请求 的时候, 指示终端的 D2D通讯支持能力。 如果终端实际具备 D2D通讯支持能力, 但 当前关闭了 D2D通讯支持能力, 则终端在向网络发起请求时, 不携带 D2D通讯支持 能力。 终端获得网络的 D2D通讯支持信息, 可以是: 终端通过无线接入系统的小区广播获得网络对 D2D通讯的支持能力。这里终端所 获得的是网络所固有的对 D2D通讯的实际支持能力; 或者, 终端通过附着过程, 网络在附着响应中指示网络对 D2D通讯的支持信息。 其中, 如果是附着过程中网络向终端指示网络的 D2D通讯支持能力, 可以是网络 所固有的对 D2D通讯的实际支持能力, 也可以是网络的 D2D通讯激活指示。 网络可 以根据本网络对 D2D通讯的实际支持能力、 终端的 D2D通讯支持能力、 终端的签约 数据 (比如是否允许终端进行 D2D通讯), 综合决策后下发 D2D通讯激活指示。 步骤 S2404, 终端根据网络对 D2D通讯的支持信息, 发起 D2D通讯请求。 如果在前述步骤中,如果网络没有向终端下发网络对 D2D通讯的实际支持能力或 D2D通讯激活指示, 则表明网络不支持 D2D通讯或不允许该终端进行 D2D通讯, 则 终端不应该向网络发起 D2D通讯请求。 在本步骤中, D2D通讯请求可以是: D2D注册请求、 D2D终端发现请求、 D2D 连接请求等等。 步骤 S2406, 网络收到终端发起的 D2D通讯请求后, 对终端进行 D2D接入认证。 步骤 S2408, 网络根据 D2D接入认证结果, 处理 D2D通讯请求。 如果 D2D接入 认证失败, 则拒绝终端的 D2D通讯请求, 返回合适的失败原因。 如果 D2D接入认证 成功, 则继续处理终端的 D2D通讯请求。 图 25是根据本发明实施例四的终端通过小区广播获得网络的 D2D通讯支持信息 的流程示意图, 终端通过小区广播获得网络的 D2D支持能力的流程图, 以 EUTRAN 接入为例, 具有如下步骤 S2502至步骤 S2504。 步骤 S2502, 运营商对 eNodeB执行配置, 配置可以通过运营管理系统 (Operator Management System, 简称 OMS) 进行; 根据配置的不同基站的小区广播信息有可能不同。 当 eNodeB支持 D2D通讯时, 运营商可以配置该 eNodeB的能力, 指示其支持 D2D通讯。 步骤 S2504, eNodeB 通过小区广播, 向所有读取该小区广播的终端指示网络的 D2D通讯支持能力。 图 26是根据本发明实施例四的终端通过接收附着响应消息获得网络的 D2D通讯 支持信息的流程示意图, 终端在附着的时候和网络交互 D2D 支持信息的流程图, 以 EUTRAN接入为例, 该流程包括如下步骤 S2602至步骤 S2614。 步骤 S2602, 终端发起附着请求, 其中携带终端的 D2D通讯支持能力。 步骤 S2604, eNodeB将终端附着请求前转给 MME。 步骤 S2606, MME向 HSS发起位置更新请求。 步骤 S2608, HSS向 MME返回位置更新响应。 在 HSS返回的位置更新响应中, 携带终端的签约数据。 在签约数据中, 指明终端 是否签约了 D2D业务。 步骤 S2610, MME根据信息判断应对该 UE返回的 D2D通讯激活指示。 MME可以利用如下信息来综合决策应向 UE返回的 D2D激活通讯指示:
- 网络的 D2D通讯实际支持能力;
- 终端的 D2D通讯支持能力;
- 终端是否签约了 D2D业务; 在利用上述信息时, MME可以采用如下的策略来决策 D2D通讯激活指示: - 仅根据网络的 D2D通讯实际支持能力来决策;
- 根据网络的 D2D通讯实际支持能力、 终端的 D2D通讯支持能力来决策;
- 根据网络和终端的 D2D通讯实际支持能力、终端是否签约了 D2D业务来综合 决策; 步骤 S2612, MME返回附着响应, 其中携带 D2D通讯激活指示; 步骤 S2614, eNodeB将附着响应转发给 UE, 其中携带 D2D通讯激活指示。 至此, UE在获得网络下发的 D2D通讯激活指示后, 如果该 D2D通讯激活指示设 置为激活, 则 UE认为网络允许其进行 D2D通讯业务。 如果该 D2D激活指示设置为 未激活、 或者网络未提供该 D2D通讯激活指示, 则 UE应认为 D2D通讯业务在该网 络下不被允许。 在图 26的流程中, 网络在下发 D2D通讯激活指示给 UE时, 有可能仅考虑网络 的 D2D通讯支持能力, 而没有比较 UE是否签约了 D2D业务。 或者, 虽然网络在下 发 D2D激活指示给 UE时, 综合比较了网络的 D2D通讯支持能力、 UE的 D2D通讯 支持能力、 UE是否签约了 D2D业务, 但是当 UE真实地发起 D2D通讯请求前, UE 的 D2D签约业务可能被取消、 或者 UE的 D2D信用数额已经用完。 在如上情况下, 当 UE真正发起 D2D通讯请求 (如 D2D注册请求、 D2D终端发现请求、 D2D连接请 求) 时, 网络仍然可能需要对 UE的 D2D通讯请求进行接入认证。 图 27、 28即为在 UE发起 D2D通讯请求时, 网络对 UE进行 D2D接入认证的过 程。 图 27是根据本发明实施例四的在终端发起 D2D通讯请求时, 无线接入网络对终 端进行 D2D接入认证的流程示意图, 以 EUTRAN接入为例, UE在发起 D2D通讯请 求时, eNodeB对 UE进行 D2D接入认证的流程图,包括如下步骤 S2702至步骤 S2712。 步骤 S2702, UE向 eNodeB发起 D2D通讯请求。 该 D2D通讯请求可能是: D2D注册请求、 D2D终端发现请求、 D2D连接建立请 求等; 步骤 S2704, eNodeB向 MME请求 UE的 D2D签约信息; 或者, eNodeB向 MME 请求对 UE执行 D2D接入认证。 步骤 S2706,根据步骤 S2704, MME向 eNodeB返回 UE的 D2D签约信息;或者, MME对 UE进行 D2D接入认证, 向 eNodeB返回 D2D接入认证结果。 如果 eNodeB向 MME请求 UE的 D2D签约信息, 则 MME根据 UE的签约数据, 返回 UE的 D2D通讯业务的相关签约信息。 如果 eNodeB向 MME请求对 UE进行 D2D接入认证, 则 MME利用 UE的签约 数据, 对 UE进行 D2D接入认证。 比如: 如果 UE没有签约 D2D通讯业务, 则接入认 证失败。 步骤 S2708, eNodeB根据 MME的返回结果, 对 UE进行 D2D接入认证。 如果前述步骤中, MME已经对 UE执行过 D2D接入认证, 则 eNodeB可直接使 用 MME对 UE的接入认证结果。 步骤 S2710, 如果对 UE的 D2D接入认证不成功, 则返回 D2D通讯失败响应给 UE, 携带合适的原因值; 或者, 如果对 UE的 D2D接入认证成功, 执行 S2712。 步骤 S2712,对 UE的 D2D接入认证成功, eNodeB前转 D2D通讯请求。后续 D2D 通讯处理请求过程根据具体情况处理。 图 28是根据本发明实施例四的在终端发起 D2D通讯请求时, 核心网对终端进行 D2D接入认证的流程示意图, 以 EUTRAN接入为例, UE在发起 D2D通讯请求时, MME对 UE进行 D2D接入认证的流程图, 本质上和图 27所示流程类似, 不同点是: 在图 28所示的流程中, eNodeB不参与 D2D接入认证, D2D接入认证完全由 MME 处理。 实施例五 在本实施例中, 还提供了一种软件, 该软件用于执行上述实施例及优选实施方式 中描述的技术方案。 在另外一个实施例中, 还提供了一种存储介质, 该存储介质中存储有上述软件, 该存储介质包括但不限于: 光盘、 软盘、 硬盘、 可擦写存储器等。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可以用通用 的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多个计算装置所 组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码来实现, 从而, 可以 将它们存储在存储装置中由计算装置来执行, 并且在某些情况下, 可以以不同于此处 的顺序执行所示出或描述的步骤, 或者将它们分别制作成各个集成电路模块, 或者将 它们中的多个模块或步骤制作成单个集成电路模块来实现。 这样, 本发明不限制于任 何特定的硬件和软件结合。 以上仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的技术人 员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的任何 修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。

Claims

权 利 要 求 书
1. 一种终端间通讯 D2D终端的注册方法, 包括:
D2D注册服务器通过网络实体接收 D2D终端发送的 D2D注册请求; 所述 D2D注册服务器执行所述 D2D终端的注册操作。
2. 根据权利要求 1所述的方法, 其中,
所述网络实体为无线基站系统,其中, 当所述 D2D终端向演进的陆地无线 接入网 EUTRAN中的所述无线基站系统发送 D2D注册请求时, 所述无线基站 系统包括: 基站 eNodeB; 当所述 D2D终端向陆地无线接入网 UTRAN中的所 述无线基站系统发送 D2D注册请求时, 所述无线基站系统包括: 基站 NodeB 和无线网络管理器 RNC,所述 D2D注册请求携带在无线资源管理 RRC消息中。
3. 根据权利要求 1所述的方法, 其中,
所述网络实体为核心网移动性管理网元, 其中, 当所述 D2D 终端向 EUTRAN中的无线基站系统发送 D2D注册请求时, 所述核心网移动性管理网 元包括: 移动性管理实体 MME, 当所述 D2D终端向 UTRAN中的所述无线基 站系统发送 D2D 注册请求时, 所述核心网移动性管理网元包括: 服务 GPRS 支持节点 SGSN, 所述 D2D注册请求携带在非接入层 NAS消息中。
4. 根据权利要求 1所述的方法, 其中, 所述 D2D注册服务器通过网络实体接收 D2D终端发送的 D2D注册请求包括:
当所述网络实体将所述 D2D注册请求发送给所述 D2D注册服务器时, 所 述网络实体将所述 D2D终端的接入信息携带在所述 D2D注册请求中发送给所 述 D2D注册服务器, 其中, 所述 D2D终端的接入信息包括: 所述 D2D终端的 接入标识和所述 D2D终端的位置信息。
5. 根据权利要求 1至 4中任一项所述的方法,其中,所述 D2D注册请求包括以下 之一: 所述 D2D终端的应用层标识; 所述 D2D终端的应用层标识和所述 D2D 终端的服务类型。
6. 根据权利要求 1至 4中任一项所述的方法,其中,在所述 D2D注册服务器执行 所述 D2D终端的注册操作之后, 还包括: 在所述 D2D终端注册成功的情况下, 所述 D2D终端进入 D2D通讯模式, 其中,所述 D2D通讯模式为所述 D2D终端开启 D2D通讯服务,并进入连接态; 在所述 D2D终端注册失败或去注册成功的情况下, 所述 D2D终端释放为 D2D通讯模式所准备的资源。
7. 根据权利要求 6所述的方法,其中,在所述 D2D终端注册失败或去注册成功之 后, 还包括: 所述 D2D终端进入空闲态。
8. 根据权利要求 1至 4中任一项所述的方法,其中,在 D2D注册服务器通过网络 实体接收 D2D终端发送的 D2D注册请求之后, 还包括:
如果所述 D2D终端在所述 D2D注册服务器上的注册成功时,所述 D2D注 册服务器存储所述 D2D终端的注册上下文,其中,所述注册上下文包括以下之 一: 所述 D2D终端的接入层信息; 所述 D2D终端的接入层信息和所述 D2D终 端的应用层信息。
9. 一种终端间通讯 D2D终端的发现方法, 包括:
D2D注册服务器接收通过网络实体转发的由 D2D终端发送的 D2D终端发 现请求;
所述 D2D注册服务器根据所述 D2D终端发现请求确定临近的 D2D终端, 并将所述临近的 D2D终端的信息返回给所述 D2D终端。
10. 根据权利要求 9所述的方法, 其中, 所述 D2D注册服务器根据所述 D2D终端 发现请求确定临近的终端, 并将所述临近的 D2D终端的信息返回给所述 D2D 终端包括:
所述 D2D注册服务器根据所述 D2D终端发现请求获取发起该 D2D终端发 现请求的 D2D终端的注册上下文;
所述 D2D 注册服务器根据所述 D2D 终端的注册上下文确定所述临近的 D2D终端, 并将所述临近的 D2D终端的信息返回给所述 D2D终端。
11. 根据权利要求 10所述的方法, 其中, 所述 D2D注册服务器根据所述 D2D终端 的注册上下文确定所述临近的 D2D终端, 并将所述临近的 D2D终端的信息返 回给所述 D2D终端包括:
当所述 D2D终端发现请求中携带有预设的 D2D服务类型或 D2D应用层标 识时, 所述 D2D注册服务器根据信息组确定所述现临近的 D2D终端, 并将所 述临近的的 D2D的信息返回给所述 D2D终端, 其中, 所述信息组包括以下之 一: 所述 D2D终端的注册上下文和所述预设的 D2D服务类型; 所述 D2D终端 的注册上下文和所述 D2D应用层标识。
12. 根据权利要求 9至 11中任一项所述的方法, 其中, 在 D2D注册服务器接收通 过网络实体转发的由 D2D终端发送的 D2D终端发现请求之前, 还包括:
所述 D2D终端向所述网络实体发送 D2D注册请求。
13. 根据权利要求 12所述的方法, 其中, 在所述 D2D终端注册成功之后, 还包括: 所述 D2D注册服务器存储所述 D2D终端的注册上下文, 其中, 所述注册 上下文包括以下之一: 所述 D2D终端的接入层信息; 所述 D2D终端的接入层 信息和所述 D2D终端的应用层信息。
14. 根据权利要求 13所述的方法, 其中, 在所述 D2D注册服务器存储所述 D2D终 端的注册上下文之后, 还包括:
在所述 D2D注册服务器向该 D2D终端注册的网络查询或订阅所述 D2D终 端的位置信息后, 在所述 D2D终端的位置发生变化的情况下, 所述 D2D注册 服务器更新所述 D2D终端的接入层信息中的位置信息为所述 D2D终端的变化 后的位置信息。
15. 根据权利要求 14所述的方法,其中,所述 D2D终端注册的网络包括以下之一: 无线基站系统、 核心网移动性管理网元、 服务移动定位中心 SMLC/增强的服务 移动定位中心 E-SMLC、 网关移动定位中心 GMLC。
16. 根据权利要求 9至 11中任一项所述的方法, 其中,
所述网络实体为无线基站系统, 其中, 当所述 D2D终端向 EUTRAN中的 无线基站系统发送所述 D2D 终端发现请求时, 所述无线基站系统包括: 基站 eNodeB; 当所述 D2D终端向 UTRAN中的无线基站系统发送所述 D2D终端发 现请求时, 所述无线基站系统包括: 基站 NodeB和 RNC, 所述 D2D终端发现 请求携带在无线资源管理 RRC消息中。
17. 根据权利要求 9至 11中任一项所述的方法, 其中, 所述网络实体为核心网移动性管理网元, 其中, 当所述 D2D 终端向 EUTRAN中的核心网移动性管理网元发送 D2D终端发现请求时, 所述核心网 移动性管理网元包括: MME; 当所述 D2D终端向 UTRAN中的核心网移动性 管理网元发送 D2D终端发现请求时,所述核心网移动性管理网元包括: SGSN, 所述 D2D终端发现请求携带在 NAS消息中。
18. 一种终端的接入方法, 包括:
终端待接入的网络获取该终端支持 D2D通讯的信息;
在所述网络支持所述 D2D通讯时, 所述网络接收所述终端发送的 D2D通 讯请求;
所述网络根据所述 D2D通讯请求对所述终端进行 D2D接入认证。
19. 根据权利要求 18所述的方法, 其中, 终端待接入的网络获取该终端支持 D2D 通讯的信息包括:
所述终端待接入的网络接收该终端发送的携带有该终端支持 D2D 通讯的 信息的附着请求。
20. 根据权利要求 18或 19所述的方法, 其中: 所述网络为移动性管理网元, 其中, 当所述终端向 EUTRAN 中的移动性 管理网元发送 D2D通讯请求时, 所述移动性管理网元包括: MME; 当所述终 端向 UTRAN中的移动性管理网元发送 D2D通讯请求时,所述移动性管理网元 包括: SGSN。
21. 根据权利要求 18或 19所述的方法,其中,所述网络根据所述 D2D通讯请求对 所述终端进行 D2D接入认证包括:
所述网络中的无线基站系统接收到所述 D2D通讯请求,并向移动性管理网 元发起用于获得所述终端的 D2D签约信息的请求;
所述无线基站系统根据所述终端的 D2D签约信息对所述终端进行 D2D接 入认证, 其中, 当所述终端向 EUTRAN中的无线基站系统发送 D2D通讯请求 时, 所述无线基站系统包括: 基站 eNodeB, 所述移动性管理网元包括: MME; 当所述终端向 UTRAN中的无线基站系统发送 D2D通讯请求时,所述无线基站 系统包括: RNC, 所述移动性管理网元包括: SGSN。
22. 根据权利要求 18或 19所述的方法,其中,所述网络根据所述 D2D通讯请求对 所述终端进行 D2D接入认证包括:
所述网络中的无线基站系统接收到所述 D2D通讯请求,并向移动性管理网 元发起对所述 D2D终端进行认证的请求; 所述无线基站系统采用所述移动性管理网元对所述 D2D 终端进行认证的 结果。
23. 一种终端的接入方法, 包括:
终端获取该终端待接入的网络支持 D2D通讯的信息;
在所述网络支持所述 D2D通讯时, 所述终端向所述网络发送 D2D通讯请 求, 其中, 所述 D2D通讯请求用于触发所述网络对所述终端进行 D2D接入认 证。
24. 根据权利要求 23 所述的方法, 其中, 所述终端获取该终端待接入的网络支持 D2D通讯的信息包括:
所述终端通过以下方式之一获得所述网络支持 D2D通讯的信息: 所述终端通过接收小区广播消息获取所述网络支持 D2D通讯的信息; 所述终端通过接收附着响应消息获取所述网络支持 D2D通讯的信息。
25. 根据权利要求 24所述的方法,其中,在所述终端通过接收附着响应消息获取所 述网络支持 D2D通讯的信息包括:
所述网络根据以下信息判断 D2D通讯激活指示,在所述附着响应消息中携 带所述 D2D通讯激活指示时, 所述终端通过所述 D2D通讯激活指示获得所述 网络支持 D2D通讯的信息, 否则, 所述终端获得所述网络不支持 D2D通讯的 信息, 其中, 判断信息包括以下之一: 所述终端的 D2D通讯支持能力和所述网 络的 D2D通讯支持能力; 所述终端的 D2D通讯支持能力、所述网络的 D2D通 讯支持能力和所述终端的 D2D业务签约情况。
26. 一种终端间通讯 D2D终端的注册装置, 该装置应用于 D2D注册服务器, 包括: 第一接收模块,设置为通过网络实体接收 D2D终端发送的 D2D注册请求; 执行模块, 设置为执行所述 D2D终端的注册操作。
27. 根据权利要求 26所述的装置, 其中, 所述接收模块还设置为, 接收携带有所述 网络实体添加的所述 D2D终端的接入信息的 D2D注册请求, 其中, 所述 D2D 终端的接入信息包括:所述 D2D终端的接入标识和所述 D2D终端的位置信息。
28. 根据权利要求 26或 27所述的装置, 其中, 还包括: 存储模块, 设置为当所述 D2D终端在所述 D2D注册服务器上的注册成功时, 存储所述 D2D终端的注册 上下文, 其中, 所述注册上下文包括以下之一: 所述 D2D终端的接入层信息; 所述 D2D终端的接入层信息和所述 D2D终端的应用层信息。
29. 一种终端间通讯 D2D终端的发现装置, 该装置应用于 D2D注册服务器, 包括: 第一接收模块, 设置为接收通过网络实体转发的由 D2D终端发送的 D2D 终端发现请求;
确定模块, 设置为根据所述 D2D终端发现请求确定临近的 D2D终端, 并 将所述临近的 D2D终端的信息返回给所述 D2D终端, 其中, 所述临近的 D2D 终端是能够与所述 D2D终端进行通信的 D2D终端。
30. 根据权利要求 29所述的装置, 其中, 所述确定模块包括:
获取单元, 设置为根据所述 D2D终端发现请求获取发起该 D2D终端发现 请求的 D2D终端的注册上下文;
确定单元, 设置为根据所述 D2D终端的注册上下文确定所述临近的 D2D 终端, 并将所述临近的 D2D终端的信息返回给所述 D2D终端。
31. 根据权利要求 30所述的装置, 其中, 所述确定单元, 还设置为当所述 D2D终 端发现请求中携带有预设的 D2D服务类型或 D2D应用层标识时, 根据信息组 确定所述现临近的 D2D终端, 并将所述临近的的 D2D的信息返回给所述 D2D 终端, 其中, 所述信息组包括以下之一: 所述 D2D终端的注册上下文和所述预 设的 D2D服务类型; 所述 D2D终端的注册上下文和所述 D2D应用层标识。
32. 根据权利要求 29至 31中任一项所述的装置, 其中, 还包括:
第二接收模块,设置为在 D2D注册服务器接收通过网络实体转发的由 D2D 终端发送的 D2D终端发现请求之前, 通过所述网络实体接收所述 D2D终端发 送的 D2D注册请求。
33. 根据权利要求 32所述的装置, 其中, 还包括:
存储模块, 设置为在所述 D2D终端注册成功之后, 存储所述 D2D终端的 注册上下文, 其中, 所述注册上下文包括以下之一: 所述 D2D终端的接入层信 息; 所述 D2D终端的接入层信息和所述 D2D终端的应用层信息。
34. 根据权利要求 33所述的装置, 其中, 还包括:
更新模块, 设置为在所述 D2D注册服务器向该 D2D终端注册的网络查询 或订阅所述 D2D终端的位置信息后, 在所述 D2D终端的位置发生变化的情况 下, 所述 D2D注册服务器更新所述 D2D终端的接入层信息中的位置信息为所 述 D2D终端的变化后的位置信息。
35. 一种终端的接入装置, 该装置应用于网络, 包括:
获取模块, 设置为获取待注册到所述网络的终端支持 D2D通讯的信息; 接收模块,设置为在所述网络支持所述 D2D通讯时,接收所述终端发送的 D2D通讯请求;
接入认证模块, 设置为根据所述 D2D通讯请求对所述终端进行 D2D接入 认证。
36. 根据权利要求 35所述的装置, 其中, 所述获取模块, 还设置为接收所述终端发 送的携带有该终端支持 D2D通讯的信息的附着请求。
37. 一种终端的接入装置, 该装置应用于终端, 包括:
获取模块, 设置为获取该终端待接入的网络支持 D2D通讯的信息; 第一发送模块,设置为在所述终端支持所述 D2D通讯时, 向所述网络发送 D2D通讯请求, 其中, 所述 D2D通讯请求用于触发所述网络对所述终端进行 D2D接入认证。
38. 根据权利要求 37所述的装置, 其中, 所述获取模块包括: 第一获取单元,设置为通过接收小区广播消息获取所述网络支持 D2D通讯 的信息;
第二获取单元,设置为通过接收附着响应消息获取所述网络支持 D2D通讯 的信息。
39. 根据权利要求 38所述的装置, 其中, 所述第二获取单元, 还设置为所述网络根 据以下信息判断 D2D通讯激活指示, 在所述附着响应消息中携带所述 D2D通 讯激活指示时, 通过所述 D2D通讯激活指示获得所述网络支持 D2D通讯的信 息, 否则, 所述终端获得所述网络不支持 D2D通讯的信息, 其中, 判断信息包 括以下之一:所述终端的 D2D通讯支持能力和所述网络的 D2D通讯支持能力; 所述终端的 D2D通讯支持能力、 所述网络的 D2D通讯支持能力和所述终端的 D2D业务签约情况。
40. 一种终端的接入系统, 包括: 根据权利要求 35或 36所述的终端接入装置和根 据权利要求 37至 39中任一项所述的终端接入装置。
41. 一种终端发现方法, 包括:
终端向基站发送 D2D注册请求, 其中, 所述 D2D注册请求用于触发所述 基站通过移动管理实体 MME向 DRS转发前转 D2D注册消息;
所述终端接收所述基站反馈的对应于所述 D2D注册请求的响应,其中,所 述响应是所述 DRS通过所述 MME向所述基站发送的;
所述终端向所述基站发送 D2D发现请求,所述发现请求用于触发所述基站 通过所述 MME向所述 DRS转发前转 D2D发现请求;
所述终端接收所述基站转发的对应于所述 D2D发现请求的 D2D发现响应。
42. 一种终端发现装置, 应用于终端, 包括:
第二发送模块, 用于向基站发送 D2D注册请求, 其中, 所述 D2D注册请 求用于触发所述基站通过移动管理实体 MME向 DRS转发前转 D2D注册消息; 第二接收模块, 用于接收所述基站反馈的对应于所述 D2D 注册请求的响 应, 其中, 所述响应是所述 DRS通过所述 MME向所述基站发送的;
第三发送模块,用于向所述基站发送 D2D发现请求,所述发现请求用于触 发所述基站通过所述 MME向所述 DRS转发前转 D2D发现请求;
第三接收模块,用于接收所述基站转发的对应于所述 D2D发现请求的 D2D 发现响应。
PCT/CN2013/075400 2012-05-14 2013-05-09 终端间通讯终端的注册、发现、接入方法、装置及系统、终端发现方法及装置 WO2013170723A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210148518.0 2012-05-14
CN2012101485180A CN103428847A (zh) 2012-05-14 2012-05-14 终端间通讯终端的注册、发现、接入方法、装置及系统

Publications (1)

Publication Number Publication Date
WO2013170723A1 true WO2013170723A1 (zh) 2013-11-21

Family

ID=49583124

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/075400 WO2013170723A1 (zh) 2012-05-14 2013-05-09 终端间通讯终端的注册、发现、接入方法、装置及系统、终端发现方法及装置

Country Status (2)

Country Link
CN (2) CN103428847A (zh)
WO (1) WO2013170723A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020073161A1 (en) * 2018-10-08 2020-04-16 Nokia Shanghai Bell Co., Ltd. Communication system

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104780520B (zh) * 2014-01-10 2018-06-19 华为终端(东莞)有限公司 终端注册方法及装置
CN105612774B (zh) * 2014-03-06 2019-06-11 华为技术有限公司 近距离业务的控制方法、装置及系统
WO2016029457A1 (zh) * 2014-08-29 2016-03-03 酷派软件技术(深圳)有限公司 用于d2d通信的注册处理方法、处理系统和服务器
KR102377440B1 (ko) * 2014-09-26 2022-03-23 선 페이턴트 트러스트 디바이스 투 디바이스(d2d) 통신에 대한 개선된 자원 할당
CN106559732A (zh) * 2015-09-25 2017-04-05 中兴通讯股份有限公司 车联网通信处理方法和装置

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026459A (zh) * 2006-02-17 2007-08-29 联想(北京)有限公司 通过地理位置信息寻找服务的终端、系统以及方法
CN101772199A (zh) * 2008-11-24 2010-07-07 华为终端有限公司 一种d2d网络建立的方法和装置
CN102132625A (zh) * 2008-07-14 2011-07-20 诺基亚公司 移动终端到媒体服务器连接的装置、系统与方法
CN102172093A (zh) * 2008-08-15 2011-08-31 诺基亚公司 获取针对设备到设备连接的本地连接性设置
US20110258327A1 (en) * 2010-04-20 2011-10-20 Nokia Corporation D2D Communications Considering Different Network Operators
CN103096503A (zh) * 2011-11-04 2013-05-08 华为技术有限公司 通信匹配方法、用户设备和基站
CN103096502A (zh) * 2011-11-03 2013-05-08 华为技术有限公司 建立设备到设备连接的方法、装置和系统
CN103096290A (zh) * 2011-11-03 2013-05-08 华为技术有限公司 建立设备到设备连接的方法、装置和系统

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100469748B1 (ko) * 2002-12-24 2005-02-02 삼성전자주식회사 고속 데이터 전송을 위한 이동통신 시스템의 화상 통화서비스 제공 방법
JP2010146452A (ja) * 2008-12-22 2010-07-01 Nec Corp メンバー登録方法、コミュニティサービスシステム、携帯端末、及びメンバー招待処理プログラム
US8977276B2 (en) * 2010-07-15 2015-03-10 Nokia Corporation Method and apparatus for device initiated offloading to unlicensed bands

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026459A (zh) * 2006-02-17 2007-08-29 联想(北京)有限公司 通过地理位置信息寻找服务的终端、系统以及方法
CN102132625A (zh) * 2008-07-14 2011-07-20 诺基亚公司 移动终端到媒体服务器连接的装置、系统与方法
CN102172093A (zh) * 2008-08-15 2011-08-31 诺基亚公司 获取针对设备到设备连接的本地连接性设置
CN101772199A (zh) * 2008-11-24 2010-07-07 华为终端有限公司 一种d2d网络建立的方法和装置
US20110258327A1 (en) * 2010-04-20 2011-10-20 Nokia Corporation D2D Communications Considering Different Network Operators
CN103096502A (zh) * 2011-11-03 2013-05-08 华为技术有限公司 建立设备到设备连接的方法、装置和系统
CN103096290A (zh) * 2011-11-03 2013-05-08 华为技术有限公司 建立设备到设备连接的方法、装置和系统
CN103096503A (zh) * 2011-11-04 2013-05-08 华为技术有限公司 通信匹配方法、用户设备和基站

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020073161A1 (en) * 2018-10-08 2020-04-16 Nokia Shanghai Bell Co., Ltd. Communication system
CN112806038A (zh) * 2018-10-08 2021-05-14 上海诺基亚贝尔股份有限公司 通信系统
CN112806038B (zh) * 2018-10-08 2023-05-09 上海诺基亚贝尔股份有限公司 通信系统
US11729599B2 (en) 2018-10-08 2023-08-15 Nokia Technologies Oy Communication system

Also Published As

Publication number Publication date
CN108055705A (zh) 2018-05-18
CN108055705B (zh) 2022-08-02
CN103428847A (zh) 2013-12-04

Similar Documents

Publication Publication Date Title
JP7366356B2 (ja) ワイヤレスネットワークによるワイヤレスデバイスのページング
RU2728538C1 (ru) Способ для выполнения связанной с регистрацией amf процедуры посредством udm в системе беспроводной связи и устройство для этого
US20220248318A1 (en) Control of Network Slice
US9456410B2 (en) Method for supporting PDN GW selection
US11706705B2 (en) Multimedia priority service
JP2017530650A (ja) 制限されたダイレクトディスカバリのための方法
WO2011097911A1 (zh) 策略和计费规则功能实体的选择方法、装置及系统
US20210385283A1 (en) Multimedia Priority Service
WO2013170723A1 (zh) 终端间通讯终端的注册、发现、接入方法、装置及系统、终端发现方法及装置
US9125053B2 (en) Communication system, connection control apparatus, mobile terminal, base station control method, service request method, and program
WO2007147345A1 (fr) Procédé de sélection d'entité plan utilisateur du côté réseau et d'entité plan contrôle
US20230199632A1 (en) Access to Second Network
WO2022027492A1 (zh) 一种通信方法、设备及系统
US20230022005A1 (en) Location Management
US20230189192A1 (en) Access to Second Network by Wireless Device
WO2010088835A1 (zh) 实现本地交换的方法及系统
TW201804861A (zh) 在d2d網路上切換式網路伺服器註冊憑證
WO2014169786A1 (zh) 一种用户设备间的发现方法、系统及装置
US20230007556A1 (en) Handover
KR20200017529A (ko) 근접성 서비스를 위한 모바일 네트워크의 우선순위화
WO2014008806A1 (zh) 无线局域网邻居用户设备的确定方法及装置
WO2011097989A1 (zh) 一种本地访问寻呼优化方法及装置
WO2014056449A1 (zh) 设备到设备通信的管理和校验方法、装置及系统
WO2014180277A1 (zh) 终端ue的接入网信息处理方法、装置及pcrf
EP3213541B1 (en) Radius/diameter authentication based gx policy management triggered by user location change

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

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

Country of ref document: EP

Kind code of ref document: A1