WO2014146474A1 - 终端注册方法、终端发现方法、终端及装置 - Google Patents

终端注册方法、终端发现方法、终端及装置 Download PDF

Info

Publication number
WO2014146474A1
WO2014146474A1 PCT/CN2013/091162 CN2013091162W WO2014146474A1 WO 2014146474 A1 WO2014146474 A1 WO 2014146474A1 CN 2013091162 W CN2013091162 W CN 2013091162W WO 2014146474 A1 WO2014146474 A1 WO 2014146474A1
Authority
WO
WIPO (PCT)
Prior art keywords
prose
terminal
service module
discovery
application
Prior art date
Application number
PCT/CN2013/091162
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 中兴通讯股份有限公司
Priority to US14/768,309 priority Critical patent/US20160007185A1/en
Priority to EP13878648.8A priority patent/EP2978247A4/en
Publication of WO2014146474A1 publication Critical patent/WO2014146474A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/02Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
    • H04W8/06Registration at serving network Location Register, VLR or user mobility server
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals

Definitions

  • the present invention relates to the field of communications, and in particular to a terminal registration method, a terminal discovery method, a service device, a base station, an application server, and a terminal.
  • BACKGROUND OF THE INVENTION Direct communication between terminals in a neighboring area using Device to Device (D2D for short) can provide more benefits to the terminal.
  • the D2D-related topic in the 3rd Generation Partnership Project (3GPP) is called Proximity-based Services (ProSe), and is mainly studied in Long Term Evolution (Long Term Evolution, How to implement D2D services under the framework of LTE and Evolved Packet Core (EPC).
  • FIG. 1 is a schematic diagram of a network system framework according to the related art.
  • FIG. 1 shows a typical 3GPP architecture.
  • the network elements involved in the figure are as follows: Terminal: Also called User Equipment (UE) Through the wireless access to the base station, the terminal and the mobility management unit of the core network communicate with each other through the interface.
  • Base station In the evolved system, it is also called an eNodeB (Evolved NodeB). It provides radio resources for terminal access and interworking with the mobility management unit of the core network.
  • a Mobility Management Element (MME) is a control plane entity of a visited place.
  • MME Mobility Management Element
  • a server that temporarily stores user data, responsible for managing and storing UE contexts (eg, UE/user identity, mobility context, user security parameters). And bearer context, etc.), to authenticate the terminal.
  • 3GPP defines the concept of a mobility management unit pool. All MMEs in the pool are interconnected with all base stations.
  • the mobility management unit allocates a Globally Unique Temporary Identity (GUTI) to the user.
  • the GUTI may include: a network identifier, a pool identifier, a mobility management unit identifier, and a user identifier.
  • the MME that allocates the GUTI can be uniquely determined by the GUTI.
  • the home server located in the home network, is mainly used to provide subscription information and authentication.
  • the user accesses the mobility management unit from the visited location, it needs to obtain authentication information from the home server and authenticate the terminal. If the certificate is successful, the contract information will continue to be obtained from the home server.
  • the home server also checks if the user is allowed to roam to the visited network mobility management unit.
  • it is not proposed how to perform ProSe related processing under the existing network architecture before ProSe communication is established.
  • Embodiments of the present invention provide a terminal registration method, a terminal discovery method, a service device, a base station, an application server, and a terminal, to at least solve one of the above problems.
  • a terminal registration method including: receiving, by a ProSe service module, a message sent by a terminal for performing ProSe registration, where the message carries the terminal Application information, the application information includes information for identifying an application; the ProSe service module allocates a proximity service identifier ProSe ID, and sends the ProSe ID to the terminal.
  • the ProSe service module is an MME supporting a ProSe service in a mobility management unit MME pool.
  • the method further includes: receiving, by the base station, a non-access stratum NAS message sent by the terminal, where the base station is Obtaining, in the RRC process, that the NAS message is a message for performing ProSe registration; the base station selects a ProSe service module, and sends the ProSe service module to the ProSe service module by using an interface with the selected ProSe service module.
  • the NAS message Preferably, before the ProSe service module receives the message sent by the terminal for performing ProSe registration, the method further includes: the terminal acquiring the application information from an application server.
  • the acquiring, by the terminal, the application information from the application server includes: when the application is started, the terminal sends a registration message to the application server, where the registration message carries an application User identifier; the terminal receives the application information that is sent by the application server after accepting the terminal registration.
  • the method further includes: the terminal acquiring information indicating whether the mobility management unit pool supports the ProSe service.
  • the obtaining, by the terminal, the information about whether the mobility management unit pool supports the ProSe service comprises: receiving, by the terminal, a registration response message or a tracking area update message sent by the mobility management unit, where The registration response message or the tracking area update message carries a flag indicating whether the mobile management unit pool supports
  • the ProSe service module assigns the ProSe ID to: the ProSe service module determines, according to information used to identify the application, whether an operator allows the application to use a ProSe service; in a case where the determination result is yes, The ProSe service module allocates the ProSe ID.
  • the method further includes: the application server acquiring the ProSe ID, and acquiring the ProSe ID and the obtained terminal Apply the user ID to associate and save.
  • the ProSe ID comprises at least one of the following: a network identifier, a mobility management unit pool identifier, an identifier that uniquely identifies a ProSe service module in a mobility management unit pool, an identifier of a unique identifier user in a ProSe service module, and a user.
  • the ProSe ID further includes: identifier information used to indicate whether a discovery resource has been allocated to the terminal of the ProSe ID.
  • a terminal discovery method including: receiving a message that a source terminal requests to discover a destination terminal, where the message carries a proximity service identifier ProSe ID of the destination terminal And indicating that the first base station to which the source terminal belongs and/or the second base station to which the destination terminal belongs allocates a discovery resource or configures an already allocated discovery resource, where the discovery resource is used to enable the source terminal and the One of the destination terminals discovers the other party.
  • the receiving the message, indicating that the first base station and/or the second base station allocates or configuring the discovery resource comprises: receiving, by the first ProSe service module corresponding to the source terminal, the message; The first ProSe service module instructs the first base station to allocate or configure the discovery resource, where the discovery resource is used to enable the destination terminal to discover the source terminal.
  • the method further includes: the first ProSe service module, the ProSe ID of the destination terminal, and the The discovery resource is sent to the second ProSe service module corresponding to the destination terminal; the second ProSe service module instructs the second base station to allocate the discovery resource to the destination terminal, where the discovery resource is used to enable The destination terminal discovers the source terminal.
  • the receiving the message, indicating that the first base station and/or the second base station allocates or configuring the discovery resource comprises: receiving, by the second ProSe service module corresponding to the destination terminal, the message; second The ProSe service module instructs the second base station to allocate or configure the discovery resource, where the discovery resource is used to enable the source terminal to discover the destination terminal.
  • the method further includes: the second ProSe service module corresponding to the source terminal The first ProSe service module sends the discovery resource; the first ProSe service module instructs the first base station to allocate the discovery resource to the source terminal, where the discovery resource is used to discover the source terminal The destination terminal.
  • the method further includes: determining, according to a format of the ProSe ID, whether the discovery resource has been allocated to the terminal.
  • the method further includes: discovering one of the source terminal and the destination terminal After that, the other party is notified by its corresponding ProSe service module.
  • the one of the source terminal and the destination terminal discovering the other party includes: one of the source terminal and the destination terminal discovering a discovery signal sent by the other party on the discovery resource to discover the other party.
  • the discovery signal includes at least one of: a pilot signal allocated by the base station to the terminal, a ProSe ID of the source terminal, and a ProSe ID of the destination terminal.
  • a terminal discovery method including: receiving, by a ProSe service module, a message sent by a source terminal, where the message carries application information, where the message is used for requesting And discovering, by the ProSe service module, the ProSe ID of the one or more terminals adjacent to the source terminal according to the application information; the ProSe service module A ProSe ID of one or more terminals is sent to the source terminal.
  • the ProSe service module acquires the ProSe ID of the one or more terminals that are adjacent to the source terminal according to the application information, and the ProSe service module acquires an application corresponding to the application information according to the application information. And the ProSe service module acquires one or more adjacent to the source terminal according to at least one of a latest access cell, a tracking area, and a location area of the terminal corresponding to the ProSe ID associated with the application.
  • the ProSe ID of the terminal Preferably, the ProSe service module acquires, according to the application information, a ProSe ID of one or more terminals that are adjacent to the source terminal, where the ProSe service module indicates that the base station to which the source terminal belongs is allocated to the source terminal.
  • the ProSe service module transmitting the discovery resources to the one or more terminals And the one or more base stations, and the one or more base stations configure the discovery resource to the one or more terminals, where the discovery resource is used to enable the one or more terminals to discover Deriving a discovery signal of the source terminal; the ProSe service module acquires a ProSe ID of one or more terminals adjacent to the source terminal by reporting the one or more terminals of the discovery signal.
  • the method further includes: the source terminal sending the ProSe ID of the one or more terminals Give the application server.
  • a terminal discovery method including: receiving, by a ProSe service module, a discovery resource allocation request sent by a source terminal; the ProSe service module instructing a base station to which the source terminal belongs Allocating a discovery resource to the source terminal, where the discovery resource is used to enable other terminals to discover the source terminal.
  • the method further includes: the ProSe service module assigning a new ProSe ID to the source terminal, where the new ProSe includes: information for identifying that a discovery resource has been allocated to the source terminal; The ProSe service module sends the new ProSe ID to the source terminal.
  • the method further includes: receiving, by the ProSe service module corresponding to the other terminal, a request message sent by the other terminal, where the request message is used to request whether the new ProSe ID is in a neighboring area of the other terminal;
  • the ProSe service module corresponding to the other terminal determines that the discovery resource has been allocated to the source terminal according to the new ProSe ID;
  • the ProSe service module corresponding to the other terminal indicates that the base station to which the other terminal belongs to the discovery Resources are allocated to the other terminals.
  • the method further includes: the other terminal acquiring the new ProSe ID from the application server.
  • the other terminal discovering the source terminal includes: discovering, by the other terminal, a discovery signal sent by the source terminal on the discovery resource, to discover the source terminal.
  • the discovery signal includes at least one of: a pilot signal allocated by the base station to the terminal, and a ProSe ID of the source terminal.
  • a service apparatus including: a registration module, configured to accept registration of a terminal, assign a ProSe ID based on a proximity service identifier to the terminal, and associate application information of the terminal with The ProSe ID, where the application information includes information identifying an application; a discovery module, The method is configured to instruct the base station to allocate a discovery resource to the terminal, and send the discovery result; where the discovery resource is used for discovery between the terminals.
  • the discovery module is further configured to save the discovery resource and return the discovery resource upon receiving the request.
  • the registration module is further configured to check a digital signature of the application information provided by the terminal.
  • the registration module is further configured to verify whether the application corresponding to the application information allows ProSe services.
  • the discovery result includes: a ProSe ID list associated with the application information, where the ProSe
  • the ID list is determined based on the location information of the terminal.
  • the service device is a mobility management unit MME supporting ProSe services.
  • an application server including: a registration module, configured to return application information when registering at a terminal, where the application information includes information identifying an application; a saving module, setting And the corresponding user relationship identifier and the ProSe ID are returned according to the request of the terminal, and the application user identifier and the ProSe ID are returned according to the request of the terminal.
  • the application information further includes: a digital signature.
  • a base station including: an allocating module, configured to receive an indication from a Pro-Service-based ProSe service module, and allocate the information as a terminal discovery resource, where the indication is used to indicate the base station Allocating discovery resources, wherein the discovery resources are used for discovery between terminals; and/or, the configuration module is configured to be configured to receive the discovery resources from the ProSe service module, and configured to the terminal.
  • the discovery resource is used for sending a discovery signal, wherein the terminal is discovered by discovering the discovery signal.
  • the discovery signal includes at least one of: a pilot signal allocated by the base station to the terminal, and a ProSe ID of the terminal.
  • the method further includes: a sending module, configured to receive a message for performing ProSe registration from the terminal during the RRC process, select a ProSe service module, and forward the message set to perform ProSe registration to the selected ProSe service.
  • a terminal including: a registration module, configured to register with a proximity-based ProSe service module according to application information, where the application information includes information identifying an application; And a saving module, configured to save the ProSe ID based on the Proximate Service Identity assigned by the ProSe service module.
  • the method further includes: an obtaining module, configured to acquire at least one of the following from the application server: a ProSe ID corresponding to the target terminal, and an application user identifier corresponding to the destination terminal.
  • the method further includes: a sending module, configured to send the ProSe ID to the application server.
  • the ProSe service module is provided, and the support for the ProSe service implementation is provided in the network architecture.
  • FIG. 3 is a structural block diagram of an application server according to an embodiment of the present invention
  • FIG. 5 is a structural block diagram of a terminal according to an embodiment of the present invention
  • FIG. 6 is a schematic diagram of a network architecture according to an embodiment of the present invention
  • FIG. 7 is a terminal registration according to an embodiment of the present invention
  • FIG. 8 is a flowchart 1 of a terminal discovery method according to an embodiment of the present invention
  • FIG. 9 is a flowchart 2 of a terminal discovery method according to an embodiment of the present invention
  • FIG. 10 is a terminal discovery according to an embodiment of the present invention.
  • FIG. 11 is a schematic flowchart of a registration process of a terminal in a ProSe server according to an embodiment of the present invention
  • FIG. 11 is a schematic flowchart of a registration process of a terminal in a ProSe server according to an embodiment of the present invention
  • FIG. 11 is a schematic flowchart of a registration process of a terminal in a ProS
  • FIG. 12 is a schematic flowchart of a terminal 1 wishing to discover whether a terminal 2 is in a proximity range according to an embodiment of the present invention
  • FIG. 13 is a schematic flowchart of a terminal 1 wishing to discover all adjacent user identifiers related to the application according to an embodiment of the present invention
  • FIG. 14 is a schematic diagram of a process in which the terminal 1 actively requests to send resources according to an embodiment of the present invention, and the terminal 2 finds that the terminal 1 is in a proximity range.
  • the discovery of the ProSe terminal is associated with an application, that is, when the terminal is discovered, the terminal running the same application can be found.
  • the terminals of different applications may be very close in distance, since they do not have the same application, they may not be found each other. Of course, it can be realized if it is necessary to find the method in the following implementation.
  • the ProSe identity mentioned in the following embodiments may be corresponding to an application on the terminal.
  • resources for terminal discovery are used as discovery resources, and some of the following embodiments relate to network control discovery resource allocation in the case of wireless network coverage.
  • a setting related to a black and white list that may be allowed to be discovered at the application layer is also set.
  • the EPC architecture is taken as an example, but is not limited thereto.
  • a new architecture, a ProSe identity allocation method of the terminal, and terminal discovery are proposed. Based on the architecture and the ProSe identifier, the ProSe discovery problem controlled by the network can be implemented. This architecture minimizes the impact on the EPC network.
  • a service device is provided, and the function implemented by the service device is relative to the existing one.
  • the service device may exist as a separate server and be connected to the MME; or may be a functional module of the existing network element, for example, may be a function module in the MME;
  • the network element is upgraded to support the functions described below, for example, the MME is upgraded, that is, the service device may be an MME supporting the ProSe service in the MME pool.
  • the service device is referred to as a ProSe service module, called a ProSe server, and the ProSe server or module may be one or more, which may exist separately or may exist as a server group or a service module group.
  • the modules mentioned in the following embodiments may be implemented as modules in a processor, may be implemented by software modules, or may be implemented by using hardware modules.
  • the service device includes a registration module and a discovery module. It can also be implemented by a processor, that is, the service device includes a processor, and the processor includes a registration module and a discovery module.
  • 2 is a structural block diagram of a service device according to an embodiment of the present invention. As shown in FIG. 2, the service device includes a registration module 22 and a discovery module 24.
  • the registration module 22 is configured to receive the registration of the terminal, and allocate the application based on the proximity service identifier (ProSe ID) to the terminal, and associate the application information of the terminal with the ProSe ID, where the application information is used to identify the application. information.
  • the discovery module 24 is configured to instruct the base station to allocate a discovery resource to the terminal, and send the discovery result.
  • the discovery resource is used for discovery between the terminals.
  • the discovery result may include one or more ProSe IDs, for example, may be a list, and the ProSe ID in the list is determined according to location information of the terminal, and by using the preferred implementation manner, multiple adjacent ones may be found. terminal.
  • the names of the registration module 22 and the discovery module 24 are defined, and the modules capable of realizing the functions of the two modules may be referred to as a registration module and a discovery module.
  • the registration module may be referred to as: Registering a module that assigns a ProSe ID to the terminal and associates the terminal's application information with the ProSe ID.
  • the registration module 22 and the discovery module 24 may also be implemented by a processor.
  • a processor is configured to accept the registration of the terminal, assign the ProSe ID to the terminal, and associate the application information of the terminal with the ProSe ID.
  • the following modules should be understood as such, and will not be described below.
  • the above-mentioned service device can implement registration of the terminal and instruct the base station to allocate resources, thereby providing support for the implementation of the ProSe service on the network architecture.
  • the discovery module 24 can also be configured to save the discovery resources and return the saved discovery resources upon receipt of the request.
  • the discovery module 24 can save the already discovered discovery resources and provide assurance that the base station is configured to configure the already allocated discovery resources.
  • the function of saving and returning discovered resources can be implemented by any module.
  • the digital signature can also be included in the application information, and the registration module 22 can also be configured to check the digital signature. The function of checking the digital signature can also be implemented by any module.
  • FIG. 3 is a structural block diagram of an application server according to an embodiment of the present invention.
  • the application server includes: a registration module 32 and a saving module 34.
  • the registration module 32 is configured to return application information when registering with the terminal, where the application information includes information identifying the application;
  • the saving module 34 is configured to save the correspondence between the application user identifier of the application and the ProSe ID, and return the application user identifier and/or the ProSe ID according to the request of the terminal.
  • the application information includes information identifying the application.
  • FIG. 4 is a structural block diagram of a base station according to an embodiment of the present invention. As shown in FIG. 4, the base station includes: at least one of an allocation module 42 and a configuration module 44. The dashed line in the figure indicates that at least one of the two modules exists.
  • the allocating module 42 is configured to receive an indication from the ProSe service module based on the short-range service, and allocate the resource as a terminal discovery resource, where the indication is used to indicate that the base station allocates the discovery resource, where the discovery resource is used for the discovery between the terminals.
  • the discovery resource is used for the discovery signal sent, and the discovery terminal discovers the signal.
  • the discovery signal may include at least one of: a pilot signal allocated by the base station for the terminal, and a ProSe ID of the terminal (including the source terminal and/or the destination terminal).
  • the configuration module 44 is configured to receive the discovery resource received from the ProSe service module and configure it to the terminal.
  • the base station may further include: a sending module, configured to receive a message for performing ProSe registration from the terminal during the RRC process, and after selecting a ProSe service module, forwarding the message for performing ProSe registration to the selected ProSe Service module.
  • FIG. 5 is a structural block diagram of a terminal according to an embodiment of the present invention. As shown in FIG. 5, the terminal includes: a registration module 52 and a saving module 54.
  • the registration module 52 is configured to register with the proximity-based ProSe service module according to the application information, where the application information includes information identifying the application.
  • the saving module 54 is configured to save the ProSe ID based on the Proximate Service Identity assigned by the ProSe service module.
  • the terminal with the above modules can provide support for the implementation of the ProSe service.
  • the terminal may further include: an obtaining module, configured to acquire at least one of the following from the application server: a ProSe ID corresponding to the destination terminal, and an application user identifier corresponding to the destination terminal.
  • the terminal may further include: a sending module, configured to send the ProSe ID to the application server.
  • FIG. 6 illustrates a preferred network architecture in which a ProSe server is deployed separately and connected to an MME. The network elements in the preferred network architecture are described below.
  • the ProSe server includes ProSe registration and ProSe discovery.
  • the ProSe discovery function can be responsible for triggering the discovery process to determine if the destination terminal is in an adjacent area.
  • the discovery process may include requesting the base station to allocate the discovery resource, and configuring the discovery resource to pass through the base station to the destination terminal, and returning the target terminal discovery result to the source terminal.
  • the ProSe discovery function may further include: requesting the base station to allocate the discovery resource according to the user request, And the discovery resource is saved, and other terminals return the discovery resource when requested.
  • the ProSe registration function is responsible for the ProSe terminal registration, assigning the temporary identifier ProSe ID, and associating the correspondence between the user application information and the ProSe ID.
  • the ProSe registration function may further comprise checking a digital signature of the application information provided by the terminal.
  • the ProSe registration function further comprises verifying whether the application allows ProSe services.
  • the discovery function further comprises generating all ProSe ID lists associated with the corresponding application information, for example, generating all ProSe ID lists associated with the corresponding application information according to the location information of the destination terminal.
  • the ProSe server may also have the function of the MME, and the base station is connected through the S1 interface.
  • the application server supporting the ProSe service the application server returns the application information when the terminal registers, and stores the correspondence between the ProSe ID and the application user ID; and returns the corresponding corresponding ID to the terminal according to the terminal request.
  • the application information may further include a digital signature.
  • ProSe terminal The terminal is used to register with the ProSe server, and the registration message carries the application information; and is also used to save the ProSe ID allocated by the ProSe server.
  • the terminal may acquire application information from the application server before registering with the ProSe server.
  • the application information may further include a digital signature.
  • the terminal may also send the ID assigned by the ProSe server to the application server for saving.
  • the terminal may further obtain, from the application server, a ProSe ID corresponding to the destination terminal and/or an application user ID corresponding to the destination terminal.
  • a base station supporting ProSe the base station may receive an indication from the ProSe server that the discovery resource needs to be allocated, and allocate a discovery resource to the terminal; and/or the base station may receive the discovery resource from the ProSe server, and use the discovery resource as the radio resource of the terminal to receive the data packet.
  • the discovery resource may include a radio resource and a discovery signal that the terminal sends the data packet.
  • the discovery signal may include one of the following: a ProSe ID of the source terminal, a ProSe ID of the destination terminal, and pilot information allocated by the base station.
  • FIG. 7 is a flowchart of a terminal registration method according to an embodiment of the present invention.
  • the method includes the following steps: Step S702: The ProSe service module receives a message sent by a terminal for performing ProSe registration, where The message carries the application information of the terminal, and the application information includes information for identifying the application. Step S704, the ProSe service module allocates the ProSe ID, and sends the ProSe ID to the terminal.
  • the allocation of the ProSe ID is implemented, and the ProSe ID corresponds to the application.
  • the application information may be obtained from a network element that holds the information, for example, may be obtained from an application server.
  • a preferred method of obtaining may be as follows: In the case that the application is started, the terminal sends a registration message to the application server, where the registration message carries the application user identifier; and the terminal receives the application information sent by the application server after accepting the terminal registration.
  • the ProSe service module in the above step is a part of the mobility management unit MME, or the ProSe service module may be separately deployed to connect with the MME. Alternatively, the ProSe service module may be an MME supporting the ProSe service in the MME pool.
  • the method may be performed by using a non-access stratum message (referred to as a NAS message).
  • a NAS message a non-access stratum message
  • the method may further include: Step S7002: The base station receives the terminal.
  • the non-access stratum NAS message is sent, where the NAS message is a message for performing ProSe registration, for example, the NAS message may be learned in an RRC process; Step S7004, the base station passes an interface with the ProSe service module ProSe sends NAS messages.
  • the method may also be packaged before the ProSe service module receives the message sent by the terminal for ProSe registration.
  • the terminal acquires information indicating whether the mobility management unit supports the ProSe service.
  • the terminal may receive a registration response message or a tracking area update message sent by the mobility management unit, where the registration response message or the tracking area update message carries information indicating whether the mobility management unit supports the ProSe service.
  • the operator may consider that it is not allowed to use the ProSe service for some applications based on factors such as the market.
  • the ProSe service module may determine whether the operator allows the application to use the ProSe service according to the information used to identify the application; In the case where the judgment result is YES, the ProSe service module reassigns the ProSe ID.
  • the method may further include: acquiring, by the application server, the ProSe ID, and associating and saving the ProSe ID and the obtained application user identifier of the terminal.
  • the ProSe ID comprises at least one of: a network identity, a mobility management unit pool identity, an identity that uniquely identifies the ProSe service module in the mobility management unit pool, an identity of the uniquely identified user in the ProSe service module, in the context of the user A unique identifier that identifies the app.
  • the ProSe ID further includes: identifier information indicating whether the discovery resource has been allocated to the terminal of the ProSe ID, and the identifier information is used to identify whether the discovery resource has been allocated.
  • a ProSe server may be set in the core network mobility management unit pool (as shown in FIG.
  • the ProSe server is connected to all the base stations in the pool; the terminal passes the non-access layer message to the office.
  • the ProSe server initiates the ProSe registration, with the application information and the temporary identifier of the terminal; the ProSe server allocates the temporary identifier ProSe ID and returns it to the terminal for saving.
  • the terminal may obtain application information from the application server before the ProSe server registers, and the information may uniquely identify the application.
  • the application information may further include a digital signature of the application, and the ProSe server checks whether the application identified by the application information is allowed to perform the ProSe service by the operator after receiving the registration request.
  • FIG. 8 is a flowchart 1 of a method for discovering a terminal according to an embodiment of the present invention. As shown in FIG. 8, the process includes the following steps: Step S802: Receive a message that a source terminal requests to discover a destination terminal, where the message carries a destination.
  • Step S804 indicating that the first base station to which the source terminal belongs and/or the second base station to which the destination terminal belongs allocates the discovery resource or configures the allocated discovery resource, where the discovery resource is used to discover one of the source terminal and the destination terminal. .
  • the discovery of the terminal can be achieved.
  • the source terminal may discover the destination terminal, or the destination terminal may discover the source terminal.
  • the first ProSe service module corresponding to the source terminal receives the message; the first ProSe service module instructs the first base station to allocate or configure the discovery resource, and the discovery resource is used to enable the destination terminal to discover the source terminal.
  • the method may further include: the first ProSe service module sending the ProSe ID and the discovery resource of the destination terminal to the second ProSe service corresponding to the destination terminal.
  • the second ProSe service module instructs the second base station to allocate the discovery resource to the destination terminal, where the discovery resource is used to enable the destination terminal to discover the source terminal.
  • the second ProSe service module corresponding to the destination terminal receives the message; the second ProSe service module instructs the second base station to allocate or configure the discovery resource, where the discovery resource is used to enable the source terminal to discover the destination terminal.
  • the method may further include: the second ProSe service module sends the discovery resource to the first ProSe service module corresponding to the source terminal; the first ProSe service module indicates The first base station allocates the discovery resource to the source terminal, where the discovery resource is used to enable the source terminal to discover the destination terminal.
  • the allocation of resources and the configuration of allocated resources are involved.
  • whether the discovery resource has been allocated to the terminal may be determined according to the format of the ProSe ID. If the Prose ID indicates that the discovery resource has been allocated, the discovery request is directly forwarded to the ProSe server that allocates the ProSe ID.
  • the corresponding ProSe service module may notify the other party.
  • the terminal discovery may be implemented by discovering a discovery signal, that is, one of the source terminal and the destination terminal discovers a discovery signal sent by the other party on the discovery resource to discover the other party.
  • the discovery signal comprises at least one of: a pilot signal allocated by the base station for the terminal, a ProSe ID of the source terminal, and a ProSe ID of the destination terminal.
  • the source terminal requests the ProSe server to discover the target terminal, with the ProSe ID of the target terminal; the ProSe server can determine whether the destination terminal has allocated the discovery resource; if the destination terminal does not allocate the discovery resource, the ProSe server indicates The base station allocates the discovery resource to the source terminal, and the destination terminal notifies the source terminal of the discovery result after detecting the discovery signal of the source terminal; or if the destination terminal has allocated the discovery resource, the Prose server directly allocates the discovery resource of the destination terminal to the source terminal, The source terminal detects the discovery signal of the destination terminal.
  • the base station allocates the discovery resource to the source terminal
  • the ProSe server requests the base station where the source terminal is located to allocate the discovery resource; the base station where the source terminal is located allocates the discovery resource to the source user and returns the resource to the ProSe server.
  • the ProSe server can configure the discovery resource of the source terminal to the destination terminal through the base station where the target terminal is located.
  • the target terminal informs the source terminal that the discovery result can be implemented by: the target terminal sending a discovery report to the base station where the target terminal is located; the base station where the target terminal is located sending the discovery report to the ProSe server; and the ProSe server sending the discovery response to the source terminal, indicating The target terminal is in the adjacent area;
  • the ProSe server sends the discovery resource of the destination terminal to the source terminal.
  • the ProSe server configures the discovery resource allocated by the target terminal to the source terminal through the base station where the source terminal is located.
  • the discovery resource may include: a radio resource that the terminal sends the data packet and a discovery signal.
  • the discovery signal preferably includes at least one of: a ProSe ID of the source terminal, a ProSe ID of the destination terminal, and pilot information allocated by the base station.
  • FIG. 9 is a second flowchart of a terminal discovery method according to an embodiment of the present invention. As shown in FIG. 9, the process includes the following steps: Step S902: A ProSe service module receives a message sent by a source terminal, where the message carries application information. The message is used to request to discover a terminal that is adjacent to the source terminal. Step S904, the ProSe service module acquires a ProSe ID of one or more terminals adjacent to the source terminal according to the application information.
  • Step S906 the ProSe service module replaces the one or more The ProSe ID of the terminal is sent to the source terminal.
  • the ProSe service module may acquire the ProSe ID associated with the application corresponding to the application information according to the application information; the ProSe service module according to the ProSe ID associated with the application, at least the latest access cell, the tracking area, and the location area of the terminal corresponding to the ProSe ID associated with the application.
  • the following discovery resource processing manner may be adopted in the process shown in FIG.
  • the ProSe service module indicates that the base station to which the source terminal belongs allocates discovery resources to the source terminal; and the ProSe service module sends the discovery resource to one or more terminals.
  • One or more base stations, and one or more base stations configure the discovery resources to one or more terminals, wherein the discovery resources are used to enable one or more terminals to discover the discovery signals of the source terminals; the ProSe service module receives the To report the one or more terminals of the discovery signal, obtain the ProSe ID of one or more terminals adjacent to the source terminal.
  • the method may further include: the source terminal transmitting the ProSe ID of the one or more terminals to the application server.
  • the source ProSe terminal may request the ProSe server to discover the surrounding user list, where the request message carries the application information; the ProSe server obtains the initial ProSe ID list according to the application information carried by the terminal; and the ProSe server pairs the initial ProSe Each ProSe ID in the ID list determines whether the target terminal and the source ProSe terminal are in the adjacent area by the discovery process, and generates a final ProSe ID list.
  • FIG. 10 is a flowchart 3 of a terminal discovery method according to an embodiment of the present invention. As shown in FIG. 10, the process includes the following steps: Step S1002: A ProSe service module receives a discovery resource allocation request sent by a source terminal.
  • Step S1004 ProSe service The module indicates that the base station to which the source terminal belongs allocates a discovery resource to the source terminal, where the discovery resource is used to enable other terminals to discover the source terminal.
  • the source terminal can be allocated a discovery resource, so that the source terminal can be discovered.
  • the ProSe service module may allocate a new ProSe ID to the source terminal, where the new ProSe includes: information for identifying that the discovery resource has been allocated for the source terminal; and the ProSe service module sends the new ProSe ID to the source terminal.
  • the ProSe service module corresponding to the other terminal receives the request message sent by the other terminal, and the request message is used to request whether the new ProSe ID is in the neighboring area of the other terminal; the ProSe service module corresponding to the other terminal is based on the new ProSe
  • the ID determines that the source terminal is allocated the discovery resource; the ProSe service module corresponding to the other terminal indicates that the base station to which the other terminal belongs allocates the discovery resource to other terminals.
  • the new ProSe ID can be obtained from the application server.
  • the manner of discovering the source terminal may be to discover the source terminal by discovering the discovery signal, that is, discovering the discovery signal sent by the source terminal on the discovery resource in other terminals.
  • the discovery signal comprises at least one of: a pilot signal allocated by the base station for the terminal, and a ProSe ID of the source terminal.
  • the source terminal requests its own discovery resource from the ProSe server; the ProSe server instructs the base station to allocate the discovery resource to the source terminal; the other terminal discovers the source terminal by detecting the discovery signal of the source terminal.
  • the ProSe server allocates a ProSe ID to the terminal, and the ProSe ID sets a special flag to indicate that the ProSe server has allocated the discovery resource for the user.
  • the ProSe server can return the assigned ProSe ID to the source terminal; the source terminal sends the ProSe ID to the application server for storage.
  • the other terminal obtains the discovery resource of the source terminal from the ProSe server, and terminates the terminal by detecting the discovery signal of the source terminal.
  • the discovery resource allocated by the base station is a broadcast resource
  • the source terminal broadcasts its own discovery signal
  • the other terminal discovers the source terminal by detecting the discovery signal broadcasted by the source terminal.
  • the following describes the registration process of the terminal in combination with preferred examples. Discovery process.
  • a new function is introduced: ProSe server, which can be combined with the MME.
  • the ProSe server also includes the responsibility of assigning a new identity ProSe ID to the application on the ProSe terminal.
  • the ProSe server After the terminal obtains the application information from the application server, the ProSe server needs to register with the ProSe server, and the ProSe server allocates the temporary identifier ProSe ID to the application of the terminal.
  • Different applications have different ProSe IDs, which ensures that operators can control applications. Some applications can perform ProSe discovery, while others do not.
  • the ProSe ID is similar to the GUTI, which also includes the network identifier, the pool identifier, the ProSe server identifier, and the user identifier, so that the ProSe server can be addressed within the EPC network.
  • the allocation of the ProSe ID has nothing to do with the location of the user. After obtaining the ProSe ID, the terminal needs to register with the application server.
  • the application server is responsible for the application user identifier and the terminal ProSe ID association, so that other users can obtain the ProSe ID of the terminal from the application server.
  • 11 is a schematic diagram of a process of registering a terminal in a ProSe server according to an embodiment of the present invention. As shown in FIG. 11, the process includes the following steps: Step 1101: A terminal first accesses LTE to register with an EPC, performs authentication, and obtains an IP address from a gateway. The address, the mobility management unit MME allocates a temporary identity GUTI. Subsequent applications will use this IP address for communication. In the registration response, the mobility management unit informs the terminal whether the MME pool supports the ProSe service indication.
  • the Bay U MME informs the terminal whether the MME pool supports the ProSe service indication in the TAU accept message.
  • Step 1102 An application is started in the terminal, and the application registers with the corresponding application server, whether the terminal supports the ProSe service, and the application user ID.
  • Step 1103 The application server accepts the registration. If the application server supports the ProSe service, the application information is returned to the terminal, and the application information uniquely identifies the application. One possibility is that the operator allocates a unique identifier to the application. The application's digital signature is also included in the application information.
  • Step 1104 If the terminal supports the ProSe capability and the network also supports the ProSe service, the terminal decides to initiate the ProSe registration.
  • the terminal has a ProSe service indication in the Radio Resource Control (RRC) request or RRC completion, and tells the base station that the service is a ProSe registration.
  • RRC Radio Resource Control
  • the terminal registers with the ProSe server through the NAS, with the temporary identifier GUTI allocated by the MME and the application information returned by the application server.
  • the NAS information can be brought to the base station in an RRC Complete message.
  • the base station knows according to step 1104 that this is a ProSe registration, and then the base station will select a ProSe server and then forward the NAS message to the ProSe server via the S1 interface.
  • Step 1105 After receiving the NAS registration, the ProSe server first finds the MME registered by the user according to the GUTI that is brought in, and then initiates a context request process to the MME through the S3 interface, with the GUTI of the terminal and the entire NAS registration message.
  • the MME first finds a corresponding user context according to the GUTI, and if not found, directly returns a failure.
  • the NAS registration message is checked for integrity.
  • the user context information is returned, including the user unique identifier IMSI, user security context, user mobility context and user bearer context.
  • Step 1107 After receiving the context response, the ProSe server saves the related information.
  • the ProSe server performs the MME registration process, including an optional authentication process, and registers with the HSS and obtains subscription data and reallocates new GUTI identities.
  • Step 1108 The ProSe server checks the digital signature of the application information carried by the terminal to ensure the accuracy of the application information, and then determines whether the operator allows the application to use the ProSe service according to the application unique identifier in the application information, and returns the registration failure if not allowed. , if allowed, assign a ProSe ID to the registration assignment.
  • the format of the ProSe ID can be similar to that of the GUTI, including the network information, the pool information, the ProSe server identifier, and the unique temporary identifier in the ProSe server.
  • the temporary identifier uniquely identifies the user and the application.
  • the ProSe server returns a NAS registration response with the assigned ProSe ID and the newly assigned GUTI.
  • Step 1110 the terminal saves! 3 ⁇ 4) 86 10 and new 01111, and return the NAS registration completion message. After receiving the message, the ProSe server considers that the registration has been successful and has assigned the ProSe ID and GUTI.
  • Step 1111 The terminal updates the allocated ProSe ID information to the application server, where the newly allocated ProSe is
  • Step 1112 The application server saves the ProSe ID information corresponding to the application user ID, and returns a terminal response. Through the above process, the LTE registration and ProSe registration of the terminal in the ProSe server is completed and the ProSe ID and GUTI are allocated. If the ProSe server and the last registered MME are the same MME, the above steps 1105, 1106, and 1107 may not be performed, and the ProSe server does not need to reallocate a new GUTIo as needed.
  • FIG. 12 is a terminal according to an embodiment of the present invention. 1 It is desirable to find a schematic diagram of whether the terminal 2 is in the vicinity of the flow. The proximity range here means that the two terminals are relatively close in distance and can implement ProSe communication.
  • the process includes the following steps: Step 1201, the terminal 1 wants to find out whether the terminal 2 is in the proximity range, and the terminal 1 first acquires the ProSe ID2 of the terminal 2 from the application server, and the terminal 2 with the application server can identify the request.
  • Application user ID such as QQ number or Skype account.
  • Step 1203 the application server returns the ProSe ID2 of the terminal 2 to the terminal 1.
  • Step 1204 after obtaining the ProSe ID2, the terminal 1 requests to the ProSe server 1 to find out whether the ProSe ID2 is in the proximity range, and the request carries the ProSe ID2.
  • Step 1205 The ProSe server 1 performs a contract check to determine whether the operator allows the terminal 1 to discover other terminals, and if so, performs allocation of discovery resources.
  • the ProSe server 1 requests the base station 1 to allocate a discovery resource.
  • step 1207 the base station 1 allocates the discovery resource of the terminal 1. In order for the terminal 1 to be discovered by others, the base station 1 needs to allocate the resources of the terminal 1 to transmit the data packet, and the resource that the terminal 1 accepts the data packet does not have to be allocated.
  • the discovery resource may also include the base station 1 assigning a pilot signal to the terminal 1, the pilot signal uniquely identifying the terminal 1, and the pilot signal may be used for monitoring by the destination terminal in the discovery signal.
  • the base station 1 returns the discovery resource allocated for the terminal 1 to the ProSe server 1.
  • the ProSe server 2 first determines whether the operator allows the terminal to be discovered by other terminals, and if so, continues. Returning to ProSe Server 1 fails if not allowed.
  • the ProSe server 2 pages the terminal 2 using the GUTI and the latest location information. If the ProSe server 2 judges that the terminal is already in the connected state, this step is not required.
  • the ProSe server 2 also brings the ProSe ID1 of the terminal 1 to the base station 2.
  • the base station 2 allocates resources to the terminal 2. In this embodiment, the terminal 2 only needs to be discovered by the terminal 1, so the base station 2 does not need to allocate any resources for the terminal 2, but only needs to allocate the discovery resource of the terminal 1 to the terminal 2.
  • the base station 2 also allocates the terminal.
  • the ProSe ID1 of 1 is brought to the terminal 2.
  • Step 1216 the base station 2 returns the ProSe server 2 resource allocation response step 1217, and the terminal 2 hears the discovery signal sent by the terminal 1 on the discovery resource allocated by the base station 2, and the signal may include the terminal.
  • the ProSe ID of 1 may also include the ProSe ID of the terminal 2, or may be the pilot signal step 1218 allocated by the base station 1 for the terminal 1, and the terminal 2 transmits a discovery report to the base station 2.
  • the base station 2 sends the discovery completion to the ProSe server 2.
  • step 1220 the ProSe server 2 sends a discovery completion step 1221 to the ProSe server 1, and the ProSe server 1 transmits a discovery response to the terminal 1, with the discovered ProSe ID2.
  • the terminal 1 finds that the terminal 2 is in the vicinity.
  • FIG. 13 is a schematic flowchart of a terminal 1 wishing to discover all neighboring user identifiers related to the application according to an embodiment of the present invention; as shown in FIG. 13, the process includes the following steps: Step 1301, the terminal 1 wants to find that the local running is running. All user lists of the application are sent to the ProSe server to discover all user requests in the vicinity, with the application information.
  • Step 1302 The ProSe server first determines whether the user is allowed to discover all users in the neighboring area by the operator, because the operation may occupy a lot of signaling resources, and the operator needs to perform control. Continue if allowed, otherwise the return fails.
  • Step 1303 The ProSe server first finds a ProSe ID list associated with the application according to the application information, and performs peer-to-peer discovery for each ProSe ID in the adjacent area.
  • the ProSe server can be rooted Based on the location information currently accessed by the user, such as a cell or a TA list, the ProSe server may prefer those ProSe IDs that are relatively close to the terminal 1 based on the information.
  • Step 1304 The ProSe server performs peer-to-peer discovery on each ProSe ID in the adjacent area.
  • the terminal 1 only needs to allocate the discovery resource once, and the ProSe server sends the resource to the base station where the destination terminal is located and configures it to the destination terminal. If the destination terminal receives the discovery signal of the terminal 1, it reports to the ProSe server.
  • the discovery resource of the terminal 1 can be actively released by the terminal, or the ProSe server can guarantee release by using a timer.
  • the ProSe server returns a ProSe ID list in the adjacent area to the terminal. ProSe servers can be returned one by one, or they can be collected after collecting several ProSe IDs, or periodically.
  • Step 1306 The terminal sends the received ProSe ID list to the application server.
  • Step 1307 The application server determines the user ID corresponding to the ProSe ID, and then determines whether the user ID is allowed to be discovered by the terminal. If not, the corresponding application user ID is not returned. If allowed, the corresponding application user ID is returned. Through the above process, the terminal can obtain all the adjacent user identities associated with the application.
  • FIG. 14 is a schematic diagram of a process in which the terminal 1 actively requests to send resources according to an embodiment of the present invention, and the terminal 2 finds that the terminal 1 is in a proximity range. As shown in FIG.
  • Step 1401 The terminal 1 sends a request to the ProSe server to apply for a discovery resource, where the application broadcast resource or a dedicated resource.
  • Step 1402 The ProSe server determines, according to the subscription information, whether the terminal is allowed to apply for the discovery resource, and if yes, continues, otherwise the failure is returned.
  • Step 1403 the ProSe server requests the base station to allocate the discovery resource.
  • Step 1404 If the request is a dedicated resource, the base station allocates the terminal-specific discovery resource, and the terminal 1 needs to allocate the resource of the terminal 1 to send the data packet, and the terminal 1 accepts The resources of the packet do not have to be allocated.
  • the base station allocates a broadcast resource to the terminal, and the terminal 1 can initiate a broadcast by itself, notifying the surrounding user that the current terminal 1 is currently waiting for access.
  • the terminal 1 may send a discovery signal on the discovery resource, and the discovery signal may be the ProSe ID of the terminal 1, or may be the pilot signal allocated by the base station to the terminal 1.
  • Step 1405 The base station returns the discovery resource allocated to the terminal 1 to the ProSe server, and the ProSe server saves.
  • the ProSe server reassigns a special format ProSe ID to the terminal 1. For example, a certain flag in the ProSe ID is fixed to 1, to identify that the terminal has allocated the discovery resource.
  • the ProSe server reassigns the ProSe ID' to the terminal.
  • the terminal 1 saves the ProSe ID', and then returns an allocation completion message.
  • the terminal 1 sends the ProSe ID' to the application server for saving.
  • the application server returns a response.
  • Step 1410 The terminal 2 wants to find out whether the terminal 1 is in the neighboring area, requests the ProSe ID of the terminal 1 from the application server, and has the application user ID of the terminal 1 step 1411, and the application server returns the ProSe ID' of the terminal 1.
  • the terminal 2 requests the ProSe server 2 to find out whether the ProSe ID is in the adjacent area.
  • the ProSe server 2 knows that the terminal has been allocated the discovery resource according to the special indication of the ProSe ID, and then does not allocate the discovery resource to the terminal 2.
  • the ProSe server 2 forwards the discovery request to the ProSe server 1 that allocates the ProSe ID.
  • the ProSe server 1 returns the saved discovery resource of the terminal 1 to the ProSe server 2.
  • the ProSe server 2 discovers the discovery resource of the terminal 1. Assigned to the terminal through the base station 2 of the terminal 2
  • the terminal 2 detects the discovery signal sent by the terminal 1 on the dedicated discovery resource or the broadcast resource of the terminal 1, and then discovers that the terminal 1 first requests the allocation of the discovery resource through the above process, and the terminal 2 requests the discovery.
  • the discovery resources of the terminal 1 are used to discover that the terminal 1 is in the adjacent area.
  • the resource utilization may not be high, and the advantage is that the base station does not need to allocate the discovery resources to the terminal 2.
  • the above embodiments are not limited to the LTE and EPC architectures, and can be applied to the 2G and 3G packet networks to implement the ProSe discovery function.

Abstract

本申请公开了一种终端注册方法、终端发现方法、终端和服务装置,所述服务装置包括:注册模块(22),用于接收终端的注册为所述终端分配基于近距离业务标识(ProSe ID),并关联所述终端的应用信息和所述ProSe ID,其中,所述应用信息包括标识应用的信息;发现模块(24),用于指示基站为终端分配发现资源,发送发现结果,其中,所述发现资源用于终端之间的发现。本申请通过设置基于近距离业务(ProSe)服务模块,在网络架构方面提供了对ProSe业务实现的支持。

Description

终端注册方法、 终端发现方法、 终端及装置 技术领域 本发明涉及通信领域, 具体而言, 涉及终端注册方法、 终端发现方法、服务装置、 基站、 应用服务器及终端。 背景技术 临近区域的终端利用机器到机器 (Device to Device, 简称为 D2D) 直接通信能够 给终端较多好处。 在第三代合作伙伴计划 (3rd Generation Partnership Project, 第简称 为 3GPP) 中和 D2D相关的课题叫基于近距离业务(Proximity-based Services, 简称为 ProSe), 主要研究在长期演进(Long Term Evolution, 简称为 LTE)和演进的分组网络 (Evolved Packet Core,简称为 EPC)架构下如何实现 D2D业务。本申请中所称的 ProSe 通信即 D2D通信, 二者概念是等同的。 图 1是根据相关技术的网络系统框架的示意图,图 1中示出的是一种典型的 3GPP 架构, 该图中涉及到的网元如下: 终端: 也叫用户设备 (User Equipment, 简称 UE), 通过无线接入基站, 终端和 核心网的移动管理单元之间通过接口互通。 基站: 在演进系统中也叫 eNodeB (Evolved NodeB, 演进的 NodeB), 主要为终端 的接入提供无线资源, 同时和核心网的移动管理单元接口互通。 移动管理单元 (Mobility Management Element, 简称为 MME), 是一个拜访地的 控制面实体, 临时存储用户数据的服务器, 负责管理和存储 UE 上下文 (例如, UE/ 用户标识, 移动性上下文, 用户安全参数以及承载上下文等), 对终端进行鉴权。 为了 进行一个区域内的所有移动管理单元进行负荷分担和融灾, 3GPP定义了移动管理单元 池的概念。 该池内的所有 MME和所有的基站互联。 移动管理单元为用户分配全局唯 一临时标识(Globally Unique Temporary Identity, 简称为 GUTI), GUTI可以包括: 网 络标识、 池标识、 移动管理单元标识以及用户标识。 通过 GUTI可以唯一确定分配该 GUTI的 MME。 归属服务器, 位于归属网, 主要功能是提供签约信息和认证。 当用户从拜访地接 入移动管理单元的时候, 需要从归属服务器获得鉴权信息并对终端进行认证, 如果认 证成功, 则继续从归属服务器获得签约信息。 归属服务器同时检查是否允许用户漫游 到拜访网移动管理单元。 在相关技术中, 并没有提出对在 ProSe通讯建立之前在现有的网络架构下如何进 行 ProSe的相关处理。 发明内容 本发明实施例提供了终端注册方法、 终端发现方法、 服务装置、 基站、 应用服务 器及终端, 以至少解决上述问题中的之一。 根据本发明实施例的一个方面, 提供了一种终端注册方法, 包括: 基于近距离业 务 ProSe服务模块接收到终端发送的用于进行 ProSe注册的消息, 其中, 所述消息中 带有所述终端的应用信息, 所述应用信息中包括用于标识应用的信息; 所述 ProSe服 务模块分配近距离业务标识 ProSe ID, 并将所述 ProSe ID发送给所述终端。 优选地,所述 ProSe服务模块是移动管理单元 MME池中支持 ProSe业务的 MME。 优选地, 在所述 ProSe服务模块接收所述终端发送的用于进行 ProSe注册的消息 之前, 所述方法还包括: 基站接收所述终端发送的非接入层 NAS消息, 其中, 所述基 站是在无线资源控制 RRC过程中获知所述 NAS消息是用于进行 ProSe注册的消息; 所述基站选择一个 ProSe服务模块, 通过与选择的所述 ProSe服务模块之间的接口向 所述 ProSe服务模块发送所述 NAS消息。 优选地, 在所述 ProSe服务模块接收所述终端发送的用于进行 ProSe注册的消息 之前, 所述方法还包括: 所述终端从应用服务器中获取所述应用信息。 优选地, 所述终端从所述应用服务器中获取所述应用信息包括: 在所述应用启动 的情况下, 所述终端向所述应用服务器发送注册消息, 其中, 所述注册消息中携带有 应用用户标识; 所述终端接收所述应用服务器在接受所述终端注册之后发送的所述应 用信息。 优选地, 在所述 ProSe服务模块接收所述终端发送的用于进行 ProSe注册的消息 之前, 所述方法还包括: 所述终端获取指示移动管理单元池是否支持 ProSe业务的信 息。 优选地, 所述终端获取所述移动管理单元池是否支持 ProSe业务的信息包括: 所 述终端接收所述移动管理单元发送的注册响应消息或者跟踪区更新消息, 其中, 所述 注册响应消息或所述跟踪区更新消息中携带有用于指示所述移动管理单元池是否支持
ProSe业务的信息。 优选地, 所述 ProSe服务模块分配所述 ProSe ID包括: 所述 ProSe服务模块根据 用于标识所述应用的信息判断运营商是否允许所述应用使用 ProSe业务; 在判断结果 为是的情况下, 所述 ProSe服务模块分配所述 ProSe ID。 优选地, 所述 ProSe服务模块将所述 ProSe ID发送给所述终端之后, 所述方法还 包括: 所述应用服务器获取所述 ProSe ID, 并将所述 ProSe ID和获取到的所述终端的 应用用户标识进行关联并保存。 优选地, 所述 ProSe ID包括以下至少之一: 网络标识、 移动管理单元池标识、 在 移动管理单元池中唯一标识 ProSe服务模块的标识、 在 ProSe服务模块中的唯一标识 用户的标识、 在用户上下文中唯一标识应用的标识。 优选地, 所述 ProSe ID还包括: 用以指示是否已经为所述 ProSe ID的终端分配 了发现资源的标识信息。 根据本发明实施例的另一个方面, 提供了一种终端发现方法, 包括: 接收源终端 请求发现目的终端的消息, 其中, 所述消息中携带有所述目的终端的基于近距离业务 标识 ProSe ID; 指示所述源终端所属的第一基站和 /或所述目的终端所属的第二基站分 配发现资源或者配置已经分配的发现资源, 其中, 所述发现资源用于使所述源终端和 所述目的终端中的之一发现对方。 优选地, 接收所述消息, 指示所述第一基站和 /或所述第二基站分配或者配置所述 发现资源包括: 所述源终端对应的第一 ProSe 服务模块接收到所述消息; 所述第一 ProSe服务模块指示所述第一基站分配或配置所述发现资源, 所述发现资源用于使所 述目的终端发现所述源终端。 优选地, 在所述第一 ProSe服务模块指示所述第一基站分配或配置所述发现资源 之后, 所述方法还包括: 所述第一 ProSe服务模块将所述目的终端的 ProSe ID和所述 发现资源发送给所述目的终端对应的第二 ProSe服务模块; 所述第二 ProSe服务模块 指示所述第二基站将所述发现资源分配给所述目的终端, 其中, 所述发现资源用于使 所述目的终端发现所述源终端。 优选地, 接收所述消息, 指示所述第一基站和 /或所述第二基站分配或配置所述发 现资源包括: 所述目的终端对应的第二 ProSe 服务模块接收到所述消息; 所述第二 ProSe服务模块指示所述第二基站分配或配置所述发现资源, 其中, 所述发现资源用 于使所述源终端发现所述目的终端。 优选地, 接收所述消息, 所述第二 ProSe服务模块指示所述第二基站分配或配置 所述发现资源之后, 所述方法还包括: 所述第二 ProSe服务模块向所述源终端对应的 第一 ProSe服务模块发送所述发现资源; 所述第一 ProSe服务模块指示所述第一基站 将所述发现资源分配给所述源终端, 其中, 所述发现资源用于使所述源终端发现所述 目的终端。 优选地, 所述方法还包括: 根据 ProSe ID的格式判断是否已经为所述终端分配了 所述发现资源。 优选地, 指示所述源终端所述第一基站和 /或所述第二基站分配或者配置所述发现 资源之后, 所述方法还包括: 所述源终端和所述目的终端的之一发现对方之后, 通过 其对应的 ProSe服务模块通知对方。 优选地, 所述源终端和所述目的终端中的之一发现对方包括: 所述源终端和所述 目的终端中的之一在所述发现资源上发现对方发送的发现信号, 以发现对方。 优选地, 所述发现信号包括以下至少之一: 基站为终端分配的导频信号、 所述源 终端的 ProSe ID、 所述目的终端的 ProSe ID。 根据本发明实施例的另一个方面, 提供了一种终端发现方法, 包括: 基于近距离 业务 ProSe服务模块接收源终端发送的消息, 其中, 所述消息中携带应用信息, 所述 消息用于请求发现与所述源终端临近的终端; 所述 ProSe服务模块根据所述应用信息 获取与所述源终端临近的一个或多个终端的基于近距离业务标识 ProSe ID;所述 ProSe 服务模块将所述一个或多个终端的 ProSe ID发送给所述源终端。 优选地, 所述 ProSe服务模块根据所述应用信息获取与所述源终端临近的一个或 多个终端的 ProSe ID包括:所述 ProSe 服务模块根据所述应用信息获取与所述应用信 息对应的应用关联的 ProSe ID; 所述 ProSe服务模块根据与所述应用关联的 ProSe ID 对应的终端的最新接入小区、 跟踪区、 位置区中的至少之一获取与所述源终端临近的 一个或多个终端的 ProSe ID。 优选地, 所述 ProSe服务模块根据所述应用信息获取与所述源终端临近的一个或 多个终端的 ProSe ID包括:所述 ProSe 服务模块指示所述源终端所属的基站为所述源 终端分配发现资源; 所述 ProSe服务模块将所述发现资源发送给所述一个或多个终端 所属的一个或多个基站, 并由所述一个或多个基站将所述发现资源配置给所述一个或 多个终端, 其中, 所述发现资源用于使所述一个或多个终端发现所述源终端的发现信 号; 所述 ProSe服务模块通过接收到所述发现信号的一个或多个终端的上报, 获取与 所述源终端临近的一个或多个终端的 ProSe ID。 优选地,所述 ProSe服务模块在将所述一个或多个终端的 ProSe ID发送给所述源 终端之后, 所述方法还包括: 所述源终端将所述一个或多个终端的 ProSe ID发送给应 用服务器。 根据本发明实施例的另一个方面, 提供了一种终端发现方法, 包括: 基于近距离 业务 ProSe服务模块接收源终端发送的发现资源分配请求; 所述 ProSe服务模块指示 所述源终端所属的基站为所述源终端分配发现资源, 其中, 所述发现资源用于使其他 终端发现所述源终端。 优选地,所述方法还包括:所述 ProSe服务模块为所述源终端分配新的 ProSe ID, 其中, 所述新的 ProSe包括: 用于标识已经为所述源终端分配了发现资源的信息; 所 述 ProSe服务模块将所述新的 ProSe ID发送给所述源终端。 优选地, 还包括: 所述其他终端对应的 ProSe服务模块接收到所述其他终端发送 的请求消息, 所述请求消息用于请求所述新的 ProSe ID是否在所述其他终端的临近区 域; 所述其他终端对应的 ProSe服务模块根据所述新的 ProSe ID确定已经为所述源终 端分配了所述发现资源; 所述其他终端对应的 ProSe服务模块指示所述其他终端所属 的基站将所述发现资源分配给所述其他终端。 优选地, 在所述其他终端对应的 ProSe服务模块接收到所述其他终端发送的请求 消息之前, 所述方法还包括: 所述其他终端从应用服务器获取所述新的 ProSe ID。 优选地, 所述其他终端发现所述源终端包括: 所述其他终端中在所述发现资源上 发现所述源终端发送的发现信号, 以发现所述源终端。 优选地, 所述发现信号包括以下至少之一: 基站为终端分配的导频信号、 所述源 终端的 ProSe ID。 根据本发明实施例的另一个方面, 提供了一种服务装置, 包括: 注册模块, 设置 为接受终端的注册为所述终端分配基于近距离业务标识 ProSe ID, 并关联所述终端的 应用信息和所述 ProSe ID, 其中, 所述应用信息中包括标识应用的信息; 发现模块, 设置为指示基站为终端分配发现资源, 发送发现结果; 其中, 所述发现资源用于终端 之间的发现。 优选地, 所述发现模块还设置为保存所述发现资源, 并在接收到请求时返回所述 发现资源。 优选地, 所述注册模块还设置为检查所述终端提供的应用信息的数字签名。 优选地, 所述注册模块还设置为验证所述应用信息对应的应用是否允许 ProSe业 务。 优选地,所述发现结果包括:所述应用信息关联的 ProSe ID列表,其中所述 ProSe
ID列表是根据终端的位置信息确定的。 优选地, 所述服务装置是支持 ProSe业务的移动管理单元 MME。 根据本发明实施例的另一个方面, 提供了一种应用服务器, 包括: 注册模块, 设 置为向在终端注册时返回应用信息, 其中, 所述应用信息中包括标识应用的信息; 保 存模块, 设置为保存所述应用的应用用户标识与基于近距离业务标识 ProSe ID的对应 关系, 并根据终端的请求返回所述应用用户标识和 /或所述 ProSe ID。 优选地, 所述应用信息还包括: 数字签名。 根据本发明实施例的另一个方面, 提供了一种基站, 包括: 分配模块, 设置为从 基于近距离业务 ProSe服务模块接收指示, 并分配为终端发现资源, 所述指示用于指 示所述基站分配发现资源, 其中, 所述发现资源用于终端之间的发现; 和 /或, 配置模 块, 设置为将从 ProSe服务模块接收到的发现资源, 并配置给终端。 优选地, 所述发现资源用于发送的发现信号, 其中, 通过发现所述发现信号发现 终端。 优选地, 所述发现信号包括以下至少之一: 基站为终端分配的导频信号、 所述终 端的 ProSe ID。 优选地, 还包括: 发送模块, 设置为在 RRC 过程中从所述终端接收到用于进行 ProSe注册的消息, 选择一个 ProSe服务模块, 并将设置为进行 ProSe注册的消息转 发给选择的 ProSe服务模块。 根据本发明实施例的另一个方面, 提供了一种终端, 包括: 注册模块, 设置为根 据应用信息向基于近距离业务 ProSe服务模块进行注册, 其中, 所述应用信息中包括 标识应用的信息; 保存模块, 设置为保存所述 ProSe服务模块分配的基于近距离业务 标识 ProSe ID。 优选地, 还包括: 获取模块, 设置为从应用服务器获取以下至少之一: 目的终端 对应的 ProSe ID、 目的终端对应的应用用户标识。 优选地, 还包括: 发送模块, 设置为将所述 ProSe ID发送给应用服务器。 通过本发明实施例, 通过设置 ProSe服务模块, 在网络架构方面提供了对 ProSe 业务实现的支持。 附图说明 此处所说明的附图用来提供对本发明实施例的进一步理解,构成本申请的一部分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在 附图中- 图 1是根据相关技术的网络系统框架的示意图; 图 2是根据本发明实施例的服务装置的结构框图; 图 3是根据本发明实施例的应用服务器的结构框图; 图 4是根据本发明实施例的基站的结构框图; 图 5是根据本发明实施例的终端的结构框图; 图 6是根据本发明实施例的网络架构示意图; 图 7是根据本发明实施例的终端注册方法的流程图; 图 8是根据本发明实施例的终端发现方法的流程图一; 图 9是根据本发明实施例的终端发现方法的流程图二; 图 10是根据本发明实施例的终端发现方法的流程图三; 图 11是根据本发明实施例的终端在 ProSe服务器的注册流程示意图; 图 12是根据本发明实施例的终端 1希望发现终端 2是否在临近范围的流程示意 图; 图 13是根据本发明实施例的终端 1希望发现和本应用相关的所有临近的用户标识 的流程示意图; 图 14是根据本发明实施例的终端 1主动申请发资源,终端 2发现终端 1在临近范 围的流程示意图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在不冲突的 情况下, 本申请中的实施例及实施例中的特征可以相互组合。 在以下实施例中, ProSe 终端的发现与应用相关联, 即在进行终端发现的时候, 可以发现运行相同应用的终端。 不同应用的终端尽管可能距离非常近, 但是由于其没 有相同的应用, 因此, 可以不进行彼此发现。 当然, 如果需要发现以下实施中的方法 也可以实现。 在以下实施例中所提及的 ProSe标识可以是与终端上的应用对应的。 在 以下实施例中, 将用于终端发现的资源成为发现资源, 在以下的部分实施例涉及到在 有无线网络覆盖的情况下, 网络控制发现资源的分配。 在部分实施例中, 同时还设涉 及到在应用层可能有是否允许发现的黑白名单的设置。在以下实施例中以 EPC架构为 例但并不限于此, 提出了新的架构、 终端的 ProSe标识分配方法、 终端发现, 基于该 架构和 ProSe标识可以实现由网络控制的 ProSe发现问题。 该架构尽量减少了对 EPC 网络的影响。 在本实施例中提供了一种服务装置, 该服务装置所实现的功能是相对于现有的
EPC网络新增加的功能, 该服务装置可以作为一个单独的服务器存在, 与 MME连接; 也可以作为现有网元的一个功能模块, 例如, 可以作为 MME中的一个功能模块; 也 可以将现有的网元进行升级来支持以下所描述的功能, 例如, 将 MME进行升级, 即 服务装置可以是 MME池中支持 ProSe业务的 MME。在以下的部分实施例中, 将该服 务装置称为 ProSe服务模块, 称为 ProSe服务器, ProSe服务器或者模块可以是一个或 多个, 其可以单独存在, 也可以作为服务器组或者服务模块组存在。 在以下实施例中 所提起的模块可以作为处理器中的模块来实现, 可以采用软件模块实现, 也可以采用 硬件模块来实现, 例如, 在以下实施例中提及服务装置包括注册模块、 发现模块, 其 也可以采用处理器来实现, 即服务装置中包括处理器, 该处理器包括注册模块和发现 模块。 图 2是根据本发明实施例的服务装置的结构框图, 如图 2所示, 该服务装置包括 注册模块 22和发现模块 24。 注册模块 22, 设置为接受终端的注册为该终端分配基于近距离业务标识(简称为 ProSe ID), 并关联终端的应用信息和所述 ProSe ID, 其中, 该应用信息是用于标识该 应用的信息。 发现模块 24, 设置为指示基站为终端分配发现资源, 发送发现结果; 其中, 所述 发现资源用于终端之间的发现。 优选地, 该发现结果可以包括一个或多个 ProSe ID, 例如, 可以是一个列表, 该列表中的 ProSe ID是根据终端的位置信息确定的, 通过该 优选的实施方式, 可以发现多个临近的终端。 上述的注册模块 22和发现模块 24的名称并构成限定, 能够实现这两个模块的功 能的模块均可以称为注册模块和发现模块, 例如, 注册模块, 可以称为是: 设置为接 受终端的注册为该终端分配 ProSe ID并关联终端的应用信息和该 ProSe ID的模块。上 述的注册模块 22和发现模块 24也可以是通过处理器来实现, 例如, 一种处理器用于 接受终端的注册为该终端分配 ProSe ID并关联终端的应用信息和该 ProSe ID。 以下的 模块都应当这样理解, 在下文中不再赘述。 通过上述的服务装置可以实现终端的注册并且指示基站分配资源, 从而在网络架 构上为 ProSe业务的实现提供了支持。 优选地, 发现模块 24还可以设置为保存发现资源, 并在接收到请求时返回保存的 发现资源。通过该优选实施方式, 发现模块 24可以保存已经分配的发现资源, 并为指 示基站配置该已经分配的发现资源提供保证。 该保存并返回发现资源的功能通过任何 一个模块实现均可。 优选地,在应用信息中还可以包括数字签名,此时注册模块 22还可以设置为检查 该数字签名。 该检查数字签名的功能也可以通过任何一个模块实现。 优选地, 为了保证流程或者资源的节约, 可以对应用信息对应的应用是否允许 ProSe业务进行验证。 例如, 可以通过注册模块 22来实现该功能。 图 3是根据本发明实施例的应用服务器的结构框图, 如图 3所示, 该应用服务器 包括: 注册模块 32和保存模块 34。 注册模块 32, 设置为向在终端注册时返回应用信息, 其中, 该应用信息中包括标 识应用的信息; 保存模块 34, 设置为保存该应用的应用用户标识与 ProSe ID的对应关系, 并根据 终端的请求返回应用用户标识和 /或所述 ProSe ID。 应用信息中包括标识该应用的信息, 例如, 使用一个表示表明该应用是一个网络 聊天工具 A, 优选地, 该应用信息中还可以包括数字签名。 应用用户标识表示在该应 用中所使用的用户标识, 例如, 在该网络聊天工具 A中所使用的用户名。 图 4是根据本发明实施例的基站的结构框图, 如图 4所示, 该基站包括: 分配模 块 42以及配置模块 44中的至少之一。 该图中的虚线表示这两个模块中的至少之一存 在即可。 分配模块 42, 设置为从基于近距离业务 ProSe服务模块接收指示, 并分配为终端 发现资源, 指示用于指示基站分配发现资源, 其中, 发现资源用于终端之间的发现。 优选地, 发现资源用于发送的发现信号, 通过发现发现信号发现终端。 例如, 发现信 号可以包括以下至少之一: 基站为终端分配的导频信号、 终端 (包括源终端和 /或目的 终端) 的 ProSe ID。 配置模块 44, 设置为将从 ProSe服务模块接收到的发现资源, 并配置给终端。 优选地, 该基站还可以包括: 发送模块, 设置为在 RRC过程中从终端接收到用于 进行 ProSe注册的消息, 选择一个 ProSe服务模块后, 将用于进行 ProSe注册的消息 转发给选择的 ProSe服务模块。 图 5是根据本发明实施例的终端的结构框图, 如图 5所示, 该终端包括: 注册模 块 52和保存模块 54。 注册模块 52, 设置为根据应用信息向基于近距离业务 ProSe服务模块进行注册, 其中, 应用信息中包括标识应用的信息。 保存模块 54, 设置为保存 ProSe服务模块分配的基于近距离业务标识 ProSe ID。 具有上述的模块的终端就可以为 ProSe业务的实现提供支持。 优选地, 该终端还可以包括: 获取模块, 设置为从应用服务器获取以下至少之一: 目的终端对应的 ProSe ID、 目的终端对应的应用用户标识。 优选地, 该终端还可以包括: 发送模块, 设置为将 ProSe ID发送给应用服务器。 图 6是根据本发明实施例的网络架构的示意图,图 6示出了一种优选的网络架构, 在该网络架构中, ProSe服务器单独部署, 其与 MME连接。下面对该优选网络架构中 的网元进行说明。
ProSe服务器: 该 ProSe服务器包括 ProSe注册功能和 ProSe发现功能。 例如, ProSe发现功能, 可以负责触发发现过程来判断目的终端是否在临近区域。 该发现过程可以包括请求基 站分配发现资源, 将发现资源配置通过基站给目的终端, 将目的终端发现结果返回给 源终端; 优选地, 该 ProSe发现功能还可以包括根据用户要求请求基站分配发现资源, 并保存该发现资源, 其它终端来请求时候返回该发现资源。 例如, 该 ProSe注册功能 负责 ProSe终端注册, 分配临时标识 ProSe ID, 并关联用户应用信息和 ProSe ID的对 应关系。 优选地, ProSe 注册功能还可以包括检查终端提供的应用信息的数字签名。 优选地, ProSe注册功能还包括验证该应用是否允许 ProSe业务。 优选地,发现功能还包括生成所有和对应应用信息相关联的 ProSe ID列表,例如, 根据目的终端的位置信息生成所有和对应应用信息相关联的 ProSe ID列表。 优选地, 该 ProSe服务器还可以具有 MME的功能, 和基站通过 S1接口相连。 支持 ProSe业务的应用服务器: 该应用服务器在终端注册时返回应用信息, 保存 ProSe ID和应用用户 ID的对应 关系; 根据终端请求将相应对应 ID返回给终端。优选地, 该应用信息还可以包括数字 签名。 ProSe终端: 该终端用于向 ProSe服务器进行注册, 注册消息中携带有应用信息; 还用于保存 ProSe服务器分配的 ProSe ID。 优选地, 该终端可以在向 ProSe服务器进行注册之前, 从应用服务器获取应用信 息。 优选地, 该应用信息还可以包括数字签名。 优选地, 该终端还可以将 ProSe服务器分配的 ID发送到应用服务器进行保存。 优选地,该终端还可以从应用服务器获知与目的终端对应的 ProSe ID和 /或与目的 终端对应的应用用户 ID。 支持 ProSe的基站: 该基站可以从 ProSe服务器接收指示需要分配发现资源, 为终端分配发现资源; 和 /或, 该基站可以从 ProSe服务器接收发现资源, 将该发现资源作为终端接收数据包 的无线资源配置给终端。该发现资源可以包括终端发送数据包的无线资源和发现信号。 优选地, 该发现信号可以包括以下之一: 源终端的 ProSe ID、 目的终端的 ProSe ID、 包括基站分配的导频信息。 在本实施例中还提供了终端注册方法、 终端发现方法, 下面结合附图进行说明。 需要说明的是, 以下所涉及中的方法中的每个步骤均可以通过模块来执行。 图 7是根据本发明实施例的终端注册方法的流程图, 如图 1所示, 该方法包括如 下步骤: 步骤 S702, ProSe服务模块接收到终端发送的用于进行 ProSe注册的消息, 其中, 该消息中带有终端的应用信息, 应用信息中包括用于标识应用的信息; 步骤 S704, ProSe服务模块分配 ProSe ID, 并将 ProSe ID发送给终端。 通过上述步骤, 实现了 ProSe ID的分配, 该 ProSe ID与该应用相对应。 优选地, 应用信息可以从保存有该信息的网元获取, 例如, 可以从应用服务器获取。 一种优选 的获取的方式可以如下: 在应用启动的情况下, 终端向应用服务器发送注册消息, 其 中, 该注册消息中携带有应用用户标识; 终端接收应用服务器在接受终端注册之后发 送的应用信息。 上述步骤中的 ProSe服务模块作为移动管理单元 MME的一部分, 或者, ProSe服 务模块也可以单独部署与 MME连接, 或者, 该 ProSe服务模块可以是 MME池中支 持 ProSe业务的 MME。 优选地, 可以通过非接入层消息 (简称为 NAS消息) 进行注册, 例如, 在 ProSe 服务模块接收终端发送的用于进行 ProSe注册的消息之前, 该方法还可以包括: 步骤 S7002, 基站接收终端发送的非接入层 NAS消息, 其中, NAS消息是用于进 行 ProSe注册的消息, 例如, 该 NAS消息可以是在 RRC过程中获知的; 步骤 S7004, 基站通过与 ProSe服务模块之间的接口向 ProSe发送 NAS消息。 为了流程或资源的节约, 或者为了使该 ProSe注册更加有效率的执行, 优选地, 在 ProSe服务模块接收终端发送的用于进行 ProSe注册的消息之前, 该方法还可以包 括: 终端获取指示移动管理单元是否支持 ProSe业务的信息。 例如, 终端可以接收移 动管理单元发送的注册响应消息或者跟踪区更新消息, 其中, 该注册响应消息或跟踪 区更新消息中携带有用于指示移动管理单元是否支持 ProSe业务的信息。 运营商可能基于市场等因素考虑, 对于某些应用不允许其使用 ProSe业务, 为了 至此此功能, 优选地, ProSe服务模块可以根据用于标识应用的信息判断运营商是否 允许应用使用 ProSe业务; 并在判断结果为是的情况下, ProSe服务模块再分配 ProSe ID。 优选地, 该方法还可以包括: 应用服务器获取 ProSe ID, 并将 ProSe ID和获取到 的终端的应用用户标识进行关联并保存。 优选地, ProSe ID包括以下至少之一: 网络 标识、 移动管理单元池标识、 在移动管理单元池中唯一标识 ProSe服务模块的标识、 在 ProSe服务模块中的唯一标识用户的标识、 在用户上下文中唯一标识应用的标识。 优选地, ProSe ID还包括: 用以指示是否已经为 ProSe ID的终端分配了发现资源的 标识信息, 该标识信息用于识别发现资源是否已经分配。 在一个优选实施例方式中, 可以在核心网移动管理单元池中设置一个 ProSe服务 器(如图 6所示); 该 ProSe服务器和池中所有基站有接口相连; 终端通过非接入层消 息向所述 ProSe服务器发起 ProSe注册, 带有应用信息和终端的临时标识; ProSe服务 器分配临时标识 ProSe ID并返回给终端保存。 优选地, 终端可以在 ProSe服务器注册之前, 从应用服务器获得应用信息, 该信 息可以唯一标识本应用。 优选地, 该应用信息中还可以包括应用的数字签名, ProSe服务器在收到注册请 求之后检查应用信息所标识的应用是否被运营商允许进行 ProSe业务。 优选地, 终端在获得 ProSe ID之后, 可以将 ProSe ID发送到应用服务器, 应用服 务器将该 ProSe ID和该终端的应用用户标识进行关联并保存。 优选地, 终端在进行 ProSe注册之前, 核心网可以通过注册响应或者 TAU响应告 诉终端该移动性管理单元池是否已经支持 ProSe业务。 图 8是根据本发明实施例的终端发现方法的流程图一, 如图 8所示, 该流程包括 如下步骤: 步骤 S802, 接收源终端请求发现目的终端的消息, 其中, 该消息中携带有目的终 端的 ProSe ID; 步骤 S804,指示源终端所属的第一基站和 /或目的终端所属的第二基站分配发现资 源或者配置已经分配的发现资源, 其中, 发现资源用于使源终端和目的终端中的之一 发现对方。 通过上述步骤, 可以实现终端的发现。 在终端的发现中, 可以是源终端发现目的 终端, 也可以是目的终端发现源终端。 下面对这两种优选实施方式分别进行说明。 优选实施方式一:源终端对应的第一 ProSe服务模块接收到上述消息;第一 ProSe 服务模块指示第一基站分配或配置发现资源, 发现资源用于使目的终端发现源终端。 优选地, 在第一 ProSe服务模块指示第一基站分配或配置发现资源之后, 该方法还可 以包括: 第一 ProSe服务模块将目的终端的 ProSe ID和发现资源发送给目的终端对应 的第二 ProSe服务模块; 第二 ProSe服务模块指示第二基站将发现资源分配给目的终 端, 其中, 发现资源用于使目的终端发现源终端。 优选实施方式二: 目的终端对应的第二 ProSe服务模块接收到消息; 第二 ProSe 服务模块指示第二基站分配或配置发现资源, 其中, 发现资源用于使源终端发现目的 终端。 优选地, 第二 ProSe服务模块指示第二基站分配或配置发现资源之后, 该方法 还可以包括: 第二 ProSe服务模块向源终端对应的第一 ProSe服务模块发送发现资源; 第一 ProSe服务模块指示第一基站将发现资源分配给源终端, 其中, 发现资源用于使 源终端发现目的终端。 在上两种优选实施方式中, 涉及到资源的分配和已经分配资源的配置, 优选地, 可以根据 ProSe ID的格式判断是否已经为终端分配了发现资源。若 Prose ID指示已经 分配了发现资源, 则将发现请求直接转发到分配该 ProSe ID的 ProSe服务器 优选地, 可以在源终端和目的终端的之一发现对方之后, 通过其对应的 ProSe服 务模块通知对方。 优选地, 终端发现可以通过发现发现信号来实现, 即源终端和目的 终端中的之一在发现资源上发现对方发送的发现信号, 以发现对方。 优选地, 发现信 号包括以下至少之一: 基站为终端分配的导频信号、 源终端的 ProSe ID、 目的终端的 ProSe ID。 在一个优选实施方式中, 源终端向 ProSe服务器请求发现目标终端, 带有目标终 端的 ProSe ID; ProSe服务器可以判断目的终端是否已经分配了发现资源;若目的终端 未分配发现资源, 则 ProSe服务器指示基站为源终端分配发现资源, 目的终端检测到 源终端的发现信号后, 告知源终端发现结果; 或者若目的终端已经分配发现资源, 则 Prose服务器直接将目的终端的发现资源配置到源终端,由源终端检测目的终端的发现 信号。 优选地, 基站为源终端分配发现资源, 指的是 ProSe服务器向源终端所在基站请 求分配发现资源; 源终端所在的基站向源用户分配发现资源并将该资源返回到 ProSe 服务器。 该 ProSe服务器可以将源终端的发现资源通过目标终端所在基站配置到目的 终端。 优选地, 目标终端告知源终端发现结果可以通过如下方式实现: 目标终端向目标 终端所在的基站发送发现报告; 目标终端所在的基站向 ProSe服务器发送发现报告; ProSe服务器向源终端发送发现响应, 指示目标终端在临近区域;。 优选地, ProSe服务器将目的终端的发现资源告诉源终端, 可以通过如下方式来 实现: ProSe服务器将目标终端所分配的发现资源通过源终端所在基站配置到源终端。 优选地, 发现资源可以包括: 终端发送数据包的无线资源以及发现信号。 发现信号优 选地包括如下至少之一: 源终端的 ProSe ID、 目的终端的 ProSe ID、 基站分配的导频 信息。 图 9是根据本发明实施例的终端发现方法的流程图二, 如图 9所示, 该流程包括 如下步骤: 步骤 S902, ProSe服务模块接收源终端发送的消息, 其中, 该消息中携带应用信 息, 该消息用于请求发现与源终端临近的终端; 步骤 S904, ProSe服务模块根据应用信息获取与源终端临近的一个或多个终端的 ProSe ID; 步骤 S906, ProSe服务模块将该一个或多个终端的 ProSe ID发送给源终端。 通过上述步骤可以发现与源终端启动或使用相同应用的临近的一个或多个终端。 优选地, ProSe 服务模块可以根据应用信息获取与应用信息对应的应用关联的 ProSe ID; ProSe服务模块根据与应用关联的 ProSe ID对应的终端的最新接入小区、 跟踪区、 位置区中的至少之一获取与源终端临近的一个或多个终端的 ProSe ID。 优选地, 在图 9所示出的流程中可以采用如下的发现资源处理方式: ProSe服务 模块指示源终端所属的基站为源终端分配发现资源; ProSe服务模块将发现资源发送 给一个或多个终端所属的一个或多个基站, 并由一个或多个基站将发现资源配置给一 个或多个终端, 其中, 发现资源用于使一个或多个终端发现源终端的发现信号; ProSe 服务模块通过接收到发现信号的一个或多个终端的上报, 获取与源终端临近的一个或 多个终端的 ProSe ID。 优选地, ProSe服务模块在将一个或多个终端的 ProSe ID发送给源终端之后, 该 方法还可以包括: 源终端将一个或多个终端的 ProSe ID发送给应用服务器。 在一个优选的实施方式中, 源 ProSe终端可以向 ProSe服务器请求发现周围用户 列表, 其中请求消息中携带应用信息; ProSe服务器根据终端所带的应用信息, 获得 初始 ProSe ID列表; ProSe服务器对初始 ProSe ID列表中的每个 ProSe ID, 通过发现 流程判断目标终端是否和所述源 ProSe终端在临近区域, 生成最终的 ProSe ID列表 ProSe服务器将最终的 ProSe ID列表返回给终端; 终端向应用服务器请求 ProSe ID所 对应的应用用户标识。 优选地, ProSe服务器根据终端最新接入小区或者跟踪区或者 位置区, 生成和源 ProSe终端临近的初始 ProSe ID列表。 图 10是根据本发明实施例的终端发现方法的流程图三, 如图 10所示, 该流程包 括如下步骤: 步骤 S1002, ProSe服务模块接收源终端发送的发现资源分配请求; 步骤 S1004, ProSe服务模块指示源终端所属的基站为源终端分配发现资源,其中, 发现资源用于使其他终端发现源终端。 通过上述步骤, 可以为源终端分配发现资源, 从而可以使该源终端被发现。 优选地, ProSe服务模块可以为源终端分配新的 ProSe ID,其中,新的 ProSe包括: 用于标识已经为源终端分配了发现资源的信息; ProSe服务模块将新的 ProSe ID发送 给源终端。 优选地, 其他终端对应的 ProSe服务模块接收到其他终端发送的请求消息, 该请 求消息用于请求新的 ProSe ID是否在该其他终端的临近区域;该其他终端对应的 ProSe 服务模块根据新的 ProSe ID 确定已经为源终端分配了发现资源; 该其他终端对应的 ProSe服务模块指示该其他终端所属的基站将发现资源分配给其他终端。 优选地, 新 的 ProSe ID可以从应用服务器获取。 优选地, 发现源终端的方式可以是通过发现发现信号的方式, 即其他终端中在发 现资源上发现源终端发送的发现信号, 以发现源终端。 优选地, 发现信号包括以下至 少之一: 基站为终端分配的导频信号、 源终端的 ProSe ID。 在一个优选的实施方式中, 源终端向 ProSe服务器请求自己的发现资源; ProSe 服务器指示基站为源终端分配发现资源; 其他终端通过检测到源终端的发现信号来发 现源终端。 优选地, ProSe服务器为终端分配一个 ProSe ID, 该 ProSe ID设置特殊标志位, 指示 ProSe服务器已经为该用户分配了发现资源。 ProSe服务器可以将分配的 ProSe ID 返回源终端; 源终端将 ProSe ID发送到应用服务器进行保存。 其他终端从 ProSe服务 器获得源终端的发现资源, 并通过检测到源终端的发现信号来终端。 优选地, 基站分配的发现资源为广播资源, 源终端广播自己的发现信号, 其他终 端通过检测到源终端广播的发现信号来发现源终端; 下面结合优选的几个例子来说明终端的注册过程和发现过程。 在以下几个优选例子中, 引入一个新功能: ProSe服务器, 该 ProSe服务器可以和 MME合设。 ProSe服务器除了原有的 MME功能之外, 新的功能还包括负责为 ProSe 终端上的应用分配新的标识 ProSe ID。 当终端从应用服务器获取应用信息之后, 需要 向该 ProSe服务器进行注册, ProSe服务器为终端的该应用分配临时标识 ProSe ID。不 同应用有不同的 ProSe ID, 这样可以保证运营商对应用进行控制, 有些应用可以进行 ProSe发现, 而有些应用不允许。 ProSe ID类似于 GUTI, 其中也包括了网络标识、 池 标识、 ProSe服务器标识以及用户标识, 因此可以实现在 EPC网络内对 ProSe服务器 进行寻址。 ProSe ID的分配和用户的位置没有关系。 终端在获得 ProSe ID之后, 需要 向本应用服务器进行注册, 应用服务器负责应用用户标识和该终端 ProSe ID关联, 这 样其他用户可以从应用服务器来获取本终端的 ProSe ID。 图 11是根据本发明实施例的终端在 ProSe服务器的注册过程示意图, 如图 11所 示, 该流程包括如下步骤: 步骤 1101, 终端首先接入 LTE在 EPC进行注册,进行认证, 从网关获取 IP地址, 移动管理单元 MME分配临时标识 GUTI。 后续应用将使用该 IP地址进行通讯。 在注 册响应中移动管理单元将本 MME池是否支持 ProSe业务指示告诉终端。 如果终端通 过跟踪区更新 (Tracking Area Update, 简称为 TAU) 过程进入该 MME池, 贝 U MME 在 TAU接受消息中将本 MME池是否支持 ProSe业务指示告诉终端。 步骤 1102, 终端中某个应用启动, 应用向对应的应用服务器进行注册, 带有本终 端是否支持 ProSe业务, 以及应用用户 ID。 步骤 1103, 应用服务器接受注册, 如果应用服务器支持 ProSe业务, 则将应用信 息返回给终端,应用信息唯一标识该应用,一种可能是运营商为该应用分配唯一标识。 应用信息内还包括了该应用的数字签名。 步骤 1104, 如果终端支持 ProSe能力, 网络也支持 ProSe业务, 则终端决定发起 ProSe注册。 终端在无线资源控制 (Radio Resource Control, 简称为 RRC) 请求或者 RRC完成里面带有 ProSe业务指示, 告诉基站本次业务是 ProSe注册。 终端通过 NAS 向 ProSe服务器进行注册, 其中带有 MME分配的临时标识 GUTI和应用服务器返回 的应用信息。该 NAS信息可以在 RRC完成消息中带到基站。基站根据步骤 1104知道 是这是 ProSe注册, 于是基站将选择一个 ProSe服务器, 然后将该 NAS消息通过 S1 接口转发到 ProSe服务器。 步骤 1105, ProSe服务器收到该 NAS注册之后, 首先根据带上来的 GUTI, 找到 用户注册的 MME,然后通过 S3接口向 MME发起上下文请求过程,带有终端的 GUTI 以及整个 NAS注册消息。 步骤 1106, MME首先根据 GUTI找到对应的用户上下文, 如果找不到则直接返 回失败。找到之后对 NAS注册消息进行完整性检查,通过之后将返回用户上下文信息, 包括用户唯一标识 IMSI, 用户安全上下文, 用户移动性上下文和用户承载上下文。 步骤 1107, ProSe服务器收到上下文响应之后, 保存相关的信息。 ProSe服务器进 行 MME注册过程, 包括可选的认证过程, 以及向 HSS注册并获取签约数据以及重新 分配新的 GUTI标识。 步骤 1108, ProSe服务器检查终端带上来的应用信息的数字签名以确保应用信息 的准确性,然后根据应用信息中的应用唯一标识判断运营商是否允许本应用使用 ProSe 业务, 如果不允许则返回注册失败, 如果允许, 则为该次注册分配分配一个 ProSe ID。 ProSe ID的格式可以和 GUTI类似, 包括了网络信息、池信息、 ProSe服务器标识以及 ProSe服务器中唯一临时标识, 该临时标识唯一标识本用户和本应用。 步骤 1109, ProSe服务器返回 NAS注册响应,其中带有分配的 ProSe ID和新分配 的 GUTI。 步骤 1110, 终端保存!¾)86 10和新01111, 并返回 NAS注册完成消息, 收到该消 息之后, ProSe服务器认为注册已经成功且分配了 ProSe ID和 GUTI。 步骤 1111,终端向应用服务器更新分配的 ProSe ID信息,其中带有新分配的 ProSe
ID。 步骤 1112, 应用服务器保存和本应用用户 ID对应的 ProSe ID信息, 并返回终端 响应。 通过上述过程,完成了终端在 ProSe服务器的 LTE注册和 ProSe注册并分配 ProSe ID和 GUTI。如果 ProSe服务器和上次注册的 MME是同一个 MME,则上述步骤 1105、 步骤 1106和步骤 1107可以不执行, 另外 ProSe服务器也根据需要无需重新分配新的 GUTIo 图 12是根据本发明实施例的终端 1希望发现终端 2是否在临近范围的流程示意 图。 这里的临近范围指的是两个终端距离位置比较近而且能够实现 ProSe通信。 如图 12所示, 该流程包括如下步骤: 步骤 1201, 终端 1希望发现终端 2是否在临近范围, 终端 1首先向应用服务器获 取终端 2的 ProSe ID2, 请求中带有应用服务器能识别的终端 2的应用用户标识, 比如 QQ号码或者 Skype账号。 步骤 1202, 如果终端 2已经保存有相关的 ProSe ID2, 则进行黑白名单检查, 判 断终端 2是否允许被终端 1发现, 如果不允许则返回失败, 如果允许则继续。 步骤 1203, 应用服务器将终端 2的 ProSe ID2返回终端 1. 步骤 1204, 终端 1获得 ProSe ID2之后, 向自己的 ProSe服务器 1请求发现 ProSe ID2是否在临近范围, 请求中带有 ProSe ID2. 步骤 1205, ProSe服务器 1进行签约检查, 判断运营商是否允许终端 1发现其他 终端, 如果允许则进行进行发现资源的分配。 步骤 1206, ProSe服务器 1向基站 1请求分配发现资源; 步骤 1207, 基站 1分配终端 1的发现资源。 终端 1为了需要被别人发现, 基站 1 需要分配终端 1发送数据包的资源, 终端 1接受数据包的资源不必分配。 发现资源还 可能包括基站 1为终端 1分配导频信号, 该导频信号唯一标识该终端 1, 该导频信号 可以在发现信号里面供目的终端监听。 步骤 1208, 基站 1将为终端 1分配的发现资源返回到 ProSe服务器 1。 步骤 1209, ProSe ID 2中有分配该标识的 ProSe服务器信息, 因此 ProSe服务器 1 将发现请求转发至分配该 ProSe ID2的 ProSe服务器 2, 带有 ProSe ID2以及终端 1的 发现资源。 步骤 1210, ProSe服务器 2首先判断运营商是否允许该终端被其他终端发现, 如 果允许则继续。 如果不允许则返回 ProSe服务器 1失败。 步骤 1211-313, ProSe服务器 2利用 GUTI和最新位置信息对终端 2进行寻呼。若 ProSe服务器 2判断终端已经处于连接状态, 则无需该步骤。 . 步骤 1214, 寻呼成功之后, ProSe服务器 2请求 eNB2进行资源分配, ProSe服务 器 2将终端 1的发现资源发送到基站 2。可选的, ProSe服务器 2还将终端 1的 ProSe ID1 带给基站 2。 步骤 1215, 基站 2为终端 2分配资源。 在本实施例中, 终端 2只需要被终端 1发 现, 因此基站 2无需为终端 2新分配任何资源, 而只需要将终端 1的发现资源分配给 终端 2, 可选的, 基站 2还将终端 1的 ProSe ID1带给终端 2. 步骤 1216, 基站 2返回 ProSe服务器 2资源分配响应 步骤 1217, 终端 2在基站 2所分配的发现资源上听到终端 1所发送的发现信号, 该信号可以包含终端 1的 ProSe ID, 也可以包含终端 2的 ProSe ID, 也可以是基站 1 为终端 1分配的导频信号 步骤 1218, 终端 2向基站 2发送发现报告。 步骤 1219, 基站 2向 ProSe服务器 2发送发现完成。 步骤 1220, ProSe服务器 2向 ProSe服务器 1发送发现完成 步骤 1221, ProSe服务器 1向终端 1发送发现响应, 带有被发现的 ProSe ID2。 通过上述过程, 终端 1发现终端 2在临近范围内。 图 13是根据本发明实施例的终端 1希望发现和本应用相关的所有临近的用户标识 的流程示意图; 如图 13所示, 该流程包括如下步骤: 步骤 1301, 终端 1希望发现周围正在运行本应用的所有用户列表, 于是向 ProSe 服务器发送发现临近区域所有用户请求, 带有本应用信息。 步骤 1302, ProSe服务器首先判断本用户是否被运营商允许进行发现临近区域所 有用户, 因为该操作可能占用很多信令资源, 运营商需要进行控制。如果允许则继续, 否则返回失败。 步骤 1303, ProSe服务器根据应用信息,首先找到和本应用关联的 ProSe ID列表, 并针对每个 ProSe ID进行点对点发现是否在临近区域。 优选的, ProSe服务器可以根 据用户当前最新接入的位置信息, 比如小区或者 TA列表, ProSe服务器可以根据这些 信息优选和终端 1比较接近的那些 ProSe ID。 步骤 1304, ProSe服务器对每个 ProSe ID进行点对点发现是否在临近区域。 在该 过程中, 终端 1 只需分配一次发现资源, ProSe服务器将该资源发送到目的终端所在 的基站并配置给目的终端, 如果目的终端收到终端 1的发现信号, 则上报到 ProSe服 务器。 终端 1的发现资源可以由终端主动释放, 或者 ProSe服务器通过定时器来保证 释放。 步骤 1305, ProSe服务器将在临近区域的 ProSe ID列表返回给终端。 ProSe服务 器可以一个一个返回, 也可以收集几个 ProSe ID之后再返回, 或者周期性返回。 步骤 1306, 终端将收到的 ProSe ID列表发送到应用服务器。 步骤 1307, 应用服务器判断这些 ProSe ID对应的用户 ID, 然后判断用户 ID是否 允许被本终端发现, 如果不允许, 则不返回对应的应用用户 ID, 如果允许, 则返回对 应的应用用户 ID。 通过上述过程, 终端可以获得和本应用相关的所有临近的用户标识。 图 14是根据本发明实施例的终端 1主动申请发资源,终端 2发现终端 1在临近范 围的流程示意图。 如图 14所示, 该流程包括如下步骤: 步骤 1401, 终端 1向 ProSe服务器发送请求, 申请发现资源; 其中带有申请广播 资源还是专用资源。 步骤 1402, ProSe服务器根据签约信息, 判断本终端是否允许申请所述的发现资 源, 如果允许则继续, 否则返回失败。 步骤 1403, ProSe服务器请求基站分配发现资源; 步骤 1404,如果请求是专用资源则基站分配终端专用的发现资源,终端 1为了需要 被别人发现, 基站需要分配终端 1发送数据包的资源, 终端 1接受数据包的资源不必 分配。 如果请求的是广播资源, 则基站为终端分配广播资源, 终端 1可以自己发起广 播, 通知周围的用户当前终端 1 目前正在等待接入。 该步骤之后, 终端 1可以在该发现资源上发送发现信号, 发现信号可能是终端 1 的 ProSe ID, 也可能是基站为终端 1分配的导频信号。 步骤 1405, 基站将为终端 1分配的发现资源返回到 ProSe服务器, ProSe服务器 进行保存。 步骤 1406, ProSe服务器为终端 1重新分配一个特殊格式的 ProSe ID', 比如规定 ProSe ID中某个标志位固定为 1, 以标识该终端目前已经分配了发现资源。 ProSe服务 器将 ProSe ID'重新分配给终端。 步骤 1407, 终端 1保存该 ProSe ID', 然后返回分配完成消息。 步骤 1408, 终端 1将 ProSe ID'发送到应用服务器进行保存。 步骤 1409, 应用服务器返回响应。 步骤 1410, 终端 2希望发现终端 1是否在临近区域, 从应用服务器请求终端 1的 ProSe ID, 带有终端 1的应用用户 ID 步骤 1411, 应用服务器返回终端 1的 ProSe ID'。 步骤 1412, 终端 2向 ProSe服务器 2请求发现 ProSe ID'是否在临近区域。 步骤 1413, ProSe服务器 2根据 ProSe ID'的特殊指示, 知道该终端已经分配有发 现资源, 于是不再为终端 2分配发现资源。 ProSe服务器 2将发现请求转发到分配该 ProSe ID'的 ProSe服务器 1. 步骤 1414, ProSe服务器 1将保存的终端 1的发现资源返回给 ProSe服务器 2. 步骤 1415, ProSe服务器 2将终端 1的发现资源通过终端 2的基站 2分配到终端
2. 步骤 1416, 终端 2在终端 1的专用发现资源或者是广播资源上检测到终端 1所发 送的发现信号, 于是发现终端 1 通过上述过程, 终端 1首先请求分配发现资源, 终端 2过来请求发现终端 1的时 候, 无需自己分配发现资源, 而用终端 1的发现资源来发现终端 1在临近区域。 该流 程中因为终端 1的发现资源是一直占用的, 因此资源利用率可能不高, 好处是基站无 需为终端 2分配发现资源。 以上实施例并不仅限于 LTE和 EPC架构,同样可以应用与 2G、3G的分组网络中, 实现 ProSe发现功能, 对 2G、 3G分组网络的修改是类似的。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可以用通用 的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多个计算装置所 组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码来实现, 从而可以将 它们存储在存储装置中由计算装置来执行,或者将它们分别制作成各个集成电路模块, 或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。 这样, 本发明不限 制于任何特定的硬件和软件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的技 术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的 任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。 工业实用性 本发明实施例提供的技术方案可以应用于通信领域, 通过设置 ProSe服务模块, 在网络架构方面提供了对 ProSe业务实现的支持。

Claims

权 利 要 求 书
1. 一种终端注册方法, 包括:
基于近距离业务 ProSe服务模块接收到终端发送的用于进行 ProSe注册的 消息, 其中, 所述消息中带有所述终端的应用信息, 所述应用信息中包括用于 标识应用的信息;
所述 ProSe服务模块分配近距离业务标识 ProSe ID, 并将所述 ProSe ID发 送给所述终端。
2. 根据权利要求 1所述的方法,其中,所述 ProSe服务模块是移动管理单元 MME 池中支持 ProSe业务的 MME。
3. 根据权利要求 1所述的方法, 其中, 在所述 ProSe服务模块接收所述终端发送 的用于进行 ProSe注册的消息之前, 所述方法还包括:
基站接收所述终端发送的非接入层 NAS消息,其中,所述基站是在无线资 源控制 RRC过程中获知所述 NAS消息是用于进行 ProSe注册的消息;
所述基站选择一个 ProSe服务模块, 通过与选择的所述 ProSe服务模块之 间的接口向所述 ProSe服务模块发送所述 NAS消息。
4. 根据权利要求 1所述的方法, 其中, 在所述 ProSe服务模块接收所述终端发送 的用于进行 ProSe注册的消息之前, 所述方法还包括:
所述终端从应用服务器中获取所述应用信息。
5. 根据权利要求 4所述的方法, 其中, 所述终端从所述应用服务器中获取所述应 用信息包括- 在所述应用启动的情况下, 所述终端向所述应用服务器发送注册消息, 其 中, 所述注册消息中携带有应用用户标识;
所述终端接收所述应用服务器在接受所述终端注册之后发送的所述应用信 息。
6. 根据权利要求 1所述的方法, 其中, 在所述 ProSe服务模块接收所述终端发送 的用于进行 ProSe注册的消息之前, 所述方法还包括:
所述终端获取指示移动管理单元池是否支持 ProSe业务的信息。
7. 根据权利要求 6所述的方法, 其中, 所述终端获取所述移动管理单元池是否支 持 ProSe业务的信息包括:
所述终端接收所述移动管理单元发送的注册响应消息或者跟踪区更新消 息, 其中, 所述注册响应消息或所述跟踪区更新消息中携带有用于指示所述移 动管理单元池是否支持 ProSe业务的信息。
8. 根据权利要求 1所述的方法, 其中, 所述 ProSe服务模块分配所述 ProSe lD包 括- 所述 ProSe服务模块根据用于标识所述应用的信息判断运营商是否允许所 述应用使用 ProSe业务;
在判断结果为是的情况下, 所述 ProSe服务模块分配所述 ProSe ID。
9. 根据权利要求 1至 8中任一项所述的方法, 其中, 所述 ProSe服务模块将所述 ProSe ID发送给所述终端之后, 所述方法还包括:
所述应用服务器获取所述 ProSe ID, 并将所述 ProSe ID和获取到的所述终 端的应用用户标识进行关联并保存。
10. 根据权利要求 1至 8中任一项所述的方法, 其中, 所述 ProSe ID包括以下至少 之一:
网络标识、 移动管理单元池标识、 在移动管理单元池中唯一标识 ProSe服 务模块的标识、 在 ProSe服务模块中的唯一标识用户的标识、 在用户上下文中 唯一标识应用的标识。
11. 根据权利要求 10所述的方法, 其中, 所述 ProSe lD还包括: 用以指示是否已 经为所述 ProSe ID的终端分配了发现资源的标识信息。
12. 一种终端发现方法, 包括:
接收源终端请求发现目的终端的消息, 其中, 所述消息中携带有所述目的 终端的基于近距离业务标识 ProSe ID;
指示所述源终端所属的第一基站和 /或所述目的终端所属的第二基站分配 发现资源或者配置已经分配的发现资源, 其中, 所述发现资源用于使所述源终 端和所述目的终端中的之一发现对方。
13. 根据权利要求 12所述的方法, 其中, 接收所述消息, 指示所述第一基站和 /或 所述第二基站分配或者配置所述发现资源包括: 所述源终端对应的第一 ProSe服务模块接收到所述消息; 所述第一 ProSe服务模块指示所述第一基站分配或配置所述发现资源, 所 述发现资源用于使所述目的终端发现所述源终端。
14. 根据权利要求 13所述的方法, 其中, 在所述第一 ProSe服务模块指示所述第一 基站分配或配置所述发现资源之后, 所述方法还包括:
所述第一 ProSe服务模块将所述目的终端的 ProSe ID和所述发现资源发送 给所述目的终端对应的第二 ProSe服务模块;
所述第二 ProSe服务模块指示所述第二基站将所述发现资源分配给所述目 的终端, 其中, 所述发现资源用于使所述目的终端发现所述源终端。
15. 根据权利要求 12所述的方法, 其中, 接收所述消息, 指示所述第一基站和 /或 所述第二基站分配或配置所述发现资源包括:
所述目的终端对应的第二 ProSe服务模块接收到所述消息;
所述第二 ProSe服务模块指示所述第二基站分配或配置所述发现资源, 其 中, 所述发现资源用于使所述源终端发现所述目的终端。
16. 根据权利要求 15所述的方法, 其中, 接收所述消息, 所述第二 ProSe服务模块 指示所述第二基站分配或配置所述发现资源之后, 所述方法还包括:
所述第二 ProSe服务模块向所述源终端对应的第一 ProSe服务模块发送所 述发现资源;
所述第一 ProSe服务模块指示所述第一基站将所述发现资源分配给所述源 终端, 其中, 所述发现资源用于使所述源终端发现所述目的终端。
17. 根据权利要求 12至 16中任一项所述的方法,其中,所述方法还包括:根据 ProSe ID的格式判断是否已经为所述终端分配了所述发现资源。
18. 根据权利要求 12至 16中任一项所述的方法, 其中, 指示所述源终端所述第一 基站和 /或所述第二基站分配或者配置所述发现资源之后, 所述方法还包括: 所述源终端和所述目的终端的之一发现对方之后, 通过其对应的 ProSe服 务模块通知对方。
19. 根据权利要求 12至 16中任一项所述的方法, 其中, 所述源终端和所述目的终 端中的之一发现对方包括: 所述源终端和所述目的终端中的之一在所述发现资源上发现对方发送的发 现信号, 以发现对方。
20. 根据权利要求 19所述的方法, 其中, 所述发现信号包括以下至少之一: 基站为 终端分配的导频信号、 所述源终端的 ProSe ID、 所述目的终端的 ProSe ID
21. 一种终端发现方法, 包括:
基于近距离业务 ProSe服务模块接收源终端发送的消息, 其中, 所述消息 中携带应用信息, 所述消息用于请求发现与所述源终端临近的终端;
所述 ProSe服务模块根据所述应用信息获取与所述源终端临近的一个或多 个终端的基于近距离业务标识 ProSe ID;
所述 ProSe服务模块将所述一个或多个终端的 ProSe ID发送给所述源终 W o
22. 根据权利要求 21所述的方法, 其中, 所述 ProSe服务模块根据所述应用信息 获取与所述源终端临近的一个或多个终端的 ProSe ID包括:
所述 ProSe服务模块根据所述应用信息获取与所述应用信息对应的应用关 联的 ProSe ID;
所述 ProSe服务模块根据与所述应用关联的 ProSe ID对应的终端的最新接 入小区、 跟踪区、 位置区中的至少之一获取与所述源终端临近的一个或多个终 端的 ProSe ID
23. 根据权利要求 21所述的方法, 其中, 所述 ProSe服务模块根据所述应用信息 获取与所述源终端临近的一个或多个终端的 ProSe ID包括:
所述 ProSe服务模块指示所述源终端所属的基站为所述源终端分配发现资 源;
所述 ProSe服务模块将所述发现资源发送给所述一个或多个终端所属的一 个或多个基站, 并由所述一个或多个基站将所述发现资源配置给所述一个或多 个终端, 其中, 所述发现资源用于使所述一个或多个终端发现所述源终端的发 现信号;
所述 ProSe服务模块通过接收到所述发现信号的一个或多个终端的上报, 获取与所述源终端临近的一个或多个终端的 ProSe ID
24. 根据权利要求 21至 23中任一项所述的方法, 其中, 所述 ProSe 服务模块在将 所述一个或多个终端的 ProSe ID发送给所述源终端之后, 所述方法还包括: 所述源终端将所述一个或多个终端的 ProSe ID发送给应用服务器。
25. 一种终端发现方法, 包括:
基于近距离业务 ProSe服务模块接收源终端发送的发现资源分配请求; 所述 ProSe服务模块指示所述源终端所属的基站为所述源终端分配发现资 源, 其中, 所述发现资源用于使其他终端发现所述源终端。
26. 根据权利要求 25所述的方法, 其中, 所述方法还包括:
所述 ProSe服务模块为所述源终端分配新的 ProSe ID, 其中, 所述新的 ProSe包括: 用于标识已经为所述源终端分配了发现资源的信息;
所述 ProSe服务模块将所述新的 ProSe ID发送给所述源终端。
27. 根据权利要求 26所述的方法, 其中, 还包括:
所述其他终端对应的 ProSe 服务模块接收到所述其他终端发送的请求消 息,所述请求消息用于请求所述新的 ProSe ID是否在所述其他终端的临近区域; 所述其他终端对应的 ProSe服务模块根据所述新的 ProSe ID确定已经为所 述源终端分配了所述发现资源;
所述其他终端对应的 ProSe服务模块指示所述其他终端所属的基站将所述 发现资源分配给所述其他终端。
28. 根据权利要求 27所述的方法, 其中, 在所述其他终端对应的 ProSe服务模块接 收到所述其他终端发送的请求消息之前, 所述方法还包括:
所述其他终端从应用服务器获取所述新的 ProSe ID。
29. 根据权利要求 25至 28中任一项所述的方法, 其中, 所述其他终端发现所述源 终端包括:
所述其他终端中在所述发现资源上发现所述源终端发送的发现信号, 以发 现所述源终端。
30. 根据权利要求 29所述的方法, 其中, 所述发现信号包括以下至少之一: 基站为 终端分配的导频信号、 所述源终端的 ProSe ID。
31. 一种服务装置, 包括:
注册模块, 设置为接受终端的注册为所述终端分配基于近距离业务标识 ProSe ID, 并关联所述终端的应用信息和所述 ProSe ID, 其中, 所述应用信息 中包括标识应用的信息;
发现模块, 设置为指示基站为终端分配发现资源, 发送发现结果; 其中, 所述发现资源用于终端之间的发现。
32. 根据权利要求 31所述的服务装置,其中,所述发现模块还设置为保存所述发现 资源, 并在接收到请求时返回所述发现资源。
33. 根据权利要求 31所述的服务装置,其中,所述注册模块还设置为检查所述终端 提供的应用信息的数字签名。
34. 根据权利要求 31所述的服务装置,其中,所述注册模块还设置为验证所述应用 信息对应的应用是否允许 ProSe 业务。
35. 根据权利要求 31所述的服务装置, 其中, 所述发现结果包括: 所述应用信息关 联的 ProSe ID列表, 其中所述 ProSe ID列表是根据终端的位置信息确定的。
36. 根据权利要求 31至 35中任一项所述的服务装置, 其中, 所述服务装置是支持 ProSe业务的移动管理单元 MME。
37. 一种应用服务器, 包括:
注册模块, 设置为向在终端注册时返回应用信息, 其中, 所述应用信息中 包括标识应用的信息;
保存模块, 设置为保存所述应用的应用用户标识与基于近距离业务标识 ProSe ID 的对应关系, 并根据终端的请求返回所述应用用户标识和 /或所述 ProSe IDo
38. 根据权利要求 37所述的应用服务器, 其中, 所述应用信息还包括: 数字签名。
39. 一种基站, 包括:
分配模块, 设置为从基于近距离业务 ProSe服务模块接收指示, 并分配为 终端发现资源, 所述指示用于指示所述基站分配发现资源, 其中, 所述发现资 源用于终端之间的发现; 和 /或,
配置模块, 设置为将从 ProSe服务模块接收到的发现资源, 并配置给终端。
40. 根据权利要求 39所述的基站,其中,所述发现资源用于发送的发现信号,其中, 通过发现所述发现信号发现终端。
41. 根据权利要求 40所述的基站, 其中, 所述发现信号包括以下至少之一: 基站为 终端分配的导频信号、 所述终端的 PraSe ID。
42. 根据权利要求 39所述的基站, 其中, 还包括: 发送模块, 设置为在 RRC过程 中从所述终端接收到用于进行 ProSe注册的消息, 选择一个 ProSe服务模块, 并将设置为进行 ProSe注册的消息转发给选择的 ProSe服务模块。
43. 一种终端, 包括:
注册模块, 设置为根据应用信息向基于近距离业务 ProSe服务模块进行注 册, 其中, 所述应用信息中包括标识应用的信息;
保存模块, 设置为保存所述 ProSe 服务模块分配的基于近距离业务标识 ProSe IDo
44. 根据权利要求 43所述的终端, 其中, 还包括: 获取模块, 设置为从应用服务器 获取以下至少之一: 目的终端对应的 ProSe ID、 目的终端对应的应用用户标识。
45. 根据权利要求 43所述的终端, 其中, 还包括: 发送模块, 设置为将所述 ProSe ID发送给应用服务器。
PCT/CN2013/091162 2013-03-20 2013-12-31 终端注册方法、终端发现方法、终端及装置 WO2014146474A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US14/768,309 US20160007185A1 (en) 2013-03-20 2013-12-31 Terminal Registration Method, Terminal Discovery Methods, Terminals and Devices
EP13878648.8A EP2978247A4 (en) 2013-03-20 2013-12-31 TERMINAL RECORDING METHOD, TERMINAL DISCOVERING METHOD, TERMINAL, AND DEVICE

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310090160.5 2013-03-20
CN201310090160.5A CN104066070B (zh) 2013-03-20 2013-03-20 终端注册方法、终端发现方法、终端及装置

Publications (1)

Publication Number Publication Date
WO2014146474A1 true WO2014146474A1 (zh) 2014-09-25

Family

ID=51553559

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/091162 WO2014146474A1 (zh) 2013-03-20 2013-12-31 终端注册方法、终端发现方法、终端及装置

Country Status (4)

Country Link
US (1) US20160007185A1 (zh)
EP (1) EP2978247A4 (zh)
CN (1) CN104066070B (zh)
WO (1) WO2014146474A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3043619A3 (en) * 2015-01-09 2016-09-21 Acer Incorporated Proximity request validating method, user equipment using the same, identity request method, and network entity using the same
CN105960815A (zh) * 2014-11-10 2016-09-21 华为技术有限公司 一种近距离业务实现的方法、相关装置和系统

Families Citing this family (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE112013007452B3 (de) * 2013-04-02 2020-10-15 Avago Technologies International Sales Pte. Ltd. Verfahren und Vorrichtung zum Ermitteln von Geräten und Anwendungsnutzern
CN104185162B (zh) * 2013-05-20 2018-10-19 华为终端有限公司 发现终端方法、终端、服务器、基站、管理实体及系统
WO2016049849A1 (zh) * 2014-09-30 2016-04-07 华为技术有限公司 资源调度方法和MME、eNodeB、UE
WO2016054578A1 (en) 2014-10-03 2016-04-07 Interdigital Patent Holdings, Inc. Methods for restricted direct discovery
CN105592433B (zh) * 2014-10-20 2019-12-17 中兴通讯股份有限公司 设备到设备限制发现业务广播、监听方法、装置及系统
WO2016074136A1 (zh) * 2014-11-10 2016-05-19 华为技术有限公司 近距离业务解析方法、装置及设备
CN105722036B (zh) * 2014-12-03 2020-03-31 中兴通讯股份有限公司 授权更新的通知方法及装置
US9648487B2 (en) 2015-01-06 2017-05-09 Acer Incorporated Method and device for grouping user equipments in proximity services restricted discovery
TWI558250B (zh) * 2015-01-06 2016-11-11 宏碁股份有限公司 在鄰近服務限制探索中分群的方法和通訊系統
US9781753B2 (en) * 2015-01-09 2017-10-03 Acer Incorporated Proximity map request method, server and network entity using the same, proximity request validating method, and server and network entity using the same
CN104540106B (zh) * 2015-01-13 2019-02-12 中兴通讯股份有限公司 发现业务码的校验处理、校验方法及装置
WO2016145610A1 (zh) * 2015-03-17 2016-09-22 华为技术有限公司 特征码处理方法、设备和系统
CN107079008B (zh) * 2015-03-27 2020-02-21 华为技术有限公司 用户认证方法、装置及系统
WO2016154918A1 (zh) 2015-03-31 2016-10-06 华为技术有限公司 一种数据处理方法、装置及设备
CN111372204B (zh) 2015-05-15 2021-08-13 华为技术有限公司 一种发现方法及设备
CN107736043B (zh) * 2015-06-29 2021-09-10 夏普株式会社 通信控制方法、用户设备以及ProSe功能部
US10499236B2 (en) * 2015-08-11 2019-12-03 Intel IP Corporation Secure direct discovery among user equipment
CN105282688B (zh) * 2015-10-30 2018-12-25 东莞酷派软件技术有限公司 一种信息传输的方法及路侧单元
CN105516145A (zh) * 2015-12-11 2016-04-20 山东省东营生产力促进中心 服务平台与多个终端进行信息部署及信息交互方法
CN106059863A (zh) * 2016-05-16 2016-10-26 乐视控股(北京)有限公司 一种设备搜索方法及装置
CN109257322B (zh) * 2017-07-13 2022-03-11 中国移动通信集团广东有限公司 Volte业务处理方法、装置、电子设备和存储介质
US11038715B2 (en) 2018-02-07 2021-06-15 Gooee Limited System and method for identifying specific/best path in a mesh network
US10841201B2 (en) * 2018-02-07 2020-11-17 Gooee Limited System and method for managing and controlling a dynamic tunneling protocol in a mesh network
US10917254B2 (en) 2018-02-07 2021-02-09 Gooee Limited System and method of utilizing an interference mitigating protocol in mesh networks
CN113396600B (zh) * 2019-08-12 2022-11-29 Oppo广东移动通信有限公司 信息验证方法、装置、设备及存储介质

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8631148B2 (en) * 2008-12-05 2014-01-14 Lemi Technology, Llc Method of providing proximity-based quality for multimedia content
US8666403B2 (en) * 2009-10-23 2014-03-04 Nokia Solutions And Networks Oy Systems, methods, and apparatuses for facilitating device-to-device connection establishment
US8670357B2 (en) * 2011-01-19 2014-03-11 Qualcomm Incorporated Methods and apparatus for controlling peer to peer communications
EP3897016A3 (en) * 2012-04-27 2021-11-24 Interdigital Patent Holdings, Inc. Method and apparatus for provisioning of d2d policies for a wireless transmit receive unit (wtru)
EP2856728B1 (en) * 2012-05-28 2020-06-24 Nokia Technologies Oy A method, a server and a computer program for local discovery
US10791451B2 (en) * 2012-07-27 2020-09-29 Sharp Kabushiki Kaisha Proximity service discovery using a licensed frequency spectrum
CN102946264B (zh) * 2012-10-17 2015-06-03 中国联合网络通信集团有限公司 M2m终端协作传输的方法、装置及系统
EP2915351A1 (en) * 2012-10-31 2015-09-09 Nokia Solutions and Networks Oy Discovery of proximity services in cellular system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
INTEL ET AL.: "EPC support of ProSe communication over WLAN Possible architecture and required functionality.", 3GPP SA WG2 MEETING #95 S2-130324, 22 January 2013 (2013-01-22), pages 16, 20 AND 21, XP050684864, Retrieved from the Internet <URL:https://vpn.hw.sipo/proxy*73602184/ftp/tsg_sa/WG2_Arch/TSGS2_95_ Prague /Docs/S2 -130324.zip> *
INTEL.: "ProSe discovery using direct radio signals Possible system architecture and required functionality.", 3GPP SA WG2 MEETING #95, 22 January 2013 (2013-01-22), pages 6, 7,10 AND 11, XP008178019, Retrieved from the Internet <URL:https://vpn.hw.sipo/proxy*73602184/ftp/tsg_sa/WG2_Arch/TSGS2_95_ Prague /Docs/S2 -130325.zip> *
See also references of EP2978247A4 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105960815A (zh) * 2014-11-10 2016-09-21 华为技术有限公司 一种近距离业务实现的方法、相关装置和系统
CN105960815B (zh) * 2014-11-10 2019-10-01 华为技术有限公司 一种近距离业务实现的方法、相关装置和系统
EP3043619A3 (en) * 2015-01-09 2016-09-21 Acer Incorporated Proximity request validating method, user equipment using the same, identity request method, and network entity using the same
US10306450B2 (en) 2015-01-09 2019-05-28 Acer Incorporated Proximity request validating method, user equipment using the same, identity request method, and network entity using the same

Also Published As

Publication number Publication date
CN104066070A (zh) 2014-09-24
US20160007185A1 (en) 2016-01-07
CN104066070B (zh) 2018-10-26
EP2978247A1 (en) 2016-01-27
EP2978247A4 (en) 2016-07-13

Similar Documents

Publication Publication Date Title
WO2014146474A1 (zh) 终端注册方法、终端发现方法、终端及装置
EP3745807B1 (en) Session establishment method and device
US10069557B2 (en) Communication method and device
US9713182B2 (en) Method and apparatus for device to device communication
US9451608B2 (en) Resource configuration method, resource deletion method and device
EP2982084B1 (en) Method and apparatus for routing proximity-based service message in wireless communication system
KR102294659B1 (ko) Ue 액세스 제어를 지원하는 방법
JP2020504566A (ja) 移動通信システムでアクセス及び移動性管理機能を選択するための方法及び装置
WO2014040506A1 (zh) 终端的发现、发现处理方法及装置
CN115460650A (zh) 基站、接入和移动性管理功能实体及其方法
US20140237125A1 (en) Method, apparatus, and system for establishing device-to-device connection
WO2016145735A1 (zh) 基于终端直连通信的数据共享方法、装置和终端
WO2016155298A1 (zh) 一种中继ue接入控制方法及装置
KR20120098899A (ko) 그룹 기반의 머신-투-머신 통신
WO2017063484A1 (zh) 一种将终端设备切换到目标小区的方法、装置及基站
KR20130093953A (ko) 단말간 통신을 지원하는 방법 및 장치
WO2016201796A1 (zh) 专网注册实现方法、系统、网元设备及计算机存储介质
WO2015149463A1 (zh) D2d发现的处理方法及装置
WO2014169786A1 (zh) 一种用户设备间的发现方法、系统及装置
WO2015117272A1 (zh) 一种发起本地路由通信的方法、基站装置和终端装置
KR102233595B1 (ko) 단말 간 근접 발견을 위한 방법 및 장치
WO2012130133A1 (zh) 一种接入点及终端接入方法
WO2013071792A1 (zh) 一种mtc终端的通信方法、系统及中心控制节点
WO2013170449A1 (zh) 处理网络共享的方法、装置及系统
WO2015154426A1 (zh) ProSe临时标识的通知与更新方法和装置

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

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2013878648

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 14768309

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE