WO2022165857A1 - Communication method and device and computer readable storage medium - Google Patents

Communication method and device and computer readable storage medium Download PDF

Info

Publication number
WO2022165857A1
WO2022165857A1 PCT/CN2021/076115 CN2021076115W WO2022165857A1 WO 2022165857 A1 WO2022165857 A1 WO 2022165857A1 CN 2021076115 W CN2021076115 W CN 2021076115W WO 2022165857 A1 WO2022165857 A1 WO 2022165857A1
Authority
WO
WIPO (PCT)
Prior art keywords
session control
control rules
rules
rule
session
Prior art date
Application number
PCT/CN2021/076115
Other languages
French (fr)
Chinese (zh)
Inventor
孙海洋
周润泽
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2021/076115 priority Critical patent/WO2022165857A1/en
Publication of WO2022165857A1 publication Critical patent/WO2022165857A1/en

Links

Images

Definitions

  • the embodiments of the present application relate to the field of communication technologies, and in particular, to a communication method, an apparatus, and a computer-readable storage medium.
  • the user plane function (UPF) network element of the user plane and the session management function (SMF) network element of the control plane support Packet forwarding control protocol (PFCP), which can interact through PFCP.
  • SMF network elements can control UPF network elements through PFCP.
  • the flexibility is low.
  • the embodiments of the present application disclose a communication method, an apparatus, and a computer-readable storage medium, which are used to improve the flexibility of interaction between a user plane network element and a control plane network element.
  • an embodiment of the present application discloses a communication method, which can be applied to a user plane network element, and can also be applied to a module (for example, a chip) in a user plane network element.
  • the user plane network element is taken as an example below. Be explained.
  • the communication method may include: receiving M session control rules from at least two control plane network elements, where M is an integer greater than 1; and processing data according to the M session control rules.
  • M is an integer greater than 1
  • multiple control rules are acquired from at least two control plane network elements, and data is processed according to the multiple control rules.
  • a user plane network element may receive session control rules from at least two control plane network elements, and then conduct a session according to these session control rules, that is, at least two control plane network elements may use these session control information
  • the user plane network element is controlled, and the session of the user plane network element can be directly controlled.
  • at least two control plane NEs can directly control user plane NEs to conduct sessions, so that user plane NEs can directly interact with multiple control plane NEs, thereby improving the interaction between user plane NEs and control plane NEs. flexibility.
  • the user plane network element may be a UPF network element, and in other communication systems, the user plane network element may be other network elements or functional entities, which are not limited here.
  • the processing of the data by the user plane network element according to the N session control rules includes: selecting a session control rule corresponding to the PDI matching the data from the N session control rules; using the selected session control rule to The data is processed.
  • the user plane network element after receiving the session control rules from at least two control plane network elements, can process the session control rules, so as to avoid the occurrence of session control rules caused by the existence of multiple control plane network elements. A case where the data cannot be processed.
  • the first session control rule includes a first packet inspection rule PDR
  • the first PDR includes first packet inspection information PDI and first identification information
  • the second session control rule includes a second PDR
  • the second PDR Including the second PDI and the second identification information
  • the first session control rule and the second session control rule are two session control rules from different control plane network elements in the M session control rules, the first identification information and the second identification information Including the identifier of at least one data packet processing rule
  • the user plane network element processes the M session control rules
  • obtaining N session control rules includes: when the first PDI is the same as the second PDI, according to the first session control rule and the first session control rule
  • the second session control rule determines the third session control rule
  • the third session control rule includes the third PDR
  • the third PDR includes the first identification information, the second identification information, and the first PDI or the second PDI;
  • the fourth session control rule includes the fourth PDR and the fourth PDR Including the same part in the first PDI and the second PDI, the first identification information and the second identification information
  • the fifth session control rule includes the fifth PDR
  • the fifth PDR includes the part of the first PDI that is different from the second PDI and the second PDI.
  • identification information the sixth session control rule includes a sixth PDR
  • the sixth PDR includes the part of the second PDI that is different from the first PDR and the second identification information; according to the third session control rule, or the fourth session control rule, the first PDR
  • the fifth session control rule and the sixth session control rule determine N session control rules.
  • the session control rules when M session control rules are processed, when the session control rules from different control plane network elements are overlapped or the same, that is, the PDIs are overlapped or the same, the session control rules are processed. There is no intersection between the processed session control rules, thereby avoiding the problem that only one of the session control rules from different control plane network elements can be executed when there is an intersection.
  • the user plane network element processing the data according to the N session control rules includes: selecting a session control rule corresponding to the PDI matching the data from the N session control rules; using the selected session control rule to The data is processed.
  • each session control rule in the M session control rules carries information of a corresponding control plane network element.
  • the user plane network element processes the M session control rules
  • obtaining N session control rules includes: determining the session control rules corresponding to the same control plane network element among the M session control rules as a group , obtain K groups of session control rules, where K is an integer greater than or equal to 2; sort the K groups of session control rules according to the control plane network elements corresponding to the K groups of session control rules, and obtain a group sorting table, which includes N sessions control rules.
  • the session control rules from different control plane network elements are sorted, so that when there is data that needs to be processed, the data can be sequentially matched according to the sorting, until all the session control rules in the sorting are matched. , it can avoid the situation that only part of the session control rules are matched, and thus can avoid the problem that only one of the session control rules from different control plane network elements can be executed when there is an intersection.
  • each session control rule in the M session control rules includes a PDR, and the PDR includes at least one identifier, and the at least one identifier is an identifier of at least one data packet processing rule, and the user plane network element has the M
  • Processing the session control rules to obtain N session control rules includes: determining A session control rules according to the M session control rules, and each session control rule in the A session control rules only includes one of the at least one identifier.
  • Type identifiers A is an integer greater than or equal to M; the corresponding control plane network elements in A session control rules and the session control rules of the same packet processing rule type are determined as a group, and the session control rules of group B are obtained; The group session control rules are sorted to obtain a group sorting table, where the group sorting table includes N session control rules.
  • the session control rules from different control plane network elements are split, grouped, and sorted, so that when there is data to be processed, the data can be sequentially matched according to the sorting until the sorting is completed. It can avoid the situation that only some of the session control rules are matched, and thus can avoid the problem that only one of the session control rules from different control plane network elements can be executed when there is an intersection.
  • the processing of the data by the user plane network element according to the N session control rules includes: determining, according to the group sorting table, a session control rule corresponding to the PDI matching the data among the N session control rules, and obtaining L
  • the L session control rules are used to process the data in sequence according to the sorting in the group sorting table.
  • the session control rules when there are multiple session control rules that match the data, the session control rules can be executed in sequence according to the order of the session control rules, which can avoid the intersection of session control rules from different control plane network elements. Execute a question.
  • an embodiment of the present application discloses a communication device.
  • the communication device may be a user plane network element or a module (for example, a chip) in the user plane network element.
  • the device may include:
  • a receiving unit configured to receive M session control rules, the M session control rules are from at least two control plane network elements, and M is an integer greater than 1;
  • a processing unit configured to process data according to the M session control rules.
  • the processing unit is further configured to process the M session control rules to obtain N session control rules, where N is an integer greater than 0;
  • the processing unit processing data according to the M session control rules includes:
  • the data is processed according to the N session control rules.
  • the first session control rule includes a first packet inspection rule PDR
  • the first PDR includes first packet inspection information PDI and first identification information
  • the second session control rule includes a second PDR
  • the second PDR includes second PDI and second identification information
  • the first session control rule and the second session control rule are two session control rules from different control plane network elements among the M session control rules
  • the first identification information and the second identification information include the identification of at least one packet processing rule
  • the processing unit processes the M session control rules, and obtains the N session control rules including:
  • a third session control rule is determined according to the first session control rule and the second session control rule, where the third session control rule includes a third PDR, the third PDR includes the first identification information, the second identification information, and the first PDI or the second PDI; or
  • the fourth session control rule includes a fourth PDR
  • the fourth PDR includes the same part of the first PDI and the second PDI, the first identification information and the second identification information
  • the fifth session control rule includes a fifth PDR
  • the fifth PDR includes a part of the first PDI that is different from the second PDI and the first identification information
  • the sixth session control rule includes a sixth PDR
  • the sixth PDR includes the part of the second PDI that is different from the first PDR and the second identification information
  • N session control rules are determined according to the third session control rule, or the fourth session control rule, the fifth session control rule and the sixth session control rule.
  • the processing unit processing data according to the N session control rules includes:
  • the data is processed using selected session control rules.
  • each session control rule in the M session control rules carries information of a corresponding control plane network element.
  • the processing unit processes the M session control rules to obtain N session control rules including:
  • each of the M session control rules includes a PDR
  • the PDR includes at least one identifier
  • the at least one identifier is an identifier of at least one data packet processing rule
  • the processing unit processes the M session control rules, and obtains the N session control rules including:
  • a session control rules are determined according to the M session control rules, and each session control rule in the A session control rules only includes one kind of identification among the at least one kind of identification, and A is an integer greater than or equal to M ;
  • the processing unit processing data according to the N session control rules includes:
  • the data is processed using the L session control rules in sequence according to the ordering in the group ordering table.
  • an embodiment of the present application discloses a communication device, where the communication device may be a user plane network element or a module (eg, a chip) in the user plane network element.
  • the communication device may include a processor, a memory, an input interface for receiving information from other communication devices other than the communication device, and an output interface for sending information outside the communication device.
  • the other communication device outputs information, and when the processor executes the computer program stored in the memory, the processor causes the processor to execute the communication method disclosed in the first aspect or any embodiment of the first aspect.
  • an embodiment of the present application discloses a communication system, where the communication system includes at least two control plane network elements and the user plane network elements disclosed in the third aspect.
  • the embodiments of the present application disclose a computer-readable storage medium, where computer programs or computer instructions are stored on the computer-readable storage medium, and when the computer program or computer instructions are executed, the communication as disclosed in the above aspects is implemented. method.
  • an embodiment of the present application discloses a chip including a processor for executing a program stored in a memory, and when the program is executed, the chip executes the above method.
  • the memory is located off-chip.
  • the embodiments of the present application disclose a computer program product, where the computer program product includes computer program code, and when the computer program code is executed, the above-mentioned communication method is executed.
  • FIG. 1 is a schematic diagram of a network architecture disclosed in an embodiment of the present application.
  • FIG. 2 is a schematic diagram of another network architecture disclosed in an embodiment of the present application.
  • FIG. 3 is a schematic diagram of another network architecture disclosed in an embodiment of the present application.
  • FIG. 4 is a schematic diagram of another network architecture disclosed in an embodiment of the present application.
  • FIG. 5 is a schematic diagram of another network architecture disclosed in an embodiment of the present application.
  • FIG. 6 is a schematic diagram of another network architecture disclosed in an embodiment of the present application.
  • FIG. 7 is a schematic diagram of a protocol stack disclosed in an embodiment of the present application.
  • FIG. 8 is a schematic diagram of association of different cell groups disclosed in an embodiment of the present application.
  • FIG. 9 is a schematic diagram of a UPF network element executing a rule on a data packet disclosed in an embodiment of the present application.
  • FIG. 10 is a schematic flowchart of a communication method disclosed in an embodiment of the present application.
  • FIG. 11 is a schematic diagram of processing a session control rule disclosed in an embodiment of the present application.
  • FIG. 12 is another schematic diagram of processing session control rules disclosed in an embodiment of the present application.
  • FIG. 13 is another schematic diagram of processing session control rules disclosed by an embodiment of the present application.
  • FIG. 14 is a schematic flowchart of another communication method disclosed by an embodiment of the present application.
  • FIG. 15 is a schematic flowchart of another communication method disclosed by an embodiment of the present application.
  • FIG. 16 is a schematic structural diagram of a communication device disclosed in an embodiment of the present application.
  • FIG. 17 is a schematic structural diagram of another communication device disclosed in an embodiment of the present application.
  • FIG. 18 is a schematic structural diagram of another communication device disclosed in an embodiment of the present application.
  • Embodiments of the present application disclose a communication method, an apparatus, and a computer-readable storage medium, which are used to improve flexibility. Each of them will be described in detail below.
  • FIG. 1 is a schematic diagram of a network architecture disclosed in an embodiment of the present application. As shown in FIG.
  • the network architecture may include user equipment (UE), (radio access network, (R)AN) equipment, and user plane function (UPF) network elements , data network (DN), access and mobility management function (AMF) network element, session management function (session management function, SMF) network element, policy control function (policy control function, PCF) network element, application function (AF) network element, unified data management (UDM) network element, authentication server function (AUSF) network element, network slice selection (network slice selection) function, NSSF) network element, network exposure function (NEF) network element and network storage function (network repository function, NRF) network element.
  • UE user equipment
  • R radio access network
  • UPF user plane function
  • DN data network
  • AMF access and mobility management function
  • SMF session management function
  • policy control function policy control function
  • PCF policy control function
  • UDM unified data management
  • AUSF authentication server function
  • NEF network exposure function
  • NRF network repository function
  • the (R)AN device and the AMF network element can communicate through the N2 interface.
  • the (R)AN device and the UPF network element can communicate through the N3 interface.
  • the UPF network element and the SMF network element can communicate through the N4 interface.
  • the UPF network element and the DN can communicate through the N6 interface.
  • AMF network element can provide service interface Namf
  • SMF network element can provide service interface Nsmf
  • AUSF network element can provide service interface Nausf
  • UDM network element can provide service interface Nudm
  • PCF network element can provide service interface Npcf
  • the AF network element can provide the service interface Naf
  • the NSSF network element can provide the service interface Nnssf
  • the NEF network element can provide the service interface Nnef
  • the NRF network element can provide the service interface Nnrf.
  • AMF network element, SMF network element, UDM network element, PCF network element, AF network element, AUSF network element, NSSF network element, NEF network element and NRF network element can communicate through service interfaces.
  • FIG. 2 is a schematic diagram of another network architecture disclosed in an embodiment of the present application. As shown in FIG. 2 , different network elements or devices may communicate through different communication interfaces.
  • the network architecture shown in Figure 1 and Figure 2 is a non-roaming 5G network architecture.
  • FIG. 3 is a schematic diagram of another network architecture disclosed by an embodiment of the present application.
  • the network on the left is the visited public land mobile network (VPLMN), and the network on the right is the home public land mobile network (HPLMN).
  • the visited security edge protection proxies (vSEPP) in the VPLMN and the home security edge protection proxies (hSEPP) in the HPLMN can communicate through the N32 interface.
  • FIG. 4 is a schematic diagram of another network architecture disclosed by an embodiment of the present application.
  • the PCF network element in the VPLMN that is, the visited PCF (visited PCF, vPCF) and the PCF network element in the HPLMN, that is, the home PCF (home PCF, hPCF) can communicate through the N24 interface.
  • the AMF network element in the VPLMN and the AUSF network element in the HPLMN can communicate through the N12 interface.
  • the AMF network element in the VPLMN and the UDM network element in the HPLMN can communicate through the N8 interface.
  • the SMF network element in the VPLMN and the UDM network element in the HPLMN can communicate through the N10 interface.
  • the network architecture shown in FIG. 3 and FIG. 4 is a roaming 5G network architecture using local breakout.
  • FIG. 5 is a schematic diagram of another network architecture disclosed by an embodiment of the present application. As shown in Figure 5, a communication service can be performed between the vSEPP and the hSEPP through the N32 interface.
  • the UPF network element in the VPLMN and the UPF network element in the HPLMN can communicate through the N9 interface.
  • FIG. 6 is a schematic diagram of another network architecture disclosed by an embodiment of the present application.
  • the UPF network element in the VPLMN and the UPF network element in the HPLMN can communicate through the N9 interface.
  • the PCF network element in the VPLMN, that is, the visited PCF (V-PCF) and the PCF network element in the HPLMN, that is, the home PCF (home PCF, H-PCF) can communicate through the N24 interface.
  • the SMF network element in the VPLMN that is, the visited SMF (visited SMF, V-SMF) and the SMF network element in the HPLMN, that is, the home SMF (home SMF, H-SMF) can communicate through the N16 interface.
  • the AMF network element in the VPLMN and the UDM network element in the HPLMN can communicate through the N8 interface.
  • the NSSF network element in the VPLMN, that is, the visited NSSF (visited NSSF, V-NSSF) and the NSSF network element in the HPLMN, that is, the home NSSF (home NSSF, H-NSSF) can communicate through the N31 interface.
  • the AMF network element in the VPLMN and the AUSF network element in the HPLMN can communicate through the N12 interface.
  • the network architecture shown in FIG. 5 and FIG. 6 is a roaming 5G network architecture using home routed.
  • the terminal device also known as terminal equipment, mobile station (mobile station, MS), mobile terminal (mobile terminal, MT), etc., is a device that provides voice and/or data connectivity to users.
  • the terminal device can be a handheld terminal, a notebook computer, a subscriber unit, a cellular phone, a smart phone, a wireless data card, a personal digital assistant (PDA) computer, a tablet computer , wireless modem (modem), handheld device (handheld), laptop computer (laptop computer), cordless phone (cordless phone) or wireless local loop (wireless local loop, WLL) station, machine type communication (machine type communication, MTC) terminals, wearable devices (such as smart watches, smart bracelets, pedometers, etc.), in-vehicle devices (such as cars, bicycles, electric vehicles, airplanes, ships, trains, high-speed rail, etc.), virtual reality (virtual reality, VR) equipment, augmented reality (AR) equipment, wireless terminals in industrial control (industrial control), smart home equipment (for example, refrigerators, TV
  • the terminal device in FIG. 1 is shown as a UE, which is only an example and does not limit the terminal device.
  • the UE can access the DN by establishing a session between the UE-(R)AN device-UPF network element-DN, that is, a protocol data unit (protocol data unit, PDU) session.
  • a protocol data unit protocol data unit, PDU
  • the (R)AN device is a device that provides wireless access for the UE, and is mainly responsible for functions such as radio resource management, quality of service (QoS) flow management, data compression, and encryption on the air interface side.
  • (R)AN devices may include various forms of base stations, such as: macro base stations, micro base stations (also called small stations), relay stations, access points, and the like.
  • the (R)AN device may also include a wireless fidelity (WiFi) access point (AP).
  • WiMax worldwide interoperability for microwave access
  • UPF network elements are mainly responsible for user plane-related content, such as data packet routing and transmission, packet detection, service usage reporting, quality of service (QoS) processing, legal interception, and downlink packet storage.
  • QoS quality of service
  • the DN can be the Internet (internet), an internet protocol (IP) multimedia service (IP multi-media service, IMS) network, a regional network, that is, a local network, such as multi-access edge computing (multi-access edge computing, MEC) network, etc.
  • IP internet protocol
  • IMS internet protocol multi-media service
  • MEC multi-access edge computing
  • the DN is the destination of the UE's protocol data unit (PDU) session access.
  • An application server is included or deployed in the DN, and the application server can perform data transmission with the UE and provide business services for the UE.
  • AMF network elements can complete access and mobility-related functions such as connection management, registration process, mobility management, access authentication and authorization management, reachability management, and security context management.
  • SMF network elements are mainly responsible for session-related functions such as session management in mobile networks, selection and control of UPF network elements, service and session continuity (SSC) mode selection, and roaming.
  • Session management may include session establishment, modification, release, update, and the like. Session management may also include tunnel maintenance between UPF network elements and access network (AN) devices.
  • AN access network
  • the PCF network element can be responsible for policy-related functions such as unified policy formulation, policy control provision, and acquisition of policy decision-related subscription information from a unified data repository (UDR) network element.
  • policy-related functions such as unified policy formulation, policy control provision, and acquisition of policy decision-related subscription information from a unified data repository (UDR) network element.
  • UDR unified data repository
  • the AF network element mainly supports interaction with the 3rd generation partnership project (3GPP) core network to provide services or services, and affects service flow routing, access network capability opening, policy control, etc., and can interact with NEF network elements. etc. to interact.
  • 3GPP 3rd generation partnership project
  • the UDM network element is responsible for user key management, user identification processing, access authorization for subscription data, UE network function entity management, session and business continuity management, short message push, legal interception, access authorization, registration and mobility management, Contract management, short message management, used to manage and control user data, such as contract information management.
  • the AUSF network element may be responsible for authenticating and authorizing the access of the UE, such as generating an intermediate key.
  • the NSSF network element is mainly responsible for selecting a set of network slice instances for the UE, determining the allowed network slice selection assistance information (NSSAI), and determining the set of AMF network elements that can serve the UE.
  • NSSAI network slice selection assistance information
  • NRF network elements are mainly responsible for the service discovery function, maintaining the NF text of available network function (NF) instances and the services they support.
  • the NEF network element is mainly responsible for safely opening the services and capabilities provided by the 3GPP network functions, which are open internally or open to third parties. Convert or translate information interacting with AF network elements and internal network function interaction ethics information, such as AF network element service identifiers and internal 5G core network information, such as data network name (DNN), single NSSAI (single NSSAI, S -NSSAI) etc.
  • DNN data network name
  • single NSSAI single NSSAI
  • S -NSSAI single NSSAI
  • Each of the above network elements in the core network can also be referred to as functional entities, which can be either network elements implemented on dedicated hardware, software instances running on dedicated hardware, or instances of virtualized functions on an appropriate platform
  • the above-mentioned virtualization platform may be a cloud platform.
  • FIG. 1 to FIG. 6 is not limited to include only the network elements shown in the figures, but may also include other devices or network elements not shown in the figures. List them one by one.
  • the 5G network architecture shown in Figures 1 to 6 does not constitute a limitation on the 5G network.
  • the methods in the embodiments of the present application are also applicable to various future communication systems, such as 6G or other communication networks.
  • FIG. 7 is a schematic diagram of a protocol stack disclosed in an embodiment of the present application.
  • the SMF network element and the UPF network element may include a packet forwarding control protocol (PFCP) layer, a user datagram protocol (user datagram protocol, UDP) layer, an IP layer, an L2 layer and an L1 layer.
  • PFCP packet forwarding control protocol
  • UDP user datagram protocol
  • the SMF network element can send a PFCP session establishment request (Session Establishment Request) message to the UPF network element to establish a PFCP session between the UPF network element and the SMF network element, so that the interaction can be performed through PFCP.
  • PFCP Session Establishment Request The information element (IE) of the PFCP Session Establishment Request message can be as shown in Table 1:
  • PDR, FAR, URR, QER and BAR are cell groups.
  • PDR is used to control how UPF network elements detect and classify data packets, ie identify data packets (for flow policy).
  • the FAR is used to forward the data packets identified by the PDR.
  • the URR is used to report measurement statistics on the data packets identified by the PDR.
  • QER is used to perform QoS control on the data packets identified by the PDR.
  • the BAR is used to buffer the data packets identified by the PDR.
  • the MAR includes associations with two FARs for 3GPP access and non-3GPP access.
  • the PDR cell group can be as shown in Table 2:
  • the URR cell group can be as shown in Table 3:
  • FIG. 8 is a schematic diagram of association of different cell groups disclosed in an embodiment of the present application.
  • P in Figure 8 is packet.
  • the flow policy is PDR
  • the flow rule ie flow detection rule
  • the flow action may include data packet processing rules.
  • the packet processing rule can be one or more of FAR, QER, URR, etc.
  • Flow policies can include flow rules and flow actions, ie PDR can include PDI and packet processing rules.
  • the PDR may include one or more of PDR ID, priority, PDI, remove outer header, identification of packet processing rules, and the like.
  • the PDI may include one or more of a source interface, a local F-TEID, a packet switch data network (PDN) instance (instance), a UE IP address, an SDF filter, an application ID, and the like.
  • the FAR may include one or more of FAR ID, apply action, forwarding parameters, additional forwarding parameters, BAR ID, and the like.
  • QER may include QER ID, priority, QER correlation ID, gate status, maximum bitrate, guaranteed bitrate, packet rate, downstream level identification ( DL flow level marking), etc. one or more.
  • URR may include one or more of URR ID, active/inactive rule, measurement method, report trigger, measurement period, etc.
  • the PDI may include one or more matching fields, and when the corresponding fields of the ingress data flow are successfully matched with all the matching fields in the PDI, it is determined that the ingress data flow matches the PDI.
  • Flows serve to indicate actions that need to be performed on data traffic.
  • FIG. 9 is a schematic diagram of a UPF network element executing a rule on a data packet disclosed in an embodiment of the present application.
  • the data packet is matched according to the priority of the PDR. If the matching is successful, the packet is processed using the packet processing rules in the successfully matched PDR.
  • Packet processing rules may include one or more of MAR, FAR, QER, and URR.
  • FIG. 10 is a schematic flowchart of a communication method disclosed in an embodiment of the present application. As shown in FIG. 10, the communication method may include the following steps.
  • At least two control plane network elements send M session control rules to the UPF network element.
  • the at least two control plane network elements may send M session control rules to the UPF network element, that is, at least two Each control plane network element in the control plane network element sends session control rules to the UPF network element respectively.
  • the control plane network element may send session control rules to the UPF network element in the process of session establishment or session modification.
  • the number of session control rules sent by each control plane network element may be one or multiple.
  • the multiple session control rules may be sent through one message or signaling, or may be sent through multiple messages or signaling.
  • M is an integer greater than 1.
  • the session here may be an N4 session or other sessions, which are not limited here.
  • the at least two control plane network elements may comprise control plane network elements of the same type.
  • the at least two control plane network elements may comprise different SMF network elements.
  • the at least two control plane network elements may also include different types of control plane network elements.
  • the at least two control plane network elements may include SMF network elements and AF network elements.
  • the at least two control plane network elements may also include control plane network elements of the same type and control plane network elements of different types.
  • the at least two control plane network elements may include an AF network element and two different SMF network elements.
  • each of the at least two control plane network elements can directly communicate with the UPF network element.
  • communication ie each of the at least two control plane network elements can directly control the UPF network element.
  • a control plane network element directly controls the UPF network element, which can be understood as the control plane network element does not need to convert the session control rules between it and the UPF network element to the session control between another control plane network element and the UPF network element. It can also be understood that the control plane network element can directly use the session control rules between it and the UPF network element to control the session of the UPF network element, without the need to indirectly control it through other control plane network elements. It can also be understood as this control plane.
  • the network elements can directly communicate with the UPF network elements through the communication interface between them.
  • Each of the M session control rules may carry information of the corresponding control plane network element.
  • the message or signaling carries information about the network elements of the control plane corresponding to the multiple session control rules.
  • the information may be the identifier of the network element of the control plane, the name of the network element of the control plane, or other information that can uniquely identify the network element of the control plane.
  • the UPF network element receives M session control rules from at least two control plane network elements.
  • the at least two control plane network elements may also send R pieces of session information to the UPF network elements.
  • the session information may be information of a PDU session.
  • Each session control rule in the M session control rules may correspond to one session information in the R session information, and one session information in the R session information may correspond to one or more session control rules in the M session control rules.
  • the correspondence between the M session information and the R session control rules may be shown in Table 4 or Table 5:
  • R may be M, and each session control rule in the M session control rules may correspond to one session information in the M session information, and the M session information may include the same session information, or may include different session information.
  • the session information may also include the same and different information, which can be understood as each session control rule in the M session control rules may correspond to one PDU session in the Q PDU sessions.
  • one or more session control rules in the M session control rules may correspond to one session information in the R session information, which can be understood as one or more session control rules in the M session control rules can be Corresponds to one PDU session among the Q PDU sessions.
  • the multiple session control rules may correspond to the same session information. Session control rules from different control plane network elements cannot correspond to the same session information, but the corresponding PDU sessions can be the same.
  • the relationship between M session control rules and Q PDU sessions can be a one-to-many relationship or a one-to-one relationship.
  • one PDU session can uniquely correspond to one session control rule , and can also correspond to multiple session control rules.
  • the information of the PDU session may be an identifier of the PDU session, a tunnel identifier, address information of a terminal device, or other information that can uniquely identify the PDU session.
  • the address information of the terminal device may be the IPv4 address of the terminal device, the IPv6 prefix of the terminal device, the MAC address of the terminal device, or other information that can identify the address of the terminal device.
  • Q is an integer less than or equal to M.
  • the Q PDU sessions are PDU sessions corresponding to the M session information.
  • R is an integer less than or equal to M.
  • Q is less than or equal to R.
  • each of the M session control rules may include or carry corresponding session information.
  • at least two control plane network elements may send M messages or signaling to the UPF network element, and each of the M messages or signaling may include one of M session control rules Session control rules and session information corresponding to the session control rules.
  • the UPF network element receives M session information from at least two control plane network elements.
  • the UPF network element processes the data according to the M session control rules.
  • the UPF network element After receiving the M session control rules from at least two control plane network elements, the UPF network element can process the data according to the M session control rules.
  • M session control rules can be processed first to obtain N session control rules, and then data can be processed according to the N session control rules.
  • N is an integer greater than 0.
  • the UPF network element may first determine whether there is a conflict between any two session control rules from different control plane network elements. When it is determined that there is no conflict between any two session control rules from different control plane network elements, the M session control rules may not be processed, and the M session control rules may be directly determined as N session control rules. At this time, M and N are equal. When it is determined that there is a conflict, the M session control rules may be processed to obtain N session control rules. At this time, N may be greater than N, may be smaller than N, and may also be equal to N.
  • the first session control rule and the second session control rule are two session control rules from different control plane network elements among the M session control rules.
  • the first session control rule may include the first PDR
  • the first PDR may include the first PDI and the first identification information
  • the second session control rule may include the second PDR
  • the second PDR may include the second PDI and the second identification information.
  • the first identification information and the second identification information may include the identification of at least one data packet processing rule, that is, the first identification information may include the identification of at least one data packet processing rule, and the second identification information may include the identification of at least one data packet processing rule.
  • the data packet processing rule may be QER, URR, FAR, or other rules for processing data packets, which are not limited here.
  • the UPF network element may determine whether the first PDI and the second PDI are the same, and when it is determined that the first PDI and the second PDI are the same, the UPF network element may determine the first PDI and the second session control rule according to the first session control rule and the second session control rule.
  • the third session control rule includes a third PDR
  • the third PDR includes the first identification information, the second identification information, and the first PDI or the second PDI.
  • the first session control rule and the second session control rule are merged, that is, the first session control rule and the second session control rule are merged into one session control rule, and the merged session control rule includes a PDR, the PDR It includes a PDI, and includes the identifiers of all data packet processing rules belonging to the first session control rule and the second session control rule.
  • the fourth session control rule, the fifth session control rule and the sixth session control rule may be determined according to the first session control rule and the second session control rule.
  • the fourth session control rule includes a fourth PDR, the fourth PDR includes the same part of the first PDI and the second PDI, the first identification information, and the second identification information, the fifth session control rule includes a fifth PDR, and the fifth PDR includes The part of the first PDI that is different from the second PDI and the first identification information, the sixth session control rule includes a sixth PDR, and the sixth PDR includes the part of the second PDI that is different from the first PDR and the second identification information. That is, three session control rules are determined according to the two session control rules, and there is no intersection among the PDIs of the three determined session control rules.
  • One of the three session control rules is obtained by excluding the same part of the first PDI and the second PDI from the first session control rule, and the other session control rule is obtained by excluding the second PDI and the second PDI from the second session control rule.
  • the same part of the first PDI is obtained, and the third session control rule includes the same part of the PDI in the two session control rules, and all the data packet processing rules.
  • the first session control rule and the second session control rule may be kept unchanged.
  • the UPF network element may determine N session control rules according to the first session control rule and the second session control rule, or the third session control rule, or the fourth session control rule, the fifth session control rule, and the sixth session control rule. . That is, the above processing is performed on any two session control rules from different control plane network elements in the M session control rules, and N session control rules can be obtained after the processing.
  • FIG. 11 is a schematic diagram of processing a session control rule disclosed in an embodiment of the present application.
  • session control rule 1 includes PDR1, PDR1 includes PDI1, URR1 and FAR1
  • session control rule 2 includes PDR2, and PDR2 includes PDI2, QER1 and FAR2.
  • this session control rule includes PDR3, PDR3 includes PDI, QER1, URR1, FAR1 and FAR2, the PDI can be PDI1, or Can be PDI2.
  • FAR1 is the same as FAR2, FAR1 and FAR2 can be combined into one FAR.
  • FAR1 and FAR2 can be integrated (eg, the actions of the two are combined), or one of them can be selected.
  • two QERs are included, and the two QERs are the same, they can be merged into one, that is, delete one, that is, only execute the QER once.
  • session control rule 4 includes PDR4, and PDR4 includes PDI4, QER1, URR1, FAR1 and FAR2, PDI4 are the same parts between PDI1 and PDI2.
  • Session control rule 5 includes PDR5, PDR5 includes PDI5, URR1 and FAR1, and PDI5 is the same part of PDI1 that is different from PDI2.
  • Session control rule 6 includes PDR6, PDR6 includes PDI6, QER1 and FAR2, and PDI6 is the same part of PDI2 that is different from PDI1.
  • PDI1 PDI4+PDI5
  • PDI2 PDI4+PDI6.
  • session control rule 1 and session control rule 2 remain unchanged.
  • the session control rule includes URR
  • the URR may carry indication information, and the indication information may indicate the execution sequence of the URR. For example, it is possible to indicate whether the URR is executed before the QER or after the QER.
  • the UPF network element may also consider the indication information.
  • the UPF network element After the UPF network element receives the data from the (R)AN device (or DN), it can select the session control rule corresponding to the PDI matching the data from the N session control rules, and then use the selected session control rule to process the data. processed, after which the processed data can be sent to the DN data ((or R)AN device). Since there is no intersection of PDIs in the N session control rules, one session control rule is selected.
  • the UPF network element may determine the session control rule corresponding to the same control plane network element among the M session control rules as One group is obtained, and K groups of session control rules are obtained, that is, the session control rules are grouped according to the source of the session control rules. Afterwards, the UPF network element may sort the K groups of session control rules according to the control plane network elements corresponding to the K groups of session control rules to obtain a group sorting table.
  • the execution order of session control rules corresponding to different control plane network elements may vary. For example, the execution order corresponding to different services is different. For another example, the execution sequences corresponding to different scenarios are different.
  • the execution sequence of the session control rules corresponding to different control plane network elements may be delivered by the control plane network elements to the UPF network elements. For example, it can be delivered by the PCF network element or the SMF network element.
  • the execution order of the session control rules corresponding to different control plane network elements is fixed and may be configured in the UPF network element. For example, SMF network element ⁇ PCF network element ⁇ AMF network element, K groups of session control rules may be sorted according to this order. K is an integer greater than or equal to 2, and the group sorting table includes N session control rules.
  • the UPF network element After the UPF network element receives the data from the (R)AN device (or DN), it can determine the session control rules corresponding to the PDI matching the data in the N session control rules according to the group sorting table to obtain L session control rules, and then can The data is processed using the L session control rules in sequence according to the sorting in the group sorting table. The UPF network element can then send the processed data to the DN data (or (R)AN device). Since there is no intersection between the PDIs of the session control rules in each group of session control rules in the K groups of session control rules, the data can match at most one session control rule in each group of session control rules in the K groups of session control rules Therefore, L is an integer greater than or equal to 0 and less than or equal to K.
  • FIG. 12 is a schematic diagram of another method of processing session control rules disclosed in an embodiment of the present application.
  • a large box is a set of session control rules
  • a small box of the large box is a session control rule.
  • M is 8 and K is 3.
  • the data is matched with the session control rules in the first group of session control rules, and the session control rule 2 is matched, and then the data is matched with the session control rules in the second group of session control rules, and no session control rules are matched.
  • the data is matched with the session control rules in the third group of session control rules, and the session control rule 6 is matched.
  • the session control rule 2 may be used to process the data, and then the session control rule 6 may be used to process the processed data.
  • session control rule 2 may be used to process data, if FAR is included, since the execution of FAR will forward the data, therefore, FAR in session control rule 2 may not be executed, but FAR is executed at the end of session control rule 6.
  • each of the M session control rules includes a PDR
  • the PDR includes at least one identifier
  • the at least one identifier is an identifier of at least one data packet processing rule.
  • the UPF network element After the UPF network element receives M session control rules from at least two control plane network elements, it can determine A session control rules according to the M session control rules, and each session control rule in the A session control rules only includes at least one session control rule.
  • One of the identifiers, A is an integer greater than or equal to M. That is, each session control rule is split into multiple session control rules according to the identifier of the data packet processing rule, and the multiple session control rules obtained by splitting the same session control rule include the same PDI.
  • the UPF network element can determine the corresponding control plane network elements in the A session control rules and the session control rules of the same data packet processing rule type as a group to obtain the session control rules of the group B, and can sort the session control rules of the group B, Get the group sort table.
  • the group sorting table includes N session control rules. When sorting, different groups of session control rules corresponding to the same control plane network element can be sorted together, and different groups of session control rules corresponding to different control plane network elements can be sorted according to the corresponding control plane network elements, corresponding to the same control plane network element. The different groups of session control rules can be sorted in a fixed order or as indicated.
  • the session control rules include URRs, and the URRs carry indication information.
  • the indication information is used to indicate the execution order of the URRs, which may be instructed to be executed before the QER or be executed after the QER.
  • Different groups of session control rules corresponding to the same control plane network element may also be sorted separately.
  • the UPF network element After the UPF network element receives the data from the (R)AN device (or DN), it can determine the session control rules corresponding to the PDI matching the data in the N session control rules according to the group sorting table to obtain L session control rules, and then can The data is processed using the L session control rules in sequence according to the sorting in the group sorting table. The UPF network element can then send the processed data to the DN data (or (R)AN device). Since there is no intersection between the PDIs of the session control rules in each group of session control rules in group B session control rules, the data can match at most one session control rule in each group of session control rules in group B session control rules Therefore, L is an integer greater than or equal to 0 and less than or equal to B.
  • FIG. 13 is a schematic diagram of another method of processing a session control rule disclosed by an embodiment of the present application.
  • M is 3, A is 9, and B is 6.
  • session control rule 1 includes PDI1, URR1, QER1 and FAR1
  • session control rule 2 includes PDI2, URR2, QER2 and FAR2
  • session control rule 3 includes PDI3, URR3, QER3 and FAR3.
  • Session control rule 1 and session control rule 2 correspond to the same control plane network element
  • session control rule 3 corresponds to another control plane network element.
  • the session control rule 1, the session control rule 2, and the session control rule 3 can be divided into 3 session control rules, respectively, to obtain 9 session control rules.
  • FIG. 13 shows two sorting manners, and other sorting manners are also possible, which are not limited here.
  • the UPF network element may first classify the M session control rules according to the M session information, and may classify the M session control rules among the M session control rules.
  • the session control rules corresponding to the same PDU session are divided into one category, and then the session control rules in the same category are processed according to the above processing flow.
  • FIG. 14 is a schematic flowchart of another communication method disclosed in an embodiment of the present application. As shown in FIG. 14 , the communication method may include the following steps.
  • a control plane network element triggers session establishment or modification.
  • control plane network element only one control plane network element is shown in the figure, but there are actually at least two control plane network elements.
  • the control plane network element sends a session establishment request or a session modification request to the UPF network element.
  • the UPF network element receives the session establishment request or the session modification request from the control plane network element.
  • the session establishment request or the session modification request carries or includes the session control rules and the information of the network elements of the control plane.
  • the detailed description may refer to the description of step 1001 .
  • the UPF network element processes the session control rule.
  • the UPF network element can process the session control rule according to the processing method in step 1002 .
  • the UPF network element sends a session establishment response or a session modification response to the control plane network element.
  • the UPF network element may send a session establishment response or a session modification response to the control plane network element.
  • the session establishment response or the session modification response may carry the processed session control rules.
  • control plane network element receives the session establishment response or the session modification response from the UPF network element.
  • FIG. 15 is a schematic flowchart of another communication method disclosed by an embodiment of the present application. As shown in FIG. 15 , the communication method may include the following steps.
  • a control plane network element triggers session establishment or modification.
  • control plane network element only one control plane network element is shown in the figure, but there are actually at least two control plane network elements.
  • the control plane network element sends a session establishment request or a session modification request to the UPF network element.
  • the UPF network element receives the session establishment request or the session modification request from the control plane network element.
  • the session establishment request or the session modification request carries or includes the session control rules and the information of the network elements of the control plane.
  • the detailed description may refer to the description of step 1001 .
  • the UPF network element sends a session establishment response or a session modification response to the control plane network element.
  • the UPF network element may send the session establishment response or the session modification response to the control plane network element.
  • the control plane network element receives the session establishment response or the session modification response from the UPF network element.
  • the UPF network element processes the session control rule.
  • the UPF network element can process the session control rule according to the processing method in step 1002 .
  • the session establishment response or the session modification response may carry the processed session control rules.
  • step 1503 and step 1504 can be executed in parallel, or can be executed in series
  • the functions performed by the UPF network element in the above communication method may also be performed by a module (for example, a chip) in the UPF network element, and the function performed by the control plane network element may also be performed by a module in the control plane network element (for example, a chip) to perform.
  • the control plane network elements that can directly control the UPF network elements may include SMF network elements, PCF network elements, network data analytics function (NWDAF) network elements, AF network elements, and the like.
  • NWDAAF network data analytics function
  • AF network elements AF network elements
  • the above is only a schematic description of the control plane network elements that directly control the UPF network elements, and does not constitute a limitation on the control plane network elements that directly control the UPF network elements.
  • the control plane network elements that directly control the UPF network elements may also include AMF network elements and the like.
  • control rules may be session control rules.
  • the granularity may change, and when the granularity changes, the control rules may also change. For example, when the granularity becomes connections, the control rules can also be connection control rules.
  • UPF network elements may be replaced with other user plane network elements or user plane functional entities, which are not limited herein.
  • the user plane network elements may have different names in different communication systems or networks.
  • the user plane network element may be a UPF network element, and may have other names in 6G or future communication systems.
  • FIG. 16 is a schematic structural diagram of a communication device disclosed in an embodiment of the present application.
  • the communication device may include:
  • a receiving unit 1601 configured to receive M session control rules, where the M session control rules come from at least two control plane network elements, and M is an integer greater than 1;
  • the processing unit 1602 is configured to process the data according to the M session control rules.
  • the processing unit 1602 is further configured to process the M session control rules to obtain N session control rules, where N is an integer greater than 0;
  • the processing unit 1602 processes the data according to the M session control rules, including:
  • the data is processed according to N session control rules.
  • the first session control rule includes a first PDR
  • the first PDR includes a first PDI and first identification information
  • the second session control rule includes a second PDR
  • the second PDR includes a second PDI and a second identification information
  • the first session control rule and the second session control rule are two session control rules from different control plane network elements among the M session control rules
  • the first identification information and the second identification information include at least one data packet processing rule. identification;
  • the processing unit 1602 processes the M session control rules, and obtains the N session control rules including:
  • a third session control rule is determined according to the first session control rule and the second session control rule, the third session control rule includes a third PDR, and the third PDR includes the first identification information, the third session control rule two identification information and the first PDI or the second PDI; or
  • the fourth session control rule, the fifth session control rule and the sixth session control rule are determined according to the first session control rule and the second session control rule, and the fourth session control rule includes the first session control rule and the sixth session control rule.
  • the fourth PDR includes the same part of the first PDI and the second PDI, the first identification information and the second identification information
  • the fifth session control rule includes the fifth PDR
  • the fifth PDR includes the first PDI and the second PDR.
  • the sixth session control rule includes the sixth PDR
  • the sixth PDR includes the part of the second PDI that is different from the first PDR and the second identification information;
  • N session control rules are determined according to the third session control rule, or the fourth session control rule, the fifth session control rule and the sixth session control rule.
  • the processing unit 1602 processing data according to the N session control rules includes:
  • the data is processed using selected session control rules.
  • each of the M session control rules carries information of a corresponding control plane network element.
  • the processing unit 1602 processes the M session control rules to obtain N session control rules including:
  • the K groups of session control rules are sorted according to the control plane network elements corresponding to the K groups of session control rules to obtain a group sorting table, where the group sorting table includes N session control rules.
  • each of the M session control rules includes a PDR
  • the PDR includes at least one identifier
  • the at least one identifier is an identifier of at least one data packet processing rule
  • the processing unit 1602 controls the M sessions
  • the rules are processed, and N session control rules are obtained, including:
  • a session control rule is determined according to the M session control rules, and each session control rule in the A session control rules only includes at least one kind of identification, and A is an integer greater than or equal to M;
  • the processing unit 1602 processing data according to the N session control rules includes:
  • the L session control rules are used to process the data sequentially according to the sorting in the group sorting table.
  • FIG. 17 is a schematic structural diagram of another communication device disclosed in an embodiment of the present application.
  • the communication device may include a processor 1701 , a memory 1702 , an input interface 1703 , an output interface 1704 and a bus 1705 .
  • the memory 1702 may exist independently, and may be connected to the processor 1701 through the bus 1705 .
  • the memory 1702 may also be integrated with the processor 1701. Among them, the bus 1705 is used to realize the connection between these components.
  • the communication device may be a UPF network element or a module (eg, a chip) in the UPF network element.
  • the processor 1701 is configured to control the receiving unit 1601 to execute
  • the processor 1701 is also used to perform the operations performed by the processing unit 1602 in the above-mentioned embodiments
  • the input interface 1703 is used to perform the operations performed by the receiving unit 1601 in the above-mentioned embodiments
  • the output interface 1704 is used to send Other communication devices other than the communication device output information.
  • the above-mentioned UPF network element or the modules in the UPF network element may also be used to execute various methods performed by the UPF network element in the above method embodiments of FIG. 10 , FIG. 14 , and FIG.
  • FIG. 18 is a schematic structural diagram of another communication device disclosed in an embodiment of the present application.
  • the communication device may include an input interface 1801 , a logic circuit 1802 and an output interface 1803 .
  • the input interface 1801 and the output interface 1803 are connected through the logic circuit 1802 .
  • the input interface 1801 is used for receiving information from other communication devices, and the output interface 1803 is used for outputting, scheduling or sending information to other communication devices.
  • the logic circuit 1802 is configured to perform operations other than the operations of the input interface 1801 and the output interface 1803, for example, to implement the functions implemented by the processor 1701 in the above-mentioned embodiment.
  • the communication device may be a UPF network element or a module of a UPF network element.
  • the more detailed description about the input interface 1801 , the logic circuit 1802 and the output interface 1803 can be obtained directly by referring to the relevant description of the UPF network element in the above method embodiments, which will not be repeated here.
  • the embodiments of the present application further disclose a computer-readable storage medium, on which computer instructions are stored, and when the computer instructions are executed, the methods in the foregoing method embodiments are executed.
  • the embodiment of the present application further discloses a computer program product including computer instructions, and when the computer instructions are executed, the methods in the foregoing method embodiments are executed.
  • the embodiment of the present application also discloses a communication system, the communication system includes a UPF network element and at least two control plane network elements.
  • the communication system includes a UPF network element and at least two control plane network elements.

Abstract

Disclosed in embodiments of the present application are a communication method and device and a computer readable storage medium. The method comprises: receiving M session control rules, the M session control rules being from at least two control plane network elements, and M being an integer greater than 1; and processing data according to the M session control rules. In the embodiments of the present application, the at least two control plane network elements can directly control a UPF network element to conduct a session, so that the UPF network element can directly interact with multiple control plane network elements, and thus the flexibility of the interaction between the UPF network element and the control plane network elements can be improved.

Description

一种通信方法、装置及计算机可读存储介质A communication method, apparatus and computer-readable storage medium 技术领域technical field
本申请实施例涉及通信技术领域,尤其涉及一种通信方法、装置及计算机可读存储介质。The embodiments of the present application relate to the field of communication technologies, and in particular, to a communication method, an apparatus, and a computer-readable storage medium.
背景技术Background technique
目前,在第五代移动通信技术(5th-generation,5G)中,用户面的用户面功能(user plane function,UPF)网元和控制面的会话管理功能(session management function,SMF)网元支持分组交换控制协议(packet forwardingcontrol protocol,PFCP),可以通过PFCP进行交互。SMF网元可以通过PFCP控制UPF网元。然而,当UPF网元需要与控制面的其它网元进行交互时,灵活性较低。At present, in the fifth-generation mobile communication technology (5th-generation, 5G), the user plane function (UPF) network element of the user plane and the session management function (SMF) network element of the control plane support Packet forwarding control protocol (PFCP), which can interact through PFCP. SMF network elements can control UPF network elements through PFCP. However, when the UPF network element needs to interact with other network elements of the control plane, the flexibility is low.
应理解,上述问题同样会出现在其它用户面网元和控制面网元分离的通信系统或网络中。It should be understood that the above problems also occur in other communication systems or networks in which the user plane network elements and the control plane network elements are separated.
发明内容SUMMARY OF THE INVENTION
本申请实施例公开了一种通信方法、装置及计算机可读存储介质,用于提高用户面网元与控制面网元交互的灵活性。The embodiments of the present application disclose a communication method, an apparatus, and a computer-readable storage medium, which are used to improve the flexibility of interaction between a user plane network element and a control plane network element.
第一方面,本申请实施例公开一种通信方法,该通信方法可以应用于用户面网元,也可以应用于用户面网元中的模块(例如,芯片),下面以用户面网元为例进行说明。该通信方法可以包括:接收M个会话控制规则,M个会话控制规则来自至少两个控制面网元,M为大于1的整数;根据M个会话控制规则对数据进行处理。换而言之,从至少两个控制面网元获取多个控制规则,根据该多个控制规则对数据进行处理。In the first aspect, an embodiment of the present application discloses a communication method, which can be applied to a user plane network element, and can also be applied to a module (for example, a chip) in a user plane network element. The user plane network element is taken as an example below. Be explained. The communication method may include: receiving M session control rules from at least two control plane network elements, where M is an integer greater than 1; and processing data according to the M session control rules. In other words, multiple control rules are acquired from at least two control plane network elements, and data is processed according to the multiple control rules.
本申请实施例中,用户面网元可以接收到来自至少两个控制面网元的会话控制规则,之后可以根据这些会话控制规则进行会话,即至少两个控制面网元可以通过这些会话控制信息对用户面网元进行控制,进而可以直接控制用户面网元的会话。可见,至少两个控制面网元可以直接控制用户面网元进行会话,使用户面网元可以与多个控制面网元直接进行交互,从而可以提高用户面网元与控制面网元交互的灵活性。在5G中,用户面网元可以为UPF网元,在其它通信系统中,用户面网元可以为其它网元或功能实体,在此不加限定。In this embodiment of the present application, a user plane network element may receive session control rules from at least two control plane network elements, and then conduct a session according to these session control rules, that is, at least two control plane network elements may use these session control information The user plane network element is controlled, and the session of the user plane network element can be directly controlled. It can be seen that at least two control plane NEs can directly control user plane NEs to conduct sessions, so that user plane NEs can directly interact with multiple control plane NEs, thereby improving the interaction between user plane NEs and control plane NEs. flexibility. In 5G, the user plane network element may be a UPF network element, and in other communication systems, the user plane network element may be other network elements or functional entities, which are not limited here.
作为一种可能的实施方式,用户面网元根据N个会话控制规则对数据进行处理包括:从N个会话控制规则中选取与数据匹配的PDI对应的会话控制规则;使用选取的会话控制规则对所述数据进行处理。As a possible implementation manner, the processing of the data by the user plane network element according to the N session control rules includes: selecting a session control rule corresponding to the PDI matching the data from the N session control rules; using the selected session control rule to The data is processed.
本申请实施例中,用户面网元接收到来自至少两个控制面网元的会话控制规则之后,可以对会话控制规则进行处理,以便可以避免由于存在多个控制面网元的会话控制规则而无法处理数据的情况。In this embodiment of the present application, after receiving the session control rules from at least two control plane network elements, the user plane network element can process the session control rules, so as to avoid the occurrence of session control rules caused by the existence of multiple control plane network elements. A case where the data cannot be processed.
作为一种可能的实施方式,第一会话控制规则包括第一包检测规则PDR,第一PDR包括第一包检测信息PDI和第一标识信息,第二会话控制规则包括第二PDR,第二PDR包括第二PDI和第二标识信息,第一会话控制规则和第二会话控制规则为M个会话控制规则中来自 不同控制面网元的两个会话控制规则,第一标识信息和第二标识信息包括至少一个数据包处理规则的标识;用户面网元对M个会话控制规则进行处理,得到N个会话控制规则包括:当第一PDI与第二PDI相同时,根据第一会话控制规则和第二会话控制规则确定第三会话控制规则,第三会话控制规则包括第三PDR,第三PDR包括第一标识信息、第二标识信息以及第一PDI或第二PDI;或者当第一PDI与第二PDI存在交集时,根据第一会话控制规则和第二会话控制规则确定第四会话控制规则、第五会话控制规则和第六会话控制规则,第四会话控制规则包括第四PDR,第四PDR包括第一PDI和第二PDI中的相同部分、第一标识信息和第二标识信息,第五会话控制规则包括第五PDR,第五PDR包括第一PDI中与第二PDI不同的部分和第一标识信息,第六会话控制规则包括第六PDR,第六PDR包括第二PDI中与第一PDR不同的部分和第二标识信息;根据第三会话控制规则,或者第四会话控制规则、第五会话控制规则和第六会话控制规则,确定N个会话控制规则。As a possible implementation manner, the first session control rule includes a first packet inspection rule PDR, the first PDR includes first packet inspection information PDI and first identification information, the second session control rule includes a second PDR, and the second PDR Including the second PDI and the second identification information, the first session control rule and the second session control rule are two session control rules from different control plane network elements in the M session control rules, the first identification information and the second identification information Including the identifier of at least one data packet processing rule; the user plane network element processes the M session control rules, and obtaining N session control rules includes: when the first PDI is the same as the second PDI, according to the first session control rule and the first session control rule The second session control rule determines the third session control rule, the third session control rule includes the third PDR, and the third PDR includes the first identification information, the second identification information, and the first PDI or the second PDI; When there is an intersection of the two PDIs, the fourth session control rule, the fifth session control rule and the sixth session control rule are determined according to the first session control rule and the second session control rule. The fourth session control rule includes the fourth PDR and the fourth PDR Including the same part in the first PDI and the second PDI, the first identification information and the second identification information, the fifth session control rule includes the fifth PDR, and the fifth PDR includes the part of the first PDI that is different from the second PDI and the second PDI. identification information, the sixth session control rule includes a sixth PDR, and the sixth PDR includes the part of the second PDI that is different from the first PDR and the second identification information; according to the third session control rule, or the fourth session control rule, the first PDR The fifth session control rule and the sixth session control rule determine N session control rules.
本申请实施例中,在对M个会话控制规则进行处理时,当来自不同控制面网元的会话控制规则存在交集或相同,即PDI存在交集或相同的情况下,对会话控制规则进行处理,以便处理后的会话控制规则之间不存在交集,从而可以避免来自不同控制面网元的会话控制规则存在交集时,只能执行一个的问题。In the embodiment of the present application, when M session control rules are processed, when the session control rules from different control plane network elements are overlapped or the same, that is, the PDIs are overlapped or the same, the session control rules are processed. There is no intersection between the processed session control rules, thereby avoiding the problem that only one of the session control rules from different control plane network elements can be executed when there is an intersection.
作为一种可能的实施方式,用户面网元根据N个会话控制规则对数据进行处理包括:从N个会话控制规则中选取与数据匹配的PDI对应的会话控制规则;使用选取的会话控制规则对所述数据进行处理。As a possible implementation manner, the user plane network element processing the data according to the N session control rules includes: selecting a session control rule corresponding to the PDI matching the data from the N session control rules; using the selected session control rule to The data is processed.
本申请实施例中,由于处理后的会话控制规则之间不存在交集,因此,一个数据最多只能匹配到一个会话控制规则,减少了需要对数据进行处理的会话控制规则,从而可以提高数据处理效率。In the embodiment of the present application, since there is no intersection between the processed session control rules, a piece of data can only match one session control rule at most, which reduces the number of session control rules that need to be processed on the data, thereby improving data processing. efficiency.
作为一种可能的实施方式,M个会话控制规则中每个会话控制规则携带有对应的控制面网元的信息。As a possible implementation manner, each session control rule in the M session control rules carries information of a corresponding control plane network element.
作为一种可能的实施方式,用户面网元对M个会话控制规则进行处理,得到N个会话控制规则包括:将M个会话控制规则中对应同一控制面网元的会话控制规则确定为一组,得到K组会话控制规则,K为大于或等于2的整数;按照K组会话控制规则对应的控制面网元对K组会话控制规则进行排序,得到组排序表,组排序表包括N个会话控制规则。As a possible implementation manner, the user plane network element processes the M session control rules, and obtaining N session control rules includes: determining the session control rules corresponding to the same control plane network element among the M session control rules as a group , obtain K groups of session control rules, where K is an integer greater than or equal to 2; sort the K groups of session control rules according to the control plane network elements corresponding to the K groups of session control rules, and obtain a group sorting table, which includes N sessions control rules.
本申请实施例中,对来自不同控制面网元的会话控制规则进行排序,以便当存在数据需要进行处理时,可以根据这个排序与数据依次进行匹配,直到匹配完这个排序中的所有会话控制规则,可以避免只匹配部分会话控制规则的情况,从而可以避免来自不同控制面网元的会话控制规则之间存在交集时,只能执行一个的问题。In this embodiment of the present application, the session control rules from different control plane network elements are sorted, so that when there is data that needs to be processed, the data can be sequentially matched according to the sorting, until all the session control rules in the sorting are matched. , it can avoid the situation that only part of the session control rules are matched, and thus can avoid the problem that only one of the session control rules from different control plane network elements can be executed when there is an intersection.
作为一种可能的实施方式,M个会话控制规则中每个会话控制规则包括PDR,PDR包括至少一种标识,至少一种标识为至少一种数据包处理规则的标识,用户面网元对M个会话控制规则进行处理,得到N个会话控制规则包括:根据M个会话控制规则确定A个会话控制规则,A个会话控制规则中每个会话控制规则只包所述至少一种标识中的一种标识,A为大于或等于M的整数;将A个会话控制规则中对应的控制面网元和数据包处理规则类型相同的会话控制规则确定为一组,得到B组会话控制规则;对B组会话控制规则进行排序,得到组排序表,组排序表包括N个会话控制规则。As a possible implementation manner, each session control rule in the M session control rules includes a PDR, and the PDR includes at least one identifier, and the at least one identifier is an identifier of at least one data packet processing rule, and the user plane network element has the M Processing the session control rules to obtain N session control rules includes: determining A session control rules according to the M session control rules, and each session control rule in the A session control rules only includes one of the at least one identifier. Type identifiers, A is an integer greater than or equal to M; the corresponding control plane network elements in A session control rules and the session control rules of the same packet processing rule type are determined as a group, and the session control rules of group B are obtained; The group session control rules are sorted to obtain a group sorting table, where the group sorting table includes N session control rules.
本申请实施例中,对来自不同控制面网元的会话控制规则进行拆分、分组和排序,以便当存在数据需要进行处理时,可以根据这个排序与数据依次进行匹配,直到匹配完这个排序中的所有会话控制规则,可以避免只匹配部分会话控制规则的情况,从而可以避免来自不同控制面网元的会话控制规则之间存在交集时,只能执行一个的问题。In this embodiment of the present application, the session control rules from different control plane network elements are split, grouped, and sorted, so that when there is data to be processed, the data can be sequentially matched according to the sorting until the sorting is completed. It can avoid the situation that only some of the session control rules are matched, and thus can avoid the problem that only one of the session control rules from different control plane network elements can be executed when there is an intersection.
作为一种可能的实施方式,用户面网元根据所述N个会话控制规则对数据进行处理包括:按照组排序表确定N个会话控制规则中与数据匹配的PDI对应的会话控制规则,得到L个会话控制规则;按照在组排序表中的排序依次使用L个会话控制规则对所述数据进行处理。As a possible implementation manner, the processing of the data by the user plane network element according to the N session control rules includes: determining, according to the group sorting table, a session control rule corresponding to the PDI matching the data among the N session control rules, and obtaining L The L session control rules are used to process the data in sequence according to the sorting in the group sorting table.
本申请实施例中,当存在多个与数据匹配的会话控制规则时,可以按照会话控制规则的排序依次进行执行,可以避免来自不同控制面网元的会话控制规则之间存在交集时,只能执行一个的问题。In the embodiment of the present application, when there are multiple session control rules that match the data, the session control rules can be executed in sequence according to the order of the session control rules, which can avoid the intersection of session control rules from different control plane network elements. Execute a question.
第二方面,本申请实施例公开一种通信装置,该通信装置可以为用户面网元,也可以为用户面网元中的模块(例如,芯片),该装置可以包括:In a second aspect, an embodiment of the present application discloses a communication device. The communication device may be a user plane network element or a module (for example, a chip) in the user plane network element. The device may include:
接收单元,用于接收M个会话控制规则,所述M个会话控制规则来自至少两个控制面网元,M为大于1的整数;a receiving unit, configured to receive M session control rules, the M session control rules are from at least two control plane network elements, and M is an integer greater than 1;
处理单元,用于根据所述M个会话控制规则对数据进行处理。A processing unit, configured to process data according to the M session control rules.
作为一种可能的实施方式,所述处理单元,还用于对所述M个会话控制规则进行处理,得到N个会话控制规则,N为大于0的整数;As a possible implementation manner, the processing unit is further configured to process the M session control rules to obtain N session control rules, where N is an integer greater than 0;
所述处理单元根据所述M个会话控制规则对数据进行处理包括:The processing unit processing data according to the M session control rules includes:
根据所述N个会话控制规则对数据进行处理。The data is processed according to the N session control rules.
作为一种可能的实施方式,第一会话控制规则包括第一包检测规则PDR,所述第一PDR包括第一包检测信息PDI和第一标识信息,第二会话控制规则包括第二PDR,所述第二PDR包括第二PDI和第二标识信息,所述第一会话控制规则和所述第二会话控制规则为所述M个会话控制规则中来自不同控制面网元的两个会话控制规则,所述第一标识信息和所述第二标识信息包括至少一个数据包处理规则的标识;As a possible implementation manner, the first session control rule includes a first packet inspection rule PDR, the first PDR includes first packet inspection information PDI and first identification information, and the second session control rule includes a second PDR, so The second PDR includes second PDI and second identification information, and the first session control rule and the second session control rule are two session control rules from different control plane network elements among the M session control rules , the first identification information and the second identification information include the identification of at least one packet processing rule;
所述处理单元对所述M个会话控制规则进行处理,得到N个会话控制规则包括:The processing unit processes the M session control rules, and obtains the N session control rules including:
当所述第一PDI与所述第二PDI相同时,根据所述第一会话控制规则和所述第二会话控制规则确定第三会话控制规则,所述第三会话控制规则包括第三PDR,所述第三PDR包括所述第一标识信息、所述第二标识信息以及所述第一PDI或所述第二PDI;或者When the first PDI is the same as the second PDI, a third session control rule is determined according to the first session control rule and the second session control rule, where the third session control rule includes a third PDR, the third PDR includes the first identification information, the second identification information, and the first PDI or the second PDI; or
当所述第一PDI与所述第二PDI存在交集时,根据所述第一会话控制规则和所述第二会话控制规则确定第四会话控制规则、第五会话控制规则和第六会话控制规则,所述第四会话控制规则包括第四PDR,所述第四PDR包括所述第一PDI和所述第二PDI中的相同部分、所述第一标识信息和所述第二标识信息,所述第五会话控制规则包括第五PDR,所述第五PDR包括所述第一PDI中与所述第二PDI不同的部分和所述第一标识信息,所述第六会话控制规则包括第六PDR,所述第六PDR包括所述第二PDI中与所述第一PDR不同的部分和所述第二标识信息;When there is an intersection between the first PDI and the second PDI, determine a fourth session control rule, a fifth session control rule and a sixth session control rule according to the first session control rule and the second session control rule , the fourth session control rule includes a fourth PDR, and the fourth PDR includes the same part of the first PDI and the second PDI, the first identification information and the second identification information, so The fifth session control rule includes a fifth PDR, the fifth PDR includes a part of the first PDI that is different from the second PDI and the first identification information, and the sixth session control rule includes a sixth PDR, the sixth PDR includes the part of the second PDI that is different from the first PDR and the second identification information;
根据所述第三会话控制规则,或者所述第四会话控制规则、所述第五会话控制规则和所述第六会话控制规则,确定N个会话控制规则。N session control rules are determined according to the third session control rule, or the fourth session control rule, the fifth session control rule and the sixth session control rule.
作为一种可能的实施方式,所述处理单元根据所述N个会话控制规则对数据进行处理包括:As a possible implementation manner, the processing unit processing data according to the N session control rules includes:
从所述N个会话控制规则中选取与数据匹配的PDI对应的会话控制规则;Select the session control rule corresponding to the PDI matched with the data from the N session control rules;
使用选取的会话控制规则对所述数据进行处理。The data is processed using selected session control rules.
作为一种可能的实施方式,所述M个会话控制规则中每个会话控制规则携带有对应的控制面网元的信息。As a possible implementation manner, each session control rule in the M session control rules carries information of a corresponding control plane network element.
作为一种可能的实施方式,所述处理单元对所述M个会话控制规则进行处理,得到N个会话控制规则包括:As a possible implementation manner, the processing unit processes the M session control rules to obtain N session control rules including:
将所述M个会话控制规则中对应同一控制面网元的会话控制规则确定为一组,得到K组会话控制规则,K为大于或等于2的整数;Determining a group of session control rules corresponding to the same control plane network element in the M session control rules, to obtain K groups of session control rules, where K is an integer greater than or equal to 2;
按照所述K组会话控制规则对应的控制面网元对所述K组会话控制规则进行排序,得到组排序表,所述组排序表包括N个会话控制规则。Sort the K groups of session control rules according to the control plane network elements corresponding to the K groups of session control rules to obtain a group sorting table, where the group sorting table includes N session control rules.
作为一种可能的实施方式,所述M个会话控制规则中每个会话控制规则包括PDR,所述PDR包括至少一种标识,所述至少一种标识为至少一种数据包处理规则的标识,所述处理单元对所述M个会话控制规则进行处理,得到N个会话控制规则包括:As a possible implementation manner, each of the M session control rules includes a PDR, the PDR includes at least one identifier, and the at least one identifier is an identifier of at least one data packet processing rule, The processing unit processes the M session control rules, and obtains the N session control rules including:
根据所述M个会话控制规则确定A个会话控制规则,所述A个会话控制规则中每个会话控制规则只包所述至少一种标识中的一种标识,A为大于或等于M的整数;A session control rules are determined according to the M session control rules, and each session control rule in the A session control rules only includes one kind of identification among the at least one kind of identification, and A is an integer greater than or equal to M ;
将所述A个会话控制规则中对应的控制面网元和数据包处理规则类型相同的会话控制规则确定为一组,得到B组会话控制规则;Determining a group of session control rules with the same type of control plane network elements and data packet processing rules corresponding to the A session control rules as group B to obtain session control rules in group B;
对所述B组会话控制规则进行排序,得到组排序表,所述组排序表包括N个会话控制规则。Sort the session control rules of the B group to obtain a group sorting table, where the group sorting table includes N session control rules.
作为一种可能的实施方式,所述处理单元根据所述N个会话控制规则对数据进行处理包括:As a possible implementation manner, the processing unit processing data according to the N session control rules includes:
按照所述组排序表确定所述N个会话控制规则中与数据匹配的PDI对应的会话控制规则,得到L个会话控制规则;Determine the session control rules corresponding to the PDI matching the data in the N session control rules according to the group sorting table, and obtain L session control rules;
按照在所述组排序表中的排序依次使用所述L个会话控制规则对所述数据进行处理。The data is processed using the L session control rules in sequence according to the ordering in the group ordering table.
第三方面,本申请实施例公开一种通信装置,该通信装置可以为用户面网元或者用户面网元内的模块(例如,芯片)。该通信装置可以包括处理器、存储器、输入接口和输出接口,所述输入接口用于接收来自所述通信装置之外的其它通信装置的信息,所述输出接口用于向所述通信装置之外的其它通信装置输出信息,当所述处理器执行所述存储器存储的计算机程序时,使得所述处理器执行第一方面或第一方面的任一实施方式公开的通信方法。In a third aspect, an embodiment of the present application discloses a communication device, where the communication device may be a user plane network element or a module (eg, a chip) in the user plane network element. The communication device may include a processor, a memory, an input interface for receiving information from other communication devices other than the communication device, and an output interface for sending information outside the communication device The other communication device outputs information, and when the processor executes the computer program stored in the memory, the processor causes the processor to execute the communication method disclosed in the first aspect or any embodiment of the first aspect.
第四方面,本申请实施例公开一种通信系统,该通信系统包括至少两个控制面网元,以及第三方面公开的用户面网元。In a fourth aspect, an embodiment of the present application discloses a communication system, where the communication system includes at least two control plane network elements and the user plane network elements disclosed in the third aspect.
第五方面,本申请实施例公开一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序或计算机指令,当该计算机程序或计算机指令运行时,实现如上述各方面公开的通信方法。In a fifth aspect, the embodiments of the present application disclose a computer-readable storage medium, where computer programs or computer instructions are stored on the computer-readable storage medium, and when the computer program or computer instructions are executed, the communication as disclosed in the above aspects is implemented. method.
第六方面,本申请实施例公开一种芯片,包括处理器,用于执行存储器中存储的程序,当程序被执行时,使得芯片执行上面的方法。In a sixth aspect, an embodiment of the present application discloses a chip including a processor for executing a program stored in a memory, and when the program is executed, the chip executes the above method.
作为一种可能的实施方式,存储器位于芯片之外。As a possible implementation, the memory is located off-chip.
第七方面,本申请实施例公开一种计算机程序产品,该计算机程序产品包括计算机程序代码,当该计算机程序代码被运行时,使得上述通信方法被执行。In a seventh aspect, the embodiments of the present application disclose a computer program product, where the computer program product includes computer program code, and when the computer program code is executed, the above-mentioned communication method is executed.
附图说明Description of drawings
图1是本申请实施例公开的一种网络架构示意图;1 is a schematic diagram of a network architecture disclosed in an embodiment of the present application;
图2是本申请实施例公开的另一种网络架构示意图;2 is a schematic diagram of another network architecture disclosed in an embodiment of the present application;
图3是本申请实施例公开的又一种网络架构示意图;3 is a schematic diagram of another network architecture disclosed in an embodiment of the present application;
图4是本申请实施例公开的又一种网络架构示意图;4 is a schematic diagram of another network architecture disclosed in an embodiment of the present application;
图5是本申请实施例公开的又一种网络架构示意图;FIG. 5 is a schematic diagram of another network architecture disclosed in an embodiment of the present application;
图6是本申请实施例公开的又一种网络架构示意图;FIG. 6 is a schematic diagram of another network architecture disclosed in an embodiment of the present application;
图7是本申请实施例公开的一种协议栈的示意图;7 is a schematic diagram of a protocol stack disclosed in an embodiment of the present application;
图8是本申请实施例公开的一种不同信元组关联的示意图;FIG. 8 is a schematic diagram of association of different cell groups disclosed in an embodiment of the present application;
图9是本申请实施例公开的一种UPF网元对数据包执行规则的示意图;9 is a schematic diagram of a UPF network element executing a rule on a data packet disclosed in an embodiment of the present application;
图10是本申请实施例公开的一种通信方法的流程示意图;FIG. 10 is a schematic flowchart of a communication method disclosed in an embodiment of the present application;
图11是本申请实施例公开的一种对会话控制规则进行处理的示意图;11 is a schematic diagram of processing a session control rule disclosed in an embodiment of the present application;
图12是本申请实施例公开的另一种对会话控制规则进行处理的示意图;FIG. 12 is another schematic diagram of processing session control rules disclosed in an embodiment of the present application;
图13是本申请实施例公开的又一种对会话控制规则进行处理的示意图;FIG. 13 is another schematic diagram of processing session control rules disclosed by an embodiment of the present application;
图14是本申请实施例公开的另一种通信方法的流程示意图;FIG. 14 is a schematic flowchart of another communication method disclosed by an embodiment of the present application;
图15是本申请实施例公开的又一种通信方法的流程示意图;FIG. 15 is a schematic flowchart of another communication method disclosed by an embodiment of the present application;
图16是本申请实施例公开的一种通信装置的结构示意图;FIG. 16 is a schematic structural diagram of a communication device disclosed in an embodiment of the present application;
图17是本申请实施例公开的另一种通信装置的结构示意图;FIG. 17 is a schematic structural diagram of another communication device disclosed in an embodiment of the present application;
图18是本申请实施例公开的又一种通信装置的结构示意图。FIG. 18 is a schematic structural diagram of another communication device disclosed in an embodiment of the present application.
具体实施方式Detailed ways
本申请实施例公开了一种通信方法、装置及计算机可读存储介质,用于提高灵活性。以下分别进行详细说明。Embodiments of the present application disclose a communication method, an apparatus, and a computer-readable storage medium, which are used to improve flexibility. Each of them will be described in detail below.
为了更好地理解本申请实施例公开的一种通信方法、装置及计算机可读存储介质,下面先对本申请实施例使用的网络架构进行描述。请参阅图1,图1是本申请实施例公开的一种网络架构示意图。如图1所示,该网络架构可以包括用户设备(user equipment,UE)、(无线)接入网(radio access network,(R)AN)设备、用户面功能(user plane function,UPF)网元、数据网络(data network,DN)、接入和移动性管理功能(access and mobility management function,AMF)网元、会话管理功能(session management function,SMF)网元、策略控制功能(policy control function,PCF)网元、应用功能(application function,AF)网元、统一数据管理(unified data management,UDM)网元、鉴权服务器功能 (authentication server function,AUSF)网元、网络切片选择(network slice selection function,NSSF)网元、网络开放功能(network exposure function,NEF)网元和网络存储功能(network repository function,NRF)网元。UE与(R)AN设备之间可以直接进行通信。UE与AMF网元之间可以通过N1接口进行通信。(R)AN设备与AMF网元之间可以通过N2接口进行通信。(R)AN设备与UPF网元之间可以通过N3接口进行通信。UPF网元与SMF网元之间可以通过N4接口进行通信。UPF网元与DN之间可以通过N6接口进行通信。AMF网元可以提供服务化接口Namf,SMF网元可以提供服务化接口Nsmf,AUSF网元可以提供服务化接口Nausf,UDM网元可以提供服务化接口Nudm,PCF网元可以提供服务化接口Npcf,AF网元可以提供服务化接口Naf,NSSF网元可以提供服务化接口Nnssf,NEF网元可以提供服务化接口Nnef,NRF网元可以提供服务化接口Nnrf。AMF网元、SMF网元、UDM网元、PCF网元、AF网元、AUSF网元、NSSF网元、NEF网元和NRF网元之间可以通过服务化接口进行通信。In order to better understand a communication method, an apparatus, and a computer-readable storage medium disclosed in the embodiments of the present application, the network architecture used in the embodiments of the present application is first described below. Please refer to FIG. 1. FIG. 1 is a schematic diagram of a network architecture disclosed in an embodiment of the present application. As shown in FIG. 1, the network architecture may include user equipment (UE), (radio access network, (R)AN) equipment, and user plane function (UPF) network elements , data network (DN), access and mobility management function (AMF) network element, session management function (session management function, SMF) network element, policy control function (policy control function, PCF) network element, application function (AF) network element, unified data management (UDM) network element, authentication server function (AUSF) network element, network slice selection (network slice selection) function, NSSF) network element, network exposure function (NEF) network element and network storage function (network repository function, NRF) network element. The UE and the (R)AN device can communicate directly. The UE and the AMF network element can communicate through the N1 interface. The (R)AN device and the AMF network element can communicate through the N2 interface. The (R)AN device and the UPF network element can communicate through the N3 interface. The UPF network element and the SMF network element can communicate through the N4 interface. The UPF network element and the DN can communicate through the N6 interface. AMF network element can provide service interface Namf, SMF network element can provide service interface Nsmf, AUSF network element can provide service interface Nausf, UDM network element can provide service interface Nudm, PCF network element can provide service interface Npcf, The AF network element can provide the service interface Naf, the NSSF network element can provide the service interface Nnssf, the NEF network element can provide the service interface Nnef, and the NRF network element can provide the service interface Nnrf. AMF network element, SMF network element, UDM network element, PCF network element, AF network element, AUSF network element, NSSF network element, NEF network element and NRF network element can communicate through service interfaces.
请参阅图2,图2是本申请实施例公开的另一种网络架构示意图。如图2所示,不同网元或设备之间可以通过不同的通信接口进行通信。Please refer to FIG. 2. FIG. 2 is a schematic diagram of another network architecture disclosed in an embodiment of the present application. As shown in FIG. 2 , different network elements or devices may communicate through different communication interfaces.
其中,图1和图2所示的网络架构为非漫游5G网络架构。Among them, the network architecture shown in Figure 1 and Figure 2 is a non-roaming 5G network architecture.
请参阅图3,图3是本申请实施例公开的又一种网络架构示意图。如图3所示,左侧的网络为访问公共陆地移动网(visited public land mobile network,VPLMN),右侧的网络为家庭公共陆地移动网(home public land mobile network,HPLMN)。VPLMN中的访问安全边缘保护代理(visited security edge protection proxies,vSEPP)与HPLMN中的家庭安全边缘保护代理(home security edge protection proxies,hSEPP)之间可以通过N32接口进行通信。Please refer to FIG. 3 . FIG. 3 is a schematic diagram of another network architecture disclosed by an embodiment of the present application. As shown in Figure 3, the network on the left is the visited public land mobile network (VPLMN), and the network on the right is the home public land mobile network (HPLMN). The visited security edge protection proxies (vSEPP) in the VPLMN and the home security edge protection proxies (hSEPP) in the HPLMN can communicate through the N32 interface.
请参阅图4,图4是本申请实施例公开的又一种网络架构示意图。如图4所示,VPLMN中的PCF网元,即访问PCF(visited PCF,vPCF)与HPLMN中的PCF网元,即家庭PCF(home PCF,hPCF)之间可以通过N24接口进行通信。VPLMN中的AMF网元与HPLMN中的AUSF网元之间可以通过N12接口进行通信。VPLMN中的AMF网元与HPLMN中的UDM网元之间可以通过N8接口进行通信。VPLMN中的SMF网元与HPLMN中的UDM网元之间可以通过N10接口进行通信。Please refer to FIG. 4. FIG. 4 is a schematic diagram of another network architecture disclosed by an embodiment of the present application. As shown in Figure 4, the PCF network element in the VPLMN, that is, the visited PCF (visited PCF, vPCF) and the PCF network element in the HPLMN, that is, the home PCF (home PCF, hPCF) can communicate through the N24 interface. The AMF network element in the VPLMN and the AUSF network element in the HPLMN can communicate through the N12 interface. The AMF network element in the VPLMN and the UDM network element in the HPLMN can communicate through the N8 interface. The SMF network element in the VPLMN and the UDM network element in the HPLMN can communicate through the N10 interface.
其中,图3和图4所示的网络架构为采用本地分汇(local breakout)的漫游5G网络架构。Among them, the network architecture shown in FIG. 3 and FIG. 4 is a roaming 5G network architecture using local breakout.
请参阅图5,图5是本申请实施例公开的又一种网络架构示意图。如图5所示,vSEPP与hSEPP之间可以通过N32接口进行通信业务。VPLMN中的UPF网元与HPLMN中的UPF网元之间可以通过N9接口进行通信。Please refer to FIG. 5. FIG. 5 is a schematic diagram of another network architecture disclosed by an embodiment of the present application. As shown in Figure 5, a communication service can be performed between the vSEPP and the hSEPP through the N32 interface. The UPF network element in the VPLMN and the UPF network element in the HPLMN can communicate through the N9 interface.
请参阅图6,图6是本申请实施例公开的又一种网络架构示意图。如图6所示,VPLMN中的UPF网元与HPLMN中的UPF网元之间可以通过N9接口进行通信。VPLMN中的PCF网元,即访问PCF(visited PCF,V-PCF)与HPLMN中的PCF网元,即家庭PCF(home PCF,H-PCF)之间可以通过N24接口进行通信。VPLMN中的SMF网元,即访问SMF(visited SMF,V-SMF)与HPLMN中的SMF网元,即家庭SMF(home SMF,H-SMF)之间可以通过N16接口进行通信。VPLMN中的AMF网元与HPLMN中的UDM网元之间可以通过N8接口进行通信。VPLMN中的NSSF网元,即访问NSSF(visited NSSF,V-NSSF)与HPLMN中的NSSF网元,即家庭NSSF(home NSSF,H-NSSF)之间可以通过N31接口进行通信。VPLMN中的AMF 网元与HPLMN中的AUSF网元之间可以通过N12接口进行通信。Please refer to FIG. 6 . FIG. 6 is a schematic diagram of another network architecture disclosed by an embodiment of the present application. As shown in FIG. 6 , the UPF network element in the VPLMN and the UPF network element in the HPLMN can communicate through the N9 interface. The PCF network element in the VPLMN, that is, the visited PCF (V-PCF) and the PCF network element in the HPLMN, that is, the home PCF (home PCF, H-PCF) can communicate through the N24 interface. The SMF network element in the VPLMN, that is, the visited SMF (visited SMF, V-SMF) and the SMF network element in the HPLMN, that is, the home SMF (home SMF, H-SMF) can communicate through the N16 interface. The AMF network element in the VPLMN and the UDM network element in the HPLMN can communicate through the N8 interface. The NSSF network element in the VPLMN, that is, the visited NSSF (visited NSSF, V-NSSF) and the NSSF network element in the HPLMN, that is, the home NSSF (home NSSF, H-NSSF) can communicate through the N31 interface. The AMF network element in the VPLMN and the AUSF network element in the HPLMN can communicate through the N12 interface.
其中,图5和图6所示的网络架构为采用家庭路由(home routed)的漫游5G网络架构。Among them, the network architecture shown in FIG. 5 and FIG. 6 is a roaming 5G network architecture using home routed.
应理解,上述通信接口名称和服务化接口名称只是一个示例说明,本申请实施例对此不作具体限定。It should be understood that the above-mentioned communication interface name and service interface name are merely illustrative, and are not specifically limited in this embodiment of the present application.
UE,又可以称之为终端设备、移动台(mobile station,MS)、移动终端(mobile terminal,MT)等,是一种向用户提供语音和/或数据连通性的设备。终端设备可以为手持终端、笔记本电脑、用户单元(subscriber unit)、蜂窝电话(cellular phone)、智能电话(smart phone)、无线数据卡、个人数字助理(personal digital assistant,PDA)电脑、平板型电脑、无线调制解调器(modem)、手持设备(handheld)、膝上型电脑(laptop computer)、无绳电话(cordless phone)或者无线本地环路(wireless local loop,WLL)台、机器类型通信(machine type communication,MTC)终端,可穿戴设备(例如智能手表、智能手环、计步器等),车载设备(例如,汽车、自行车、电动车、飞机、船舶、火车、高铁等)、虚拟现实(virtual reality,VR)设备、增强现实(augmented reality,AR)设备、工业控制(industrial control)中的无线终端、智能家居设备(例如,冰箱、电视、空调、电表等)、智能机器人、车间设备、无人驾驶(self driving)中的无线终端、远程手术(remote medical surgery)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端,或智慧家庭(smart home)中的无线终端、飞行设备(例如,智能机器人、热气球、无人机、飞机)或其他可以接入网络的设备。图1中终端设备以UE示出,仅作为示例,并不对终端设备进行限定。UE可以通过建立UE-(R)AN设备-UPF网元-DN之间的会话,即协议数据单元(protocol data unit,PDU)会话,来访问DN。UE, also known as terminal equipment, mobile station (mobile station, MS), mobile terminal (mobile terminal, MT), etc., is a device that provides voice and/or data connectivity to users. The terminal device can be a handheld terminal, a notebook computer, a subscriber unit, a cellular phone, a smart phone, a wireless data card, a personal digital assistant (PDA) computer, a tablet computer , wireless modem (modem), handheld device (handheld), laptop computer (laptop computer), cordless phone (cordless phone) or wireless local loop (wireless local loop, WLL) station, machine type communication (machine type communication, MTC) terminals, wearable devices (such as smart watches, smart bracelets, pedometers, etc.), in-vehicle devices (such as cars, bicycles, electric vehicles, airplanes, ships, trains, high-speed rail, etc.), virtual reality (virtual reality, VR) equipment, augmented reality (AR) equipment, wireless terminals in industrial control (industrial control), smart home equipment (for example, refrigerators, TVs, air conditioners, electricity meters, etc.), intelligent robots, workshop equipment, unmanned driving Wireless terminals in (self driving), wireless terminals in remote medical surgery, wireless terminals in smart grid, wireless terminals in transportation safety, in smart city wireless terminals, or wireless terminals in smart homes, flying devices (eg, smart robots, hot air balloons, drones, airplanes), or other devices that can access the network. The terminal device in FIG. 1 is shown as a UE, which is only an example and does not limit the terminal device. The UE can access the DN by establishing a session between the UE-(R)AN device-UPF network element-DN, that is, a protocol data unit (protocol data unit, PDU) session.
(R)AN设备是为UE提供无线接入的设备,主要负责空口侧的无线资源管理、服务质量(quality of service,QoS)流管理、数据压缩和加密等功能。(R)AN设备可以包括各种形式的基站,例如:宏基站,微基站(也称为小站),中继站,接入点等。(R)AN设备还可以包括无线上网(wireless fidelity,WiFi)接入节点(access point,AP)。(R)AN设备还可以包括全球微波互联接入(worldwide interoperability for microwave access,WiMax)基站(base station,BS)。The (R)AN device is a device that provides wireless access for the UE, and is mainly responsible for functions such as radio resource management, quality of service (QoS) flow management, data compression, and encryption on the air interface side. (R)AN devices may include various forms of base stations, such as: macro base stations, micro base stations (also called small stations), relay stations, access points, and the like. The (R)AN device may also include a wireless fidelity (WiFi) access point (AP). The (R)AN device may also include a worldwide interoperability for microwave access (WiMax) base station (BS).
UPF网元主要负责用户面相关的内容,如数据包路由和传输、包检测、业务用量上报、服务质量(quality of service,QoS)处理、合法监听、下行包存储等。UPF network elements are mainly responsible for user plane-related content, such as data packet routing and transmission, packet detection, service usage reporting, quality of service (QoS) processing, legal interception, and downlink packet storage.
DN可以是因特网(internet)、网络协议(internet protocol,IP)多媒体业务(IP multi-media service,IMS)网络、区域网络,即本地网络,例如多接入边缘计算(multi access edge computing,MEC)网络,等。DN是UE的协议数据单元(protocol data unit,PDU)会话访问的目的地。DN中包括或部署有应用服务器,应用服务器可以与UE进行数据传输,为UE提供业务服务。The DN can be the Internet (internet), an internet protocol (IP) multimedia service (IP multi-media service, IMS) network, a regional network, that is, a local network, such as multi-access edge computing (multi-access edge computing, MEC) network, etc. The DN is the destination of the UE's protocol data unit (PDU) session access. An application server is included or deployed in the DN, and the application server can perform data transmission with the UE and provide business services for the UE.
AMF网元可以完成连接管理、注册流程、移动性管理、接入认证和授权管理、可达性管理、安全上下文管理等接入和移动性相关的功能。AMF network elements can complete access and mobility-related functions such as connection management, registration process, mobility management, access authentication and authorization management, reachability management, and security context management.
SMF网元主要负责移动网络中的会话管理、UPF网元的选择和控制、业务和会话连续性(service and session continuity,SSC)模式选择、漫游等会话相关的功能。会话管理可以包括会话的建立、修改、释放、更新等。会话管理还可以包括UPF网元和接入网(access  network,AN)设备之间的隧道维护。SMF network elements are mainly responsible for session-related functions such as session management in mobile networks, selection and control of UPF network elements, service and session continuity (SSC) mode selection, and roaming. Session management may include session establishment, modification, release, update, and the like. Session management may also include tunnel maintenance between UPF network elements and access network (AN) devices.
PCF网元可以负责统一策略制定、策略控制的提供和从统一数据存储(unified data repository,UDR)网元中获取策略决策相关的签约信息等策略相关的功能。The PCF network element can be responsible for policy-related functions such as unified policy formulation, policy control provision, and acquisition of policy decision-related subscription information from a unified data repository (UDR) network element.
AF网元主要支持与第三代合作伙伴计划(3rd generation partnership project,3GPP)核心网交互来提供业务或服务,来影响业务流路由、接入网能力开放、策略控制等,可以与NEF网元等进行交互。The AF network element mainly supports interaction with the 3rd generation partnership project (3GPP) core network to provide services or services, and affects service flow routing, access network capability opening, policy control, etc., and can interact with NEF network elements. etc. to interact.
UDM网元负责用户密钥管理、用户标识处理、订阅数据的访问授权、UE的网络功能实体管理、会话和业务连续性管理、短消息推送、合法监听、接入授权、注册和移动性管理、签约管理、短消息管理、用于管控用户数据,如签约信息的管理。The UDM network element is responsible for user key management, user identification processing, access authorization for subscription data, UE network function entity management, session and business continuity management, short message push, legal interception, access authorization, registration and mobility management, Contract management, short message management, used to manage and control user data, such as contract information management.
AUSF网元可以负责对UE的接入进行认证授权,如生成中间密钥等。The AUSF network element may be responsible for authenticating and authorizing the access of the UE, such as generating an intermediate key.
NSSF网元主要负责为UE选择一组网络切片实例、确定允许的网络切片选择辅助信息(network slice selection assistance information,NSSAI)和确定可以服务UE的AMF网元集等。The NSSF network element is mainly responsible for selecting a set of network slice instances for the UE, determining the allowed network slice selection assistance information (NSSAI), and determining the set of AMF network elements that can serve the UE.
NRF网元主要负责服务发现功能,维护可用的网络功能(network function,NF)实例的NF文本以及他们支持的服务。NRF network elements are mainly responsible for the service discovery function, maintaining the NF text of available network function (NF) instances and the services they support.
NEF网元主要负责安全的开放3GPP网络功能提供的业务和能力,有内部开放,或者开放给第三方等。转化或翻译与AF网元交互的信息和内部网络功能交互德行信息,如AF网元服务标识和内部5G核心网信息,如数据网络名称(data network name,DNN)、单一NSSAI(single NSSAI,S-NSSAI)等。The NEF network element is mainly responsible for safely opening the services and capabilities provided by the 3GPP network functions, which are open internally or open to third parties. Convert or translate information interacting with AF network elements and internal network function interaction ethics information, such as AF network element service identifiers and internal 5G core network information, such as data network name (DNN), single NSSAI (single NSSAI, S -NSSAI) etc.
核心网中的以上各个网元也可以称为功能实体,既可以是在专用硬件上实现的网络元件,也可以是在专用硬件上运行的软件实例,或者是在适当平台上虚拟化功能的实例,例如,上述虚拟化平台可以为云平台。Each of the above network elements in the core network can also be referred to as functional entities, which can be either network elements implemented on dedicated hardware, software instances running on dedicated hardware, or instances of virtualized functions on an appropriate platform For example, the above-mentioned virtualization platform may be a cloud platform.
需要说明的是,图1-图6所示的网络架构中不限于仅包括图中所示的网元,还可以包括其它未在图中表示的设备或网元,具体本申请在此处不再一一列举。It should be noted that the network architecture shown in FIG. 1 to FIG. 6 is not limited to include only the network elements shown in the figures, but may also include other devices or network elements not shown in the figures. List them one by one.
需要说明的是,本申请实施例并不限定核心网中各个网元的分布形式,图1-图6所示的分布形式只是示例性的,本申请不作限定。It should be noted that the embodiments of the present application do not limit the distribution form of each network element in the core network. The distribution forms shown in FIG. 1 to FIG. 6 are only exemplary and are not limited in the present application.
应理解,本申请中所有网元的名称仅仅作为示例,在未来通信中,如6G中,还可以称为其它名称,或者在未来通信中,如6G中,本申请涉及的网元还可以通过其它具有相同功能的实体或者设备等来替代,本申请对此均不作限定。It should be understood that the names of all network elements in this application are only examples, and in future communications, such as 6G, they may also be called other names, or in future communications, such as 6G, the network elements involved in this application can also be referred to by It can be replaced by other entities or devices with the same function, which are not limited in this application.
需要说明的是,图1-图6所示的5G网络架构,并不构成对5G网络的限定。可选地,本申请实施例的方法还适用于未来的各种通信系统,例如6G或者其他通信网络等。It should be noted that the 5G network architecture shown in Figures 1 to 6 does not constitute a limitation on the 5G network. Optionally, the methods in the embodiments of the present application are also applicable to various future communication systems, such as 6G or other communication networks.
为了更好地理解本申请实施例,下面先对本申请实施例的相关内容进行描述。请参阅图7,图7是本申请实施例公开的一种协议栈的示意图。如图7所示,SMF网元和UPF网元可以包括分组交换控制协议(packet forwardingcontrol protocol,PFCP)层、用户数据报协议(user datagram protocol,UDP)层、IP层、L2层和L1层。目前,UPF网元与SMF网元之间可以通过PFCP层进行交互。SMF网元可以向UPF网元发送PFCP会话建立请求(Session Establishment Request)消息,来建立UPF网元与SMF网元之间的PFCP会话,以便可以通过 PFCP进行交互。PFCP Session Establishment Request消息的信元(information element,IE)可以如表1所示:In order to better understand the embodiments of the present application, the related contents of the embodiments of the present application are first described below. Please refer to FIG. 7 , which is a schematic diagram of a protocol stack disclosed in an embodiment of the present application. As shown in FIG. 7 , the SMF network element and the UPF network element may include a packet forwarding control protocol (PFCP) layer, a user datagram protocol (user datagram protocol, UDP) layer, an IP layer, an L2 layer and an L1 layer. Currently, UPF network elements and SMF network elements can interact through the PFCP layer. The SMF network element can send a PFCP session establishment request (Session Establishment Request) message to the UPF network element to establish a PFCP session between the UPF network element and the SMF network element, so that the interaction can be performed through PFCP. The information element (IE) of the PFCP Session Establishment Request message can be as shown in Table 1:
IEIE 存在要求Existence requirement
节点(node)标识(identity,ID)Node (node) identification (identity, ID) MM
包检测规则(packet detection rule,PDR)Packet detection rule (PDR) MM
转发行为规则(forwarding action rule,FAR)Forwarding action rule (FAR) MM
使用报告规则(usage reporting rule,URR)usage reporting rule (URR) CC
QoS实施规则(QoS enforcement rule,QER)QoS enforcement rule (QER) CC
缓存行为规则(buffering action rule,BAR)Buffering action rule (BAR) OO
多接入规则(multi-access rule,MAR)Multi-access rule (MAR) OO
表1Table 1
其中,M即必选(mandatory),C即条件必选(conditional),O即可选(optional)。PDR、FAR、URR、QER和BAR为信元组。PDR用于控制UPF网元如何对数据包进行检测和分类,即识别数据包(以进行流策略)。FAR用于对PDR标识的数据包进行转发。URR用于对PDR标识的数据包进行测量统计上报。QER用于对PDR标识的数据包进行QoS控制。BAR用于对PDR标识的数据包进行缓存。MAR包括与3GPP接入和非3GPP接入的两个FAR的关联。PDR信元组可以如表2所示:Among them, M means mandatory, C means conditional, and O means optional. PDR, FAR, URR, QER and BAR are cell groups. PDR is used to control how UPF network elements detect and classify data packets, ie identify data packets (for flow policy). The FAR is used to forward the data packets identified by the PDR. The URR is used to report measurement statistics on the data packets identified by the PDR. QER is used to perform QoS control on the data packets identified by the PDR. The BAR is used to buffer the data packets identified by the PDR. The MAR includes associations with two FARs for 3GPP access and non-3GPP access. The PDR cell group can be as shown in Table 2:
Figure PCTCN2021076115-appb-000001
Figure PCTCN2021076115-appb-000001
Figure PCTCN2021076115-appb-000002
Figure PCTCN2021076115-appb-000002
Figure PCTCN2021076115-appb-000003
Figure PCTCN2021076115-appb-000003
表2Table 2
对于数据处理规则,以URR为例,URR信元组可以如表3所示:For data processing rules, taking URR as an example, the URR cell group can be as shown in Table 3:
Figure PCTCN2021076115-appb-000004
Figure PCTCN2021076115-appb-000004
Figure PCTCN2021076115-appb-000005
Figure PCTCN2021076115-appb-000005
Figure PCTCN2021076115-appb-000006
Figure PCTCN2021076115-appb-000006
表3table 3
FAR、QER、MAR等数据处理规则的具体信元详见3GPP标准协议TS 23.501,章节5.8。For the specific information elements of data processing rules such as FAR, QER, and MAR, please refer to 3GPP standard protocol TS 23.501, chapter 5.8.
请参阅图8,图8是本申请实施例公开的一种不同信元组关联的示意图。其中,图8中的P即packet。如图8所示,流策略即PDR,流规则(即流检测规则)即PDI,流动作可以包括数据包处理规则。数据包处理规则可以为FAR、QER、URR等中的一种或多种。流策略可以包括流规则和流动作,即PDR可以包括PDI和数据包处理规则。PDR可以包括PDR ID、优先级、PDI、移出外部头、数据包处理规则的标识等中的一种或多种。PDI可以包括源接口、本地F-TEID、分交换数据网(packet switch data network,PDN)实例(instance)、UE IP地址、SDF滤波器、应用ID等中的一种或多种。FAR可以包括FAR ID、应用动作(apply action)、转发参数(forwarding parameters)、额外转发参数(additional forwarding parameters)、BAR ID等中的一种或多种。QER可以包括QER ID、优先级、QER关联(correlation)ID、门状态(gate status)、最大比特率(maxinum bitrate)、保证比特率(cuaranteed bitrate)、速率(packet rate)、下行流级标识(DL flow level marking)等中的一种或多种。URR可以 包括URR ID、激活/非激活规则(active/inactive rule)、测量方法、报告触发、测量周期等中的一种或多种。PDI可以包括一个或多个匹配域,当入口数据流量的对应字段与PDI中的所有匹配域都匹配成功时,确定入口数据流量与PDI匹配。流动作用于指明需要对数据流量执行的动作。Please refer to FIG. 8. FIG. 8 is a schematic diagram of association of different cell groups disclosed in an embodiment of the present application. Among them, P in Figure 8 is packet. As shown in FIG. 8 , the flow policy is PDR, the flow rule (ie flow detection rule) is PDI, and the flow action may include data packet processing rules. The packet processing rule can be one or more of FAR, QER, URR, etc. Flow policies can include flow rules and flow actions, ie PDR can include PDI and packet processing rules. The PDR may include one or more of PDR ID, priority, PDI, remove outer header, identification of packet processing rules, and the like. The PDI may include one or more of a source interface, a local F-TEID, a packet switch data network (PDN) instance (instance), a UE IP address, an SDF filter, an application ID, and the like. The FAR may include one or more of FAR ID, apply action, forwarding parameters, additional forwarding parameters, BAR ID, and the like. QER may include QER ID, priority, QER correlation ID, gate status, maximum bitrate, guaranteed bitrate, packet rate, downstream level identification ( DL flow level marking), etc. one or more. URR may include one or more of URR ID, active/inactive rule, measurement method, report trigger, measurement period, etc. The PDI may include one or more matching fields, and when the corresponding fields of the ingress data flow are successfully matched with all the matching fields in the PDI, it is determined that the ingress data flow matches the PDI. Flows serve to indicate actions that need to be performed on data traffic.
请参阅图9,图9是本申请实施例公开的一种UPF网元对数据包执行规则的示意图。如图9所示,数据包进入UPF网元之后,按照PDR的优先级对数据包进行匹配。如果匹配成功,则使用匹配成功的PDR中的数据包处理规则对数据包进行处理。数据包处理规则可以包括MAR、FAR、QER和URR中的一种或多种。Please refer to FIG. 9. FIG. 9 is a schematic diagram of a UPF network element executing a rule on a data packet disclosed in an embodiment of the present application. As shown in Figure 9, after the data packet enters the UPF network element, the data packet is matched according to the priority of the PDR. If the matching is successful, the packet is processed using the packet processing rules in the successfully matched PDR. Packet processing rules may include one or more of MAR, FAR, QER, and URR.
基于上述网络架构,请参阅图10,图10是本申请实施例公开的一种通信方法的流程示意图。如图10所示,该通信方法可以包括以下步骤。Based on the above network architecture, please refer to FIG. 10 , which is a schematic flowchart of a communication method disclosed in an embodiment of the present application. As shown in FIG. 10, the communication method may include the following steps.
1001、至少两个控制面网元向UPF网元发送M个会话控制规则。1001. At least two control plane network elements send M session control rules to the UPF network element.
当至少两个控制面网元中的每个控制面网元与UPF网元之间存在通信接口时,至少两个控制面网元可以向UPF网元发送M个会话控制规则,即至少两个控制面网元中每个控制面网元分别向UPF网元发送会话控制规则。控制面网元可以在会话建立或会话修改的过程中向UPF网元发送会话控制规则。每个控制面网元发送的会话控制规则可以为1个,也可以为多个。当一个控制面网元发送的会话控制规则为多个时,这多个会话控制规则可以通过一条消息或信令发送,也可以通过多条消息或信令发送。M为大于1的整数。此处的会话可以为N4会话,也可以为其它会话,在此不加限定。至少两个控制面网元可以包括相同类型的控制面网元。例如,至少两个控制面网元可以包括不同的SMF网元。至少两个控制面网元也可以包括不同类型的控制面网元。例如,至少两个控制面网元可以包括SMF网元和AF网元。至少两个控制面网元还可以包括相同类型的控制面网元和不同类型的控制的控制面网元。例如,至少两个控制面网元可以包括AF网元和两个不同的SMF网元。When a communication interface exists between each of the at least two control plane network elements and the UPF network element, the at least two control plane network elements may send M session control rules to the UPF network element, that is, at least two Each control plane network element in the control plane network element sends session control rules to the UPF network element respectively. The control plane network element may send session control rules to the UPF network element in the process of session establishment or session modification. The number of session control rules sent by each control plane network element may be one or multiple. When there are multiple session control rules sent by one control plane network element, the multiple session control rules may be sent through one message or signaling, or may be sent through multiple messages or signaling. M is an integer greater than 1. The session here may be an N4 session or other sessions, which are not limited here. The at least two control plane network elements may comprise control plane network elements of the same type. For example, the at least two control plane network elements may comprise different SMF network elements. The at least two control plane network elements may also include different types of control plane network elements. For example, the at least two control plane network elements may include SMF network elements and AF network elements. The at least two control plane network elements may also include control plane network elements of the same type and control plane network elements of different types. For example, the at least two control plane network elements may include an AF network element and two different SMF network elements.
由于至少两个控制面网元中的每个控制面网元与UPF网元之间均存在通信接口,因此,至少两个控制面网元中的每个控制面网元可以与UPF网元直接进行通信,即至少两个控制面网元中的每个控制面网元可以直接控制UPF网元。一个控制面网元直接控制UPF网元,可以理解为这个控制面网元不需要将它与UPF网元之间的会话控制规则转换为另一控制面网元与UPF网元之间的会话控制规则,也可以理解为这个控制面网元可以直接使用它与UPF网元的会话控制规则控制UPF网元的会话,而不需要通过其它控制面网元间接进行控制,还可以理解为这个控制面网元直接可以与UPF网元通过它们之间的通信接口进行通信。Since there is a communication interface between each of the at least two control plane network elements and the UPF network element, each of the at least two control plane network elements can directly communicate with the UPF network element. communication, ie each of the at least two control plane network elements can directly control the UPF network element. A control plane network element directly controls the UPF network element, which can be understood as the control plane network element does not need to convert the session control rules between it and the UPF network element to the session control between another control plane network element and the UPF network element. It can also be understood that the control plane network element can directly use the session control rules between it and the UPF network element to control the session of the UPF network element, without the need to indirectly control it through other control plane network elements. It can also be understood as this control plane. The network elements can directly communicate with the UPF network elements through the communication interface between them.
M个会话控制规则中每个会话控制规则可以携带有对应的控制面网元的信息。当多个会话控制规则通过一条消息或信令发送时,也可以理解为这条消息或信令携带有这多个会话控制规则对应的控制面网元的信息。该信息可以为控制面网元的标识,也可以为控制面网元的名称,还可以为其它可以唯一标识控制面网元的信息。Each of the M session control rules may carry information of the corresponding control plane network element. When multiple session control rules are sent through one message or signaling, it can also be understood that the message or signaling carries information about the network elements of the control plane corresponding to the multiple session control rules. The information may be the identifier of the network element of the control plane, the name of the network element of the control plane, or other information that can uniquely identify the network element of the control plane.
相应地,UPF网元接收来自至少两个控制面网元的M个会话控制规则。Accordingly, the UPF network element receives M session control rules from at least two control plane network elements.
至少两个控制面网元还可以向UPF网元发送R个会话信息。会话信息可以为PDU会话的信息。M个会话控制规则中的每个会话控制规则可以对应R个会话信息中的一个会话信息,R个会话信息中的一个会话信息可以对应M个会话控制规则中的一个或多个会话控制规则。 M个会话信息与R个会话控制规则之间的对应关系可以如表4或表5所示:The at least two control plane network elements may also send R pieces of session information to the UPF network elements. The session information may be information of a PDU session. Each session control rule in the M session control rules may correspond to one session information in the R session information, and one session information in the R session information may correspond to one or more session control rules in the M session control rules. The correspondence between the M session information and the R session control rules may be shown in Table 4 or Table 5:
会话控制规则的标识ID of the session control rule 会话信息session information
会话控制规则1Session Control Rule 1 会话信息1session info 1
会话控制规则2Session Control Rule 2 会话信息2session info 2
会话控制规则3Session Control Rule 3 会话信息3session info 3
表4Table 4
Figure PCTCN2021076115-appb-000007
Figure PCTCN2021076115-appb-000007
表5table 5
如表4所示,R可以为M,M个会话控制规则中的每个会话控制规则可以对应M个会话信息中的一个会话信息,M个会话信息可以包括相同的会话信息,也可以包括不同的会话信息,还可以包括相同和不同的信息,可以理解为M个会话控制规则中的每个会话控制规则可以对应Q个PDU会话中的一个PDU会话。如表5所示,M个会话控制规则中的一个或多个会话控制规则可以对应R个会话信息中的一个会话信息,可以理解为M个会话控制规则中的一个或多个会话控制规则可以对应Q个PDU会话中的一个PDU会话。应理解,当来自同一控制面网元的多个会话控制规则对应的PDU会话相同的情况下,这多个会话控制规则可以对应同一个会话信息。来自不同控制面网元的会话控制规则不可以对应同一个会话信息,当对应的PDU会话可以相同。综上所述,M个会话控制规则与Q个PDU会话之间的关系可以为一对多的关系,也可以为一对一的关系,可以理解为,一个PDU会话可以唯一对应一个会话控制规则,也可以对应多个会话控制规则。其中,PDU会话的信息可以为PDU会话的标识,也可以为隧道标识,还可以为终端设备的地址信息,还可以为其它可以唯一标识PDU会话的信息。终端设备的地址信息可以为终端设备的IPv4地址,也可以为终端设备的IPv6前缀,还可以为终端设备的MAC地址,还可以为其它可以标识终端设备的地址的信息。其中,Q为小于或等于M的整数。Q个PDU会话为M个会话信息对应的PDU会话。R为小于或等于M的整数。Q小于或等于R。As shown in Table 4, R may be M, and each session control rule in the M session control rules may correspond to one session information in the M session information, and the M session information may include the same session information, or may include different session information. The session information may also include the same and different information, which can be understood as each session control rule in the M session control rules may correspond to one PDU session in the Q PDU sessions. As shown in Table 5, one or more session control rules in the M session control rules may correspond to one session information in the R session information, which can be understood as one or more session control rules in the M session control rules can be Corresponds to one PDU session among the Q PDU sessions. It should be understood that when the PDU sessions corresponding to multiple session control rules from the same control plane network element are the same, the multiple session control rules may correspond to the same session information. Session control rules from different control plane network elements cannot correspond to the same session information, but the corresponding PDU sessions can be the same. To sum up, the relationship between M session control rules and Q PDU sessions can be a one-to-many relationship or a one-to-one relationship. It can be understood that one PDU session can uniquely correspond to one session control rule , and can also correspond to multiple session control rules. The information of the PDU session may be an identifier of the PDU session, a tunnel identifier, address information of a terminal device, or other information that can uniquely identify the PDU session. The address information of the terminal device may be the IPv4 address of the terminal device, the IPv6 prefix of the terminal device, the MAC address of the terminal device, or other information that can identify the address of the terminal device. Wherein, Q is an integer less than or equal to M. The Q PDU sessions are PDU sessions corresponding to the M session information. R is an integer less than or equal to M. Q is less than or equal to R.
一种情况下,M个会话控制规则中的每个会话控制规则可以包括或携带对应的会话信息。另一种情况下,至少两个控制面网元可以向UPF网元发送M个消息或信令,M个消息或信令中的每个消息或信令可以包括M个会话控制规则中的一个会话控制规则以及这个会话控制规则对应的会话信息。In one case, each of the M session control rules may include or carry corresponding session information. In another case, at least two control plane network elements may send M messages or signaling to the UPF network element, and each of the M messages or signaling may include one of M session control rules Session control rules and session information corresponding to the session control rules.
相应地,UPF网元接收来自至少两个控制面网元的M个会话信息。Accordingly, the UPF network element receives M session information from at least two control plane network elements.
1002、UPF网元根据M个会话控制规则对数据进行处理。1002. The UPF network element processes the data according to the M session control rules.
UPF网元接收到来自至少两个控制面网元的M个会话控制规则之后,可以根据M个会话控制规则对数据进行处理。After receiving the M session control rules from at least two control plane network elements, the UPF network element can process the data according to the M session control rules.
由于来自不同控制面网元的会话控制规则之间可能存在冲突,因此,可以先对M个会 话控制规则进行处理得到N个会话控制规则,之后可以根据N个会话控制规则对数据进行处理。N为大于0的整数。Since there may be conflicts between session control rules from different control plane network elements, M session control rules can be processed first to obtain N session control rules, and then data can be processed according to the N session control rules. N is an integer greater than 0.
在一种情况下,UPF网元接收到来自至少两个控制面网元的M个会话控制规则之后,可以先判断来自不同控制面网元的任两个会话控制规则之间是否存在冲突,当判断出来自不同控制面网元的任两个会话控制规则之间均不存在冲突时,可以不对M个会话控制规则进行处理,可以直接将M个会话控制规则确定为N个会话控制规则。此时,M与N相等。当判断出存在冲突时,可以对M个会话控制规则进行处理得到N个会话控制规则。此时,N可以大于N,也可以小于N,还可以等于N。In one case, after receiving M session control rules from at least two control plane network elements, the UPF network element may first determine whether there is a conflict between any two session control rules from different control plane network elements. When it is determined that there is no conflict between any two session control rules from different control plane network elements, the M session control rules may not be processed, and the M session control rules may be directly determined as N session control rules. At this time, M and N are equal. When it is determined that there is a conflict, the M session control rules may be processed to obtain N session control rules. At this time, N may be greater than N, may be smaller than N, and may also be equal to N.
下面以第一会话控制规则和第二会话控制规则为例进行说明。第一会话控制规则和第二会话控制规则为M个会话控制规则中来自不同控制面网元的两个会话控制规则。第一会话控制规则可以包括第一PDR,第一PDR可以包括第一PDI和第一标识信息,第二会话控制规则可以包括第二PDR,第二PDR可以包括第二PDI和第二标识信息。第一标识信息和第二标识信息可以包括至少一个数据包处理规则的标识,即第一标识信息可以包括至少一个数据包处理规则的标识,第二标识信息可以包括至少一个数据包处理规则的标识。数据包处理规则可以为QER,也可以为URR,还可以为FAR,还可以为其它处理数据包的规则,在此不加限定。The following takes the first session control rule and the second session control rule as examples for description. The first session control rule and the second session control rule are two session control rules from different control plane network elements among the M session control rules. The first session control rule may include the first PDR, the first PDR may include the first PDI and the first identification information, the second session control rule may include the second PDR, and the second PDR may include the second PDI and the second identification information. The first identification information and the second identification information may include the identification of at least one data packet processing rule, that is, the first identification information may include the identification of at least one data packet processing rule, and the second identification information may include the identification of at least one data packet processing rule. . The data packet processing rule may be QER, URR, FAR, or other rules for processing data packets, which are not limited here.
作为一种可能的情况,UPF网元可以判断第一PDI与第二PDI是否相同,当判断出第一PDI与第二PDI相同时,可以根据第一会话控制规则和第二会话控制规则确定第三会话控制规则,第三会话控制规则包括第三PDR,第三PDR包括第一标识信息、第二标识信息以及第一PDI或第二PDI。即对第一会话控制规则和第二会话控制规则进行合并处理,也即将第一会话控制规则和第二会话控制规则合并为一个会话控制规则,合并后的这个会话控制规则包括一个PDR,这个PDR包括一个PDI,以及包括属于第一会话控制规则和第二会话控制规则所有数据包处理规则的标识。As a possible situation, the UPF network element may determine whether the first PDI and the second PDI are the same, and when it is determined that the first PDI and the second PDI are the same, the UPF network element may determine the first PDI and the second session control rule according to the first session control rule and the second session control rule. Three session control rules, the third session control rule includes a third PDR, and the third PDR includes the first identification information, the second identification information, and the first PDI or the second PDI. That is, the first session control rule and the second session control rule are merged, that is, the first session control rule and the second session control rule are merged into one session control rule, and the merged session control rule includes a PDR, the PDR It includes a PDI, and includes the identifiers of all data packet processing rules belonging to the first session control rule and the second session control rule.
作为另一种可能的情况,当判断出第一PDI与第二PDI不同时,可以继续判断第一PDI与第二PDI是否存在交集,即判断第一PDI与第二PDI中是否存在相同的信息。当判断出第一PDI与第二PDI存在交集时,可以根据第一会话控制规则和第二会话控制规则确定第四会话控制规则、第五会话控制规则和第六会话控制规则。第四会话控制规则包括第四PDR,第四PDR包括第一PDI和第二PDI中的相同部分、第一标识信息和第二标识信息,第五会话控制规则包括第五PDR,第五PDR包括第一PDI中与第二PDI不同的部分和第一标识信息,第六会话控制规则包括第六PDR,第六PDR包括第二PDI中与第一PDR不同的部分和第二标识信息。即根据两个会话控制规则确定三个会话控制规则,确定的这三个会话控制规则的PDI之间不存在交集。这三个会话控制规则中的一个会话控制规则由第一会话控制规则中剔除第一PDI中与第二PDI相同部分得到,另一个会话控制规则由第二会话控制规则中剔除第二PDI中与第一PDI相同部分得到,第三个会话控制规则包括这两个会话控制规则中PDI的相同部分,以及所有的数据包处理规则。As another possible situation, when it is determined that the first PDI and the second PDI are different, it is possible to continue to determine whether there is an intersection between the first PDI and the second PDI, that is, to determine whether the same information exists in the first PDI and the second PDI . When it is determined that the first PDI and the second PDI have an intersection, the fourth session control rule, the fifth session control rule and the sixth session control rule may be determined according to the first session control rule and the second session control rule. The fourth session control rule includes a fourth PDR, the fourth PDR includes the same part of the first PDI and the second PDI, the first identification information, and the second identification information, the fifth session control rule includes a fifth PDR, and the fifth PDR includes The part of the first PDI that is different from the second PDI and the first identification information, the sixth session control rule includes a sixth PDR, and the sixth PDR includes the part of the second PDI that is different from the first PDR and the second identification information. That is, three session control rules are determined according to the two session control rules, and there is no intersection among the PDIs of the three determined session control rules. One of the three session control rules is obtained by excluding the same part of the first PDI and the second PDI from the first session control rule, and the other session control rule is obtained by excluding the second PDI and the second PDI from the second session control rule. The same part of the first PDI is obtained, and the third session control rule includes the same part of the PDI in the two session control rules, and all the data packet processing rules.
作为再一种可能性的情况,当判断出第一PDI与第二PDI不存在交集时,可以保持第一会话控制规则和第二会话控制规则不变。As a further possibility, when it is determined that there is no intersection between the first PDI and the second PDI, the first session control rule and the second session control rule may be kept unchanged.
之后UPF网元可以根据第一会话控制规则和第二会话控制规则,或者第三会话控制规 则,或者第四会话控制规则、第五会话控制规则和第六会话控制规则,确定N个会话控制规则。即对M个会话控制规则中来自不同控制面网元的任两个会话控制规则均进行上述处理,处理完之后可以得到N个会话控制规则。After that, the UPF network element may determine N session control rules according to the first session control rule and the second session control rule, or the third session control rule, or the fourth session control rule, the fifth session control rule, and the sixth session control rule. . That is, the above processing is performed on any two session control rules from different control plane network elements in the M session control rules, and N session control rules can be obtained after the processing.
举例说明,请参阅图11,图11是本申请实施例公开的一种对会话控制规则进行处理的示意图。如图11所示,会话控制规则1包括PDR1,PDR1包括PDI1、URR1和FAR1,会话控制规则2包括PDR2,PDR2包括PDI2、QER1和FAR2。当PDI1和PDI2相同时,会话控制规则1和会话控制规则2可以合并为一个会话控制规则,这个会话控制规则包括PDR3,PDR3包括PDI、QER1、URR1、FAR1和FAR2,该PDI可以为PDI1,也可以为PDI2。当FAR1与FAR2相同时,可以将FAR1和FAR2合并为一个FAR。当FAR1与FAR2不同时,可以将FAR1与FAR2综合起来(例如,将二者的动作(action)合并),也可以选其一。包括两个QER,且这两个QER相同时,可以进行合并为一个,即删除一个,也即只执行一次QER。当PDI1和PDI2存在交集时,可以根据会话控制规则1和会话控制规则2得到会话控制规则4、会话控制规则5和会话控制规则6,会话控制规则4包括PDR4,PDR4包括PDI4、QER1、URR1、FAR1和FAR2,PDI4为PDI1与PDI2之间的相同部分。会话控制规则5包括PDR5,PDR5包括PDI5、URR1和FAR1,PDI5为PDI1中与PDI2不同的相同部分。会话控制规则6包括PDR6,PDR6包括PDI6、QER1和FAR2,PDI6为PDI2中与PDI1不同的相同部分。其中,PDI1=PDI4+PDI5,PDI2=PDI4+PDI6。当PDI1和PDI2不存在交集时,会话控制规则1与会话控制规则2保持不变。在会话控制规则包括URR时,URR可以携带指示信息,该指示信息可以指示URR的执行顺序。例如,可以指示URR在QER前执行还是在QER后执行。在合并时,UPF网元也可以考虑该指示信息。For example, please refer to FIG. 11 . FIG. 11 is a schematic diagram of processing a session control rule disclosed in an embodiment of the present application. As shown in Figure 11, session control rule 1 includes PDR1, PDR1 includes PDI1, URR1 and FAR1, session control rule 2 includes PDR2, and PDR2 includes PDI2, QER1 and FAR2. When PDI1 and PDI2 are the same, session control rule 1 and session control rule 2 can be combined into one session control rule, this session control rule includes PDR3, PDR3 includes PDI, QER1, URR1, FAR1 and FAR2, the PDI can be PDI1, or Can be PDI2. When FAR1 is the same as FAR2, FAR1 and FAR2 can be combined into one FAR. When FAR1 and FAR2 are different, FAR1 and FAR2 can be integrated (eg, the actions of the two are combined), or one of them can be selected. When two QERs are included, and the two QERs are the same, they can be merged into one, that is, delete one, that is, only execute the QER once. When there is an intersection between PDI1 and PDI2, session control rule 4, session control rule 5 and session control rule 6 can be obtained according to session control rule 1 and session control rule 2. Session control rule 4 includes PDR4, and PDR4 includes PDI4, QER1, URR1, FAR1 and FAR2, PDI4 are the same parts between PDI1 and PDI2. Session control rule 5 includes PDR5, PDR5 includes PDI5, URR1 and FAR1, and PDI5 is the same part of PDI1 that is different from PDI2. Session control rule 6 includes PDR6, PDR6 includes PDI6, QER1 and FAR2, and PDI6 is the same part of PDI2 that is different from PDI1. Among them, PDI1=PDI4+PDI5, PDI2=PDI4+PDI6. When there is no intersection between PDI1 and PDI2, session control rule 1 and session control rule 2 remain unchanged. When the session control rule includes URR, the URR may carry indication information, and the indication information may indicate the execution sequence of the URR. For example, it is possible to indicate whether the URR is executed before the QER or after the QER. When merging, the UPF network element may also consider the indication information.
UPF网元接收到来自(R)AN设备(或DN数据)之后,可以从N个会话控制规则中选取与该数据匹配的PDI对应的会话控制规则,之后使用选取的会话控制规则对该数据进行处理,之后可以向DN数据((或R)AN设备)发送处理后的数据。由于N个会话控制规则中PDI不存在交集,因此,选取的会话控制规则为1个。After the UPF network element receives the data from the (R)AN device (or DN), it can select the session control rule corresponding to the PDI matching the data from the N session control rules, and then use the selected session control rule to process the data. processed, after which the processed data can be sent to the DN data ((or R)AN device). Since there is no intersection of PDIs in the N session control rules, one session control rule is selected.
在另一种可能的情况下,UPF网元接收到来自至少两个控制面网元的M个会话控制规则之后,可以将M个会话控制规则中对应同一控制面网元的会话控制规则确定为一组,得到K组会话控制规则,即按照会话控制规则的来源对会话控制规则进行分组。之后UPF网元可以按照K组会话控制规则对应的控制面网元对K组会话控制规则进行排序,得到组排序表。一种实施方式中,不同控制面网元对应的会话控制规则的执行顺序可以变化。例如,不同业务对应的执行顺序不同。再例如,不同场景对应的执行顺序不同。不同控制面网元对应的会话控制规则的执行顺序,可以由控制面网元下发给UPF网元。例如,可以由PCF网元或SMF网元下发。另一种实施方式中,不同控制面网元对应的会话控制规则的执行顺序固定不变,可以是配置在UPF网元中的。例如,SMF网元→PCF网元→AMF网元,可以根据该顺序对K组会话控制规则进行排序。K为大于或等于2的整数,组排序表包括N个会话控制规则。In another possible situation, after receiving M session control rules from at least two control plane network elements, the UPF network element may determine the session control rule corresponding to the same control plane network element among the M session control rules as One group is obtained, and K groups of session control rules are obtained, that is, the session control rules are grouped according to the source of the session control rules. Afterwards, the UPF network element may sort the K groups of session control rules according to the control plane network elements corresponding to the K groups of session control rules to obtain a group sorting table. In an implementation manner, the execution order of session control rules corresponding to different control plane network elements may vary. For example, the execution order corresponding to different services is different. For another example, the execution sequences corresponding to different scenarios are different. The execution sequence of the session control rules corresponding to different control plane network elements may be delivered by the control plane network elements to the UPF network elements. For example, it can be delivered by the PCF network element or the SMF network element. In another implementation manner, the execution order of the session control rules corresponding to different control plane network elements is fixed and may be configured in the UPF network element. For example, SMF network element→PCF network element→AMF network element, K groups of session control rules may be sorted according to this order. K is an integer greater than or equal to 2, and the group sorting table includes N session control rules.
UPF网元接收到来自(R)AN设备(或DN数据)之后,可以按照组排序表确定N个会话控制规则中与该数据匹配的PDI对应的会话控制规则得到L个会话控制规则,之后可以按照在组排序表中的排序依次使用L个会话控制规则对该数据进行处理。之后UPF网元可以向 DN数据(或(R)AN设备)发送处理后的数据。由于K组会话控制规则中每组会话控制规则中的会话控制规则的PDI之间不会存在交集,因此,该数据在K组会话控制规则中每组会话控制规则中最多可以匹配到一个会话控制规则,因此,L为大于或等于0且小于或等于K的整数。After the UPF network element receives the data from the (R)AN device (or DN), it can determine the session control rules corresponding to the PDI matching the data in the N session control rules according to the group sorting table to obtain L session control rules, and then can The data is processed using the L session control rules in sequence according to the sorting in the group sorting table. The UPF network element can then send the processed data to the DN data (or (R)AN device). Since there is no intersection between the PDIs of the session control rules in each group of session control rules in the K groups of session control rules, the data can match at most one session control rule in each group of session control rules in the K groups of session control rules Therefore, L is an integer greater than or equal to 0 and less than or equal to K.
举例说明,请参阅图12,图12是本申请实施例公开的另一种对会话控制规则进行处理的示意图。如图12所示,一个大方框为一组会话控制规则,大方框的一个小方框为一个会话控制规则。M为8,K为3。先将数据与第一组会话控制规则中的会话控制规则进行匹配,匹配到了会话控制规则2,之后将数据与第二组会话控制规则中的会话控制规则进行匹配,没有匹配到会话控制规则,最后将数据与第三组会话控制规则中的会话控制规则进行匹配,匹配到了会话控制规则6。之后可以先使用会话控制规则2对数据进行处理,之后再使用会话控制规则6对处理后的数据进行处理。当使用会话控制规则2对数据进行处理时,如果包括FAR,由于执行FAR会将数据转发走,因此,可以不执行会话控制规则2中的FAR,而是在会话控制规则6的最后执行FAR。For example, please refer to FIG. 12. FIG. 12 is a schematic diagram of another method of processing session control rules disclosed in an embodiment of the present application. As shown in Figure 12, a large box is a set of session control rules, and a small box of the large box is a session control rule. M is 8 and K is 3. First, the data is matched with the session control rules in the first group of session control rules, and the session control rule 2 is matched, and then the data is matched with the session control rules in the second group of session control rules, and no session control rules are matched. Finally, the data is matched with the session control rules in the third group of session control rules, and the session control rule 6 is matched. Afterwards, the session control rule 2 may be used to process the data, and then the session control rule 6 may be used to process the processed data. When using session control rule 2 to process data, if FAR is included, since the execution of FAR will forward the data, therefore, FAR in session control rule 2 may not be executed, but FAR is executed at the end of session control rule 6.
在又一种情况下,M个会话控制规则中每个会话控制规则包括PDR,PDR包括至少一种标识,至少一种标识为至少一种数据包处理规则的标识。UPF网元接收到来自至少两个控制面网元的M个会话控制规则之后,可以根据M个会话控制规则确定A个会话控制规则,A个会话控制规则中每个会话控制规则只包至少一种标识中的一种标识,A为大于或等于M的整数。即将每个会话控制规则按照数据包处理规则的标识拆分为多个会话控制规则,由同一个会话控制规则拆分得到的多个会话控制规则包括的PDI相同。之后UPF网元可以将A个会话控制规则中对应的控制面网元和数据包处理规则类型相同的会话控制规则确定为一组得到B组会话控制规则,可以对B组会话控制规则进行排序,得到组排序表。组排序表包括N个会话控制规则。排序时,可以将对应同一控制面网元的不同组会话控制规则排序在一起,对应不同控制面网元的不同组会话控制规则可以按照对应的控制面网元进行排序,对应同一控制面网元的不同组会话控制规则可以按照固定顺序进行排序,也可以按照指示进行排序。例如,M个会话控制规则中会话控制规则包括URR,URR携带有指示信息,指示信息用于指示URR的执行顺序,可以指示在QER前执行,也可以指示在QER后执行。也可以将对应同一控制面网元的不同组会话控制规则分开进行排序。In yet another case, each of the M session control rules includes a PDR, and the PDR includes at least one identifier, and the at least one identifier is an identifier of at least one data packet processing rule. After the UPF network element receives M session control rules from at least two control plane network elements, it can determine A session control rules according to the M session control rules, and each session control rule in the A session control rules only includes at least one session control rule. One of the identifiers, A is an integer greater than or equal to M. That is, each session control rule is split into multiple session control rules according to the identifier of the data packet processing rule, and the multiple session control rules obtained by splitting the same session control rule include the same PDI. Afterwards, the UPF network element can determine the corresponding control plane network elements in the A session control rules and the session control rules of the same data packet processing rule type as a group to obtain the session control rules of the group B, and can sort the session control rules of the group B, Get the group sort table. The group sorting table includes N session control rules. When sorting, different groups of session control rules corresponding to the same control plane network element can be sorted together, and different groups of session control rules corresponding to different control plane network elements can be sorted according to the corresponding control plane network elements, corresponding to the same control plane network element. The different groups of session control rules can be sorted in a fixed order or as indicated. For example, among the M session control rules, the session control rules include URRs, and the URRs carry indication information. The indication information is used to indicate the execution order of the URRs, which may be instructed to be executed before the QER or be executed after the QER. Different groups of session control rules corresponding to the same control plane network element may also be sorted separately.
UPF网元接收到来自(R)AN设备(或DN数据)之后,可以按照组排序表确定N个会话控制规则中与该数据匹配的PDI对应的会话控制规则得到L个会话控制规则,之后可以按照在组排序表中的排序依次使用L个会话控制规则对该数据进行处理。之后UPF网元可以向DN数据(或(R)AN设备)发送处理后的数据。由于B组会话控制规则中每组会话控制规则中的会话控制规则的PDI之间不会存在交集,因此,该数据在B组会话控制规则中每组会话控制规则中最多可以匹配到一个会话控制规则,因此,L为大于或等于0且小于或等于B的整数。After the UPF network element receives the data from the (R)AN device (or DN), it can determine the session control rules corresponding to the PDI matching the data in the N session control rules according to the group sorting table to obtain L session control rules, and then can The data is processed using the L session control rules in sequence according to the sorting in the group sorting table. The UPF network element can then send the processed data to the DN data (or (R)AN device). Since there is no intersection between the PDIs of the session control rules in each group of session control rules in group B session control rules, the data can match at most one session control rule in each group of session control rules in group B session control rules Therefore, L is an integer greater than or equal to 0 and less than or equal to B.
举例说明,请参阅图13,图13是本申请实施例公开的又一种对会话控制规则进行处理的示意图。其中,M为3,A为9,B为6。如图13所示,会话控制规则1包括PDI1、URR1、QER1和FAR1,会话控制规则2包括PDI2、URR2、QER2和FAR2,会话控制规则3包括PDI3、URR3、QER3和FAR3。会话控制规则1和会话控制规则2对应同一控制面网元,会话控制规 则3对应另一控制面网元。可以将会话控制规则1、会话控制规则2和会话控制规则3分别拆分为3个会话控制规则,得到9个会话控制规则。之后进行分组得到6组会话控制规则,一个大方框代表一组会话控制规则。之后对这6组会话控制规则进行排序。图13中示意出了两种排序方式,还可以有其它排序方式,在此不加限定。当接收到数据之后,可以将数据按照图中前头所指的顺序一组一组进行匹配。匹配好之后的执行顺序可以参考图12对应的描述。For example, please refer to FIG. 13 . FIG. 13 is a schematic diagram of another method of processing a session control rule disclosed by an embodiment of the present application. Among them, M is 3, A is 9, and B is 6. As shown in Figure 13, session control rule 1 includes PDI1, URR1, QER1 and FAR1, session control rule 2 includes PDI2, URR2, QER2 and FAR2, and session control rule 3 includes PDI3, URR3, QER3 and FAR3. Session control rule 1 and session control rule 2 correspond to the same control plane network element, and session control rule 3 corresponds to another control plane network element. The session control rule 1, the session control rule 2, and the session control rule 3 can be divided into 3 session control rules, respectively, to obtain 9 session control rules. After that, grouping is performed to obtain 6 groups of session control rules, and a large box represents a group of session control rules. Then sort the six groups of session control rules. FIG. 13 shows two sorting manners, and other sorting manners are also possible, which are not limited here. After the data is received, the data can be matched group by group in the order indicated at the beginning of the figure. For the execution sequence after matching, refer to the corresponding description in FIG. 12 .
在UPF网元接收到来自至少两个控制面网元的M个会话信息的情况下,UPF网元可以先按照M个会话信息对M个会话控制规则进行分类,可以将M个会话控制规则中对应同一PDU会话的会话控制规则划分为一类,之后针对同一类中的会话控制规则按照上述处理流程进行处理。When the UPF network element receives M session information from at least two control plane network elements, the UPF network element may first classify the M session control rules according to the M session information, and may classify the M session control rules among the M session control rules. The session control rules corresponding to the same PDU session are divided into one category, and then the session control rules in the same category are processed according to the above processing flow.
基于上述网络架构,请参阅图14,图14是本申请实施例公开的另一种通信方法的流程示意图。如图14所示,该通信方法可以包括以下步骤。Based on the above network architecture, please refer to FIG. 14 , which is a schematic flowchart of another communication method disclosed in an embodiment of the present application. As shown in FIG. 14 , the communication method may include the following steps.
1401、控制面网元触发会话建立或修改。1401. A control plane network element triggers session establishment or modification.
其中,图中只示意出了一个控制面网元,但实际上有至少两个控制面网元。Among them, only one control plane network element is shown in the figure, but there are actually at least two control plane network elements.
1402、控制面网元向UPF网元发送会话建立请求或会话修改请求。1402. The control plane network element sends a session establishment request or a session modification request to the UPF network element.
相应地,UPF网元接收来自控制面网元的会话建立请求或会话修改请求。Correspondingly, the UPF network element receives the session establishment request or the session modification request from the control plane network element.
会话建立请求或会话修改请求携带或包括会话控制规则和控制面网元的信息。其中,详细描述可以参考步骤1001的描述。The session establishment request or the session modification request carries or includes the session control rules and the information of the network elements of the control plane. The detailed description may refer to the description of step 1001 .
1403、UPF网元对会话控制规则进行处理。1403. The UPF network element processes the session control rule.
UPF网元可以根据步骤1002中的处理方式对会话控制规则进行处理。The UPF network element can process the session control rule according to the processing method in step 1002 .
1404、UPF网元向控制面网元发送会话建立响应或会话修改响应。1404. The UPF network element sends a session establishment response or a session modification response to the control plane network element.
UPF网元对会话控制规则进行处理之后,可以向控制面网元发送会话建立响应或会话修改响应。会话建立响应或会话修改响应可以携带有处理后的会话控制规则。After the UPF network element processes the session control rules, it may send a session establishment response or a session modification response to the control plane network element. The session establishment response or the session modification response may carry the processed session control rules.
相应地,控制面网元接收来自UPF网元的会话建立响应或会话修改响应。Correspondingly, the control plane network element receives the session establishment response or the session modification response from the UPF network element.
基于上述网络架构,请参阅图15,图15是本申请实施例公开的又一种通信方法的流程示意图。如图15所示,该通信方法可以包括以下步骤。Based on the above network architecture, please refer to FIG. 15 , which is a schematic flowchart of another communication method disclosed by an embodiment of the present application. As shown in FIG. 15 , the communication method may include the following steps.
1501、控制面网元触发会话建立或修改。1501. A control plane network element triggers session establishment or modification.
其中,图中只示意出了一个控制面网元,但实际上有至少两个控制面网元。Among them, only one control plane network element is shown in the figure, but there are actually at least two control plane network elements.
1502、控制面网元向UPF网元发送会话建立请求或会话修改请求。1502. The control plane network element sends a session establishment request or a session modification request to the UPF network element.
相应地,UPF网元接收来自控制面网元的会话建立请求或会话修改请求。Correspondingly, the UPF network element receives the session establishment request or the session modification request from the control plane network element.
会话建立请求或会话修改请求携带或包括会话控制规则和控制面网元的信息。其中,详细描述可以参考步骤1001的描述。The session establishment request or the session modification request carries or includes the session control rules and the information of the network elements of the control plane. The detailed description may refer to the description of step 1001 .
1503、UPF网元向控制面网元发送会话建立响应或会话修改响应。1503. The UPF network element sends a session establishment response or a session modification response to the control plane network element.
UPF网元接收到来自控制面网元的会话建立请求或会话修改请求之后,可以向控制面网元发送会话建立响应或会话修改响应。相应地,控制面网元接收来自UPF网元的会话建立响应或会话修改响应。After receiving the session establishment request or the session modification request from the control plane network element, the UPF network element may send the session establishment response or the session modification response to the control plane network element. Correspondingly, the control plane network element receives the session establishment response or the session modification response from the UPF network element.
1504、UPF网元对会话控制规则进行处理。1504. The UPF network element processes the session control rule.
UPF网元可以根据步骤1002中的处理方式对会话控制规则进行处理。The UPF network element can process the session control rule according to the processing method in step 1002 .
在一种情况下,会话建立响应或会话修改响应可以携带有处理后的会话控制规则。In one case, the session establishment response or the session modification response may carry the processed session control rules.
其中,步骤1503和步骤1504可以并行执行,也可以串行执行Among them, step 1503 and step 1504 can be executed in parallel, or can be executed in series
应理解,上述通信方法中由UPF网元执行的功能也可以由UPF网元中的模块(例如,芯片)来执行,由控制面网元执行的功能也可以由控制面网元中的模块(例如,芯片)来执行。可以直接控制UPF网元的控制面网元可以包括SMF网元、PCF网元、网络数据分析功能(network data analytics function,NWDAF)网元、AF网元等。上述只是对直接控制UPF网元的控制面网元进行示意性说明,并不对直接控制UPF网元的控制面网元构成限定。例如,直接控制UPF网元的控制面网元还可以包括AMF网元等。It should be understood that the functions performed by the UPF network element in the above communication method may also be performed by a module (for example, a chip) in the UPF network element, and the function performed by the control plane network element may also be performed by a module in the control plane network element ( For example, a chip) to perform. The control plane network elements that can directly control the UPF network elements may include SMF network elements, PCF network elements, network data analytics function (NWDAF) network elements, AF network elements, and the like. The above is only a schematic description of the control plane network elements that directly control the UPF network elements, and does not constitute a limitation on the control plane network elements that directly control the UPF network elements. For example, the control plane network elements that directly control the UPF network elements may also include AMF network elements and the like.
应理解,在5G中,用户面之间的通信是以会话为粒度的,因此,控制规则可以为会话控制规则。在其它通信系统或网络中,粒度可能发生变化,当粒度发生变化时,控制规则也可以发生变化。例如,当粒度变为连接时,控制规则也可以为连接控制规则。It should be understood that in 5G, the communication between user planes is session-granular, and therefore, the control rules may be session control rules. In other communication systems or networks, the granularity may change, and when the granularity changes, the control rules may also change. For example, when the granularity becomes connections, the control rules can also be connection control rules.
应理解,在其它通信系统或网络中,上述UPF网元可以替换为其它用户面网元或用户面功能实体,在此不加限定。It should be understood that, in other communication systems or networks, the above-mentioned UPF network elements may be replaced with other user plane network elements or user plane functional entities, which are not limited herein.
应理解,用户面网元在不同的通信系统或网络中可以有不同的名称。例如,在5G中,用户面网元可以为UPF网元,在6G或未来通信系统中可以有其它名称。It should be understood that the user plane network elements may have different names in different communication systems or networks. For example, in 5G, the user plane network element may be a UPF network element, and may have other names in 6G or future communication systems.
应理解,上述不同实施例中相关信息可以相互参考。It should be understood that the related information in the above-mentioned different embodiments may refer to each other.
基于上述网络架构,请参阅图16,图16是本申请实施例公开的一种通信装置的结构示意图。如图16所示,该通信装置可以包括:Based on the above network architecture, please refer to FIG. 16 , which is a schematic structural diagram of a communication device disclosed in an embodiment of the present application. As shown in Figure 16, the communication device may include:
接收单元1601,用于接收M个会话控制规则,M个会话控制规则来自至少两个控制面网元,M为大于1的整数;a receiving unit 1601, configured to receive M session control rules, where the M session control rules come from at least two control plane network elements, and M is an integer greater than 1;
处理单元1602,用于根据M个会话控制规则对数据进行处理。The processing unit 1602 is configured to process the data according to the M session control rules.
在一个实施例中,处理单元1602,还用于对M个会话控制规则进行处理,得到N个会话控制规则,N为大于0的整数;In one embodiment, the processing unit 1602 is further configured to process the M session control rules to obtain N session control rules, where N is an integer greater than 0;
处理单元1602根据M个会话控制规则对数据进行处理包括:The processing unit 1602 processes the data according to the M session control rules, including:
根据N个会话控制规则对数据进行处理。The data is processed according to N session control rules.
在一个实施例中,第一会话控制规则包括第一PDR,第一PDR包括第一PDI和第一标识信息,第二会话控制规则包括第二PDR,第二PDR包括第二PDI和第二标识信息,第一会话控制规则和第二会话控制规则为M个会话控制规则中来自不同控制面网元的两个会话控制规则,第一标识信息和第二标识信息包括至少一个数据包处理规则的标识;In one embodiment, the first session control rule includes a first PDR, the first PDR includes a first PDI and first identification information, the second session control rule includes a second PDR, and the second PDR includes a second PDI and a second identification information, the first session control rule and the second session control rule are two session control rules from different control plane network elements among the M session control rules, and the first identification information and the second identification information include at least one data packet processing rule. identification;
处理单元1602对M个会话控制规则进行处理,得到N个会话控制规则包括:The processing unit 1602 processes the M session control rules, and obtains the N session control rules including:
当第一PDI与第二PDI相同时,根据第一会话控制规则和第二会话控制规则确定第三会话控制规则,第三会话控制规则包括第三PDR,第三PDR包括第一标识信息、第二标识信息以及第一PDI或第二PDI;或者When the first PDI is the same as the second PDI, a third session control rule is determined according to the first session control rule and the second session control rule, the third session control rule includes a third PDR, and the third PDR includes the first identification information, the third session control rule two identification information and the first PDI or the second PDI; or
当第一PDI与第二PDI存在交集时,根据第一会话控制规则和第二会话控制规则确定第四会话控制规则、第五会话控制规则和第六会话控制规则,第四会话控制规则包括第四PDR, 第四PDR包括第一PDI和第二PDI中的相同部分、第一标识信息和第二标识信息,第五会话控制规则包括第五PDR,第五PDR包括第一PDI中与第二PDI不同的部分和第一标识信息,第六会话控制规则包括第六PDR,第六PDR包括第二PDI中与第一PDR不同的部分和第二标识信息;When there is an intersection between the first PDI and the second PDI, the fourth session control rule, the fifth session control rule and the sixth session control rule are determined according to the first session control rule and the second session control rule, and the fourth session control rule includes the first session control rule and the sixth session control rule. Four PDRs, the fourth PDR includes the same part of the first PDI and the second PDI, the first identification information and the second identification information, the fifth session control rule includes the fifth PDR, and the fifth PDR includes the first PDI and the second PDR. The different part of the PDI and the first identification information, the sixth session control rule includes the sixth PDR, and the sixth PDR includes the part of the second PDI that is different from the first PDR and the second identification information;
根据第三会话控制规则,或者第四会话控制规则、第五会话控制规则和第六会话控制规则,确定N个会话控制规则。N session control rules are determined according to the third session control rule, or the fourth session control rule, the fifth session control rule and the sixth session control rule.
在一个实施例中,处理单元1602根据所述N个会话控制规则对数据进行处理包括:In one embodiment, the processing unit 1602 processing data according to the N session control rules includes:
从N个会话控制规则中选取与数据匹配的PDI对应的会话控制规则;Select the session control rule corresponding to the PDI matching the data from the N session control rules;
使用选取的会话控制规则对所述数据进行处理。The data is processed using selected session control rules.
在一个实施例中,M个会话控制规则中每个会话控制规则携带有对应的控制面网元的信息。In one embodiment, each of the M session control rules carries information of a corresponding control plane network element.
在一个实施例中,处理单元1602对M个会话控制规则进行处理,得到N个会话控制规则包括:In one embodiment, the processing unit 1602 processes the M session control rules to obtain N session control rules including:
将M个会话控制规则中对应同一控制面网元的会话控制规则确定为一组,得到K组会话控制规则,K为大于或等于2的整数;Determining the session control rules corresponding to the same control plane network element among the M session control rules as a group to obtain K groups of session control rules, where K is an integer greater than or equal to 2;
按照K组会话控制规则对应的控制面网元对K组会话控制规则进行排序,得到组排序表,组排序表包括N个会话控制规则。The K groups of session control rules are sorted according to the control plane network elements corresponding to the K groups of session control rules to obtain a group sorting table, where the group sorting table includes N session control rules.
在一个实施例中,M个会话控制规则中每个会话控制规则包括PDR,PDR包括至少一种标识,至少一种标识为至少一种数据包处理规则的标识,处理单元1602对M个会话控制规则进行处理,得到N个会话控制规则包括:In one embodiment, each of the M session control rules includes a PDR, the PDR includes at least one identifier, and the at least one identifier is an identifier of at least one data packet processing rule, and the processing unit 1602 controls the M sessions The rules are processed, and N session control rules are obtained, including:
根据M个会话控制规则确定A个会话控制规则,A个会话控制规则中每个会话控制规则只包至少一种标识中的一种标识,A为大于或等于M的整数;A session control rule is determined according to the M session control rules, and each session control rule in the A session control rules only includes at least one kind of identification, and A is an integer greater than or equal to M;
将A个会话控制规则中对应的控制面网元和数据包处理规则类型相同的会话控制规则确定为一组,得到B组会话控制规则;Determining a group of session control rules with the same type of control plane network elements and data packet processing rules corresponding to the A session control rules, to obtain a group B session control rules;
对B组会话控制规则进行排序,得到组排序表,组排序表包括N个会话控制规则。Sort the session control rules of group B to obtain a group sorting table, where the group sorting table includes N session control rules.
在一个实施例中,处理单元1602根据N个会话控制规则对数据进行处理包括:In one embodiment, the processing unit 1602 processing data according to the N session control rules includes:
按照组排序表确定N个会话控制规则中与数据匹配的PDI对应的会话控制规则,得到L个会话控制规则;Determine the session control rule corresponding to the PDI matching the data in the N session control rules according to the group sorting table, and obtain L session control rules;
按照在组排序表中的排序依次使用L个会话控制规则对数据进行处理。The L session control rules are used to process the data sequentially according to the sorting in the group sorting table.
有关上述接收单元1601和处理单元1602更详细的描述可以直接参考上述图10、图14和图15所示的方法实施例中UPF网元的相关描述直接得到,这里不加赘述。More detailed descriptions of the above receiving unit 1601 and processing unit 1602 can be obtained directly by referring to the relevant descriptions of the UPF network elements in the method embodiments shown in FIG. 10 , FIG. 14 and FIG. 15 .
基于上述网络架构,请参阅图17,图17是本申请实施例公开的另一种通信装置的结构示意图。如图17所示,该通信装置可以包括处理器1701、存储器1702、输入接口1703、输出接口1704和总线1705。存储器1702可以是独立存在的,可以通过总线1705与处理器1701相连接。存储器1702也可以和处理器1701集成在一起。其中,总线1705用于实现这些组件之间的连接。Based on the above network architecture, please refer to FIG. 17 , which is a schematic structural diagram of another communication device disclosed in an embodiment of the present application. As shown in FIG. 17 , the communication device may include a processor 1701 , a memory 1702 , an input interface 1703 , an output interface 1704 and a bus 1705 . The memory 1702 may exist independently, and may be connected to the processor 1701 through the bus 1705 . The memory 1702 may also be integrated with the processor 1701. Among them, the bus 1705 is used to realize the connection between these components.
在一个实施例中,该通信装置可以为UPF网元或者UPF网元内的模块(例如,芯片), 存储器1702中存储的计算机程序指令被执行时,该处理器1701用于控制接收单元1601执行上述实施例中执行的操作,该处理器1701还用于执行处理单元1602上述实施例中执行的操作,输入接口1703用于执行上述实施例中接收单元1601执行的操作,输出接口1704用于向该通信装置之外的其它通信装置输出信息。上述UPF网元或者UPF网元内的模块还可以用于执行上述图10、图14和图15方法实施例中UPF网元执行的各种方法,不再赘述。In one embodiment, the communication device may be a UPF network element or a module (eg, a chip) in the UPF network element. When the computer program instructions stored in the memory 1702 are executed, the processor 1701 is configured to control the receiving unit 1601 to execute For the operations performed in the above-mentioned embodiments, the processor 1701 is also used to perform the operations performed by the processing unit 1602 in the above-mentioned embodiments, the input interface 1703 is used to perform the operations performed by the receiving unit 1601 in the above-mentioned embodiments, and the output interface 1704 is used to send Other communication devices other than the communication device output information. The above-mentioned UPF network element or the modules in the UPF network element may also be used to execute various methods performed by the UPF network element in the above method embodiments of FIG. 10 , FIG. 14 , and FIG.
基于上述网络架构,请参阅图18,图18是本申请实施例公开的又一种通信装置的结构示意图。如图18所示,该通信装置可以包括输入接口1801、逻辑电路1802和输出接口1803。输入接口1801与输出接口1803通过逻辑电路1802相连接。其中,输入接口1801用于接收来自其它通信装置的信息,输出接口1803用于向其它通信装置输出、调度或者发送信息。逻辑电路1802用于执行除输入接口1801与输出接口1803的操作之外的操作,例如实现上述实施例中处理器1701实现的功能。其中,该通信装置可以为UPF网元或者UPF网元的模块。其中,有关输入接口1801、逻辑电路1802和输出接口1803更详细的描述可以直接参考上述方法实施例中UPF网元的相关描述直接得到,这里不加赘述。Based on the above network architecture, please refer to FIG. 18 , which is a schematic structural diagram of another communication device disclosed in an embodiment of the present application. As shown in FIG. 18 , the communication device may include an input interface 1801 , a logic circuit 1802 and an output interface 1803 . The input interface 1801 and the output interface 1803 are connected through the logic circuit 1802 . The input interface 1801 is used for receiving information from other communication devices, and the output interface 1803 is used for outputting, scheduling or sending information to other communication devices. The logic circuit 1802 is configured to perform operations other than the operations of the input interface 1801 and the output interface 1803, for example, to implement the functions implemented by the processor 1701 in the above-mentioned embodiment. Wherein, the communication device may be a UPF network element or a module of a UPF network element. The more detailed description about the input interface 1801 , the logic circuit 1802 and the output interface 1803 can be obtained directly by referring to the relevant description of the UPF network element in the above method embodiments, which will not be repeated here.
本申请实施例还公开一种计算机可读存储介质,其上存储有计算机指令,该计算机指令被执行时执行上述方法实施例中的方法。The embodiments of the present application further disclose a computer-readable storage medium, on which computer instructions are stored, and when the computer instructions are executed, the methods in the foregoing method embodiments are executed.
本申请实施例还公开一种包括计算机指令的计算机程序产品,该计算机指令被执行时执行上述方法实施例中的方法。The embodiment of the present application further discloses a computer program product including computer instructions, and when the computer instructions are executed, the methods in the foregoing method embodiments are executed.
本申请实施例还公开一种通信系统,该通信系统包括UPF网元和至少两个控制面网元,具体描述可以参考图10、图14-图15所示的通信方法。The embodiment of the present application also discloses a communication system, the communication system includes a UPF network element and at least two control plane network elements. For a specific description, reference may be made to the communication methods shown in FIG. 10 and FIG. 14-FIG. 15 .
以上所述的具体实施方式,对本申请的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本申请的具体实施方式而已,并不用于限定本申请的保护范围,凡在本申请的技术方案的基础之上,所做的任何修改、等同替换、改进等,均应包括在本申请的保护范围之内。The specific embodiments described above further describe the purpose, technical solutions and beneficial effects of the present application in detail. It should be understood that the above descriptions are only specific embodiments of the present application and are not intended to limit the The protection scope, any modifications, equivalent replacements, improvements, etc. made on the basis of the technical solutions of the present application shall be included within the protection scope of the present application.

Claims (19)

  1. 一种通信方法,其特征在于,包括:A communication method, comprising:
    接收M个会话控制规则,所述M个会话控制规则来自至少两个控制面网元,M为大于1的整数;receiving M session control rules, the M session control rules are from at least two control plane network elements, and M is an integer greater than 1;
    根据所述M个会话控制规则对数据进行处理。The data is processed according to the M session control rules.
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    对所述M个会话控制规则进行处理,得到N个会话控制规则,N为大于0的整数;Process the M session control rules to obtain N session control rules, where N is an integer greater than 0;
    所述根据所述M个会话控制规则对数据进行处理包括:The processing of the data according to the M session control rules includes:
    根据所述N个会话控制规则对数据进行处理。The data is processed according to the N session control rules.
  3. 根据权利要求2所述的方法,其特征在于,第一会话控制规则包括第一包检测规则PDR,所述第一PDR包括第一包检测信息PDI和第一标识信息,第二会话控制规则包括第二PDR,所述第二PDR包括第二PDI和第二标识信息,所述第一会话控制规则和所述第二会话控制规则为所述M个会话控制规则中来自不同控制面网元的两个会话控制规则,所述第一标识信息和所述第二标识信息包括至少一个数据包处理规则的标识;The method according to claim 2, wherein the first session control rule includes a first packet inspection rule PDR, the first PDR includes first packet inspection information PDI and first identification information, and the second session control rule includes A second PDR, where the second PDR includes a second PDI and second identification information, and the first session control rule and the second session control rule are the M session control rules from different control plane network elements Two session control rules, the first identification information and the second identification information include the identification of at least one packet processing rule;
    所述对所述M个会话控制规则进行处理,得到N个会话控制规则包括:The processing of the M session control rules to obtain N session control rules includes:
    当所述第一PDI与所述第二PDI相同时,根据所述第一会话控制规则和所述第二会话控制规则确定第三会话控制规则,所述第三会话控制规则包括第三PDR,所述第三PDR包括所述第一标识信息、所述第二标识信息以及所述第一PDI或所述第二PDI;或者When the first PDI is the same as the second PDI, a third session control rule is determined according to the first session control rule and the second session control rule, where the third session control rule includes a third PDR, the third PDR includes the first identification information, the second identification information, and the first PDI or the second PDI; or
    当所述第一PDI与所述第二PDI存在交集时,根据所述第一会话控制规则和所述第二会话控制规则确定第四会话控制规则、第五会话控制规则和第六会话控制规则,所述第四会话控制规则包括第四PDR,所述第四PDR包括所述第一PDI和所述第二PDI中的相同部分、所述第一标识信息和所述第二标识信息,所述第五会话控制规则包括第五PDR,所述第五PDR包括所述第一PDI中与所述第二PDI不同的部分和所述第一标识信息,所述第六会话控制规则包括第六PDR,所述第六PDR包括所述第二PDI中与所述第一PDR不同的部分和所述第二标识信息;When the first PDI and the second PDI have an intersection, a fourth session control rule, a fifth session control rule and a sixth session control rule are determined according to the first session control rule and the second session control rule , the fourth session control rule includes a fourth PDR, and the fourth PDR includes the same part of the first PDI and the second PDI, the first identification information and the second identification information, so The fifth session control rule includes a fifth PDR, the fifth PDR includes a part of the first PDI that is different from the second PDI and the first identification information, and the sixth session control rule includes a sixth PDR, the sixth PDR includes the part of the second PDI that is different from the first PDR and the second identification information;
    根据所述第三会话控制规则,或者所述第四会话控制规则、所述第五会话控制规则和所述第六会话控制规则,确定N个会话控制规则。N session control rules are determined according to the third session control rule, or the fourth session control rule, the fifth session control rule and the sixth session control rule.
  4. 根据权利要求3所述的方法,其特征在于,所述根据所述N个会话控制规则对数据进行处理包括:The method according to claim 3, wherein the processing data according to the N session control rules comprises:
    从所述N个会话控制规则中选取与数据匹配的PDI对应的会话控制规则;Select the session control rule corresponding to the PDI matched with the data from the N session control rules;
    使用选取的会话控制规则对所述数据进行处理。The data is processed using selected session control rules.
  5. 根据权利要求2所述的方法,其特征在于,所述M个会话控制规则中每个会话控制规则携带有对应的控制面网元的信息。The method according to claim 2, wherein each session control rule in the M session control rules carries information of a corresponding control plane network element.
  6. 根据权利要求2或5所述的方法,其特征在于,所述对所述M个会话控制规则进行处理,得到N个会话控制规则包括:The method according to claim 2 or 5, wherein the processing of the M session control rules to obtain N session control rules comprises:
    将所述M个会话控制规则中对应同一控制面网元的会话控制规则确定为一组,得到K组会话控制规则,K为大于或等于2的整数;Determining a group of session control rules corresponding to the same control plane network element in the M session control rules, to obtain K groups of session control rules, where K is an integer greater than or equal to 2;
    按照所述K组会话控制规则对应的控制面网元对所述K组会话控制规则进行排序,得到组排序表,所述组排序表包括N个会话控制规则。Sort the K groups of session control rules according to the control plane network elements corresponding to the K groups of session control rules to obtain a group sorting table, where the group sorting table includes N session control rules.
  7. 根据权利要求2或5所述的方法,其特征在于,所述M个会话控制规则中每个会话控制规则包括PDR,所述PDR包括至少一种标识,所述至少一种标识为至少一种数据包处理规则的标识,所述对所述M个会话控制规则进行处理,得到N个会话控制规则包括:The method according to claim 2 or 5, wherein each session control rule in the M session control rules includes a PDR, the PDR includes at least one kind of identification, and the at least one kind of identification is at least one kind of identification The identifier of the data packet processing rule, the processing of the M session control rules to obtain the N session control rules includes:
    根据所述M个会话控制规则确定A个会话控制规则,所述A个会话控制规则中每个会话控制规则只包所述至少一种标识中的一种标识,A为大于或等于M的整数;A session control rules are determined according to the M session control rules, and each session control rule in the A session control rules only includes one kind of identification among the at least one kind of identification, and A is an integer greater than or equal to M ;
    将所述A个会话控制规则中对应的控制面网元和数据包处理规则类型相同的会话控制规则确定为一组,得到B组会话控制规则;Determining a group of session control rules with the same type of control plane network elements and data packet processing rules corresponding to the A session control rules as group B to obtain session control rules in group B;
    对所述B组会话控制规则进行排序,得到组排序表,所述组排序表包括N个会话控制规则。Sort the session control rules of the B group to obtain a group sorting table, where the group sorting table includes N session control rules.
  8. 根据权利要求6或7所述的方法,其特征在于,所述根据所述N个会话控制规则对数据进行处理包括:The method according to claim 6 or 7, wherein the processing the data according to the N session control rules comprises:
    按照所述组排序表确定所述N个会话控制规则中与数据匹配的PDI对应的会话控制规则,得到L个会话控制规则;Determine the session control rules corresponding to the PDI matching the data in the N session control rules according to the group sorting table, and obtain L session control rules;
    按照在所述组排序表中的排序依次使用所述L个会话控制规则对所述数据进行处理。The data is processed using the L session control rules in sequence according to the ordering in the group ordering table.
  9. 一种通信装置,其特征在于,包括:A communication device, comprising:
    接收单元,用于接收M个会话控制规则,所述M个会话控制规则来自至少两个控制面网元,M为大于1的整数;a receiving unit, configured to receive M session control rules, the M session control rules are from at least two control plane network elements, and M is an integer greater than 1;
    处理单元,用于根据所述M个会话控制规则对数据进行处理。A processing unit, configured to process data according to the M session control rules.
  10. 根据权利要求9所述的装置,其特征在于,所述处理单元,还用于对所述M个会话控制规则进行处理,得到N个会话控制规则,N为大于0的整数;The device according to claim 9, wherein the processing unit is further configured to process the M session control rules to obtain N session control rules, where N is an integer greater than 0;
    所述处理单元根据所述M个会话控制规则对数据进行处理包括:The processing unit processing data according to the M session control rules includes:
    根据所述N个会话控制规则对数据进行处理。The data is processed according to the N session control rules.
  11. 根据权利要求10所述的装置,其特征在于,第一会话控制规则包括第一包检测规则PDR,所述第一PDR包括第一包检测信息PDI和第一标识信息,第二会话控制规则包括第二PDR,所述第二PDR包括第二PDI和第二标识信息,所述第一会话控制规则和所述第二会话控制规则为所述M个会话控制规则中来自不同控制面网元的两个会话控制规则,所述第一标识信息和所述第二标识信息包括至少一个数据包处理规则的标识;The apparatus according to claim 10, wherein the first session control rule includes a first packet inspection rule PDR, the first PDR includes first packet inspection information PDI and first identification information, and the second session control rule includes A second PDR, where the second PDR includes a second PDI and second identification information, and the first session control rule and the second session control rule are the M session control rules from different control plane network elements Two session control rules, the first identification information and the second identification information include the identification of at least one packet processing rule;
    所述处理单元对所述M个会话控制规则进行处理,得到N个会话控制规则包括:The processing unit processes the M session control rules, and obtains the N session control rules including:
    当所述第一PDI与所述第二PDI相同时,根据所述第一会话控制规则和所述第二会话控制规则确定第三会话控制规则,所述第三会话控制规则包括第三PDR,所述第三PDR包括所述第一标识信息、所述第二标识信息以及所述第一PDI或所述第二PDI;或者When the first PDI is the same as the second PDI, a third session control rule is determined according to the first session control rule and the second session control rule, where the third session control rule includes a third PDR, the third PDR includes the first identification information, the second identification information, and the first PDI or the second PDI; or
    当所述第一PDI与所述第二PDI存在交集时,根据所述第一会话控制规则和所述第二会话控制规则确定第四会话控制规则、第五会话控制规则和第六会话控制规则,所述第四会话控制规则包括第四PDR,所述第四PDR包括所述第一PDI和所述第二PDI中的相同部分、所述第一标识信息和所述第二标识信息,所述第五会话控制规则包括第五PDR,所述第五 PDR包括所述第一PDI中与所述第二PDI不同的部分和所述第一标识信息,所述第六会话控制规则包括第六PDR,所述第六PDR包括所述第二PDI中与所述第一PDR不同的部分和所述第二标识信息;When there is an intersection between the first PDI and the second PDI, determine a fourth session control rule, a fifth session control rule and a sixth session control rule according to the first session control rule and the second session control rule , the fourth session control rule includes a fourth PDR, and the fourth PDR includes the same part of the first PDI and the second PDI, the first identification information and the second identification information, so The fifth session control rule includes a fifth PDR, the fifth PDR includes a part of the first PDI that is different from the second PDI and the first identification information, and the sixth session control rule includes a sixth PDR, the sixth PDR includes the part of the second PDI that is different from the first PDR and the second identification information;
    根据所述第三会话控制规则,或者所述第四会话控制规则、所述第五会话控制规则和所述第六会话控制规则,确定N个会话控制规则。N session control rules are determined according to the third session control rule, or the fourth session control rule, the fifth session control rule and the sixth session control rule.
  12. 根据权利要求11所述的装置,其特征在于,所述处理单元根据所述N个会话控制规则对数据进行处理包括:The apparatus according to claim 11, wherein the processing unit processing the data according to the N session control rules comprises:
    从所述N个会话控制规则中选取与数据匹配的PDI对应的会话控制规则;Select the session control rule corresponding to the PDI matched with the data from the N session control rules;
    使用选取的会话控制规则对所述数据进行处理。The data is processed using selected session control rules.
  13. 根据权利要求10所述的装置,其特征在于,所述M个会话控制规则中每个会话控制规则携带有对应的控制面网元的信息。The apparatus according to claim 10, wherein each session control rule in the M session control rules carries information of a corresponding control plane network element.
  14. 根据权利要求10或13所述的装置,其特征在于,所述处理单元对所述M个会话控制规则进行处理,得到N个会话控制规则包括:The device according to claim 10 or 13, wherein the processing unit processes the M session control rules, and obtaining the N session control rules comprises:
    将所述M个会话控制规则中对应同一控制面网元的会话控制规则确定为一组,得到K组会话控制规则,K为大于或等于2的整数;Determining a group of session control rules corresponding to the same control plane network element in the M session control rules, to obtain K groups of session control rules, where K is an integer greater than or equal to 2;
    按照所述K组会话控制规则对应的控制面网元对所述K组会话控制规则进行排序,得到组排序表,所述组排序表包括N个会话控制规则。Sort the K groups of session control rules according to the control plane network elements corresponding to the K groups of session control rules to obtain a group sorting table, where the group sorting table includes N session control rules.
  15. 根据权利要求10或13所述的装置,其特征在于,所述M个会话控制规则中每个会话控制规则包括PDR,所述PDR包括至少一种标识,所述至少一种标识为至少一种数据包处理规则的标识,所述处理单元对所述M个会话控制规则进行处理,得到N个会话控制规则包括:The apparatus according to claim 10 or 13, wherein each session control rule in the M session control rules includes a PDR, the PDR includes at least one identifier, and the at least one identifier is at least one The identifier of the data packet processing rule, the processing unit processes the M session control rules, and obtains the N session control rules including:
    根据所述M个会话控制规则确定A个会话控制规则,所述A个会话控制规则中每个会话控制规则只包所述至少一种标识中的一种标识,A为大于或等于M的整数;A session control rules are determined according to the M session control rules, and each session control rule in the A session control rules only includes one kind of identification among the at least one kind of identification, and A is an integer greater than or equal to M ;
    将所述A个会话控制规则中对应的控制面网元和数据包处理规则类型相同的会话控制规则确定为一组,得到B组会话控制规则;Determining a group of session control rules with the same type of control plane network elements and data packet processing rules corresponding to the A session control rules, to obtain a group B session control rules;
    对所述B组会话控制规则进行排序,得到组排序表,所述组排序表包括N个会话控制规则。Sort the session control rules of the B group to obtain a group sorting table, where the group sorting table includes N session control rules.
  16. 根据权利要求14或15所述的装置,其特征在于,所述处理单元根据所述N个会话控制规则对数据进行处理包括:The apparatus according to claim 14 or 15, wherein the processing unit processing the data according to the N session control rules comprises:
    按照所述组排序表确定所述N个会话控制规则中与数据匹配的PDI对应的会话控制规则,得到L个会话控制规则;Determine, according to the group sorting table, the session control rules corresponding to the PDIs that match the data in the N session control rules, and obtain L session control rules;
    按照在所述组排序表中的排序依次使用所述L个会话控制规则对所述数据进行处理。The data are processed sequentially using the L session control rules according to the ordering in the group ordering table.
  17. 一种通信装置,其特征在于,包括处理器、存储器、输入接口和输出接口,所述输入接口用于接收来自所述通信装置之外的其它通信装置的信息,所述输出接口用于向所述通信装置之外的其它通信装置输出信息,所述处理器调用所述存储器中存储的计算机程序实现如权利要求1-8任一项所述的方法。A communication device, characterized in that it comprises a processor, a memory, an input interface and an output interface, the input interface is used to receive information from other communication devices other than the communication device, and the output interface is used to send information to all communication devices. Other communication devices other than the communication device output information, and the processor invokes the computer program stored in the memory to implement the method according to any one of claims 1-8.
  18. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算 机程序或计算机指令,当所述计算机程序或计算机指令被运行时,实现如权利要求1-8任一项所述的方法。A computer-readable storage medium, characterized in that, a computer program or computer instruction is stored in the computer-readable storage medium, and when the computer program or computer instruction is executed, any one of claims 1-8 is realized. the method described.
  19. 一种芯片,其特征在于,包括处理器,用于执行存储器中存储的程序,当所述程序被执行时,使得所述芯片执行如权利要求1-8任一项所述的方法。A chip, characterized in that it includes a processor for executing a program stored in a memory, and when the program is executed, causes the chip to execute the method according to any one of claims 1-8.
PCT/CN2021/076115 2021-02-08 2021-02-08 Communication method and device and computer readable storage medium WO2022165857A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/076115 WO2022165857A1 (en) 2021-02-08 2021-02-08 Communication method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/076115 WO2022165857A1 (en) 2021-02-08 2021-02-08 Communication method and device and computer readable storage medium

Publications (1)

Publication Number Publication Date
WO2022165857A1 true WO2022165857A1 (en) 2022-08-11

Family

ID=82740738

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/076115 WO2022165857A1 (en) 2021-02-08 2021-02-08 Communication method and device and computer readable storage medium

Country Status (1)

Country Link
WO (1) WO2022165857A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109548063A (en) * 2017-09-20 2019-03-29 华为技术有限公司 Handle method, apparatus, equipment and the storage medium of message
CN109891830A (en) * 2016-11-04 2019-06-14 华为技术有限公司 A kind of function dispatching method, equipment and system
WO2019186504A1 (en) * 2018-03-29 2019-10-03 Telefonaktiebolaget Lm Ericsson (Publ) Methods for support of user plane separation and user plane local offloading for 5g non-3gpp access

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109891830A (en) * 2016-11-04 2019-06-14 华为技术有限公司 A kind of function dispatching method, equipment and system
CN109548063A (en) * 2017-09-20 2019-03-29 华为技术有限公司 Handle method, apparatus, equipment and the storage medium of message
WO2019186504A1 (en) * 2018-03-29 2019-10-03 Telefonaktiebolaget Lm Ericsson (Publ) Methods for support of user plane separation and user plane local offloading for 5g non-3gpp access

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ANONYMOUS: "3rd Generation Partnership Project; Technical Specification Group Core Network and Terminals; Interface between the Control Plane and the User Plane Nodes; Stage 3 (Release 16)", 3GPP STANDARD; TECHNICAL SPECIFICATION; 3GPP TS 29.244, vol. CT WG4, no. V16.5.0, 24 September 2020 (2020-09-24), pages 1 - 313, XP051960931 *

Similar Documents

Publication Publication Date Title
US20210274436A1 (en) Resource information sending method, first network element and system
US9113400B2 (en) Method and apparatus for offloading packet traffic from LTE network to WLAN using DPI
CN112913212A (en) Control of user plane functions with control plane-user plane separation
US20220109962A1 (en) Multicast communication method, and apparatus and system
WO2021223507A1 (en) Communication method and apparatus, and chip
CN111901135A (en) Data analysis method and device
WO2020048469A1 (en) Communication method and apparatus
WO2020200254A1 (en) Communication method and apparatus
WO2020108002A1 (en) Transmission policy determination method, policy control method, and device
EP3790308B1 (en) Business service quality monitoring method, device and system
WO2021227559A1 (en) Communication method, apparatus, and system
KR20210024160A (en) Communication method and device
WO2021140464A1 (en) TSC-5G QoS MAPPING WITH CONSIDERATION OF ASSISTANCE TRAFFIC INFORMATION AND PCC RULES FOR TSC TRAFFIC MAPPING AND 5G QoS FLOWS BINDING
US20230275872A1 (en) Communication method and apparatus, and computer-readable storage medium
WO2022082724A1 (en) Method and apparatus for multicast service support in time sensitive network
US20230091077A1 (en) Communication method and apparatus, and computer-readable storage medium
JP2022530333A (en) Communication methods, communication devices, and communication systems
US20220263879A1 (en) Multicast session establishment method and network device
WO2022222817A1 (en) Method and apparatus for selecting edge application server
WO2022165857A1 (en) Communication method and device and computer readable storage medium
WO2022267652A1 (en) Communication method, communication apparatus, and communication system
WO2022222745A1 (en) Communication method and apparatus
CN113543216B (en) Method, device and system for transmitting media message
US10673651B2 (en) Method and device for quality of service regulation
Phan et al. Demonstration of LAN-type Communication for an Industrial 5G Network

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21923867

Country of ref document: EP

Kind code of ref document: A1