WO2016180117A1 - 一种设备到设备网络中中继节点的选择方法及装置 - Google Patents

一种设备到设备网络中中继节点的选择方法及装置 Download PDF

Info

Publication number
WO2016180117A1
WO2016180117A1 PCT/CN2016/078725 CN2016078725W WO2016180117A1 WO 2016180117 A1 WO2016180117 A1 WO 2016180117A1 CN 2016078725 W CN2016078725 W CN 2016078725W WO 2016180117 A1 WO2016180117 A1 WO 2016180117A1
Authority
WO
WIPO (PCT)
Prior art keywords
relay service
relay
service code
remote terminal
response message
Prior art date
Application number
PCT/CN2016/078725
Other languages
English (en)
French (fr)
Inventor
朱进国
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016180117A1 publication Critical patent/WO2016180117A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/22Communication route or path selection, e.g. power-based or shortest path routing using selective relaying for reaching a BTS [Base Transceiver Station] or an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point

Definitions

  • the present application relates to, but is not limited to, device-to-device communication technology, and in particular, to a method and apparatus for selecting a relay node in a device-to-device network.
  • Direct communication between devices in the vicinity using Device to Device can bring many benefits to the terminal, such as higher speed, lower latency and lower power consumption, and greatly improved.
  • the radio resource efficiency of the operator, the D2D relay mode helps the operator to improve the wireless coverage; the Public Safety system can also use the D2D technology to realize the communication between the terminals without the wireless coverage.
  • FIG. 1 shows the schematic diagram of the D2D network architecture related to the 3rd Generation Partnership Project (3GPP) in related technologies.
  • 3GPP 3rd Generation Partnership Project
  • the remote terminal (Remote UE) is in the range of no wireless coverage and accesses the network through a relay UE.
  • the far terminal and the relay node communicate directly through the interface 3 in the D2D network.
  • the relay node is in wireless coverage and can access the network.
  • the terminal also provides an access function to the remote terminal, so that the remote terminal accesses the network through the relay node.
  • the relay node provides an allocation network protocol (IP, Internet Protocol) address and an IP routing function for the remote terminal.
  • IP Internet Protocol
  • EPS Evolved Packet System
  • eNodeB radio access network evolved base station
  • MME Mobility Management Entity
  • SGW service gateway
  • PGW Packet Data Network Gateway
  • ProSe Function which mainly provides service authorization for D2D communication, assigns temporary identifiers, and assists in D2D discovery and billing.
  • PLMN public land mobile network
  • the terminal interacts with the proximity communication server through interface 1, that is, as shown in FIG.
  • the node interacts with the relay node close-range communication server through the interface 1; the far terminal interacts with the remote terminal close-range communication server through the interface 1.
  • Third-party applications or authorized organizations mainly provide application layer services, such as public security servers, for terminals (ie, remote terminals and relay nodes). As shown in FIG. 1, the third-party application or authorization mechanism interacts with the proximity communication server through the interface 2, and interacts with the relay node or the remote terminal through the interface 4.
  • application layer services such as public security servers
  • the relay node broadcasts a 64-bit relay service code, and the far terminal selects a suitable relay node according to the relay service code.
  • the relay service code is a binary string and cannot represent a specific Meaning, therefore not suitable for display and selection of far terminals.
  • the embodiment of the invention provides a method and a device for selecting a relay node in a device-to-device network, and applies a relay service name corresponding to the relay service code one by one to facilitate display and selection of the remote terminal.
  • An embodiment of the present invention provides a method for selecting a relay node in a device-to-device network, where the method includes:
  • the relay service coded snoop response message includes a relay service name available to the remote terminal and a corresponding available relay service code, and the relay service name is a readable string ;
  • a communication request is sent by encoding the corresponding address.
  • the relay service code listening request message further includes a target relay service name selected by the user; and the relay service name of the remote terminal in the relay service coded intercept response message is a target relay service.
  • the available relay service code is the target relay service code.
  • the relay service coded snoop response message further includes a validity period duration corresponding to the relay service code in the relay service coded snoop response message; and the monitoring is consistent with the target relay service code.
  • the communication request is sent to the address corresponding to the consistent selected relay service code, including:
  • the far terminal location information includes a public land mobile network (PLMN) where the far terminal currently camps, or the far terminal location information includes a PLMN currently camped by the far terminal and a surrounding PLMN monitored by the far terminal.
  • PLMN public land mobile network
  • the relay service coded snoop response message includes each PLMN and each PLMN far terminal. The name of the available relay service and its corresponding available relay service code.
  • An embodiment of the present invention provides a method for selecting a relay node in a device-to-device network, where the method includes:
  • the relay service coded interception request message includes a far terminal identifier and a far terminal location information
  • the relay service coded snoop response message includes a relay service name available to the remote terminal and a corresponding available relay service code, where the relay service name is Readable string.
  • the relay service code listening request message includes a target relay service name
  • the relay service name of the remote terminal in the relay service coded intercept response message is a target relay service name
  • the available relay service code is the target relay service code
  • the relay service coded snoop response message further includes a validity period duration corresponding to the relay service code in the relay service coded snoop response message.
  • the remote terminal location information includes a PLMN currently camped by the remote terminal, or the remote terminal location information includes a PLMN currently camped by the remote terminal and a surrounding PLMN monitored by the remote terminal;
  • the forwarding the relay service code snooping request message includes:
  • the relay service coded snoop response message includes each PLMN and each PLMN is available to the far terminal.
  • the relay service name and its corresponding available relay service code is
  • An embodiment of the present invention provides a method for selecting a relay node in a device-to-device network, where the method includes:
  • the relay service name is a readable string
  • the relay service coded interception request message includes a far terminal identifier and a far terminal location information
  • the relay service code allocation request message further includes a relay service name that the relay node corresponding to the relay node identifier can provide.
  • the obtaining the relay service name that the relay node corresponding to the relay node identifier can provide includes:
  • the relay service code allocation response message further includes a validity period duration corresponding to the relay service code in the relay service code allocation response message;
  • the relay service code snoop response message further includes the The duration of the validity period corresponding to the relay service code in the relay service coded intercept response message.
  • the remote terminal location information includes a public land mobile network (PLMN) currently camped by the remote terminal, or the remote terminal location information includes a PLMN currently camped by the remote terminal and a surrounding PLMN monitored by the remote terminal;
  • PLMN public land mobile network
  • the relay service coded snoop response message includes each PLMN and a relay available to each PLMN remote terminal. The service name and its corresponding available relay service code.
  • An embodiment of the present invention provides a method for selecting a relay node in a device-to-device network, where the method includes:
  • the relay service code assignment response message including a relay service name that can be provided and its corresponding available relay service code, the relay service name being a readable character string;
  • the relay service code allocation request message further includes: selecting a relay service name; the relay service name that can be provided in the relay service code allocation response message is an optional relay service name, and the provided The relay service code is encoded using the relay service.
  • the relay service code allocation response message further includes a validity period duration corresponding to the relay service code in the relay service code allocation response message; and the broadcasting the selected relay service code and the allocated station The address corresponding to the relay service code is selected, including:
  • the selected relay service code and the address corresponding to the selected relay service code are broadcasted.
  • An embodiment of the present invention provides a remote terminal, where the remote terminal includes:
  • a first sending unit configured to: send a relay service code listening request message, where the relay service coded listening request message includes a far terminal identifier and a far terminal location information;
  • a first receiving unit configured to: receive a relay service coded snoop response message, where the relay service coded snoop response message includes a relay service name available to the remote terminal and a corresponding available relay service code, where The relay service name is a readable string;
  • a first processing unit configured to: obtain, by the relay service coded snoop response message received by the first receiving unit, a target relay service name selected by a user and a corresponding target relay service code;
  • the monitoring unit is configured to: listen to the selected relay service code of the broadcast and the address corresponding to the selected relay service code;
  • the first sending unit is further configured to: when the listening unit monitors the selected relay service code that is consistent with the target relay service code acquired by the first processing unit, to the consistent selection A communication request is sent following the address corresponding to the service code.
  • the relay service code listening request message further includes a target relay service name selected by the user; and the relay service name of the remote terminal in the relay service coded intercept response message is a target relay service.
  • the available relay service code is the target relay service code.
  • the relay service coded snoop response message further includes a validity period duration corresponding to the relay service code in the relay service coded snoop response message;
  • the first sending unit is configured to: when the listening unit monitors the target relay service code acquired by the first processing unit, in the validity period of the target relay service encoding, Following the service encoding, a communication request is sent to the address corresponding to the consistent selected relay service code.
  • the remote terminal location information includes a public land mobile network (PLMN) currently camped on by the remote terminal, or the remote terminal location information includes a PLMN currently camped by the remote terminal and a surrounding PLMN monitored by the remote terminal;
  • PLMN public land mobile network
  • the relay service coded snoop response message includes each PLMN and each PLMN is available to the far terminal.
  • the relay service name and its corresponding available relay service code is
  • An embodiment of the present invention provides a remote terminal home server, where the remote terminal home server includes:
  • a second receiving unit configured to: receive a relay service coded listening request message, where the relay service coded listening request message includes a far terminal identifier and remote terminal location information;
  • a second sending unit configured to: when determining that the subscription information corresponding to the far terminal identifier received by the second receiving unit allows access to the network by using the relay node, forwarding the relay service code snooping request message;
  • the second receiving unit is further configured to: receive a relay service coded snoop response message, where the relay service coded snoop response message includes a relay service name available to the remote terminal and its corresponding available middle Following the service encoding, the relay service name is a readable string;
  • the second sending unit is further configured to: forward the relay service coded snoop response message.
  • the relay service code listening request message includes a target relay service name
  • the relay service name of the remote terminal in the relay service coded intercept response message is a target relay service name
  • the available relay service code is the target relay service code
  • the relay service coded snoop response message further includes a validity period duration corresponding to the relay service code in the relay service coded snoop response message.
  • the remote terminal location information includes a public land mobile network (PLMN) currently camped by the remote terminal, or the remote terminal location information includes a PLMN currently camped by the remote terminal and a surrounding PLMN monitored by the remote terminal;
  • PLMN public land mobile network
  • the second sending unit is configured to: forward the relay service code listening request message to a relay node home proximity communication server under the PLMN where the remote terminal resides; or, to the remote terminal
  • the PLMN and the relay node belonging to the surrounding PLMN monitored by the remote terminal belong to the short-range communication server to forward the relay service code listening request message;
  • the relay service coded snoop response message includes each PLMN and each PLMN is available to the far terminal.
  • the relay service name and its corresponding available relay service code is
  • An embodiment of the present invention provides a relay node home server, where the relay node home server includes:
  • a third receiving unit configured to: receive a relay service code allocation request message, where the relay service code allocation request message includes a relay node identifier;
  • a second processing unit configured to: when it is determined that the subscription information corresponding to the relay node identifier received by the third receiving unit is allowed to provide a relay service, obtain a relay node that is corresponding to the relay node identifier Following the service name, assigning a corresponding relay service code to the available relay service name, wherein the relay service name is a readable character string;
  • a third sending unit configured to: send a relay service code allocation response message, where the relay service code allocation response message includes the available relay service name and its corresponding available relay service code ;
  • the third receiving unit is further configured to receive a relay service coded snooping request message, where the relay service coded snooping request message includes a far terminal identifier and a far terminal location information;
  • the third sending unit is further configured to: send a relay service coded snoop response message, where the relay service coded snoop response message includes a relay service name available to the far terminal obtained according to the far terminal location information. Corresponding relay service code.
  • the relay service code allocation request message further includes a relay node identifier pair.
  • the second processing unit obtains a relay service name that can be provided by the relay node corresponding to the relay node identifier by obtaining the relay from the subscription information corresponding to the relay node identifier.
  • the node service identifies the relay service name that the corresponding relay node can provide.
  • the relay service code allocation response message further includes a validity period duration corresponding to the relay service code in the relay service code allocation response message;
  • the relay service code snoop response message further includes the The duration of the validity period corresponding to the relay service code in the relay service coded intercept response message.
  • the remote terminal location information includes a public land mobile network (PLMN) currently camped by the remote terminal, or the remote terminal location information includes a PLMN currently camped by the remote terminal and a surrounding PLMN monitored by the remote terminal;
  • PLMN public land mobile network
  • the relay service coded snoop response message includes each PLMN and a relay available to each PLMN remote terminal.
  • the service name and its corresponding available relay service code is included in the far terminal location information.
  • An embodiment of the present invention provides a relay node, where the relay node includes:
  • a fourth sending unit configured to: send a relay service code allocation request message, where the relay service code allocation request message includes a relay node identifier;
  • a fourth receiving unit configured to: receive a relay service code allocation response message, where the relay service code allocation response message includes a relay service name that can be provided and a corresponding relay service code that can be provided,
  • the relay service name is a readable string
  • a third processing unit configured to: obtain an optional relay service name and a corresponding selected relay service code from the relay service code allocation response message received by the fourth receiving unit;
  • a broadcast unit configured to: broadcast the selected relay service code obtained by the third processing unit and the address corresponding to the selected relay service code.
  • the relay service code allocation request message further includes: selecting a relay service name; the relay service name that can be provided in the relay service code allocation response message is an optional relay service name, and the provided The relay service code is encoded using the relay service.
  • the relay service code allocation response message further includes a validity period duration corresponding to the relay service code in the relay service code allocation response message;
  • the broadcast unit is configured to: in the selected relay Within the validity period of the service code, the selected relay service code and the assigned address corresponding to the selected relay service code are broadcasted.
  • Embodiments of the present invention further provide a computer readable storage medium storing computer executable instructions that, when executed, implement a method of selecting a relay node in a device-to-device network applied to a remote terminal.
  • the embodiment of the invention further provides a computer readable storage medium storing computer executable instructions, which are implemented to implement a selection method of a relay node in a device-to-device network applied to a remote terminal home server.
  • the embodiment of the present invention further provides a computer readable storage medium storing computer executable instructions, and when the computer executable instructions are executed, implementing a method for selecting a relay node in a device to device network applied to a relay node home server .
  • Embodiments of the present invention further provide a computer readable storage medium storing computer executable instructions that, when executed, implement a method of selecting a relay node in a device-to-device network applied to a relay node.
  • the embodiment of the invention provides a method and a device for selecting a relay node in a device-to-device network.
  • the remote terminal uses a relay service code.
  • the relay service name is a readable character string; the user can select the desired target relay service name by using the available relay service name displayed by the remote terminal, or directly input the required target.
  • the relay service name is more suitable for remote terminal display and for viewing by the user than the 64-bit relay service code in the related art.
  • FIG. 1 is a schematic diagram of a D2D network architecture in the related art
  • FIG. 2 is a schematic flowchart of a method for selecting a relay node in a device-to-device network applied to a remote terminal side according to Embodiment 1 of the present invention
  • FIG. 3 is a schematic flowchart of a method for selecting a relay node in a device-to-device network applied to a remote terminal home server according to Embodiment 1 of the present invention
  • FIG. 4 is a schematic flowchart of a method for selecting a relay node in a device-to-device network applied to a home node of a relay node according to Embodiment 1 of the present invention
  • FIG. 5 is a schematic flowchart of a method for selecting a relay node in a device-to-device network applied to a relay node according to Embodiment 1 of the present invention
  • FIG. 6 is a schematic flowchart of a method for selecting a relay node in a device-to-device network according to Embodiment 2 of the present invention.
  • FIG. 7 is a schematic flowchart of a method for selecting a relay node in another device-to-device network according to Embodiment 2 of the present invention.
  • FIG. 8 is a structural block diagram of a remote terminal according to Embodiment 3 of the present invention.
  • FIG. 9 is a structural block diagram of a remote terminal home server according to Embodiment 3 of the present invention.
  • FIG. 10 is a structural block diagram of a relay node home server according to Embodiment 3 of the present invention.
  • FIG. 11 is a structural block diagram of a relay node according to Embodiment 3 of the present invention.
  • the embodiment of the present invention provides a method for selecting a relay node in a device-to-device network, which is applied to the remote terminal side.
  • the processing procedure of the method in this embodiment includes the following steps:
  • Step 201 Send a relay service coded interception request message, where the relay service coded interception request message includes a far terminal identifier and a far terminal location information.
  • the remote terminal may decide to perform step 201 at any time to obtain a target relay service code corresponding to the target relay service name, so that when the wireless coverage is removed, the target relay service may be used to encode the relay service provided by the corresponding relay node. Continue to access the network.
  • EPS Evolved Packet System
  • the remote terminal may send a relay service code snooping request message to the server through the EPS to request the server to return the relay service name available to the remote terminal and its corresponding available relay service code.
  • the relay service name described herein is a readable string, such as a Session Initiation Protocol (Uniform Resource Locator) that identifies a service.
  • the remote terminal identifier in the relay service coded interception request message is used by the server to perform authorization verification on the remote terminal that sends the request message, and the far terminal location information is used by the server to filter the available relay service around the far terminal location information.
  • the name and its corresponding available relay service code is used by the server to perform authorization verification on the remote terminal that sends the request message.
  • Step 202 Receive a relay service code interception response message, where the relay service code interception response message includes a relay service name available to the remote terminal and a corresponding available relay service code.
  • the server After receiving the relay service coded interception request message, the server first determines whether the subscription information corresponding to the remote terminal identifier is allowed to access the network through the relay node, and determines that the subscription information corresponding to the remote terminal identifier is allowed to pass through the relay node.
  • the relay service name and its corresponding relay service code available to the remote terminal are obtained according to the remote terminal location information, and a relay service coded snoop response message is sent, and the relay service coded intercept response
  • the message includes: a relay service code corresponding to the name of the relay service available to the remote terminal.
  • Step 203 Obtain a target relay service name selected by the user and a corresponding target relay service code from the relay service coded snoop response message.
  • the name of the relay service corresponding to each relay service in the D2D network is public. Which kind of relay service is required by the user, and which relay service name is selected in the far terminal.
  • the relay service name may be that the remote terminal displays multiple relay service name options selected by the user, or may be directly input by the user in the remote terminal.
  • the relay service name of the remote terminal that is returned by the server is the target relay service.
  • the available relay service code is the target relay service code.
  • the relay service coded snoop response message returned by the server includes the far terminal location information A number of available relay service names and their corresponding available relay service codes.
  • the far terminal may display the name of the relay service available in the relay service coded snoop response message, and the user selects the target relay service name from the available relay service name to obtain the target relay service name. Then, the target relay service code corresponding to the target relay service name can be obtained.
  • the far terminal can display the selected target relay service name, so that the user can see the name of the relay service selected by the remote terminal, and the display of the relay service name is more convenient than displaying the 64-bit relay service code, and is more suitable for the user to view.
  • the relay service name corresponding to the relay service code is used, and the user can select the required target relay service name by using the name of the relay service displayed by the remote terminal, or directly input the target.
  • the relay service name is more suitable for the remote terminal to display and be viewed by the user than the 64-bit relay service code in the related art.
  • Step 204 Listening to the selected relay service code of the broadcast and the address corresponding to the selected relay service code; and when selecting the selected relay service code that is consistent with the target relay service code, the consistent selection is performed.
  • the address corresponding to the relay service code transmits a communication request.
  • the far terminal decides that the relay node needs to access the network for communication, and then starts to listen to the selected relay service code in the broadcast.
  • the relay node providing the relay service in the D2D network broadcasts the selected relay service code provided by the relay node and the address corresponding to the selected relay service code, so that the remote terminal can listen to the selected relay service of the broadcast. Encoding and the address corresponding to the selected relay service code.
  • the address corresponding to the consistent selected relay service code is a layer 2 address of the relay service provided by the relay node corresponding to the consistent selected relay service code.
  • the embodiment of the invention further provides a method for selecting a relay node in a device-to-device network.
  • the method is applied to the remote terminal home server that interacts with the remote terminal in the server.
  • the processing procedure of the method in this embodiment includes the following steps:
  • Step 301 Receive a relay service code snooping request message, where the relay service code snooping request message includes a far terminal identifier and a far terminal location information.
  • Step 302 Forward the relay service code snooping request message when determining that the subscription information corresponding to the far terminal identifier allows the relay node to access the network.
  • the server may be a third-party application or a dedicated authorization authority, or may be a short-range communication server to which the remote terminal belongs and a short-range communication server to which the relay node belongs.
  • the method in this embodiment is applied to the remote terminal home server side that interacts with the remote terminal in the server.
  • the remote terminal home server may be a module interacting with the remote terminal in the third-party application or the dedicated authorization mechanism shown in FIG. 1; or the remote terminal-owned short-range communication server interacting with the remote terminal shown in FIG.
  • the remote terminal When the remote terminal accesses the D2D network, the remote terminal sets the subscription information in the remote terminal home server in the server. After receiving the relay service code interception request message, the remote terminal home server determines whether the subscription information corresponding to the remote terminal identifier is allowed to access the network through the relay node, and if the subscription information corresponding to the remote terminal identifier is allowed to pass, After the node accesses the network, the remote terminal home server forwards the relay service coded interception request message. The remote terminal home server forwards the relay service code listening request message to the relay node home server in the server that interacts with the relay node.
  • the relay node home server may be a module that interacts with the relay node in a third-party application or a dedicated authorization mechanism as shown in FIG. 1; or a relay node that interacts with the relay node as shown in FIG. Communication server.
  • Step 303 Receive and forward the relay service code interception response message, where the relay service code interception response message includes a relay service name available to the remote terminal and a corresponding available relay service code.
  • the relay node home server returns a relay service code snooping response message after the query, and the relay node home server filters out the available relay service name and its corresponding available relay service code around the far terminal location information. If the relay service coded interception request message includes the target relay service name, the relay node home server can only query the target relay service code corresponding to the target relay service name, and in this case, the returned Following the service code listening response message
  • the relay service name available to the terminal is the target relay service name
  • the available relay service code is the target relay service code. If the target relay service name is not included in the relay service coded interception request message, the relay node home server queries all available relay service names around the remote terminal location information and their corresponding available relay service codes. At this time, the returned relay service coded snoop response message includes a number of available relay service names and their corresponding available relay service codes.
  • the remote terminal home server After receiving the relay service code snooping response message, the remote terminal home server forwards the relay service coded interception response message to the remote terminal.
  • the embodiment of the present invention further provides a method for selecting a relay node in a device-to-device network, where the method is applied to a relay node home server that interacts with a relay node in a server, as shown in FIG. 4, the method in this embodiment
  • the processing flow includes the following steps:
  • Step 401 Receive a relay service code allocation request message, where the relay service code allocation request message includes a relay node identifier.
  • the relay node After the relay node registers with the EPS, an IP connection is established.
  • the relay node When the relay node needs to enable the relay service, the relay node sends a relay service code allocation request message to the server, where the relay service code allocation request message includes the relay node identifier.
  • the server may be a third-party application or a dedicated authorization authority, or may be a short-range communication server to which the remote terminal belongs and a short-range communication server to which the relay node belongs.
  • the method in this embodiment is applied to the server side of the relay node that interacts with the relay node in the server.
  • the relay node home server may be a device interacting with the relay node in a third-party application or a dedicated authorization mechanism; or a short-range communication server to which the relay node interacting with the relay node belongs in the server.
  • Step 402 When it is determined that the subscription information corresponding to the relay node identifier is allowed to provide a relay service, obtain a relay service name that the relay node corresponding to the relay node identifier can provide, and provide the relay The service name is assigned a corresponding relay service code and a relay service code assignment response message is sent.
  • the relay node When the relay node accesses the D2D network, the relay node sets the subscription information in the relay node home server of the server.
  • the relay node home server receives the relay service code allocation request cancellation After the information, it is determined whether the subscription information corresponding to the relay node identifier is allowed to provide a relay service, and if it is determined that the subscription information corresponding to the relay node identifier is allowed to provide a relay service, the relay node home server obtains the The relay node identifies a relay service name that the corresponding relay node can provide, and assigns a corresponding relay service code to the available relay service name.
  • the relay node home server obtains the relay service code allocation request message.
  • the relay node identifies a relay service name that the corresponding relay node can provide, and then assigns a corresponding relay service code to the relay service name that can be provided by the relay node corresponding to the relay node identifier; If the relay service code allocation request message does not include a relay service name that can be provided by the relay node corresponding to the relay node identifier, the relay node home server identifies the corresponding contract information from the relay node identifier. Obtaining a relay service name that can be provided by the relay node corresponding to the relay node identifier, and then assigning a corresponding relay service code to the available relay service name.
  • the relay node home server returns a relay service code allocation response message to the relay node corresponding to the relay node identifier, where the relay service code allocation response message includes the available relay service name And its corresponding relay service code that can be provided.
  • Step 403 Receive a relay service code interception request message, where the relay service code interception request message includes a far terminal identifier and a far terminal location information.
  • the remote terminal home server in the server After receiving the relay service code snooping request message, the remote terminal home server in the server, after determining that the subscription information corresponding to the far terminal identifier is allowed to access the network through the relay node, forwarding the relay service code snooping request message to the The relay node home server receives the relay service code snooping request message.
  • Step 404 Send a relay service coded snoop response message, where the relay service coded snoop response message includes a relay service code corresponding to a relay service name available to the far terminal corresponding to the far terminal location information.
  • the relay node home server obtains, in step 402, a relay service name that the relay node corresponding to the relay node identifier can provide, and assigns a corresponding relay service code to the available relay service name.
  • the relay node home server can filter the available relay service code corresponding to the available relay service name assignments to obtain the far-end The relay service code corresponding to the relay service name available to the remote terminal corresponding to the end location information. Then, the relay service coded snoop response message is returned to the remote terminal home server, where the relay service coded snoop response message includes a relay service code corresponding to the relay service name available to the far terminal corresponding to the far terminal location information.
  • the embodiment of the present invention provides a method for selecting a relay node in a device-to-device network, which is applied to the side of the relay node.
  • the processing procedure of the method in this embodiment includes the following steps:
  • Step 501 Send a relay service code allocation request message, where the relay service code allocation request message includes a relay node identifier.
  • an IP connection is established; when the relay node needs to enable the relay service, the relay node sends a relay service code allocation request message to the server, requesting the server to provide a relay service provided by the relay node.
  • the name is assigned to the available relay service code.
  • the relay service name described here is a readable string, such as a SIP-URL that identifies a service.
  • the relay node identifier in the relay service code allocation request message is used by the server to perform authorization verification on the relay node that sends the request message.
  • Step 502 Receive a relay service code allocation response message, where the relay service code allocation response message includes a relay service name that can be provided and a corresponding relay service code that can be provided.
  • the server After receiving the relay service code allocation request message, the server first determines whether the subscription information corresponding to the relay node identifier is allowed to provide a relay service, and when determining that the subscription information corresponding to the relay node identifier allows the relay service to be provided. Obtaining a relay service name that can be provided by the relay node corresponding to the relay node identifier, assigning a corresponding relay service code to the available relay service name, and transmitting a relay service code allocation response The message, the relay service code allocation response message includes the available relay service name and its corresponding available relay service code.
  • Step 503 Obtain an selected relay service name and a corresponding selected relay service code from the relay service code allocation response message.
  • the relay service code allocation response message returned by the server includes the middle of the relay node identifier. Following the node's choice of relay service name and its corresponding selected relay service Code.
  • the name of the relay service corresponding to each relay service in the D2D network is public.
  • the relay node starts a certain relay service, the relay node carries the selected relay service name corresponding to the relay service selected by the relay node.
  • the requesting server selects a relay service code for the selected relay service name allocation; thus, the relay node may receive the relay service code allocation response message. Obtain the selected relay service name and its corresponding selected relay service code.
  • the relay service code allocation response message returned by the server includes the relay node identifier corresponding to the a number of available relay service names in the subscription information and their corresponding relay service codes that can be provided, such that the relay node can provide the relay service name and its corresponding available relay from the available In the service code, the selected relay service name and its corresponding selected relay service code are selected.
  • Step 504 Broadcast the selected relay service code and the address corresponding to the selected relay service code.
  • the relay node broadcasts the selected relay service code, so that the nearby remote terminal knows that the relay node can provide the relay service corresponding to the selected relay service code, and also broadcasts the corresponding relay service code corresponding to the relay node.
  • the address is such that when the remote terminal selects the relay service corresponding to the relay service code, the relay node corresponding to the selected relay service code performs communication to obtain a corresponding relay service.
  • the remote terminal home server in this embodiment is a module that interacts with the remote terminal in a third-party application or a dedicated authorization mechanism; the relay node home server is a third-party application or a dedicated authorization mechanism that interacts with the relay node.
  • the remote terminal home server is a remote terminal home proximity communication server that interacts with the remote terminal, and the relay node home server is a relay node home proximity communication server that interacts with the relay node in the server.
  • the embodiment of the present invention provides a method for selecting a relay node in a device-to-device network. As shown in FIG. 6, the processing procedure of the method in this embodiment includes the following steps:
  • Step 601 The relay node sends a relay service code allocation request message to the relay node home server, where the relay service code allocation request message includes the selected relay service name and the relay node. logo.
  • the relay node After the relay node registers with the EPS, an IP connection is established.
  • the relay node When the relay node needs to enable a certain relay service, the relay node first needs to obtain the relay service name of the relay service; the process of the relay node acquiring the relay service name may be that the user manually selects the relay service name. Or the user manually enters the name of the relay service, so that the relay node can obtain the name of the relay service input by the user.
  • the relay service name is a readable string, such as a SIP-URL that identifies a service. It should be noted that the name of the relay service corresponding to each relay service in the D2D network is public, and which relay service needs to be turned on by the relay node, is carried in the relay service code allocation request message. Which relay service corresponds to the name of the relay service.
  • the relay node may send the relay service code allocation request message to the relay node home server through the EPS, and request the relay node home server to allocate a corresponding binary selected relay service code for the selected relay service name.
  • Step 602 The relay node home server receives the relay service code allocation request message, and returns a relay service code to the relay node when determining that the relay node corresponding to the relay node identifier allows the relay function. Assign a response message.
  • the relay node When the relay node accesses the D2D network, the relay node negotiates the subscription information with the relay node home server. After receiving the relay service code allocation request message, the relay node home server determines whether the subscription information corresponding to the relay node identifier is allowed to provide a relay service, and if it is determined that the subscription information corresponding to the relay node identifier is allowed to be provided The relay service, the relay node home server allocates a corresponding selected relay service code for the selected relay service name obtained from the relay service code allocation request message.
  • the relay node home server allocates the corresponding selected relay service code for the selected relay service name obtained from the relay service code allocation request message.
  • the relay node home server further allocates a corresponding validity period duration for the selected relay service code.
  • the relay node home server may relay the selected relay service name and its corresponding selection
  • the service code, and the validity period duration corresponding to the selected relay service code are returned to the relay node in the relay service code allocation response message.
  • Step 603 The relay node obtains the selected relay service name and its corresponding selected relay service code from the relay service code allocation response message.
  • the relay service code allocation response message includes an optional relay service name and a corresponding selected relay service code, and an effective period duration corresponding to the selected relay service code, where the relay node can be relayed from the relay
  • the service code allocation response message directly obtains the selected relay service name and its corresponding selected relay service code.
  • Step 604 Broadcast, in the validity period of the selected relay service code, the selected relay service code and the address corresponding to the selected relay service code.
  • the relay node broadcasts the selected relay service code, so that the nearby remote terminal knows that the relay node can provide the relay service corresponding to the selected relay service code, and also broadcasts the code for the selected relay service code.
  • the address is so that when the nearby remote terminal selects the relay service corresponding to the selected relay service code, the relay node corresponding to the selected relay service code performs communication to obtain a corresponding relay service.
  • the relay node in the D2D network When the relay node in the D2D network starts a certain relay service, it can perform steps 601 to 604 to obtain the selected relay service code of the relay service; and select the relay service code and the allocated Use the address corresponding to the relay service code to broadcast, so that the surrounding remote terminal can monitor it.
  • Step 605 The remote terminal sends a relay service code interception request message to the remote terminal home server.
  • the relay service code interception request message includes a target relay service name, a far terminal identifier, and a far terminal location information selected by the user.
  • the remote terminal may decide to perform step 605 at any time to obtain a target relay service code corresponding to the target relay service name, so that when the wireless coverage is removed, the target relay service may be used to encode the relay service provided by the corresponding relay node. Continue to access the network.
  • the remote terminal sends a relay service code listening request message to the remote terminal home server through the EPS, and requests the remote terminal home server to return the target relay service code corresponding to the target relay service name.
  • Step 606 The remote terminal home server receives the relay service code interception request message, and forwards the medium to the relay node home server when determining that the subscription information corresponding to the remote terminal identifier is allowed to access the network through the relay node. Following the service code listener request message.
  • the remote terminal When the remote terminal accesses the D2D network, the remote terminal sets the subscription information in the remote terminal home server of the server. After receiving the relay service code interception request message, the remote terminal home server determines whether the subscription information corresponding to the remote terminal identifier is allowed to access the network through the relay node, and if the subscription information corresponding to the remote terminal identifier is allowed to pass, After the node accesses the network, the remote terminal home server forwards the relay service coded interception request message to the relay node home server.
  • the specific forwarding process has the following two situations:
  • the remote terminal home server is a device that interacts with the remote terminal in a third-party application or a dedicated authorization mechanism
  • the relay node home server is a device that interacts with the relay node in a third-party application or a dedicated authorization mechanism.
  • the remote terminal home server and the relay node home server constitute a third-party application or a dedicated authorization mechanism; at this time, the remote terminal home server directly forwards the relay service code interception request message to the middle Following the node home server.
  • the far terminal home server is a far terminal home proximity communication server
  • the relay node home server is a relay node home proximity communication server
  • the relay service encodes a remote terminal in the interception request message.
  • the location information is the PLMN currently camped on by the remote terminal; the remote terminal home server (ie, the far terminal home proximity communication server) forwards the relay service coded interception request message to the PLMN currently in the remote terminal.
  • the node belongs to the proximity communication server.
  • the remote terminal location information in the relay service coded interception request message may also be a PLMN currently camped by the remote terminal and a surrounding PLMN monitored by the remote terminal; That is, the remote terminal belonging to the short-range communication server) forwards the relay service coded interception request message to the relay node home proximity communication server under the PLMN currently camped by the remote terminal, and the surrounding PLMN monitored by the remote terminal.
  • the relay node belongs to the proximity communication server.
  • Step 607 The relay node home server receives the relay service code snooping request message, and sends a relay service code snooping response message to the far terminal home server.
  • the relay node home server obtains the selected relay service name and the selected relay service code corresponding to the relay service opened by the relay node that is subscribed to the relay node home server in steps 601 and 602, and the relay node After receiving the relay service code interception request message, the home server queries the selected relay service name to obtain the target relay service name required by the remote terminal, and obtains the target relay service code corresponding to the target relay service name.
  • the relay node home server in step 602 further allocates a validity period duration for selecting the relay service code
  • the target relay service code further corresponds to the allocated validity period duration.
  • the relay node home server sends a relay service code interception response message to the remote terminal home server, where the relay service coded intercept response message includes the target relay service name and its corresponding target Following the service coding, optionally, the validity period duration corresponding to the target relay service code is further included.
  • the relay node home server is a device that interacts with the relay node in a third-party application or a dedicated authorization mechanism
  • the relay node home server first filters out the available around the remote terminal according to the location information of the remote terminal.
  • the relay service name is then queried from the available relay service names to obtain the target relay service name.
  • the relay node home server is a relay node home proximity communication server
  • the relay node belonging to the PLMN in the far terminal location information corresponds to the relay service opened by the contracted relay node. Use the query in the relay service name to get the target relay service name.
  • each relay node home proximity communication server sends a relay service code snooping response message to the far terminal home server.
  • the relay service coded snoop response message When the far terminal location information includes a PLMN currently camped by the remote terminal, the relay service coded snoop response message includes a relay service name available to the far terminal of the remote terminal resident PLMN and a corresponding available relay. Service code.
  • the relay service coded snoop response message includes each PLMN and a relay service available to each PLMN remote terminal when the far terminal location information includes a PLMN currently camped by the far terminal and a surrounding PLMN monitored by the far terminal.
  • the name and its corresponding available relay service code optionally also including the validity period duration corresponding to the target relay service code.
  • Step 608 The remote terminal home server receives the relay service code interception response message, and forwards the relay service coded interception response message to the remote terminal.
  • Step 609 The remote terminal receives the relay service code snooping response message, and obtains a target relay service name selected by the user and its corresponding target from the relay service coded snoop response message. Following the service code.
  • the remote terminal may obtain the target relay service name selected by the user and its corresponding target relay service code directly from the relay service coded snoop response message.
  • Step 610 When the remote terminal is about to remove the coverage, or has moved out of the coverage, start to listen to the selected relay service code of the broadcast and the address corresponding to the selected relay service code.
  • the far terminal When the far terminal is about to move out of the coverage, or when the far terminal has moved out of the coverage, the far terminal needs to access the network through the relay node for communication, and then starts to listen to the selected relay service code in the broadcast.
  • the relay node broadcasts the selected relay service code and the address corresponding to the selected relay service code, so that the remote terminal can monitor the selected relay service code of the broadcast and the selection in step 610. Following the address corresponding to the service code.
  • Step 611 Send, when the selected relay service code is consistent with the target relay service code, within the validity period of the target relay service code, send a communication to the address corresponding to the consistent selected relay service code. request.
  • the remote terminal sends a communication request to the address corresponding to the consistent selected relay service code, and the address corresponding to the consistent selected relay service code is the consistent selected relay.
  • the remote terminal establishes a D2D connection with the relay node, and the remote terminal can access the network through the relay node.
  • the embodiment of the present invention provides a method for selecting a relay node in a device-to-device network. As shown in FIG. 7, the processing procedure of the method in this embodiment includes the following steps:
  • Step 701 The relay node sends a relay service code allocation request message to the relay node home server, where the relay service code allocation request message includes a relay node identifier.
  • an IP connection is established.
  • the relay node can send the relay service to the relay node home server through the EPS.
  • a code allocation request message requesting the relay node home server to allocate a corresponding binary relay service code for the relay service name of the relay service that the relay node can provide.
  • Step 702 The relay node home server receives the relay service code allocation request message, and returns a relay service code to the relay node when determining that the relay node corresponding to the relay node identifier allows the relay function. Assign a response message.
  • the relay node When the relay node accesses the D2D network, the relay node negotiates the subscription information with the relay node home server, and the subscription information includes whether the relay service is allowed to be provided, and the relay service that the relay node can provide. Following the service name.
  • the relay node home server determines whether the subscription information corresponding to the relay node identifier is allowed to provide a relay service, and if it is determined that the subscription information corresponding to the relay node identifier is allowed to be provided a relay service, the relay node home server obtains, from the subscription information corresponding to the relay node identifier, a relay service name that the relay node corresponding to the relay node identifier can provide, and provides the relay The service name assignment corresponds to the available relay service code.
  • the relay node home server further allocates a corresponding validity period duration for the available relay service code.
  • the relay node home server may encode the available relay service name and its corresponding available relay service code, and the validity period duration corresponding to the available relay service code is carried in the relay service code allocation response The message is returned to the relay node.
  • Step 703 The relay node obtains the selected relay service name and its corresponding selected relay service code from the relay service code allocation response message.
  • the relay service code allocation response message After the relay node receives the relay service code allocation response message, the relay service code allocation response message includes a relay service name that can be provided and a corresponding relay service code that can be provided, and the The duration of the validity period of the provided relay service code; the name of the relay service that can be provided may be one or two or more; the relay service code that can be provided and the duration of the validity period, and the available The relay service name is a one-to-one correspondence.
  • the relay node may select one or more selected relay service names from the available relay service names according to actual conditions, provide corresponding relay services, and obtain the selected relay service name and its corresponding selected relay service code. .
  • Step 704 Broadcast, in the validity period of the selected relay service code, the selected relay service code and the address corresponding to the selected relay service code.
  • the relay node broadcasts each selected relay service code so that the nearby remote terminal knows that the relay node can provide various relay services corresponding to each selected relay service code, and also broadcasts for each
  • the relay service code is used to encode the assigned address, so that when the nearby remote terminal selects a relay service corresponding to the selected relay service code, the address is used to communicate with the relay node corresponding to the selected relay service code. , obtain the relay service corresponding to the address.
  • the relay node in the D2D network When the relay node in the D2D network starts the relay service, it may perform steps 701 to 704 to obtain the selected relay service code of the relay node; and select the relay service code and the selected relay service. The address corresponding to the code is broadcasted, so that the surrounding far terminal can be monitored.
  • Step 705 The remote terminal sends a relay service code interception request message to the remote terminal home server.
  • the relay service code interception request message includes a far terminal identifier and a far terminal location information.
  • the remote terminal After the remote terminal registers with the EPS, an IP connection is established.
  • the remote terminal may decide to perform step 705 at any time to obtain the target relay service name and its corresponding target relay service code, so that when the wireless coverage is removed, the target relay service code can be used to encode the corresponding relay node.
  • the service continues to access the network.
  • the remote terminal sends a relay service code listening request message to the remote terminal home server through the EPS, requesting the remote terminal home server to return the relay service name available around the remote terminal and its corresponding available relay service code.
  • Step 706 The remote terminal home server receives the relay service code interception request message, and forwards the medium to the relay node home server when determining that the subscription information corresponding to the remote terminal identifier is allowed to access the network through the relay node. Following the service code listener request message.
  • the remote terminal When the remote terminal accesses the D2D network, the remote terminal sets the subscription information in the remote terminal home server of the server. After receiving the relay service code interception request message, the remote terminal home server determines whether the subscription information corresponding to the remote terminal identifier is allowed to access the network through the relay node, and if the subscription information corresponding to the remote terminal identifier is allowed to pass, After the node accesses the network, the remote terminal home server forwards the relay service coded interception request message to the relay node home server.
  • the specific forwarding process has the following two situations:
  • the remote terminal home server is a device that interacts with the remote terminal in a third-party application or a dedicated authorization authority
  • the relay node home server is a third-party application or a dedicated authorization.
  • a device that interacts with the relay node in the organization; the remote terminal home server and the home node of the relay node constitute a third-party application or a dedicated authorization mechanism; at this time, the remote terminal home server directly refers to the middle
  • the service code listening request message is forwarded to the relay node home server.
  • the far terminal home server is a far terminal home short-range communication server
  • the relay node home server relay node belongs to the short-range communication server; at this time, the far-end terminal position in the relay service code listening request message
  • the information is the PLMN currently camped on by the remote terminal; the remote terminal home server (ie, the far terminal home short-range communication server) forwards the relay service coded interception request message to the relay under the PLMN currently resident by the remote terminal.
  • the node belongs to the proximity communication server.
  • the remote terminal location information in the relay service coded interception request message may also be a PLMN currently camped by the remote terminal and a surrounding PLMN monitored by the remote terminal; That is, the remote terminal belonging to the short-range communication server) forwards the relay service coded interception request message to the relay node home proximity communication server under the PLMN currently camped by the remote terminal, and the surrounding PLMN monitored by the remote terminal.
  • the relay node belongs to the proximity communication server.
  • Step 707 The relay node home server receives the relay service code snooping request message, and sends a relay service code snooping response message to the far terminal home server.
  • the relay node home server obtains the relay service name and the relay service code that can be provided by the relay node that is contracted with the relay node home server in steps 701 and 702, and the relay node home server receives After the relay service encodes the interception request message, it queries the relay service name that can be provided by the relay node and the relay service code that can be provided to obtain the relay service name available to the remote terminal and its corresponding available Relay service code.
  • the relay node home server in step 702 further allocates a validity period duration to the available relay service code
  • the available relay service code further corresponds to a validity period duration.
  • the relay node home server sends a relay service code snooping response message to the far terminal home server, where the relay service coded snoop response message includes the available relay service name and its corresponding available
  • the relay service code optionally, also includes a validity period duration corresponding to the available relay service code.
  • the relay node home server If the relay node home server is a device interacting with the relay node in a third-party application or a dedicated authorization mechanism, the relay node home server first according to the location information of the remote terminal The information is filtered out of the name of the relay service available around the remote terminal, and the available relay service code corresponding to the available relay service name is obtained. If the relay node home server is a relay node home proximity communication server, directly access the relay node under the PLMN in the far terminal location information to obtain the relay service that the contracted relay node can provide. The name is used as the relay service name available to the far terminal, and the available relay service code corresponding to the available relay service name is obtained. Then, each relay node home proximity communication server sends a relay service code snooping response message to the far terminal home server.
  • the relay service coded snoop response message includes a relay service name available to the remote terminal of the PLMN currently camped by the remote terminal and corresponding corresponding available Relay service code.
  • the relay service coded snoop response message includes each PLMN and a relay service available to each PLMN remote terminal when the far terminal location information includes a PLMN currently camped by the far terminal and a surrounding PLMN monitored by the far terminal.
  • the name and its corresponding available relay service code optionally also including the validity period duration corresponding to the target relay service code.
  • Step 708 The remote terminal home server receives the relay service code snooping response message, and forwards the relay service coded interception response message to the remote terminal.
  • Step 709 The remote terminal receives the relay service coded snoop response message, and obtains a target relay service name selected by the user and a corresponding target relay service code from the relay service coded snoop response message.
  • the remote terminal may display the name of the relay service available in the relay service coded snoop response message, the user selects the target relay service name from the available relay service names, and the far terminal can obtain the target relay service name. And, in turn, the target relay service code corresponding to the target relay service name can be obtained.
  • the far terminal may also display the PLMN corresponding to the available relay service name, and the user may select the target relay service name according to the PLMN.
  • the far terminal can also display the selected target relay service name, so that the user can see the name of the relay service selected by the remote terminal, and the display of the relay service name is more convenient than displaying the 64-bit relay service code, and is more suitable for the user to view. .
  • Step 710 When the remote terminal is about to remove the coverage, or has moved out of the coverage, start to listen to the selected relay service code of the broadcast and the address corresponding to the selected relay service code.
  • the far terminal When the far terminal is about to move out of the coverage, or when the far terminal has moved out of the coverage, the far terminal needs to access the network through the relay node for communication, and then starts to listen to the selected relay service code in the broadcast.
  • the relay node broadcasts the selected relay service code and the address corresponding to the selected relay service code, so that the remote terminal can monitor the selected relay service code of the broadcast and the selection in step 710. Following the address corresponding to the service code.
  • Step 711 Send, when the selected relay service code is consistent with the target relay service code, within the validity period of the target relay service code, send a communication to the address corresponding to the consistent selected relay service code. request.
  • the remote terminal sends a communication request to the address corresponding to the consistent selected relay service code, and the address corresponding to the consistent selected relay service code is the consistent selected relay.
  • the remote terminal establishes a D2D connection with the relay node, and the remote terminal can access the network through the relay node.
  • the method in this embodiment may also be a method flow combining step 601 to step 604 and step 705 to step 711, or may be a method flow combining step 701 to step 704 and step 605 to step 611, specifically For the steps, refer to the above step procedure, which will not be described in detail here.
  • the embodiment of the present invention further provides a remote terminal.
  • the remote terminal includes: a first sending unit 801, a first receiving unit 802, a first processing unit 803, and a listening unit 804, where
  • the first sending unit 801 is configured to: send a relay service coded listening request message, where the relay service coded listening request message includes a far terminal identifier and a far terminal location information;
  • the first receiving unit 802 is configured to: receive a relay service coded snoop response message;
  • the relay service coded snoop response message includes a relay service name available to the remote terminal and a corresponding available relay service code;
  • the first processing unit 803 is configured to: obtain the target relay service name selected by the user and the corresponding target relay service code from the relay service coded snoop response message received by the first receiving unit 802;
  • the monitoring unit 804 is configured to: listen to the selected relay service code of the broadcast and the address corresponding to the selected relay service code;
  • the first sending unit 801 is further configured to: when the listening unit 804 monitors the selected relay service code that is consistent with the target relay service code acquired by the first processing unit 803, The communication request is sent by using the address corresponding to the relay service code.
  • the relay service code listening request message further includes a target relay service name selected by the user; and the relay service name of the remote terminal available in the relay service coded intercept response message is a target relay service.
  • the available relay service code is the target relay service code.
  • the relay service coded snoop response message further includes a validity period duration corresponding to the relay service code in the relay service coded snoop response message;
  • the first sending unit 801 is configured to: when the target relay service code is valid, the listening unit 804 monitors that the target relay service code acquired by the first processing unit 803 is consistent. When the relay service code is selected, a communication request is sent to the address corresponding to the consistent selected relay service code.
  • the remote terminal location information includes a PLMN currently camped by the remote terminal, or the remote terminal location information includes a PLMN currently camped by the remote terminal and a surrounding PLMN monitored by the remote terminal;
  • the relay service coded snoop response message includes each PLMN and each PLMN is available to the far terminal.
  • the relay service name and its corresponding available relay service code is
  • the embodiment of the present invention further provides a remote terminal home server, where the remote terminal home server can The device that interacts with the remote terminal in the third-party application or the dedicated authorization mechanism; or the short-distance communication server to which the remote terminal belongs to interact with the remote terminal, as shown in FIG. 9, the remote terminal home server includes: second receiving Unit 901 and second transmitting unit 902, wherein
  • the second receiving unit 901 is configured to: receive a relay service coded listening request message, where the relay service coded listening request message includes a far terminal identifier and remote terminal location information;
  • the second sending unit 902 is configured to: when determining that the subscription information corresponding to the far terminal identifier received by the second receiving unit 901 allows the relay node to access the network, forwarding the relay service code snooping request message;
  • the second receiving unit 901 is further configured to: receive a relay service coded snoop response message, where the relay service coded snoop response message includes a relay service name available to the remote terminal and a corresponding available a relay service code, the relay service name being a readable string;
  • the second sending unit 902 is further configured to: forward the relay service coded snoop response message.
  • the relay service coded snooping request message includes a target relay service name
  • the relay service name of the remote terminal in the relay service coded snoop response message is a target relay service name
  • the available relay service code is the target relay service code
  • the relay service coded snoop response message further includes a validity period duration corresponding to the relay service code in the relay service coded snoop response message.
  • the remote terminal location information includes a PLMN currently camped by the remote terminal, or the remote terminal location information includes a PLMN currently camped by the remote terminal and a surrounding PLMN monitored by the remote terminal;
  • the second sending unit 902 is configured to: forward the relay service code snooping request message to a relay node home proximity communication server under the PLMN where the remote terminal resides; or The PLMN and the relay node belonging to the surrounding PLMN monitored by the remote terminal forward the relay service code interception request message;
  • the relay service coded snoop response message includes each PLMN and each PLMN is available to the far terminal.
  • Relay service name and its corresponding available relay Service code
  • the embodiment of the present invention further provides a relay node home server, where the relay node home server may be a module interacting with the relay node in a third-party application or a dedicated authorization mechanism; or a relay node interacting with the relay node
  • the relay node home server includes: a third receiving unit 1001, a second processing unit 1002, and a third sending unit 1003, where
  • the third receiving unit 1001 is configured to: receive a relay service code allocation request message, where the relay service code allocation request message includes a relay node identifier;
  • the second processing unit 1002 is configured to: when it is determined that the subscription information corresponding to the relay node identifier received by the third receiving unit 1001 is allowed to provide a relay service, obtain a relay node corresponding to the relay node identifier to provide a relay service name, which is assigned a corresponding relay service code for the available relay service name, wherein the relay service name is a readable character string;
  • the third sending unit 1003 is configured to: send a relay service code allocation response message, where the relay service code allocation response message includes the available relay service name and the corresponding one of the second processing unit 1002 Relay service code available;
  • the third receiving unit 1001 is further configured to: receive a relay service code listening request message, where the relay service code listening request message includes a far terminal identifier and a far terminal location information;
  • the third sending unit 1003 is further configured to: send a relay service coded snoop response message, where the relay service coded snoop response message includes a relay service available to the far terminal according to the far terminal location information.
  • the relay service code corresponding to the name.
  • the relay service code allocation request message further includes a relay service name that can be provided by the relay node corresponding to the relay node identifier.
  • the second processing unit 1002 obtains, by using the following manner, a relay service name that can be provided by the relay node corresponding to the relay node identifier: obtaining the middle information from the subscription information corresponding to the relay node identifier.
  • the name of the relay service that can be provided by the relay node corresponding to the node identifier is not limited to the following manner.
  • the relay service code allocation response message further includes a validity period duration corresponding to the relay service code in the relay service code allocation response message; the relay service code snoop response message further includes the The relay service code listens to the response message in the relay service code corresponding to The duration of validity.
  • the far terminal location information includes a PLMN currently camped by the remote terminal, or the remote terminal location information includes a PLMN currently camped by the remote terminal and a surrounding PLMN monitored by the remote terminal;
  • the relay service coded snoop response message includes each PLMN and a relay service name available to each remote terminal of each PLMN and its corresponding The available relay service code.
  • the embodiment of the present invention further provides a relay node.
  • the relay node includes: a fourth sending unit 1101, a fourth receiving unit 1102, a third processing unit 1103, and a broadcasting unit 1104, where
  • the fourth sending unit 1101 is configured to: send a relay service code allocation request message, where the relay service code allocation request message includes a relay node identifier;
  • the fourth receiving unit 1102 is configured to: receive a relay service code allocation response message, where the relay service code allocation response message includes a relay service name that can be provided and a corresponding relay service code that can be provided;
  • the third processing unit 1103 is configured to: obtain the selected relay service name and its corresponding selected relay service code from the relay service code allocation response message received by the fourth receiving unit 1102;
  • the broadcasting unit 1104 is configured to: broadcast the selected relay service code obtained by the third processing unit 1103 and the address corresponding to the selected selected relay service code.
  • the relay service code allocation request message further includes: selecting a relay service name; the relay service name that can be provided in the relay service code allocation response message is an optional relay service name, and the provided The relay service code is encoded using the relay service.
  • the relay service code allocation response message further includes a validity period duration corresponding to the relay service code in the relay service code allocation response message;
  • the broadcast unit 1104 is configured to: in the selecting Within the validity period of the service code, the selected relay service code and the address corresponding to the selected relay service code are broadcasted.
  • a processing unit 803 and a listening unit 804 can be implemented by a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP), or a field programmable gate array (FPGA) on the remote terminal.
  • the second receiving unit 901 and the second transmitting unit 902 may be processed by a third party application or a dedicated authorization mechanism or a central processing unit (CPU), a microprocessor (MPU), and a digital signal processing on a short-range communication server to which the remote terminal belongs. Implemented by devices such as DSPs or Field Programmable Gate Arrays (FPGAs).
  • the third receiving unit 1001, the second processing unit 1002, and the third transmitting unit 1003 may be a third-party application or a dedicated authority or a central processing unit (CPU), a microprocessor on a short-range communication server to which the relay node belongs. (MPU), digital signal processor (DSP) or field programmable gate array (FPGA) device implementation; fourth transmitting unit 1101, fourth receiving unit 1102, third processing unit 1103, and broadcasting unit 1104 may be relay nodes Implemented on a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP), or a field programmable gate array (FPGA).
  • CPU central processing unit
  • MPU microprocessor
  • DSP digital signal processor
  • FPGA field programmable gate array
  • Embodiments of the present invention further provide a computer readable storage medium storing computer executable instructions that, when executed, implement a method of selecting a relay node in a device-to-device network applied to a remote terminal.
  • the embodiment of the invention further provides a computer readable storage medium storing computer executable instructions, which are implemented to implement a selection method of a relay node in a device-to-device network applied to a remote terminal home server.
  • the embodiment of the present invention further provides a computer readable storage medium storing computer executable instructions, and when the computer executable instructions are executed, implementing a method for selecting a relay node in a device to device network applied to a relay node home server .
  • Embodiments of the present invention further provide a computer readable storage medium storing computer executable instructions that, when executed, implement a method of selecting a relay node in a device-to-device network applied to a relay node.
  • the application can take the form of a hardware embodiment, a software embodiment, or an embodiment in combination with software and hardware.
  • the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • the embodiment of the invention provides a method and a device for selecting a relay node in a device-to-device network.
  • the remote terminal adopts a one-to-one correspondence with the relay service code.
  • the relay service name is a readable character string; the relay service name is more suitable for remote terminal display and viewed by the user than the 64-bit relay service code in the related art.

Landscapes

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

Abstract

一种设备到设备网络中中继节点的选择方法,包括:发送包括远终端标识和远终端位置信息的中继服务编码监听请求消息,接收包括远终端可用的中继服务名字及其对应的可用的中继服务编码的中继服务编码监听响应消息,所述中继服务名字为可读字符串;从中继服务编码监听响应消息中获取用户选择的目标中继服务名字及其对应的目标中继服务编码;监听广播的选用中继服务编码以及选用中继服务编码对应的地址;并在监听到与目标中继服务编码一致的选用中继服务编码时,向一致的选用中继服务编码对应的地址发送通信请求。

Description

一种设备到设备网络中中继节点的选择方法及装置 技术领域
本申请涉及但不限于设备到设备通信技术,尤其涉及一种设备到设备网络中中继节点的选择方法及装置。
背景技术
临近区域的终端利用设备到设备(Device to Device,简称为D2D)直接通信能够给终端带来很多好处,比如更高的速率、更低的延迟以及更小的功耗,同时也极大地提高了运营商的无线资源效率,D2D的中继(Relay)模式有利于运营商提高无线覆盖;公共安全(Public Safety)系统也可以利用D2D技术实现没有无线覆盖的情况下终端之间的通信。
如图1所示为相关技术中和第三代合作伙伴计划(3GPP,3rd Generation Partnership Project)相关的D2D网络架构示意图,重点网元的功能说明如下:
远终端(Remote UE),处于无无线覆盖范围内,通过中继节点(Relay UE)接入网络。远终端和中继节点之间通过D2D网络中的接口3直接通信。
中继节点,处于有无线覆盖范围内,能够接入网络。该终端还给远终端提供接入功能,使得远终端通过该中继节点接入网络。中继节点为远终端提供分配网络协议(IP,Internet Protocol)地址以及IP路由功能。
演进分组系统(EPS,Evolved Packet System),包括无线接入网演进型基站(eNodeB)和核心网移动管理实体(MME,Mobility Management Entity)、服务网关(SGW,Serving GateWay)以及分组数据网关(PGW,Packet Data Network Gateway),为中继节点提供接入通道。
近距离通信服务器(ProSe Function),主要提供D2D通信的业务授权、分配临时标识、协助进行D2D发现和计费等功能。目前一个公共陆地移动网络(PLMN,Public Land Mobile Network)只部署一个近距离通信服务器,考虑到漫游情况,中继节点的近距离通信服务器和远终端的近距离通信服务器可能不同。终端通过接口1和近距离通信服务器交互,即如图1所示,中继 节点通过接口1和中继节点近距离通信服务器交互;远终端通过接口1和远终端近距离通信服务器交互。
第三方应用或者授权机构,主要为终端(即远终端和中继节点)提供应用层业务,例如公共安全服务器等。如图1所示,第三方应用或者授权机构通过接口2与近距离通信服务器交互,通过接口4与中继节点或远终端交互。
在一个D2D网络中,中继节点可能有多个,每个中继节点提供的接入服务不尽相同,因此,对于远终端,如何选择一个合适的中继节点,是一个关键问题。目前的技术主要是中继节点广播一个64比特的中继服务编码,远终端根据该中继服务编码,选择合适的中继节点,然而,该中继服务编码是一个二进制串,并不能表示具体含义,因此不适合远终端的显示和选择。
发明内容
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
本发明实施例提供一种设备到设备网络中中继节点的选择方法及装置,应用与中继服务编码一一对应的中继服务名字,便于远终端显示和选择。
本发明实施例提供一种设备到设备网络中中继节点的选择方法,所述方法包括:
发送中继服务编码监听请求消息,所述中继服务编码监听请求消息中包括远终端标识和远终端位置信息;
接收中继服务编码监听响应消息;所述中继服务编码监听响应消息中包括远终端可用的中继服务名字及其对应的可用的中继服务编码,所述中继服务名字为可读字符串;
从所述中继服务编码监听响应消息中获取用户选择的目标中继服务名字及其对应的目标中继服务编码;
监听广播的选用中继服务编码以及所述选用中继服务编码对应的地址;并在监听到与所述目标中继服务编码一致的选用中继服务编码时,向所述一致的选用中继服务编码对应的地址发送通信请求。
上述方案中,所述中继服务编码监听请求消息中还包括用户选择的目标中继服务名字;所述中继服务编码监听响应消息中所述远终端可用的中继服务名字为目标中继服务名字,所述可用的中继服务编码为目标中继服务编码。
上述方案中,所述中继服务编码监听响应消息中还包括所述中继服务编码监听响应消息中的中继服务编码对应的有效期时长;所述在监听到与所述目标中继服务编码一致的选用中继服务编码时,向所述一致的选用中继服务编码对应的地址发送通信请求,包括:
在所述目标中继服务编码的有效期时长内,监听到与所述目标中继服务编码一致的选用中继服务编码时,向所述一致的选用中继服务编码对应的地址发送通信请求。
上述方案中,所述远终端位置信息包括远终端当前驻留的公共陆地移动网络(PLMN),或者,所述远终端位置信息包括远终端当前驻留的PLMN以及远终端监听到的周围的PLMN;在所述远终端位置信息包括远终端当前驻留的PLMN以及远终端监听到的周围的PLMN的情况下,所述中继服务编码监听响应消息中包括每个PLMN以及每个PLMN下远终端可用的中继服务名字及其对应的可用的中继服务编码。
本发明实施例提供一种设备到设备网络中中继节点的选择方法,所述方法包括:
接收中继服务编码监听请求消息,所述中继服务编码监听请求消息中包括远终端标识以及远终端位置信息;
在确定所述远终端标识对应的签约信息允许通过中继节点接入网络时,转发所述中继服务编码监听请求消息;
接收并转发中继服务编码监听响应消息,所述中继服务编码监听响应消息中包括所述远终端可用的中继服务名字及其对应的可用的中继服务编码,所述中继服务名字为可读字符串。
上述方案中,所述中继服务编码监听请求消息中包括目标中继服务名字,所述中继服务编码监听响应消息中所述远终端可用的中继服务名字为目标中继服务名字,所述可用的中继服务编码为目标中继服务编码。
上述方案中,所述中继服务编码监听响应消息中还包括所述中继服务编码监听响应消息中的中继服务编码对应的有效期时长。
上述方案中,
所述远终端位置信息包括远终端当前驻留的PLMN,或者,所述远终端位置信息包括远终端当前驻留的PLMN以及远终端监听到的周围PLMN;
所述转发所述中继服务编码监听请求消息,包括:
向所述远终端驻留的PLMN下的中继节点归属近距离通信服务器转发所述中继服务编码监听请求消息;
或者,
向所述远终端驻留的PLMN以及远终端监听到的周围PLMN下的中继节点归属近距离通信服务器转发所述中继服务编码监听请求消息;
在所述远终端位置信息包括远终端当前驻留的PLMN以及远终端监听到的周围的PLMN的情况下,所述中继服务编码监听响应消息中包括每个PLMN以及每个PLMN下远终端可用的中继服务名字及其对应的可用的中继服务编码。
本发明实施例提供一种设备到设备网络中中继节点的选择方法,所述方法包括:
接收中继服务编码分配请求消息,所述中继服务编码分配请求消息中包括中继节点标识;
在确定所述中继节点标识对应的签约信息允许提供中继服务时,获得所述中继节点标识对应的中继节点可提供的中继服务名字,为所述可提供的中继服务名字分配对应的可提供的中继服务编码,并发送中继服务编码分配响应消息,所述中继服务编码分配响应消息中包括所述可提供的中继服务名字及其对应的可提供的中继服务编码,所述中继服务名字为可读字符串;
接收中继服务编码监听请求消息,所述中继服务编码监听请求消息中包括远终端标识和远终端位置信息;
发送中继服务编码监听响应消息,所述中继服务编码监听响应消息中包括根据所述远终端位置信息获得的远终端可用的中继服务名字对应的中继服 务编码。
上述方案中,所述中继服务编码分配请求消息中还包括中继节点标识对应的中继节点可提供的中继服务名字。
上述方案中,所述获得所述中继节点标识对应的中继节点可提供的中继服务名字,包括:
从所述中继节点标识对应的签约信息中获得所述中继节点标识对应的中继节点可提供的中继服务名字。
上述方案中,所述中继服务编码分配响应消息中还包括所述中继服务编码分配响应消息中的中继服务编码对应的有效期时长;所述中继服务编码监听响应消息中还包括所述中继服务编码监听响应消息中的中继服务编码对应的有效期时长。
上述方案中,所述远终端位置信息包括远终端当前驻留的公共陆地移动网络(PLMN),或者,所述远终端位置信息包括远终端当前驻留的PLMN以及远终端监听到的周围PLMN;在所述远终端位置信息包括远终端当前驻留的PLMN以及远终端监听到的周围PLMN时,所述中继服务编码监听响应消息中包括每个PLMN以及每个PLMN下远终端可用的中继服务名字及其对应的可用的中继服务编码。
本发明实施例提供一种设备到设备网络中中继节点的选择方法,所述方法包括:
发送中继服务编码分配请求消息,所述中继服务编码分配请求消息中包括中继节点标识;
接收中继服务编码分配响应消息,所述中继服务编码分配响应消息包括可提供的中继服务名字及其对应的可提供的中继服务编码,所述中继服务名字为可读字符串;
从所述中继服务编码分配响应消息中获得选用中继服务名字及其对应的选用中继服务编码;
广播所述选用中继服务编码以及分配的所述选用中继服务编码对应的地址。
上述方案中,所述中继服务编码分配请求消息中还包括选用中继服务名字;所述中继服务编码分配响应消息中可提供的中继服务名字为选用中继服务名字,所述可提供的中继服务编码为选用中继服务编码。
上述方案中,所述中继服务编码分配响应消息中还包括所述中继服务编码分配响应消息中的中继服务编码对应的有效期时长;所述广播所述选用中继服务编码以及分配的所述选用中继服务编码对应的地址,包括:
在所述选用中继服务编码的有效期时长内,广播所述选用中继服务编码以及分配的所述选用中继服务编码对应的地址。
本发明实施例提供一种远终端,所述远终端包括:
第一发送单元,设置为:发送中继服务编码监听请求消息,其中,所述中继服务编码监听请求消息中包括远终端标识和远终端位置信息;
第一接收单元,设置为:接收中继服务编码监听响应消息;其中,所述中继服务编码监听响应消息中包括远终端可用的中继服务名字及其对应的可用的中继服务编码,所述中继服务名字为可读字符串;
第一处理单元,设置为:从所述第一接收单元接收到的所述中继服务编码监听响应消息中获取用户选择的目标中继服务名字及其对应的目标中继服务编码;
监听单元,设置为:监听广播的选用中继服务编码以及所述选用中继服务编码对应的地址;
所述第一发送单元,还设置为:在所述监听单元监听到与所述第一处理单元获取的所述目标中继服务编码一致的选用中继服务编码时,向所述一致的选用中继服务编码对应的地址发送通信请求。
上述方案中,所述中继服务编码监听请求消息中还包括用户选择的目标中继服务名字;所述中继服务编码监听响应消息中所述远终端可用的中继服务名字为目标中继服务名字,所述可用的中继服务编码为目标中继服务编码。
上述方案中,
所述中继服务编码监听响应消息中还包括所述中继服务编码监听响应消息中的中继服务编码对应的有效期时长;
所述第一发送单元是设置为:在所述目标中继服务编码的有效期时长内,当所述监听单元监听到与所述第一处理单元获取的所述目标中继服务编码一致的选用中继服务编码时,向所述一致的选用中继服务编码对应的地址发送通信请求。
上述方案中,
所述远终端位置信息包括远终端当前驻留的公共陆地移动网络(PLMN),或者,所述远终端位置信息包括远终端当前驻留的PLMN以及远终端监听到的周围的PLMN;
在所述远终端位置信息包括远终端当前驻留的PLMN以及远终端监听到的周围的PLMN的情况下,所述中继服务编码监听响应消息中包括每个PLMN以及每个PLMN下远终端可用的中继服务名字及其对应的可用的中继服务编码。
本发明实施例提供一种远终端归属服务器,所述远终端归属服务器包括:
第二接收单元,设置为:接收中继服务编码监听请求消息,其中,所述中继服务编码监听请求消息中包括远终端标识以及远终端位置信息;
第二发送单元,设置为:在确定所述第二接收单元接收的远终端标识对应的签约信息允许通过中继节点接入网络时,转发所述中继服务编码监听请求消息;
所述第二接收单元,还设置为:接收中继服务编码监听响应消息,其中,所述中继服务编码监听响应消息中包括所述远终端可用的中继服务名字及其对应的可用的中继服务编码,所述中继服务名字为可读字符串;
所述第二发送单元,还设置为:转发所述中继服务编码监听响应消息。
上述方案中,所述中继服务编码监听请求消息中包括目标中继服务名字,所述中继服务编码监听响应消息中所述远终端可用的中继服务名字为目标中继服务名字,所述可用的中继服务编码为目标中继服务编码。
上述方案中,所述中继服务编码监听响应消息中还包括所述中继服务编码监听响应消息中的中继服务编码对应的有效期时长。
上述方案中,
所述远终端位置信息包括远终端当前驻留的公共陆地移动网络(PLMN),或者,所述远终端位置信息包括远终端当前驻留的PLMN以及远终端监听到的周围PLMN;
所述第二发送单元是设置为:向所述远终端驻留的PLMN下的中继节点归属近距离通信服务器转发所述中继服务编码监听请求消息;或者,向所述远终端驻留的PLMN以及远终端监听到的周围PLMN下的中继节点归属近距离通信服务器转发所述中继服务编码监听请求消息;
在所述远终端位置信息包括远终端当前驻留的PLMN以及远终端监听到的周围的PLMN的情况下,所述中继服务编码监听响应消息中包括每个PLMN以及每个PLMN下远终端可用的中继服务名字及其对应的可用的中继服务编码。
本发明实施例提供一种中继节点归属服务器,所述中继节点归属服务器包括:
第三接收单元,设置为:接收中继服务编码分配请求消息,其中,所述中继服务编码分配请求消息中包括中继节点标识;
第二处理单元,设置为:在确定所述第三接收单元接收到的中继节点标识对应的签约信息允许提供中继服务时,获得所述中继节点标识对应的中继节点可提供的中继服务名字,为所述可提供的中继服务名字分配对应的可提供的中继服务编码,其中,所述中继服务名字为可读字符串;
第三发送单元,设置为:发送中继服务编码分配响应消息,其中,所述中继服务编码分配响应消息中包括所述可提供的中继服务名字及其对应的可提供的中继服务编码;
所述第三接收单元,还设置为:接收中继服务编码监听请求消息,其中,所述中继服务编码监听请求消息中包括远终端标识和远终端位置信息;
所述第三发送单元,还设置为:发送中继服务编码监听响应消息,其中,所述中继服务编码监听响应消息中包括根据所述远终端位置信息获得的远终端可用的中继服务名字对应的中继服务编码。
上述方案中,所述中继服务编码分配请求消息中还包括中继节点标识对 应的中继节点可提供的中继服务名字。
上述方案中,所述第二处理单元通过以下方式获得所述中继节点标识对应的中继节点可提供的中继服务名字:从所述中继节点标识对应的签约信息中获得所述中继节点标识对应的中继节点可提供的中继服务名字。
上述方案中,所述中继服务编码分配响应消息中还包括所述中继服务编码分配响应消息中的中继服务编码对应的有效期时长;所述中继服务编码监听响应消息中还包括所述中继服务编码监听响应消息中的中继服务编码对应的有效期时长。
上述方案中,
所述远终端位置信息包括远终端当前驻留的公共陆地移动网络(PLMN),或者,所述远终端位置信息包括远终端当前驻留的PLMN以及远终端监听到的周围PLMN;
在所述远终端位置信息包括远终端当前驻留的PLMN以及远终端监听到的周围PLMN时,所述中继服务编码监听响应消息中包括每个PLMN以及每个PLMN下远终端可用的中继服务名字及其对应的可用的中继服务编码。
本发明实施例提供一种中继节点,所述中继节点包括:
第四发送单元,设置为:发送中继服务编码分配请求消息,其中,所述中继服务编码分配请求消息中包括中继节点标识;
第四接收单元,设置为:接收中继服务编码分配响应消息,其中,所述中继服务编码分配响应消息包括可提供的中继服务名字及其对应的可提供的中继服务编码,所述中继服务名字为可读字符串;
第三处理单元,设置为:从所述第四接收单元接收的中继服务编码分配响应消息中获得选用中继服务名字及其对应的选用中继服务编码;
广播单元,设置为:广播所述第三处理单元获得的所述选用中继服务编码以及分配的所述选用中继服务编码对应的地址。
上述方案中,所述中继服务编码分配请求消息中还包括选用中继服务名字;所述中继服务编码分配响应消息中可提供的中继服务名字为选用中继服务名字,所述可提供的中继服务编码为选用中继服务编码。
上述方案中,所述中继服务编码分配响应消息中还包括所述中继服务编码分配响应消息中的中继服务编码对应的有效期时长;所述广播单元是设置为:在所述选用中继服务编码的有效期时长内,广播所述选用中继服务编码以及分配的所述选用中继服务编码对应的地址。
本发明实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现应用于远终端的设备到设备网络中中继节点的选择方法。
本发明实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现应用于远终端归属服务器的设备到设备网络中中继节点的选择方法。
本发明实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现应用于中继节点归属服务器的设备到设备网络中中继节点的选择方法。
本发明实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现应用于中继节点的设备到设备网络中中继节点的选择方法。
本发明实施例提供了一种设备到设备网络中中继节点的选择方法及装置,在远终端选择中继节点提供的中继服务接入网络的过程中,采用了与中继服务编码一一对应的中继服务名字,所述中继服务名字为可读字符串;用户可以通过远终端显示的可用的中继服务名字选择出需要的目标中继服务名字,也可以直接输入需要的目标中继服务名字,与相关技术中的64比特的中继服务编码相比,中继服务名字更适合远终端显示以及被用户查看选择。
在阅读并理解了附图和详细描述后,可以明白其他方面。
附图概述
图1为相关技术中的D2D网络架构示意图;
图2为本发明实施例一提供的一种应用于远终端一侧的设备到设备网络中中继节点的选择方法的流程示意图;
图3为本发明实施例一提供的一种应用于远终端归属服务器一侧的设备到设备网络中中继节点的选择方法的流程示意图;
图4为本发明实施例一提供的一种应用于中继节点归属服务器一侧的设备到设备网络中中继节点的选择方法的流程示意图;
图5为本发明实施例一提供的一种应用于中继节点一侧的设备到设备网络中中继节点的选择方法的流程示意图;
图6为本发明实施例二提供的一种设备到设备网络中中继节点的选择方法的流程示意图;
图7为本发明实施例二提供的另一种设备到设备网络中中继节点的选择方法的流程示意图;
图8为本发明实施例三提供的一种远终端的结构框图;
图9为本发明实施例三提供的一种远终端归属服务器的结构框图;
图10为本发明实施例三提供的一种中继节点归属服务器的结构框图;
图11为本发明实施例三提供的一种中继节点的结构框图。
本发明的实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。
实施例一
本发明实施例提供了一种设备到设备网络中中继节点的选择方法,应用于远终端一侧,如图2所示,本实施例方法的处理流程包括以下步骤:
步骤201、发送中继服务编码监听请求消息,所述中继服务编码监听请求消息中包括远终端标识和远终端位置信息。
远终端注册到演进分组系统(EPS)之后,建立IP连接。远终端可以在任何时候决定进行步骤201以获得目标中继服务名字对应的目标中继服务编码,以便在移出无线覆盖的时候,能够采用目标中继服务编码对应的中继节点提供的中继服务继续接入网络。
远终端可以通过EPS向服务器发送中继服务编码监听请求消息,以请求服务器返回远终端可用的中继服务名字及其对应的可用的中继服务编码。这里所述的中继服务名字是一个可读的字符串,比如可以是标识一个业务的会话初始协议-统一资源定位器(SIP-URL,Session Initiation Protocol-Uniform Resource Locator)。所述中继服务编码监听请求消息中的远终端标识用于服务器对发送请求消息的远终端进行授权验证,所述远终端位置信息用于服务器在远终端位置信息周围筛选到可用的中继服务名字及其对应的可用的中继服务编码。
步骤202、接收中继服务编码监听响应消息;所述中继服务编码监听响应消息中包括远终端可用的中继服务名字及其对应的可用的中继服务编码。
服务器在接收到中继服务编码监听请求消息后,首先确定所述远终端标识对应的签约信息是否允许通过中继节点接入网络,在确定所述远终端标识对应的签约信息允许通过中继节点接入网络时,就会根据所述远终端位置信息获得远终端可用的中继服务名字及其对应的中继服务编码,并发送中继服务编码监听响应消息,所述中继服务编码监听响应消息中包括:所述远终端可用的中继服务名字对应的中继服务编码。
步骤203、从所述中继服务编码监听响应消息中获取用户选择的目标中继服务名字及其对应的目标中继服务编码。
D2D网络中每个中继服务对应的中继服务名字是公开的,用户需要哪种中继服务,就会在远终端中选择输入哪种中继服务名字。该中继服务名字可以是远终端显示多个中继服务名字选项由用户选择的,也可以是用户直接在远终端中输入的。
若所述中继服务编码监听请求消息中包括用户选择的目标中继服务名字;则服务器返回的所述中继服务编码监听响应消息中所述远终端可用的中继服务名字为目标中继服务名字,所述可用的中继服务编码为目标中继服务编码。这样,远终端就可以在接收到的所述中继服务编码监听响应消息中获得用户选择的目标中继服务名字对应的目标中继服务编码。
若中继服务编码监听请求消息中不包括用户选择的目标中继服务名字;则服务器返回的中继服务编码监听响应消息中包括所述远终端位置信息周围 若干可用的中继服务名字及其对应的可用的中继服务编码。这时,远终端可以显示出所述中继服务编码监听响应消息中的可用的中继服务名字,用户从可用的中继服务名字中选择目标中继服务名字,获取目标中继服务名字后,进而就可以获得所述目标中继服务名字对应的目标中继服务编码。
远终端可以显示出选择的目标中继服务名字,使用户看到远终端选择采用的中继服务名字,显示中继服务名字比显示64比特的中继服务编码更加方便,也更加适合用户查看。
本实施例提供的方法中,采用与中继服务编码一一对应的中继服务名字,用户可以通过远终端显示的中继服务名字选择出需要的目标中继服务名字,也可以直接输入目标中继服务名字,与相关技术中的64比特的中继服务编码相比,中继服务名字更适合远终端显示出来以及被用户查看选择。
步骤204、监听广播的选用中继服务编码以及所述选用中继服务编码对应的地址;并在监听到与所述目标中继服务编码一致的选用中继服务编码时,向所述一致的选用中继服务编码对应的地址发送通信请求。
远终端即将移出网络覆盖,或者远终端已经移出网络覆盖的时候,远终端决定需要通过中继节点接入网络进行通信,则开始监听广播中的选用中继服务编码。
D2D网络中提供中继服务的中继节点会广播该中继节点提供的选用中继服务编码以及所述选用中继服务编码对应的地址,这样,远终端就可以监听到广播的选用中继服务编码以及所述选用中继服务编码对应的地址。
所述一致的选用中继服务编码对应的地址为所述一致的选用中继服务编码对应的中继节点提供的中继服务的层二地址。远终端在监听到与所述目标中继服务编码一致的选用中继服务编码时,就会选择向所述一致的选用中继服务编码对应的地址发送通信请求,进而远终端就与所述一致的选用中继服务编码对应的中继节点建立D2D连接,由所述一致的选用中继服务编码对应的中继节点为该远终端提供所述一致的选用中继服务编码(即目标中继服务编码)对应的中继服务,这样远终端就可以通过该中继服务接入网络。
本发明实施例还提供了一种设备到设备网络中中继节点的选择方法,所 述方法应用于服务器中与远终端交互的远终端归属服务器,如图3所示,本实施例方法的处理流程包括以下步骤:
步骤301、接收中继服务编码监听请求消息,所述中继服务编码监听请求消息中包括远终端标识以及远终端位置信息。
步骤302、在确定所述远终端标识对应的签约信息允许通过中继节点接入网络时,转发所述中继服务编码监听请求消息。
在这里需要说明的是,所述服务器可以是第三方应用或者专用的授权机构,也可以是远终端归属的近距离通信服务器和中继节点归属的近距离通信服务器。本实施例方法就是应用在服务器中与远终端交互的远终端归属服务器一侧的。该远终端归属服务器可以是图1所示的第三方应用或者专用的授权机构中与远终端交互的模块;或者图1所示的与远终端交互的远终端归属近距离通信服务器。
远终端在接入D2D网络时,远终端会在服务器中的远终端归属服务器内设置好签约信息。远终端归属服务器接收到中继服务编码监听请求消息后,先确定所述远终端标识对应的签约信息是否允许通过中继节点接入网络,若确定所述远终端标识对应的签约信息允许通过中继节点接入网络,远终端归属服务器才会将所述中继服务编码监听请求消息转发出去。远终端归属服务器会将所述中继服务编码监听请求消息转发给服务器中与中继节点交互的中继节点归属服务器。该中继节点归属服务器可以是如图1所示的第三方应用或者专用的授权机构中与中继节点交互的模块;或者如图1所示的与中继节点交互的中继节点归属近距离通信服务器。
步骤303、接收并转发所述中继服务编码监听响应消息,所述中继服务编码监听响应消息中包括所述远终端可用的中继服务名字及其对应的可用的中继服务编码。
中继节点归属服务器在查询后会返回中继服务编码监听响应消息,中继节点归属服务器会筛选出远终端位置信息周围的可用的中继服务名字及其对应的可用的中继服务编码。若所述中继服务编码监听请求消息中包括目标中继服务名字,则中继节点归属服务器只查询出目标中继服务名字对应的目标中继服务编码即可,此时,返回的所述中继服务编码监听响应消息中所述远 终端可用的中继服务名字为目标中继服务名字,所述可用的中继服务编码为目标中继服务编码。若所述中继服务编码监听请求消息中不包括目标中继服务名字,则中继节点归属服务器查询出远终端位置信息周围所有可用的中继服务名字及其对应的可用的中继服务编码,此时,返回的所述中继服务编码监听响应消息中就包括若干可用的中继服务名字及其对应的可用的中继服务编码。
远终端归属服务器接收到所述中继服务编码监听响应消息后,就会将所述中继服务编码监听响应消息转发给远终端。
本发明实施例还提供了一种设备到设备网络中中继节点的选择方法,所述方法应用于服务器中与中继节点交互的中继节点归属服务器,如图4所示,本实施例方法的处理流程包括以下步骤:
步骤401、接收中继服务编码分配请求消息,所述中继服务编码分配请求消息中包括中继节点标识。
中继节点注册到EPS之后,建立IP连接。当中继节点需要开启中继服务的时候,中继节点会向服务器发送中继服务编码分配请求消息,所述中继服务编码分配请求消息中包括中继节点标识。
在这里需要说明的是,所述服务器可以是第三方应用或者专用的授权机构,也可以是远终端归属的近距离通信服务器和中继节点归属的近距离通信服务器。本实施例方法就是应用在服务器中与中继节点交互的中继节点归属服务器一侧的。该中继节点归属服务器可以是第三方应用或者专用的授权机构中与中继节点交互的装置;或者服务器中与中继节点交互的中继节点归属的近距离通信服务器。
步骤402、在确定所述中继节点标识对应的签约信息允许提供中继服务时,获得所述中继节点标识对应的中继节点可提供的中继服务名字,为所述可提供的中继服务名字分配对应的可提供的中继服务编码,并发送中继服务编码分配响应消息。
中继节点在接入D2D网络时,中继节点会在服务器的中继节点归属服务器内设置好签约信息。中继节点归属服务器接收到中继服务编码分配请求消 息后,先确定所述中继节点标识对应的签约信息是否允许提供中继服务,若确定所述中继节点标识对应的签约信息允许提供中继服务,中继节点归属服务器才会获得所述中继节点标识对应的中继节点可提供的中继服务名字,为所述可提供的中继服务名字分配对应的可提供的中继服务编码。
若所述中继服务编码分配请求消息中包括中继节点标识对应的中继节点可提供的中继服务名字,则所述中继节点归属服务器会从所述中继服务编码分配请求消息中获得所述中继节点标识对应的中继节点可提供的中继服务名字,然后为所述中继节点标识对应的中继节点可提供的中继服务名字分配对应的可提供的中继服务编码;若所述中继服务编码分配请求消息中不包括中继节点标识对应的中继节点可提供的中继服务名字,则所述中继节点归属服务器会从所述中继节点标识对应的签约信息中获得所述中继节点标识对应的中继节点可提供的中继服务名字,然后为所述可提供的中继服务名字分配对应的可提供的中继服务编码。
然后,中继节点归属服务器就会向所述中继节点标识对应的中继节点返回中继服务编码分配响应消息,所述中继服务编码分配响应消息中包括所述可提供的中继服务名字及其对应的可提供的中继服务编码。
步骤403、接收中继服务编码监听请求消息,所述中继服务编码监听请求消息中包括远终端标识和远终端位置信息。
服务器中的远终端归属服务器接收到中继服务编码监听请求消息后,在确定所述远终端标识对应的签约信息允许通过中继节点接入网络时,转发所述中继服务编码监听请求消息给中继节点归属服务器,所述中继节点归属服务器接收中继服务编码监听请求消息。
步骤404、发送中继服务编码监听响应消息,所述中继服务编码监听响应消息中包括远终端位置信息对应的远终端可用的中继服务名字对应的中继服务编码。
所述中继节点归属服务器在步骤402时,获得中继节点标识对应的中继节点可提供的中继服务名字,为所述可提供的中继服务名字分配对应的可提供的中继服务编码;这样在步骤404时,所述中继节点归属服务器就可以筛选这些可提供的中继服务名字分配对应的可提供的中继服务编码,获得远终 端位置信息对应的远终端可用的中继服务名字对应的中继服务编码。然后向远终端归属服务器返回中继服务编码监听响应消息,所述中继服务编码监听响应消息中包括远终端位置信息对应的远终端可用的中继服务名字对应的中继服务编码。
本发明实施例提供了一种设备到设备网络中中继节点的选择方法,应用于中继节点一侧,如图5所示,本实施例方法的处理流程包括以下步骤:
步骤501、发送中继服务编码分配请求消息,所述中继服务编码分配请求消息中包括中继节点标识。
中继节点注册到EPS之后,建立IP连接;当中继节点需要开启中继服务的时候,中继节点会向服务器发送中继服务编码分配请求消息,请求服务器为中继节点可提供的中继服务名字分配对应的可提供的中继服务编码。这里所述的中继服务名字是一个可读的字符串,比如标识一个业务的SIP-URL。所述中继服务编码分配请求消息中的中继节点标识用于服务器对发送请求消息的中继节点进行授权验证。
步骤502、接收中继服务编码分配响应消息,所述中继服务编码分配响应消息包括可提供的中继服务名字及其对应的可提供的中继服务编码。
服务器在接收到中继服务编码分配请求消息后,首先确定所述中继节点标识对应的签约信息是否允许提供中继服务,在确定所述中继节点标识对应的签约信息允许提供中继服务时,获得所述中继节点标识对应的中继节点可提供的中继服务名字,为所述可提供的中继服务名字分配对应的可提供的中继服务编码,并发送中继服务编码分配响应消息,所述中继服务编码分配响应消息中包括所述可提供的中继服务名字及其对应的可提供的中继服务编码。
步骤503、从所述中继服务编码分配响应消息中获得选用中继服务名字及其对应的选用中继服务编码。
若所述中继服务编码分配请求消息中包括中继节点标识对应的中继节点的选用中继服务名字,则服务器返回的中继服务编码分配响应消息中包括所述中继节点标识对应的中继节点的选用中继服务名字及其对应的选用中继服 务编码。D2D网络中每个中继服务对应的中继服务名字是公开的,中继节点在开启某项中继服务时,就会将该中继节点选用的中继服务对应的选用中继服务名字携带在中继服务编码分配请求消息中发送给服务器,请求服务器为所述选用中继服务名字分配选用中继服务编码;这样,中继节点就可以在接收到所述中继服务编码分配响应消息中获得选用中继服务名字及其对应的选用中继服务编码。
若所述中继服务编码分配请求消息中不包括中继节点标识对应的中继节点的选用中继服务名字,则服务器返回的中继服务编码分配响应消息中包括所述中继节点标识对应的签约信息中的若干可提供的中继服务名字及其对应的可提供的中继服务编码,这样,中继节点就可以从所述可提供的中继服务名字及其对应的可提供的中继服务编码中选择出选用中继服务名字及其对应的选用中继服务编码。
步骤504、广播所述选用中继服务编码以及分配的所述选用中继服务编码对应的地址。
中继节点会对选用中继服务编码进行广播,以使附近的远终端知晓本中继节点可以提供该选用中继服务编码对应的中继服务,同时还广播所述选用中继服务编码对应的地址,以便于远终端选择中继服务编码对应的中继服务时,与该选用中继服务编码对应的中继节点进行通信,获得相应的中继服务。
实施例二
本实施例中所述的远终端归属服务器是第三方应用或者专用的授权机构中与远终端交互的模块;所述中继节点归属服务器是第三方应用或者专用的授权机构中与中继节点交互的模块;或者,所述远终端归属服务器为与远终端交互的远终端归属近距离通信服务器,所述中继节点归属服务器是服务器中与中继节点交互的中继节点归属近距离通信服务器。
本发明实施例提供了一种设备到设备网络中中继节点的选择方法,如图6所示,本实施例方法的处理流程包括以下步骤:
步骤601、中继节点向中继节点归属服务器发送中继服务编码分配请求消息;所述中继服务编码分配请求消息中包括选用中继服务名字和中继节点 标识。
中继节点注册到EPS之后,建立IP连接。当中继节点需要开启某项中继服务的时候,中继节点首先需要获取该中继服务的中继服务名字;中继节点获取中继服务名字的过程可以是用户手工选择该中继服务名字,或者用户手工输入该中继服务名字,这样中继节点就可以获取到用户输入的中继服务名字。该中继服务名字是一个可读的字符串,比如可以是标识一个业务的SIP-URL。在这里需要说明的是,在D2D网络中每个中继服务对应的中继服务名字是公开的,中继节点需要开启哪项中继服务,就在所述中继服务编码分配请求消息中携带哪项中继服务对应的中继服务名字。
中继节点可以通过EPS向中继节点归属服务器发送该中继服务编码分配请求消息,请求该中继节点归属服务器为所述选用中继服务名字分配对应的二进制选用中继服务编码。
步骤602、中继节点归属服务器接收所述中继服务编码分配请求消息;并在确定所述中继节点标识对应的中继节点允许中继功能时,向所述中继节点返回中继服务编码分配响应消息。
中继节点在接入D2D网络时,中继节点会与中继节点归属服务器协商好签约信息。中继节点归属服务器在接收到中继服务编码分配请求消息后,先确定所述中继节点标识对应的签约信息是否允许提供中继服务,若确定所述中继节点标识对应的签约信息允许提供中继服务,中继节点归属服务器就为从所述中继服务编码分配请求消息中的获得的选用中继服务名字分配对应的选用中继服务编码。
可选地,在确定所述中继节点标识对应的签约信息允许提供中继服务后,还需要确定该签约信息是否允许使用选用中继服务名字;在确定该签约信息允许使用选用中继服务名字时,中继节点归属服务器才为从所述中继服务编码分配请求消息中获得的选用中继服务名字分配对应的选用中继服务编码。
可选地,所述中继节点归属服务器还会为所述选用中继服务编码分配对应的有效期时长。
中继节点归属服务器可以将所述选用中继服务名字及其对应的选用中继 服务编码,以及所述选用中继服务编码对应的有效期时长携带在中继服务编码分配响应消息中返回给中继节点。
步骤603、中继节点从所述中继服务编码分配响应消息中获得选用中继服务名字及其对应的选用中继服务编码。
所述中继服务编码分配响应消息中包括选用中继服务名字及其对应的选用中继服务编码,以及所述选用中继服务编码对应的有效期时长,所述中继节点可以从所述中继服务编码分配响应消息直接获得选用中继服务名字及其对应的选用中继服务编码。
步骤604、在所述选用中继服务编码的有效期时长内,广播所述选用中继服务编码以及分配的所述选用中继服务编码对应的地址。
中继节点会对选用中继服务编码进行广播,以使附近的远终端知晓本中继节点可以提供该选用中继服务编码对应的中继服务,同时还广播为所述选用中继服务编码分配的地址,以便于附近的远终端选择采用所述选用中继服务编码对应的中继服务时,与该选用中继服务编码对应的中继节点进行通信,获得相应的中继服务。
D2D网络中的中继节点在开启某项中继服务时,都可以进行步骤601至步骤604,获得该项中继服务的选用中继服务编码;并将选用中继服务编码以及分配的所述选用中继服务编码对应的地址广播出去,让周围的远终端能够监听到。
步骤605、远终端向远终端归属服务器发送中继服务编码监听请求消息;所述中继服务编码监听请求消息中包括用户选择的目标中继服务名字、远终端标识和远终端位置信息。
远终端注册到EPS之后,建立IP连接。远终端可以在任何时候决定进行步骤605以获得目标中继服务名字对应的目标中继服务编码,以便在移出无线覆盖的时候,能够采用目标中继服务编码对应的中继节点提供的中继服务继续接入网络。
远终端通过EPS向远终端归属服务器发送中继服务编码监听请求消息,请求该远终端归属服务器返回目标中继服务名字对应的目标中继服务编码。
步骤606、远终端归属服务器接收所述中继服务编码监听请求消息,并在确定所述远终端标识对应的签约信息允许通过中继节点接入网络时,向中继节点归属服务器转发所述中继服务编码监听请求消息。
远终端在接入D2D网络时,远终端会在服务器的远终端归属服务器内设置好签约信息。远终端归属服务器接收到中继服务编码监听请求消息后,先确定所述远终端标识对应的签约信息是否允许通过中继节点接入网络,若确定所述远终端标识对应的签约信息允许通过中继节点接入网络,远终端归属服务器才会将所述中继服务编码监听请求消息转发给中继节点归属服务器。
具体转发过程有以下两种情况:
第一种情况,所述远终端归属服务器是第三方应用或者专用的授权机构中与远终端交互的装置,中继节点归属服务器是第三方应用或者专用的授权机构中与中继节点交互的装置;所述远终端归属服务器和所述中继节点归属服务器构成了第三方应用或者专用的授权机构;此时,所述远终端归属服务器会直接将所述中继服务编码监听请求消息转发给中继节点归属服务器。
第二种情况,所述远终端归属服务器是远终端归属近距离通信服务器,中继节点归属服务器为中继节点归属近距离通信服务器;此时所述中继服务编码监听请求消息中的远终端位置信息为远终端当前驻留的PLMN;所述远终端归属服务器(即远终端归属近距离通信服务器)会将所述中继服务编码监听请求消息转发给远终端当前驻留的PLMN下的中继节点归属近距离通信服务器。
在第二种情况下,所述中继服务编码监听请求消息中的远终端位置信息还可以为远终端当前驻留的PLMN以及远终端监听到的周围的PLMN;则所述远终端归属服务器(即远终端归属近距离通信服务器)会将所述中继服务编码监听请求消息转发给远终端当前驻留的PLMN下的中继节点归属近距离通信服务器,以及远终端监听到的周围的PLMN下的中继节点归属近距离通信服务器。
步骤607、中继节点归属服务器接收所述中继服务编码监听请求消息,并向所述远终端归属服务器发送中继服务编码监听响应消息。
中继节点归属服务器在步骤601和步骤602中已获得与所述中继节点归属服务器签约的中继节点开启的中继服务对应的选用中继服务名字和选用中继服务编码,则中继节点归属服务器接收所述中继服务编码监听请求消息后,就会查询这些选用中继服务名字获得远终端需要的目标中继服务名字,进而获得目标中继服务名字对应的目标中继服务编码。可选地,若步骤602中所述中继节点归属服务器还为选用中继服务编码分配了有效期时长,则所述目标中继服务编码还对应有分配的有效期时长。然后,所述中继节点归属服务器就会向所述远终端归属服务器发送中继服务编码监听响应消息,所述中继服务编码监听响应消息包括所述目标中继服务名字及其对应的目标中继服务编码,可选地,还包括所述目标中继服务编码对应的有效期时长。
若所述中继节点归属服务器是第三方应用或者专用的授权机构中与中继节点交互的装置,则所述中继节点归属服务器会先根据所述远终端的位置信息筛选出远终端周围可用的中继服务名字,再从这些可用的中继服务名字里查询获得目标中继服务名字。若所述中继节点归属服务器是中继节点归属近距离通信服务器,则所述远终端位置信息中PLMN下的中继节点归属近距离通信服务器从签约的中继节点开启的中继服务对应的选用中继服务名字中查询获得目标中继服务名字。然后,每个中继节点归属近距离通信服务器就会向所述远终端归属服务器发送中继服务编码监听响应消息。
在所述远终端位置信息包括远终端当前驻留的PLMN时,所述中继服务编码监听响应消息中包括远终端驻留PLMN下远终端可用的中继服务名字及其对应的可用的中继服务编码。在所述远终端位置信息包括远终端当前驻留的PLMN以及远终端监听到的周围PLMN时,所述中继服务编码监听响应消息包括每个PLMN以及每个PLMN下远终端可用的中继服务名字及其对应的可用的中继服务编码,可选地,还包括所述目标中继服务编码对应的有效期时长。
步骤608、远终端归属服务器接收所述中继服务编码监听响应消息,并将所述中继服务编码监听响应消息转发给所述远终端。
步骤609、远终端接收所述中继服务编码监听响应消息,从所述中继服务编码监听响应消息中获取用户选择的目标中继服务名字及其对应的目标中 继服务编码。
所述远终端可以直接从所述中继服务编码监听响应消息中获得所述用户选择的目标中继服务名字及其对应的目标中继服务编码。
步骤610、远终端在即将移出覆盖,或者已经移出覆盖的时候,开始监听广播的选用中继服务编码以及所述选用中继服务编码对应的地址。
远终端即将移出覆盖,或者远终端已经移出覆盖的时候,远终端需要通过中继节点接入网络进行通信,则开始监听广播中的选用中继服务编码。在步骤604中,中继节点会广播选用中继服务编码以及所述选用中继服务编码对应的地址,这样远终端在步骤610时就能够监听到广播的选用中继服务编码以及所述选用中继服务编码对应的地址。
步骤611、在所述目标中继服务编码的有效期时长内,监听到与所述目标中继服务编码一致的选用中继服务编码时,向所述一致的选用中继服务编码对应的地址发送通信请求。
在所述目标中继服务编码的有效期时长内,监听到与所述目标中继服务编码一致的选用中继服务编码时,表明在这个时间段内有中继节点提供所述目标中继服务编码对应的中继服务,此时远终端就会向所述一致的选用中继服务编码对应的地址发送通信请求,所述一致的选用中继服务编码对应的地址即为所述一致的选用中继服务编码对应的中继节点提供的中继服务的层二地址;远终端向该地址对应的中继节点发送通信请求,请求该中继节点为其提供该项中继服务,该中继节点同意为远终端提供该项中继服务后,所述远终端就与该中继节点建立了D2D连接,远终端就可以通过该中继节点接入网络。
本发明实施例提供了一种设备到设备网络中中继节点的选择方法,如图7所示,本实施例方法的处理流程包括以下步骤:
步骤701、中继节点向中继节点归属服务器发送中继服务编码分配请求消息;所述中继服务编码分配请求消息中包括中继节点标识。
中继节点注册到EPS之后,建立IP连接。当中继节点需要开启中继服务的时候,中继节点就可以通过EPS向中继节点归属服务器发送该中继服务编 码分配请求消息,请求该中继节点归属服务器为所述中继节点能够提供的中继服务的中继服务名字分配对应的二进制中继服务编码。
步骤702、中继节点归属服务器接收所述中继服务编码分配请求消息;并在确定所述中继节点标识对应的中继节点允许中继功能时,向所述中继节点返回中继服务编码分配响应消息。
中继节点在接入D2D网络时,中继节点会与中继节点归属服务器协商好签约信息,所述签约信息中包括是否允许提供中继服务,以及中继节点能够提供的中继服务的中继服务名字。中继节点归属服务器在接收到中继服务编码分配请求消息后,先确定所述中继节点标识对应的签约信息是否允许提供中继服务,若确定所述中继节点标识对应的签约信息允许提供中继服务,中继节点归属服务器从所述中继节点标识对应的签约信息中获得所述中继节点标识对应的中继节点可提供的中继服务名字,并为所述可提供的中继服务名字分配对应的可提供的中继服务编码。可选地,所述中继节点归属服务器还会为所述可提供的中继服务编码分配对应的有效期时长。
中继节点归属服务器可以将所述可提供的中继服务名字及其对应的可提供的中继服务编码,以及所述可提供的中继服务编码对应的有效期时长携带在中继服务编码分配响应消息中返回给中继节点。
步骤703、中继节点从所述中继服务编码分配响应消息中获得选用中继服务名字及其对应的选用中继服务编码。
中继节点接收到所述中继服务编码分配响应消息后,所述中继服务编码分配响应消息中包括可提供的中继服务名字及其对应的可提供的中继服务编码,以及所述可提供的中继服务编码对应的有效期时长;所述可提供的中继服务名字可以有一个,也可以是两个或多个;可提供的中继服务编码与其有效期时长,与所述可提供的中继服务名字为一一对应的关系。中继节点可以根据实际情况从可提供中继服务名字中选择一个或多个选用中继服务名字,提供其对应的中继服务,进而获得选用中继服务名字及其对应的选用中继服务编码。
步骤704、在所述选用中继服务编码的有效期时长内,广播所述选用中继服务编码以及分配的所述选用中继服务编码对应的地址。
中继节点会对每个选用中继服务编码进行广播,以使附近的远终端知晓本中继节点可以提供该每个选用中继服务编码对应的各种中继服务,同时还广播为每个选用中继服务编码一一分配的地址,以便于附近的远终端选择采用某个选用中继服务编码对应的中继服务时,通过该地址与该选用中继服务编码对应的中继节点进行通信,获得该地址对应的中继服务。
D2D网络中的中继节点在开启中继服务时,都可以进行步骤701至步骤704,获得中继节点的选用中继服务编码;并将选用中继服务编码以及分配的所述选用中继服务编码对应的地址广播出去,让周围的远终端能够监听到。
步骤705、远终端向远终端归属服务器发送中继服务编码监听请求消息;所述中继服务编码监听请求消息中包括远终端标识和远终端位置信息。
远终端注册到EPS之后,建立IP连接。远终端可以在任何时候决定进行步骤705以获得目标中继服务名字及其对应的目标中继服务编码,以便在移出无线覆盖的时候,能够采用目标中继服务编码对应的中继节点提供的中继服务继续接入网络。
远终端通过EPS向远终端归属服务器发送中继服务编码监听请求消息,请求该远终端归属服务器返回远终端周围可用的中继服务名字及其对应的可用的中继服务编码。
步骤706、远终端归属服务器接收所述中继服务编码监听请求消息,并在确定所述远终端标识对应的签约信息允许通过中继节点接入网络时,向中继节点归属服务器转发所述中继服务编码监听请求消息。
远终端在接入D2D网络时,远终端会在服务器的远终端归属服务器内设置好签约信息。远终端归属服务器接收到中继服务编码监听请求消息后,先确定所述远终端标识对应的签约信息是否允许通过中继节点接入网络,若确定所述远终端标识对应的签约信息允许通过中继节点接入网络,远终端归属服务器才会将所述中继服务编码监听请求消息转发给中继节点归属服务器。
具体转发过程有以下两种情况:
第一种情况,所述远终端归属服务器是第三方应用或者专用的授权机构中与远终端交互的装置,中继节点归属服务器是第三方应用或者专用的授权 机构中与中继节点交互的装置;所述远终端归属服务器和所述中继节点归属服务器构成了第三方应用或者专用的授权机构;此时,所述远终端归属服务器会直接将所述中继服务编码监听请求消息转发给中继节点归属服务器。
第二种情况,所述远终端归属服务器是远终端归属近距离通信服务器,中继节点归属服务器中继节点归属近距离通信服务器;此时所述中继服务编码监听请求消息中的远终端位置信息为远终端当前驻留的PLMN;所述远终端归属服务器(即远终端归属近距离通信服务器)会将所述中继服务编码监听请求消息转发给远终端当前驻留的PLMN下的中继节点归属近距离通信服务器。
在第二种情况下,所述中继服务编码监听请求消息中的远终端位置信息还可以为远终端当前驻留的PLMN以及远终端监听到的周围的PLMN;则所述远终端归属服务器(即远终端归属近距离通信服务器)会将所述中继服务编码监听请求消息转发给远终端当前驻留的PLMN下的中继节点归属近距离通信服务器,以及远终端监听到的周围的PLMN下的中继节点归属近距离通信服务器。
步骤707、中继节点归属服务器接收所述中继服务编码监听请求消息,并向所述远终端归属服务器发送中继服务编码监听响应消息。
中继节点归属服务器在步骤701和步骤702中已获得与所述中继节点归属服务器签约的中继节点可提供的中继服务名字和可提供的中继服务编码,则中继节点归属服务器接收所述中继服务编码监听请求消息后,就会查询这些中继节点可提供的中继服务名字和可提供的中继服务编码获得所述远终端可用的中继服务名字及其对应的可用的中继服务编码。可选地,若步骤702中所述中继节点归属服务器还为可提供的中继服务编码分配了有效期时长,则所述可用的中继服务编码还对应有效期时长。然后,所述中继节点归属服务器就会向所述远终端归属服务器发送中继服务编码监听响应消息,所述中继服务编码监听响应消息包括所述可用的中继服务名字及其对应的可用的中继服务编码,可选地,还包括所述可用的中继服务编码对应的有效期时长。
若所述中继节点归属服务器是第三方应用或者专用的授权机构中与中继节点交互的装置,则所述中继节点归属服务器会先根据所述远终端的位置信 息筛选出远终端周围可用的中继服务名字,进而获得所述可用的中继服务名字对应的可用的中继服务编码。若所述中继节点归属服务器是中继节点归属近距离通信服务器,则直接将远终端位置信息中PLMN下的中继节点归属近距离通信服务器获得其签约的中继节点可提供的中继服务名字作为远终端可用的中继服务名字,进而获得所述可用的中继服务名字对应的可用的中继服务编码。然后,每个中继节点归属近距离通信服务器就会向所述远终端归属服务器发送中继服务编码监听响应消息。
在所述远终端位置信息包括远终端当前驻留的PLMN时,所述中继服务编码监听响应消息中包括远终端当前驻留的PLMN下远终端可用的中继服务名字及其对应的可用的中继服务编码。在所述远终端位置信息包括远终端当前驻留的PLMN以及远终端监听到的周围PLMN时,所述中继服务编码监听响应消息包括每个PLMN以及每个PLMN下远终端可用的中继服务名字及其对应的可用的中继服务编码,可选地,还包括所述目标中继服务编码对应的有效期时长。
步骤708、远终端归属服务器接收所述中继服务编码监听响应消息,并将所述中继服务编码监听响应消息转发给所述远终端。
步骤709、远终端接收所述中继服务编码监听响应消息,从所述中继服务编码监听响应消息中获取用户选择的目标中继服务名字及其对应的目标中继服务编码。
远终端可以显示出所述中继服务编码监听响应消息中的可用的中继服务名字,用户从可用的中继服务名字中选择出目标中继服务名字,远终端就可以获取目标中继服务名字,进而就可以获得所述目标中继服务名字对应的目标中继服务编码。可选地,远终端还可以显示出可用的中继服务名字对应的PLMN,用户可以根据PLMN选择出目标中继服务名字。
远终端还可以显示出选择的目标中继服务名字,使用户看到远终端选择采用的中继服务名字,显示中继服务名字比显示64比特的中继服务编码更加方便,也更加适合用户查看。
步骤710、远终端在即将移出覆盖,或者已经移出覆盖的时候,开始监听广播的选用中继服务编码以及所述选用中继服务编码对应的地址。
远终端即将移出覆盖,或者远终端已经移出覆盖的时候,远终端需要通过中继节点接入网络进行通信,则开始监听广播中的选用中继服务编码。在步骤704中,中继节点会广播选用中继服务编码以及所述选用中继服务编码对应的地址,这样远终端在步骤710时就能够监听到广播的选用中继服务编码以及所述选用中继服务编码对应的地址。
步骤711、在所述目标中继服务编码的有效期时长内,监听到与所述目标中继服务编码一致的选用中继服务编码时,向所述一致的选用中继服务编码对应的地址发送通信请求。
在所述目标中继服务编码的有效期时长内,监听到与所述目标中继服务编码一致的选用中继服务编码时,表明在这个时间段内有中继节点提供所述目标中继服务编码对应的中继服务,此时远终端就会向所述一致的选用中继服务编码对应的地址发送通信请求,所述一致的选用中继服务编码对应的地址即为所述一致的选用中继服务编码对应的中继节点提供的中继服务的层二地址;远终端向该地址对应的中继节点发送通信请求,请求该中继节点为其提供该项中继服务,该中继节点同意为远终端提供该项中继服务后,所述远终端就与该中继节点建立了D2D连接,远终端就可以通过该中继节点接入网络。
在这里需要说明的是,本实施例方法还可以是步骤601至步骤604和步骤705至步骤711组合的方法流程,也可以是步骤701至步骤704和步骤605至步骤611组合的方法流程,具体步骤可以参考上述步骤流程,在此不再详述。
实施例三
本发明实施例还提供了一种远终端,如图8所示,所述远终端包括:第一发送单元801、第一接收单元802、第一处理单元803、监听单元804,其中,
第一发送单元801,设置为:发送中继服务编码监听请求消息,其中,所述中继服务编码监听请求消息中包括远终端标识和远终端位置信息;
第一接收单元802,设置为:接收中继服务编码监听响应消息;其中, 所述中继服务编码监听响应消息中包括远终端可用的中继服务名字及其对应的可用的中继服务编码;
第一处理单元803,设置为:从所述第一接收单元802接收到的所述中继服务编码监听响应消息中获取用户选择的目标中继服务名字及其对应的目标中继服务编码;
监听单元804,设置为:监听广播的选用中继服务编码以及所述选用中继服务编码对应的地址;
所述第一发送单元801,还设置为:在所述监听单元804监听到与所述第一处理单元803获取的所述目标中继服务编码一致的选用中继服务编码时,向所述一致的选用中继服务编码对应的地址发送通信请求。
可选地,所述中继服务编码监听请求消息中还包括用户选择的目标中继服务名字;所述中继服务编码监听响应消息中所述远终端可用的中继服务名字为目标中继服务名字,所述可用的中继服务编码为目标中继服务编码。
可选地,
所述中继服务编码监听响应消息中还包括所述中继服务编码监听响应消息中的中继服务编码对应的有效期时长;
所述第一发送单元801是设置为:在所述目标中继服务编码的有效期时长内,当所述监听单元804监听到与所述第一处理单元803获取的所述目标中继服务编码一致的选用中继服务编码时,向所述一致的选用中继服务编码对应的地址发送通信请求。
可选地,
所述远终端位置信息包括远终端当前驻留的PLMN,或者,所述远终端位置信息包括远终端当前驻留的PLMN以及远终端监听到的周围的PLMN;
在所述远终端位置信息包括远终端当前驻留的PLMN以及远终端监听到的周围的PLMN的情况下,所述中继服务编码监听响应消息中包括每个PLMN以及每个PLMN下远终端可用的中继服务名字及其对应的可用的中继服务编码。
本发明实施例还提供了一种远终端归属服务器,该远终端归属服务器可 以是第三方应用或者专用的授权机构中与远终端交互的装置;或者与远终端交互的远终端归属的近距离通信服务器,如图9所示,所述远终端归属服务器包括:第二接收单元901和第二发送单元902,其中,
第二接收单元901,设置为:接收中继服务编码监听请求消息,其中,所述中继服务编码监听请求消息中包括远终端标识以及远终端位置信息;
第二发送单元902,设置为:在确定所述第二接收单元901接收的远终端标识对应的签约信息允许通过中继节点接入网络时,转发所述中继服务编码监听请求消息;
所述第二接收单元901,还设置为:接收中继服务编码监听响应消息,其中,所述中继服务编码监听响应消息中包括所述远终端可用的中继服务名字及其对应的可用的中继服务编码,所述中继服务名字为可读字符串;
所述第二发送单元902,还设置为:转发所述中继服务编码监听响应消息。
可选地,所述中继服务编码监听请求消息中包括目标中继服务名字,所述中继服务编码监听响应消息中所述远终端可用的中继服务名字为目标中继服务名字,所述可用的中继服务编码为目标中继服务编码。
可选地,所述中继服务编码监听响应消息中还包括所述中继服务编码监听响应消息中的中继服务编码对应的有效期时长。
可选地,
所述远终端位置信息包括远终端当前驻留的PLMN,或者,所述远终端位置信息包括远终端当前驻留的PLMN以及远终端监听到的周围PLMN;
所述第二发送单元902是设置为:向所述远终端驻留的PLMN下的中继节点归属近距离通信服务器转发所述中继服务编码监听请求消息;或者,向所述远终端驻留的PLMN以及远终端监听到的周围PLMN下的中继节点归属近距离通信服务器转发所述中继服务编码监听请求消息;
在所述远终端位置信息包括远终端当前驻留的PLMN以及远终端监听到的周围的PLMN的情况下,所述中继服务编码监听响应消息中包括每个PLMN以及每个PLMN下远终端可用的中继服务名字及其对应的可用的中继 服务编码。
本发明实施例还提供了一种中继节点归属服务器,该中继节点归属服务器可以是第三方应用或者专用的授权机构中与中继节点交互的模块;或者与中继节点交互的中继节点归属的近距离通信服务器,如图10所示,所述中继节点归属服务器包括:第三接收单元1001、第二处理单元1002和第三发送单元1003,其中,
第三接收单元1001,设置为:接收中继服务编码分配请求消息,其中,所述中继服务编码分配请求消息中包括中继节点标识;
第二处理单元1002,设置为:在确定所述第三接收单元1001接收到的中继节点标识对应的签约信息允许提供中继服务时,获得所述中继节点标识对应的中继节点可提供的中继服务名字,为所述可提供的中继服务名字分配对应的可提供的中继服务编码,其中,所述中继服务名字为可读字符串;
第三发送单元1003,设置为:发送中继服务编码分配响应消息,其中,所述中继服务编码分配响应消息中包括所述可提供的中继服务名字以及第二处理单元1002分配的对应的可提供的中继服务编码;
所述第三接收单元1001,还设置为:接收中继服务编码监听请求消息,其中,所述中继服务编码监听请求消息中包括远终端标识和远终端位置信息;
所述第三发送单元1003,还设置为:发送中继服务编码监听响应消息,其中,所述中继服务编码监听响应消息中包括根据所述远终端位置信息获得的远终端可用的中继服务名字对应的中继服务编码。
可选地,所述中继服务编码分配请求消息中还包括中继节点标识对应的中继节点可提供的中继服务名字。
可选地,所述第二处理单元1002通过以下方式获得所述中继节点标识对应的中继节点可提供的中继服务名字:从所述中继节点标识对应的签约信息中获得所述中继节点标识对应的中继节点可提供的中继服务名字。
可选地,所述中继服务编码分配响应消息中还包括所述中继服务编码分配响应消息中的中继服务编码对应的有效期时长;所述中继服务编码监听响应消息中还包括所述中继服务编码监听响应消息中的中继服务编码对应的有 效期时长。
可选地,所述远终端位置信息包括远终端当前驻留的PLMN,或者,所述远终端位置信息包括远终端当前驻留的PLMN以及远终端监听到的周围PLMN;在所述远终端位置信息包括远终端当前驻留的PLMN以及远终端监听到的周围PLMN时,所述中继服务编码监听响应消息中包括每个PLMN以及每个PLMN下远终端可用的中继服务名字及其对应的可用的中继服务编码。
本发明实施例还提供了一种中继节点,如图11所示,所述中继节点包括:第四发送单元1101、第四接收单元1102、第三处理单元1103和广播单元1104,其中,
第四发送单元1101,设置为:发送中继服务编码分配请求消息,其中,所述中继服务编码分配请求消息中包括中继节点标识;
第四接收单元1102,设置为:接收中继服务编码分配响应消息,其中,所述中继服务编码分配响应消息包括可提供的中继服务名字及其对应的可提供的中继服务编码;
第三处理单元1103,设置为:从所述第四接收单元1102接收的中继服务编码分配响应消息中获得选用中继服务名字及其对应的选用中继服务编码;
广播单元1104,设置为:广播所述第三处理单元1103获得的所述选用中继服务编码以及分配的所述选用中继服务编码对应的地址。
可选地,所述中继服务编码分配请求消息中还包括选用中继服务名字;所述中继服务编码分配响应消息中可提供的中继服务名字为选用中继服务名字,所述可提供的中继服务编码为选用中继服务编码。
可选地,所述中继服务编码分配响应消息中还包括所述中继服务编码分配响应消息中的中继服务编码对应的有效期时长;所述广播单元1104是设置为:在所述选用中继服务编码的有效期时长内,广播所述选用中继服务编码以及分配的所述选用中继服务编码对应的地址。
在实际应用中,本实施例中的第一发送单元801、第一接收单元802、第 一处理单元803、监听单元804可以由远终端上的中央处理器(CPU)、微处理器(MPU)、数字信号处理器(DSP)或现场可编程门阵列(FPGA)等器件实现。第二接收单元901和第二发送单元902可以由第三方应用或者专用的授权机构或者由远终端归属的近距离通信服务器上的中央处理器(CPU)、微处理器(MPU)、数字信号处理器(DSP)或现场可编程门阵列(FPGA)等器件实现。第三接收单元1001、第二处理单元1002和第三发送单元1003可以由第三方应用或者专用的授权机构或者由中继节点归属的近距离通信服务器上的中央处理器(CPU)、微处理器(MPU)、数字信号处理器(DSP)或现场可编程门阵列(FPGA)等器件实现;第四发送单元1101、第四接收单元1102、第三处理单元1103和广播单元1104可以由中继节点上的中央处理器(CPU)、微处理器(MPU)、数字信号处理器(DSP)或现场可编程门阵列(FPGA)等器件实现。
本发明实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现应用于远终端的设备到设备网络中中继节点的选择方法。
本发明实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现应用于远终端归属服务器的设备到设备网络中中继节点的选择方法。
本发明实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现应用于中继节点归属服务器的设备到设备网络中中继节点的选择方法。
本发明实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现应用于中继节点的设备到设备网络中中继节点的选择方法。
本领域内的技术人员应明白,本发明实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本申请是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
以上所述,仅为本申请的较佳实施例而已,并非用于限定本申请的保护范围。
工业实用性
本发明实施例提供一种设备到设备网络中中继节点的选择方法及装置,在远终端选择中继节点提供的中继服务接入网络的过程中,采用了与中继服务编码一一对应的中继服务名字,所述中继服务名字为可读字符串;与相关技术中的64比特的中继服务编码相比,中继服务名字更适合远终端显示以及被用户查看选择。

Claims (32)

  1. 一种设备到设备网络中中继节点的选择方法,包括:
    发送中继服务编码监听请求消息,所述中继服务编码监听请求消息中包括远终端标识和远终端位置信息;
    接收中继服务编码监听响应消息;所述中继服务编码监听响应消息中包括远终端可用的中继服务名字及其对应的可用的中继服务编码,所述中继服务名字为可读字符串;
    从所述中继服务编码监听响应消息中获取用户选择的目标中继服务名字及其对应的目标中继服务编码;
    监听广播的选用中继服务编码以及所述选用中继服务编码对应的地址;并在监听到与所述目标中继服务编码一致的选用中继服务编码时,向所述一致的选用中继服务编码对应的地址发送通信请求。
  2. 根据权利要求1所述的方法,其中,所述中继服务编码监听请求消息中还包括用户选择的目标中继服务名字;所述中继服务编码监听响应消息中所述远终端可用的中继服务名字为目标中继服务名字,所述可用的中继服务编码为目标中继服务编码。
  3. 根据权利要求1所述的方法,其中,所述中继服务编码监听响应消息中还包括所述中继服务编码监听响应消息中的中继服务编码对应的有效期时长;所述在监听到与所述目标中继服务编码一致的选用中继服务编码时,向所述一致的选用中继服务编码对应的地址发送通信请求,包括:
    在所述目标中继服务编码的有效期时长内,监听到与所述目标中继服务编码一致的选用中继服务编码时,向所述一致的选用中继服务编码对应的地址发送通信请求。
  4. 根据权利要求1所述的方法,其中,
    所述远终端位置信息包括远终端当前驻留的公共陆地移动网络PLMN,或者,所述远终端位置信息包括远终端当前驻留的PLMN以及远终端监听到的周围的PLMN;
    在所述远终端位置信息包括远终端当前驻留的PLMN以及远终端监听到 的周围的PLMN的情况下,所述中继服务编码监听响应消息中包括每个PLMN以及每个PLMN下远终端可用的中继服务名字及其对应的可用的中继服务编码。
  5. 一种设备到设备网络中中继节点的选择方法,包括:
    接收中继服务编码监听请求消息,所述中继服务编码监听请求消息中包括远终端标识以及远终端位置信息;
    在确定所述远终端标识对应的签约信息允许通过中继节点接入网络时,转发所述中继服务编码监听请求消息;
    接收并转发中继服务编码监听响应消息,所述中继服务编码监听响应消息中包括所述远终端可用的中继服务名字及其对应的可用的中继服务编码,所述中继服务名字为可读字符串。
  6. 根据权利要求5所述的方法,其中,所述中继服务编码监听请求消息中包括目标中继服务名字,所述中继服务编码监听响应消息中所述远终端可用的中继服务名字为目标中继服务名字,所述可用的中继服务编码为目标中继服务编码。
  7. 根据权利要求5所述的方法,其中,所述中继服务编码监听响应消息中还包括所述中继服务编码监听响应消息中的中继服务编码对应的有效期时长。
  8. 根据权利要求5所述的方法,其中,
    所述远终端位置信息包括远终端当前驻留的公共陆地移动网络PLMN,或者,所述远终端位置信息包括远终端当前驻留的PLMN以及远终端监听到的周围PLMN;
    所述转发所述中继服务编码监听请求消息,包括:
    向所述远终端驻留的PLMN下的中继节点归属近距离通信服务器转发所述中继服务编码监听请求消息;
    或者,
    向所述远终端驻留的PLMN以及远终端监听到的周围PLMN下的中继节点归属近距离通信服务器转发所述中继服务编码监听请求消息;
    在所述远终端位置信息包括远终端当前驻留的PLMN以及远终端监听到的周围的PLMN的情况下,所述中继服务编码监听响应消息中包括每个PLMN以及每个PLMN下远终端可用的中继服务名字及其对应的可用的中继服务编码。
  9. 一种设备到设备网络中中继节点的选择方法,包括:
    接收中继服务编码分配请求消息,所述中继服务编码分配请求消息中包括中继节点标识;
    在确定所述中继节点标识对应的签约信息允许提供中继服务时,获得所述中继节点标识对应的中继节点可提供的中继服务名字,为所述可提供的中继服务名字分配对应的可提供的中继服务编码,并发送中继服务编码分配响应消息,所述中继服务编码分配响应消息中包括所述可提供的中继服务名字及其对应的可提供的中继服务编码,所述中继服务名字为可读字符串;
    接收中继服务编码监听请求消息,所述中继服务编码监听请求消息中包括远终端标识和远终端位置信息;
    发送中继服务编码监听响应消息,所述中继服务编码监听响应消息中包括根据所述远终端位置信息获得的远终端可用的中继服务名字对应的中继服务编码。
  10. 根据权利要求9所述的方法,其中,所述中继服务编码分配请求消息中还包括中继节点标识对应的中继节点可提供的中继服务名字。
  11. 根据权利要求9所述的方法,其中,所述获得所述中继节点标识对应的中继节点可提供的中继服务名字,包括:
    从所述中继节点标识对应的签约信息中获得所述中继节点标识对应的中继节点可提供的中继服务名字。
  12. 根据权利要求9所述的方法,其中,所述中继服务编码分配响应消息中还包括所述中继服务编码分配响应消息中的中继服务编码对应的有效期时长;所述中继服务编码监听响应消息中还包括所述中继服务编码监听响应消息中的中继服务编码对应的有效期时长。
  13. 根据权利要求9所述的方法,其中,所述远终端位置信息包括远终 端当前驻留的公共陆地移动网络PLMN,或者,所述远终端位置信息包括远终端当前驻留的PLMN以及远终端监听到的周围PLMN;在所述远终端位置信息包括远终端当前驻留的PLMN以及远终端监听到的周围PLMN时,所述中继服务编码监听响应消息中包括每个PLMN以及每个PLMN下远终端可用的中继服务名字及其对应的可用的中继服务编码。
  14. 一种设备到设备网络中中继节点的选择方法,包括:
    发送中继服务编码分配请求消息,所述中继服务编码分配请求消息中包括中继节点标识;
    接收中继服务编码分配响应消息,所述中继服务编码分配响应消息包括可提供的中继服务名字及其对应的可提供的中继服务编码,所述中继服务名字为可读字符串;
    从所述中继服务编码分配响应消息中获得选用中继服务名字及其对应的选用中继服务编码;
    广播所述选用中继服务编码以及分配的所述选用中继服务编码对应的地址。
  15. 根据权利要求14所述的方法,其中,所述中继服务编码分配请求消息中还包括选用中继服务名字;所述中继服务编码分配响应消息中可提供的中继服务名字为选用中继服务名字,所述可提供的中继服务编码为选用中继服务编码。
  16. 根据权利要求14所述的方法,其中,所述中继服务编码分配响应消息中还包括所述中继服务编码分配响应消息中的中继服务编码对应的有效期时长;所述广播所述选用中继服务编码以及分配的所述选用中继服务编码对应的地址,包括:在所述选用中继服务编码的有效期时长内,广播所述选用中继服务编码以及分配的所述选用中继服务编码对应的地址。
  17. 一种远终端,包括:
    第一发送单元,设置为:发送中继服务编码监听请求消息,其中,所述中继服务编码监听请求消息中包括远终端标识和远终端位置信息;
    第一接收单元,设置为:接收中继服务编码监听响应消息;其中,所述 中继服务编码监听响应消息中包括远终端可用的中继服务名字及其对应的可用的中继服务编码,所述中继服务名字为可读字符串;
    第一处理单元,设置为:从所述第一接收单元接收到的所述中继服务编码监听响应消息中获取用户选择的目标中继服务名字及其对应的目标中继服务编码;
    监听单元,设置为:监听广播的选用中继服务编码以及所述选用中继服务编码对应的地址;
    所述第一发送单元,还设置为:在所述监听单元监听到与所述第一处理单元获取的所述目标中继服务编码一致的选用中继服务编码时,向所述一致的选用中继服务编码对应的地址发送通信请求。
  18. 根据权利要求17所述的远终端,其中,所述中继服务编码监听请求消息中还包括用户选择的目标中继服务名字;所述中继服务编码监听响应消息中所述远终端可用的中继服务名字为目标中继服务名字,所述可用的中继服务编码为目标中继服务编码。
  19. 根据权利要求17所述的远终端,其中,
    所述中继服务编码监听响应消息中还包括所述中继服务编码监听响应消息中的中继服务编码对应的有效期时长;
    所述第一发送单元是设置为:在所述目标中继服务编码的有效期时长内,当所述监听单元监听到与所述第一处理单元获取的所述目标中继服务编码一致的选用中继服务编码时,向所述一致的选用中继服务编码对应的地址发送通信请求。
  20. 根据权利要求17所述的远终端,其中,
    所述远终端位置信息包括远终端当前驻留的公共陆地移动网络PLMN,或者,所述远终端位置信息包括远终端当前驻留的PLMN以及远终端监听到的周围的PLMN;
    在所述远终端位置信息包括远终端当前驻留的PLMN以及远终端监听到的周围的PLMN的情况下,所述中继服务编码监听响应消息中包括每个PLMN以及每个PLMN下远终端可用的中继服务名字及其对应的可用的中继 服务编码。
  21. 一种远终端归属服务器,包括:
    第二接收单元,设置为:接收中继服务编码监听请求消息,其中,所述中继服务编码监听请求消息中包括远终端标识以及远终端位置信息;
    第二发送单元,设置为:在确定所述第二接收单元接收的远终端标识对应的签约信息允许通过中继节点接入网络时,转发所述中继服务编码监听请求消息;
    所述第二接收单元,还设置为:接收中继服务编码监听响应消息,其中,所述中继服务编码监听响应消息中包括所述远终端可用的中继服务名字及其对应的可用的中继服务编码,所述中继服务名字为可读字符串;
    所述第二发送单元,还设置为:转发所述中继服务编码监听响应消息。
  22. 根据权利要求21所述的远终端归属服务器,其中,所述中继服务编码监听请求消息中包括目标中继服务名字,所述中继服务编码监听响应消息中所述远终端可用的中继服务名字为目标中继服务名字,所述可用的中继服务编码为目标中继服务编码。
  23. 根据权利要求21所述的远终端归属服务器,其中,所述中继服务编码监听响应消息中还包括所述中继服务编码监听响应消息中的中继服务编码对应的有效期时长。
  24. 根据权利要求21所述的远终端归属服务器,其中,
    所述远终端位置信息包括远终端当前驻留的公共陆地移动网络PLMN,或者,所述远终端位置信息包括远终端当前驻留的PLMN以及远终端监听到的周围PLMN;
    所述第二发送单元是设置为:向所述远终端驻留的PLMN下的中继节点归属近距离通信服务器转发所述中继服务编码监听请求消息;或者,向所述远终端驻留的PLMN以及远终端监听到的周围PLMN下的中继节点归属近距离通信服务器转发所述中继服务编码监听请求消息;
    在所述远终端位置信息包括远终端当前驻留的PLMN以及远终端监听到的周围的PLMN的情况下,所述中继服务编码监听响应消息中包括每个 PLMN以及每个PLMN下远终端可用的中继服务名字及其对应的可用的中继服务编码。
  25. 一种中继节点归属服务器,包括:
    第三接收单元,设置为:接收中继服务编码分配请求消息,其中,所述中继服务编码分配请求消息中包括中继节点标识;
    第二处理单元,设置为:在确定所述第三接收单元接收到的中继节点标识对应的签约信息允许提供中继服务时,获得所述中继节点标识对应的中继节点可提供的中继服务名字,为所述可提供的中继服务名字分配对应的可提供的中继服务编码,其中,所述中继服务名字为可读字符串;
    第三发送单元,设置为:发送中继服务编码分配响应消息,其中,所述中继服务编码分配响应消息中包括所述可提供的中继服务名字及其对应的可提供的中继服务编码;
    所述第三接收单元,还设置为:接收中继服务编码监听请求消息,其中,所述中继服务编码监听请求消息中包括远终端标识和远终端位置信息;
    所述第三发送单元,还设置为:发送中继服务编码监听响应消息,其中,所述中继服务编码监听响应消息中包括根据所述远终端位置信息获得的远终端可用的中继服务名字对应的中继服务编码。
  26. 根据权利要求25所述的中继节点归属服务器,其中,所述中继服务编码分配请求消息中还包括中继节点标识对应的中继节点可提供的中继服务名字。
  27. 根据权利要求25所述的中继节点归属服务器,其中,所述第二处理单元通过以下方式获得所述中继节点标识对应的中继节点可提供的中继服务名字:从所述中继节点标识对应的签约信息中获得所述中继节点标识对应的中继节点可提供的中继服务名字。
  28. 根据权利要求25所述的中继节点归属服务器,其中,所述中继服务编码分配响应消息中还包括所述中继服务编码分配响应消息中的中继服务编码对应的有效期时长;所述中继服务编码监听响应消息中还包括所述中继服务编码监听响应消息中的中继服务编码对应的有效期时长。
  29. 根据权利要求25所述的中继节点归属服务器,其中,
    所述远终端位置信息包括远终端当前驻留的公共陆地移动网络PLMN,或者,所述远终端位置信息包括远终端当前驻留的PLMN以及远终端监听到的周围PLMN;
    在所述远终端位置信息包括远终端当前驻留的PLMN以及远终端监听到的周围PLMN时,所述中继服务编码监听响应消息中包括每个PLMN以及每个PLMN下远终端可用的中继服务名字及其对应的可用的中继服务编码。
  30. 一种中继节点,包括:
    第四发送单元,设置为:发送中继服务编码分配请求消息,其中,所述中继服务编码分配请求消息中包括中继节点标识;
    第四接收单元,设置为:接收中继服务编码分配响应消息,其中,所述中继服务编码分配响应消息包括可提供的中继服务名字及其对应的可提供的中继服务编码,所述中继服务名字为可读字符串;
    第三处理单元,设置为:从所述第四接收单元接收的中继服务编码分配响应消息中获得选用中继服务名字及其对应的选用中继服务编码;
    广播单元,设置为:广播所述第三处理单元获得的所述选用中继服务编码以及分配的所述选用中继服务编码对应的地址。
  31. 根据权利要求30所述的中继节点,其中,所述中继服务编码分配请求消息中还包括选用中继服务名字;所述中继服务编码分配响应消息中可提供的中继服务名字为选用中继服务名字,所述可提供的中继服务编码为选用中继服务编码。
  32. 根据权利要求30所述的中继节点,其中,所述中继服务编码分配响应消息中还包括所述中继服务编码分配响应消息中的中继服务编码对应的有效期时长;所述广播单元是设置为:在所述选用中继服务编码的有效期时长内,广播所述选用中继服务编码以及分配的所述选用中继服务编码对应的地址。
PCT/CN2016/078725 2015-08-13 2016-04-07 一种设备到设备网络中中继节点的选择方法及装置 WO2016180117A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510495965.7A CN106454993B (zh) 2015-08-13 2015-08-13 一种设备到设备网络中中继节点的选择方法及装置
CN201510495965.7 2015-08-13

Publications (1)

Publication Number Publication Date
WO2016180117A1 true WO2016180117A1 (zh) 2016-11-17

Family

ID=57248782

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/078725 WO2016180117A1 (zh) 2015-08-13 2016-04-07 一种设备到设备网络中中继节点的选择方法及装置

Country Status (2)

Country Link
CN (1) CN106454993B (zh)
WO (1) WO2016180117A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022095703A1 (zh) * 2020-11-05 2022-05-12 华为技术有限公司 一种通信方法及装置

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112911583A (zh) 2017-07-11 2021-06-04 华为技术有限公司 设备接入方法、设备及系统
CN110139337A (zh) 2018-02-09 2019-08-16 电信科学技术研究院有限公司 一种中继节点的选择方法及设备
CN113271134B (zh) * 2020-02-17 2023-07-25 北京紫光展锐通信技术有限公司 Ue的中继通信方法及相关产品
CN113518319B (zh) * 2020-04-09 2023-03-17 华为技术有限公司 一种临近服务的业务处理方法、设备及系统

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010026287A1 (en) * 2008-09-08 2010-03-11 Nokia Corporation Adaptive transmission modes for transparent relay
CN101888326A (zh) * 2009-05-15 2010-11-17 华为技术有限公司 业务连接建立方法、路径计算单元设备及网络系统
CN103634812A (zh) * 2013-11-27 2014-03-12 西安电子科技大学 一种基于用户设备中继同小区设备到设备直传通信的方法
CN104283602A (zh) * 2013-07-09 2015-01-14 中兴通讯股份有限公司 集群中继方法、装置及系统
EP2833694A2 (en) * 2013-07-29 2015-02-04 HTC Corporation Method of relay discovery and communication in a wireless communications system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010026287A1 (en) * 2008-09-08 2010-03-11 Nokia Corporation Adaptive transmission modes for transparent relay
CN101888326A (zh) * 2009-05-15 2010-11-17 华为技术有限公司 业务连接建立方法、路径计算单元设备及网络系统
CN104283602A (zh) * 2013-07-09 2015-01-14 中兴通讯股份有限公司 集群中继方法、装置及系统
EP2833694A2 (en) * 2013-07-29 2015-02-04 HTC Corporation Method of relay discovery and communication in a wireless communications system
CN103634812A (zh) * 2013-11-27 2014-03-12 西安电子科技大学 一种基于用户设备中继同小区设备到设备直传通信的方法

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022095703A1 (zh) * 2020-11-05 2022-05-12 华为技术有限公司 一种通信方法及装置

Also Published As

Publication number Publication date
CN106454993A (zh) 2017-02-22
CN106454993B (zh) 2020-06-09

Similar Documents

Publication Publication Date Title
JP6671752B2 (ja) ネットワークスライス選択方法および装置
WO2016180117A1 (zh) 一种设备到设备网络中中继节点的选择方法及装置
CN101873582B (zh) 一种ip地址分配方法及系统
EP2768272B1 (en) Methods and apparatuses for device to device communication
EP3476100B1 (en) Selection of ip version
TWI516160B (zh) An implementation method and device for an adjacent communication service
CN103096290A (zh) 建立设备到设备连接的方法、装置和系统
EP3128773B1 (en) Processing method and apparatus for d2d discovery
JP2017528074A5 (zh)
KR102112610B1 (ko) 장치 간 통신 방법 및 장치
WO2014169786A1 (zh) 一种用户设备间的发现方法、系统及装置
WO2016000395A1 (zh) D2d业务的授权方法及装置、归属近距离通信服务器
US9713176B2 (en) Telecommunication method and telecommunication system
WO2011020435A1 (zh) M2m应用服务器下发数据包的方法及系统
WO2016112674A1 (zh) 一种实现通信的方法、终端、系统及计算机存储介质
WO2014015694A1 (zh) 申请频谱的方法、装置及系统
EP3182762B1 (en) Near field communication discovery method, apparatus and system
WO2014107902A1 (zh) 用户设备的注册方法、近距离业务服务器和移动管理实体
WO2015154426A1 (zh) ProSe临时标识的通知与更新方法和装置
WO2016050034A1 (zh) 组寻址处理方法、装置、mtc互通网关及api gw
WO2015135269A1 (zh) 业务发现及鉴权方法、设备、终端、系统及计算机存储介质
WO2015135278A1 (zh) 一种鉴权认证方法和系统、ProSe功能实体以及UE
WO2015165224A1 (zh) 授权处理方法、装置、近距离服务器、及归属用户服务器
WO2016112678A1 (zh) 数据处理方法及装置
WO2017000591A1 (zh) 一种信息发送的方法和终端

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

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

Country of ref document: EP

Kind code of ref document: A1