WO2020119564A1 - Method and apparatus for measuring quality of service information - Google Patents

Method and apparatus for measuring quality of service information Download PDF

Info

Publication number
WO2020119564A1
WO2020119564A1 PCT/CN2019/123161 CN2019123161W WO2020119564A1 WO 2020119564 A1 WO2020119564 A1 WO 2020119564A1 CN 2019123161 W CN2019123161 W CN 2019123161W WO 2020119564 A1 WO2020119564 A1 WO 2020119564A1
Authority
WO
WIPO (PCT)
Prior art keywords
network element
message
user plane
terminal device
function network
Prior art date
Application number
PCT/CN2019/123161
Other languages
French (fr)
Chinese (zh)
Inventor
朱方园
谭仕勇
李岩
倪慧
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2020119564A1 publication Critical patent/WO2020119564A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5003Managing SLA; Interaction between SLA and QoS
    • H04L41/5009Determining service level performance parameters or violations of service level contracts, e.g. violations of agreed response time or mean time between failures [MTBF]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/10Scheduling measurement reports ; Arrangements for measurement reports

Definitions

  • the present application relates to the field of communication, and more specifically, to a method and apparatus for measuring quality of service information in the field of communication.
  • QoS quality of service
  • latency is an important indicator of QoS information, and different service types have different requirements on latency. How to measure the QoS information of the service to determine whether to meet the needs of users is the current problem to be solved.
  • a third-party application server can be used for detection, for example, the terminal device initiates the establishment of a protocol data unit (PDU) session to the core network element Request to establish a user plane connection between the terminal device and the third-party application server. After the user plane connection is established, the terminal device transmits service data to the third-party application server through the core network user plane network element to measure the terminal device and the third party application server. QoS information of business data between three-party application servers.
  • this method of measuring QoS information cannot measure the QoS information of the link between the terminal device and the user plane functional network element, and thus cannot determine whether the current network environment is suitable for initiating service data, making the user experience poor.
  • the present application provides a method and device for measuring service quality information, which helps to improve user experience.
  • a method for measuring quality of service information includes: before a terminal device initiates service data, a first message is sent to a core network element through an application program interface, and the first message is used to request the measurement terminal device and Service quality QoS information of service data between user plane functional network elements;
  • the terminal device receives the second message sent by the core network element through the application program interface.
  • the second message is used to trigger the measurement of QoS information, or the second message includes QoS information.
  • the terminal device may send a first message to the core network element through the application program interface to request measurement of QoS information of service data between the terminal device and the user plane function network element, so that the terminal device can
  • the second message measures the QoS information or the terminal device can obtain the QoS information in the second message, so that the QoS information of the service data between the terminal device and the user plane functional network element can be obtained, so that whether to initiate the service data can be determined according to the QoS information.
  • the terminal device may measure QoS information according to the second message or obtain QoS information in the second message.
  • the terminal device may request to measure the QoS information of the service data between the terminal device and the user plane functional network element at any time before initiating the service data, for example, before initiating the service data, the network environment is better (such as network signal In the case of better office parks, rather than densely populated areas such as subway stations and train stations, QoS information can be measured, so that terminal devices can selectively initiate business data in a network environment with good QoS information, which can improve users Experience.
  • the second message may be a response message of the first message.
  • the core network element is not limited, for example, the core network element may be a capability open network element, and the capability open network element may transparently transmit the first message to the policy control function network element.
  • the QoS information includes delay information.
  • the terminal device when the second message is used to trigger the measurement of QoS information, can measure the QoS information according to the second message, and then send the QoS information to the core network element. For example, the terminal device can send The QoS information is sent to the policy control function network element through the capability opening network element, so that the policy control function network element determines whether to adjust the QoS information of the service data.
  • the first message includes at least one of an IP address of the terminal device, an identifier of the service type of the service data, an application identifier associated with the service data, or a configuration parameter, where the configuration parameter includes the size of the detection message At least one of the frequency of sending the detection message or the duration of sending the detection message.
  • the second message is used to trigger the measurement of QoS information
  • the QoS information is delay information
  • the terminal device sends a first detection message to the user plane functional network element
  • the terminal device receives the second detection message from the user plane functional network element
  • the terminal device determines the delay information according to the first moment and the second moment, and the delay information is the delay information of the service data.
  • the second message includes the network protocol IP address of the user plane functional network element, so that the terminal device can obtain the IP address of the user plane functional network element in the second message.
  • the source address of the first detection message is the IP address of the terminal device, and the destination address of the first detection message is the IP address of the user plane functional network element.
  • the source address of the second detection message is the IP address of the user plane functional network element, and the destination address of the second detection message is the IP address of the terminal device.
  • the second message includes QoS information
  • the method further includes:
  • the terminal device receives the third detection message from the user plane functional network element
  • the terminal device obtains the IP address of the user plane functional network element in the third detection message
  • the terminal device sends a fourth detection message to the user plane functional network element.
  • the source address of the third detection message is the IP address of the user plane functional network element
  • the destination address of the third detection message is the IP address of the terminal device.
  • the source address of the fourth detection message is the IP address of the terminal device, and the destination address of the fourth detection message is the IP address of the user plane functional network element.
  • the first detection message, the second detection message, the third detection message, and the fourth detection message are Internet packet probe Ping packets.
  • a method for measuring quality of service information including: a policy control function network element receives a first message from a capability opening network element, and the first message is used to request a measurement between a terminal device and a user plane function network element Quality of service QoS information of service data between
  • the policy control function network element determines the first forwarding rule for detecting the message, and the first forwarding rule and the forwarding rule of the service data include the same QoS information;
  • the policy control function network element sends the first forwarding rule to the user plane function network element through the session management function network element.
  • the policy control function network element may determine the first forwarding rule based on the first message, so that the user plane function network element may send a detection message according to the first forwarding rule, so that the user plane function network element may The QoS information of the service data between the terminal device and the user plane functional network element is determined according to the sending time and receiving time of the detection message.
  • the user plane functional network element may cooperate with the terminal device to receive or send a detection message, so that the terminal device determines QoS information of service data between the terminal device and the user plane functional network element.
  • the QoS information includes delay information.
  • the first message includes at least one of an IP address of the terminal device, a service type identifier, an application identifier associated with service data, or configuration parameters
  • the configuration parameters include: detecting the size of the message and sending At least one of the frequency of the detection message and the duration of sending the detection message, the first forwarding rule includes configuration parameters.
  • the method further includes:
  • the policy control function network element sends a second message to the capability opening network element.
  • the second message is used to trigger the measurement of QoS information, or the second message includes QoS information.
  • the second message is used to trigger the measurement of QoS information, and the method further includes:
  • the policy control function network element receives the network protocol IP address of the user plane function network element from the session management function network element, where the second message includes the IP address of the user plane function network element.
  • a method for measuring quality of service information including: a user plane function network element receives a first forwarding rule for detecting a message from a session management function network element, the first forwarding rule and the terminal device and user plane
  • the rules for forwarding service data between functional network elements contain the same quality of service QoS information;
  • the user plane function network element generates the first detection message of the service data
  • the user plane function network element sends the first detection message to the terminal device.
  • the first detection message may be a detection message used by the user plane function network element to determine QoS information, and the first detection message may also be a detection message used by the terminal device to determine QoS information .
  • the QoS information includes delay information.
  • the first forwarding rule includes at least one of the size of the detection message, the frequency of sending the detection message, or the duration of sending the detection message.
  • the first forwarding rule may not include the size of the detection message, the frequency of sending the detection message, and the duration of sending the detection message. At least one of the size of the detection message, the frequency of sending the detection message, or the duration of sending the detection message may be sent to the user plane functional network element in other ways.
  • the QoS information is delay information
  • the user plane function network element sends the first detection message to the terminal device, including:
  • the user plane function network element sends the first detection message to the terminal device at the first moment, and the method further includes: the user plane function network element receives the second detection message from the terminal device at the second moment.
  • the user plane function network element may determine the QoS information of the service data between the terminal device and the user plane function network element according to the first time and the second time.
  • the user plane function network element can cooperate with the terminal device to receive the detection message and send the detection message, so that the terminal device can determine the terminal device and the terminal device according to the time when the detection message is sent and the detection message is received QoS information of service data between user plane functional network elements.
  • the user plane functional network element may send the QoS information to the policy control function network element through the session management function network element, so that the policy control function network element determines whether to the terminal device
  • the QoS information of the business data with the user plane functional network element is adjusted.
  • the method further includes: the user plane function network element receives first indication information from the session management function network element, and the first indication information is used to instruct the user plane function network element to measure Delay information;
  • the user plane functional network element determines the delay information according to the first indication information, the first moment, and the fourth moment, and the delay information is the delay information of the service data.
  • the method further includes: the user plane function network element receives second indication information from the session management function network element, and the second indication information is used to instruct the user plane function network element to perform the first detection message and the second detection The message is not charged.
  • the user plane function network element does not perform a charging operation on the first detection message and the second detection message according to the second instruction information.
  • the first detection message and the second detection message are Internet packet probe Ping packets.
  • a method for measuring quality of service information including: a network element of a session management function receives a forwarding rule from a network element of a policy control function, and the first forwarding rule is used by a network element of a user plane function to send a detection message ,
  • the first forwarding rule and the service data forwarding rule contain the same quality of service QoS information; the network element of the session management function sends the first forwarding rule to the user plane function network element.
  • the first forwarding rule is determined based on the first message sent by the terminal device through the application program interface before initiating the service data message.
  • the first message is used to request measurement of the service between the terminal device and the user plane function network element Data quality of service QoS information.
  • the network element of the session management function sends the network protocol IP address of the user plane function network element to the policy control function network element.
  • the method further includes: the session management function network element sends first indication information to the user plane function network element, where the first indication information is used to instruct the user plane function network element to measure QoS information.
  • the method further includes: the session management function network element sends first indication information to the user plane function network element, where the first indication information is used to instruct the user plane function network element not to perform charging operations on the detection message,
  • the detection message may be a first detection message, a second detection message, a third detection message, a fourth detection message, and so on.
  • the method further includes: the session management function network element receives QoS information from the user plane function network element; the session management function network element Send QoS information to the policy control function.
  • a method for measuring quality of service information including: a first message sent by a capability open network element from a terminal device through an application program interface, the first message is used to request measurement of the terminal device and the user plane function network Quality of service QoS information of business data between elements;
  • the capability opening network element sends a second message to the application program interface of the terminal device.
  • the second message is used to trigger the measurement of QoS information, or the second message includes QoS information.
  • the second message is used to trigger the measurement of QoS information, and the second message includes the IP address of the user plane functional network element.
  • the terminal device may send the determined QoS information to the capability open network element, and the capability open network element sends the QoS information to the policy control function network element, It is convenient for the policy control function network element to determine whether to adjust the QoS information of the business data.
  • an apparatus for measuring quality of service information includes a unit for performing each step in the method in the first aspect or any possible implementation manner of the first aspect.
  • an apparatus for measuring quality of service information includes a unit for performing each step in the method in the second aspect or any possible implementation manner of the second aspect.
  • an apparatus for measuring quality of service information includes a unit for performing each step of the method in the third aspect or any possible implementation manner of the third aspect.
  • an apparatus for measuring quality of service information includes a unit for performing each step in the method in the fourth aspect or any possible implementation manner of the fourth aspect.
  • an apparatus for measuring quality of service information includes a unit for performing each step in the method of the fifth aspect or any possible implementation manner of the fifth aspect.
  • an apparatus for measuring quality of service information includes a transceiver, a memory, and a processor.
  • the transceiver, the memory and the processor communicate with each other through an internal connection path
  • the memory is used to store instructions
  • the processor is used to execute the instructions stored in the memory to control the receiver to receive signals
  • control the transmitter to send signals
  • the processor executes the instructions stored in the memory, the execution causes the processor to execute the method in the first aspect or any possible implementation manner of the first aspect.
  • an apparatus for measuring quality of service information includes a transceiver, a memory, and a processor.
  • the transceiver, the memory and the processor communicate with each other through an internal connection path
  • the memory is used to store instructions
  • the processor is used to execute the instructions stored in the memory to control the receiver to receive signals, and control the transmitter to send signals
  • the execution causes the processor to execute the method in the second aspect or any possible implementation manner of the second aspect.
  • an apparatus for measuring quality of service information includes: a transceiver, a memory, and a processor.
  • the transceiver, the memory and the processor communicate with each other through an internal connection path
  • the memory is used to store instructions
  • the processor is used to execute the instructions stored in the memory to control the receiver to receive signals
  • control the transmitter to send signals
  • the processor executes the instructions stored in the memory
  • the execution causes the processor to execute the method in the third aspect or any possible implementation manner of the third aspect.
  • an apparatus for measuring quality of service information includes: a transceiver, a memory, and a processor.
  • the transceiver, the memory and the processor communicate with each other through an internal connection path
  • the memory is used to store instructions
  • the processor is used to execute the instructions stored in the memory to control the receiver to receive signals
  • control the transmitter to send signals
  • the processor executes the instructions stored in the memory
  • the execution causes the processor to execute the method in the fourth aspect or any possible implementation manner of the fourth aspect.
  • an apparatus for measuring quality of service information includes: a transceiver, a memory, and a processor.
  • the transceiver, the memory and the processor communicate with each other through an internal connection path
  • the memory is used to store instructions
  • the processor is used to execute the instructions stored in the memory to control the receiver to receive signals
  • control the transmitter to send signals
  • the processor executes the instructions stored in the memory
  • the execution causes the processor to execute the method in the fifth aspect or any possible implementation manner of the fifth aspect.
  • a system for measuring service quality information comprising the device provided in the sixth aspect, the device provided in the seventh aspect, and the device provided in the eighth aspect; or
  • the system includes the device provided in the sixth aspect, the device provided in the seventh aspect, the device provided in the eighth aspect, the device provided in the ninth aspect, and the device provided in the tenth aspect; or
  • the system includes the device provided in the eleventh aspect, the device provided in the twelfth aspect, and the device provided in the thirteenth aspect; or
  • the system includes the above device including the device provided in the eleventh aspect, the device provided in the twelfth aspect, the device provided in the thirteenth aspect, the device provided in the fourteenth aspect, and the device provided in the fifteenth aspect.
  • a computer program product includes a computer program, which, when executed by a processor, is used to perform various aspects or methods in any possible implementation manner of various aspects.
  • a computer-readable storage medium stores a computer program.
  • the computer program When the computer program is executed, it is used to execute various aspects or any possible implementation manner of each aspect. method.
  • FIG. 1 shows a schematic diagram of a system architecture applied to an embodiment of the present application.
  • Figure 2 shows a schematic diagram of measuring network speed.
  • FIG. 3 shows a schematic flowchart of a method for measuring service quality information provided by an embodiment of the present application.
  • FIG. 4 shows a schematic flowchart of another method for measuring service quality information provided by an embodiment of the present application.
  • FIG. 5 shows another schematic flowchart of a method for measuring service quality information provided by an embodiment of the present application.
  • FIG. 6 shows another schematic flowchart of a method for measuring service quality information provided by an embodiment of the present application.
  • FIG. 7 shows a schematic flowchart of another method for measuring service quality information provided by an embodiment of the present application.
  • FIG. 8 shows another schematic flowchart of a method for measuring service quality information provided by an embodiment of the present application.
  • FIG. 9 shows a schematic flowchart of another method for measuring service quality information provided by an embodiment of the present application.
  • FIG. 10 shows a schematic block diagram of an apparatus for measuring service quality information provided by an embodiment of the present application.
  • FIG. 11 shows a schematic block diagram of another apparatus for measuring service quality information provided by an embodiment of the present application.
  • FIG. 12 shows a schematic block diagram of another apparatus for measuring service quality information provided by an embodiment of the present application.
  • FIG. 13 shows a schematic block diagram of another apparatus for measuring service quality information provided by an embodiment of the present application.
  • GSM global mobile communication
  • CDMA code division multiple access
  • WCDMA broadband code division multiple access
  • general packet radio service general packet radio service, GPRS
  • LTE long term evolution
  • LTE frequency division duplex FDD
  • TDD time division duplex
  • UMTS universal mobile communication system
  • WiMAX worldwide interoperability for microwave access
  • FIG. 1 shows a schematic diagram of a system architecture applied to an embodiment of the present application.
  • the system 100 includes: a policy control function (PCF) 101, a user plane function (UPF) 102, and a network capability open network element (network exposure function, NEF) 103) Session management function network element (session management function, SMF) 104, user equipment (user equipment, UE) 105.
  • PCF policy control function
  • UPF user plane function
  • NEF network exposure function
  • SMF Session management function network element
  • SMF Session management function network element
  • UE user equipment
  • the system 100 further includes a core network access and mobility management function (core access and mobility management function, AMF) 106, a wireless access network (radio access network, RAN) 107, and an authentication server function network element (authentication) server function (AUSF) 108, data network (DN) 109, application function (AF) 110, unified data storage network element (unified data repository (UDR) 111) or network storage function network element (NF repository) function, NRF) at least one of 112.
  • core access and mobility management function AMF
  • AMF authentication server function network element
  • AUSF authentication server function network element
  • DN data network
  • AF application function
  • UDR unified data storage network element
  • NF repository network storage function network element
  • UE 105 is connected to AMF 106 through N1 interface, UE 101 is connected to RAN 107 through radio resource control (RRC) protocol; RAN 107 is connected to AMF 106 through N2 interface, and RAN 107 is connected to UPF 102 through N3 interface ; Multiple UPFs 102 are connected through the N9 interface, UPF 102 is connected to the DN 109 through the N6 interface, and at the same time, UPF 102 is connected to the SMF 104 through the N4 interface; SMF 104 is connected to the PCF 101 through the N7 interface, and SMF 104 is connected to the N29 interface NEF 103 is connected, at the same time, SMF 104 is connected to AMF 106 through N11 interface; SMF 104 obtains policy data from PCF 101 through N7 interface; SMF 104 controls UPF 102 through N4 interface.
  • RRC radio resource control
  • PCF101 contains user subscription data management function, policy control function, charging policy control function, QoS control and so on.
  • UPF102 performs user service data forwarding according to the forwarding rules sent by SMF10.
  • NEF103 supports network capability opening function and develops network capabilities and services externally.
  • 3GPP network elements publish their supported functions and events to other network elements through NEF.
  • the capabilities and events of network element opening can be safely opened to third-party applications.
  • NEF uses the standardized interface (Nudr) of the unified data storage library (UDR111) to store/retrieve structured data.
  • SMF104 responsible for user plane network element selection, user plane network element reselection, IP address allocation, responsible for session establishment, modification and release, QoS control.
  • the terminal device may be a UE 105 or a terminal device.
  • the terminal devices involved may include various handheld devices with wireless communication functions, vehicle-mounted devices, wearable devices, computing devices, or other processing devices connected to a wireless modem; It can also include subscriber units, cellular phones, smart phones, wireless data cards, personal digital assistant (PDA) computers, tablet computers, wireless modems, Handheld device, laptop computer, cordless phone or wireless local loop (WLL) station, machine type communication (MTC) terminal, mobile station ( mobile station (MS), terminal device (terminal), etc.
  • PDA personal digital assistant
  • WLL wireless local loop
  • MTC machine type communication
  • MS mobile station
  • terminal device terminal device
  • AMF106 is responsible for user mobility management, including mobility status management, assigning user temporary identity, authenticating and authorizing users.
  • RAN107 is used to implement wireless related functions.
  • RAN107 can also be called an access device.
  • the access device refers to a device that accesses the core network.
  • it can be a base station, a broadband network service gateway (BNG), an aggregation switch, and a non-3GPP access device.
  • BNG broadband network service gateway
  • the base station may include various forms of base stations, such as macro base stations, micro base stations (also called small stations), relay stations, and access points, which are not specifically limited in the embodiments of the present application.
  • AUSF108 is responsible for UE105 security certification.
  • DN109 is a data network that provides business services to users.
  • the client is located in UE105, and the server is located in the data network.
  • AF110 is responsible for user application management.
  • UDR111 is responsible for managing contract data.
  • NRF112 is responsible for providing storage function and selection function of network function entity information for other network elements.
  • each network element such as SMF 104, NEF 103, AF 110, UDR 111, UPF 102, etc.
  • the foregoing network elements may also have other names, which are not specifically limited in this embodiment of the present application.
  • some or all of the above network elements may use the terminology in 5G, or may be other names, etc., and will be described here in a unified manner, and will not be repeated below.
  • each network element in FIG. 1 does not have to exist at the same time, and which network elements are required can be determined according to requirements.
  • the connection relationship between each network element in FIG. 1 is not uniquely determined, and can be adjusted according to needs.
  • QoS information is an indicator to measure network performance.
  • QoS information may include at least one of delay information, packet loss rate, bandwidth, and jitter.
  • Different services for example, Internet browsing, voice and online games, etc.
  • How to measure QoS information is a problem that needs to be solved.
  • the delay information is used as an example to describe QoS information.
  • the embodiments of the present application are not limited to this.
  • a third-party application server can be used for detection, for example, the terminal device initiates the establishment of a protocol data unit (PDU) session to the core network.
  • PDU protocol data unit
  • the terminal device initiates the establishment of a user plane connection between the terminal device and the third-party application server.
  • the terminal device transmits data packets with the third-party application server through the user plane function network element to measure the terminal device and the third party application server.
  • QoS information of data packets between three-party application servers Taking the measurement delay as an example, for example, the terminal device records the time when the uplink data packet is sent to the user plane function network element as T1.
  • the application server After the user plane function network element sends the uplink data message to the application server, the application server The user plane function network element sends a downlink data message to the terminal device, and the terminal device records that the time for receiving the downlink data message is T2. Then the terminal device can calculate the round trip delay of the data message as T2-T1.
  • the transmission delay of the downlink is symmetrical, and the transmission delay of the data packet in the uplink and downlink can be estimated as (T2-T1)/2.
  • the above method of measuring QoS information cannot measure whether the QoS information of the link between the terminal device and the user plane functional network element truly meets the user's expectations.
  • the QoS information of data is a problem to be solved by the embodiment of the present application.
  • a traffic acceleration package such as China Mobile's "I-Use" traffic acceleration service.
  • the traffic acceleration service is indicated in the original Speed up on the basis of broadband, the cost is 15 yuan a month, for example, the original network speed is 2 megabits/second, after participating in this speedup, the network speed will mention 4 megabits/second -8 megabits/second.
  • the third-party application server is measuring the network speed.
  • the third-party application server measures the network speed between the terminal device and the third-party application server.
  • the improvement is The network speed between the terminal device and the core network element, but the third-party application server measures the network speed between the terminal device and the third-party application server, lacking to measure the QoS between the terminal device and the user plane function network element Information method. Therefore, after applying for the traffic acceleration package, the third-party application server cannot accurately determine whether the network speed between the terminal device and the user plane functional network element has reached the expected value. In other words, the user spends money to purchase the traffic acceleration service. Afterwards, whether the money spent by the user really meets the expected value cannot be accurately measured by the third-party application server, so it is impossible to determine whether the current network environment is suitable for initiating business data and reduce the user experience.
  • the embodiment of the present application provides a method for measuring QoS information.
  • the terminal device can request measurement between the terminal device and the user plane functional network element in the current network environment through an application program interface at any time before initiating service data.
  • QoS information of business data For example, when the terminal device is located in a geographical location with a poor network environment, such as a subway station, a railway station, and other areas where people flow is concentrated, the terminal device can request to measure the actual QoS information of a service in the network environment to know that the current network environment cannot To meet user needs, the terminal device can choose a geographical location with a better network environment, such as an office park, to initiate data packet transmission of the service to obtain a better user experience. Therefore, the actual QoS information of the current network environment can be measured at any time before the service data is initiated, so that the terminal device can selectively perform services in a network environment with good actual QoS information, thereby improving the user experience.
  • FIG. 3 shows a method for measuring service quality information provided by an embodiment of the present application, including:
  • the terminal device Before initiating service data, the terminal device sends a first message to the core network element through an application programming interface (API).
  • the first message is used to request measurement of service data between the terminal device and the user plane function network element. Quality of service QoS information.
  • the core network element may be the NEF element in FIG. 1.
  • the terminal device Before initiating service data, the terminal device sends the first message to the NEF through the application program interface. The first message is transparently transmitted to the PCF.
  • the QoS information includes delay information.
  • the first message includes at least one of a network protocol (IP) address of the terminal device, a service type identifier of the service data, an application identifier associated with the service data, or configuration parameters.
  • IP network protocol
  • the configuration parameter includes at least one of the size of the detection message, the frequency of sending the detection message, or the duration of sending the detection message.
  • the policy control function network element may determine the terminal device that sends the first message according to the IP address of the terminal device. That is, the IP address of the terminal device is used to determine the terminal device that sent the first message.
  • the policy control function network element may determine the service type that needs to perform QoS information measurement according to the service type identifier of the service data. That is to say, the service type identifier of the service data is used to determine the service type that needs to perform QoS information measurement.
  • the policy control function network element may determine the application requiring QoS information according to the application identifier associated with the service data.
  • the application identifier associated with the business data is used to determine the application that needs QoS information.
  • the user plane function network element may generate a detection message according to the configuration parameters. That is, the configuration parameters are used to detect the generation of messages. For example, after receiving the first message transparently transmitted by NEF, the PCF sends the configuration parameters in the first message to the user plane function network element through SMF, so that the user plane function network element can send a detection according to the size of the detection message. One or more of the frequency of the message and the duration of sending the detection message generates a detection message, so that the detection message is used to detect QoS information of service data between the terminal device and the user plane functional network element.
  • the terminal device receives the second message sent by the core network element through the application program interface.
  • the second message is used to trigger measurement of QoS information, or the second message includes QoS information.
  • the QoS information may be measured by the terminal device, or the QoS information may be measured by the user plane network element.
  • the second message is used to trigger the measurement of QoS information.
  • the second message includes the QoS information measured by the user plane functional network element.
  • the second message may be a response message of the first message.
  • the terminal device may send a first message requesting measurement of QoS information to the core network element (for example, NEF network element) through the application program interface, the core network element After sending the parameters in the first message to the user plane functional network element through PCF and SMF, the user plane functional network element can measure QoS information based on the parameters in the first message, and apply the QoS information to the terminal device through the second message Program interface sending.
  • the core network element may send a second message to the application program interface of the terminal device to trigger the terminal device to measure QoS information.
  • the QoS information in the embodiment of the present application is the QoS information of the service data to be initiated measured before the service data is initiated, and the QoS information between the terminal device and the user plane functional network element is measured, thereby improving the measurement of QoS information Accuracy helps to improve user experience.
  • the terminal device when the terminal device is located in a geographical location with a poor network environment, such as a subway station, a railway station, and other areas where people flow is concentrated, the terminal device can request to measure the actual QoS information of a service in the network environment to know that the current network environment cannot
  • the terminal device can choose a geographic location with a better network environment, such as an office park, and then initiate data packet transmission of the service to obtain a better user experience. Therefore, the actual QoS information of the current network environment can be measured at any time before the service data is initiated, so that the terminal device can selectively perform services in a network environment with good actual QoS information, thereby improving the user experience.
  • the method for measuring service quality information in the embodiments of the present application is described below in two cases.
  • the first case is that the terminal equipment measures QoS information.
  • the second case is that the user plane functional network element measures QoS information.
  • the QoS information may be sent to the terminal device through other network elements of the core network.
  • the user plane function network element can send the measured QoS information to the policy control function network element through the session management function network element, and the policy control function network element can send the QoS information to the NEF through the second message, and the NEF sends the second message Application program interface to terminal equipment.
  • the second message is used to trigger the measurement of QoS information.
  • the QoS information is delay information.
  • the terminal device sends a first detection message to the user plane functional network element
  • the terminal device receives the second detection message from the user plane functional network element
  • the terminal device determines the delay information according to the first moment and the second moment, and the delay information is the delay information of the service data.
  • the first detection message and the second detection message have the same configuration parameters, for example, the first detection message and the second detection message have the same size, and the first detection message and the second detection message The transmission frequency is the same, and the duration of the first detection message and the second detection message are the same.
  • the first detection message and the second detection message have the same service type as the service data. Therefore, the delay information determined according to the first time and the second time is the same as the delay information of the service data. That is to say, before the service data is initiated, the delay information of the service data after initiation can be accurately measured and obtained.
  • the source address of the first detection message is the IP address of the terminal device
  • the destination address of the first detection message is the IP address of the user plane functional network element
  • the source address of the second detection message is the user plane functional network Yuan IP address
  • the destination address of the second detection message is the IP address of the terminal device.
  • the terminal device before generating the first detection message, the terminal device needs to obtain the IP address of the user plane functional network element.
  • the second message includes the IP address of the user plane functional network element, and the terminal device may obtain the IP address of the user plane functional network element in the second message.
  • the SMF may send the IP address of the user plane function network element to the NEF through the PCF, and the NEF sends a second message containing the IP address of the user plane function network element to the application program interface of the terminal device.
  • SMF may directly send the IP address of the user plane function network element to NEF, and NEF sends a second message containing the IP address of the user plane function network element to the application program interface of the terminal device, or NEF sends a message to the terminal device.
  • the application program interface sends the second message
  • the IP address of the user plane functional network element is sent to the application program interface of the terminal device through the third message.
  • the first message when the terminal device sends the first message to the core network element, the first message may carry configuration parameters.
  • the core network element may be NEF.
  • the NEF receives the first message, it The first message is sent to the PCF, and then the PCF sends the configuration parameters in the first message to the UPF through SMF, so that the UPF can generate a second detection message according to the configuration parameters, thereby sending the second detection message to the terminal device.
  • the terminal device may determine the delay information according to the time when the first detection message is sent (first time) and the time when the second detection message is received (second time), and the delay information is the terminal device and the user plane function network element Delay information between the detection packets.
  • the terminal device can determine the round-trip delay information of the detection packet as t2-t1. Assuming that the uplink and downlink are symmetric, then the uplink and downlink delay information of the detection packet is Of course, the way to determine the delay information is not limited to this.
  • the terminal device may determine the QoS information of the service data between the terminal device and the user plane function network element according to the time when the first detection message is sent and the time when the second detection message is received. It is determined by the terminal device itself, which can improve the trust degree of the terminal device in the QoS information.
  • the terminal device may send the determined QoS information to the capability open network element through the application program interface, and the capability open network element sends the QoS information to the policy control function network element to facilitate the policy control function
  • the network element determines whether to adjust the QoS information of the business data.
  • the method 400 includes:
  • the capability opening network element receives a first message sent by a terminal device through an application program interface.
  • the first message is used to request measurement of service quality QoS information of service data between the terminal device and a user plane functional network element.
  • the capability opening network element sends a first message to the policy control function network element, and the policy control function network element receives the first message sent by the capability opening network element.
  • the network element of the policy control function determines a first forwarding rule based on the first message.
  • the first forwarding rule and the forwarding rule of the service data include the same QoS information.
  • the policy control function network element determines the first forwarding rule based on the first message, see description in method 600.
  • S404 The network element of the policy control function sends the first forwarding rule to the network element of the session management function, and the network element of the session management function receives the first forwarding rule sent by the network element of the policy control function.
  • S405 The network element of the session management function sends the first forwarding rule to the user plane function network element.
  • S406 The network element of the session management function sends the IP address of the user plane function network element to the policy control function network element.
  • S405 and S406 are not limited, and S405 may be before or after S406.
  • the policy control function network element sends a second message to the capability opening network element, and the capability opening network element receives the second message, and the second message includes the IP address of the user plane function network element.
  • the capability opening network element sends a second message to the terminal device, and the terminal device receives the second message sent by the capability opening network element.
  • the terminal device obtains the IP address of the user plane functional network element in the second message, and generates a detection message 1 according to the IP address of the user plane function network element.
  • the source address of the detection message 1 is the IP address of the terminal device.
  • the destination address of Article 1 is the IP address of the user plane functional network element.
  • the terminal device sends a detection message 1 to the user plane function network element at time T1 (for example, it may be the first time).
  • the user plane function network element generates a detection message 2 (for example, the foregoing second detection message).
  • the source address of the detection message 2 is the IP address of the user plane functional network element, and the destination address of the detection message is the IP address of the terminal device.
  • the detection packet 2 and the detection packet 1 have the same configuration parameters.
  • the detection packet 2 and the detection packet 1 have the same size, the same transmission frequency, and the same duration.
  • the user plane functional network element may obtain the IP address of the terminal device according to the following two ways:
  • the terminal device determines the data network name (DNN) and single network slicing auxiliary information (single network) associated with the application based on locally stored user routing policy (UESP) information.
  • slice selection information, S-NSSAI
  • the UE sends a session establishment request to the AMF through the RAN to trigger the establishment of a data plane link between the terminal device and the user plane functional network element.
  • the user plane functional network element stores the terminal device’s IP address, thereby generating a detection message 2 based on the IP address of the terminal device.
  • the terminal device sends the first message including the IP address of the terminal device to the policy control function network element through the capability opening network element, and the policy control function network element sends the IP address of the terminal device to the session management function network element.
  • the session management function network element sends the IP address of the terminal device to the user plane function network element, so that the user plane function network element can obtain the IP address of the terminal device, thereby generating a detection message 2 according to the IP address of the terminal device.
  • the user plane function network element sends a detection message 2 to the terminal device according to the first forwarding rule, and the terminal device receives the detection message 2 sent by the user plane function network element at time T2 (for example, it may be the second time).
  • the terminal device determines the delay information between the terminal device and the user plane functional network element according to T1 and T2.
  • the terminal device can determine whether to initiate service data based on the delay information.
  • the terminal device can determine the delay information of the service data between the terminal device and the user plane functional network element according to T1 and T2, for example, the delay is (T2-T1 )/2.
  • the method 400 further includes S414 and S415:
  • the terminal device sends the delay information to the capability open network element through the application program interface, and the capability open network element receives the delay information sent by the terminal device through the application program interface.
  • the capability opening network element sends the delay information to the policy control function network element, so that the policy control function network element determines whether to adjust the service data delay information.
  • the second message includes QoS information, that is, in this case, the user plane function network element determines the QoS information.
  • the method further includes: the terminal device receives the third detection message from the user plane function network element, and the source address of the third message is the user plane function
  • the IP address of the network element, the destination address of the third message is the IP address of the terminal device; the terminal device obtains the IP address of the user plane function network element in the third detection message; the terminal device sends the fourth to the user plane function network element
  • the source address of the fourth message is the IP address of the terminal device, and the destination address of the fourth message is the IP address of the user plane functional network element.
  • the user plane function network element may determine the delay information according to the time when the third detection packet is sent and the time when the fourth detection packet is received, and the delay information is the delay information of the service data.
  • the third detection packet and the fourth detection packet have the same configuration parameters, for example, the third detection packet and the fourth detection packet have the same size, and the third detection packet and the fourth detection packet have the same size.
  • the transmission frequency is the same, and the duration of the third detection message and the fourth detection message are the same.
  • the third detection message and the fourth detection message have the same service type as the service data. Therefore, the delay information determined according to the third detection message and the fourth detection message is the same as the delay information of the service data. That is to say, before the service data is initiated, the delay information of the service data after initiation can be accurately measured and obtained.
  • the user plane functional network element may send the determined QoS information to the policy control function network element through the control plane network element port, so that the policy control function network element determines whether the QoS of the service data Information to adjust.
  • the second case will be described below with reference to FIG. 5 using QoS information as the delay information.
  • the method 500 includes:
  • the capability opening network element receives a first message sent by a terminal device through an application program interface.
  • the first message is used to request measurement of service quality QoS information of service data between the terminal device and a user plane functional network element.
  • the capability opening network element sends a first message to the policy control function network element, and the policy control function network element receives the first message sent by the capability opening network element.
  • the policy control function network element determines a first forwarding rule based on the first message, and the first forwarding rule and the forwarding rule of the service data include the same QoS information.
  • the policy control function network element determines the first forwarding rule based on the first message, see description in method 600.
  • the policy control function network element sends the first forwarding rule to the session management function network element, and the session management function network element receives the first forwarding rule sent by the policy control function network element.
  • S505 The network element of the session management function sends the first forwarding rule to the user plane function network element.
  • the user plane functional network element generates a detection packet 3 (for example, a third detection packet), the source address of the detection packet 3 is the IP address of the user plane functional network element, and the destination address of the detection packet 3 is the terminal device's IP address.
  • a detection packet 3 for example, a third detection packet
  • the source address of the detection packet 3 is the IP address of the user plane functional network element
  • the destination address of the detection packet 3 is the terminal device's IP address.
  • the user plane function network element sends a detection message 3 to the terminal device according to the first forwarding rule at time T3 (for example, the first time in method 700), and the terminal device receives the detection message 3.
  • the terminal device obtains the IP address of the user plane functional network element in the detection message 3.
  • the terminal device generates a detection message 4 (for example, a third detection message) according to the IP address of the user plane function network element, the source address of the detection message 4 is the IP address of the terminal device, and the destination address of the detection message 4 is IP address of the user plane functional network element.
  • a detection message 4 for example, a third detection message
  • the detection packet 3 and the detection packet 4 have the same configuration parameters, for example, the detection packet 3 and the detection packet 4 have the same size, the same transmission frequency, and the same duration.
  • the terminal device sends a detection message 4 to the user plane functional network element, and the user plane function network element receives the detection packet 4 at time T4 (for example, the second time in method 700).
  • the user plane functional network element determines the delay information between the terminal device and the user plane functional network element according to T3 and T4.
  • the user plane functional network element can determine the delay information of the service data between the terminal device and the user plane functional network element according to T3 and T4, for example, the delay is ( T4-T3)/2.
  • the method 500 further includes S512-S515:
  • the user plane function network element sends the delay information to the session management function network element, and the session management function network element receives the delay information sent by the user plane function network element.
  • S513 The network element of the session management function sends the delay information to the network element of the policy control function, and the network element of the policy control function receives the delay information sent by the network element of the session management function.
  • the policy control function network element may determine whether to adjust the delay information of the service data according to the received delay information.
  • the policy control function network element sends a second message to the capability opening network element, where the second message includes delay information, and the capability opening network element receives the second message sent by the policy control function network element.
  • the capability opening network element sends the second message to the application program interface of the terminal device, and the application program interface returns the second message to the terminal device.
  • the terminal device can obtain the delay information in the second message according to the delay information Determine whether to initiate business data. For example, when the delay is large, the terminal device may determine to temporarily not initiate service data.
  • the first detection message and the second detection message in the above-mentioned first case may be Internet packet probe (packet internet groper, ping) packets.
  • the third detection message and the fourth detection message in the second case may be Ping packets.
  • the Ping packet principle is: a personal computer (PC) uses the uniqueness of the machine's IP address on the network to send a message to the target IP address, and then asks the other party to return a message of the same size to determine the two network machines Whether it is connected, and what is the delay. The difference between the time when the PC connected to the terminal device sends out the message and the time when it receives the response message is the result of delay statistics.
  • FIG. 6 shows a method 600 for measuring service quality information provided by an embodiment of the present application.
  • the method 600 includes:
  • the policy control function network element receives the first message from the capability opening network element.
  • the first message is used to request measurement of service quality QoS information of service data between the terminal device and the user plane function network element.
  • the network element of the policy control function determines a first forwarding rule for detecting the packet based on the first message, and the first forwarding rule and the forwarding rule of the service data include the same QoS information.
  • the first message includes at least one of an IP address of the terminal device, an identification of the service type of the service data, an application identification associated with the service data, or configuration parameters.
  • the configuration parameters include at least one of the size of the detection message, the frequency of sending the detection message, or the duration of sending the detection message.
  • the first forwarding rule includes configuration parameters.
  • the policy control function network element may determine the terminal device that sends the first message according to the IP address of the terminal device, and determine the first forwarding rule according to the forwarding rule of the terminal device. For example, the forwarding rule of the terminal device may be adjusted according to the configuration parameter to obtain the first forwarding rule.
  • the policy control function network element determines the terminal device based on the terminal device's IP address; then, the policy control function network element determines whether it is based on the service type identification Which service type of the terminal device; finally, the policy control function network element determines the first forwarding rule according to the forwarding rule of the service type of the terminal device. For example, the forwarding rule of the service type of the terminal device may be adjusted according to the configuration parameter to obtain the first forwarding rule.
  • the policy control function network element determines the terminal device based on the terminal device's IP address; then, the policy control function network element determines the service data associated application identification Which application is the terminal device; finally, the policy control function network element determines the first forwarding rule according to the forwarding rule of the application of the terminal device. For example, the forwarding rule applied by the terminal device may be adjusted according to the configuration parameter to obtain the first forwarding rule.
  • the policy control function network element determines the terminal device that sends the first message according to the IP address of the terminal device; second , The policy control function network element determines which service type of the terminal device according to the service type identifier of the service data; again, the policy control function network element determines which service type of the terminal device is based on the application identifier associated with the service data Finally, the policy control function network element determines the first forwarding rule according to the forwarding rule of the application of the service type of the terminal device. For example, the forwarding rule of the application of the service type of the terminal device may be adjusted according to the configuration parameter to obtain the first forwarding rule.
  • the forwarding rules of the terminal device or the forwarding rules of the application or the forwarding rules of the business data can be stored in the context
  • the policy control function network element can obtain the forwarding rules of the business data in the context
  • the policy control function The network element may use at least one of the information such as the size of the detection message in the configuration parameters, the frequency of sending the detection message, and the duration of sending the detection message to adjust the forwarding rules of service data or the forwarding rules of the terminal device or the application Forwarding rules, so that the first forwarding rules can be obtained.
  • the forwarding rules of the business data are consistent with the first forwarding rule.
  • the so-called consistency can be understood as: the forwarding rules of the business data and the first forwarding rule have the same 5G QOS identifier (5G QoS identifier) and/or the allocation priority remains (allocation and retention, ARP).
  • the first forwarding rule and the service data forwarding rule include the same QoS information, which can be understood as: the detection message is determined using the first forwarding rule, the QoS information determined according to the detection message and the forwarding rule using service data
  • the determined QoS information is the same, such as the same delay information and the same packet loss rate.
  • S630 The policy control function network element sends the first forwarding rule to the session management function network element.
  • the first forwarding rule may include configuration parameters, that is, in S630, the policy control function network element may include the configuration parameter in the first forwarding rule and send it to the session management function network element, and the session management function The network element sends the first forwarding rule to the user plane functional network element.
  • the first forwarding rule may not include configuration parameters, that is, the method further includes: the policy control function network element sends a fourth message including the configuration parameter to the session management function network element, and the session management function network element A fourth message including configuration parameters is sent to the user plane functional network element. It should be noted that the fourth message may not include the first forwarding rule.
  • the second message is used to trigger the measurement of the QoS information
  • the method 600 further includes:
  • the policy control function network element receives the network protocol IP address of the user plane function network element from the session management function network element, and the policy control function network element sends a second message to the capability opening network element, wherein the The second message includes the IP address of the user plane functional network element.
  • the method 600 further includes: the policy control function network element sends a second message to the capability opening network element, and the second message is used to trigger the measurement of the QoS information.
  • FIG. 7 shows a method 700 for measuring service quality information provided by an embodiment of the present application.
  • the method includes:
  • the user plane function network element receives the first forwarding rule of the detection message from the session management function network element.
  • the first forwarding rule and the forwarding rule of service data between the terminal device and the user plane functional network element contain the same quality of service QoS information.
  • the first forwarding rule and the forwarding rule of the service data between the terminal device and the user plane functional network element contain the same quality of service QoS information, which can be understood as: the first forwarding rule is used to determine the detection message and the detection message is determined
  • the QoS information is the same as the QoS information determined by using the forwarding rules of business data, for example, the same delay information and the same packet loss rate.
  • the first forwarding rule refers to the description in the method 600.
  • the first forwarding rule is a rule followed by the user plane function network element sending the detection message.
  • the first forwarding rule may be determined based on a first message sent by the terminal device through the application program interface before initiating the data service, and the first message is used to request measurement of the service between the terminal device and the user plane function network element Data QoS information.
  • the user plane function network element generates a first detection packet of service data.
  • the first forwarding rule may include configuration information, for example, it may include at least one of the size of the detection message, the frequency of sending the detection message, or the duration of sending the detection message.
  • the user plane function network element may generate the first detection message according to at least one of the size of the detection message, the frequency of sending the detection message, or the duration of sending the detection message.
  • the first forwarding rule may not include configuration information, for example, does not include at least one of the size of the detection message, the frequency of sending the detection message, or the duration of sending the detection message.
  • the session management function network element still needs to send the configuration information to the user plane function network element through the fourth message. In this way, the user plane functional network element can generate the first detection message according to the configuration information.
  • the user plane function network element sends a first detection message to the terminal device according to the first forwarding rule.
  • the method 700 further includes:
  • the user plane function network element receives the second detection message sent by the terminal device.
  • the first detection message and the second detection message have the same configuration parameters, for example, the first detection message and the second detection message have the same size, and the first detection message and the second detection message The transmission frequency is the same, and the duration of the first detection message and the second detection message are the same.
  • the first detection message and the second detection message have the same service type as the service data.
  • the user plane function network element receives second indication information from the session management function network element, and the second indication information is used to instruct the user plane function network element not to perform the first detection message and the second detection message Billing operation.
  • the user plane function network element does not perform a charging operation on the first detection message and the second detection message according to the second instruction information.
  • the second indication information may be sent by the policy control function network element to the user plane function network element through the session management function network element.
  • the second indication information may be determined by the session management function network element and sent to the user plane function network element.
  • the source address of the first detection message is the IP address of the user plane functional network element
  • the destination address of the first detection message is the IP address of the terminal device.
  • the source address of the second detection message is the IP address of the terminal device
  • the destination address of the second detection message is the IP address of the user plane functional network element. That is, when the first detection message sent by the user plane function network element to the terminal device needs to obtain the IP address of the terminal device. For the manner in which the user plane function network element obtains the IP address of the terminal device, see S411.
  • the following is described in two cases.
  • the first case is that the user plane function network element measures QoS information
  • the second case is that the terminal device determines the QoS information.
  • the user plane function network element sends the first detection message to the terminal device at the first time (for example, T3 in method 500) (for example, method 500 Detection packet 3) in the user plane function; at the second moment, the user plane function network element receives the second detection packet sent by the terminal device (for example, the detection packet 4 in the method 500).
  • the first time is before the second time, and the user plane function network element determines the delay information according to the first time and the second time, and the delay information is the delay information of the service data.
  • the delay information determined according to the transmission time of the first detection message and the reception time of the second detection message is the delay information of the service data between the terminal device and the user plane functional network element.
  • the user plane function network element receives first indication information from the session management function network element, and the first indication information is used to instruct the user plane function network element to measure delay information; the user plane function network element is based on the first time and the second time Determining the delay information includes: the user plane function network element determines the delay information according to the first indication information, the first time, and the second time.
  • the first indication information may be that the policy control function network element is sent to the user plane function network element through the session management function network element.
  • the first indication information may be determined by the session management function network element and sent to the user plane function network element.
  • the user plane functional network element may send the delay information to the policy control function network element through the session management function network element.
  • the user plane functional network element may also determine QoS information, and the determined QoS information may be sent to the policy function network element through the session management function network element.
  • the user plane function network element receives the second detection message sent by the terminal device (for example, it may be detection message 1 in method 400).
  • the user plane function network element sends a first detection message to the terminal device (for example, it may be detection message 2 in method 400).
  • the user plane function network element cooperates with the terminal device to receive and send a detection message, so that the terminal device determines the QoS information.
  • the first detection message and the second detection message are Internet packet probe Ping packets.
  • the terminal device may send a first message to the core network element through the application program interface to request the measurement terminal device and the user plane function network QoS information of business data between the elements.
  • the user plane function network element or terminal device can determine the QoS information of the service data by the time of sending the detection message and receiving the detection message. Since the QoS information is the delay information after the service data is initiated, the terminal device can use the QoS information Decide whether to initiate business data to help improve the user experience.
  • the policy control function network element may determine whether the QoS information of the service data needs to be adjusted according to the QoS information to meet the terminal device's demand for the QoS information of the service data, thereby helping to improve the user experience.
  • the following uses QoS information as a delay information as an example, and describes the method for measuring quality of service information provided by the embodiments of the present application with reference to FIGS. 8 and 9.
  • the terminal device is a UE and the detection packet is a Ping packet.
  • the embodiments of the present application are not limited to this.
  • FIG. 8 is the measurement delay information of the terminal device.
  • Figure 9 is the measurement delay information of the user plane functional network element.
  • FIG. 8 shows a method 800 for measuring service quality information provided by an embodiment of the present application.
  • the method 800 includes:
  • the UE sends a first message to the NEF through the API.
  • the first message is used to request measurement of service quality QoS information of service data between the terminal device and the user plane functional network element. That is, the first message is used to trigger the NEF to interact with the PCF.
  • the UE when the UE starts an application, before performing data services, the UE sends a first message to the NEF through the API, and the NEF sends the first message to the PCF.
  • the first message may be a QoS monitoring configuration request (QoS monitoring configuration request). configuration) request) message.
  • the first message includes one or more of information such as the IP address of the UE, the identification of the service type of the service data, the application ID (application ID) associated with the service data, or configuration information.
  • the configuration information includes at least one of parameters such as the size of the Ping packet, the frequency of sending the Ping packet, or the duration of sending the Ping packet.
  • the method further includes: before initiating the service data, the UE determines the DNN and S-NSSAI associated with the application according to locally stored user routing policy (UESP) information (URSP) The UE sends a session establishment request to the AMF through the RAN to trigger the establishment of the data plane link between the UE and the user plane functional network element.
  • UESP user routing policy
  • URSP locally stored user routing policy
  • the AMF network element selects the SMF network element associated with the session.
  • the SMF network element assigns an IP address to the UE.
  • the IP address is used by the UE to transmit service packets.
  • the SMF network element stores the UE ID and session ID. IP addresses of DNN, S-NSSAI and UE, etc.
  • the NEF After receiving the first message, the NEF sends the first message to the PCF.
  • the PCF determines the delay information of the Ping packet to trigger measurement of the current message when determining the current message according to the first message.
  • the PCF generates a policy charging control (policy) for the UE or the service type or the application's Ping packet according to at least one of the UE's IP address, service data service type identifier, and service data associated application identifier included in the first message and charging control (PCC) rules, where the PCC rules contain QoS rules, that is, the QoS rules may be the aforementioned first forwarding rules, and the QoS rules are consistent with the QoS rules of the UE or the service type or the application (ie, Ping
  • the QoS rule of the packet has the same 5QI and/or ARP as the QoS rule of the UE or the service type or the application, so that the UE or the service type or the application can be associated with the Ping packet.
  • the PCF may also determine the bandwidth according to parameters such as the size of the ping packet, the frequency of packet transmission, and the duration.
  • the PCF determines the UE ID corresponding to the IP address and the SMF network element currently serving the UE according to the IP address of the UE contained in the stored context.
  • the PCF may also determine the DNN and/or S-NSSAI corresponding to the application according to the application ID (Application ID), so that the SMF network element serving the UE may be determined according to the DNN and/or S-NSSAI, or the PCF may The DNN and/or S-NSSAI is sent to the determined SMF network element, so that the SMF network element determines the UPF network element according to the DNN and/or S-NSSAI.
  • the PCF initiates a session modification process to the SMF.
  • the session modification request may carry the PCC rules (including QoS rules, that is, the aforementioned first forwarding rules) of the Ping packet, and the information in the UE ID, DNN, and S-NSSAI. At least one,
  • the SMF after receiving the session modification request sent by the PCF, the SMF sends an N4 session modification request to the UPF, and sends the QoS rules of the Ping packet to the UPF.
  • the SMF may send the second indication information to the UPF.
  • the N4 session modification process request may also carry the second indication information.
  • the second indication information is used to instruct the UPF to receive the uplink ping packet from the UE side (for example, It may be the first detection message in the method 300 or the detection message 1 in the method 400), and immediately return the downstream Ping packet (for example, it may be the second detection message in the method 300 or the detection message 2 in the method 400) ), and no charging processing is required for Ping packets.
  • the SMF may send the second indication information and the QoS rule to the UPF at the same time, or it may be sent to the UPF separately, which is not limited in this embodiment of the present application.
  • the second indication information may be sent by the PCF to the SMF, and the SMF is sent to the UPF.
  • the inclusion of the QoS rules (that is, the aforementioned first forwarding rules) in the session modification request and the N4 session modification process request is only one possible implementation manner, and the QoS rules also It can be sent to the SMF in other ways, which is not limited in the embodiments of the present application.
  • the SMF sends the destination IP address (ie, the IP address of the UPF) used for Ping packet detection to the PCF.
  • the destination IP address ie, the IP address of the UPF
  • S806 may be after or before S805, which is not limited in this embodiment of the present application.
  • the PCF sends a second message to the NEF.
  • the second message may be a QoS monitoring response (QoS monitoring response) message.
  • the second message includes a destination IP address (that is, an UPF IP address) used for Ping packet detection.
  • the NEF sends a second message to the API of the terminal device, so that the IP address of the UPF in the second message can be returned to the UE through the API.
  • the UE receives the second message sent by the NEF through the API, and constructs the first Ping packet according to the IP address of the UPF in the second message (for example, it may be the first detection message in the method 300 or the detection message in the method 400 1 or the second detection message in the second case in method 700), the source IP of the first ping packet is the IP address of the UE, and the destination IP is the IP address of the UPF.
  • the UE starts a timer, the UE sends a first ping packet to the UPF, and records the sending time of sending the first ping packet as p.
  • the UPF may obtain the UE IP from the first ping packet, and the UPF constructs the second ping packet and immediately returns the second ping packet to the UE (may be the second detection report in the method 300) Detection message 2 in the document or method 400 or the first detection message in the second case in the method 700).
  • the UE receives the second ping packet returned by the UPF, and stops the timer.
  • the time for stopping the timer is q.
  • the UE can determine the UE to UPF according to p and q.
  • the delay information of the inter-service data for example, the delay is (qp)/2.
  • the method 800 further includes S813 and S814:
  • the UE sends the delay information to the capability open network element through the application program interface, and the capability open network element receives the delay information sent by the UE through the application program interface.
  • S814 The capability open network element sends the delay information to the policy control function network element, so that the policy control function network element determines whether to adjust the service data delay information.
  • FIG. 9 shows a method 900 for measuring service quality information provided by an embodiment of the present application, including:
  • S901-S903 is the same as S801-S803.
  • the PCF initiates a session modification process to the SMF.
  • the session modification request may carry PCC rules (including QoS rules, that is, the aforementioned first forwarding rules) of the Ping packet, and information such as the UE ID, DNN, and S-NSSAI.
  • the SMF after receiving the session modification request sent by the PCF, the SMF sends an N4 session modification request to the UPF, and sends the QoS rules of the Ping packet to the UPF.
  • the SMF sends the first indication information to the UPF, where the first indication information is used to indicate the user plane function network element measurement delay information.
  • the first indication information in S906 and the QoS rules in S905 may be sent to the UPF together, for example, the N4 session modification request may include the first indication information.
  • the first indication information in S906 and the QoS rules in S905 may be sent to the UPF separately, which is not limited in this embodiment of the present application.
  • the UPF constructs a third Ping packet according to the first indication information (for example, it may be the third detection message in the method 300 or the detection message 3 in the method 500 or the first detection message in the first case in the method 700 Text), the source IP of the third ping packet is the IP address of the UPF, and the destination IP is the IP address of the UE.
  • the first indication information for example, it may be the third detection message in the method 300 or the detection message 3 in the method 500 or the first detection message in the first case in the method 700 Text
  • the source IP of the third ping packet is the IP address of the UPF
  • the destination IP is the IP address of the UE.
  • the embodiment of the present application does not limit the way in which the UPF obtains the IP address of the UE, for example, it can be obtained in the following three ways:
  • the SMF determines the IP address of the UE according to the context of the UE, and sends the IP address of the UE to the UPF through S905, so that the UPF can generate a third detection message according to the received IP address of the UE.
  • the SMF may send the UE ID and the session ID to the UPF, and the UPF network element determines the IP address of the UE corresponding to the session stored in the context according to the UE ID and the session ID, so that the UPF
  • the third detection message may be generated according to the received IP address of the UE.
  • the PCF sends the IP address of the UE to the SMF, and the SMF sends the IP address of the UE to the UPF, so that the UPF can generate a third detection message according to the received IP address of the UE.
  • the UPF starts a timer, the UPF sends a third ping packet to the UE, and records the sending time for sending the third ping packet as s.
  • the UE after receiving the third ping packet sent by the UPF, the UE obtains the IP address of the UPF in the third ping packet, constructs the fourth ping packet, and immediately returns the fourth ping packet to the UPF (for example, it may be the method 300
  • the source IP of the fourth ping packet is the IP address of the UE
  • the destination IP is the UPF IP address.
  • the UPF receives the fourth Ping packet returned by the UE, and stops the timer.
  • the time for stopping the timer is t.
  • the UPF can determine the UE to UPF according to s and t.
  • the delay information of the service data in the time, for example, the delay is (ts)/2.
  • the UPF sends the delay information to the SMF, and the SMF receives the delay information sent by the UPF.
  • the SMF sends the delay information to the PCF, and the PCF receives the delay information sent by the SMF.
  • the PCF may determine whether to adjust the delay information of the service data according to the received delay information.
  • the PCF sends the delay information to the NEF, and the NEF receives the delay information sent by the PCF.
  • the NEF sends the delay information to the application program interface of the UE, and the application program interface returns the delay information to the UE.
  • the apparatus 1000 may correspond to the terminal device described in the above method, or may correspond to a chip or component of the terminal device, and, Each module or unit in the apparatus 1000 may be used to perform various actions or processing procedures performed by the terminal device in the above method, as shown in FIG. 10, the apparatus 1000 for measuring service quality information may include a sending unit 010 and a receiving unit Unit 1020.
  • the sending unit 1010 is configured to send a first message to the core network element through the application program interface before initiating the service data, and the first message is used to request service quality QoS information of the service data between the measurement device and the user plane function network element ;
  • the receiving unit 1020 is configured to receive a second message sent by a core network element through an application program interface.
  • the second message is used to trigger measurement of QoS information, or the second message includes QoS information.
  • the first message includes at least one of a network protocol IP address of the terminal device, an identifier of the service type of the service data, an application identifier associated with the service data, or a configuration parameter, where the configuration parameter includes the size of the detection packet At least one of the frequency of sending the detection message or the duration of sending the detection message.
  • the second message is used to trigger the measurement of QoS information
  • the QoS information is delay information.
  • the sending unit 1010 is further configured to: after receiving the second message sent by the core network element through the application program interface, At the first moment, the first detection message is sent to the user plane functional network element;
  • the receiving unit 1020 is further configured to: at a second moment, receive a second detection message from the user plane functional network element;
  • the device further includes: a first processing unit, configured to determine the delay information according to the first time and the second time, and the delay information is the delay information of the service data.
  • the second message includes the network protocol IP address of the user plane functional network element.
  • the second message includes QoS information
  • the receiving unit 1020 is further configured to:
  • the device further includes: a second processing unit, configured to obtain the IP address of the user plane functional network element in the third detection message;
  • the sending unit 1010 is further configured to send a fourth detection message to the user plane functional network element.
  • the first detection message, the second detection message, the third detection message, and the fourth detection message are Internet packet probe Ping packets.
  • the apparatus 1100 may correspond to the policy control function network element described in the above method, or may correspond to the policy control function network element. Chip or component, and each module or unit in the device 1100 can be used to perform various actions or processes performed by the policy control function network element in the above method, as shown in FIG. 11, which is used to measure the quality of service information
  • the apparatus 1100 may include a transceiver unit 1110 and a processing unit 1120.
  • the transceiver unit 1110 is configured to receive the first message from the capability open network element, and the first message is used to request measurement of service quality QoS information of service data between the terminal device and the user plane functional network element;
  • the processing unit 1120 is used by the policy control function network element to determine the first forwarding rule for detecting the packet based on the first message.
  • the first forwarding rule and the forwarding rule of the service data include the same QoS information;
  • the transceiver unit 1110 is further configured to: send the first forwarding rule to the user plane functional network element through the session management functional network element.
  • the first message includes at least one of an IP address of the terminal device, an identifier of the service type, an application identifier associated with the service data, or a configuration parameter.
  • the configuration parameter includes: the size of the detection message and the sending of the detection report At least one of the frequency of the message or the duration of sending the detection message, the first forwarding rule includes configuration parameters.
  • the transceiver unit 1110 is also used to:
  • a second message is sent to the capability opening network element.
  • the second message is used to trigger the measurement of QoS information, or the second message includes QoS information.
  • the second message is used to trigger the measurement of QoS information
  • the transceiver unit is also used to:
  • the network protocol IP address of the user plane function network element is received from the session management function network element, where the second message includes the IP address of the user plane function network element.
  • FIG. 12 shows a schematic block diagram of an apparatus 1200 for measuring quality of service information provided by an embodiment of the present application.
  • the apparatus 1200 may correspond to the user plane functional network element described in the above method, or may correspond to the user plane functional network element. Chips or components, and each module or unit in the device 1200 can be used to perform various actions or processing procedures performed by the user plane functional network element in the above method, as shown in FIG. 12, which is used to measure the quality of service information
  • the apparatus 1200 may include a transceiver unit 1210 and a processing unit 1220.
  • the transceiving unit 1210 is configured to receive the first forwarding rule of the detection message from the network element of the session management function.
  • the first forwarding rule and the forwarding rule of the service data between the terminal device and the user plane functional network element include the same quality of service QoS information ;
  • the processing unit 1220 is configured to generate a first detection message of service data
  • the transceiver unit 1210 is further configured to send the first detection message to the terminal device according to the first forwarding rule.
  • the first forwarding rule includes at least one of the size of the detection message, the frequency of sending the detection message, or the duration of sending the detection message.
  • the QoS information is delay information
  • the transceiver unit 1210 is specifically used to:
  • the second detection message sent by the terminal device is received.
  • the transceiver unit 1210 is further used to:
  • the processing unit 1220 is further configured to determine the delay information according to the first indication information, the first time, and the second time, and the delay information is the delay information of the service data.
  • the transceiver unit 1010 is further configured to: send delay information to the network element of the session management function.
  • the transceiver unit 1010 is further configured to: receive second indication information from the session management function network element, and the second indication information is used to instruct the user plane function network element to perform the first detection message and the second detection message No billing operation is performed.
  • the first detection message and the second detection message are Internet packet probe Ping packets.
  • the device 1000 of the above solutions has the function of implementing the corresponding steps performed by the terminal device in the above method
  • the device 1100 of the above solutions has the function of implementing the corresponding steps of the policy control function network element in the above method
  • the device 1200 of the above solutions The function of implementing the corresponding steps performed by the user plane function network element in the above method; the function can be implemented by hardware, or can also be implemented by hardware executing corresponding software.
  • the hardware or software includes one or more modules corresponding to the above functions; for example, the sending unit can be replaced by a transmitter, the receiving unit can be replaced by a receiver, and other units, such as a determination unit, etc., can be replaced by a processor to perform each method separately
  • the receiving and sending operations and related processing operations in the embodiment can be replaced by a transmitter, the receiving unit can be replaced by a receiver, and other units, such as a determination unit, etc., can be replaced by a processor to perform each method separately
  • the receiving and sending operations and related processing operations in the embodiment
  • the processor may be used for, for example, but not limited to, baseband related processing
  • the transceiver may be used for, for example, but not limited to, radio frequency transceiver.
  • the above-mentioned devices may be respectively arranged on separate chips, or at least partly or wholly on the same chip.
  • the processor may be further divided into an analog baseband processor and a digital baseband processor, where the analog baseband processor and the transceiver may be integrated on the same chip, and the digital baseband processor may be provided on an independent chip.
  • SOC system chip
  • an embodiment of the present application provides a schematic block diagram of an apparatus 1300 for measuring quality of service information.
  • the apparatus 1300 includes a processor 1310, a transceiver 1320, and a memory 1330.
  • the processor 1310, the transceiver 1320 and the memory 1330 communicate with each other through an internal connection path.
  • the memory 1330 is used to store instructions.
  • the processor 1310 is used to execute the instructions stored in the memory 1330 to control the transceiver 1320 to send signals and /Or receive signals.
  • the transceiver 1320 is used to send a first message to the core network element through the application program interface before initiating service data.
  • the first message is used to Request quality of service QoS information of service data between the measurement device and the user plane functional network element; the transceiver 1320 is also used to receive the second message sent by the core network element through the application program interface, and the second message is used to trigger the QoS information Measure, or, the second message includes QoS information.
  • the transceiver 1320 is used to receive a first message from the capability opening network element, and the first message is used to request measurement terminal equipment and user plane functions. Service quality QoS information of service data between network elements; processor 1310 is used for policy control function.
  • the network element determines a first forwarding rule for detecting packets based on the first message.
  • the first forwarding rule and the service data forwarding rule include the same QoS information; the transceiver 1320 is also used to: send the first forwarding rule to the user plane function network element through the session management function network element.
  • the transceiver 1320 is used to receive a first forwarding rule for receiving a detection message from the session management functional network element, the first forwarding rule and the terminal device
  • the service data forwarding rules between the user plane functional network elements contain the same quality of service QoS information; the processor 1310 is used to generate the first detection message of the service data; the transceiver 1320 is also used to follow the first forwarding rule Send a first detection message to the terminal device.
  • the apparatus in FIG. 10 or the apparatus in FIG. 11 or the apparatus in FIG. 12 in the embodiments of the present application may be implemented by the apparatus 1300 in FIG. 13 and may be used to execute the terminal device and policy control in the above method embodiments Various steps and/or processes corresponding to the functional network element and the user plane functional network element.
  • the present application also provides a computer program product, the computer program product comprising: computer program code, when the computer program code runs on the computer, the computer is caused to perform the method in the above embodiment .
  • the various embodiments in this application can also be combined with each other.
  • the present application also provides a computer readable medium, the computer readable interpretation stores the program code, and when the program code runs on the computer, the computer is caused to execute the method in the above embodiments .
  • the processor may be an integrated circuit chip with signal processing capabilities.
  • each step of the foregoing method embodiment may be completed by an integrated logic circuit of hardware in a processor or instructions in the form of software.
  • the aforementioned processor may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), an existing programmable gate array (FPGA), or other Programming logic devices, discrete gates or transistor logic devices, discrete hardware components.
  • DSP digital signal processor
  • ASIC application-specific integrated circuit
  • FPGA existing programmable gate array
  • the general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the steps of the method disclosed in conjunction with the embodiments of the present application may be directly embodied and executed by a hardware decoding processor, or may be executed and completed by a combination of hardware and software modules in the decoding processor.
  • the software module may be located in a mature storage medium in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, or electrically erasable programmable memory, and registers.
  • the storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
  • the memory in the embodiments of the present application may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory.
  • the non-volatile memory may be read-only memory (read-only memory, ROM), programmable read-only memory (programmable ROM, PROM), erasable programmable read-only memory (erasable PROM, EPROM), electronically Erasable programmable read only memory (electrically EPROM, EEPROM) or flash memory.
  • the volatile memory may be a random access memory (random access memory, RAM), which is used as an external cache.
  • RAM random access memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • DRAM synchronous dynamic random access memory
  • SDRAM synchronous dynamic random access memory
  • double data rate Synchronous dynamic random access memory double data SDRAM, DDR SDRAM
  • enhanced SDRAM enhanced synchronous dynamic random access memory
  • SLDRAM synchronous connection dynamic random access memory
  • direct RAMbus direct RAMbus, RAM, DR.
  • the computer program product may include one or more computer instructions.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be from a website site, computer, server or data center Transmission to another website, computer, server or data center via wired (such as coaxial cable, optical fiber, digital subscriber (DSL)) or wireless (such as infrared, wireless, microwave, etc.).
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device including a server, a data center, and the like integrated with one or more available media.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic disk), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)), or the like.
  • a magnetic medium for example, a floppy disk, a hard disk, a magnetic disk
  • an optical medium for example, a DVD
  • a semiconductor medium for example, a solid state disk (SSD)
  • the disclosed system, device, and method may be implemented in other ways.
  • the device embodiments described above are only schematic.
  • the division of the units is only a division of logical functions.
  • there may be other divisions for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium.
  • the technical solution of the present application essentially or part of the contribution to the existing technology or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to enable a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM), random access memory (random access memory, RAM), magnetic disk or optical disk and other media that can store program codes .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Provided are a method and an apparatus for measuring quality of service information. The method comprises: before initiating service data, a terminal device sending a first message to a core network element by means of an application program interface, wherein the first message is used for requesting the measurement of QoS information of the service data between the terminal device and a user plane function network element; the terminal device receiving, by means of the application program interface, a second message sent by the core network element, wherein the second message is used for triggering the measurement of the QoS information, or, the second message comprises the QoS information; therefore, the terminal device can obtain the QoS information, and the terminal device can obtain the QoS information before initiating the service data, such that the terminal device can selectively initiate the service data in a network environment with better QoS information, thereby facilitating an improvement in the user experience.

Description

用于测量服务质量信息的方法和装置Method and device for measuring service quality information
本申请要求于2018年12月10日提交中国专利局、申请号为201811501737.6、申请名称为“用于测量服务质量信息的方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application requires the priority of the Chinese patent application filed on December 10, 2018 in the Chinese Patent Office with the application number 201811501737.6 and the application name "Method and Device for Measuring Service Quality Information", the entire content of which is incorporated by reference in In this application.
技术领域Technical field
本申请涉及通信领域,并且更具体地,涉及通信领域中用于测量服务质量信息的方法和装置。The present application relates to the field of communication, and more specifically, to a method and apparatus for measuring quality of service information in the field of communication.
背景技术Background technique
在有线网络和无线网络中,都会用服务质量(quality of service,QoS)信息来衡量业务的质量。例如,时延属于QoS信息的一个重要指标,不同的业务类型对时延的要求不同。如何通过测量业务的Qos信息以确定是否满足用户的需求是当前需要解决的问题。In both wired and wireless networks, quality of service (QoS) information is used to measure the quality of services. For example, latency is an important indicator of QoS information, and different service types have different requirements on latency. How to measure the QoS information of the service to determine whether to meet the needs of users is the current problem to be solved.
现有技术是,当终端设备需要测量某个业务数据的QoS信息时,可以采用第三方应用服务器进行检测,例如终端设备向核心网网元发起建立协议数据单元(protocol data unit,PDU)会话的请求,来建立终端设备与第三方应用服务器之间的用户面连接,在建立好用户面连接之后,终端设备通过核心网用户面网元与第三方应用服务器传输业务数据,来测量终端设备与第三方应用服务器之间业务数据的QoS信息。然而,这种测量QoS信息的方法,无法测量出终端设备与用户面功能网元之间链路的QoS信息,从而无法确定当前网络环境是否适合发起业务数据,使得用户体验较差。The existing technology is that when the terminal device needs to measure the QoS information of a certain service data, a third-party application server can be used for detection, for example, the terminal device initiates the establishment of a protocol data unit (PDU) session to the core network element Request to establish a user plane connection between the terminal device and the third-party application server. After the user plane connection is established, the terminal device transmits service data to the third-party application server through the core network user plane network element to measure the terminal device and the third party application server. QoS information of business data between three-party application servers. However, this method of measuring QoS information cannot measure the QoS information of the link between the terminal device and the user plane functional network element, and thus cannot determine whether the current network environment is suitable for initiating service data, making the user experience poor.
发明内容Summary of the invention
本申请提供一种用于测量服务质量信息的方法和装置,有助于提高用户体验。The present application provides a method and device for measuring service quality information, which helps to improve user experience.
第一方面,提供了一种用于测量服务质量信息的方法,包括:终端设备发起业务数据之前,通过应用程序接口向核心网网元发送第一消息,第一消息用于请求测量终端设备与用户面功能网元之间的业务数据的服务质量QoS信息;In the first aspect, a method for measuring quality of service information is provided, which includes: before a terminal device initiates service data, a first message is sent to a core network element through an application program interface, and the first message is used to request the measurement terminal device and Service quality QoS information of service data between user plane functional network elements;
终端设备通过应用程序接口接收核心网网元发送的第二消息,第二消息用于触发QoS信息的测量,或,第二消息包括QoS信息。The terminal device receives the second message sent by the core network element through the application program interface. The second message is used to trigger the measurement of QoS information, or the second message includes QoS information.
因此,在本申请实施例中,终端设备可以通过应用程序接口向核心网网元发送第一消息,请求测量终端设备与用户面功能网元之间的业务数据的QoS信息,从而终端设备可以根据第二消息测量QoS信息或者终端设备可以获取第二消息中的QoS信息,从而可以得到终端设备与用户面功能网元之间的业务数据的QoS信息,从而可以根据QoS信息确定是否发起业务数据,有助于提高用户体验。Therefore, in the embodiment of the present application, the terminal device may send a first message to the core network element through the application program interface to request measurement of QoS information of service data between the terminal device and the user plane function network element, so that the terminal device can The second message measures the QoS information or the terminal device can obtain the QoS information in the second message, so that the QoS information of the service data between the terminal device and the user plane functional network element can be obtained, so that whether to initiate the service data can be determined according to the QoS information. Helps improve the user experience.
需要说明的是,终端设备在发起业务数据之前,可以根据第二消息测量QoS信息或者在第二消息中获取QoS信息。It should be noted that before initiating service data, the terminal device may measure QoS information according to the second message or obtain QoS information in the second message.
进一步地,终端设备可以在发起业务数据之前的任意时刻,请求测量终端设备与用户面功能网元之间的业务数据的QoS信息,例如:发起业务数据之前,在网络环境较好(如网络信号较好的办公园区,而不是地铁站火车站等人流密集区)的情况下,可以测量QoS信息,使得终端设备可以选择性地在QoS信息较好的网络环境下发起业务数据,从而可以提高用户体验。在一种可能的实现方式中,第二消息可以是第一消息的响应消息。Further, the terminal device may request to measure the QoS information of the service data between the terminal device and the user plane functional network element at any time before initiating the service data, for example, before initiating the service data, the network environment is better (such as network signal In the case of better office parks, rather than densely populated areas such as subway stations and train stations, QoS information can be measured, so that terminal devices can selectively initiate business data in a network environment with good QoS information, which can improve users Experience. In a possible implementation manner, the second message may be a response message of the first message.
在本申请实施例中,对核心网网元不作限定,例如核心网网元可以是能力开放网元,能力开放网元可以将第一消息透传给策略控制功能网元。In the embodiment of the present application, the core network element is not limited, for example, the core network element may be a capability open network element, and the capability open network element may transparently transmit the first message to the policy control function network element.
在一种可能的实现方式中,QoS信息包括时延信息。In a possible implementation, the QoS information includes delay information.
在一种可能的实现方式中,当第二消息用于触发QoS信息的测量时,终端设备可以根据第二消息测量QoS信息,然后将QoS信息发送给核心网网元,例如,终端设备可以将QoS信息通过能力开放网元发送给策略控制功能网元,以便于策略控制功能网元确定是否对业务数据的QoS信息进行调整。In a possible implementation, when the second message is used to trigger the measurement of QoS information, the terminal device can measure the QoS information according to the second message, and then send the QoS information to the core network element. For example, the terminal device can send The QoS information is sent to the policy control function network element through the capability opening network element, so that the policy control function network element determines whether to adjust the QoS information of the service data.
在一种可能的实现方式中,第一消息包括终端设备的IP地址、业务数据的业务类型的标识、业务数据关联的应用标识或配置参数中的至少一种,配置参数包括检测报文的大小、发送检测报文的频率或发送检测报文的持续时间中的至少一种。In a possible implementation manner, the first message includes at least one of an IP address of the terminal device, an identifier of the service type of the service data, an application identifier associated with the service data, or a configuration parameter, where the configuration parameter includes the size of the detection message At least one of the frequency of sending the detection message or the duration of sending the detection message.
在一种可能的实现方式中,第二消息用于触发QoS信息的测量,QoS信息为时延信息,在终端设备通过应用程序接口接收核心网网元发送的第二消息之后,方法还包括:In a possible implementation manner, the second message is used to trigger the measurement of QoS information, and the QoS information is delay information. After the terminal device receives the second message sent by the core network element through the application program interface, the method further includes:
终端设备在第一时刻,向用户面功能网元发送第一检测报文;At the first moment, the terminal device sends a first detection message to the user plane functional network element;
终端设备在第二时刻,从用户面功能网元接收第二检测报文;At the second moment, the terminal device receives the second detection message from the user plane functional network element;
终端设备根据第一时刻和第二时刻确定时延信息,时延信息为业务数据的时延信息。The terminal device determines the delay information according to the first moment and the second moment, and the delay information is the delay information of the service data.
在一种可能的实现方式中,第二消息包括用户面功能网元的网络协议IP地址,这样,终端设备可以在第二消息中获取用户面功能网元的IP地址。在一种可能的实现方式中,第一检测报文的源地址为终端设备的IP地址,第一检测报文的目的地址为用户面功能网元的IP地址。第二检测报文的源地址为用户面功能网元的IP地址,第二检测报文的目的地址为终端设备的IP地址。In a possible implementation manner, the second message includes the network protocol IP address of the user plane functional network element, so that the terminal device can obtain the IP address of the user plane functional network element in the second message. In a possible implementation manner, the source address of the first detection message is the IP address of the terminal device, and the destination address of the first detection message is the IP address of the user plane functional network element. The source address of the second detection message is the IP address of the user plane functional network element, and the destination address of the second detection message is the IP address of the terminal device.
在一种可能的实现方式中,第二消息包括QoS信息,在终端设备通过应用程序接口接收核心网元网元发送的第二消息之前,方法还包括:In a possible implementation manner, the second message includes QoS information, and before the terminal device receives the second message sent by the core network element and the network element through the application program interface, the method further includes:
终端设备从用户面功能网元接收第三检测报文;The terminal device receives the third detection message from the user plane functional network element;
终端设备在第三检测报文中获取用户面功能网元的IP地址;The terminal device obtains the IP address of the user plane functional network element in the third detection message;
终端设备向用户面功能网元发送第四检测报文。The terminal device sends a fourth detection message to the user plane functional network element.
在一种可能的实现方式中,第三检测报文的源地址为用户面功能网元的IP地址,第三检测报文的目的地址为终端设备的IP地址。第四检测报文的源地址为终端设备的IP地址,第四检测报文的目的地址为用户面功能网元的IP地址。In a possible implementation manner, the source address of the third detection message is the IP address of the user plane functional network element, and the destination address of the third detection message is the IP address of the terminal device. The source address of the fourth detection message is the IP address of the terminal device, and the destination address of the fourth detection message is the IP address of the user plane functional network element.
在一种可能的实现方式中,第一检测报文、第二检测报文、第三检测报文和第四检测报文为因特网包探测器Ping包。In a possible implementation manner, the first detection message, the second detection message, the third detection message, and the fourth detection message are Internet packet probe Ping packets.
第二方面,提供了一种用于测量服务质量信息的方法,包括:策略控制功能网元从能力开放网元接收第一消息,第一消息用于请求测量终端设备与用户面功能网元之间的业务数据的服务质量QoS信息;In a second aspect, a method for measuring quality of service information is provided, including: a policy control function network element receives a first message from a capability opening network element, and the first message is used to request a measurement between a terminal device and a user plane function network element Quality of service QoS information of service data between
策略控制功能网元基于第一消息,确定检测报文的第一转发规则,第一转发规则与业 务数据的转发规则包括相同的QoS信息;Based on the first message, the policy control function network element determines the first forwarding rule for detecting the message, and the first forwarding rule and the forwarding rule of the service data include the same QoS information;
策略控制功能网元通过会话管理功能网元向用户面功能网元发送第一转发规则。The policy control function network element sends the first forwarding rule to the user plane function network element through the session management function network element.
因此,本申请实施例中,策略控制功能网元可以基于第一消息确定第一转发规则,以便于用户面功能网元根据该第一转发规则发送检测报文,这样,用户面功能网元可以根据检测报文的发送时间和接收时间确定终端设备与用户面功能网元之间的业务数据的QoS信息。或者,用户面功能网元可以配合终端设备接收或发送检测报文,以便于终端设备确定终端设备与用户面功能网元之间的业务数据的QoS信息。Therefore, in the embodiment of the present application, the policy control function network element may determine the first forwarding rule based on the first message, so that the user plane function network element may send a detection message according to the first forwarding rule, so that the user plane function network element may The QoS information of the service data between the terminal device and the user plane functional network element is determined according to the sending time and receiving time of the detection message. Alternatively, the user plane functional network element may cooperate with the terminal device to receive or send a detection message, so that the terminal device determines QoS information of service data between the terminal device and the user plane functional network element.
在一种可能的实现方式中,QoS信息包括时延信息。In a possible implementation, the QoS information includes delay information.
在一种可能的实现方式中,第一消息包括终端设备的IP地址、业务类型的标识、业务数据关联的应用标识或配置参数中的至少一种,配置参数包括:检测报文的大小、发送检测报文的频率和发送检测报文的持续时间中的至少一种,第一转发规则包括配置参数。In a possible implementation manner, the first message includes at least one of an IP address of the terminal device, a service type identifier, an application identifier associated with service data, or configuration parameters, where the configuration parameters include: detecting the size of the message and sending At least one of the frequency of the detection message and the duration of sending the detection message, the first forwarding rule includes configuration parameters.
在一种可能的实现方式中,在策略控制功能网元通过会话管理功能网元向用户面功能网元发送第一转发规则之后,方法还包括:In a possible implementation manner, after the policy control function network element sends the first forwarding rule to the user plane function network element through the session management function network element, the method further includes:
策略控制功能网元向能力开放网元发送第二消息,第二消息用于触发QoS信息的测量,或,第二消息包括QoS信息。The policy control function network element sends a second message to the capability opening network element. The second message is used to trigger the measurement of QoS information, or the second message includes QoS information.
在某些实现方式中,第二消息用于触发QoS信息的测量,方法还包括:In some implementations, the second message is used to trigger the measurement of QoS information, and the method further includes:
策略控制功能网元从会话管理功能网元接收用户面功能网元的网络协议IP地址,其中,第二消息包括用户面功能网元的IP地址。The policy control function network element receives the network protocol IP address of the user plane function network element from the session management function network element, where the second message includes the IP address of the user plane function network element.
第三方面,提供了一种用于测量服务质量信息的方法,包括:用户面功能网元从会话管理功能网元接收检测报文的第一转发规则,第一转发规则与终端设备与用户面功能网元之间的业务数据的转发规则包含相同的服务质量QoS信息;In a third aspect, a method for measuring quality of service information is provided, including: a user plane function network element receives a first forwarding rule for detecting a message from a session management function network element, the first forwarding rule and the terminal device and user plane The rules for forwarding service data between functional network elements contain the same quality of service QoS information;
用户面功能网元生成业务数据的第一检测报文;The user plane function network element generates the first detection message of the service data;
用户面功能网元向终端设备发送第一检测报文。The user plane function network element sends the first detection message to the terminal device.
在一种可能的实现方式中,第一检测报文可以是用于用户面功能网元确定QoS信息的检测报文,第一检测报文也可以是用于终端设备确定QoS信息的检测报文。In a possible implementation manner, the first detection message may be a detection message used by the user plane function network element to determine QoS information, and the first detection message may also be a detection message used by the terminal device to determine QoS information .
在一种可能的实现方式中,QoS信息包括时延信息。In a possible implementation, the QoS information includes delay information.
在一种可能的实现方式中,第一转发规则包括:检测报文的大小、发送检测报文的频率或发送检测报文的持续时间中的至少一种。In a possible implementation manner, the first forwarding rule includes at least one of the size of the detection message, the frequency of sending the detection message, or the duration of sending the detection message.
在一种可能的实现方式中,第一转发规则可以不包括检测报文的大小、发送检测报文的频率和发送检测报文的持续时间。检测报文的大小、发送检测报文的频率或发送检测报文的持续时间中的至少一种可以通过其他的方式发送给用户面功能网元。In a possible implementation manner, the first forwarding rule may not include the size of the detection message, the frequency of sending the detection message, and the duration of sending the detection message. At least one of the size of the detection message, the frequency of sending the detection message, or the duration of sending the detection message may be sent to the user plane functional network element in other ways.
在一种可能的实现方式中,QoS信息为时延信息,用户面功能网元向终端设备发送第一检测报文,包括:In a possible implementation manner, the QoS information is delay information, and the user plane function network element sends the first detection message to the terminal device, including:
用户面功能网元在第一时刻,向终端设备发送第一检测报文,方法还包括:用户面功能网元在第二时刻,从终端设备接收第二检测报文。The user plane function network element sends the first detection message to the terminal device at the first moment, and the method further includes: the user plane function network element receives the second detection message from the terminal device at the second moment.
具体地,当第一时刻在第二时刻之前时,用户面功能网元可以根据第一时刻和第二时刻确定终端设备与用户面功能网元之间的业务数据的QoS信息。当第二时刻在第一时刻之前时,用户面功能网元可以配合终端设备接收检测报文和发送检测报文,以便于终端设备根据发送检测报文和接收检测报文的时间确定终端设备与用户面功能网元之间的业务 数据的QoS信息。Specifically, when the first time is before the second time, the user plane function network element may determine the QoS information of the service data between the terminal device and the user plane function network element according to the first time and the second time. When the second time is before the first time, the user plane function network element can cooperate with the terminal device to receive the detection message and send the detection message, so that the terminal device can determine the terminal device and the terminal device according to the time when the detection message is sent and the detection message is received QoS information of service data between user plane functional network elements.
可选地,当用户面功能网元确定QoS信息时,用户面功能网元可以将QoS信息通过会话管理功能网元发送给策略控制功能网元,以便于策略控制功能网元确定是否对终端设备与用户面功能网元之间的业务数据的QoS信息进行调整。Optionally, when the user plane functional network element determines QoS information, the user plane functional network element may send the QoS information to the policy control function network element through the session management function network element, so that the policy control function network element determines whether to the terminal device The QoS information of the business data with the user plane functional network element is adjusted.
在某些实现方式中,第一时刻在第二时刻之前,方法还包括:用户面功能网元从会话管理功能网元接收第一指示信息,第一指示信息用于指示用户面功能网元测量时延信息;In some implementations, the first time is before the second time, the method further includes: the user plane function network element receives first indication information from the session management function network element, and the first indication information is used to instruct the user plane function network element to measure Delay information;
用户面功能网元根据第一指示信息、第一时刻和第四时刻确定时延信息,时延信息为业务数据的时延信息。The user plane functional network element determines the delay information according to the first indication information, the first moment, and the fourth moment, and the delay information is the delay information of the service data.
在某些实现方式中,方法还包括:用户面功能网元从会话管理功能网元接收第二指示信息,第二指示信息用于指示用户面功能网元对第一检测报文和第二检测报文不进行计费操作。用户面功能网元根据第二指示信息对第一检测报文和第二检测报文不进行计费操作。In some implementations, the method further includes: the user plane function network element receives second indication information from the session management function network element, and the second indication information is used to instruct the user plane function network element to perform the first detection message and the second detection The message is not charged. The user plane function network element does not perform a charging operation on the first detection message and the second detection message according to the second instruction information.
在某些实现方式中,第一检测报文和第二检测报文为因特网包探测器Ping包。In some implementations, the first detection message and the second detection message are Internet packet probe Ping packets.
第四方面,提供了一种用于测量服务质量信息的方法,包括:会话管理功能网元从策略控制功能网元接收一转发规则,第一转发规则用于用户面功能网元发送检测报文,第一转发规则与业务数据的转发规则包含相同的服务质量QoS信息;会话管理功能网元向用户面功能网元发送第一转发规则。According to a fourth aspect, a method for measuring quality of service information is provided, including: a network element of a session management function receives a forwarding rule from a network element of a policy control function, and the first forwarding rule is used by a network element of a user plane function to send a detection message , The first forwarding rule and the service data forwarding rule contain the same quality of service QoS information; the network element of the session management function sends the first forwarding rule to the user plane function network element.
可选地,第一转发规则是基于终端设备在发起业务数据报文之前通过应用程序接口发送的第一消息确定的,第一消息用于请求测量终端设备与用户面功能网元之间的业务数据的服务质量QoS信息。Optionally, the first forwarding rule is determined based on the first message sent by the terminal device through the application program interface before initiating the service data message. The first message is used to request measurement of the service between the terminal device and the user plane function network element Data quality of service QoS information.
会话管理功能网元向策略控制功能网元发送用户面功能网元的网络协议IP地址。The network element of the session management function sends the network protocol IP address of the user plane function network element to the policy control function network element.
在某些实现方式中,方法还包括:会话管理功能网元向用户面功能网元发送第一指示信息,第一指示信息用于指示用户面功能网元测量QoS信息。In some implementations, the method further includes: the session management function network element sends first indication information to the user plane function network element, where the first indication information is used to instruct the user plane function network element to measure QoS information.
在某些实现方式中,方法还包括:会话管理功能网元向用户面功能网元发送第一指示信息,第一指示信息用于指示用户面功能网元对检测报文不进行计费操作,例如,检测报文可以是第一检测报文、第二检测报文、第三检测报文和第四检测报文等。In some implementations, the method further includes: the session management function network element sends first indication information to the user plane function network element, where the first indication information is used to instruct the user plane function network element not to perform charging operations on the detection message, For example, the detection message may be a first detection message, a second detection message, a third detection message, a fourth detection message, and so on.
在某些实现方式中,在会话管理功能网元向用户面功能网元发送第一转发规则之后,方法还包括:会话管理功能网元从用户面功能网元接收QoS信息;会话管理功能网元向策略控制功能发送QoS信息。In some implementations, after the session management function network element sends the first forwarding rule to the user plane function network element, the method further includes: the session management function network element receives QoS information from the user plane function network element; the session management function network element Send QoS information to the policy control function.
第五方面,提供了一种用于测量服务质量信息的方法,包括:能力开放网元从终端设备通过应用程序接口发送的第一消息,第一消息用于请求测量终端设备与用户面功能网元之间的业务数据的服务质量QoS信息;In a fifth aspect, a method for measuring quality of service information is provided, including: a first message sent by a capability open network element from a terminal device through an application program interface, the first message is used to request measurement of the terminal device and the user plane function network Quality of service QoS information of business data between elements;
能力开放网元向终端设备的应用程序接口发送第二消息,第二消息用于触发QoS信息的测量,或,第二消息包括QoS信息。The capability opening network element sends a second message to the application program interface of the terminal device. The second message is used to trigger the measurement of QoS information, or the second message includes QoS information.
在某些实现方式中,第二消息用于触发QoS信息的测量,第二消息包括用户面功能网元的IP地址。In some implementations, the second message is used to trigger the measurement of QoS information, and the second message includes the IP address of the user plane functional network element.
在某些实现方式中,当第二消息用于触发QoS信息的测量时,终端设备可以将确定的QoS信息发送给能力开放网元,能力开放网元将QoS信息发送给策略控制功能网元,以便于策略控制功能网元确定是否对业务数据的QoS信息进行调整。In some implementations, when the second message is used to trigger the measurement of QoS information, the terminal device may send the determined QoS information to the capability open network element, and the capability open network element sends the QoS information to the policy control function network element, It is convenient for the policy control function network element to determine whether to adjust the QoS information of the business data.
第六方面,提供了一种用于测量服务质量信息的装置,该装置包括用于执行第一方面或第一方面任意可能的实现方式中的方法中各个步骤的单元。According to a sixth aspect, an apparatus for measuring quality of service information is provided. The apparatus includes a unit for performing each step in the method in the first aspect or any possible implementation manner of the first aspect.
第七方面,提供了一种用于测量服务质量信息的装置,该装置包括用于执行第二方面或第二方面任意可能的实现方式中的方法中各个步骤的单元。According to a seventh aspect, an apparatus for measuring quality of service information is provided. The apparatus includes a unit for performing each step in the method in the second aspect or any possible implementation manner of the second aspect.
第八方面,提供了一种用于测量服务质量信息的装置,该装置包括用于执行第三方面或第三方面任意可能的实现方式中的方法中各个步骤的单元。According to an eighth aspect, an apparatus for measuring quality of service information is provided. The apparatus includes a unit for performing each step of the method in the third aspect or any possible implementation manner of the third aspect.
第九方面,提供了一种用于测量服务质量信息的装置,该装置包括用于执行第四方面或第四方面任意可能的实现方式中的方法中各个步骤的单元。In a ninth aspect, an apparatus for measuring quality of service information is provided. The apparatus includes a unit for performing each step in the method in the fourth aspect or any possible implementation manner of the fourth aspect.
第十方面,提供了一种用于测量服务质量信息的装置,该装置包括用于执行第五方面或第五方面任意可能的实现方式中的方法中各个步骤的单元。According to a tenth aspect, there is provided an apparatus for measuring quality of service information. The apparatus includes a unit for performing each step in the method of the fifth aspect or any possible implementation manner of the fifth aspect.
第十一方面,提供了一种用于测量服务质量信息的装置,该装置包括:收发器、存储器和处理器。其中,该收发器、该存储器和该处理器通过内部连接通路互相通信,该存储器用于存储指令,该处理器用于执行该存储器存储的指令,以控制接收器接收信号,并控制发送器发送信号,并且当该处理器执行该存储器存储的指令时,该执行使得该处理器执行第一方面或第一方面的任一种可能的实现方式中的方法。In an eleventh aspect, an apparatus for measuring quality of service information is provided. The apparatus includes a transceiver, a memory, and a processor. Among them, the transceiver, the memory and the processor communicate with each other through an internal connection path, the memory is used to store instructions, the processor is used to execute the instructions stored in the memory to control the receiver to receive signals, and control the transmitter to send signals And when the processor executes the instructions stored in the memory, the execution causes the processor to execute the method in the first aspect or any possible implementation manner of the first aspect.
第十二方面,提供了一种用于测量服务质量信息的装置,该装置包括:收发器、存储器和处理器。其中,该收发器、该存储器和该处理器通过内部连接通路互相通信,该存储器用于存储指令,该处理器用于执行该存储器存储的指令,以控制接收器接收信号,并控制发送器发送信号,并且当该处理器执行该存储器存储的指令时,该执行使得该处理器执行第二方面或第二方面任意可能的实现方式中的方法。In a twelfth aspect, an apparatus for measuring quality of service information is provided. The apparatus includes a transceiver, a memory, and a processor. Among them, the transceiver, the memory and the processor communicate with each other through an internal connection path, the memory is used to store instructions, the processor is used to execute the instructions stored in the memory to control the receiver to receive signals, and control the transmitter to send signals And when the processor executes the instructions stored in the memory, the execution causes the processor to execute the method in the second aspect or any possible implementation manner of the second aspect.
第十三方面,提供了一种用于测量服务质量信息的装置,该装置包括:收发器、存储器和处理器。其中,该收发器、该存储器和该处理器通过内部连接通路互相通信,该存储器用于存储指令,该处理器用于执行该存储器存储的指令,以控制接收器接收信号,并控制发送器发送信号,并且当该处理器执行该存储器存储的指令时,该执行使得该处理器执行第三方面或第三方面任意可能的实现方式中的方法。In a thirteenth aspect, an apparatus for measuring quality of service information is provided. The apparatus includes: a transceiver, a memory, and a processor. Among them, the transceiver, the memory and the processor communicate with each other through an internal connection path, the memory is used to store instructions, the processor is used to execute the instructions stored in the memory to control the receiver to receive signals, and control the transmitter to send signals And when the processor executes the instructions stored in the memory, the execution causes the processor to execute the method in the third aspect or any possible implementation manner of the third aspect.
第十四方面,提供了一种用于测量服务质量信息的装置,该装置包括:收发器、存储器和处理器。其中,该收发器、该存储器和该处理器通过内部连接通路互相通信,该存储器用于存储指令,该处理器用于执行该存储器存储的指令,以控制接收器接收信号,并控制发送器发送信号,并且当该处理器执行该存储器存储的指令时,该执行使得该处理器执行第四方面或第四方面任意可能的实现方式中的方法。According to a fourteenth aspect, an apparatus for measuring quality of service information is provided. The apparatus includes: a transceiver, a memory, and a processor. Among them, the transceiver, the memory and the processor communicate with each other through an internal connection path, the memory is used to store instructions, the processor is used to execute the instructions stored in the memory to control the receiver to receive signals, and control the transmitter to send signals And when the processor executes the instructions stored in the memory, the execution causes the processor to execute the method in the fourth aspect or any possible implementation manner of the fourth aspect.
第十五方面,提供了一种用于测量服务质量信息的装置,该装置包括:收发器、存储器和处理器。其中,该收发器、该存储器和该处理器通过内部连接通路互相通信,该存储器用于存储指令,该处理器用于执行该存储器存储的指令,以控制接收器接收信号,并控制发送器发送信号,并且当该处理器执行该存储器存储的指令时,该执行使得该处理器执行第五方面或第五方面任意可能的实现方式中的方法。In a fifteenth aspect, an apparatus for measuring quality of service information is provided. The apparatus includes: a transceiver, a memory, and a processor. Among them, the transceiver, the memory and the processor communicate with each other through an internal connection path, the memory is used to store instructions, the processor is used to execute the instructions stored in the memory to control the receiver to receive signals, and control the transmitter to send signals And when the processor executes the instructions stored in the memory, the execution causes the processor to execute the method in the fifth aspect or any possible implementation manner of the fifth aspect.
第十六方面,提供了一种用于测量服务质量信息的系统,该系统包括上述第六方面提供的装置、第七方面提供的装置以及第八方面提供的装置;或者In a sixteenth aspect, there is provided a system for measuring service quality information, the system comprising the device provided in the sixth aspect, the device provided in the seventh aspect, and the device provided in the eighth aspect; or
该系统包括上述第六方面提供的装置、第七方面提供的装置、第八方面提供的装置、第九方面提供的装置以及第十方面提供的装置;或者The system includes the device provided in the sixth aspect, the device provided in the seventh aspect, the device provided in the eighth aspect, the device provided in the ninth aspect, and the device provided in the tenth aspect; or
该系统包括第十一方面提供的装置、第十二方面提供的装置以及第十三方面提供的装置;或者The system includes the device provided in the eleventh aspect, the device provided in the twelfth aspect, and the device provided in the thirteenth aspect; or
该系统包括上述包括第十一方面提供的装置、第十二方面提供的装置、第十三方面提供的装置、第十四方面提供的装置以及第十五方面提供的装置。The system includes the above device including the device provided in the eleventh aspect, the device provided in the twelfth aspect, the device provided in the thirteenth aspect, the device provided in the fourteenth aspect, and the device provided in the fifteenth aspect.
第十七方面,提供了一种计算机程序产品,该计算机程序产品包括计算机程序,该计算机程序在被处理器执行时,用于执行各方面或各方面的任意可能的实现方式中的方法。According to a seventeenth aspect, a computer program product is provided. The computer program product includes a computer program, which, when executed by a processor, is used to perform various aspects or methods in any possible implementation manner of various aspects.
第十八方面,提供一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序,当该计算机程序被执行时,用于执行各方面或各方面的任意可能的实现方式中的方法。According to an eighteenth aspect, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program. When the computer program is executed, it is used to execute various aspects or any possible implementation manner of each aspect. method.
附图说明BRIEF DESCRIPTION
图1示出了应用于本申请实施例的一个系统架构示意图。FIG. 1 shows a schematic diagram of a system architecture applied to an embodiment of the present application.
图2示出了测量网络速度示意性。Figure 2 shows a schematic diagram of measuring network speed.
图3示出了本申请实施例提供的用于测量服务质量信息的方法示意性流程图。FIG. 3 shows a schematic flowchart of a method for measuring service quality information provided by an embodiment of the present application.
图4示出了本申请实施例提供的另一用于测量服务质量信息的方法示意性流程图。FIG. 4 shows a schematic flowchart of another method for measuring service quality information provided by an embodiment of the present application.
图5示出了本申请实施例提供的又一用于测量服务质量信息的方法示意性流程图。FIG. 5 shows another schematic flowchart of a method for measuring service quality information provided by an embodiment of the present application.
图6示出了本申请实施例提供的又一用于测量服务质量信息的方法示意性流程图。FIG. 6 shows another schematic flowchart of a method for measuring service quality information provided by an embodiment of the present application.
图7示出了本申请实施例提供的又一用于测量服务质量信息的方法示意性流程图。7 shows a schematic flowchart of another method for measuring service quality information provided by an embodiment of the present application.
图8示出了本申请实施例提供的又一用于测量服务质量信息的方法示意性流程图。FIG. 8 shows another schematic flowchart of a method for measuring service quality information provided by an embodiment of the present application.
图9示出了本申请实施例提供的又一用于测量服务质量信息的方法示意性流程图。9 shows a schematic flowchart of another method for measuring service quality information provided by an embodiment of the present application.
图10示出了本申请实施例提供的用于测量服务质量信息的装置示意性框图。FIG. 10 shows a schematic block diagram of an apparatus for measuring service quality information provided by an embodiment of the present application.
图11示出了本申请实施例提供的另一用于测量服务质量信息的装置示意性框图。FIG. 11 shows a schematic block diagram of another apparatus for measuring service quality information provided by an embodiment of the present application.
图12示出了本申请实施例提供的又一用于测量服务质量信息的装置示意性框图。FIG. 12 shows a schematic block diagram of another apparatus for measuring service quality information provided by an embodiment of the present application.
图13示出了本申请实施例提供的又一用于测量服务质量信息的装置示意性框图。13 shows a schematic block diagram of another apparatus for measuring service quality information provided by an embodiment of the present application.
具体实施方式detailed description
下面将结合附图,对本申请中的技术方案进行描述。The technical solutions in this application will be described below with reference to the drawings.
本申请实施例的技术方案可以应用于各种通信系统,例如:全球移动通信(global system for mobile communications,GSM)系统、码分多址(code division multiple access,CDMA)系统、宽带码分多址(wideband code division multiple access,WCDMA)系统、通用分组无线业务(general packet radio service,GPRS)、长期演进(long term evolution,LTE)系统、LTE频分双工(frequency division duplex,FDD)系统、LTE时分双工(time division duplex,TDD)、通用移动通信系统(universal mobile telecommunication system,UMTS)、全球互联微波接入(worldwide interoperability for microwave access,WiMAX)通信系统、未来的第五代(5th generation,5G)系统或新无线(new radio,NR)等。The technical solutions of the embodiments of the present application can be applied to various communication systems, such as: global mobile communication (global system for mobile communications, GSM) system, code division multiple access (code division multiple access (CDMA) system, broadband code division multiple access) (wideband code division multiple access (WCDMA) system, general packet radio service (general packet radio service, GPRS), long term evolution (LTE) system, LTE frequency division duplex (FDD) system, LTE Time division duplex (time division duplex, TDD), universal mobile communication system (universal mobile telecommunication system, UMTS), global interconnected microwave access (worldwide interoperability for microwave access, WiMAX) communication system, future fifth generation (5th generation, 5G) system or new radio (NR), etc.
图1示出了应用于本申请实施例的一个系统架构示意图。如图1所示,该系统100包括:策略控制功能网元(policy control function,PCF)101、用户面功能网元(user plane function,UPF)102、网络能力开放网元(network exposure function,NEF)103、会话管理功能网元(session management function,SMF)104、用户设备(user equipment,UE) 105。可选地,系统100还包括核心网接入和移动性管理功能(core access and mobility management function,AMF)106、无线接入网(radio access network,RAN)107、鉴权服务器功能网元(authentication server function,AUSF)108、数据网络(data network,DN)109、、应用功能(application function,AF)110、统一数据存储网元(unified data repository,UDR)111或网络存储功能网元(NF repository function,NRF)112中的至少一种。其中,UE 105通过N1接口与AMF 106连接,UE 101通过无线资源控制(radio resource control,RRC)协议与RAN 107连接;RAN 107通过N2接口与AMF 106连接,RAN 107通过N3接口与UPF 102连接;多个UPF 102之间通过N9接口连接,UPF 102通过N6接口与DN 109连接,同时,UPF 102通过N4接口与SMF 104连接;SMF 104通过N7接口与PCF 101连接,SMF 104通过N29接口与NEF 103连接,同时,SMF 104通过N11接口与AMF 106连接;SMF 104通过N7接口从PCF 101获取策略数据;SMF 104通过N4接口控制UPF 102。FIG. 1 shows a schematic diagram of a system architecture applied to an embodiment of the present application. As shown in FIG. 1, the system 100 includes: a policy control function (PCF) 101, a user plane function (UPF) 102, and a network capability open network element (network exposure function, NEF) 103) Session management function network element (session management function, SMF) 104, user equipment (user equipment, UE) 105. Optionally, the system 100 further includes a core network access and mobility management function (core access and mobility management function, AMF) 106, a wireless access network (radio access network, RAN) 107, and an authentication server function network element (authentication) server function (AUSF) 108, data network (DN) 109, application function (AF) 110, unified data storage network element (unified data repository (UDR) 111) or network storage function network element (NF repository) function, NRF) at least one of 112. Among them, UE 105 is connected to AMF 106 through N1 interface, UE 101 is connected to RAN 107 through radio resource control (RRC) protocol; RAN 107 is connected to AMF 106 through N2 interface, and RAN 107 is connected to UPF 102 through N3 interface ; Multiple UPFs 102 are connected through the N9 interface, UPF 102 is connected to the DN 109 through the N6 interface, and at the same time, UPF 102 is connected to the SMF 104 through the N4 interface; SMF 104 is connected to the PCF 101 through the N7 interface, and SMF 104 is connected to the N29 interface NEF 103 is connected, at the same time, SMF 104 is connected to AMF 106 through N11 interface; SMF 104 obtains policy data from PCF 101 through N7 interface; SMF 104 controls UPF 102 through N4 interface.
其中,PCF101包含用户签约数据管理功能,策略控制功能,计费策略控制功能,QoS控制等等。Among them, PCF101 contains user subscription data management function, policy control function, charging policy control function, QoS control and so on.
UPF102,根据SMF10发送的转发规则执行用户业务数据的转发。UPF102 performs user service data forwarding according to the forwarding rules sent by SMF10.
NEF103支持网络能力开放功能,对外开发网络能力和服务,3GPP网元通过NEF向其他网元发布其支持的功能和事件。网元开放的能力和事件可以安全地开放给第三方应用。NEF使用统一数据存储库(UDR111)的标准化接口(Nudr)将结构化数据进行存储/检索。NEF103 supports network capability opening function and develops network capabilities and services externally. 3GPP network elements publish their supported functions and events to other network elements through NEF. The capabilities and events of network element opening can be safely opened to third-party applications. NEF uses the standardized interface (Nudr) of the unified data storage library (UDR111) to store/retrieve structured data.
SMF104,负责用户面网元选择,用户面网元重选,IP地址分配,负责会话的建立、修改和释放,QoS控制。SMF104, responsible for user plane network element selection, user plane network element reselection, IP address allocation, responsible for session establishment, modification and release, QoS control.
终端设备为UE105也可以为终端设备,所涉及到的终端设备(terminal)可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其它处理设备;还可以包括用户单元(subscriber unit)、蜂窝电话(cellular phone)、智能电话(smart phone)、无线数据卡、个人数字助理(personal digital assistant,PDA)电脑、平板型电脑、无线调制解调器(modem)、手持设备(handheld)、膝上型电脑(laptop computer)、无绳电话(cordless phone)或者无线本地环路(wireless local loop,WLL)台、机器类型通信(machine type communication,MTC)终端、移动台(mobile station,MS),终端设备(terminal device)等。为方便描述,本申请中,上面提到的设备统称为终端设备。The terminal device may be a UE 105 or a terminal device. The terminal devices involved may include various handheld devices with wireless communication functions, vehicle-mounted devices, wearable devices, computing devices, or other processing devices connected to a wireless modem; It can also include subscriber units, cellular phones, smart phones, wireless data cards, personal digital assistant (PDA) computers, tablet computers, wireless modems, Handheld device, laptop computer, cordless phone or wireless local loop (WLL) station, machine type communication (MTC) terminal, mobile station ( mobile station (MS), terminal device (terminal), etc. For convenience of description, in the present application, the devices mentioned above are collectively referred to as terminal devices.
AMF106负责用户的移动性管理,包括移动状态管理,分配用户临时身份标识,认证和授权用户。AMF106 is responsible for user mobility management, including mobility status management, assigning user temporary identity, authenticating and authorizing users.
RAN107用于实现无线有关的功能。RAN107也可以称之为接入设备,该接入设备指的是接入核心网的设备,例如可以是基站,宽带网络业务网关(broadband network gateway,BNG),汇聚交换机,非3GPP接入设备等。基站可以包括各种形式的基站,例如:宏基站,微基站(也称为小站),中继站,接入点等,本申请实施例对此不作具体限定。RAN107 is used to implement wireless related functions. RAN107 can also be called an access device. The access device refers to a device that accesses the core network. For example, it can be a base station, a broadband network service gateway (BNG), an aggregation switch, and a non-3GPP access device. . The base station may include various forms of base stations, such as macro base stations, micro base stations (also called small stations), relay stations, and access points, which are not specifically limited in the embodiments of the present application.
AUSF108负责UE105的安全认证。AUSF108 is responsible for UE105 security certification.
DN109是为用户提供业务服务的数据网络,一般客户端位于UE105,服务端位于数据网络。DN109 is a data network that provides business services to users. Generally, the client is located in UE105, and the server is located in the data network.
AF110负责用户的应用管理。AF110 is responsible for user application management.
UDR111负责管理签约数据。UDR111 is responsible for managing contract data.
NRF112负责为其他网元提供网络功能实体信息的存储功能和选择功能。NRF112 is responsible for providing storage function and selection function of network function entity information for other network elements.
需要说明的是,图1中包括的各个网元(比如SMF 104、NEF 103、AF 110、UDR 111、UPF 102等)的命名仅是一个名字,名字对网元本身的功能不构成限定。在5G网络以及未来其它的网络中,上述各个网元也可以是其他的名字,本申请实施例对此不作具体限定。例如,在6G网络中,上述各个网元中的部分或全部可以沿用5G中的术语,也可能是其他命名,等等,在此进行统一说明,以下不再赘述。It should be noted that the naming of each network element (such as SMF 104, NEF 103, AF 110, UDR 111, UPF 102, etc.) included in FIG. 1 is only a name, and the name does not limit the function of the network element itself. In the 5G network and other networks in the future, the foregoing network elements may also have other names, which are not specifically limited in this embodiment of the present application. For example, in a 6G network, some or all of the above network elements may use the terminology in 5G, or may be other names, etc., and will be described here in a unified manner, and will not be repeated below.
需要说明的是,图1中的各个网元不是必须同时存在的,可以根据需求确定需要哪些网元。图1中的各个网元之间的连接关系也不是唯一确定的,可以根据需求进行调整。It should be noted that each network element in FIG. 1 does not have to exist at the same time, and which network elements are required can be determined according to requirements. The connection relationship between each network element in FIG. 1 is not uniquely determined, and can be adjusted according to needs.
需要说明的是,图1中的各个网元之间的接口名字只是一个示例,具体实现中接口名字可能为其他名字,本申请实施例对此不作具体限定。It should be noted that the name of the interface between the network elements in FIG. 1 is only an example, and the name of the interface in the specific implementation may be other names, which is not specifically limited in this embodiment of the present application.
QoS信息是衡量网络性能的一个指标。例如QoS信息可以包括时延信息、丢包率、带宽、抖动中的至少一项。不同的业务(例如,上网浏览、语音和在线游戏等)对QoS信息的需求不同,如何测量QoS信息是需要解决的问题,在本申请实施例中,以时延信息作为例子来描述QoS信息,但本申请实施例不限于此。QoS information is an indicator to measure network performance. For example, QoS information may include at least one of delay information, packet loss rate, bandwidth, and jitter. Different services (for example, Internet browsing, voice and online games, etc.) have different requirements for QoS information. How to measure QoS information is a problem that needs to be solved. In the embodiments of this application, the delay information is used as an example to describe QoS information. However, the embodiments of the present application are not limited to this.
现有技术中,当终端设备需要测量某个业务数据报文的QoS信息时,可以采用第三方应用服务器进行检测,例如终端设备向核心网发起建立协议数据单元(protocol data unit,PDU)会话的请求,来建立终端设备与第三方应用服务器之间的用户面连接,在建立好用户面连接之后,终端设备通过用户面功能网元与第三方应用服务器传输数据报文,来测量终端设备与第三方应用服务器之间数据报文的QoS信息。以测量时延为例说明,例如,终端设备记录向用户面功能网元发送上行数据报文时的时间为T1,该用户面功能网元将该上行数据报文发送给应用服务器之后,应用服务器通过用户面功能网元向终端设备发送下行数据报文,终端设备记录收到该下行数据报文的时间为T2,那么终端设备可以计算出数据报文往返的时延为T2-T1,假设上、下行链路的传输时延是对称的,可以估算出数据报文在上行和下行链路的传输时延分别为(T2-T1)/2。然而上述测量QoS信息的方法,无法测量出终端设备跟用户面功能网元之间链路的QoS信息是否真正地达到了用户的期望,因此,如何测量终端设备跟用户面功能网元之间业务数据的QoS信息是本申请实施例要解决的问题。又例如,以测量网络速度为例描述,当用户对当前的网络速度不满意时,可以申请流量加速包,如中国移动的“任我用”流量提速包业务,该流量提速包业务表示在原来的宽带基础上提速,费用是15元一个月,比如原来网速是2兆位/秒,参加这个提速之后网速会提到4兆位/秒-8兆位/秒。如图2所示,假设还是第三方应用服务器在测量网络速度,第三方应用服务器测量出来的是终端设备与第三方应用服务器之间的网络速度,但是采用流量提速包业务提速之后,提高的是终端设备与核心网网元之间的网络速度,而第三方应用服务器测量出来的却是终端设备与第三方应用服务器之间的网络速度,缺乏测量终端设备与用户面功能网元之间的QoS信息方法。因此,申请流量提速包之后,通过第三方应用服务器无法准确定的测量出来终端设备与用户面功能网元之间的网络速度是否达到了期望值,换句话说,用户花钱买了流量提速包业务后,用户所花的钱是否真正达到期望值,第三方应用服务器是无法准确测量出来的,从而无法确定当前网络环境是否适 合发起业务数据,降低用户体验。In the prior art, when the terminal device needs to measure the QoS information of a business data packet, a third-party application server can be used for detection, for example, the terminal device initiates the establishment of a protocol data unit (PDU) session to the core network. Request to establish a user plane connection between the terminal device and the third-party application server. After the user plane connection is established, the terminal device transmits data packets with the third-party application server through the user plane function network element to measure the terminal device and the third party application server. QoS information of data packets between three-party application servers. Taking the measurement delay as an example, for example, the terminal device records the time when the uplink data packet is sent to the user plane function network element as T1. After the user plane function network element sends the uplink data message to the application server, the application server The user plane function network element sends a downlink data message to the terminal device, and the terminal device records that the time for receiving the downlink data message is T2. Then the terminal device can calculate the round trip delay of the data message as T2-T1. The transmission delay of the downlink is symmetrical, and the transmission delay of the data packet in the uplink and downlink can be estimated as (T2-T1)/2. However, the above method of measuring QoS information cannot measure whether the QoS information of the link between the terminal device and the user plane functional network element truly meets the user's expectations. Therefore, how to measure the service between the terminal device and the user plane functional network element The QoS information of data is a problem to be solved by the embodiment of the present application. For another example, taking the measurement of network speed as an example, when users are not satisfied with the current network speed, they can apply for a traffic acceleration package, such as China Mobile's "I-Use" traffic acceleration service. The traffic acceleration service is indicated in the original Speed up on the basis of broadband, the cost is 15 yuan a month, for example, the original network speed is 2 megabits/second, after participating in this speedup, the network speed will mention 4 megabits/second -8 megabits/second. As shown in Figure 2, it is assumed that the third-party application server is measuring the network speed. The third-party application server measures the network speed between the terminal device and the third-party application server. However, after using the traffic acceleration package service to increase the speed, the improvement is The network speed between the terminal device and the core network element, but the third-party application server measures the network speed between the terminal device and the third-party application server, lacking to measure the QoS between the terminal device and the user plane function network element Information method. Therefore, after applying for the traffic acceleration package, the third-party application server cannot accurately determine whether the network speed between the terminal device and the user plane functional network element has reached the expected value. In other words, the user spends money to purchase the traffic acceleration service. Afterwards, whether the money spent by the user really meets the expected value cannot be accurately measured by the third-party application server, so it is impossible to determine whether the current network environment is suitable for initiating business data and reduce the user experience.
本申请实施例提供了一种用于测量QoS信息的方法,终端设备可以在发起业务数据之前的任意时刻,通过应用程序接口来请求测量当前网络环境下该终端设备与用户面功能网元之间的业务数据的QoS信息。例如,当终端设备位于网络环境较差的地理位置时,如地铁站、火车站等人流量聚集地区,终端设备可以通过请求测量该网络环境下某个业务的实际QoS信息,获知当前网络环境无法满足用户需求,那么终端设备可以选择在网络环境较好的地理位置,如办公园区等,发起该业务的数据报文传输,以获得较好的用户体验。因此可以通过在发起业务数据之前的任意时刻测量当前网络环境的实际QoS信息,使得终端设备可以选择性地在实际QoS信息较好的网络环境下进行业务,从而能够提高用户体验。The embodiment of the present application provides a method for measuring QoS information. The terminal device can request measurement between the terminal device and the user plane functional network element in the current network environment through an application program interface at any time before initiating service data. QoS information of business data. For example, when the terminal device is located in a geographical location with a poor network environment, such as a subway station, a railway station, and other areas where people flow is concentrated, the terminal device can request to measure the actual QoS information of a service in the network environment to know that the current network environment cannot To meet user needs, the terminal device can choose a geographical location with a better network environment, such as an office park, to initiate data packet transmission of the service to obtain a better user experience. Therefore, the actual QoS information of the current network environment can be measured at any time before the service data is initiated, so that the terminal device can selectively perform services in a network environment with good actual QoS information, thereby improving the user experience.
下面结合附图描述本申请实施例中用于测量服务质量信息的方法。The method for measuring service quality information in the embodiments of the present application is described below with reference to the drawings.
图3示出了本申请实施例提供的用于测量服务质量信息的方法,包括:FIG. 3 shows a method for measuring service quality information provided by an embodiment of the present application, including:
S310,终端设备发起业务数据之前,通过应用程序接口(application programming interface,API)向核心网网元发送第一消息,第一消息用于请求测量终端设备与用户面功能网元之间的业务数据的服务质量QoS信息。S310. Before initiating service data, the terminal device sends a first message to the core network element through an application programming interface (API). The first message is used to request measurement of service data between the terminal device and the user plane function network element. Quality of service QoS information.
本申请实施例对核心网网元不作限定,例如,核心网网元可以是图1中的NEF网元,终端设备在发起业务数据之前,通过应用程序接口向NEF发送第一消息,NEF可以将第一消息透传给PCF。The embodiment of the present application does not limit the core network element. For example, the core network element may be the NEF element in FIG. 1. Before initiating service data, the terminal device sends the first message to the NEF through the application program interface. The first message is transparently transmitted to the PCF.
可选地,QoS信息包括时延信息。Optionally, the QoS information includes delay information.
可选地,第一消息包括终端设备的网络协议(internet protocol,IP)地址、业务数据的业务类型的标识、业务数据关联的应用标识或配置参数中的至少一种。配置参数包括检测报文的大小、发送检测报文的频率或发送检测报文的持续时间中的至少一种。Optionally, the first message includes at least one of a network protocol (IP) address of the terminal device, a service type identifier of the service data, an application identifier associated with the service data, or configuration parameters. The configuration parameter includes at least one of the size of the detection message, the frequency of sending the detection message, or the duration of sending the detection message.
当第一消息包括终端设备的IP地址时,策略控制功能网元就可以根据终端设备的IP地址确定发送第一消息的终端设备。也就是说,终端设备的IP地址用于确定发送第一消息的终端设备。When the first message includes the IP address of the terminal device, the policy control function network element may determine the terminal device that sends the first message according to the IP address of the terminal device. That is, the IP address of the terminal device is used to determine the terminal device that sent the first message.
当第一消息包括业务数据的业务类型的标识时,策略控制功能网元可以根据业务数据的业务类型的标识确定需要进行QoS信息测量的业务类型。也就是说,业务数据的业务类型的标识用于确定需要进行QoS信息测量的业务类型。When the first message includes the service type identifier of the service data, the policy control function network element may determine the service type that needs to perform QoS information measurement according to the service type identifier of the service data. That is to say, the service type identifier of the service data is used to determine the service type that needs to perform QoS information measurement.
当第一消息包括业务数据关联的应用标识时,策略控制功能网元可以根据业务数据关联的应用标识确定需要进行QoS信息的应用。也就是说,业务数据关联的应用标识用于确定需要进行QoS信息的应用。When the first message includes the application identifier associated with the service data, the policy control function network element may determine the application requiring QoS information according to the application identifier associated with the service data. In other words, the application identifier associated with the business data is used to determine the application that needs QoS information.
当第一消息包括配置参数时,用户面功能网元可以根据配置参数生成检测报文。也就是说,配置参数用于检测报文的生成。例如,PCF收到NEF透传的第一消息后,再将该第一消息中的配置参数通过SMF发送给用户面功能网元,这样用户面功能网元可以根据检测报文的大小、发送检测报文的频率和发送检测报文的持续时间中的一个或多个生成检测报文,从而利用检测报文检测终端设备与用户面功能网元之间的业务数据的QoS信息。When the first message includes configuration parameters, the user plane function network element may generate a detection message according to the configuration parameters. That is, the configuration parameters are used to detect the generation of messages. For example, after receiving the first message transparently transmitted by NEF, the PCF sends the configuration parameters in the first message to the user plane function network element through SMF, so that the user plane function network element can send a detection according to the size of the detection message. One or more of the frequency of the message and the duration of sending the detection message generates a detection message, so that the detection message is used to detect QoS information of service data between the terminal device and the user plane functional network element.
S320,终端设备通过应用程序接口接收核心网网元发送的第二消息,第二消息用于触发QoS信息的测量,或,第二消息包括QoS信息。S320. The terminal device receives the second message sent by the core network element through the application program interface. The second message is used to trigger measurement of QoS information, or the second message includes QoS information.
在本申请实施例中,可以由终端设备测量QoS信息,或者,也可以由用户面网元测 量QoS信息。在终端设备测量QoS信息的例子中,第二消息用于触发QoS信息的测量。在用户面功能网元测量QoS信息的例子中,第二消息包括用户面功能网元测得的QoS信息。例如,第二消息可以是第一消息的响应消息。In the embodiment of the present application, the QoS information may be measured by the terminal device, or the QoS information may be measured by the user plane network element. In the example in which the terminal device measures QoS information, the second message is used to trigger the measurement of QoS information. In the example where the user plane functional network element measures QoS information, the second message includes the QoS information measured by the user plane functional network element. For example, the second message may be a response message of the first message.
因此,在本申请实施例中,终端设备可以在发起业务数据之前,通过应用程序接口向核心网网元(例如,可以是NEF网元)发送请求测量QoS信息的第一消息,核心网网元将第一消息中的参数通过PCF和SMF发送至用户面功能网元后,用户面功能网元可以基于第一消息中的参数测量QoS信息,并将QoS信息通过第二消息向终端设备的应用程序接口发送。或者,核心网网元可以通过向终端设备的应用程序接口发送第二消息以触发终端设备测量QoS信息。本申请实施例中的QoS信息,是在发起业务数据之前测量的待发起业务数据的QoS信息,并且测量的是终端设备与用户面功能网元之间的QoS信息,从而可以提高测量QoS信息的准确性,有助于提高用户体验。例如,当终端设备位于网络环境较差的地理位置时,如地铁站、火车站等人流量聚集地区,终端设备可以通过请求测量该网络环境下某个业务的实际QoS信息,获知当前网络环境无法满足用户需求,那么终端设备可以选择在网络环境较好的地理位置,如办公园区等,再发起该业务的数据报文传输,以获得较好的用户体验。因此可以通过在发起业务数据之前的任意时刻测量当前网络环境的实际QoS信息,使得终端设备可以选择性地在实际QoS信息较好的网络环境下进行业务,从而能够提高用户体验。Therefore, in the embodiment of the present application, before initiating service data, the terminal device may send a first message requesting measurement of QoS information to the core network element (for example, NEF network element) through the application program interface, the core network element After sending the parameters in the first message to the user plane functional network element through PCF and SMF, the user plane functional network element can measure QoS information based on the parameters in the first message, and apply the QoS information to the terminal device through the second message Program interface sending. Alternatively, the core network element may send a second message to the application program interface of the terminal device to trigger the terminal device to measure QoS information. The QoS information in the embodiment of the present application is the QoS information of the service data to be initiated measured before the service data is initiated, and the QoS information between the terminal device and the user plane functional network element is measured, thereby improving the measurement of QoS information Accuracy helps to improve user experience. For example, when the terminal device is located in a geographical location with a poor network environment, such as a subway station, a railway station, and other areas where people flow is concentrated, the terminal device can request to measure the actual QoS information of a service in the network environment to know that the current network environment cannot To meet user needs, the terminal device can choose a geographic location with a better network environment, such as an office park, and then initiate data packet transmission of the service to obtain a better user experience. Therefore, the actual QoS information of the current network environment can be measured at any time before the service data is initiated, so that the terminal device can selectively perform services in a network environment with good actual QoS information, thereby improving the user experience.
下面分两种情况描述本申请实施例中用于测量服务质量信息的方法。第一种情况为终端设备测量QoS信息。第二种情况为用户面功能网元测量QoS信息。在第二种情况下,用户面功能网元测量QoS信息之后,可以将QoS信息通过核心网的其他网元发送给终端设备。例如,用户面功能网元可以将测量的QoS信息通过会话管理功能网元发送给策略控制功能网元,策略控制功能网元可以通过第二消息将QoS信息发送给NEF,NEF将第二消息发送给终端设备的应用程序接口。The method for measuring service quality information in the embodiments of the present application is described below in two cases. The first case is that the terminal equipment measures QoS information. The second case is that the user plane functional network element measures QoS information. In the second case, after the user plane functional network element measures the QoS information, the QoS information may be sent to the terminal device through other network elements of the core network. For example, the user plane function network element can send the measured QoS information to the policy control function network element through the session management function network element, and the policy control function network element can send the QoS information to the NEF through the second message, and the NEF sends the second message Application program interface to terminal equipment.
第一种情况,第二消息用于触发QoS信息的测量。例如,QoS信息为时延信息。在终端设备通过应用程序接口接收核心网网元发送的第二消息之后,方法还包括:In the first case, the second message is used to trigger the measurement of QoS information. For example, the QoS information is delay information. After the terminal device receives the second message sent by the core network element through the application program interface, the method further includes:
终端设备在第一时刻,向用户面功能网元发送第一检测报文;At the first moment, the terminal device sends a first detection message to the user plane functional network element;
终端设备在第二时刻,从用户面功能网元接收第二检测报文;At the second moment, the terminal device receives the second detection message from the user plane functional network element;
终端设备根据第一时刻和第二时刻确定时延信息,时延信息为业务数据的时延信息。The terminal device determines the delay information according to the first moment and the second moment, and the delay information is the delay information of the service data.
可选地,第一检测报文与第二检测报文具有相同的配置参数,例如,第一检测报文和第二检测报文的大小相同,第一检测报文和第二检测报文的发送频率相同,第一检测报文和第二检测报文的持续时间相同。Optionally, the first detection message and the second detection message have the same configuration parameters, for example, the first detection message and the second detection message have the same size, and the first detection message and the second detection message The transmission frequency is the same, and the duration of the first detection message and the second detection message are the same.
可选地,第一检测报文、第二检测报文与业务数据的业务类型相同。因此,根据第一时刻和第二时刻确定的时延信息与业务数据的时延信息相同。也就是说,在业务数据发起前,就可以准确测量得到该业务数据在发起后的时延信息。Optionally, the first detection message and the second detection message have the same service type as the service data. Therefore, the delay information determined according to the first time and the second time is the same as the delay information of the service data. That is to say, before the service data is initiated, the delay information of the service data after initiation can be accurately measured and obtained.
可选地,第一检测报文的源地址为终端设备的IP地址,第一检测报文的目的地址为用户面功能网元的IP地址,第二检测报文的源地址为用户面功能网元的IP地址,第二检测报文的目的地址为终端设备的IP地址。Optionally, the source address of the first detection message is the IP address of the terminal device, the destination address of the first detection message is the IP address of the user plane functional network element, and the source address of the second detection message is the user plane functional network Yuan IP address, the destination address of the second detection message is the IP address of the terminal device.
可选地,终端设备在生成第一检测报文之前,需要获取用户面功能网元的IP地址。在一种可能的实现方式中,第二消息包括用户面功能网元的IP地址,终端设备可以在第 二消息中获取用户面功能网元的IP地址。例如,SMF可以将用户面功能网元的IP地址通过PCF发送给NEF,NEF再将包含用户面功能网元的IP地址的第二消息发送给终端设备的应用程序接口。又例如,SMF可以直接将用户面功能网元的IP地址发送给NEF,NEF再将包含用户面功能网元的IP地址的第二消息发送给终端设备的应用程序接口,或者NEF向终端设备的应用程序接口发送第二消息后,再将将用户面功能网元的IP地址通过第三消息发送给终端设备的应用程序接口。Optionally, before generating the first detection message, the terminal device needs to obtain the IP address of the user plane functional network element. In a possible implementation manner, the second message includes the IP address of the user plane functional network element, and the terminal device may obtain the IP address of the user plane functional network element in the second message. For example, the SMF may send the IP address of the user plane function network element to the NEF through the PCF, and the NEF sends a second message containing the IP address of the user plane function network element to the application program interface of the terminal device. For another example, SMF may directly send the IP address of the user plane function network element to NEF, and NEF sends a second message containing the IP address of the user plane function network element to the application program interface of the terminal device, or NEF sends a message to the terminal device. After the application program interface sends the second message, the IP address of the user plane functional network element is sent to the application program interface of the terminal device through the third message.
即在第一种情况下,终端设备在向核心网网元发送第一消息时,该第一消息可以携带配置参数,例如核心网网元可以是NEF,NEF接收到第一消息时,将该第一消息发送给PCF,PCF再将该第一消息中的配置参数通过SMF发送给UPF,这样UPF就可以根据配置参数生成第二检测报文,从而向终端设备发送第二检测报文。终端设备可以根据发送第一检测报文的时间(第一时刻)和接收第二检测报文的时间(第二时刻)确定时延信息,该时延信息即为终端设备与用户面功能网元之间的检测报文的时延信息。例如,第一时刻为,第二时刻为,则终端设备可以确定检测报文的往返时延信息为t2-t1,假设上下行链路对称,那么检测报文的上行和下行的时延信息为,当然确定时延信息的方式不限于此。That is, in the first case, when the terminal device sends the first message to the core network element, the first message may carry configuration parameters. For example, the core network element may be NEF. When the NEF receives the first message, it The first message is sent to the PCF, and then the PCF sends the configuration parameters in the first message to the UPF through SMF, so that the UPF can generate a second detection message according to the configuration parameters, thereby sending the second detection message to the terminal device. The terminal device may determine the delay information according to the time when the first detection message is sent (first time) and the time when the second detection message is received (second time), and the delay information is the terminal device and the user plane function network element Delay information between the detection packets. For example, if the first time is and the second time is, the terminal device can determine the round-trip delay information of the detection packet as t2-t1. Assuming that the uplink and downlink are symmetric, then the uplink and downlink delay information of the detection packet is Of course, the way to determine the delay information is not limited to this.
在第一种情况下,终端设备可以根据发送第一检测报文的时间和接收第二检测报文的时间确定终端设备与用户面功能网元之间的业务数据的QoS信息,这样由于QoS信息是终端设备自身确定的,可以提高终端设备对QoS信息的信任度。In the first case, the terminal device may determine the QoS information of the service data between the terminal device and the user plane function network element according to the time when the first detection message is sent and the time when the second detection message is received. It is determined by the terminal device itself, which can improve the trust degree of the terminal device in the QoS information.
可选地,在第一种情况下,终端设备可以将确定的QoS信息通过应用程序接口发送给能力开放网元,能力开放网元将QoS信息发送给策略控制功能网元,以便于策略控制功能网元确定是否对业务数据的QoS信息进行调整。Optionally, in the first case, the terminal device may send the determined QoS information to the capability open network element through the application program interface, and the capability open network element sends the QoS information to the policy control function network element to facilitate the policy control function The network element determines whether to adjust the QoS information of the business data.
下面结合图4以QoS信息为时延信息为例描述第一种情况,方法400包括:The following describes the first case with reference to FIG. 4 using QoS information as delay information as an example. The method 400 includes:
S401,能力开放网元接收终端设备通过应用程序接口发送的第一消息,第一消息用于请求测量终端设备与用户面功能网元之间的业务数据的服务质量QoS信息。S401. The capability opening network element receives a first message sent by a terminal device through an application program interface. The first message is used to request measurement of service quality QoS information of service data between the terminal device and a user plane functional network element.
S402,能力开放网元向策略控制功能网元发送第一消息,策略控制功能网元接收能力开放网元发送的第一消息。S402. The capability opening network element sends a first message to the policy control function network element, and the policy control function network element receives the first message sent by the capability opening network element.
S403,策略控制功能网元基于第一消息,确定第一转发规则,第一转发规则与业务数据的转发规则包括相同的QoS信息。S403. The network element of the policy control function determines a first forwarding rule based on the first message. The first forwarding rule and the forwarding rule of the service data include the same QoS information.
需要说明的是,S403中策略控制功能网元基于第一消息,确定第一转发规则参见方法600中的描述。It should be noted that, in S403, the policy control function network element determines the first forwarding rule based on the first message, see description in method 600.
S404,策略控制功能网元向会话管理功能网元发送第一转发规则,会话管理功能网元接收策略控制功能网元发送的第一转发规则。S404: The network element of the policy control function sends the first forwarding rule to the network element of the session management function, and the network element of the session management function receives the first forwarding rule sent by the network element of the policy control function.
S405,会话管理功能网元向用户面功能网元发送第一转发规则。S405: The network element of the session management function sends the first forwarding rule to the user plane function network element.
S406,会话管理功能网元向策略控制功能网元发送用户面功能网元的IP地址。S406: The network element of the session management function sends the IP address of the user plane function network element to the policy control function network element.
可选地,S405与S406顺序不限定,S405可以在S406之前或之后。Optionally, the order of S405 and S406 is not limited, and S405 may be before or after S406.
S407,策略控制功能网元向能力开放网元发送第二消息,能力开放网元接收第二消息,第二消息包括用户面功能网元的IP地址。S407: The policy control function network element sends a second message to the capability opening network element, and the capability opening network element receives the second message, and the second message includes the IP address of the user plane function network element.
S408,能力开放网元将第二消息发送给终端设备,终端设备接收能力开放网元发送的第二消息。S408: The capability opening network element sends a second message to the terminal device, and the terminal device receives the second message sent by the capability opening network element.
S409,终端设备在第二消息中获取用户面功能网元的IP地址,根据用户面功能网元 的IP地址生成检测报文1,检测报文1的源地址为终端设备的IP地址,检测报文1的目的地址为用户面功能网元的IP地址。S409. The terminal device obtains the IP address of the user plane functional network element in the second message, and generates a detection message 1 according to the IP address of the user plane function network element. The source address of the detection message 1 is the IP address of the terminal device. The destination address of Article 1 is the IP address of the user plane functional network element.
S410,终端设备在时刻T1(例如,可以是第一时刻)向用户面功能网元发送检测报文1。S410. The terminal device sends a detection message 1 to the user plane function network element at time T1 (for example, it may be the first time).
S411,用户面功能网元生成检测报文2(例如前述的第二检测报文)。检测报文2的源地址为用户面功能网元的IP地址,检测报文的目的地址为终端设备的IP地址。S411, the user plane function network element generates a detection message 2 (for example, the foregoing second detection message). The source address of the detection message 2 is the IP address of the user plane functional network element, and the destination address of the detection message is the IP address of the terminal device.
其中,检测报文2和检测报文1具有相同的配置参数,例如,检测报文2和检测报文1的大小相同,发送频率相同,持续时间相同。The detection packet 2 and the detection packet 1 have the same configuration parameters. For example, the detection packet 2 and the detection packet 1 have the same size, the same transmission frequency, and the same duration.
可选地,在S411之前,用户面功能网元可以根据以下两种方式获取终端设备的IP地址:Optionally, before S411, the user plane functional network element may obtain the IP address of the terminal device according to the following two ways:
第一种方式,终端设备根据本地存储的用户路由选择策略(UE route selection policy,URSP)信息,确定与该应用关联的数据网络名称(data network name,DNN)和单网络切片辅助信息(single network slice selection assistance information,S-NSSAI),之后UE通过RAN向AMF发送会话建立请求,以触发建立该终端设备到用户面功能网元之间的数据面链接,用户面功能网元保存了终端设备的IP地址,从而根据终端设备的IP地址生成检测报文2。In the first method, the terminal device determines the data network name (DNN) and single network slicing auxiliary information (single network) associated with the application based on locally stored user routing policy (UESP) information. slice selection (information, S-NSSAI), and then the UE sends a session establishment request to the AMF through the RAN to trigger the establishment of a data plane link between the terminal device and the user plane functional network element. The user plane functional network element stores the terminal device’s IP address, thereby generating a detection message 2 based on the IP address of the terminal device.
第二种方式,终端设备将包括终端设备的IP地址的第一消息通过能力开放网元发送给策略控制功能网元,策略控制功能网元将终端设备的IP地址发送给会话管理功能网元,会话管理功能网元将终端设备的IP地址发送给用户面功能网元,从而用户面功能网元可以获取到终端设备的IP地址,从而根据终端设备的IP地址生成检测报文2。In the second way, the terminal device sends the first message including the IP address of the terminal device to the policy control function network element through the capability opening network element, and the policy control function network element sends the IP address of the terminal device to the session management function network element. The session management function network element sends the IP address of the terminal device to the user plane function network element, so that the user plane function network element can obtain the IP address of the terminal device, thereby generating a detection message 2 according to the IP address of the terminal device.
S412,用户面功能网元根据第一转发规则向终端设备发送检测报文2,终端设备在T2时刻(例如,可以是第二时刻)接收到用户面功能网元发送的检测报文2。S412, the user plane function network element sends a detection message 2 to the terminal device according to the first forwarding rule, and the terminal device receives the detection message 2 sent by the user plane function network element at time T2 (for example, it may be the second time).
S413,终端设备根据T1和T2确定终端设备与用户面功能网元之间的时延信息。终端设备可以根据时延信息确定是否发起业务数据。S413: The terminal device determines the delay information between the terminal device and the user plane functional network element according to T1 and T2. The terminal device can determine whether to initiate service data based on the delay information.
具体地,假设上、下行链路的传输时延是对称的,终端设备根据T1和T2可以确定终端设备与用户面功能网元之间业务数据的时延信息,例如时延为(T2-T1)/2。Specifically, assuming that the transmission delay of the uplink and downlink is symmetric, the terminal device can determine the delay information of the service data between the terminal device and the user plane functional network element according to T1 and T2, for example, the delay is (T2-T1 )/2.
可选地,方法400还包括S414和S415:Optionally, the method 400 further includes S414 and S415:
S414,终端设备通过应用程序接口向能力开放网元发送时延信息,能力开放网元接收终端设备通过应用程序接口发送的时延信息。S414. The terminal device sends the delay information to the capability open network element through the application program interface, and the capability open network element receives the delay information sent by the terminal device through the application program interface.
S415,能力开放网元将时延信息发送给策略控制功能网元,以便于策略控制功能网元确定是否对业务数据的时延信息进行调整。S415. The capability opening network element sends the delay information to the policy control function network element, so that the policy control function network element determines whether to adjust the service data delay information.
第二种情况,第二消息包括QoS信息,即在这种情况下,用户面功能网元确定QoS信息。在终端设备通过应用程序接口接收核心网元网元发送的第二消息之前,方法还包括:终端设备从用户面功能网元接收第三检测报文,第三报文的源地址为用户面功能网元的IP地址,第三报文的目的地址为终端设备的IP地址;终端设备在第三检测报文中获取用户面功能网元的IP地址;终端设备向用户面功能网元发送第四检测报文,第四报文的源地址为终端设备的IP地址,第四报文的目的地址为用户面功能网元的IP地址。用户面功能网元可以根据发送第三检测报文的时间和接收第四检测报文的时间确定时延信息,该时延信息即为业务数据的时延信息。In the second case, the second message includes QoS information, that is, in this case, the user plane function network element determines the QoS information. Before the terminal device receives the second message sent by the core network element network element through the application program interface, the method further includes: the terminal device receives the third detection message from the user plane function network element, and the source address of the third message is the user plane function The IP address of the network element, the destination address of the third message is the IP address of the terminal device; the terminal device obtains the IP address of the user plane function network element in the third detection message; the terminal device sends the fourth to the user plane function network element In the detection message, the source address of the fourth message is the IP address of the terminal device, and the destination address of the fourth message is the IP address of the user plane functional network element. The user plane function network element may determine the delay information according to the time when the third detection packet is sent and the time when the fourth detection packet is received, and the delay information is the delay information of the service data.
可选地,第三检测报文与第四检测报文具有相同的配置参数,例如,第三检测报文和第四检测报文的大小相同,第三检测报文和第四检测报文的发送频率相同,第三检测报文和第四检测报文的持续时间相同。Optionally, the third detection packet and the fourth detection packet have the same configuration parameters, for example, the third detection packet and the fourth detection packet have the same size, and the third detection packet and the fourth detection packet have the same size. The transmission frequency is the same, and the duration of the third detection message and the fourth detection message are the same.
可选地,第三检测报文、第四检测报文与业务数据的业务类型相同。因此,根据第三检测报文和第四检测报文确定的时延信息与业务数据的时延信息相同。也就是说,在业务数据发起前,就可以准确测量得到该业务数据在发起后的时延信息。Optionally, the third detection message and the fourth detection message have the same service type as the service data. Therefore, the delay information determined according to the third detection message and the fourth detection message is the same as the delay information of the service data. That is to say, before the service data is initiated, the delay information of the service data after initiation can be accurately measured and obtained.
可选地,在第二种情况下,用户面功能网元可以将确定的QoS信息通过控制面网元口发送给策略控制功能网元,以便于策略控制功能网元确定是否对业务数据的QoS信息进行调整。Optionally, in the second case, the user plane functional network element may send the determined QoS information to the policy control function network element through the control plane network element port, so that the policy control function network element determines whether the QoS of the service data Information to adjust.
下面结合图5以QoS信息为时延信息为例描述第二种情况,方法500包括:The second case will be described below with reference to FIG. 5 using QoS information as the delay information. The method 500 includes:
S501,能力开放网元接收终端设备通过应用程序接口发送的第一消息,第一消息用于请求测量终端设备与用户面功能网元之间的业务数据的服务质量QoS信息。S501. The capability opening network element receives a first message sent by a terminal device through an application program interface. The first message is used to request measurement of service quality QoS information of service data between the terminal device and a user plane functional network element.
S502,能力开放网元向策略控制功能网元发送第一消息,策略控制功能网元接收能力开放网元发送的第一消息。S502, the capability opening network element sends a first message to the policy control function network element, and the policy control function network element receives the first message sent by the capability opening network element.
S503,策略控制功能网元基于第一消息,确定第一转发规则,第一转发规则与业务数据的转发规则包括相同的QoS信息。S503. The policy control function network element determines a first forwarding rule based on the first message, and the first forwarding rule and the forwarding rule of the service data include the same QoS information.
需要说明的是,S503中策略控制功能网元基于第一消息,确定第一转发规则参见方法600中的描述。It should be noted that, in S503, the policy control function network element determines the first forwarding rule based on the first message, see description in method 600.
S504,策略控制功能网元向会话管理功能网元发送第一转发规则,会话管理功能网元接收策略控制功能网元发送的第一转发规则。S504. The policy control function network element sends the first forwarding rule to the session management function network element, and the session management function network element receives the first forwarding rule sent by the policy control function network element.
S505,会话管理功能网元向用户面功能网元发送第一转发规则。S505: The network element of the session management function sends the first forwarding rule to the user plane function network element.
S506,用户面功能网元生成检测报文3(例如是第三检测报文),检测报文3的源地址为用户面功能网元的IP地址,检测报文3的目的地址为终端设备的IP地址。S506, the user plane functional network element generates a detection packet 3 (for example, a third detection packet), the source address of the detection packet 3 is the IP address of the user plane functional network element, and the destination address of the detection packet 3 is the terminal device's IP address.
具体地,用户面功能网元获取终端设备的IP地址的方式参见方法400的描述。Specifically, for the manner in which the user plane function network element obtains the IP address of the terminal device, refer to the description of method 400.
S507,用户面功能网元在T3时刻(例如是方法700中的第一时刻)根据第一转发规则向终端设备发送检测报文3,终端设备接收检测报文3。S507. The user plane function network element sends a detection message 3 to the terminal device according to the first forwarding rule at time T3 (for example, the first time in method 700), and the terminal device receives the detection message 3.
S508,终端设备在检测报文3中获取用户面功能网元的IP地址。S508. The terminal device obtains the IP address of the user plane functional network element in the detection message 3.
S509,终端设备根据用户面功能网元的IP地址生成检测报文4(例如是第三检测报文),检测报文4的源地址为终端设备的IP地址,检测报文4的目的地址为用户面功能网元的IP地址。S509, the terminal device generates a detection message 4 (for example, a third detection message) according to the IP address of the user plane function network element, the source address of the detection message 4 is the IP address of the terminal device, and the destination address of the detection message 4 is IP address of the user plane functional network element.
其中,检测报文3和检测报文4具有相同的配置参数,例如,检测报文3和检测报文4的大小相同,发送频率相同,持续时间相同。The detection packet 3 and the detection packet 4 have the same configuration parameters, for example, the detection packet 3 and the detection packet 4 have the same size, the same transmission frequency, and the same duration.
S510,终端设备根据向用户面功能网元发送检测报文4,用户面功能网元在时刻T4(例如是方法700中的第二时刻)接收检测报文4。S510. The terminal device sends a detection message 4 to the user plane functional network element, and the user plane function network element receives the detection packet 4 at time T4 (for example, the second time in method 700).
S511,用户面功能网元根据T3和T4确定终端设备与用户面功能网元之间的时延信息。S511. The user plane functional network element determines the delay information between the terminal device and the user plane functional network element according to T3 and T4.
具体地,假设上、下行链路的传输时延是对称的,用户面功能网元根据T3和T4可以确定终端设备与用户面功能网元之间业务数据的时延信息,例如时延为(T4-T3)/2。Specifically, assuming that the transmission delay of the uplink and downlink is symmetric, the user plane functional network element can determine the delay information of the service data between the terminal device and the user plane functional network element according to T3 and T4, for example, the delay is ( T4-T3)/2.
可选地,方法500还包括S512-S515:Optionally, the method 500 further includes S512-S515:
S512,用户面功能网元将时延信息发送给会话管理功能网元,会话管理功能网元接收用户面功能网元发送的时延信息。S512. The user plane function network element sends the delay information to the session management function network element, and the session management function network element receives the delay information sent by the user plane function network element.
S513,会话管理功能网元将时延信息发送给策略控制功能网元,策略控制功能网元接收会话管理功能网元发送的时延信息。S513: The network element of the session management function sends the delay information to the network element of the policy control function, and the network element of the policy control function receives the delay information sent by the network element of the session management function.
可选地,策略控制功能网元可以根据接收到的时延信息,确定是否对业务数据的时延信息进行调整。Optionally, the policy control function network element may determine whether to adjust the delay information of the service data according to the received delay information.
S514,策略控制功能网元向能力开放网元发送第二消息,第二消息包括时延信息,能力开放网元接收策略控制功能网元发送的第二消息。S514. The policy control function network element sends a second message to the capability opening network element, where the second message includes delay information, and the capability opening network element receives the second message sent by the policy control function network element.
S515,能力开放网元将第二消息发送给终端设备的应用程序接口,应用程序接口将第二消息返回给终端设备,终端设备可以根据获取第二消息中的时延信息,并根据时延信息确定是否发起业务数据。例如,时延较大时,终端设备可以确定暂时先不发起业务数据。S515, the capability opening network element sends the second message to the application program interface of the terminal device, and the application program interface returns the second message to the terminal device. The terminal device can obtain the delay information in the second message according to the delay information Determine whether to initiate business data. For example, when the delay is large, the terminal device may determine to temporarily not initiate service data.
在一种可能的实现中,上述第一种情况中的第一检测报文、第二检测报文可以为因特网包探测器(packet internet groper,Ping)包。类似的,上述第二种情况中的第三检测报文和第四检测报文可以为为Ping包。其中,Ping包原理是:个人计算机(personal computer,PC)利用网络上机器IP地址的唯一性,给目标IP地址发送一个报文,再要求对方返回一个同样大小的报文来确定两台网络机器是否连接相通,时延是多少。连接终端设备的PC从发出报文的时刻开始到收到响应报文的时刻之差为时延统计的结果。In a possible implementation, the first detection message and the second detection message in the above-mentioned first case may be Internet packet probe (packet internet groper, ping) packets. Similarly, the third detection message and the fourth detection message in the second case may be Ping packets. Among them, the Ping packet principle is: a personal computer (PC) uses the uniqueness of the machine's IP address on the network to send a message to the target IP address, and then asks the other party to return a message of the same size to determine the two network machines Whether it is connected, and what is the delay. The difference between the time when the PC connected to the terminal device sends out the message and the time when it receives the response message is the result of delay statistics.
图6示出了本申请实施例提供的用于测量服务质量信息的方法600,该方法600包括:FIG. 6 shows a method 600 for measuring service quality information provided by an embodiment of the present application. The method 600 includes:
S610,策略控制功能网元从能力开放网元接收第一消息,第一消息用于请求测量终端设备与用户面功能网元之间的业务数据的服务质量QoS信息。S610. The policy control function network element receives the first message from the capability opening network element. The first message is used to request measurement of service quality QoS information of service data between the terminal device and the user plane function network element.
S620,策略控制功能网元基于第一消息,确定检测报文的第一转发规则,第一转发规则与业务数据的转发规则包括相同的QoS信息。S620. The network element of the policy control function determines a first forwarding rule for detecting the packet based on the first message, and the first forwarding rule and the forwarding rule of the service data include the same QoS information.
作为一个可选实施例,第一消息包括终端设备的IP地址、业务数据的业务类型的标识、业务数据关联的应用标识或配置参数中的至少一种。配置参数包括:检测报文的大小、发送检测报文的频率或发送检测报文的持续时间中的至少一种。可选地,第一转发规则包括配置参数。As an optional embodiment, the first message includes at least one of an IP address of the terminal device, an identification of the service type of the service data, an application identification associated with the service data, or configuration parameters. The configuration parameters include at least one of the size of the detection message, the frequency of sending the detection message, or the duration of sending the detection message. Optionally, the first forwarding rule includes configuration parameters.
当第一消息包括终端设备的IP地址,策略控制功能网元可以根据终端设备的IP地址确定发送第一消息的终端设备,根据该终端设备的转发规则确定第一转发规则。例如,可以根据配置参数调整终端设备的转发规则得到第一转发规则。When the first message includes the IP address of the terminal device, the policy control function network element may determine the terminal device that sends the first message according to the IP address of the terminal device, and determine the first forwarding rule according to the forwarding rule of the terminal device. For example, the forwarding rule of the terminal device may be adjusted according to the configuration parameter to obtain the first forwarding rule.
当第一消息包括终端设备IP地址和业务数据的业务类型的标识时,首先,策略控制功能网元根据终端设备的IP地址确定终端设备;然后,策略控制功能网元根据业务类型的标识确定是该终端设备的哪种业务类型;最后,策略控制功能网元根据该终端设备的业务类型的转发规则确定第一转发规则。例如,可以根据配置参数调整该终端设备的业务类型的转发规则得到第一转发规则。When the first message includes the IP address of the terminal device and the service type identification of the service data, first, the policy control function network element determines the terminal device based on the terminal device's IP address; then, the policy control function network element determines whether it is based on the service type identification Which service type of the terminal device; finally, the policy control function network element determines the first forwarding rule according to the forwarding rule of the service type of the terminal device. For example, the forwarding rule of the service type of the terminal device may be adjusted according to the configuration parameter to obtain the first forwarding rule.
当第一消息包括终端设备IP地址和业务数据关联的应用标识时,首先,策略控制功能网元根据终端设备的IP地址确定终端设备;然后,策略控制功能网元根据业务数据关联的应用标识确定是该终端设备的哪种应用;最后,策略控制功能网元根据该终端设备的应用的转发规则确定第一转发规则。例如,可以根据配置参数调整该终端设备的应用的转发规则得到第一转发规则。When the first message includes the terminal device IP address and the service data associated application identification, first, the policy control function network element determines the terminal device based on the terminal device's IP address; then, the policy control function network element determines the service data associated application identification Which application is the terminal device; finally, the policy control function network element determines the first forwarding rule according to the forwarding rule of the application of the terminal device. For example, the forwarding rule applied by the terminal device may be adjusted according to the configuration parameter to obtain the first forwarding rule.
当第一消息包括终端设备的IP地址、业务数据的业务类型的标识和业务数据关联的应用标识时,首先,策略控制功能网元根据终端设备的IP地址确定发送第一消息的终端设备;其次,策略控制功能网元根据业务数据的业务类型的标识确定该终端设备的哪种业务类型;再次,策略控制功能网元根据业务数据关联的应用标识确定是该终端设备的该业务类型的哪种应用;最后,策略控制功能网元根据该终端设备的该业务类型的应用的转发规则确定第一转发规则。例如,可以根据配置参数调整该终端设备的该业务类型的应用的转发规则得到第一转发规则。When the first message includes the IP address of the terminal device, the service type identifier of the service data, and the application identifier associated with the service data, first, the policy control function network element determines the terminal device that sends the first message according to the IP address of the terminal device; second , The policy control function network element determines which service type of the terminal device according to the service type identifier of the service data; again, the policy control function network element determines which service type of the terminal device is based on the application identifier associated with the service data Finally, the policy control function network element determines the first forwarding rule according to the forwarding rule of the application of the service type of the terminal device. For example, the forwarding rule of the application of the service type of the terminal device may be adjusted according to the configuration parameter to obtain the first forwarding rule.
作为一个可选实施例,终端设备的转发规则或应用的转发规则或业务数据的转发规则可以保存在上下文中,策略控制功能网元可以在上下文中获取该业务数据的转发规则,然后策略控制功能网元可以利用配置参数中的检测报文的大小、发送检测报文的频率和发送检测报文的持续时间等信息中的至少一种调整业务数据的转发规则或终端设备的转发规则或应用的转发规则,从而可以得到第一转发规则。As an optional embodiment, the forwarding rules of the terminal device or the forwarding rules of the application or the forwarding rules of the business data can be stored in the context, the policy control function network element can obtain the forwarding rules of the business data in the context, and then the policy control function The network element may use at least one of the information such as the size of the detection message in the configuration parameters, the frequency of sending the detection message, and the duration of sending the detection message to adjust the forwarding rules of service data or the forwarding rules of the terminal device or the application Forwarding rules, so that the first forwarding rules can be obtained.
可选地,业务数据的转发规则和第一转发规则一致,所谓一致可以理解为:业务数据的转发规则与第一转发规则的具有相同的5G QOS标识(5G QoS identifier)和/或分配保持优先(allocation and retention priority,ARP)。Optionally, the forwarding rules of the business data are consistent with the first forwarding rule. The so-called consistency can be understood as: the forwarding rules of the business data and the first forwarding rule have the same 5G QOS identifier (5G QoS identifier) and/or the allocation priority remains (allocation and retention, ARP).
需要说明的是,第一转发规则与业务数据的转发规则包括相同的QoS信息,可以理解为:利用第一转发规则确定检测报文,根据检测报文确定的QoS信息与利用业务数据的转发规则确定的QoS信息是相同的,例如时延信息相同、丢包率相同等。It should be noted that the first forwarding rule and the service data forwarding rule include the same QoS information, which can be understood as: the detection message is determined using the first forwarding rule, the QoS information determined according to the detection message and the forwarding rule using service data The determined QoS information is the same, such as the same delay information and the same packet loss rate.
S630,策略控制功能网元向会话管理功能网元发送第一转发规则。S630: The policy control function network element sends the first forwarding rule to the session management function network element.
在一种可能的实现方式中,第一转发规则可以包括配置参数,即在S630中,策略控制功能网元可以将配置参数包括在第一转发规则中向会话管理功能网元发送,会话管理功能网元向用户面功能网元发送第一转发规则。In a possible implementation manner, the first forwarding rule may include configuration parameters, that is, in S630, the policy control function network element may include the configuration parameter in the first forwarding rule and send it to the session management function network element, and the session management function The network element sends the first forwarding rule to the user plane functional network element.
在一种可能的实现方式中,第一转发规则可以不包括配置参数,即方法还包括:策略控制功能网元将包括配置参数的第四消息向会话管理功能网元发送,会话管理功能网元向用户面功能网元发送包括配置参数的第四消息,需要说明的是第四消息可以不包括第一转发规则。In a possible implementation manner, the first forwarding rule may not include configuration parameters, that is, the method further includes: the policy control function network element sends a fourth message including the configuration parameter to the session management function network element, and the session management function network element A fourth message including configuration parameters is sent to the user plane functional network element. It should be noted that the fourth message may not include the first forwarding rule.
作为一个可选实施例,所述第二消息用于触发所述QoS信息的测量,所述方法600还包括:As an optional embodiment, the second message is used to trigger the measurement of the QoS information, and the method 600 further includes:
所述策略控制功能网元从所述会话管理功能网元接收所述用户面功能网元的网络协议IP地址,所述策略控制功能网元向能力开放网元发送第二消息,其中,所述第二消息包括所述用户面功能网元的IP地址。The policy control function network element receives the network protocol IP address of the user plane function network element from the session management function network element, and the policy control function network element sends a second message to the capability opening network element, wherein the The second message includes the IP address of the user plane functional network element.
作为一个可选实施例,在S630之后,所述方法600还包括:所述策略控制功能网元向能力开放网元发送第二消息,所述第二消息用于触发所述QoS信息的测量。As an optional embodiment, after S630, the method 600 further includes: the policy control function network element sends a second message to the capability opening network element, and the second message is used to trigger the measurement of the QoS information.
图7示出了本申请实施例提供的用于测量服务质量信息的方法700,该方法包括:FIG. 7 shows a method 700 for measuring service quality information provided by an embodiment of the present application. The method includes:
S710,用户面功能网元从会话管理功能网元接收检测报文的第一转发规则。第一转发规则与终端设备与用户面功能网元之间的业务数据的转发规则包含相同的服务质量QoS信息。S710. The user plane function network element receives the first forwarding rule of the detection message from the session management function network element. The first forwarding rule and the forwarding rule of service data between the terminal device and the user plane functional network element contain the same quality of service QoS information.
其中,第一转发规则与终端设备与用户面功能网元之间的业务数据的转发规则包含相同的服务质量QoS信息,可以理解为:利用第一转发规则确定检测报文,根据检测报文 确定的QoS信息与利用业务数据的转发规则确定的QoS信息是相同的,例如时延信息相同、丢包率相同等。Among them, the first forwarding rule and the forwarding rule of the service data between the terminal device and the user plane functional network element contain the same quality of service QoS information, which can be understood as: the first forwarding rule is used to determine the detection message and the detection message is determined The QoS information is the same as the QoS information determined by using the forwarding rules of business data, for example, the same delay information and the same packet loss rate.
需要说明的是,第一转发规则参考方法600中的描述,在本申请实施例中,第一转发规则是用于用户面功能网元发送检测报文所遵循的规则。可选地,第一转发规则可以是基于终端设备在发起数据业务之前通过应用程序接口发送的第一消息确定的,该第一消息用于请求测量终端设备与用户面功能网元之间的业务数据的QoS信息。It should be noted that the first forwarding rule refers to the description in the method 600. In the embodiment of the present application, the first forwarding rule is a rule followed by the user plane function network element sending the detection message. Optionally, the first forwarding rule may be determined based on a first message sent by the terminal device through the application program interface before initiating the data service, and the first message is used to request measurement of the service between the terminal device and the user plane function network element Data QoS information.
S720,用户面功能网元生成业务数据的第一检测报文。S720. The user plane function network element generates a first detection packet of service data.
可选地,第一转发规则可以包括配置信息,例如可以包括:检测报文的大小、发送检测报文的频率或发送检测报文的持续时间中的至少一种。这样,用户面功能网元就可以根据检测报文的大小、发送检测报文的频率或发送检测报文的持续时间中的至少一种生成第一检测报文。Optionally, the first forwarding rule may include configuration information, for example, it may include at least one of the size of the detection message, the frequency of sending the detection message, or the duration of sending the detection message. In this way, the user plane function network element may generate the first detection message according to at least one of the size of the detection message, the frequency of sending the detection message, or the duration of sending the detection message.
可选地,第一转发规则可以不包括配置信息,例如不包括检测报文的大小、发送检测报文的频率或发送检测报文的持续时间中的至少一种。但是会话管理功能网元仍然需要将配置信息通过第四消息发送给用户面功能网元。这样用户面功能网元就可以根据配置信息生成第一检测报文。Optionally, the first forwarding rule may not include configuration information, for example, does not include at least one of the size of the detection message, the frequency of sending the detection message, or the duration of sending the detection message. However, the session management function network element still needs to send the configuration information to the user plane function network element through the fourth message. In this way, the user plane functional network element can generate the first detection message according to the configuration information.
S730,用户面功能网元根据第一转发规则向终端设备发送第一检测报文。S730. The user plane function network element sends a first detection message to the terminal device according to the first forwarding rule.
可选地,方法700还包括:Optionally, the method 700 further includes:
S740,用户面功能网元接收终端设备发送的第二检测报文。S740. The user plane function network element receives the second detection message sent by the terminal device.
可选地,第一检测报文与第二检测报文具有相同的配置参数,例如,第一检测报文和第二检测报文的大小相同,第一检测报文和第二检测报文的发送频率相同,第一检测报文和第二检测报文的持续时间相同。Optionally, the first detection message and the second detection message have the same configuration parameters, for example, the first detection message and the second detection message have the same size, and the first detection message and the second detection message The transmission frequency is the same, and the duration of the first detection message and the second detection message are the same.
可选地,第一检测报文、第二检测报文与业务数据的业务类型相同。Optionally, the first detection message and the second detection message have the same service type as the service data.
作为一个可选实施例,用户面功能网元从会话管理功能网元接收第二指示信息,第二指示信息用于指示用户面功能网元对第一检测报文和第二检测报文不进行计费操作。用户面功能网元根据第二指示信息对第一检测报文和第二检测报文不进行计费操作。As an optional embodiment, the user plane function network element receives second indication information from the session management function network element, and the second indication information is used to instruct the user plane function network element not to perform the first detection message and the second detection message Billing operation. The user plane function network element does not perform a charging operation on the first detection message and the second detection message according to the second instruction information.
可选地,第二指示信息可以是策略控制功能网元通过会话管理功能网元发送给用户面功能网元。可选地,第二指示信息可以是会话管理功能网元确定的并发送给用户面功能网元的。Optionally, the second indication information may be sent by the policy control function network element to the user plane function network element through the session management function network element. Optionally, the second indication information may be determined by the session management function network element and sent to the user plane function network element.
可选地,第一检测报文的源地址为用户面功能网元的IP地址,第一检测报文的目的地址为终端设备的IP地址。第二检测报文的源地址为终端设备的IP地址,第二检测报文的目的地址为用户面功能网元的IP地址。也即用户面功能网元在向终端设备发送的第一检测报文时,需要获取终端设备的IP地址。用户面功能网元获取终端设备的IP地址的方式参见S411。Optionally, the source address of the first detection message is the IP address of the user plane functional network element, and the destination address of the first detection message is the IP address of the terminal device. The source address of the second detection message is the IP address of the terminal device, and the destination address of the second detection message is the IP address of the user plane functional network element. That is, when the first detection message sent by the user plane function network element to the terminal device needs to obtain the IP address of the terminal device. For the manner in which the user plane function network element obtains the IP address of the terminal device, see S411.
下面分两种情况描述,第一种情况是用户面功能网元测量QoS信息,第二种情况是终端设备确定QoS信息。The following is described in two cases. The first case is that the user plane function network element measures QoS information, and the second case is that the terminal device determines the QoS information.
第一种情况,以QoS信息为时延信息为例,用户面功能网元在第一时刻(例如可以是方法500中的T3),向终端设备发送第一检测报文(例如可以是方法500中的检测报文3);用户面功能网元在第二时刻,接收终端设备发送的第二检测报文(例如可以是方法500中的检测报文4)。第一时刻在第二时刻之前,用户面功能网元根据第一时刻和第 二时刻确定时延信息,时延信息为业务数据的时延信息。换句话说,根据第一检测报文的发送时间和第二检测报文的接收时间确定的时延信息即为终端设备与用户面功能网元之间的业务数据的时延信息。In the first case, taking the QoS information as the delay information as an example, the user plane function network element sends the first detection message to the terminal device at the first time (for example, T3 in method 500) (for example, method 500 Detection packet 3) in the user plane function; at the second moment, the user plane function network element receives the second detection packet sent by the terminal device (for example, the detection packet 4 in the method 500). The first time is before the second time, and the user plane function network element determines the delay information according to the first time and the second time, and the delay information is the delay information of the service data. In other words, the delay information determined according to the transmission time of the first detection message and the reception time of the second detection message is the delay information of the service data between the terminal device and the user plane functional network element.
可选地,用户面功能网元从会话管理功能网元接收第一指示信息,第一指示信息用于指示用户面功能网元测量时延信息;用户面功能网元根据第一时刻和二时刻确定时延信息,包括:用户面功能网元根据第一指示信息、第一时刻和第二时刻确定时延信息。Optionally, the user plane function network element receives first indication information from the session management function network element, and the first indication information is used to instruct the user plane function network element to measure delay information; the user plane function network element is based on the first time and the second time Determining the delay information includes: the user plane function network element determines the delay information according to the first indication information, the first time, and the second time.
可选地,第一指示信息可以是策略控制功能网元通过会话管理功能网元发送给用户面功能网元。可选地,第一指示信息可以是会话管理功能网元确定的并发送给用户面功能网元的。Optionally, the first indication information may be that the policy control function network element is sent to the user plane function network element through the session management function network element. Optionally, the first indication information may be determined by the session management function network element and sent to the user plane function network element.
可选地,在用户面功能网元确定时延信息之后,用户面功能网元可以将时延信息通过会话管理功能网元发送给策略控制功能网元。Optionally, after the user plane functional network element determines the delay information, the user plane functional network element may send the delay information to the policy control function network element through the session management function network element.
可选地,用户面功能网元也可以确定QoS信息,可以将确定的QoS信息通过会话管理功能网元发送给策略功能网元。Optionally, the user plane functional network element may also determine QoS information, and the determined QoS information may be sent to the policy function network element through the session management function network element.
第二种情况,用户面功能网元接收终端设备发送的第二检测报文(例如可以是方法400中的检测报文1)。用户面功能网元向终端设备发送第一检测报文(例如可以是方法400中的检测报文2)。换句话说,用户面功能网元配合终端设备接收和发送检测报文,以使得终端设备确定QoS信息。In the second case, the user plane function network element receives the second detection message sent by the terminal device (for example, it may be detection message 1 in method 400). The user plane function network element sends a first detection message to the terminal device (for example, it may be detection message 2 in method 400). In other words, the user plane function network element cooperates with the terminal device to receive and send a detection message, so that the terminal device determines the QoS information.
可选地,在方法700中,第一检测报文和第二检测报文为因特网包探测器Ping包。Optionally, in the method 700, the first detection message and the second detection message are Internet packet probe Ping packets.
因此,本申请实施例提供的用于测量服务质量信息的方法,在发起业务数据之前,终端设备可以通过应用程序接口向核心网网元发送第一消息,以请求测量终端设备与用户面功能网元之间的业务数据的QoS信息。用户面功能网元或终端设备可以通过发送检测报文和接收检测报文的时间确定业务数据的QoS信息,由于该QoS信息是该业务数据发起后的时延信息,终端设备可以根据该QoS信息确定是否要发起业务数据,从而有助于提高用户体验。或者,策略控制功能网元可以根据该QoS信息确定是否需要调整该业务数据的QoS信息,以满足终端设备对业务数据的QoS信息的需求,从而有助于提高用户体验。Therefore, in the method for measuring service quality information provided by the embodiments of the present application, before initiating service data, the terminal device may send a first message to the core network element through the application program interface to request the measurement terminal device and the user plane function network QoS information of business data between the elements. The user plane function network element or terminal device can determine the QoS information of the service data by the time of sending the detection message and receiving the detection message. Since the QoS information is the delay information after the service data is initiated, the terminal device can use the QoS information Decide whether to initiate business data to help improve the user experience. Alternatively, the policy control function network element may determine whether the QoS information of the service data needs to be adjusted according to the QoS information to meet the terminal device's demand for the QoS information of the service data, thereby helping to improve the user experience.
下面以QoS信息为时延信息为例,结合图8和图9描述本申请实施例提供的用于测量服务质量信息的方法,以终端设备为UE,检测报文为Ping包为例进行描述,但本申请实施例不限于此。其中,图8为终端设备测量时延信息。图9为用户面功能网元测量时延信息。The following uses QoS information as a delay information as an example, and describes the method for measuring quality of service information provided by the embodiments of the present application with reference to FIGS. 8 and 9. The terminal device is a UE and the detection packet is a Ping packet. However, the embodiments of the present application are not limited to this. Among them, FIG. 8 is the measurement delay information of the terminal device. Figure 9 is the measurement delay information of the user plane functional network element.
图8示出了本申请实施例提供的用于测量服务质量信息的方法800,方法800包括:FIG. 8 shows a method 800 for measuring service quality information provided by an embodiment of the present application. The method 800 includes:
S801,UE通过API向NEF发送第一消息,第一消息用于请求测量终端设备与用户面功能网元之间的业务数据的服务质量QoS信息。也即用第一消息触发NEF与PCF交互。S801. The UE sends a first message to the NEF through the API. The first message is used to request measurement of service quality QoS information of service data between the terminal device and the user plane functional network element. That is, the first message is used to trigger the NEF to interact with the PCF.
具体地,可以是UE开启某个应用时,在进行数据业务之前,UE通过API向NEF发送第一消息,NEF向PCF发送第一消息,例如该第一消息可以是QoS检测配置请求(QoS monitoring configuration request)消息。可选地,该第一消息包括UE的IP地址、业务数据的业务类型的标识、业务数据关联的应用标识(application ID)或配置信息等信息中的一种或者多种。其中,配置信息包括Ping包的大小,发送Ping包的频率或发送Ping包的持续时间等参数中的至少一种。Specifically, it may be that when the UE starts an application, before performing data services, the UE sends a first message to the NEF through the API, and the NEF sends the first message to the PCF. For example, the first message may be a QoS monitoring configuration request (QoS monitoring configuration request). configuration) request) message. Optionally, the first message includes one or more of information such as the IP address of the UE, the identification of the service type of the service data, the application ID (application ID) associated with the service data, or configuration information. The configuration information includes at least one of parameters such as the size of the Ping packet, the frequency of sending the Ping packet, or the duration of sending the Ping packet.
可选地,在S801之前,方法还包括:UE在发起业务数据之前,根据本地存储的用户路由选择策略(UE route selection policy,URSP)信息,确定与该应用关联的DNN和S-NSSAI,之后UE通过RAN向AMF发送会话建立请求,以触发建立该UE到用户面功能网元之间的数据面链接。Optionally, before S801, the method further includes: before initiating the service data, the UE determines the DNN and S-NSSAI associated with the application according to locally stored user routing policy (UESP) information (URSP) The UE sends a session establishment request to the AMF through the RAN to trigger the establishment of the data plane link between the UE and the user plane functional network element.
通过会话建立流程,AMF网元选择与该会话关联的SMF网元,SMF网元为UE分配IP地址,该IP地址用于UE传输业务报文,同时,SMF网元保存UE ID,会话标识,DNN,S-NSSAI和UE的IP地址等等。Through the session establishment process, the AMF network element selects the SMF network element associated with the session. The SMF network element assigns an IP address to the UE. The IP address is used by the UE to transmit service packets. At the same time, the SMF network element stores the UE ID and session ID. IP addresses of DNN, S-NSSAI and UE, etc.
S802,NEF接收到将第一消息后,将第一消息发送给PCF。S802. After receiving the first message, the NEF sends the first message to the PCF.
S803,PCF接收到NEF发送的第一消息后,根据第一消息确定本次消息时为了触发测量Ping包的时延信息。PCF根据第一消息包括的UE的IP地址、业务数据的业务类型的标识、业务数据关联的应用标识中的至少一个,为该UE或者该业务类型或者该应用的Ping包生成策略收费控制(policy and charging control,PCC)规则,其中该PCC规则中包含QoS规则,即QoS规则可以为前述的第一转发规则,该QoS规则与该UE或者该业务类型或者该应用的QoS规则一致(即,Ping包的QoS规则与UE或者该业务类型或者该应用的QoS规则中具有相同的5QI和/或ARP),这样可以将UE或者业务类型或者应用与Ping包关联在一起。S803, after receiving the first message sent by the NEF, the PCF determines the delay information of the Ping packet to trigger measurement of the current message when determining the current message according to the first message. The PCF generates a policy charging control (policy) for the UE or the service type or the application's Ping packet according to at least one of the UE's IP address, service data service type identifier, and service data associated application identifier included in the first message and charging control (PCC) rules, where the PCC rules contain QoS rules, that is, the QoS rules may be the aforementioned first forwarding rules, and the QoS rules are consistent with the QoS rules of the UE or the service type or the application (ie, Ping The QoS rule of the packet has the same 5QI and/or ARP as the QoS rule of the UE or the service type or the application, so that the UE or the service type or the application can be associated with the Ping packet.
可选地,如果该业务数据是保证速率(guaranteed bit rate,GBR)的,PCF还可以根据Ping包的大小,发包频率,持续周期等参数确定带宽。Optionally, if the service data is guaranteed rate (GBR), the PCF may also determine the bandwidth according to parameters such as the size of the ping packet, the frequency of packet transmission, and the duration.
可选地,PCF根据存储的上下文中包含的UE的IP地址确定该IP地址对应的UE ID以及当前服务该UE的SMF网元。可选地,PCF还可以根据应用标识(Application ID)确定该应用对应的DNN和/或S-NSSAI,这样可以根据DNN和/或S-NSSAI确定服务该UE的SMF网元,或者PCF可以将DNN和/或S-NSSAI发送给确定的SMF网元,以便于SMF网元根据DNN和/或S-NSSAI确定UPF网元。Optionally, the PCF determines the UE ID corresponding to the IP address and the SMF network element currently serving the UE according to the IP address of the UE contained in the stored context. Optionally, the PCF may also determine the DNN and/or S-NSSAI corresponding to the application according to the application ID (Application ID), so that the SMF network element serving the UE may be determined according to the DNN and/or S-NSSAI, or the PCF may The DNN and/or S-NSSAI is sent to the determined SMF network element, so that the SMF network element determines the UPF network element according to the DNN and/or S-NSSAI.
S804,PCF向SMF发起会话修改流程,例如,会话修改请求中可以携带Ping包的PCC规则(包括QoS规则,也即前述的第一转发规则)以及UE ID、DNN和S-NSSAI等信息中的至少一种,S804. The PCF initiates a session modification process to the SMF. For example, the session modification request may carry the PCC rules (including QoS rules, that is, the aforementioned first forwarding rules) of the Ping packet, and the information in the UE ID, DNN, and S-NSSAI. At least one,
S805,SMF接收到PCF发送的会话修改请求后,向UPF发送N4会话修改请求,将Ping包的QoS规则发送给UPF。S805, after receiving the session modification request sent by the PCF, the SMF sends an N4 session modification request to the UPF, and sends the QoS rules of the Ping packet to the UPF.
可选地,SMF可以向UPF发送第二指示信息,例如,也可以在N4会话修改流程请求中携带第二指示信息,第二指示信息用于指示UPF从UE侧收到上行Ping包(例如,可以是方法300中的第一检测报文或方法400中的检测报文1)之后,立即返回下行Ping包(例如可以是方法300中的第二检测报文或方法400中的检测报文2),且对Ping包不需要进行计费处理。Optionally, the SMF may send the second indication information to the UPF. For example, the N4 session modification process request may also carry the second indication information. The second indication information is used to instruct the UPF to receive the uplink ping packet from the UE side (for example, It may be the first detection message in the method 300 or the detection message 1 in the method 400), and immediately return the downstream Ping packet (for example, it may be the second detection message in the method 300 or the detection message 2 in the method 400) ), and no charging processing is required for Ping packets.
可选地,SMF可以将第二指示信息和QoS规则同时发送给UPF,也可以是分别发送给UPF,本申请实施例对此不作限定。Optionally, the SMF may send the second indication information and the QoS rule to the UPF at the same time, or it may be sent to the UPF separately, which is not limited in this embodiment of the present application.
在一种可能的实现中,第二指示信息可以是PCF发送给SMF,SMF发送给UPF。In a possible implementation, the second indication information may be sent by the PCF to the SMF, and the SMF is sent to the UPF.
需要说明的是,本申请实施例中,S804和S805中,会话修改请求和N4会话修改流程请求中包括QoS规则(也即前述的第一转发规则)只是一种可能的实现方式,QoS规则还可以通过其他的方式发送给SMF,本申请实施例对此不作限制。It should be noted that in the embodiments of the present application, in S804 and S805, the inclusion of the QoS rules (that is, the aforementioned first forwarding rules) in the session modification request and the N4 session modification process request is only one possible implementation manner, and the QoS rules also It can be sent to the SMF in other ways, which is not limited in the embodiments of the present application.
S806,SMF将用于Ping包检测的目的IP地址(即UPF的IP地址)发送至PCF。S806. The SMF sends the destination IP address (ie, the IP address of the UPF) used for Ping packet detection to the PCF.
可选地,S806可以在S805之后或者之前,本申请实施例对此不作限制。Optionally, S806 may be after or before S805, which is not limited in this embodiment of the present application.
S807,PCF向NEF发送第二消息,例如第二消息可以是QoS检测响应(QoS monitoring configuration response)消息,第二消息中包括用于Ping包检测的目的IP地址(即UPF的IP地址)。S807. The PCF sends a second message to the NEF. For example, the second message may be a QoS monitoring response (QoS monitoring response) message. The second message includes a destination IP address (that is, an UPF IP address) used for Ping packet detection.
S808,NEF向终端设备的API发送第二消息,这样就可以将第二消息中的UPF的IP地址通过API返回到UE。In S808, the NEF sends a second message to the API of the terminal device, so that the IP address of the UPF in the second message can be returned to the UE through the API.
S809,UE通过API接收NEF发送的第二消息,根据第二消息中的UPF的IP地址构造第一Ping包(例如,可以是方法300中的第一检测报文或方法400中的检测报文1或方法700中的第二种情况的第二检测报文),第一Ping包的源IP是UE的IP地址,目的IP是UPF的IP地址。S809, the UE receives the second message sent by the NEF through the API, and constructs the first Ping packet according to the IP address of the UPF in the second message (for example, it may be the first detection message in the method 300 or the detection message in the method 400 1 or the second detection message in the second case in method 700), the source IP of the first ping packet is the IP address of the UE, and the destination IP is the IP address of the UPF.
S810,UE启动定时器,UE向UPF发送第一Ping包,并记录发送第一Ping包的发送时间为p。S810, the UE starts a timer, the UE sends a first ping packet to the UPF, and records the sending time of sending the first ping packet as p.
S811,UPF接收到UE发送的第一Ping包之后,可以从第一Ping包获取UE IP,UPF构造第二Ping包并立刻向UE返回第二Ping包(可以是方法300中的第二检测报文或方法400中的检测报文2或方法700中的第二种情况的第一检测报文)。S811, after receiving the first ping packet sent by the UE, the UPF may obtain the UE IP from the first ping packet, and the UPF constructs the second ping packet and immediately returns the second ping packet to the UE (may be the second detection report in the method 300) Detection message 2 in the document or method 400 or the first detection message in the second case in the method 700).
S812,UE接收UPF返回的第二Ping包,并停止定时器,停止定时器的时间为q,假设上、下行链路的传输时延是对称的,UE根据p和q可以确定UE到UPF之间业务数据的时延信息,例如时延为(q-p)/2。S812, the UE receives the second ping packet returned by the UPF, and stops the timer. The time for stopping the timer is q. Assuming that the transmission delays of the uplink and downlink are symmetric, the UE can determine the UE to UPF according to p and q. The delay information of the inter-service data, for example, the delay is (qp)/2.
可选地,方法800还包括S813和S814:Optionally, the method 800 further includes S813 and S814:
S813,UE通过应用程序接口向能力开放网元发送时延信息,能力开放网元接收UE通过应用程序接口发送的时延信息。S813. The UE sends the delay information to the capability open network element through the application program interface, and the capability open network element receives the delay information sent by the UE through the application program interface.
S814,能力开放网元将时延信息发送给策略控制功能网元,以便于策略控制功能网元确定是否对业务数据的时延信息进行调整。S814: The capability open network element sends the delay information to the policy control function network element, so that the policy control function network element determines whether to adjust the service data delay information.
图9示出了本申请实施例提供的用于测量服务质量信息的方法900,包括:9 shows a method 900 for measuring service quality information provided by an embodiment of the present application, including:
S901-S903同S801-S803。S901-S903 is the same as S801-S803.
S904,PCF向SMF发起会话修改流程,例如,会话修改请求中可以携带Ping包的PCC规则(包括QoS规则,也即前述的第一转发规则)以及UE ID、DNN和S-NSSAI等信息。S904, the PCF initiates a session modification process to the SMF. For example, the session modification request may carry PCC rules (including QoS rules, that is, the aforementioned first forwarding rules) of the Ping packet, and information such as the UE ID, DNN, and S-NSSAI.
S905,SMF接收到PCF发送的会话修改请求后,向UPF发送N4会话修改请求,将Ping包的QoS规则发送给UPF。S905, after receiving the session modification request sent by the PCF, the SMF sends an N4 session modification request to the UPF, and sends the QoS rules of the Ping packet to the UPF.
S906,SMF向UPF发送第一指示信息,该第一指示信息用于指示用户面功能网元测量时延信息。S906. The SMF sends the first indication information to the UPF, where the first indication information is used to indicate the user plane function network element measurement delay information.
可选地,S906中的第一指示信息和S905中的QoS规则可以是一起发送给UPF的,例如,N4会话修改请求中可以包括第一指示信息。或者,S906中的第一指示信息和S905中的QoS规则可以是分别发送给UPF的,本申请实施例对此不作限制。Optionally, the first indication information in S906 and the QoS rules in S905 may be sent to the UPF together, for example, the N4 session modification request may include the first indication information. Alternatively, the first indication information in S906 and the QoS rules in S905 may be sent to the UPF separately, which is not limited in this embodiment of the present application.
S907,UPF根据第一指示信息构造第三Ping包(例如,可以是方法300中的第三检测报文或方法500中的检测报文3或方法700中的第一种情况的第一检测报文),该第三Ping包的源IP是UPF的IP地址,目的IP是UE的IP地址。S907, the UPF constructs a third Ping packet according to the first indication information (for example, it may be the third detection message in the method 300 or the detection message 3 in the method 500 or the first detection message in the first case in the method 700 Text), the source IP of the third ping packet is the IP address of the UPF, and the destination IP is the IP address of the UE.
本申请实施例对UPF获取UE的IP地址的方式不作任何限定,例如可以通过以下三 种方式获得:The embodiment of the present application does not limit the way in which the UPF obtains the IP address of the UE, for example, it can be obtained in the following three ways:
第一种方式,可选地,SMF根据UE的上下文确定UE的IP地址,并通过S905将UE的IP地址发送给UPF,从而UPF可以根据接收到的UE的IP地址生成第三检测报文。In the first way, optionally, the SMF determines the IP address of the UE according to the context of the UE, and sends the IP address of the UE to the UPF through S905, so that the UPF can generate a third detection message according to the received IP address of the UE.
第二种方式,可选地,在S905中,SMF可以将UE ID和会话标识发送给UPF,UPF网元根据UE ID和会话标识确定上下文中存储的该会话对应的UE的IP地址,从而UPF可以根据接收到的UE的IP地址生成第三检测报文。The second way, optionally, in S905, the SMF may send the UE ID and the session ID to the UPF, and the UPF network element determines the IP address of the UE corresponding to the session stored in the context according to the UE ID and the session ID, so that the UPF The third detection message may be generated according to the received IP address of the UE.
第三种方式,可选地,S904中,PCF将UE的IP地址发送给SMF,SMF将UE的IP地址发送给UPF,从而UPF可以根据接收到的UE的IP地址生成第三检测报文。The third way, optionally, in S904, the PCF sends the IP address of the UE to the SMF, and the SMF sends the IP address of the UE to the UPF, so that the UPF can generate a third detection message according to the received IP address of the UE.
S908,UPF启动定时器,UPF向UE发送第三Ping包,并记录发送第三Ping包的发送时间为s。S908, the UPF starts a timer, the UPF sends a third ping packet to the UE, and records the sending time for sending the third ping packet as s.
S909,UE接收到UPF发送的第三Ping包之后,在第三Ping包中获取UPF的IP地址,并构造第四Ping包并立刻向UPF返回第四Ping包(例如,可以是方法300中的第四检测报文或方法500中的检测报文4或方法700中的第一种情况的第二检测报文),该第四Ping包的源IP是UE的IP地址,目的IP是UPF的IP地址。S909, after receiving the third ping packet sent by the UPF, the UE obtains the IP address of the UPF in the third ping packet, constructs the fourth ping packet, and immediately returns the fourth ping packet to the UPF (for example, it may be the method 300 The fourth detection message or the detection message 4 in the method 500 or the second detection message in the first case in the method 700), the source IP of the fourth ping packet is the IP address of the UE, and the destination IP is the UPF IP address.
S910,UPF接收UE返回的第四Ping包,并停止定时器,停止定时器的时间为t,假设上、下行链路的传输时延是对称的,UPF根据s和t可以确定UE到UPF之间的业务数据的时延信息,例如时延为(t-s)/2。S910, the UPF receives the fourth Ping packet returned by the UE, and stops the timer. The time for stopping the timer is t. Assuming that the transmission delay of the uplink and downlink is symmetric, the UPF can determine the UE to UPF according to s and t. The delay information of the service data in the time, for example, the delay is (ts)/2.
S911,UPF将时延信息发送给SMF,SMF接收UPF发送的时延信息。At S911, the UPF sends the delay information to the SMF, and the SMF receives the delay information sent by the UPF.
S912,SMF将时延信息发送给PCF,PCF接收SMF发送的时延信息。In S912, the SMF sends the delay information to the PCF, and the PCF receives the delay information sent by the SMF.
可选地,PCF可以根据接收到的时延信息,确定是否对业务数据的时延信息进行调整。Optionally, the PCF may determine whether to adjust the delay information of the service data according to the received delay information.
S913,PCF将时延信息发送给NEF,NEF接收PCF发送的时延信息。S913. The PCF sends the delay information to the NEF, and the NEF receives the delay information sent by the PCF.
S914,NEF将时延信息发送给UE的应用程序接口,应用程序接口将时延信息返回给UE。In S914, the NEF sends the delay information to the application program interface of the UE, and the application program interface returns the delay information to the UE.
以上结合图1至图9,详细得描述了本申请实施例提供的用于测量服务质量信息的方法,下面结合图10至图13,详细描述本申请实施例提供的用于测量服务质量信息的装置。The method for measuring the quality of service information provided by the embodiments of the present application has been described in detail above with reference to FIGS. 1 to 9, and the method for measuring the quality of service information provided by the embodiments of the present application is described in detail below with reference to FIGS. 10 to 13. Device.
图10示出了本申请实施例提供的用于测量服务质量信息的装置800的示意性框图,该装置1000可以对应上述方法中描述的终端设备,也可以对应终端设备的芯片或者组件,并且,该装置1000中各个模块或者单元分别可以用于执行上述方法中终端设备所执行的各动作或处理过程,如图10所示,该用于测量服务质量信息的装置1000可以包括发送单元010和接收单元1020。10 shows a schematic block diagram of an apparatus 800 for measuring quality of service information provided by an embodiment of the present application. The apparatus 1000 may correspond to the terminal device described in the above method, or may correspond to a chip or component of the terminal device, and, Each module or unit in the apparatus 1000 may be used to perform various actions or processing procedures performed by the terminal device in the above method, as shown in FIG. 10, the apparatus 1000 for measuring service quality information may include a sending unit 010 and a receiving unit Unit 1020.
发送单元1010,用于在发起业务数据之前,通过应用程序接口向核心网网元发送第一消息,第一消息用于请求测量装置与用户面功能网元之间的业务数据的服务质量QoS信息;The sending unit 1010 is configured to send a first message to the core network element through the application program interface before initiating the service data, and the first message is used to request service quality QoS information of the service data between the measurement device and the user plane function network element ;
接收单元1020,用于通过应用程序接口接收核心网网元发送的第二消息,第二消息用于触发QoS信息的测量,或,第二消息包括QoS信息。The receiving unit 1020 is configured to receive a second message sent by a core network element through an application program interface. The second message is used to trigger measurement of QoS information, or the second message includes QoS information.
作为一个可选实施例,第一消息包括终端设备的网络协议IP地址、业务数据的业务类型的标识、业务数据关联的应用标识或配置参数中的至少一种,配置参数包括检测报文的大小、发送检测报文的频率或发送检测报文的持续时间中的至少一种。As an optional embodiment, the first message includes at least one of a network protocol IP address of the terminal device, an identifier of the service type of the service data, an application identifier associated with the service data, or a configuration parameter, where the configuration parameter includes the size of the detection packet At least one of the frequency of sending the detection message or the duration of sending the detection message.
作为一个可选实施例,第二消息用于触发QoS信息的测量,QoS信息为时延信息, 发送单元1010还用于:在通过应用程序接口接收核心网网元发送的第二消息之后,在第一时刻,向用户面功能网元发送第一检测报文;As an optional embodiment, the second message is used to trigger the measurement of QoS information, and the QoS information is delay information. The sending unit 1010 is further configured to: after receiving the second message sent by the core network element through the application program interface, At the first moment, the first detection message is sent to the user plane functional network element;
接收单元1020还用于:在第二时刻,从用户面功能网元接收第二检测报文;The receiving unit 1020 is further configured to: at a second moment, receive a second detection message from the user plane functional network element;
装置还包括:第一处理单元,用于根据第一时刻和第二时刻确定时延信息,时延信息为业务数据的时延信息。The device further includes: a first processing unit, configured to determine the delay information according to the first time and the second time, and the delay information is the delay information of the service data.
作为一个可选实施例,第二消息包括用户面功能网元的网络协议IP地址。As an optional embodiment, the second message includes the network protocol IP address of the user plane functional network element.
作为一个可选实施例,第二消息包括QoS信息,接收单元1020还用于:As an optional embodiment, the second message includes QoS information, and the receiving unit 1020 is further configured to:
在通过应用程序接口接收核心网元网元发送的第二消息之前,从用户面功能网元接收第三检测报文;Before receiving the second message sent by the core network element network element through the application program interface, receiving the third detection message from the user plane function network element;
装置还包括:第二处理单元,用于在第三检测报文中获取用户面功能网元的IP地址;The device further includes: a second processing unit, configured to obtain the IP address of the user plane functional network element in the third detection message;
发送单元1010还用于:向用户面功能网元发送第四检测报文。The sending unit 1010 is further configured to send a fourth detection message to the user plane functional network element.
作为一个可选实施例,第一检测报文、第二检测报文、第三检测报文和第四检测报文为因特网包探测器Ping包。As an optional embodiment, the first detection message, the second detection message, the third detection message, and the fourth detection message are Internet packet probe Ping packets.
应理解,装置1000中各单元执行上述相应步骤的具体过程请参照前文中结合图3-图5的方法实施例的描述,为了简洁,这里不加赘述。It should be understood that, for the specific process of performing the above corresponding steps by each unit in the device 1000, please refer to the foregoing description of the method embodiments in conjunction with FIG. 3 to FIG. 5.
图11示出了本申请实施例提供的用于测量服务质量信息的装置1100的示意性框图,该装置1100可以对应上述方法中描述的策略控制功能网元,也可以对应策略控制功能网元的芯片或者组件,并且,该装置1100中各个模块或者单元分别可以用于执行上述方法中策略控制功能网元所执行的各动作或处理过程,如图11所示,该用于测量服务质量信息的装置1100可以包括收发单元1110和处理单元1120。11 shows a schematic block diagram of an apparatus 1100 for measuring quality of service information provided by an embodiment of the present application. The apparatus 1100 may correspond to the policy control function network element described in the above method, or may correspond to the policy control function network element. Chip or component, and each module or unit in the device 1100 can be used to perform various actions or processes performed by the policy control function network element in the above method, as shown in FIG. 11, which is used to measure the quality of service information The apparatus 1100 may include a transceiver unit 1110 and a processing unit 1120.
收发单元1110,用于从能力开放网元接收第一消息,第一消息用于请求测量终端设备与用户面功能网元之间的业务数据的服务质量QoS信息;The transceiver unit 1110 is configured to receive the first message from the capability open network element, and the first message is used to request measurement of service quality QoS information of service data between the terminal device and the user plane functional network element;
处理单元1120,用于策略控制功能网元基于第一消息,确定检测报文的第一转发规则,第一转发规则与业务数据的转发规则包括相同的QoS信息;The processing unit 1120 is used by the policy control function network element to determine the first forwarding rule for detecting the packet based on the first message. The first forwarding rule and the forwarding rule of the service data include the same QoS information;
收发单元1110还用于:通过会话管理功能网元向用户面功能网元发送第一转发规则。The transceiver unit 1110 is further configured to: send the first forwarding rule to the user plane functional network element through the session management functional network element.
作为一个可选实施例,第一消息包括终端设备的IP地址、业务类型的标识和业务数据关联的应用标识或配置参数中的至少一种,配置参数包括:检测报文的大小、发送检测报文的频率或发送检测报文的持续时间中的至少一种,第一转发规则包括配置参数。As an optional embodiment, the first message includes at least one of an IP address of the terminal device, an identifier of the service type, an application identifier associated with the service data, or a configuration parameter. The configuration parameter includes: the size of the detection message and the sending of the detection report At least one of the frequency of the message or the duration of sending the detection message, the first forwarding rule includes configuration parameters.
作为一个可选实施例,收发单元1110还用于:As an optional embodiment, the transceiver unit 1110 is also used to:
在通过会话管理功能网元向用户面功能网元发送第一转发规则之后,向能力开放网元发送第二消息,第二消息用于触发QoS信息的测量,或,第二消息包括QoS信息。After sending the first forwarding rule to the user plane function network element through the session management function network element, a second message is sent to the capability opening network element. The second message is used to trigger the measurement of QoS information, or the second message includes QoS information.
作为一个可选实施例,第二消息用于触发QoS信息的测量,收发单元还用于:As an optional embodiment, the second message is used to trigger the measurement of QoS information, and the transceiver unit is also used to:
从会话管理功能网元接收用户面功能网元的网络协议IP地址,其中,第二消息包括用户面功能网元的IP地址。The network protocol IP address of the user plane function network element is received from the session management function network element, where the second message includes the IP address of the user plane function network element.
应理解,装置1100中各单元执行上述相应步骤的具体过程请参照前文中结合图6的方法实施例的描述,为了简洁,这里不加赘述。It should be understood that, for the specific process of performing the above-mentioned corresponding steps by each unit in the device 1100, please refer to the foregoing description of the method embodiment in conjunction with FIG. 6, and for the sake of brevity, no further description is provided here.
图12示出了本申请实施例提供的用于测量服务质量信息的装置1200的示意性框图,该装置1200可以对应上述方法中描述的用户面功能网元,也可以对应用户面功能网元的芯片或者组件,并且,该装置1200中各个模块或者单元分别可以用于执行上述方法中用 户面功能网元所执行的各动作或处理过程,如图12所示,该用于测量服务质量信息的装置1200可以包括收发单元1210和处理单元1220。FIG. 12 shows a schematic block diagram of an apparatus 1200 for measuring quality of service information provided by an embodiment of the present application. The apparatus 1200 may correspond to the user plane functional network element described in the above method, or may correspond to the user plane functional network element. Chips or components, and each module or unit in the device 1200 can be used to perform various actions or processing procedures performed by the user plane functional network element in the above method, as shown in FIG. 12, which is used to measure the quality of service information The apparatus 1200 may include a transceiver unit 1210 and a processing unit 1220.
收发单元1210,用于从会话管理功能网元接收检测报文的第一转发规则,第一转发规则与终端设备与用户面功能网元之间的业务数据的转发规则包含相同的服务质量QoS信息;The transceiving unit 1210 is configured to receive the first forwarding rule of the detection message from the network element of the session management function. The first forwarding rule and the forwarding rule of the service data between the terminal device and the user plane functional network element include the same quality of service QoS information ;
处理单元1220,用于生成业务数据的第一检测报文;The processing unit 1220 is configured to generate a first detection message of service data;
收发单元1210还用于根据第一转发规则向终端设备发送第一检测报文。The transceiver unit 1210 is further configured to send the first detection message to the terminal device according to the first forwarding rule.
作为一个可选实施例,第一转发规则包括:检测报文的大小、发送检测报文的频率或发送检测报文的持续时间中的至少一种。As an optional embodiment, the first forwarding rule includes at least one of the size of the detection message, the frequency of sending the detection message, or the duration of sending the detection message.
作为一个可选实施例,QoS信息为时延信息,收发单元1210具体用于:As an optional embodiment, the QoS information is delay information, and the transceiver unit 1210 is specifically used to:
在第一时刻,向终端设备发送第一检测报文;At the first moment, send a first detection message to the terminal device;
在第二时刻,接收终端设备发送的第二检测报文。At the second moment, the second detection message sent by the terminal device is received.
作为一个可选实施例,第一时刻在第二时刻之前,收发单元1210还用于:As an optional embodiment, the first moment before the second moment, the transceiver unit 1210 is further used to:
从会话管理功能网元接收第一指示信息,第一指示信息用于指示用户面功能网元测量时延信息;Receiving first indication information from the session management function network element, where the first indication information is used to instruct the user plane function network element to measure delay information;
处理单元1220还用于:根据第一指示信息、第一时刻和第二时刻确定时延信息,时延信息为业务数据的时延信息。The processing unit 1220 is further configured to determine the delay information according to the first indication information, the first time, and the second time, and the delay information is the delay information of the service data.
作为一个可选实施例,收发单元1010还用于:向会话管理功能网元发送时延信息。As an optional embodiment, the transceiver unit 1010 is further configured to: send delay information to the network element of the session management function.
作为一个可选实施例,收发单元1010还用于:从会话管理功能网元接收第二指示信息,第二指示信息用于指示用户面功能网元对第一检测报文和第二检测报文不进行计费操作。As an optional embodiment, the transceiver unit 1010 is further configured to: receive second indication information from the session management function network element, and the second indication information is used to instruct the user plane function network element to perform the first detection message and the second detection message No billing operation is performed.
作为一个可选实施例,第一检测报文和第二检测报文为因特网包探测器Ping包。As an optional embodiment, the first detection message and the second detection message are Internet packet probe Ping packets.
应理解,装置1200中各单元执行上述相应步骤的具体过程请参照前文中结合图7的方法实施例的描述,为了简洁,这里不加赘述。It should be understood that, for a specific process of performing the above corresponding steps by each unit in the device 1200, please refer to the foregoing description of the method embodiment in conjunction with FIG.
上述各个方案的装置1000具有实现上述方法中终端设备执行的相应步骤的功能,上述各个方案的装置1100具有实现上述方法中策略控制功能网元执行的相应步骤的功能,上述各个方案的装置1200具有实现上述方法中用户面功能网元执行的相应步骤的功能;功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。硬件或软件包括一个或多个与上述功能相对应的模块;例如发送单元可以由发射机替代,接收单元可以由接收机替代,其它单元,如确定单元等可以由处理器替代,分别执行各个方法实施例中的收发操作以及相关的处理操作。The device 1000 of the above solutions has the function of implementing the corresponding steps performed by the terminal device in the above method, the device 1100 of the above solutions has the function of implementing the corresponding steps of the policy control function network element in the above method, and the device 1200 of the above solutions The function of implementing the corresponding steps performed by the user plane function network element in the above method; the function can be implemented by hardware, or can also be implemented by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions; for example, the sending unit can be replaced by a transmitter, the receiving unit can be replaced by a receiver, and other units, such as a determination unit, etc., can be replaced by a processor to perform each method separately The receiving and sending operations and related processing operations in the embodiment.
在具体实现过程中,处理器可用于进行,例如但不限于,基带相关处理,收发器可用于进行,例如但不限于,射频收发。上述器件可以分别设置在彼此独立的芯片上,也可以至少部分的或者全部的设置在同一块芯片上。例如,处理器可以进一步划分为模拟基带处理器和数字基带处理器,其中模拟基带处理器可以与收发器集成在同一块芯片上,数字基带处理器可以设置在独立的芯片上。随着集成电路技术的不断发展,可以在同一块芯片上集成的器件越来越多,例如,数字基带处理器可以与多种应用处理器(例如但不限于图形处理器,多媒体处理器等)集成在同一块芯片之上。这样的芯片可以称为系统芯片(system on chip,SOC)。将各个器件独立设置在不同的芯片上,还是整合设置在一个或者多个芯 片上,往往取决于产品设计的具体需要。本申请实施例对上述器件的具体实现形式不做限定。In a specific implementation process, the processor may be used for, for example, but not limited to, baseband related processing, and the transceiver may be used for, for example, but not limited to, radio frequency transceiver. The above-mentioned devices may be respectively arranged on separate chips, or at least partly or wholly on the same chip. For example, the processor may be further divided into an analog baseband processor and a digital baseband processor, where the analog baseband processor and the transceiver may be integrated on the same chip, and the digital baseband processor may be provided on an independent chip. With the continuous development of integrated circuit technology, more and more devices can be integrated on the same chip, for example, digital baseband processors can be used with multiple application processors (such as but not limited to graphics processors, multimedia processors, etc.) Integrated on the same chip. Such a chip may be called a system chip (SOC). Whether each device is independently set on different chips or integrated on one or more chips often depends on the specific needs of product design. The embodiments of the present application do not limit the specific implementation form of the above device.
可以理解的是,对于前述实施例中所涉及的处理器可以通过具有处理器和通信接口的硬件平台执行程序指令来分别实现其在本申请前述实施例中任一设计中涉及的功能,基于此,如图13所示,本申请实施例提供了一种用于测量服务质量信息的装置1300的示意性框图,装置1300包括:处理器1310、收发器1320和存储器1330。其中,处理器1310、收发器1320和存储器1330通过内部连接通路互相通信,该存储器1330用于存储指令,该处理器1310用于执行该存储器1330存储的指令,以控制该收发器1320发送信号和/或接收信号。It can be understood that, for the processor involved in the foregoing embodiments, a hardware platform having a processor and a communication interface can execute program instructions to implement the functions involved in any of the designs in the foregoing embodiments of the present application, based on this As shown in FIG. 13, an embodiment of the present application provides a schematic block diagram of an apparatus 1300 for measuring quality of service information. The apparatus 1300 includes a processor 1310, a transceiver 1320, and a memory 1330. Among them, the processor 1310, the transceiver 1320 and the memory 1330 communicate with each other through an internal connection path. The memory 1330 is used to store instructions. The processor 1310 is used to execute the instructions stored in the memory 1330 to control the transceiver 1320 to send signals and /Or receive signals.
其中,在一种可能的实现方式中,若该装置1300为终端设备,该收发器1320用于在发起业务数据之前,通过应用程序接口向核心网网元发送第一消息,第一消息用于请求测量装置与用户面功能网元之间的业务数据的服务质量QoS信息;收发器1320还用于通过应用程序接口接收核心网网元发送的第二消息,第二消息用于触发QoS信息的测量,或,第二消息包括QoS信息。Among them, in a possible implementation manner, if the device 1300 is a terminal device, the transceiver 1320 is used to send a first message to the core network element through the application program interface before initiating service data. The first message is used to Request quality of service QoS information of service data between the measurement device and the user plane functional network element; the transceiver 1320 is also used to receive the second message sent by the core network element through the application program interface, and the second message is used to trigger the QoS information Measure, or, the second message includes QoS information.
在另外一种可能的实现方式中,若该装置1300为策略控制功能网元,该收发器1320用于从能力开放网元接收第一消息,第一消息用于请求测量终端设备与用户面功能网元之间的业务数据的服务质量QoS信息;处理器1310用于策略控制功能网元基于第一消息,确定检测报文的第一转发规则,第一转发规则与业务数据的转发规则包括相同的QoS信息;收发器1320还用于:通过会话管理功能网元向用户面功能网元发送第一转发规则。In another possible implementation, if the device 1300 is a policy control function network element, the transceiver 1320 is used to receive a first message from the capability opening network element, and the first message is used to request measurement terminal equipment and user plane functions. Service quality QoS information of service data between network elements; processor 1310 is used for policy control function. The network element determines a first forwarding rule for detecting packets based on the first message. The first forwarding rule and the service data forwarding rule include the same QoS information; the transceiver 1320 is also used to: send the first forwarding rule to the user plane function network element through the session management function network element.
在另外一种可能的实现方式中,若该装置1300为用户面功能网元,收发器1320用于收从会话管理功能网元接收检测报文的第一转发规则,第一转发规则与终端设备与用户面功能网元之间的业务数据的转发规则包含相同的服务质量QoS信息;处理器1310用于生成业务数据的第一检测报文;所述收发器1320还用于根据第一转发规则向终端设备发送第一检测报文。In another possible implementation manner, if the device 1300 is a user plane functional network element, the transceiver 1320 is used to receive a first forwarding rule for receiving a detection message from the session management functional network element, the first forwarding rule and the terminal device The service data forwarding rules between the user plane functional network elements contain the same quality of service QoS information; the processor 1310 is used to generate the first detection message of the service data; the transceiver 1320 is also used to follow the first forwarding rule Send a first detection message to the terminal device.
应理解,本申请实施例图10中的装置或图11中的装置或图12中的装置可以通过图13中的装置1300来实现,并且可以用于执行上述方法实施例中终端设备、策略控制功能网元和用户面功能网元对应的各个步骤和/或流程。It should be understood that the apparatus in FIG. 10 or the apparatus in FIG. 11 or the apparatus in FIG. 12 in the embodiments of the present application may be implemented by the apparatus 1300 in FIG. 13 and may be used to execute the terminal device and policy control in the above method embodiments Various steps and/or processes corresponding to the functional network element and the user plane functional network element.
可以理解的是,本申请实施例描述的各种设计涉及的方法,流程,操作或者步骤,能够以一一对应的方式,通过计算机软件,电子硬件,或者计算机软件和电子硬件的结合来一一对应实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件,比如,考虑通用性好成本低软硬件解耦等方面,可以采纳执行程序指令的方式来实现,又比如,考虑系统性能和可靠性等方面,可以采纳使用专用电路来实现。普通技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,此处不做限定。It can be understood that the methods, processes, operations, or steps involved in the various designs described in the embodiments of the present application can be implemented in a one-to-one manner through computer software, electronic hardware, or a combination of computer software and electronic hardware. Corresponding realization. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. For example, considering the versatility, low cost, software and hardware decoupling, etc., it can be implemented by executing program instructions. , Considering the system performance and reliability, etc., you can adopt the use of dedicated circuits to achieve. Ordinary technicians can use different methods to implement the described functions for each specific application, which is not limited here.
根据本申请实施例提供的方法,本申请还提供一种计算机程序产品,该计算机程序产品包括:计算机程序代码,当该计算机程序代码在计算机上运行时,使得该计算机执行上述实施例中的方法。本申请中的各个实施例也可以互相结合。According to the method provided in the embodiment of the present application, the present application also provides a computer program product, the computer program product comprising: computer program code, when the computer program code runs on the computer, the computer is caused to perform the method in the above embodiment . The various embodiments in this application can also be combined with each other.
根据本申请实施例提供的方法,本申请还提供一种计算机可读介质,该计算机可读解释存储有程序代码,当该程序代码在计算机上运行时,使得该计算机执行上述实施例中的方法。According to the method provided in the embodiments of the present application, the present application also provides a computer readable medium, the computer readable interpretation stores the program code, and when the program code runs on the computer, the computer is caused to execute the method in the above embodiments .
在本申请实施例中,应注意,本申请实施例上述的方法实施例可以应用于处理器中,或者由处理器实现。处理器可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法实施例的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器可以是通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现成可编程门阵列(Field programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。In the embodiments of the present application, it should be noted that the above method embodiments of the embodiments of the present application may be applied to or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the foregoing method embodiment may be completed by an integrated logic circuit of hardware in a processor or instructions in the form of software. The aforementioned processor may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), an existing programmable gate array (FPGA), or other Programming logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps, and logical block diagrams disclosed in the embodiments of the present application may be implemented or executed. The general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in conjunction with the embodiments of the present application may be directly embodied and executed by a hardware decoding processor, or may be executed and completed by a combination of hardware and software modules in the decoding processor. The software module may be located in a mature storage medium in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, or electrically erasable programmable memory, and registers. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
可以理解,本申请实施例中的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM),其用作外部高速缓存。RAM有多种不同的类型,例如静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,DR RAM)。It can be understood that the memory in the embodiments of the present application may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. Among them, the non-volatile memory may be read-only memory (read-only memory, ROM), programmable read-only memory (programmable ROM, PROM), erasable programmable read-only memory (erasable PROM, EPROM), electronically Erasable programmable read only memory (electrically EPROM, EEPROM) or flash memory. The volatile memory may be a random access memory (random access memory, RAM), which is used as an external cache. There are many different types of RAM, such as static random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (synchronous RAM, SDRAM), double data rate Synchronous dynamic random access memory (double data SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (synchlink DRAM, SLDRAM) and direct memory bus random access Take memory (direct RAMbus, RAM, DR).
应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that in various embodiments of the present application, the size of the sequence numbers of the above processes does not mean that the execution order is sequential, and the execution order of each process should be determined by its function and inherent logic, and should not be applied to the embodiments of the present application The implementation process constitutes no limitation.
本申请中出现的术语“第一”、“第二”等仅是为了区分不同的对象,“第一”、“第二”本身并不对其修饰的对象的实际顺序或功能进行限定。本申请中被描述为“示例性的”,“示例”,“例如”,“可选地”或者“在某些实现方式中”的任何实施例或设计方案都不应被解释为比其他实施例或设计方案更优选或更具优势。确切而言,使用这些词旨在以具体方式呈现相关概念。The terms "first" and "second" appearing in this application are only for distinguishing different objects, and "first" and "second" themselves do not limit the actual order or function of the objects they modify. Any embodiment or design described in this application as "exemplary," "example," "for example," "optionally," or "in some implementations" should not be construed as more effective than other implementations Examples or design solutions are more preferred or more advantageous. To be precise, the use of these words aims to present related concepts in a concrete way.
在本申请中可能出现的对各种消息/信息/设备/网元/系统/装置/操作/等各类客体进行了赋名,可以理解的是,这些具体的名称并不构成对相关客体的限定,所赋名称可随着场景,语境或者使用习惯等因素而变更,对本申请中技术术语的技术含义的理解,应主要从其在技术方案中所体现/执行的功能和技术效果来确定。Various objects that may appear in this application, such as various messages/information/equipment/network elements/systems/devices/operations/etc., can be understood that these specific names do not constitute Limited, the assigned name can be changed according to factors such as the scene, context or usage habits. The understanding of the technical meaning of the technical terms in this application should be determined mainly from the functions and technical effects embodied/executed in the technical solution .
上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品可以包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计 算机、计算机网络或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁盘)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product may include one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be from a website site, computer, server or data center Transmission to another website, computer, server or data center via wired (such as coaxial cable, optical fiber, digital subscriber (DSL)) or wireless (such as infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device including a server, a data center, and the like integrated with one or more available media. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic disk), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)), or the like.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art may realize that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in hardware or software depends on the specific application of the technical solution and design constraints. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and conciseness of the description, the specific working process of the system, device and unit described above can refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, device, and method may be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a division of logical functions. In actual implementation, there may be other divisions, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present application essentially or part of the contribution to the existing technology or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to enable a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM), random access memory (random access memory, RAM), magnetic disk or optical disk and other media that can store program codes .
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above is only the specific implementation of this application, but the scope of protection of this application is not limited to this, any person skilled in the art can easily think of changes or replacements within the technical scope disclosed in this application. It should be covered by the scope of protection of this application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (36)

  1. 一种用于测量服务质量信息的方法,其特征在于,包括:A method for measuring quality of service information, characterized in that it includes:
    终端设备发起业务数据之前,通过应用程序接口向核心网网元发送第一消息,所述第一消息用于请求测量终端设备与用户面功能网元之间的所述业务数据的服务质量QoS信息;Before initiating the service data, the terminal device sends a first message to the core network element through the application program interface, the first message is used to request to measure the quality of service QoS information of the service data between the terminal device and the user plane function network element ;
    所述终端设备通过所述应用程序接口接收所述核心网网元发送的第二消息,所述第二消息用于触发所述QoS信息的测量,或,所述第二消息包括所述QoS信息。The terminal device receives a second message sent by the core network element through the application program interface, the second message is used to trigger the measurement of the QoS information, or the second message includes the QoS information .
  2. 根据权利要求1所述的方法,其特征在于,所述第一消息包括所述终端设备的网络协议IP地址、所述业务数据的业务类型的标识、所述业务数据关联的应用标识或配置参数中的至少一种,所述配置参数包括检测报文的大小、发送检测报文的频率或发送检测报文的持续时间中的至少一种。The method according to claim 1, wherein the first message includes a network protocol IP address of the terminal device, an identification of the service type of the service data, an application identification or configuration parameter associated with the service data At least one of the configuration parameters includes at least one of a size of the detection message, a frequency of sending the detection message, or a duration of sending the detection message.
  3. 根据权利要求1或2所述的方法,其特征在于,所述第二消息用于触发所述QoS信息的测量,所述QoS信息为时延信息,在所述终端设备通过应用程序接口接收所述核心网网元发送的第二消息之后,所述方法还包括:The method according to claim 1 or 2, wherein the second message is used to trigger the measurement of the QoS information, and the QoS information is delay information, which is received by the terminal device through an application program interface. After the second message sent by the network element of the core network, the method further includes:
    所述终端设备在第一时刻,向所述用户面功能网元发送第一检测报文;The terminal device sends a first detection message to the user plane function network element at the first moment;
    所述终端设备在第二时刻,从所述用户面功能网元接收第二检测报文;At the second moment, the terminal device receives a second detection message from the user plane functional network element;
    所述终端设备根据所述第一时刻和所述第二时刻确定所述时延信息,所述时延信息为所述业务数据的时延信息。The terminal device determines the delay information according to the first time and the second time, and the delay information is the delay information of the service data.
  4. 根据权利要求3所述的方法,其特征在于,所述第二消息包括所述用户面功能网元的网络协议IP地址。The method according to claim 3, wherein the second message includes a network protocol IP address of the user plane functional network element.
  5. 根据权利要求1或2所述的方法,其特征在于,所述第二消息包括所述QoS信息,在所述终端设备通过应用程序接口接收所述核心网元网元发送的第二消息之前,所述方法还包括:The method according to claim 1 or 2, wherein the second message includes the QoS information, before the terminal device receives the second message sent by the core network element network element through the application program interface, The method also includes:
    所述终端设备从所述用户面功能网元接收第三检测报文;The terminal device receives a third detection message from the user plane functional network element;
    所述终端设备在所述第三检测报文中获取所述用户面功能网元的IP地址;The terminal device obtains the IP address of the user plane function network element in the third detection message;
    所述终端设备向所述用户面功能网元发送第四检测报文。The terminal device sends a fourth detection message to the user plane functional network element.
  6. 根据权利要求3至5中任一项所述的方法,其特征在于,第一检测报文、第二检测报文、第三检测报文和第四检测报文为因特网包探测器Ping包。The method according to any one of claims 3 to 5, wherein the first detection message, the second detection message, the third detection message, and the fourth detection message are Internet packet detector Ping packets.
  7. 一种用于测量服务质量信息的方法,其特征在于,包括:A method for measuring quality of service information, characterized in that it includes:
    策略控制功能网元从能力开放网元接收第一消息,所述第一消息用于请求测量终端设备与用户面功能网元之间的业务数据的服务质量QoS信息;The policy control function network element receives the first message from the capability opening network element, and the first message is used to request measurement of service quality QoS information of service data between the terminal device and the user plane function network element;
    所述策略控制功能网元基于所述第一消息,确定检测报文的第一转发规则,所述第一转发规则与所述业务数据的转发规则包括相同的QoS信息;Based on the first message, the policy control function network element determines a first forwarding rule for detecting a message, and the first forwarding rule and the forwarding rule of the service data include the same QoS information;
    所述策略控制功能网元通过会话管理功能网元向所述用户面功能网元发送所述第一转发规则。The policy control function network element sends the first forwarding rule to the user plane function network element through the session management function network element.
  8. 根据权利要求7所述的方法,其特征在于,所述第一消息包括所述终端设备的IP地址、所述业务类型的标识、所述业务数据关联的应用标识或配置参数中的至少一种,所 述配置参数包括:检测报文的大小、发送检测报文的频率或发送检测报文的持续时间中的至少一种,所述第一转发规则包括所述配置参数。The method according to claim 7, wherein the first message includes at least one of an IP address of the terminal device, an identifier of the service type, an application identifier associated with the service data, or a configuration parameter The configuration parameter includes at least one of a size of a detection message, a frequency of sending a detection message, or a duration of sending a detection message, and the first forwarding rule includes the configuration parameter.
  9. 根据权利要求7或8所述的方法,其特征在于,在所述策略控制功能网元通过会话管理功能网元向所述用户面功能网元发送所述第一转发规则之后,所述方法还包括:The method according to claim 7 or 8, wherein after the policy control function network element sends the first forwarding rule to the user plane function network element through the session management function network element, the method further include:
    所述策略控制功能网元向能力开放网元发送第二消息,所述第二消息用于触发所述QoS信息的测量,或,所述第二消息包括所述QoS信息。The policy control function network element sends a second message to the capability opening network element, the second message is used to trigger the measurement of the QoS information, or the second message includes the QoS information.
  10. 根据权利要求9所述的方法,其特征在于,所述第二消息用于触发所述QoS信息的测量,所述方法还包括:The method according to claim 9, wherein the second message is used to trigger the measurement of the QoS information, the method further comprising:
    所述策略控制功能网元从所述会话管理功能网元接收所述用户面功能网元的网络协议IP地址,其中,所述第二消息包括所述用户面功能网元的IP地址。The policy control function network element receives the network protocol IP address of the user plane function network element from the session management function network element, wherein the second message includes the IP address of the user plane function network element.
  11. 一种用于测量服务质量信息的方法,其特征在于,包括:A method for measuring quality of service information, characterized in that it includes:
    用户面功能网元从会话管理功能网元接收检测报文的第一转发规则,所述第一转发规则与终端设备与用户面功能网元之间的业务数据的转发规则包含相同的服务质量QoS信息;The user plane function network element receives the first forwarding rule of the detection message from the session management function network element, and the first forwarding rule and the forwarding rule of the service data between the terminal device and the user plane function network element include the same quality of service QoS information;
    所述用户面功能网元生成所述业务数据的第一检测报文;The user plane function network element generates a first detection message of the service data;
    所述用户面功能网元根据所述第一转发规则向终端设备发送所述第一检测报文。The user plane function network element sends the first detection message to the terminal device according to the first forwarding rule.
  12. 根据权利要求11所述的方法,其特征在于,所述第一转发规则包括:检测报文的大小、发送检测报文的频率或发送检测报文的持续时间中的至少一种。The method according to claim 11, wherein the first forwarding rule includes at least one of a size of the detection message, a frequency of sending the detection message, or a duration of sending the detection message.
  13. 根据权利要求11或12所述的方法,其特征在于,所述QoS信息为时延信息,所述用户面功能网元向终端设备发送所述第一检测报文,包括:The method according to claim 11 or 12, wherein the QoS information is delay information, and the user plane function network element sending the first detection message to a terminal device includes:
    所述用户面功能网元在第一时刻,向所述终端设备发送所述第一检测报文;The user plane function network element sends the first detection message to the terminal device at the first moment;
    所述方法还包括:The method also includes:
    所述用户面功能网元在第二时刻,从所述终端设备接收第二检测报文。At the second moment, the user plane functional network element receives a second detection message from the terminal device.
  14. 根据权利要求13所述的方法,其特征在于,所述第一时刻在所述第二时刻之前,所述方法还包括:The method according to claim 13, wherein the first time is before the second time, the method further comprises:
    所述用户面功能网元从所述会话管理功能网元接收第一指示信息,所述第一指示信息用于指示所述用户面功能网元测量所述时延信息;The user plane function network element receives first indication information from the session management function network element, and the first indication information is used to instruct the user plane function network element to measure the delay information;
    所述用户面功能网元根据所述第一指示信息、所述第一时刻和所述第二时刻确定所述时延信息,所述时延信息为所述业务数据的时延信息。The user plane function network element determines the time delay information according to the first indication information, the first time, and the second time, and the time delay information is time delay information of the service data.
  15. 根据权利要求14所述的方法,其特征在于,所述方法还包括:The method according to claim 14, wherein the method further comprises:
    所述用户面功能网元向所述会话管理功能网元发送所述时延信息。The user plane function network element sends the delay information to the session management function network element.
  16. 根据权利要求13至15中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 13 to 15, wherein the method further comprises:
    所述用户面功能网元从所述会话管理功能网元接收第二指示信息,所述第二指示信息用于指示所述用户面功能网元对所述第一检测报文和第二检测报文不进行计费操作。The user plane function network element receives second indication information from the session management function network element, and the second indication information is used to instruct the user plane function network element to perform the first detection message and the second detection message The text does not perform billing operations.
  17. 根据权利要求11至16中任一项所述的方法,其特征在于,第一检测报文和第二检测报文为因特网包探测器Ping包。The method according to any one of claims 11 to 16, wherein the first detection message and the second detection message are Internet packet probe Ping packets.
  18. 一种用于测量服务质量信息的装置,其特征在于,包括:An apparatus for measuring service quality information, characterized in that it includes:
    发送单元,用于在发起业务数据之前,通过应用程序接口向核心网网元发送第一消息,所述第一消息用于请求测量所述装置与用户面功能网元之间的所述业务数据的服务质量 QoS信息;The sending unit is configured to send a first message to the core network element through the application program interface before initiating the service data, where the first message is used to request measurement of the service data between the device and the user plane functional network element The quality of service QoS information;
    接收单元,用于通过所述应用程序接口接收所述核心网网元发送的第二消息,所述第二消息用于触发所述QoS信息的测量,或,所述第二消息包括所述QoS信息。A receiving unit, configured to receive a second message sent by the core network element through the application program interface, the second message is used to trigger the measurement of the QoS information, or the second message includes the QoS information.
  19. 根据权利要求18所述的装置,其特征在于,所述第一消息包括所述终端设备的网络协议IP地址、所述业务数据的业务类型的标识、所述业务数据关联的应用标识或配置参数中的至少一种,所述配置参数包括检测报文的大小、发送检测报文的频率或发送检测报文的持续时间中的至少一种。The apparatus according to claim 18, wherein the first message includes a network protocol IP address of the terminal device, an identification of a service type of the service data, an application identification or configuration parameter associated with the service data At least one of the configuration parameters includes at least one of a size of the detection message, a frequency of sending the detection message, or a duration of sending the detection message.
  20. 根据权利要求18或19所述的装置,其特征在于,所述第二消息用于触发所述QoS信息的测量,所述QoS信息为时延信息,所述发送单元还用于:The apparatus according to claim 18 or 19, wherein the second message is used to trigger the measurement of the QoS information, the QoS information is delay information, and the sending unit is further used to:
    在所述通过应用程序接口接收所述核心网网元发送的第二消息之后,在第一时刻,向所述用户面功能网元发送第一检测报文;After receiving the second message sent by the core network element through the application program interface, at a first moment, sending a first detection message to the user plane function network element;
    所述接收单元还用于:The receiving unit is also used to:
    在第二时刻,从所述用户面功能网元接收第二检测报文;At a second moment, receiving a second detection message from the user plane functional network element;
    所述装置还包括:The device also includes:
    第一处理单元,用于根据所述第一时刻和所述第二时刻确定所述时延信息,所述时延信息为所述业务数据的时延信息。The first processing unit is configured to determine the time delay information according to the first time and the second time, where the time delay information is time delay information of the service data.
  21. 根据权利要求18或19所述的装置,其特征在于,所述第二消息包括所述QoS信息,所述接收单元还用于:The apparatus according to claim 18 or 19, wherein the second message includes the QoS information, and the receiving unit is further configured to:
    在所述通过应用程序接口接收所述核心网元网元发送的第二消息之前,从所述用户面功能网元接收第三检测报文;Before receiving the second message sent by the core network element network element through the application program interface, receiving a third detection message from the user plane function network element;
    所述装置还包括:The device also includes:
    第二处理单元,用于在所述第三检测报文中获取所述用户面功能网元的IP地址;A second processing unit, configured to obtain the IP address of the user plane functional network element in the third detection message;
    所述发送单元还用于:向所述用户面功能网元发送第四检测报文。The sending unit is further configured to send a fourth detection message to the user plane function network element.
  22. 一种用于测量服务质量信息的装置,其特征在于,包括:An apparatus for measuring service quality information, characterized in that it includes:
    收发单元,用于从能力开放网元接收第一消息,所述第一消息用于请求测量终端设备与用户面功能网元之间的业务数据的服务质量QoS信息;The transceiver unit is configured to receive a first message from a capability open network element, and the first message is used to request measurement of service quality QoS information of service data between the terminal device and the user plane functional network element;
    处理单元,用于所述策略控制功能网元基于所述第一消息,确定检测报文的第一转发规则,所述第一转发规则与所述业务数据的转发规则包括相同的QoS信息;A processing unit for the policy control function network element to determine a first forwarding rule for detecting packets based on the first message, the first forwarding rule and the forwarding rule of the service data including the same QoS information;
    所述收发单元还用于:通过会话管理功能网元向所述用户面功能网元发送所述第一转发规则。The transceiver unit is further configured to send the first forwarding rule to the user plane function network element through the session management function network element.
  23. 根据权利要求22所述的装置,其特征在于,所述第一消息包括所述终端设备的IP地址、所述业务类型的标识、所述业务数据关联的应用标识或配置参数中的至少一种,所述配置参数包括:检测报文的大小、发送检测报文的频率或发送检测报文的持续时间中的至少一种,所述第一转发规则包括所述配置参数。The apparatus according to claim 22, wherein the first message includes at least one of an IP address of the terminal device, an identifier of the service type, an application identifier associated with the service data, or a configuration parameter The configuration parameter includes at least one of a size of a detection message, a frequency of sending a detection message, or a duration of sending a detection message, and the first forwarding rule includes the configuration parameter.
  24. 根据权利要求22或23所述的装置,其特征在于,所述收发单元还用于:The apparatus according to claim 22 or 23, wherein the transceiver unit is further used to:
    在所述通过会话管理功能网元向所述用户面功能网元发送所述第一转发规则之后,向能力开放网元发送第二消息,所述第二消息用于触发所述QoS信息的测量,或,所述第二消息包括所述QoS信息。After the first forwarding rule is sent to the user plane function network element through the session management function network element, a second message is sent to the capability opening network element, and the second message is used to trigger the measurement of the QoS information Or, the second message includes the QoS information.
  25. 根据权利要求24所述的装置,其特征在于,所述第二消息用于触发所述QoS信 息的测量,所述收发单元还用于:The apparatus according to claim 24, wherein the second message is used to trigger the measurement of the QoS information, and the transceiver unit is further used to:
    从所述会话管理功能网元接收所述用户面功能网元的网络协议IP地址,其中,所述第二消息包括所述用户面功能网元的IP地址。Receiving a network protocol IP address of the user plane functional network element from the session management function network element, wherein the second message includes the IP address of the user plane functional network element.
  26. 一种用于测量服务质量信息的装置,其特征在于,包括:An apparatus for measuring service quality information, characterized in that it includes:
    收发单元,用于从会话管理功能网元接收检测报文的第一转发规则,所述第一转发规则与终端设备与用户面功能网元之间的业务数据的转发规则包含相同的服务质量QoS信息;The transceiver unit is used to receive the first forwarding rule of the detection message from the session management function network element, and the first forwarding rule and the forwarding rule of the service data between the terminal device and the user plane functional network element include the same quality of service information;
    处理单元,用于根据生成所述业务数据的第一检测报文;A processing unit, configured to generate a first detection message according to the business data;
    所述收发单元还用于根据所述第一转发规则向终端设备发送所述第一检测报文。The transceiver unit is further configured to send the first detection message to the terminal device according to the first forwarding rule.
  27. 根据权利要求26所述的装置,其特征在于,所述第一转发规则包括:检测报文的大小、发送检测报文的频率或发送检测报文的持续时间中的至少一种。The apparatus according to claim 26, wherein the first forwarding rule includes at least one of a size of the detection message, a frequency of sending the detection message, or a duration of sending the detection message.
  28. 根据权利要求26或27所述的装置,其特征在于,所述QoS信息为时延信息,所述收发单元具体用于:The apparatus according to claim 26 or 27, wherein the QoS information is delay information, and the transceiver unit is specifically configured to:
    在第一时刻,向所述终端设备发送所述第一检测报文;At the first moment, sending the first detection message to the terminal device;
    在第二时刻,从所述终端设备接收第二检测报文。At the second moment, a second detection message is received from the terminal device.
  29. 根据权利要求28所述的装置,其特征在于,所述第一时刻在所述第二时刻之前,所述收发单元还用于:The apparatus according to claim 28, wherein the first time is before the second time, and the transceiver unit is further configured to:
    从所述会话管理功能网元接收第一指示信息,所述第一指示信息用于指示所述用户面功能网元测量所述时延信息;Receiving first indication information from the session management function network element, where the first indication information is used to instruct the user plane function network element to measure the delay information;
    所述处理单元还用于:根据所述第一指示信息、所述第一时刻和所述第二时刻确定所述时延信息,所述时延信息为所述业务数据的时延信息。The processing unit is further configured to determine the time delay information according to the first indication information, the first time, and the second time, and the time delay information is time delay information of the service data.
  30. 根据权利要求28或29所述的装置,其特征在于,所述收发单元还用于:The apparatus according to claim 28 or 29, wherein the transceiver unit is further used to:
    从所述会话管理功能网元接收第二指示信息,所述第二指示信息用于指示所述用户面功能网元对所述第一检测报文和第二检测报文不进行计费操作。Receiving second indication information from the session management function network element, where the second indication information is used to instruct the user plane function network element not to perform a charging operation on the first detection message and the second detection message.
  31. 一种通信装置,其特征在于,包括处理器和存储器,所述处理器与所述存储器耦合,所述存储器用于存储计算机程序或指令,所述处理器用于执行存储器中的所述计算机程序或指令,使得权利要求1至6中任一项所述的方法被执行。A communication device, characterized in that it includes a processor and a memory, the processor is coupled to the memory, the memory is used to store a computer program or instruction, and the processor is used to execute the computer program or The instruction causes the method according to any one of claims 1 to 6 to be executed.
  32. 一种通信装置,其特征在于,包括处理器和存储器,所述处理器与所述存储器耦合,所述存储器用于存储计算机程序或指令,所述处理器用于执行存储器中的所述计算机程序或指令,使得权利要求7至10中任一项所述的方法被执行。A communication device, characterized in that it includes a processor and a memory, the processor is coupled to the memory, the memory is used to store a computer program or instruction, and the processor is used to execute the computer program or The instruction causes the method of any one of claims 7 to 10 to be executed.
  33. 一种通信装置,其特征在于,包括处理器和存储器,所述处理器与所述存储器耦合,所述存储器用于存储计算机程序或指令,所述处理器用于执行存储器中的所述计算机程序或指令,使得权利要求11至17中任一项所述的方法被执行。A communication device, characterized in that it includes a processor and a memory, the processor is coupled to the memory, the memory is used to store a computer program or instruction, and the processor is used to execute the computer program or The instruction causes the method of any one of claims 11 to 17 to be executed.
  34. 一种计算机可读存储介质,其特征在于,存储有用于实现权利要求1至6中任一项所述的方法的程序或者指令。A computer-readable storage medium characterized by storing a program or instructions for implementing the method according to any one of claims 1 to 6.
  35. 一种计算机可读存储介质,其特征在于,存储有用于实现权利要求7至10中任一项所述的方法的程序或者指令。A computer-readable storage medium characterized by storing a program or instructions for implementing the method according to any one of claims 7 to 10.
  36. 一种计算机可读存储介质,其特征在于,存储有用于实现权利要求11至17中任一项所述的方法的程序或者指令。A computer-readable storage medium characterized by storing a program or instructions for implementing the method according to any one of claims 11 to 17.
PCT/CN2019/123161 2018-12-10 2019-12-05 Method and apparatus for measuring quality of service information WO2020119564A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811501737.6 2018-12-10
CN201811501737.6A CN111294224B (en) 2018-12-10 2018-12-10 Method and apparatus for measuring quality of service information

Publications (1)

Publication Number Publication Date
WO2020119564A1 true WO2020119564A1 (en) 2020-06-18

Family

ID=71024659

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/123161 WO2020119564A1 (en) 2018-12-10 2019-12-05 Method and apparatus for measuring quality of service information

Country Status (2)

Country Link
CN (1) CN111294224B (en)
WO (1) WO2020119564A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112995062A (en) * 2021-02-07 2021-06-18 中国银联股份有限公司 Data transmission method and device
CN114697202A (en) * 2020-12-31 2022-07-01 华为技术有限公司 Detection method and device
WO2023143255A1 (en) * 2022-01-28 2023-08-03 华为技术有限公司 Communication method and apparatus

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113950039B (en) * 2020-07-15 2023-02-10 华为技术有限公司 Information transmission method, device and storage medium
CN114258059A (en) * 2020-09-22 2022-03-29 中兴通讯股份有限公司 Time delay measuring method and device, network communication equipment and storage medium
US11895528B2 (en) * 2020-09-23 2024-02-06 Electronics And Telecommunications Research Institute Method of creating QoS flow for time synchronization protocol in wireless communication network
CN112311598A (en) * 2020-10-29 2021-02-02 亚信科技(中国)有限公司 Data information analysis method and device in network
CN114930884A (en) * 2020-11-30 2022-08-19 北京小米移动软件有限公司 Method, device, communication equipment and storage medium for initiating service
CN115022224A (en) * 2021-02-19 2022-09-06 中国移动通信有限公司研究院 Session establishment processing method, device and equipment
CN115696468A (en) * 2021-07-23 2023-02-03 华为技术有限公司 Communication method and communication device
CN113784396A (en) * 2021-09-10 2021-12-10 腾讯科技(深圳)有限公司 Data processing method and device and readable storage medium
CN114189908A (en) * 2021-12-17 2022-03-15 中国联合网络通信集团有限公司 Communication method, device, equipment and storage medium
CN117376201A (en) * 2022-06-30 2024-01-09 中兴通讯股份有限公司 Time delay measuring method, time delay measuring device and storage medium
CN115767614B (en) * 2022-11-15 2023-12-15 广州爱浦路网络技术有限公司 Communication system, method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104335528A (en) * 2012-06-27 2015-02-04 英特尔公司 Network capability notification
CN107018542A (en) * 2017-03-27 2017-08-04 中兴通讯股份有限公司 The processing method of status information, device and storage medium in network system
US20170238188A1 (en) * 2016-02-12 2017-08-17 Verizon Patent And Licensing Inc. Disabling user equipment radio communication over an unlicensed radio frequency spectrum band during wlan operations
CN108781381A (en) * 2016-04-04 2018-11-09 高通股份有限公司 Service quality in wireless network(QOS)Management

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100459528C (en) * 2005-07-14 2009-02-04 华为技术有限公司 Method for inspecting Qos in telecommunication network
CN103378991B (en) * 2012-04-17 2017-11-24 碁震(上海)云计算科技有限公司 A kind of online service method for monitoring abnormality and its monitoring system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104335528A (en) * 2012-06-27 2015-02-04 英特尔公司 Network capability notification
US20170238188A1 (en) * 2016-02-12 2017-08-17 Verizon Patent And Licensing Inc. Disabling user equipment radio communication over an unlicensed radio frequency spectrum band during wlan operations
CN108781381A (en) * 2016-04-04 2018-11-09 高通股份有限公司 Service quality in wireless network(QOS)Management
CN107018542A (en) * 2017-03-27 2017-08-04 中兴通讯股份有限公司 The processing method of status information, device and storage medium in network system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ERMENG ZHANG ET AL: "Technique and Implement Method of QoS Based on P2P Streaming Media Transmission", SCIENCE TECHNOLOGY AND ENGINEERING, vol. 8, no. 08, 30 April 2008 (2008-04-30), pages 2107 - 2111, XP009521504, ISSN: 1671-1815 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114697202A (en) * 2020-12-31 2022-07-01 华为技术有限公司 Detection method and device
CN114697202B (en) * 2020-12-31 2023-09-29 华为技术有限公司 Detection method and device
CN112995062A (en) * 2021-02-07 2021-06-18 中国银联股份有限公司 Data transmission method and device
US11968125B2 (en) 2021-02-07 2024-04-23 China Unionpay Co., Ltd. Data transmission method and apparatus
WO2023143255A1 (en) * 2022-01-28 2023-08-03 华为技术有限公司 Communication method and apparatus

Also Published As

Publication number Publication date
CN111294224B (en) 2022-04-22
CN111294224A (en) 2020-06-16

Similar Documents

Publication Publication Date Title
WO2020119564A1 (en) Method and apparatus for measuring quality of service information
JP7118237B2 (en) Communication method and communication device
WO2020020263A1 (en) Data collection method, device, and system
WO2020248828A1 (en) Communication method, device, and system
US20220217611A1 (en) Service Configuration Method, Communication Apparatus, and Communication System
WO2023280121A1 (en) Method and apparatus for obtaining edge service
WO2021057128A1 (en) Nf-based communication method and device, and storage medium
WO2019196817A1 (en) Location method and related device
WO2021223673A1 (en) Data transmission method and apparatus
WO2019149063A1 (en) Data transmission method, communication apparatus, and user-plane functional entity
US11882234B2 (en) Method and apparatus for granting or not granting a chargeable party at a session management with required quality of service utilizing a MAC address
JP2023526415A (en) Slice access method, apparatus and system
WO2019137549A1 (en) Communication method and communication apparatus
US11612006B2 (en) Routing method and device
WO2021068830A1 (en) Multicast transport method and apparatus
US20220408303A1 (en) Terminal Device, Application Server, Network Exposure Function Node and Methods Therein
WO2020088594A1 (en) Method and apparatus for data transmission
WO2023179238A1 (en) Timing method, communication apparatus, and communication system
EP2953386A1 (en) Billing method, access network device and gateway device
WO2023284551A1 (en) Communication method, device and system
US20230042506A1 (en) Deterministic quality of service
CN115918109A (en) Positioning method, communication device and communication system
CN112449366A (en) Message forwarding method and device, wireless AP (access point) equipment and storage medium
WO2023104123A1 (en) Communication method and apparatus, and device
WO2023130677A1 (en) Information receiving method, information sending method, communication node, and storage medium

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: 19897449

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19897449

Country of ref document: EP

Kind code of ref document: A1