A strategy routing establishment method and related device
By obtaining the application's traffic descriptor and service type parameters, the terminal initiates user policy routing evaluation and establishes policy routing, solving the problem that modules cannot directly establish policy routing, and realizing service-type routing establishment, suitable for multiplexing or Create a new slice scene.
Patent Information
- Application Number
- CN202111362234.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-17
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2041-11-17
AI Technical Summary
The module cannot directly establish policy routing based on the user identity (UID) carried by the data packet, resulting in the inability to effectively establish PDU session and policy routing.
By obtaining the application's traffic descriptor (TD) and service type (TOS) parameters, the terminal initiates a user policy routing (URSP) evaluation. According to the evaluation results, multiplex existing slices or create new slices, and use TOS parameters and RSD parameters to establish a policy. routing.
The policy routing establishment based on service type parameters is implemented, which solves the problem that modules cannot know UID, ensures the effective establishment of policy routing, and is suitable for multiplexing or newly created slice scenarios.
Smart Images

Figure CN113891419B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a strategy routing establishment method and related devices. Background Art
[0002] With the development of communication technology, network slicing technology can provide different network service capabilities for different users, thereby meeting the network needs of users in different business scenarios and greatly improving the user experience in different business scenarios. At present, the establishment of protocol data unit session (PDU session) and policy routing is based on the user identification (UID) of the application. However, the UID carried by the data packet is transmitted using the TCP / IP protocol, and the module cannot obtain the UID carried by the data packet, that is, it is impossible to directly establish a PDU session and / or policy routing based on the UID.
[0003] Therefore, for the module, how to establish policy routing is an urgent problem to be solved. Summary of the invention
[0004] The present application provides a method for establishing a policy routing, which can establish a policy routing based on a type of service (TOS) parameter, thereby solving the problem that a policy routing cannot be established due to failure to obtain a UID.
[0005] In the first aspect, the present application provides a method for establishing a policy routing, in which a terminal can obtain a traffic descriptor TD parameter of an application and a corresponding service type TOS parameter; the terminal initiates a user policy routing URSP evaluation based on the TD parameter to obtain a URSP evaluation result; when the URSP evaluation result is to reuse an existing slice, the terminal uses the TOS parameter and the existing slice to establish a policy routing; when the URSP evaluation result is to create a new slice, the terminal determines the route selection description RSD parameter of the new slice, and establishes a policy routing based on the RSD parameter and the TOS parameter. It can be seen that in this method, the terminal can establish a policy routing based on the TOS parameter according to the URSP evaluation result.
[0006] In an optional implementation, the method further includes: the terminal sends the data packet carrying the TOS parameter through the policy routing. The TOS parameter can be carried in the packet header of the data packet, so that the data packet is routed to a designated network card for sending based on the TOS parameter carried by the data packet.
[0007] In an optional implementation, when the result of the URSP evaluation by the terminal is a new slice, the URSP evaluation result also includes a routing description RSD parameter list; the terminal determines the routing description RSD parameters of the new slice, including: the terminal selects RSD parameters from the RSD parameter list; the terminal uses the selected RSD parameters to perform a protocol data unit PDU session establishment operation; if the PDU session establishment operation performed using the selected RSD parameters is successful, the selected RSD parameters are used as the RSD parameters of the new slice.
[0008] In an optional implementation, if all PDU session establishment operations performed using the selected RSD parameters fail, the method further includes: the terminal outputs a prompt message, wherein the prompt message is used to indicate that an error has occurred in the current PDU session establishment or to indicate that the application has no corresponding policy routing.
[0009] In an optional implementation, the terminal initiates a user policy routing URSP evaluation based on the TD parameters, including: when there is a slice matching the TD parameters, the terminal determines that the result of the URSP evaluation is to reuse an existing slice; when there is no slice matching the TD parameters, the terminal determines that the result of the URSP evaluation is to create a new slice.
[0010] In an optional implementation, the method also includes: the terminal determines a slice establishment request triggered by an application, the slice establishment request carries a traffic descriptor TD parameter and a corresponding service type TOS parameter, and accordingly, the terminal obtains the traffic descriptor TD parameter and the corresponding service type TOS parameter of the application, including: the terminal obtains the TD parameter and the TOS parameter from the slice establishment request.
[0011] In the second aspect, the present application also provides a policy routing establishment device, characterized in that the policy routing establishment device includes a slice policy service module and a network management module; the slice policy service module is used to obtain the traffic descriptor TD parameters and the corresponding service type TOS parameters of the application; the network management module is used to initiate a user policy routing URSP evaluation based on the TD parameters to obtain the URSP evaluation results; the slice policy service module is used to establish a policy route using the TOS parameters and the existing slices when the result of the URSP evaluation is to reuse an existing slice; and when the result of the URSP evaluation is to create a new slice, determine the route selection description RSD parameters of the new slice, and establish a policy route based on the RSD parameters and the TOS parameters.
[0012] In addition, some optional implementations in this aspect can be found in the relevant description of the first aspect above and will not be described in detail here.
[0013] In a third aspect, the present application further provides a communication device, characterized in that the communication device includes a processor and a memory, the processor and the memory are connected to each other, wherein the memory is used to store a computer program, the computer program includes a program command, and the processor is configured to call the program command to perform the following operations:
[0014] Get the traffic descriptor TD parameter of the application and the corresponding service type TOS parameter;
[0015] Initiate a user policy routing URSP evaluation based on the TD parameters and obtain a URSP evaluation result;
[0016] When the URSP evaluation result is to reuse an existing slice, establish policy routing using the TOS parameter and the existing slice;
[0017] When the URSP evaluation result is a newly created slice, the routing selection description RSD parameters of the newly created slice are determined, and policy routing is established according to the RSD parameters and the TOS parameters.
[0018] In addition, some optional implementations in this aspect can be found in the relevant description of the first aspect above and will not be described in detail here.
[0019] In a fourth aspect, an embodiment of the present application provides a chip, wherein the chip is used for:
[0020] Get the traffic descriptor TD parameter of the application and the corresponding service type TOS parameter;
[0021] Initiate a user policy routing URSP evaluation based on the TD parameters and obtain a URSP evaluation result;
[0022] When the URSP evaluation result is to reuse an existing slice, establish policy routing using the TOS parameter and the existing slice;
[0023] When the URSP evaluation result is a newly created slice, the routing selection description RSD parameters of the newly created slice are determined, and policy routing is established according to the RSD parameters and the TOS parameters.
[0024] In addition, some optional implementations in this aspect can be found in the relevant description of the first aspect above and will not be described in detail here.
[0025] In a fifth aspect, an embodiment of the present application provides a module device. An embodiment of the present application provides a module device, wherein the module device includes a communication module, a power module, a storage module, and a chip module, wherein:
[0026] The power module is used to provide electrical energy to the module device;
[0027] The storage module is used to store data and commands;
[0028] The communication module is used for internal communication of the module device, or for communication between the module device and an external device;
[0029] The chip module is used for:
[0030] Obtain the traffic descriptor TD parameters of the application and the corresponding service type TOS parameters; initiate a user policy routing URSP evaluation based on the TD parameters and obtain the URSP evaluation result; when the URSP evaluation result is to reuse an existing slice, use the TOS parameters and the existing slice to establish a policy route; when the URSP evaluation result is to create a new slice, determine the route selection description RSD parameters of the new slice, and establish a policy route based on the RSD parameters and the TOS parameters.
[0031] In addition, other optional implementations in this aspect can refer to the relevant content of the first aspect mentioned above and will not be described in detail here.
[0032] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program commands, and when the program commands are executed by a processor, the processor executes the method described in the first aspect or any one of the embodiments of the first aspect.
[0033] In the seventh aspect, a computer program product is characterized in that it includes computer commands, and when the computer commands are executed on a computer, the method described in the first aspect or any one of the embodiments of the first aspect is performed. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 A schematic diagram of the system structure of a communication system provided in an embodiment of the present application;
[0035] Figure 2 A process intention of a strategy routing establishment method provided in an embodiment of the present application;
[0036] Figure 3 A flowchart for performing URSP evaluation provided in an embodiment of the present application;
[0037] Figure 4 Another process intention of establishing a strategy routing method provided in an embodiment of the present application;
[0038] Figure 5 A flowchart of establishing a policy routing is provided in an embodiment of the present application;
[0039] Figure 6A schematic diagram of the structure of a strategy routing establishment device provided in an embodiment of the present application;
[0040] Figure 7 A schematic diagram of the structure of a communication device provided in an embodiment of the present application;
[0041] Figure 8 A schematic diagram of the structure of a module device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0042] The embodiments of the present application will be described below in conjunction with the accompanying drawings in the embodiments of the present application.
[0043] The schematic diagram of the system structure involved in the embodiment of the present application is as follows Figure 1 As shown, the system may include but is not limited to a terminal 101 and a modem device 102. Figure 1 The number and form of devices shown are used for example and do not constitute a limitation on the embodiments of the present application. The terminal 101 includes a slice policy service module 1011 and a network management module 1012. The slice policy service module 1011 is used to obtain the traffic descriptor (TD) parameters and the corresponding service type (TOS) parameters of the application; the network management module 1012 is used to initiate a user policy routing (URSP) evaluation based on the TD parameters, obtain the URSP evaluation results, and send the URSP evaluation results to the slice policy service module 1011; the slice policy service module 1011 is also used to establish a policy route using the TOS parameters and the existing slices when the result of the URSP evaluation is to reuse the existing slices; and when the result of the URSP evaluation is to create a new slice, determine the route selection description (RSD) parameters of the new slice, and establish a policy route according to the RSD parameters and the TOS parameters.
[0044] It can be understood that after the slice policy service module 1011 obtains the TD parameter and the corresponding TOS parameter, it sends the TD parameter and the TOS parameter to the network management module 1012, so that the network management module 1012 initiates the URSP evaluation. Thus, the network management module 1012 sends an attention (AT) command to the modem device 102, and transmits the TD parameter to the modem device 102 through the AT command to initiate the URSP evaluation to the modem device 102. After completing the URSP evaluation, the modem device 102 sends URSP evaluation information to the network management module 1012. The URSP evaluation information includes multiple slices. Thus, the network management module 1012 obtains the URSP evaluation result, specifically: when there is a slice matching the TD parameter in the received URSP evaluation information, it is determined that the result of the URSP evaluation is to reuse the existing slice; when there is no slice matching the TD parameter in the received URSP evaluation information, it is determined that the result of the URSP evaluation is to create a new slice. It can be seen that the network management module 1012 determines the URSP evaluation result according to whether there is a slice matching the TD parameters in the URSP evaluation information from the modem device 102 .
[0045] In addition, when the result of the URSP evaluation is a new slice, the network management module 1012 can also determine the routing description RSD parameter list according to the received URSP evaluation information, so that the result of the URSP evaluation also includes the routing description RSD parameter list. Correspondingly, the slice policy service module 1011 determines the routing description RSD parameters of the new slice, specifically: select RSD parameters from the RSD parameter list; use the selected RSD parameters to perform a protocol data unit PDU session establishment operation; if the PDU session establishment operation performed using the selected RSD parameters is successful, use the selected RSD parameters as the RSD parameters of the new slice.
[0046] The present application may be applicable to the fifth generation (5th Generation, 5G) communication system, the fourth generation (5th Generation, 4G) communication system, the third generation (3th Generation, 5G) communication system, and various new communication systems in the future, such as the sixth generation (6th Generation, 6G) communication system, the seventh generation (7th Generation, 7G) communication system, etc., but the embodiments of the present application are not limited to this.
[0047] The present application is also applicable to different network architectures, including but not limited to relay network architecture, dual-link architecture, vehicle-to-everything (V2X) architecture, device-to-device (D2D) architecture, and other architectures.
[0048] The device in the embodiment of the present application may also be referred to as a terminal device, which may refer to various forms of user equipment (UE), access terminal, user unit, user station, mobile station, mobile station (MS), remote station, remote terminal, mobile device, user terminal, wireless communication device, user agent or user device. The terminal device 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 fifth generation mobile communication (5G) network or a terminal device in a future evolved public land mobile communication network (PLMN), etc., and the embodiment of the present application is not limited to this.
[0049] The embodiment of the present application provides a method 100 for establishing a policy routing. In the method, the terminal obtains the traffic descriptor TD parameter of the application and the corresponding service type TOS parameter; the terminal initiates a user policy routing URSP evaluation based on the TD parameter and obtains the URSP evaluation result; when the URSP evaluation result is to reuse an existing slice, the terminal uses the TOS parameter and the existing slice to establish a policy routing; when the URSP evaluation result is to create a new slice, the terminal determines the route selection description RSD parameter of the new slice, and establishes a policy routing based on the RSD parameter and the TOS parameter. It can be seen that in the method, the terminal can establish a policy routing based on the TOS parameter according to the URSP evaluation result.
[0050] Based on the above description, the present application embodiment proposes a method as follows Figure 2 The policy routing establishment method 100 shown may include S201-S204:
[0051] S201. The terminal obtains the traffic descriptor TD parameter of the application and the corresponding service type TOS parameter.
[0052] It is understandable that when the terminal determines that a policy routing needs to be established, it obtains the TD parameter and the corresponding TOS parameter of the application program, so as to subsequently initiate URSP evaluation according to the TD parameter and the TOS parameter.
[0053] S202. The terminal initiates a user policy routing URSP evaluation according to the TD parameters and obtains a URSP evaluation result.
[0054] It is understandable that the terminal initiates URSP evaluation to the modem device according to the TD parameter. After the modem device performs URSP evaluation, it sends URSP evaluation information to the terminal. Thus, the terminal can obtain the URSP evaluation result according to the URSP evaluation information.
[0055] S203. When the URSP evaluation result is to reuse the existing slice, the terminal uses the TOS parameters and the existing slice to establish policy routing.
[0056] S204. When the URSP evaluation result is a newly created slice, the terminal determines the route selection description RSD parameters of the newly created slice, and establishes policy routing according to the RSD parameters and TOS parameters.
[0057] It can be seen that no matter the URSP evaluation result is to reuse an existing slice or to create a new slice, the terminal can establish policy routing based on the TOS parameters.
[0058] In an optional implementation, when the result of the URSP evaluation is a new slice, the terminal can also determine the routing description RSD parameter list based on the received URSP evaluation information, so that the result of the URSP evaluation also includes the routing description RSD parameter list. Accordingly, the terminal determines the routing description RSD parameters of the new slice, including: the terminal selects RSD parameters from the RSD parameter list; the terminal uses the selected RSD parameters to perform a protocol data unit PDU session establishment operation; if the PDU session establishment operation performed using the selected RSD parameters is successful, the selected RSD parameters are used as the RSD parameters of the new slice. It can be seen that when the result of the URSP evaluation of the terminal is a new slice, the RSD parameters of the new slice are selected from the determined RSD parameter list.
[0059] In another optional implementation, if all the PDU session establishment operations performed by the terminal using the selected RSD parameters fail, the terminal may also output a prompt message, which is used to indicate that an error has occurred in the current PDU session establishment or to indicate that the application has no corresponding policy routing. It can be seen that the terminal may also prompt the user through a prompt message that the application has failed to establish a PDU session.
[0060] It can be understood that the implementation method of the terminal establishing the URSP policy routing according to the RSD parameter list is as follows: Figure 3 As shown. The slice policy service module of the terminal parses the received RSD parameter list, determines the RSD parameters used to establish the PDU session, and sends the RSD parameters to the network management module. The network management module sends the RSD parameters to the modem device through the AT command and initiates packet data protocol (PDP) activation. After the modem device activates PDP, it sends information such as the Internet Protocol (IP) address of the path to the network management module. The network management module establishes policy routing based on information such as the IP address and the determined TOS parameters, and obtains an activated connection identifier (CID). The network management module sends the activated CID to the slice policy service module so that the slice policy service module activates the path according to the CID.
[0061] In an embodiment of the present application, the terminal can obtain the traffic descriptor TD parameter of the application and the corresponding service type TOS parameter, and then initiate the user policy routing URSP evaluation according to the TD parameter to obtain the URSP evaluation result. When the URSP evaluation result is to reuse the existing slice, the terminal uses the TOS parameter and the existing slice to establish the policy routing; when the URSP evaluation result is to create a new slice, the route selection description RSD parameter of the new slice is determined, and the policy routing is established according to the RSD parameter and the TOS parameter. It can be seen that the terminal can establish the policy routing based on the TOS parameter according to the URSP evaluation result.
[0062] The present application also proposes a method such as Figure 4 The policy routing establishment method 200 shown may include S401-S406:
[0063] S401. The terminal determines the slice establishment request triggered by the application, and the slice establishment request carries the traffic descriptor TD parameter and the corresponding service type TOS parameter.
[0064] Understandable, such as Figure 5 As shown, when the terminal determines that a policy route needs to be established, the terminal's application sends a slice establishment request to the slice policy service module. The slice establishment request carries the TD parameters triggered by the application and the corresponding TOS parameters. This facilitates the terminal to obtain the TD parameters and TOS parameters from the slice establishment request sent by the application to the slice policy service module.
[0065] S402. The terminal obtains TD parameters and TOS parameters from the slice establishment request.
[0066] S403. The terminal initiates a user policy routing URSP evaluation according to the TD parameters and obtains a URSP evaluation result.
[0067] like Figure 5 As shown, after completing the URSP evaluation, the modem device sends the URSP evaluation information to the network management module. The network management module determines the URSP evaluation result based on the URSP evaluation information and sends the URSP evaluation result to the slice policy service module.
[0068] In an optional implementation, the terminal initiates a user policy routing URSP evaluation according to the TD parameter, and the implementation method for obtaining the URSP evaluation result is as described above. Figure 5 As shown, the slice policy service module parses the TD parameter and TOS parameter of the application in the slice establishment request, and sends the TOS parameter and TD parameter to the network management module. The network management module initiates an AT command to the modem device, and transmits the TD parameter to the modem device to initiate the URSP evaluation. Then, the modem device performs the URSP evaluation according to the AT command initiated by the terminal. After the modem device completes the URSP evaluation, it sends the URSP evaluation information to the network management module, so that the network management module obtains the URSP evaluation result according to the URSP evaluation information. Finally, the network management module transmits the URSP evaluation result back to the slice policy service module.
[0069] Accordingly, the terminal obtains the URSP evaluation result, specifically: when there is a slice matching the TD parameters in the received URSP evaluation information, it is determined that the result of the URSP evaluation is to reuse the existing slice; when there is no slice matching the TD parameters in the received URSP evaluation information, it is determined that the result of the URSP evaluation is to create a new slice. It can be seen that the network management module determines the URSP evaluation result based on whether there is a slice matching the TD parameters in the URSP evaluation information from the modem device.
[0070] S404. When the URSP evaluation result is to reuse the existing slice, the terminal uses the TOS parameters and the existing slice to establish policy routing.
[0071] S405. When the URSP evaluation result is a newly created slice, the terminal determines the route selection description RSD parameters of the newly created slice, and establishes policy routing according to the RSD parameters and TOS parameters.
[0072] S404 and S405 may refer to the above-mentioned S203 and S204, and will not be described in detail.
[0073] S406. The terminal sends the data packet carrying the TOS parameter through policy routing.
[0074] The TOS parameter can be carried in the packet header of the data packet, so that the data packet is routed to the designated network card for sending based on the TOS parameter carried in the data packet. It can be seen that the terminal can send all data packets carrying the TOS parameter through the established policy routing.
[0075] In the embodiment of the present application, when the terminal determines that a policy route needs to be established, the TD parameter and the corresponding TOS parameter are determined from the slice establishment request triggered by the application. Thus, the terminal initiates URSP evaluation according to the TD parameter and obtains the URSP evaluation result. Then, the terminal establishes a policy route according to the URSP evaluation result and the TOS parameter, and sends the data packet carrying the TOS parameter through the established policy route.
[0076] See also Figure 6 , Figure 6 It is a structural diagram of a policy routing establishment device according to an embodiment of the present application. Figure 6 The policy routing establishment device 600 shown may include: a slice policy service module 601 and a network management module 602. Figure 6 The strategy routing establishment device 600 shown can be used to perform part or all of the functions of the above terminal. The device can be a terminal, or a device in a terminal, or a device that can be used in conjunction with a terminal. Among them:
[0077] The slice policy service module 601 is used to obtain the traffic descriptor TD parameter of the application and the corresponding service type TOS parameter;
[0078] The network management module 602 is used to initiate a user policy routing URSP evaluation according to the TD parameters and obtain a URSP evaluation result;
[0079] The slice policy service module 601 is used to establish policy routing using the TOS parameters and the existing slices when the result of the URSP evaluation is to reuse an existing slice; and to determine the route selection description RSD parameters of the newly created slice when the result of the URSP evaluation is to create a new slice, and to establish policy routing based on the RSD parameters and the TOS parameters.
[0080] In an optional implementation, the network management module 602 is further configured to send the data packet carrying the TOS parameter through the policy routing.
[0081] In an optional implementation, when the result of the URSP evaluation is to create a new slice, the result of the URSP evaluation also includes a routing description RSD parameter list;
[0082] The slice policy service module 601 determines the routing description RSD parameters of the newly created slice, specifically: select RSD parameters from the RSD parameter list; use the selected RSD parameters to perform a protocol data unit PDU session establishment operation; if the PDU session establishment operation performed using the selected RSD parameters is successful, use the selected RSD parameters as the RSD parameters of the newly created slice.
[0083] In an optional embodiment, when all PDU session establishment operations performed using the selected RSD parameters fail, the slice policy service module 601 outputs a prompt message, wherein the prompt message is used to indicate that an error occurs in the current PDU session establishment or to indicate that the application has no corresponding policy routing.
[0084] In an optional implementation, the network management module 602 initiates a user policy routing URSP evaluation based on the TD parameters and obtains a URSP evaluation result, specifically: when there is a slice that matches the TD parameters, it is determined that the result of the URSP evaluation is to reuse an existing slice; when there is no slice that matches the TD parameters, it is determined that the result of the URSP evaluation is to create a new slice.
[0085] In an optional embodiment, the slice policy service module 601 is also used to determine a slice establishment request triggered by an application, the slice establishment request carrying a traffic descriptor TD parameter and a corresponding service type TOS parameter; the slice policy service module 601 obtains the traffic descriptor TD parameter and the corresponding service type TOS parameter of the application, specifically: obtaining the TD parameter and the TOS parameter from the slice establishment request.
[0086] For a more detailed description of the above-mentioned policy routing establishment device 600 and the technical effects it brings, please refer to the relevant description in the above-mentioned method embodiment, which will not be repeated here.
[0087] See also Figure 7 , Figure 7 700 is a schematic diagram of a communication device provided in an embodiment of the present application. The communication device 700 includes a transceiver 701, a memory 702, and a processor 703. The processor 703 and the memory 702 are connected via one or more communication buses.
[0088] The transceiver 701 is used to send or receive data. The memory 702 is used to store commands or computer programs. The memory 702 may include a read-only memory and a random access memory, and provide commands and data to the processor 703. A portion of the memory 702 may also include a non-volatile random access memory.
[0089] The processor 703 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor, and optionally, the processor 703 may also be any conventional processor, etc.
[0090] The communication device 700 may be a terminal in the above method embodiment, and the processor 703 may be configured to execute the computer program or command stored in the memory 702, so that the communication device 700 executes:
[0091] Get the traffic descriptor TD parameter of the application and the corresponding service type TOS parameter;
[0092] Initiate a user policy routing URSP evaluation based on the TD parameters and obtain a URSP evaluation result;
[0093] When the URSP evaluation result is to reuse an existing slice, establish policy routing using the TOS parameter and the existing slice;
[0094] When the URSP evaluation result is a newly created slice, the routing selection description RSD parameters of the newly created slice are determined, and policy routing is established according to the RSD parameters and the TOS parameters.
[0095] In an optional implementation, the processor 703 may be configured to execute a computer program or command stored in the memory 702 to enable the communication device 700 to execute: sending the data packet carrying the TOS parameter through the policy routing.
[0096] In an optional implementation, when the result of the URSP evaluation of the communication device 700 is a newly created slice, the URSP evaluation result also includes a routing description RSD parameter list; the communication device 700 determines the routing description RSD parameters of the newly created slice, and specifically performs: selecting RSD parameters from the RSD parameter list; using the selected RSD parameters to perform a protocol data unit PDU session establishment operation; if the PDU session establishment operation performed using the selected RSD parameters is successful, using the selected RSD parameters as the RSD parameters of the newly created slice.
[0097] In an optional embodiment, if all PDU session establishment operations performed using the selected RSD parameters fail, the processor 703 can be used to execute the computer program or command stored in the memory 702 to cause the communication device 700 to execute: output a prompt message, wherein the prompt message is used to indicate that an error has occurred in the current PDU session establishment or to indicate that the application has no corresponding policy routing.
[0098] In an optional implementation, the communication device 700 initiates a user policy routing URSP evaluation based on the TD parameters and obtains a URSP evaluation result, specifically performing: when there is a slice matching the TD parameters, determining that the result of the URSP evaluation is to reuse an existing slice; when there is no slice matching the TD parameters, determining that the result of the URSP evaluation is to create a new slice.
[0099] In an optional embodiment, the processor 703 can be used to execute a computer program or command stored in the memory 702 to enable the communication device 700 to execute: determine a slice establishment request triggered by an application, the slice establishment request carrying a traffic descriptor TD parameter and a corresponding service type TOS parameter; obtain the traffic descriptor TD parameter and the corresponding service type TOS parameter of the application, including: obtaining the TD parameter and the TOS parameter from the slice establishment request.
[0100] For a more detailed description of the above-mentioned communication device 700 and the technical effects it brings, please refer to the relevant description in the above-mentioned method embodiment, which will not be repeated here.
[0101] An embodiment of the present application also provides a chip. In an optional implementation method, the chip is used to: obtain a traffic descriptor TD parameter and a corresponding service type TOS parameter of an application; initiate a user policy routing URSP evaluation based on the TD parameter to obtain a URSP evaluation result; when the URSP evaluation result is to reuse an existing slice, establish a policy route using the TOS parameter and the existing slice; and, when the URSP evaluation result is to create a new slice, determine a route selection description RSD parameter of the new slice, and establish a policy route based on the RSD parameter and the TOS parameter.
[0102] For other implementations of the chip, please refer to the relevant contents of the above method embodiment, which will not be described in detail here.
[0103] In one possible implementation, the chip includes at least one processor, at least one first memory and at least one second memory; wherein the at least one first memory and the at least one processor are interconnected via lines, and commands are stored in the first memory; the at least one second memory and the at least one processor are interconnected via lines, and the second memory stores data that needs to be stored in the method embodiment.
[0104] For each device or product applied to or integrated in the chip, each module contained therein can be implemented in the form of hardware such as circuits, or at least some of the modules can be implemented in the form of software programs, which run on a processor integrated inside the chip, and the remaining (if any) modules can be implemented in the form of hardware such as circuits.
[0105] See also Figure 8 , Figure 8 800 includes a communication module 801, a power module 802, a storage module 803 and a chip module 804, wherein: the power module is used to provide power to the module device; the storage module is used to store data and commands; the communication module is used to communicate within the module device, or for the module device to communicate with external devices;
[0106] The chip module 804 is used for:
[0107] Get the traffic descriptor TD parameter of the application and the corresponding service type TOS parameter;
[0108] Initiate a user policy routing URSP evaluation based on the TD parameters and obtain a URSP evaluation result;
[0109] When the URSP evaluation result is to reuse an existing slice, establish policy routing using the TOS parameter and the existing slice;
[0110] When the URSP evaluation result is a newly created slice, the routing selection description RSD parameters of the newly created slice are determined, and policy routing is established according to the RSD parameters and the TOS parameters.
[0111] Other implementations of the module device 800 can refer to the relevant contents of the above method embodiment, which will not be described in detail here.
[0112] For each device or product applied to or integrated in the chip module, each module contained therein can be implemented by hardware such as circuits, and different modules can be located in the same component of the chip module (such as a chip, circuit module, etc.) or in different components. Alternatively, at least some of the modules can be implemented by software programs that run on a processor integrated inside the chip module, and the remaining (if any) modules can be implemented by hardware such as circuits.
[0113] An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. The computer program includes program commands. When the program commands are executed by a processor, the method flow of the above method embodiment is implemented.
[0114] The embodiment of the present application also provides a computer program product. When the computer program product runs on a processor, the method flow of the above method embodiment is implemented.
[0115] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain operations can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0116] The descriptions of the various embodiments provided in this application can refer to each other, and the descriptions of the various embodiments have different focuses. For parts that are not described in detail in a certain embodiment, refer to the relevant descriptions of other embodiments. For the convenience and simplicity of description, for example, the functions of the various devices and equipment provided in the embodiments of this application and the operations performed can refer to the relevant descriptions of the method embodiments of this application, and the various method embodiments and the various device embodiments can also refer to, combine or quote each other.
[0117] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for establishing a policy routing, characterized in that: The method comprises: The terminal obtains the traffic descriptor TD parameter of the application and the corresponding service type TOS parameter; The terminal initiates a user policy routing URSP evaluation according to the TD parameter and obtains a URSP evaluation result; When the URSP evaluation result is to reuse an existing slice, the terminal uses the TOS parameter and the existing slice to establish a policy routing; When the URSP evaluation result is a newly created slice, the terminal determines a routing description RSD parameter of the newly created slice, and establishes a policy routing according to the RSD parameter and the TOS parameter.
2. The method according to claim 1, characterized in that The method further comprises: The terminal sends the data packet carrying the TOS parameter through the policy routing.
3. The method according to claim 1, characterized in that When the result of the URSP evaluation by the terminal is a new slice, the URSP evaluation result further includes a routing description RSD parameter list; The terminal determines the routing description RSD parameters of the newly created slice, including: The terminal selects an RSD parameter from the RSD parameter list; The terminal performs a protocol data unit (PDU) session establishment operation using the selected RSD parameters; If the PDU session establishment operation performed using the selected RSD parameters is successful, the selected RSD parameters will be used as the RSD parameters of the newly created slice.
4. The method according to claim 3, characterized in that If all PDU session establishment operations performed using the selected RSD parameters fail, the method further includes: The terminal outputs prompt information, where the prompt information is used to indicate that an error occurs in establishing the current PDU session or to indicate that the application has no corresponding policy routing.
5. The method according to any one of claims 1 to 4, characterized in that: The terminal initiates a user policy routing URSP evaluation according to the TD parameter, and obtains a URSP evaluation result, including: When there is a slice matching the TD parameter, the terminal determines that a result of the URSP evaluation is to multiplex an existing slice; When there is no slice matching the TD parameter, the terminal determines that the result of the URSP evaluation is a new slice.
6. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: The terminal determines a slice establishment request triggered by an application, wherein the slice establishment request carries a traffic descriptor TD parameter and a corresponding service type TOS parameter; The terminal obtains a traffic descriptor TD parameter of the application and a corresponding service type TOS parameter, including: The terminal obtains the TD parameter and the TOS parameter from the slice establishment request.
7. A strategy routing establishment device, characterized in that: Includes slice strategy service module and network management module; The slicing policy service module is used to obtain the traffic descriptor TD parameter of the application and the corresponding service type TOS parameter; The network management module is used to initiate a user policy routing URSP evaluation according to the TD parameters and obtain a URSP evaluation result; The slice policy service module is used to establish policy routing using the TOS parameters and the existing slices when the result of the URSP evaluation is to reuse the existing slices; And when the result of the URSP evaluation is a newly created slice, determine the routing selection description RSD parameters of the newly created slice, and establish policy routing based on the RSD parameters and the TOS parameters.
8. The device according to claim 7, characterized in that The network management module is also used to send the data packet carrying the TOS parameter through the policy routing.
9. The device according to claim 7, characterized in that When the result of the URSP evaluation is to create a new slice, the result of the URSP evaluation also includes a routing description RSD parameter list; The slice policy service module determines the routing description RSD parameters of the newly created slice, specifically: Selecting an RSD parameter from the RSD parameter list; Performing a protocol data unit (PDU) session establishment operation using the selected RSD parameters; If the PDU session establishment operation performed using the selected RSD parameters is successful, the selected RSD parameters will be used as the RSD parameters of the newly created slice.
10. The device according to claim 9, characterized in that When all PDU session establishment operations performed using the selected RSD parameters fail, the slice policy service module outputs a prompt message, where the prompt message is used to indicate that an error has occurred in the current PDU session establishment or to indicate that the application has no corresponding policy routing.
11. The device according to any one of claims 7 to 10, characterized in that The network management module initiates a user policy routing URSP evaluation according to the TD parameters and obtains a URSP evaluation result, specifically: When there is a slice matching the TD parameter, determining that a result of the URSP evaluation is to multiplex an existing slice; When there is no slice matching the TD parameters, it is determined that the result of the URSP evaluation is a newly created slice.
12. The device according to any one of claims 7 to 10, characterized in that The slice policy service module is further used to determine a slice establishment request triggered by an application, wherein the slice establishment request carries a traffic descriptor TD parameter and a corresponding service type TOS parameter; The slicing policy service module obtains the traffic descriptor TD parameter of the application and the corresponding service type TOS parameter, specifically: Obtain the TD parameter and the TOS parameter from the slice creation request.
13. A communication device, characterized in that: The communication device includes a processor and a memory, the processor and the memory are connected to each other, wherein the memory is used to store a computer program, the computer program includes program commands, and the processor is configured to call the program commands to execute the method according to any one of claims 1 to 6.
14. A chip, characterized in that: The chip is used to obtain a traffic descriptor TD parameter of an application and a corresponding service type TOS parameter; The chip is further used to initiate a user policy routing URSP evaluation according to the TD parameters and obtain a URSP evaluation result; The chip is further configured to establish policy routing using the TOS parameters and the existing slices when the URSP evaluation result is to reuse the existing slices; And, when the URSP evaluation result is a newly created slice, determine the routing selection description RSD parameters of the newly created slice, and establish policy routing based on the RSD parameters and the TOS parameters.
15. A module device for establishing policy routing, characterized in that: The module device includes a communication module, a power module, a storage module and a chip module, wherein: The power module is used to provide electrical energy to the module device; The storage module is used to store data and commands; The communication module is used for internal communication of the module device, or for communication between the module device and an external device; The chip module is used for: Get the traffic descriptor TD parameter of the application and the corresponding service type TOS parameter; Initiate a user policy routing URSP evaluation based on the TD parameters and obtain a URSP evaluation result; When the URSP evaluation result is to reuse an existing slice, establish policy routing using the TOS parameter and the existing slice; When the URSP evaluation result is a newly created slice, the routing selection description RSD parameters of the newly created slice are determined, and policy routing is established according to the RSD parameters and the TOS parameters.
16. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program includes program commands, and when the program commands are executed by a processor, the processor is caused to perform the method according to any one of claims 1 to 6.
