WO2016112674A1 - Communication method, terminal, system and computer storage medium - Google Patents
Communication method, terminal, system and computer storage medium Download PDFInfo
- Publication number
- WO2016112674A1 WO2016112674A1 PCT/CN2015/085149 CN2015085149W WO2016112674A1 WO 2016112674 A1 WO2016112674 A1 WO 2016112674A1 CN 2015085149 W CN2015085149 W CN 2015085149W WO 2016112674 A1 WO2016112674 A1 WO 2016112674A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- identifier
- terminal
- relay terminal
- communication
- prose
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
Definitions
- the present invention relates to mobile communication technologies, and in particular, to a method, a terminal, a system, and a computer storage medium for implementing communication.
- the third-generation mobile communication system In order to maintain the competitiveness of the third-generation mobile communication system in the communication field, it provides users with faster, less delayed, and more personalized mobile communication services, and at the same time, in order to reduce the operating costs of operators, the third generation The Standards Working Group of the 3GPP (Third Generation Partnership Project) is working on the Evolved Packet System (EPS).
- EPS Evolved Packet System
- FIG. 1 is a schematic structural diagram of a primary network element after the introduction of the ProSe function.
- the terminal A/terminal B (UE A/UE B) supporting the ProSe function can discover and communicate with each other after obtaining authorization from the network side.
- the following is a brief introduction to the main network elements in Figure 1:
- ProSe functional entity introduced to support ProSe, mainly to complete the authorization and matching of UE discovery and discovery.
- the network element is also responsible for protocol UEs discovering each other.
- E-UTRAN Enhanced Evolved Universal Terrestrial Radio Access Network
- EPC Enhanced Evolved Packet Core Network
- MME Mobility Management Entity
- PGW Packet Data Network Gateway
- the access ProSe functional entity provides underlying access.
- HSS Home Subscriber Server
- HLR Home Location Register
- SLP Secure User Plane Location Platform
- the ProSe application server is a server for providing ProSe related applications, and is an interface network element of the carrier network and external services.
- the relay terminal When the terminal moves out of the coverage of the network, the relay terminal can be used to access the network to obtain related information.
- the architecture diagram supporting the relay terminal is shown in Figure 2, where the network element definition is as follows:
- the remote terminal (represented by the Remote UE): does not receive the information of the network through the relay terminal within the coverage of the network.
- Relay terminal (represented by Relay UE): It can provide services for remote terminals within the coverage of the network.
- the role of the base station and the EPC is similar to that of FIG. 1, and details are not described herein again.
- a public safety server for implementing public safety related communications, such as specific intra-group member communications, is one of the ProSe application servers in FIG.
- Public Safety Server One of the application servers that the remote terminal may use to deliver information to the relay terminal and the remote terminal.
- the schematic diagram of the remote terminal discovering the relay terminal and establishing communication is shown in FIG. 3, and mainly includes the following steps:
- Step 301 The relay terminal acquires information based on a ProSe ID and whether to allow a relay operation from the network side through an authorization process.
- Step 302 The relay terminal broadcasts its own ProSe ID.
- Step 303 The remote terminal that wants to access the network through the relay terminal discovers the relay terminal by listening to the broadcast.
- Step 304 The remote terminal initiates unicast communication with the relay terminal.
- embodiments of the present invention are directed to a method, a terminal, a system, and a computer storage medium for implementing communication, which enable a remote terminal to establish communication with a relay terminal, thereby satisfying the remote terminal and the network by using the relay terminal and the network.
- the need for communication is not limited to a method, a terminal, a system, and a computer storage medium for implementing communication, which enable a remote terminal to establish communication with a relay terminal, thereby satisfying the remote terminal and the network by using the relay terminal and the network. The need for communication.
- An embodiment of the present invention provides a method for implementing communication, where the method is applied to a remote terminal, and the method includes:
- the first identifier is an identifier or a prefix of communication within the coverage of the relay terminal;
- the acquiring the ProSe ID and/or the first identifier of the relay terminal includes:
- the relay terminal Receiving a first broadcast message sent by the relay terminal, where the first broadcast message includes a ProSe ID and/or a first identifier of the relay terminal;
- Parsing the first broadcast message acquiring a ProSe ID and/or a first identifier of the relay terminal.
- the method before receiving the first broadcast message sent by the relay terminal, the method includes:
- the method further includes:
- the second identifier is regenerated according to the ProSe ID and/or the first identifier.
- the generating the second identifier according to the ProSe ID and/or the first identifier includes:
- the generating the second identifier according to the ProSe ID and/or the first identifier includes:
- a random number is generated locally, and the random number is combined with the first identifier to generate a second identifier.
- An embodiment of the present invention further provides a method for implementing communication, where the method is applied to a relay terminal, and the method includes:
- the remote terminal Transmitting, by the remote terminal, a first broadcast message, where the first broadcast message includes a ProSe ID and/or a first identifier of the relay terminal, where the first identifier is a communication within the coverage of the relay terminal Identification or prefix;
- the relay terminal performs communication.
- the method further includes:
- the method for sending the first broadcast message to the remote terminal is:
- the first broadcast message is sent to the remote terminal, or the first broadcast message is sent to the remote terminal when receiving the query request sent by the remote terminal.
- the method before the sending the first broadcast message to the remote terminal, the method further includes:
- the relay terminal acquires the first message from the network side by using an authorization process, where the first message includes ProSe ID information, and information about whether to allow the relay operation.
- the first message further includes a first parameter used to generate the first identifier.
- the first identifier is generated by:
- ProSe ID Generated by ProSe ID, generated by the first parameter, or generated by local configuration.
- the embodiment of the present invention further provides a first terminal that implements communication, where the first terminal includes: a first acquiring module, a first generating module, and a first communications module;
- the first obtaining module is configured to obtain a ProSe ID and/or a first identifier of the relay terminal, where the first identifier is an identifier or a prefix of the communication within the coverage of the relay terminal;
- the first generating module is configured to generate a second identifier according to the ProSe ID and/or the first identifier, where the second identifier is an identifier used for communicating with the relay terminal;
- the first communication module is configured to send, to the relay terminal, a setup communication request that carries the second identifier, and when receiving the setup communication response sent by the relay terminal, based on the second identifier
- the relay terminal performs communication.
- the first terminal further includes a receiving module, where
- the receiving module is configured to receive a first broadcast message sent by the relay terminal, where the first broadcast message includes a ProSe ID and/or a first identifier of the relay terminal;
- the first acquiring module is configured to parse the first broadcast message, and obtain a ProSe ID and/or a first identifier of the relay terminal.
- the first communication module is further configured to:
- the receiving module Before the receiving module receives the first broadcast message sent by the relay terminal, sending a second broadcast message, where the second broadcast message is used to query whether there is a relay terminal available around.
- the first communication module is further configured to:
- the second identifier is regenerated according to the ProSe ID and/or the first identifier.
- the first generating module is further configured to:
- the first generating module is further configured to:
- a random number is generated locally, and the random number is combined with the first identifier to generate a second identifier.
- the embodiment of the present invention further provides a second terminal that implements communication, where the second terminal includes a sending module, a second communications module, and a detecting module;
- the sending module is configured to send a first broadcast message to the remote terminal, where the first broadcast message includes a ProSe ID and/or a first identifier of the relay terminal, where the first identifier is the middle An identifier or prefix that communicates within the coverage of the terminal;
- the second communication module is configured to receive a setup communication request that is sent by the remote terminal and that carries the second identifier. When the detection result of the detection module is that there is no conflict, send the establishment communication to the remote terminal. Responding to enable the remote terminal to communicate with the relay terminal based on the second identifier;
- the detecting module is configured to detect whether the second identifier conflicts with the used identifier in the relay terminal.
- the second communication module is further configured to:
- the detection result of the detection module is that there is a conflict, the communication request is not responded to.
- the sending module sends the first broadcast message to the remote terminal by:
- the first broadcast message is sent to the remote terminal, or the first broadcast message is sent to the remote terminal when receiving the query request sent by the remote terminal.
- the second terminal further includes a second acquiring module, configured to obtain a first message from the network side by using an authorization process, where the first message includes ProSe ID information, and information about whether to allow the relay operation .
- the first message further includes a first parameter used to generate the first identifier.
- the second terminal further includes a second generating module, configured to generate the first identifier.
- the manner in which the second generation module generates the first identifier is generated by using a ProSe ID, or generated by using the first parameter, or generated by using a local configuration.
- the embodiment of the present invention further provides a system for implementing communication, where the system includes at least: a remote terminal, a relay terminal, and a network side authorized network element, where:
- the remote terminal is the first terminal described above;
- the relay terminal is the second terminal described above;
- the network side authorized network element is configured to authorize the relay terminal to the relay
- the terminal sends a first message, where the first message includes ProSe ID information, and information about whether to allow a relay operation.
- the first message further includes a first parameter used to generate the first identifier.
- the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores a computer program, and the computer program is used to execute the method for implementing communication as described above.
- the remote terminal acquires the ProSe ID and/or the first identifier from the relay terminal, generates the second identifier according to the ProSe ID and/or the first identifier, and sends a setup communication request to the relay terminal.
- the second identifier is carried in the establishing communication request; the relay terminal performs collision detection on the second identifier of the remote terminal; when the detection result is no conflict, the remote terminal may follow the relay terminal This second identity is used in the process of communicating. In this way, the remote terminal can establish communication with the relay terminal, thereby satisfying the requirement that the remote terminal communicate with the network by means of the relay terminal.
- FIG. 1 is a schematic structural diagram of a primary network element after a ProSe function is introduced
- FIG. 2 is a schematic diagram of a relay architecture
- FIG. 3 is a schematic diagram of a remote terminal discovering a relay terminal and establishing communication
- FIG. 4 is a schematic flowchart of an implementation method of implementing communication according to an embodiment of the present invention.
- FIG. 5 is a schematic flowchart of another implementation method of implementing communication according to an embodiment of the present disclosure.
- FIG. 6 is a schematic structural diagram of a first terminal for implementing communication according to an embodiment of the present disclosure
- FIG. 7 is a schematic structural diagram of a second terminal that implements communication according to an embodiment of the present disclosure.
- FIG. 8 is a schematic structural diagram of a system for implementing communication according to an embodiment of the present disclosure.
- FIG. 9 is a flowchart of generating a communication identifier by a remote terminal in a first mode scenario according to an embodiment of the present disclosure
- FIG. 10 is a flowchart of generating a communication identifier by a remote terminal in a second mode scenario according to an embodiment of the present invention.
- the embodiment of the present invention provides a method for implementing communication.
- the method for implementing communication in this embodiment is applied to a remote terminal.
- the method for implementing communication is provided. It mainly includes the following steps:
- Step 401 Acquire a ProSe ID and/or a first identifier of the relay terminal.
- the first identifier is an identifier or a prefix of communication within the coverage of the relay terminal.
- the relay terminal is a relay terminal that allows an operation within a relay.
- the acquiring the ProSe ID and/or the first identifier of the relay terminal includes:
- the relay terminal Receiving a first broadcast message sent by the relay terminal, where the first broadcast message includes a ProSe ID and/or a first identifier of the relay terminal;
- Parsing the first broadcast message acquiring a ProSe ID and/or a first identifier of the relay terminal.
- the method before receiving the first broadcast message sent by the relay terminal, the method includes:
- the second broadcast message is used to query whether there is a relay terminal available around.
- the remote terminal may also passively wait to receive the first broadcast message sent by the relay terminal.
- Step 402 Generate a second identifier according to the ProSe ID and/or the first identifier.
- the second identifier may be generated by the following two preferred methods, but is not limited to the following two manners.
- the generating the second identifier according to the ProSe ID and/or the first identifier includes:
- the first algorithm may be a hash algorithm.
- the generating the second identifier according to the ProSe ID and/or the first identifier includes:
- a random number is generated locally, and the random number is combined with the first identifier to generate a second identifier.
- the second identifier is an identifier used for communication with the relay terminal.
- Step 403 Send a setup communication request carrying the second identifier to the relay terminal, and when receiving the establishment communication response sent by the relay terminal, perform the base station and the relay terminal based on the second identifier. Communication.
- the method further includes:
- the second identifier is regenerated according to the ProSe ID and/or the first identifier.
- the embodiment of the present invention further describes a computer storage medium, wherein the computer storage medium stores a computer program, and the computer program is used to execute the method for implementing communication shown in FIG. 4 in the embodiment of the present invention.
- the embodiment of the present invention provides a method for implementing communication.
- the method for implementing communication in this embodiment is applied to a relay terminal.
- the method for implementing communication is provided. It mainly includes the following steps:
- Step 501 Send a first broadcast message to the remote terminal.
- the first broadcast message includes a ProSe ID and/or a first identifier of the relay terminal, where the first identifier is an identifier or a prefix of communication within the coverage of the relay terminal.
- the manner of sending the first broadcast message to the remote terminal is:
- Step 502 Receive an establishment communication request that is sent by the remote terminal and carries the second identifier.
- Step 503 Detect whether the second identifier conflicts with the used identifier in the relay terminal. If there is no conflict, send a communication response to the remote terminal, so that the remote terminal is based on the second identifier. Communicating with the relay terminal.
- the method further includes:
- the method before the sending the first broadcast message to the remote terminal, the method further includes:
- the relay terminal acquires the first message from the network side by using an authorization process, where the first message includes ProSe ID information, and information about whether to allow the relay operation.
- the first message further includes a first parameter used to generate the first identifier.
- the first identifier is generated by:
- ProSe ID Generated by ProSe ID, generated by the first parameter, or generated by local configuration.
- the embodiment of the present invention further describes a computer storage medium, wherein the computer storage medium stores a computer program, and the computer program is used to execute the method for implementing communication shown in FIG. 5 in the embodiment of the present invention.
- FIG. 6 is a schematic structural diagram of a first terminal that implements communication according to an embodiment of the present invention.
- the first terminal includes: a first acquiring module 61, a first generating module 62, and a first communications module 63. ;among them,
- the first obtaining module 61 is configured to acquire a ProSe ID and/or a first identifier of the relay terminal, where the first identifier is an identifier or a prefix of the communication within the coverage of the relay terminal;
- the first generating module 62 is configured to generate a second identifier according to the ProSe ID and/or the first identifier, where the second identifier is an identifier used for communicating with the relay terminal;
- the first communication module 63 is configured to send, to the relay terminal, the second label And establishing a communication request, and when receiving the establishment communication response sent by the relay terminal, communicating with the relay terminal based on the second identifier.
- the first terminal further includes a receiving module 64 configured to receive a first broadcast message sent by the relay terminal, where the first broadcast message includes a ProSe ID and/or a first identifier of the relay terminal ;
- the first obtaining module 61 is configured to parse the first broadcast message, and obtain a ProSe ID and/or a first identifier of the relay terminal.
- the first communication module 63 is further configured to:
- the receiving module 64 receives the first broadcast message sent by the relay terminal, sending the second broadcast message; wherein the second broadcast message is used to query whether there is a relay terminal available around.
- the first communication module 63 block is further configured to:
- the second identifier is regenerated according to the ProSe ID and/or the first identifier.
- the first generating module 62 is further configured to:
- the first algorithm is a hash algorithm.
- the first generating module 62 is further configured to:
- a random number is generated locally, and the random number is combined with the first identifier to generate a second identifier.
- the first terminal may be a remote terminal such as a smart phone or a tablet computer in an actual application.
- the first acquiring module 61 and the first generating module in the first terminal may be implemented by a central processing unit (CPU), a digital signal processor (DSP), or a field in the first terminal.
- CPU central processing unit
- DSP digital signal processor
- FPGA Field Programmable Gate Array
- FIG. 7 is a schematic structural diagram of a second terminal that implements communication according to an embodiment of the present invention.
- the second terminal includes a sending module 71, a second communications module 72, and a detecting module 73.
- the sending module 71 is configured to send a first broadcast message to the remote terminal, where the first broadcast message includes a ProSe ID and/or a first identifier of the relay terminal, where the first identifier is The identifier or prefix of the communication within the coverage of the relay terminal;
- the second communication module 72 is configured to receive a setup communication request that is sent by the remote terminal and that carries the second identifier.
- the second communication module is configured to send the remote terminal to the remote terminal. Establishing a communication response, so that the remote terminal communicates with the relay terminal based on the second identifier;
- the detecting module 73 is configured to detect whether the second identifier conflicts with the used identifier in the relay terminal.
- the second communication module 72 is further configured to:
- the detection result of the detection module is that there is a conflict, the communication request is not responded to.
- the sending module 71 sends the first broadcast message to the remote terminal by:
- the first broadcast message is sent to the remote terminal, or the first broadcast message is sent to the remote terminal when receiving the query request sent by the remote terminal.
- the second terminal further includes a second obtaining module 74 configured to acquire the first message from the network side by using an authorization process.
- the first message includes ProSe ID information, and information about whether to allow a relay operation.
- the first message further includes a first parameter configured to generate the first identifier.
- the second terminal further includes a second generating module 75 configured to generate the first identifier.
- the second generating module generates the first identifier by using a ProSe ID, or by using the first parameter, or by using a local configuration.
- the second terminal may be a relay terminal such as a mobile phone or a tablet that is allowed to perform a relay operation in an actual application.
- the sending module 71, the second communication module 72, the detecting module 73, the second obtaining module 74, and the second generating module 75 in the second terminal may be used by the second terminal in practical applications.
- FIG. 8 is a schematic structural diagram of a system for implementing communication according to an embodiment of the present invention. As shown in FIG. 8, the system includes at least a remote terminal 81, a relay terminal 82, and a network side authorization network element 83, where :
- the remote terminal 81 is configured to acquire a ProSe ID and/or a first identifier of the relay terminal 82, where the first identifier is an identifier or a prefix of the communication within the coverage of the relay terminal 82; Generating a second identifier by the ProSe ID and/or the first identifier, wherein the second identifier is an identifier for communicating with the relay terminal 82; and transmitting the second identifier to the relay terminal 82 Establishing a communication request, when receiving the establishment communication response sent by the relay terminal 82, communicating with the relay terminal 82 based on the second identifier;
- the relay terminal 82 is configured to send a first broadcast message to the remote terminal 81;
- the first broadcast message includes a ProSe ID and/or a first identifier of the relay terminal 82; receiving an establishment communication request that is sent by the remote terminal 81 and carrying the second identifier; and detecting whether the second identifier is If there is a conflict in the used identifiers in the terminal, when the detection result is that there is no conflict, the establishing a communication response is sent to the remote terminal 81, so that the remote terminal 81 is based on the second identifier and the relay terminal. 82 to communicate;
- the network side authorization network element 83 is configured to authorize the relay terminal 82 to send a first message to the relay terminal 82.
- the first message includes ProSe ID information, and is allowed to be performed. Following the information of the operation.
- the first message further includes a first parameter used to generate the first identifier.
- FIG. 6 a schematic structural diagram of the remote terminal 81 is shown in FIG. 6, and a schematic structural diagram of the relay terminal 82 is shown in FIG. 7.
- the system for implementing communication may be disposed in a communication system.
- the generation of the foregoing communication identifier may be used for establishing a unicast communication between the remote terminal and the relay node, and may also be used for other modes that need to use the identity communication.
- the unicast communication is taken as an example in the following description of the embodiment, but the use of the identifier may not be limited thereto.
- the remote terminal can communicate with the network through the relay terminal, and the subsequent communication can continue to use the communication identifier, and the communication identifier can be re-allocated by the network.
- FIG. 9 is a schematic flowchart of a process for generating a communication identifier by a remote terminal in a first mode scenario according to an embodiment of the present invention.
- the first mode refers to that the relay terminal enables the remote terminal to discover itself through broadcast.
- the process mainly includes the following steps:
- Step 901 The relay UE acquires the first message from the network side by using an authorization process.
- the first message includes ProSe ID information, and information as to whether or not to perform a relay operation.
- the first message may further carry a first parameter, where the first parameter is used to generate a first identifier, where the first identifier refers to an identifier or a prefix of communication within the current coverage of the relay terminal. .
- the current coverage of the relay terminal may be simply referred to as a relay.
- the ProSe ID is obtained from an authorized network element on the network side.
- Step 902 The relay terminal generates a first identifier, that is, generates an identifier or a prefix for communication in the current coverage of the relay terminal.
- the first identifier can be identified as follows:
- the local configuration is generated.
- Step 903 The relay terminal sends a first broadcast message to the remote terminal (remote UE).
- the first broadcast message carries at least the ProSe ID of the relay terminal.
- the first identifier may also be carried in the first broadcast message.
- step 902 and the step 903 do not have a sequence, and the two can be interchanged.
- Step 904 The remote terminal generates a second identifier locally according to the first broadcast message, that is, generates an identifier for communicating with the relay terminal.
- the remote terminal if the first broadcast message does not have the first identifier, the remote terminal generates the second identifier according to the ProSe ID; if the first broadcast message carries the first identifier, the remote end The terminal generates a second identifier according to the identifier or prefix of the communication in the relay.
- the second identifier may be generated by, but not limited to, the following:
- the remote terminal locally generates a random number, and generates a second identifier by using a hash algorithm and a ProSe ID weight.
- the remote terminal locally generates a random number, and combines with the identifier or prefix of the communication in the relay in the first broadcast message in step 903 to generate a complete second identifier.
- Step 905 The remote terminal sends a request for establishing a unicast communication to the relay terminal.
- the unicast request carries the second identifier generated in step 904.
- Step 906 The relay terminal performs collision detection on the second identifier of the remote terminal.
- the relay terminal responds to the establishment of the unicast communication request, and saves the second identifier locally, and uses the second identifier for subsequent other operations in the relay. Collision detection of the remote terminal.
- the remote terminal receiving the unicast communication request response is received, and the second identifier can be used in the subsequent communication with the relay terminal.
- the relay terminal if the detection result is a conflict, the relay terminal does not respond to the establishment of the unicast communication request.
- the remote terminal does not receive the response message, the second identifier needs to be generated according to step 904.
- the remote terminal performs the next operation according to the conflict detection result.
- the second identifier needs to be regenerated; if the detection result is no conflict, the relay may be followed by the relay.
- the second identifier is used in the process of communication by the terminal.
- FIG. 10 is a schematic flowchart of a process for generating a communication identifier by a remote terminal in a second mode scenario according to an embodiment of the present invention.
- the second mode refers to that the remote terminal broadcasts a relay terminal by broadcasting to broadcast, thereby making the far
- the terminal terminal can discover the relay terminal.
- the process mainly includes the following steps:
- Step 1001 The relay UE acquires the first message from the network side by using an authorization process.
- the first message includes ProSe ID information and information whether a relay operation is allowed.
- the first message may also carry a first parameter used to generate the first identifier.
- the first identifier is an identifier or a prefix of communication within the current coverage of the relay terminal.
- the current coverage of the relay terminal may be simply referred to as a relay.
- the ProSe ID is obtained from an authorized network element on the network side.
- Step 1002 The remote terminal sends a second broadcast message.
- the second broadcast message is used to query whether there is a relay terminal available around.
- the relay terminal may be a relay terminal around the remote terminal, for example, within 1 km.
- Step 1003 After receiving the second broadcast message, the relay terminal generates a first identifier.
- the relay terminal may generate the first identifier by:
- the local configuration is generated.
- the first identifier may be carried in the first broadcast message.
- the first broadcast message is a message that the relay terminal sends to the remote terminal.
- the relay terminal may generate a first identifier before receiving the second broadcast message, and send a first broadcast message to the remote terminal after receiving the second broadcast message.
- Step 1004 The relay terminal sends a first broadcast message to the remote terminal.
- the first broadcast message carries the ProSe ID of the relay terminal.
- the first identifier may also be carried in the first broadcast message.
- the relay terminal finds that there is a remote terminal around itself by listening to the broadcast, and hopes to respond to this, and sends a first broadcast message to the remote terminal to broadcast its own ProSe ID.
- Step 1005 The remote terminal locally generates a second identifier according to the first broadcast message.
- the second identifier is an identifier for communicating with the relay terminal.
- the remote terminal if the first identifier does not carry the first identifier, the remote terminal generates the second identifier according to the ProSe ID; if the first broadcast message carries the first identifier, the far The terminal terminal generates a second identifier according to the identifier or prefix of the communication in the relay.
- the second identifier may be generated by, but not limited to, the following:
- the remote terminal locally generates a random number, and generates a second identifier by using a hash algorithm and a ProSe ID weight.
- the remote terminal locally generates a random number, and combines with the identifier or prefix of the communication in the relay in the first broadcast message in step 1004 to generate a complete second identifier.
- Step 1006 The remote terminal sends a request for establishing a unicast communication to the relay terminal.
- the unicast request carries the second identifier generated in step 1005.
- Step 1007 The relay terminal performs collision detection on the second identifier of the remote terminal.
- the relay terminal responds to the establishment of the unicast communication request, and saves the second identifier locally, and uses the second identifier for subsequent other operations in the relay. Collision detection of the remote terminal.
- the remote terminal receiving the unicast communication request response is received, and the second identifier can be used in the subsequent communication with the relay terminal.
- the relay terminal if the detection result is a conflict, the relay terminal does not respond to the establishment of the unicast communication request. Correspondingly, if the remote terminal does not receive the response message, the second identifier needs to be generated according to step 1005.
- the remote terminal performs the next operation according to the conflict detection result.
- the second identifier needs to be regenerated; if the detection result is no conflict, the relay may be followed by the relay.
- the second identifier is used in the process of communication by the terminal.
- the short-distance service identifier (ProSe ID) and/or the first identifier of the relay terminal are obtained; wherein the first identifier is an identifier or a prefix of the communication within the coverage of the relay terminal; Generating, by the ProSe ID and/or the first identifier, a second identifier, where the second identifier is an identifier used for communicating with the relay terminal; and sending, by the relay terminal, the second identifier Establishing a communication request, when receiving the establishment communication response sent by the relay terminal, communicating with the relay terminal based on the second identifier; thus, enabling the remote terminal to establish with the relay terminal Communication, thereby satisfying the need for the remote terminal to communicate with the network by means of the relay terminal.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Disclosed are a communication method, terminal, system and computer storage medium. The method comprises: obtaining a proximity-based service identification (ProSe ID) and/or a first identification of a relay terminal, wherein the first identification is an identification or a prefix of communication in a coverage of the relay terminal; generating a second identification according to the ProSe ID and/or the first identification, wherein the second identification is an identification used to communicate with the relay terminal; transmitting, to the relay terminal, a communication establishment request carrying the second identification, and upon receipt of a communication establishment response transmitted by the relay terminal, communicating with the relay terminal on the basis of the second identification.
Description
本发明涉及移动通信技术,尤其涉及一种实现通信的方法、终端、系统及计算机存储介质。The present invention relates to mobile communication technologies, and in particular, to a method, a terminal, a system, and a computer storage medium for implementing communication.
为了保持第三代移动通信系统在通信领域的竞争力,为用户提供速率更快、时延更低、个性化更强的移动通信服务,同时,也为了降低运营商的运营成本,第三代合作伙伴计划(3GPP,Third Generation Partnership Project)标准工作组正致力于演进分组系统(EPS,Evolved Packet System)的研究。In order to maintain the competitiveness of the third-generation mobile communication system in the communication field, it provides users with faster, less delayed, and more personalized mobile communication services, and at the same time, in order to reduce the operating costs of operators, the third generation The Standards Working Group of the 3GPP (Third Generation Partnership Project) is working on the Evolved Packet System (EPS).
当两个终端通过EPS网络进行通信时,两个终端需要分别建立EPS承载。但是,考虑到终端以及各种移动互联网业务的快速发展,很多业务希望能够发现临近的朋友并且进行通信,因此催生了基于近距离业务(ProSe,Proximity-based Services)。支持ProSe功能的终端可以通过网络授权的特定资源进行通信,此时的通信路径可以不绕回到核心网,这种通信方式一方面减少了数据路由的迂回,另一方面也减少了网络数据负荷。When two terminals communicate through the EPS network, the two terminals need to establish EPS bearers separately. However, considering the rapid development of terminals and various mobile Internet services, many businesses hope to discover neighboring friends and communicate, thus spawning ProSeimity-based Services. A terminal supporting ProSe function can communicate through a specific resource authorized by the network, and the communication path at this time can not be returned to the core network. This communication method reduces the round trip of data routing on the one hand, and reduces the network data load on the other hand. .
ProSe引入后,网络新增了一些网元和接口来支持ProSe功能。图1为ProSe功能引入后主要网元的结构示意图,如图1所示,支持ProSe功能的终端A/终端B(UE A/UE B)在从网络侧获得授权后,可以彼此发现以及通信。下面就图1中的主要网元进行简要介绍:After the introduction of ProSe, the network added some network elements and interfaces to support ProSe functions. FIG. 1 is a schematic structural diagram of a primary network element after the introduction of the ProSe function. As shown in FIG. 1 , the terminal A/terminal B (UE A/UE B) supporting the ProSe function can discover and communicate with each other after obtaining authorization from the network side. The following is a brief introduction to the main network elements in Figure 1:
ProSe功能实体:为了支持ProSe而引入,主要是完成对UE发现和被发现的授权,以及匹配。在某些解决方案中,该网元还负责协议UE进行彼此发现。
ProSe functional entity: introduced to support ProSe, mainly to complete the authorization and matching of UE discovery and discovery. In some solutions, the network element is also responsible for protocol UEs discovering each other.
增强的通用陆地无线接入网络(E-UTRAN,Evolved Universal Terrestrial Radio Access Network):为支持ProSe功能的终端提供底层接入,以及必要的发现和通信资源。Enhanced Evolved Universal Terrestrial Radio Access Network (E-UTRAN): Provides low-level access to ProSe-enabled terminals, as well as the necessary discovery and communication resources.
增强的数据核心网(EPC,Evolved Packet Core Network):包含移动性管理实体(MME,Mobility Management Entity)和服务网关(SGW,Serving Gateway)/分组数据网关(PGW,Packet Data Network Gateway),为终端接入ProSe功能实体提供底层接入。Enhanced Evolved Packet Core Network (EPC): includes a Mobility Management Entity (MME) and a Serving Gateway (PGW), which is a Packet Data Network Gateway (PGW). The access ProSe functional entity provides underlying access.
归属用户服务器(HSS,Home Subscriber Server):包含了归属位置寄存器(HLR,Home Location Register)的所有功能,是用户签约数据的永久存放地点,位于用户签约的归属网;引入ProSe后,该网元需要存储ProSe相关的签约数据。Home Subscriber Server (HSS): Contains all the functions of the Home Location Register (HLR), which is the permanent storage location of the user's subscription data. It is located in the home network to which the user subscribes. After the ProSe is introduced, the NE is introduced. Need to store ProSe related subscription data.
安全用户面位置平台(SLP,Secure User Plane Location Platform):用于帮助发现临近的终端。Secure User Plane Location Platform (SLP): Used to help discover nearby terminals.
ProSe应用服务器,用于提供ProSe相关应用的服务器,是运营商网络与外部服务的接口网元。The ProSe application server is a server for providing ProSe related applications, and is an interface network element of the carrier network and external services.
当终端移出网络的覆盖范围,可以借助中继(Relay)终端来实现接入到网络中获取相关信息。支持中继终端的架构图如图2所示,其中网元定义如下所述:When the terminal moves out of the coverage of the network, the relay terminal can be used to access the network to obtain related information. The architecture diagram supporting the relay terminal is shown in Figure 2, where the network element definition is as follows:
远端终端(可用Remote UE来表示):不在网络的覆盖范围内,通过中继终端获取网络的信息。The remote terminal (represented by the Remote UE): does not receive the information of the network through the relay terminal within the coverage of the network.
中继终端(可用Relay UE来表示):在网络的覆盖范围内,能够为远端终端提供服务。Relay terminal (represented by Relay UE): It can provide services for remote terminals within the coverage of the network.
基站和EPC的作用与图1类似,在此不再赘述。The role of the base station and the EPC is similar to that of FIG. 1, and details are not described herein again.
公共安全服务器,用于实现公共安全相关的通信,例如特定的组内成员通信,是图1中ProSe应用服务器的一种。
A public safety server for implementing public safety related communications, such as specific intra-group member communications, is one of the ProSe application servers in FIG.
公共安全服务器(Public Safety Server):远端终端可能使用的应用服务器之一,下发信息给中继终端和远端终端。Public Safety Server: One of the application servers that the remote terminal may use to deliver information to the relay terminal and the remote terminal.
远端终端发现中继终端并建立通信的示意图如图3所示,主要包括以下步骤:The schematic diagram of the remote terminal discovering the relay terminal and establishing communication is shown in FIG. 3, and mainly includes the following steps:
步骤301:中继终端通过授权过程,从网络侧获取基于近距离业务标识(ProSe ID),以及是否允许进行中继操作的信息。Step 301: The relay terminal acquires information based on a ProSe ID and whether to allow a relay operation from the network side through an authorization process.
步骤302:中继终端广播自己的ProSe ID。Step 302: The relay terminal broadcasts its own ProSe ID.
步骤303:周围希望通过中继终端接入网络的远端终端通过监听广播发现中继终端。Step 303: The remote terminal that wants to access the network through the relay terminal discovers the relay terminal by listening to the broadcast.
步骤304:远端终端发起与中继终端的单播通信。Step 304: The remote terminal initiates unicast communication with the relay terminal.
上述流程中,对于远端终端如何与中继终端建立单播通信没有进一步细化,对于建立单播通信中,远端终端如何生成或者获得用于通信的地址或者标识也没有进一步的说明,所以,尚无法实现单播通信。In the above process, there is no further refinement on how the remote terminal establishes unicast communication with the relay terminal. For establishing unicast communication, how the remote terminal generates or obtains the address or identifier for communication does not further explain, so Unicast communication is not yet possible.
由于目前远端终端发起与中继终端的通信尚处于讨论阶段,因此,还没有相关的技术可供参考,如何确保远端终端与中继终端的通信称为亟待解决的问题。Since the communication between the remote terminal and the relay terminal is still in the discussion stage, there is no related technology for reference. How to ensure the communication between the remote terminal and the relay terminal is called an urgent problem to be solved.
发明内容Summary of the invention
有鉴于此,本发明实施例期望提供一种实现通信的方法、终端、系统及计算机存储介质,能使远端终端能够与中继终端建立通信,进而满足远端终端借助中继终端与网络进行通信的需求。In view of this, embodiments of the present invention are directed to a method, a terminal, a system, and a computer storage medium for implementing communication, which enable a remote terminal to establish communication with a relay terminal, thereby satisfying the remote terminal and the network by using the relay terminal and the network. The need for communication.
为达到上述目的,本发明实施例的技术方案是这样实现的:To achieve the above objective, the technical solution of the embodiment of the present invention is implemented as follows:
本发明实施例提供了一种实现通信的方法,所述方法应用于远端终端中,该方法包括:An embodiment of the present invention provides a method for implementing communication, where the method is applied to a remote terminal, and the method includes:
获取中继终端的ProSe ID和/或第一标识;其中,所述第一标识是所述中继终端覆盖范围内通信的标识或前缀;
Obtaining a ProSe ID and/or a first identifier of the relay terminal; wherein the first identifier is an identifier or a prefix of communication within the coverage of the relay terminal;
根据所述ProSe ID和/或所述第一标识生成第二标识,其中,所述第二标识是用于与所述中继终端通信的标识;Generating a second identifier according to the ProSe ID and/or the first identifier, where the second identifier is an identifier used for communicating with the relay terminal;
向所述中继终端发送携带有所述第二标识的建立通信请求,当接收到所述中继终端发送的建立通信响应时,基于所述第二标识与所述中继终端进行通信。Transmitting, by the relay terminal, a setup communication request carrying the second identifier, and when receiving the setup communication response sent by the relay terminal, performing communication with the relay terminal based on the second identifier.
上述方案中,所述获取中继终端的基于ProSe ID和/或第一标识,包括:In the foregoing solution, the acquiring the ProSe ID and/or the first identifier of the relay terminal includes:
接收中继终端发送的第一广播消息;其中,所述第一广播消息包括所述中继终端的ProSe ID和/或第一标识;Receiving a first broadcast message sent by the relay terminal, where the first broadcast message includes a ProSe ID and/or a first identifier of the relay terminal;
解析所述第一广播消息,获取所述中继终端的ProSe ID和/或第一标识。Parsing the first broadcast message, acquiring a ProSe ID and/or a first identifier of the relay terminal.
上述方案中,所述接收中继终端发送的第一广播消息之前,包括:In the above solution, before receiving the first broadcast message sent by the relay terminal, the method includes:
发送第二广播消息;其中,所述第二广播消息用于询问周围是否有可用的中继终端。Sending a second broadcast message; wherein the second broadcast message is used to query whether there is a relay terminal available around.
上述方案中,所述方法还包括:In the above solution, the method further includes:
当预设时间内未接收到所述中继终端发送的建立通信响应时,根据所述ProSe ID和/或所述第一标识重新生成第二标识。And when the setup communication response sent by the relay terminal is not received within a preset time, the second identifier is regenerated according to the ProSe ID and/or the first identifier.
上述方案中,所述根据所述ProSe ID和/或所述第一标识生成第二标识,包括:In the above solution, the generating the second identifier according to the ProSe ID and/or the first identifier includes:
本地生成一个随机数,利用第一算法,将所述随机数与所述ProSe ID加权生成第二标识。Generating a random number locally, and using the first algorithm, weighting the random number and the ProSe ID to generate a second identifier.
上述方案中,所述根据所述ProSe ID和/或所述第一标识生成第二标识,包括:In the above solution, the generating the second identifier according to the ProSe ID and/or the first identifier includes:
本地生成一个随机数,将所述随机数与所述第一标识结合生成第二标识。A random number is generated locally, and the random number is combined with the first identifier to generate a second identifier.
本发明实施例还提供了一种实现通信的方法,所述方法应用于中继终端中,该方法包括:
An embodiment of the present invention further provides a method for implementing communication, where the method is applied to a relay terminal, and the method includes:
向远端终端发送第一广播消息;其中,所述第一广播消息包括所述中继终端的ProSe ID和/或第一标识,所述第一标识是所述中继终端覆盖范围内通信的标识或前缀;Transmitting, by the remote terminal, a first broadcast message, where the first broadcast message includes a ProSe ID and/or a first identifier of the relay terminal, where the first identifier is a communication within the coverage of the relay terminal Identification or prefix;
接收所述远端终端发送的携带有第二标识的建立通信请求;Receiving, by the remote terminal, a setup communication request that carries the second identifier;
检测所述第二标识是否与所述中继终端内已用标识存在冲突,如果不存在冲突,向所述远端终端发送建立通信响应,以使所述远端终端基于所述第二标识与所述中继终端进行通信。Detecting whether the second identifier conflicts with the used identifier in the relay terminal, and if there is no conflict, sending a setup communication response to the remote terminal, so that the remote terminal is based on the second identifier The relay terminal performs communication.
上述方案中,所述方法还包括:In the above solution, the method further includes:
如果检测结果为存在冲突时,对所述建立通信请求不作响应。If the detection result is that there is a conflict, the communication request is not responded to.
上述方案中,所述向远端终端发送第一广播消息的方式为:In the foregoing solution, the method for sending the first broadcast message to the remote terminal is:
主动向远端终端发送第一广播消息,或者,接收到远端终端发送的询问请求时,向所述远端终端发送第一广播消息。The first broadcast message is sent to the remote terminal, or the first broadcast message is sent to the remote terminal when receiving the query request sent by the remote terminal.
上述方案中,所述向远端终端发送第一广播消息之前,所述方法还包括:In the above solution, before the sending the first broadcast message to the remote terminal, the method further includes:
所述中继终端通过授权过程从网络侧获取第一消息;其中,所述第一消息中包括ProSe ID信息、是否允许进行中继操作的信息。The relay terminal acquires the first message from the network side by using an authorization process, where the first message includes ProSe ID information, and information about whether to allow the relay operation.
上述方案中,所述第一消息中还包括用于生成第一标识的第一参数。In the above solution, the first message further includes a first parameter used to generate the first identifier.
上述方案中,所述第一标识的生成方式为:In the above solution, the first identifier is generated by:
通过ProSe ID生成,或通过所述第一参数生成,或通过本地配置生成。Generated by ProSe ID, generated by the first parameter, or generated by local configuration.
本发明实施例还提供了一种实现通信的第一终端,所述第一终端包括:第一获取模块、第一生成模块和第一通信模块;其中,The embodiment of the present invention further provides a first terminal that implements communication, where the first terminal includes: a first acquiring module, a first generating module, and a first communications module;
所述第一获取模块,配置为获取中继终端的ProSe ID和/或第一标识;其中,所述第一标识是所述中继终端覆盖范围内通信的标识或前缀;The first obtaining module is configured to obtain a ProSe ID and/or a first identifier of the relay terminal, where the first identifier is an identifier or a prefix of the communication within the coverage of the relay terminal;
所述第一生成模块,配置为根据所述ProSe ID和/或所述第一标识生成第二标识,其中,所述第二标识是用于与所述中继终端通信的标识;
The first generating module is configured to generate a second identifier according to the ProSe ID and/or the first identifier, where the second identifier is an identifier used for communicating with the relay terminal;
所述第一通信模块,配置为向所述中继终端发送携带有所述第二标识的建立通信请求,当接收到所述中继终端发送的建立通信响应时,基于所述第二标识与所述中继终端进行通信。The first communication module is configured to send, to the relay terminal, a setup communication request that carries the second identifier, and when receiving the setup communication response sent by the relay terminal, based on the second identifier The relay terminal performs communication.
上述方案中,所述第一终端还包括接收模块;其中,In the above solution, the first terminal further includes a receiving module, where
所述接收模块,配置为接收中继终端发送的第一广播消息;其中,所述第一广播消息包括所述中继终端的ProSe ID和/或第一标识;The receiving module is configured to receive a first broadcast message sent by the relay terminal, where the first broadcast message includes a ProSe ID and/or a first identifier of the relay terminal;
相应地,所述第一获取模块,配置为解析所述第一广播消息,获取所述中继终端的ProSe ID和/或第一标识。Correspondingly, the first acquiring module is configured to parse the first broadcast message, and obtain a ProSe ID and/or a first identifier of the relay terminal.
上述方案中,所述第一通信模块还配置为:In the above solution, the first communication module is further configured to:
在所述接收模块接收中继终端发送的第一广播消息之前,发送第二广播消息;其中,所述第二广播消息用于询问周围是否有可用的中继终端。Before the receiving module receives the first broadcast message sent by the relay terminal, sending a second broadcast message, where the second broadcast message is used to query whether there is a relay terminal available around.
上述方案中,所述第一通信模块还配置为:In the above solution, the first communication module is further configured to:
当预设时间内未接收到所述中继终端发送的建立通信响应时,根据所述ProSe ID和/或所述第一标识重新生成第二标识。And when the setup communication response sent by the relay terminal is not received within a preset time, the second identifier is regenerated according to the ProSe ID and/or the first identifier.
上述方案中,所述第一生成模块,还配置为:In the foregoing solution, the first generating module is further configured to:
本地生成一个随机数,利用第一算法,将所述随机数与所述ProSe ID加权生成第二标识。Generating a random number locally, and using the first algorithm, weighting the random number and the ProSe ID to generate a second identifier.
上述方案中,所述第一生成模块,还配置为:In the foregoing solution, the first generating module is further configured to:
本地生成一个随机数,将所述随机数与所述第一标识结合生成第二标识。A random number is generated locally, and the random number is combined with the first identifier to generate a second identifier.
本发明实施例还提供了一种实现通信的第二终端,所述第二终端包括发送模块、第二通信模块和检测模块;其中,The embodiment of the present invention further provides a second terminal that implements communication, where the second terminal includes a sending module, a second communications module, and a detecting module;
所述发送模块,配置为向远端终端发送第一广播消息;其中,所述第一广播消息包括所述中继终端的ProSe ID和/或第一标识,所述第一标识是所述中继终端覆盖范围内通信的标识或前缀;
The sending module is configured to send a first broadcast message to the remote terminal, where the first broadcast message includes a ProSe ID and/or a first identifier of the relay terminal, where the first identifier is the middle An identifier or prefix that communicates within the coverage of the terminal;
所述第二通信模块,配置为接收所述远端终端发送的携带有第二标识的建立通信请求;当所述检测模块的检测结果为不存在冲突时,向所述远端终端发送建立通信响应,以使所述远端终端基于所述第二标识与所述中继终端进行通信;The second communication module is configured to receive a setup communication request that is sent by the remote terminal and that carries the second identifier. When the detection result of the detection module is that there is no conflict, send the establishment communication to the remote terminal. Responding to enable the remote terminal to communicate with the relay terminal based on the second identifier;
所述检测模块,配置为检测所述第二标识是否与所述中继终端内已用标识存在冲突。The detecting module is configured to detect whether the second identifier conflicts with the used identifier in the relay terminal.
上述方案中,所述第二通信模块,还配置为:In the above solution, the second communication module is further configured to:
当所述检测模块的检测结果为存在冲突时,对所述建立通信请求不作响应。When the detection result of the detection module is that there is a conflict, the communication request is not responded to.
上述方案中,所述发送模块向远端终端发送第一广播消息的方式为:In the above solution, the sending module sends the first broadcast message to the remote terminal by:
主动向远端终端发送第一广播消息,或者,接收到远端终端发送的询问请求时,向所述远端终端发送第一广播消息。The first broadcast message is sent to the remote terminal, or the first broadcast message is sent to the remote terminal when receiving the query request sent by the remote terminal.
上述方案中,所述第二终端还包括第二获取模块,配置为通过授权过程从网络侧获取第一消息;其中,所述第一消息中包括ProSe ID信息、是否允许进行中继操作的信息。In the foregoing solution, the second terminal further includes a second acquiring module, configured to obtain a first message from the network side by using an authorization process, where the first message includes ProSe ID information, and information about whether to allow the relay operation .
上述方案中,所述第一消息中还包括用于生成第一标识的第一参数。In the above solution, the first message further includes a first parameter used to generate the first identifier.
上述方案中,所述第二终端还包括第二生成模块,配置为生成第一标识。In the above solution, the second terminal further includes a second generating module, configured to generate the first identifier.
上述方案中,所述第二生成模块生成第一标识的方式为:通过ProSe ID生成,或通过所述第一参数生成,或通过本地配置生成。In the foregoing solution, the manner in which the second generation module generates the first identifier is generated by using a ProSe ID, or generated by using the first parameter, or generated by using a local configuration.
本发明实施例还提供了一种实现通信的系统,所述系统至少包括:远端终端、中继终端和网络侧授权网元,其中:The embodiment of the present invention further provides a system for implementing communication, where the system includes at least: a remote terminal, a relay terminal, and a network side authorized network element, where:
所述远端终端,为上文所述的第一终端;The remote terminal is the first terminal described above;
所述中继终端,为上文所述的第二终端;The relay terminal is the second terminal described above;
所述网络侧授权网元,配置为对所述中继终端进行授权,向所述中继
终端发送第一消息;其中,所述第一消息中包括ProSe ID信息、是否允许进行中继操作的信息。The network side authorized network element is configured to authorize the relay terminal to the relay
The terminal sends a first message, where the first message includes ProSe ID information, and information about whether to allow a relay operation.
上述方案中,所述第一消息中还包括用于生成第一标识的第一参数。In the above solution, the first message further includes a first parameter used to generate the first identifier.
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质中存储有计算机程序,所述计算机程序用于执行以上所述的实现通信的方法。The embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores a computer program, and the computer program is used to execute the method for implementing communication as described above.
本发明实施例所述的技术方案,远端终端从中继终端获取ProSe ID和/或第一标识;根据所述ProSe ID和/或第一标识生成第二标识;向中继终端发送建立通信请求时,在所述建立通信请求中携带所述第二标识;中继终端对远端终端的第二标识进行冲突检测;当检测结果为无冲突,远端终端可以在后续与所述中继终端进行通信的过程中使用该第二标识。如此,使远端终端能够与中继终端建立通信,从而满足远端终端借助中继终端与网络进行通信的需求。According to the technical solution of the embodiment of the present invention, the remote terminal acquires the ProSe ID and/or the first identifier from the relay terminal, generates the second identifier according to the ProSe ID and/or the first identifier, and sends a setup communication request to the relay terminal. The second identifier is carried in the establishing communication request; the relay terminal performs collision detection on the second identifier of the remote terminal; when the detection result is no conflict, the remote terminal may follow the relay terminal This second identity is used in the process of communicating. In this way, the remote terminal can establish communication with the relay terminal, thereby satisfying the requirement that the remote terminal communicate with the network by means of the relay terminal.
图1为ProSe功能引入后主要网元的结构示意图;FIG. 1 is a schematic structural diagram of a primary network element after a ProSe function is introduced;
图2为中继架构示意图;2 is a schematic diagram of a relay architecture;
图3为远端终端发现中继终端并建立通信的示意图;3 is a schematic diagram of a remote terminal discovering a relay terminal and establishing communication;
图4为本发明实施例提供的一种实现通信的方法的实现流程示意图;4 is a schematic flowchart of an implementation method of implementing communication according to an embodiment of the present invention;
图5为本发明实施例提供的另一种实现通信的方法的实现流程示意图;FIG. 5 is a schematic flowchart of another implementation method of implementing communication according to an embodiment of the present disclosure;
图6为本发明实施例提供的实现通信的第一终端的组成结构示意图;FIG. 6 is a schematic structural diagram of a first terminal for implementing communication according to an embodiment of the present disclosure;
图7为本发明实施例提供的实现通信的第二终端的组成结构示意图;FIG. 7 is a schematic structural diagram of a second terminal that implements communication according to an embodiment of the present disclosure;
图8为本发明实施例提供的一种实现通信的系统的组成结构示意图;FIG. 8 is a schematic structural diagram of a system for implementing communication according to an embodiment of the present disclosure;
图9为本发明实施例提供的第一模式场景下远端终端生成通信标识的流程图;FIG. 9 is a flowchart of generating a communication identifier by a remote terminal in a first mode scenario according to an embodiment of the present disclosure;
图10为本发明实施例提供的第二模式场景下远端终端生成通信标识的流程图。
FIG. 10 is a flowchart of generating a communication identifier by a remote terminal in a second mode scenario according to an embodiment of the present invention.
为了能够更加详尽地了解本发明的特点与技术内容,下面结合附图对本发明的实现进行详细阐述,所附附图仅供参考说明之用,并非用来限定本发明。The invention will be described in detail with reference to the accompanying drawings, and the accompanying drawings are only for the purpose of illustration.
本发明实施例提供了一种实现通信的方法,本实施例中的实现通信的方法应用于远端终端中,如图4所示,在本发明一个优选实施例中,所述实现通信的方法主要包括以下步骤:The embodiment of the present invention provides a method for implementing communication. The method for implementing communication in this embodiment is applied to a remote terminal. As shown in FIG. 4, in a preferred embodiment of the present invention, the method for implementing communication is provided. It mainly includes the following steps:
步骤401:获取中继终端的基于近距离业务标识(ProSe ID)和/或第一标识。Step 401: Acquire a ProSe ID and/or a first identifier of the relay terminal.
其中,所述第一标识是所述中继终端覆盖范围内通信的标识或前缀。The first identifier is an identifier or a prefix of communication within the coverage of the relay terminal.
这里,所述中继终端为允许进行relay内操作的中继终端。Here, the relay terminal is a relay terminal that allows an operation within a relay.
在一实施例中,所述获取中继终端的ProSe ID和/或第一标识,包括:In an embodiment, the acquiring the ProSe ID and/or the first identifier of the relay terminal includes:
接收中继终端发送的第一广播消息;其中,所述第一广播消息包括所述中继终端的ProSe ID和/或第一标识;Receiving a first broadcast message sent by the relay terminal, where the first broadcast message includes a ProSe ID and/or a first identifier of the relay terminal;
解析所述第一广播消息,获取所述中继终端的ProSe ID和/或第一标识。Parsing the first broadcast message, acquiring a ProSe ID and/or a first identifier of the relay terminal.
在一实施例中,所述接收中继终端发送的第一广播消息之前,包括:In an embodiment, before receiving the first broadcast message sent by the relay terminal, the method includes:
发送第二广播消息。Send a second broadcast message.
其中,所述第二广播消息用于询问周围是否有可用的中继终端。The second broadcast message is used to query whether there is a relay terminal available around.
当然,所述远端终端也可以被动等待接收由中继终端发送的第一广播消息。Of course, the remote terminal may also passively wait to receive the first broadcast message sent by the relay terminal.
步骤402:根据所述ProSe ID和/或所述第一标识生成第二标识。Step 402: Generate a second identifier according to the ProSe ID and/or the first identifier.
这里,可以通过以下两种优选方式来生成第二标识,但不限于以下两种方式。Here, the second identifier may be generated by the following two preferred methods, but is not limited to the following two manners.
在一实施例中,所述根据所述ProSe ID和/或所述第一标识生成第二标识,包括:
In an embodiment, the generating the second identifier according to the ProSe ID and/or the first identifier includes:
本地生成一个随机数,利用第一算法,将所述随机数与所述ProSe ID加权生成第二标识。Generating a random number locally, and using the first algorithm, weighting the random number and the ProSe ID to generate a second identifier.
在一实施例中,所述第一算法可以为哈希(Hash)算法。In an embodiment, the first algorithm may be a hash algorithm.
在一实施例中,所述根据所述ProSe ID和/或所述第一标识生成第二标识,包括:In an embodiment, the generating the second identifier according to the ProSe ID and/or the first identifier includes:
本地生成一个随机数,将所述随机数与所述第一标识结合生成第二标识。A random number is generated locally, and the random number is combined with the first identifier to generate a second identifier.
其中,所述第二标识是用于与所述中继终端通信的标识。The second identifier is an identifier used for communication with the relay terminal.
步骤403:向所述中继终端发送携带有所述第二标识的建立通信请求,当接收到所述中继终端发送的建立通信响应时,基于所述第二标识与所述中继终端进行通信。Step 403: Send a setup communication request carrying the second identifier to the relay terminal, and when receiving the establishment communication response sent by the relay terminal, perform the base station and the relay terminal based on the second identifier. Communication.
在一实施例中,所述方法还包括:In an embodiment, the method further includes:
当预设时间内未接收到所述中继终端发送的建立通信响应时,根据所述ProSe ID和/或所述第一标识重新生成第二标识。And when the setup communication response sent by the relay terminal is not received within a preset time, the second identifier is regenerated according to the ProSe ID and/or the first identifier.
本发明实施例还记载一种计算机存储介质,所述计算机存储介质中存储有计算机程序,所述计算机程序用于执行本发明实施例中图4所示的实现通信的方法。The embodiment of the present invention further describes a computer storage medium, wherein the computer storage medium stores a computer program, and the computer program is used to execute the method for implementing communication shown in FIG. 4 in the embodiment of the present invention.
本发明实施例提供了一种实现通信的方法,本实施例中的实现通信的方法应用于中继终端中,如图5所示,在本发明一个优选实施例中,所述实现通信的方法主要包括以下步骤:The embodiment of the present invention provides a method for implementing communication. The method for implementing communication in this embodiment is applied to a relay terminal. As shown in FIG. 5, in a preferred embodiment of the present invention, the method for implementing communication is provided. It mainly includes the following steps:
步骤501:向远端终端发送第一广播消息。Step 501: Send a first broadcast message to the remote terminal.
其中,所述第一广播消息包括所述中继终端的ProSe ID和/或第一标识;其中,所述第一标识是所述中继终端覆盖范围内通信的标识或前缀。The first broadcast message includes a ProSe ID and/or a first identifier of the relay terminal, where the first identifier is an identifier or a prefix of communication within the coverage of the relay terminal.
在一实施例中,所述向远端终端发送第一广播消息的方式为:In an embodiment, the manner of sending the first broadcast message to the remote terminal is:
主动向远端终端发送第一广播消息,或者,接收到远端终端发送的询
问请求时,向所述远端终端发送第一广播消息。Actively sending a first broadcast message to the remote terminal, or receiving a request sent by the remote terminal
When the request is made, the first broadcast message is sent to the remote terminal.
步骤502:接收所述远端终端发送的携带有第二标识的建立通信请求。Step 502: Receive an establishment communication request that is sent by the remote terminal and carries the second identifier.
步骤503:检测所述第二标识是否与中继终端内已用标识存在冲突,如果不存在冲突,向所述远端终端发送建立通信响应,以使所述远端终端基于所述第二标识与所述中继终端进行通信。Step 503: Detect whether the second identifier conflicts with the used identifier in the relay terminal. If there is no conflict, send a communication response to the remote terminal, so that the remote terminal is based on the second identifier. Communicating with the relay terminal.
在一实施例中,所述方法还包括:In an embodiment, the method further includes:
如果检测结果为存在冲突时,对所述建立通信请求不作响应。If the detection result is that there is a conflict, the communication request is not responded to.
在一实施例中,所述向远端终端发送第一广播消息之前,所述方法还包括:In an embodiment, before the sending the first broadcast message to the remote terminal, the method further includes:
所述中继终端通过授权过程从网络侧获取第一消息;其中,所述第一消息中包括ProSe ID信息、是否允许进行中继操作的信息。The relay terminal acquires the first message from the network side by using an authorization process, where the first message includes ProSe ID information, and information about whether to allow the relay operation.
在一实施例中,所述第一消息中还包括用于生成第一标识的第一参数。In an embodiment, the first message further includes a first parameter used to generate the first identifier.
在一实施例中,所述第一标识的生成方式为:In an embodiment, the first identifier is generated by:
通过ProSe ID生成,或通过所述第一参数生成,或通过本地配置生成。Generated by ProSe ID, generated by the first parameter, or generated by local configuration.
本发明实施例还记载一种计算机存储介质,所述计算机存储介质中存储有计算机程序,所述计算机程序用于执行本发明实施例中图5所示的实现通信的方法。The embodiment of the present invention further describes a computer storage medium, wherein the computer storage medium stores a computer program, and the computer program is used to execute the method for implementing communication shown in FIG. 5 in the embodiment of the present invention.
图6为本发明实施例提供的实现通信的第一终端的组成结构示意图,如图6所示,所述第一终端包括:第一获取模块61、第一生成模块62和第一通信模块63;其中,FIG. 6 is a schematic structural diagram of a first terminal that implements communication according to an embodiment of the present invention. As shown in FIG. 6, the first terminal includes: a first acquiring module 61, a first generating module 62, and a first communications module 63. ;among them,
所述第一获取模块61,配置为获取中继终端的ProSe ID和/或第一标识;其中,所述第一标识是所述中继终端覆盖范围内通信的标识或前缀;The first obtaining module 61 is configured to acquire a ProSe ID and/or a first identifier of the relay terminal, where the first identifier is an identifier or a prefix of the communication within the coverage of the relay terminal;
所述第一生成模块62,配置为根据所述ProSe ID和/或所述第一标识生成第二标识,其中,所述第二标识是用于与所述中继终端通信的标识;The first generating module 62 is configured to generate a second identifier according to the ProSe ID and/or the first identifier, where the second identifier is an identifier used for communicating with the relay terminal;
所述第一通信模块63,配置为向所述中继终端发送携带有所述第二标
识的建立通信请求,当接收到所述中继终端发送的建立通信响应时,基于所述第二标识与所述中继终端进行通信。The first communication module 63 is configured to send, to the relay terminal, the second label
And establishing a communication request, and when receiving the establishment communication response sent by the relay terminal, communicating with the relay terminal based on the second identifier.
优选地,所述第一终端还包括接收模块64,配置为接收中继终端发送的第一广播消息;其中,所述第一广播消息包括所述中继终端的ProSe ID和/或第一标识;Preferably, the first terminal further includes a receiving module 64 configured to receive a first broadcast message sent by the relay terminal, where the first broadcast message includes a ProSe ID and/or a first identifier of the relay terminal ;
相应地,所述第一获取模块61,配置为解析所述第一广播消息,获取所述中继终端的ProSe ID和/或第一标识。Correspondingly, the first obtaining module 61 is configured to parse the first broadcast message, and obtain a ProSe ID and/or a first identifier of the relay terminal.
在一实施例中,所述第一通信模块63还配置为:In an embodiment, the first communication module 63 is further configured to:
在所述接收模块64接收中继终端发送的第一广播消息之前,发送第二广播消息;其中,所述第二广播消息用于询问周围是否有可用的中继终端。And before the receiving module 64 receives the first broadcast message sent by the relay terminal, sending the second broadcast message; wherein the second broadcast message is used to query whether there is a relay terminal available around.
在一实施例中,所述第一通信模63块还配置为:In an embodiment, the first communication module 63 block is further configured to:
当预设时间内未接收到所述中继终端发送的建立通信响应时,根据所述ProSe ID和/或所述第一标识重新生成第二标识。And when the setup communication response sent by the relay terminal is not received within a preset time, the second identifier is regenerated according to the ProSe ID and/or the first identifier.
在一实施例中,所述第一生成模块62,还配置为:In an embodiment, the first generating module 62 is further configured to:
本地生成一个随机数,利用第一算法,将所述随机数与所述ProSe ID加权生成第二标识。Generating a random number locally, and using the first algorithm, weighting the random number and the ProSe ID to generate a second identifier.
在一实施例中,所述第一算法为Hash算法。In an embodiment, the first algorithm is a hash algorithm.
在一实施例中,所述第一生成模块62,还配置为:In an embodiment, the first generating module 62 is further configured to:
本地生成一个随机数,将所述随机数与所述第一标识结合生成第二标识。A random number is generated locally, and the random number is combined with the first identifier to generate a second identifier.
本领域技术人员应当理解,图6所示的第一终端中的各单元的实现功能可参照前述图4中实现通信的方法的相关描述而理解。It should be understood by those skilled in the art that the implementation functions of the units in the first terminal shown in FIG. 6 can be understood by referring to the related description of the method for implementing communication in FIG. 4 described above.
上述方案中,所述第一终端在实际应用中可以是智能手机、平板电脑等远端终端。In the foregoing solution, the first terminal may be a remote terminal such as a smart phone or a tablet computer in an actual application.
在本发明实施例中,所述第一终端中的第一获取模块61、第一生成模
块62、第一通信模块63和接收模块64,在实际应用中,均可由第一终端中的中央处理器(CPU,Central Processing Unit)、数字信号处理器(DSP,Digital Signal Processor)或现场可编程门阵列(FPGA,Field Programmable Gate Array)实现。In the embodiment of the present invention, the first acquiring module 61 and the first generating module in the first terminal
The block 62, the first communication module 63, and the receiving module 64 may be implemented by a central processing unit (CPU), a digital signal processor (DSP), or a field in the first terminal. Field Programmable Gate Array (FPGA) implementation.
图7为本发明实施例提供的实现通信的第二终端的组成结构示意图,如图7所示,所述第二终端包括发送模块71、第二通信模块72和检测模块73;其中,FIG. 7 is a schematic structural diagram of a second terminal that implements communication according to an embodiment of the present invention. As shown in FIG. 7, the second terminal includes a sending module 71, a second communications module 72, and a detecting module 73.
所述发送模块71,配置为向远端终端发送第一广播消息;其中,所述第一广播消息包括所述中继终端的ProSe ID和/或第一标识,所述第一标识是所述中继终端覆盖范围内通信的标识或前缀;The sending module 71 is configured to send a first broadcast message to the remote terminal, where the first broadcast message includes a ProSe ID and/or a first identifier of the relay terminal, where the first identifier is The identifier or prefix of the communication within the coverage of the relay terminal;
所述第二通信模块72,配置为接收所述远端终端发送的携带有第二标识的建立通信请求;当所述检测模块73的检测结果为不存在冲突时,向所述远端终端发送建立通信响应,以使所述远端终端基于所述第二标识与所述中继终端进行通信;The second communication module 72 is configured to receive a setup communication request that is sent by the remote terminal and that carries the second identifier. When the detection result of the detection module 73 is that there is no conflict, the second communication module is configured to send the remote terminal to the remote terminal. Establishing a communication response, so that the remote terminal communicates with the relay terminal based on the second identifier;
所述检测模块73,配置为检测所述第二标识是否与中继终端内已用标识存在冲突。The detecting module 73 is configured to detect whether the second identifier conflicts with the used identifier in the relay terminal.
在一实施例中,所述第二通信模块72,还配置为:In an embodiment, the second communication module 72 is further configured to:
当所述检测模块的检测结果为存在冲突时,对所述建立通信请求不作响应。When the detection result of the detection module is that there is a conflict, the communication request is not responded to.
在一实施例中,所述发送模块71向远端终端发送第一广播消息的方式为:In an embodiment, the sending module 71 sends the first broadcast message to the remote terminal by:
主动向远端终端发送第一广播消息,或者,接收到远端终端发送的询问请求时,向所述远端终端发送第一广播消息。The first broadcast message is sent to the remote terminal, or the first broadcast message is sent to the remote terminal when receiving the query request sent by the remote terminal.
在一实施例中,所述第二终端还包括第二获取模块74,配置为通过授权过程从网络侧获取第一消息。
In an embodiment, the second terminal further includes a second obtaining module 74 configured to acquire the first message from the network side by using an authorization process.
其中,所述第一消息中包括ProSe ID信息、是否允许进行中继操作的信息。The first message includes ProSe ID information, and information about whether to allow a relay operation.
在一实施例中,所述第一消息中还包括配置为生成第一标识的第一参数。In an embodiment, the first message further includes a first parameter configured to generate the first identifier.
在一实施例中,所述第二终端还包括第二生成模块75,配置为生成第一标识。In an embodiment, the second terminal further includes a second generating module 75 configured to generate the first identifier.
在一实施例中,所述第二生成模块生成第一标识的方式为:通过ProSe ID生成,或通过所述第一参数生成,或通过本地配置生成。In an embodiment, the second generating module generates the first identifier by using a ProSe ID, or by using the first parameter, or by using a local configuration.
本领域技术人员应当理解,图7所示的第二终端中的各单元的实现功能可参照前述图5中实现通信的方法的相关描述而理解。It should be understood by those skilled in the art that the implementation functions of the units in the second terminal shown in FIG. 7 can be understood by referring to the related description of the method for implementing communication in FIG. 5 described above.
上述方案中,所述第二终端在实际应用中可以是被允许进行中继操作的手机、平板等中继终端。In the above solution, the second terminal may be a relay terminal such as a mobile phone or a tablet that is allowed to perform a relay operation in an actual application.
在本发明实施例中,所述第二终端中的发送模块71、第二通信模块72和检测模块73、第二获取模块74、第二生成模块75,在实际应用中,均可由第二终端中的CPU、DSP或FPGA实现。In the embodiment of the present invention, the sending module 71, the second communication module 72, the detecting module 73, the second obtaining module 74, and the second generating module 75 in the second terminal may be used by the second terminal in practical applications. CPU, DSP or FPGA implementation.
图8为本发明实施例提供的一种实现通信的系统的组成结构示意图,如图8所示,所述系统至少包括:远端终端81、中继终端82和网络侧授权网元83,其中:FIG. 8 is a schematic structural diagram of a system for implementing communication according to an embodiment of the present invention. As shown in FIG. 8, the system includes at least a remote terminal 81, a relay terminal 82, and a network side authorization network element 83, where :
所述远端终端81,配置为获取中继终端82的ProSe ID和/或第一标识;其中,所述第一标识是所述中继终端82覆盖范围内通信的标识或前缀;根据所述ProSe ID和/或所述第一标识生成第二标识,其中,所述第二标识是用于与所述中继终端82通信的标识;向所述中继终端82发送携带有所述第二标识的建立通信请求,当接收到所述中继终端82发送的建立通信响应时,基于所述第二标识与所述中继终端82进行通信;The remote terminal 81 is configured to acquire a ProSe ID and/or a first identifier of the relay terminal 82, where the first identifier is an identifier or a prefix of the communication within the coverage of the relay terminal 82; Generating a second identifier by the ProSe ID and/or the first identifier, wherein the second identifier is an identifier for communicating with the relay terminal 82; and transmitting the second identifier to the relay terminal 82 Establishing a communication request, when receiving the establishment communication response sent by the relay terminal 82, communicating with the relay terminal 82 based on the second identifier;
所述中继终端82,配置为向远端终端81发送第一广播消息;其中,所
述第一广播消息包括所述中继终端82的ProSe ID和/或第一标识;接收所述远端终端81发送的携带有第二标识的建立通信请求;检测所述第二标识是否与中继终端内已用标识存在冲突,当检测结果为不存在冲突时,向所述远端终端81发送建立通信响应,以使所述远端终端81基于所述第二标识与所述中继终端82进行通信;The relay terminal 82 is configured to send a first broadcast message to the remote terminal 81;
The first broadcast message includes a ProSe ID and/or a first identifier of the relay terminal 82; receiving an establishment communication request that is sent by the remote terminal 81 and carrying the second identifier; and detecting whether the second identifier is If there is a conflict in the used identifiers in the terminal, when the detection result is that there is no conflict, the establishing a communication response is sent to the remote terminal 81, so that the remote terminal 81 is based on the second identifier and the relay terminal. 82 to communicate;
所述网络侧授权网元83,配置为对所述中继终端82进行授权,向所述中继终端82发送第一消息;其中,所述第一消息中包括ProSe ID信息、是否允许进行中继操作的信息。The network side authorization network element 83 is configured to authorize the relay terminal 82 to send a first message to the relay terminal 82. The first message includes ProSe ID information, and is allowed to be performed. Following the information of the operation.
优选地,所述第一消息中还包括用于生成第一标识的第一参数。Preferably, the first message further includes a first parameter used to generate the first identifier.
在一实施例中,所述远端终端81的组成结构示意图如图6所示,所述中继终端82的组成结构示意图如图7所示。In an embodiment, a schematic structural diagram of the remote terminal 81 is shown in FIG. 6, and a schematic structural diagram of the relay terminal 82 is shown in FIG. 7.
上述方案中,所述实现通信的系统可设置于通信系统中。In the above solution, the system for implementing communication may be disposed in a communication system.
上述通信标识的生成,可以用于远端终端和中继节点建立单播通信,也可以用于其他需要使用该标识通信的模式。下面实施例描述中以单播通信为实例,但是该标识的使用可以不局限于此。The generation of the foregoing communication identifier may be used for establishing a unicast communication between the remote terminal and the relay node, and may also be used for other modes that need to use the identity communication. The unicast communication is taken as an example in the following description of the embodiment, but the use of the identifier may not be limited thereto.
在完成图9或者图10的所有流程后,远端终端可以通过中继终端与网络进行通信,后续的通信可以继续使用该通信标识,也可以由网络重新分配通信标识。After all the processes of FIG. 9 or FIG. 10 are completed, the remote terminal can communicate with the network through the relay terminal, and the subsequent communication can continue to use the communication identifier, and the communication identifier can be re-allocated by the network.
图9为本发明实施例提供的第一模式场景下远端终端生成通信标识的实现流程示意图,这里,所述第一模式,是指中继终端通过广播使得远端终端能够发现自己。如图9所示,该流程主要包括以下步骤:FIG. 9 is a schematic flowchart of a process for generating a communication identifier by a remote terminal in a first mode scenario according to an embodiment of the present invention. The first mode refers to that the relay terminal enables the remote terminal to discover itself through broadcast. As shown in FIG. 9, the process mainly includes the following steps:
步骤901:中继终端(Relay UE)通过授权过程,从网络侧获取第一消息。Step 901: The relay UE acquires the first message from the network side by using an authorization process.
这里,所述第一消息包括ProSe ID信息、以及是否允许进行中继操作的信息。
Here, the first message includes ProSe ID information, and information as to whether or not to perform a relay operation.
此外,所述第一消息中还可以携带第一参数;其中,所述第一参数用于生成第一标识,所述第一标识是指所述中继终端当前覆盖范围内通信的标识或者前缀。In addition, the first message may further carry a first parameter, where the first parameter is used to generate a first identifier, where the first identifier refers to an identifier or a prefix of communication within the current coverage of the relay terminal. .
这里,所述中继终端当前覆盖范围内可以简称为relay内。Here, the current coverage of the relay terminal may be simply referred to as a relay.
在一实施例中,从网络侧的授权网元获取ProSe ID。In an embodiment, the ProSe ID is obtained from an authorized network element on the network side.
步骤902:中继终端生成第一标识,即生成用于所述中继终端当前覆盖范围内通信的标识或者前缀。Step 902: The relay terminal generates a first identifier, that is, generates an identifier or a prefix for communication in the current coverage of the relay terminal.
在一实施例中,可以通过如下方式第一标识:In an embodiment, the first identifier can be identified as follows:
根据自己的ProSe ID生成;Generated according to your own ProSe ID;
或者,根据步骤901中的第一消息所携带的第一参数生成;Or generating according to the first parameter carried in the first message in step 901;
或者,本地配置生成。Or, the local configuration is generated.
步骤903:中继终端向远端终端(remote UE)发送第一广播消息。Step 903: The relay terminal sends a first broadcast message to the remote terminal (remote UE).
其中,所述第一广播消息中至少携带有该中继终端的ProSe ID。The first broadcast message carries at least the ProSe ID of the relay terminal.
在一实施例中,在第一广播消息中还可以携带所述第一标识。In an embodiment, the first identifier may also be carried in the first broadcast message.
这里,所述步骤902和所述步骤903并不存在先后顺序,二者可以互换。Here, the step 902 and the step 903 do not have a sequence, and the two can be interchanged.
步骤904:远端终端根据所述第一广播消息本地生成第二标识,即生成用于与中继终端通信的标识。Step 904: The remote terminal generates a second identifier locally according to the first broadcast message, that is, generates an identifier for communicating with the relay terminal.
在一实施例中,如果所述第一广播消息中没有第一标识,则远端终端根据ProSe ID生成所述第二标识;如果所述第一广播消息中携带了第一标识,则远端终端根据relay内通信的标识或者前缀生成第二标识。In an embodiment, if the first broadcast message does not have the first identifier, the remote terminal generates the second identifier according to the ProSe ID; if the first broadcast message carries the first identifier, the remote end The terminal generates a second identifier according to the identifier or prefix of the communication in the relay.
在一实施例中,可以通过但不局限于如下方式生成第二标识:In an embodiment, the second identifier may be generated by, but not limited to, the following:
1.远端终端本地生成一个随机数,通过Hash算法与ProSe ID加权生成第二标识。1. The remote terminal locally generates a random number, and generates a second identifier by using a hash algorithm and a ProSe ID weight.
当前,还可以通过现有技术中的其他能进行加权计算的算法与ProSe ID
加权,在此不再赘述。Currently, other algorithms and ProSe IDs that can perform weighting calculations in the prior art are also available.
Weighting is not repeated here.
2.远端终端本地生成一个随机数,与步骤903中的第一广播消息中的relay内通信的标识或者前缀结合生成完整的第二标识。2. The remote terminal locally generates a random number, and combines with the identifier or prefix of the communication in the relay in the first broadcast message in step 903 to generate a complete second identifier.
步骤905:远端终端向中继终端发送建立单播通信请求。Step 905: The remote terminal sends a request for establishing a unicast communication to the relay terminal.
其中,所述单播请求中携带有步骤904中生成的第二标识。The unicast request carries the second identifier generated in step 904.
步骤906:中继终端对远端终端的第二标识进行冲突检测。Step 906: The relay terminal performs collision detection on the second identifier of the remote terminal.
在一实施例中,如果检测结果为无冲突,则中继终端对该建立单播通信请求进行响应,并在本地保存该第二标识,且将该第二标识用于后续进行relay内的其他远端终端的冲突检测。In an embodiment, if the detection result is no conflict, the relay terminal responds to the establishment of the unicast communication request, and saves the second identifier locally, and uses the second identifier for subsequent other operations in the relay. Collision detection of the remote terminal.
相应地,收到建立单播通信请求响应的远端终端,在后续与所述中继终端进行通信的过程中可以使用该第二标识。Correspondingly, the remote terminal receiving the unicast communication request response is received, and the second identifier can be used in the subsequent communication with the relay terminal.
在一实施例中,如果检测结果为有冲突,则中继终端不对该建立单播通信请求进行响应,相应的,远端终端如果没有接收到响应消息,需要重新按照步骤904生成第二标识。In an embodiment, if the detection result is a conflict, the relay terminal does not respond to the establishment of the unicast communication request. Correspondingly, if the remote terminal does not receive the response message, the second identifier needs to be generated according to step 904.
也就是说,所述远端终端将根据冲突检测结果执行下一步操作,当检测结果为有冲突时,需要重新生成第二标识;如果检测结果为无冲突,则可以在后续与所述中继终端进行通信的过程中使用该第二标识。That is, the remote terminal performs the next operation according to the conflict detection result. When the detection result is a conflict, the second identifier needs to be regenerated; if the detection result is no conflict, the relay may be followed by the relay. The second identifier is used in the process of communication by the terminal.
图10为本发明实施例提供的第二模式场景下远端终端生成通信标识的实现流程示意图,这里,所述第二模式,是指远端终端通过广播触发中继终端进行广播,从而使得远端终端能够发现中继终端。如图10所示,该流程主要包括以下步骤:FIG. 10 is a schematic flowchart of a process for generating a communication identifier by a remote terminal in a second mode scenario according to an embodiment of the present invention. Here, the second mode refers to that the remote terminal broadcasts a relay terminal by broadcasting to broadcast, thereby making the far The terminal terminal can discover the relay terminal. As shown in FIG. 10, the process mainly includes the following steps:
步骤1001:中继终端(Relay UE)通过授权过程,从网络侧获取第一消息。Step 1001: The relay UE acquires the first message from the network side by using an authorization process.
在一实施例中,所述第一消息包括ProSe ID信息、以及是否允许进行中继操作的信息。
In an embodiment, the first message includes ProSe ID information and information whether a relay operation is allowed.
此外,所述第一消息中还可以携带用于生成第一标识的第一参数。其中,所述第一标识是所述中继终端当前覆盖范围内通信的标识或者前缀。In addition, the first message may also carry a first parameter used to generate the first identifier. The first identifier is an identifier or a prefix of communication within the current coverage of the relay terminal.
这里,所述中继终端当前覆盖范围内可以简称为relay内。Here, the current coverage of the relay terminal may be simply referred to as a relay.
在一实施例中,从网络侧的授权网元获取ProSe ID。In an embodiment, the ProSe ID is obtained from an authorized network element on the network side.
步骤1002:远端终端(Remote UE)发送第二广播消息。Step 1002: The remote terminal sends a second broadcast message.
其中,所述第二广播消息用于询问周围是否有可用的中继终端。The second broadcast message is used to query whether there is a relay terminal available around.
这里,所述中继终端可以是该远端终端周围的中继终端,比如,1千米范围内。Here, the relay terminal may be a relay terminal around the remote terminal, for example, within 1 km.
步骤1003:中继终端接收到第二广播消息后,生成第一标识。Step 1003: After receiving the second broadcast message, the relay terminal generates a first identifier.
在一实施例中,中继终端可以通过如下方式生成所述第一标识:In an embodiment, the relay terminal may generate the first identifier by:
根据自己的ProSe ID生成;Generated according to your own ProSe ID;
或者,根据步骤1001中的第一消息所携带的参数生成;Or generating according to the parameter carried in the first message in step 1001;
或者,本地配置生成。Or, the local configuration is generated.
在一实施例中,可以在第一广播消息中携带所述第一标识。其中,所述第一广播消息为中继终端向远端终端发送的消息。In an embodiment, the first identifier may be carried in the first broadcast message. The first broadcast message is a message that the relay terminal sends to the remote terminal.
这里,所述中继终端可以在接收到第二广播消息之前,生成第一标识,待接收到第二广播消息后,向远端终端发送第一广播消息。Here, the relay terminal may generate a first identifier before receiving the second broadcast message, and send a first broadcast message to the remote terminal after receiving the second broadcast message.
步骤1004:中继终端向远端终端发送第一广播消息。Step 1004: The relay terminal sends a first broadcast message to the remote terminal.
其中,所述第一广播消息中携带有该中继终端的ProSe ID。The first broadcast message carries the ProSe ID of the relay terminal.
此外,所述第一广播消息中还可以携带第一标识。In addition, the first identifier may also be carried in the first broadcast message.
也就是说,中继终端通过监听广播来发现周围有远端终端查找自己,并且希望对此做出回应,向远端终端发送第一广播消息,以广播自己的ProSe ID。That is to say, the relay terminal finds that there is a remote terminal around itself by listening to the broadcast, and hopes to respond to this, and sends a first broadcast message to the remote terminal to broadcast its own ProSe ID.
步骤1005:远端终端根据所述第一广播消息本地生成第二标识。Step 1005: The remote terminal locally generates a second identifier according to the first broadcast message.
这里,所述第二标识是用于与中继终端通信的标识。
Here, the second identifier is an identifier for communicating with the relay terminal.
在一实施例中,如果所述第一广播消息中没有携带第一标识,则远端终端根据ProSe ID生成所述第二标识;如果所述第一广播消息中携带了第一标识,则远端终端根据relay内通信的标识或者前缀生成第二标识。In an embodiment, if the first identifier does not carry the first identifier, the remote terminal generates the second identifier according to the ProSe ID; if the first broadcast message carries the first identifier, the far The terminal terminal generates a second identifier according to the identifier or prefix of the communication in the relay.
在一实施例中,可以通过但不局限于如下方式生成第二标识:In an embodiment, the second identifier may be generated by, but not limited to, the following:
1.远端终端本地生成一个随机数,通过Hash算法与ProSe ID加权生成第二标识。1. The remote terminal locally generates a random number, and generates a second identifier by using a hash algorithm and a ProSe ID weight.
当前,还可以通过现有技术中的其他能进行加权计算的算法与ProSe ID加权,在此不再赘述。Currently, other algorithms in the prior art that can perform weighting calculations are weighted with ProSe ID, and are not described herein again.
2.远端终端本地生成一个随机数,与步骤1004中的第一广播消息中的relay内通信的标识或者前缀结合生成完整的第二标识。2. The remote terminal locally generates a random number, and combines with the identifier or prefix of the communication in the relay in the first broadcast message in step 1004 to generate a complete second identifier.
步骤1006:远端终端向中继终端发送建立单播通信请求。Step 1006: The remote terminal sends a request for establishing a unicast communication to the relay terminal.
其中,所述单播请求中携带有步骤1005中生成的第二标识。The unicast request carries the second identifier generated in step 1005.
步骤1007:中继终端对远端终端的第二标识进行冲突检测。Step 1007: The relay terminal performs collision detection on the second identifier of the remote terminal.
在一实施例中,如果检测结果为无冲突,则中继终端对该建立单播通信请求进行响应,并在本地保存该第二标识,且将该第二标识用于后续进行relay内的其他远端终端的冲突检测。In an embodiment, if the detection result is no conflict, the relay terminal responds to the establishment of the unicast communication request, and saves the second identifier locally, and uses the second identifier for subsequent other operations in the relay. Collision detection of the remote terminal.
相应地,收到建立单播通信请求响应的远端终端,在后续与所述中继终端进行通信的过程中可以使用该第二标识。Correspondingly, the remote terminal receiving the unicast communication request response is received, and the second identifier can be used in the subsequent communication with the relay terminal.
在一实施例中,如果检测结果为有冲突,则中继终端不对该建立单播通信请求进行响应,相应的,远端终端如果没有接收到响应消息,需要重新按照步骤1005生成第二标识。In an embodiment, if the detection result is a conflict, the relay terminal does not respond to the establishment of the unicast communication request. Correspondingly, if the remote terminal does not receive the response message, the second identifier needs to be generated according to step 1005.
也就是说,所述远端终端将根据冲突检测结果执行下一步操作,当检测结果为有冲突时,需要重新生成第二标识;如果检测结果为无冲突,则可以在后续与所述中继终端进行通信的过程中使用该第二标识。That is, the remote terminal performs the next operation according to the conflict detection result. When the detection result is a conflict, the second identifier needs to be regenerated; if the detection result is no conflict, the relay may be followed by the relay. The second identifier is used in the process of communication by the terminal.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程
序来指令相关硬件完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。本发明不限制于任何特定形式的硬件和软件的结合。One of ordinary skill in the art can understand that all or part of the steps in the above methods can pass the process.
The instructions are completed by instructions related hardware, which may be stored in a computer readable storage medium such as a read only memory, a magnetic disk or an optical disk. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the foregoing embodiment may be implemented in the form of hardware or in the form of a software function module. The invention is not limited to any specific form of combination of hardware and software.
当然,本发明还可有其他多种实施例,在不背离本发明精神及其实质的情况下,熟悉本领域的技术人员当可根据本发明作出各种相应的改变和变形,但这些相应的改变和变形都应属于本发明所附的权利要求的保护范围。The invention may, of course, be embodied in a variety of other embodiments without departing from the spirit and scope of the invention. Changes and modifications are intended to be included within the scope of the appended claims.
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.
本发明实施例中,获取中继终端的基于近距离业务标识(ProSe ID)和/或第一标识;其中,所述第一标识是所述中继终端覆盖范围内通信的标识或前缀;根据所述ProSe ID和/或所述第一标识生成第二标识,其中,所述第二标识是用于与所述中继终端通信的标识;向所述中继终端发送携带有所述第二标识的建立通信请求,当接收到所述中继终端发送的建立通信响应时,基于所述第二标识与所述中继终端进行通信;如此,如此,使远端终端能够与中继终端建立通信,从而满足远端终端借助中继终端与网络进行通信的需求。
In the embodiment of the present invention, the short-distance service identifier (ProSe ID) and/or the first identifier of the relay terminal are obtained; wherein the first identifier is an identifier or a prefix of the communication within the coverage of the relay terminal; Generating, by the ProSe ID and/or the first identifier, a second identifier, where the second identifier is an identifier used for communicating with the relay terminal; and sending, by the relay terminal, the second identifier Establishing a communication request, when receiving the establishment communication response sent by the relay terminal, communicating with the relay terminal based on the second identifier; thus, enabling the remote terminal to establish with the relay terminal Communication, thereby satisfying the need for the remote terminal to communicate with the network by means of the relay terminal.
Claims (28)
- 一种实现通信的方法,所述方法应用于远端终端中,该方法包括:A method for implementing communication, the method being applied to a remote terminal, the method comprising:获取中继终端的基于近距离业务ProSe标识ID和/或第一标识;其中,所述第一标识是所述中继终端覆盖范围内通信的标识或前缀;Obtaining a proximity service ProSe identification ID and/or a first identifier of the relay terminal; wherein the first identifier is an identifier or a prefix of communication within the coverage of the relay terminal;根据所述ProSe ID和/或所述第一标识生成第二标识,其中,所述第二标识是用于与所述中继终端通信的标识;Generating a second identifier according to the ProSe ID and/or the first identifier, where the second identifier is an identifier used for communicating with the relay terminal;向所述中继终端发送携带有所述第二标识的建立通信请求,当接收到所述中继终端发送的建立通信响应时,基于所述第二标识与所述中继终端进行通信。Transmitting, by the relay terminal, a setup communication request carrying the second identifier, and when receiving the setup communication response sent by the relay terminal, performing communication with the relay terminal based on the second identifier.
- 根据权利要求1所述的方法,其中,所述获取中继终端的基于ProSe ID和/或第一标识,包括:The method according to claim 1, wherein the obtaining the ProSe ID and/or the first identifier of the relay terminal comprises:接收中继终端发送的第一广播消息;其中,所述第一广播消息包括所述中继终端的ProSe ID和/或第一标识;Receiving a first broadcast message sent by the relay terminal, where the first broadcast message includes a ProSe ID and/or a first identifier of the relay terminal;解析所述第一广播消息,获取所述中继终端的ProSe ID和/或第一标识。Parsing the first broadcast message, acquiring a ProSe ID and/or a first identifier of the relay terminal.
- 根据权利要求2所述的方法,其中,所述接收中继终端发送的第一广播消息之前,包括:The method of claim 2, wherein the receiving the first broadcast message sent by the relay terminal comprises:发送第二广播消息;其中,所述第二广播消息用于询问周围是否有可用的中继终端。Sending a second broadcast message; wherein the second broadcast message is used to query whether there is a relay terminal available around.
- 根据权利要求1所述的方法,其中,所述方法还包括:The method of claim 1 wherein the method further comprises:当预设时间内未接收到所述中继终端发送的建立通信响应时,根据所述ProSe ID和/或所述第一标识重新生成第二标识。And when the setup communication response sent by the relay terminal is not received within a preset time, the second identifier is regenerated according to the ProSe ID and/or the first identifier.
- 根据权利要求1所述的方法,其中,所述根据所述ProSe ID和/或所述第一标识生成第二标识,包括:The method according to claim 1, wherein the generating the second identifier according to the ProSe ID and/or the first identifier comprises:本地生成一个随机数,利用第一算法,将所述随机数与所述ProSe ID加权生成第二标识。 Generating a random number locally, and using the first algorithm, weighting the random number and the ProSe ID to generate a second identifier.
- 根据权利要求1所述的方法,其中,所述根据所述ProSe ID和/或所述第一标识生成第二标识,包括:The method according to claim 1, wherein the generating the second identifier according to the ProSe ID and/or the first identifier comprises:本地生成一个随机数,将所述随机数与所述第一标识结合生成第二标识。A random number is generated locally, and the random number is combined with the first identifier to generate a second identifier.
- 一种实现通信的方法,所述方法应用于中继终端中,该方法包括:A method for implementing communication, the method being applied to a relay terminal, the method comprising:向远端终端发送第一广播消息;其中,所述第一广播消息包括所述中继终端的ProSe ID和/或第一标识,所述第一标识是所述中继终端覆盖范围内通信的标识或前缀;Transmitting, by the remote terminal, a first broadcast message, where the first broadcast message includes a ProSe ID and/or a first identifier of the relay terminal, where the first identifier is a communication within the coverage of the relay terminal Identification or prefix;接收所述远端终端发送的携带有第二标识的建立通信请求;Receiving, by the remote terminal, a setup communication request that carries the second identifier;检测所述第二标识是否与所述中继终端内已用标识存在冲突,如果不存在冲突,向所述远端终端发送建立通信响应,以使所述远端终端基于所述第二标识与所述中继终端进行通信。Detecting whether the second identifier conflicts with the used identifier in the relay terminal, and if there is no conflict, sending a setup communication response to the remote terminal, so that the remote terminal is based on the second identifier The relay terminal performs communication.
- 根据权利要求7所述的方法,其中,所述方法还包括:The method of claim 7 wherein the method further comprises:如果检测结果为存在冲突时,对所述建立通信请求不作响应。If the detection result is that there is a conflict, the communication request is not responded to.
- 根据权利要求7所述的方法,其中,所述向远端终端发送第一广播消息的方式为:The method of claim 7, wherein the manner of transmitting the first broadcast message to the remote terminal is:主动向远端终端发送第一广播消息,或者,接收到远端终端发送的询问请求时,向所述远端终端发送第一广播消息。The first broadcast message is sent to the remote terminal, or the first broadcast message is sent to the remote terminal when receiving the query request sent by the remote terminal.
- 根据权利要求7所述的方法,其中,所述向远端终端发送第一广播消息之前,所述方法还包括:The method of claim 7, wherein before the sending the first broadcast message to the remote terminal, the method further comprises:所述中继终端通过授权过程从网络侧获取第一消息;其中,所述第一消息中包括ProSe ID信息、是否允许进行中继操作的信息。The relay terminal acquires the first message from the network side by using an authorization process, where the first message includes ProSe ID information, and information about whether to allow the relay operation.
- 根据权利要求10所述的方法,其中,所述第一消息中还包括用于生成第一标识的第一参数。The method of claim 10, wherein the first message further comprises a first parameter for generating a first identity.
- 根据权利要求11所述的方法,其中,所述第一标识的生成方式为: The method of claim 11, wherein the first identifier is generated by:通过ProSe ID生成,或通过所述第一参数生成,或通过本地配置生成。Generated by ProSe ID, generated by the first parameter, or generated by local configuration.
- 一种实现通信的第一终端,所述第一终端包括:第一获取模块、第一生成模块和第一通信模块;其中,A first terminal that implements communication, the first terminal includes: a first acquiring module, a first generating module, and a first communications module;所述第一获取模块,配置为获取中继终端的ProSe ID和/或第一标识;其中,所述第一标识是所述中继终端覆盖范围内通信的标识或前缀;The first obtaining module is configured to obtain a ProSe ID and/or a first identifier of the relay terminal, where the first identifier is an identifier or a prefix of the communication within the coverage of the relay terminal;所述第一生成模块,配置为根据所述ProSe ID和/或所述第一标识生成第二标识,其中,所述第二标识是用于与所述中继终端通信的标识;The first generating module is configured to generate a second identifier according to the ProSe ID and/or the first identifier, where the second identifier is an identifier used for communicating with the relay terminal;所述第一通信模块,配置为向所述中继终端发送携带有所述第二标识的建立通信请求,当接收到所述中继终端发送的建立通信响应时,基于所述第二标识与所述中继终端进行通信。The first communication module is configured to send, to the relay terminal, a setup communication request that carries the second identifier, and when receiving the setup communication response sent by the relay terminal, based on the second identifier The relay terminal performs communication.
- 根据权利要求13所述的第一终端,其中,所述第一终端还包括接收模块;其中,The first terminal according to claim 13, wherein the first terminal further comprises a receiving module;所述接收模块,配置为接收中继终端发送的第一广播消息;其中,所述第一广播消息包括所述中继终端的ProSe ID和/或第一标识;The receiving module is configured to receive a first broadcast message sent by the relay terminal, where the first broadcast message includes a ProSe ID and/or a first identifier of the relay terminal;相应地,所述第一获取模块,配置为解析所述第一广播消息,获取所述中继终端的ProSe ID和/或第一标识。Correspondingly, the first acquiring module is configured to parse the first broadcast message, and obtain a ProSe ID and/or a first identifier of the relay terminal.
- 根据权利要求14所述的第一终端,其中,所述第一通信模块还配置为:The first terminal according to claim 14, wherein the first communication module is further configured to:在所述接收模块接收中继终端发送的第一广播消息之前,发送第二广播消息;其中,所述第二广播消息用于询问周围是否有可用的中继终端。Before the receiving module receives the first broadcast message sent by the relay terminal, sending a second broadcast message, where the second broadcast message is used to query whether there is a relay terminal available around.
- 根据权利要求13所述的第一终端,其中,所述第一通信模块还配置为:The first terminal according to claim 13, wherein the first communication module is further configured to:当预设时间内未接收到所述中继终端发送的建立通信响应时,根据所述ProSe ID和/或所述第一标识重新生成第二标识。And when the setup communication response sent by the relay terminal is not received within a preset time, the second identifier is regenerated according to the ProSe ID and/or the first identifier.
- 根据权利要求13所述的第一终端,其中,所述第一生成模块,还 配置为:The first terminal according to claim 13, wherein the first generation module further Configured as:本地生成一个随机数,利用第一算法,将所述随机数与所述ProSe ID加权生成第二标识。Generating a random number locally, and using the first algorithm, weighting the random number and the ProSe ID to generate a second identifier.
- 根据权利要求13所述的第一终端,其中,所述第一生成模块,还配置为:The first terminal according to claim 13, wherein the first generating module is further configured to:本地生成一个随机数,将所述随机数与所述第一标识结合生成第二标识。A random number is generated locally, and the random number is combined with the first identifier to generate a second identifier.
- 一种实现通信的第二终端,所述第二终端包括发送模块、第二通信模块和检测模块;其中,a second terminal that implements communication, where the second terminal includes a sending module, a second communication module, and a detecting module;所述发送模块,配置为向远端终端发送第一广播消息;其中,所述第一广播消息包括所述中继终端的ProSe ID和/或第一标识,所述第一标识是所述中继终端覆盖范围内通信的标识或前缀;The sending module is configured to send a first broadcast message to the remote terminal, where the first broadcast message includes a ProSe ID and/or a first identifier of the relay terminal, where the first identifier is the middle An identifier or prefix that communicates within the coverage of the terminal;所述第二通信模块,配置为接收所述远端终端发送的携带有第二标识的建立通信请求;当所述检测模块的检测结果为不存在冲突时,向所述远端终端发送建立通信响应,以使所述远端终端基于所述第二标识与所述中继终端进行通信;The second communication module is configured to receive a setup communication request that is sent by the remote terminal and that carries the second identifier. When the detection result of the detection module is that there is no conflict, send the establishment communication to the remote terminal. Responding to enable the remote terminal to communicate with the relay terminal based on the second identifier;所述检测模块,配置为检测所述第二标识是否与所述中继终端内已用标识存在冲突。The detecting module is configured to detect whether the second identifier conflicts with the used identifier in the relay terminal.
- 根据权利要求19所述的第二终端,其中,所述第二通信模块,还配置为:The second terminal according to claim 19, wherein the second communication module is further configured to:当所述检测模块的检测结果为存在冲突时,对所述建立通信请求不作响应。When the detection result of the detection module is that there is a conflict, the communication request is not responded to.
- 根据权利要求19所述的第二终端,其中,所述发送模块向远端终端发送第一广播消息的方式为:The second terminal according to claim 19, wherein the sending module sends the first broadcast message to the remote terminal by:主动向远端终端发送第一广播消息,或者,接收到远端终端发送的询 问请求时,向所述远端终端发送第一广播消息。Actively sending a first broadcast message to the remote terminal, or receiving a request sent by the remote terminal When the request is made, the first broadcast message is sent to the remote terminal.
- 根据权利要求19所述的第二终端,其中,所述第二终端还包括第二获取模块,配置为通过授权过程从网络侧获取第一消息;其中,所述第一消息中包括ProSe ID信息、是否允许进行中继操作的信息。The second terminal according to claim 19, wherein the second terminal further comprises a second obtaining module, configured to acquire the first message from the network side by using an authorization process; wherein the first message includes ProSe ID information Whether or not information about relay operations is allowed.
- 根据权利要求22所述的第二终端,其中,所述第一消息中还包括用于生成第一标识的第一参数。The second terminal according to claim 22, wherein the first message further includes a first parameter for generating the first identifier.
- 根据权利要求19所述的第二终端,其中,所述第二终端还包括第二生成模块,配置为生成第一标识。The second terminal according to claim 19, wherein the second terminal further comprises a second generating module configured to generate the first identifier.
- 根据权利要求24所述的第二终端,其中,所述第二生成模块生成第一标识的方式为:通过ProSe ID生成,或通过所述第一参数生成,或通过本地配置生成。The second terminal according to claim 24, wherein the second generation module generates the first identifier by means of ProSe ID generation, or by the first parameter generation, or by local configuration generation.
- 一种实现通信的系统,其中,所述系统至少包括:远端终端、中继终端和网络侧授权网元,其中:A system for implementing communication, wherein the system includes at least: a remote terminal, a relay terminal, and a network side authorized network element, where:所述远端终端,为权13至权18任一项所述的第一终端;The remote terminal is the first terminal according to any one of rights 13 to 18;所述中继终端,为权19至权25任一项所述的第二终端;The relay terminal is the second terminal according to any one of the rights 19 to 25.所述网络侧授权网元,配置为对所述中继终端进行授权,向所述中继终端发送第一消息;其中,所述第一消息中包括ProSe ID信息、是否允许进行中继操作的信息。The network side authorized network element is configured to authorize the relay terminal, and send a first message to the relay terminal, where the first message includes ProSe ID information, and whether the relay operation is allowed information.
- 根据权利要求26所述的系统,其中,所述第一消息中还包括用于生成第一标识的第一参数。The system of claim 26 wherein said first message further comprises a first parameter for generating a first identity.
- 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1至6任一项所述的方法、和/或权利要求7至12任一项所述的方法。 A computer storage medium having stored therein computer executable instructions for performing the method of any one of claims 1 to 6, and/or any of claims 7 to 12 One of the methods described.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510016636.XA CN105848083A (en) | 2015-01-13 | 2015-01-13 | Method, terminal and system for realizing communication |
CN201510016636.X | 2015-01-13 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016112674A1 true WO2016112674A1 (en) | 2016-07-21 |
Family
ID=56405197
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2015/085149 WO2016112674A1 (en) | 2015-01-13 | 2015-07-27 | Communication method, terminal, system and computer storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105848083A (en) |
WO (1) | WO2016112674A1 (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018076553A1 (en) * | 2016-10-27 | 2018-05-03 | 华为技术有限公司 | Method and device for accessing network |
CN109257705B (en) * | 2017-07-14 | 2023-04-18 | 华为技术有限公司 | Data transmission method, device and system |
CN113709902B (en) * | 2020-05-21 | 2024-09-24 | 华为技术有限公司 | Relay link establishment method, configuration information transmission method, device and readable storage medium |
WO2022021198A1 (en) * | 2020-07-30 | 2022-02-03 | 华为技术有限公司 | Communication method and apparatus |
CN114679719B (en) * | 2020-12-25 | 2024-06-14 | 维沃移动通信有限公司 | Communication method, terminal and network side equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103634812A (en) * | 2013-11-27 | 2014-03-12 | 西安电子科技大学 | Intra-cell device to device direct communication method based on user device relay |
WO2014052303A1 (en) * | 2012-09-28 | 2014-04-03 | Stojanovski Alexandre Saso | Systems and methods for device-to-device communication in the absence of network coverage |
US20140307611A1 (en) * | 2013-04-10 | 2014-10-16 | Fujitsu Limited | D2d communication in wireless networks |
CN104219733A (en) * | 2013-05-31 | 2014-12-17 | 电信科学技术研究院 | Method and equipment for finding proximity communication relay node |
-
2015
- 2015-01-13 CN CN201510016636.XA patent/CN105848083A/en not_active Withdrawn
- 2015-07-27 WO PCT/CN2015/085149 patent/WO2016112674A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014052303A1 (en) * | 2012-09-28 | 2014-04-03 | Stojanovski Alexandre Saso | Systems and methods for device-to-device communication in the absence of network coverage |
US20140307611A1 (en) * | 2013-04-10 | 2014-10-16 | Fujitsu Limited | D2d communication in wireless networks |
CN104219733A (en) * | 2013-05-31 | 2014-12-17 | 电信科学技术研究院 | Method and equipment for finding proximity communication relay node |
CN103634812A (en) * | 2013-11-27 | 2014-03-12 | 西安电子科技大学 | Intra-cell device to device direct communication method based on user device relay |
Also Published As
Publication number | Publication date |
---|---|
CN105848083A (en) | 2016-08-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018145654A1 (en) | Multi-access management implementation method and device, and computer storage medium | |
JP6671527B2 (en) | Method and apparatus for a terminal device to discover another terminal device | |
EP2995098B1 (en) | Machine-to-machine bootstrapping | |
EP3476100B1 (en) | Selection of ip version | |
JP2020504566A (en) | Method and apparatus for selecting access and mobility management functions in a mobile communication system | |
WO2016155298A1 (en) | Relay ue access control method and apparatus | |
US20170026896A1 (en) | Terminal device, relay terminal device, and communication control method | |
CN114223262A (en) | Method and apparatus for network function service discovery | |
CN111031538B (en) | Authentication method and device | |
WO2021047454A1 (en) | Location information acquisition method, location service configuration method, and communication device | |
WO2016112674A1 (en) | Communication method, terminal, system and computer storage medium | |
EP3200486B1 (en) | Connection establishment method, device, and system | |
WO2017147772A1 (en) | Method of transmitting information and core network access apparatus | |
KR20160010612A (en) | Method of device discovery for device-to-device communication in a telecommunication network, user equipment device and computer program product | |
KR20160132756A (en) | Method for supporting ue access control | |
US9713176B2 (en) | Telecommunication method and telecommunication system | |
KR20130093953A (en) | Method and apparatus for supporting device to device communications | |
WO2017167153A1 (en) | Mobile communication system and paging method | |
Doumiati et al. | A framework for lte-a proximity-based device-to-device service registration and discovery | |
WO2015003844A1 (en) | Proximity service | |
WO2014005551A1 (en) | Ue configuration method, network side device and system for proximity awareness | |
WO2016000395A1 (en) | D2d service authorizing method and device and home near field communication server | |
CN116601917A (en) | Method and apparatus for secure communication | |
WO2015135269A1 (en) | Service discovery and authentication method, device, terminal, system, and computer storage medium | |
WO2016023282A1 (en) | Near field communication discovery method, apparatus and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15877588 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 15877588 Country of ref document: EP Kind code of ref document: A1 |