WO2023000936A1 - 一种数据处理方法、网元设备以及可读存储介质 - Google Patents

一种数据处理方法、网元设备以及可读存储介质 Download PDF

Info

Publication number
WO2023000936A1
WO2023000936A1 PCT/CN2022/102058 CN2022102058W WO2023000936A1 WO 2023000936 A1 WO2023000936 A1 WO 2023000936A1 CN 2022102058 W CN2022102058 W CN 2022102058W WO 2023000936 A1 WO2023000936 A1 WO 2023000936A1
Authority
WO
WIPO (PCT)
Prior art keywords
message processing
rule
network element
processing rule
application server
Prior art date
Application number
PCT/CN2022/102058
Other languages
English (en)
French (fr)
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 EP22845101.9A priority Critical patent/EP4246936A4/en
Publication of WO2023000936A1 publication Critical patent/WO2023000936A1/zh
Priority to US18/202,696 priority patent/US20230300106A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/58Message adaptation for wireless communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks

Definitions

  • the present application relates to the technical field of communications, and in particular to a data processing method, network element equipment, and a readable storage medium.
  • Edge Computing edge computing
  • the applications in the terminal equipment can be obtained through the edge application server (Edge Application Server, EAS).
  • Edge Application Service Before obtaining the edge application service, the application in the terminal device needs to find the IP (Internet Protocol) address of the appropriate edge application server.
  • the existing edge application server discovery (EAS Discovery) method is based on the domain name system (Domain Name System, DNS) mechanism query to obtain the IP address of the edge application server.
  • DNS Domain Name System
  • the Session Management Function (SMF) in the 5G core network will configure DNS message processing rules on the Edge Application Server Discovery Function (EASDF) to forward and process DNS messages.
  • SASDF Edge Application Server Discovery Function
  • this rule is sent based on a single Protocol Data Unit (PDU) session of a single terminal device, that is to say, for different PDU sessions of the same UE, DNS messages will be sent in each PDU session Processing rules; for PDU sessions of different UEs, DNS message processing rules will also be issued in the PDU session.
  • PDU Protocol Data Unit
  • SMF and EASDF need to interact to update DNS message processing rules to process the corresponding messages.
  • the embodiment of the present application provides a data processing method, a network element device, and a readable storage medium, which can improve the domain name system message processing efficiency.
  • An embodiment of the present application provides a data processing method on the one hand, including:
  • the session management network element obtains a node-level message processing rule set, obtains rule activation conditions, and sends the message processing rule set to the edge application server to discover the network element;
  • the message processing rule set includes one or more message processing rules;
  • the session management network element determines the effective message processing rule in the message processing rule set according to the rule activation condition, determines the rule identifier corresponding to the effective message processing rule as the effective rule identifier, and sets the effective rule
  • the identifier is sent to the edge application server to discover the network element, so that the edge application server discovers that the network element processes the received domain name system message according to the message processing rule corresponding to the valid rule identifier during the protocol data unit session.
  • An embodiment of the present application provides a data processing method on the one hand, including:
  • the policy control network element generates a node-level message processing rule set, and generates rule activation conditions; the message processing rule set includes one or more message processing rules;
  • the policy control network element sends the message processing rule set and the rule activation condition to the session management network element, so that when the session management network element subsequently establishes a protocol data unit session, it determines the effective rule set in the message processing rule set according to the rule activation condition.
  • a message processing rule determining a rule identifier corresponding to a valid message processing rule as a valid rule identifier, and sending the valid rule identifier to the edge application server to discover network elements;
  • the policy control network element sends the message processing rule set to the edge application server to discover the network element, so that the edge application server discovers that the network element can process the received message according to the message processing rule corresponding to the effective rule identifier during the protocol data unit session.
  • Incoming Domain Name System messages are processed.
  • An embodiment of the present application provides a data processing method on the one hand, including:
  • the edge application server When the session management network element and the edge application server discover the network element to establish a connection, the edge application server discovers that the network element acquires a node-level message processing rule set; the message processing rule set includes one or more message processing rules;
  • the edge application server discovers that the network element obtains the valid rule identifier sent by the session management network element; the valid rule identifier refers to the rule identifier corresponding to the valid message processing rule; the valid message processing rule is determined by Determined by the session management network element in the message processing rule set according to the rule activation condition;
  • the edge application server When the edge application server discovers that a network element has received a Domain Name System message, the edge application server discovers that the network element obtains the target message processing rule from one or more message processing rules contained in the message processing rule set according to the effective rule identifier, and according to the target Message processing rules process Domain Name System messages.
  • An embodiment of the present application provides a network element device, including:
  • the obtaining module is used for the session management network element to obtain a node-level message processing rule set, obtain rule activation conditions, and send the message processing rule set to the edge application server to discover the network element;
  • the message processing rule set includes one or more message processing rules rule;
  • the activation module is used to determine the effective message processing rule in the message processing rule set according to the rule activation condition when the protocol data unit session is established, determine the rule identifier corresponding to the effective message processing rule as the effective rule identifier, and identify the effective rule
  • the identifier is sent to the edge application server to discover the network element, so that the edge application server discovers that the network element processes the received domain name system message according to the message processing rule corresponding to the effective rule identifier during the protocol data unit session.
  • An embodiment of the present application provides a network element device, including:
  • the generation module is used to generate a node-level message processing rule set for policy control network elements, and generate rule activation conditions; the message processing rule set includes one or more message processing rules;
  • the first sending module is used to send the message processing rule set and the rule activation condition to the session management network element, so that when the session management network element subsequently establishes the protocol data unit session, according to the rule activation condition in the message processing rule set Determine a valid message processing rule, determine the rule identifier corresponding to the valid message processing rule as the valid rule identifier, and send the valid rule identifier to the edge application server to discover the network element;
  • the second sending module is used to send the message processing rule set to the edge application server to discover the network element, so that the edge application server discovers the message processing rule corresponding to the effective rule identifier of the network element during the protocol data unit session, Process the received Domain Name System message.
  • An embodiment of the present application provides a network element device, including:
  • the first acquisition module is used for when the session management network element and the edge application server discover the network element to establish a connection, the edge application server discovers that the network element acquires a node-level message processing rule set; the message processing rule set includes one or more message processing rule;
  • the second obtaining module is used to obtain the effective rule identifier sent by the session management network element when the protocol data unit session is established; the effective rule identifier refers to the rule identifier corresponding to the effective message processing rule; the effective message processing rule is determined by the session Determined by the management network element in the message processing rule set according to the rule activation condition;
  • the third obtaining module is used to obtain the target message processing rule from one or more message processing rules contained in the message processing rule set according to the effective rule identifier when the edge application server finds that the network element has received the domain name system message, and according to the target message Processing rules process Domain Name System messages.
  • An embodiment of the present application provides a network element device, including: a processor, a memory, and a network interface;
  • the above-mentioned processor is connected to the above-mentioned memory and the above-mentioned network interface, wherein the above-mentioned network interface is used to provide data communication network elements, the above-mentioned memory is used to store computer programs, and the above-mentioned processor is used to call the above-mentioned computer programs so that the network element equipment executes the present application Methods in the examples.
  • An embodiment of the present application provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and the computer program is adapted to be loaded by a processor and execute the method in the embodiment of the present application.
  • An aspect of the embodiments of the present application provides a computer program product or computer program, the computer program product or computer program includes computer instructions, and the computer instructions are adapted to be loaded by a processor and execute the method in the embodiments of the present application.
  • the embodiment of the present application can support the session management network element to obtain the node-level message processing rule set, obtain the rule activation condition at the same time, and send the message processing rule set to the edge application server to discover the network element, and then the session management network element can be in the protocol
  • the effective message processing rule is determined according to the rule activation conditions, and the corresponding effective rule identifier can be sent to the edge application server to discover the network element, and the subsequent edge application server discovers that the network element can be used during the protocol data unit session.
  • the received domain name system message is processed according to the message processing rule corresponding to the effective rule identifier.
  • the session management network element will be triggered to make a judgment based on the rule activation condition, so as to select a valid message applicable to the protocol data unit session from the message processing rule set Processing rules, so the enabling of message processing rules is flexible and controllable, which can improve the efficiency of domain name system message processing.
  • FIG. 1 is a schematic diagram of a system architecture provided by an embodiment of the present application.
  • FIG. 2a-FIG. 2c are schematic diagrams of scenarios of a data processing method provided by an embodiment of the present application.
  • Fig. 3 is a schematic flow chart of a data processing method provided by an embodiment of the present application.
  • FIG. 4 is a schematic diagram of a scenario of a data processing method provided by an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a scenario of a data processing method provided by an embodiment of the present application.
  • FIG. 6 is a schematic diagram of a scenario of a data processing method provided by an embodiment of the present application.
  • FIG. 7 is a schematic flow chart of a data processing method provided by an embodiment of the present application.
  • FIG. 8 is a schematic flowchart of a data processing method provided in an embodiment of the present application.
  • FIG. 9 is a schematic diagram of a scenario of a data processing method provided by an embodiment of the present application.
  • FIG. 10 is a schematic flowchart of a data processing method provided in an embodiment of the present application.
  • FIG. 11 is a schematic structural diagram of a network element device provided in an embodiment of the present application.
  • FIG. 12 is a schematic structural diagram of a network element device provided in an embodiment of the present application.
  • FIG. 13 is a schematic structural diagram of a network element device provided in an embodiment of the present application.
  • FIG. 14 is a schematic structural diagram of a network element device provided in an embodiment of the present application.
  • FIG. 15 is a schematic structural diagram of a network element device provided in an embodiment of the present application.
  • Fig. 16 is a schematic structural diagram of a network element device provided by an embodiment of the present application.
  • FIG. 1 is a schematic diagram of a system architecture provided by an embodiment of the present application.
  • the system architecture can be applied to business scenarios supporting edge computing.
  • Edge computing refers to a platform that integrates network, computing storage, and application core capabilities on the edge of the network close to the source of objects or data, and provides edge intelligent services nearby to meet the needs of industry digitization in agile connection, real-time business, data optimization, application intelligence, security and Key requirements in terms of privacy protection, etc.
  • Edge computing enables carrier and third-party services to be hosted close to the access point of the end device, enabling efficient service delivery by reducing end-to-end latency and load on the transport network.
  • the fifth generation mobile communication technology is a new generation of broadband mobile communication technology featuring high speed, low delay and large connection.
  • the International Telecommunication Union (ITU) defines typical scenarios in 5G applications, including: enhanced mobile broadband (Enhanced Mobile Broadband, eMBB), ultra-reliable and low-latency communication (Ultra-relaible and Low Latency Communication, URLLC), ultra-reliable and low-latency Communication and Massive Machine Type of Communication (mMTC), Vehicle to Everything (V2X), etc.
  • eMBB enhanced mobile broadband
  • URLLC ultra-reliable and low-latency Communication
  • mMTC Massive Machine Type of Communication
  • V2X Vehicle to Everything
  • the aforementioned eMBB scenarios provide high-traffic mobile broadband services, such as high-speed downloads, high-definition video, virtual reality (Virtual Reality, VR)/augmented reality (Augmented Reality, AR), etc.
  • URLLC scenarios and V2X scenarios can provide ultra-high reliability and ultra-low latency communications, such as autonomous driving, industrial control, telemedicine, etc., which require end-to-end high reliability of 99.999% and end-to-end ultra-low latency less than 1ms Low latency. Therefore, these business requirements also need to sink services to the edge of the network to reduce network latency caused by network transmission and multi-level service forwarding.
  • edge computing As can be seen from the above, the promotion of 5G has increased the demand for edge computing.
  • edge computing the combination of edge computing and 5G can help networks that encounter sudden and continuous traffic surges solve bandwidth, delay, and security issues.
  • the system architecture may include an edge data center 100 and a terminal cluster.
  • the terminal cluster may include: terminal equipment 200a, terminal equipment 200b, terminal equipment 200c, ..., terminal equipment 200n, and the edge data center 100 may include multiple Edge application server (EAS), such as edge application server 100a, edge application server 100b, . . . , edge application server 100m.
  • EAS Edge application server
  • There may be a communication connection between the terminal clusters for example, a communication connection exists between the terminal device 200a and the terminal device 200b, and a communication connection exists between the terminal device 200a and the terminal device 200n.
  • There may be a communication connection between the edge application servers for example, a communication connection between the edge application server 100a and the edge application server 100b.
  • any terminal device in the terminal cluster may have a communication connection with any edge application server in the edge data center 100, for example, there is a communication connection between the terminal device 200a and the edge application server 100a.
  • the above-mentioned communication connection is not limited to a connection method, and may be through a 4G wireless access method, or may be through a 5G wireless access method, etc., and this application does not make a limitation here.
  • the system architecture shown in Figure 1 may also include an access network, a bearer network (transmission network) and a core network, and multiple base stations (such as 5G base stations gNB( gNodeB)) is mainly responsible for the access and management of terminal equipment on the wireless side;
  • the bearer network can be composed of a series of switching and routing equipment of operators, and is mainly used to transmit control signaling and user data between the base station and the core network;
  • the core network can deploy a series of core network elements ("network elements" can also be called “network functions”). These network elements cooperate to perform authentication, billing, and mobility management on terminal devices.
  • the network and bearer network are expanded and described.
  • SMF Session Management Function, session management function: mainly responsible for session establishment, deletion, user plane selection and control, UE IP (UE, User Equipment, that is, terminal equipment or user equipment; IP, Internet Protocol, that is, Internet Protocol ) address allocation, etc.
  • UE IP UE, User Equipment, that is, terminal equipment or user equipment
  • IP Internet Protocol, that is, Internet Protocol
  • the SMF may also be called a session management network element.
  • UPF User Plane Function, user plane function: mainly responsible for data routing and forwarding of the user plane of the mobile core network, and interconnection with external data networks (Data Network, such as operator services, Internet or third-party services, etc.) .
  • Data Network such as operator services, Internet or third-party services, etc.
  • UPF is a module for processing data in the 5G core network.
  • PCF Policy Control Function, Policy Control Function
  • UDR Unified Data Repository
  • UDR Unified Data Repository, Unified Data Repository: It is mainly responsible for the storage and retrieval of structured services, supports UDM (Unified Data Management, unified data management) storage and retrieval of contract data, and supports PCF storage and retrieval of policy data, etc. .
  • the UDR may also be called a unified data storage network element.
  • EASDF Electronic Application Server Discovery Function, Edge Application Server Discovery Function
  • EASDF can also be called the edge application server discovers network elements, and its main functions are as follows:
  • (b3) DNS message is forwarded to C-DNS server (Central DNS server, center domain name system server) or L-DNS server (Local DNS server, local domain name system server) to perform DNS query;
  • C-DNS server Central DNS server, center domain name system server
  • L-DNS server Local DNS server, local domain name system server
  • EASDF can be connected with PSA (PDU Session Anchor, that is, PDU (Protocol Data Unit, protocol data unit) session anchor) UPF through the data plane interface, and can be used to transmit DNS messages exchanged with UE.
  • PSA PDU Session Anchor
  • PDU Protocol Data Unit
  • protocol data unit protocol data unit
  • multiple EASDF instances can be deployed in a PLMN (Public Land Mobile Network, public land mobile network), and the interaction between the network functions of the 5G core network and EASDF takes place in a PLMN.
  • PLMN Public Land Mobile Network, public land mobile network
  • a terminal device such as any one of the terminal device 200a, the terminal device 200b, the terminal device 200c, and the terminal device 200n
  • a data network Data Network, DN
  • the terminal device can initiate an access request, and the base station can forward the requested service flow to the core network element UPF in the 5G core network (5G Core, which can be referred to as 5GC for short), and then through the core After the network element UPF forwards, it is sent to the external data network, and other core network elements in the 5G core network are responsible for processing signaling and controlling the entire process.
  • 5G Core 5G Core
  • edge computing can be used to meet different business needs.
  • an application service may be provided by multiple edge application servers (such as edge application server 100a, edge application server 100b, and edge application server 100m in Figure 1) that are usually deployed at different sites.
  • these multiple edge application servers hosting services may use a single IP address or different IP addresses.
  • the application server of an application may be deployed in the central application server, or may be deployed in the edge application server.
  • edge application server In order to route the business flow of the application to the edge application server (Edge Application Server), the terminal device needs to know the IP address of the edge application server that provides services for the application, and the terminal device can perform discovery to obtain a suitable edge application server (such as The IP address of the nearest edge application server) so that traffic can be routed locally to the edge application server, and service latency, traffic routing paths, and user service experience can be optimized.
  • edge application server discovery is a process in which terminal devices use the domain name system to find the IP address of a suitable edge application server.
  • the Domain Name System is a service of the Internet, which serves as a distributed database that maps domain names and IP addresses to each other, enabling users to access the Internet more conveniently.
  • the 5G core network supports the PDU connection service between the terminal device and the data network.
  • the PDU connection service is embodied in the form of a PDU session (that is, a protocol data unit session).
  • a PDU session refers to the communication process between a terminal device and the data network. , that is to say, after the PDU session is established, the data transmission channel between the terminal device and the data network is also established.
  • the terminal device 200a can initiate a PDU session establishment request to the core network element SMF in the 5G core network.
  • the core The network element SMF can obtain the edge application server deployment information through the PDU session-related policy information provided by the core network element PCF, and then the core network element SMF can select the core network element EASDF according to relevant rules, and the core network element EASDF The address of is provided to the terminal device 200a as the address of the DNS server of the PDU session. Further, the terminal device 200a may send the DNS query request message to the core network element EASDF. It should be noted that the core network element SMF can configure DNS message processing rules on the core network element EASDF, so that when the core network element EASDF detects a DNS message, it forwards the DNS message of the terminal device 200a to the relevant DNS server, and/or report when DNS messages are detected.
  • DNS message processing rules include information for DNS message detection and related operations.
  • the core network element SMF and the core network element EASDF can interact multiple times, so that the core network element EASDF can correctly process DNS request and DNS response messages, and make the core network
  • the network element SMF can correctly establish the distribution path and set the distribution rules, and then can return the IP address of the edge application server to the terminal device 200a.
  • the terminal device 200a After receiving the IP address, the terminal device 200a can use it as a service access address to access the The edge application server corresponding to the IP address. Assuming that the edge application server 100a is finally found through the above process, the edge application server 100a may provide corresponding edge application services for the terminal device 200a.
  • the nearby deployment of mobile edge computing can process ultra-large bandwidth traffic nearby, which can greatly reduce the impact of large bandwidth on the backbone network.
  • Typical scenarios are as follows: Stadium game live broadcast, concert live broadcast, mobile content distribution, etc.
  • the core network element SMF in the embodiment of the present application can obtain a node level (node level) message processing rule set and rule activation conditions, and can send the message processing rule set to the core network element EASDF , where the message processing rule set may include one or more DNS message processing rules. Further, when the PDU session is established, the core network element SMF can determine the effective message processing rule in the above message processing rule set according to the rule activation condition, and then the core network element EASDF can process the PDU session according to the effective message processing rule. Received DNS messages are processed.
  • the sending condition of the node-level message processing rule set does not depend on the establishment of the PDU session, that is, after the core network element EASDF receives the message processing rule set, if no rule update is involved, it can be In all subsequent PDU sessions, the received DNS messages are processed according to the message processing rule set, that is, the message processing rule set can be applied to the processing of all DNS messages sent to the core network element EASDF without the need for The core network element SMF frequently issues rules.
  • the use conditions of the rule activation conditions depend on the creation of the PDU session, that is, the rule activation conditions are applicable to all PDU sessions, that is, each time a PDU session is established, the core network element SMF can activate the conditions according to the rules, in the message An effective message processing rule applicable to the PDU session is selected from the processing rule set, and the corresponding effective rule identifier is notified to the core network element EASDF without re-delivering a new DNS message processing rule.
  • the above terminal devices that can be used for edge computing may include terminal application products in civil, commercial, industrial, military and other fields, such as smart phones, tablet computers, notebook computers, palmtop computers, mobile internet devices (mobile internet devices, MID), wearable devices (such as smart watches, smart bracelets, etc.), smart computers, smart cars, smart homes, drones, ATM machines, cameras, traffic lights, generators or various types of sensors, etc.
  • the edge application server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, and can also provide cloud database, cloud service, cloud computing, cloud function, cloud storage, network service, cloud communication , middleware services, domain name services, security services, CDN, and cloud servers for basic cloud computing services such as big data and artificial intelligence platforms.
  • the terminal device and the edge application server may be directly or indirectly connected in a wired or wireless manner, which is not limited in this embodiment of the present application.
  • FIG. 2a-FIG. 2c are schematic diagrams of scenarios of a data processing method provided by an embodiment of the present application.
  • the implementation process of the data processing method is mainly carried out in the 5G core network.
  • the session management network element 300a ie SMF
  • the message processing rule set 300b and the rule activation condition 300c can be managed by the session
  • the generation by the network element 300a may also be generated by other core network elements (such as policy control network elements) in the core network 300, which is not limited in this embodiment of the present application.
  • the message processing rule set 300b may include one or more message processing rules
  • the rule activation condition 300c may include one or more rule activation conditions
  • one message processing rule corresponds to one or more rule activation conditions
  • the embodiment of the present application There is no limit to the specific number of message processing rules and rule activation conditions.
  • the edge application server discovers that after the network element 300d receives the message processing rule set 300b, it can use the message processing rule set 300b to process the subsequently received domain name system messages (namely DNS messages), and the message processing rule set 300b can process any Any protocol data unit session of an end device is applicable.
  • the session management network element 300a will set corresponding rule activation conditions for each message processing rule, that is, for a protocol data unit session, the edge application server discovers that the network element Which message processing rules in the message processing rule set 300b will be used by 300d needs to be judged by the session management network element 300a first. For details, please refer to FIG. Be explained. As shown in FIG.
  • the terminal device 400 initiates a PDU session establishment request to the core network 300, such as PDU session A
  • the session management network element 300a can activate the condition 300c according to the rules
  • Valid message processing rules are determined in the message processing rule set 300b.
  • the message processing rule set 300b includes M message processing rules, which are respectively message processing rules B1, message processing rules B2, ..., message processing rules BM, wherein, M is an integer greater than 1.
  • the rule activation condition 300c may include N rule activation conditions (N is an integer greater than 1), which are respectively the rule activation condition C1, the rule activation condition C2, ..., the rule activation condition CN, and
  • N is an integer greater than 1
  • a message processing rule may correspond to one or more rule activation conditions, or one rule activation condition may correspond to one or more message processing rules.
  • message processing rule B1 corresponds to rule activation condition C1
  • message processing rule B2 corresponds to rule activation condition C2 or message processing rule C3, ..., message processing rule B4 and message processing rule BM both correspond to rule activation condition CN
  • session management The network element 300a can match the protocol data unit session A with the above-mentioned rule activation conditions C1, rule activation conditions C2, ..., rule activation conditions CN, and then can process the message associated with the matched one or more rule activation conditions
  • the rule is determined to be the valid message processing rule 301b, and then the session management network element 300a can determine the rule identifier corresponding to the valid message processing rule 301b as the valid rule identifier 302b, and can send the valid rule identifier 302b to the edge application server to find Network element 300d.
  • the edge application server can process the received domain name system message according to the message processing rule corresponding to the valid rule identifier 302b during the protocol data unit session A . Please also refer to FIG. 2c. As shown in FIG. 2c, the edge application server finds that the network element 300d can determine the message processing rule corresponding to the rule identifier that is the same as the effective rule identifier 302b in the message processing rule set 300b as an effective message processing rule.
  • the valid message processing rule 303b is applicable to all domain name system messages in the protocol data unit session A, and the valid message processing rule 303b is the same as the above valid message processing rule 301b.
  • the effective message processing rule 303b includes multiple effective message processing rules. It can be understood that during the process of the protocol data unit session A, multiple domain name system messages will be generated, such as domain name system message A1, domain name system message A2 , ..., domain name system message AS (S is an integer greater than 1), these domain name system messages may include query request message types and query response message types, for example, domain name system message A1 may be a domain name system query request message sent by terminal device 400 .
  • the edge application server discovers that the network element 300d can respectively obtain target message processing rules applicable to each domain name system message from the multiple effective message processing rules in the effective message processing rules 303b, and then the edge application server finds that the network element 300d can Each domain name system message is processed separately according to the corresponding target message processing rule.
  • the valid message processing rules 303b include T valid message processing rules, which are message processing rules X 1 , message processing rules X 2 , ..., message processing rules X T , where T is greater than 1 is an integer
  • the edge application server finds that when the network element 300d receives the domain name system message A1, it can match the domain name system message A1 with T message processing rules in the effective message processing rules 303b, and match the matched message processing rules Determined as the candidate message processing rule corresponding to domain name system message A1, if there is one candidate message processing rule at this time, then the candidate message processing rule can be directly determined as the target message processing rule corresponding to domain name system message A1; if the candidate message processing rule is If there are multiple processing rules, the target message processing rule corresponding to Domain Name System message A1 can be obtained from the candidate message processing rules.
  • the edge The application server finds that the network element 300d can be sorted according to the priority of the rules corresponding to the message processing rule X 1 and message processing rule X 2 , and selects the message processing rule with the highest rule priority from these two message processing rules as the domain name system message A1 corresponding The target message processing rules for . It should be noted that other methods may also be used to determine the target message processing rule among multiple candidate message processing rules, which is not limited in this embodiment of the present application.
  • the edge application server when the edge application server discovers that the network element 300d receives the domain name system message A1, it can match the domain name system message A1 with the T message processing rules in the effective message processing rules 303b in order of priority, that is, from the highest The priority message processing rule starts to be matched sequentially, and when an appropriate message processing rule is matched, the message processing rule is determined as the target message processing rule, and the matching process ends.
  • the edge application server finds that the network element 300d can process the domain name system message A1 according to the message processing operation in the message processing rule X 1 . It can be understood that the edge application server finds that the processing process of the network element 300d on other received DNS messages (such as DNS message A2, DNS message AN, etc.) is consistent with the processing process of the DNS message A1, and will not be repeated here. .
  • the edge application server discovers that the network element 300d can send a domain name system query response message to the terminal device 400.
  • the domain name system query response message can include the information of one or more edge application servers IP address. It can be understood that, for other PDU sessions established by terminal device 400, or for PDU sessions established by other terminal devices, the processing process is the same as the above-mentioned processing process for PDU session A, and details are not repeated here.
  • the embodiment of the present application provides a method for configuring and using message processing rules, wherein the message processing rule set has a node level, and the sending condition of the message processing rule set does not depend on the creation of the protocol data unit session, that is, That is to say, after the session management network element successfully delivers the message processing rule set to the edge application server and discovers the network element, if there is no rule update involved, no matter how many PDU sessions are established in the future, there is no need to trigger the message processing rule again. request and delivery, that is, there is no need to frequently deliver message processing rules for each protocol data unit session of each terminal device.
  • the use conditions of the rule activation conditions provided by the embodiments of the present application depend on the establishment of the protocol data unit session, that is, each time the protocol data unit session is established, the session management network element will be triggered to make a judgment based on the rule activation conditions, Effective message processing rules applicable to the protocol data unit session can be selected from the message processing rule set, so enabling of the message processing rules is flexible and controllable, thereby improving domain name system message processing efficiency.
  • FIG. 3 is a schematic flowchart of a data processing method provided by an embodiment of the present application.
  • the data processing method can be executed by a session management network element (SMF).
  • SMF session management network element
  • the data processing method may at least include the following steps S101-step S102:
  • Step S101 the session management network element obtains a node-level message processing rule set, obtains rule activation conditions, and sends the message processing rule set to the edge application server to discover the network element;
  • the message processing rule set includes one or more message processing rules;
  • the session management network element can first obtain a node-level message processing rule set, and at the same time obtain rule activation conditions, and then send the message processing rule set to the edge application server discovery network element, wherein the message processing rule set includes One or more priority message handling rules (DNS message handling rules), and the sending conditions of the node-level message handling rule set do not depend on the creation of the protocol data unit session, which can be performed when the network element is enabled Sent, in addition, rule activation conditions apply to all PDU sessions.
  • DNS message handling rules One or more priority message handling rules
  • the session management network element can obtain rule generation information, and then can generate one or more message processing rules with priority according to the rule generation information, and can determine the one or more message processing rules as node-level In the message processing rule set, at the same time, rule activation conditions associated with one or more message processing rules in the message processing rule set can be generated. Further, when the session management network element establishes a connection with the edge application server discovery network element, the session management network element may deliver the message processing rule set to the edge application server discovery network element.
  • FIG. 4 is a schematic diagram of a scenario of a data processing method provided by an embodiment of the present application.
  • both the node-level message processing rule set and the session-level rule activation condition are generated by the session management network element.
  • the session management network element and the edge application server find that the network element establishes a connection, the session management network element
  • the generated node-level message processing rule set will be delivered to the edge application server discovery network element.
  • the edge application server discovery network element After the edge application server discovery network element receives the message processing rule set, it can send a response message confirming receipt to the session management network element.
  • the rule distribution process can be defined as the service of the edge application server discovering the network element, or can be defined as the service of the session management network element.
  • the embodiment of the present application does not limit the specific service definition for realizing this function.
  • the session management network element may also store the generated message processing rule set in a unified data storage network element (UDR).
  • UDR unified data storage network element
  • the session management network element can send a rule acquisition request to the policy control network element, so that the policy control network element responds to the rule acquisition request, and the message processing rule The set and rule activation conditions are sent, wherein the message processing rule set and the rule activation conditions are generated by the policy control network element.
  • the session management network element can receive the message processing rule set and the rule activation condition sent by the policy control network element, and then can send the message processing rule set to the edge application server discovery network element.
  • FIG. 5 is a schematic diagram of a scenario of a data processing method provided by an embodiment of the present application.
  • the policy control network element can obtain the rule generation information, and then can generate one or more message processing rules with priority according to the rule generation information, and can determine the one or more message processing rules as message processing rules Rule set, at the same time, can generate rule activation conditions associated with one or more message processing rules in the message processing rule set, when the session management network element and the edge application server find that the network element establishes a connection, the session management network element can report to the policy control
  • the network element requests a node-level message processing rule set and request rule activation conditions.
  • the policy control network element can respond to the rule acquisition request, and send the message processing rule set and rule activation conditions to the session management network element in the relevant response message.
  • the session management network element After the session management network element receives the message processing rule set and rule activation conditions, it can send a response message to confirm the receipt to the policy control network element, and further, the session management network element can send the message processing rule set to the edge application server for discovery After the network element, the edge application server finds that the network element has received the message processing rule set, it can send a response message confirming receipt to the session management network element.
  • the session management network element and the edge application server can obtain the message processing rule set and the rule activation condition through the unified data storage network element, and then send the message processing rule set to The edge application server discovers the network element, wherein the message processing rule set and the rule activation condition are generated by the policy control network element and stored in the unified data storage network element.
  • FIG. 6 is a schematic diagram of a scenario of a data processing method provided by an embodiment of the present application.
  • the node-level message processing rule set and the session-level rule activation condition are generated by the policy control network element, and the policy control network element can first store the message processing rule set and the rule activation condition in a unified data storage Network element, when the session management network element and the edge application server find that the network element is connected, the unified data storage network element can send the above message processing rule set and rule activation conditions to the session management network element, and the session management network element receives the After the message processing rule set and the rule activation conditions, a response message to confirm receipt can be sent to the unified data storage network element. Further, the session management network element can send the message processing rule set to the edge application server to discover the network element, and the edge application server After receiving the message processing rule set, the discovery network element may send a response message confirming receipt to the session management network element.
  • rule generation information may specifically include application function (AF) request information or operator configuration information.
  • AF application function
  • each message processing rule in the message processing rule set includes a message detection template and a message processing operation.
  • the message detection template may specifically include one or more templates in the query request message detection template and the query response message detection template;
  • the message processing operation includes but is not limited to one of content reporting operation, forwarding operation, cache waiting operation, and sending operation or multiple operations;
  • the forwarding operation may further include an option construction operation or an address replacement operation.
  • each message processing rule may also include a rule identifier, a rule priority, and may further include at least one of the following: rule level and life cycle.
  • the rule identifier refers to the identifier that distinguishes each message processing rule;
  • the rule level refers to the node level;
  • the rule priority represents the sequence in which each message processing rule is executed;
  • the life cycle represents each message processing rule effective time range.
  • each message processing rule can include the following:
  • Rule ID (rule ID)
  • node level node level
  • the message processing rule is valid for all domain name system messages (ie DNS messages) on the node;
  • DNS message detection template including at least one of the following:
  • FQDN fully qualified domain name
  • SAS IP address that is, an IP address of an edge application server
  • edge application server addresses may include one or more edge application server addresses
  • Execute at least one possible message processing operation which may include:
  • (a) Content report operation report the content of the domain name system message to the session management network element, such as may include at least one of the following: the IP address of the edge application server parsed from the domain name system message, FQDN, etc.;
  • (b) Forwarding operation Send the domain name system message to the pre-configured DNS server/resolver (DNS server/resolver) or the designated DNS server (indicated DNS server), in addition, it can also include the following operations (the designated DNS server is included in the message processing rules):
  • Option construction operation include the information of constructing optional ECS option (ECS option) in the domain name system message (the edge application server discovers that the network element constructs the information of ECS option is included in the message processing rule);
  • (b2) Address replacement operation replace the target address of the domain name system message with the specified DNS server address (DNS Server Address); and replace the source address of the domain name system message with a specific IP address. If the session management network element does not provide the DNS server address, the edge application server discovers that the network element will forward the domain name system message to the local pre-configured DNS server/resolver;
  • Time Window defines the effective time of the message processing rule. Outside this time window, the message processing rule is invalid.
  • the query request message detection template provided by the embodiment of the present application does not include the source IP address (Source IP address, such as the IP address of the terminal device), because the solution provided by the present application does not involve session-level rule configuration, but applies to all Both sessions are applicable.
  • Source IP address such as the IP address of the terminal device
  • Step S102 when the protocol data unit session is established, the session management network element determines the effective message processing rule in the message processing rule set according to the rule activation condition, determines the rule identifier corresponding to the effective message processing rule as the effective rule identifier, and sets the effective The rule identifier is sent to the edge application server to discover the network element, so that the edge application server discovers that the network element processes the received domain name system message according to the message processing rule corresponding to the valid rule identifier during the protocol data unit session.
  • the session management network element will set session-level rule activation conditions for each message processing rule, that is, when the protocol data unit session established by the terminal device meets these rule activation conditions, the corresponding message will be activated. processing rules.
  • the message processing rule set includes one or more message processing rules, and one message processing rule corresponds to one or more rule activation conditions.
  • the session management network element can determine the effective message processing rule in one or more message processing rules in the message processing rule set according to the rule activation condition, and then the effective message processing rule can be The corresponding rule identifier is determined as a valid rule identifier, and the valid rule identifier is sent to the edge application server to discover the network element.
  • the edge application server can process the received domain name system message according to the message processing rule corresponding to the valid rule identifier during the protocol data unit session. That is to say, the session management network element can judge the current protocol data unit session according to the rule activation condition, and interact with the edge application server to discover the network element, and notify the edge application server which (or which) message processing rules of the network element are discovered. Activated, that is, which (or which) message processing rules are valid for the protocol data unit session. When all the rule activation conditions in the session management network element are not met, no message processing rule will be activated. At this time, the edge application server finds that the network element processes the domain name system message according to the default message processing rule.
  • FIG. 7 is a schematic flowchart of a data processing method provided by an embodiment of the present application.
  • the data processing method may at least include step S1021-step S1022, and step S1021-step S1022 is a specific implementation manner of step S102.
  • the data processing method may include:
  • Step S1021 when the protocol data unit session is established, the session management network element matches the protocol data unit session with one or more rule activation conditions corresponding to each message processing rule in the message processing rule set, and matches the matched rule
  • the message processing rule associated with the activation condition is determined to be a valid message processing rule
  • the session management network element may set different rule activation conditions for different message processing rules.
  • the rule activation condition includes Single Network Slice Selection Assistance Information (S-NSSAI)
  • S-NSSAI Single Network Slice Selection Assistance Information
  • the session management network element can obtain the protocol data unit session corresponding The network slice identifier, and then the network slice identifier can be matched with each rule activation condition containing the auxiliary information of a single network slice selection, and the rule activation condition that matches successfully can be determined as the target rule activation condition, and then the target rule activation condition can be matched with the target rule
  • the message processing rule associated with the activation condition is determined to be an effective message processing rule.
  • the network slice identifier in the embodiment of the present application is the S-NSSAI that needs to be carried when the terminal device requests to establish a protocol data unit session.
  • each network slice is uniquely identified by S-NSSAI, and an S-NSSAI is composed of SST (Slice/Serve Type, slice/service type) and SD (Slice Differentiator, slice component), corresponding to 5G wireless network , network slicing is mainly reflected in access control, network selection and resource separation.
  • the session management network element can obtain the target data network name corresponding to the protocol data unit session, and then the The target data network name is matched with each rule activation condition containing the data network name, and the rule activation condition that matches successfully (for example, the rule activation condition corresponding to the data network name that is the same as the target data network name) can be determined as the target rule
  • the activation condition, and then the message processing rule associated with the activation condition of the target rule can be determined as an effective message processing rule.
  • the session management network element can obtain the target session and the corresponding protocol data unit session business continuity mode, and then the target session and business continuity mode can be matched with each rule activation condition including the session and business continuity mode, and the rule activation condition that matches successfully (for example, the same session as the target session and business continuity mode).
  • the rule activation condition corresponding to the business continuity mode is determined as the target rule activation condition, and then the message processing rule associated with the target rule activation condition can be determined as an effective message processing rule.
  • 5GS 5G System, that is, 5G system
  • 5G system supports three different SSC modes, and the SSC mode of a protocol data unit session will not change during the entire life cycle of the protocol data unit session.
  • the rule activation condition includes user identification information, such as the user permanent identifier (Subscription Permanent Identifier, SUPI), or the internal user group identification (Internal Group ID-list), or the interval of the user permanent identifier, or the common public user Generic Public Subscription Identifier (GPSI, Generic Public Subscription Identifier), or a general public user identification list (GPSI list), when the protocol data unit session is established, the session management network element can obtain the target user identification information corresponding to the protocol data unit session, and then can The target user identification information is matched with each rule activation condition containing the user identification information, and the matching rule activation condition (for example, the rule activation condition containing the same user identification information as the target user identification information) can be determined as the target rule The activation condition, and then the message processing rule associated with the activation condition of the target rule can be determined as an effective message processing rule.
  • the number of user identification information included in a rule activation condition can be one or more.
  • each rule activation condition may also include any one or more of single network slice selection auxiliary information, data network name, session and service continuity mode, and user identification information.
  • the specific content of the conditions is not limited.
  • Step S1022 the session management network element determines the rule identifier corresponding to the valid message processing rule as the valid rule identifier, and sends the valid rule identifier to the edge application server discovery network element.
  • the session management network element may determine the rule identifier corresponding to the above valid message processing rule as the valid rule identifier, and then may send the valid rule identifier to the edge application server discovery network element. It can be understood that there may be one or more valid message processing rules.
  • the session management network element will send the effective rule ID (i.e., the effective rule identifier) that meets the rule activation condition to the edge application server to discover the network element, and the edge application server will discover the network element Enforce the message processing rule with valid rule ID for this PDU session.
  • the effective rule ID i.e., the effective rule identifier
  • the embodiment of the present application also supports updating the message processing rule set or the rule activation condition.
  • the session management network element can obtain the rule update information, and then update the message processing rule set according to the rule update information, and send the updated message processing rule set to the unified data storage network element and the edge application server for discovery Network element, similarly, the session management network element can also update the rule activation condition.
  • the rule update information can be obtained according to the request of the application function or the configuration of the operator.
  • the policy control network element can update the message processing rule set or the rule activation condition, and actively push the updated message processing rule set or the updated rule activation condition to the session management network element and the unified data storage network element , when the session management network element or the unified data storage network element receives the updated message processing rule set sent by the policy control network element, it will also actively send the updated message processing rule set to the edge application server discovery network element.
  • the edge application server discovers that the network element can process the subsequently received domain name system message according to the updated message processing rule set, and the session management network element can also make relevant judgments according to the updated rule activation condition.
  • the rule update can be through the full update method, that is, to issue a full set of message processing rules, including the updated rules and the rules that remain unchanged; it can also be through the incremental update method, that is, only the updated content is issued, and the Content that has not been updated does not need to be sent repeatedly.
  • the updated content may include modification or deletion of specific one or more message processing rules, or adding one or more new message processing rules to the message processing rule set, or deleting one or more existing message processing rules.
  • the embodiment of the present application can support the session management network element to obtain a node-level message processing rule set, obtain the rule activation condition, and send the message processing rule set to the edge application server to discover the network element, and then the session management network element can be in the protocol
  • the effective message processing rule is determined according to the rule activation conditions, and the corresponding effective rule identifier can be sent to the edge application server to discover the network element, and the subsequent edge application server discovers that the network element can be used during the protocol data unit session.
  • the received domain name system message is processed according to the message processing rule corresponding to the effective rule identifier.
  • the session management network element after the session management network element successfully delivers the message processing rule set to the edge application server and discovers the network element, if no update of the rules is involved, no matter how many PDU sessions are established subsequently , there is no need to trigger the request and release of message processing rules, that is, it is not necessary to frequently send message processing rules for each protocol data unit session of each terminal device, which can greatly reduce the number of session management network elements and edge applications
  • the server discovers the amount of interaction between network elements.
  • the session management network element will be triggered to make a judgment based on the rule activation condition, so as to select a valid message applicable to the protocol data unit session from the message processing rule set Processing rules, so the enabling of message processing rules is flexible and controllable, which can improve the efficiency of domain name system message processing.
  • FIG. 8 is a schematic flowchart of a data processing method provided by an embodiment of the present application.
  • the data processing method can be executed by a policy control network element (PCF).
  • PCF policy control network element
  • the data processing method may at least include the following steps S201-step S203:
  • Step S201 the policy control network element generates a node-level message processing rule set, and generates rule activation conditions; the message processing rule set includes one or more message processing rules;
  • the policy control network element can obtain rule generation information, and then can generate one or more message processing rules with priority according to the rule generation information, and can determine the one or more message processing rules as a message processing rule set, At the same time, rule activation conditions associated with one or more message processing rules in the message processing rule set may be generated.
  • the rule generation information may specifically include application function request information or operator configuration information.
  • the message processing rule set in the embodiment of the present application has a node level, that is, the sending condition of the message processing rule set does not depend on the creation of the protocol data unit session, but the usage condition of the rule activation condition depends on the protocol data Creation of cell sessions.
  • each message processing rule in the message processing rule set includes a message detection template and a message processing operation.
  • the message detection template may specifically include one or more templates in the query request message detection template and the query response message detection template; the message processing operation includes but is not limited to one of content reporting operation, forwarding operation, cache waiting operation, and sending operation or multiple operations; a forwarding operation may include an option construction operation or an address replacement operation.
  • each message processing rule may also include a rule identifier, a rule priority, and may further include at least one of the following: rule level and life cycle.
  • each rule activation condition may include any one or more of single network slice selection auxiliary information, data network name, session and service continuity mode, and user identification information. The embodiment of the present application does not discuss the specific content of the rule activation condition limit.
  • Step S202 the policy control network element sends the message processing rule set and the rule activation condition to the session management network element, so that the session management network element determines in the message processing rule set according to the rule activation condition when the protocol data unit session is subsequently established
  • the session management network element determines in the message processing rule set according to the rule activation condition when the protocol data unit session is subsequently established
  • For a valid message processing rule determine the rule identifier corresponding to the valid message processing rule as the valid rule identifier, and send the valid rule identifier to the edge application server to discover the network element;
  • the policy control network element may send the message processing rule set and rule activation conditions to the session management network element.
  • FIG. 9 is a schematic diagram of a data processing method provided by an embodiment of the present application. As shown in Figure 9, the message processing rule set and rule activation conditions are generated by the policy control network element.
  • the session management network element can request the policy control network element to have a node
  • the policy control network element can respond to the rule acquisition request, and send the message processing rule set and rule activation conditions to the session management network element in the relevant response message, and the session management network element receives the message processing rule After the aggregation and rule activation conditions, a response message to confirm receipt can be sent to the policy control network element.
  • the session management network element when it subsequently establishes the protocol data unit session, it can determine the effective message processing rule in the message processing rule set according to the rule activation condition, and can determine the rule identifier corresponding to the effective message processing rule as the effective rule identifier , and then the effective rule identifier can be sent to the edge application server to discover the network element.
  • the edge application server For the specific process, refer to step S102 in the above embodiment corresponding to FIG. 3 , which will not be repeated here.
  • Step S203 the policy control network element sends the message processing rule set to the edge application server to discover the network element, so that the edge application server discovers that the network element can process the message according to the message processing rule corresponding to the effective rule identifier during the protocol data unit session.
  • Received DNS messages are processed.
  • the policy control network element may respond to the rule acquisition request sent by the edge application server discovery network element, and deliver the message processing rule set to the edge application server discovery network element.
  • the edge application server finds that the network element is enabled, it can actively request the policy control network element for a set of message processing rules at the node level, and the policy control network element can respond to the rule acquisition request,
  • the message processing rule set is sent to the edge application server discovery network element in the relevant response message, and the edge application server discovery network element may send a response message confirming receipt to the policy control network element after receiving the message processing rule set.
  • the policy control network element may also update the message processing rule set or rule activation conditions.
  • the policy control network element can actively send the updated message processing rule set to the session management network element and the edge application server to discover the network element, so that the edge application server can discover the network element
  • Subsequent received Domain Name System messages can be processed according to the updated message processing rule set, wherein, the rule update can be through a full update method, that is, a full message processing rule set is issued, including updated rules and unchanged rules ; It can also be incrementally updated, that is, only the updated content is delivered, and the content that has not been updated does not need to be delivered repeatedly.
  • the updated content may include modification or deletion of specific one or more message processing rules, or adding one or more new message processing rules to the message processing rule set, or deleting one or more existing message processing rules.
  • the embodiment of the present application can support the policy control network element to generate a node-level message processing rule set, and can generate rule activation conditions at the same time, and then can send the message processing rule set and rule activation conditions to the session management network element, and can send the message
  • the processing rule set is sent to the edge application server to discover the network element, so that the session management network element can determine the effective message processing rule according to the rule activation condition when the protocol data unit session is established, and send its corresponding effective rule identifier to the edge
  • the application server discovers the network element, and the edge application server subsequently discovers that the network element can process the received domain name system message according to the message processing rule corresponding to the effective rule identifier during the protocol data unit session.
  • the session management network element will be triggered to make a judgment based on the rule activation condition, so as to select a valid message applicable to the protocol data unit session from the message processing rule set Processing rules, so the enabling of message processing rules is flexible and controllable, which can improve the efficiency of domain name system message processing.
  • FIG. 10 is a schematic flowchart of a data processing method provided by an embodiment of the present application.
  • the data processing method can be executed by an edge application server discovery network element (EASDF).
  • EASDF edge application server discovery network element
  • the data processing method may at least include the following steps S301-step S303:
  • Step S301 when the session management network element and the edge application server discover the network element to establish a connection, the edge application server discovers that the network element acquires a node-level message processing rule set; the message processing rule set includes one or more message processing rules;
  • the edge application server when the session management network element and the edge application server discover that the network element establishes a connection, the edge application server discovers that the network element can obtain a node-level message processing rule set, where the sending conditions of the node-level message processing rule set are not
  • the set of message processing rules may include one or more message processing rules.
  • the message processing rule set may be generated by a session management network element, or may be generated by a policy control network element, which is not limited in this embodiment of the present application.
  • Step S302 when the protocol data unit session is established, the edge application server discovers that the network element obtains the valid rule identifier sent by the session management network element; the valid rule identifier refers to the rule identifier corresponding to the valid message processing rule; the valid message processing rule is Determined by the session management network element in the message processing rule set according to the rule activation conditions;
  • the edge application server finds that the network element can obtain the valid rule identifier sent by the session management network element, where the valid rule identifier refers to the rule identifier corresponding to the valid message processing rule, and the valid The message processing rule is determined by the session management network element in the message processing rule set according to the rule activation condition. For the specific process, refer to step S102 in the above embodiment corresponding to FIG. 3 , which will not be repeated here.
  • Step S303 when the edge application server finds that the network element has received the domain name system message, the edge application server finds that the network element obtains the target message processing rule from one or more message processing rules contained in the message processing rule set according to the effective rule identifier, according to Target message processing rules process Domain Name System messages.
  • each message processing rule in the message processing rule set includes a message detection template and a message processing operation.
  • the message detection template may specifically include one or more templates in the query request message detection template and the query response message detection template; the message processing operation includes but is not limited to one of content reporting operation, forwarding operation, cache waiting operation, and sending operation or multiple operations; a forwarding operation may include an option construction operation or an address replacement operation.
  • each message processing rule may also include a rule identifier, a rule priority, and may further include at least one of the following: rule level and life cycle.
  • the rule identifier refers to the identifier that distinguishes each message processing rule; the rule priority can represent the order in which each message processing rule is executed; the rule level refers to the node level; the life cycle can represent each message The effective time range for the processing rule.
  • the rule priority can represent the order in which each message processing rule is executed; the rule level refers to the node level; the life cycle can represent each message The effective time range for the processing rule.
  • each message processing rule in the message processing rule set includes a rule identifier, a rule priority, a life cycle, a message detection template, and a message processing operation.
  • the edge application server discovers that the network element has received the domain name system message, it can obtain the target message processing rule from one or more message processing rules contained in the message processing rule set, and then process the received domain name system message according to the target message processing rule
  • the specific process may be as follows: the edge application server finds that the network element can determine the message processing rule corresponding to the rule identifier identical to the valid rule identifier as valid among one or more message processing rules contained in the message processing rule set A message processing rule, where the number of valid message processing rules may be one or more.
  • the edge application server discovers that the network element can match the above domain name system message with the message detection template in the effective message processing rule, and determine the matched effective message processing rule (that is, satisfy the matching condition) as a candidate message processing rule . It can be understood that there may be one or more candidate message processing rules. Further, the edge application server discovers that the network element can obtain the target message processing rule from the candidate message processing rules according to the rule priority corresponding to the candidate message processing rules. In an implementation manner, when the number of candidate message processing rules is one, the candidate message processing rule may be determined as the target message processing rule. In an implementation manner, when there are multiple candidate message processing rules, the candidate message processing rule with the highest rule priority among the multiple candidate message processing rules may be determined as the target message processing rule.
  • the multiple candidate message processing rules can be sorted and sorted according to the rule priorities and life cycles corresponding to the multiple candidate message processing rules, that is to say , the rule priority and life cycle can be considered comprehensively, so that the target message processing rule with the highest rule priority within the target time period can be obtained.
  • the domain name system message and the message detection templates in the effective message processing rules can be matched sequentially, and the first matched effective message processing rule is determined as
  • the target message processing rule can be matched sequentially starting from the high-priority valid message processing rule, and when a suitable valid message processing rule is matched, the valid message processing rule is determined as the target message processing rule.
  • the specific process of matching the domain name system message with the message detection template in the effective message processing rule may be as follows: first, the edge application server finds that the network element can obtain the message type of the domain name system message, if If the message type is a query request message type, the fully qualified domain name (FQDN) in the domain name system message can be obtained, and then the fully qualified domain name can be matched with the query request message detection template in the effective message processing rule, and then the An effective message processing rule that satisfies the matching condition (such as matching the fully qualified domain name) is determined as a candidate message processing rule; optionally, if the message type of the above domain name system message is a query response message type, the domain name system message can be obtained The fully qualified domain name in the domain name, and then the fully qualified domain name can be matched with the query response message detection template in the valid message processing rule, and then the valid message processing rule that meets the matching condition (such as matching with the fully qualified domain name) can be determined is a candidate
  • the edge application server finds that the network element can process the above domain name system message according to the message processing operation in the target message processing rule. It should be noted that when there are multiple message processing operations in the target message processing rule, the edge application server finds that the network element can execute the multiple message processing operations in a set order. It can be understood that the life cycle actually involves the scheduling problem of edge computing. For example, when the load of the edge computing platform is very heavy, some beneficial changes can be produced by setting the life cycle of certain message processing rules, so that subsequent edge application services will not All will be routed to the edge computing platform within this time period. For relevant scenarios of this embodiment of the present application, reference may be made to the descriptions in the above embodiments corresponding to FIG. 2a to FIG. 2c.
  • the edge application server finds that the network element can obtain the updated message processing rule set, and then process the subsequent domain name system messages received according to the updated message processing rule set.
  • the embodiment of the present application can support the edge application server to discover the network element to obtain the node-level message processing rule set when the session management network element and the edge application server discover the network element to establish a connection, and then can obtain the session management when the protocol data unit session is established.
  • the effective rule identifier sent by the network element can then obtain the target message processing rule in one or more message processing rules contained in the message processing rule set according to the effective rule identifier when receiving the domain name system message, and process the target message according to the Rules process Domain Name System messages.
  • the edge application server after the edge application server discovers that the network element has successfully obtained the message processing rule set, if there is no rule update involved, no matter how many PDU sessions are established subsequently, there is no need to trigger
  • the request and distribution of message processing rules means that there is no need to frequently request message processing rules for each protocol data unit session of each terminal device.
  • the session management network element every time a protocol data unit session is established, the session management network element will be triggered to make a judgment based on the rule activation condition, so that when the edge application server finds that the network element has received a domain name system message, it can According to the instruction of the management network element, an appropriate message processing rule is selected from the message processing rule set to process the domain name system message. Therefore, the activation of the message processing rule is flexible and controllable, thereby improving the domain name system message processing efficiency.
  • FIG. 11 is a schematic structural diagram of a network element device provided by an embodiment of the present application.
  • the network element device can be a computer program (including program code) running on the network element equipment, for example, the network element device is an application software; the device can be used to execute the corresponding steps in the data processing method provided by the embodiment of the present application .
  • the network element device 1 may include: an acquisition module 11 and an activation module 12;
  • the obtaining module 11 is used for the session management network element to obtain a node-level message processing rule set, obtain rule activation conditions, and send the message processing rule set to the edge application server to discover the network element;
  • the message processing rule set includes one or more messages processing rules;
  • each message processing rule in the above message processing rule set includes a message detection template and a message processing operation
  • the above-mentioned message detection template includes one or more templates in the query request message detection template and query response message detection template;
  • the message processing operation includes content reporting operation, forwarding operation, cache waiting operation, sending operation One or more operations; forward operations include option build operations or address replacement operations;
  • each message processing rule further includes a rule identifier; the rule identifier refers to an identifier for distinguishing each message processing rule;
  • each message processing rule also includes a rule priority; the rule priority represents the order in which each message processing rule is executed;
  • each message processing rule also includes a life cycle and a rule level; the life cycle represents the effective time range of each message processing rule; the rule level refers to the node level;
  • the activation module 12 is configured to determine a valid message processing rule in the message processing rule set according to the rule activation condition when the protocol data unit session is established, determine the rule identifier corresponding to the valid message processing rule as the valid rule identifier, and set the valid rule The identifier is sent to the edge application server to discover the network element, so that the edge application server discovers that the network element processes the received domain name system message according to the message processing rule corresponding to the valid rule identifier during the protocol data unit session.
  • step S101 for the specific function implementation of the acquisition module 11, refer to step S101 in the embodiment corresponding to the above-mentioned FIG. repeat.
  • the above acquisition module 11 may include: a first acquisition unit 111 , a second acquisition unit 112 , and a third acquisition unit 113 ;
  • the first acquisition unit 111 is used for the session management network element to generate a node-level message processing rule set, and generate rule activation conditions associated with one or more message processing rules in the message processing rule set; when the session management network element and the edge application When the server discovers network elements and establishes a connection, it sends a set of message processing rules to the edge application server to discover network elements;
  • the second acquisition unit 112 is configured to send a rule acquisition request to the policy control network element when the session management network element and the edge application server find that the network element is connected, so that the policy control network element responds to the rule acquisition request and sends
  • There is a node-level message processing rule set and sending rule activation conditions the message processing rule set and rule activation conditions are generated by the policy control network element; the message processing rule set and rule activation conditions sent by the policy control network element are received, and the message processing The rule set is sent to the edge application server to discover network elements;
  • the third obtaining unit 113 is configured to obtain a node-level message processing rule set through the unified data storage network element when the session management network element and the edge application server find that the network element establishes a connection, and obtain the rule activation condition through the unified data storage network element , sending the message processing rule set to the edge application server to discover the network element; the message processing rule set and rule activation conditions are generated by the policy control network element and stored in the unified data storage network element.
  • step S101 for the implementation of specific functions of the first acquisition unit 111 , the second acquisition unit 112 , and the third acquisition unit 113 , reference may be made to step S101 in the above embodiment corresponding to FIG. 3 , which will not be repeated here.
  • each message processing rule corresponds to one or more rule activation conditions
  • the activation module 12 may include: a matching unit 121 and a determining unit 122;
  • the matching unit 121 is configured to match the protocol data unit session with one or more rule activation conditions corresponding to each message processing rule in the message processing rule set when the protocol data unit session is established, and activate the matched rules
  • the message processing rule associated with the condition is determined to be a valid message processing rule
  • the determining unit 122 is configured to determine the rule identifier corresponding to the valid message processing rule as the valid rule identifier, and send the valid rule identifier to the edge application server to discover the network element.
  • step S1021 in the embodiment corresponding to FIG. 7 above
  • step S1022 in the above embodiment corresponding to FIG. repeat.
  • the above rule activation condition includes single network slice selection auxiliary information
  • the matching unit 121 may include: a first matching subunit 1211;
  • the first matching subunit 1211 is configured to obtain the network slice identifier corresponding to the protocol data unit session, match the network slice identifier with each rule activation condition including auxiliary information for selecting a single network slice, and determine the rule activation condition that matches successfully as The target rule activation condition determines the message processing rule associated with the target rule activation condition as an effective message processing rule.
  • step S1021 for the specific function implementation manner of the first matching subunit 1211, reference may be made to step S1021 in the above embodiment corresponding to FIG. 7 , which will not be repeated here.
  • the rule activation condition includes a data network name
  • the matching unit 121 may include: a second matching subunit 1212;
  • the second matching subunit 1212 is configured to obtain the target data network name corresponding to the protocol data unit session, match the target data network name with each rule activation condition including the data network name, and determine the rule activation condition that matches successfully as the target The rule activation condition determines the message processing rule associated with the target rule activation condition as an effective message processing rule.
  • step S1021 for the specific function implementation manner of the second matching subunit 1212, reference may be made to step S1021 in the above-mentioned embodiment corresponding to FIG. 7 , which will not be repeated here.
  • the above rule activation conditions include session and business continuity modes
  • the matching unit 121 may include: a third matching subunit 1213;
  • the third matching subunit 1213 is configured to acquire the target session and business continuity mode corresponding to the protocol data unit session, match the target session and business continuity mode with each rule activation condition including the session and business continuity mode, and match the successfully matched
  • the rule activation condition is determined as the target rule activation condition
  • the message processing rule associated with the target rule activation condition is determined as an effective message processing rule.
  • step S1021 for the specific function implementation manner of the third matching subunit 1213, reference may be made to step S1021 in the above-mentioned embodiment corresponding to FIG. 7 , which will not be repeated here.
  • the above-mentioned rule activation condition includes user identification information
  • the matching unit 121 may include: a fourth matching subunit 1214;
  • the fourth matching subunit 1214 is configured to obtain the target user identification information corresponding to the protocol data unit session, match the target user identification information with each rule activation condition including the user identification information, and determine the matching rule activation condition as the target
  • the rule activation condition determines the message processing rule associated with the target rule activation condition as an effective message processing rule.
  • step S1021 for the specific function implementation manner of the fourth matching subunit 1214, reference may be made to step S1021 in the above-mentioned embodiment corresponding to FIG. 7 , which will not be repeated here.
  • the embodiment of the present application can support the session management network element to obtain the node-level message processing rule set and the acquisition rule activation condition, and send the message processing rule set to the edge application server to discover the network element, and then the session management network element can be in the protocol data
  • the effective message processing rule is determined according to the rule activation condition, and the corresponding effective rule identifier can be sent to the edge application server to discover the network element, and the subsequent edge application server can discover the network element according to the protocol data unit session process.
  • the message processing rule corresponding to the valid rule identifier processes the received domain name system message.
  • the session management network element after the session management network element successfully delivers the message processing rule set to the edge application server and discovers the network element, if no update of the rules is involved, no matter how many PDU sessions are established subsequently , there is no need to trigger the request and release of message processing rules, that is, it is not necessary to frequently send message processing rules for each protocol data unit session of each terminal device, which can greatly reduce the number of session management network elements and edge applications
  • the server discovers the amount of interaction between network elements.
  • the session management network element will be triggered to make a judgment based on the rule activation condition, so as to select a valid message applicable to the protocol data unit session from the message processing rule set Processing rules, so the enabling of message processing rules is flexible and controllable, which can improve the efficiency of domain name system message processing.
  • FIG. 12 is a schematic structural diagram of a network element device provided by an embodiment of the present application.
  • the network element device can be a computer program (including program code) running on the network element equipment, for example, the network element device is an application software; the device can be used to execute the corresponding steps in the data processing method provided by the embodiment of the present application .
  • the network element device 2 may include: a generation module 21, a first delivery module 22, and a second delivery module 23;
  • the generation module 21 is used to generate a node-level message processing rule set for policy control network elements, and generate rule activation conditions; the message processing rule set includes one or more message processing rules;
  • the first delivery module 22 is configured to send the message processing rule set and the rule activation condition to the session management network element, so that the session management network element, when subsequently establishing a protocol data unit session, activates the rule set in the message processing rule set according to the rule activation condition Determine the effective message processing rule, determine the rule identifier corresponding to the effective message processing rule as the effective rule identifier, and send the effective rule identifier to the edge application server to discover the network element;
  • the second sending module 23 is configured to send the set of message processing rules to the edge application server to discover the network element, so that the edge application server discovers the message processing rule corresponding to the effective rule identifier of the network element during the protocol data unit session , to process the received Domain Name System message.
  • the specific function implementation of the generation module 21 can refer to the step S201 in the above-mentioned embodiment corresponding to FIG.
  • the specific functions of the second delivery module 23 reference may be made to step S203 in the above-mentioned embodiment corresponding to FIG. 8 , which will not be repeated here.
  • the embodiment of the present application can support the policy control network element to generate a node-level message processing rule set and generate rule activation conditions, and then send the message processing rule set and rule activation conditions to the session management network element, and the message processing rule can be The set is sent to the edge application server to discover network elements, so that the session management network element can determine the effective message processing rules according to the rule activation conditions when the protocol data unit session is established, and can send its corresponding effective rule identifier to the edge application server After discovering the network element, the edge application server subsequently discovers that the network element can process the received domain name system message according to the message processing rule corresponding to the effective rule identifier during the protocol data unit session.
  • the session management network element will be triggered to make a judgment based on the rule activation condition, so as to select a valid message applicable to the protocol data unit session from the message processing rule set Processing rules, so the enabling of message processing rules is flexible and controllable, which can improve the efficiency of domain name system message processing.
  • FIG. 13 is a schematic structural diagram of a network element device provided by an embodiment of the present application.
  • the network element device can be a computer program (including program code) running on the network element equipment, for example, the network element device is an application software; the device can be used to execute the corresponding steps in the data processing method provided by the embodiment of the present application .
  • the network element device 3 may include: a first acquisition module 31, a second acquisition module 32, and a third acquisition module 33;
  • the first acquiring module 31 is configured to establish a connection between the session management network element and the edge application server discovery network element, and the edge application server discovers that the network element acquires a node-level message processing rule set; the message processing rule set includes one or more messages processing rules;
  • the second obtaining module 32 is used to obtain the effective rule identifier sent by the session management network element when the protocol data unit session is established; the effective rule identifier refers to the rule identifier corresponding to the effective message processing rule; the effective message processing rule is determined by Determined by the session management network element in the message processing rule set according to the rule activation condition;
  • the third obtaining module 33 is used to obtain the target message processing rule from one or more message processing rules contained in the message processing rule set according to the effective rule identifier when the edge application server finds that the network element has received the domain name system message, and according to the target Message processing rules process Domain Name System messages.
  • step S301 in the above-mentioned embodiment corresponding to FIG. 10
  • step S302 in the above-mentioned embodiment corresponding to FIG.
  • step S303 in the above embodiment corresponding to FIG. 10 , which will not be repeated here.
  • each message processing rule in the above message processing rule set includes a rule identifier, rule priority, life cycle, message detection template, and message processing operation;
  • the rule identifier refers to the An identifier for distinguishing marks by the rule;
  • the third acquisition module 33 may include: a first determination unit 331 , a first matching unit 332 , an acquisition unit 333 , and a first processing unit 334 ;
  • a determining unit 331, configured to, among one or more message processing rules, determine a message processing rule corresponding to a rule identifier identical to the effective rule identifier as an effective message processing rule;
  • the matching unit 332 is configured to match the domain name system message with the message detection template in the valid message processing rule, and determine the matched valid message processing rule as a candidate message processing rule;
  • the obtaining unit 333 is configured to obtain the target message processing rule from the candidate message processing rules according to the rule priority corresponding to the candidate message processing rules;
  • the processing unit 334 is configured to process the domain name system message according to the message processing operation in the target message processing rule within the life cycle corresponding to the target message processing rule.
  • step S303 For the implementation of specific functions of the determination unit 331 , the matching unit 332 , the acquisition unit 333 , and the processing unit 334 , refer to step S303 in the above embodiment corresponding to FIG. 10 , which will not be repeated here.
  • each message processing rule in the above message processing rule set includes a rule identifier, rule priority, life cycle, message detection template, and message processing operation;
  • the rule identifier refers to the An identifier for distinguishing marks by the rule;
  • the third acquisition module 33 may include: a second determination unit 335 , a second matching unit 336 , and a second processing unit 337 ;
  • the second determining unit 335 is configured to, among one or more message processing rules, determine a message processing rule corresponding to a rule identifier identical to the effective rule identifier as an effective message processing rule;
  • the second matching unit 336 is configured to match the Domain Name System message with the message detection templates in the valid message processing rules in sequence according to the order of the rule priorities corresponding to the valid message processing rules, and process the first matched valid message
  • the rule is determined as a target message processing rule
  • the second processing unit 337 is configured to process the domain name system message according to the message processing operation in the target message processing rule within the life cycle corresponding to the target message processing rule.
  • the specific function implementation of the second determination unit 335, the second matching unit 336, and the second processing unit 337 can refer to the step S303 in the above-mentioned embodiment corresponding to FIG. 10, and the first determination unit 331 and the second determination unit 335 may be combined into one determination unit, which will not be repeated here.
  • the embodiment of the present application can support the edge application server to discover the network element to obtain the node-level message processing rule set when the session management network element and the edge application server discover the network element to establish a connection, and then can obtain the session management when the protocol data unit session is established.
  • the effective rule identifier sent by the network element can then obtain the target message processing rule in one or more message processing rules contained in the message processing rule set according to the effective rule identifier when receiving the domain name system message, and process the target message according to the Rules process Domain Name System messages.
  • the edge application server after the edge application server discovers that the network element has successfully obtained the message processing rule set, if there is no rule update involved, no matter how many PDU sessions are established subsequently, there is no need to trigger
  • the request and distribution of message processing rules means that there is no need to frequently request message processing rules for each protocol data unit session of each terminal device.
  • the session management network element every time a protocol data unit session is established, the session management network element will be triggered to make a judgment based on the rule activation condition, so that when the edge application server finds that the network element has received a domain name system message, it can According to the instruction of the management network element, an appropriate message processing rule is selected from the message processing rule set to process the domain name system message. Therefore, the activation of the message processing rule is flexible and controllable, thereby improving the domain name system message processing efficiency.
  • the network element device 1000 may include: a processor 1001 , a network interface 1003 and a memory 1004 .
  • the network element device 1000 may further include: at least one communication bus 1002 .
  • the communication bus 1002 is used to realize connection and communication between these components.
  • the network interface 1003 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface).
  • the memory 1004 can be a high-speed RAM memory, or a non-volatile memory, such as at least one disk memory.
  • the memory 1004 may also be at least one storage device located away from the aforementioned processor 1001 .
  • the memory 1004 as a computer-readable storage medium may include an operating system, a network communication module, and a device control application program.
  • the network element device 1000 may be a session management network element.
  • the network interface 1003 can provide network communication elements; and the processor 1001 can be used to call the device control application program stored in the memory 1004, so that the network element device 1000 executes:
  • the message processing rule set includes one or more message processing rules
  • the server determines the valid message processing rule in the message processing rule set according to the rule activation condition, determine the rule identifier corresponding to the valid message processing rule as the valid rule identifier, and send the valid rule identifier to the edge application
  • the server discovers the network element, so that the edge application server discovers that the network element processes the received domain name system message according to the message processing rule corresponding to the valid rule identifier during the protocol data unit session.
  • network element device 1000 described in this embodiment of the present application may execute the description of the data processing method in any one of the embodiments corresponding to FIG. 3 and FIG. 7 above, and details are not repeated here.
  • the description of the beneficial effect of adopting the same method will not be repeated here.
  • the network element device 2000 may include: a processor 2001 , a network interface 2003 and a memory 2004 .
  • the network element device 2000 may further include: at least one communication bus 2002 .
  • the communication bus 2002 is used to realize connection and communication between these components.
  • the network interface 2003 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface).
  • the memory 2004 can be a high-speed RAM memory, or a non-volatile memory, such as at least one disk memory.
  • the memory 2004 may also be at least one storage device located away from the aforementioned processor 2001 .
  • the memory 2004 as a computer-readable storage medium may include an operating system, a network communication module, and a device control application program.
  • the network element device 2000 may be a policy control network element.
  • the network interface 2003 can provide a network communication element; and the processor 2001 can be used to call the device control application program stored in the memory 2004, so that the network element device 2000 executes:
  • the message processing rule set includes one or more message processing rules
  • the rule identifier corresponding to the message processing rule is determined as a valid rule identifier, and the valid rule identifier is sent to the edge application server to discover the network element;
  • network element device 2000 described in the embodiment of the present application may execute the description of the data processing method in the embodiment corresponding to FIG. 8 above, and details are not repeated here.
  • the description of the beneficial effect of adopting the same method will not be repeated here.
  • the network element device 3000 may include: a processor 3001 , a network interface 3003 and a memory 3004 .
  • the network element device 3000 may further include: at least one communication bus 3002 .
  • the communication bus 3002 is used to realize connection and communication between these components.
  • the network interface 3003 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface).
  • the memory 3004 may be a high-speed RAM memory, or a non-volatile memory, such as at least one disk memory.
  • the memory 3004 may also be at least one storage device located away from the aforementioned processor 3001 .
  • the memory 3004 as a computer-readable storage medium may include an operating system, a network communication module, and a device control application program.
  • the network element device 3000 can discover network elements for the edge application server.
  • the network interface 3003 can provide a network communication network element; and the processor 3001 can be used to call the device control application program stored in the memory 3004, so that the network element device 3000 executes:
  • the message processing rule set includes one or more message processing rules
  • the effective rule identifier refers to the rule identifier corresponding to the effective message processing rule; the effective message processing rule is activated by the session management network element according to the rule determined in the set of message processing rules;
  • the target message processing rule is obtained from one or more message processing rules contained in the message processing rule set according to the effective rule identifier, and the domain name system message is processed according to the target message processing rule.
  • network element device 3000 described in the embodiment of the present application may execute the description of the data processing method in the embodiment corresponding to FIG. 10 above, and details are not repeated here.
  • the description of the beneficial effect of adopting the same method will not be repeated here.
  • the embodiment of the present application also provides a computer-readable storage medium, and the above-mentioned computer-readable storage medium stores the aforementioned network element device 1, network element device 2, and network element device 3.
  • the computer program executed, and the above computer program includes program instructions.
  • the above processor executes the above program instructions, it can execute the above data processing in any one of the embodiments corresponding to Fig. 3, Fig. 7, Fig. 8, and Fig. 10.
  • the description of the method therefore, will not be repeated here.
  • the description of the beneficial effect of adopting the same method will not be repeated here.
  • the technical details not disclosed in the embodiments of the computer-readable storage medium involved in the present application please refer to the description of the method embodiments of the present application.
  • the foregoing computer-readable storage medium may be the network element device provided in any of the foregoing embodiments or an internal storage unit of the foregoing network element device, for example, a hard disk or a memory of the network element device.
  • the computer-readable storage medium can also be an external storage device of the network element device, such as a plug-in hard disk equipped on the network element device, a smart memory card (smart media card, SMC), a secure digital (secure digital, SD) card, flash card, etc.
  • the computer-readable storage medium may also include both an internal storage unit of the network element device and an external storage device.
  • the computer-readable storage medium is used to store the computer program and other programs and data required by the network element device.
  • the computer-readable storage medium can also be used to temporarily store data that has been output or will be output.
  • the embodiment of the present application also provides a computer program product or computer program, the computer program product or computer program includes computer instructions, and the computer instructions are suitable for being loaded and executed by a processor. 7.
  • the foregoing processor may be a processor in a network element device, and the computer instructions may be stored in a computer-readable storage medium of the network element device.
  • the processor of the network element device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the network element device executes any one of the preceding embodiments corresponding to Figure 3, Figure 7, Figure 8, and Figure 10. Methods.

Abstract

提供一种数据处理方法、网元设备以及可读存储介质,该方法包括:会话管理网元获取具有节点级别的消息处理规则集合,获取规则激活条件,将消息处理规则集合下发至边缘应用服务器发现网元;消息处理规则集合包括一个或多个消息处理规则;当协议数据单元会话建立时,根据规则激活条件在消息处理规则集合中确定有效消息处理规则,将有效消息处理规则对应的规则标识符确定为有效规则标识符,将有效规则标识符发送至边缘应用服务器发现网元。

Description

一种数据处理方法、网元设备以及可读存储介质
本申请基于申请号为:202110827622.1,申请日为2021年07月21日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本申请涉及通信技术领域,尤其涉及一种数据处理方法、网元设备以及可读存储介质。
背景技术
随着智能终端的普及和快速发展,网络边缘产生的数据量迅速增长,进一步推动了边缘计算(Edge Computing)的发展。
目前,在支持边缘计算的第五代移动通信技术(5th Generation Mobile Communication Technology,简称5G)中,终端设备(User Equipment,UE)中的应用程序可以通过边缘应用服务器(Edge Application Server,EAS)获得边缘应用服务(Edge Application Service)。在获得边缘应用服务之前,终端设备中的应用程序需要先发现合适的边缘应用服务器的IP(Internet Protocol)地址,现有的边缘应用服务器发现(EAS Discovery)方式是根据域名系统(Domain Name System,DNS)机制查询获得边缘应用服务器的IP地址。在这个过程中,5G核心网中的会话管理网元(Session Management Function,SMF)会在边缘应用服务器发现网元(Edge Application Server Discovery Function,EASDF)上配置DNS消息处理规则来转发和处理DNS消息,而该规则是基于单个终端设备的单个协议数据单元(Protocol Data Unit,PDU)会话进行发送的,也就是说,对于同一个UE的不同PDU会话,都会在每个PDU会话中下发DNS消息处理规则;对于不同UE的PDU会话,也都会在PDU会话中下发DNS消息处理规则,此外,在同一个PDU会话过程中,针对每个请求消息或响应消息,都需要SMF和EASDF交互来更新DNS消息处理规则去处理相应的消息。由此可知,现有的技术方案中,会存在频繁的DNS消息处理规则的请求和下发,每当建立PDU会话时,或者接收到DNS请求时,或者接收到DNS响应时,都有可能触发DNS消息处理规则的请求和下发,因此会造成EASDF具有复杂繁琐的处理流程,导致DNS消息处理效率低下。
发明内容
本申请实施例提供了一种数据处理方法、网元设备以及可读存储介质,可以提升域名系统消息处理效率。
本申请实施例一方面提供了一种数据处理方法,包括:
会话管理网元获取具有节点级别的消息处理规则集合,获取规则激活条件,将消息处理规则集合下发至边缘应用服务器发现网元;消息处理规则集合包括一个或多个消息处理规则;
当协议数据单元会话建立时,所述会话管理网元根据规则激活条件在消息处理规则集合中确定有效消息处理规则,将有效消息处理规则对应的规则标识符确定为有效规则标识符,将有效规则标识符发送至边缘应用服务器发现网元,以使边缘应用服务器发现网元在协议数据单元会话过程中根据有效规则标识符所对应的消息处理规则对接收到的域名系统消息进行处理。
本申请实施例一方面提供了一种数据处理方法,包括:
策略控制网元生成具有节点级别的消息处理规则集合,生成规则激活条件;消息处理规则集合包括一个或多个消息处理规则;
所述策略控制网元将消息处理规则集合和规则激活条件下发至会话管理网元,以使会话管理网元在后续建立协议数据单元会话时,根据规则激活条件在消息处理规则集合中确定有效消息处理规则,将有效消息处理规则对应的规则标识符确定为有效规则标识符,将有效规则标识符发送至边缘应用服务器发现网元;
所述策略控制网元将消息处理规则集合下发至边缘应用服务器发现网元,以使边缘应用服务器发现网元在协议数据单元会话过程中根据有效规则标识符所对应的消息处理规则,对接收到的域名系统消息进行处理。
本申请实施例一方面提供了一种数据处理方法,包括:
当会话管理网元和边缘应用服务器发现网元建立连接时,边缘应用服务器发现网元获取具有节点级别的消息处理规则集合;消息处理规则集合包括一个或多个消息处理规则;
当协议数据单元会话建立时,所述边缘应用服务器发现网元获取会话管理网元发送的有效规则标识符;有效规则标识符是指有效消息处理规则对应的规则标识符;有效消息处理规则是由会话管理网元根据规则激活条件在消息处理规则集合中所确定的;
当边缘应用服务器发现网元接收到域名系统消息时,所述边缘应用服务器发现网元根据有效规则标识符在消息处理规则集合包含的一个或多个消息处理规则中获取目标消息处理规则,根据目标消息处理规则对域名系统消息进行处理。
本申请实施例一方面提供了一种网元装置,包括:
获取模块,用于会话管理网元获取具有节点级别的消息处理规则集合,获取规则激活条件,将消息处 理规则集合下发至边缘应用服务器发现网元;消息处理规则集合包括一个或多个消息处理规则;
激活模块,用于当协议数据单元会话建立时,根据规则激活条件在消息处理规则集合中确定有效消息处理规则,将有效消息处理规则对应的规则标识符确定为有效规则标识符,将有效规则标识符发送至边缘应用服务器发现网元,以使边缘应用服务器发现网元在协议数据单元会话过程中根据有效规则标识符所对应的消息处理规则对接收到的域名系统消息进行处理。
本申请实施例一方面提供了一种网元装置,包括:
生成模块,用于策略控制网元生成具有节点级别的消息处理规则集合,生成规则激活条件;消息处理规则集合包括一个或多个消息处理规则;
第一下发模块,用于将消息处理规则集合和规则激活条件下发至会话管理网元,以使会话管理网元在后续建立协议数据单元会话时,根据规则激活条件在消息处理规则集合中确定有效消息处理规则,将有效消息处理规则对应的规则标识符确定为有效规则标识符,将有效规则标识符发送至边缘应用服务器发现网元;
第二下发模块,用于将消息处理规则集合下发至边缘应用服务器发现网元,以使边缘应用服务器发现网元在协议数据单元会话过程中根据有效规则标识符所对应的消息处理规则,对接收到的域名系统消息进行处理。
本申请实施例一方面提供了一种网元装置,包括:
第一获取模块,用于当会话管理网元和边缘应用服务器发现网元建立连接时,边缘应用服务器发现网元获取具有节点级别的消息处理规则集合;消息处理规则集合包括一个或多个消息处理规则;
第二获取模块,用于当协议数据单元会话建立时,获取会话管理网元发送的有效规则标识符;有效规则标识符是指有效消息处理规则对应的规则标识符;有效消息处理规则是由会话管理网元根据规则激活条件在消息处理规则集合中所确定的;
第三获取模块,用于当边缘应用服务器发现网元接收到域名系统消息时,根据有效规则标识符在消息处理规则集合包含的一个或多个消息处理规则中获取目标消息处理规则,根据目标消息处理规则对域名系统消息进行处理。
本申请实施例一方面提供了一种网元设备,包括:处理器、存储器、网络接口;
上述处理器与上述存储器、上述网络接口相连,其中,上述网络接口用于提供数据通信网元,上述存储器用于存储计算机程序,上述处理器用于调用上述计算机程序,以使网元设备执行本申请实施例中的方法。
本申请实施例一方面提供了一种计算机可读存储介质,上述计算机可读存储介质中存储有计算机程序,上述计算机程序适于由处理器加载并执行本申请实施例中的方法。
本申请实施例一方面提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,计算机指令适于由处理器加载并执行本申请实施例中的方法。
本申请实施例可以支持会话管理网元获取具有节点级别的消息处理规则集合,同时获取规则激活条件,并将消息处理规则集合下发至边缘应用服务器发现网元,进而会话管理网元可以在协议数据单元会话建立时根据规则激活条件确定有效消息处理规则,并可将其对应的有效规则标识符发送至边缘应用服务器发现网元,后续边缘应用服务器发现网元可以在该协议数据单元会话过程中根据该有效规则标识符所对应的消息处理规则对接收到的域名系统消息进行处理。由此可见,在本申请实施例中,会话管理网元将消息处理规则集合成功下发至边缘应用服务器发现网元后,若没有涉及到规则的更新,则后续无论建立多少个协议数据单元会话,都不需要再触发消息处理规则的请求和下发,即不需要针对每个终端设备的每个协议数据单元会话都频繁下发消息处理规则。此外,在本申请实施例中,每次建立协议数据单元会话时,都会触发会话管理网元进行基于规则激活条件的判断,以从消息处理规则集合中选取适用于该协议数据单元会话的有效消息处理规则,因此消息处理规则的启用是灵活可控的,从而可以提升域名系统消息处理效率。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本申请实施例提供的一种系统架构示意图;
图2a-图2c是本申请实施例提供的一种数据处理方法的场景示意图;
图3是本申请实施例提供的一种数据处理方法的流程示意图;
图4是本申请实施例提供的一种数据处理方法的场景示意图;
图5是本申请实施例提供的一种数据处理方法的场景示意图;
图6是本申请实施例提供的一种数据处理方法的场景示意图;
图7是本申请实施例提供的一种数据处理方法的流程示意图;
图8是本申请实施例提供的一种数据处理方法的流程示意图;
图9是本申请实施例提供的一种数据处理方法的场景示意图;
图10是本申请实施例提供的一种数据处理方法的流程示意图;
图11是本申请实施例提供的一种网元装置的结构示意图;
图12是本申请实施例提供的一种网元装置的结构示意图;
图13是本申请实施例提供的一种网元装置的结构示意图;
图14是本申请实施例提供的一种网元设备的结构示意图;
图15是本申请实施例提供的一种网元设备的结构示意图;
图16是本申请实施例提供的一种网元设备的结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
请参见图1,是本申请实施例提供的一种系统架构示意图。如图1所示,该系统架构可以应用于支持边缘计算的业务场景中。边缘计算是指在靠近物或数据源头的网络边缘侧,融合网络、计算存储、应用核心能力的平台,就近提供边缘智能服务,满足行业数字化在敏捷联接、实时业务、数据优化、应用智能安全与隐私保护等方面的关键需求。边缘计算使运营商和第三方服务能够靠近终端设备的接入点进行托管,从而通过减少传输网络上的端到端延迟和负载来实现高效的服务交付。
第五代移动通信技术(简称5G)是具有高速率、低时延和大连接特点的新一代宽带移动通信技术,是实现人机物互联的网络基础设施。国际电信联盟(ITU)定义了5G应用中较为典型的场景,包括:增强移动宽带(Enhanced Mobile Broadband,eMBB)、超可靠低延迟通信(Ultra-relaible and Low Latency Communication,URLLC)、超可靠低延迟通信和海量机器通信(massive Machine Type of Communication,mMTC)、车联网(vehicle to everything,V2X)等。一方面,上述eMBB场景提供大流量移动宽带业务,如高速下载、高清视频、虚拟现实(Virtual Reality,VR)/增强现实(Augmented Reality,AR)等,这些业务的峰值速率通常超过10Gbps,带宽的要求则高达几十Gbps,故此,会对无线中传、回传移动网络造成巨大的压力。因此,这些业务需求需要将业务尽可能下沉至网络边缘,以实现业务的本地分流。另一方面,URLLC场景及V2X场景可提供超高可靠超低时延通信,如自动驾驶、工业控制、远程医疗等,其要求端到端99.999%的高可靠性以及端到端小于1ms的超低时延,因此,这些业务需求也需要将业务下沉至网络边缘,以减少网络传输和多级业务转发带来的网络时延。
上述可知,5G的推广增加了对边缘计算的需求,此外,边缘计算与5G结合使用可以帮助遇到突发且持续的流量激增情况的网络解决带宽、时延和安全问题。
如图1所示,该系统架构可以包括边缘数据中心100以及终端集群,终端集群可以包括:终端设备200a、终端设备200b、终端设备200c、…、终端设备200n,边缘数据中心100可以包括多个边缘应用服务器(EAS),如边缘应用服务器100a、边缘应用服务器100b、…、边缘应用服务器100m。其中,终端集群之间可以存在通信连接,例如终端设备200a与终端设备200b之间存在通信连接,终端设备200a与终端设备200n之间存在通信连接。其中,边缘应用服务器之间可以存在通信连接,例如边缘应用服务器100a和边缘应用服务器100b之间存在通信连接。同时,终端集群中的任一终端设备可以与边缘数据中心100中的任一边缘应用服务器存在通信连接,例如终端设备200a与边缘应用服务器100a之间存在通信连接。其中,上述通信连接不限定连接方式,可以通过4G无线接入方式,也可以通过5G无线接入方式等,本申请在此不做限制。
需要说明的是,在移动通信中,如图1所示的系统架构还可以包括接入网、承载网(传输网)以及核心网,接入网中可以部署多个基站(如5G基站gNB(gNodeB)),主要负责终端设备在无线侧的接入与管理;承载网可以由一系列运营商的交换和路由设备组成,主要用于传输基站与核心网之间的控制信令与用户数据;核心网则可以部署一系列核心网网元(“网元”也可称为“网络功能”),这些网元协同对终端设备进行鉴权、计费和移动性管理等,此处不对接入网和承载网进行展开描述。
为便于后续实施例的理解和说明,这里先对本申请实施例涉及到的主要核心网网元进行简要介绍,具体如下:
(1)SMF(Session Management Function,会话管理功能):主要负责会话建立、删除,用户面选择与控制,UE IP(UE,User Equipment,即终端设备或用户设备;IP,Internet Protocol,即互联网协议)地址分配等。在本申请实施例中,SMF也可以称为会话管理网元。
(2)UPF(User Plane Function,用户平面功能):主要负责移动核心网用户面的数据路由和转发,并与外部数据网络(Data Network,比如运营商业务、互联网或者第三方业务等)互连。UPF是5G核心网中处理数据的模块。
(3)PCF(Policy Control Function,策略控制功能):主要负责使用统一的策略框架来管理网络行为,并协同UDR(Unified Data Repository)中的用户信息,来执行相关的策略。在本申请实施例中,PCF也可以称为策略控制网元。
(4)UDR(Unified Data Repository,统一数据存储库):主要负责结构化服务的存储和检索,支持UDM(Unified Data Management,统一数据管理)存储和检索签约数据,支持PCF存储和检索策略数据等。在本申请实施例中,UDR也可以称为统一数据存储网元。
(5)EASDF(Edge Application Server Discovery Function,边缘应用服务器发现功能):在本申请实施例中,EASDF也可称为边缘应用服务器发现网元,其主要功能如下:
(a)向NRF(Network Repository Function,网络仓储功能)注册以进行EASDF的发现和选择;
(b)根据SMF的指示处理DNS(Domain Name System,域名系统)消息,包括:
(b1)接收来自于SMF的DNS消息处理规则;
(b2)交换来自UE的DNS消息;
(b3)将DNS消息转发到C-DNS服务器(Central DNS server,中心域名系统服务器)或L-DNS服务器(Local DNS server,本地域名系统服务器)以进行DNS查询;
(b4)将ECS(EDNS Client Subnet,EDNS客户端子网,EDNS即Extension Mechanisms for DNS,是一种扩展DNS机制)选项添加到针对一个FQDN(Fully Qualified Domain Name,全限定域名/完全合格域名/全称域名)的DNS查询中;
(b5)将EASDF相关信息通知给SMF;
(b6)如果使用DoT(DNS over TLS,使用TLS协议来传输DNS协议)、DoH(DNS over HTTPS,使用HTTPS协议来传输DNS协议)或DNS over DTLS(使用数据包传输层安全性协议(即Datagram Transport Layer Security,DTLS)来传输DNS协议),则终止DNS安全。
需要说明的是,EASDF可以通过数据面接口与PSA(PDU Session Anchor,即PDU(Protocol Data Unit,协议数据单元)会话锚点)UPF连接,可用于传输与UE交换的DNS消息。此外,可以在一个PLMN(Public Land Mobile Network,公共陆地移动网络)内部署多个EASDF实例,且5G核心网的网络功能与EASDF之间的交互发生在一个PLMN内。
在5G网络下,假设某个终端设备(如终端设备200a、终端设备200b、终端设备200c以及终端设备200n中的任意一个)希望访问移动通信网外部的数据网络(Data Network,DN),例如Internet、WAP、企业内部网等,则该终端设备可以发起访问请求,基站可以将其请求的业务流转发至5G核心网(5G Core,可简称为5GC)中的核心网网元UPF,再通过核心网网元UPF转发后,发送到外部数据网络,5G核心网中的其它核心网网元则负责处理信令,控制整个流程。
进一步,为了获得更高效的服务交付,可以采用边缘计算来满足不同的业务需求。需要说明的是,在边缘计算场景下,一个应用服务可能由通常部署在不同站点的多个边缘应用服务器(如图1中的边缘应用服务器100a、边缘应用服务器100b、边缘应用服务器100m)提供服务,这些承载服务的多个边缘应用服务器可能使用单个IP地址或不同IP地址。通常情况下,某个应用的应用服务器可能部署在中心的应用服务器中,也可能部署在边缘应用服务器中。要想把该应用的业务流路由到边缘应用服务器(Edge Application Server),终端设备需要知道为该应用提供服务的边缘应用服务器的IP地址,终端设备可以进行发现以获取合适的边缘应用服务器(例如最近的一个边缘应用服务器)的IP地址,以便流量可以被本地路由到该边缘应用服务器,并且可以优化服务延迟、流量路由路径和用户服务体验。基于此,边缘应用服务器发现是终端设备使用域名系统查找合适的边缘应用服务器的IP地址的过程。其中,域名系统(DNS)是互联网的一项服务,它作为将域名和IP地址相互映射的一个分布式数据库,能够使用户更方便地访问互联网。
5G核心网支持终端设备和数据网络间的PDU连接业务,PDU连接业务通过PDU会话(即协议数据单元会话)的形式来体现,一个PDU会话是指一个终端设备与数据网络之间进行通讯的过程,也就是说,PDU会话建立后,也就建立起了该终端设备和数据网络之间的数据传输通道。以终端设备200a为例,假设终端设备200a希望获得某个边缘应用服务,则终端设备200a可以向5G核心网中的核心网网元SMF发起一个PDU会话建立请求,在PDU会话建立过程中,核心网网元SMF可以通过核心网网元PCF提供的PDU会话相关策略信息获取到边缘应用服务器部署信息,进而核心网网元SMF可以按照相关规则选择核心网网元EASDF,并将核心网网元EASDF的地址作为该PDU会话的DNS服务器的地址提供给终端设备200a。进一步,终端设备200a可以将DNS查询请求消息发送到核心网网元EASDF。需要说明的是,核心网网元SMF可以在核心网网元EASDF上配置DNS消息处理规则,以便核心网网元EASDF在检测到DNS消息时将终端设备200a的DNS消息转发到相关的DNS服务器,和/或在检测到DNS消息时进行报告。可以理解,DNS消息处理规则包括用于DNS消息检测和相关操作的信息。需要说明的是,在上述PDU会话过程中,核心网网元SMF和核心网网元EASDF可以进行多次交互,使得核心网网元EASDF可以正确的 处理DNS请求和DNS响应消息,并使得核心网网元SMF可以正确的建立分流路径并设置分流规则,进而可以将该边缘应用服务器的IP地址返回至终端设备200a,终端设备200a接收到该IP地址后,可以将其作为业务访问地址去访问该IP地址对应的边缘应用服务器。假设通过上述过程最终查找到的是边缘应用服务器100a,则边缘应用服务器100a可以为终端设备200a提供相应的边缘应用服务。
可以理解,对于超大带宽的业务,通过移动边缘计算(如图1所示的边缘应用服务器)的就近部署,使超大带宽流量就近处理,可以极大减轻大带宽对骨干网络的冲击,典型场景如体育馆比赛直播、演唱会直播、移动内容分发等。
需要说明的是,本申请实施例中的核心网网元SMF可以获取具有节点级别(node level)的消息处理规则集合以及规则激活条件,并可以将消息处理规则集合下发至核心网网元EASDF,其中,该消息处理规则集合可以包括一个或多个DNS消息处理规则。进一步,当PDU会话建立时,核心网网元SMF可以根据规则激活条件在上述消息处理规则集合中确定有效消息处理规则,进而核心网网元EASDF可以在该PDU会话过程中根据有效消息处理规则对接收到的DNS消息进行处理。需要说明的是,具有节点级别的消息处理规则集合的发送条件不依赖于PDU会话的创建,也就是说,核心网网元EASDF接收到消息处理规则集合后,如果不涉及规则更新,则可以在后续的所有PDU会话过程中均根据该消息处理规则集合对接收到的DNS消息进行处理,即该消息处理规则集合可以应用于发送到该核心网网元EASDF的所有DNS消息的处理,而不需要核心网网元SMF频繁进行规则的下发。同时,规则激活条件的使用条件依赖于PDU会话的创建,即规则激活条件适用于所有PDU会话,也就是说,每次建立PDU会话时,核心网网元SMF都可以根据规则激活条件,在消息处理规则集合中选取出适用于该PDU会话的有效消息处理规则,并将其对应的有效规则标识符通知给核心网网元EASDF,而不需要再重新下发新的DNS消息处理规则。
可以理解的是,上述可用于边缘计算的终端设备可以包括民用、商用、工业、军工等领域的终端应用产品,如智能手机、平板电脑、笔记本电脑、掌上电脑、移动互联网设备(mobile internet device,MID)、可穿戴设备(例如智能手表、智能手环等)、智能电脑、智能车载、智能家居、无人机、ATM机、摄像头、红绿灯、发电机或各类型的传感器等。边缘应用服务器可以是独立的物理服务器,也可以是多个物理服务器构成的服务器集群或者分布式系统,还可以是提供云数据库、云服务、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、CDN、以及大数据和人工智能平台等基础云计算服务的云服务器。其中,终端设备和边缘应用服务器可以通过有线或无线方式进行直接或间接地连接,本申请实施例在此不做限制。
请一并参见图2a-图2c,是本申请实施例提供的一种数据处理方法的场景示意图。该数据处理方法的实现过程主要在5G核心网内进行。如图2a所示,在核心网300中,会话管理网元300a(即SMF)可以获取消息处理规则集合300b以及规则激活条件300c,其中,消息处理规则集合300b以及规则激活条件300c可以由会话管理网元300a生成,也可以由核心网300中的其它核心网网元(例如策略控制网元)生成,本申请实施例对此不做限制。其中,消息处理规则集合300b可以包括一个或多个消息处理规则,规则激活条件300c可以包括一个或多个规则激活条件,且一个消息处理规则对应于一个或多个规则激活条件,本申请实施例对消息处理规则以及规则激活条件的具体数量不做限制。当会话管理网元300a和边缘应用服务器发现网元300d(即EASDF)建立连接时,双方可进行数据交互,例如进行规则的请求和下发。在一种可选的实施方式中,会话管理网元300a可以将消息处理规则集合300b下发给边缘应用服务器发现网元300d。
需要说明的是,还可以采用其它方式进行消息处理规则的生成和下发,本申请实施例对此不做限制,一些可选的方式(例如策略控制网元生成和下发消息处理规则)可参见后续的实施例。当然,本申请还可以拓展至其它相关或类似的场景。
进一步,边缘应用服务器发现网元300d接收到消息处理规则集合300b后,可以采用消息处理规则集合300b对后续接收到的域名系统消息(即DNS消息)进行处理,且该消息处理规则集合300b对任意终端设备的任意协议数据单元会话均适用。如上述所说,在本申请实施例中,会话管理网元300a上对于每一个消息处理规则均会设置相应的规则激活条件,也就是说,针对一个协议数据单元会话,边缘应用服务器发现网元300d具体会使用消息处理规则集合300b中的哪些消息处理规则,需要会话管理网元300a先进行判断,具体请一并参见图2b,本申请实施例以一个终端设备发起一个协议数据单元会话为例进行说明。如图2b所示,假设终端设备400向核心网300发起一个协议数据单元会话建立请求,例如协议数据单元会话A,当协议数据单元会话A建立时,会话管理网元300a可以根据规则激活条件300c在消息处理规则集合300b中确定有效消息处理规则,具体的,假设消息处理规则集合300b包括M个消息处理规则,分别为消息处理规则B1、消息处理规则B2、…、消息处理规则BM,其中,M为大于1的整数,相应的,规则激活条件300c可包括N个规则激活条件(N为大于1的整数),分别为规则激活条件C1、规则激活条件C2、…、规则激活条件CN,且消息处理规则可以对应一个或多个规则激活条件,也可以一个规则激活条件对应一个或多个消息处理规则。如消息处理规则B1对应于规则激活条件C1,消息处理规则B2对应 于规则激活条件C2或消息处理规则C3,…,消息处理规则B4和消息处理规则BM都对应于规则激活条件CN,则会话管理网元300a可以将协议数据单元会话A分别与上述规则激活条件C1、规则激活条件C2、…、规则激活条件CN进行匹配,进而可以将匹配到的一个或多个规则激活条件相关联的消息处理规则确定为有效消息处理规则301b,随后,会话管理网元300a可以将有效消息处理规则301b对应的规则标识符确定为有效规则标识符302b,并可以将有效规则标识符302b发送至边缘应用服务器发现网元300d。
进一步,边缘应用服务器发现网元300d接收到有效规则标识符302b后,可以在协议数据单元会话A的过程中,根据有效规则标识符302b所对应的消息处理规则对接收到的域名系统消息进行处理。请一并参见图2c,如图2c所示,边缘应用服务器发现网元300d可以将消息处理规则集合300b中与有效规则标识符302b相同的规则标识符所对应的消息处理规则确定为有效消息处理规则303b,可以理解,有效消息处理规则303b对协议数据单元会话A中的域名系统消息均适用,且有效消息处理规则303b与上述有效消息处理规则301b是相同的。为便于说明,假设有效消息处理规则303b中包括多个有效消息处理规则,可以理解,在协议数据单元会话A的过程中,会产生多个域名系统消息,如域名系统消息A1、域名系统消息A2、…、域名系统消息AS(S为大于1的整数),这些域名系统消息可以包括查询请求消息类型和查询响应消息类型,例如域名系统消息A1可以是终端设备400发送的一个域名系统查询请求消息。进一步,边缘应用服务器发现网元300d可以在有效消息处理规则303b中的多个有效消息处理规则中,分别获取适用于每个域名系统消息的目标消息处理规则,进而边缘应用服务器发现网元300d可以根据对应的目标消息处理规则分别对每个域名系统消息进行处理。
以域名系统消息A1为例,假设有效消息处理规则303b包括T个有效消息处理规则,分别为消息处理规则X 1、消息处理规则X 2、…、消息处理规则X T,其中,T为大于1的整数,则边缘应用服务器发现网元300d在接收到域名系统消息A1时,可以将域名系统消息A1与有效消息处理规则303b中的T个消息处理规则进行匹配,并将匹配到的消息处理规则确定为域名系统消息A1对应的候选消息处理规则,若此时候选消息处理规则为一个,则可以直接将该候选消息处理规则确定为域名系统消息A1对应的目标消息处理规则;若此时候选消息处理规则为多个,则可以从候选消息处理规则中获取域名系统消息A1对应的目标消息处理规则,例如,假设此时候选消息处理规则包括消息处理规则X 1、消息处理规则X 2,则边缘应用服务器发现网元300d可以根据消息处理规则X 1、消息处理规则X 2对应的规则优先级进行排序,从这两个消息处理规则中选取规则优先级最高的消息处理规则作为域名系统消息A1对应的目标消息处理规则。需要说明的是,还可以采用其它方式在多个候选消息处理规则中确定目标消息处理规则,本申请实施例对此不做限制。
可选的,边缘应用服务器发现网元300d在接收到域名系统消息A1时,可以将域名系统消息A1与有效消息处理规则303b中的T个消息处理规则按照优先级的顺序进行匹配,即从高优先级的消息处理规则开始,依次进行匹配,当匹配到合适的消息处理规则时,就将该消息处理规则确定为目标消息处理规则,匹配过程结束。
假设经过上述步骤确定的目标消息处理规则为消息处理规则X 1,则边缘应用服务器发现网元300d可以根据消息处理规则X 1中的消息处理操作对域名系统消息A1进行处理。可以理解,边缘应用服务器发现网元300d对接收到的其它域名系统消息(如域名系统消息A2、域名系统消息AN等)的处理过程与对域名系统消息A1的处理过程一致,这里不再进行赘述。
如图2c所示,最终,边缘应用服务器发现网元300d可以向终端设备400发送域名系统查询响应消息,在一种实施方式中,该域名系统查询响应消息可以包含一个或多个边缘应用服务器的IP地址。可以理解,对于终端设备400建立的其它协议数据单元会话,或者其它终端设备建立的协议数据单元会话,其处理过程与上述针对协议数据单元会话A的处理过程一致,这里不再进行赘述。
需要说明的是,图2a-图2c所示的数据处理方法中仅体现了与本申请实施例具有密切关系的核心网网元(包括SMF和EASDF),实际业务场景中还会涉及到其它的核心网网元,例如AMF(Access and Mobility Management Function,接入和移动性管理功能)、基站、UDM等,本申请实施例不进行展开。
上述可知,本申请实施例提供了一种消息处理规则的配置和使用方法,其中,消息处理规则集合具有节点级别,该消息处理规则集合的发送条件不依赖于协议数据单元会话的创建,也就是说,会话管理网元将消息处理规则集合成功下发至边缘应用服务器发现网元后,若没有涉及到规则的更新,则后续无论建立多少个协议数据单元会话,都不需要再触发消息处理规则的请求和下发,即不需要针对每个终端设备的每个协议数据单元会话都频繁下发消息处理规则。此外,本申请实施例提供的规则激活条件的使用条件依赖于协议数据单元会话的创建,也就是说,每次建立协议数据单元会话时,都会触发会话管理网元进行基于规则激活条件的判断,以从消息处理规则集合中选取适用于该协议数据单元会话的有效消息处理规则,因此消息处理规则的启用是灵活可控的,从而可以提升域名系统消息处理效率。
请参见图3,是本申请实施例提供的一种数据处理方法的流程示意图。该数据处理方法可以由会话管理网元(SMF)执行。如图3所示,该数据处理方法至少可以包括以下步骤S101-步骤S102:
步骤S101,会话管理网元获取具有节点级别的消息处理规则集合,获取规则激活条件,将消息处理规则集合下发至边缘应用服务器发现网元;消息处理规则集合包括一个或多个消息处理规则;
具体的,会话管理网元可以先获取具有节点级别的消息处理规则集合,同时可以获取规则激活条件,进而可以将消息处理规则集合下发至边缘应用服务器发现网元,其中,消息处理规则集合包括一个或多个具有优先级的消息处理规则(DNS message handling rule),且该具有节点级别的消息处理规则集合的发送条件不依赖于协议数据单元会话的创建,是在网元启用时就可以进行发送,此外,规则激活条件适用于所有协议数据单元会话。
需要说明的是,本申请实施例提供了几种方式来获取消息处理规则集合和规则激活条件,具体如下:
可选的,会话管理网元可以获取规则生成信息,进而可以根据规则生成信息生成一个或多个具有优先级的消息处理规则,且可以将这一个或多个消息处理规则确定为具有节点级别的消息处理规则集合,同时,可以生成消息处理规则集合中一个或多个消息处理规则相关联的规则激活条件。进一步,当会话管理网元和边缘应用服务器发现网元建立连接时,会话管理网元可以将消息处理规则集合下发至边缘应用服务器发现网元。请一并参见图4,是本申请实施例提供的一种数据处理方法的场景示意图。如图4所示,具有节点级别的消息处理规则集合以及具有会话级别的规则激活条件均由会话管理网元生成,当会话管理网元和边缘应用服务器发现网元建立连接时,会话管理网元会将生成的具有节点级别的消息处理规则集合下发给边缘应用服务器发现网元,边缘应用服务器发现网元接收到该消息处理规则集合后,可以向会话管理网元发送确认接收的响应消息。需要说明的是,规则下发的流程可以定义为边缘应用服务器发现网元的服务,或者,可以定义为会话管理网元的服务,本申请实施例不对实现该功能的具体的服务定义进行限制。可以理解,会话管理网元也可以将生成的消息处理规则集合存储至统一数据存储网元(UDR)。
可选的,当会话管理网元和边缘应用服务器发现网元建立连接时,会话管理网元可以向策略控制网元发送规则获取请求,以使策略控制网元响应规则获取请求,对消息处理规则集合和规则激活条件进行发送,其中,消息处理规则集合以及规则激活条件是由策略控制网元生成的。进一步,会话管理网元可以接收策略控制网元发送的消息处理规则集合以及规则激活条件,进而可以将消息处理规则集合发送至边缘应用服务器发现网元。请一并参见图5,是本申请实施例提供的一种数据处理方法的场景示意图。如图5所示,策略控制网元可以获取规则生成信息,进而可以根据规则生成信息生成一个或多个具有优先级的消息处理规则,且可以将这一个或多个消息处理规则确定为消息处理规则集合,同时,可以生成消息处理规则集合中一个或多个消息处理规则相关联的规则激活条件,当会话管理网元和边缘应用服务器发现网元建立连接时,会话管理网元可以向策略控制网元请求具有节点级别的消息处理规则集合以及请求规则激活条件,策略控制网元可以响应该规则获取请求,在相关的响应消息中将消息处理规则集合和规则激活条件发送至会话管理网元,会话管理网元接收到该消息处理规则集合和规则激活条件后,可以向策略控制网元发送确认接收的响应消息,进一步,会话管理网元可以将该消息处理规则集合下发给边缘应用服务器发现网元,边缘应用服务器发现网元接收到该消息处理规则集合后,可以向会话管理网元发送确认接收的响应消息。
可选的,当会话管理网元和边缘应用服务器发现网元建立连接时,会话管理网元可以通过统一数据存储网元获取消息处理规则集合和规则激活条件,进而可以将消息处理规则集合发送至边缘应用服务器发现网元,其中,消息处理规则集合以及规则激活条件是由策略控制网元生成并存储至统一数据存储网元的。请一并参见图6,是本申请实施例提供的一种数据处理方法的场景示意图。如图6所示,具有节点级别的消息处理规则集合以及具有会话级别的规则激活条件由策略控制网元生成,策略控制网元可以将该消息处理规则集合以及规则激活条件先存储至统一数据存储网元,当会话管理网元和边缘应用服务器发现网元建立连接时,统一数据存储网元可以将上述消息处理规则集合以及规则激活条件下发至会话管理网元,会话管理网元接收到该消息处理规则集合以及规则激活条件后,可以向统一数据存储网元发送确认接收的响应消息,进一步,会话管理网元可以将该消息处理规则集合下发给边缘应用服务器发现网元,边缘应用服务器发现网元接收到该消息处理规则集合后,可以向会话管理网元发送确认接收的响应消息。
其中,上述规则生成信息具体可以包括应用功能(AF)的请求信息或者运营商的配置信息。
其中,消息处理规则集合中的每个消息处理规则均包括消息检测模板和消息处理操作。其中,消息检测模板具体可以包括查询请求消息检测模板、查询响应消息检测模板中的一个或多个模板;消息处理操作包括但不限于内容报告操作、转发操作、缓存等待操作、发送操作中的一个或多个操作;转发操作可以进一步包括选项构建操作或者地址替换操作。此外,每个消息处理规则还可以包括规则标识符、规则优先级,也可以进一步包含以下至少一种:规则级别和生命周期。其中,规则标识符是指对每个消息处理规则进行区别标记的标识符;规则级别是指节点级别;规则优先级表征每个消息处理规则被执行的先后顺序;生命周期表征每个消息处理规则的有效时间范围。
更具体的,每个消息处理规则可以包括以下内容:
(1)规则标识符(rule ID);
(2)规则级别:节点级别(node level),即该消息处理规则对该节点上的所有域名系统消息(即 DNS消息)均有效;
(3)规则优先级(Precedence of the DNS message handling rule);
(4)消息检测模板(DNS message detection template),包括以下至少一个:
(a)若域名系统消息的消息类型为查询请求消息类型(即DNS message type=DNSQuery):
包括表征全限定域名(FQDN)范围的数组,可包括一个或多个全限定域名,其中,数组中的一个或多个全限定域名可用于对域名系统消息进行匹配,即作为查询请求消息检测模板;
(b)若域名系统消息的消息类型为查询响应消息类型(即DNS message type=DNSResponse):
可以包括以下至少一种:表征全限定域名范围的数组和表征边缘应用服务器地址(EAS IP address,即边缘应用服务器的IP地址)范围的数组(可包括一个或多个边缘应用服务器地址),其中,数组中的一个或多个全限定域名,或者,一个或多个边缘应用服务器地址,可用于对域名系统消息进行匹配,即作为查询响应消息检测模板;
(5)执行至少一个可能的消息处理操作,可以包括:
(a)内容报告操作:向会话管理网元报告域名系统消息的内容,如可以包括以下至少一种:从域名系统消息中解析到的边缘应用服务器IP地址,FQDN等;
(b)转发操作:将域名系统消息发送到预先配置DNS服务器/解析器(DNS server/resolver)或指定的DNS服务器(indicated DNS server),此外也可以包含如下操作(指定的DNS服务器包含在消息处理规则中):
(b1)选项构建操作:在域名系统消息中包含构建可选ECS选项(ECS option)的信息(边缘应用服务器发现网元构建ECS选项的信息包含在消息处理规则中);
(b2)地址替换操作:用指定的DNS服务器地址(DNS Server Address)替换域名系统消息目标地址;以及用特定的IP地址替换域名系统消息的源地址。如果会话管理网元没有提供DNS服务器地址,那么边缘应用服务器发现网元将把域名系统消息转发到本地预配置的DNS服务器/解析器;
(c)缓存等待操作:缓存域名系统消息,向会话管理网元报告域名系统消息的内容且等待会话管理网元的指令;
(d)发送操作:将指定的域名系统响应消息发送给UE。
(6)生命周期,也可称为时间窗(Time Window):定义该消息处理规则的有效时间。在该时间窗之外,该消息处理规则无效。
上述可知,本申请实施例提供的查询请求消息检测模板不包含源IP地址(Source IP address,如终端设备的IP地址),因为本申请提供的方案不涉及会话级别的规则配置,而是对所有会话均适用。
可以理解,可以根据实际需求对消息处理规则的具体内容进行调整,本申请实施例对此不做限制。
步骤S102,当协议数据单元会话建立时,会话管理网元根据规则激活条件在消息处理规则集合中确定有效消息处理规则,将有效消息处理规则对应的规则标识符确定为有效规则标识符,将有效规则标识符发送至边缘应用服务器发现网元,以使边缘应用服务器发现网元在协议数据单元会话过程中根据有效规则标识符所对应的消息处理规则对接收到的域名系统消息进行处理。
在本申请实施例中,会话管理网元对于每一个消息处理规则,都会设置会话级别的规则激活条件,即当终端设备建立的协议数据单元会话满足这些规则激活条件时,才会激活对应的消息处理规则。为便于理解和说明,假设消息处理规则集合包括一个或多个消息处理规则,且一个消息处理规则对应于一个或多个规则激活条件。具体的,当协议数据单元会话建立时,会话管理网元可以根据规则激活条件,在消息处理规则集合中的一个或多个消息处理规则中确定有效消息处理规则,进而可以将该有效消息处理规则对应的规则标识符确定为有效规则标识符,并将有效规则标识符发送至边缘应用服务器发现网元。进一步,边缘应用服务器发现网元接收到有效规则标识符后,可以在协议数据单元会话过程中,根据有效规则标识符所对应的消息处理规则,对接收到的域名系统消息进行处理。也就是说,会话管理网元可以根据规则激活条件对当前的协议数据单元会话进行判断,并和边缘应用服务器发现网元交互,通知边缘应用服务器发现网元有哪个(或哪些)消息处理规则被激活了,即哪个(或哪些)消息处理规则对该协议数据单元会话是有效的。当会话管理网元中所有的规则激活条件都没有满足时,则不会激活任何一个消息处理规则,此时,边缘应用服务器发现网元按照默认的消息处理规则进行域名系统消息的处理。
请一并参见图7,是本申请实施例提供的一种数据处理方法的流程示意图。该数据处理方法至少可以包括步骤S1021-步骤S1022,且步骤S1021-步骤S1022是步骤S102的一个具体的实施方式。如图7所示, 该数据处理方法可以包括:
步骤S1021,当协议数据单元会话建立时,会话管理网元将协议数据单元会话分别与所述消息处理规则集合中各消息处理规则对应的一个或多个规则激活条件进行匹配,将匹配到的规则激活条件相关联的消息处理规则确定为有效消息处理规则;
具体的,会话管理网元可以针对不同的消息处理规则来设置不同的规则激活条件。可选的,若规则激活条件包括单个网络切片选择辅助信息(Single Network Slice Selection Assistance Information,S-NSSAI),则当协议数据单元会话建立时,会话管理网元可以获取该协议数据单元会话对应的网络切片标识,进而可以将该网络切片标识分别与包含单个网络切片选择辅助信息的各规则激活条件进行匹配,并可将匹配成功的规则激活条件确定为目标规则激活条件,进而可以将与目标规则激活条件相关联的消息处理规则确定为有效消息处理规则。其中,本申请实施例中的网络切片标识,即终端设备请求建立协议数据单元会话时需携带的S-NSSAI。其中,每个网络切片由S-NSSAI进行唯一标识,而一个S-NSSAI由SST(Slice/Serive Type,切片/服务类型)和SD(Slice Differentiator,切片分量)所组成,对应5G无线网络来说,网络切片主要体现在接入控制、网络选择和资源分离。
可选的,若规则激活条件包括数据网络名称(Data Network Name,DNN),则当协议数据单元会话建立时,会话管理网元可以获取该协议数据单元会话对应的目标数据网络名称,进而可以将目标数据网络名称分别与包含数据网络名称的各规则激活条件进行匹配,并可将匹配成功的规则激活条件(例如与目标数据网络名称相同的数据网络名称所对应的规则激活条件)确定为目标规则激活条件,进而可以将与目标规则激活条件相关联的消息处理规则确定为有效消息处理规则。
可选的,若规则激活条件包括会话和业务连续模式(Session and Service Continuity Mode,SSC Mode),则当协议数据单元会话建立时,会话管理网元可以获取该协议数据单元会话对应的目标会话和业务连续模式,进而可以将目标会话和业务连续模式分别与包含会话和业务连续模式的各规则激活条件进行匹配,并可将匹配成功的规则激活条件(例如与目标会话和业务连续模式相同的会话和业务连续模式所对应的规则激活条件)确定为目标规则激活条件,进而可以将与目标规则激活条件相关联的消息处理规则确定为有效消息处理规则。其中,5GS(5G System,即5G系统)支持三种不同的SSC模式,一个协议数据单元会话的SSC模式在该协议数据单元会话的整个生命周期内不会改变。
可选的,若规则激活条件包括用户标识信息,如用户永久标识符(Subscription Permanent Identifier,SUPI),或者内部用户组标识(Internal Group ID-list),或者用户永久标识符区间,或通用公共用户标识(GPSI,Generic Public Subscription Identifier),或者通用公共用户标识列表(GPSI list),则当协议数据单元会话建立时,会话管理网元可以获取该协议数据单元会话对应的目标用户标识信息,进而可以将目标用户标识信息分别与包含用户标识信息的各规则激活条件进行匹配,并可将匹配成功的规则激活条件(例如包含与目标用户标识信息相同的用户标识信息的规则激活条件)确定为目标规则激活条件,进而可以将与目标规则激活条件相关联的消息处理规则确定为有效消息处理规则。其中,一个规则激活条件中包含的用户标识信息的数量可以为一个或多个。
可选的,可以理解,每个规则激活条件也可以包括单个网络切片选择辅助信息、数据网络名称、会话和业务连续模式以及用户标识信息中的任意一个或多个,本申请实施例对规则激活条件的具体内容不做限制。
步骤S1022,会话管理网元将有效消息处理规则对应的规则标识符确定为有效规则标识符,将有效规则标识符发送至边缘应用服务器发现网元。
具体的,会话管理网元可以将上述有效消息处理规则对应的规则标识符确定为有效规则标识符,进而可以将有效规则标识符发送至边缘应用服务器发现网元。可以理解,有效消息处理规则的数量可能为一个或多个。
例如,假设“rule ID#1”的消息处理规则(即规则标识符为“1”),其配置的规则激活条件为“DNN=DNN#1”,则会话管理网元会在每个针对“DNN#1”的协议数据单元会话建立时,均可激活“rule ID#1”的消息处理规则;同理,若“rule ID#2”的消息处理规则(即规则标识符为“2”),其配置的规则激活条件为“SUPI=123456789”,则会话管理网元会在SUPI=123456789的终端设备建立协议数据单元会话建立时,才激活“rule ID#2”的消息处理规则。进一步,当规则激活条件被满足时,会话管理网元会将满足该规则激活条件的有效的rule ID(即有效规则标识符)发送给边缘应用服务器发现网元,边缘应用服务器发现网元则会对该协议数据单元会话执行有效的rule ID的消息处理规则。
需要说明的是,本申请实施例还支持对消息处理规则集合或规则激活条件进行更新。可选的,会话管理网元可以获取规则更新信息,进而可以根据规则更新信息对消息处理规则集合进行规则更新,并将更新后的消息处理规则集合发送至统一数据存储网元和边缘应用服务器发现网元,同理,会话管理网元也可以对规则激活条件进行更新。其中,规则更新信息可以根据应用功能的请求或者运营商的配置得到。可选的,策略控制网元可以对消息处理规则集合或规则激活条件进行更新,并将更新后的消息处理规则集合或更新 后的规则激活条件主动推送给会话管理网元以及统一数据存储网元,当会话管理网元或统一数据存储网元接收到策略控制网元发送的更新后的消息处理规则集合时,也会主动将更新后的消息处理规则集合发送给边缘应用服务器发现网元。可以理解,边缘应用服务器发现网元可以根据更新后的消息处理规则集合,对后续接收到的域名系统消息进行处理,会话管理网元也可以根据更新后的规则激活条件来进行相关的判断。其中,规则更新可以通过全量更新方式,即下发全量的消息处理规则集合,包括更新的规则和保持不变的规则;也可以通过增量更新的方式,即只下发更新的内容,而对没有更新的内容不需要重复下发。更新的内容可以包括特定的一个或多个消息处理规则内容的修改或删除,或者消息处理规则集合中增加一个或多个新的消息处理规则,或者删除一个或多个已有的消息处理规则。
本申请实施例可以支持会话管理网元获取具有节点级别的消息处理规则集合,且获取规则激活条件,并将消息处理规则集合下发至边缘应用服务器发现网元,进而会话管理网元可以在协议数据单元会话建立时根据规则激活条件确定有效消息处理规则,并可将其对应的有效规则标识符发送至边缘应用服务器发现网元,后续边缘应用服务器发现网元可以在该协议数据单元会话过程中根据该有效规则标识符所对应的消息处理规则对接收到的域名系统消息进行处理。由此可见,在本申请实施例中,会话管理网元将消息处理规则集合成功下发至边缘应用服务器发现网元后,若没有涉及到规则的更新,则后续无论建立多少个协议数据单元会话,都不需要再触发消息处理规则的请求和下发,即不需要针对每个终端设备的每个协议数据单元会话都频繁下发消息处理规则,从而可以极大减少会话管理网元和边缘应用服务器发现网元之间的交互量。此外,在本申请实施例中,每次建立协议数据单元会话时,都会触发会话管理网元进行基于规则激活条件的判断,以从消息处理规则集合中选取适用于该协议数据单元会话的有效消息处理规则,因此消息处理规则的启用是灵活可控的,从而可以提升域名系统消息处理效率。
请参见图8,是本申请实施例提供的一种数据处理方法的流程示意图。该数据处理方法可以由策略控制网元(PCF)执行。如图8所示,该数据处理方法至少可以包括以下步骤S201-步骤S203:
步骤S201,策略控制网元生成具有节点级别的消息处理规则集合,生成规则激活条件;消息处理规则集合包括一个或多个消息处理规则;
具体的,策略控制网元可以获取规则生成信息,进而可以根据规则生成信息生成一个或多个具有优先级的消息处理规则,且可以将这一个或多个消息处理规则确定为消息处理规则集合,同时,可以生成消息处理规则集合中一个或多个消息处理规则相关联的规则激活条件。其中,规则生成信息具体可以包括应用功能的请求信息或者运营商的配置信息。需要说明的是,本申请实施例中的消息处理规则集合具有节点级别,即该消息处理规则集合的发送条件不依赖于协议数据单元会话的创建,而规则激活条件的使用条件则依赖于协议数据单元会话的创建。
其中,消息处理规则集合中的每个消息处理规则均包括消息检测模板以及消息处理操作。其中,消息检测模板具体可以包括查询请求消息检测模板、查询响应消息检测模板中的一个或多个模板;消息处理操作包括但不限于内容报告操作、转发操作、缓存等待操作、发送操作中的一个或多个操作;转发操作可以包括选项构建操作或者地址替换操作。此外,每个消息处理规则还可以包括规则标识符、规则优先级,也可以进一步包含以下至少一种:规则级别和生命周期。其中,规则标识符是指对每个消息处理规则进行区别标记的标识符;规则优先级可以表征每个消息处理规则被执行的先后顺序;规则级别是指节点级别;生命周期可以表征每个消息处理规则的有效时间范围。更具体的规则内容可以参见上述图3所对应实施例中步骤S101中的描述,这里不再进行赘述。其中,每个规则激活条件可以包括单个网络切片选择辅助信息、数据网络名称、会话和业务连续模式以及用户标识信息中的任意一个或多个,本申请实施例对规则激活条件的具体内容不做限制。
可以理解,可以根据实际需求对消息处理规则或规则激活条件的具体内容进行调整,本申请实施例对此不做限制。
步骤S202,策略控制网元将消息处理规则集合和规则激活条件下发至会话管理网元,以使会话管理网元在后续建立协议数据单元会话时,根据规则激活条件在消息处理规则集合中确定有效消息处理规则,将有效消息处理规则对应的规则标识符确定为有效规则标识符,将有效规则标识符发送至边缘应用服务器发现网元;
具体的,策略控制网元可以将消息处理规则集合和规则激活条件下发至会话管理网元,请一并参见图9,是本申请实施例提供的一种数据处理方法的场景示意图。如图9所示,消息处理规则集合和规则激活条件由策略控制网元生成,当会话管理网元和边缘应用服务器发现网元建立连接时,会话管理网元可以向策略控制网元请求具有节点级别的消息处理规则集合,策略控制网元可以响应该规则获取请求,在相关的响应消息中将消息处理规则集合和规则激活条件发送至会话管理网元,会话管理网元接收到该消息处理规则集合和规则激活条件后,可以向策略控制网元发送确认接收的响应消息。
进一步,会话管理网元在后续建立协议数据单元会话时,可以根据规则激活条件在消息处理规则集合中确定有效消息处理规则,并可将有效消息处理规则对应的规则标识符确定为有效规则标识符,进而可以 将有效规则标识符发送至边缘应用服务器发现网元,具体过程可以参见上述图3所对应实施例中的步骤S102,这里不再进行赘述。
步骤S203,策略控制网元将消息处理规则集合下发至边缘应用服务器发现网元,以使边缘应用服务器发现网元在协议数据单元会话过程中根据有效规则标识符所对应的消息处理规则,对接收到的域名系统消息进行处理。
具体的,策略控制网元可以响应边缘应用服务器发现网元发送的规则获取请求,将消息处理规则集合下发至边缘应用服务器发现网元。请再次参见图9,如图9所示,当边缘应用服务器发现网元启用时,可以主动向策略控制网元请求具有节点级别的消息处理规则集合,策略控制网元可以响应该规则获取请求,在相关的响应消息中将消息处理规则集合发送至边缘应用服务器发现网元,边缘应用服务器发现网元接收到该消息处理规则集合后,可以向策略控制网元发送确认接收的响应消息。
可以理解,策略控制网元还可以对消息处理规则集合或规则激活条件进行更新。当消息处理规则集合在策略控制网元中进行更新后,策略控制网元可以主动将更新后的消息处理规则集合发送至会话管理网元和边缘应用服务器发现网元,从而边缘应用服务器发现网元可以根据更新后的消息处理规则集合对后续接收到的域名系统消息进行处理,其中,规则更新可以通过全量更新方式,即下发全量的消息处理规则集合,包括更新的规则和保持不变的规则;也可以通过增量更新的方式,即只下发更新的内容,而对没有更新的内容不需要重复下发。更新的内容可以包括特定的一个或多个消息处理规则内容的修改或删除,或者消息处理规则集合中增加一个或多个新的消息处理规则,或者删除一个或多个已有的消息处理规则。当规则激活条件在策略控制网元中进行更新后,策略控制网元可以主动将更新后的规则激活条件发送至会话管理网元,后续会话管理网元可以根据更新后的规则激活条件来进行相关的判断。
本申请实施例可以支持策略控制网元生成具有节点级别的消息处理规则集合,同时可以生成规则激活条件,进而可以将消息处理规则集合和规则激活条件下发至会话管理网元,且可将消息处理规则集合下发至边缘应用服务器发现网元,以使会话管理网元可以在协议数据单元会话建立时根据规则激活条件确定有效消息处理规则,并可将其对应的有效规则标识符发送至边缘应用服务器发现网元,后续边缘应用服务器发现网元可以在该协议数据单元会话过程中根据该有效规则标识符所对应的消息处理规则对接收到的域名系统消息进行处理。由此可见,在本申请实施例中,策略控制网元将消息处理规则集合成功下发至边缘应用服务器发现网元后,若没有涉及到规则的更新,则后续无论建立多少个协议数据单元会话,都不需要再触发消息处理规则的请求和下发,即不需要针对每个终端设备的每个协议数据单元会话都频繁下发消息处理规则。此外,在本申请实施例中,每次建立协议数据单元会话时,都会触发会话管理网元进行基于规则激活条件的判断,以从消息处理规则集合中选取适用于该协议数据单元会话的有效消息处理规则,因此消息处理规则的启用是灵活可控的,从而可以提升域名系统消息处理效率。
请参见图10,是本申请实施例提供的一种数据处理方法的流程示意图。该数据处理方法可以由边缘应用服务器发现网元(EASDF)执行。如图10所示,该数据处理方法至少可以包括以下步骤S301-步骤S303:
步骤S301,当会话管理网元和边缘应用服务器发现网元建立连接时,边缘应用服务器发现网元获取具有节点级别的消息处理规则集合;消息处理规则集合包括一个或多个消息处理规则;
具体的,当会话管理网元和边缘应用服务器发现网元建立连接时,边缘应用服务器发现网元可以获取具有节点级别的消息处理规则集合,其中,具有节点级别的消息处理规则集合的发送条件不依赖于协议数据单元会话的创建,且该消息处理规则集合可以包括一个或多个消息处理规则。结合上述图3和图8所对应的实施例,该消息处理规则集合可以由会话管理网元生成,也可以由策略控制网元生成,本申请实施例对此不做限制。
步骤S302,当协议数据单元会话建立时,边缘应用服务器发现网元获取会话管理网元发送的有效规则标识符;有效规则标识符是指有效消息处理规则对应的规则标识符;有效消息处理规则是由会话管理网元根据规则激活条件在消息处理规则集合中所确定的;
具体的,当协议数据单元会话建立时,边缘应用服务器发现网元可以获取会话管理网元发送的有效规则标识符,其中,有效规则标识符是指有效消息处理规则对应的规则标识符,且有效消息处理规则是由会话管理网元根据规则激活条件在消息处理规则集合中所确定的,具体过程可以参见上述图3所对应实施例中的步骤S102,这里不再进行赘述。
步骤S303,当边缘应用服务器发现网元接收到域名系统消息时,边缘应用服务器发现网元根据有效规则标识符在消息处理规则集合包含的一个或多个消息处理规则中获取目标消息处理规则,根据目标消息处理规则对域名系统消息进行处理。
需要说明的是,消息处理规则集合中的每个消息处理规则均包括消息检测模板以及消息处理操作。其中,消息检测模板具体可以包括查询请求消息检测模板、查询响应消息检测模板中的一个或多个模板;消息处理操作包括但不限于内容报告操作、转发操作、缓存等待操作、发送操作中的一个或多个操作;转发操作可以包括选项构建操作或者地址替换操作。此外,每个消息处理规则还可以包括规则标识符、规则优 先级,也可以进一步包含以下至少一种:规则级别和生命周期。其中,规则标识符是指对每个消息处理规则进行区别标记的标识符;规则优先级可以表征每个消息处理规则被执行的先后顺序;规则级别是指节点级别;生命周期可以表征每个消息处理规则的有效时间范围。更具体的规则内容可以参见上述图3所对应实施例中步骤S101中的描述,这里不再进行赘述。
在一种可选的实施方式中,假设消息处理规则集合中的每个消息处理规则均包括规则标识符、规则优先级、生命周期、消息检测模板以及消息处理操作。当边缘应用服务器发现网元接收到域名系统消息时,可以在消息处理规则集合包含的一个或多个消息处理规则中获取目标消息处理规则,进而可以根据目标消息处理规则对接收到的域名系统消息进行处理,具体过程可以为:边缘应用服务器发现网元可以在消息处理规则集合包含的一个或多个消息处理规则中,将与有效规则标识符相同的规则标识符对应的消息处理规则确定为有效消息处理规则,其中,有效消息处理规则的数量可能为一个或多个。
可选的,边缘应用服务器发现网元可以将上述域名系统消息与有效消息处理规则中的消息检测模板进行匹配,并将匹配到(即满足匹配条件)的有效消息处理规则确定为候选消息处理规则。可以理解,候选消息处理规则的数量可能为一个或多个。进一步,边缘应用服务器发现网元根据候选消息处理规则对应的规则优先级,边缘应用服务器发现网元可以从候选消息处理规则中获取目标消息处理规则。在一种实施方式中,当候选消息处理规则的数量为一个时,可以将该候选消息处理规则确定为目标消息处理规则。在一种实施方式中,当候选消息处理规则的数量为多个时,可以将多个候选消息处理规则中具有最高规则优先级的候选消息处理规则确定为目标消息处理规则。可选的,当候选消息处理规则的数量为多个时,可以根据多个候选消息处理规则分别对应的规则优先级和生命周期,对多个候选消息处理规则进行规则整理和排序,也就是说,可以综合考虑规则优先级和生命周期,从而可以得到在目标时间段内具有最高规则优先级的目标消息处理规则。
可选的,可以根据有效消息处理规则所对应的规则优先级的顺序,将域名系统消息与有效消息处理规则中的消息检测模板依次进行匹配,将第一个匹配到的有效消息处理规则确定为目标消息处理规则,即可以从高优先级的有效消息处理规则开始,依次进行匹配,当匹配到合适的有效消息处理规则时,就将该有效消息处理规则确定为目标消息处理规则。
其中,根据消息检测模板的定义,上述将域名系统消息与有效消息处理规则中的消息检测模板进行匹配的具体过程可以为:首先,边缘应用服务器发现网元可以获取域名系统消息的消息类型,若其消息类型为查询请求消息类型,则可以获取该域名系统消息中的全限定域名(FQDN),进而可以将该全限定域名与有效消息处理规则中的查询请求消息检测模板进行匹配,随后可以将满足匹配条件(如与该全限定域名相匹配)的有效消息处理规则确定为候选消息处理规则;可选的,若上述域名系统消息的消息类型为查询响应消息类型,则可以获取该域名系统消息中的全限定域名,进而可以将该全限定域名与有效消息处理规则中的查询响应消息检测模板进行匹配,随后可以将满足匹配条件(如与该全限定域名相匹配)的有效消息处理规则确定为候选消息处理规则;或者,若消息类型为查询响应消息类型,则可以获取该域名系统消息中的边缘应用服务器地址(EAS IP address),进而可以将该边缘应用服务器地址与有效消息处理规则中的查询响应消息检测模板进行匹配,随后可以将满足匹配条件(如与该边缘应用服务器地址相匹配)的有效消息处理规则确定为候选消息处理规则。
最终,在目标消息处理规则对应的生命周期内,边缘应用服务器发现网元可以根据目标消息处理规则中的消息处理操作对上述域名系统消息进行处理。需要说明的是,当目标消息处理规则中存在多个消息处理操作时,边缘应用服务器发现网元可以按照设置好的顺序来执行这多个消息处理操作。可以理解,生命周期实际上涉及到边缘计算的调度问题,例如,当边缘计算平台负荷非常大的时候,通过设置某些消息处理规则的生命周期可以产生一些有益变化,使得后续的边缘应用服务不会在该时间段内全都路由到该边缘计算平台。本申请实施例的相关场景可以参见上述图2a-图2c所对应实施例中的描述。
此外,当消息处理规则集合更新时,边缘应用服务器发现网元可以获取更新后的消息处理规则集合,然后可以根据更新后的消息处理规则集合,对后续接收到的域名系统消息进行处理。
本申请实施例可以支持边缘应用服务器发现网元在会话管理网元和边缘应用服务器发现网元建立连接时获取具有节点级别的消息处理规则集合,进而可以在协议数据单元会话建立时,获取会话管理网元发送的有效规则标识符,随后可以在接收到域名系统消息时,据有效规则标识符在消息处理规则集合包含的一个或多个消息处理规则中获取目标消息处理规则,并根据目标消息处理规则对域名系统消息进行处理。由此可见,在本申请实施例中,边缘应用服务器发现网元成功获取到消息处理规则集合后,若没有涉及到规则的更新,则后续无论建立多少个协议数据单元会话,都不需要再触发消息处理规则的请求和下发,即不需要针对每个终端设备的每个协议数据单元会话都频繁请求消息处理规则。此外,在本申请实施例中,每次建立协议数据单元会话时,都会触发会话管理网元进行基于规则激活条件的判断,从而当边缘应用服务器发现网元接收到域名系统消息时,可以根据会话管理网元的指示从消息处理规则集合中选取合适的消息处理规则来对该域名系统消息进行相关处理,因此消息处理规则的启用是灵活可控的,从而可以提升域 名系统消息处理效率。
请参见图11,是本申请实施例提供的一种网元装置的结构示意图。该网元装置可以是运行于网元设备的一个计算机程序(包括程序代码),例如该网元装置为一个应用软件;该装置可以用于执行本申请实施例提供的数据处理方法中的相应步骤。如图11所示,该网元装置1可以包括:获取模块11、激活模块12;
获取模块11,用于会话管理网元获取具有节点级别的消息处理规则集合,获取规则激活条件,将消息处理规则集合下发至边缘应用服务器发现网元;消息处理规则集合包括一个或多个消息处理规则;
在一种实施方式中,上述消息处理规则集合中的每个消息处理规则均消息检测模板和消息处理操作;
在一种实施方式中,上述消息检测模板包括查询请求消息检测模板、查询响应消息检测模板中的一个或多个模板;消息处理操作包括内容报告操作、转发操作、缓存等待操作、发送操作中的一个或多个操作;转发操作包括选项构建操作或地址替换操作;
在一种实施方式中,每个消息处理规则还包括规则标识符;规则标识符是指对每个消息处理规则进行区别标记的标识符;
在一种实施方式中,每个消息处理规则还包括规则优先级;规则优先级表征每个消息处理规则被执行的先后顺序;
在一种实施方式中,每个消息处理规则还包括生命周期以及规则级别;生命周期表征每个消息处理规则的有效时间范围;规则级别是指节点级别;
激活模块12,用于当协议数据单元会话建立时,根据规则激活条件在消息处理规则集合中确定有效消息处理规则,将有效消息处理规则对应的规则标识符确定为有效规则标识符,将有效规则标识符发送至边缘应用服务器发现网元,以使边缘应用服务器发现网元在协议数据单元会话过程中根据有效规则标识符所对应的消息处理规则对接收到的域名系统消息进行处理。
其中,获取模块11的具体功能实现方式可以参见上述图3所对应实施例中的步骤S101,激活模块12的具体功能实现方式可以参见上述图3所对应实施例中的步骤S102,这里不再进行赘述。
请一并参见图11,上述获取模块11可以包括:第一获取单元111、第二获取单元112、第三获取单元113;
第一获取单元111,用于会话管理网元生成具有节点级别的消息处理规则集合,生成消息处理规则集合中一个或多个消息处理规则相关联的规则激活条件;当会话管理网元和边缘应用服务器发现网元建立连接时,将消息处理规则集合下发至边缘应用服务器发现网元;
第二获取单元112,用于当会话管理网元和边缘应用服务器发现网元建立连接时,会话管理网元向策略控制网元发送规则获取请求,以使策略控制网元响应规则获取请求,发送具有节点级别的消息处理规则集合,发送规则激活条件;消息处理规则集合以及规则激活条件是由策略控制网元生成的;接收策略控制网元发送的消息处理规则集合以及规则激活条件,将消息处理规则集合发送至边缘应用服务器发现网元;
第三获取单元113,用于当会话管理网元和边缘应用服务器发现网元建立连接时,通过统一数据存储网元获取具有节点级别的消息处理规则集合,通过统一数据存储网元获取规则激活条件,将消息处理规则集合发送至边缘应用服务器发现网元;消息处理规则集合以及规则激活条件是由策略控制网元生成并存储至统一数据存储网元的。
其中,第一获取单元111、第二获取单元112、第三获取单元113的具体功能实现方式可以参见上述图3所对应实施例中的步骤S101,这里不再进行赘述。
在一种实施方式中,每个消息处理规则对应于一个或多个规则激活条件;
请一并参见图11,上述激活模块12可以包括:匹配单元121、确定单元122;
匹配单元121,用于当协议数据单元会话建立时,将协议数据单元会话分别与所述消息处理规则集合中各消息处理规则对应的一个或多个规则激活条件进行匹配,将匹配到的规则激活条件相关联的消息处理规则确定为有效消息处理规则;
确定单元122,用于将有效消息处理规则对应的规则标识符确定为有效规则标识符,将有效规则标识符发送至边缘应用服务器发现网元。
其中,匹配单元121的具体功能实现方式可以参见上述图7所对应实施例中的步骤S1021,确定单元122的具体功能实现方式可以参见上述图7所对应实施例中的步骤S1022,这里不再进行赘述。
在一种实施方式中,上述规则激活条件包括单个网络切片选择辅助信息;
请一并参见图11,上述匹配单元121可以包括:第一匹配子单元1211;
第一匹配子单元1211,用于获取协议数据单元会话对应的网络切片标识,将网络切片标识分别与包含单个网络切片选择辅助信息的各规则激活条件进行匹配,将匹配成功的规则激活条件确定为目标规则激活条件,将与目标规则激活条件相关联的消息处理规则确定为有效消息处理规则。
其中,第一匹配子单元1211的具体功能实现方式可以参见上述图7所对应实施例中的步骤S1021,这里不再进行赘述。
在一种实施方式中,上述规则激活条件包括数据网络名称;
请一并参见图11,上述匹配单元121可以包括:第二匹配子单元1212;
第二匹配子单元1212,用于获取协议数据单元会话对应的目标数据网络名称,将目标数据网络名称分别与包含数据网络名称的各规则激活条件进行匹配,将匹配成功的规则激活条件确定为目标规则激活条件,将与目标规则激活条件相关联的消息处理规则确定为有效消息处理规则。
其中,第二匹配子单元1212的具体功能实现方式可以参见上述图7所对应实施例中的步骤S1021,这里不再进行赘述。
在一种实施方式中,上述规则激活条件包括会话和业务连续模式;
请一并参见图11,上述匹配单元121可以包括:第三匹配子单元1213;
第三匹配子单元1213,用于获取协议数据单元会话对应的目标会话和业务连续模式,将目标会话和业务连续模式分别与包含会话和业务连续模式的各规则激活条件进行匹配,将匹配成功的规则激活条件确定为目标规则激活条件,将与目标规则激活条件相关联的消息处理规则确定为有效消息处理规则。
其中,第三匹配子单元1213的具体功能实现方式可以参见上述图7所对应实施例中的步骤S1021,这里不再进行赘述。
在一种实施方式中,上述规则激活条件包括用户标识信息;
请一并参见图11,上述匹配单元121可以包括:第四匹配子单元1214;
第四匹配子单元1214,用于获取协议数据单元会话对应的目标用户标识信息,将目标用户标识信息分别与包含用户标识信息的各规则激活条件进行匹配,将匹配成功的规则激活条件确定为目标规则激活条件,将与目标规则激活条件相关联的消息处理规则确定为有效消息处理规则。
其中,第四匹配子单元1214的具体功能实现方式可以参见上述图7所对应实施例中的步骤S1021,这里不再进行赘述。
本申请实施例可以支持会话管理网元获取具有节点级别的消息处理规则集合以及获取规则激活条件,并将消息处理规则集合下发至边缘应用服务器发现网元,进而会话管理网元可以在协议数据单元会话建立时根据规则激活条件确定有效消息处理规则,并可将其对应的有效规则标识符发送至边缘应用服务器发现网元,后续边缘应用服务器发现网元可以在该协议数据单元会话过程中根据该有效规则标识符所对应的消息处理规则对接收到的域名系统消息进行处理。由此可见,在本申请实施例中,会话管理网元将消息处理规则集合成功下发至边缘应用服务器发现网元后,若没有涉及到规则的更新,则后续无论建立多少个协议数据单元会话,都不需要再触发消息处理规则的请求和下发,即不需要针对每个终端设备的每个协议数据单元会话都频繁下发消息处理规则,从而可以极大减少会话管理网元和边缘应用服务器发现网元之间的交互量。此外,在本申请实施例中,每次建立协议数据单元会话时,都会触发会话管理网元进行基于规则激活条件的判断,以从消息处理规则集合中选取适用于该协议数据单元会话的有效消息处理规则,因此消息处理规则的启用是灵活可控的,从而可以提升域名系统消息处理效率。
请参见图12,是本申请实施例提供的一种网元装置的结构示意图。该网元装置可以是运行于网元设备的一个计算机程序(包括程序代码),例如该网元装置为一个应用软件;该装置可以用于执行本申请实施例提供的数据处理方法中的相应步骤。如图12所示,该网元装置2可以包括:生成模块21、第一下发模块22、第二下发模块23;
生成模块21,用于策略控制网元生成具有节点级别的消息处理规则集合,生成规则激活条件;消息处理规则集合包括一个或多个消息处理规则;
第一下发模块22,用于将消息处理规则集合和规则激活条件下发至会话管理网元,以使会话管理网元在后续建立协议数据单元会话时,根据规则激活条件在消息处理规则集合中确定有效消息处理规则,将有效消息处理规则对应的规则标识符确定为有效规则标识符,将有效规则标识符发送至边缘应用服务器发现网元;
第二下发模块23,用于将消息处理规则集合下发至边缘应用服务器发现网元,以使边缘应用服务器发现网元在协议数据单元会话过程中根据有效规则标识符所对应的消息处理规则,对接收到的域名系统消息进行处理。
其中,生成模块21的具体功能实现方式可以参见上述图8所对应实施例中的步骤S201,第一下发模块22的具体功能实现方式可以参见上述图8所对应实施例中的步骤S202,第二下发模块23的具体功能实现方式可以参见上述图8所对应实施例中的步骤S203,这里不再进行赘述。
本申请实施例可以支持策略控制网元生成具有节点级别的消息处理规则集合以及生成规则激活条件,进而可以将消息处理规则集合和规则激活条件下发至会话管理网元,且可将消息处理规则集合下发至边缘应用服务器发现网元,以使会话管理网元可以在协议数据单元会话建立时根据规则激活条件确定有效消息处理规则,并可将其对应的有效规则标识符发送至边缘应用服务器发现网元,后续边缘应用服务器发现网元可以在该协议数据单元会话过程中根据该有效规则标识符所对应的消息处理规则对接收到的域名系统 消息进行处理。由此可见,在本申请实施例中,策略控制网元将消息处理规则集合成功下发至边缘应用服务器发现网元后,若没有涉及到规则的更新,则后续无论建立多少个协议数据单元会话,都不需要再触发消息处理规则的请求和下发,即不需要针对每个终端设备的每个协议数据单元会话都频繁下发消息处理规则。此外,在本申请实施例中,每次建立协议数据单元会话时,都会触发会话管理网元进行基于规则激活条件的判断,以从消息处理规则集合中选取适用于该协议数据单元会话的有效消息处理规则,因此消息处理规则的启用是灵活可控的,从而可以提升域名系统消息处理效率。
请参见图13,是本申请实施例提供的一种网元装置的结构示意图。该网元装置可以是运行于网元设备的一个计算机程序(包括程序代码),例如该网元装置为一个应用软件;该装置可以用于执行本申请实施例提供的数据处理方法中的相应步骤。如图13所示,该网元装置3可以包括:第一获取模块31、第二获取模块32、第三获取模块33;
第一获取模块31,用于当会话管理网元和边缘应用服务器发现网元建立连接时,边缘应用服务器发现网元获取具有节点级别的消息处理规则集合;消息处理规则集合包括一个或多个消息处理规则;
第二获取模块32,用于当协议数据单元会话建立时,获取会话管理网元发送的有效规则标识符;有效规则标识符是指有效消息处理规则对应的规则标识符;有效消息处理规则是由会话管理网元根据规则激活条件在消息处理规则集合中所确定的;
第三获取模块33,用于当边缘应用服务器发现网元接收到域名系统消息时,根据有效规则标识符在消息处理规则集合包含的一个或多个消息处理规则中获取目标消息处理规则,根据目标消息处理规则对域名系统消息进行处理。
其中,第一获取模块31的具体功能实现方式可以参见上述图10所对应实施例中的步骤S301,第二获取模块32的具体功能实现方式可以参见上述图10所对应实施例中的步骤S302,第三获取模块33的具体功能实现方式可以参见上述图10所对应实施例中的步骤S303,这里不再进行赘述。
在一种实施方式中,上述消息处理规则集合中的每个消息处理规则均包括规则标识符、规则优先级、生命周期、消息检测模板以及消息处理操作;规则标识符是指对每个消息处理规则进行区别标记的标识符;
请一并参见图13,上述第三获取模块33可以包括:第一确定单元331、第一匹配单元332、获取单元333、第一处理单元334;
确定单元331,用于在一个或多个消息处理规则中,将与有效规则标识符相同的规则标识符对应的消息处理规则确定为有效消息处理规则;
匹配单元332,用于将域名系统消息与有效消息处理规则中的消息检测模板进行匹配,将匹配到的有效消息处理规则确定为候选消息处理规则;
获取单元333,用于根据候选消息处理规则对应的规则优先级,从候选消息处理规则中获取目标消息处理规则;
处理单元334,用于在目标消息处理规则对应的生命周期内,根据目标消息处理规则中的消息处理操作对域名系统消息进行处理。
其中,确定单元331、匹配单元332、获取单元333、处理单元334的具体功能实现方式可以参见上述图10所对应实施例中的步骤S303,这里不再进行赘述。
在一种实施方式中,上述消息处理规则集合中的每个消息处理规则均包括规则标识符、规则优先级、生命周期、消息检测模板以及消息处理操作;规则标识符是指对每个消息处理规则进行区别标记的标识符;
请一并参见图13,上述第三获取模块33可以包括:第二确定单元335、第二匹配单元336、第二处理单元337;
第二确定单元335,用于在一个或多个消息处理规则中,将与有效规则标识符相同的规则标识符对应的消息处理规则确定为有效消息处理规则;
第二匹配单元336,用于根据有效消息处理规则所对应的规则优先级的顺序,将域名系统消息与有效消息处理规则中的消息检测模板依次进行匹配,将第一个匹配到的有效消息处理规则确定为目标消息处理规则;
第二处理单元337,用于在目标消息处理规则对应的生命周期内,根据目标消息处理规则中的消息处理操作对域名系统消息进行处理。
其中,第二确定单元335、第二匹配单元336、第二处理单元337的具体功能实现方式可以参见上述图10所对应实施例中的步骤S303,且第一确定单元331和第二确定单元335可以合并为一个确定单元,这里不再进行赘述。
本申请实施例可以支持边缘应用服务器发现网元在会话管理网元和边缘应用服务器发现网元建立连接时获取具有节点级别的消息处理规则集合,进而可以在协议数据单元会话建立时,获取会话管理网元发送的有效规则标识符,随后可以在接收到域名系统消息时,据有效规则标识符在消息处理规则集合包含的一个或多个消息处理规则中获取目标消息处理规则,并根据目标消息处理规则对域名系统消息进行处理。 由此可见,在本申请实施例中,边缘应用服务器发现网元成功获取到消息处理规则集合后,若没有涉及到规则的更新,则后续无论建立多少个协议数据单元会话,都不需要再触发消息处理规则的请求和下发,即不需要针对每个终端设备的每个协议数据单元会话都频繁请求消息处理规则。此外,在本申请实施例中,每次建立协议数据单元会话时,都会触发会话管理网元进行基于规则激活条件的判断,从而当边缘应用服务器发现网元接收到域名系统消息时,可以根据会话管理网元的指示从消息处理规则集合中选取合适的消息处理规则来对该域名系统消息进行相关处理,因此消息处理规则的启用是灵活可控的,从而可以提升域名系统消息处理效率。
请参见图14是本申请实施例提供的一种网元设备的结构示意图。如图14所示,该网元设备1000可以包括:处理器1001,网络接口1003和存储器1004,此外,上述网元设备1000还可以包括:至少一个通信总线1002。其中,通信总线1002用于实现这些组件之间的连接通信。其中,网络接口1003可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1004可以是高速RAM存储器,也可以是非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。存储器1004可选的还可以是至少一个位于远离前述处理器1001的存储装置。如图14所示,作为一种计算机可读存储介质的存储器1004中可以包括操作系统、网络通信模块以及设备控制应用程序。在本申请实施例中,网元设备1000可以为会话管理网元。
在如图14所示的网元设备1000中,网络接口1003可提供网络通讯网元;而处理器1001可以用于调用存储器1004中存储的设备控制应用程序,以使网元设备1000执行:
获取具有节点级别的消息处理规则集合,获取规则激活条件,将消息处理规则集合下发至边缘应用服务器发现网元;消息处理规则集合包括一个或多个消息处理规则;
当协议数据单元会话建立时,根据规则激活条件在消息处理规则集合中确定有效消息处理规则,将有效消息处理规则对应的规则标识符确定为有效规则标识符,将有效规则标识符发送至边缘应用服务器发现网元,以使边缘应用服务器发现网元在协议数据单元会话过程中根据有效规则标识符所对应的消息处理规则对接收到的域名系统消息进行处理。
应当理解,本申请实施例中所描述的网元设备1000可执行前文图3、图7任一个所对应实施例中对该数据处理方法的描述,在此不再赘述。另外,对采用相同方法的有益效果描述,也不再进行赘述。
请参见图15,是本申请实施例提供的一种网元设备的结构示意图。如图15所示,该网元设备2000可以包括:处理器2001,网络接口2003和存储器2004,此外,上述网元设备2000还可以包括:至少一个通信总线2002。其中,通信总线2002用于实现这些组件之间的连接通信。其中,网络接口2003可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器2004可以是高速RAM存储器,也可以是非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。存储器2004可选的还可以是至少一个位于远离前述处理器2001的存储装置。如图15所示,作为一种计算机可读存储介质的存储器2004中可以包括操作系统、网络通信模块以及设备控制应用程序。在本申请实施例中,网元设备2000可以为策略控制网元。
在如图15所示的网元设备2000中,网络接口2003可提供网络通讯网元;而处理器2001可以用于调用存储器2004中存储的设备控制应用程序,以使网元设备2000执行:
生成具有节点级别的消息处理规则集合,生成规则激活条件;消息处理规则集合包括一个或多个消息处理规则;
将消息处理规则集合和规则激活条件下发至会话管理网元,以使会话管理网元在后续建立协议数据单元会话时,根据规则激活条件在消息处理规则集合中确定有效消息处理规则,将有效消息处理规则对应的规则标识符确定为有效规则标识符,将有效规则标识符发送至边缘应用服务器发现网元;
将消息处理规则集合下发至边缘应用服务器发现网元,以使边缘应用服务器发现网元在协议数据单元会话过程中根据有效规则标识符所对应的消息处理规则,对接收到的域名系统消息进行处理。
应当理解,本申请实施例中所描述的网元设备2000可执行前文图8所对应实施例中对该数据处理方法的描述,在此不再赘述。另外,对采用相同方法的有益效果描述,也不再进行赘述。
请参见图16,是本申请实施例提供的一种网元设备的结构示意图。如图16所示,该网元设备3000可以包括:处理器3001,网络接口3003和存储器3004,此外,上述网元设备3000还可以包括:至少一个通信总线3002。其中,通信总线3002用于实现这些组件之间的连接通信。其中,网络接口3003可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器3004可以是高速RAM存储器,也可以是非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。存储器3004可选的还可以是至少一个位于远离前述处理器3001的存储装置。如图16所示,作为一种计算机可读存储介质的存储器3004中可以包括操作系统、网络通信模块以及设备控制应用程序。在本申请实施例中,网元设备3000可以为边缘应用服务器发现网元。
在如图16所示的网元设备3000中,网络接口3003可提供网络通讯网元;而处理器3001可以用于调 用存储器3004中存储的设备控制应用程序,以使网元设备3000执行:
当与会话管理网元建立连接时,获取具有节点级别的消息处理规则集合;消息处理规则集合包括一个或多个消息处理规则;
当协议数据单元会话建立时,获取会话管理网元发送的有效规则标识符;有效规则标识符是指有效消息处理规则对应的规则标识符;有效消息处理规则是由会话管理网元根据规则激活条件在消息处理规则集合中所确定的;
当接收到域名系统消息时,根据有效规则标识符在消息处理规则集合包含的一个或多个消息处理规则中获取目标消息处理规则,根据目标消息处理规则对域名系统消息进行处理。
应当理解,本申请实施例中所描述的网元设备3000可执行前文图10所对应实施例中对该数据处理方法的描述,在此不再赘述。另外,对采用相同方法的有益效果描述,也不再进行赘述。
此外,这里需要指出的是:本申请实施例还提供了一种计算机可读存储介质,且上述计算机可读存储介质中存储有前文提及的网元装置1、网元装置2以及网元装置3所执行的计算机程序,且上述计算机程序包括程序指令,当上述处理器执行上述程序指令时,能够执行前文图3、图7、图8、图10任一个所对应实施例中对上述数据处理方法的描述,因此,这里将不再进行赘述。另外,对采用相同方法的有益效果描述,也不再进行赘述。对于本申请所涉及的计算机可读存储介质实施例中未披露的技术细节,请参照本申请方法实施例的描述。
上述计算机可读存储介质可以是前述任一实施例提供的网元装置或者上述网元设备的内部存储单元,例如网元设备的硬盘或内存。该计算机可读存储介质也可以是该网元设备的外部存储设备,例如该网元设备上配备的插接式硬盘,智能存储卡(smart media card,SMC),安全数字(secure digital,SD)卡,闪存卡(flash card)等。进一步地,该计算机可读存储介质还可以既包括该网元设备的内部存储单元也包括外部存储设备。该计算机可读存储介质用于存储该计算机程序以及该网元设备所需的其他程序和数据。该计算机可读存储介质还可以用于暂时地存储已经输出或者将要输出的数据。
此外,这里需要指出的是:本申请实施例还提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,计算机指令适于由处理器加载并执行前文图3、图7、图8、图10任一个所对应实施例提供的方法。
可选的,前述处理器可以为网元设备中的处理器,计算机指令可存储于网元设备的计算机可读存储介质中。网元设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该网元设备执行前文图3、图7、图8、图10任一个所对应实施例提供的方法。
本申请实施例的说明书和权利要求书及附图中的术语“第一”、“第二”等是用于区别不同对象,而非用于描述特定顺序。此外,术语“包括”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、装置、产品或设备没有限定于已列出的步骤或模块,而是可选地还包括没有列出的步骤或模块,或可选地还包括对于这些过程、方法、装置、产品或设备固有的其他步骤单元。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照网元一般性地描述了各示例的组成及步骤。这些网元究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的网元,但是这种实现不应认为超出本申请的范围。
以上所揭露的仅为本申请较佳实施例而已,当然不能以此来限定本申请之权利范围,因此依本申请权利要求所作的等同变化,仍属本申请所涵盖的范围。

Claims (24)

  1. 一种数据处理方法,其特征在于,包括:
    会话管理网元获取具有节点级别的消息处理规则集合,获取规则激活条件,将所述消息处理规则集合下发至边缘应用服务器发现网元;所述消息处理规则集合包括一个或多个消息处理规则;
    当协议数据单元会话建立时,所述会话管理网元根据所述规则激活条件在所述消息处理规则集合中确定有效消息处理规则,将所述有效消息处理规则对应的规则标识符确定为有效规则标识符,将所述有效规则标识符发送至所述边缘应用服务器发现网元,以使所述边缘应用服务器发现网元在所述协议数据单元会话过程中根据所述有效规则标识符所对应的消息处理规则对接收到的域名系统消息进行处理。
  2. 根据权利要求1所述的方法,其特征在于,所述会话管理网元获取具有节点级别的消息处理规则集合,获取规则激活条件,将所述消息处理规则集合下发至边缘应用服务器发现网元,包括:
    会话管理网元生成具有节点级别的消息处理规则集合,生成所述消息处理规则集合中一个或多个消息处理规则相关联的规则激活条件;
    当所述会话管理网元和边缘应用服务器发现网元建立连接时,会话管理网元将所述消息处理规则集合下发至所述边缘应用服务器发现网元。
  3. 根据权利要求1所述的方法,其特征在于,所述会话管理网元获取具有节点级别的消息处理规则集合,获取规则激活条件,将所述消息处理规则集合下发至边缘应用服务器发现网元,包括:
    当会话管理网元和边缘应用服务器发现网元建立连接时,所述会话管理网元向策略控制网元发送规则获取请求,以使所述策略控制网元响应所述规则获取请求,发送具有节点级别的消息处理规则集合,发送规则激活条件;所述消息处理规则集合以及所述规则激活条件是由所述策略控制网元生成的;
    所述会话管理网元接收所述策略控制网元发送的所述消息处理规则集合以及所述规则激活条件,将所述消息处理规则集合发送至所述边缘应用服务器发现网元。
  4. 根据权利要求1所述的方法,其特征在于,所述会话管理网元获取具有节点级别的消息处理规则集合,获取规则激活条件,将所述消息处理规则集合下发至边缘应用服务器发现网元,包括:
    当会话管理网元和边缘应用服务器发现网元建立连接时,所述会话管理网元通过统一数据存储网元获取具有节点级别的消息处理规则集合,通过所述统一数据存储网元获取规则激活条件,将所述消息处理规则集合发送至所述边缘应用服务器发现网元;所述消息处理规则集合以及所述规则激活条件是由策略控制网元生成并存储至所述统一数据存储网元的。
  5. 根据权利要求1-4中任一项所述的方法,其特征在于,所述消息处理规则集合中的每个消息处理规则均包括消息检测模板和消息处理操作。
  6. 根据权利要求5所述的方法,其特征在于,所述消息检测模板包括查询请求消息检测模板、查询响应消息检测模板中的一个或多个模板;所述消息处理操作包括内容报告操作、转发操作、缓存等待操作、发送操作中的一个或多个操作;所述转发操作包括选项构建操作或地址替换操作。
  7. 根据权利要求5所述的方法,其特征在于,所述每个消息处理规则还包括规则优先级;所述规则优先级表征所述每个消息处理规则被执行的先后顺序。
  8. 根据权利要求5所述的方法,其特征在于,所述每个消息处理规则还包括生命周期以及规则级别;所述生命周期表征所述每个消息处理规则的有效时间范围;所述规则级别是指所述节点级别。
  9. 根据权利要求5中任一项所述的方法,其特征在于,所述每个消息处理规则还包括规则标识符;所述规则标识符是指对所述每个消息处理规则进行区别标记的标识符。
  10. 根据权利要求9所述的方法,其特征在于,所述每个消息处理规则对应于一个或多个规则激活条件;
    所述当协议数据单元会话建立时,所述会话管理网元根据所述规则激活条件在所述消息处理规则集合中确定有效消息处理规则,将所述有效消息处理规则对应的规则标识符确定为有效规则标识符,将所述有效规则标识符发送至所述边缘应用服务器发现网元,包括:
    当协议数据单元会话建立时,所述会话管理网元将所述协议数据单元会话分别与所述消息处理规则集合中各消息处理规则对应的一个或多个规则激活条件进行匹配,将匹配到的规则激活条件相关联的消息处理规则确定为有效消息处理规则;
    所述会话管理网元将所述有效消息处理规则对应的规则标识符确定为有效规则标识符,将所述有效规则标识符发送至所述边缘应用服务器发现网元。
  11. 根据权利要求10所述的方法,其特征在于,所述规则激活条件包括单个网络切片选择辅助信息;所述会话管理网元将所述协议数据单元会话分别与一个或多个规则激活条件进行匹配,将匹配到的规则激活条件相关联的消息处理规则确定为有效消息处理规则,包括:
    所述会话管理网元获取所述协议数据单元会话对应的网络切片标识,将所述网络切片标识分别与包含单个网络切片选择辅助信息的各规则激活条件进行匹配,将匹配成功的规则激活条件确定为目标规则激活 条件,将与所述目标规则激活条件相关联的消息处理规则确定为有效消息处理规则。
  12. 根据权利要求10所述的方法,其特征在于,所述规则激活条件包括数据网络名称;所述会话管理网元将所述协议数据单元会话分别与一个或多个规则激活条件进行匹配,将匹配到的规则激活条件相关联的消息处理规则确定为有效消息处理规则,包括:
    所述会话管理网元获取所述协议数据单元会话对应的目标数据网络名称,将所述目标数据网络名称分别与包含数据网络名称的各规则激活条件进行匹配,将匹配成功的规则激活条件确定为目标规则激活条件,将与所述目标规则激活条件相关联的消息处理规则确定为有效消息处理规则。
  13. 根据权利要求10所述的方法,其特征在于,所述规则激活条件包括会话和业务连续模式;所述会话管理网元将所述协议数据单元会话分别与一个或多个规则激活条件进行匹配,将匹配到的规则激活条件相关联的消息处理规则确定为有效消息处理规则,包括:
    所述会话管理网元获取所述协议数据单元会话对应的目标会话和业务连续模式,将所述目标会话和业务连续模式分别与包含会话和业务连续模式的各规则激活条件进行匹配,将匹配成功的规则激活条件确定为目标规则激活条件,将与所述目标规则激活条件相关联的消息处理规则确定为有效消息处理规则。
  14. 根据权利要求10所述的方法,其特征在于,所述规则激活条件包括用户标识信息;所述会话管理网元将所述协议数据单元会话分别与一个或多个规则激活条件进行匹配,将匹配到的规则激活条件相关联的消息处理规则确定为有效消息处理规则,包括:
    所述会话管理网元获取所述协议数据单元会话对应的目标用户标识信息,将所述目标用户标识信息分别与包含用户标识信息的各规则激活条件进行匹配,将匹配成功的规则激活条件确定为目标规则激活条件,将与所述目标规则激活条件相关联的消息处理规则确定为有效消息处理规则。
  15. 一种数据处理方法,其特征在于,包括:
    策略控制网元生成具有节点级别的消息处理规则集合,生成规则激活条件;所述消息处理规则集合包括一个或多个消息处理规则;
    所述策略控制网元将所述消息处理规则集合和所述规则激活条件下发至会话管理网元,以使所述会话管理网元在后续建立协议数据单元会话时,根据所述规则激活条件在所述消息处理规则集合中确定有效消息处理规则,将所述有效消息处理规则对应的规则标识符确定为有效规则标识符,将所述有效规则标识符发送至边缘应用服务器发现网元;
    所述策略控制网元将所述消息处理规则集合下发至所述边缘应用服务器发现网元,以使所述边缘应用服务器发现网元在所述协议数据单元会话过程中根据所述有效规则标识符所对应的消息处理规则,对接收到的域名系统消息进行处理。
  16. 一种数据处理方法,其特征在于,包括:
    当会话管理网元和边缘应用服务器发现网元建立连接时,所述边缘应用服务器发现网元获取具有节点级别的消息处理规则集合;所述消息处理规则集合包括一个或多个消息处理规则;
    当协议数据单元会话建立时,所述边缘应用服务器发现网元获取所述会话管理网元发送的有效规则标识符;所述有效规则标识符是指有效消息处理规则对应的规则标识符;所述有效消息处理规则是由所述会话管理网元根据规则激活条件在所述消息处理规则集合中所确定的;
    当所述边缘应用服务器发现网元接收到域名系统消息时,所述边缘应用服务器发现网元根据所述有效规则标识符在所述消息处理规则集合包含的所述一个或多个消息处理规则中获取目标消息处理规则,根据所述目标消息处理规则对所述域名系统消息进行处理。
  17. 根据权利要求16所述的方法,其特征在于,所述消息处理规则集合中的每个消息处理规则均包括规则标识符、规则优先级、生命周期、消息检测模板以及消息处理操作;所述规则标识符是指对所述每个消息处理规则进行区别标记的标识符;
    所述边缘应用服务器发现网元根据所述有效规则标识符在所述消息处理规则集合包含的所述一个或多个消息处理规则中获取目标消息处理规则,根据所述目标消息处理规则对所述域名系统消息进行处理,包括:
    所述边缘应用服务器发现网元在所述一个或多个消息处理规则中,将与所述有效规则标识符相同的规则标识符对应的消息处理规则确定为所述有效消息处理规则;
    所述边缘应用服务器发现网元将所述域名系统消息与所述有效消息处理规则中的消息检测模板进行匹配,将匹配到的有效消息处理规则确定为候选消息处理规则;
    所述边缘应用服务器发现网元根据所述候选消息处理规则对应的规则优先级,从所述候选消息处理规则中获取目标消息处理规则;
    所述边缘应用服务器发现网元在所述目标消息处理规则对应的生命周期内,根据所述目标消息处理规则中的消息处理操作对所述域名系统消息进行处理。
  18. 根据权利要求16所述的方法,其特征在于,所述消息处理规则集合中的每个消息处理规则均包 括规则标识符、规则优先级、生命周期、消息检测模板以及消息处理操作;所述规则标识符是指对所述每个消息处理规则进行区别标记的标识符;
    所述边缘应用服务器发现网元根据所述有效规则标识符在所述消息处理规则集合包含的所述一个或多个消息处理规则中获取目标消息处理规则,根据所述目标消息处理规则对所述域名系统消息进行处理,包括:
    所述边缘应用服务器发现网元在所述一个或多个消息处理规则中,将与所述有效规则标识符相同的规则标识符对应的消息处理规则确定为所述有效消息处理规则;
    所述边缘应用服务器发现网元根据所述有效消息处理规则所对应的规则优先级的顺序,将所述域名系统消息与所述有效消息处理规则中的消息检测模板依次进行匹配,将第一个匹配到的有效消息处理规则确定为目标消息处理规则;
    所述边缘应用服务器发现网元在所述目标消息处理规则对应的生命周期内,根据所述目标消息处理规则中的消息处理操作对所述域名系统消息进行处理。
  19. 一种网元装置,其特征在于,包括:
    获取模块,用于会话管理网元获取具有节点级别的消息处理规则集合,获取规则激活条件,将所述消息处理规则集合下发至边缘应用服务器发现网元;所述消息处理规则集合包括一个或多个消息处理规则;
    激活模块,用于当协议数据单元会话建立时,根据所述规则激活条件在所述消息处理规则集合中确定有效消息处理规则,将所述有效消息处理规则对应的规则标识符确定为有效规则标识符,将所述有效规则标识符发送至所述边缘应用服务器发现网元,以使所述边缘应用服务器发现网元在所述协议数据单元会话过程中根据所述有效规则标识符所对应的消息处理规则对接收到的域名系统消息进行处理。
  20. 一种网元装置,其特征在于,包括:
    生成模块,用于策略控制网元生成具有节点级别的消息处理规则集合,生成规则激活条件;所述消息处理规则集合包括一个或多个消息处理规则;
    第一下发模块,用于将所述消息处理规则集合和所述规则激活条件下发至会话管理网元,以使所述会话管理网元在后续建立协议数据单元会话时,根据所述规则激活条件在所述消息处理规则集合中确定有效消息处理规则,将所述有效消息处理规则对应的规则标识符确定为有效规则标识符,将所述有效规则标识符发送至边缘应用服务器发现网元;
    第二下发模块,用于将所述消息处理规则集合下发至所述边缘应用服务器发现网元,以使所述边缘应用服务器发现网元在所述协议数据单元会话过程中根据所述有效规则标识符所对应的消息处理规则,对接收到的域名系统消息进行处理。
  21. 一种网元装置,其特征在于,包括:
    第一获取模块,用于当会话管理网元和边缘应用服务器发现网元建立连接时,所述边缘应用服务器发现网元获取具有节点级别的消息处理规则集合;所述消息处理规则集合包括一个或多个消息处理规则;
    第二获取模块,用于当协议数据单元会话建立时,获取所述会话管理网元发送的有效规则标识符;所述有效规则标识符是指有效消息处理规则对应的规则标识符;所述有效消息处理规则是由所述会话管理网元根据规则激活条件在所述消息处理规则集合中所确定的;
    第三获取模块,用于当所述边缘应用服务器发现网元接收到域名系统消息时,根据所述有效规则标识符在消息处理规则集合包含的一个或多个消息处理规则中获取目标消息处理规则,根据所述目标消息处理规则对域名系统消息进行处理。
  22. 一种网元设备,其特征在于,包括:处理器、存储器以及网络接口;
    所述处理器与所述存储器、所述网络接口相连,其中,所述网络接口用于提供数据通信网元,所述存储器用于存储程序代码,所述处理器用于调用所述程序代码,以使所述网元设备执行权利要求1-18任一项所述的方法。
  23. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机程序,所述计算机程序适于由处理器加载并执行权利要求1-18任一项所述的方法。
  24. 一种计算机程序产品,其特征在于,所述计算机程序产品包括计算机指令,所述计算机指令适于由处理器加载并执行权利要求1-18任一项所述的方法。
PCT/CN2022/102058 2021-07-21 2022-06-28 一种数据处理方法、网元设备以及可读存储介质 WO2023000936A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP22845101.9A EP4246936A4 (en) 2021-07-21 2022-06-28 DATA PROCESSING METHOD, FUNCTIONAL DEVICE AND READABLE STORAGE MEDIUM
US18/202,696 US20230300106A1 (en) 2021-07-21 2023-05-26 Data processing method, network element device and readable storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110827622.1A CN113572864B (zh) 2021-07-21 2021-07-21 一种数据处理方法、网元设备以及可读存储介质
CN202110827622.1 2021-07-21

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/202,696 Continuation US20230300106A1 (en) 2021-07-21 2023-05-26 Data processing method, network element device and readable storage medium

Publications (1)

Publication Number Publication Date
WO2023000936A1 true WO2023000936A1 (zh) 2023-01-26

Family

ID=78166110

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/102058 WO2023000936A1 (zh) 2021-07-21 2022-06-28 一种数据处理方法、网元设备以及可读存储介质

Country Status (4)

Country Link
US (1) US20230300106A1 (zh)
EP (1) EP4246936A4 (zh)
CN (2) CN113572864B (zh)
WO (1) WO2023000936A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113572835B (zh) * 2021-07-21 2024-02-27 腾讯科技(深圳)有限公司 一种数据处理方法、网元设备以及可读存储介质
CN113572864B (zh) * 2021-07-21 2023-06-20 腾讯科技(深圳)有限公司 一种数据处理方法、网元设备以及可读存储介质
CN116366659A (zh) * 2021-12-27 2023-06-30 维沃移动通信有限公司 服务器选择方法及设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10560480B1 (en) * 2016-07-08 2020-02-11 Juniper Networks, Inc. Rule enforcement based on network address requests
CN111629401A (zh) * 2019-02-27 2020-09-04 大唐移动通信设备有限公司 一种边缘应用的数据分流方法及系统
CN113572864A (zh) * 2021-07-21 2021-10-29 腾讯科技(深圳)有限公司 一种数据处理方法、网元设备以及可读存储介质
CN113691969A (zh) * 2021-07-16 2021-11-23 华为技术有限公司 通信方法和装置

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017161565A1 (zh) * 2016-03-25 2017-09-28 华为技术有限公司 网络服务组件访问上下文数据的方法、装置及系统
CN111083737B (zh) * 2018-10-19 2021-04-16 大唐移动通信设备有限公司 一种边缘mec中数据的分流方法和装置
CN111726839B (zh) * 2019-03-19 2022-03-29 华为技术有限公司 一种网络切片选择方法及装置
US20230354149A1 (en) * 2019-10-04 2023-11-02 Telefonaktiebolaget Lm Ericsson (Publ) Method for identification of traffic suitable for edge breakout and for traffic steering in a mobile network
CN113115480A (zh) * 2021-04-02 2021-07-13 腾讯科技(深圳)有限公司 地址信息发送方法、获取方法、装置、设备及介质
CN113114651B (zh) * 2021-04-02 2024-03-29 腾讯科技(深圳)有限公司 报告控制方法、装置、设备及介质

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10560480B1 (en) * 2016-07-08 2020-02-11 Juniper Networks, Inc. Rule enforcement based on network address requests
CN111629401A (zh) * 2019-02-27 2020-09-04 大唐移动通信设备有限公司 一种边缘应用的数据分流方法及系统
CN113691969A (zh) * 2021-07-16 2021-11-23 华为技术有限公司 通信方法和装置
CN113572864A (zh) * 2021-07-21 2021-10-29 腾讯科技(深圳)有限公司 一种数据处理方法、网元设备以及可读存储介质

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
HUAWEI, HISILICON: "Clarification on EAS discovery via EASDF", 3GPP DRAFT; S2-2104384, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. SA WG2, no. Elbonia; 20210517 - 20210528, 10 May 2021 (2021-05-10), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France , XP052004694 *
See also references of EP4246936A4

Also Published As

Publication number Publication date
CN113572864A (zh) 2021-10-29
CN113572864B (zh) 2023-06-20
US20230300106A1 (en) 2023-09-21
CN116668511A (zh) 2023-08-29
EP4246936A1 (en) 2023-09-20
EP4246936A4 (en) 2024-02-28

Similar Documents

Publication Publication Date Title
WO2023000935A1 (zh) 一种数据处理方法、网元设备以及可读存储介质
WO2023000940A1 (zh) 数据处理方法、装置、网元设备、存储介质及程序产品
WO2023000936A1 (zh) 一种数据处理方法、网元设备以及可读存储介质
RU2583723C2 (ru) Способ и устройство для управления передачей сервиса
US10917301B2 (en) Wireless network slice distributed ledger
CN111935738B (zh) 一种用于多运营商核心网对接mec的方法及系统
CN109067578B (zh) 一种组播快速切换的方法和装置
EP4210297A1 (en) Edge application discovery method and apparatus, and edge application service support method and apparatus
CN106464596A (zh) 开放流通信方法、系统、控制器和业务网关
CN112566164A (zh) 一种通信系统及服务质量控制方法
CN105207860A (zh) 一种业务加速系统及方法
CN116326199A (zh) 无线接入节点装置和由无线接入节点装置执行的接口方法
CN112312481B (zh) 一种mec与多运营商核心网的通信方法及系统
US11265931B2 (en) Method and device for establishing connection
CN114629912B (zh) 基于mec的通信传输方法及装置
KR102173015B1 (ko) 제어 평면 장치, 사용자 평면 장치 및 이들을 이용한 패킷 처리 방법
WO2011026355A1 (zh) 节点接入家乡代理的方法、家乡代理集群系统及业务路由器
KR20220005936A (ko) 네트워크 노드 및 네트워크 노드 간 메시지 전송 방법
CN113556742B (zh) 一种网络架构及分流策略配置方法
US9788229B2 (en) Method and apparatus for traffic re-routing based on application-layer traffic optimization services in wireless networks
EP4287689B1 (en) Method for using a terminal device in a telecommunications network, wherein, regarding a specific user equipment functionality, the telecommunications network initializes or provides a logical user equipment entity or functionality, system for using a terminal device in a telecommunications network, terminal device, program and computer-readable medium
US20240114414A1 (en) Method and apparatus for providing network switching service in 5g communication system
US20060047854A1 (en) Active node, and contents transfer system and method using the active node
CN116866985A (zh) 数据转发方法、网络系统及计算机可读取存储介质
CN114006934A (zh) 一种数据过滤方法、介质及电子设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22845101

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2022845101

Country of ref document: EP

Effective date: 20230612

NENP Non-entry into the national phase

Ref country code: DE