CN106454993B - Method and device for selecting relay node in device-to-device network - Google Patents

Method and device for selecting relay node in device-to-device network Download PDF

Info

Publication number
CN106454993B
CN106454993B CN201510495965.7A CN201510495965A CN106454993B CN 106454993 B CN106454993 B CN 106454993B CN 201510495965 A CN201510495965 A CN 201510495965A CN 106454993 B CN106454993 B CN 106454993B
Authority
CN
China
Prior art keywords
relay service
service code
relay
remote terminal
response message
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201510495965.7A
Other languages
Chinese (zh)
Other versions
CN106454993A (en
Inventor
朱进国
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201510495965.7A priority Critical patent/CN106454993B/en
Priority to PCT/CN2016/078725 priority patent/WO2016180117A1/en
Publication of CN106454993A publication Critical patent/CN106454993A/en
Application granted granted Critical
Publication of CN106454993B publication Critical patent/CN106454993B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Abstract

The embodiment of the invention discloses a method for selecting a relay node in a device-to-device network, which comprises the following steps: sending a relay service code monitoring request message comprising a remote terminal identifier and remote terminal position information, and receiving a relay service code monitoring response message comprising a relay service name available to a remote terminal and an available relay service code corresponding to the relay service name, wherein the relay service name is a readable character string; acquiring a target relay service name selected by a user and a target relay service code corresponding to the target relay service name from the relay service code monitoring response message; monitoring the selected relay service code of the broadcast and the address corresponding to the selected relay service code; and when monitoring the selected relay service code consistent with the target relay service code, sending a communication request to an address corresponding to the consistent selected relay service code. The embodiment of the invention discloses a device for selecting a relay node in a device-to-device network.

Description

Method and device for selecting relay node in device-to-device network
Technical Field
The present invention relates to device-to-device communication technologies, and in particular, to a method and an apparatus for selecting a relay node in a device-to-device network.
Background
Terminals in a nearby area can bring many benefits to the terminals by using Device-to-Device (D2D for short) direct communication, such as higher speed, lower delay and less power consumption, and also greatly improve radio resource efficiency of an operator, and a Relay (Relay) mode of D2D is beneficial to the operator to improve radio coverage; public Safety (Public Safety) systems may also utilize D2D technology to enable communication between terminals without wireless coverage.
Fig. 1 is a schematic diagram of a D2D network architecture related to the third generation partnership Project (3 GPP) in the related art, and the functions of the key network elements are described as follows:
and the Remote terminal (Remote UE) is in a wireless coverage range and is accessed to the network through the Relay node (Relay UE). The remote terminal and the relay node communicate directly with each other via interface 3 in the D2D network.
And the relay node is positioned in a wireless coverage range and can access the network. Meanwhile, the terminal also provides an access function for the far terminal, so that the far terminal is accessed to the network through the relay node. The relay node provides the functions of allocating IP addresses and IP routing for the remote terminal.
An Evolved Packet System (EPS) includes a radio access Network Evolved base station (eNodeB), a core Network Mobility Management Entity (MME), a Serving Gateway (SGW), and a Packet Data Gateway (PGW), and provides an access channel for a relay node.
The near field communication server (ProSe Function) mainly provides service authorization for D2D communication, allocates temporary identifiers, and assists D2D discovery and charging. At present, only one short-range communication server is deployed in a Public Land Mobile Network (PLMN), and in consideration of roaming conditions, the short-range communication server of a relay node and the short-range communication server of a far terminal may be different. The terminal interacts with the near field communication server through an interface 1, namely as shown in fig. 1, the relay node interacts with the near field communication server through the interface 1; the far terminal interacts with the near field communication server of the far terminal through the interface 1.
The third party application or the authorization mechanism mainly provides application layer services, such as a public safety server and the like, for the terminal, namely the remote end and the relay node. As shown in fig. 1, a third party application or authority interacts with the near field communication server through an interface 2 and interacts with a relay node or a far terminal through an interface 4.
In a D2D network, there may be multiple relay nodes, and each relay node provides different access services, so how to select a suitable relay node is a key issue for a remote terminal. The current technology is mainly that a relay node broadcasts a 64-bit relay service code, and a remote terminal selects a proper relay node according to the relay service code, however, the relay service code is a binary string and cannot represent a specific meaning, so that the relay service code is not suitable for display and selection of the remote terminal.
Disclosure of Invention
In view of this, embodiments of the present invention are intended to provide a method and an apparatus for selecting a relay node in a device-to-device network, which apply a relay service name corresponding to a relay service code one to one, and facilitate display and selection of a remote terminal.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
a method of selecting a relay node in a device-to-device network, the method comprising:
sending a relay service code monitoring request message, wherein the relay service code monitoring request message comprises a far terminal identifier and far terminal position information;
receiving a relay service coding monitoring response message; the relay service code monitoring response message comprises available relay service names of remote terminals and available relay service codes corresponding to the available relay service names, wherein the relay service names are readable character strings;
acquiring a target relay service name selected by a user and a target relay service code corresponding to the target relay service name from the relay service code monitoring response message;
monitoring a selected relay service code of a broadcast and an address corresponding to the selected relay service code; and when monitoring the selected relay service code consistent with the target relay service code, sending a communication request to an address corresponding to the consistent selected relay service code.
In the above scheme, the relay service code monitoring request message further includes a target relay service name selected by the user; the available relay service name of the remote terminal in the relay service code monitoring response message is a target relay service name, and the available relay service code is a target relay service code.
In the above scheme, the relay service code monitoring response message further includes an effective period duration corresponding to the relay service code in the relay service code monitoring response message; then, when the optional relay service code consistent with the target relay service code is monitored, the sending a communication request to an address corresponding to the consistent optional relay service code includes:
and when monitoring the selected relay service code consistent with the target relay service code in the valid period of the target relay service code, sending a communication request to an address corresponding to the consistent selected relay service code.
In the above solution, the location information includes a public land mobile network PLMN where the remote terminal currently resides, or the location information of the remote terminal includes the PLMN where the remote terminal currently resides and a peripheral PLMN monitored by the remote terminal;
and under the condition that the remote terminal position information comprises the PLMN where the remote terminal currently resides and the surrounding PLMNs monitored by the remote terminal, the relay service code monitoring response message comprises the PLMNs, the relay service names available to the remote terminal under the PLMNs and the available relay service codes corresponding to the relay service names.
A method of selecting a relay node in a device-to-device network, the method comprising:
receiving a relay service code monitoring request message, wherein the relay service code monitoring request message comprises a remote terminal identifier and remote terminal position information;
when the subscription information corresponding to the remote terminal identification is determined to allow the network to be accessed through the relay node, the relay service coding monitoring request message is forwarded;
and receiving and forwarding a relay service code monitoring response message, wherein the relay service code monitoring response message comprises available relay service names of the remote terminal and available relay service codes corresponding to the available relay service names, and the relay service names are readable character strings.
In the above scheme, if the relay service code monitoring request message includes a target relay service name, the relay service name available to the remote terminal in the relay service code monitoring response message is the target relay service name, and the available relay service code is the target relay service code.
In the above scheme, the relay service code monitoring response message further includes an effective period duration corresponding to the relay service code in the relay service code monitoring response message.
In the above scheme, the remote terminal location information includes a PLMN where the remote terminal currently resides, or the remote terminal location information includes the currently residing PLMN and surrounding PLMNs that the remote terminal monitors;
then, the forwarding the relay service coding interception request message includes:
forwarding the relay service code monitoring request message to a relay node home near field communication server under a PLMN where the remote terminal resides;
alternatively, the first and second electrodes may be,
forwarding the relay service code monitoring request message to a PLMN where the remote terminal resides and a relay node home near field communication server under the surrounding PLMN monitored by the remote terminal;
and under the condition that the remote terminal position information comprises the PLMN where the remote terminal currently resides and the surrounding PLMNs monitored by the remote terminal, the relay service code monitoring response message comprises the PLMNs, the relay service names available to the remote terminal under the PLMNs and the available relay service codes corresponding to the relay service names.
A method of selecting a relay node in a device-to-device network, the method comprising:
receiving a relay service code allocation request message, wherein the relay service code allocation request message comprises a relay node identifier;
when it is determined that subscription information corresponding to the relay node identifier allows providing of relay service, obtaining a relay service name that can be provided by a relay node corresponding to the relay node identifier, allocating a corresponding relay service code to the relay service name that can be provided, and sending a relay service code allocation response message, where the relay service code allocation response message includes the relay service name that can be provided and the relay service code that can be provided corresponding to the relay service name, and the relay service name is a readable character string;
receiving a relay service code monitoring request message, wherein the relay service code monitoring request message comprises a remote terminal identifier and remote terminal position information;
and sending a relay service code monitoring response message, wherein the relay service code monitoring response message comprises a relay service code corresponding to a relay service name available to the remote terminal, which is obtained according to the remote terminal position information.
In the above scheme, 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.
In the foregoing solution, the obtaining a name of a relay service that can be provided by a relay node corresponding to the relay node identifier includes:
and obtaining the name of the relay service which can be provided by the relay node corresponding to the relay node identification from the subscription information corresponding to the relay node identification.
In the above scheme, the relay service code allocation response message further includes an expiration time corresponding to the relay service code in the relay service code allocation response message; the relay service code monitoring response message further includes an effective period duration corresponding to the relay service code in the relay service code monitoring response message.
In the above scheme, the remote terminal location information includes a public land mobile network PLMN where the remote terminal currently resides, or the remote terminal location information includes the currently residing PLMN and surrounding PLMNs that the remote terminal monitors;
then, when the remote terminal location information includes the currently camped PLMN and the peripheral PLMNs monitored by the remote terminal, the relay service code monitoring response message includes the PLMNs, the available relay service names of the remote terminals under the PLMNs, and the available relay service codes corresponding to the available relay service names.
A method of selecting a relay node in a device-to-device network, the method comprising:
sending a relay service code allocation request message, wherein the relay service code allocation request message comprises a relay node identifier;
receiving a relay service code allocation response message, wherein the relay service code allocation response message comprises an available relay service name and an available relay service code corresponding to the available relay service name, and the relay service name is a readable character string;
obtaining the name of the selected relay service and the selected relay service code corresponding to the name from the relay service code distribution response message;
broadcasting the selected relay service code and the address corresponding to the allocated selected relay service code.
In the above scheme, the relay service code allocation request message further includes a name of a selected relay service; then, the available relay service name in the relay service code assignment response message is the selected relay service name, and the available relay service code is the selected relay service code.
In the foregoing solution, if the relay service code allocation response message further includes an effective period duration corresponding to a relay service code in the relay service code allocation response message, the broadcasting the selected relay service code and the allocated address corresponding to the selected relay service code includes:
broadcasting the selected relay service code and the address corresponding to the selected relay service code within the effective period duration of the selected relay service code.
A remote terminal, the remote terminal comprising:
a first sending unit, configured to send a relay service code monitoring request message, where the relay service code monitoring request message includes a remote terminal identifier and remote terminal location information;
a first receiving unit, configured to receive a relay service coding monitoring response message; the relay service code monitoring response message comprises available relay service names of remote terminals and available relay service codes corresponding to the available relay service names, wherein the relay service names are readable character strings;
the first processing unit is used for acquiring a target relay service name selected by a user and a target relay service code corresponding to the target relay service name from the relay service code monitoring response message received by the first receiving unit;
the first monitoring unit is used for monitoring a selected relay service code of a broadcast and an address corresponding to the selected relay service code;
the first sending unit is further configured to send a communication request to an address corresponding to the consistent selected relay service code when the first monitoring unit monitors the selected relay service code consistent with the target relay service code acquired by the first processing unit.
In the above scheme, the relay service code monitoring request message further includes a target relay service name selected by the user; the available relay service name of the remote terminal in the relay service code monitoring response message is a target relay service name, and the available relay service code is a target relay service code.
In the above scheme, the relay service code monitoring response message further includes an effective period duration corresponding to the relay service code in the relay service code monitoring response message;
the first sending unit is specifically configured to, when the first monitoring unit monitors a selected relay service code that is consistent with the target relay service code acquired by the first processing unit within the validity period of the target relay service code, send a communication request to an address corresponding to the consistent selected relay service code.
In the above solution, the location information includes a public land mobile network PLMN where the remote terminal currently resides, or the location information of the remote terminal includes the PLMN where the remote terminal currently resides and a peripheral PLMN monitored by the remote terminal;
and under the condition that the remote terminal position information comprises the PLMN where the remote terminal currently resides and the surrounding PLMNs monitored by the remote terminal, the relay service code monitoring response message comprises the PLMNs, the relay service names available to the remote terminal under the PLMNs and the available relay service codes corresponding to the relay service names.
A remote terminal home server, the remote terminal home server comprising:
a second receiving unit, configured to receive a relay service coding monitoring request message, where the relay service coding monitoring request message includes a remote terminal identifier and remote terminal location information;
a second sending unit, configured to forward the relay service coding monitoring request message when it is determined that the subscription information corresponding to the remote terminal identifier received by the second receiving unit allows access to the network through the relay node;
a second receiving unit, further configured to receive a relay service code monitoring response message, where the relay service code monitoring response message includes a relay service name available to the remote terminal and an available relay service code corresponding to the relay service name, and the relay service name is a readable character string;
the second sending unit is further configured to forward the relay service coding listening response message.
In the above scheme, if the relay service code monitoring request message includes a target relay service name, the relay service name available to the remote terminal in the relay service code monitoring response message is the target relay service name, and the available relay service code is the target relay service code.
In the above scheme, the relay service code monitoring response message further includes an effective period duration corresponding to the relay service code in the relay service code monitoring response message.
In the above scheme, the remote terminal location information includes a public land mobile network PLMN where the remote terminal currently resides, or the remote terminal location information includes the currently residing PLMN and surrounding PLMNs that the remote terminal monitors; then the process of the first step is carried out,
the second sending unit is configured to forward the relay service coding monitoring request message to a relay node home near field communication server under a PLMN where the remote terminal resides; or, forwarding the relay service code monitoring request message to a PLMN where the remote terminal resides and a relay node home proximity communication server under a peripheral PLMN monitored by the remote terminal;
and under the condition that the remote terminal position information comprises the PLMN where the remote terminal currently resides and the surrounding PLMNs monitored by the remote terminal, the relay service code monitoring response message comprises the PLMNs, the relay service names available to the remote terminal under the PLMNs and the available relay service codes corresponding to the relay service names.
A relay node home server, the relay node home server comprising:
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 subscription information corresponding to the relay node identifier received by the third receiving unit allows providing of a relay service, obtain a relay service name that can be provided by the relay node corresponding to the relay node identifier, and allocate a corresponding relay service code that can be provided to the relay service name that can be provided, where 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 an available relay service code corresponding to the available relay service name;
the third receiving unit is further configured to receive a relay service coding monitoring request message, where the relay service coding monitoring request message includes a remote terminal identifier and remote terminal location information;
the third sending unit is further configured to send a relay service code monitoring response message, where the relay service code monitoring response message includes a relay service code corresponding to a relay service name available to the remote terminal, which is obtained according to the remote terminal location information.
In the above scheme, 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.
In the foregoing solution, the second processing unit is specifically configured to obtain, from the subscription information corresponding to the relay node identifier, a relay service name that can be provided by the relay node corresponding to the relay node identifier.
In the above scheme, the relay service code allocation response message further includes an expiration time corresponding to the relay service code in the relay service code allocation response message; the relay service code monitoring response message further includes an effective period duration corresponding to the relay service code in the relay service code monitoring response message.
In the above scheme, the remote terminal location information includes a public land mobile network PLMN where the remote terminal currently resides, or the remote terminal location information includes the currently residing PLMN and surrounding PLMNs that the remote terminal monitors;
then, when the remote terminal location information includes the currently camped PLMN and the peripheral PLMNs monitored by the remote terminal, the relay service code monitoring response message includes the PLMNs, the available relay service names of the remote terminals under the PLMNs, and the available relay service codes corresponding to the available relay service names.
A relay node, the relay node comprising:
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 an available relay service name and an available relay service code corresponding to the available relay service name, and the relay service name is a readable character string;
a third processing unit, configured to obtain a selected relay service name and a selected relay service code corresponding to the selected relay service name from the relay service code allocation response message received by the fourth receiving unit;
a broadcasting unit, configured to broadcast the selected relay service code obtained by the third processing unit and the allocated address corresponding to the selected relay service code.
In the above scheme, the relay service code allocation request message further includes a name of a selected relay service; then, the available relay service name in the relay service code assignment response message is the selected relay service name, and the available relay service code is the selected relay service code.
In the above scheme, if the relay service code allocation response message further includes an expiration time corresponding to the relay service code in the relay service code allocation response message, then,
the broadcasting unit is specifically configured to broadcast the selected relay service code and the address corresponding to the allocated selected relay service code within the validity period of the selected relay service code.
The embodiment of the invention provides a method and a device for selecting a relay node in a device-to-device network, wherein in the process of selecting a relay service provided by the relay node to access a network by a remote terminal, the remote terminal adopts the relay service names which are in one-to-one correspondence with relay service codes, and the relay service names are readable character strings; the user can select the required target intermediate service name through the available relay service name displayed by the far terminal, and can also directly input the required target relay service name, compared with the relay service code with 64 bits in the prior art, the relay service name is more suitable for the display of the far terminal and the selection viewed by the user.
Drawings
FIG. 1 is a diagram of a D2D network architecture in the prior 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 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 side 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 side of a relay node home server 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 side according to embodiment 1 of the present invention;
fig. 6 is a flowchart illustrating 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 flowchart illustrating another method for selecting a relay node in a device-to-device network according to embodiment 2 of the present invention;
fig. 8 is a block diagram of a remote terminal according to embodiment 3 of the present invention;
fig. 9 is a block diagram of a remote terminal home server according to embodiment 3 of the present invention;
fig. 10 is a block diagram of a relay node home server according to embodiment 3 of the present invention;
fig. 11 is a block diagram of a relay node according to embodiment 3 of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
Example 1
An embodiment of the present invention provides a method for selecting a relay node in a device-to-device network, which is applied to a far terminal side, as shown in fig. 2, where a processing flow of the method of the present embodiment includes the following steps:
step 201, sending a relay service code monitoring request message, where the relay service code monitoring request message includes a far terminal identifier and far terminal position information.
And after the remote terminal is registered to the EPS, establishing the IP connection. The remote terminal may decide to perform step 201 at any time to obtain the target relay service code corresponding to the target relay service name, so that when moving out of the wireless coverage, the remote terminal can continue to access the network by using the relay service provided by the relay node corresponding to the target relay service code.
The remote terminal can send a relay service code monitoring request message to the server through the EPS so as to request the server to return the available relay service names of the remote terminal and the available relay service codes corresponding to the available relay service names. The relay service name is a readable character string, and may be, for example, a Session Initiation Protocol-Uniform resource Locator (SIP-URL) for identifying a service. The remote terminal identification in the relay service code monitoring request message is used for the server to carry out authorization verification on the remote terminal sending the request message, and the remote terminal position information is used for the server to screen available relay service names and available relay service codes corresponding to the available relay service names around the remote terminal position information.
Step 202, receiving a relay service coding monitoring response message; the relay service code monitoring response message comprises available relay service names of the remote terminal and available relay service codes corresponding to the available relay service names.
After receiving the relay service code monitoring request message, the server first determines whether the subscription information corresponding to the remote terminal identifier allows the access to the network through the relay node, and when determining that the subscription information corresponding to the remote terminal identifier allows the access to the network through the relay node, the server obtains the relay service name available to the remote terminal and the relay service code corresponding to the remote terminal according to the remote terminal position information, and sends a relay service code monitoring response message, where the relay service code monitoring response message includes: and the relay service code corresponding to the available relay service name of the remote terminal.
Step 203, obtaining the target relay service name selected by the user and the corresponding target relay service code from the relay service code monitoring response message.
The relay service name corresponding to each relay service in the D2D network is public, and the user selects which relay service name to input in the remote terminal, which relay service name is required. The relay service name may be selected by the user when the remote terminal displays a plurality of relay service name options, or may be directly input by the user in the remote terminal.
If the relay service code monitoring request message comprises a target relay service name selected by a user; the available relay service name of the remote terminal in the relay service code monitoring response message returned by the server is the target relay service name, and the available relay service code is the target relay service code. Thus, the remote terminal can obtain the target relay service code corresponding to the target relay service name selected by the user in the received relay service code monitoring response message.
If the relay service code monitoring request message does not include the target relay service name selected by the user; the relay service code interception response message returned by the server includes a plurality of available relay service names around the remote terminal location information and the available relay service codes corresponding to the available relay service names. At this time, the remote terminal may display the available relay service name in the relay service code monitoring response message, and the target relay service name selected by the user from the available relay service names, and after acquiring the target relay service name, the remote terminal may further acquire the target relay service code corresponding to the target relay service name.
The remote terminal can display the selected target relay service name, so that the user can see the relay service name selected by the remote terminal, and the relay service name is more convenient to display than the relay service code with 64 bits, and is more suitable for the user to view.
In the method provided by this embodiment, the relay service names corresponding to the relay service codes one to one are adopted, and the user can select a required target intermediate-level service name through the relay service name displayed by the remote terminal, or can directly input the target relay service name.
Step 204, monitoring a selected relay service code of a broadcast and an address corresponding to the selected relay service code; and when monitoring the selected relay service code consistent with the target relay service code, sending a communication request to an address corresponding to the consistent selected relay service code.
When the far terminal is about to move out of the network coverage or the far terminal has moved out of the network coverage, the far terminal determines that the far terminal needs to access the network through the relay node for communication, and then starts to monitor the selected relay service codes 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 monitor the broadcasted selected relay service code and the address corresponding to the selected relay service code.
The address corresponding to the consistent selected relay service code is a layer address of the relay service provided by the relay node corresponding to the consistent selected relay service code. When monitoring the selected relay service code consistent with the target relay service code, the remote terminal selects to send a communication request to an address corresponding to the consistent selected relay service code, and then establishes D2D connection with the relay node corresponding to the consistent selected relay service code, and the relay node corresponding to the consistent selected relay service code provides the consistent selected relay service code, namely the relay service corresponding to the target relay service code, for the remote terminal, so that the remote terminal can access the network through the relay service.
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 remote terminal home server interacting with a remote terminal in a server, as shown in fig. 3, a processing flow of the method of this embodiment includes the following steps:
step 301, receiving a relay service code monitoring request message, where the relay service code monitoring request message includes a far terminal identifier and far terminal position information.
Step 302, when it is determined that the subscription information corresponding to the remote terminal identifier allows the network access through the relay node, forwarding the relay service code monitoring request message.
Here, the server may be a third party application or a dedicated authority, or may be a near field communication server to which a remote terminal belongs and a near field communication server to which a relay node belongs. The method of the embodiment is applied to the side of a remote terminal home server interacting with a remote terminal in the server. The remote terminal home server may be a module in the third party application or the dedicated authority shown in fig. 1 that interacts with the remote terminal; or a far terminal home near field communication server interacting with the far terminal as shown in fig. 1.
When the remote terminal accesses the D2D network, the remote terminal sets the subscription information in the home server of the remote terminal in the server. After receiving the relay service code monitoring request message, the far terminal home server firstly determines whether the subscription information corresponding to the far terminal identification allows the relay node to access the network, and if the subscription information corresponding to the far terminal identification allows the relay node to access the network, the far terminal home server forwards the relay service code monitoring request message. The remote terminal home server forwards the relay service coding monitoring request message to a relay node home server which interacts with the relay node in the server. The relay node home server may be a module interacting with the relay node in a third party application or a dedicated authority as shown in fig. 1; or a relay node home near field communication server interacting with the relay node as shown in fig. 1.
Step 303, receiving and forwarding the relay service code monitoring response message, where the relay service code monitoring response message includes the available relay service name of the remote terminal and the available relay service code corresponding to the available relay service name.
The relay node home server returns a relay service code monitoring response message after inquiring, and the relay node home server screens out available relay service names around the remote terminal position information and the corresponding available relay service codes. If the relay service code monitoring request message includes a target relay service name, the relay node home server only needs to inquire out a target relay service code corresponding to the target relay service name, at this time, the available relay service name of the remote terminal in the returned relay service code monitoring response message is the target relay service name, and the available relay service code is the target relay service code. If the relay service code monitoring request message does not include the target relay service name, the relay node home server inquires all available relay service names around the remote terminal position information and the available relay service codes corresponding to the available relay service names, and at the moment, the returned relay service code monitoring response message includes a plurality of available relay service names and available relay service codes corresponding to the available relay service names.
And after receiving the relay service code monitoring response message, the remote terminal home server forwards the relay service code monitoring 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 interacting with a relay node in a server, as shown in fig. 4, a processing flow of the method of this embodiment includes the following steps:
step 401, receiving a relay service code allocation request message, where the relay service code allocation request message includes a relay node identifier.
After the relay node registers to the EPS, an IP connection is established. When the relay node needs to start the relay service, the relay node sends a relay service code allocation request message to the server, wherein the relay service code allocation request message comprises a relay node identifier.
Here, the server may be a third party application or a dedicated authority, or may be a near field communication server to which a remote terminal belongs and a near field communication server to which a relay node belongs. The method of the embodiment is applied to the side of the relay node home server interacting with the relay node in the server. The relay node home server may be a third party application or a device in a dedicated authority that interacts with the relay node; or a near field communication server which the relay node interacted with in the server belongs to.
Step 402, when it is determined that the subscription information corresponding to the relay node identifier allows providing the relay service, obtaining a relay service name that can be provided by the relay node corresponding to the relay node identifier, allocating a corresponding relay service code that can be provided to the relay service name that can be provided, and sending a relay service code allocation response message.
When the relay node accesses the D2D network, the relay node sets the subscription information in the relay node home server of the server. After receiving the relay service code allocation request message, the relay node home server first determines whether the subscription information corresponding to the relay node identifier allows providing the relay service, and if it is determined that the subscription information corresponding to the relay node identifier allows providing the relay service, the relay node home server obtains a relay service name that can be provided by the relay node corresponding to the relay node identifier, and allocates a corresponding relay service code that can be provided to the relay service name that can be provided.
If the relay service code allocation request message includes a relay service name that can be provided by a relay node corresponding to a relay node identifier, the relay node home server obtains the relay service name that can be provided by the relay node corresponding to the relay node identifier from the relay service code allocation request message, and then allocates a corresponding relay service code that can be provided 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 the relay service name that can be provided by the relay node corresponding to the relay node identifier, the relay node home server obtains the relay service name that can be provided by the relay node corresponding to the relay node identifier from the subscription information corresponding to the relay node identifier, and then allocates the relay service code that can be provided to the relay service name that can be provided.
Then, 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 the available relay service code corresponding to the available relay service name.
Step 403, receiving a relay service code monitoring request message, where the relay service code monitoring request message includes remote terminal location information.
After receiving the relay service code monitoring request message, a remote terminal home server in the server forwards the relay service code monitoring request message to a relay node home server when determining that subscription information corresponding to the remote terminal identifier allows the relay node to access the network, and the relay node home server receives the relay service code monitoring request message.
Step 404, sending a relay service code monitoring response message, where the relay service code monitoring response message includes a relay service code corresponding to a relay service name available to the remote terminal and corresponding to the remote terminal location information.
In step 402, the relay node home server obtains a relay service name that can be provided by a relay node corresponding to a relay node identifier, and allocates a corresponding relay service code that can be provided to the relay service name that can be provided; thus, in step 404, the relay node home server may filter the available relay service names to assign the available relay service codes corresponding to the available relay service names, and obtain the relay service codes corresponding to the available relay service names of the remote terminal corresponding to the remote terminal location information. And then returning a remote terminal home server relay service code monitoring response message, wherein the relay service code monitoring response message comprises a relay service code corresponding to a relay service name available for the remote terminal and corresponding to the remote terminal position information.
An embodiment of the present invention provides a method for selecting a relay node in a device-to-device network, which is applied to a side of the relay node, and as shown in fig. 5, a processing flow of the method of the present embodiment includes the following steps:
step 501, sending a relay service code allocation request message, where the relay service code allocation request message includes a relay node identifier.
After the relay node is registered to the EPS, IP connection is established; when the relay node needs to start the relay service, the relay node sends a relay service code allocation request message to the server, and requests the server to allocate the corresponding available relay service codes to the relay service names available by the relay node. The relay service name as described herein is a readable string, such as a SIP URL, that identifies a service. And the relay node identification in the relay service code allocation request message is used for the server to carry out authorization verification on the relay node sending the request message.
Step 502, receiving a relay service code assignment response message, where the relay service code assignment response message includes an available relay service name and an available relay service code corresponding to the available relay service name.
After receiving the relay service code allocation request message, the server first determines whether the subscription information corresponding to the relay node identifier allows providing the relay service, obtains a relay service name that can be provided by the relay node corresponding to the relay node identifier when determining that the subscription information corresponding to the relay node identifier allows providing the relay service, allocates a corresponding relay service code that can be provided for the relay service name that can be provided, and sends a relay service code allocation response message, where the relay service code allocation response message includes the relay service name that can be provided and the relay service code that can be provided corresponding thereto.
Step 503, obtaining the selected relay service name and the selected relay service code corresponding to the selected relay service name from the relay service code allocation response message.
If the relay service code monitoring request message comprises a target relay service name selected by a user; the method comprises the steps that the relay service names corresponding to the relay services in the D2D network are public, when a relay node starts a certain relay service, the selected relay service name corresponding to the relay service selected by the relay node is carried in a relay service code distribution request message and sent to a server, and the server is requested to distribute the selected relay service code for the selected relay service name; thus, the relay node can obtain the selected relay service name and the selected relay service code corresponding to the selected relay service name from the received relay service code allocation response message, and thus, the relay node can obtain the selected relay service name and the selected relay service code corresponding to the selected relay service name from the relay service code allocation response message.
If the relay service code monitoring request message does not include a target relay service name selected by a user; the relay service code assignment response message returned by the server includes a plurality of available relay service names and their corresponding available relay service codes in the subscription information corresponding to the relay node identifier, so that the relay node can select the selected relay service name and its corresponding selected relay service code from the available relay service name and its corresponding available relay service code.
Step 504, broadcasting 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 a nearby remote terminal knows that the relay node can provide the relay service corresponding to the selected relay service code, and also broadcasts an address corresponding to the selected relay service code so that the remote terminal can communicate with the relay node corresponding to the selected relay service code to obtain the corresponding relay service when selecting the relay service corresponding to the selected relay service code.
Example 2
The remote terminal home server in this embodiment is a module that interacts with a remote terminal in a third party application or a dedicated authorization mechanism; the relay node home server is a module which interacts with the relay node in a third party application or a special authorization mechanism; or the far terminal attribution server is a far terminal attribution near field communication server interacting with the far terminal. The relay node home server is a relay node home near field communication server which interacts with the relay node in the server.
An embodiment of the present invention provides a method for selecting a relay node in a device-to-device network, where as shown in fig. 6, a processing flow of the method of the present embodiment includes the following steps:
601, the relay node sends a relay service code allocation request message to a relay node home server; the relay service code allocation request message comprises a selected relay service name and a relay node identifier.
After the relay node registers to the EPS, an IP connection is established. When a relay node needs to start a certain relay service, the relay node first needs to acquire a relay service name of the relay service; the process of acquiring the name of the relay service by the relay node may be that the user manually selects the name of the relay service, or the user manually inputs the name of the relay service, so that the relay node can acquire 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, in the D2D network, the relay service name corresponding to each relay service is public, and the relay node needs to start which relay service, and carries the relay service name corresponding to which relay service in the relay service code allocation request message.
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 the corresponding binary selected relay service code to the selected relay service name.
Step 602, the relay node home server receives the relay service code allocation request message; and when determining that the relay node corresponding to the relay node identification allows the relay function, returning a relay service code allocation response message to the relay node.
When the relay node accesses the D2D network, the relay node negotiates subscription information with a relay node home server. After receiving the relay service code allocation request message, the relay node home server firstly determines whether the subscription information corresponding to the relay node identifier allows the provision of the relay service, and if the subscription information corresponding to the relay node identifier allows the provision of 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.
Optionally, after determining that the subscription information corresponding to the relay node identifier allows providing the relay service, it is further required to determine whether the subscription information allows using the selected relay service name; and when determining that the subscription information allows the selected relay service name to be used, 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.
Optionally, the relay node home server may further allocate a corresponding validity period duration for the selected relay service code.
The relay node home server may carry the selected relay service name and the selected relay service code corresponding thereto, and the validity period duration corresponding to the selected relay service code in a relay service code allocation response message, and return the relay node with the relay service code allocation response message.
Step 603, the relay node obtains the name of the selected relay service and the selected relay service code corresponding to the selected relay service name from the relay service code allocation response message.
The relay service code allocation response message includes a selected relay service name and a selected relay service code corresponding to the selected relay service name, and a validity period duration corresponding to the selected relay service code, and the relay node can directly obtain the selected relay service name and the selected relay service code corresponding to the selected relay service name from the relay service code allocation response message.
Step 604, broadcasting the selected relay service code and the allocated address corresponding to the selected relay service code within the validity duration of the selected relay service code.
The relay node broadcasts the selected relay service code so that the nearby remote terminals know that the relay node can provide the relay service corresponding to the selected relay service code, and also broadcasts the address allocated to the selected relay service code so that the nearby remote terminals can communicate with the relay node corresponding to the selected relay service code to obtain the corresponding relay service when selecting the relay service corresponding to the selected relay service code.
When a relay node in the D2D network starts a certain relay service, step 601 and step 604 may be performed to obtain an optional relay service code of the relay service; and broadcasting the selected relay service code and the address corresponding to the allocated selected relay service code, so that the remote terminals around can monitor the selected relay service code.
Step 605, the remote terminal sends a relay service code monitoring request message to a remote terminal home server; the relay service code monitoring request message comprises a target relay service name, a far terminal identification and far terminal position information selected by a user.
And after the remote terminal is registered to the EPS, establishing the IP connection. The remote terminal may decide to perform step 605 at any time to obtain the target relay service code corresponding to the target relay service name, so that when moving out of the wireless coverage, the remote terminal can continue to access the network by using the relay service provided by the relay node corresponding to the target relay service code.
And the remote terminal sends a relay service code monitoring request message to a remote terminal home server through the EPS and requests the remote terminal home server to return a target relay service code corresponding to the target relay service name.
Step 606, the remote terminal home server receives the relay service code monitoring request message, and forwards the relay service code monitoring request message to the relay node home server when determining that the subscription information corresponding to the remote terminal identifier allows the relay node to access the network.
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 monitoring request message, the far terminal home server firstly determines whether the subscription information corresponding to the far terminal identification allows the relay node to access the network, and if the subscription information corresponding to the far terminal identification allows the relay node to access the network, the far terminal home server forwards the relay service code monitoring request message to the relay node home server.
The specific forwarding process has the following two cases:
in the first case, the remote terminal home server is a device that interacts with the remote terminal in the third party application or the dedicated authority, and the relay node home server is a device that interacts with the relay node in the third party application or the dedicated authority. The remote terminal home server and the relay node home server constitute a third party application or a dedicated authority. At this time, the remote terminal home server may directly forward the relay service coding monitoring request message to the relay node home server.
In the second case, the far terminal attribution server is a far terminal attribution near field communication server, and the relay node attribution server is a relay node attribution near field communication server; at this time, the remote terminal position information in the relay service coding monitoring request message is the current resident PLMN; and the remote terminal home server, namely the remote terminal home near field communication server, forwards the relay service coding monitoring request message to a relay node home near field communication server under the current resident PLMN.
In the second case, the remote terminal location information in the relay service coding monitoring request message may also be a PLMN where the remote terminal currently resides and a PLMN around which the remote terminal monitors; the remote terminal home server, that is, the remote terminal home near field communication server, forwards the relay service coding monitoring request message to the relay node home near field communication server under the currently residing PLMN, and the relay node home near field communication server under the surrounding PLMN, which is monitored by the remote terminal.
Step 607, the relay node home server receives the relay service code monitoring request message and sends a relay service code monitoring response message to the remote 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 started by the relay node subscribed to the relay node home server in step 601-602, and after receiving the relay service code monitoring request message, the relay node home server queries the selected relay service names to obtain the target relay service name required by the remote terminal, and further obtains the target relay service code corresponding to the target relay service name, optionally, if the relay node home server in step 602 also allocates the validity period duration for the selected relay service code, the target relay service code also corresponds to the allocated validity period duration. Then, the relay node home server sends a relay service code monitoring response message to the remote terminal home server, where the relay service code monitoring response message includes the target relay service name and the target relay service code corresponding to the target relay service name, and optionally, also includes a validity period duration corresponding to the target relay service code.
If the relay node home server is a device which interacts with the relay node in a third-party application or a special authorization mechanism, the relay node home server screens out available relay service names around the remote terminal according to the position information of the remote terminal, and then inquires and obtains a target relay service name from the available relay service names. And if the relay node home server is a relay node home near field communication server, the relay node home near field communication server under the PLMN in the far terminal position information in the relay node home server inquires a target relay service name from a selected relay service name corresponding to the relay service started by the signed relay node. Then, the near field communication server to which each relay node belongs sends a relay service code monitoring response message to the far terminal home server.
And when the remote terminal position information comprises the current resident PLMN, the relay service code monitoring response message comprises the available relay service name of the remote terminal and the corresponding available relay service code under the condition that the remote terminal resides in the PLMN. When the remote terminal location information includes the currently camped PLMN and the peripheral PLMNs monitored by the remote terminal, the relay service code monitoring response message includes the available relay service names of the remote terminals under the PLMNs and the PLMNs, and the available relay service codes corresponding to the PLMN, and optionally further includes the validity period duration corresponding to the target relay service code.
Step 608, the remote terminal home server receives the relay service coding monitoring response message, and forwards the relay service coding monitoring response message to the remote terminal.
Step 609, the remote terminal receives the relay service code monitoring response message, and obtains the target relay service name selected by the user and the corresponding target relay service code from the relay service code monitoring response message.
The remote terminal can directly obtain the target relay service name selected by the user and the corresponding target relay service code from the relay service code monitoring response message.
Step 610, when the remote terminal is about to move out of the coverage or has moved out of the coverage, the remote terminal starts to monitor the selected relay service code of the broadcast and the address corresponding to the selected relay service code.
When the far terminal is about to move out of the coverage, or 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 monitor the selected relay service code in the broadcast. In step 604, 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 broadcasted selected relay service code and the address corresponding to the selected relay service code in step 610.
611, when monitoring the selected relay service code consistent with the target relay service code within the validity period of the target relay service code, sending a communication request to an address corresponding to the consistent selected relay service code.
When a selected relay service code consistent with the target relay service code is monitored in the validity period of the target relay service code, indicating that a relay node provides a relay service corresponding to the target relay service code in the time period, and sending a communication request to an address corresponding to the consistent selected relay service code by a remote terminal at the moment, wherein the address corresponding to the consistent selected relay service code is a layer address of the relay service provided by the relay node corresponding to the consistent selected relay service code; the remote terminal sends a communication request to the relay node corresponding to the address to request the relay node to provide the relay service for the remote terminal, and after the relay node agrees to provide the relay service for the remote terminal, the remote terminal establishes a D2D connection with the relay node, and the remote terminal can access the network through the relay node.
An embodiment of the present invention provides a method for selecting a relay node in a device-to-device network, where as shown in fig. 7, a processing flow of the method of the present embodiment includes the following steps:
step 701, the relay node sends a relay service code allocation request message to a relay node home server; the relay service code allocation request message includes a relay node identifier.
After the relay node registers to the EPS, an IP connection is established. When the relay node needs to start the relay service, the relay node can 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 the corresponding binary relay service code to the relay service name of the relay service which can be provided by the relay node.
Step 702, the relay node home server receives the relay service code allocation request message; and when determining that the relay node corresponding to the relay node identification allows the relay function, returning a relay service code allocation response message to the relay node.
When the relay node accesses the D2D network, the relay node negotiates subscription information with a relay node home server, where the subscription information includes whether to allow the relay service to be provided and a relay service name of the relay service that the relay node can provide. After receiving the relay service code allocation request message, the relay node home server firstly determines whether the subscription information corresponding to the relay node identifier allows the provision of the relay service, and if it is determined that the subscription information corresponding to the relay node identifier allows the provision of the relay service, the relay node home server obtains a relay service name providable by the relay node corresponding to the relay node identifier from the subscription information corresponding to the relay node identifier, and allocates a corresponding providable relay service code to the providable relay service name. Optionally, the relay node home server may further allocate a corresponding validity period duration for the available relay service codes.
The relay node home server may carry the available relay service name and the available relay service code corresponding to the available relay service name, and the validity period duration corresponding to the available relay service code in a relay service code allocation response message, and return the relay node.
Step 703, the relay node obtains the selected relay service name and the selected relay service code corresponding to the selected relay service name from 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 comprises an available relay service name, an available relay service code corresponding to the available relay service name and an available period duration corresponding to the available relay service code; the available relay service names can be one or two or more; the available relay service codes and the valid period duration thereof are in one-to-one correspondence with the available relay service names. The relay node can select one or more selected relay service names from the available relay service names according to the actual situation, provide the corresponding relay service, and further obtain the selected relay service names and the corresponding selected relay service codes.
Step 704, broadcasting the selected relay service code and the allocated address corresponding to the selected relay service code within the validity duration of the selected relay service code.
The relay node broadcasts each selected relay service code so that nearby remote terminals know that the relay node can provide various relay services corresponding to each selected relay service code, and simultaneously broadcasts addresses allocated to the selected relay service codes one by one so that the nearby remote terminals can conveniently communicate with the relay node corresponding to the selected relay service code through the address when selecting the relay service corresponding to a certain selected relay service code, and the relay service corresponding to the address is obtained.
When the relay node in the D2D network starts the relay service, step 701-704 may be performed to obtain the selected relay service code of the relay node; and broadcasting the selected relay service code and the address corresponding to the allocated selected relay service code, so that the remote terminals around can monitor the selected relay service code.
Step 705, the remote terminal sends a relay service code monitoring request message to a remote terminal home server; the relay service coding monitoring request message comprises a far terminal identification and far terminal position information.
And after the remote terminal is registered to the EPS, establishing the IP connection. The remote terminal may decide to perform step 705 at any time to obtain the target relay service name and the target relay service code corresponding thereto, so that the remote terminal can continue to access the network by using the relay service provided by the relay node corresponding to the target relay service code when moving out of the wireless coverage.
The remote terminal sends a relay service code monitoring request message to a remote terminal home server through the EPS, and requests the remote terminal home server to return available relay service names around the remote terminal and available relay service codes corresponding to the available relay service names.
Step 706, the remote terminal home server receives the relay service coding monitoring request message, and forwards the relay service coding monitoring request message to the relay node home server when determining that the subscription information corresponding to the remote terminal identifier allows the relay node to access the network.
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 monitoring request message, the far terminal home server firstly determines whether the subscription information corresponding to the far terminal identification allows the relay node to access the network, and if the subscription information corresponding to the far terminal identification allows the relay node to access the network, the far terminal home server forwards the relay service code monitoring request message to the relay node home server.
The specific forwarding process has the following two cases:
in the first case, the remote terminal home server is a device that interacts with the remote terminal in the third party application or the dedicated authority, and the relay node home server is a device that interacts with the relay node in the third party application or the dedicated authority. The remote terminal home server and the relay node home server constitute a third party application or a dedicated authority. At this time, the remote terminal home server may directly forward the relay service coding monitoring request message to the relay node home server.
In the second case, the remote terminal attribution server is a remote terminal attribution near field communication server, and the relay node attribution server is a relay node attribution near field communication server; at this time, the remote terminal position information in the relay service coding monitoring request message is the current resident PLMN; and the remote terminal home server, namely the remote terminal home near field communication server, forwards the relay service coding monitoring request message to a relay node home near field communication server under the current resident PLMN.
In the second case, the remote terminal location information in the relay service coding monitoring request message may also be a PLMN where the remote terminal currently resides and a PLMN around which the remote terminal monitors; the remote terminal home server, that is, the remote terminal home near field communication server, forwards the relay service coding monitoring request message to the relay node home near field communication server under the currently residing PLMN, and the relay node home near field communication server under the surrounding PLMN, which is monitored by the remote terminal.
Step 707, the relay node home server receives the relay service code monitoring request message, and sends a relay service code monitoring response message to the remote terminal home server.
In step 701, plus 702, the relay node home server has obtained the names of relay services available from the relay nodes and the relay service codes available from the relay nodes subscribed to the relay node home server, and then after receiving the relay service code monitoring request message, the relay node home server queries the relay service names available from the relay nodes and the relay service codes available from the relay nodes to obtain the available relay service names around the remote terminal and the available relay service codes corresponding to the available relay service names, optionally, if in step 702, the relay node home server also allocates validity duration for the available relay service codes, then the available relay service codes also correspond to the validity duration. Then, the relay node home server sends a relay service code monitoring response message to the remote terminal home server, where the relay service code monitoring response message includes the available relay service name and the available relay service code corresponding to the available relay service name, and optionally further includes a validity period duration corresponding to the available relay service code.
If the relay node home server is a device which interacts with the relay node in a third party application or a special authorization mechanism, the relay node home server screens out available relay service names around the remote terminal according to the position information of the remote terminal, and then obtains available relay service codes corresponding to the available relay service names. If the relay node home server is a relay node home near field communication server, the relay node home near field communication server under the PLMN in the far terminal position information directly obtains the relay service name which can be provided by the contracted relay node as the available relay service name of the far terminal, and further obtains the available relay service code corresponding to the available relay service name. Then, the near field communication server to which each relay node belongs sends a relay service code monitoring response message to the far terminal home server.
And when the remote terminal position information comprises the current resident PLMN, the relay service code monitoring response message comprises the available relay service name of the remote terminal and the corresponding available relay service code under the condition that the remote terminal resides in the PLMN. When the remote terminal location information includes the currently camped PLMN and the peripheral PLMNs monitored by the remote terminal, the relay service code monitoring response message includes the available relay service names of the remote terminals under the PLMNs and the PLMNs, and the available relay service codes corresponding to the PLMN, and optionally further includes the validity period duration corresponding to the target relay service code.
Step 708, the remote terminal home server receives the relay service coding monitoring response message and forwards the relay service coding monitoring response message to the remote terminal.
Step 709, the remote terminal receives the relay service code monitoring response message, and obtains the target relay service name selected by the user and the corresponding target relay service code from the relay service code monitoring response message.
The remote terminal can display the available relay service name in the relay service code monitoring response message, the user selects the target relay service name from the available relay service names, the remote terminal can obtain the target relay service name, and further can obtain the target relay service code corresponding to the target relay service name. Optionally, the remote terminal may further display a PLMN corresponding to the available relay service name, and the user may select the target relay service name according to the PLMN.
The remote terminal can also display the selected target relay service name, so that the user can see the relay service name selected by the remote terminal, and the display of the relay service name is more convenient than the display of a 64-bit relay service code and is more suitable for the user to view.
Step 710, when the remote terminal is about to move out of the coverage or has moved out of the coverage, the remote terminal starts to monitor the selected relay service code of the broadcast and the address corresponding to the selected relay service code.
When the far terminal is about to move out of the coverage, or 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 monitor the selected relay service code in the broadcast. In step 704, 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 broadcasted selected relay service code and the address corresponding to the selected relay service code in step 710.
And 711, sending a communication request to an address corresponding to the selected relay service code when the selected relay service code consistent with the target relay service code is monitored in the valid period of the target relay service code.
When a selected relay service code consistent with the target relay service code is monitored in the validity period of the target relay service code, indicating that a relay node provides a relay service corresponding to the target relay service code in the time period, and sending a communication request to an address corresponding to the consistent selected relay service code by a remote terminal at the moment, wherein the address corresponding to the consistent selected relay service code is a layer address of the relay service provided by the relay node corresponding to the consistent selected relay service code; the remote terminal sends a communication request to the relay node corresponding to the address to request the relay node to provide the relay service for the remote terminal, and after the relay node agrees to provide the relay service for the remote terminal, the remote terminal establishes a D2D connection with the relay node, and the remote terminal can access the network through the relay node.
It should be noted that, the method of the present embodiment may also be a method flow combining steps 601-604 and 705-711, or a method flow combining steps 701-704 and 605-611, and the specific steps may refer to the above step flow, and are not described in detail herein.
Examples 3,
An embodiment of the present invention further provides a remote terminal, as shown in fig. 8, where the remote terminal includes: a first sending unit 801, a first receiving unit 802, a first processing unit 803, a listening unit 804, wherein,
a first sending unit 801, configured to send a relay service coding monitoring request message, where the relay service coding monitoring request message includes a far terminal identifier and far terminal location information;
a first receiving unit 802, configured to receive a relay service coding monitoring response message; the relay service code monitoring response message comprises available relay service names of the remote terminal and available relay service codes corresponding to the available relay service names;
a first processing unit 803, configured to obtain a target relay service name selected by a user and a target relay service code corresponding to the target relay service name from the relay service code monitoring response message received by the first receiving unit 802;
a monitoring unit 804, configured to monitor a selected relay service code of a broadcast and an address corresponding to the selected relay service code;
the first sending unit 801 is further configured to send a communication request to an address corresponding to the consistent selected relay service code when the monitoring unit 804 monitors the selected relay service code consistent with the target relay service code acquired by the first processing unit 803.
Optionally, the relay service coding monitoring request message further includes a target relay service name selected by the user; the available relay service name of the remote terminal in the relay service code monitoring response message is a target relay service name, and the available relay service code is a target relay service code.
Optionally, the relay service code monitoring response message further includes an expiration duration corresponding to the relay service code in the relay service code monitoring response message;
the first sending unit 801 is specifically configured to, in the validity duration of the target relay service code, when the monitoring unit 804 monitors an optional relay service code that is consistent with the target relay service code acquired by the first processing unit 803, send a communication request to an address corresponding to the consistent optional relay service code.
Optionally, the location information includes a PLMN where the remote terminal currently resides, or the location information of the remote terminal includes the PLMN where the remote terminal currently resides and a peripheral PLMN monitored by the remote terminal;
and under the condition that the remote terminal position information comprises the PLMN where the remote terminal currently resides and the surrounding PLMNs monitored by the remote terminal, the relay service code monitoring response message comprises the PLMNs, the relay service names available to the remote terminal under the PLMNs and the available relay service codes corresponding to the relay service names.
The embodiment of the invention also provides a far terminal attribution server, which can be a device which is interacted with the far terminal in a third party application or a special authorization mechanism; or a near field communication server to which a remote terminal interacting with the remote terminal belongs, as shown in fig. 9, the server to which the remote terminal belongs includes: a second receiving unit 901 and a second transmitting unit 902, wherein,
a second receiving unit 901, configured to receive a relay service coding monitoring request message, where the relay service coding monitoring request message includes a far terminal identifier and far terminal location information;
a second sending unit 902, configured to forward the relay service coding monitoring request message when it is determined that the subscription information corresponding to the remote terminal identifier received by the second receiving unit 901 allows access to the network through the relay node;
a second receiving unit 901, further configured to receive a relay service code monitoring response message, where the relay service code monitoring response message includes a name of an available relay service of the remote terminal and an available relay service code corresponding to the name;
the second sending unit 902 is further configured to forward the relay service coding listening response message.
Optionally, the relay service code monitoring request message includes a target relay service name, the relay service code monitoring response message includes the available relay service name of the remote terminal as the target relay service name, and the available relay service code is the target relay service code.
Optionally, the relay service code monitoring response message further includes an expiration time corresponding to the relay service code in the relay service code monitoring response message.
Optionally, the remote terminal location information includes a PLMN where the remote terminal currently resides, or the remote terminal location information includes the currently residing PLMN and a peripheral PLMN monitored by the remote terminal; then the process of the first step is carried out,
the second sending unit 902 is configured to forward the relay service coding monitoring request message to a relay node home proximity communication server under a PLMN where the remote terminal resides; or, forwarding the relay service code monitoring request message to a PLMN where the remote terminal resides and a relay node home proximity communication server under a peripheral PLMN monitored by the remote terminal; and under the condition that the remote terminal position information comprises the PLMN where the remote terminal currently resides and the surrounding PLMNs monitored by the remote terminal, the relay service code monitoring response message comprises the PLMNs, the relay service names available to the remote terminal under the PLMNs and the available relay service codes corresponding to the relay service names.
The embodiment of the invention also provides a relay node home server, which can be a module which is interacted with the relay node in a third party application or a special authorization mechanism; or a relay node home proximity communication server interacting with the relay node, as shown in fig. 10, the relay node home proximity server includes: a third receiving unit 1001, a second processing unit 1002, and a third transmitting unit 1003, wherein,
a third receiving unit 1001, 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 1002, configured to, when it is determined that the subscription information corresponding to the relay node identifier received by the third receiving unit 1001 allows providing the relay service, obtain a relay service name that can be provided by the relay node corresponding to the relay node identifier, and allocate a corresponding relay service code that can be provided to the relay service name that can be provided;
a third sending unit 1003, configured to send a relay service code allocation response message, where the relay service code allocation response message includes the names of the available relay services and the corresponding available relay service codes allocated by the second processing unit 1002;
the third receiving unit 1001 is further configured to receive a relay service coding monitoring request message, where the relay service coding monitoring request message includes a remote terminal identifier and remote terminal location information;
the third sending unit 1003 is further configured to send a relay service code monitoring response message, where the relay service code monitoring response message includes a relay service code corresponding to a relay service name available to the remote terminal, which is obtained according to the location information of the remote terminal.
Optionally, 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.
Optionally, the second processing unit 1002 is specifically configured to obtain, from the subscription information corresponding to the relay node identifier, a relay service name that can be provided by the relay node corresponding to the relay node identifier.
Optionally, the relay service code allocation response message further includes an expiration duration corresponding to the relay service code in the relay service code allocation response message; the relay service code monitoring response message further includes an effective period duration corresponding to the relay service code in the relay service code monitoring response message.
Optionally, the remote terminal location information includes a PLMN where the remote terminal currently resides, or the remote terminal location information includes the currently residing PLMN and a peripheral PLMN monitored by the remote terminal; then, when the remote terminal location information includes the currently camped PLMN and the peripheral PLMNs monitored by the remote terminal, the relay service code monitoring response message includes the PLMNs, the available relay service names of the remote terminals under the PLMNs, and the available relay service codes corresponding to the available relay service names.
An embodiment of the present invention further provides a relay node, as shown in fig. 11, where the relay node includes: a fourth sending unit 1101, a fourth receiving unit 1102, a third processing unit 1103, and a broadcasting unit 1104, wherein,
a fourth sending unit 1101, 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 1102, configured to receive a relay service code allocation response message, where the relay service code allocation response message includes an available relay service name and an available relay service code corresponding to the available relay service name;
a third processing unit 1103, configured to obtain a name of an optional relay service and an optional relay service code corresponding to the name from the relay service code assignment response message received by the fourth receiving unit 1102;
a broadcasting unit 1104, configured to broadcast the selected relay service code obtained by the third processing unit 1103 and the allocated address corresponding to the selected relay service code.
Optionally, the relay service code allocation request message further includes a name of the selected relay service; then, the available relay service name in the relay service code assignment response message is the selected relay service name, and the available relay service code is the selected relay service code.
Optionally, if the relay service code allocation response message further includes an effective period duration corresponding to the relay service code in the relay service code allocation response message, the broadcasting unit 1104 is specifically configured to broadcast the selected relay service code and the address corresponding to the allocated selected relay service code within the effective period duration of the selected relay service code.
In practical applications, the first sending unit 801, the first receiving unit 802, the first processing unit 803, and the monitoring unit 804 in this embodiment can be implemented by devices such as a Central Processing Unit (CPU), a Microprocessor (MPU), a Digital Signal Processor (DSP), or a Field Programmable Gate Array (FPGA) on a remote terminal. The second receiving unit 901 and the second sending unit 902 may be implemented by a third party application or a dedicated authority, or by a Central Processing Unit (CPU), a Microprocessor (MPU), a Digital Signal Processor (DSP), or a Field Programmable Gate Array (FPGA) on a near field communication server to which the remote terminal belongs. The third receiving unit 1001, the second processing unit 1002, and the third transmitting unit 1003 may be implemented by a third party application, a dedicated authorization mechanism, or a Central Processing Unit (CPU), a Microprocessor (MPU), a Digital Signal Processor (DSP), or a Field Programmable Gate Array (FPGA) on the near field communication server to which the relay node belongs; the fourth transmitting unit 1101, the fourth receiving unit 1102, the third processing unit 1103, and the broadcasting unit 1104 may be implemented by devices such as a Central Processing Unit (CPU), a Microprocessor (MPU), a Digital Signal Processor (DSP), or a Field Programmable Gate Array (FPGA) on the relay node.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (32)

1. A method for selecting a relay node in a device-to-device network, the method comprising:
sending a relay service code monitoring request message, wherein the relay service code monitoring request message comprises a far terminal identifier and far terminal position information;
receiving a relay service coding monitoring response message; the relay service code monitoring response message comprises available relay service names of remote terminals and available relay service codes corresponding to the available relay service names, wherein the relay service names are readable character strings;
acquiring a target relay service name selected by a user and a target relay service code corresponding to the target relay service name from the relay service code monitoring response message;
monitoring a selected relay service code of a broadcast and an address corresponding to the selected relay service code; and when monitoring the selected relay service code consistent with the target relay service code, sending a communication request to an address corresponding to the consistent selected relay service code.
2. The method of claim 1, wherein the relay service code interception request message further includes a target relay service name selected by a user; the available relay service name of the remote terminal in the relay service code monitoring response message is a target relay service name, and the available relay service code is a target relay service code.
3. The method of claim 1, wherein the relay service code monitoring response message further includes an expiration duration corresponding to the relay service code in the relay service code monitoring response message; then, when the optional relay service code consistent with the target relay service code is monitored, the sending a communication request to an address corresponding to the consistent optional relay service code includes:
and when monitoring the selected relay service code consistent with the target relay service code in the valid period of the target relay service code, sending a communication request to an address corresponding to the consistent selected relay service code.
4. The method of claim 1, wherein the location information comprises a Public Land Mobile Network (PLMN) where the remote terminal currently resides, or wherein the remote terminal location information comprises the PLMN where the remote terminal currently resides and surrounding PLMNs that the remote terminal hears;
and under the condition that the remote terminal position information comprises the PLMN where the remote terminal currently resides and the surrounding PLMNs monitored by the remote terminal, the relay service code monitoring response message comprises the PLMNs, the relay service names available to the remote terminal under the PLMNs and the available relay service codes corresponding to the relay service names.
5. A method for selecting a relay node in a device-to-device network, the method comprising:
receiving a relay service code monitoring request message, wherein the relay service code monitoring request message comprises a remote terminal identifier and remote terminal position information;
when the subscription information corresponding to the remote terminal identification is determined to allow the network to be accessed through the relay node, the relay service coding monitoring request message is forwarded;
and receiving and forwarding a relay service code monitoring response message, wherein the relay service code monitoring response message comprises available relay service names of the remote terminal and available relay service codes corresponding to the available relay service names, and the relay service names are readable character strings.
6. The method of claim 5, wherein the relay service code interception request message includes a target relay service name, and then the relay service code interception response message includes the relay service name available to the remote terminal as the target relay service name, and the available relay service code is the target relay service code.
7. The method of claim 5, wherein the relay service coded listening response message further includes an expiration duration corresponding to the relay service code in the relay service coded listening response message.
8. The method according to claim 5, wherein the remote terminal location information includes a PLMN where the remote terminal currently resides, or the remote terminal location information includes the currently residing PLMN and surrounding PLMNs that the remote terminal hears;
then, the forwarding the relay service coding interception request message includes:
forwarding the relay service code monitoring request message to a relay node home near field communication server under a PLMN where the remote terminal resides;
alternatively, the first and second electrodes may be,
forwarding the relay service code monitoring request message to a PLMN where the remote terminal resides and a relay node home near field communication server under the surrounding PLMN monitored by the remote terminal;
and under the condition that the remote terminal position information comprises the PLMN where the remote terminal currently resides and the surrounding PLMNs monitored by the remote terminal, the relay service code monitoring response message comprises the PLMNs, the relay service names available to the remote terminal under the PLMNs and the available relay service codes corresponding to the relay service names.
9. A method for selecting a relay node in a device-to-device network, the method comprising:
receiving a relay service code allocation request message, wherein the relay service code allocation request message comprises a relay node identifier;
when it is determined that subscription information corresponding to the relay node identifier allows providing of relay service, obtaining a relay service name that can be provided by a relay node corresponding to the relay node identifier, allocating a corresponding relay service code to the relay service name that can be provided, and sending a relay service code allocation response message, where the relay service code allocation response message includes the relay service name that can be provided and the relay service code that can be provided corresponding to the relay service name, and the relay service name is a readable character string;
receiving a relay service code monitoring request message, wherein the relay service code monitoring request message comprises a remote terminal identifier and remote terminal position information;
and sending a relay service code monitoring response message, wherein the relay service code monitoring response message comprises a relay service code corresponding to a relay service name available to the remote terminal, which is obtained according to the remote terminal position information.
10. The method of claim 9, wherein the relay service code assignment request message further includes a relay service name that can be provided by the relay node corresponding to the relay node identifier.
11. The method of claim 9, wherein the obtaining the name of the relay service providable by the relay node corresponding to the relay node identifier comprises:
and obtaining the name of the relay service which can be provided by the relay node corresponding to the relay node identification from the subscription information corresponding to the relay node identification.
12. The method of claim 9, wherein the relay service code allocation response message further includes an expiration duration corresponding to the relay service code in the relay service code allocation response message; the relay service code monitoring response message further includes an effective period duration corresponding to the relay service code in the relay service code monitoring response message.
13. The method of claim 9, wherein the remote terminal location information comprises a Public Land Mobile Network (PLMN) where the remote terminal currently resides, or wherein the remote terminal location information comprises the PLMN where the remote terminal currently resides and surrounding PLMNs that the remote terminal hears;
then, when the remote terminal location information includes the currently camped PLMN and the peripheral PLMNs monitored by the remote terminal, the relay service code monitoring response message includes the PLMNs, the available relay service names of the remote terminals under the PLMNs, and the available relay service codes corresponding to the available relay service names.
14. A method for selecting a relay node in a device-to-device network, the method comprising:
sending a relay service code allocation request message, wherein the relay service code allocation request message comprises a relay node identifier;
receiving a relay service code allocation response message, wherein the relay service code allocation response message comprises an available relay service name and an available relay service code corresponding to the available relay service name, and the relay service name is a readable character string;
obtaining the name of the selected relay service and the selected relay service code corresponding to the name from the relay service code distribution response message;
broadcasting the selected relay service code and the address corresponding to the allocated selected relay service code.
15. The method of claim 14, wherein the relay service code assignment request message further comprises an optional relay service name; then, the available relay service name in the relay service code assignment response message is the selected relay service name, and the available relay service code is the selected relay service code.
16. The method of claim 14, wherein the relay service code assignment response message further includes an expiration time corresponding to a relay service code in the relay service code assignment response message, and the broadcasting the selected relay service code and the assigned address corresponding to the selected relay service code comprises:
broadcasting the selected relay service code and the address corresponding to the selected relay service code within the effective period duration of the selected relay service code.
17. A remote terminal, characterized in that the remote terminal comprises:
a first sending unit, configured to send a relay service code monitoring request message, where the relay service code monitoring request message includes a remote terminal identifier and remote terminal location information;
a first receiving unit, configured to receive a relay service coding monitoring response message; the relay service code monitoring response message comprises available relay service names of remote terminals and available relay service codes corresponding to the available relay service names, wherein the relay service names are readable character strings;
the first processing unit is used for acquiring a target relay service name selected by a user and a target relay service code corresponding to the target relay service name from the relay service code monitoring response message received by the first receiving unit;
the first monitoring unit is used for monitoring a selected relay service code of a broadcast and an address corresponding to the selected relay service code;
the first sending unit is further configured to send a communication request to an address corresponding to the consistent selected relay service code when the first monitoring unit monitors the selected relay service code consistent with the target relay service code acquired by the first processing unit.
18. The remote terminal of claim 17, wherein the relay service coding interception request message further includes a target relay service name selected by a user; the available relay service name of the remote terminal in the relay service code monitoring response message is a target relay service name, and the available relay service code is a target relay service code.
19. The remote terminal of claim 17, wherein the relay service code monitoring response message further includes an expiration duration corresponding to a relay service code in the relay service code monitoring response message;
the first sending unit is specifically configured to, when the first monitoring unit monitors a selected relay service code that is consistent with the target relay service code acquired by the first processing unit within the validity period of the target relay service code, send a communication request to an address corresponding to the consistent selected relay service code.
20. The remote terminal of claim 17, wherein the location information comprises a Public Land Mobile Network (PLMN) where the remote terminal currently resides, or wherein the remote terminal location information comprises the PLMN where the remote terminal currently resides and surrounding PLMNs that the remote terminal hears;
and under the condition that the remote terminal position information comprises the PLMN where the remote terminal currently resides and the surrounding PLMNs monitored by the remote terminal, the relay service code monitoring response message comprises the PLMNs, the relay service names available to the remote terminal under the PLMNs and the available relay service codes corresponding to the relay service names.
21. A remote terminal home server, comprising:
a second receiving unit, configured to receive a relay service coding monitoring request message, where the relay service coding monitoring request message includes a remote terminal identifier and remote terminal location information;
a second sending unit, configured to forward the relay service coding monitoring request message when it is determined that the subscription information corresponding to the remote terminal identifier received by the second receiving unit allows access to the network through the relay node;
a second receiving unit, further configured to receive a relay service code monitoring response message, where the relay service code monitoring response message includes a relay service name available to the remote terminal and an available relay service code corresponding to the relay service name, and the relay service name is a readable character string;
the second sending unit is further configured to forward the relay service coding listening response message.
22. The remote terminal home server of claim 21, wherein the relay service code interception request message includes a target relay service name, and then the relay service code interception response message includes the available relay service name of the remote terminal as the target relay service name, and the available relay service code is the target relay service code.
23. The remote terminal home server of claim 21, wherein the relay service code interception response message further includes an expiration duration corresponding to a relay service code in the relay service code interception response message.
24. The home server of claim 21, wherein the remote terminal location information comprises a public land mobile network PLMN where the remote terminal currently resides, or wherein the remote terminal location information comprises the currently residing PLMN and surrounding PLMNs that the remote terminal hears; then the process of the first step is carried out,
the second sending unit is configured to forward the relay service coding monitoring request message to a relay node home near field communication server under a PLMN where the remote terminal resides; or, forwarding the relay service code monitoring request message to a PLMN where the remote terminal resides and a relay node home proximity communication server under a peripheral PLMN monitored by the remote terminal;
and under the condition that the remote terminal position information comprises the PLMN where the remote terminal currently resides and the surrounding PLMNs monitored by the remote terminal, the relay service code monitoring response message comprises the PLMNs, the relay service names available to the remote terminal under the PLMNs and the available relay service codes corresponding to the relay service names.
25. A relay node home server, comprising:
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 subscription information corresponding to the relay node identifier received by the third receiving unit allows providing of a relay service, obtain a relay service name that can be provided by the relay node corresponding to the relay node identifier, and allocate a corresponding relay service code that can be provided to the relay service name that can be provided, where 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 an available relay service code corresponding to the available relay service name;
the third receiving unit is further configured to receive a relay service coding monitoring request message, where the relay service coding monitoring request message includes a remote terminal identifier and remote terminal location information;
the third sending unit is further configured to send a relay service code monitoring response message, where the relay service code monitoring response message includes a relay service code corresponding to a relay service name available to the remote terminal, which is obtained according to the remote terminal location information.
26. The relay node home server of claim 25, wherein the relay service code assignment request message further includes a relay service name that can be provided by the relay node corresponding to the relay node identifier.
27. The relay node home server of claim 25,
the second processing unit is specifically configured to obtain, from the subscription information corresponding to the relay node identifier, a relay service name that can be provided by the relay node corresponding to the relay node identifier.
28. The relay node home server of claim 25, wherein the relay service code allocation response message further includes an expiration time corresponding to the relay service code in the relay service code allocation response message; the relay service code monitoring response message further includes an effective period duration corresponding to the relay service code in the relay service code monitoring response message.
29. The relay node home server of claim 25, wherein the remote terminal location information comprises a Public Land Mobile Network (PLMN) where the remote terminal currently resides, or wherein the remote terminal location information comprises the PLMN where the remote terminal currently resides and surrounding PLMNs that the remote terminal hears;
then, when the remote terminal location information includes the currently camped PLMN and the peripheral PLMNs monitored by the remote terminal, the relay service code monitoring response message includes the PLMNs, the available relay service names of the remote terminals under the PLMNs, and the available relay service codes corresponding to the available relay service names.
30. A relay node, characterized in that the relay node comprises:
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 an available relay service name and an available relay service code corresponding to the available relay service name, and the relay service name is a readable character string;
a third processing unit, configured to obtain a selected relay service name and a selected relay service code corresponding to the selected relay service name from the relay service code allocation response message received by the fourth receiving unit;
a broadcasting unit, configured to broadcast the selected relay service code obtained by the third processing unit and the allocated address corresponding to the selected relay service code.
31. The relay node of claim 30, wherein the relay service code assignment request message further comprises an optional relay service name; then, the available relay service name in the relay service code assignment response message is the selected relay service name, and the available relay service code is the selected relay service code.
32. The relay node of claim 30, wherein the relay service code allocation response message further includes an expiration duration corresponding to the relay service code in the relay service code allocation response message, then,
the broadcasting unit is specifically configured to broadcast the selected relay service code and the address corresponding to the allocated selected relay service code within the validity period of the selected relay service code.
CN201510495965.7A 2015-08-13 2015-08-13 Method and device for selecting relay node in device-to-device network Active CN106454993B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510495965.7A CN106454993B (en) 2015-08-13 2015-08-13 Method and device for selecting relay node in device-to-device network
PCT/CN2016/078725 WO2016180117A1 (en) 2015-08-13 2016-04-07 Method and apparatus for selecting relay node in device-to-device network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510495965.7A CN106454993B (en) 2015-08-13 2015-08-13 Method and device for selecting relay node in device-to-device network

Publications (2)

Publication Number Publication Date
CN106454993A CN106454993A (en) 2017-02-22
CN106454993B true CN106454993B (en) 2020-06-09

Family

ID=57248782

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510495965.7A Active CN106454993B (en) 2015-08-13 2015-08-13 Method and device for selecting relay node in device-to-device network

Country Status (2)

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

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109246688B (en) * 2017-07-11 2021-02-23 华为技术有限公司 Equipment access method, equipment and system
CN110139337A (en) * 2018-02-09 2019-08-16 电信科学技术研究院有限公司 A kind of selection method and equipment of relay node
CN113271134B (en) * 2020-02-17 2023-07-25 北京紫光展锐通信技术有限公司 Relay communication method of UE (user equipment) and related products
CN113518319B (en) * 2020-04-09 2023-03-17 华为技术有限公司 Service processing method, device and system for proximity service
CN114449516A (en) * 2020-11-05 2022-05-06 华为技术有限公司 Communication method and device

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 (en) * 2009-05-15 2010-11-17 华为技术有限公司 Business connection establishment method, path computing unit device and network system
CN104283602A (en) * 2013-07-09 2015-01-14 中兴通讯股份有限公司 Cluster relay method, device and system
EP2833694A2 (en) * 2013-07-29 2015-02-04 HTC Corporation Method of relay discovery and communication in a wireless communications system
CN103634812B (en) * 2013-11-27 2017-03-15 西安电子科技大学 A kind of method of the communication that direct transferred with cell equipment to equipment based on user equipment relaying

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 (en) * 2009-05-15 2010-11-17 华为技术有限公司 Business connection establishment method, path computing unit device and network system
CN104283602A (en) * 2013-07-09 2015-01-14 中兴通讯股份有限公司 Cluster relay method, device and system
EP2833694A2 (en) * 2013-07-29 2015-02-04 HTC Corporation Method of relay discovery and communication in a wireless communications system
CN103634812B (en) * 2013-11-27 2017-03-15 西安电子科技大学 A kind of method of the communication that direct transferred with cell equipment to equipment based on user equipment relaying

Also Published As

Publication number Publication date
CN106454993A (en) 2017-02-22
WO2016180117A1 (en) 2016-11-17

Similar Documents

Publication Publication Date Title
US11272440B2 (en) Network slice selection method and apparatus
CN106454993B (en) Method and device for selecting relay node in device-to-device network
US20180332440A1 (en) Group messaging in a communication network
KR102215406B1 (en) Scheme for discovery within communication network
KR102157185B1 (en) Apparatus and method for providing a service connection through access layer in wireless communication system
KR101609580B1 (en) Wireless communication system and method for establishing connection between user equipment and mobility management entity
CN103096290B (en) Apparatus for establishing is to the methods, devices and systems of equipment connection
KR101085685B1 (en) Method for supporting backward compatibility of mbms
EP2768272A1 (en) Method and apparatus for device to device communication
US20160007185A1 (en) Terminal Registration Method, Terminal Discovery Methods, Terminals and Devices
CN104066200A (en) Method for realizing end-to-end communication among user equipment (UE), and UE
WO2012142955A1 (en) Machine to machine service management device, network device, and service processing method and system
EP3128773B1 (en) Processing method and apparatus for d2d discovery
CN107409437B (en) DCN processing method of PLMN, UE and DCN service node
US20140286221A1 (en) Activation of multicast service
KR102112610B1 (en) Method and apparatus for device to device communication
WO2011020435A1 (en) Method and system for transmitting data packet at machine-to-machine (m2m) application server
KR102233595B1 (en) Method and device for proximity discovery among ues
KR20090109645A (en) Apparatus and method for providing cell based ad broadcasting service in broadband wireless communication systems
WO2015165224A1 (en) Authorization processing method and apparatus, proximity server, and home subscriber server
WO2016112678A1 (en) Data processing method and device
CN104254055A (en) Emergency calling method, device and system
KR101598598B1 (en) Integrated base station and method for providing intelligent service
WO2017000591A1 (en) Information sending method and terminal
WO2016141751A1 (en) D2d service authorization method and near field communication server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant