A rule matching method and device, and terminal equipment

By receiving business data in terminal equipment and matching URSP rules, the problem that business equipment cannot match URSP rules is solved, effective transmission of business data is achieved, and business data transmission efficiency of industrial terminal equipment is ensured.

CN115842780BActive Publication Date: 2024-09-06CHINA MOBILE COMM LTD RES INST +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110918382.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-11
Publication Date
2024-09-06
Estimated Expiration
2041-08-11

AI Technical Summary

Technical Problem

The service equipment in industrial terminal equipment cannot match and use UE routing policy (URSP) rules, resulting in the inability to carry out effective service data transmission.

Method used

Receive service data through the terminal device, obtain the destination address, and match the corresponding URSP rules based on the address, thereby determining or establishing a PDU session to achieve effective transmission of service data.

Benefits of technology

It enables business equipment to match and use URSP rules, ensures effective transmission of business data, and solves the difficulty in matching URSP rules caused by the independence of business equipment and CPE.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115842780B
    Figure CN115842780B
Patent Text Reader

Abstract

The present application discloses a rule matching method and apparatus, and a terminal device, the method comprising: the terminal device receives service data, and obtains a first destination address from the service data; the terminal device determines, based on the first destination address, a first UE routing selection strategy URSP rule that matches the first destination address, wherein the first URSP rule is used to determine a protocol data unit PDU session corresponding to the service data or to establish a PDU session corresponding to the service data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of wireless communication technology, and in particular to a method and apparatus for determining a rule matching party, and a terminal device. Background Art

[0002] Industrial terminals are divided into business equipment and customer premise equipment (CPE), where one CPE can be connected to one or more business equipment. For mobile communication networks, CPE is a terminal device, and the UE Route Selection Policy (URSP) rules are stored on the CPE, while business equipment cannot use URSP rules. Since business equipment and CPE are physically independent, and CPE works in the second or third layer mode of the network, neither business equipment nor CPE can match URSP rules. Summary of the invention

[0003] In order to solve the above technical problems, the embodiments of the present invention provide a rule matching method and apparatus, a terminal device, a chip, and a computer-readable storage medium.

[0004] The rule matching method provided in the embodiment of the present application includes:

[0005] The terminal device receives the service data, and obtains the first destination address from the service data;

[0006] The terminal device determines a first URSP rule matching the first destination address based on the first destination address, wherein the first URSP rule is used to determine a PDU session corresponding to the service data or to establish a PDU session corresponding to the service data.

[0007] The rule matching device provided in the embodiment of the present application is applied to a terminal device, and the device includes:

[0008] A receiving unit, used for receiving business data;

[0009] An acquiring unit, configured to acquire a first destination address from the service data;

[0010] A determination unit is used to determine a first UE routing selection strategy URSP rule matching the first destination address based on the first destination address, wherein the first URSP rule is used to determine a PDU session corresponding to the service data or to establish a PDU session corresponding to the service data.

[0011] The terminal device provided in an embodiment of the present application includes: a processor and a memory, the memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory to execute any one of the above-mentioned rule matching methods.

[0012] The chip provided in the embodiment of the present application includes: a processor, which is used to call and run a computer program from a memory, so that a device equipped with the chip executes any one of the above methods.

[0013] The core computer-readable storage medium provided in the embodiment of the present application is used to store a computer program, and the computer program enables a computer to execute any one of the above methods.

[0014] In the technical solution of the embodiment of the present application, the terminal device matches the URSP rules based on the destination address in the service data, so that the corresponding PDU session can be determined or created through the matching URSP rules, and then the effective transmission of the service data can be achieved through the PDU session. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 It is a schematic diagram of an application scenario of an embodiment of the present application;

[0016] Figure 2 This is a schematic diagram of the process of the rule matching method provided in the embodiment of the present application. Figure 1 ;

[0017] Figure 3 This is a schematic diagram of the process of the rule matching method provided in the embodiment of the present application. Figure 2 ;

[0018] Figure 4 This is a schematic diagram of the process of the rule matching method provided in the embodiment of the present application. Figure 3 ;

[0019] Figure 5 It is a schematic diagram of the structural composition of the rule matching device provided in an embodiment of the present application;

[0020] Figure 6 is a schematic structural diagram of a communication device provided in an embodiment of the present application;

[0021] Figure 7 It is a schematic structural diagram of the chip of an embodiment of the present application. DETAILED DESCRIPTION

[0022] The following will describe the technical solutions in the embodiments of the present application 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.

[0023] Figure 1 It is a schematic diagram of an application scenario of an embodiment of the present application.

[0024] like Figure 1 As shown, the communication system 100 may include a terminal device 110 and a network device 120. The network device 120 may communicate with the terminal device 110 via an air interface. The terminal device 110 and the network device 120 support multi-service transmission.

[0025] It should be understood that the embodiments of the present application are only exemplified by the communication system 100, but the embodiments of the present application are not limited thereto. That is to say, the technical solutions of the embodiments of the present application can be applied to various communication systems, such as: Long Term Evolution (LTE) system, LTE Time Division Duplex (TDD), Universal Mobile Telecommunication System (UMTS), Internet of Things (IoT) system, Narrow Band Internet of Things (NB-IoT) system, enhanced Machine Type Communications (eMTC) system, 5G communication system (also called New Radio (NR) communication system), or future communication systems, etc.

[0026] exist Figure 1 In the communication system 100 shown, the network device 120 may be an access network device that communicates with the terminal device 110. The access network device may provide communication coverage for a specific geographical area, and may communicate with the terminal device 110 (eg, UE) located in the coverage area.

[0027] The network device 120 may be an evolved Node B (eNB or eNodeB) in a Long Term Evolution (LTE) system, or a Next Generation Radio Access Network (NG RAN) device, or a base station (gNB) in an NR system, or a wireless controller in a Cloud Radio Access Network (CRAN), or the network device 120 may be a relay station, an access point, a vehicle-mounted device, a wearable device, a hub, a switch, a bridge, a router, or a network device in a future evolved Public Land Mobile Network (PLMN), etc.

[0028] The terminal device 110 may be any terminal device, including but not limited to a terminal device connected to the network device 120 or other terminal devices by wire or wireless connection.

[0029] For example, the terminal device 110 may refer to an access terminal, a user equipment (UE), 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. The access terminal may be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, an IoT device, a satellite handheld terminal, 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 evolution network, etc.

[0030] The terminal device 110 may be used for device-to-device (D2D) communication.

[0031] The wireless communication system 100 may also include a core network device 130 for communicating with the base station, and the core network device 130 may be a 5G core network (5G Core, 5GC) device, for example, an access and mobility management function (Access and Mobility Management Function, AMF), and for example, an authentication server function (Authentication Server Function, AUSF), and for example, a user plane function (User Plane Function, UPF), and for example, a session management function (Session Management Function, SMF). Optionally, the core network device 130 may also be an evolved packet core (Evolved Packet Core, EPC) device of the LTE network, for example, a session management function + a data gateway (Session Management Function + Core Packet Gateway, SMF + PGW-C) device of the core network. It should be understood that SMF + PGW-C can simultaneously implement the functions that SMF and PGW-C can implement. In the process of network evolution, the above-mentioned core network device may also be called other names, or a new network entity may be formed by dividing the functions of the core network, which is not limited to the embodiments of the present application.

[0032] The functional units in the communication system 100 may also establish connections through next generation (NG) network interfaces to achieve communication.

[0033] For example, the terminal device establishes an air interface connection with the access network device through the NR interface for transmitting user plane data and control plane signaling; the terminal device can establish a control plane signaling connection with the AMF through the NG interface 1 (N1 for short); the access network device, such as the next generation wireless access base station (gNB), can establish a user plane data connection with the UPF through the NG interface 3 (N3 for short); the access network device can establish a control plane signaling connection with the AMF through the NG interface 2 (N2 for short); the UPF can establish a control plane signaling connection with the SMF through the NG interface 4 (N4 for short); the UPF can exchange user plane data with the data network through the NG interface 6 (N6 for short); the AMF can establish a control plane signaling connection with the SMF through the NG interface 11 (N11 for short); the SMF can establish a control plane signaling connection with the PCF through the NG interface 7 (N7 for short).

[0034] Figure 1A base station, a core network device and two terminal devices are shown exemplarily. Optionally, the wireless communication system 100 may include multiple base station devices and each base station may include another number of terminal devices within its coverage area, which is not limited in the embodiments of the present application.

[0035] It should be noted that Figure 1 It is only to illustrate the system to which the present application is applicable in the form of an example. Of course, the method shown in the embodiment of the present application can also be applied to other systems. In addition, the terms "system" and "network" are often used interchangeably in this article. The term "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship. It should also be understood that the "indication" mentioned in the embodiment of the present application can be a direct indication, an indirect indication, or an indication of an association relationship. For example, A indicates B, which can mean that A directly indicates B, for example, B can be obtained through A; it can also mean that A indirectly indicates B, for example, A indicates C, B can be obtained through C; it can also mean that there is an association relationship between A and B. It should also be understood that the "correspondence" mentioned in the embodiment of the present application can mean that there is a direct or indirect correspondence relationship between the two, or it can mean that there is an association relationship between the two, or it can mean that there is an indication and being indicated, configuration and being configured, etc. It should also be understood that the "predefined" or "predefined rules" mentioned in the embodiments of the present application can be implemented by pre-saving corresponding codes, tables or other methods that can be used to indicate relevant information in devices (for example, including terminal devices and network devices), and the present application does not limit its specific implementation method. For example, predefined can refer to the definition in the protocol. It should also be understood that in the embodiments of the present application, the "protocol" may refer to a standard protocol in the field of communications, such as LTE protocols, NR protocols, and related protocols used in future communication systems, and the present application does not limit this.

[0036] To facilitate understanding of the technical solutions of the embodiments of the present application, the relevant technologies of the embodiments of the present application are described below. The following related technologies can be arbitrarily combined with the technical solutions of the embodiments of the present application as optional solutions, and they all belong to the protection scope of the embodiments of the present application.

[0037] URSP determines the binding relationship between service data and protocol data unit (PDU) sessions, and also determines what kind of PDU session the terminal device needs to establish to satisfy this binding relationship. Different service data flows can be bound to different PDU sessions according to URSP rules.

[0038] URSP contains multiple URSP rules, each of which consists of a traffic descriptor (TD) and a set of route selection descriptors (RSD). The TD in URSP is used to describe service characteristics. There can be one or more RSDs (called RSD lists) under a TD. Each RSD can correspond to one or more parameter value combinations, and each parameter value combination corresponds to a set of PDU session characteristics. The service data matching the TD can be transmitted in the PDU session corresponding to a parameter value combination of a certain RSD under the TD.

[0039] The terminal device associates the service data with the corresponding PDU session for transmission based on the URSP rules. The mechanism is as follows:

[0040] When business data appears in the application layer, the terminal device uses the URSP rules in the URSP to check whether the business characteristics of the business data match the TD of a certain URSP rule. The order of checking can be determined according to the priority (Precedence) in the URSP rule; when a URSP rule is matched, the terminal device uses the RSD list under the URSP rule to determine whether there is a PDU session matching one of the RSDs. If so, the PDU session is reused to transmit the business data. If not, a new PDU session is established according to an RSD in the RSD list, and the business data is transmitted through the PDU session.

[0041] It should be noted that RSD includes PDU session attribute parameters associated with the PDU session, such as single-network slice selection assistant information (S-NSSAI), data network name (Data Network Name, DNN), PDU session identifier (PDU Session id), PDU session type (PDUSession Type), etc.

[0042] It should be noted that the URSP rules can be pre-configured on the terminal device side, or configured to the terminal device by the network side, wherein the priority of the URSP rules configured on the network side is higher than the priority of the URSP rules pre-configured on the terminal device side.

[0043] Industrial terminals are divided into service devices and CPEs, where one CPE can be connected to one or more service devices. For mobile communication networks, CPEs are terminal devices, and URSP rules are stored on CPEs, but service devices cannot use URSP rules. Since service devices and CPEs are physically independent, and CPEs work in the second or third layer of the network, neither service devices nor CPEs can match URSP rules.

[0044] To this end, the following technical solutions of the embodiments of the present application are proposed: The technical solutions of the embodiments of the present application propose a method for matching URSP rules based on the destination address, so that the CPE can match URSP rules according to the technical solutions described in the embodiments of the application.

[0045] To facilitate understanding of the technical solutions of the embodiments of the present application, the technical solutions of the present application are described in detail below through specific embodiments. The above related technologies can be combined arbitrarily with the technical solutions of the embodiments of the present application as optional solutions, and they all belong to the protection scope of the embodiments of the present application. The embodiments of the present application include at least part of the following contents.

[0046] Figure 2 is a flow chart of the rule matching method provided in the embodiment of the present application, such as Figure 2 As shown, the rule matching method includes the following steps:

[0047] Step 201: The terminal device receives service data and obtains a first destination address from the service data.

[0048] Step 202: The terminal device determines a first URSP rule matching the first destination address based on the first destination address, wherein the first URSP rule is used to determine a PDU session corresponding to the service data or to establish a PDU session corresponding to the service data.

[0049] In some optional implementations, the terminal device is a CPE. Here, the implementation of the CPE is divided into the following two categories: the first category is the CPE integrated with the function of a router; the second category is the CPE external router. As an example, the router here can be an AR router.

[0050] In the embodiment of the present application, the terminal device may receive service data in the following two ways:

[0051] Mode 1: The terminal device receives the service data sent by the service device.

[0052] Mode 2: The terminal device receives the service data from the service device forwarded by the router.

[0053] In the embodiment of the present application, the terminal device can obtain a destination address from the service data, which is referred to as the first destination address for ease of description. The terminal device determines a first URSP rule matching the first destination address based on the first destination address, wherein the first URSP rule is used to determine a PDU session corresponding to the service data or to establish a PDU session corresponding to the service data.

[0054] In the embodiment of the present application, the terminal device can operate in two modes, namely, OSI layer 2 mode and OSI layer 3 mode.

[0055] In some optional implementations, the terminal device operates in an OSI layer 2 mode, and the first destination address is a destination MAC address.

[0056] In some optional implementations, the terminal device operates in an OSI layer 3 mode, and the first destination address includes at least one parameter in a destination IP triplet, and the destination IP triplet includes a protocol, a destination IP address, and a destination port.

[0057] It should be noted that the IP triplet includes the protocol, IP address and port. The destination IP triplet includes the protocol, destination IP address and destination port.

[0058] In the embodiment of the present application, the terminal device determines the first URSP rule matching the first destination address based on the first destination address, which can be implemented in the following manner:

[0059] The terminal device determines whether the first destination address matches the destination address described in the TD of the URSP rule;

[0060] If the first destination address matches the destination address described in the TD of the URSP rule, the terminal device determines that the URSP rule is a first URSP rule that matches the first destination address.

[0061] Further, in some optional embodiments, the terminal device determines a first RSD that matches the session attribute parameters from the RSD list of the first URSP rule based on the session attribute parameters corresponding to the business data; the terminal device determines a PDU session corresponding to the business data or establishes a PDU session corresponding to the business data based on the first RSD, wherein the PDU session is used to transmit the business data.

[0062] Here, the terminal device determines the first RSD matching the session attribute parameter from the route selector RSD list of the first URSP rule based on the session attribute parameter corresponding to the service data, which can be implemented in the following manner:

[0063] The terminal device determines whether the first network slice identifier matches the network slice identifier described in the RSD in the RSD list of the first URSP rule;

[0064] If the first network slice identifier matches the network slice identifier described in the RSD in the RSD list of the first URSP rule, the terminal device determines that the RSD is the first RSD that matches the first network slice identifier.

[0065] It should be noted that the above scheme is illustrated by taking the example that the session attribute parameters corresponding to the business data include the first network slice identifier, but is not limited to this. The session attribute parameters may also include other parameters.

[0066] In the embodiment of the present application, the terminal device may be pre-configured with one or more URSP rules, or the network may configure one or more URSP rules for the terminal device.

[0067] As an implementation method, the terminal device receives first configuration information sent by the network, where the first configuration information is used to configure one or more URSP rules, and the URSP rules include a TD and an RSD list, wherein the TD is used to describe the destination address and the RSD is used to describe the session attribute parameters.

[0068] In some optional implementations, the first configuration information is configured by a policy control network element, and is sent by the policy control network element to the terminal device via an access mobility management network element. Here, the policy control network element may be a policy control function network element (Policy Control Function, PCF). The access mobility management network element may be an access mobility management function network element (Access and Mobility Management Function, AMF).

[0069] In the above solution, the service data may also be referred to as a service data message, and the first destination address is carried in the header of the service data message.

[0070] It should be noted that the technical solution of the embodiment of the present application can be applied to industry networks, but is not limited to this, and can also be applied to other types of networks.

[0071] The technical solution of the embodiment of the present application is illustrated below with reference to specific application examples. It should be noted that the following application examples are illustrated by taking the terminal device as a CPE as an example.

[0072] Application Example 1

[0073] In this application example, the CPE uses the Layer 2 destination address (ie, destination MAC address) in the service data message to match the URSP rule.

[0074] Here, the CPE works in the OSI Layer 2 mode. Regardless of whether there is an AR router between the CPE and the service device, the CPE can obtain the destination MAC address in the Layer 2 protocol from the service data packet. The CPE matches the URSP rule according to the destination MAC address, and then determines or establishes the PDU session according to the matched URSP rule.

[0075] Here, a new TD is added to the URSP rule, which describes the destination MAC address in the layer 2 protocol. Further, optionally, the TD can also describe an Ethernet type PDU session. The CPE can use the destination MAC address in the layer 2 protocol in the service data message to match the URSP rule, and then determine or establish a PDU session according to the matched URSP rule.

[0076] like Figure 3 As shown, the matching process of URSP rules includes the following steps:

[0077] 1. PCF configures two URSP rules: URSP rule 1: TD(MAC1)+RSD(slice 1); URSP rule 2: TD(MAC2)+RSD(slice 2). UDM signs two slices for the user: slice 1 and slice 2.

[0078] Here, TD in URSP rule 1 describes a destination MAC address, which is recorded as MAC1. RSD in URSP rule 1 describes a slice, which is recorded as slice 1.

[0079] Here, TD in URSP rule 2 describes a destination MAC address, recorded as MAC2. RSD in URSP rule 2 describes a slice, recorded as slice2.

[0080] 2. When CPE initiates the registration phase or after CPE registration is completed, PCF sends the URSP rules to CPE through AMF.

[0081] 3. CPE saves the URSP rules: URSP rule 1: TD(MAC1)+RSD(slice 1); URSP rule 2: TD(MAC2)+RSD(slice 2).

[0082] 4. Industrial terminal 1 performs business and sends business data to CPE; industrial terminal 2 performs business and sends business data to CPE.

[0083] 5. The CPE receives the service data, obtains the destination MAC address from the service data, matches the corresponding URSP rule according to the destination MAC address, establishes a PDU session based on the matched URSP rule, and transmits the service data through the PDU session.

[0084] Specifically, if the destination MAC address obtained by the CPE from the service data is MAC1, the CPE will match URSP rule 1 according to the destination MAC address, establish PDU session-1 on slice 1 based on URSP rule 1, and transmit the service data of industrial terminal 1 through PDU session-1. If the destination MAC address obtained by the CPE from the service data is MAC2, the CPE will match URSP rule 2 according to the destination MAC address, establish PDU session-2 on slice 2 based on URSP rule 2, and transmit the service data of industrial terminal 2 through PDU session-2.

[0085] It should be noted that in the above application examples, the industrial terminal connected to the CPE is a pure Layer 2 device.

[0086] Application Example 2

[0087] In this application example, the CPE uses the Layer 3 destination address in the service data message to match the URSP rule.

[0088] Here, the CPE works in the OSI layer 3 mode. Regardless of whether there is an AR router between the CPE and the service device, the CPE can obtain the destination address in the layer 3 protocol from the service data packet. The CPE matches the URSP rule according to the destination address, and then determines or establishes the PDU session according to the matched URSP rule.

[0089] Here, a new TD is added to the URSP rule, which describes the destination address in the three-layer protocol, such as the target IP triplet. The CPE can use the destination IP triplet in the three-layer protocol in the service data message to match the URSP rule, and then determine or establish a PDU session according to the matched URSP rule.

[0090] like Figure 4 As shown, the matching process of URSP rules includes the following steps:

[0091] 1. PCF configures two URSP rules: URSP rule 1: TD (IP triplet 1) + RSD (slice 1); URSP rule 2: TD (IP triplet 2) + RSD (slice 2). UDM signs two slices for the user: slice 1 and slice 2.

[0092] Here, TD in URSP rule 1 describes a destination IP triplet, which is recorded as IP triplet 1. RSD in URSP rule 1 describes a slice, which is recorded as slice 1.

[0093] Here, TD in URSP rule 2 describes a destination IP triplet, which is recorded as IP triplet 2. RSD in URSP rule 2 describes a slice, which is recorded as slice 2.

[0094] 2. When CPE initiates the registration phase or after CPE registration is completed, PCF sends the URSP rules to CPE through AMF.

[0095] 3. CPE saves URSP rules: URSP rule 1: TD (IP triplet 1) + RSD (slice 1); URSP rule 2: TD (IP triplet 2) + RSD (slice 2).

[0096] 4. Industrial terminal 1 performs business and sends business data to CPE; industrial terminal 2 performs business and sends business data to CPE.

[0097] 5. The CPE receives the service data, obtains the destination IP triplet from the service data, matches the corresponding URSP rule according to the destination IP triplet, establishes a PDU session based on the matched URSP rule, and transmits the service data through the PDU session.

[0098] Specifically, if the destination IP triplet obtained by the CPE from the service data is IP triplet 1, the CPE will match URSP rule 1 according to the destination IP triplet, establish PDU session-1 on slice 1 based on URSP rule 1, and transmit the service data of industrial terminal 1 through PDU session-1. If the destination IP triplet obtained by the CPE from the service data is IP triplet 2, the CPE will match URSP rule 2 according to the destination IP triplet, establish PDU session-2 on slice 2 based on URSP rule 2, and transmit the service data of industrial terminal 2 through PDU session-2.

[0099] It should be noted that in the above application examples, the industrial terminal connected to the CPE is a layer-3 device.

[0100] The technical solution of the embodiment of the present application adds a TD related to the layer 2 destination address or the layer 3 destination address in the URSP rule. Based on this, the CPE uses the layer 2 destination address or the layer 3 destination address in the service data message to match the URSP rule, and then creates a new or selects an existing PDU session to transmit the service data according to the matching URSP rule. The technical solution of the embodiment of the present application can realize the forwarding of the service data of the industrial terminal on different network resources (such as different network slices).

[0101] Figure 5 Schematic diagram of the structure of the rule matching device provided in the embodiment of the present application, which is applied to terminal devices such as Figure 5 As shown, the rule matching device includes:

[0102] The receiving unit 501 is used to receive service data;

[0103] An acquiring unit 502, configured to acquire a first destination address from the service data;

[0104] The determination unit 503 is used to determine a first UE routing selection strategy URSP rule matching the first destination address based on the first destination address, wherein the first URSP rule is used to determine the PDU session corresponding to the service data or to establish the PDU session corresponding to the service data.

[0105] In some optional implementations, the determining unit 503 is used to determine whether the first destination address matches the destination address described in the service descriptor TD of the URSP rule; if the first destination address matches the destination address described in the TD of the URSP rule, it is determined that the URSP rule is the first URSP rule that matches the first destination address.

[0106] In some optional embodiments, the determination unit 503 is further used to determine, based on the session attribute parameters corresponding to the business data, a first RSD that matches the session attribute parameters from the routing selector RSD list of the first URSP rule; based on the first RSD, determine the PDU session corresponding to the business data or establish a PDU session corresponding to the business data, wherein the PDU session is used to transmit the business data.

[0107] In some optional embodiments, the session attribute parameters corresponding to the service data include a first network slice identifier; the determination unit 503 is used to determine whether the first network slice identifier matches the network slice identifier described in the RSD in the RSD list of the first URSP rule; if the first network slice identifier matches the network slice identifier described in the RSD in the RSD list of the first URSP rule, it is determined that the RSD is the first RSD that matches the first network slice identifier.

[0108] In some optional implementations, the first destination address is a destination MAC address.

[0109] In some optional implementations, the first destination address includes at least one parameter in a destination IP triplet, and the destination IP triplet includes a protocol, a destination IP address, and a destination port.

[0110] In some optional implementations, the receiving unit 501 is further configured to receive first configuration information sent by the network, the first configuration information being used to configure one or more URSP rules, the URSP rules including a TD and an RSD list, wherein the TD is used to describe the destination address, and the RSD is used to describe the session attribute parameters.

[0111] In some optional implementations, the first configuration information is configured by a policy control network element, and is sent by the policy control network element to the terminal device via an access mobility management network element.

[0112] In some optional implementations, the receiving unit 501 is configured to receive service data sent by a service device; or receive service data from a service device forwarded by a router.

[0113] In some optional implementations, the terminal device is a CPE.

[0114] Those skilled in the art should understand that Figure 5 The implementation functions of each unit in the rule matching device shown can be understood by referring to the relevant description of the aforementioned method. Figure 5 The functions of each unit in the rule matching device shown can be implemented by a program running on a processor, or by a specific logic circuit.

[0115] Figure 6 600 is a schematic structural diagram of a communication device 600 provided in an embodiment of the present application. The communication device may be a terminal device, Figure 6 The communication device 600 shown includes a processor 610, which can call and run a computer program from a memory to implement the method in the embodiment of the present application.

[0116] Alternatively, if Figure 6 As shown, the communication device 600 may further include a memory 620. The processor 610 may call and run a computer program from the memory 620 to implement the method in the embodiment of the present application.

[0117] The memory 620 may be a separate device independent of the processor 610 , or may be integrated into the processor 610 .

[0118] Alternatively, if Figure 6 As shown, the communication device 600 may further include a transceiver 630, and the processor 610 may control the transceiver 630 to communicate with other devices, specifically, may send information or data to other devices, or receive information or data sent by other devices.

[0119] The transceiver 630 may include a transmitter and a receiver. The transceiver 630 may further include an antenna, and the number of the antennas may be one or more.

[0120] Optionally, the communication device 600 may specifically be a terminal device of an embodiment of the present application, and the communication device 600 may implement the corresponding processes implemented by the terminal device in each method of the embodiment of the present application, which will not be described in detail here for the sake of brevity.

[0121] Figure 7 It is a schematic structural diagram of the chip of an embodiment of the present application. Figure 7 The chip 700 shown includes a processor 710, which can call and run a computer program from a memory to implement the method in the embodiment of the present application.

[0122] Alternatively, if Figure 7 As shown, the chip 700 may further include a memory 720. The processor 710 may call and run a computer program from the memory 720 to implement the method in the embodiment of the present application.

[0123] The memory 720 may be a separate device independent of the processor 710 , or may be integrated into the processor 710 .

[0124] Optionally, the chip 700 may further include an input interface 730. The processor 710 may control the input interface 730 to communicate with other devices or chips, and specifically, may obtain information or data sent by other devices or chips.

[0125] Optionally, the chip 700 may further include an output interface 740. The processor 710 may control the output interface 740 to communicate with other devices or chips, and specifically, may output information or data to other devices or chips.

[0126] Optionally, the chip can be applied to the terminal device in the embodiments of the present application, and the chip can implement the corresponding processes implemented by the terminal device in the various methods of the embodiments of the present application. For the sake of brevity, they will not be repeated here.

[0127] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0128] It should be understood that the processor of the embodiment of the present application may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method embodiment can be completed by the hardware integrated logic circuit or software instructions in the processor. The above processor can be a general processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware decoding processor to perform, or the hardware and software modules in the decoding processor are combined and performed. The software module can be located in a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, and other mature storage media in the art. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0129] It can be understood that the memory in the embodiments of the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0130] It should be understood that the above-mentioned memory is exemplary but not restrictive. For example, the memory in the embodiments of the present application may also be static random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (synch link DRAM, SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DR RAM), etc. That is to say, the memory in the embodiments of the present application is intended to include but not limited to these and any other suitable types of memory.

[0131] An embodiment of the present application also provides a computer-readable storage medium for storing a computer program.

[0132] Optionally, the computer-readable storage medium can be applied to the terminal device in the embodiments of the present application, and the computer program enables the computer to execute the corresponding processes implemented by the terminal device in the various methods of the embodiments of the present application. For the sake of brevity, they are not repeated here.

[0133] An embodiment of the present application also provides a computer program product, including computer program instructions.

[0134] Optionally, the computer program product can be applied to the terminal device in the embodiments of the present application, and the computer program instructions enable the computer to execute the corresponding processes implemented by the terminal device in the various methods of the embodiments of the present application. For the sake of brevity, they are not repeated here.

[0135] The embodiment of the present application also provides a computer program.

[0136] Optionally, the computer program can be applied to the terminal device in the embodiments of the present application. When the computer program runs on the computer, the computer executes the corresponding processes implemented by the terminal device in the various methods of the embodiments of the present application. For the sake of brevity, they are not repeated here.

[0137] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0138] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0139] In the several embodiments provided in the present application, it should be understood that the disclosed systems, 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 units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components 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, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0140] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0141] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0142] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0143] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A rule matching method, It is characterized in that The method comprises: The terminal device receives the service data and obtains a first destination address from the service data; the terminal device is a customer premise equipment (CPE); the first destination address is a destination MAC address; The terminal device determines, based on the first destination address, a first UE routing strategy URSP rule matching the first destination address, wherein the first URSP rule is used to determine a protocol data unit PDU session corresponding to the service data or to establish a PDU session corresponding to the service data; The terminal device receives the service data, including: the terminal device receives the service data sent by the service device; or the terminal device receives the service data from the service device forwarded by a router.

2. The method according to claim 1, It is characterized in that The terminal device determines, based on the first destination address, a first URSP rule matching the first destination address, including: The terminal device determines whether the first destination address matches the destination address described in the service descriptor TD of the URSP rule; If the first destination address matches the destination address described in the TD of the URSP rule, the terminal device determines that the URSP rule is a first URSP rule that matches the first destination address.

3. The method according to claim 1, It is characterized in that The method further comprises: The terminal device determines, based on the session attribute parameter corresponding to the service data, a first RSD matching the session attribute parameter from the route selector RSD list of the first URSP rule; Based on the first RSD, the terminal device determines a PDU session corresponding to the service data or establishes a PDU session corresponding to the service data, wherein the PDU session is used to transmit the service data.

4. The method according to claim 3, It is characterized in that The session attribute parameters corresponding to the service data include a first network slice identifier; The terminal device determines, based on the session attribute parameter corresponding to the service data, a first RSD matching the session attribute parameter from the route selector RSD list of the first URSP rule, including: The terminal device determines whether the first network slice identifier matches the network slice identifier described in the RSD in the RSD list of the first URSP rule; If the first network slice identifier matches the network slice identifier described in the RSD in the RSD list of the first URSP rule, the terminal device determines that the RSD is the first RSD that matches the first network slice identifier.

5. The method according to any one of claims 1 to 4, It is characterized in that The first destination address includes at least one parameter in a destination IP triplet, and the destination IP triplet includes a protocol, a destination IP address, and a destination port.

6. The method according to any one of claims 1 to 4, It is characterized in that The method further comprises: The terminal device receives first configuration information sent by the network, where the first configuration information is used to configure one or more URSP rules, where the URSP rules include a TD and an RSD list, where the TD is used to describe a destination address, and the RSD is used to describe a session attribute parameter.

7. The method according to claim 6, It is characterized in that The first configuration information is configured by a policy control network element and is sent by the policy control network element to the terminal device via an access mobility management network element.

8. A rule matching device, applied to a terminal device, wherein the terminal device is a CPE; the device include: A receiving unit, used for receiving business data; It is also used to receive business data sent by business equipment; Or, receiving service data from a service device forwarded by a router; An acquiring unit, configured to acquire a first destination address from the service data; The first destination address is a destination MAC address; A determination unit is used to determine a first UE routing selection strategy URSP rule matching the first destination address based on the first destination address, wherein the first URSP rule is used to determine a PDU session corresponding to the service data or to establish a PDU session corresponding to the service data.

9. A terminal device, It is characterized in that include: A processor and a memory, the memory being used to store a computer program, the processor being used to call and run the computer program stored in the memory to execute the method according to any one of claims 1 to 7.

10. A chip, It is characterized in that include: A processor, configured to call and run a computer program from a memory, so that a device equipped with the chip executes a method as claimed in any one of claims 1 to 7.

11. A computer-readable storage medium, It is characterized in that Used to store a computer program, wherein the computer program causes a computer to execute the method according to any one of claims 1 to 7.