技术领域Technical Field
本申请涉及无线通信技术领域,尤其涉及一种规则匹配方确定方法及装置、终端设备。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
工业终端分为业务设备和客户前置设备(CPE,Customer Premise Equipment),其中,一个CPE下可以挂一个或多个业务设备。对于移动通信网络来说,CPE为终端设备,UE路由选择策略(UE Route Selection Policy,URSP)规则存储在CPE上,而业务设备无法使用URSP规则。由于业务设备和CPE在物理上是独立的,而CPE又是工作在网络的二层或者三层模式下,导致无论是业务设备还是CPE,都无法进行URSP规则的匹配。Industrial terminals are divided into business devices and customer premise equipment (CPE), where one CPE can be connected to one or more business devices. For mobile communication networks, CPE is a terminal device, and the UE Route Selection Policy (URSP) rules are stored on the CPE, while business devices cannot use URSP rules. Since business devices and CPE are physically independent, and CPE works in the second or third layer mode of the network, neither business devices nor CPE can match URSP rules.
发明内容Summary of the invention
为解决上述技术问题,本发明实施例提供了一种规则匹配方法及装置、终端设备、芯片、计算机可读存储介质。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.
本申请实施例提供的规则匹配方法,包括:The rule matching method provided in the embodiment of the present application includes:
终端设备接收业务数据,从所述业务数据中获取第一源地址;The terminal device receives the service data, and obtains a first source address from the service data;
所述终端设备基于所述第一源地址,确定与所述第一源地址匹配的第一URSP规则,其中,所述第一URSP规则用于确定所述业务数据对应的PDU会话或者用于建立所述业务数据对应的PDU会话。The terminal device determines a first URSP rule that matches the first source address based on the first source 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.
本申请实施例提供的规则匹配装置,应用于终端设备,所述装置包括:The rule matching device provided in the embodiment of the present application is applied to a terminal device, and the device includes:
接收单元,用于接收业务数据;A receiving unit, used for receiving service data;
获取单元,用于从所述业务数据中获取第一源地址;An acquiring unit, configured to acquire a first source address from the service data;
确定单元,用于基于所述第一源地址,确定与所述第一源地址匹配的第一UE路由选择策略URSP规则,其中,所述第一URSP规则用于确定所述业务数据对应的PDU会话或者用于建立所述业务数据对应的PDU会话。A determination unit is used to determine a first UE routing selection strategy URSP rule matching the first source address based on the first source 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.
本申请实施例提供的终端设备,包括:处理器和存储器,该存储器用于存储计算机程序,所述处理器用于调用并运行所述存储器中存储的计算机程序,执行上述任意一种规则匹配方法。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.
本申请实施例提供的芯片,包括:处理器,用于从存储器中调用并运行计算机程序,使得安装有所述芯片的设备执行上述任意一种方法。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.
本申请实施例提供的芯计算机可读存储介质,用于存储计算机程序,所述计算机程序使得计算机执行上述任意一种方法。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.
本申请实施例的技术方案中,终端设备基于业务数据中的源地址去匹配URSP规则,从而可以通过匹配的URSP规则来确定或创建对应的PDU会话,进而可以通过PDU会话实现业务数据的有效传输。In the technical solution of the embodiment of the present application, the terminal device matches the URSP rules based on the source address in the business data, so that the corresponding PDU session can be determined or created through the matching URSP rules, and then the effective transmission of the business data can be achieved through the PDU session.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1是本申请实施例的一个应用场景的示意图;FIG1 is a schematic diagram of an application scenario of an embodiment of the present application;
图2是本申请实施例提供的规则匹配方法的流程示意图一;FIG2 is a flowchart of a rule matching method according to an embodiment of the present application;
图3是本申请实施例提供的规则匹配方法的流程示意图二;FIG3 is a second flow chart of the rule matching method provided in an embodiment of the present application;
图4是本申请实施例提供的规则匹配方法的流程示意图三;FIG4 is a third flow chart of the rule matching method provided in an embodiment of the present application;
图5是本申请实施例提供的规则匹配装置的结构组成示意图;FIG5 is a schematic diagram of the structure of a rule matching device provided in an embodiment of the present application;
图6是本申请实施例提供的一种通信设备示意性结构图;FIG6 is a schematic structural diagram of a communication device provided in an embodiment of the present application;
图7是本申请实施例的芯片的示意性结构图。FIG. 7 is a schematic structural diagram of a chip according to an embodiment of the present application.
具体实施方式DETAILED DESCRIPTION
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。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.
图1是本申请实施例的一个应用场景的示意图。FIG. 1 is a schematic diagram of an application scenario of an embodiment of the present application.
如图1所示,通信系统100可以包括终端设备110和网络设备120。网络设备120可以通过空口与终端设备110通信。终端设备110和网络设备120之间支持多业务传输。As shown in Fig. 1, 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.
应理解,本申请实施例仅以通信系统100进行示例性说明,但本申请实施例不限定于此。也就是说,本申请实施例的技术方案可以应用于各种通信系统,例如:长期演进(LongTerm Evolution,LTE)系统、LTE时分双工(Time Division Duplex,TDD)、通用移动通信系统(Universal Mobile Telecommunication System,UMTS)、物联网(Internet of Things,IoT)系统、窄带物联网(Narrow Band Internet of Things,NB-IoT)系统、增强的机器类型通信(enhanced Machine-Type Communications,eMTC)系统、5G通信系统(也称为新无线(New Radio,NR)通信系统),或未来的通信系统等。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.
在图1所示的通信系统100中,网络设备120可以是与终端设备110通信的接入网设备。接入网设备可以为特定的地理区域提供通信覆盖,并且可以与位于该覆盖区域内的终端设备110(例如UE)进行通信。In the communication system 100 shown in Fig. 1, 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.
网络设备120可以是长期演进(Long Term Evolution,LTE)系统中的演进型基站(Evolutional Node B,eNB或eNodeB),或者是下一代无线接入网(Next Generation RadioAccess Network,NG RAN)设备,或者是NR系统中的基站(gNB),或者是云无线接入网络(Cloud Radio Access Network,CRAN)中的无线控制器,或者该网络设备120可以为中继站、接入点、车载设备、可穿戴设备、集线器、交换机、网桥、路由器,或者未来演进的公共陆地移动网络(Public Land Mobile Network,PLMN)中的网络设备等。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.
终端设备110可以是任意终端设备,其包括但不限于与网络设备120或其它终端设备采用有线或者无线连接的终端设备。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.
例如,所述终端设备110可以指接入终端、用户设备(User Equipment,UE)、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置。接入终端可以是蜂窝电话、无绳电话、会话启动协议(SessionInitiation Protocol,SIP)电话、IoT设备、卫星手持终端、无线本地环路(Wireless LocalLoop,WLL)站、个人数字处理(Personal Digital Assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备、5G网络中的终端设备或者未来演进网络中的终端设备等。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.
终端设备110可以用于设备到设备(Device to Device,D2D)的通信。The terminal device 110 may be used for device-to-device (D2D) communication.
无线通信系统100还可以包括与基站进行通信的核心网设备130,该核心网设备130可以是5G核心网(5G Core,5GC)设备,例如,接入与移动性管理功能(Access andMobility Management Function,AMF),又例如,认证服务器功能(Authentication ServerFunction,AUSF),又例如,用户面功能(User Plane Function,UPF),又例如,会话管理功能(Session Management Function,SMF)。可选地,核心网络设备130也可以是LTE网络的分组核心演进(Evolved Packet Core,EPC)设备,例如,会话管理功能+核心网络的数据网关(Session Management Function+Core Packet Gateway,SMF+PGW-C)设备。应理解,SMF+PGW-C可以同时实现SMF和PGW-C所能实现的功能。在网络演进过程中,上述核心网设备也有可能叫其它名字,或者通过对核心网的功能进行划分形成新的网络实体,对此本申请实施例不做限制。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 in the embodiments of the present application.
通信系统100中的各个功能单元之间还可以通过下一代网络(next generation,NG)接口建立连接实现通信。The various functional units in the communication system 100 may also establish connections through next generation (NG) network interfaces to achieve communication.
例如,终端设备通过NR接口与接入网设备建立空口连接,用于传输用户面数据和控制面信令;终端设备可以通过NG接口1(简称N1)与AMF建立控制面信令连接;接入网设备例如下一代无线接入基站(gNB),可以通过NG接口3(简称N3)与UPF建立用户面数据连接;接入网设备可以通过NG接口2(简称N2)与AMF建立控制面信令连接;UPF可以通过NG接口4(简称N4)与SMF建立控制面信令连接;UPF可以通过NG接口6(简称N6)与数据网络交互用户面数据;AMF可以通过NG接口11(简称N11)与SMF建立控制面信令连接;SMF可以通过NG接口7(简称N7)与PCF建立控制面信令连接。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).
图1示例性地示出了一个基站、一个核心网设备和两个终端设备,可选地,该无线通信系统100可以包括多个基站设备并且每个基站的覆盖范围内可以包括其它数量的终端设备,本申请实施例对此不做限定。Figure 1 exemplarily shows a base station, a core network device and two terminal devices. Optionally, the wireless communication system 100 may include multiple base station devices and each base station may include other numbers of terminal devices within its coverage area, which is not limited in the embodiments of the present application.
需要说明的是,图1只是以示例的形式示意本申请所适用的系统,当然,本申请实施例所示的方法还可以适用于其它系统。此外,本文中术语“系统”和“网络”在本文中常被可互换使用。本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。还应理解,在本申请的实施例中提到的“指示”可以是直接指示,也可以是间接指示,还可以是表示具有关联关系。举例说明,A指示B,可以表示A直接指示B,例如B可以通过A获取;也可以表示A间接指示B,例如A指示C,B可以通过C获取;还可以表示A和B之间具有关联关系。还应理解,在本申请的实施例中提到的“对应”可表示两者之间具有直接对应或间接对应的关系,也可以表示两者之间具有关联关系,也可以是指示与被指示、配置与被配置等关系。还应理解,在本申请的实施例中提到的“预定义”或“预定义规则”可以通过在设备(例如,包括终端设备和网络设备)中预先保存相应的代码、表格或其他可用于指示相关信息的方式来实现,本申请对于其具体的实现方式不做限定。比如预定义可以是指协议中定义的。还应理解,本申请实施例中,所述"协议"可以指通信领域的标准协议,例如可以包括LTE协议、NR协议以及应用于未来的通信系统中的相关协议,本申请对此不做限定。It should be noted that FIG. 1 is only an example of the system to which the present application is applicable. 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 A and B have an association relationship. 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 the relationship between indicating and being indicated, configuring 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 may 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.
为便于理解本申请实施例的技术方案,以下对本申请实施例的相关技术进行说明,以下相关技术作为可选方案与本申请实施例的技术方案可以进行任意结合,其均属于本申请实施例的保护范围。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.
URSP决定了业务数据与协议数据单元(Protocol Data Unit,PDU)会话的绑定关系,也决定了终端设备需要建立什么样的PDU会话来满足这种绑定关系。不同的业务数据流根据URSP规则可以绑定到不同的PDU会话上。URSP determines the binding relationship between service data and protocol data unit (PDU) sessions, and also determines what kind of PDU sessions 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.
URSP包含多个URSP规则,每一个URSP规则由业务描述符(Traffic Descriptor,TD)和一组路由选择符(Route Selection Descriptor,RSD)组成。URSP中的TD用于描述业务特征。一个TD下可以有一个或多个RSD(称为RSD列表)。每个RSD可以对应一个或多个参数值组合,每个参数值组合对应一套PDU会话的特征,与TD匹配的的业务数据可以在该TD下的某一个RSD的某一个参数值组合对应的PDU会话中进行传输。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.
终端设备基于URSP规则将业务数据关联到相应的PDU会话上进行传输,机制如下:The terminal device associates the service data with the corresponding PDU session for transmission based on the URSP rules. The mechanism is as follows:
当应用层出现业务数据时,终端设备使用URSP中的URSP规则来查看该业务数据的业务特征是否匹配到了某一个URSP规则的TD上,查看的顺序可以按照URSP规则中的优先级(Precedence)来决定;当匹配到一个URSP规则时,终端设备用该URSP规则下的RSD列表确定是否存在匹配其中一个RSD的PDU会话,若存在,则复用该PDU会话传输业务数据,若不存在,则根据RSD列表中的一个RSD建立新的PDU会话,通过该PDU会话传输业务数据。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.
需要说明的是,RSD中包含了PDU会话关联的PDU会话属性参数,例如单网络切片选择辅助信息(Single-Network Slice Selection Assistant Information,S-NSSAI)、数据网络名(Data Network Name,DNN)、PDU会话标识(PDU Session id)、PDU会话类型(PDUSession Type)等。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.
需要说明的是,URSP规则可以预配置在终端设备侧,也可以由网络侧配置给终端设备,其中,网络侧配置的URSP规则的优先级高于终端设备侧预配置的URSP规则的优先级。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.
工业终端分为业务设备和CPE,其中,一个CPE下可以挂一个或多个业务设备。对于移动通信网络来说,CPE为终端设备,URSP规则存储在CPE上,而业务设备无法使用URSP规则。由于业务设备和CPE在物理上是独立的,而CPE又是工作在网络的二层或者三层模式下,导致无论是业务设备还是CPE,都无法进行URSP规则的匹配。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, while 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.
为此,提出了本申请实施例的以下技术方案。本申请实施例的技术方案,提出了一种基于源地址进行URSP规则的匹配方法,实现了CPE可以按照本申请实施例描述的技术方案进行URSP规则的匹配。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 source addresses, so that CPE can match URSP rules according to the technical solutions described in the embodiments of the present application.
本申请实施例的技术方案,网络在给企业分配地址时,一般为企业分配一个地端段,企业可以根据自己需要再地址段内进行地址的划分。考虑此,本申请实施例的技术方案在URSP规则中的TD中新增描述信息,即地址段。CPE可以根据业务数据的源地址去匹配URSP规则中的TD描述的地址段,从而可以实现根据源地址所属的地址段来分配网络资源。In the technical solution of the embodiment of the present application, when the network allocates addresses to enterprises, it generally allocates a land segment to the enterprise, and the enterprise can divide the addresses in the address segment according to its own needs. Considering this, the technical solution of the embodiment of the present application adds description information, namely, the address segment, to the TD in the URSP rule. The CPE can match the address segment described by the TD in the URSP rule according to the source address of the service data, so that network resources can be allocated according to the address segment to which the source address belongs.
为便于理解本申请实施例的技术方案,以下通过具体实施例详述本申请的技术方案。以上相关技术作为可选方案与本申请实施例的技术方案可以进行任意结合,其均属于本申请实施例的保护范围。本申请实施例包括以下内容中的至少部分内容。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 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. The embodiments of the present application include at least part of the following contents.
图2是本申请实施例提供的规则匹配方法的流程示意图,如图2所示,所述规则匹配方法包括以下步骤:FIG. 2 is a flow chart of a rule matching method provided in an embodiment of the present application. As shown in FIG. 2 , the rule matching method includes the following steps:
步骤201:终端设备接收业务数据,从所述业务数据中获取第一源地址。Step 201: The terminal device receives service data and obtains a first source address from the service data.
步骤202:所述终端设备基于所述第一源地址,确定与所述第一源地址匹配的第一URSP规则,其中,所述第一URSP规则用于确定所述业务数据对应的PDU会话或者用于建立所述业务数据对应的PDU会话。Step 202: The terminal device determines a first URSP rule matching the first source address based on the first source 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.
在一些可选实施方式中,所述终端设备为CPE。这里,CPE的实现方式分为以下两类:第一类,CPE集成路由器的功能;第二类,CPE外挂路由器。作为示例,这里的路由器可以是AR路由器。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.
本申请实施例中,终端设备接收业务数据的方式可以有以下两种:In the embodiment of the present application, the terminal device may receive service data in the following two ways:
方式一:所述终端设备接收业务设备发送的业务数据。Mode 1: The terminal device receives the service data sent by the service device.
方式二:所述终端设备接收路由器转发的来自业务设备的业务数据。Mode 2: The terminal device receives the service data from the service device forwarded by the router.
本申请实施例中,终端设备可以从业务数据中获取源地址,为便于描述,称为第一源地址。终端设备基于所述第一源地址,确定与所述第一源地址匹配的第一URSP规则,其中,所述第一URSP规则用于确定所述业务数据对应的PDU会话或者用于建立所述业务数据对应的PDU会话。In the embodiment of the present application, the terminal device can obtain a source address from the service data, which is referred to as the first source address for ease of description. The terminal device determines a first URSP rule matching the first source address based on the first source 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.
本申请实施例中,终端设备可以工作在两种模式,分别为OSI的二层模式和OSI的三层模式。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.
在一些可选实施方式中,终端设备工作在OSI的二层模式,所述第一源地址为源MAC地址。In some optional implementations, the terminal device operates in OSI layer 2 mode, and the first source address is a source MAC address.
举个例子:CPE工作在OSI的二层模式下,CPE提取业务数据中的二层源地址(如MAC地址)中的一个或者多个参数,并将其与本地存储的URSP规则中的TD描述的二层地址段进行匹配,如果匹配成功,则利用该URSP规则确定或建立PDU会话,进而使用该PDU会话传输业务数据。For example: CPE works in the OSI layer 2 mode. CPE extracts one or more parameters from the layer 2 source address (such as MAC address) in the service data, and matches it with the layer 2 address segment described by TD in the locally stored URSP rule. If the match is successful, the URSP rule is used to determine or establish a PDU session, and then the PDU session is used to transmit the service data.
在一些可选实施方式中,终端设备工作在OSI的三层模式,所述第一源地址为源IP地址。In some optional implementations, the terminal device operates in an OSI layer 3 mode, and the first source address is a source IP address.
举个例子:CPE工作在OSI的三层模式下,CPE提取业务数据中的三层源地址(如IP地址)中的一个或者多个参数,并将其与本地存储的URSP规则中的TD描述的三层地址段进行匹配,如果匹配成功,则利用该URSP规则确定或建立PDU会话,进而使用该PDU会话传输业务数据。For example: CPE works in the OSI three-layer mode. CPE extracts one or more parameters from the three-layer source address (such as IP address) in the service data, and matches it with the three-layer address segment described by TD in the locally stored URSP rule. If the match is successful, the URSP rule is used to determine or establish a PDU session, and then the PDU session is used to transmit the service data.
本申请实施例中,所述终端设备基于所述第一源地址,确定与所述第一源地址匹配的第一URSP规则,可以通过以下方式实现:In the embodiment of the present application, the terminal device determines the first URSP rule matching the first source address based on the first source address, which can be implemented in the following manner:
所述终端设备确定所述第一源地址是否属于URSP规则的TD中描述的地址段;The terminal device determines whether the first source address belongs to the address segment described in the TD of the URSP rule;
若所述第一源地址属于URSP规则的TD中描述的地址段,则所述终端设备确定该URSP规则是与所述第一源地址匹配的第一URSP规则。If the first source address belongs to the address segment 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 source address.
进一步,在一些可选实施方式中,所述终端设备基于所述第一URSP规则确定第一RSD。Further, in some optional implementations, the terminal device determines a first RSD based on the first URSP rule.
进一步,在一些可选实施方式中,所述终端设备基于所述业务数据对应的会话属性参数,从所述第一URSP规则的RSD列表中确定与所述会话属性参数的匹配的第一RSD。Further, in some optional implementations, the terminal device determines, based on the session attribute parameters corresponding to the service data, a first RSD matching the session attribute parameters from the RSD list of the first URSP rule.
上述方案中,所述终端设备基于所述第一RSD,确定所述业务数据对应的PDU会话或者建立所述业务数据对应的PDU会话,其中,所述PDU会话用于传输所述业务数据。In the above scheme, the terminal device determines the 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.
这里,所述终端设备基于所述第一URSP规则确定第一RSD,可以通过以下方式实现:Here, the terminal device determines the first RSD based on the first URSP rule, which can be implemented in the following manner:
所述终端设备确定第一网络切片标识和/或第一DNN是否与所述第一URSP规则的RSD列表中的RSD中描述的网络切片标识和/或DNN匹配;The terminal device determines whether the first network slice identifier and/or the first DNN matches the network slice identifier and/or the DNN described in the RSD in the RSD list of the first URSP rule;
若所述第一网络切片标识和/或第一DNN与所述第一URSP规则的RSD列表中的RSD中描述的网络切片标识和/或DNN匹配,则所述终端设备确定该RSD是与所述第一网络切片标识匹配的第一RSD。If the first network slice identifier and/or the first DNN matches the network slice identifier and/or DNN 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.
需要说明的是,上述方案是以业务数据对应的会话属性参数包括第一网络切片标识和/或第一DNN为例进行说明的,不局限于此,会话属性参数还可以包括其他参数。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 and/or the first DNN, but is not limited to this, and the session attribute parameters may also include other parameters.
本申请实施例中,终端设备可以预配置一个或多个URSP规则,或者,网络为终端设备配置一个或多个URSP规则。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.
作为一种实现方式,所述终端设备接收网络下发的第一配置信息,所述第一配置信息用于配置一个或多个URSP规则,所述URSP规则包括一个TD以及一个RSD列表,其中,所述TD用于描述地址段,所述RSD用于描述会话属性参数。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 an address segment, and the RSD is used to describe a session attribute parameter.
在一些可选实施方式中,所述第一配置信息由策略控制网元配置,并由所述策略控制网元经接入移动管理网元下发给所述终端设备。这里,策略控制网元可以是策略控制功能网元(Policy Control Function,PCF)。接入移动管理网元可以是接入移动性管理功能网元(Access and Mobility Management Function,AMF)。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).
上述方案中,业务数据也可以称为业务数据报文,第一源地址携带在业务数据报文的头部。In the above solution, the service data may also be referred to as a service data message, and the first source address is carried in the header of the service data message.
需要说明的是,本申请实施例的技术方案可以应用于行业网,但不局限于此,也可以应用于其他类型的网络。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.
以下结合具体应用实例对本申请实施例的技术方案进行举例说明。需要说明的是,以下应用实例是以终端设备为CPE为例进行说明的。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.
应用实例一Application Example 1
本应用实例中,CPE和业务设备分离。同一类业务的业务设备使用同一个MAC地址段,CPE可以根据业务类型在相应的MAC地址段中选取MAC地址分配给业务设备。在URSP规则中新增一种TD,该TD描述MAC地址段。进一步,可选地,该TD还可以描述以太网(ethernet)类型的PDU会话。CPE根据业务数据的源MAC地址,进行URSP规则的匹配,进而根据匹配的URSP规则确定或建立PDU会话。In this application example, CPE and service equipment are separated. Service equipment of the same type of service use the same MAC address segment, and CPE can select a MAC address in the corresponding MAC address segment and assign it to the service equipment according to the service type. A new TD is added to the URSP rule, which describes the MAC address segment. Furthermore, optionally, the TD can also describe an Ethernet type PDU session. CPE matches the URSP rule according to the source MAC address of the service data, and then determines or establishes a PDU session according to the matched URSP rule.
如图3所示,URSP规则的匹配流程包括以下步骤:As shown in FIG3 , the matching process of the URSP rule includes the following steps:
1、UDM为用户签约俩个切片:切片1,切片2。PCF配置两条URSP规则:URSP规则1:TD1:源MAC地址段1(业务1)和ethernet;RSD1:切片1和DNN1;URSP规则2:TD2:源MAC地址段2(业务2)和ethernet;RSD2:切片2和DNN2。1. UDM signs two slices for the user: slice 1 and slice 2. PCF configures two URSP rules: URSP rule 1: TD1: source MAC address segment 1 (service 1) and ethernet; RSD1: slice 1 and DNN1; URSP rule 2: TD2: source MAC address segment 2 (service 2) and ethernet; RSD2: slice 2 and DNN2.
这里,URSP规则1中的TD1描述了源MAC地址段1和以太网类型。URSP规则1中的RSD1描述了切片1和DNN1。源MAC地址段1是网络为业务1分配的MAC地址段。Here, TD1 in URSP rule 1 describes source MAC address segment 1 and Ethernet type. RSD1 in URSP rule 1 describes slice 1 and DNN 1. Source MAC address segment 1 is the MAC address segment allocated by the network for service 1.
这里,URSP规则2中的TD2描述了源MAC地址段2和以太网类型。URSP规则2中的RSD2描述了切片2和DNN2。源MAC地址段2是网络为业务2分配的MAC地址段。Here, TD2 in URSP rule 2 describes source MAC address segment 2 and Ethernet type. RSD2 in URSP rule 2 describes slice 2 and DNN2. Source MAC address segment 2 is the MAC address segment allocated by the network for service 2.
PCE可以根据业务类型从网络配置的MAC地址段中选取MAC地址并将其设置为业务设备的MAC地址。The PCE may select a MAC address from a MAC address segment configured in the network according to the service type and set the MAC address as the MAC address of the service device.
2、CPE发起注册阶段或者CPE注册完成后,PCF将URSP规则通过AMF下发给CPE。2. During the CPE registration phase or after the CPE registration is completed, the PCF sends the URSP rules to the CPE through the AMF.
3、CPE保存URSP规则:URSP规则1:TD1:源MAC地址段1(业务1)和ethernet;RSD1:切片1和DNN1;URSP规则2:TD2:源MAC地址段2(业务2)和ethernet;RSD2:切片2和DNN2。3. CPE saves URSP rules: URSP rule 1: TD1: source MAC address segment 1 (service 1) and ethernet; RSD1: slice 1 and DNN1; URSP rule 2: TD2: source MAC address segment 2 (service 2) and ethernet; RSD2: slice 2 and DNN2.
4、业务设备1进行业务,向CPE发送业务数据;业务设备2进行业务,向CPE发送业务数据。4. Service device 1 performs services and sends service data to CPE; service device 2 performs services and sends service data to CPE.
5、CPE接收业务数据,从业务数据中获取源MAC地址,根据该源MAC地址匹配到对应的URSP规则,基于匹配的URSP规则建立PDU会话,通过该PDU会话传输业务数据。这里,CPE基于匹配的URSP规则输出RSD,根据RSD申请网络资源,从而建立PDU会话。5. CPE receives service data, obtains the source MAC address from the service data, matches the corresponding URSP rule according to the source MAC address, establishes a PDU session based on the matched URSP rule, and transmits service data through the PDU session. Here, CPE outputs RSD based on the matched URSP rule, applies for network resources according to RSD, and thus establishes a PDU session.
具体地,如果CPE从业务数据中获取的源MAC地址为MAC1(属于源MAC地址段1),则CPE根据源MAC地址将匹配到URSP规则1,基于URSP规则1建立位于切片1上的PDU会话-1,通过PDU会话-1传输业务设备1的业务数据。如果CPE从业务数据中获取的源MAC地址为MAC2(属于源MAC地址段2),则CPE根据源MAC地址将匹配到URSP规则2,基于URSP规则2建立位于切片2上的PDU会话-2,通过PDU会话-2传输业务设备2的业务数据。Specifically, if the source MAC address obtained by the CPE from the service data is MAC1 (belonging to source MAC address segment 1), the CPE will match URSP rule 1 according to the source MAC address, establish PDU session-1 on slice 1 based on URSP rule 1, and transmit the service data of service device 1 through PDU session-1. If the source MAC address obtained by the CPE from the service data is MAC2 (belonging to source MAC address segment 2), the CPE will match URSP rule 2 according to the source MAC address, establish PDU session-2 on slice 2 based on URSP rule 2, and transmit the service data of service device 2 through PDU session-2.
需要说明的是,上述应用实例中,CPE下挂的工业终端为纯二层设备。It should be noted that in the above application examples, the industrial terminal connected to the CPE is a pure Layer 2 device.
应用实例二Application Example 2
本应用实例中,CPE和业务设备分离。同一类业务的业务设备使用同一个IP地址段,CPE可以根据业务类型在相应的IP地址段中选取IP地址分配给业务设备。在URSP规则中新增一种TD,该TD描述IP地址段。CPE根据业务数据的源IP地址(可选地,还可以有其他信息),进行URSP规则的匹配,进而根据匹配的URSP规则确定或建立PDU会话。In this application example, CPE and service equipment are separated. Service equipment of the same type of service use the same IP address segment. CPE can select an IP address from the corresponding IP address segment and assign it to the service equipment according to the service type. A new TD is added to the URSP rule, which describes the IP address segment. CPE matches the URSP rule based on the source IP address of the service data (optionally, other information), and then determines or establishes a PDU session based on the matched URSP rule.
如图4所示,URSP规则的匹配流程包括以下步骤:As shown in FIG4 , the matching process of the URSP rule includes the following steps:
1、UDM为用户签约俩个切片:切片1,切片2。PCF配置两条URSP规则:URSP规则1:TD1:源IP地址段1(业务1);RSD1:切片1和DNN1;URSP规则2:TD2:源IP地址段2(业务2);RSD2:切片2和DNN2。1. UDM signs two slices for the user: Slice 1 and Slice 2. PCF configures two URSP rules: URSP rule 1: TD1: source IP address segment 1 (service 1); RSD1: slice 1 and DNN1; URSP rule 2: TD2: source IP address segment 2 (service 2); RSD2: slice 2 and DNN2.
这里,URSP规则1中的TD1描述了源IP地址段1。URSP规则1中的RSD1描述了切片1和DNN1。源IP地址段1是网络为业务1分配的IP地址段。Here, TD1 in URSP rule 1 describes source IP address segment 1. RSD1 in URSP rule 1 describes slice 1 and DNN 1. Source IP address segment 1 is the IP address segment allocated by the network for service 1.
这里,URSP规则2中的TD2描述了源IP地址段2。URSP规则2中的RSD2描述了切片2和DNN2。源IP地址段2是网络为业务2分配的IP地址段。Here, TD2 in URSP rule 2 describes source IP address segment 2. RSD2 in URSP rule 2 describes slice 2 and DNN2. Source IP address segment 2 is the IP address segment allocated by the network to service 2.
PCE可以根据业务类型从网络配置的IP地址段中选取IP地址并将其设置为业务设备的IP地址。The PCE can select an IP address from the IP address segment configured in the network according to the service type and set it as the IP address of the service device.
2、CPE发起注册阶段或者CPE注册完成后,PCF将URSP规则通过AMF下发给CPE。2. During the CPE registration phase or after the CPE registration is completed, the PCF sends the URSP rules to the CPE through the AMF.
3、CPE保存URSP规则:URSP规则1:TD1:源IP地址段1(业务1);RSD1:切片1和DNN1;URSP规则2:TD2:源IP地址段2(业务2);RSD2:切片2和DNN2。3. CPE saves URSP rules: URSP rule 1: TD1: source IP address segment 1 (service 1); RSD1: slice 1 and DNN1; URSP rule 2: TD2: source IP address segment 2 (service 2); RSD2: slice 2 and DNN2.
4、业务设备1进行业务,向CPE发送业务数据;业务设备2进行业务,向CPE发送业务数据。4. Service device 1 performs services and sends service data to CPE; service device 2 performs services and sends service data to CPE.
5、CPE接收业务数据,从业务数据中获取源IP地址,根据该源IP地址配到对应的URSP规则,基于匹配的URSP规则建立PDU会话,通过该PDU会话传输业务数据。这里,CPE基于匹配的URSP规则输出RSD,根据RSD申请网络资源,从而建立PDU会话。5. CPE receives service data, obtains the source IP address from the service data, matches the source IP address to the corresponding URSP rule, establishes a PDU session based on the matching URSP rule, and transmits service data through the PDU session. Here, CPE outputs RSD based on the matching URSP rule, applies for network resources based on RSD, and thus establishes a PDU session.
具体地,如果CPE从业务数据中获取的源IP地址为IP地址1(属于源IP地址段1),则CPE根据源IP地址将匹配到URSP规则1,基于URSP规则1建立位于切片1上的PDU会话-1,通过PDU会话-1传输业务设备1的业务数据。如果CPE从业务数据中获取的源IP地址为IP地址2(属于源IP地址段2),则CPE根据源IP地址将匹配到URSP规则2,基于URSP规则2建立位于切片2上的PDU会话-2,通过PDU会话-2传输业务设备2的业务数据。Specifically, if the source IP address obtained by the CPE from the service data is IP address 1 (belonging to source IP address segment 1), the CPE will match URSP rule 1 according to the source IP address, establish PDU session-1 on slice 1 based on URSP rule 1, and transmit the service data of service device 1 through PDU session-1. If the source IP address obtained by the CPE from the service data is IP address 2 (belonging to source IP address segment 2), the CPE will match URSP rule 2 according to the source IP address, establish PDU session-2 on slice 2 based on URSP rule 2, and transmit the service data of service device 2 through PDU session-2.
需要说明的是,上述应用实例中,CPE下挂的业务设备为三层设备。It should be noted that in the above application examples, the service device connected to the CPE is a layer-3 device.
本申请实施例的技术方案,在URSP规则中增加与二层源地址或者三层源地址相关的TD,基于此,CPE使用业务数据报文中的二层源地址或者三层源地址进行URSP规则的匹配,进而根据匹配的URSP规则新建或者选择已有的PDU会话来传输业务数据。采用本申请实施例的技术方案,可以实现工业终端的业务数据在不同的网络资源(例如不同的网络切片)上转发。The technical solution of the embodiment of the present application adds a TD related to the layer 2 source address or the layer 3 source address in the URSP rule. Based on this, the CPE uses the layer 2 source address or the layer 3 source 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).
本申请实施例的技术方案,可以适用于业务设备和终端设备分离的场景,考虑到企业的网络地址是成段分配对,并且在接入移动通信网络后不希望改变地址,新增一种TD,该TD描述了地址段,这个地址段可以按照业务类型进行划分。CPE根据业务数据的源地址进行URSP规则的匹配,为同一地址段里的业务设备提供了相同的网络资源,进而达到为不同的业务分配不同的网络资源的目的。The technical solution of the embodiment of the present application can be applied to the scenario where the service equipment and the terminal equipment are separated. Considering that the network address of the enterprise is allocated in segments and does not want to change the address after accessing the mobile communication network, a new TD is added, which describes the address segment, and this address segment can be divided according to the service type. The CPE matches the URSP rule according to the source address of the service data, and provides the same network resources for the service equipment in the same address segment, thereby achieving the purpose of allocating different network resources to different services.
图5是本申请实施例提供的规则匹配装置的结构组成示意图,应用于终端设备,如图5所示,所述规则匹配装置包括:FIG5 is a schematic diagram of the structure of a rule matching device provided in an embodiment of the present application, which is applied to a terminal device. As shown in FIG5 , the rule matching device includes:
接收单元501,用于接收业务数据;The receiving unit 501 is used to receive service data;
获取单元502,用于从所述业务数据中获取第一源地址;An acquisition unit 502, configured to acquire a first source address from the service data;
确定单元503,用于基于所述第一源地址,确定与所述第一源地址匹配的第一UE路由选择策略URSP规则,其中,所述第一URSP规则用于确定所述业务数据对应的PDU会话或者用于建立所述业务数据对应的PDU会话。The determination unit 503 is used to determine a first UE routing selection strategy URSP rule matching the first source address based on the first source 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.
在一些可选实施方式中,所述确定单元503,用于确定所述第一源地址是否属于URSP规则的业务描述符TD中描述的地址段;若所述第一源地址属于URSP规则的TD中描述的地址段,则确定该URSP规则是与所述第一源地址匹配的第一URSP规则。In some optional implementations, the determining unit 503 is used to determine whether the first source address belongs to the address segment described in the service descriptor TD of the URSP rule; if the first source address belongs to the address segment described in the TD of the URSP rule, it is determined that the URSP rule is the first URSP rule that matches the first source address.
在一些可选实施方式中,所述确定单元503,还用于基于所述第一URSP规则确定第一RSD;基于所述第一RSD,确定所述业务数据对应的PDU会话或者建立所述业务数据对应的PDU会话,其中,所述PDU会话用于传输所述业务数据。In some optional implementations, the determination unit 503 is further used to determine a first RSD based on the first URSP rule; based on the first RSD, determine a 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.
在一些可选实施方式中,所述业务数据对应的会话属性参数包括第一网络切片标识和/或第一DNN;所述确定单元503,用于确定所述第一网络切片标识和/或所述第一DNN是否与所述第一URSP规则的RSD列表中的RSD中描述的网络切片标识和/或DNN匹配;若所述第一网络切片标识与所述第一URSP规则的RSD列表中的RSD中描述的网络切片标识和/或DNN匹配,则确定该RSD是与所述第一网络切片标识匹配的第一RSD。In some optional embodiments, the session attribute parameters corresponding to the business data include a first network slice identifier and/or a first DNN; the determination unit 503 is used to determine whether the first network slice identifier and/or the first DNN matches the network slice identifier and/or DNN described in the RSD in the RSD list of the first URSP rule; if the first network slice identifier matches the network slice identifier and/or DNN 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.
在一些可选实施方式中,所述第一源地址为源MAC地址。In some optional implementations, the first source address is a source MAC address.
在一些可选实施方式中,所述第一源地址为源IP地址。In some optional implementations, the first source address is a source IP address.
在一些可选实施方式中,所述接收单元501,还用于接收网络下发的第一配置信息,所述第一配置信息用于配置一个或多个URSP规则,所述URSP规则包括一个TD以及一个RSD列表,其中,所述TD用于描述地址段,所述RSD用于描述会话属性参数。用于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 an address segment, and the RSD is used to describe a session attribute parameter.
在一些可选实施方式中,所述第一配置信息由策略控制网元配置,并由所述策略控制网元经接入移动管理网元下发给所述终端设备。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.
在一些可选实施方式中,所述接收单元501,用于接收业务设备发送的业务数据;或者,接收路由器转发的来自业务设备的业务数据。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.
在一些可选实施方式中,所述终端设备为CPE。In some optional implementations, the terminal device is a CPE.
本领域技术人员应当理解,图5所示的规则匹配装置中的各单元的实现功能可参照前述方法的相关描述而理解。图5所示的规则匹配装置中的各单元的功能可通过运行于处理器上的程序而实现,也可通过具体的逻辑电路而实现。Those skilled in the art should understand that the functions of each unit in the rule matching device shown in FIG5 can be understood by referring to the relevant description of the above method. The functions of each unit in the rule matching device shown in FIG5 can be implemented by a program running on a processor, or by a specific logic circuit.
图6是本申请实施例提供的一种通信设备600示意性结构图。该通信设备可以是终端设备,图6所示的通信设备600包括处理器610,处理器610可以从存储器中调用并运行计算机程序,以实现本申请实施例中的方法。Fig. 6 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, and the communication device 600 shown in Fig. 6 includes a processor 610, which may call and run a computer program from a memory to implement the method in the embodiment of the present application.
可选地,如图6所示,通信设备600还可以包括存储器620。其中,处理器610可以从存储器620中调用并运行计算机程序,以实现本申请实施例中的方法。Optionally, as shown in Fig. 6, 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.
其中,存储器620可以是独立于处理器610的一个单独的器件,也可以集成在处理器610中。The memory 620 may be a separate device independent of the processor 610 , or may be integrated into the processor 610 .
可选地,如图6所示,通信设备600还可以包括收发器630,处理器610可以控制该收发器630与其他设备进行通信,具体地,可以向其他设备发送信息或数据,或接收其他设备发送的信息或数据。Optionally, as shown in FIG. 6 , 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.
其中,收发器630可以包括发射机和接收机。收发器630还可以进一步包括天线,天线的数量可以为一个或多个。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.
可选地,该通信设备600具体可为本申请实施例的终端设备,并且该通信设备600可以实现本申请实施例的各个方法中由终端设备实现的相应流程,为了简洁,在此不再赘述。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.
图7是本申请实施例的芯片的示意性结构图。图7所示的芯片700包括处理器710,处理器710可以从存储器中调用并运行计算机程序,以实现本申请实施例中的方法。Fig. 7 is a schematic structural diagram of a chip according to an embodiment of the present application. The chip 700 shown in Fig. 7 includes a processor 710, and the processor 710 can call and run a computer program from a memory to implement the method according to the embodiment of the present application.
可选地,如图7所示,芯片700还可以包括存储器720。其中,处理器710可以从存储器720中调用并运行计算机程序,以实现本申请实施例中的方法。Optionally, as shown in Fig. 7, 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.
其中,存储器720可以是独立于处理器710的一个单独的器件,也可以集成在处理器710中。The memory 720 may be a separate device independent of the processor 710 , or may be integrated into the processor 710 .
可选地,该芯片700还可以包括输入接口730。其中,处理器710可以控制该输入接口730与其他设备或芯片进行通信,具体地,可以获取其他设备或芯片发送的信息或数据。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.
可选地,该芯片700还可以包括输出接口740。其中,处理器710可以控制该输出接口740与其他设备或芯片进行通信,具体地,可以向其他设备或芯片输出信息或数据。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.
可选地,该芯片可应用于本申请实施例中的终端设备,并且该芯片可以实现本申请实施例的各个方法中由终端设备实现的相应流程,为了简洁,在此不再赘述。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.
应理解,本申请实施例提到的芯片还可以称为系统级芯片,系统芯片,芯片系统或片上系统芯片等。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.
应理解,本申请实施例的处理器可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法实施例的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器可以是通用处理器、数字信号处理器(Digital SignalProcessor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。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, etc. 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.
可以理解,本申请实施例中的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data RateSDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(DirectRambus RAM,DR RAM)。应注意,本文描述的系统和方法的存储器旨在包括但不限于这些和任意其它适合类型的存储器。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.
应理解,上述存储器为示例性但不是限制性说明,例如,本申请实施例中的存储器还可以是静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synch link DRAM,SLDRAM)以及直接内存总线随机存取存储器(Direct Rambus RAM,DR RAM)等等。也就是说,本申请实施例中的存储器旨在包括但不限于这些和任意其它适合类型的存储器。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.
本申请实施例还提供了一种计算机可读存储介质,用于存储计算机程序。An embodiment of the present application also provides a computer-readable storage medium for storing a computer program.
可选地,该计算机可读存储介质可应用于本申请实施例中的终端设备,并且该计算机程序使得计算机执行本申请实施例的各个方法中由终端设备实现的相应流程,为了简洁,在此不再赘述。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.
本申请实施例还提供了一种计算机程序产品,包括计算机程序指令。An embodiment of the present application also provides a computer program product, including computer program instructions.
可选地,该计算机程序产品可应用于本申请实施例中的终端设备,并且该计算机程序指令使得计算机执行本申请实施例的各个方法中由终端设备实现的相应流程,为了简洁,在此不再赘述。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.
本申请实施例还提供了一种计算机程序。The embodiment of the present application also provides a computer program.
可选地,该计算机程序可应用于本申请实施例中的终端设备,当该计算机程序在计算机上运行时,使得计算机执行本申请实施例的各个方法中由终端设备实现的相应流程,为了简洁,在此不再赘述。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.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。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.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。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.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。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.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。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.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。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.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,)ROM、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。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.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应所述以权利要求的保护范围为准。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.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110919514.7ACN115842781B (en) | 2021-08-11 | 2021-08-11 | Rule matching method and device and terminal equipment |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110919514.7ACN115842781B (en) | 2021-08-11 | 2021-08-11 | Rule matching method and device and terminal equipment |
| Publication Number | Publication Date |
|---|---|
| CN115842781A CN115842781A (en) | 2023-03-24 |
| CN115842781Btrue CN115842781B (en) | 2024-09-13 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202110919514.7AActiveCN115842781B (en) | 2021-08-11 | 2021-08-11 | Rule matching method and device and terminal equipment |
| Country | Link |
|---|---|
| CN (1) | CN115842781B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116723587B (en)* | 2023-08-07 | 2023-11-21 | 荣耀终端有限公司 | Session management method and electronic equipment |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109743766A (en)* | 2018-02-13 | 2019-05-10 | 华为技术有限公司 | Method and device for data routing |
| CN112385263A (en)* | 2018-05-22 | 2021-02-19 | 上海诺基亚贝尔股份有限公司 | Method, apparatus and computer readable medium for implementing rules related to traffic routing |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8144645B2 (en)* | 2005-12-23 | 2012-03-27 | Telefonaktiebolaget Lm Ericsson (Publ) | Method and apparatus for route optimization in a telecommunication network |
| US8984620B2 (en)* | 2007-07-06 | 2015-03-17 | Cyberoam Technologies Pvt. Ltd. | Identity and policy-based network security and management system and method |
| WO2019127038A1 (en)* | 2017-12-26 | 2019-07-04 | Oppo广东移动通信有限公司 | Method for data transmission, terminal device and network device |
| BR112021002649A2 (en)* | 2019-07-16 | 2022-01-18 | Guangdong Oppo Mobile Telecommunications Corp Ltd | Computer-readable storage media, chip, and policy mapping method |
| US11523305B2 (en)* | 2019-09-25 | 2022-12-06 | Cisco Technology, Inc. | Traffic steering and policy combining |
| WO2021062738A1 (en)* | 2019-09-30 | 2021-04-08 | 华为技术有限公司 | Communication processing method and communication processing apparatus |
| CN112584464B (en)* | 2019-09-30 | 2022-07-19 | 华为技术有限公司 | Communication method, communication device, and storage medium |
| CN111526553B (en)* | 2020-05-13 | 2024-06-18 | 腾讯科技(深圳)有限公司 | Method for executing UE, method for executing SMF entity and SMF entity |
| CN111698751B (en)* | 2020-05-21 | 2021-02-09 | 展讯通信(天津)有限公司 | Method and device for determining URSP rule priority |
| CN111698725A (en)* | 2020-06-23 | 2020-09-22 | 腾讯科技(深圳)有限公司 | Method for dynamically determining network slice and electronic equipment |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109743766A (en)* | 2018-02-13 | 2019-05-10 | 华为技术有限公司 | Method and device for data routing |
| CN112385263A (en)* | 2018-05-22 | 2021-02-19 | 上海诺基亚贝尔股份有限公司 | Method, apparatus and computer readable medium for implementing rules related to traffic routing |
| Publication number | Publication date |
|---|---|
| CN115842781A (en) | 2023-03-24 |
| Publication | Publication Date | Title |
|---|---|---|
| CN109548008B (en) | Method and equipment for identifying and controlling remote user equipment by network side | |
| CN113678506B (en) | Methods and terminal devices for establishing sessions | |
| WO2020221360A1 (en) | Communication method and device | |
| CN111586803B (en) | Communication method and related equipment | |
| WO2021243837A1 (en) | Application data routing method based on ursp rule, and user equipment | |
| CN113950851B (en) | Wireless communication method and device | |
| WO2023102680A1 (en) | Congestion control method and apparatus, device, medium, chip, product, and program | |
| WO2023125967A1 (en) | Base station selecting method and apparatus, and network device | |
| CN118019052A (en) | Data transmission method, device and storage medium | |
| CN115842781B (en) | Rule matching method and device and terminal equipment | |
| CN115842780B (en) | A rule matching method and device, and terminal equipment | |
| CN114301831B (en) | A service transmission method, device and storage medium | |
| CN116419334A (en) | A network element selection method and device, and network equipment | |
| CN118104207A (en) | A communication method, a communication device and a communication equipment | |
| JP2025531450A (en) | Multi-link communication method and device | |
| CN118891910A (en) | Time delay control method and device and communication equipment | |
| CN116456470A (en) | Method and device for determining frequency domain resources, terminal and network equipment | |
| CN118140465A (en) | A communication method, device, network element, communication equipment and computer storage medium | |
| CN118235517A (en) | Wireless communication method, remote UE and network element | |
| CN116456471A (en) | A frequency domain resource allocation method and device, and communication equipment | |
| CN112243576B (en) | Information transmission method and device and communication equipment | |
| CN111510949A (en) | A data transmission method, device and storage medium | |
| US20240107622A1 (en) | Wireless communication method and apparatus, and terminal device | |
| US20250220551A1 (en) | Wireless communication method and apparatus, and device and storage medium | |
| CN117981362A (en) | Method and device for communication through relay terminal and terminal |
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |