WO2015062094A1 - Method and apparatus for proximity service register - Google Patents

Method and apparatus for proximity service register Download PDF

Info

Publication number
WO2015062094A1
WO2015062094A1 PCT/CN2013/086463 CN2013086463W WO2015062094A1 WO 2015062094 A1 WO2015062094 A1 WO 2015062094A1 CN 2013086463 W CN2013086463 W CN 2013086463W WO 2015062094 A1 WO2015062094 A1 WO 2015062094A1
Authority
WO
WIPO (PCT)
Prior art keywords
short
service
distance
range
terminal
Prior art date
Application number
PCT/CN2013/086463
Other languages
French (fr)
Chinese (zh)
Inventor
庄雯
郭雅莉
熊春山
孙严智
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2013/086463 priority Critical patent/WO2015062094A1/en
Priority to CN201380002925.3A priority patent/CN105379378B/en
Publication of WO2015062094A1 publication Critical patent/WO2015062094A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services

Definitions

  • the present invention relates to the field of network communication technologies, and in particular, to a proximity service registration method and apparatus.
  • Proximity service is a newly emerging communication service.
  • the primary use of proximity services is to enable direct communication between terminals.
  • two terminals that support close-range services can directly conduct voice communication through close-range services.
  • the data in the communication process does not need to pass through the base station, the mobile management entity of the core network or the gateway, and the two terminals can use a specific frequency band to realize data transmission.
  • the registration method of the short-distance service is mainly: the terminal registers its own ID and the settings of the close-range service to the network; the network stores related information and allocates a broadcast code for the short-range device broadcast to the device (Broadcast Code) 0 after registration is completed, when the terminal requests a service for close, the server needs to send a request to close; close server after receiving the request, the mobility management entity needs (mobility management entity, MME) sends a request; the MME receives After the request sent by the proximity server, it checks whether the network where the terminal is located supports short-distance services. When the network does not support the short-distance service, the MME interacts with the proximity server to inform the proximity server that the network where the terminal is located does not support the proximity service; finally, the proximity server rejects the request of the terminal.
  • the present invention provides a short-distance service registration method and apparatus, which improves the registration process of a short-distance service, and solves the problem that when the terminal requests to initiate a close-range service in a network that does not support the short-distance service, the communication system is caused.
  • the application provides a short-distance service registration method, including: The terminal determines that the network supports the short-range service, where the network is the network where the terminal is currently located, or the network to which the terminal is to be switched;
  • the registration request to start the close-range service is sent to the proximity service server.
  • the terminal before the terminal determines that the network supports the proximity service, the terminal further includes:
  • the short-range service capability information is obtained by the base station according to the configuration information of the base station, or the short-range service capability information is obtained by the base station according to a signaling interaction process with the mobility management entity;
  • the terminal determines that the network supports the short-distance service, and specifically includes:
  • the sending, by the short-distance service server, the registration request for starting the short-range service specifically includes:
  • the short-distance service server Transmitting, to the short-distance service server, a registration request for opening the short-range service; the request for opening the close-range service includes short-distance service configuration information of the terminal;
  • the short-range service configuration information includes: whether the terminal is allowed to discover configuration information of other terminals, and/or configuration information of whether the terminal is allowed to be discovered by other terminals.
  • the method further includes:
  • the application provides another method for close-up service registration, including:
  • the terminal determines that the network does not support the short-distance service, and the network is the network where the terminal is currently located, Or the network to which the terminal is to be switched;
  • the registration request to close the short-range service is sent to the proximity service server.
  • the method before the terminal determines that the network does not support the short-range service, the method further includes:
  • the short-range service capability information is obtained by the base station according to the configuration information of the base station, or the short-range service capability information is obtained by the base station according to a signaling interaction process with the mobility management entity;
  • the terminal determines that the network does not support the short-distance service, and specifically includes:
  • the method further includes:
  • the terminal When the terminal enters a new cell, determining that the cell supports the short-range service; when the cell supports the short-range service, sending a second tracking area update request that includes short-range service configuration information to the base station, In order for the base station to forward the second tracking area update request to the mobility management entity, the mobility management entity sends a request to start the short-range service to the short-range service server, where the short-range service server follows The short-range service configuration information starts the close-range service.
  • the application provides a short-distance service update method, including:
  • the mobility management entity determines that the terminal has entered a new cell
  • the change includes: the new cell support The short-range service and the previous cell does not support the short-range service, or the new cell does not support the short-distance service and the previous cell supports the short-distance service;
  • the update request for the short-distance service of the terminal is sent to the proximity service server.
  • the path switch request is generated by the base station in performing a handover process on the terminal in the connected state.
  • the update request for the close-range service includes:
  • the first short-distance service update request carrying the close-range service close information is sent to the short-range service server, so that the new cell
  • the proximity service service closes the proximity service of the terminal.
  • the short-range service configuration information includes: whether the terminal is allowed to discover configuration information of other terminals, and/or configuration information of whether the terminal is allowed to be discovered by other terminals.
  • the application provides a proximity service registration apparatus, including:
  • a determining unit configured to determine that the network supports the short-distance service; the network is a network where the terminal is currently located, or a network to which the terminal is to be switched;
  • a sending unit configured to send, when the determining unit determines that the network supports the near-distance service, a registration request to start the close-range service to the proximity service server.
  • the apparatus further includes:
  • An acquiring unit configured to acquire a broadcast that includes the short-range service capability information sent by the base station, where the short-range service capability information is used to indicate that the network supports the short-range service;
  • the short-range service capability information is obtained by the base station according to the configuration information of the base station, or the short-range service capability information is obtained by the base station according to a signaling interaction process with the mobility management entity;
  • the determining unit specifically includes:
  • Determining a subunit configured to determine, according to the short-range service capability information, that the network supports a close-range service.
  • the sending unit specifically: the first sending subunit, configured to send, to the short-distance service server, a registration request for enabling the short-distance service;
  • the registration request of the short-range service includes short-distance service configuration information of the terminal;
  • the short-range service configuration information includes: whether the terminal is allowed to discover configuration information of other terminals, and/or configuration information of whether the terminal is allowed to be discovered by other terminals.
  • the determining unit is further configured to: after the sending the registration request for opening the short-distance service to the short-distance service server, when the terminal enters a new cell, Determining that the cell does not support the proximity service;
  • the sending unit is further configured to: when the cell does not support the short-range service, send, to the base station, a first tracking area update request that includes short-range service shutdown information, so that the base station updates the first tracking area.
  • the request is forwarded to a mobility management entity, and the mobility management entity sends a request to the proximity service server to close the proximity service.
  • the application provides a proximity service registration apparatus, including:
  • a determining unit configured to determine that the network does not support the short-range service, where the network is the network where the terminal is currently located, or the network to which the terminal is to be switched;
  • a sending unit configured to send, when the determining unit determines that the network does not support the proximity service, send a registration request to close the short-range service to the proximity service server.
  • the device further includes:
  • An acquiring unit configured to acquire, by the base station, a broadcast that includes short-range service capability information, where the short-range service capability information is used to indicate that the network does not support the short-range service;
  • the short-range service capability information is obtained by the base station according to configuration information of the base station, or the short-range service capability information is that the base station interacts with signaling according to a mobility management entity. Obtained by Cheng
  • the determining unit specifically includes:
  • the determining subunit is configured to determine, according to the short-range service capability information, that the network does not support the short-distance service.
  • the determining unit is further configured to: after sending the registration request to close the short-range service to the short-distance service server, when the terminal enters a new cell, Determining that the cell supports the short-range service;
  • the second tracking area update request including the short-range service configuration information
  • the base station forwards the second tracking area update request to the mobility management entity, where the cell supports the short-range service
  • the mobility management entity sends a request for opening the short-range service to the short-range service server, and the short-distance service server starts the close-range service according to the short-range service configuration information.
  • the application provides a short-range service updating apparatus, including:
  • a determining unit configured to determine that the terminal enters a new cell
  • the determining unit is further configured to determine that the capability of the new cell to support the proximity service is changed with respect to the previous cell where the terminal is located; the change includes The new cell supports the short-range service and the previous cell does not support the short-range service, or the new cell does not support the short-range service and the previous cell supports the short-distance service; The new cell sends an update request for the short-distance service of the terminal to the short-distance service server when the capability of the short-distance service is changed with respect to the previous cell in which the terminal is located.
  • the determining unit specifically includes: a first determining subunit, configured to determine that a tracking area update request is received by the terminal; and/or a second determining subunit And determining, by the base station, a path switch request sent by the base station, where the path switch request is generated by the base station in performing a handover process on the terminal in the connected state.
  • the sending unit specifically includes: a first sending subunit, configured to: when the new cell does not support the short-distance service, and the previous cell supports the short-distance service Sending a close proximity service close message to the proximity service server The first close proximity service update request, so that the proximity service server closes the proximity service of the terminal.
  • the sending unit includes: a second sending subunit, configured to: when the new cell supports the short-distance service, and the previous cell does not support the short-distance service Transmitting, to the short-distance service server, a second short-range service update request that includes the short-range service configuration information, so that the short-distance service server starts the close-range service according to the short-range service configuration information;
  • the short-range service configuration information includes: whether the terminal is allowed to discover configuration information of other terminals, and/or configuration information of whether the terminal is allowed to be discovered by other terminals.
  • the application provides a close-range service registration device, including:
  • a processor configured to determine that the network supports the short-range service; the network is a network where the terminal is currently located, or a network to which the terminal is to be switched;
  • a transmitter configured to send, when the processor determines that the network supports the near-distance service, a registration request to start the close-range service to the proximity service server.
  • the application provides a close-range service registration device, including:
  • a processor configured to determine that the network does not support short-range services, where the network is a network where the terminal is currently located, or a network to which the terminal is to be switched;
  • a transmitter configured to send, when the processor determines that the network does not support the near-distance service, send a registration request to close the short-range service to the proximity service server.
  • the application provides a short-range service updating apparatus, including:
  • a processor configured to determine that the terminal enters a new cell
  • the processor is further configured to determine that the capability of the new cell to support the proximity service is changed with respect to the previous cell where the terminal is located; the change includes The new cell supports the short-range service, and the previous cell does not support the short-distance service, or the new cell does not support the short-distance service and the previous cell supports the short-distance service;
  • the short-distance service registration method and device of the present application can determine the network's ability to support the short-distance service by determining whether the network supports the short-distance service, so as to avoid the ability of the network to support the close-range service.
  • a short-range service request is initiated, so that the signaling overhead of the communication system is reduced.
  • Embodiment 1 is a flowchart of Embodiment 1 of a short-distance service registration method according to the present application;
  • Embodiment 2 is a flowchart of Embodiment 2 of a short-distance service registration method according to the present application
  • FIG. 3 is a flow chart of the terminal changing the short-distance service setting when the capability of the cell changes;
  • FIG. 4 is a flowchart of Embodiment 1 of the short-distance service update method of the present application;
  • FIG. 5 is a flowchart of Embodiment 2 of a short-range service update method according to the present application.
  • Embodiment 6 is a flowchart of Embodiment 3 of a short-range service update method according to the present application.
  • FIG. 7 is a structural diagram of an embodiment of a proximity service registration apparatus of the present application.
  • FIG. 8 is a structural diagram of another embodiment of a proximity service registration apparatus according to the present application.
  • FIG. 9 is a structural diagram of an embodiment of a short-range service update apparatus of the present application.
  • FIG. 10 is a structural diagram of another embodiment of a proximity service registration apparatus
  • FIG. 11 is a structural diagram of another embodiment of a proximity service registration apparatus
  • FIG. 12 is a structural diagram of another embodiment of a proximity service update apparatus
  • FIG. 13 is a structural diagram of a computing node of the present application. detailed description
  • the short-distance service referred to in the present application refers to a service in which a terminal can discover another terminal in a physical close range and can perform optimized communication with another terminal.
  • the optimized communication may be that the communication data between the terminals may be directly transmitted through the agreed frequency band between the terminals without going through the mobile operator's network.
  • the short-distance service includes: a service that directly performs voice data transmission between the terminals to implement a call, and directly performs file data transmission between the terminals to implement file transmission, and directly transmits short message data between the terminals to implement sending and receiving short messages. Business and so on.
  • FIG. 1 is a flowchart of Embodiment 1 of a short-distance service registration method according to the present application. As shown in Figure 1, the method can include:
  • Step 101 The terminal determines whether the network supports the short-distance service; the network is the network where the terminal is currently located, or the network to which the terminal is to be switched;
  • the terminal may be a device such as a mobile phone that supports short-distance services.
  • the terminal can pass through the base station
  • the broadcast of (EvolvedNode B, eNodeB) obtains the close-range service capability information of the network.
  • the short-range service capability information may indicate whether the network supports short-range services.
  • the base station may obtain the short-distance service capability of the network where the terminal is located through a signaling interaction process with the mobility management entity (MME), or obtain the network where the terminal is located by using configuration information stored in the base station itself. Close-range business capabilities.
  • the MME may carry the short-range service capability information of the network in the SI signaling that establishes the SI process with the eNodeB in the prior art.
  • the eNodeB can learn the short-distance service capability of the network according to the short-range service capability information in the S1 signaling.
  • the network may be the network where the terminal is currently located, or may be the network to which the terminal is to be switched.
  • Step 102 When the network supports the short-distance service, send a registration request for starting the close-range service to the short-distance service server.
  • the proximity server can obtain the subscription information of the terminal.
  • the subscription information records information about whether the terminal has opened a close-range service. If the terminal has opened the proximity service, the proximity service server may start the proximity service of the terminal after receiving the registration request for opening the proximity service; if the terminal is not opened yet After the proximity service server receives the registration request to enable the proximity service, the proximity service server may refuse to open the proximity service of the terminal. Step 103: When the network does not support the short-distance service, send a registration request to close the close-range service to the proximity service server.
  • the short-distance service server may close the short-distance service of the terminal after receiving the registration request to close the short-range service. If the terminal does not open the proximity service during the previous registration process, the proximity service server may not respond after receiving the registration request to close the proximity service.
  • step 102 and step 103 is a relationship between the foregoing steps, that is, there may be an embodiment including step 101, step 102 and step 103, and an embodiment including step 101 and step 102 may be present, and step 101 may be included. And the embodiment of step 103.
  • the short-distance service registration method in this embodiment determines whether the network supports the short-distance service, so that when the terminal registers on the network, the network can learn the capability of the network to support the short-distance service, thereby avoiding that the terminal is not supported.
  • the signaling overhead of the communication system is reduced.
  • FIG. 2 it is a flowchart of Embodiment 2 of the short-distance service registration method of the present application. The process can include:
  • Step 201 The base station (eNodeB) sends an S1 establishment request to the mobility management entity (MME).
  • the S1 setup response includes ProSe capability information of the network.
  • Step 201 and step 202 are optional steps.
  • the eNodeB and the MME interact with each other through the S1 establishment process of the existing S1 signaling, and obtain the ProSe capability information of the network.
  • the ProSe capability information can indicate whether the network can support the ProSe service. If the eNodeB can obtain the ProSe capability information of the network according to the configuration information, the above two steps can be skipped.
  • Step 203 The base station sends a broadcast of the short-distance service capability of the network to the user equipment.
  • the request may include the user equipment identifier, and information about enabling or closing the close-range service. .
  • the user equipment may determine, according to the received broadcast, whether the network supports the short-distance service; when the network supports the short-distance service, the MME may send a registration request for opening the short-distance service to the short-distance service server by using the MME; When the network does not support the short-distance service, the MME may send a registration request to close the short-range service to the short-distance service server.
  • the request may include a user equipment identifier, and information for turning on or off the close-range service, and may also include setting information for the close-range service.
  • the device identifier may be the IMSI or MSISDN of the device or the temporary identifier of the device assigned by the network.
  • the message may use an existing network attach request message, or a non-access stratum (NAS) message such as a location update message, or an access stratum (AS) message sent by the device to the MME through the base station.
  • NAS non-access stratum
  • AS access stratum
  • the setting information may be close-range discovery configuration information of the user equipment.
  • the configuration information found at close range can include: “You can find others, but you can't be discovered by others.” “You can find that others can be discovered by others.” “You can't find others, you can't be discovered by others.” “You can't find others.” But it is allowed to be discovered by others. "Every time I ask if I am allowed to be discovered by the other party", I am allowed to discover my own device identification list, and I am not allowed to find my own device identification list.
  • Step 205 The MME forwards the short-range service request sent by the user equipment to the ProSe Server.
  • Step 206 After receiving the short-range service request, the short-distance service server determines whether the user equipment allows the short-distance service. If allowed, the proximity service request is accepted; if not allowed, the device's proximity service request is rejected.
  • the proximity service server can send the device identification to the Home Subscriber Server (HSS), and obtain the subscription data of the device from the HSS.
  • the contract data includes information on whether the device is allowed to perform close-range services.
  • the proximity service server can determine whether to allow the close-range service of the device according to the obtained subscription data. If the proximity service server has obtained the device subscription data before, it does not need to obtain the device from the HSS. It can directly determine whether to allow the device to be close-range service according to the device subscription data saved locally by the proximity service server.
  • Step 206 The proximity server sends a close proximity service accept message to the MME.
  • the short-range service acceptance message may include a device-to-device identification (D2D ID) and a device-to-device password (D2D Code) allocated for the user equipment.
  • D2D ID device-to-device identification
  • D2D Code device-to-device password
  • the short-distance service server can allocate the D2D Code and the D2D ID to the device, and can also save the received user equipment identifier and the setting information of the user equipment for the close-range service.
  • the optional proximity service server saves the device's close-range discovery configuration information.
  • the short-distance service server can provide its own routing information to the device, so that the device can provide the obtained short-distance service server routing information to the application layer server in the subsequent application layer interaction, and the application layer server according to the route.
  • the information can be found by the proximity service server registered by the device for message interaction to obtain a close-range business service.
  • the routing information may be a server identifier of the proximity service server, such as but not limited to a Uniform Resource Identifier (URI), or may be in the form of an IP address or the like.
  • URI Uniform Resource Identifier
  • the proximity service server can also carry routing information in the D2D ID assigned to the device, for example, the D2D ID assigned to the device is defined as "device d2d id@proximityserver URI".
  • different short-distance service servers can use different D2D ID ranges, so that the device provides the D2D ID to the application layer server in the subsequent application layer interaction, and the application layer server can directly extract the close distance from the D2D ID.
  • the routing information of the service server, or the routing information of the corresponding short-distance service server is found according to the range of the D2D ID, so that the short-distance service support can be obtained from the short-distance service server.
  • the short-range service server allocates a decryption key to the short-range device, and sends the information to the user equipment by using the MME in this step.
  • the decryption key can be used for decryption.
  • Step 207 The MME forwards the short-range service accept message to the user equipment.
  • Step 208 The user equipment sends a device to device service registration request (D2D Service Registration Request) to the application layer server (Application Server).
  • the device-to-device service registration request may include a device-to-device identification (D2D ID).
  • the user equipment may send a D2D service registration request to the application server, where the D2D ID assigned by the proximity service server to the device is carried, and the application server saves the D2D ID.
  • the D2D ID can carry the routing information of the short-distance service server, and the application server can route the information to the corresponding short-distance service server, and determine the legality of the D2D ID through the short-distance service server. If not, the application server The D2D service registration request can be rejected.
  • Step 209 The application layer server sends a D2D Code update message to the MME.
  • Step 209 is an optional step. If the short-distance service server receives the D2D service registration request sent by the application server, and confirms that the D2D ID is valid, the device may allocate a new D2D code according to the specifically registered application. This D2D Code is related to the registered application. Close-range business Send the updated D2D Code to the MME. If no new D2D Code is assigned, skip this step. Step 210: The MME forwards the D2D Code update message to the user equipment.
  • the user equipment may also fail to communicate with the proximity service server.
  • the MME performs direct interaction.
  • the MME may forward the message forwarding procedure between the proximity service server and the user equipment.
  • the cell can be the smallest unit of the ProSe-enabled network.
  • the concept of the Tracking Area ( ⁇ ) below is greater than the cell.
  • a tracking area can include multiple cells.
  • the terminal When the terminal enters a new cell, it may be determined whether the cell supports the short-range service; when the short-distance service capability of the cell changes with respect to a short-distance service capability of a cell to which the terminal belongs, the terminal You can initiate a process to change the proximity business settings.
  • the short-distance service capability of the cell changes, including two cases: The first case is that the terminal enters a cell that does not support the short-distance service by the cell supporting the short-distance service; the second case is that the terminal does not support the close-range The cell of the service enters a cell supporting the short-distance service.
  • the first tracking area update request including the short-range service closing information is sent to the base station, so that the base station sends the first tracking area update request.
  • the mobility management entity forwarding to the mobility management entity, the mobility management entity sends a request to close the proximity service to the proximity service server.
  • the second tracking area update request including the short-range service configuration information may be sent to the base station, so that the base station sends the second tracking area update request.
  • the mobility management entity forwarding to the mobility management entity, the mobility management entity sends a request to open the proximity service to the short-range service server, and the proximity service server starts the proximity service according to the short-range service configuration information .
  • Figure 3 is a flow chart of the terminal changing the close-range service setting when the capability of the cell changes. As shown
  • the process can include:
  • Step 301 The base station generates a broadcast carrying the network capability information to the user equipment.
  • the network capability information may indicate whether the new cell supports short-range traffic.
  • Step 303 The base station forwards the tracking area update request to the MME.
  • Step 304 The MME sends a request for opening or closing the proximity service to the proximity server according to the indication information in the tracking area update request.
  • the proximity service server can determine whether to allow the ProSe service of the device from the registration information. If the proximity service server determines that the device is not allowed to use the ProSe service, the proximity service request information is rejected. If the proximity service server determines that the ProSe service of the device is allowed, the ProSe setting of the device update is stored, and step 305 is performed.
  • Step 305 The proximity service server sends a short-range service accept message to the MME. This message can indicate that the Proximity Service Server has successfully updated the ProSe settings of the device.
  • Step 306 The MME sends a tracking area update response (TAU Response) to the base station, and informs the base station that the TAU process has been successfully executed.
  • TAU Response tracking area update response
  • Step 307 The base station forwards the tracking area update response to the user equipment, and informs the user equipment that the TAU process has been successfully performed, and successfully updates the ProSe setting of the device.
  • the user equipment may have two states: a connected state and an idle state.
  • the method in FIG. 3 can be directly adopted.
  • the handover procedure may switch the user equipment from the source eNodeB to the target eNodeB and switch the data to the new eNodeB, so that the data is transmitted from the new eNodeB to the core network for transmission.
  • the connected state data is transmitted through the core network in the original network and the switched network, rather than through the D2D connection.
  • the application also provides a proximity service update method. 4 is a flow chart of Embodiment 1 of the proximity service update method of the present application. The process can include:
  • Step 401 The base station sends an S1 establishment request to the MME.
  • the S1 setup request may include the short-range service capability information of the base station.
  • the short-range service capability information may indicate whether the network to which the terminal is to be switched supports short-range services.
  • Step 402 The MME stores the ProSe capability information of the network, and sends an S1 setup to the eNodeB.
  • the response message informs the eNodeB of the corresponding information.
  • Step 403 The base station sends a broadcast to the user equipment to notify the user whether the cell switched by the device supports the ProSe service.
  • Step 404 The user equipment sends a tracking area update request to the base station.
  • the tracking area update request can be implemented using existing signaling in an existing TAU flow. Compared with the process in Figure 3, the tracking area update request in this process does not carry indication information.
  • Step 405 The base station forwards the tracking area update request to the MME.
  • the MME After receiving the request, the MME determines, according to the short-range service capability information of the network stored in step 401, whether the capability of the cell in which the user equipment is located is changed relative to the new cell that is about to enter. If the near-field service capability changes, step 406 is performed.
  • Step 406 The MME generates a close-range service request to the proximity server.
  • the short-range service request may be a request to open a close-range service, or may be a request to close a close-range service.
  • the short-range service request may further include short-distance service configuration information of the user equipment.
  • the short-range service configuration information includes: configuration information about whether the terminal can discover other terminals, and/or configuration information about whether the terminal can be discovered by other terminals.
  • Step 407 The proximity service server sends a short-range service accept message to the MME. This message can indicate that the Proximity Service Server has successfully updated the ProSe settings of the device.
  • Step 408 The MME sends a tracking area update response (TAU Response) to the base station, and informs the base station that the TAU process has been successfully executed.
  • TAU Response tracking area update response
  • Step 409 The base station forwards the tracking area update response to the user equipment, and informs the user equipment that the TAU process has been successfully performed, and successfully updates the ProSe setting of the device.
  • the MME detects whether the short-distance service capability of the network changes, and may enable the user equipment to send the tracking area update request according to the manner in the prior art, without modifying the tracking area update request message.
  • FIG. 5 is a flowchart of Embodiment 2 of a short-range service update method according to the present application. As shown in FIG. 5, the process may include:
  • Step 501 The base station sends an S1 establishment request to the MME.
  • the S1 setup request may include the short-range service capability information of the base station.
  • the short-range service capability information may indicate whether the network to which the terminal is to be switched supports short-range services.
  • Step 502 The MME stores the ProSe capability information of the network, and sends an S1 setup response message to the eNodeB to notify the eNodeB of the corresponding information.
  • the step of transmitting the broadcast message to the user equipment by the base station can be omitted as compared with the embodiment in FIG.
  • the tracking area update request can be implemented using existing signaling in an existing TAU flow. Compared with the process in Figure 3, the tracking area update request in this process does not carry indication information.
  • Step 504 The base station forwards the tracking area update request to the MME.
  • the MME After receiving the request, the MME determines, according to the short-range service capability information of the network stored in step 501, whether the capability of the TA that the user equipment is in before is changed with respect to the new TA that is about to enter. If the near-field service capability changes, step 506 is performed.
  • Step 505 The MME generates a close-range service request to the proximity server.
  • the short-range service request may be a request to open a close-range service, or may be a request to close a close-range service.
  • the proximity service server can determine whether to allow the ProSe service of the device from the registration information. If the proximity service server determines that the device is not allowed to use the ProSe service, the proximity service request information is rejected. If the proximity service server determines that the ProSe service of the device is allowed, the ProSe setting updated by the user device is stored.
  • the short-range service request may further include short-distance service configuration information of the user equipment.
  • the short-range service configuration information includes: configuration information about whether the terminal can discover other terminals, and/or configuration information about whether the terminal can be discovered by other terminals.
  • Step 506 The proximity service server sends a short-range service accept message to the MME. The message may indicate that the Proximity Service Server has successfully updated the ProSe settings of the device.
  • Step 508 The base station forwards the tracking area update response to the user equipment, and informs the user equipment that the TAU process has been successfully performed, and successfully updates the ProSe setting of the device.
  • the method in FIG. 4 or FIG. 5 may be directly used.
  • the step of determining the network capability of the MME may be added in the handover procedure. See Figure 6 for details.
  • FIG. 6 is a flowchart of Embodiment 3 of the short-range service update method of the present application.
  • the process may include: Step 601: The base station sends an S1 establishment request to the MME.
  • Step 602 The MME stores the ProSe capability information of the network, and sends an S1 setup response message to the eNodeB to notify the eNodeB of the corresponding information.
  • Step 603 The base station sends a path switch request to the MME.
  • the target eNodeB sends a Path Switch Request message to the MME to inform the MME that the device has entered the new cell.
  • This message is a message defined in the existing handover process.
  • the MME determines, according to the short-range service capability information of the network stored in step 601, whether the capability of the cell in which the user equipment is located is changed relative to the new cell that is about to enter. If the near-field service capability changes, step 604 is performed.
  • Step 604 The MME generates a close-range service request to the proximity server.
  • the short-range service request may be a request to open a close-range service, or may be a request to close a close-range service.
  • the proximity service server can determine whether to allow the ProSe service of the device from the registration information. If the proximity service server determines that the device is not allowed to use the ProSe service, the proximity service request information is rejected. If the proximity service server determines that the ProSe service of the device is allowed, the ProSe setting updated by the user device is stored.
  • the short-distance industry of the user equipment may also be included. Configuration information.
  • the short-range service configuration information includes: configuration information about whether the terminal can discover other terminals, and/or configuration information about whether the terminal can be discovered by other terminals.
  • Step 605 The short-range service server sends a short-range service accept message to the MME. This message can indicate that the Proximity Service Server has successfully updated the ProSe settings of the device.
  • Step 606 The MME sends a path switch request acknowledgement message to the base station, indicating that the handover has been successfully performed.
  • the tracking area update process can also be performed.
  • the method in this embodiment can be applied to update the related settings of the proximity service when the user equipment in the connected state enters the new cell.
  • the application also provides a proximity service registration device.
  • the proximity service registration device may be a user equipment.
  • FIG. 7 is a structural diagram of an embodiment of a proximity service registration apparatus of the present application. As shown in Figure 7, the device can include:
  • the determining unit 701 is configured to determine that the network supports the short-distance service; the network is the network where the terminal is currently located, or the network to which the terminal is to be switched;
  • An acquiring unit configured to acquire a broadcast that includes the short-range service capability information sent by the base station, where the short-range service capability information is used to indicate whether the network supports the short-range service;
  • the short-range service capability information is obtained by the base station according to the configuration information of the base station, or the short-range service capability information is obtained by the base station according to a signaling interaction process with the mobility management entity;
  • determining a subunit configured to determine, according to the short-range service capability information, whether the network supports the short-range service.
  • the sending unit 702 may specifically include:
  • a first sending subunit configured to send, to the short-distance service server, a registration request for enabling the short-distance service;
  • the request for opening the short-distance service includes a short-distance of the terminal Configuration information;
  • the short-range service configuration information includes: configuration information about whether the terminal can discover other terminals, and/or configuration information about whether the terminal can be discovered by other terminals.
  • the determining unit 701 can also be used to:
  • the short-distance service server After the short-distance service server sends a registration request for enabling the short-range service, when the terminal enters a new cell, determining whether the cell supports the short-range service;
  • the sending unit 702 is further configured to: when the cell does not support the short-range service, send, to the base station, a first tracking area update request that includes short-range service shutdown information, so that the base station The first tracking area update request is forwarded to the mobility management entity, and the mobility management entity sends a request to close the proximity service to the proximity service server.
  • the determining unit 701 is further configured to: after sending the registration request to close the short-range service to the short-distance service server, when the terminal enters a new cell, determine whether the cell supports the Said close-range business;
  • the sending unit 702 is further configured to: when the cell supports the short-range service, send, to the base station, a second tracking area update request that includes short-range service configuration information, so that the base station And the second tracking area update request is forwarded to the mobility management entity, and the mobility management entity sends a request to start the short-distance service to the short-range service server, where the short-distance service server starts according to the short-range service configuration information.
  • the close range service when the cell supports the short-range service, send, to the base station, a second tracking area update request that includes short-range service configuration information, so that the base station And the second tracking area update request is forwarded to the mobility management entity, and the mobility management entity sends a request to start the short-distance service to the short-range service server, where the short-distance service server starts according to the short-range service configuration information.
  • the close range service when the cell supports the short-range service, send, to the base station, a second tracking area update request that includes short-range service
  • the present application also provides another proximity service registration device.
  • the proximity service registration device can be a user equipment.
  • FIG. 8 is a structural diagram of another embodiment of a proximity service registration apparatus according to the present application. As shown in Figure 8, the device can include:
  • a determining unit 801 configured to determine that the network does not support the short-range service; where the network is the network where the terminal is currently located, or the network to which the terminal is to be switched;
  • the device may further include:
  • An acquiring unit configured to acquire, by the base station, a broadcast that includes short-range service capability information, where the short-range service capability information is used to indicate that the network does not support the short-range service;
  • the short-range service capability information is obtained by the base station according to configuration information of the base station, or the short-range service capability information is that the base station interacts with signaling according to a mobility management entity. Obtained by Cheng
  • the determining unit 801 may specifically include:
  • the determining subunit is configured to determine, according to the short-range service capability information, that the network does not support the short-distance service.
  • the sending unit 802 may specifically include:
  • a first sending sub-unit configured to send, to the short-distance service server, a registration request for enabling the short-distance service;
  • the request for opening the short-distance service includes short-distance service configuration information of the terminal;
  • the short-range service configuration information includes: whether the terminal is allowed to discover configuration information of other terminals, and/or configuration information of whether the terminal is allowed to be discovered by other terminals.
  • the determining unit 801 can also be used to:
  • the short-distance service server After the short-distance service server sends a registration request to enable the short-distance service, when the terminal enters a new cell, it is determined that the cell does not support the short-distance service;
  • the sending unit is further configured to: when the cell does not support the short-range service, send, to the base station, a first tracking area update request that includes short-range service shutdown information, so that the base station updates the first tracking area.
  • the request is forwarded to a mobility management entity, and the mobility management entity sends a request to the proximity service server to close the proximity service.
  • the determining unit 801 can also be used to:
  • FIG. 9 is a structural diagram of an embodiment of a short-range service updating apparatus according to the present application. As shown in Figure 9, the device can include:
  • a determining unit 901 configured to determine that the terminal enters a new cell; When the terminal enters a new cell, the determining unit is further configured to determine that the capability of the new cell to support the proximity service is changed with respect to the previous cell where the terminal is located; the change includes The new cell supports the short-range service and the previous cell does not support the short-range service, or the new cell does not support the short-range service and the previous cell supports the short-distance service; the sending unit 902 is configured to: When the new cell has changed its ability to support the short-range service with respect to the previous cell in which the terminal is located, an update request for the short-distance service of the terminal is sent to the proximity service server.
  • a first determining subunit configured to determine a tracking area update request that receives the terminal
  • a second determining subunit configured to determine a path switching request sent by the receiving base station; the path switching request is The base station is generated in the process of performing a handover procedure on the terminal in the connected state.
  • a first sending subunit configured to send, when the new cell does not support the short-distance service, the first cell supports the short-distance service, and send the first close distance that carries the close-range service closing information to the short-distance service server.
  • a service update request so that the proximity service server closes the proximity service of the terminal.
  • the sending unit 902 may specifically include:
  • a second sending subunit configured to send a second close distance including the short-range service configuration information to the short-distance service server when the new cell supports the short-distance service and the previous cell does not support the short-distance service a service update request, so that the proximity service server starts the proximity service according to the short-range service configuration information;
  • the short-range service configuration information includes: whether the terminal is allowed to discover configuration information of other terminals, and/or configuration information of whether the terminal is allowed to be discovered by other terminals.
  • the present application also provides another proximity service registration device.
  • Figure 10 is a block diagram showing another embodiment of a proximity service registration device. As shown in FIG. 10, the apparatus may include:
  • the processor 1001 is configured to determine that the network supports the short-range service; where the network is the network where the terminal is currently located, or the network to which the terminal is to be switched;
  • a transmitter 1002 configured to: when the processor 1001 determines that the network supports short-range services, The service server sends a close proximity of the open service registration request £ present application also provides another apparatus close registration service.
  • 11 is a structural diagram of another embodiment of a proximity service registration apparatus. As shown in FIG. 11, the device may include:
  • the processor 1101 is configured to determine that the network does not support the short-range service, where the network is the network where the terminal is currently located, or the network to which the terminal is to be switched;
  • the transmitter 1102 is configured to determine, by the processor 1101, that when the network does not support the short-range service, send a registration request to close the short-range service to the short-range service server.
  • the present application also provides another proximity service update device.
  • Figure 12 is a block diagram showing another embodiment of a proximity service update device. As shown in FIG. 12, the apparatus may include:
  • the processor 1201 is configured to determine that the terminal enters a new cell.
  • the processor 1201 is further configured to determine that the capability of the new cell to support the proximity service is changed with respect to the previous cell where the terminal is located;
  • the method includes: the new cell supports the short-range service, and the previous cell does not support the short-distance service, or the new cell does not support the short-distance service and the previous cell supports the short-distance service; the transmitter 1202, And when the new cell is changed in relation to the previous cell in which the terminal is located, and the capability of supporting the short-distance service is changed, the update request for the short-distance service of the terminal is sent to the short-distance service server.
  • the embodiment of the present application further provides a computing node, which may be a host server including computing power, or a personal computer PC, or a portable computer or terminal, etc., and the specific embodiment of the present application is not correct.
  • the specific implementation of the compute node is limited.
  • FIG. 13 is a structural diagram of a computing node of the present application.
  • the compute node 700 includes a processor 710, a Communications Interface 720, a memory 730, and a bus 740.
  • the processor 710, the communication interface 720, and the memory 730 complete communication with each other via the bus 740.
  • the processor 710 is configured to execute the program 732.
  • program 732 can include program code, the program code including computer operating instructions.
  • Processor 710 may be a central processing unit CPU or a specific integrated circuit ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present application.
  • ASIC Application Specific Integrated Circuit
  • the memory 730 is configured to store the program 732.
  • Memory 730 may include high speed RAM memory and may also include non-volatile memory, such as at least one disk storage.
  • the program 732 may specifically include:
  • the determining unit 701 is configured to determine that the network supports the short-distance service; the network is the network where the terminal is currently located, or the network to which the terminal is to be switched;
  • the sending unit 702 is configured to send, when the determining unit 701 determines that the network supports the short-distance service, a registration request to start the close-range service to the proximity service server.
  • the program 732 may specifically include:
  • a determining unit 801 configured to determine that the network does not support the short-range service; where the network is the network where the terminal is currently located, or the network to which the terminal is to be switched;
  • the sending unit 802 is configured to, when the determining unit 801 determines that the network does not support the short-range service, send a registration request to close the short-distance service to the proximity service server.
  • the program 732 may specifically include:
  • a determining unit 901 configured to determine that the terminal enters a new cell
  • the determining unit is further configured to determine that the capability of the new cell to support the proximity service is changed with respect to the previous cell where the terminal is located; the change includes The new cell supports the short-range service, and the previous cell does not support the short-distance service, or the new cell does not support the short-distance service and the previous cell supports the short-distance service;
  • the sending unit 902 is configured to send, when the new cell is changed, the capability of supporting the short-distance service with respect to the previous cell where the terminal is located, sending the close-range to the short-distance service server Business update request.
  • each module in the program 732 refers to the corresponding units in the embodiment shown in FIG. 7 to FIG. 9 , and details are not described herein.
  • the various embodiments in the present specification are described in a progressive manner, and each embodiment focuses on differences from other embodiments, and the same similar parts between the various embodiments may be referred to each other.
  • the description is relatively simple, and the relevant parts can be referred to the description of the method part.
  • the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in a combination of electronic hardware or electronic hardware and computer software.
  • the steps of a method or algorithm described in connection with the embodiments disclosed herein can be implemented directly in hardware, a software module executed by a processor, or a combination of both.
  • the software module can be placed in random access memory (RAM), memory, read only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or technical field. Any other form of storage medium known.

Abstract

Disclosed in the present invention are a method and apparatus for proximity service registration. The method comprises: a terminal determines whether a network which the terminal is currently in or is going to switch to supports the proximity service; when the network supports the proximity service, a registration request for starting the proximity service is sent to a proximity service server; when the network does not support the proximity service, a registration request for ending the proximity service is sent to the proximity service server. The application of the method or system in the present invention enables the terminal to know the proximity service supporting ability of the network when the terminal is registering in the network, thus avoiding the terminal sending a proximity service request when in a network which does not support the proximity service, and reducing the signaling overhead of a communication system.

Description

一种近距离业务注册方法及装置 技术领域  Short-distance service registration method and device
本发明涉及网络通信技术领域, 尤其涉及一种近距离业务注册方法及装 置。  The present invention relates to the field of network communication technologies, and in particular, to a proximity service registration method and apparatus.
背景技术 Background technique
近距离业务(proximity service, ProSe )是时下刚刚兴起的通讯业务。 近 距离业务的主要用途是实现终端之间的直接通信。  Proximity service (ProSe) is a newly emerging communication service. The primary use of proximity services is to enable direct communication between terminals.
例如, 两部支持近距离业务的终端可以通过近距离服务直接进行语音通 信。通信过程中的数据无需经过基站、核心网的移动管理实体或者网关等设备, 两部终端可以采用特定的频段实现数据的传输。  For example, two terminals that support close-range services can directly conduct voice communication through close-range services. The data in the communication process does not need to pass through the base station, the mobile management entity of the core network or the gateway, and the two terminals can use a specific frequency band to realize data transmission.
使用近距离业务需要终端在移动网络中进行注册。现有技术中, 近距离业 务的注册方法主要是, 终端将自身的 ID和近距离服务的设置注册到网络; 网 络存储相关信息并为设备分配用于近距离设备广播的广播密码 ( Broadcast Code )0 注册完毕后, 当终端请求进行近距离业务时, 需要向近距离服务器发 送请求; 近距离服务器接收到该请求后, 需要向移动性管理实体 (mobility management entity, MME )发送请求; MME接收到近距离服务器发送的请求 后,会检查终端所处的网络是否支持近距离业务。当网络不支持近距离业务时, MME再与近距离服务器进行交互, 告知近距离服务器该终端所处的网络不支 持近距离业务; 最后再由近距离服务器拒绝该终端的请求。 The use of close-range services requires the terminal to register on the mobile network. In the prior art, the registration method of the short-distance service is mainly: the terminal registers its own ID and the settings of the close-range service to the network; the network stores related information and allocates a broadcast code for the short-range device broadcast to the device (Broadcast Code) 0 after registration is completed, when the terminal requests a service for close, the server needs to send a request to close; close server after receiving the request, the mobility management entity needs (mobility management entity, MME) sends a request; the MME receives After the request sent by the proximity server, it checks whether the network where the terminal is located supports short-distance services. When the network does not support the short-distance service, the MME interacts with the proximity server to inform the proximity server that the network where the terminal is located does not support the proximity service; finally, the proximity server rejects the request of the terminal.
由上述可知,现有技术中, 当终端处于不支持近距离业务的网络中请求发 起近距离业务时, 需要近距离服务器与 MME之间进行多次信令交互, 导致通 信系统的信令开销大幅增加, 严重时可能影响通信系统的正常运行。 发明内容  It can be seen from the above that in the prior art, when the terminal is in the network that does not support the short-distance service and requests to initiate the short-distance service, multiple signaling interactions between the short-distance server and the MME are required, resulting in a large signaling overhead of the communication system. Increased, severely may affect the normal operation of the communication system. Summary of the invention
有鉴于此, 本发明提供一种近距离业务注册方法及装置,通过对近距离业 务的注册过程进行改进,解决了终端处于不支持近距离业务的网络中请求发起 近距离业务时, 导致通信系统信令开销大幅增加的问题。 其具体方案如下: 根据本申请的第一方面的第一种可能的实现方式,本申请提供一种近距离 业务注册方法, 包括: 终端确定网络支持近距离业务, 所述网络为所述终端当前所处的网络, 或 者所述终端将要切换到的网络; In view of the above, the present invention provides a short-distance service registration method and apparatus, which improves the registration process of a short-distance service, and solves the problem that when the terminal requests to initiate a close-range service in a network that does not support the short-distance service, the communication system is caused. The problem of a significant increase in signaling overhead. The specific solution is as follows: According to the first possible implementation manner of the first aspect of the application, the application provides a short-distance service registration method, including: The terminal determines that the network supports the short-range service, where the network is the network where the terminal is currently located, or the network to which the terminal is to be switched;
当所述网络支持近距离业务时,向近距离业务服务器发送开启所述近距离 业务的注册请求。  When the network supports the near-distance service, the registration request to start the close-range service is sent to the proximity service server.
结合第一方面的第二种可能的实现方式,所述终端确定网络支持近距离业 务之前, 还包括:  In conjunction with the second possible implementation of the first aspect, before the terminal determines that the network supports the proximity service, the terminal further includes:
获取所述基站发送的包含近距离业务能力信息的广播,所述近距离业务能 力信息用于表示所述网络支持所述近距离业务;  Obtaining, by the base station, a broadcast that includes short-range service capability information, where the short-range service capability information is used to indicate that the network supports the short-range service;
所述近距离业务能力信息是所述基站根据所述基站的配置信息获得的 ,或 者,所述近距离业务能力信息是所述基站根据与移动性管理实体的信令交互过 程得到的;  The short-range service capability information is obtained by the base station according to the configuration information of the base station, or the short-range service capability information is obtained by the base station according to a signaling interaction process with the mobility management entity;
所述终端确定网络支持近距离业务, 具体包括:  The terminal determines that the network supports the short-distance service, and specifically includes:
根据所述近距离业务能力信息确定网络支持近距离业务。  Determining, according to the short-range service capability information, that the network supports the short-range service.
结合第一方面的第三种可能的实现方式,所述向近距离业务服务器发送开 启所述近距离业务的注册请求, 具体包括:  In conjunction with the third possible implementation of the first aspect, the sending, by the short-distance service server, the registration request for starting the short-range service, specifically includes:
向所述近距离业务服务器发送开启所述近距离业务的注册请求;所述开启 所述近距离业务的注册请求中包含所述终端的近距离业务配置信息;  Transmitting, to the short-distance service server, a registration request for opening the short-range service; the request for opening the close-range service includes short-distance service configuration information of the terminal;
所述近距离业务配置信息包括:是否允许所述终端发现其他终端的配置信 息, 和 /或, 是否允许所述终端被其他终端发现的配置信息。  The short-range service configuration information includes: whether the terminal is allowed to discover configuration information of other terminals, and/or configuration information of whether the terminal is allowed to be discovered by other terminals.
结合第一方面的第四种可能的实现方式,所述向近距离业务服务器发送开 启所述近距离业务的注册请求之后, 还包括:  With the fourth possible implementation of the first aspect, after the sending the registration request for the proximity service to the short-range service server, the method further includes:
当所述终端进入新的小区时, 确定所述小区不支持所述近距离业务; 当所述小区不支持所述近距离业务时,向基站发送包含近距离业务关闭信 息的第一跟踪区更新请求,以便所述基站将所述第一跟踪区更新请求转发至移 动性管理实体,所述移动性管理实体向所述近距离业务服务器发送关闭所述近 距离业务的请求。 根据本申请的第二方面的第一种可能的实现方式,本申请提供另一种近距 离业务注册方法, 包括:  When the terminal enters a new cell, it is determined that the cell does not support the short-range service; when the cell does not support the short-distance service, the first tracking area update that includes the close-range service close information is sent to the base station. Requesting, so that the base station forwards the first tracking area update request to a mobility management entity, and the mobility management entity sends a request to close the proximity service to the proximity service server. According to the first possible implementation manner of the second aspect of the present application, the application provides another method for close-up service registration, including:
终端确定网络不支持近距离业务, 所述网络为所述终端当前所处的网络, 或者所述终端将要切换到的网络; The terminal determines that the network does not support the short-distance service, and the network is the network where the terminal is currently located, Or the network to which the terminal is to be switched;
当所述网络不支持近距离业务时,向所述近距离业务服务器发送关闭所述 近距离业务的注册请求。  When the network does not support the short-range service, the registration request to close the short-range service is sent to the proximity service server.
结合第二方面的第二种可能的实现方式,所述终端确定网络不支持近距离 业务之前, 还包括:  In conjunction with the second possible implementation of the second aspect, before the terminal determines that the network does not support the short-range service, the method further includes:
获取所述基站发送的包含近距离业务能力信息的广播,所述近距离业务能 力信息用于表示所述网络不支持所述近距离业务;  Obtaining, by the base station, a broadcast that includes short-range service capability information, where the short-range service capability information is used to indicate that the network does not support the short-range service;
所述近距离业务能力信息是所述基站根据所述基站的配置信息获得的 ,或 者,所述近距离业务能力信息是所述基站根据与移动性管理实体的信令交互过 程得到的;  The short-range service capability information is obtained by the base station according to the configuration information of the base station, or the short-range service capability information is obtained by the base station according to a signaling interaction process with the mobility management entity;
所述终端确定网络不支持近距离业务, 具体包括:  The terminal determines that the network does not support the short-distance service, and specifically includes:
根据所述近距离业务能力信息确定网络不支持近距离业务。  It is determined according to the short-range service capability information that the network does not support the short-range service.
结合第二方面的第三种可能的实现方式,所述向所述近距离业务服务器发 送关闭所述近距离业务的注册请求之后, 还包括:  With the third possible implementation of the second aspect, after the sending the registration request for the close-range service to the short-range service server, the method further includes:
当所述终端进入新的小区时, 确定所述小区支持所述近距离业务; 当所述小区支持所述近距离业务时,向基站发送包含近距离业务配置信息 的第二跟踪区更新请求,以便所述基站将所述第二跟踪区更新请求转发至移动 性管理实体,所述移动性管理实体向所述近距离业务服务器发送开启所述近距 离业务的请求,所述近距离业务服务器按照所述近距离业务配置信息开启所述 近距离业务。  When the terminal enters a new cell, determining that the cell supports the short-range service; when the cell supports the short-range service, sending a second tracking area update request that includes short-range service configuration information to the base station, In order for the base station to forward the second tracking area update request to the mobility management entity, the mobility management entity sends a request to start the short-range service to the short-range service server, where the short-range service server follows The short-range service configuration information starts the close-range service.
根据本申请的第三方面的第一种可能的实现方式,本申请提供一种近距离 业务更新方法, 包括:  According to the first possible implementation manner of the third aspect of the present application, the application provides a short-distance service update method, including:
移动性管理实体确定终端进入了新的小区;  The mobility management entity determines that the terminal has entered a new cell;
当所述终端进入了新的小区时,确定所述新的小区相对于所述终端所处的 上一个小区, 支持近距离业务的能力发生了改变; 所述改变包括: 所述新的小 区支持近距离业务且所述上一个小区不支持近距离业务,或者所述新的小区不 支持近距离业务且所述上一个小区支持近距离业务;  When the terminal enters a new cell, determining that the capability of the new cell to support the short-range service is changed with respect to the previous cell where the terminal is located; the change includes: the new cell support The short-range service and the previous cell does not support the short-range service, or the new cell does not support the short-distance service and the previous cell supports the short-distance service;
当所述新的小区相对于所述终端所处的上一个小区,支持近距离业务的能 力发生了改变时,向近距离业务服务器发送对于所述终端的所述近距离业务的 更新请求。 结合第三方面的第二种可能的实现方式, 所述确定终端进入了新的小区, 具体包括: When the new cell is changed in relation to the previous cell in which the terminal is located, and the capability of supporting the short-range service is changed, the update request for the short-distance service of the terminal is sent to the proximity service server. With the second possible implementation of the third aspect, the determining that the terminal enters a new cell includes:
确定接收到所述终端的跟踪区更新请求;  Determining that a tracking area update request of the terminal is received;
或者,确定接收到基站发送的路径切换请求; 所述路径切换请求是所述基 站在对处于连接态的所述终端执行切换流程的过程中生成的。  Or determining to receive a path switch request sent by the base station; the path switch request is generated by the base station in performing a handover process on the terminal in the connected state.
结合第三方面的第三种可能的实现方式,当所述新的小区不支持近距离业 务且所述上一个小区支持近距离业务时,所述向近距离业务服务器发送对于所 述终端的所述近距离业务的更新请求, 具体包括:  With reference to the third possible implementation manner of the third aspect, when the new cell does not support the short-range service and the previous cell supports the short-distance service, the transmitting the short-distance service server to the terminal The update request for the close-range service includes:
当所述新的小区不支持近距离业务且所述上一个小区支持近距离业务时, 向所述近距离业务服务器发送携带近距离业务关闭信息的第一近距离业务更 新请求, 以便所述近距离业务服务器关闭所述终端的所述近距离业务。  When the new cell does not support the short-range service and the previous cell supports the short-distance service, the first short-distance service update request carrying the close-range service close information is sent to the short-range service server, so that the new cell The proximity service service closes the proximity service of the terminal.
结合第三方面的第四种可能的实现方式,当所述新的小区支持近距离业务 且所述上一个小区不支持近距离业务时 ,所述向近距离业务服务器发送对于所 述终端的所述近距离业务的更新请求, 具体包括:  With reference to the fourth possible implementation manner of the third aspect, when the new cell supports the short-range service and the previous cell does not support the short-range service, the transmitting the short-distance service server to the terminal The update request for the close-range service includes:
当所述新的小区支持近距离业务且所述上一个小区不支持近距离业务时, 向所述近距离业务服务器发送包含近距离业务配置信息的第二近距离业务更 新请求,以便所述近距离业务服务器按照所述近距离业务配置信息开启所述近 距离业务;  When the new cell supports the short-range service and the previous cell does not support the short-range service, sending a second short-range service update request including the short-range service configuration information to the short-range service server, so that the new cell Transmitting, by the service server, the proximity service according to the short-range service configuration information;
其中, 所述近距离业务配置信息包括: 是否允许所述终端发现其他终端的 配置信息, 和 /或, 是否允许所述终端被其他终端发现的配置信息。 根据本申请的第四方面的第一种可能的实现方式,本申请提供一种近距离 业务注册装置, 包括:  The short-range service configuration information includes: whether the terminal is allowed to discover configuration information of other terminals, and/or configuration information of whether the terminal is allowed to be discovered by other terminals. According to the first possible implementation manner of the fourth aspect of the present application, the application provides a proximity service registration apparatus, including:
确定单元, 用于确定网络支持近距离业务; 所述网络为终端当前所处的网 络, 或者所述终端将要切换到的网络;  a determining unit, configured to determine that the network supports the short-distance service; the network is a network where the terminal is currently located, or a network to which the terminal is to be switched;
发送单元, 用于当确定单元确定所述网络支持近距离业务时, 向近距离业 务服务器发送开启所述近距离业务的注册请求。  And a sending unit, configured to send, when the determining unit determines that the network supports the near-distance service, a registration request to start the close-range service to the proximity service server.
结合第四方面的第二种可能的实现方式, 所述装置还包括:  In conjunction with the second possible implementation of the fourth aspect, the apparatus further includes:
获取单元, 用于获取所述基站发送的包含近距离业务能力信息的广播; 所 述近距离业务能力信息用于表示所述网络支持所述近距离业务; 所述近距离业务能力信息是所述基站根据所述基站的配置信息获得的,或 者,所述近距离业务能力信息是所述基站根据与移动性管理实体的信令交互过 程得到的; An acquiring unit, configured to acquire a broadcast that includes the short-range service capability information sent by the base station, where the short-range service capability information is used to indicate that the network supports the short-range service; The short-range service capability information is obtained by the base station according to the configuration information of the base station, or the short-range service capability information is obtained by the base station according to a signaling interaction process with the mobility management entity;
所述确定单元, 具体包括:  The determining unit specifically includes:
确定子单元, 用于根据所述近距离业务能力信息确定网络支持近距离业 务。  Determining a subunit, configured to determine, according to the short-range service capability information, that the network supports a close-range service.
结合第四方面的第三种可能的实现方式, 所述发送单元, 具体包括: 第一发送子单元,用于向所述近距离业务服务器发送开启所述近距离业务 的注册请求;所述开启所述近距离业务的注册请求中包含所述终端的近距离业 务配置信息;  With reference to the third possible implementation manner of the foregoing aspect, the sending unit, specifically: the first sending subunit, configured to send, to the short-distance service server, a registration request for enabling the short-distance service; The registration request of the short-range service includes short-distance service configuration information of the terminal;
所述近距离业务配置信息包括:是否允许所述终端发现其他终端的配置信 息, 和 /或, 是否允许所述终端被其他终端发现的配置信息。  The short-range service configuration information includes: whether the terminal is allowed to discover configuration information of other terminals, and/or configuration information of whether the terminal is allowed to be discovered by other terminals.
结合第四方面的第四种可能的实现方式, 所述确定单元还用于: 所述向近距离业务服务器发送开启所述近距离业务的注册请求之后,当所 述终端进入新的小区时, 确定所述小区不支持所述近距离业务;  With the fourth possible implementation of the fourth aspect, the determining unit is further configured to: after the sending the registration request for opening the short-distance service to the short-distance service server, when the terminal enters a new cell, Determining that the cell does not support the proximity service;
所述发送单元,还用于当所述小区不支持所述近距离业务时, 向基站发送 包含近距离业务关闭信息的第一跟踪区更新请求,以便所述基站将所述第一跟 踪区更新请求转发至移动性管理实体,所述移动性管理实体向所述近距离业务 服务器发送关闭所述近距离业务的请求。  The sending unit is further configured to: when the cell does not support the short-range service, send, to the base station, a first tracking area update request that includes short-range service shutdown information, so that the base station updates the first tracking area. The request is forwarded to a mobility management entity, and the mobility management entity sends a request to the proximity service server to close the proximity service.
根据本申请的第五方面的第一种可能的实现方式,本申请提供一种近距离 业务注册装置, 包括:  According to a first possible implementation manner of the fifth aspect of the present application, the application provides a proximity service registration apparatus, including:
确定单元, 用于确定网络不支持近距离业务, 所述网络为所述终端当前所 处的网络, 或者所述终端将要切换到的网络;  a determining unit, configured to determine that the network does not support the short-range service, where the network is the network where the terminal is currently located, or the network to which the terminal is to be switched;
发送单元, 用于当所述确定单元确定所述网络不支持近距离业务时, 向所 述近距离业务服务器发送关闭所述近距离业务的注册请求。  And a sending unit, configured to send, when the determining unit determines that the network does not support the proximity service, send a registration request to close the short-range service to the proximity service server.
结合第五方面的第二种可能的实现方式, 所述装置还包括:  With reference to the second possible implementation manner of the fifth aspect, the device further includes:
获取单元, 用于获取所述基站发送的包含近距离业务能力信息的广播, 所 述近距离业务能力信息用于表示所述网络不支持所述近距离业务;  An acquiring unit, configured to acquire, by the base station, a broadcast that includes short-range service capability information, where the short-range service capability information is used to indicate that the network does not support the short-range service;
所述近距离业务能力信息是所述基站根据所述基站的配置信息获得的 ,或 者,所述近距离业务能力信息是所述基站根据与移动性管理实体的信令交互过 程得到的; The short-range service capability information is obtained by the base station according to configuration information of the base station, or the short-range service capability information is that the base station interacts with signaling according to a mobility management entity. Obtained by Cheng
所述确定单元, 具体包括:  The determining unit specifically includes:
确定子单元,用于根据所述近距离业务能力信息确定网络不支持近距离业 务。  The determining subunit is configured to determine, according to the short-range service capability information, that the network does not support the short-distance service.
结合第五方面的第三种可能的实现方式, 所述确定单元还用于: 向所述近距离业务服务器发送关闭所述近距离业务的注册请求之后,当所 述终端进入新的小区时, 确定所述小区支持所述近距离业务;  With the third possible implementation manner of the fifth aspect, the determining unit is further configured to: after sending the registration request to close the short-range service to the short-distance service server, when the terminal enters a new cell, Determining that the cell supports the short-range service;
当所述小区支持所述近距离业务时,向基站发送包含近距离业务配置信息 的第二跟踪区更新请求,以便所述基站将所述第二跟踪区更新请求转发至移动 性管理实体,所述移动性管理实体向所述近距离业务服务器发送开启所述近距 离业务的请求,所述近距离业务服务器按照所述近距离业务配置信息开启所述 近距离业务。  Transmitting, by the cell, the second tracking area update request including the short-range service configuration information, so that the base station forwards the second tracking area update request to the mobility management entity, where the cell supports the short-range service The mobility management entity sends a request for opening the short-range service to the short-range service server, and the short-distance service server starts the close-range service according to the short-range service configuration information.
根据本申请的第六方面的第一种可能的实现方式,本申请提供一种近距离 业务更新装置, 包括:  According to the first possible implementation manner of the sixth aspect of the present application, the application provides a short-range service updating apparatus, including:
确定单元, 用于确定终端进入了新的小区;  a determining unit, configured to determine that the terminal enters a new cell;
当所述终端进入了新的小区时,所述确定单元还用于确定所述新的小区相 对于所述终端所处的上一个小区, 支持近距离业务的能力发生了改变; 所述改 变包括: 所述新的小区支持近距离业务且所述上一个小区不支持近距离业务, 或者所述新的小区不支持近距离业务且所述上一个小区支持近距离业务; 发送单元, 用于当所述新的小区相对于所述终端所处的上一个小区, 支持 近距离业务的能力发生了改变时,向近距离业务服务器发送对于所述终端的所 述近距离业务的更新请求。  When the terminal enters a new cell, the determining unit is further configured to determine that the capability of the new cell to support the proximity service is changed with respect to the previous cell where the terminal is located; the change includes The new cell supports the short-range service and the previous cell does not support the short-range service, or the new cell does not support the short-range service and the previous cell supports the short-distance service; The new cell sends an update request for the short-distance service of the terminal to the short-distance service server when the capability of the short-distance service is changed with respect to the previous cell in which the terminal is located.
结合第六方面的第二种可能的实现方式, 所述确定单元, 具体包括: 第一确定子单元, 用于确定接收到所述终端的跟踪区更新请求; 和 /或, 第二确定子单元, 用于确定接收到基站发送的路径切换请求; 所 述路径切换请求是所述基站在对处于连接态的所述终端执行切换流程的过程 中生成的。  With reference to the second possible implementation manner of the sixth aspect, the determining unit specifically includes: a first determining subunit, configured to determine that a tracking area update request is received by the terminal; and/or a second determining subunit And determining, by the base station, a path switch request sent by the base station, where the path switch request is generated by the base station in performing a handover process on the terminal in the connected state.
结合第六方面的第三种可能的实现方式, 所述发送单元, 具体包括: 第一发送子单元,用于当所述新的小区不支持近距离业务且所述上一个小 区支持近距离业务时,向所述近距离业务服务器发送携带近距离业务关闭信息 的第一近距离业务更新请求 ,以便所述近距离业务服务器关闭所述终端的所述 近距离业务。 With reference to the third possible implementation manner of the sixth aspect, the sending unit specifically includes: a first sending subunit, configured to: when the new cell does not support the short-distance service, and the previous cell supports the short-distance service Sending a close proximity service close message to the proximity service server The first close proximity service update request, so that the proximity service server closes the proximity service of the terminal.
结合第六方面的第四种可能的实现方式, 所述发送单元, 具体包括: 第二发送子单元,用于当所述新的小区支持近距离业务且所述上一个小区 不支持近距离业务时,向所述近距离业务服务器发送包含近距离业务配置信息 的第二近距离业务更新请求,以便所述近距离业务服务器按照所述近距离业务 配置信息开启所述近距离业务;  With reference to the fourth possible implementation manner of the sixth aspect, the sending unit includes: a second sending subunit, configured to: when the new cell supports the short-distance service, and the previous cell does not support the short-distance service Transmitting, to the short-distance service server, a second short-range service update request that includes the short-range service configuration information, so that the short-distance service server starts the close-range service according to the short-range service configuration information;
其中, 所述近距离业务配置信息包括: 是否允许所述终端发现其他终端的 配置信息, 和 /或, 是否允许所述终端被其他终端发现的配置信息。  The short-range service configuration information includes: whether the terminal is allowed to discover configuration information of other terminals, and/or configuration information of whether the terminal is allowed to be discovered by other terminals.
根据本申请的第七方面的第一种可能的实现方式,本申请提供一种近距离 业务注册装置, 包括:  According to the first possible implementation manner of the seventh aspect of the present application, the application provides a close-range service registration device, including:
处理器,用于确定网络支持近距离业务;所述网络为终端当前所处的网络, 或者所述终端将要切换到的网络;  a processor, configured to determine that the network supports the short-range service; the network is a network where the terminal is currently located, or a network to which the terminal is to be switched;
发射器, 用于当所述处理器确定所述网络支持近距离业务时, 向近距离业 务服务器发送开启所述近距离业务的注册请求。  And a transmitter, configured to send, when the processor determines that the network supports the near-distance service, a registration request to start the close-range service to the proximity service server.
根据本申请的第八方面的第一种可能的实现方式,本申请提供一种近距离 业务注册装置, 包括:  According to the first possible implementation manner of the eighth aspect of the present application, the application provides a close-range service registration device, including:
处理器, 用于确定网络不支持近距离业务, 所述网络为所述终端当前所处 的网络, 或者所述终端将要切换到的网络;  a processor, configured to determine that the network does not support short-range services, where the network is a network where the terminal is currently located, or a network to which the terminal is to be switched;
发射器, 用于当所述处理器确定所述网络不支持近距离业务时, 向所述近 距离业务服务器发送关闭所述近距离业务的注册请求。  And a transmitter, configured to send, when the processor determines that the network does not support the near-distance service, send a registration request to close the short-range service to the proximity service server.
根据本申请的第九方面的第一种可能的实现方式,本申请提供一种近距离 业务更新装置, 包括:  According to the first possible implementation manner of the ninth aspect of the present application, the application provides a short-range service updating apparatus, including:
处理器, 用于确定终端进入了新的小区;  a processor, configured to determine that the terminal enters a new cell;
当所述终端进入了新的小区时,所述处理器还用于确定所述新的小区相对 于所述终端所处的上一个小区, 支持近距离业务的能力发生了改变; 所述改变 包括: 所述新的小区支持近距离业务且所述上一个小区不支持近距离业务, 或 者所述新的小区不支持近距离业务且所述上一个小区支持近距离业务;  When the terminal enters a new cell, the processor is further configured to determine that the capability of the new cell to support the proximity service is changed with respect to the previous cell where the terminal is located; the change includes The new cell supports the short-range service, and the previous cell does not support the short-distance service, or the new cell does not support the short-distance service and the previous cell supports the short-distance service;
发射器, 用于当所述新的小区相对于所述终端所处的上一个小区, 支持近 距离业务的能力发生了改变时,向近距离业务服务器发送对于所述终端的所述 近距离业务的更新请求。 从上述的技术方案可以看出, 本申请的近距离业务注册方法及装置,通过 确定网络是否支持近距离业务,使得终端在网络上进行注册时, 能够获知网络 支持近距离业务的能力,从而避免发生终端处于不支持近距离业务的网络中发 起近距离业务请求的情况, 使得通信系统的信令开销得以降低。 附图说明 a transmitter, configured to send, when the capability of the new cell to support a short-range service is changed relative to a previous cell where the terminal is located, to send the device to the proximity service server Update request for close-range business. It can be seen from the above technical solution that the short-distance service registration method and device of the present application can determine the network's ability to support the short-distance service by determining whether the network supports the short-distance service, so as to avoid the ability of the network to support the close-range service. When a terminal is in a network that does not support short-range services, a short-range service request is initiated, so that the signaling overhead of the communication system is reduced. DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施 例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地, 下面描述 中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲,在不付 出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。  In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图 1为本申请的近距离业务注册方法实施例 1的流程图;  1 is a flowchart of Embodiment 1 of a short-distance service registration method according to the present application;
图 2为本申请的近距离业务注册方法实施例 2的流程图;  2 is a flowchart of Embodiment 2 of a short-distance service registration method according to the present application;
图 3为小区的能力发生变化时, 终端更改近距离业务设置的流程图; 图 4为本申请的近距离业务更新方法实施例 1的流程图;  3 is a flow chart of the terminal changing the short-distance service setting when the capability of the cell changes; FIG. 4 is a flowchart of Embodiment 1 of the short-distance service update method of the present application;
图 5为本申请的近距离业务更新方法实施例 2的流程图;  FIG. 5 is a flowchart of Embodiment 2 of a short-range service update method according to the present application;
图 6为本申请的近距离业务更新方法实施例 3的流程图;  6 is a flowchart of Embodiment 3 of a short-range service update method according to the present application;
图 7为本申请的近距离业务注册装置实施例的结构图;  7 is a structural diagram of an embodiment of a proximity service registration apparatus of the present application;
图 8为本申请的另一种近距离业务注册装置实施例的结构图;  FIG. 8 is a structural diagram of another embodiment of a proximity service registration apparatus according to the present application; FIG.
图 9为本申请的近距离业务更新装置实施例的结构图;  9 is a structural diagram of an embodiment of a short-range service update apparatus of the present application;
图 10为另一种近距离业务注册装置实施例的结构图;  10 is a structural diagram of another embodiment of a proximity service registration apparatus;
图 11为另一种近距离业务注册装置实施例的结构图;  11 is a structural diagram of another embodiment of a proximity service registration apparatus;
图 12为另一种近距离业务更新装置实施例的结构图;  12 is a structural diagram of another embodiment of a proximity service update apparatus;
图 13为本申请的计算节点的结构图。 具体实施方式  FIG. 13 is a structural diagram of a computing node of the present application. detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是 全部的实施例。基于本发明中的实施例, 本领域普通技术人员在没有做出创造 性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。 首先需要说明的是, 本申请中所说的近距离业务,是指一个终端在物理近 距离范围内可以发现另外的终端,并且可以与另外的终端进行优化的通信的业 务。其中,优化的通信可以是指终端之间的通信数据可以不经过移动运营商的 网络,而是采用终端之间约定的频段直接进行传输。具体的,近距离业务包括: 终端之间直接进行语音数据传输从而实现通话的业务,终端之间直接进行文件 数据传输从而实现文件传输的业务,终端之间直接进行短消息数据传输从而实 现收发短信的业务等等。 The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, one of ordinary skill in the art does not create All other embodiments obtained under the premise of sexual labor are within the scope of protection of the present invention. First of all, it should be noted that the short-distance service referred to in the present application refers to a service in which a terminal can discover another terminal in a physical close range and can perform optimized communication with another terminal. The optimized communication may be that the communication data between the terminals may be directly transmitted through the agreed frequency band between the terminals without going through the mobile operator's network. Specifically, the short-distance service includes: a service that directly performs voice data transmission between the terminals to implement a call, and directly performs file data transmission between the terminals to implement file transmission, and directly transmits short message data between the terminals to implement sending and receiving short messages. Business and so on.
图 1为本申请的近距离业务注册方法实施例 1的流程图。如图 1所示, 该 方法可以包括:  FIG. 1 is a flowchart of Embodiment 1 of a short-distance service registration method according to the present application. As shown in Figure 1, the method can include:
步骤 101 : 终端确定网络是否支持近距离业务; 所述网络为所述终端当前 所处的网络, 或者所述终端将要切换到的网络;  Step 101: The terminal determines whether the network supports the short-distance service; the network is the network where the terminal is currently located, or the network to which the terminal is to be switched;
所述终端可以是支持近距离业务的手机等设备。 所述终端可以通过基站 The terminal may be a device such as a mobile phone that supports short-distance services. The terminal can pass through the base station
( EvolvedNode B, eNodeB ) 的广播获得所述网络的近距离业务能力信息。 所 述近距离业务能力信息可以表示所述网络是否支持近距离业务。所述基站可以 通过与移动性管理实体(MME )之间的信令交互过程获得所述终端所在的网 络的近距离业务能力 ,也可以通过基站本身所存有的配置信息获得所述终端所 在的网络的近距离业务能力。 具体的, MME可以在现有技术中的与 eNodeB 建立 SI流程的 SI信令中, 携带网络的近距离业务能力信息。 eNodeB可以根 据 S1信令中的近距离业务能力信息获知网络的近距离业务能力。 The broadcast of (EvolvedNode B, eNodeB) obtains the close-range service capability information of the network. The short-range service capability information may indicate whether the network supports short-range services. The base station may obtain the short-distance service capability of the network where the terminal is located through a signaling interaction process with the mobility management entity (MME), or obtain the network where the terminal is located by using configuration information stored in the base station itself. Close-range business capabilities. Specifically, the MME may carry the short-range service capability information of the network in the SI signaling that establishes the SI process with the eNodeB in the prior art. The eNodeB can learn the short-distance service capability of the network according to the short-range service capability information in the S1 signaling.
所述网络可以是所述终端当前所处的网络,也可以是所述终端将要切换到 的网络。  The network may be the network where the terminal is currently located, or may be the network to which the terminal is to be switched.
步骤 102: 当所述网络支持近距离业务时, 向近距离业务服务器发送开启 所述近距离业务的注册请求;  Step 102: When the network supports the short-distance service, send a registration request for starting the close-range service to the short-distance service server.
近距离服务器可以获得所述终端的签约信息。该签约信息中记录有所述终 端是否开通了近距离业务的信息。如果所述终端开通了近距离业务, 则所述近 距离业务服务器接收到开启所述近距离业务的注册请求后,就可以开启所述终 端的所述近距离业务; 如果所述终端没有开通近距离业务, 则所述近距离业务 服务器接收到开启所述近距离业务的注册请求后,可以拒绝开启所述终端的所 述近距离业务。 步骤 103: 当所述网络不支持近距离业务时, 向所述近距离业务服务器发 送关闭所述近距离业务的注册请求。 The proximity server can obtain the subscription information of the terminal. The subscription information records information about whether the terminal has opened a close-range service. If the terminal has opened the proximity service, the proximity service server may start the proximity service of the terminal after receiving the registration request for opening the proximity service; if the terminal is not opened yet After the proximity service server receives the registration request to enable the proximity service, the proximity service server may refuse to open the proximity service of the terminal. Step 103: When the network does not support the short-distance service, send a registration request to close the close-range service to the proximity service server.
如果所述终端在之前的注册过程中, 开启了近距离业务, 则所述近距离业 务服务器接收到关闭所述近距离业务的注册请求后,可以关闭所述终端的所述 近距离业务。 如果所述终端在之前的注册过程中, 没有开启近距离业务, 则所 述近距离业务服务器接收到关闭所述近距离业务的注册请求后,可以不做任何 响应。  If the short-distance service is enabled in the previous registration process, the short-distance service server may close the short-distance service of the terminal after receiving the registration request to close the short-range service. If the terminal does not open the proximity service during the previous registration process, the proximity service server may not respond after receiving the registration request to close the proximity service.
上述步骤 102和步骤 103之间是和 /或的关系, 即可以存在包括步骤 101、 步骤 102和步骤 103的实施例 ,也可以存在包括步骤 101和步骤 102的实施例 , 也可以存在包括步骤 101和步骤 103的实施例。  The relationship between step 102 and step 103 is a relationship between the foregoing steps, that is, there may be an embodiment including step 101, step 102 and step 103, and an embodiment including step 101 and step 102 may be present, and step 101 may be included. And the embodiment of step 103.
综上所述, 本实施例的近距离业务注册方法,通过确定网络是否支持近距 离业务,使得终端在网络上进行注册时,能够获知网络支持近距离业务的能力, 从而避免发生终端处于不支持近距离业务的网络中发起近距离业务请求的情 况, 使得通信系统的信令开销得以降低。 参见图 2, 为本申请的近距离业务注册方法实施例 2的流程图。 该流程可 以包括:  In summary, the short-distance service registration method in this embodiment determines whether the network supports the short-distance service, so that when the terminal registers on the network, the network can learn the capability of the network to support the short-distance service, thereby avoiding that the terminal is not supported. In the case of a close-range service request in a network of short-haul services, the signaling overhead of the communication system is reduced. Referring to FIG. 2, it is a flowchart of Embodiment 2 of the short-distance service registration method of the present application. The process can include:
步骤 201 : 基站 ( eNodeB )向移动性管理实体 ( MME )发送 S1建立请求; 步骤 202: MME向 eNodeB发送 S1建立响应; 所述 S1建立响应包含有 网络的近距离业务(ProSe ) 能力信息;  Step 201: The base station (eNodeB) sends an S1 establishment request to the mobility management entity (MME). Step 202: The MME sends an S1 setup response to the eNodeB. The S1 setup response includes ProSe capability information of the network.
步骤 201和步骤 202是可选步骤。 eNodeB和 MME通过现有的 S1信令的 S1建立流程进行交互, 得到网络的 ProSe能力信息。 ProSe能力信息可以指示 这个网络是否可以支持 ProSe业务。 如果 eNodeB可以根据配置信息得到网络 的 ProSe能力信息, 则可以跳过上述两个步骤。  Step 201 and step 202 are optional steps. The eNodeB and the MME interact with each other through the S1 establishment process of the existing S1 signaling, and obtain the ProSe capability information of the network. The ProSe capability information can indicate whether the network can support the ProSe service. If the eNodeB can obtain the ProSe capability information of the network according to the configuration information, the above two steps can be skipped.
步骤 203: 基站向用户设备发送包含网络的近距离业务能力的广播; 步骤 204: 用户设备向 MME发送近距离业务请求; 所述请求中可以包含 用户设备标识, 以及开启或者关闭近距离业务的信息。  Step 203: The base station sends a broadcast of the short-distance service capability of the network to the user equipment. Step 204: The user equipment sends a short-distance service request to the MME. The request may include the user equipment identifier, and information about enabling or closing the close-range service. .
用户设备可以根据接收到的广播, 确定网络是否支持近距离业务; 当所述网络支持近距离业务时,可以通过 MME向近距离业务服务器发送 开启所述近距离业务的注册请求; 当所述网络不支持近距离业务时,可以通过 MME向所述近距离业务服务 器发送关闭所述近距离业务的注册请求。 The user equipment may determine, according to the received broadcast, whether the network supports the short-distance service; when the network supports the short-distance service, the MME may send a registration request for opening the short-distance service to the short-distance service server by using the MME; When the network does not support the short-distance service, the MME may send a registration request to close the short-range service to the short-distance service server.
所述请求中可以包含用户设备标识, 以及开启或者关闭近距离业务的信 息, 还可以包含对近距离业务的设置信息。  The request may include a user equipment identifier, and information for turning on or off the close-range service, and may also include setting information for the close-range service.
设备标识可以是该设备的 IMSI或者 MSISDN或者网络分配的设备临时标 识等。该消息可以使用现有网络附着请求消息, 或者位置更新消息等非接入层 ( NAS ) 消息, 也可以是设备通过基站发送给 MME的接入层 (AS ) 消息。  The device identifier may be the IMSI or MSISDN of the device or the temporary identifier of the device assigned by the network. The message may use an existing network attach request message, or a non-access stratum (NAS) message such as a location update message, or an access stratum (AS) message sent by the device to the MME through the base station.
所述设置信息可以是用户设备的近距离发现配置信息。近距离发现配置信 息可以包括: "可以发现别人, 但不能被别人发现", "可以发现别人也可以被 别人发现", "不可以发现别人, 也不能被别人发现", "不可以发现别人, 但是 允许被别人发现", "每次询问我是否允许被对方发现", 允许发现自己的设备 标识列表, 不允许发现自己的设备标识列表。  The setting information may be close-range discovery configuration information of the user equipment. The configuration information found at close range can include: "You can find others, but you can't be discovered by others." "You can find that others can be discovered by others." "You can't find others, you can't be discovered by others." "You can't find others." But it is allowed to be discovered by others. "Every time I ask if I am allowed to be discovered by the other party", I am allowed to discover my own device identification list, and I am not allowed to find my own device identification list.
步骤 205: MME将用户设备发送的近距离业务请求转发至近距离服务器 ( Prose Server );  Step 205: The MME forwards the short-range service request sent by the user equipment to the ProSe Server.
步骤 206: 近距离业务服务器收到近距离业务请求后, 判断该用户设备是 否允许进行近距离业务。 如果允许, 则接受该近距离业务请求; 如果不允许则 拒绝设备的近距离业务请求。  Step 206: After receiving the short-range service request, the short-distance service server determines whether the user equipment allows the short-distance service. If allowed, the proximity service request is accepted; if not allowed, the device's proximity service request is rejected.
近距离业务服务器可以将设备标识发送给归属用户服务器( HSS ),从 HSS 获得设备的签约数据。 签约数据中包括该设备是否允许进行近距离业务的信 息。近距离业务服务器可以根据获得的签约数据判断是否允许该设备的近距离 业务。 如果近距离业务服务器之前已经获得设备签约数据, 则不必再从 HSS 获取,可以直接根据近距离业务服务器本地保存的该设备签约数据判断是否允 许该设备的近距离业务。  The proximity service server can send the device identification to the Home Subscriber Server (HSS), and obtain the subscription data of the device from the HSS. The contract data includes information on whether the device is allowed to perform close-range services. The proximity service server can determine whether to allow the close-range service of the device according to the obtained subscription data. If the proximity service server has obtained the device subscription data before, it does not need to obtain the device from the HSS. It can directly determine whether to allow the device to be close-range service according to the device subscription data saved locally by the proximity service server.
步骤 206: 近距离服务器向 MME发送近距离业务接受消息。 所述近距离 业务接受消息中可以包括为该用户设备分配的设备到设备标识(D2D ID )和 设备到设备密码(D2D Code )。  Step 206: The proximity server sends a close proximity service accept message to the MME. The short-range service acceptance message may include a device-to-device identification (D2D ID) and a device-to-device password (D2D Code) allocated for the user equipment.
近距离业务服务器可以为该设备分配的 D2D Code和 D2D ID , 还可以保 存接收到的用户设备标识, 以及用户设备对近距离业务的设置信息。  The short-distance service server can allocate the D2D Code and the D2D ID to the device, and can also save the received user equipment identifier and the setting information of the user equipment for the close-range service.
近距离设备的 ProSe设置和为该设备分配的 D2D Code和 D2D ID。 可选 的近距离业务服务器保存该设备的近距离发现配置信息。 在步骤 206中, 近距离业务服务器可以将自己的路由信息提供给设备,使 得设备在后续的应用层交互中,可以将获得的近距离业务服务器路由信息提供 给应用层服务器,应用层服务器根据路由信息可以找到设备所注册的近距离业 务服务器进行消息交互, 以获得近距离业务服务。路由信息可以是近距离业务 服务器的服务器标识, 例如但不限于统一资源标识符 (URI ), 也可以是 IP地 址等形式。 The ProSe settings of the proximity device and the D2D Code and D2D ID assigned to the device. The optional proximity service server saves the device's close-range discovery configuration information. In step 206, the short-distance service server can provide its own routing information to the device, so that the device can provide the obtained short-distance service server routing information to the application layer server in the subsequent application layer interaction, and the application layer server according to the route. The information can be found by the proximity service server registered by the device for message interaction to obtain a close-range business service. The routing information may be a server identifier of the proximity service server, such as but not limited to a Uniform Resource Identifier (URI), or may be in the form of an IP address or the like.
近距离业务服务器也可以将路由信息携带在分配给设备的 D2D ID中, 例 如将分配给设备的 D2D ID定义为 "device d2d id@proximityserver URI" 的形 式。 或者不同的近距离业务服务器可以使用不同的 D2D ID 范围 (range ), 这 样设备在后续的应用层交互中, 将 D2D ID提供给应用层服务器, 应用层服务 器可以直接从 D2D ID中提取出近距离业务服务器的路由信息,或者根据 D2D ID 的范围查找到对应的近距离业务服务器的路由信息, 从而可以从近距离业 务服务器获得近距离业务支持。  The proximity service server can also carry routing information in the D2D ID assigned to the device, for example, the D2D ID assigned to the device is defined as "device d2d id@proximityserver URI". Or different short-distance service servers can use different D2D ID ranges, so that the device provides the D2D ID to the application layer server in the subsequent application layer interaction, and the application layer server can directly extract the close distance from the D2D ID. The routing information of the service server, or the routing information of the corresponding short-distance service server is found according to the range of the D2D ID, so that the short-distance service support can be obtained from the short-distance service server.
可选的, 近距离业务服务器为该近距离设备分配一个解密密钥,在该步骤 中通过 MME发送给用户设备。后续用户设备通过应用层服务器从近距离业务 服务器获得加密内容时, 可以使用该解密密钥进行解密。  Optionally, the short-range service server allocates a decryption key to the short-range device, and sends the information to the user equipment by using the MME in this step. When the subsequent user equipment obtains the encrypted content from the proximity service server through the application layer server, the decryption key can be used for decryption.
步骤 207: MME向用户设备转发所述近距离业务接受消息。  Step 207: The MME forwards the short-range service accept message to the user equipment.
可以是通过 NAS消息发送, 或者是使用 AS消息经过基站发送给设备。 步骤 208: 用户设备向应用层服务器(Application Server )发送设备到设 备服务注册请求(D2D Service Registration Request )。 所述设备到设备服务注 册请求可以包括设备到设备标识( D2D ID )。  It can be sent through a NAS message, or sent to the device through the base station using an AS message. Step 208: The user equipment sends a device to device service registration request (D2D Service Registration Request) to the application layer server (Application Server). The device-to-device service registration request may include a device-to-device identification (D2D ID).
用户设备可以发送 D2D服务注册请求给应用服务器, 其中携带了近距离 业务服务器给设备分配的 D2D ID, 应用服务器保存其 D2D ID。 可选的, D2D ID 中可以携带近距离业务服务器的路由信息, 应用服务器可以路由信息到相 应的近距离业务服务器, 通过近距离业务服务器判断该 D2D ID的合法性, 如 果不合法, 则应用服务器可以拒绝 D2D服务注册请求。  The user equipment may send a D2D service registration request to the application server, where the D2D ID assigned by the proximity service server to the device is carried, and the application server saves the D2D ID. Optionally, the D2D ID can carry the routing information of the short-distance service server, and the application server can route the information to the corresponding short-distance service server, and determine the legality of the D2D ID through the short-distance service server. If not, the application server The D2D service registration request can be rejected.
步骤 209: 应用层服务器向 MME发送 D2D Code更新消息。  Step 209: The application layer server sends a D2D Code update message to the MME.
步骤 209为可选步骤,如果近距离业务服务器收到应用服务器发送的 D2D 服务注册请求, 并确认 D2D ID是合法的, 则可以根据具体注册的应用给设备 分配新的 D2D Code。 这个 D2D Code与注册的应用有关。 近距离业务月良务器 给 MME发送更新的 D2D Code。如果没有分配新的 D2D Code,则跳过该步骤。 步骤 210: MME将所述 D2D Code更新消息转发至所述用户设备。 Step 209 is an optional step. If the short-distance service server receives the D2D service registration request sent by the application server, and confirms that the D2D ID is valid, the device may allocate a new D2D code according to the specifically registered application. This D2D Code is related to the registered application. Close-range business Send the updated D2D Code to the MME. If no new D2D Code is assigned, skip this step. Step 210: The MME forwards the D2D Code update message to the user equipment.
需要说明的是, 本实施例中, 用户设备也可以与近距离业务服务器不通过 It should be noted that, in this embodiment, the user equipment may also fail to communicate with the proximity service server.
MME而进行直接交互。 直接交互的情况下, 可以省略 MME对于近距离业务 服务器与用户设备之间的消息的转发步骤。 The MME performs direct interaction. In the case of direct interaction, the MME may forward the message forwarding procedure between the proximity service server and the user equipment.
终端(即用户设备)完成注册过程后, 有可能进入新的小区。 小区可以是 支持 ProSe的网络的最小单位。 下文中的跟踪区 ( Tracking Area , ΤΑ )的概念 要大于小区。 一个跟踪区可以包括多个小区。 当终端进入新的小区时, 可以采 用下面的方法。  After the terminal (ie, the user equipment) completes the registration process, it is possible to enter a new cell. The cell can be the smallest unit of the ProSe-enabled network. The concept of the Tracking Area (ΤΑ) below is greater than the cell. A tracking area can include multiple cells. When the terminal enters a new cell, the following method can be used.
当所述终端进入新的小区时, 可以确定所述小区是否支持所述近距离业 务;当所述小区的近距离业务能力相对于终端之前所归属的小区的近距离业务 能力发生变化时, 终端可以发起更改近距离业务设置的流程。 具体的, 小区的 近距离业务能力发生变化, 包括两种情况: 第一种情况是终端由支持近距离业 务的小区进入不支持近距离业务的小区;第二种情况是终端由不支持近距离业 务的小区进入支持近距离业务的小区。  When the terminal enters a new cell, it may be determined whether the cell supports the short-range service; when the short-distance service capability of the cell changes with respect to a short-distance service capability of a cell to which the terminal belongs, the terminal You can initiate a process to change the proximity business settings. Specifically, the short-distance service capability of the cell changes, including two cases: The first case is that the terminal enters a cell that does not support the short-distance service by the cell supporting the short-distance service; the second case is that the terminal does not support the close-range The cell of the service enters a cell supporting the short-distance service.
在第一种情况下, 当所述小区不支持所述近距离业务时, 向基站发送包含 近距离业务关闭信息的第一跟踪区更新请求,以便所述基站将所述第一跟踪区 更新请求转发至移动性管理实体,所述移动性管理实体向所述近距离业务服务 器发送关闭所述近距离业务的请求。  In the first case, when the cell does not support the short-range service, the first tracking area update request including the short-range service closing information is sent to the base station, so that the base station sends the first tracking area update request. Forwarding to the mobility management entity, the mobility management entity sends a request to close the proximity service to the proximity service server.
在第二种情况下, 当所述小区支持所述近距离业务时, 可以向基站发送包 含近距离业务配置信息的第二跟踪区更新请求,以便所述基站将所述第二跟踪 区更新请求转发至移动性管理实体,所述移动性管理实体向所述近距离业务服 务器发送开启所述近距离业务的请求,所述近距离业务服务器按照所述近距离 业务配置信息开启所述近距离业务。  In the second case, when the cell supports the short-range service, the second tracking area update request including the short-range service configuration information may be sent to the base station, so that the base station sends the second tracking area update request. Forwarding to the mobility management entity, the mobility management entity sends a request to open the proximity service to the short-range service server, and the proximity service server starts the proximity service according to the short-range service configuration information .
图 3为小区的能力发生变化时, 终端更改近距离业务设置的流程图。如图 Figure 3 is a flow chart of the terminal changing the close-range service setting when the capability of the cell changes. As shown
3所示, 该流程可以包括: As shown in 3, the process can include:
步骤 301 : 基站向用户设备发生携带网络能力信息的广播。 所述网络能力 信息可以表示新的小区是否支持近距离业务。  Step 301: The base station generates a broadcast carrying the network capability information to the user equipment. The network capability information may indicate whether the new cell supports short-range traffic.
用户设备可以根据该广播, 判断网络的近距离业务能力是否发生改变。如 果发生改变, 则可以触发步骤 302。 步骤 302: 用户设备向基站发送跟踪区更新请求(TAU Request )。 其中, TAU是 Tracking Area Update的缩写。跟踪区更新请求可以使用现有 TAU流程 中的现有信令携带相应的指示信息进行实现。所述跟踪区更新请求中需要携带 指示信息。 所述指示信息可以是表示开启或关闭近距离业务的指示信息。 The user equipment can determine whether the short-distance service capability of the network changes according to the broadcast. If a change occurs, step 302 can be triggered. Step 302: The user equipment sends a tracking area update request (TAU Request) to the base station. Among them, TAU is an abbreviation of Tracking Area Update. The tracking area update request can be implemented by using existing signaling in the existing TAU process to carry corresponding indication information. The tracking area update request needs to carry indication information. The indication information may be indication information indicating that the proximity service is turned on or off.
步骤 303: 基站将所述跟踪区更新请求转发至 MME。  Step 303: The base station forwards the tracking area update request to the MME.
步骤 304: MME根据所述跟踪区更新请求中的指示信息向近距离服务器 发送开启或关闭近距离业务的请求。  Step 304: The MME sends a request for opening or closing the proximity service to the proximity server according to the indication information in the tracking area update request.
近距离业务服务器可以从注册信息来判断是否允许该设备的 ProSe业务。 如果近距离业务服务器判断该设备不允许使用 ProSe业务,则拒绝该近距离服 务请求信息。 如果近距离业务服务器判断允许该设备的 ProSe业务, 则储存近 距离设备更新的 ProSe设置, 执行步骤 305。  The proximity service server can determine whether to allow the ProSe service of the device from the registration information. If the proximity service server determines that the device is not allowed to use the ProSe service, the proximity service request information is rejected. If the proximity service server determines that the ProSe service of the device is allowed, the ProSe setting of the device update is stored, and step 305 is performed.
步骤 305: 近距离业务服务器向 MME发送近距离业务接受消息。 该消息 可以表示近距离业务服务器已经成功更新了设备的 ProSe设置。  Step 305: The proximity service server sends a short-range service accept message to the MME. This message can indicate that the Proximity Service Server has successfully updated the ProSe settings of the device.
步骤 306: MME向基站发送跟踪区更新响应(TAU Response ), 告知基站 TAU流程已经成功执行。  Step 306: The MME sends a tracking area update response (TAU Response) to the base station, and informs the base station that the TAU process has been successfully executed.
步骤 307: 基站向用户设备转发所述跟踪区更新响应, 告知用户设备已经 成功进行了 TAU流程, 而且成功更新了设备的 ProSe设置。  Step 307: The base station forwards the tracking area update response to the user equipment, and informs the user equipment that the TAU process has been successfully performed, and successfully updates the ProSe setting of the device.
需要说明的是, 所述用户设备可以具有连接态和空闲态两种状态。 当所述 用户设备为空闲态时, 可以直接采用图 3中的方法。 当所述用户设备为连接态 时, 需要在步骤 301与步骤 302之间增加切换流程。 所述切换流程可以将用户 设备从源 eNodeB切换到目标 eNodeB并将数据切换到新的 eNodeB,使数据从 新的 eNodeB进入到核心网进行传输。 在所述连接态中, 在原先的网络和切换 到的网络中数据都是通过核心网进行传输, 而不是通过 D2D连接进行传输。 本申请还提供了一种近距离业务更新方法。图 4为本申请的近距离业务更 新方法实施例 1的流程图。 该流程可以包括:  It should be noted that the user equipment may have two states: a connected state and an idle state. When the user equipment is in an idle state, the method in FIG. 3 can be directly adopted. When the user equipment is in the connected state, it is necessary to increase the handover procedure between step 301 and step 302. The handover procedure may switch the user equipment from the source eNodeB to the target eNodeB and switch the data to the new eNodeB, so that the data is transmitted from the new eNodeB to the core network for transmission. In the connected state, data is transmitted through the core network in the original network and the switched network, rather than through the D2D connection. The application also provides a proximity service update method. 4 is a flow chart of Embodiment 1 of the proximity service update method of the present application. The process can include:
步骤 401: 基站向 MME发送 S 1建立请求。  Step 401: The base station sends an S1 establishment request to the MME.
所述 S1建立请求中可以包含所述基站的近距离业务能力信息。 所述近距 离业务能力信息可以表示终端即将切换到的网络是否支持近距离业务。  The S1 setup request may include the short-range service capability information of the base station. The short-range service capability information may indicate whether the network to which the terminal is to be switched supports short-range services.
步骤 402: MME储存网络的 ProSe能力信息, 并向 eNodeB发送 S 1建立 响应消息告知 eNodeB相应信息。 Step 402: The MME stores the ProSe capability information of the network, and sends an S1 setup to the eNodeB. The response message informs the eNodeB of the corresponding information.
步骤 403: 基站向用户设备发送广播, 告知用户设备切换的小区是否支持 ProSe业务。  Step 403: The base station sends a broadcast to the user equipment to notify the user whether the cell switched by the device supports the ProSe service.
步骤 404: 用户设备向基站发送跟踪区更新请求。  Step 404: The user equipment sends a tracking area update request to the base station.
所述跟踪区更新请求可以使用现有 TAU流程中的现有信令实现。 与图 3 中的流程相比, 本流程中的跟踪区更新请求不携带指示信息。  The tracking area update request can be implemented using existing signaling in an existing TAU flow. Compared with the process in Figure 3, the tracking area update request in this process does not carry indication information.
步骤 405: 基站向 MME转发所述跟踪区更新请求。  Step 405: The base station forwards the tracking area update request to the MME.
MME在接收到该请求后, 会根据步骤 401中存储的网络的近距离业务能 力信息, 判断用户设备之前所在的小区相对于即将进入到的新的小区, 能力是 否发生变化。 如果近距离业务能力发生变化, 则执行步骤 406。  After receiving the request, the MME determines, according to the short-range service capability information of the network stored in step 401, whether the capability of the cell in which the user equipment is located is changed relative to the new cell that is about to enter. If the near-field service capability changes, step 406 is performed.
步骤 406: MME向近距离服务器发生近距离业务请求。  Step 406: The MME generates a close-range service request to the proximity server.
所述近距离业务请求可以是开启近距离业务的请求,也可以是关闭近距离 业务的请求。  The short-range service request may be a request to open a close-range service, or may be a request to close a close-range service.
近距离业务服务器可以从注册信息来判断是否允许该设备的 ProSe业务。 如果近距离业务服务器判断该设备不允许使用 ProSe业务,则拒绝该近距离服 务请求信息。 如果近距离业务服务器判断允许该设备的 ProSe业务, 则储存用 户设备更新的 ProSe设置。  The proximity service server can determine whether to allow the ProSe service of the device from the registration information. If the proximity service server determines that the device is not allowed to use the ProSe service, the proximity service request information is rejected. If the proximity service server determines that the ProSe service of the device is allowed, the ProSe setting updated by the user device is stored.
需要说明的是, 所述近距离业务请求中,还可以包括用户设备的近距离业 务配置信息。  It should be noted that the short-range service request may further include short-distance service configuration information of the user equipment.
所述近距离业务配置信息包括:对于所述终端是否可以发现其他终端的配 置信息, 和 /或, 对于所述终端是否可以被其他终端发现的配置信息。  The short-range service configuration information includes: configuration information about whether the terminal can discover other terminals, and/or configuration information about whether the terminal can be discovered by other terminals.
步骤 407: 近距离业务服务器向 MME发送近距离业务接受消息。 该消息 可以表示近距离业务服务器已经成功更新了设备的 ProSe设置。  Step 407: The proximity service server sends a short-range service accept message to the MME. This message can indicate that the Proximity Service Server has successfully updated the ProSe settings of the device.
步骤 408: MME向基站发送跟踪区更新响应(TAU Response ), 告知基站 TAU流程已经成功执行。  Step 408: The MME sends a tracking area update response (TAU Response) to the base station, and informs the base station that the TAU process has been successfully executed.
步骤 409: 基站向用户设备转发所述跟踪区更新响应, 告知用户设备已经 成功进行了 TAU流程, 而且成功更新了设备的 ProSe设置。  Step 409: The base station forwards the tracking area update response to the user equipment, and informs the user equipment that the TAU process has been successfully performed, and successfully updates the ProSe setting of the device.
本实施例中, 由 MME检测网络的近距离业务能力是否发生变化, 可以使 用户设备按照现有技术中的方式发送跟踪区更新请求,而不必对跟踪区更新请 求消息进行修改。 图 5为本申请的近距离业务更新方法实施例 2的流程图。如图 5所示, 该 流程可以包括: In this embodiment, the MME detects whether the short-distance service capability of the network changes, and may enable the user equipment to send the tracking area update request according to the manner in the prior art, without modifying the tracking area update request message. FIG. 5 is a flowchart of Embodiment 2 of a short-range service update method according to the present application. As shown in FIG. 5, the process may include:
步骤 501 : 基站向 MME发送 S1建立请求。  Step 501: The base station sends an S1 establishment request to the MME.
所述 S1建立请求中可以包含所述基站的近距离业务能力信息。 所述近距 离业务能力信息可以表示终端即将切换到的网络是否支持近距离业务。  The S1 setup request may include the short-range service capability information of the base station. The short-range service capability information may indicate whether the network to which the terminal is to be switched supports short-range services.
步骤 502: MME储存网络的 ProSe能力信息, 并向 eNodeB发送 S1建立 响应消息告知 eNodeB相应信息。  Step 502: The MME stores the ProSe capability information of the network, and sends an S1 setup response message to the eNodeB to notify the eNodeB of the corresponding information.
本实施例中, 可以将具有相同近距离业务能力的 TA存储在一个 TA列表 中, 用户设备可以判断新进入的小区是否属于当前的 TA列表, 如果属于, 则 不执行后续步骤; 如果不属于, 则执行步骤 503。  In this embodiment, the TAs having the same short-range service capability may be stored in a TA list, and the user equipment may determine whether the newly entered cell belongs to the current TA list. If yes, the subsequent steps are not performed; if not, Then step 503 is performed.
本实施例中, 由于对 TA列表进行了设置, 所以与图 4中的实施例相比, 可以省去基站向用户设备发送广播消息的步骤。  In this embodiment, since the TA list is set, the step of transmitting the broadcast message to the user equipment by the base station can be omitted as compared with the embodiment in FIG.
步骤 503: 用户设备向基站发送跟踪区更新请求。  Step 503: The user equipment sends a tracking area update request to the base station.
所述跟踪区更新请求可以使用现有 TAU流程中的现有信令实现。 与图 3 中的流程相比, 本流程中的跟踪区更新请求不携带指示信息。  The tracking area update request can be implemented using existing signaling in an existing TAU flow. Compared with the process in Figure 3, the tracking area update request in this process does not carry indication information.
步骤 504: 基站向 MME转发所述跟踪区更新请求。  Step 504: The base station forwards the tracking area update request to the MME.
MME在接收到该请求后, 会根据步骤 501中存储的网络的近距离业务能 力信息, 判断用户设备之前所在的 TA相对于即将进入到的新的 TA, 能力是 否发生变化。 如果近距离业务能力发生变化, 则执行步骤 506。  After receiving the request, the MME determines, according to the short-range service capability information of the network stored in step 501, whether the capability of the TA that the user equipment is in before is changed with respect to the new TA that is about to enter. If the near-field service capability changes, step 506 is performed.
步骤 505: MME向近距离服务器发生近距离业务请求。  Step 505: The MME generates a close-range service request to the proximity server.
所述近距离业务请求可以是开启近距离业务的请求,也可以是关闭近距离 业务的请求。  The short-range service request may be a request to open a close-range service, or may be a request to close a close-range service.
近距离业务服务器可以从注册信息来判断是否允许该设备的 ProSe业务。 如果近距离业务服务器判断该设备不允许使用 ProSe业务,则拒绝该近距离服 务请求信息。 如果近距离业务服务器判断允许该设备的 ProSe业务, 则储存用 户设备更新的 ProSe设置。  The proximity service server can determine whether to allow the ProSe service of the device from the registration information. If the proximity service server determines that the device is not allowed to use the ProSe service, the proximity service request information is rejected. If the proximity service server determines that the ProSe service of the device is allowed, the ProSe setting updated by the user device is stored.
需要说明的是, 所述近距离业务请求中,还可以包括用户设备的近距离业 务配置信息。  It should be noted that the short-range service request may further include short-distance service configuration information of the user equipment.
所述近距离业务配置信息包括:对于所述终端是否可以发现其他终端的配 置信息, 和 /或, 对于所述终端是否可以被其他终端发现的配置信息。 步骤 506: 近距离业务服务器向 MME发送近距离业务接受消息。 该消息 可以表示近距离业务服务器已经成功更新了设备的 ProSe设置。 The short-range service configuration information includes: configuration information about whether the terminal can discover other terminals, and/or configuration information about whether the terminal can be discovered by other terminals. Step 506: The proximity service server sends a short-range service accept message to the MME. The message may indicate that the Proximity Service Server has successfully updated the ProSe settings of the device.
步骤 507: MME向基站发送跟踪区更新响应(TAU Response ), 告知基站 TAU流程已经成功执行。  Step 507: The MME sends a tracking area update response (TAU Response) to the base station, and informs the base station that the TAU process has been successfully executed.
步骤 508: 基站向用户设备转发所述跟踪区更新响应, 告知用户设备已经 成功进行了 TAU流程, 而且成功更新了设备的 ProSe设置。  Step 508: The base station forwards the tracking area update response to the user equipment, and informs the user equipment that the TAU process has been successfully performed, and successfully updates the ProSe setting of the device.
需要说明的是, 当所述用户设备在空闲态下进入新的小区时, 可以直接采 用图 4或图 5中的方法。 当所述用户设备在连接态下进入新的小区时, 可以在 切换流程中增加 MME对网络能力的判断步骤。 具体请参见图 6。  It should be noted that when the user equipment enters a new cell in an idle state, the method in FIG. 4 or FIG. 5 may be directly used. When the user equipment enters a new cell in the connected state, the step of determining the network capability of the MME may be added in the handover procedure. See Figure 6 for details.
图 6为本申请的近距离业务更新方法实施例 3的流程图。该流程可以包括: 步骤 601 : 基站向 MME发送 S1建立请求。  FIG. 6 is a flowchart of Embodiment 3 of the short-range service update method of the present application. The process may include: Step 601: The base station sends an S1 establishment request to the MME.
步骤 602: MME储存网络的 ProSe能力信息, 并向 eNodeB发送 S1建立 响应消息告知 eNodeB相应信息。  Step 602: The MME stores the ProSe capability information of the network, and sends an S1 setup response message to the eNodeB to notify the eNodeB of the corresponding information.
连接态的用户设备进入新的 TA,接收到该 TA的 eNodeB广播的所处网络 的 ProSe 能力, 然后进行切换的准备和执行, 将数据从源 eNodeB 转到目标 eNodeB, 准备进行切换完成流程。  The connected user equipment enters the new TA, receives the ProSe capability of the network in which the eNodeB broadcasts, and then prepares and executes the handover, and transfers the data from the source eNodeB to the target eNodeB, ready to complete the handover completion process.
步骤 603: 基站向 MME发送路径切换请求。  Step 603: The base station sends a path switch request to the MME.
目标 eNodeB向 MME发送路径切换请求消息来通知 MME设备已经进入 了新的小区。 这个消息是现有切换流程中定义的消息。  The target eNodeB sends a Path Switch Request message to the MME to inform the MME that the device has entered the new cell. This message is a message defined in the existing handover process.
MME在接收到该请求后, 会根据步骤 601中存储的网络的近距离业务能 力信息, 判断用户设备之前所在的小区相对于即将进入到的新的小区, 能力是 否发生变化。 如果近距离业务能力发生变化, 则执行步骤 604。  After receiving the request, the MME determines, according to the short-range service capability information of the network stored in step 601, whether the capability of the cell in which the user equipment is located is changed relative to the new cell that is about to enter. If the near-field service capability changes, step 604 is performed.
步骤 604: MME向近距离服务器发生近距离业务请求。  Step 604: The MME generates a close-range service request to the proximity server.
所述近距离业务请求可以是开启近距离业务的请求,也可以是关闭近距离 业务的请求。  The short-range service request may be a request to open a close-range service, or may be a request to close a close-range service.
近距离业务服务器可以从注册信息来判断是否允许该设备的 ProSe业务。 如果近距离业务服务器判断该设备不允许使用 ProSe业务,则拒绝该近距离服 务请求信息。 如果近距离业务服务器判断允许该设备的 ProSe业务, 则储存用 户设备更新的 ProSe设置。  The proximity service server can determine whether to allow the ProSe service of the device from the registration information. If the proximity service server determines that the device is not allowed to use the ProSe service, the proximity service request information is rejected. If the proximity service server determines that the ProSe service of the device is allowed, the ProSe setting updated by the user device is stored.
需要说明的是, 所述近距离业务请求中,还可以包括用户设备的近距离业 务配置信息。 It should be noted that, in the short-range service request, the short-distance industry of the user equipment may also be included. Configuration information.
所述近距离业务配置信息包括:对于所述终端是否可以发现其他终端的配 置信息, 和 /或, 对于所述终端是否可以被其他终端发现的配置信息。  The short-range service configuration information includes: configuration information about whether the terminal can discover other terminals, and/or configuration information about whether the terminal can be discovered by other terminals.
步骤 605: 近距离业务服务器向 MME发送近距离业务接受消息。 该消息 可以表示近距离业务服务器已经成功更新了设备的 ProSe设置。  Step 605: The short-range service server sends a short-range service accept message to the MME. This message can indicate that the Proximity Service Server has successfully updated the ProSe settings of the device.
步骤 606: MME向基站发送路径切换请求确认消息, 表明已经成功进行 切换。  Step 606: The MME sends a path switch request acknowledgement message to the base station, indicating that the handover has been successfully performed.
如果满足 TAU流程的触发条件, 还可以执行跟踪区更新流程。  If the trigger condition of the TAU process is met, the tracking area update process can also be performed.
本实施例的方法, 可以应用于连接态的用户设备进入到新的小区时,对近 距离业务的相关设置进行更新。 本申请还提供了一种近距离业务注册装置。所述近距离业务注册装置可以 是用户设备。 图 7 为本申请的近距离业务注册装置实施例的结构图。 如图 7 所示, 该装置可以包括:  The method in this embodiment can be applied to update the related settings of the proximity service when the user equipment in the connected state enters the new cell. The application also provides a proximity service registration device. The proximity service registration device may be a user equipment. FIG. 7 is a structural diagram of an embodiment of a proximity service registration apparatus of the present application. As shown in Figure 7, the device can include:
确定单元 701 , 用于确定网络支持近距离业务; 所述网络为终端当前所处 的网络, 或者所述终端将要切换到的网络;  The determining unit 701 is configured to determine that the network supports the short-distance service; the network is the network where the terminal is currently located, or the network to which the terminal is to be switched;
发送单元 702,用于当所述确定单元 701确定所述网络支持近距离业务时, 向近距离业务服务器发送开启所述近距离业务的注册请求。  The sending unit 702 is configured to send, when the determining unit 701 determines that the network supports the short-distance service, a registration request to start the close-range service to the proximity service server.
实际应用中, 该装置还可以包括:  In practical applications, the device may further include:
获取单元, 用于获取所述基站发送的包含近距离业务能力信息的广播; 所 述近距离业务能力信息用于表示所述网络是否支持所述近距离业务;  An acquiring unit, configured to acquire a broadcast that includes the short-range service capability information sent by the base station, where the short-range service capability information is used to indicate whether the network supports the short-range service;
所述近距离业务能力信息是所述基站根据所述基站的配置信息获得的 ,或 者,所述近距离业务能力信息是所述基站根据与移动性管理实体的信令交互过 程得到的;  The short-range service capability information is obtained by the base station according to the configuration information of the base station, or the short-range service capability information is obtained by the base station according to a signaling interaction process with the mobility management entity;
实际应用中, 所述确定单元 701 , 具体可以包括:  In an actual application, the determining unit 701 may specifically include:
确定子单元,用于根据所述近距离业务能力信息确定网络是否支持近距离 业务。  And determining a subunit, configured to determine, according to the short-range service capability information, whether the network supports the short-range service.
所述发送单元 702, 具体可以包括:  The sending unit 702 may specifically include:
第一发送子单元,用于向所述近距离业务服务器发送开启所述近距离业务 的注册请求;所述开启所述近距离业务的注册请求中包含所述终端的近距离业 务配置信息; a first sending subunit, configured to send, to the short-distance service server, a registration request for enabling the short-distance service; the request for opening the short-distance service includes a short-distance of the terminal Configuration information;
所述近距离业务配置信息包括:对于所述终端是否可以发现其他终端的配 置信息, 和 /或, 对于所述终端是否可以被其他终端发现的配置信息。  The short-range service configuration information includes: configuration information about whether the terminal can discover other terminals, and/or configuration information about whether the terminal can be discovered by other terminals.
实际应用中, 所述确定单元 701还可以用于:  In an actual application, the determining unit 701 can also be used to:
所述向近距离业务服务器发送开启所述近距离业务的注册请求之后,当所 述终端进入新的小区时, 确定所述小区是否支持所述近距离业务;  After the short-distance service server sends a registration request for enabling the short-range service, when the terminal enters a new cell, determining whether the cell supports the short-range service;
相应的, 所述发送单元 702, 还可以用于当所述小区不支持所述近距离业 务时, 向基站发送包含近距离业务关闭信息的第一跟踪区更新请求, 以便所述 基站将所述第一跟踪区更新请求转发至移动性管理实体,所述移动性管理实体 向所述近距离业务服务器发送关闭所述近距离业务的请求。  Correspondingly, the sending unit 702 is further configured to: when the cell does not support the short-range service, send, to the base station, a first tracking area update request that includes short-range service shutdown information, so that the base station The first tracking area update request is forwarded to the mobility management entity, and the mobility management entity sends a request to close the proximity service to the proximity service server.
实际应用中, 所述确定单元 701还可以用于: 向所述近距离业务服务器发 送关闭所述近距离业务的注册请求之后, 当所述终端进入新的小区时,确定所 述小区是否支持所述近距离业务;  In an actual application, the determining unit 701 is further configured to: after sending the registration request to close the short-range service to the short-distance service server, when the terminal enters a new cell, determine whether the cell supports the Said close-range business;
相应的, 所述发送单元 702还可以用于: 当所述小区支持所述近距离业务 时, 向基站发送包含近距离业务配置信息的第二跟踪区更新请求, 以便所述基 站将所述第二跟踪区更新请求转发至移动性管理实体,所述移动性管理实体向 所述近距离业务服务器发送开启所述近距离业务的请求,所述近距离业务服务 器按照所述近距离业务配置信息开启所述近距离业务。  Correspondingly, the sending unit 702 is further configured to: when the cell supports the short-range service, send, to the base station, a second tracking area update request that includes short-range service configuration information, so that the base station And the second tracking area update request is forwarded to the mobility management entity, and the mobility management entity sends a request to start the short-distance service to the short-range service server, where the short-distance service server starts according to the short-range service configuration information. The close range service.
本申请还提供了另一种近距离业务注册装置。所述近距离业务注册装置可 以是用户设备。 图 8为本申请的另一种近距离业务注册装置实施例的结构图。 如图 8所示, 该装置可以包括:  The present application also provides another proximity service registration device. The proximity service registration device can be a user equipment. FIG. 8 is a structural diagram of another embodiment of a proximity service registration apparatus according to the present application. As shown in Figure 8, the device can include:
确定单元 801 , 用于确定网络不支持近距离业务; 所述网络为终端当前所 处的网络, 或者所述终端将要切换到的网络;  a determining unit 801, configured to determine that the network does not support the short-range service; where the network is the network where the terminal is currently located, or the network to which the terminal is to be switched;
发送单元 802, 用于当所述确定单元 801确定所述网络不支持近距离业务 时, 向近距离业务服务器发送关闭所述近距离业务的注册请求。  The sending unit 802 is configured to, when the determining unit 801 determines that the network does not support the short-range service, send a registration request to close the short-distance service to the proximity service server.
实际应用中, 所述装置还可以包括:  In practical applications, the device may further include:
获取单元, 用于获取所述基站发送的包含近距离业务能力信息的广播, 所 述近距离业务能力信息用于表示所述网络不支持所述近距离业务;  An acquiring unit, configured to acquire, by the base station, a broadcast that includes short-range service capability information, where the short-range service capability information is used to indicate that the network does not support the short-range service;
所述近距离业务能力信息是所述基站根据所述基站的配置信息获得的 ,或 者,所述近距离业务能力信息是所述基站根据与移动性管理实体的信令交互过 程得到的; The short-range service capability information is obtained by the base station according to configuration information of the base station, or the short-range service capability information is that the base station interacts with signaling according to a mobility management entity. Obtained by Cheng
所述确定单元 801 , 具体可以包括:  The determining unit 801 may specifically include:
确定子单元,用于根据所述近距离业务能力信息确定网络不支持近距离业 务。  The determining subunit is configured to determine, according to the short-range service capability information, that the network does not support the short-distance service.
实际应用中, 所述发送单元 802, 具体可以包括:  In an actual application, the sending unit 802 may specifically include:
第一发送子单元,用于向所述近距离业务服务器发送开启所述近距离业务 的注册请求;所述开启所述近距离业务的注册请求中包含所述终端的近距离业 务配置信息;  a first sending sub-unit, configured to send, to the short-distance service server, a registration request for enabling the short-distance service; the request for opening the short-distance service includes short-distance service configuration information of the terminal;
所述近距离业务配置信息包括:是否允许所述终端发现其他终端的配置信 息, 和 /或, 是否允许所述终端被其他终端发现的配置信息。  The short-range service configuration information includes: whether the terminal is allowed to discover configuration information of other terminals, and/or configuration information of whether the terminal is allowed to be discovered by other terminals.
实际应用中, 所述确定单元 801还可以用于:  In an actual application, the determining unit 801 can also be used to:
所述向近距离业务服务器发送开启所述近距离业务的注册请求之后,当所 述终端进入新的小区时, 确定所述小区不支持所述近距离业务;  After the short-distance service server sends a registration request to enable the short-distance service, when the terminal enters a new cell, it is determined that the cell does not support the short-distance service;
所述发送单元,还用于当所述小区不支持所述近距离业务时, 向基站发送 包含近距离业务关闭信息的第一跟踪区更新请求,以便所述基站将所述第一跟 踪区更新请求转发至移动性管理实体,所述移动性管理实体向所述近距离业务 服务器发送关闭所述近距离业务的请求。  The sending unit is further configured to: when the cell does not support the short-range service, send, to the base station, a first tracking area update request that includes short-range service shutdown information, so that the base station updates the first tracking area. The request is forwarded to a mobility management entity, and the mobility management entity sends a request to the proximity service server to close the proximity service.
实际应用中, 所述确定单元 801还可以用于:  In an actual application, the determining unit 801 can also be used to:
向所述近距离业务服务器发送关闭所述近距离业务的注册请求之后,当所 述终端进入新的小区时, 确定所述小区支持所述近距离业务;  After transmitting the registration request for closing the short-range service to the short-distance service server, when the terminal enters a new cell, determining that the cell supports the short-range service;
当所述小区支持所述近距离业务时,向基站发送包含近距离业务配置信息 的第二跟踪区更新请求,以便所述基站将所述第二跟踪区更新请求转发至移动 性管理实体,所述移动性管理实体向所述近距离业务服务器发送开启所述近距 离业务的请求,所述近距离业务服务器按照所述近距离业务配置信息开启所述 近距离业务。 本申请还提供了一种近距离业务更新装置。所述近距离业务更新装置可以 是 MME。 图 9为本申请的近距离业务更新装置实施例的结构图。如图 9所示, 该装置可以包括:  Transmitting, by the cell, the second tracking area update request including the short-range service configuration information, so that the base station forwards the second tracking area update request to the mobility management entity, where the cell supports the short-range service The mobility management entity sends a request for opening the short-range service to the short-range service server, and the short-distance service server starts the close-range service according to the short-range service configuration information. The application also provides a proximity service update device. The short-range service update device may be an MME. FIG. 9 is a structural diagram of an embodiment of a short-range service updating apparatus according to the present application. As shown in Figure 9, the device can include:
确定单元 901 , 用于确定终端进入了新的小区; 当所述终端进入了新的小区时,所述确定单元还用于确定所述新的小区相 对于所述终端所处的上一个小区, 支持近距离业务的能力发生了改变; 所述改 变包括: 所述新的小区支持近距离业务且所述上一个小区不支持近距离业务, 或者所述新的小区不支持近距离业务且所述上一个小区支持近距离业务; 发送单元 902, 用于当所述新的小区相对于所述终端所处的上一个小区, 支持近距离业务的能力发生了改变时,向近距离业务服务器发送对于所述终端 的所述近距离业务的更新请求。 a determining unit 901, configured to determine that the terminal enters a new cell; When the terminal enters a new cell, the determining unit is further configured to determine that the capability of the new cell to support the proximity service is changed with respect to the previous cell where the terminal is located; the change includes The new cell supports the short-range service and the previous cell does not support the short-range service, or the new cell does not support the short-range service and the previous cell supports the short-distance service; the sending unit 902 is configured to: When the new cell has changed its ability to support the short-range service with respect to the previous cell in which the terminal is located, an update request for the short-distance service of the terminal is sent to the proximity service server.
实际应用中, 所述确定单元 901 , 具体可以包括:  In an actual application, the determining unit 901 may specifically include:
第一确定子单元, 用于确定接收到所述终端的跟踪区更新请求; 和 /或, 第二确定子单元, 用于确定接收到基站发送的路径切换请求; 所 述路径切换请求是所述基站在对处于连接态的所述终端执行切换流程的过程 中生成的。  a first determining subunit, configured to determine a tracking area update request that receives the terminal; and/or a second determining subunit, configured to determine a path switching request sent by the receiving base station; the path switching request is The base station is generated in the process of performing a handover procedure on the terminal in the connected state.
所述发送单元 902, 具体可以包括:  The sending unit 902 may specifically include:
第一发送子单元,用于当所述新的小区不支持近距离业务且所述上一个小 区支持近距离业务时,向所述近距离业务服务器发送携带近距离业务关闭信息 的第一近距离业务更新请求 ,以便所述近距离业务服务器关闭所述终端的所述 近距离业务。  a first sending subunit, configured to send, when the new cell does not support the short-distance service, the first cell supports the short-distance service, and send the first close distance that carries the close-range service closing information to the short-distance service server. A service update request, so that the proximity service server closes the proximity service of the terminal.
所述发送单元 902, 具体还可以包括:  The sending unit 902 may specifically include:
第二发送子单元,用于当所述新的小区支持近距离业务且所述上一个小区 不支持近距离业务时,向所述近距离业务服务器发送包含近距离业务配置信息 的第二近距离业务更新请求,以便所述近距离业务服务器按照所述近距离业务 配置信息开启所述近距离业务;  a second sending subunit, configured to send a second close distance including the short-range service configuration information to the short-distance service server when the new cell supports the short-distance service and the previous cell does not support the short-distance service a service update request, so that the proximity service server starts the proximity service according to the short-range service configuration information;
其中, 所述近距离业务配置信息包括: 是否允许所述终端发现其他终端的 配置信息, 和 /或, 是否允许所述终端被其他终端发现的配置信息。 本申请还提供了另一种近距离业务注册装置。 图 10为另一种近距离业务 注册装置实施例的结构图。 如图 10所示, 该装置可以包括:  The short-range service configuration information includes: whether the terminal is allowed to discover configuration information of other terminals, and/or configuration information of whether the terminal is allowed to be discovered by other terminals. The present application also provides another proximity service registration device. Figure 10 is a block diagram showing another embodiment of a proximity service registration device. As shown in FIG. 10, the apparatus may include:
处理器 1001 , 用于确定网络支持近距离业务; 所述网络为终端当前所处 的网络, 或者所述终端将要切换到的网络;  The processor 1001 is configured to determine that the network supports the short-range service; where the network is the network where the terminal is currently located, or the network to which the terminal is to be switched;
发射器 1002, 用于当所述处理器 1001确定所述网络支持近距离业务时, 向近距离业务服务器发送开启所述近距离业务的注册请求£ 本申请还提供了另一种近距离业务注册装置。 图 11为另一种近距离业务 注册装置实施例的结构图。 如图 11所示, 该装置可以包括: a transmitter 1002, configured to: when the processor 1001 determines that the network supports short-range services, The service server sends a close proximity of the open service registration request £ present application also provides another apparatus close registration service. 11 is a structural diagram of another embodiment of a proximity service registration apparatus. As shown in FIG. 11, the device may include:
处理器 1101 , 用于确定网络不支持近距离业务, 所述网络为所述终端当 前所处的网络, 或者所述终端将要切换到的网络;  The processor 1101 is configured to determine that the network does not support the short-range service, where the network is the network where the terminal is currently located, or the network to which the terminal is to be switched;
发射器 1102,用于所述处理器 1101确定当所述网络不支持近距离业务时, 向所述近距离业务服务器发送关闭所述近距离业务的注册请求。 本申请还提供了另一种近距离业务更新装置。 图 12为另一种近距离业务 更新装置实施例的结构图。 如图 12所示, 该装置可以包括:  The transmitter 1102 is configured to determine, by the processor 1101, that when the network does not support the short-range service, send a registration request to close the short-range service to the short-range service server. The present application also provides another proximity service update device. Figure 12 is a block diagram showing another embodiment of a proximity service update device. As shown in FIG. 12, the apparatus may include:
处理器 1201 , 用于确定终端进入了新的小区;  The processor 1201 is configured to determine that the terminal enters a new cell.
当所述终端进入了新的小区时, 所述处理器 1201还用于确定所述新的小 区相对于所述终端所处的上一个小区, 支持近距离业务的能力发生了改变; 所 述改变包括:所述新的小区支持近距离业务且所述上一个小区不支持近距离业 务, 或者所述新的小区不支持近距离业务且所述上一个小区支持近距离业务; 发射器 1202, 用于当所述新的小区相对于所述终端所处的上一个小区, 支持近距离业务的能力发生了改变时,向近距离业务服务器发送对于所述终端 的所述近距离业务的更新请求。 另外, 本申请实施例还提供了一种计算节点,计算节点可能是包含计算能 力的主机服务器, 或者是个人计算机 PC, 或者是可携带的便携式计算机或终 端等等, 本申请具体实施例并不对计算节点的具体实现做限定。  When the terminal enters a new cell, the processor 1201 is further configured to determine that the capability of the new cell to support the proximity service is changed with respect to the previous cell where the terminal is located; The method includes: the new cell supports the short-range service, and the previous cell does not support the short-distance service, or the new cell does not support the short-distance service and the previous cell supports the short-distance service; the transmitter 1202, And when the new cell is changed in relation to the previous cell in which the terminal is located, and the capability of supporting the short-distance service is changed, the update request for the short-distance service of the terminal is sent to the short-distance service server. In addition, the embodiment of the present application further provides a computing node, which may be a host server including computing power, or a personal computer PC, or a portable computer or terminal, etc., and the specific embodiment of the present application is not correct. The specific implementation of the compute node is limited.
图 13为本申请的计算节点的结构图。 如图 13所示, 计算节点 700包括: 处理器(processor ) 710, 通信接口 ( Communications Interface ) 720 , 存 储器(memory ) 730, 总线 740。  FIG. 13 is a structural diagram of a computing node of the present application. As shown in FIG. 13, the compute node 700 includes a processor 710, a Communications Interface 720, a memory 730, and a bus 740.
处理器 710,通信接口 720,存储器 730通过总线 740完成相互间的通信。 处理器 710, 用于执行程序 732。  The processor 710, the communication interface 720, and the memory 730 complete communication with each other via the bus 740. The processor 710 is configured to execute the program 732.
具体地,程序 732可以包括程序代码,所述程序代码包括计算机操作指令。 处理器 710 可能是一个中央处理器 CPU , 或者是特定集成电路 ASIC ( Application Specific Integrated Circuit ),或者是被配置成实施本申请实施例的 一个或多个集成电路。 In particular, program 732 can include program code, the program code including computer operating instructions. Processor 710 may be a central processing unit CPU or a specific integrated circuit ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present application.
存储器 730, 用于存放程序 732。 存储器 730可能包含高速 RAM存储器, 也可能还包括非易失性存储器( non-volatile memory ), 例如至少一个磁盘存储 器。 程序 732具体可以包括:  The memory 730 is configured to store the program 732. Memory 730 may include high speed RAM memory and may also include non-volatile memory, such as at least one disk storage. The program 732 may specifically include:
确定单元 701 , 用于确定网络支持近距离业务; 所述网络为终端当前所处 的网络, 或者所述终端将要切换到的网络;  The determining unit 701 is configured to determine that the network supports the short-distance service; the network is the network where the terminal is currently located, or the network to which the terminal is to be switched;
发送单元 702,用于当所述确定单元 701确定所述网络支持近距离业务时, 向近距离业务服务器发送开启所述近距离业务的注册请求。  The sending unit 702 is configured to send, when the determining unit 701 determines that the network supports the short-distance service, a registration request to start the close-range service to the proximity service server.
或者, 程序 732具体可以包括:  Alternatively, the program 732 may specifically include:
确定单元 801 , 用于确定网络不支持近距离业务; 所述网络为终端当前所 处的网络, 或者所述终端将要切换到的网络;  a determining unit 801, configured to determine that the network does not support the short-range service; where the network is the network where the terminal is currently located, or the network to which the terminal is to be switched;
发送单元 802, 用于当所述确定单元 801确定所述网络不支持近距离业务 时, 向近距离业务服务器发送关闭所述近距离业务的注册请求。  The sending unit 802 is configured to, when the determining unit 801 determines that the network does not support the short-range service, send a registration request to close the short-distance service to the proximity service server.
或者, 程序 732具体可以包括:  Alternatively, the program 732 may specifically include:
确定单元 901 , 用于确定终端进入了新的小区;  a determining unit 901, configured to determine that the terminal enters a new cell;
当所述终端进入了新的小区时,所述确定单元还用于确定所述新的小区相 对于所述终端所处的上一个小区, 支持近距离业务的能力发生了改变; 所述改 变包括: 所述新的小区支持近距离业务且所述上一个小区不支持近距离业务, 或者所述新的小区不支持近距离业务且所述上一个小区支持近距离业务;  When the terminal enters a new cell, the determining unit is further configured to determine that the capability of the new cell to support the proximity service is changed with respect to the previous cell where the terminal is located; the change includes The new cell supports the short-range service, and the previous cell does not support the short-distance service, or the new cell does not support the short-distance service and the previous cell supports the short-distance service;
发送单元 902, 用于当所述新的小区相对于所述终端所处的上一个小区, 支持近距离业务的能力发生了改变时,向近距离业务服务器发送对于所述终端 的所述近距离业务的更新请求。  The sending unit 902 is configured to send, when the new cell is changed, the capability of supporting the short-distance service with respect to the previous cell where the terminal is located, sending the close-range to the short-distance service server Business update request.
程序 732中各模块的具体实现参见图 7-图 9所示实施例中的相应单元,在 此不贅述。 本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是 与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于 实施例公开的装置而言, 由于其与实施例公开的方法相对应, 所以描述的比较 简单, 相关之处参见方法部分说明即可。 专业人员还可以进一步意识到,结合本文中所公开的实施例描述的各示例 的单元及算法步骤,能够以电子硬件或者电子硬件与计算机软件相结合的方式 来实现。 为了清楚地说明部分硬件和软件的可互换性,在上述说明中已经按照 功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软硬件结 合的方式来执行,取决于技术方案的特定应用和设计约束条件。 专业技术人员 应认为超出本发明的范围。 For the specific implementation of each module in the program 732, refer to the corresponding units in the embodiment shown in FIG. 7 to FIG. 9 , and details are not described herein. The various embodiments in the present specification are described in a progressive manner, and each embodiment focuses on differences from other embodiments, and the same similar parts between the various embodiments may be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method part. A person skilled in the art will further appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in a combination of electronic hardware or electronic hardware and computer software. To clearly illustrate the interchangeability of some of the hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the above description. Whether these functions are performed in hardware or a combination of hardware and software depends on the specific application and design constraints of the solution. Those skilled in the art should be considered to be outside the scope of the present invention.
结合本文中所公开的实施例描述的方法或算法的步骤可以直接用硬件、处 理器执行的软件模块, 或者二者的结合来实施。软件模块可以置于随机存储器 ( RAM )、内存、只读存储器 ( ROM )、电可编程 ROM、电可擦除可编程 ROM, 寄存器、 硬盘、 可移动磁盘、 CD-ROM, 或技术领域内所公知的任意其它形式 的存储介质中。  The steps of a method or algorithm described in connection with the embodiments disclosed herein can be implemented directly in hardware, a software module executed by a processor, or a combination of both. The software module can be placed in random access memory (RAM), memory, read only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or technical field. Any other form of storage medium known.
对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本 发明。 对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见 的, 本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下, 在 其它实施例中实现。 因此, 本发明将不会被限制于本文所示的这些实施例, 而 是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。  The above description of the disclosed embodiments enables those skilled in the art to make or use the invention. Various modifications to these embodiments are obvious to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention is not to be limited to the embodiments shown herein, but is to be accorded to the broadest scope of the principles and novel features disclosed herein.

Claims

权 利 要 求 Rights request
1、 一种近距离业务注册方法, 其特征在于, 包括: 1. A short-distance business registration method, characterized by including:
终端确定网络支持近距离业务, 所述网络为所述终端当前所处的网络, 或 者所述终端将要切换到的网络; The terminal determines that the network supports short-distance services, and the network is the network where the terminal is currently located, or the network to which the terminal is about to switch;
当所述网络支持近距离业务时,向近距离业务服务器发送开启所述近距离 业务的注册请求。 When the network supports the short-range service, a registration request to enable the short-range service is sent to the short-range service server.
2、 根据权利要求 1所述的方法, 其特征在于, 所述终端确定网络支持近 距离业务之前, 还包括: 2. The method according to claim 1, characterized in that before the terminal determines that the network supports short-range services, it further includes:
获取所述基站发送的包含近距离业务能力信息的广播,所述近距离业务能 力信息用于表示所述网络支持所述近距离业务; Obtain a broadcast sent by the base station containing short-range service capability information, where the short-range service capability information is used to indicate that the network supports the short-range service;
所述近距离业务能力信息是所述基站根据所述基站的配置信息获得的 ,或 者,所述近距离业务能力信息是所述基站根据与移动性管理实体的信令交互过 程得到的; The short-range service capability information is obtained by the base station according to the configuration information of the base station, or the short-range service capability information is obtained by the base station according to a signaling interaction process with the mobility management entity;
所述终端确定网络支持近距离业务, 具体包括: The terminal determines that the network supports short-range services, specifically including:
根据所述近距离业务能力信息确定网络支持近距离业务。 It is determined based on the short-distance service capability information that the network supports short-distance services.
3、 根据权利要求 1所述的方法, 其特征在于, 所述向近距离业务服务器 发送开启所述近距离业务的注册请求, 具体包括: 3. The method according to claim 1, characterized in that: sending a registration request to enable the short-range service to the short-range service server specifically includes:
向所述近距离业务服务器发送开启所述近距离业务的注册请求;所述开启 所述近距离业务的注册请求中包含所述终端的近距离业务配置信息; Send a registration request to enable the short-range service to the short-range service server; the registration request to enable the short-range service includes the short-range service configuration information of the terminal;
所述近距离业务配置信息包括:是否允许所述终端发现其他终端的配置信 息, 和 /或, 是否允许所述终端被其他终端发现的配置信息。 The short-distance service configuration information includes: configuration information of whether the terminal is allowed to discover other terminals, and/or configuration information of whether the terminal is allowed to be discovered by other terminals.
4、 根据权利要求 1所述的方法, 其特征在于, 所述向近距离业务服务器 发送开启所述近距离业务的注册请求之后, 还包括: 4. The method according to claim 1, characterized in that, after sending the registration request to enable the short-distance service to the short-distance service server, it further includes:
当所述终端进入新的小区时, 确定所述小区不支持所述近距离业务; 当所述小区不支持所述近距离业务时,向基站发送包含近距离业务关闭信 息的第一跟踪区更新请求,以便所述基站将所述第一跟踪区更新请求转发至移 动性管理实体,所述移动性管理实体向所述近距离业务服务器发送关闭所述近 距离业务的请求。 When the terminal enters a new cell, it is determined that the cell does not support the short-distance service; when the cell does not support the short-distance service, a first tracking area update containing short-distance service shutdown information is sent to the base station. request, so that the base station forwards the first tracking area update request to the mobility management entity, and the mobility management entity sends a request to close the short-range service to the short-range service server.
5、 一种近距离业务注册方法, 其特征在于, 包括: 终端确定网络不支持近距离业务, 所述网络为所述终端当前所处的网络, 或者所述终端将要切换到的网络; 5. A short-distance business registration method, characterized by including: The terminal determines that the network does not support short-range services, and the network is the network where the terminal is currently located, or the network to which the terminal is about to switch;
当所述网络不支持近距离业务时,向所述近距离业务服务器发送关闭所述 近距离业务的注册请求。 When the network does not support the short-range service, a registration request to close the short-range service is sent to the short-range service server.
6、 根据权利要求 5所述的方法, 其特征在于, 所述终端确定网络不支持 近距离业务之前, 还包括: 6. The method according to claim 5, characterized in that, before the terminal determines that the network does not support short-range services, it further includes:
获取所述基站发送的包含近距离业务能力信息的广播,所述近距离业务能 力信息用于表示所述网络不支持所述近距离业务; Obtain the broadcast sent by the base station and containing short-range service capability information, where the short-range service capability information is used to indicate that the network does not support the short-range service;
所述近距离业务能力信息是所述基站根据所述基站的配置信息获得的 ,或 者,所述近距离业务能力信息是所述基站根据与移动性管理实体的信令交互过 程得到的; The short-range service capability information is obtained by the base station according to the configuration information of the base station, or the short-range service capability information is obtained by the base station according to a signaling interaction process with the mobility management entity;
所述终端确定网络不支持近距离业务, 具体包括: The terminal determines that the network does not support short-range services, specifically including:
根据所述近距离业务能力信息确定网络不支持近距离业务。 It is determined based on the short-range service capability information that the network does not support short-range services.
7、 根据权利要求 5所述的方法, 其特征在于, 所述向所述近距离业务服 务器发送关闭所述近距离业务的注册请求之后, 还包括: 7. The method according to claim 5, characterized in that, after sending a registration request to close the short-distance service to the short-distance service server, it further includes:
当所述终端进入新的小区时, 确定所述小区支持所述近距离业务; 当所述小区支持所述近距离业务时,向基站发送包含近距离业务配置信息 的第二跟踪区更新请求,以便所述基站将所述第二跟踪区更新请求转发至移动 性管理实体,所述移动性管理实体向所述近距离业务服务器发送开启所述近距 离业务的请求,所述近距离业务服务器按照所述近距离业务配置信息开启所述 近距离业务。 When the terminal enters a new cell, it is determined that the cell supports the short-distance service; when the cell supports the short-distance service, a second tracking area update request containing short-distance service configuration information is sent to the base station, So that the base station forwards the second tracking area update request to the mobility management entity, and the mobility management entity sends a request to start the short-range service to the short-range service server, and the short-range service server follows The short-range service configuration information enables the short-range service.
8、 一种近距离业务更新方法, 其特征在于, 包括: 8. A short-distance service update method, characterized by including:
移动性管理实体确定终端进入了新的小区; The mobility management entity determines that the terminal has entered a new cell;
当所述终端进入了新的小区时,确定所述新的小区相对于所述终端所处的 上一个小区, 支持近距离业务的能力发生了改变; 所述改变包括: 所述新的小 区支持近距离业务且所述上一个小区不支持近距离业务,或者所述新的小区不 支持近距离业务且所述上一个小区支持近距离业务; When the terminal enters a new cell, it is determined that the new cell's ability to support short-distance services has changed relative to the previous cell where the terminal is located; the change includes: the new cell supports Short-distance services and the previous cell does not support short-distance services, or the new cell does not support short-distance services and the previous cell supports short-distance services;
当所述新的小区相对于所述终端所处的上一个小区,支持近距离业务的能 力发生了改变时,向近距离业务服务器发送对于所述终端的所述近距离业务的 更新请求。 When the capability of the new cell to support short-range services changes relative to the previous cell where the terminal is located, an update request for the short-range services of the terminal is sent to the short-range service server.
9、 根据权利要求 8所述的方法, 其特征在于, 所述确定终端进入了新的 小区, 具体包括: 9. The method according to claim 8, wherein determining that the terminal has entered a new cell specifically includes:
确定接收到所述终端的跟踪区更新请求; Determine that the tracking area update request from the terminal is received;
或者,确定接收到基站发送的路径切换请求; 所述路径切换请求是所述基 站在对处于连接态的所述终端执行切换流程的过程中生成的。 Or, it is determined that a path switching request sent by the base station is received; the path switching request is generated by the base station during the process of executing a switching process on the terminal in the connected state.
10、 根据权利要求 8所述的方法, 其特征在于, 当所述新的小区不支持近 距离业务且所述上一个小区支持近距离业务时,所述向近距离业务服务器发送 对于所述终端的所述近距离业务的更新请求, 具体包括: 10. The method according to claim 8, characterized in that, when the new cell does not support short-distance service and the previous cell supports short-distance service, the short-distance service server sends a message for the terminal to the short-distance service server. The update request for the short-distance service specifically includes:
当所述新的小区不支持近距离业务且所述上一个小区支持近距离业务时, 向所述近距离业务服务器发送携带近距离业务关闭信息的第一近距离业务更 新请求, 以便所述近距离业务服务器关闭所述终端的所述近距离业务。 When the new cell does not support short-distance services and the previous cell supports short-distance services, a first short-distance service update request carrying short-distance service shutdown information is sent to the short-distance service server so that the near-distance service The distance service server closes the short distance service of the terminal.
11、 根据权利要求 8所述的方法, 其特征在于, 当所述新的小区支持近距 离业务且所述上一个小区不支持近距离业务时,所述向近距离业务服务器发送 对于所述终端的所述近距离业务的更新请求, 具体包括: 11. The method according to claim 8, characterized in that, when the new cell supports short-distance services and the previous cell does not support short-distance services, the short-distance service server sends a message for the terminal to the short-distance service server. The update request for the short-distance service specifically includes:
当所述新的小区支持近距离业务且所述上一个小区不支持近距离业务时, 向所述近距离业务服务器发送包含近距离业务配置信息的第二近距离业务更 新请求,以便所述近距离业务服务器按照所述近距离业务配置信息开启所述近 距离业务; When the new cell supports short-range service and the previous cell does not support short-range service, a second short-range service update request containing short-range service configuration information is sent to the short-range service server so that the short-range service The distance service server starts the short distance service according to the short distance service configuration information;
其中, 所述近距离业务配置信息包括: 是否允许所述终端发现其他终端的 配置信息, 和 /或, 是否允许所述终端被其他终端发现的配置信息。 Wherein, the short-distance service configuration information includes: configuration information of whether the terminal is allowed to discover other terminals, and/or configuration information of whether the terminal is allowed to be discovered by other terminals.
12、 一种近距离业务注册装置, 其特征在于, 包括: 12. A short-distance service registration device, characterized by: including:
确定单元, 用于确定网络支持近距离业务; 所述网络为终端当前所处的网 络, 或者所述终端将要切换到的网络; A determining unit, used to determine that the network supports short-distance services; the network is the network where the terminal is currently located, or the network to which the terminal will be switched;
发送单元, 用于当所述确定单元确定网络支持近距离业务时, 向近距离业 务服务器发送开启所述近距离业务的注册请求。 A sending unit, configured to send a registration request to enable the short-range service to the short-range service server when the determining unit determines that the network supports the short-range service.
13、 根据权利要求 12所述的装置, 其特征在于, 还包括: 13. The device according to claim 12, further comprising:
获取单元, 用于获取所述基站发送的包含近距离业务能力信息的广播; 所 述近距离业务能力信息用于表示所述网络支持所述近距离业务; An acquisition unit, configured to acquire a broadcast containing short-range service capability information sent by the base station; the short-range service capability information is used to indicate that the network supports the short-range service;
所述近距离业务能力信息是所述基站根据所述基站的配置信息获得的 ,或 者,所述近距离业务能力信息是所述基站根据与移动性管理实体的信令交互过 程得到的; The short-range service capability information is obtained by the base station according to the configuration information of the base station, or the short-range service capability information is obtained by the base station according to the signaling interaction with the mobility management entity. obtained by Cheng;
所述确定单元, 具体包括: The determining unit specifically includes:
确定子单元, 用于根据所述近距离业务能力信息确定网络支持近距离业 务。 Determining subunit, configured to determine that the network supports short-distance services based on the short-distance service capability information.
14、 根据权利要求 12所述的装置, 其特征在于, 所述发送单元, 具体包 括: 14. The device according to claim 12, characterized in that the sending unit specifically includes:
第一发送子单元,用于向所述近距离业务服务器发送开启所述近距离业务 的注册请求;所述开启所述近距离业务的注册请求中包含所述终端的近距离业 务配置信息; The first sending subunit is configured to send a registration request to enable the short-range service to the short-range service server; the registration request to enable the short-range service includes the short-range service configuration information of the terminal;
所述近距离业务配置信息包括:是否允许所述终端发现其他终端的配置信 息, 和 /或, 是否允许所述终端被其他终端发现的配置信息。 The short-distance service configuration information includes: configuration information of whether the terminal is allowed to discover other terminals, and/or configuration information of whether the terminal is allowed to be discovered by other terminals.
15、 根据权利要求 12所述的装置, 其特征在于, 所述确定单元还用于: 所述向近距离业务服务器发送开启所述近距离业务的注册请求之后,当所 述终端进入新的小区时, 确定所述小区不支持所述近距离业务; 15. The device according to claim 12, wherein the determining unit is further configured to: after sending the registration request to enable the short-distance service to the short-distance service server, when the terminal enters a new cell When, it is determined that the cell does not support the short-range service;
所述发送单元,还用于当所述小区不支持所述近距离业务时, 向基站发送 包含近距离业务关闭信息的第一跟踪区更新请求,以便所述基站将所述第一跟 踪区更新请求转发至移动性管理实体,所述移动性管理实体向所述近距离业务 服务器发送关闭所述近距离业务的请求。 The sending unit is also configured to send a first tracking area update request containing short-range service closing information to the base station when the cell does not support the short-range service, so that the base station updates the first tracking area. The request is forwarded to the mobility management entity, and the mobility management entity sends a request to close the short-range service to the short-range service server.
16、 一种近距离业务注册装置, 其特征在于, 包括: 16. A short-distance service registration device, characterized by including:
确定单元, 用于确定网络不支持近距离业务, 所述网络为所述终端当前所 处的网络, 或者所述终端将要切换到的网络; A determining unit, used to determine that the network does not support short-range services, and the network is the network where the terminal is currently located, or the network to which the terminal will be switched;
发送单元, 用于当确定单元确定网络不支持近距离业务时, 向所述近距离 业务服务器发送关闭所述近距离业务的注册请求。 A sending unit, configured to send a registration request to close the short-range service to the short-range service server when the determining unit determines that the network does not support the short-range service.
17、 根据权利要求 16所述的装置, 其特征在于, 还包括: 17. The device according to claim 16, further comprising:
获取单元, 用于获取所述基站发送的包含近距离业务能力信息的广播, 所 述近距离业务能力信息用于表示所述网络不支持所述近距离业务; An acquisition unit, configured to acquire a broadcast containing short-range service capability information sent by the base station, where the short-range service capability information is used to indicate that the network does not support the short-range service;
所述近距离业务能力信息是所述基站根据所述基站的配置信息获得的 ,或 者,所述近距离业务能力信息是所述基站根据与移动性管理实体的信令交互过 程得到的; 所述确定单元, 具体包括: The short-range service capability information is obtained by the base station according to the configuration information of the base station, or the short-range service capability information is obtained by the base station according to a signaling interaction process with the mobility management entity; The determining unit specifically includes:
确定子单元,用于根据所述近距离业务能力信息确定网络不支持近距离业 务。 The determining subunit is used to determine that the network does not support short-range services based on the short-range service capability information.
18、 根据权利要求 16所述的装置, 其特征在于, 所述确定单元还用于: 向所述近距离业务服务器发送关闭所述近距离业务的注册请求之后,当所 述终端进入新的小区时, 确定所述小区支持所述近距离业务; 18. The device according to claim 16, wherein the determining unit is further configured to: after sending a registration request to close the short-distance service to the short-distance service server, when the terminal enters a new cell When, it is determined that the cell supports the short-distance service;
当所述小区支持所述近距离业务时,向基站发送包含近距离业务配置信息 的第二跟踪区更新请求,以便所述基站将所述第二跟踪区更新请求转发至移动 性管理实体,所述移动性管理实体向所述近距离业务服务器发送开启所述近距 离业务的请求,所述近距离业务服务器按照所述近距离业务配置信息开启所述 近距离业务。 When the cell supports the short-range service, a second tracking area update request containing short-range service configuration information is sent to the base station, so that the base station forwards the second tracking area update request to the mobility management entity, so The mobility management entity sends a request to enable the short-range service to the short-range service server, and the short-range service server enables the short-range service according to the short-range service configuration information.
19、 一种近距离业务更新装置, 其特征在于, 包括: 19. A short-distance service update device, characterized by including:
确定单元, 用于确定终端进入了新的小区; Determining unit, used to determine that the terminal has entered a new cell;
当所述终端进入了新的小区时,所述确定单元还用于确定所述新的小区相 对于所述终端所处的上一个小区, 支持近距离业务的能力发生了改变; 所述改 变包括: 所述新的小区支持近距离业务且所述上一个小区不支持近距离业务, 或者所述新的小区不支持近距离业务且所述上一个小区支持近距离业务; 发送单元, 用于当所述新的小区相对于所述终端所处的上一个小区, 支持 近距离业务的能力发生了改变时,向近距离业务服务器发送对于所述终端的所 述近距离业务的更新请求。 When the terminal enters a new cell, the determining unit is also used to determine that the ability of the new cell to support short-distance services has changed relative to the previous cell where the terminal is located; the change includes : The new cell supports short-distance services and the previous cell does not support short-distance services, or the new cell does not support short-distance services and the previous cell supports short-distance services; a sending unit, used for current When the new cell's ability to support short-distance services changes compared to the previous cell where the terminal is located, an update request for the short-distance services of the terminal is sent to the short-distance service server.
20、 根据权利要求 19所述的装置, 其特征在于, 所述确定单元, 具体包 括: 20. The device according to claim 19, characterized in that the determining unit specifically includes:
第一确定子单元, 用于确定接收到所述终端的跟踪区更新请求; 和 /或, 第二确定子单元, 用于确定接收到基站发送的路径切换请求; 所 述路径切换请求是所述基站在对处于连接态的所述终端执行切换流程的过程 中生成的。 The first determining subunit is used to determine that the tracking area update request of the terminal is received; and/or, the second determining subunit is used to determine that the path switching request sent by the base station is received; the path switching request is the The base station generates the handover process for the terminal in the connected state.
21、 根据权利要求 19所述的装置, 其特征在于, 所述发送单元, 具体包 括: 21. The device according to claim 19, characterized in that the sending unit specifically includes:
第一发送子单元,用于当所述新的小区不支持近距离业务且所述上一个小 区支持近距离业务时,向所述近距离业务服务器发送携带近距离业务关闭信息 的第一近距离业务更新请求 ,以便所述近距离业务服务器关闭所述终端的所述 近距离业务。 The first sending subunit is configured to send short-distance service closing information to the short-distance service server when the new cell does not support short-distance service and the previous cell supports short-distance service. A first short-distance service update request is made so that the short-distance service server closes the short-distance service of the terminal.
22、 根据权利要求 19所述的装置, 其特征在于, 所述发送单元, 具体包 括: 22. The device according to claim 19, characterized in that the sending unit specifically includes:
第二发送子单元,用于当所述新的小区支持近距离业务且所述上一个小区 不支持近距离业务时,向所述近距离业务服务器发送包含近距离业务配置信息 的第二近距离业务更新请求,以便所述近距离业务服务器按照所述近距离业务 配置信息开启所述近距离业务; The second sending subunit is configured to send the second short-distance service including short-distance service configuration information to the short-distance service server when the new cell supports short-distance service and the previous cell does not support short-distance service. A service update request, so that the short-range service server starts the short-range service according to the short-range service configuration information;
其中, 所述近距离业务配置信息包括: 是否允许所述终端发现其他终端的 配置信息, 和 /或, 是否允许所述终端被其他终端发现的配置信息。 Wherein, the short-distance service configuration information includes: configuration information of whether the terminal is allowed to discover other terminals, and/or configuration information of whether the terminal is allowed to be discovered by other terminals.
23、 一种近距离业务注册装置, 其特征在于, 包括: 23. A short-distance service registration device, characterized by: including:
处理器,用于确定网络支持近距离业务;所述网络为终端当前所处的网络, 或者所述终端将要切换到的网络; A processor, configured to determine that the network supports short-range services; the network is the network where the terminal is currently located, or the network to which the terminal is about to switch;
发射器, 用于当所述处理器确定所述网络支持近距离业务时, 向近距离业 务服务器发送开启所述近距离业务的注册请求。 A transmitter, configured to send a registration request to enable the short-distance service to the short-distance service server when the processor determines that the network supports the short-distance service.
24、 一种近距离业务注册装置, 其特征在于, 包括: 24. A short-distance service registration device, characterized by: including:
处理器, 用于确定网络不支持近距离业务, 所述网络为所述终端当前所处 的网络, 或者所述终端将要切换到的网络; A processor, configured to determine that the network does not support short-range services, and the network is the network where the terminal is currently located, or the network to which the terminal will be switched;
发射器, 用于当所述处理器确定所述网络不支持近距离业务时, 向所述近 距离业务服务器发送关闭所述近距离业务的注册请求。 A transmitter, configured to send a registration request to close the short-range service to the short-range service server when the processor determines that the network does not support the short-range service.
25、 一种近距离业务更新装置, 其特征在于, 包括: 25. A short-distance service update device, characterized by including:
处理器, 用于确定终端进入了新的小区; Processor, used to determine that the terminal has entered a new cell;
当所述终端进入了新的小区时,所述处理器还用于确定所述新的小区相对 于所述终端所处的上一个小区, 支持近距离业务的能力发生了改变; 所述改变 包括: 所述新的小区支持近距离业务且所述上一个小区不支持近距离业务, 或 者所述新的小区不支持近距离业务且所述上一个小区支持近距离业务; When the terminal enters a new cell, the processor is also configured to determine that the ability of the new cell to support short-distance services has changed relative to the previous cell where the terminal is located; the change includes: : The new cell supports short-distance services and the previous cell does not support short-distance services, or the new cell does not support short-distance services and the previous cell supports short-distance services;
发射器, 用于当所述新的小区相对于所述终端所处的上一个小区, 支持近 距离业务的能力发生了改变时,向近距离业务服务器发送对于所述终端的所述 近距离业务的更新请求。 A transmitter configured to send the short-distance service for the terminal to the short-distance service server when the new cell's ability to support short-distance services changes relative to the previous cell where the terminal is located. update request.
PCT/CN2013/086463 2013-11-01 2013-11-01 Method and apparatus for proximity service register WO2015062094A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2013/086463 WO2015062094A1 (en) 2013-11-01 2013-11-01 Method and apparatus for proximity service register
CN201380002925.3A CN105379378B (en) 2013-11-01 2013-11-01 A kind of short distance service log-on method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/086463 WO2015062094A1 (en) 2013-11-01 2013-11-01 Method and apparatus for proximity service register

Publications (1)

Publication Number Publication Date
WO2015062094A1 true WO2015062094A1 (en) 2015-05-07

Family

ID=53003196

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/086463 WO2015062094A1 (en) 2013-11-01 2013-11-01 Method and apparatus for proximity service register

Country Status (2)

Country Link
CN (1) CN105379378B (en)
WO (1) WO2015062094A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112235771A (en) * 2020-10-19 2021-01-15 深圳市中诺通讯有限公司 Service downloading method and device for reducing network load

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1753556A (en) * 2004-09-24 2006-03-29 华为技术有限公司 Method of realizing business type change
CN102256245A (en) * 2011-07-05 2011-11-23 中兴通讯股份有限公司 Mobile equipment identifier (MEID) query method and base station controller
US8260266B1 (en) * 2007-06-26 2012-09-04 Qurio Holdings, Inc. Method and system for third-party discovery of proximity-based services
WO2013109040A1 (en) * 2012-01-16 2013-07-25 엘지전자 주식회사 Method and apparatus for providing proximity service in wireless communication system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101549029B1 (en) * 2011-12-20 2015-09-11 엘지전자 주식회사 User equipment-initiated control method and apparatus for providing proximity service
CN103297947B (en) * 2012-02-22 2018-06-26 中兴通讯股份有限公司 A kind of method and system for realizing local IP operation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1753556A (en) * 2004-09-24 2006-03-29 华为技术有限公司 Method of realizing business type change
US8260266B1 (en) * 2007-06-26 2012-09-04 Qurio Holdings, Inc. Method and system for third-party discovery of proximity-based services
CN102256245A (en) * 2011-07-05 2011-11-23 中兴通讯股份有限公司 Mobile equipment identifier (MEID) query method and base station controller
WO2013109040A1 (en) * 2012-01-16 2013-07-25 엘지전자 주식회사 Method and apparatus for providing proximity service in wireless communication system

Also Published As

Publication number Publication date
CN105379378A (en) 2016-03-02
CN105379378B (en) 2019-07-09

Similar Documents

Publication Publication Date Title
CN111656754B (en) Method for edge computing service and electronic device thereof
US20140237125A1 (en) Method, apparatus, and system for establishing device-to-device connection
WO2018112897A1 (en) Method and device for session activation, and system
WO2014146474A1 (en) Terminal registration method, terminal discovery method, terminal and device
WO2014056445A1 (en) Method, system, and controller for routing forwarding
JP2019520748A (en) Wireless communication method and device
TW200843538A (en) Assisted wireless transmit/receive unit paging and call session routing
WO2012095021A1 (en) Method, system, and device for establishing local ip access connection
US9713176B2 (en) Telecommunication method and telecommunication system
WO2010130174A1 (en) Method for enabling local access control and corresponding communication system
WO2017167153A1 (en) Mobile communication system and paging method
JP2015502701A (en) Enabling access to key lifetime for wireless link setup
JP5551805B2 (en) Method and apparatus for accessing the Internet
CN110268732B (en) Data transmission method, base station, local breakout controller, gateway and system
WO2010133107A1 (en) Method and system for home node b gateway forwarding messages to home node b
WO2010102561A1 (en) Data local exchange method, device and system thereof
WO2013170449A1 (en) Method, device and system for processing network sharing
WO2021047454A1 (en) Location information acquisition method, location service configuration method, and communication device
WO2015089969A1 (en) Accessibility management method and device for m2m terminal/terminal peripheral
WO2013189337A2 (en) Mobility management method and system in m2m network
WO2015062094A1 (en) Method and apparatus for proximity service register
WO2015135278A1 (en) Authentication method and system, prose functional entity, and ue
WO2016034018A1 (en) Method, device and home subscriber server for device to device service recovery
JP2014195167A (en) Telephone system and method for the same
WO2010127490A1 (en) Method, apparatus and system for local routing

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13896517

Country of ref document: EP

Kind code of ref document: A1