Method, device, equipment and storage medium for establishing a relay session
By introducing relay service code in 5G network, remote devices determine and use the code to discover appropriate relay devices when establishing relay sessions, solving the problem of difficult to guarantee the privacy of service data in relay sessions and realizing business Privacy protection for attributes.
Patent Information
- Application Number
- CN202310349584.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-07-31
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2040-07-31
AI Technical Summary
In the prior art, the privacy of service data during the establishment of relay sessions cannot be effectively guaranteed, especially in the 5G network architecture, in the data transmission between the relay UE and the remote UE, the privacy of service attributes cannot be ensured.
Introducing the concept of relay service code (RSC), remote devices determine the relay service code based on business description information, discover through this code and establish a relay session with the relay device that supports this code, thereby transmitting service data and ensuring that it is discovered. Protect the privacy of business attributes in the process of the equipment.
Through the use of relay service code, the privacy protection of business attributes during the establishment of relay sessions is realized, ensuring the security and privacy of business data during the transmission process.
Smart Images

Figure CN116347663B_ABST
Abstract
Description
[0001] This application is a divisional application of the original Chinese invention patent application entitled “Method, device, equipment and storage medium for establishing a relay session”. The application number of the original application is 202080101261.6, and the application date of the original application is July 31, 2020. Technical Field
[0002] Embodiments of the present application relate to communication technology, and in particular, to a method, apparatus, device and storage medium for establishing a relay session. Background Art
[0003] In order to meet the challenges of wireless broadband technology and maintain the leading edge of the 3rd Generation Partnership Project (3GPP) network, the 3GPP standardization group has specified the network architecture of the next generation mobile communication system, called the fifth generation (5G) network architecture. This architecture not only supports the wireless technology defined by the 3GPP standard group to access the 5G core network, but also supports non-3GPP access technologies to access the 5G core network.
[0004] In Rel-13 ProSe, 3GPP introduced a UE-to-network relay function based on layer 3 relay, that is, the remote user equipment (User Equipment, UE) accesses the network through the relay UE, and the relay UE assumes the function of the Internet Protocol (Internet Protocol, IP) layer relay to transmit data between the remote UE and the network, and the remote UE and the relay UE are connected through a side link. Figure 1 It is a structural diagram of the relay network, such as Figure 1 As shown, before the remote UE and the relay UE perform the data relay function, the remote UE and the relay UE need to be authorized. The remote UE determines the parameters required to establish a session according to the User Equipment Routing Selection Policy (URSP) rules configured by the network, and then establishes a session between the remote UE and the relay UE to transmit the relay data.
[0005] In the current prior art, there is no session establishment solution that guarantees the privacy of business data. Summary of the invention
[0006] The embodiments of the present application provide a method, apparatus, device and storage medium for establishing a relay session, and propose a session establishment solution that can ensure the privacy of business data.
[0007] In a first aspect, an embodiment of the present application may provide a method for establishing a relay session, which is applied to a remote device, and the method includes:
[0008] Determine a relay service code according to the description information of the service, where the relay service code is used to represent the service attribute of the service;
[0009] Discovering a relay device according to the relay service code;
[0010] A relay session is established with the relay device, where the relay session is used to transmit data of the service.
[0011] In a second aspect, an embodiment of the present application may provide a method for establishing a relay session, which is applied to a relay device, including:
[0012] Determining a remote device for relaying according to a relay service code, wherein the relay service code is used to indicate a service attribute of a service supported or authorized to be supported by the relay device;
[0013] A relay session is established with the remote device, where the relay session is used to transmit service data.
[0014] In a third aspect, an embodiment of the present application may provide a device for establishing a relay session, including:
[0015] A processing module, used to determine a relay service code according to the description information of the service, wherein the relay service code is used to represent the service attribute of the service;
[0016] An interaction module, configured to discover a relay device according to the relay service code;
[0017] The interaction module is further used to establish a relay session with the relay device, and the relay session is used to transmit data of the service.
[0018] In a fourth aspect, an embodiment of the present application may provide a relay session establishment device, including:
[0019] A processing module, used to determine a remote device for relaying according to a relay service code, wherein the relay service code is used to indicate a service attribute of a service supported or authorized to be supported by the establishment device of the relay session;
[0020] The interaction module is used to establish a relay session with the remote device, and the relay session is used to transmit business data.
[0021] In a fifth aspect, an embodiment of the present application may provide a remote device, including:
[0022] A processor, a memory, and an interface for communicating with a relay device;
[0023] The memory stores computer-executable instructions;
[0024] The processor executes the computer-executable instructions stored in the memory, so that the processor executes the method for establishing a relay session described in the first aspect.
[0025] In a sixth aspect, an embodiment of the present application may provide a relay device, including:
[0026] Processor, memory, and interfaces for communicating with other relay devices or network devices;
[0027] The memory stores computer-executable instructions;
[0028] The processor executes the computer-executable instructions stored in the memory, so that the processor executes the method for establishing a relay session described in the second aspect.
[0029] In a seventh aspect, an embodiment of the present application may provide a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method for establishing a relay session as described in the first aspect.
[0030] In an eighth aspect, an embodiment of the present application may provide a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method for establishing a relay session as described in the second aspect.
[0031] In a ninth aspect, an embodiment of the present application may provide a chip, comprising: a processing module and a communication interface, wherein the processing module is used to execute the method for establishing a relay session described in the first aspect.
[0032] In a tenth aspect, an embodiment of the present application may provide a chip, comprising: a processing module and a communication interface, wherein the processing module is used to execute the method for establishing a relay session described in the second aspect.
[0033] The embodiments of the present application provide a method, apparatus, device and storage medium for establishing a relay session, and propose a method for discovering relay devices and establishing relay sessions through relay service codes. The remote device determines the relay service code used to represent the service attributes based on the description information of the service, and discovers a suitable relay device based on the relay service code, and then establishes a relay session with the relay device to transmit the service data. This scheme can ensure the privacy of service attributes in the process of discovering relay devices. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0035] Figure 1 It is a structural diagram of a relay network;
[0036] Figure 2 A flowchart of a first embodiment of a method for establishing a relay session provided in an embodiment of the present application;
[0037] Figure 3 A flowchart of a second embodiment of a method for establishing a relay session provided in an embodiment of the present application;
[0038] Figure 4 A schematic diagram of the structure of a first embodiment of a device for establishing a relay session provided in an embodiment of the present application;
[0039] Figure 5 A schematic diagram of the structure of a second embodiment of a relay session establishment device provided in an embodiment of the present application;
[0040] Figure 6 A schematic diagram of the structure of a third embodiment of a relay session establishment device provided in an embodiment of the present application;
[0041] Figure 7 A schematic diagram of the structure of a remote device embodiment provided in an embodiment of the present application;
[0042] Figure 8 A schematic diagram of the structure of a relay device embodiment provided in an embodiment of the present application. DETAILED DESCRIPTION
[0043] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0044] The terms "first", "second", etc. in the specification, claims, and above-mentioned drawings of the embodiments of the present application are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein, for example. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.
[0045] In relay communication, in order to transmit the service data of the remote device, the relay device needs to use the appropriate Protocol Data Unit (PDU) session. The relay device decides which session to use to transmit the data, and the relay device needs corresponding parameters when establishing the relay PDU session. In the usual session establishment process, the remote device determines the parameters required to establish the PDU session according to the URSP rules configured by the network, but this cannot guarantee the privacy of service attributes.
[0046] Based on this, in order to solve the privacy problem of business attributes, the concept of Relay Service Code (RSC) is introduced. An RSC can represent the business attributes of a business. The present application provides a method for establishing a relay session. In relay communication, the relay device can broadcast the RSC that it can support. When the remote device performs a relay service, it needs to first discover a relay device to relay the service. In the solution provided in the present application, the remote terminal needs to be able to confirm the RSC that needs to be relayed before discovering the relay device. Then the remote device determines the relay device based on the RSC, and subsequently establishes a session with the relay device to transmit business data.
[0047] In this scheme, it should be understood that it mainly involves two types of execution entities: relay devices and remote devices. During the data transmission process, the remote device can interact with the network device through the relay device to Figure 1 For example, the relay UE and the remote UE pass Figure 1 The connection scenario shown realizes the interaction with the network side. In this solution, it should be understood that the remote device or relay device can be a user equipment (UE), a terminal device, a communication terminal, a mobile terminal device, etc., and this solution does not limit this.
[0048] For example, as used herein, the remote device or relay device includes but is not limited to a connection via a wired line, such as via a Public Switched Telephone Networks (PSTN), a Digital Subscriber Line (DSL), a digital cable, a direct cable connection; and / or another data connection / network; and / or via a wireless interface, such as for a cellular network, a Wireless Local Area Network (WLAN), a digital television network such as a DVB-H network, a satellite network, an AM-FM broadcast transmitter; and / or a device configured to receive / send communication signals; and / or an Internet of Things (IoT) device. A UE configured to communicate via a wireless interface may be referred to as a "wireless communication terminal", "wireless terminal" or "mobile terminal". Examples of mobile terminals include, but are not limited to, satellite or cellular telephones; Personal Communications System (PCS) terminals that may combine a cellular radiotelephone with data processing, fax, and data communications capabilities; PDAs which may include a radiotelephone, pager, Internet / Intranet access, a Web browser, a notepad, a calendar, and / or a Global Positioning System (GPS) receiver; and conventional laptop and / or palmtop receivers or other electronic devices that include a radiotelephone transceiver. In a specific implementation, the remote device or relay device may be an access terminal, a user unit, a user station, a mobile station, a mobile station, a remote station, a remote terminal, a mobile device, a user terminal, a terminal, a wireless communication device, a user agent or a user device, and may also be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a wearable device, a terminal device in a 5G network, or a terminal device in a future evolved Public Land Mobile Network (PLMN), etc.
[0049] Figure 2 A flowchart of a method for establishing a relay session according to an embodiment of the present application is shown in FIG. Figure 2 As shown, the method for establishing the relay session includes the following steps:
[0050] S101: Determine a relay service code according to description information of the service, where the relay service code is used to represent service attributes of the service.
[0051] In this step, when the remote device needs the relay device to transmit service data, it can obtain the description information of the service, and the description information of the service may include application identification, domain information, IP address, service attributes of the service and other characteristics.
[0052] The remote device can determine the relay service code of the service through the description information of the service. The relay service code is used to describe the service attributes of the service. That is, during the session establishment process, the relay service code can be used to replace the service attributes of the service for interaction.
[0053] Specifically, the specific manner in which the remote device determines the relay service code includes at least the following:
[0054] The first method is to determine the relay service code corresponding to the service according to a first corresponding relationship between service attributes and relay service codes, and description information of the service, wherein the description information includes the service attributes of the service.
[0055] In this solution, the first correspondence is determined according to the user equipment routing selection policy (URSP), and the URSP includes a relay service code corresponding to each service description. The URSP includes a service description part and a routing selection part. The service description part may have features such as an IP address, domain information, or an application identifier. Add the corresponding RSC value to the routing selection part, or add a new item in the URSP: RSC, in this way to achieve the correspondence between the service and the relay service code. For example, as shown in Table 1 below:
[0056] Table 1:
[0057]
[0058] After determining the first correspondence according to the URSP, the remote device can determine the relay service code corresponding to the service according to the service attributes in the description information of the service to be transmitted and the correspondence. The second method is to determine the data network name (DNN) of the service according to the description information of the service and the URSP; and determine the relay service code corresponding to the service according to the second correspondence between the DNN and the relay service code and the DNN of the service.
[0059] In this solution, the second correspondence is pre-configured in the remote device or configured through the PLMN. That is to say, the correspondence between the fixed DNN and the relay service code can be configured in the remote device before it leaves the factory, or the correspondence between the DNN and the relay service code can be configured in the remote device through the network side.
[0060] The remote device first needs to determine the DNN of the service based on the description information and the URSP configured on the network side, and then determine the relay service code corresponding to the service based on the correspondence between the DNN and the DNN and relay service code obtained above.
[0061] The third method is to determine the slice information of the service according to the description information of the service and the routing selection strategy URSP; determine the relay service code corresponding to the service according to the third correspondence between the slice information and the relay service code, and the slice information of the service.
[0062] In this solution, the third correspondence is pre-configured in the remote device or configured through the PLMN. That is to say, the correspondence between the fixed slice information and the relay service code can be configured in the remote device before it leaves the factory, or the correspondence between the slice information and the relay service code can be configured in the remote device through the network side.
[0063] The remote device first needs to determine the slice information of the service based on the description information and the URSP configured on the network side, and then determine the relay service code corresponding to the service based on the slice information and the correspondence between the slice information and the relay service code obtained above.
[0064] S102: Discover a relay device according to the relay service code.
[0065] In this step, after the remote device determines the relay service code corresponding to the service, it finds a suitable relay device based on the relay service code. In the specific implementation of this solution, the relay device is also configured with relay service codes that it can support or is authorized to support. The remote device and the relay device can determine a suitable relay device by matching the relay service codes.
[0066] S103: Establish a relay session with the relay device, where the relay session is used to transmit service data.
[0067] In this step, after determining the relay device, the remote device interacts with the relay device to establish a relay session. That is, the remote device establishes a PDU session with the relay device, or also called a relay PDU session, which is not limited in this solution. In this solution, the relay session is mainly used to transmit the data of the above-mentioned services.
[0068] The method for establishing a relay session provided in this embodiment performs relay device discovery and establishes a relay session through a relay service code. The remote device determines the relay service code used to represent the service attributes based on the service description information, discovers the appropriate relay device based on the relay service code, and then establishes a relay session with the relay device to transmit the service data. This scheme can ensure the privacy of service attributes in the process of discovering the relay device.
[0069] Figure 3 A flow chart of a second embodiment of a method for establishing a relay session provided in an embodiment of the present application is shown in FIG. Figure 3 As shown in the above Figure 2 Based on the embodiment shown, after the remote device obtains the relay service code, the relay device is found according to the relay service code in at least two ways, namely, mode A (Model A) or mode B (Model B), which specifically includes the following steps:
[0070] Mode A:
[0071] S201: Broadcast a discovery message, where the discovery message includes a relay service code supported by the device.
[0072] In this step, the remote device receives discovery messages broadcast by multiple devices. For multiple devices with relay functions, they can broadcast discovery messages carrying the relay service codes they support or are authorized to support, that is, the discovery messages broadcast by each device carry the relay service codes that the device supports or is authorized to support.
[0073] S202: Determine the device carrying the relay service code corresponding to the service in the discovery message as a relay device.
[0074] The remote device determines the device carrying the relay service code corresponding to the service in the discovery message as a relay device by detecting the relay service code in the received discovery message and the relay service code of the service determined by itself.
[0075] S203: The remote device and the relay device establish a relay session.
[0076] After the remote device determines the relay device, the relay device and the remote device establish a relay session for transmitting the service data through interaction.
[0077] In another implementation of mode A, the discovery message may also carry the DNN or slice information of the service supported by the device. After receiving the discovery message, the remote device determines the DNN or slice information of the service according to the relay service code. Then, the relay device is determined according to the DNN of the service and the DNN in the discovery message sent by each device, or the relay device is determined according to the slice information of the service and the slice information in the discovery message sent by each device.
[0078] Mode B:
[0079] S301: Send a discovery request message, where the discovery request message includes a relay service code of the business.
[0080] In this step, when the service data needs to be relayed, the remote device sends a discovery request message carrying the relay service code of the service, and multiple devices with relay functions receive the discovery request message, which includes the relay service code corresponding to the service.
[0081] S302: If the relay service code in the discovery request message is a relay service code supported by the relay device, a discovery response message is sent to the remote device.
[0082] In the relay device, each device compares the relay service code that it supports or is authorized to support with the relay service code in the received discovery request message. If they are the same relay service code, the relay device can send a discovery response message to the remote device. The discovery response message is mainly to confirm to the remote device that the relay service code can support the service.
[0083] The remote device receives the discovery response message.
[0084] In this solution, it should be understood that the relay service code on the relay device side is used to indicate the service attributes of the service that the relay device supports or is authorized to support.
[0085] S303: Determine the device that sent the discovery response message as a relay device.
[0086] In this step, the remote device determines the device to which the discovery response message is sent as a relay device.
[0087] S304: The remote device establishes a relay session with the relay device.
[0088] After the remote device determines the relay device, the relay device and the remote device establish a relay session for transmitting the service data through interaction.
[0089] In summary, in the Model A discovery process, the remote device selects the device carrying the above-determined RSC in the discovery message as the relay device; or in the Model B discovery process, the remote device carries the above-determined RSC in the discovery request message sent, and after receiving the message, the relay device determines whether to respond to the discovery request message according to the RSC carried therein. If the RSC of the remote device can be supported and / or authorized to be supported on the relay device side, the relay device responds to the discovery request message.
[0090] In the above-mentioned schemes, the remote device determines the relay device to be used according to the relay service code. Correspondingly, the relay device also determines the remote device providing the service in the process. Specifically, the relay device determines the remote device providing the service based on the relay service code that it supports or is authorized to support and the relay service code of the service of the remote device. A relay session is established between the relay service and the remote device for transmitting service data.
[0091] In the above embodiments, the remote devices are all relay devices discovered through the relay service code. The embodiment of the present application also provides a method for discovering relay devices based on DNN or slice information. Specifically, the discovery message broadcast by the device that can provide relay services carries DNN or slice information. After receiving the discovery messages broadcast by different devices, the remote device determines the appropriate relay device based on the DNN or slice information.
[0092] In a specific implementation, the remote device determines the DNN / slice information based on the correspondence between the pre-configured RSC and the DNN / slice information; or if the RSC contains an information domain for the DNN / slice information, the DNN / slice information is determined based on its information domain.
[0093] The relay device discovery method provided by this solution can discover the relay device through DNN or slice information. After the relay device is determined, a relay session is established between the remote device and the relay device to transmit business data. This solution can ensure the privacy of business attributes during the process of discovering the relay device.
[0094] Figure 4 A structural diagram of a first embodiment of a relay session establishment device provided in an embodiment of the present application, such as Figure 4 As shown, the relay session establishing device 10 includes:
[0095] The processing module 11 is used to determine a relay service code according to the description information of the service, wherein the relay service code is used to represent the service attribute of the service;
[0096] An interaction module 12, configured to discover a relay device according to the relay service code;
[0097] The interaction module 12 is further used to establish a relay session with the relay device, and the relay session is used to transmit data of the service.
[0098] In a specific implementation of the relay session establishment device 10, the processing module 11 is specifically used for:
[0099] The relay service code corresponding to the service is determined according to a first correspondence between service attributes and relay service codes, and description information of the service, wherein the description information includes the service attributes of the service.
[0100] In one implementation, the first correspondence is determined according to a URSP, and the URSP includes a relay service code corresponding to each service description.
[0101] In another specific implementation, the processing module 11 is specifically used for:
[0102] Determine the DNN of the service according to the description information of the service and the routing selection strategy URSP;
[0103] According to the second corresponding relationship between the DNN and the relay service code, and the DNN of the service, the relay service code corresponding to the service is determined.
[0104] Furthermore, the second corresponding relationship is pre-configured in the apparatus for establishing the relay session or is configured through a public land mobile network PLMN.
[0105] In another specific implementation, the processing module 11 is specifically used for:
[0106] Determine slice information of the service according to the description information of the service and the URSP;
[0107] According to the third correspondence between the slice information and the relay service code, and the slice information of the service, the relay service code corresponding to the service is determined.
[0108] In an implementation manner, the third corresponding relationship is pre-configured in the apparatus for establishing the relay session or is configured through the PLMN.
[0109] On the basis of any of the foregoing embodiments, the interaction module 12 is specifically configured to receive discovery messages broadcast by multiple devices, wherein the discovery message of each device carries a relay service code supported or authorized to be supported by the device;
[0110] The processing module 11 is further configured to determine the device carrying the relay service code corresponding to the service in the discovery message as the relay device.
[0111] In one implementation, the interaction module 12 is specifically configured to:
[0112] Sending a discovery request message, wherein the discovery request message includes the relay service code;
[0113] receiving a discovery response message;
[0114] The processing module 11 is further configured to determine the device that sends the discovery response message as the relay device.
[0115] In another implementation, the interaction module 12 is specifically used to receive discovery messages broadcast by multiple devices, where the discovery messages include DNN or slice information of a service supported by each device;
[0116] The processing module 11 is specifically used for:
[0117] Determine the DNN or slice information of the service according to the relay service code;
[0118] The relay device is determined according to the DNN of the service and the DNN in the discovery message sent by each device, or the relay device is determined according to the slice information of the service and the slice information in the discovery message sent by each device.
[0119] The apparatus for establishing a relay session provided in any of the above-mentioned embodiments is used to execute the technical solution on the remote device side in any of the above-mentioned method embodiments, and its implementation principle and technical effect are similar. Relay device discovery is performed through relay service code to establish a relay session, thereby ensuring the privacy of business attributes.
[0120] Figure 5 A structural diagram of a second embodiment of a relay session establishment device provided in an embodiment of the present application, such as Figure 5 As shown, the relay session establishing device 20 includes:
[0121] A processing module 21, configured to determine a remote device for relaying according to a relay service code, wherein the relay service code is used to indicate a service attribute of a service supported or authorized to be supported by the apparatus for establishing the relay session;
[0122] The interaction module 22 is used to establish a relay session with the remote device, and the relay session is used to transmit business data.
[0123] In one implementation, the relay service code corresponding to the service attribute supported or authorized to be supported by the relay session establishment device is pre-configured or configured by the network device.
[0124] Figure 6A schematic diagram of the structure of a third embodiment of the apparatus for establishing a relay session provided in an embodiment of the present application, as shown in FIG. Figure 6 As shown, the relay session establishing device 20 further includes: a receiving module 23 and a sending module 24 .
[0125] In a specific implementation, the sending module 24 is used to broadcast a discovery message, and the discovery message includes the relay service code.
[0126] In another specific implementation,
[0127] The receiving module 23 is used to receive a discovery request message sent by a remote device, wherein the discovery request message includes a relay service code corresponding to the service;
[0128] The sending module 24 is configured to send a discovery response message to the remote device if the processing module determines that the relay service code in the discovery request message is a relay service code supported by the relay session establishing device 20 .
[0129] In another implementation, the sending module 24 is used to broadcast a discovery message, wherein the discovery message includes DNN or slice information, and the DNN or the slice information is determined based on the relay service code.
[0130] The apparatus for establishing a relay session provided in any of the above-mentioned embodiments is used to execute the technical solution on the relay device side in any of the above-mentioned method embodiments, and its implementation principle and technical effect are similar. Relay device discovery is performed through relay service code to establish a relay session, thereby ensuring the privacy of business attributes.
[0131] Figure 7 A schematic diagram of the structure of a remote device embodiment provided in the present application, such as Figure 7 As shown, the remote device 100 includes:
[0132] A processor 111, a memory 112, and an interface 113 for communicating with a relay device;
[0133] The memory 112 stores computer-executable instructions;
[0134] The processor 111 executes the computer-executable instructions stored in the memory, so that the processor executes the technical solution of the remote device in the aforementioned method embodiment.
[0135] Figure 8 A schematic diagram of the structure of a relay device embodiment provided in the present application, such as Figure 8 As shown, the relay device 200 includes:
[0136] Processor 211, memory 212, interface 213 for communicating with other relay devices or network devices;
[0137] The memory 212 stores computer-executable instructions;
[0138] The processor 211 executes the computer-executable instructions stored in the memory 212, so that the processor 211 executes the technical solution of the relay device in the aforementioned method embodiment.
[0139] In a specific implementation of the remote device or relay device, the memory, processor and interface may be connected via a bus or in other ways. In one implementation, the memory may be integrated inside the processor.
[0140] The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the solution on the remote device side in the method embodiment.
[0141] The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the solution on the relay device side in the method embodiment.
[0142] The embodiment of the present application also provides a chip, including: a processing module and a communication interface, wherein the processing module is used to execute the technical solution on the remote device side in the aforementioned method embodiment.
[0143] The embodiment of the present application also provides a chip, including: a processing module and a communication interface, wherein the processing module is used to execute the technical solution on the relay device side in the aforementioned method embodiment.
[0144] Furthermore, any of the above-mentioned chips also includes a storage module (such as a memory), the storage module is used to store instructions, the processing module is used to execute the instructions stored in the storage module, and the execution of the instructions stored in the storage module enables the processing module to execute the technical solution of the relay device or remote device in any of the above-mentioned method embodiments.
[0145] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the modules can be electrical, mechanical or other forms.
[0146] In the specific implementation of any of the above devices, it should be understood that the processor can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in the present application can be directly implemented as a hardware processor, or can be implemented by a combination of hardware and software modules in the processor.
[0147] All or part of the steps of the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a readable memory. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned memory (storage medium) includes: read-only memory (English: read-only memory, abbreviated as: ROM), RAM, flash memory, hard disk, solid state drive, magnetic tape (English: magnetic tape), floppy disk (English: floppy disk), optical disc (English: optical disc) and any combination thereof.
Claims
1. A method for establishing a relay session, characterized in that: Applied to a remote device, the method comprises: Determine, according to description information of the service to be transmitted and a user equipment routing selection policy URSP, a relay service code RSC of the service, wherein the URSP includes a relay service code RSC corresponding to each service description, and the service description includes at least one of an IP address, domain information, and an application identification feature; The description information of the service includes at least one of an application identifier, domain information, an IP address, and a service attribute feature of the service; Wherein, the relay service code RSC is used to indicate the service attribute of the service during the session establishment process; Discovering a relay device according to the relay service code; Establishing a relay session with the relay device, wherein the relay session is used to transmit data of the service; Wherein, discovering a relay device according to the relay service code includes: Receiving discovery messages broadcast by multiple devices, wherein the discovery message of each device carries a relay service code supported or authorized to be supported by the device; The device carrying the relay service code corresponding to the service in the discovery message is determined as the relay device.
2. The method according to claim 1, characterized in that The method further comprises: determining a relay service code RSC of the service according to the description information of the service to be transmitted and the user equipment routing selection policy URSP, wherein the URSP includes a relay service code RSC corresponding to each service description, and further comprising: Determine the data network name DNN of the service according to the description information of the service to be transmitted and the URSP; According to the second corresponding relationship between the DNN and the relay service code RSC, and the DNN of the service, the relay service code RSC corresponding to the service is determined.
3. The method according to claim 2, characterized in that The second corresponding relationship is pre-configured in the remote device or configured through a public land mobile network PLMN.
4. The method according to claim 1, characterized in that The method further comprises: determining a relay service code RSC of the service according to the description information of the service to be transmitted and the user equipment routing selection policy URSP, wherein the URSP includes a relay service code RSC corresponding to each service description, and further comprising: Determine slice information of the service according to the description information of the service to be transmitted and the URSP; According to the third correspondence between the slice information and the relay service code RSC, and the slice information of the service, the relay service code RSC corresponding to the service is determined.
5. The method according to claim 4, characterized in that The third corresponding relationship is pre-configured in the remote device or configured through the PLMN.
6. A device for establishing a relay session, characterized in that: include: a processing module, configured to determine a relay service code RSC of the service according to description information of the service to be transmitted and a user equipment routing selection policy URSP, wherein the user equipment routing selection policy URSP includes a relay service code RSC corresponding to each service description, and the service description includes at least one of an IP address, domain information, and an application identification feature; The description information of the service includes at least one of an application identifier, domain information, an IP address, and a service attribute feature of the service; Wherein, the relay service code RSC is used to indicate the service attribute of the service during the session establishment process; An interaction module, configured to discover a relay device according to the relay service code; The interaction module is further used to establish a relay session with the relay device, and the relay session is used to transmit data of the service; The interaction module is specifically used to receive discovery messages broadcast by multiple devices, and the discovery message of each device carries a relay service code supported or authorized to be supported by the device; The processing module is further configured to determine a device carrying the relay service code corresponding to the service in the discovery message as the relay device.
7. The device according to claim 6, characterized in that The processing module is specifically used for: Determine the data network name DNN of the service according to the description information of the service to be transmitted and the URSP; According to the second corresponding relationship between the DNN and the relay service code RSC, and the DNN of the service, the relay service code RSC corresponding to the service is determined.
8. The device according to claim 7, characterized in that The second corresponding relationship is pre-configured in the remote device or configured through a public land mobile network PLMN.
9. The device according to claim 6, characterized in that The processing module is specifically used for: Determine slice information of the service according to the description information of the service to be transmitted and the URSP; According to the third correspondence between the slice information and the relay service code RSC, and the slice information of the service, the relay service code RSC corresponding to the service is determined.
10. The device according to claim 9, characterized in that The third corresponding relationship is pre-configured in the remote device or configured through the PLMN.
11. A remote device, characterized in that: include: A processor, a memory, and an interface for communicating with a relay device; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the processor performs the method for establishing a relay session according to any one of claims 1 to 5.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method for establishing a relay session according to any one of claims 1 to 5 when the computer-executable instructions are executed by a processor.
