CN117792886A - Forwarding rule configuration method and device, terminal and network side equipment - Google Patents

Forwarding rule configuration method and device, terminal and network side equipment Download PDF

Info

Publication number
CN117792886A
CN117792886A CN202211146468.2A CN202211146468A CN117792886A CN 117792886 A CN117792886 A CN 117792886A CN 202211146468 A CN202211146468 A CN 202211146468A CN 117792886 A CN117792886 A CN 117792886A
Authority
CN
China
Prior art keywords
information
data packet
communication device
forwarding
packet filtering
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211146468.2A
Other languages
Chinese (zh)
Inventor
吕华章
谢振华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202211146468.2A priority Critical patent/CN117792886A/en
Priority to PCT/CN2023/119919 priority patent/WO2024061256A1/en
Publication of CN117792886A publication Critical patent/CN117792886A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/02Capturing of monitoring data
    • H04L43/028Capturing of monitoring data by filtering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application discloses a forwarding rule configuration method, a forwarding rule configuration device, a forwarding rule configuration terminal and network side equipment, which belong to the field of communication, and the forwarding rule configuration method in the embodiment of the application comprises the following steps: the method comprises the steps that first communication equipment acquires first information and/or check indication, wherein the first information comprises a data packet filtering rule, and the check indication is used for acquiring check data from network side equipment; the first communication device performs at least one of: sending the check indication to a network side; performing at least one of the following according to the first information: configuring a forwarding rule corresponding to a data packet filtering rule or invalidating the data packet filtering rule; and sending second information to a network side, wherein the second information comprises the data packet filtering rule, and the second information is used for indicating the network side to configure a user plane function and processing a data packet corresponding to the data packet filtering rule.

Description

Forwarding rule configuration method and device, terminal and network side equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a forwarding rule configuration method, a forwarding rule configuration device, a forwarding rule configuration terminal and network side equipment.
Background
Personal networking (Personal IoT Network, PIN) is a network based on and composed of a number of added personal internet of things devices (PINElement, PINE). The personal internet of things device can be a wearable device, i.e. a device on a person, such as a camera, an earphone, a watch, an earphone, a health monitor, etc., or a home internet of things device, such as an intelligent lamp, a camera, a thermostat, a door sensor, a voice assistant, a speaker, a refrigerator, a washing machine, etc. Users create personal internet of things using all of these personal internet of things devices primarily at home or around the body. Generally, PINs are generally used in home, office, etc., and internet of things devices deployed in these scenes can be interconnected, communicate with each other, and acquire services, so that they are called personal networking.
The personal internet of things device (PINElement with Gateway Capability, PEGC) with gateway function in the PIN can be responsible for routing the traffic of the PIN to the destination, and the PEGC does not have the capability and method of obtaining or configuring the packet detection rule and/or the packet forwarding rule at present, so how to configure the forwarding rule of the PEGC is a technical problem to be solved.
Disclosure of Invention
The embodiment of the application provides a forwarding rule configuration method, a forwarding rule configuration device, a forwarding rule configuration terminal and network side equipment, which can configure forwarding rules of PEGC.
In a first aspect, a forwarding rule configuration method is provided, applied to a first communication device, and the method includes:
the method comprises the steps that first communication equipment acquires first information and/or check indication, wherein the first information comprises a data packet filtering rule, and the check indication is used for acquiring check data from network side equipment;
the first communication device performs at least one of:
sending the check indication to a network side;
performing at least one of the following according to the first information:
configuring a forwarding rule corresponding to a data packet filtering rule or invalidating the data packet filtering rule;
sending second information to a network side, wherein the second information comprises the data packet filtering rule, and the second information is used for indicating the network side to configure a user plane function and processing a data packet corresponding to the data packet filtering rule;
the forwarding rule is applied to a data packet from or sent to a first device, and the first device is a communication device connected with the first communication device;
The first communication device is at least one of the following:
personal Internet of things equipment with gateway function;
and (5) a terminal.
In a second aspect, a forwarding rule configuration apparatus is provided, including:
the first transmission module is used for acquiring first information and/or check indication, wherein the first information comprises a data packet filtering rule, and the check indication is used for acquiring check data from network side equipment;
the first execution module is used for executing at least one of the following:
sending the check indication to a network side;
performing at least one of the following according to the first information:
configuring a forwarding rule corresponding to a data packet filtering rule or invalidating the data packet filtering rule;
sending second information to a network side, wherein the second information comprises the data packet filtering rule, and the second information is used for indicating the network side to configure a user plane function and processing a data packet corresponding to the data packet filtering rule;
the forwarding rule is applied to a data packet from or sent to a first device, and the first device is a communication device connected with the forwarding rule configuration device;
the forwarding rule configuration device is at least one of the following:
personal Internet of things equipment with gateway function;
And (5) a terminal.
In a third aspect, a forwarding rule configuration method is provided, applied to a second communication device, and the method includes:
the second communication equipment sends first information, wherein the first information comprises a data packet filtering rule, and the first information is used for configuring a forwarding rule corresponding to the data packet filtering rule or invalidating the data packet filtering rule;
the forwarding rule is applied to a data packet from or to a first device, and the first device is a communication device connected with the first communication device.
In a fourth aspect, a forwarding rule configuration apparatus is provided, including:
the second execution module is used for determining first information, wherein the first information comprises a data packet filtering rule, and the first information is used for configuring a forwarding rule corresponding to the data packet filtering rule or invalidating the data packet filtering rule;
the second transmission module is used for transmitting the first information;
the forwarding rule is applied to a data packet from or to a first device, and the first device is a communication device connected with the first communication device.
In a fifth aspect, a forwarding rule configuration method is provided, applied to a first network function, and the method includes:
The first network function receives a check instruction from the first communication device or the second communication device and sends check data to the second communication device;
wherein the verification data comprises at least one of the following:
first information received by the first communication device;
the first communication equipment sends second information to the network equipment;
the data packet filtering rule;
QoS related information, where the QoS related information is used to indicate QoS parameters or indexes of the data packets corresponding to the data packet filtering rules;
a configuration indication;
an invalid indication.
In a sixth aspect, a forwarding rule configuration apparatus is provided, including:
a receiving module, configured to receive a verification instruction from the first communication device or the second communication device;
the sending module is used for sending the check data to the second communication equipment;
wherein the verification data comprises at least one of the following:
first information received by the first communication device;
the first communication equipment sends second information to the network equipment;
the data packet filtering rule;
QoS related information, where the QoS related information is used to indicate QoS parameters or indexes of the data packets corresponding to the data packet filtering rules;
a configuration indication;
An invalid indication.
In a seventh aspect, there is provided a terminal comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, performs the method according to the first aspect, or performs the steps of the method according to the third aspect.
In an eighth aspect, there is provided a network side device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method as described in the fifth aspect.
In a ninth aspect, a forwarding rule configuration system is provided, including: a first communication device operable to perform the steps of the forwarding rule configuration method as described in the first aspect, a second communication device operable to perform the steps of the forwarding rule configuration method as described in the third aspect, and a first network function operable to perform the steps of the forwarding rule configuration method as described in the fifth aspect.
In a tenth aspect, there is provided a readable storage medium having stored thereon a program or instructions which when executed by a processor, perform the steps of the method according to the first aspect, or perform the method according to the third aspect, or perform the steps of the method according to the fifth aspect.
In an eleventh aspect, there is provided a chip comprising a processor and a communication interface, the communication interface and the processor being coupled, the processor being configured to execute a program or instructions to implement the method according to the first aspect, or to implement the method according to the third aspect, or to implement the method according to the fifth aspect.
In a twelfth aspect, there is provided a computer program/program product stored in a storage medium, the computer program/program product being executable by at least one processor to implement the forwarding rule configuration method according to the first aspect, or to implement the forwarding rule configuration method according to the third aspect, or to implement the steps of the forwarding rule configuration method according to the fifth aspect.
In the embodiment of the application, the first communication device acquires first information and/or a check instruction, wherein the first information comprises a data packet filtering rule, and the check instruction is used for acquiring check data from the network side device; the first communication device performs at least one of: sending the check indication to a network side; performing at least one of the following according to the first information: configuring a forwarding rule corresponding to a data packet filtering rule or invalidating the data packet filtering rule; and sending second information to a network side, wherein the second information comprises the data packet filtering rule, the second information is used for indicating the network side to configure a user plane function and processing a data packet corresponding to the data packet filtering rule, so that the configuration of the forwarding rule of the PEGC is realized and the forwarding rule is used for routing data of the PINE.
Drawings
Fig. 1 is a schematic structural diagram of a wireless communication system to which embodiments of the present application are applicable;
fig. 2 is a schematic system structure diagram of a personal internet of things according to an embodiment of the present application;
fig. 3 is a flow chart of a forwarding rule configuration method provided in an embodiment of the present application;
fig. 4 is a schematic structural diagram of a forwarding rule configuration device provided in an embodiment of the present application;
fig. 5 is a flow chart of another forwarding rule configuration method according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of another forwarding rule configuration device according to an embodiment of the present application;
fig. 7 is a flowchart of another forwarding rule configuration method according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of another forwarding rule configuration device according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a communication device according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a terminal implementing an embodiment of the present application;
fig. 11 is a schematic structural diagram of a network side device for implementing an embodiment of the present application.
Detailed Description
Technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application are within the scope of the protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or otherwise described herein, and that the terms "first" and "second" are generally intended to be used in a generic sense and not to limit the number of objects, for example, the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/" generally means a relationship in which the associated object is an "or" before and after.
Worth referring toIt is noted that the techniques described in embodiments of the present application are not limited to long term evolution (Long Term Evolution, LTE)/LTE evolution (LTE-Advanced, LTE-a) systems, but may also be used in other wireless communication systems, such as code division multiple access (Code Division Multiple Access, CDMA), time division multiple access (Time Division Multiple Access, TDMA), frequency division multiple access (Frequency Division Multiple Access, FDMA), orthogonal frequency division multiple access (Orthogonal Frequency Division Multiple Access, OFDMA), single carrier frequency division multiple access (Single-carrier FrequencyDivision Multiple Access, SC-FDMA), and other systems. The terms "system" and "network" in embodiments of the present application are often used interchangeably, and the techniques described may be used for both the above-mentioned systems and radio technologies, as well as other systems and radio technologies. The following description describes a new air interface (NR) system for purposes of example and uses NR terminology in much of the description that follows, but these techniques are also applicable to applications other than NR system applications, such as generation 6 (6) th Generation, 6G) communication system.
Fig. 1 shows a block diagram of a wireless communication system to which embodiments of the present application are applicable. The wireless communication system includes a terminal 11 and a network device 12. The terminal 11 may be a mobile phone, a tablet (Tablet Personal Computer), a Laptop (Laptop Computer) or a terminal-side Device called a notebook, a personal digital assistant (Personal Digital Assistant, PDA), a palm top, a netbook, an ultra-mobile personal Computer (ultra-mobile personal Computer, UMPC), a mobile internet appliance (Mobile Internet Device, MID), an augmented reality (augmented reality, AR)/Virtual Reality (VR) Device, a robot, a Wearable Device (weather Device), a vehicle-mounted Device (VUE), a pedestrian terminal (PUE), a smart home (home Device with a wireless communication function, such as a refrigerator, a television, a washing machine, or a furniture), a game machine, a personal Computer (personal Computer, PC), a teller machine, or a self-service machine, and the Wearable Device includes: intelligent wrist-watch, intelligent bracelet, intelligent earphone, intelligent glasses, intelligent ornament (intelligent bracelet, intelligent ring, intelligent necklace, intelligent anklet, intelligent foot chain etc.), intelligent wrist strap, intelligent clothing etc.. Note that, the specific type of the terminal 11 is not limited in the embodiment of the present application. The network-side device 12 may comprise an access network device or a core network device, wherein the access network device 12 may also be referred to as a radio access network device, a radio access network (Radio Access Network, RAN), a radio access network function or a radio access network element. Access network device 12 may include a base station, a WLAN access point, a WiFi node, or the like, which may be referred to as a node B, an evolved node B (eNB), an access point, a base transceiver station (Base Transceiver Station, BTS), a radio base station, a radio transceiver, a basic service set (Basic Service Set, BSS), an extended service set (Extended Service Set, ESS), a home node B, a home evolved node B, a transmitting/receiving point (TransmittingReceivingPoint, TRP), or some other suitable terminology in the art, and the base station is not limited to a particular technical vocabulary so long as the same technical effect is achieved, and it should be noted that in the embodiments of the present application, only a base station in an NR system is described as an example, and the specific type of the base station is not limited. The core network device may include, but is not limited to, at least one of: a core network node, a core network function, a mobility management entity (Mobility Management Entity, MME), an access mobility management function (Access and Mobility Management Function, AMF), a session management function (Session Management Function, SMF), a user plane function (User Plane Function, UPF), a policy control function (Policy Control Function, PCF), a policy and charging rules function (Policy and Charging Rules Function, PCRF), an edge application service discovery function (EdgeApplicationServerDiscoveryFunction, EASDF), unified data management (Unified Data Management, UDM), unified data repository (Unified Data Repository, UDR), a home subscriber server (Home Subscriber Server, HSS), a centralized network configuration (Centralized network configuration, CNC), a network storage function (Network Repository Function, NRF), a network opening function (NetworkExposureFunction, NEF), a local NEF (LocalNEF, or L-NEF), a binding support function (Binding Support Function, BSF), an application function (Application Function, AF), and the like. In the embodiment of the present application, only the core network device in the NR system is described as an example, and the specific type of the core network device is not limited.
In this embodiment, the first communication device may be a PIN with a gateway function, a terminal, or an application layer client with a gateway or a forwarding function, for example, a PIN client, a PEGCclient, or the like. In this embodiment, the second communication device may be a PIN with a management function, or may be a terminal, or may be an application layer client with a management function, for example, a PIN client, or a pecclient.
In this embodiment, the first device and the second device may be pins, terminals, or other terminal devices.
In this embodiment, the network side refers to a core network, or an application server of the Internet, or a data network or a server in the data network. The network side may also refer to a UPF of the core network, or a base station. The network side may also refer to at least one core network device as above.
In this embodiment, the first network function and the second network function may be any one of the core network devices or a plurality of the core network devices. Wherein, in the following embodiments, the first network function is exemplified by SMF; the second network function is illustrated as a UPF.
The forwarding rule configuration method, the forwarding rule configuration device, the forwarding rule configuration terminal and the forwarding rule configuration network device provided by the embodiment of the application are described in detail below by means of some embodiments and application scenes of the embodiments with reference to the accompanying drawings.
As shown in fig. 2, the personal internet of things in the embodiment of the application mainly includes: PEGC 201, personal internet of things device (PINElement Management Capability, PEMC) 202 having management function, PINE 203, and personal internet of things server (pins server) 220. The PEMC 202 is used to manage the entire PIN, for example, adding one PIN to the PIN managed by the PEMC. The PINs 220 are used to authorize the establishment of a PIN. Typically PEMC triggers a PIN setup request and is then validated by a PINs server to pass this setup request. Meanwhile, the PINs server can also request to search a PIN or search PEMC corresponding to the PIN, and the like. PEGC 201 is responsible for routing the traffic of PINs to a destination, e.g., one PIN 203 may communicate with other PINs within the PIN or with mobile network 210 (e.g., 5 GC) through PEGC 201.
As shown in fig. 3, the embodiment of the present application provides a forwarding rule configuration method, where the execution subject of the method is a first communication device, in other words, the method may be executed by software or hardware installed in the first communication device. The method comprises the following steps.
S310, the first communication device acquires first information and/or a check instruction, wherein the first information comprises a data packet filtering rule, and the check instruction is used for acquiring check data from the network side device.
The first communication device may be a personal internet of things device PEGC or a terminal with a gateway function in the PIN, and for simplicity, PEGC is taken as an example in the following embodiments.
The Packet filtering rule may be specifically represented as a Packet filter (Packet filter) or a Packet filter, where the Packet filter may be specifically a tool for detecting traffic, so as to identify one or more packets. Specifically, the five-tuple can be obtained through internet protocol (Internet Protocol, IP), and comprises:
source IP address or destination IP address (Source/Destination IP address or IPv6 prefix);
source port number or destination port number (Source/Destination port number);
transport layer protocol identification (Protocol ID of the protocol above IP/Next header type).
For simplicity, packet filters are used as examples of Packet filtering rules in the following embodiments.
The packet filter may detect a packet from an upstream (for example, a packet sent to a network side or a packet sent to another pin) or may detect a packet from a downstream (for example, a packet sent to a certain pin by a network side application server).
The manner in which the first communication device obtains the first information may be varied, and in one embodiment, the step S310 includes: the first communication device receives the first information from a second communication device.
Optionally, the verification data includes at least one of:
first information received by the first communication device;
the data packet filtering rule received by the network side equipment;
and the first communication equipment sends second information to the network equipment.
QoS related information, where the QoS related information is used to indicate QoS parameters or indexes of the data packets corresponding to the data packet filtering rules;
a configuration indication;
an invalid indication.
The QoS related information is described in the specification below.
The configuration indication is configured to instruct the network side to configure the forwarding rule (the forwarding rule is located in the second information) for the packet corresponding to the packet filtering rule, for example, SMF or UPF, to the core network device (may be one core network device or a plurality of core network devices). For example, the configuration indication is sent to the SMF, indicating that the SMF configures the second information for the UPF.
The invalidation indication is used for indicating the network side to invalidate the forwarding rule (the forwarding rule is located in the second information) corresponding to the packet filtering rule, for example, SMF or UPF, to the core network device (may be one core network device or a plurality of core network devices). For example, the configuration indication is sent to the SMF, indicating that the SMF invalidates a forwarding rule in the UPF, i.e. the rule is not used anymore.
The second communication device is a personal internet of things device PEMC or a terminal with a management function, and for simplicity, the following embodiments are all exemplified by PEMC.
S320, the first communication device performs at least one of:
sending the check indication to a network side;
according to the first information, at least one of the following is performed:
configuring a forwarding rule corresponding to a data packet filtering rule or invalidating the data packet filtering rule; wherein the forwarding rule is applied to a data packet from or sent to a first device, the first device being a communication device connected to the first communication device, and in an embodiment, the first device may be a communication device directly connected to the first communication device, for example, as shown in PINE 203 in fig. 2;
and sending second information to a network side, wherein the second information comprises the data packet filtering rule, and the second information is used for indicating the network side to configure a user plane function and processing a data packet corresponding to the data packet filtering rule.
After the PEGC obtains the first information including the Packet filter from the PEMC, a forwarding rule may be configured based on the Packet filter, or the Packet filter may be invalidated.
In one embodiment, the first communication device receives first information, where the first information includes a forwarding rule corresponding to a packet filtering rule, or receives an indication, where the indication is used to indicate that the packet filtering rule is invalid.
In one embodiment, the first communication device receives the packet filtering rule, the forwarding rule corresponding to the packet filtering rule, or an indication that the packet filtering rule is invalid directly from another communication device, such as the second communication device, the first device, or the second device.
The packet filter packet filtering rule may also be PDR (packetdetectionrule), and a packet detection rule.
Optionally, the forwarding rule is used to determine at least one of:
forwarding actions;
and (5) forwarding direction.
Optionally, the forwarding action includes at least one of:
in the case of receiving a data packet corresponding to the data packet filtering rule from a first device, the first communication device allows or prohibits forwarding the data packet;
in the case of receiving a data packet corresponding to the data packet filtering rule from a network side device, the first communication device allows or prohibits forwarding the data packet;
Wherein the first device is a communication device connected to the first communication device.
Optionally, the forwarding direction includes at least one of:
forwarding to network side equipment;
forwarding to a second device, which may be a communication device other than the first device connected to the first communication device;
forwarding to the first device;
forwarding in a downlink mode;
and (5) uplink forwarding.
In the forwarding direction, forwarding to the network side device includes at least one of the following, or the forwarding direction further includes at least one of the following:
the access side, the core side, the SMF and the N6-LAN forward to the SMF, the N6 port local area network and the 5G VN internal"5G virtual network are internally cached (caching refers to caching data packets in the first communication device).
In one embodiment, the forwarding rule is for the first communication device to perform at least one of:
allowing forwarding or prohibiting forwarding of the data packet corresponding to the data packet filtering rule from the first device to the second device;
allowing forwarding or prohibiting forwarding of the data packet corresponding to the data packet filtering rule from the first device to the network side device;
And allowing or prohibiting forwarding of the data packet corresponding to the data packet filtering rule from the network side equipment to the first equipment or the second equipment.
Optionally, the forwarding rule further includes forwarding the data packet to at least one of:
the access side, the core side, the SMF forwards the SMF to the SMF, the N6-LAN forwards the SMF to the N6 port local area network and the 5G VN internal"5G virtual network.
Optionally, the forwarding rule further includes:
"buffer" buffering (the buffering of a data packet refers to buffering, at the first communication device, a data packet corresponding to a packet filtering rule in the first communication device);
and discarding the data packet, wherein the discarding of the data packet refers to directly discarding the data packet corresponding to the packet filtering rule at the first communication device.
Optionally, when the forwarding direction is forwarding to the network side device, sending second information to the network side device, where the second information includes the data packet filtering rule, and the second information is used to instruct the network side device to configure a user plane function to process a data packet corresponding to the data packet filtering rule. Here, the first communication device may send the second information to the core network device, for example, to the SMF, and let the SMF configure the second information (for example, a packet filtering rule in the second information) to the UPF.
In one embodiment, the first communication device receives the second information from the second communication device, and then the first communication device sends the second information to the network-side device.
In one embodiment, the first communication device receives the second information from the first device or the second device, and then the first communication device sends the second information to the network-side device.
In one embodiment, the first communication device sends the second information to the network-side device (e.g., to the AMF, or the SMF) via an upstream NAS message. The upstream NAS message includes at least one of:
ULNASmessage;
PDUsessionestablishmentrequest, PDU session establishment request;
PDUsessionmodificationrequest, PDU session modification request;
registration request, registration request.
As can be seen from the technical solutions of the foregoing embodiments, in the embodiments of the present application, first information is obtained through a first communication device, where the first information includes a packet filtering rule; and the first communication equipment configures forwarding rules corresponding to the data packet filtering rules or invalidates the data packet filtering rules according to the first information, so that the configuration of the forwarding rules of the PEGC is realized, and the forwarding rules are used for routing the data of the PINE.
As can be seen from the above embodiments, the first communication device can obtain the packet filtering rule to identify the packet (e.g., send to the network side, receive from the network side, send to the second device, or receive from the second device, etc.); then, the first communication device can configure the forwarding rule corresponding to each filtering rule according to the data packet filtering rule, that is, how to process the data packet after identifying the data packet is the forwarding rule.
Based on the above embodiment, in one implementation, the packet filtering rule includes address information for indicating a destination address. For example, packet filters include the destination IP address. The destination IP address may be the IP address of the first device or the second device, or may be the IP address of an application server. The forwarding action and forwarding direction of the data packet are determined according to the destination IP address. The destination IP address also includes a port number.
The method further comprises the steps of:
forwarding a data packet corresponding to the data packet filtering rule to the second device when the address information is the address information of the second device;
forwarding a data packet corresponding to the data packet filtering rule to the first device under the condition that the address information is the address information of the first device;
Forwarding a data packet corresponding to the data packet filtering rule to the network side equipment under the condition that the address information is not the address information of the first equipment or the second equipment;
wherein the second device is a communication device other than the first device connected to the first communication device.
In an embodiment, in case the address information does not correspond to the first device or the second device, that is to say the address information indicates addresses other than the first device and the second device, which addresses (for example, addresses of a third party application server) are not directly accessible via the first communication device and are therefore only forwarded by means of the network side, and it is thus determined that the forwarding direction is the network side, for example, towards the UPF or towards the base station side, by means of the 5G network.
In one embodiment, the first communication device may further determine, based on the packet filtering rule, whether a node corresponding to a destination address of the packet filtering rule is connected to the first communication device. For example, the first communication device may maintain a routing table in which destination addresses are directly accessible by the first communication device or directly connected to the first communication device. Thus, after the first communication device determines the device to which the data packet is to be routed according to the packet filtering rules, the first communication device may determine the device to which to route according to the destination address indicated in the packet filtering rules, and then determine whether the device is located in the routing table, that is, whether it is directly accessible by the first communication device or whether there is a direct connection with the first communication device.
In one embodiment, the forwarding rule is for the first communication device to perform at least one of:
allowing forwarding or prohibiting forwarding of a data packet corresponding to the data packet filtering rule from a first device to a second device corresponding to a destination address of the data packet filtering rule; for example, when the first communication device receives a data packet sent by the first device to the second device, the first communication device may prohibit forwarding of the data packet, or allow forwarding of the data packet to the second device through the first communication device;
allowing forwarding or prohibiting forwarding of the data packet corresponding to the data packet filtering rule from the first device to the network side device; for example, when the first communication device receives a data packet sent by the first device to a network side device (for example, RAN, UPF, or an application server in a data network), the first communication device may prohibit forwarding of the data packet, or allow forwarding of the data packet to the network side through the first communication device;
and allowing or prohibiting forwarding of the data packet corresponding to the data packet filtering rule from the network side equipment to the first equipment or the second equipment corresponding to the destination address of the data packet filtering rule. For example, when the first communication device receives a data packet sent by a network side device (e.g., RAN, UPF, or an application server in a data network) to the first device or the second device, the first communication device may prohibit forwarding of the data packet, or allow forwarding of the data packet to the first device or the second device through the first communication device.
As can be seen from the technical solutions of the foregoing embodiments, in the embodiments of the present application, a destination address is included in a packet filtering rule, so that when configuration of a forwarding rule of PEGC is implemented, data of a pin can be routed more accurately.
In one embodiment, the forwarding rules described above may be replaced with FAR (Forwardingactionrule) forwarding operation rules.
Based on the above embodiment, in one implementation, the first information further includes quality of service (Quality of Service, qoS) related information, where the QoS related information is used to indicate a QoS parameter or index of a data packet corresponding to the data packet filtering rule.
The first communication device may allocate a data packet to a corresponding QoS flow (QoSflow) for transmission based on a QoS parameter or indicator of the data packet.
Optionally, the first communication device configures QoS parameters for communication with the communication device connected to the first communication device through the first communication device according to the QoS related information, including QoS parameters for communication between the first device and the second device, qoS parameters for communication between the first device or the second device and the network side device, and the like.
QoS related information or QoS parameters may include at least one of the following, which may be used for:
Allocation and Retention Priority (ARP): resource preemption capability. For indicating that there is a certain resource preemption capability when the transmission resources are limited.
Guaranteed Flow Bit Rate (GFBR) -UL and DL; and: ensuring stream bit rate is a lower limit
Maximum Flow Bit Rate (MFBR) -UL and DL; and maximum stream bit rate, is an upper limit.
Maximum Packet Loss Rate-UL and DL. maximum packet loss rate;
QFI: the identified data packets are mapped to QoS flows, each QoS flow identified by QFI;
per Session Aggregate Maximum Bit Rate (Session-AMBR): maximum aggregate stream bit rate for a session
per UE Aggregate Maximum Bit Rate (UE-AMBR) maximum aggregate bit rate for one UE
Priority Level; priority, like ARP, is also when resources are limited, resources are preempted according to the priority level, or packets with low priority are discarded.
Maximum Data Burst Volume: maximum data burst size. Refers to the maximum burst data volume allowed within a particular time (commonly referred to as the time window).
Optionally, in the case that the forwarding direction is forwarding to the network side device, the method further includes:
The first communication device sends the QoS related information to the network side device. In one embodiment, the first communication device sends second information to the network side device, where the second information includes the packet filtering rule and the QoS related information. Here, the first communication device may send the second information to the core network device, for example, to the SMF, and let the SMF configure the second information (for example, a packet filtering rule in the second information) to the UPF.
In one embodiment, the first communication device sends the second information to the network-side device (e.g., to the AMF, or the SMF) via an upstream NAS message. The upstream NAS message includes at least one of:
ULNASmessage;
PDUsessionestablishmentrequest, PDU session establishment request;
PDUsessionmodificationrequest, PDU session modification request;
registration request, registration request.
As can be seen from the technical solutions of the foregoing embodiments, in the embodiments of the present application, the first information includes QoS related information, so that the identified data packet may be sent by using a corresponding QoS flow.
According to the forwarding rule configuration method provided by the embodiment of the application, the execution body can configure the device for the forwarding rule. In the embodiment of the present application, a forwarding rule configuration device executes a forwarding rule configuration method as an example, and the forwarding rule configuration device provided in the embodiment of the present application is described.
As shown in fig. 4, the forwarding rule configuration device includes: a first transmission module 401 and a first execution module 402.
The first transmission module 401 is configured to learn first information and/or a check instruction, where the first information includes a packet filtering rule, and the check instruction is used to obtain check data from a network side device; the first execution module 402 is configured to execute at least one of:
sending the check indication to a network side;
performing at least one of the following according to the first information:
configuring a forwarding rule corresponding to a data packet filtering rule or invalidating the data packet filtering rule;
sending second information to a network side, wherein the second information comprises the data packet filtering rule, and the second information is used for indicating the network side to configure a user plane function and processing a data packet corresponding to the data packet filtering rule;
the forwarding rule is applied to a data packet from or sent to a first device, and the first device is a communication device connected with the forwarding rule configuration device.
Optionally, the forwarding rule configuration device is at least one of the following:
personal Internet of things equipment with gateway function;
a terminal;
The verification data includes at least one of:
first information received by the first communication device;
the data packet filtering rule received by the network side equipment;
the first communication equipment sends second information to the network equipment;
QoS related information, where the QoS related information is used to indicate QoS parameters or indexes of the data packets corresponding to the data packet filtering rules;
a configuration indication;
an invalid indication.
Optionally, the forwarding rule is used to determine at least one of:
forwarding actions;
and (5) forwarding direction.
Optionally, the forwarding action includes at least one of:
allowing or prohibiting forwarding of the data packet in case of receiving the data packet corresponding to the data packet filtering rule from the first device;
allowing or prohibiting forwarding of the data packet under the condition that the data packet corresponding to the data packet filtering rule is received from the network side equipment;
the first device is a communication device connected with the forwarding rule configuration device.
Optionally, the forwarding direction includes at least one of:
forwarding to network side equipment;
forwarding to a second device;
forwarding to the first device;
forwarding in a downlink mode;
And (5) uplink forwarding.
Optionally, in the case that the forwarding direction is forwarding to a network side device, the first transmission module 401 is further configured to send second information to the network side device, where the second information includes the packet filtering rule, and the second information is used to instruct the network side device to configure a user plane function to process a packet corresponding to the packet filtering rule.
Optionally, the first transmission module 401 is configured to receive the first information from a second communication device, where the second communication device is a personal internet of things device with a management function.
As can be seen from the technical solutions of the foregoing embodiments, in the embodiments of the present application, first information is obtained, where the first information includes a packet filtering rule; and configuring a forwarding rule corresponding to the data packet filtering rule or invalidating the data packet filtering rule according to the first information, thereby realizing the configuration of the forwarding rule of the PEGC and being used for routing the data of the PINE.
Based on the above embodiment, optionally, the packet filtering rule includes address information for indicating a destination address, and the first execution module 402 is further configured to:
forwarding a data packet corresponding to the data packet filtering rule to the second device when the address information is the address information of the second device;
Forwarding a data packet corresponding to the data packet filtering rule to the first device under the condition that the address information is the address information of the first device;
forwarding a data packet corresponding to the data packet filtering rule to the network side equipment under the condition that the address information is not the address information of the first equipment or the second equipment;
wherein the second device is a communication device other than the first device connected to the first communication device.
As can be seen from the technical solutions of the foregoing embodiments, in the embodiments of the present application, a destination address is included in a packet filtering rule, so that when configuration of a forwarding rule of PEGC is implemented, data of a pin can be routed more accurately.
Based on the above embodiment, optionally, the first information further includes QoS related information, where the QoS related information is used to indicate a QoS parameter or an index of the data packet corresponding to the data packet filtering rule.
Optionally, the first execution module 402 is further configured to configure QoS parameters for communication through the forwarding rule configuration device for a communication device connected to the forwarding rule configuration device according to the QoS related information.
Optionally, in the case that the forwarding direction is forwarding to a network side device, the first transmission module 401 is further configured to send the QoS related information to the network side device.
As can be seen from the technical solutions of the foregoing embodiments, in the embodiments of the present application, the first information includes QoS related information, so that the identified data packet may be sent by using a corresponding QoS flow.
The forwarding rule configuration device in the embodiment of the present application may be an electronic device, for example, an electronic device with an operating system, or may be a component in an electronic device, for example, an integrated circuit or a chip. The electronic device may be a terminal, or may be other devices than a terminal. By way of example, terminals may include, but are not limited to, the types of terminals 11 listed above, other devices may be servers, network attached storage (Network Attached Storage, NAS), etc., and embodiments of the application are not specifically limited.
The forwarding rule configuration device provided in the embodiment of the present application can implement each process implemented by the embodiments of the methods of fig. 2 to 3, and achieve the same technical effects, so that repetition is avoided, and no redundant description is provided herein.
As shown in fig. 5, the embodiment of the present application provides a forwarding rule configuration method, where the execution subject of the method is the second communication device, in other words, the method may be executed by software or hardware installed in the second communication device. The method comprises the following steps.
S510, the second communication equipment sends first information, wherein the first information comprises a data packet filtering rule, and the first information is used for configuring a forwarding rule corresponding to the data packet filtering rule or invalidating the data packet filtering rule; the forwarding rule is applied to a data packet from or to a first device, and the first device is a communication device connected with the first communication device.
Optionally, the S510 includes:
the second communication device sends first information to the first communication device, wherein the first information is used for indicating the first communication device to configure forwarding rules corresponding to the data packet filtering rules according to the first information or invalidate the data packet filtering rules.
Here, the second communication device may receive the packet filtering rule and the forwarding rule corresponding to the packet filtering rule from the network side (such as a 5G network, SMF, etc.). Thus, the second communication device can configure the information to the first communication device.
Optionally, the first communication device is at least one of:
personal Internet of things equipment with gateway function;
and (5) a terminal.
Optionally, the second communication device is at least one of:
Personal Internet of things equipment with management function;
and (5) a terminal.
As can be seen from the technical solutions of the foregoing embodiments, in the embodiments of the present application, first information is sent to a first communication device, where the first information is used to configure a forwarding rule corresponding to a packet filtering rule, or invalidate the packet filtering rule, so that configuration of a forwarding rule of PEGC is implemented, and the forwarding rule is used for data routing of a PINE.
Based on the above embodiment, optionally, the first information further includes QoS related information, where the QoS related information is used to indicate a QoS parameter or an index of the data packet corresponding to the data packet filtering rule.
As can be seen from the technical solutions of the foregoing embodiments, in the embodiments of the present application, the first information includes QoS related information, so that the identified data packet may be sent by using a corresponding QoS flow.
According to the forwarding rule configuration method provided by the embodiment of the application, the execution body can configure the device for the forwarding rule. In the embodiment of the present application, a forwarding rule configuration device executes a forwarding rule configuration method as an example, and the forwarding rule configuration device provided in the embodiment of the present application is described.
Based on the above embodiment, optionally, the method further includes:
The second communication equipment sends a check instruction to the first network function and is used for acquiring check data from the network side equipment;
wherein the verification data comprises at least one of the following:
first information received by the first communication device;
the first communication equipment sends second information to network side equipment, wherein the second information comprises the data packet filtering rule, and the second information is used for indicating the network side equipment to configure a user plane function to process a data packet corresponding to the data packet filtering rule;
the data packet filtering rule;
QoS related information, where the QoS related information is used to indicate QoS parameters or indexes of the data packets corresponding to the data packet filtering rules;
a configuration indication;
an invalid indication.
In one embodiment, the verification data is used to verify whether the first communication device correctly receives the first information (for example, the first information sent by the second communication device PEMC), whether the first communication device correctly sends the second information (for example, the second communication device sends the second information to the first communication device, and the first communication device sends the second information to the network side), or whether the first communication device ensures that the first information is the same as the relevant information in the second information (for example, a packet filter, or a forwarding rule). If the above three items are correct or identical, then it is determined whether the first communication device is functioning properly. When the first communication equipment works normally, the first information is correctly received, the second information is correctly transmitted, and the received first information is the same as the transmitted second information related information. This indicates that the first communication device does not modify or tamper with the information sent by the second communication device.
In one embodiment, the verification data is used to verify that the first communication device has correctly processed the information sent by the second communication device, for example, whether the first information sent by the second communication device, or the second information, has been correctly received. The correct processing information includes: the information is correctly received, the information is correctly transmitted (to the network side), and the information is not modified or tampered.
In one embodiment, if the check data is the same as the first information sent by the second communication device, the first communication device is proved to correctly receive the first information and/or the first communication device correctly sends the second information to the network side device; otherwise, the first communication device is not considered to receive the first information correctly, or the first communication device is not considered to send the second information to the network side device correctly.
The first network function may be SMF.
Optionally, the verification indication includes at least one of:
the receiving address information of the check data;
receiving port information of the check data;
an identification of the second communication device; the identity is used for indicating which second communication device this verification data is related to, and further determining which PIN is the verification data related to;
A service identifier; the identification is used to indicate which service the verification data is associated with. The service identifier may be: APPID, terminal identifier, APPdescriptor application descriptor, application client identifier;
the request is responsive to the association identification.
Optionally, the sending, by the second communication device, the check indication to the first network function includes:
the second communication device sends a check indication to the first network function through the first communication device.
Optionally, the method further comprises at least one of:
the second communication device receiving the verification data from the first network function;
the second communication device receives the verification data from a second network function, which may be a UPF.
Optionally, the QoS related information or QoS parameters in the foregoing embodiment may include at least one of the following:
allocation and reservation priorities (Allocation and Retention Priority, ARP) for indicating the resource preemption capability, and when transmission resources are limited, have a certain resource preemption capability.
A guaranteed stream bit rate (Guaranteed Flow Bit Rate, GFBR) indicating the guaranteed stream bit rate upstream or downstream is a lower limit;
Maximum stream bit rate (Maximum Flow Bit Rate, MFBR) -, indicating the maximum stream bit rate upstream or downstream, is an upper limit;
a maximum packet loss rate (Maximum Packet Loss Rate) for indicating the maximum packet loss rates of the uplink and the downlink;
quality of service Flow identifiers (QFI), the identified packets being mapped to corresponding QoS flows, each QoS Flow being identified by QFI;
a single Session aggregate maximum bit rate (per Session Aggregate Maximum Bit Rate, session-AMBR) for indicating a maximum aggregate stream bit rate for a Session;
a single user aggregate maximum bit rate (per UE Aggregate Maximum Bit Rate, UE-AMBR) for indicating a maximum aggregate bit rate for one UE;
priority Level (like ARP), when resources are limited, resources can be preempted according to the Priority Level, or data packets with low Priority Level can be discarded;
the maximum burst size (Maximum Data Burst Volume) refers to the maximum burst size that can be allowed for a particular time, which may also be referred to as an Averaging window.
According to the technical scheme of the embodiment, the verification instruction is sent to the first network function to obtain the verification data, and the verification data is used for verifying whether the first information received by the first communication device and/or the second information sent by the first communication device to the network side device are correct, namely whether the sent second information is the same as the content in the received first information or not, so that correct communication of the devices in the PIN can be ensured, and possible device faults or abnormal working states can be found in time.
As shown in fig. 6, the forwarding rule configuration device includes: a second transmission module 601 and a second execution module 602.
The second execution module 602 is configured to determine first information, where the first information includes a packet filtering rule, and the first information is used to configure a forwarding rule corresponding to the packet filtering rule, or invalidate the packet filtering rule; the second transmission module 601 is configured to send the first information; the forwarding rule is applied to a data packet from or to a first device, and the first device is a communication device connected with the first communication device.
Optionally, the second transmission module 601 is configured to send first information to a first communication device, where the first information is used to instruct the first communication device to configure a forwarding rule corresponding to a packet filtering rule according to the first information, or invalidate the packet filtering rule.
Optionally, the first communication device is at least one of:
personal Internet of things equipment with gateway function;
and (5) a terminal.
Optionally, the forwarding rule configuration device is at least one of the following:
personal Internet of things equipment with management function;
and (5) a terminal.
As can be seen from the technical solutions of the foregoing embodiments, in the embodiments of the present application, first information is sent to a first communication device, where the first information is used to configure a forwarding rule corresponding to a packet filtering rule, or invalidate the packet filtering rule, so that configuration of a forwarding rule of PEGC is implemented, and the forwarding rule is used for data routing of a PINE.
Based on the above embodiment, optionally, the first information further includes QoS related information, where the QoS related information is used to indicate a QoS parameter or an index of the data packet corresponding to the data packet filtering rule.
As can be seen from the technical solutions of the foregoing embodiments, in the embodiments of the present application, the first information includes QoS related information, so that the identified data packet may be sent by using a corresponding QoS flow.
Based on the above embodiment, optionally, the second transmission module 601 is further configured to send a check indication to the first network function, where the check indication is used to obtain check data from the network side device;
wherein the verification data comprises at least one of the following:
first information received by the first communication device;
the first communication equipment sends second information to the network equipment;
the data packet filtering rule;
QoS related information, where the QoS related information is used to indicate QoS parameters or indexes of the data packets corresponding to the data packet filtering rules;
a configuration indication;
an invalid indication.
Optionally, the verification indication includes at least one of:
the receiving address information of the check data;
receiving port information of the check data;
An identification of the second communication device;
a service identifier;
the request is responsive to the association identification.
Optionally, the second transmission module 601 is configured to send, through the first communication device, a check indication to the first network function.
Optionally, the second transmission module 601 is configured to perform at least one of:
receiving the verification data from the first network function;
the verification data is received from a second network function, which may be a UPF.
The forwarding rule configuration device in the embodiment of the present application may be an electronic device, for example, an electronic device with an operating system, or may be a component in an electronic device, for example, an integrated circuit or a chip. The electronic device may be a terminal, or may be other devices than a terminal. By way of example, terminals may include, but are not limited to, the types of terminals 11 listed above, other devices may be servers, network attached storage (Network Attached Storage, NAS), etc., and embodiments of the application are not specifically limited.
The forwarding rule configuration device provided in the embodiment of the present application can implement each process implemented by the method embodiment of fig. 5, and achieve the same technical effects, so that repetition is avoided, and no further description is provided herein.
As shown in fig. 7, the embodiment of the present application provides a forwarding rule configuration method, where the execution body of the method is a first network function, in other words, the method may be executed by software or hardware installed in the first network function. The method comprises the following steps.
S710, the first network function receives a check instruction from the first communication device or the second communication device and sends check data to the second communication device;
wherein the verification data comprises at least one of the following:
first information received by the first communication device;
the first communication equipment sends second information to the network equipment;
the data packet filtering rule;
QoS related information, where the QoS related information is used to indicate QoS parameters or indexes of the data packets corresponding to the data packet filtering rules;
a configuration indication;
an invalid indication.
Optionally, the verification indication includes at least one of:
the receiving address information of the check data;
receiving port information of the check data;
an identification of the second communication device;
a service identifier;
the request is responsive to the association identification.
Optionally, the method further comprises at least one of:
the first network function sends the check data to the second communication device;
The first network function sends the verification data to the second communication device through a second network function.
According to the method and the device, the verification indication is received from the first communication device or the second communication device, and the original verification data is sent to the second communication device, so that the correctness of the first information and the second information is verified, and the communication of the devices in the PIN is ensured.
According to the forwarding rule configuration method provided by the embodiment of the application, the execution body can configure the device for the forwarding rule. In the embodiment of the present application, a forwarding rule configuration device executes a forwarding rule configuration method as an example, and the forwarding rule configuration device provided in the embodiment of the present application is described.
As shown in fig. 8, the forwarding rule configuration device includes: a receiving module 801 and a transmitting module 802.
The receiving module 801 is configured to receive a verification indication from the first communication device or the second communication device; the sending module 802 is configured to send verification data to the second communication device;
wherein the verification data comprises at least one of the following:
first information received by the first communication device;
the first communication equipment sends second information to the network equipment;
the data packet filtering rule;
QoS related information, where the QoS related information is used to indicate QoS parameters or indexes of the data packets corresponding to the data packet filtering rules;
a configuration indication;
an invalid indication.
Optionally, the verification indication includes at least one of:
the receiving address information of the check data;
receiving port information of the check data;
an identification of the second communication device;
a service identifier;
the request is responsive to the association identification.
Optionally, the method further comprises at least one of:
the first network function sends the check data to the second communication device;
the first network function sends the verification data to the second communication device through a second network function.
The forwarding rule configuration device in the embodiment of the present application may be an electronic device, for example, an electronic device with an operating system, or may be a component in an electronic device, for example, an integrated circuit or a chip. The electronic device may be a terminal, or may be other devices than a terminal. By way of example, terminals may include, but are not limited to, the types of terminals 11 listed above, other devices may be servers, network attached storage (Network Attached Storage, NAS), etc., and embodiments of the application are not specifically limited.
The forwarding rule configuration device provided in the embodiment of the present application can implement each process implemented by the method embodiment of fig. 7, and achieve the same technical effects, so that repetition is avoided, and no further description is provided herein.
According to the method and the device, the verification indication is received from the first communication device or the second communication device, and the original verification data is sent to the second communication device, so that the correctness of the first information and the second information is verified, and the communication of the devices in the PIN is ensured.
Optionally, as shown in fig. 9, the embodiment of the present application further provides a communication device 900, including a processor 901 and a memory 902, where a program or an instruction that can be executed on the processor 901 is stored in the memory 902, and when the communication device 900 is a terminal, for example, the program or the instruction is executed by the processor 901, to implement each step of the foregoing forwarding rule configuration method embodiment, and the same technical effect can be achieved. When the communication device 900 is a network side device, the program or the instruction implements the steps of the foregoing forwarding rule configuration method embodiment when executed by the processor 901, and the same technical effects can be achieved, so that repetition is avoided, and no further description is given here.
The embodiment of the application also provides a terminal, which comprises a processor and a communication interface, wherein the processor is used for configuring forwarding rules corresponding to the data packet filtering rules according to the first information, or invalidating the data packet filtering rules, and the communication interface is used for acquiring the first information, and the first information comprises the data packet filtering rules. The terminal embodiment corresponds to the terminal-side method embodiment, and each implementation process and implementation manner of the method embodiment can be applied to the terminal embodiment, and the same technical effects can be achieved. Specifically, fig. 10 is a schematic diagram of a hardware structure of a terminal for implementing an embodiment of the present application.
The terminal 1000 includes, but is not limited to: at least some of the components of the radio frequency unit 1001, the network module 1002, the audio output unit 1003, the input unit 1004, the sensor 1005, the display unit 1006, the user input unit 1007, the interface unit 1008, the memory 1009, and the processor 1010, etc.
Those skilled in the art will appreciate that terminal 1000 can also include a power source (e.g., a battery) for powering the various components, which can be logically connected to processor 1010 by a power management system so as to perform functions such as managing charge, discharge, and power consumption by the power management system. The terminal structure shown in fig. 10 does not constitute a limitation of the terminal, and the terminal may include more or less components than shown, or may combine some components, or may be arranged in different components, which will not be described in detail herein.
It should be understood that in the embodiment of the present application, the input unit 1004 may include a graphics processing unit (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes at least one of a touch panel 10071 and other input devices 10072. The touch panel 10071 is also referred to as a touch screen. The touch panel 10071 can include two portions, a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein.
In this embodiment, after receiving downlink data from the network side device, the radio frequency unit 1001 may transmit the downlink data to the processor 1010 for processing; in addition, the radio frequency unit 1001 may send uplink data to the network side device. In general, the radio frequency unit 1001 includes, but is not limited to, an antenna, an amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
The memory 1009 may be used to store software programs or instructions and various data. The memory 1009 may mainly include a first memory area storing programs or instructions and a second memory area storing data, wherein the first memory area may store an operating system, application programs or instructions (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 1009 may include volatile memory or nonvolatile memory, or the memory 1009 may include both volatile and nonvolatile memory. The non-volatile memory may be a Read-only memory (ROM), a programmable Read-only memory (ProgrammableROM, PROM), an erasable programmable Read-only memory (ErasablePROM, EPROM), an electrically erasable programmable Read-only memory (ElectricallyEPROM, EEPROM), or a flash memory, among others. The volatile memory may be random access memory (Random Access Memory, RAM), static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (ddr SDRAM), enhanced SDRAM (Enhanced SDRAM), synchronous DRAM (SLDRAM), and Direct RAM (DRRAM). Memory 1009 in embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
The processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor that primarily processes operations involving an operating system, user interface, application programs, and the like, and a modem processor that primarily processes wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 1010.
The radio frequency unit 1001 is configured to obtain first information and/or a check instruction, where the first information includes a packet filtering rule, and the check instruction is used to obtain check data from a network side device.
A processor 1010 for performing at least one of:
sending the check indication to a network side;
performing at least one of the following according to the first information:
configuring a forwarding rule corresponding to a data packet filtering rule or invalidating the data packet filtering rule;
sending second information to a network side, wherein the second information comprises the data packet filtering rule, and the second information is used for indicating the network side to configure a user plane function and processing a data packet corresponding to the data packet filtering rule;
the forwarding rule is applied to a data packet from or sent to a first device, and the first device is a communication device connected with the forwarding rule configuration device.
Optionally, the forwarding rule configuration device is at least one of the following:
personal Internet of things equipment with gateway function;
a terminal;
the verification data includes at least one of:
first information received by the first communication device;
the data packet filtering rule received by the network side equipment;
the first communication equipment sends second information to the network equipment;
QoS related information, where the QoS related information is used to indicate QoS parameters or indexes of the data packets corresponding to the data packet filtering rules;
a configuration indication;
an invalid indication.
Optionally, the forwarding rule is used to determine at least one of:
forwarding actions;
and (5) forwarding direction.
Optionally, the forwarding action includes at least one of:
allowing or prohibiting forwarding of the data packet in case of receiving the data packet corresponding to the data packet filtering rule from the first device;
allowing or prohibiting forwarding of the data packet under the condition that the data packet corresponding to the data packet filtering rule is received from the network side equipment;
the first device is a communication device connected with the forwarding rule configuration device.
Optionally, the forwarding direction includes at least one of:
Forwarding to network side equipment;
forwarding to a second device;
forwarding to the first device;
forwarding in a downlink mode;
and (5) uplink forwarding.
Optionally, in the case that the forwarding direction is forwarding to a network side device, the first transmission module 401 is further configured to send second information to the network side device, where the second information includes the packet filtering rule, and the second information is used to instruct the network side device to configure a user plane function to process a packet corresponding to the packet filtering rule.
Optionally, the radio frequency unit 1001 is configured to receive the first information from a second communication device, where the second communication device is a personal internet of things device with a management function.
Optionally, the packet filtering rule includes address information for indicating a destination address, and the method further includes:
forwarding a data packet corresponding to the data packet filtering rule to the second device when the address information is the address information of the second device;
forwarding a data packet corresponding to the data packet filtering rule to the first device under the condition that the address information is the address information of the first device;
Forwarding a data packet corresponding to the data packet filtering rule to the network side equipment under the condition that the address information is not the address information of the first equipment or the second equipment;
wherein the second device is a communication device other than the first device connected to the first communication device.
Optionally, the first information further includes QoS related information, where the QoS related information is used to indicate a QoS parameter or an index of the data packet corresponding to the data packet filtering rule.
Optionally, the processor 1010 is further configured to configure QoS parameters for communication through the forwarding rule configuration device for a communication device connected to the forwarding rule configuration device according to the QoS related information.
Optionally, in the case that the forwarding direction is forwarding to a network side device, the radio frequency unit 1001 is further configured to send the QoS related information to the network side device.
The embodiment of the application can realize the configuration of the forwarding rule of the PEGC and is used for routing the data of the PINE.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the processes of the foregoing embodiment of the forwarding rule configuration method are implemented, and the same technical effects can be achieved, so that repetition is avoided, and no further description is given here.
Wherein the processor is a processor in the terminal described in the above embodiment. The readable storage medium includes computer readable storage medium such as computer readable memory ROM, random access memory RAM, magnetic or optical disk, etc.
Specifically, the embodiment of the application also provides network side equipment. As shown in fig. 11, the network side device 1100 includes: a processor 1101, a network interface 1102, and a memory 1103. The network interface 112 is, for example, a common public radio interface (common public radio interface, CPRI).
Specifically, the network side device 1100 of the embodiment of the present invention further includes: instructions or programs stored in the memory 1103 and capable of running on the processor 1101, the processor 1101 calls the instructions or programs in the memory 1103 to execute the method executed by each module shown in fig. 8, and achieve the same technical effects, so that repetition is avoided, and therefore, the description is omitted herein.
The embodiment of the application further provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, implement each process of the foregoing forwarding rule configuration method embodiment, and achieve the same technical effect, so that repetition is avoided, and no redundant description is given here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, or the like.
The embodiments of the present application further provide a computer program/program product, where the computer program/program product is stored in a storage medium, and the computer program/program product is executed by at least one processor to implement each process of the foregoing forwarding rule configuration method embodiment, and the same technical effects are achieved, so that repetition is avoided, and details are not repeated herein.
The embodiment of the application also provides a forwarding rule configuration system, which comprises: a first communication device operable to perform the steps of the forwarding rule configuration method as described above, a second communication device operable to perform the steps of the forwarding rule configuration method as described above, and a first network function operable to perform the steps of the forwarding rule configuration method as described above.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solutions of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.

Claims (26)

1. A forwarding rule configuration method, comprising:
the method comprises the steps that first communication equipment acquires first information and/or check indication, wherein the first information comprises a data packet filtering rule, and the check indication is used for acquiring check data from network side equipment;
the first communication device performs at least one of:
sending the check indication to a network side;
performing at least one of the following according to the first information:
configuring a forwarding rule corresponding to a data packet filtering rule or invalidating the data packet filtering rule;
sending second information to a network side, wherein the second information comprises the data packet filtering rule, and the second information is used for indicating the network side to configure a user plane function and processing a data packet corresponding to the data packet filtering rule;
the forwarding rule is applied to a data packet from or sent to a first device, and the first device is a communication device connected with the first communication device;
the first communication device is at least one of the following:
personal Internet of things equipment with gateway function;
and (5) a terminal.
2. The method of claim 1, wherein the forwarding rules are used to determine at least one of:
Forwarding actions;
a forwarding direction;
wherein the forwarding action includes at least one of:
in the case of receiving a data packet corresponding to the data packet filtering rule from a first device, the first communication device allows or prohibits forwarding the data packet;
in the case of receiving a data packet corresponding to the data packet filtering rule from a network side device, the first communication device allows or prohibits forwarding the data packet;
the forwarding direction includes at least one of:
forwarding to network side equipment;
forwarding to a second device;
forwarding to the first device;
forwarding in a downlink mode;
forwarding in an uplink;
wherein the first device is a communication device connected to the first communication device.
3. The method of claim 2, wherein the packet filtering rules contain address information indicating a destination address, the method further comprising:
forwarding a data packet corresponding to the data packet filtering rule to the second device when the address information is the address information of the second device;
forwarding a data packet corresponding to the data packet filtering rule to the first device under the condition that the address information is the address information of the first device;
Forwarding a data packet corresponding to the data packet filtering rule to the network side equipment under the condition that the address information is not the address information of the first equipment or the second equipment;
wherein the second device is a communication device other than the first device connected to the first communication device.
4. The method according to claim 2, wherein the second information is sent to the network side device in case the forwarding direction is forwarding to the network side device.
5. The method of claim 1, wherein the first information further comprises quality of service QoS related information indicating QoS parameters or metrics for the data packets corresponding to the data packet filtering rules.
6. The method of claim 5, wherein the method further comprises:
the first communication device configures QoS parameters for communication through the first communication device for the communication device connected with the first communication device according to the QoS related information.
7. The method according to claim 6, wherein in case the forwarding direction is forwarding to a network side device, the method further comprises:
The first communication device sends the QoS related information to the network side device.
8. The method of any of claims 1-7, wherein the first communication device obtaining the first information comprises:
the first communication device receives the first information from a second communication device, wherein the second communication device is a personal Internet of things device with a management function.
9. The method of claim 1, wherein the verification data comprises at least one of:
first information received by the first communication device;
the data packet filtering rule received by the network side equipment;
the first communication equipment sends second information to the network equipment;
QoS related information, where the QoS related information is used to indicate QoS parameters or indexes of the data packets corresponding to the data packet filtering rules;
a configuration indication;
an invalid indication.
10. A forwarding rule configuration apparatus, comprising:
the first transmission module is used for acquiring first information and/or check indication, wherein the first information comprises a data packet filtering rule, and the check indication is used for acquiring check data from network side equipment;
the first execution module is used for executing at least one of the following:
Sending the check indication to a network side;
performing at least one of the following according to the first information:
configuring a forwarding rule corresponding to a data packet filtering rule or invalidating the data packet filtering rule;
sending second information to a network side, wherein the second information comprises the data packet filtering rule, and the second information is used for indicating the network side to configure a user plane function and processing a data packet corresponding to the data packet filtering rule;
the forwarding rule is applied to a data packet from or sent to a first device, and the first device is a communication device connected with the forwarding rule configuration device;
the forwarding rule configuration device is at least one of the following:
personal Internet of things equipment with gateway function;
and (5) a terminal.
11. A forwarding rule configuration method, comprising:
the second communication equipment sends first information, wherein the first information comprises a data packet filtering rule, and the first information is used for configuring a forwarding rule corresponding to the data packet filtering rule or invalidating the data packet filtering rule;
wherein the forwarding rule is applied to a data packet from or to a first device, the first device being a communication device connected to a first communication device, the first communication device being at least one of:
Personal Internet of things equipment with gateway function;
and (5) a terminal.
12. The method of claim 11, wherein the method further comprises:
the second communication equipment sends a check instruction to the first network function and is used for acquiring check data from the network side equipment;
wherein the verification data comprises at least one of the following:
first information received by the first communication device;
the first communication equipment sends second information to the network equipment;
the data packet filtering rule;
QoS related information, where the QoS related information is used to indicate QoS parameters or indexes of the data packets corresponding to the data packet filtering rules;
a configuration indication;
an invalid indication.
13. The method of claim 12, wherein the verification indication comprises at least one of:
the receiving address information of the check data;
receiving port information of the check data;
an identification of the second communication device;
a service identifier;
the request is responsive to the association identification.
14. The method of claim 12, wherein the second communication device sending a check indication to the first network function comprises:
the second communication device sends a check indication to the first network function through the first communication device.
15. The method of claim 12, further comprising at least one of:
the second communication device receiving the verification data from the first network function;
the second communication device receives the verification data from a second network function.
16. The method of claim 11, wherein the second communication device transmitting the first information comprises:
the second communication device sends first information to the first communication device, wherein the first information is used for indicating the first communication device to configure forwarding rules corresponding to the data packet filtering rules according to the first information or invalidate the data packet filtering rules.
17. The method of claim 11, wherein the first information further comprises quality of service QoS related information indicating QoS parameters or metrics for the data packets corresponding to the data packet filtering rules.
18. The method of claim 11, wherein the second communication device is at least one of:
personal Internet of things equipment with management function;
and (5) a terminal.
19. A forwarding rule configuration apparatus, comprising:
The second execution module is used for determining first information, wherein the first information comprises a data packet filtering rule, and the first information is used for configuring a forwarding rule corresponding to the data packet filtering rule or invalidating the data packet filtering rule;
the second transmission module is used for transmitting the first information;
the forwarding rule is applied to a data packet from or to a first device, and the first device is a communication device connected with the first communication device.
20. A forwarding rule configuration method, comprising:
the first network function receives a check instruction from the first communication device or the second communication device and sends check data to the second communication device;
wherein the verification data comprises at least one of the following:
first information received by the first communication device;
the first communication equipment sends second information to the network equipment;
the data packet filtering rule;
QoS related information, where the QoS related information is used to indicate QoS parameters or indexes of the data packets corresponding to the data packet filtering rules;
a configuration indication;
an invalid indication.
21. The method of claim 20, wherein the verification indication comprises at least one of:
The receiving address information of the check data;
receiving port information of the check data;
an identification of the second communication device;
a service identifier;
the request is responsive to the association identification.
22. The method of claim 20, further comprising at least one of:
the first network function sends the check data to the second communication device;
the first network function sends the verification data to the second communication device through a second network function.
23. A forwarding rule configuration apparatus, comprising:
a receiving module, configured to receive a verification instruction from the first communication device or the second communication device;
the sending module is used for sending the check data to the second communication equipment;
wherein the verification data comprises at least one of the following:
first information received by the first communication device;
the first communication equipment sends second information to the network equipment;
the data packet filtering rule;
QoS related information, where the QoS related information is used to indicate QoS parameters or indexes of the data packets corresponding to the data packet filtering rules;
a configuration indication;
an invalid indication.
24. A terminal comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implements the forwarding rule configuration method of any one of claims 1 to 9, or implements the steps of the forwarding rule configuration method of any one of claims 11 to 18.
25. A network side device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the forwarding rule configuration method of any one of claims 20 to 22.
26. A readable storage medium, wherein a program or instructions is stored on the readable storage medium, which when executed by a processor, implements the forwarding rule configuration method according to any one of claims 1 to 9, or implements the forwarding rule configuration method according to any one of claims 11 to 18, or implements the steps of the forwarding rule configuration method according to any one of claims 20 to 22.
CN202211146468.2A 2022-09-20 2022-09-20 Forwarding rule configuration method and device, terminal and network side equipment Pending CN117792886A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202211146468.2A CN117792886A (en) 2022-09-20 2022-09-20 Forwarding rule configuration method and device, terminal and network side equipment
PCT/CN2023/119919 WO2024061256A1 (en) 2022-09-20 2023-09-20 Forwarding rule configuration method and apparatus, terminal, and network side device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211146468.2A CN117792886A (en) 2022-09-20 2022-09-20 Forwarding rule configuration method and device, terminal and network side equipment

Publications (1)

Publication Number Publication Date
CN117792886A true CN117792886A (en) 2024-03-29

Family

ID=90387635

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211146468.2A Pending CN117792886A (en) 2022-09-20 2022-09-20 Forwarding rule configuration method and device, terminal and network side equipment

Country Status (2)

Country Link
CN (1) CN117792886A (en)
WO (1) WO2024061256A1 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104717081B (en) * 2013-12-13 2018-01-23 杭州华为数字技术有限公司 The implementation method and device of a kind of gateway function
EP3313118A1 (en) * 2016-10-24 2018-04-25 Thomson Licensing Method to be implemented at a device configured to be connected to a customer premise equipment of a first type network, corresponding device
CN112997454B (en) * 2018-09-10 2023-08-25 皇家Kpn公司 Connecting to home local area network via mobile communication network
CN113475045B (en) * 2019-01-15 2022-11-22 欧芬诺有限责任公司 Control plane based time sensitive network configuration
CN113645712A (en) * 2020-05-11 2021-11-12 华为技术有限公司 Communication method and device
US20210368341A1 (en) * 2020-08-10 2021-11-25 Ching-Yu LIAO Secure access for 5g iot devices and services

Also Published As

Publication number Publication date
WO2024061256A1 (en) 2024-03-28

Similar Documents

Publication Publication Date Title
EP3879879B1 (en) Time sensitive networking communication method and apparatus thereof
CN111901135B (en) Data analysis method and device
US20230216758A1 (en) Information acquisition method and apparatus, storage medium, and electronic apparatus
CN117792886A (en) Forwarding rule configuration method and device, terminal and network side equipment
WO2024061144A1 (en) Method and apparatus for configuring network routing, and network-side device and terminal
WO2023143414A1 (en) Data transmission method and apparatus, configuration method and apparatus, and terminal and network-side device
WO2024067331A1 (en) Device switching method in personal internet of things network, and communication method and device
CN117641497A (en) Equipment path selection method, device, terminal and network side equipment
WO2024067567A1 (en) Method for obtaining analysis result, and communication device
WO2023143423A1 (en) Information acquisition, storage and reporting method and device, terminal, and network function
WO2024120286A1 (en) Transmission method and apparatus, and terminal and network-side device
WO2022213981A1 (en) Information processing method and apparatus, and communication device
CN117692986A (en) Method, device and equipment for processing routing policy execution result
CN117692982A (en) Routing policy execution condition processing method, device and equipment
CN116567591A (en) Direct connection air interface configuration method, terminal and network side equipment
CN117014922A (en) Behavior processing method, device, terminal, network equipment and medium
CN117479113A (en) Interaction method, device, equipment and storage medium
CN116939738A (en) Session holding method, terminal and network side equipment
CN117319429A (en) Information acquisition method and equipment
CN117793951A (en) Network communication method, device, network side equipment, terminal and medium
CN116567709A (en) Equipment identifier distribution method, device, network function and storage medium
CN117835213A (en) Information acquisition method and device, terminal equipment and network side equipment
CN117294679A (en) IMS service acquisition method, terminal, network equipment and medium
CN116866942A (en) URSP rule optimization method, device, terminal, network equipment and medium
CN117479142A (en) Configuration information acquisition method and device and configuration information storage method and device

Legal Events

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