WO2022057727A1 - Network quality determination method and apparatus, electronic device and readable storage medium - Google Patents

Network quality determination method and apparatus, electronic device and readable storage medium Download PDF

Info

Publication number
WO2022057727A1
WO2022057727A1 PCT/CN2021/117590 CN2021117590W WO2022057727A1 WO 2022057727 A1 WO2022057727 A1 WO 2022057727A1 CN 2021117590 W CN2021117590 W CN 2021117590W WO 2022057727 A1 WO2022057727 A1 WO 2022057727A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
network
node
speed measurement
delay
Prior art date
Application number
PCT/CN2021/117590
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 WO2022057727A1 publication Critical patent/WO2022057727A1/en

Links

Images

Classifications

    • 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/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0894Packet rate
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Definitions

  • the present disclosure relates to the field of communication technologies, and in particular, to a network quality determination method, apparatus, electronic device, and readable storage medium.
  • Embodiments of the present disclosure provide a network quality determination method, apparatus, electronic device, and readable storage medium, which can perform multi-dimensional measurement of network quality when a target device performs a target service without increasing the load of a target server.
  • An embodiment of the present disclosure provides a method for determining network quality, which is performed by an electronic device.
  • the method includes: acquiring a first target speed measurement node and a second target speed measurement node of a target device for a target service, the first target speed measurement node and the corresponding to the target network exit node of the operator network in the first area where the target device is located, and the second target speed measurement node corresponds to the target server processing the target service; according to the data sent by the target device to the first target speed measurement node The first speed measurement signal, to determine the operator network delay from the target device to the target network exit node; according to the second speed measurement signal sent by the target device to the second target speed measurement node, determine the target device to The end-to-end network delay of the target server; the network quality when the target device executes the target service is determined according to the operator network delay and the end-to-end network delay.
  • An embodiment of the present disclosure provides an apparatus for determining network quality, including:
  • a speed measuring node acquisition module configured to obtain the first target speed measuring node and the second target speed measuring node of the target device for the target service, the first target speed measuring node and the target network exit of the operator network in the first area where the target device is located Node correspondence, the second target speed measurement node corresponds to the target server processing the target service;
  • an operator network delay acquisition module configured to determine the operator network delay from the target device to the target network exit node according to the first speed measurement signal sent by the target device to the first target speed measurement node;
  • an end-to-end network delay acquisition module configured to determine the end-to-end network delay from the target device to the target server according to the second speed measurement signal sent by the target device to the second target speed measurement node;
  • a network quality determination module configured to determine the network quality when the target device performs the target service according to the operator network delay and the end-to-end network delay.
  • the speed measurement node obtaining module may include: a first target speed measurement node determination submodule and a second target speed measurement node determination submodule.
  • the first target speed measurement node determination sub-module may be configured to determine the first target speed measurement node corresponding to the target network exit according to the target public network address of the target network exit node.
  • the second target speed measurement node determination submodule may be configured to determine a second target speed measurement node corresponding to the target server according to the target server address of the target server.
  • the first target speed measurement node determination submodule may include: a first geographic location determination unit and a first target speed measurement node determination unit.
  • the first geographic location determining unit may be configured to determine the first geographic location where the target network exit is located according to the target public network address.
  • the first target speed measurement node determination unit may be configured to determine the first target speed measurement node according to the first geographic location.
  • the first target speed measurement node determination unit may include: a first judgment subunit.
  • the first judging subunit may be configured to determine the first target speed measuring node from among the speed measuring nodes in the first geographic location if there is a speed measuring node in the first geographic location.
  • the first target speed measurement node determination unit may include: a second determination unit.
  • the second judging unit may be configured to use the speed measuring node closest to the first geographic location as the first target speed measuring node if there is no speed measuring node in the first geographic location.
  • the second target speed measurement node determination sub-module may include: a second geographic location determination unit and a second target speed measurement node determination unit.
  • the second geographic location determining unit may be configured to determine the second geographic location where the target server is located according to the address of the target server.
  • the second target speed measurement node determination unit may be configured to determine the second target speed measurement node according to the second geographic location.
  • the communication between the target server and the target network exit node is through a backbone network.
  • the network quality determination module may include: a backbone network network delay acquisition submodule and a network quality determination submodule.
  • the backbone network delay acquisition sub-module may be configured to determine the backbone network delay from the target network exit to the target server according to the operator network delay and the end-to-end network delay .
  • the network quality determination sub-module may be configured to determine the network quality when the target device performs the target service according to the operator network delay, the end-to-end network delay and the backbone network delay .
  • the network quality determination sub-module may include: an operator network quality determination unit, an end-to-end network quality determination unit, and a backbone network quality determination unit.
  • the operator network quality determination unit may be configured to determine the operator network quality from the target device to the target network exit according to the operator network delay, so as to determine the operator network quality according to the operator network quality optimize.
  • the end-to-end network quality determining unit may be configured to determine the end-to-end network quality from the target device to the target server according to the end-to-end network delay, so that the end-to-end network quality can be matched according to the end-to-end network quality.
  • the end network is optimized.
  • the backbone network quality determining unit may be configured to determine the backbone network quality from the target network to the target server according to the backbone network delay, so as to optimize the backbone network according to the backbone network quality.
  • the operator network delay includes the operator network delay at the current moment and the operator network average delay.
  • the operator's network quality determination unit may include: an abnormality judgment subunit, an abnormality information generation subunit, and a display subunit.
  • the abnormality judging subunit may be configured to determine that the target device is at the current moment if the fluctuation of the operator's network delay at the current moment compared with the average delay of the operator's network is greater than a target threshold
  • the network to the target network exit is abnormal.
  • the abnormality information generating subunit may be configured to generate network abnormality reminder information.
  • the display subunit may be configured to display the network abnormality reminder information on the target device.
  • An embodiment of the present disclosure provides an electronic device, the electronic device includes: one or more processors; and a storage device for storing one or more programs, when the one or more programs are processed by the one or more programs The processor executes, so that the one or more processors implement the network quality determination method described in any one of the above.
  • An embodiment of the present disclosure provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, implements the network quality determination method described in any one of the above.
  • Embodiments of the present disclosure provide a computer program product or computer program, where the computer program product or computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium.
  • the processor of the electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device executes the above network quality determination method.
  • the network quality determination method, device, electronic device, and readable storage medium determine the target according to the operator network delay from the target device to the target network exit node and the end-to-end network delay from the target device to the target server
  • the network quality when the device executes the target service wherein the operator network delay and the end-to-end network delay are determined according to the first target speed measurement node and the second target speed measurement node respectively; since the network quality is determined by the operator network delay and the end-to-end network delay, therefore, the network quality can include not only the network quality from the target device to the target network exit node, but also the network quality from the target device to the target server; at the same time, the above-mentioned end-to-end network delay is Determined by the speed measurement node set corresponding to the target network exit node and the target server, the target device does not need to directly send a test signal to the target server; Multi-dimensional measurement of the network quality when the device executes the target service.
  • FIG. 1 shows a schematic diagram of an exemplary system architecture of a network quality determination method or a network quality determination apparatus that can be applied to an embodiment of the present disclosure.
  • Fig. 2 is a schematic structural diagram of a computer system applied to an apparatus for determining network quality according to an exemplary embodiment.
  • FIG. 3 is a schematic structural diagram of a method for determining network quality according to the related art.
  • Fig. 4 is a flow chart of a method for determining network quality according to an exemplary embodiment.
  • Fig. 5 is a schematic structural diagram of a method for determining network quality according to an exemplary embodiment.
  • FIG. 6 is a flowchart of step S1 in FIG. 4 in an exemplary embodiment.
  • FIG. 7 is a flowchart of step S4 in FIG. 4 in an exemplary embodiment.
  • FIG. 8 is a flowchart of step S4 in FIG. 4 in an exemplary embodiment.
  • Fig. 9 is an architecture diagram showing a network quality determination according to an exemplary embodiment.
  • Fig. 10 is a schematic diagram showing a network quality determination structure according to an exemplary embodiment.
  • Fig. 11 is a block diagram of an apparatus for determining network quality according to an exemplary embodiment.
  • Example embodiments will now be described more fully with reference to the accompanying drawings.
  • Example embodiments can be embodied in various forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art.
  • the same reference numerals in the drawings denote the same or similar parts, and thus their repeated descriptions will be omitted.
  • the terms “a”, “an”, “the”, “the” and “at least one” are used to indicate the presence of one or more elements/components/etc.; the terms “comprising”, “including” and “Having” is used to indicate an open-ended inclusive meaning and to mean that there may be additional elements/components/etc. in addition to the listed elements/components/etc.; the terms “first”, “secondary” “ and “Third” etc. are used only as markers, not as restrictions on the number of their objects.
  • Fig. 1 shows a schematic diagram of an exemplary system architecture that can be applied to a network quality determination method or a network quality determination apparatus according to an embodiment of the present disclosure.
  • the system architecture 100 may include a target device 101 , a first target speed measurement node 102 , a second target speed measurement node 103 , a network 104 and a server 105 .
  • the network 104 is used to provide a medium of communication links between the target device 101 , the first target speed measuring node 102 , the second target speed measuring node 103 and the server 105 .
  • the network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
  • the user can use the target device 101 to interact with the server 105 through the network 104 to receive or send messages and the like.
  • the target device 101 can be various electronic devices that can perform network communication, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, wearable devices, virtual reality devices, smart homes, smart speakers, etc. Wait.
  • the first target speed measurement node may correspond to the target network exit node of the operator network in the first area where the target device 101 is located (for example, the first target speed measurement node may be set in the same computer room as the target network exit node, and may be set in the same computer room as the target network exit node.
  • the first target speed measurement node can be used to receive and return the speed measurement signal transmitted by the target device 101 to detect the network quality of the target device.
  • the second target speed measurement node may correspond to the target server processing the target service in the target device 101 (for example, the second target speed measurement node may be set in the same computer room as the target server, in the same cell as the target network exit node, in the same city or county, etc. This disclosure is not limited), the second target speed measurement node can be used to receive and return the speed measurement signal transmitted by the target device 101, so as to detect the network quality of the target device.
  • the server 105 may be a server that provides various services, such as a background management server that provides support for devices operated by the user using the target device 101 .
  • the background management server can analyze and process the received request and other data, and feed back the processing result to the target device.
  • the server can be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud service, cloud database, cloud computing, cloud function, cloud storage, network service, cloud communication, intermediate Software services, domain name services, security services, Content Delivery Network (CDN), and cloud servers for basic cloud computing services such as big data and artificial intelligence platforms, etc., are not limited in this disclosure.
  • the target device 101 or the server 105 may determine the network quality when the target device performs the target service according to the operator network delay and the end-to-end network delay; The delay from the target device to the exit node of the target network determined by the first speed measurement signal sent by the first target speed measurement node; the first target speed measurement node corresponds to the target network exit node of the operator network in the first area where the target device is located; The end network delay is determined based on the second speed measurement signal sent by the target device to the second target speed measurement node, and the delay from the target device to the target server; the second target speed measurement node corresponds to the target server processing the target service.
  • the server 105 may obtain, for example, the first target speed measurement node and the second target speed measurement node of the target device for the target service, the first target speed measurement node corresponds to the target network exit node of the operator network in the first area where the target device is located, and the second target speed measurement node corresponds to the target network exit node of the operator network in the first region where the target device is located.
  • the target speed measuring node corresponds to the target server processing the target service, the target server is in the second area, and the first area and the second area communicate through the backbone network, or in other words, the target server and the target network exit node communicate through the backbone network;
  • the server 105 may, for example, determine the operator network delay from the target device to the target network exit node according to the first speed measurement signal sent by the target device to the first target speed measurement node;
  • the second speed measurement signal determines the end-to-end network delay from the target device to the target server;
  • the server 105 may, for example, determine the network quality when the target device performs the target service according to the operator network delay and the end-to-end network delay.
  • the steps performed by the above server 105 may also be performed by the target device 101 . That is, the target device 101 can obtain the first target speed measurement node and the second target speed measurement node by itself; after that, the target device sends the first speed measurement signal to the first target speed measurement node to determine the operation of the target device to the target network exit node. carrier network delay, and send a second speed measurement signal to the second target speed measurement node to determine the end-to-end network delay from the target device to the target server; The network delay determines the network quality when the target device performs the target service.
  • the above solution for determining the network quality when the target device executes the target service may also be executed by the target device 101 and the server 105 interactively. That is to say, the above-mentioned target device 101 and the server 105 may respectively execute some steps in the above-mentioned solution.
  • the above-mentioned target device 101 may determine at least one of the operator network delay and the end-to-end network delay according to the speed measurement signal, and send the determined network delay to the server 105, and the server 105 determines that the target device executes the target service the network quality at the time.
  • the server 105 may be an entity server, or may be composed of multiple servers, and may have any number of target devices, network and server.
  • FIG. 2 shows a schematic structural diagram of a computer system 200 suitable for implementing a terminal device according to an embodiment of the present application.
  • the terminal device shown in FIG. 2 is only an example, and should not impose any limitations on the functions and scope of use of the embodiments of the present application.
  • the computer system 200 includes a central processing unit (Central Processing Unit, CPU) 201, which can be loaded into a random device according to a program stored in a read-only memory (Read-Only Memory, ROM) 202 or from a storage part 208 Various appropriate actions and processes are performed by accessing programs in a memory (Random Access Memory, RAM) 203 .
  • RAM Random Access Memory
  • various programs and data required for the operation of the system 200 are also stored.
  • the CPU 201, the ROM 202, and the RAM 203 are connected to each other through a bus 204.
  • An Input/Output (I/O) interface 205 is also connected to the bus 204 .
  • the following components are connected to the I/O interface 205: an input section 206 including a keyboard, a mouse, etc.; an output section 207 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc. ; a storage section 208 including a hard disk, etc.; and a communication section 209 including a network interface card such as a local area network (Local Area Network, LAN) card, a modem, and the like.
  • the communication section 209 performs communication processing via a network such as the Internet.
  • a drive 210 is also connected to the I/O interface 205 as needed.
  • a removable medium 211 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is mounted on the drive 210 as needed so that a computer program read therefrom is installed into the storage section 208 as needed.
  • embodiments of the present disclosure include a computer program product comprising a computer program carried on a computer-readable storage medium, the computer program containing program code for performing the method illustrated in the flowchart.
  • the computer program may be downloaded and installed from the network via the communication portion 209 and/or installed from the removable medium 211 .
  • the central processing unit (CPU) 201 the above-described functions defined in the system of the present application are executed.
  • the computer-readable storage medium shown in this application may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two.
  • the computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above.
  • Computer readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Programmable Read-Only Memory (Erasable Programmable Read-Only Memory, EPROM or Flash), Optical Fiber, Portable Compact Disc Read-Only Memory (CD-ROM), Optical Storage Device, Magnetic Storage Device, or any of the above suitable combination.
  • a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code therein. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a computer-readable signal medium can also be any computer-readable storage medium other than a computer-readable storage medium that can be sent, propagated, or transmitted for use by or in connection with the instruction execution system, apparatus, or device program of.
  • the program code embodied on the computer-readable storage medium can be transmitted by any suitable medium, including but not limited to: wireless, wire, optical fiber cable, radio frequency (RF), etc., or any suitable combination of the above.
  • each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more logical functions for implementing the specified functions executable instructions.
  • the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.
  • modules and/or sub-modules and/or units and/or sub-units described in the embodiments of the present application may be implemented in software or hardware.
  • the described modules and/or sub-modules and/or units and/or sub-units can also be provided in the processor, for example, it can be described as: a processor includes a sending unit, an obtaining unit, a determining unit and a first processing unit .
  • a processor includes a sending unit, an obtaining unit, a determining unit and a first processing unit .
  • the names of these modules and/or submodules and/or units and/or subunits do not constitute limitations on the modules and/or submodules and/or units and/or subunits themselves under certain circumstances.
  • the present application also provides a computer-readable storage medium.
  • the computer-readable storage medium may be included in the device described in the above embodiments; it may also exist alone without being assembled into the device. middle.
  • the above-mentioned computer-readable storage medium carries one or more programs, and when the above-mentioned one or more programs are executed by a device, the device can realize functions including: obtaining the first target speed measurement node and the first target speed measurement node of the target device for the target service.
  • the first target speed measurement node corresponds to the target network exit node of the operator network in the first area where the target device is located
  • the second target speed measurement node corresponds to the target server processing the target service, the target server is located in the second area, the first Communication between one area and the second area is through the backbone network; according to the first speed measurement signal sent by the target device to the first target speed measurement node, determine the operator network delay from the target device to the exit node of the target network;
  • the second speed measurement signal sent by the target speed measurement node determines the end-to-end network delay from the target device to the target server; the network quality when the target device performs the target service is determined according to the operator network delay and the end-to-end network delay.
  • 5G Fifth Generation mobile networks, fifth generation mobile communication technology
  • 5G Fifth Generation mobile networks, fifth generation mobile communication technology
  • the target operator may deploy the operator network 302 shown in FIG. 3 in different provinces, cities and other regions respectively.
  • the target operator may deploy an operator network in province A, and may also deploy an operator network in city B, which is not limited in this disclosure. It can be understood that all communication devices located in province A (or city B) using the target operator can communicate through the operator network of the target operator in province A (or city B).
  • the operator network 302 of the target operator in the target area may include an access network, a bearer network, a core network, etc. composed of various base stations, and the core network may transmit information to an external network through an exit node of the target network .
  • the target network exit node of the operator's network core network may be a UPF (User Plane Function, user plane function) node.
  • the user plane function UPF can implement the network address translation function, that is, it can convert the internal website address of the operator's network into a public network address.
  • operator networks set up by different operators in different regions are closed and not open to the outside world, and network elements in the operator network are usually not known to the outside world.
  • the related art in order to determine the network quality of the terminal device when running the target service, the related art usually uses the target server 304 processing the target service as the speed measurement point, and the terminal 301 directly sends the target server 304 via the operator network 302 and the backbone network 303 to the target server 304. Initiate speed measurement, and evaluate network quality by observing the round-trip time of service packets or speed measurement packets as the network delay.
  • a large number of terminals sending speed measurement requests to the target server 304 at the same time will easily cause load pressure on the target server 304 and affect the operation of the background business process.
  • the load of the target server 304 affects the processing time of the speed measurement packet, which may cause distortion of the speed measurement data.
  • the speed measurement initiated by a large number of terminals on the background server 304 will occupy the server bandwidth and affect the actual business.
  • the speed measurement granularity is low, only the end-to-end (terminal to target server) network status changes can be sensed, and the network bottleneck cannot be further located.
  • the embodiment of the present disclosure provides a method for determining network quality, which completes the speed measurement of the terminal device for the target service without affecting the actual service processing speed of the target server 304 .
  • Fig. 4 is a flow chart of a method for determining network quality according to an exemplary embodiment.
  • the method provided in this embodiment of the present disclosure can be executed by any electronic device with computing processing capability.
  • the method can be executed by the server or the target device in the above-mentioned embodiment of FIG. 1, or can be executed jointly by the server and the target device, This disclosure does not limit this.
  • the following network quality determination method may be performed by a speed measurement controller, where the test controller may be a server deployed in the cloud through cloud technology, and may communicate with each speed measurement node, target terminal, target Servers, etc. perform signaling interaction, and process the information transmitted by the target speed measuring node, target terminal, target server, etc. through cloud computing.
  • the test controller may be a server deployed in the cloud through cloud technology, and may communicate with each speed measurement node, target terminal, target Servers, etc. perform signaling interaction, and process the information transmitted by the target speed measuring node, target terminal, target server, etc. through cloud computing.
  • speed measuring nodes (including a first speed measuring node and a second speed measuring node) need to be arranged in advance, wherein the first speed measuring node may be arranged at the network exit node of the operator network in each area (e.g. UPF in 5G networks).
  • the first speed measuring node may be arranged in the computer room where the network exit node is located, or the first speed measuring node may be arranged in the city where the network exit node is located.
  • each operator will arrange its own network exit nodes in various provincial capitals and key cities that need to sink (such as a municipality directly under the central government, an economic development area, etc.). If the specific locations of the network exit nodes of each operator are not known in advance, multiple first speed measuring nodes can be randomly arranged in each civil capital and key city.
  • the second speed measuring node may be arranged in the computer room where each target server is located.
  • the second speed measuring node may be arranged in the computer room where the target server is located, or the second speed measuring node may be arranged in the city where the target server is located, which is not limited in the present disclosure.
  • multiple second speed measuring nodes may be randomly arranged in each provincial capital and each major city, so that the second speed measuring nodes are as close to the location of the target server as possible.
  • the first speed measuring node and the second speed measuring node may be the same or different, which is not limited in the present disclosure.
  • the network quality determination method provided by the embodiment of the present disclosure may include the following steps.
  • step S1 the first target speed measurement node and the second target speed measurement node of the target device for the target service are obtained, the first target speed measurement node corresponds to the target network exit node of the operator network in the first area where the target device is located, and the second target speed measurement node corresponds to The speed measuring node corresponds to the target server processing the target service, the target server is located in the second area, and the first area and the second area communicate through the backbone network.
  • the communication between the first area and the second area through the backbone network may refer to the communication between the target server and the target network exit node through the backbone network.
  • the target device may refer to any device that needs to perform network speed measurement, such as a mobile phone, a computer, a smart speaker, a smart watch, etc., which is not limited in the present disclosure.
  • the target service may refer to any service in the target device that requires network speed measurement, such as target game service, target audio service, target video service, target social service, etc., which is not limited in the present disclosure.
  • network signals in the first area may pass through the target network exit nodes to the backbone network, and then communicate with the second area (such as the second area) via the backbone network target server in the region) for network communication.
  • the target network exit node may be, for example, a network exit node of a 5G network (such as a UPF node) or a network exit node of a 4G network; it may be a network exit node of a mobile network or a fixed network network.
  • the exit node may also be a network exit node of other networks, which is not limited in the present disclosure.
  • a speed measurement request can be sent to the speed measurement controller, and the speed measurement request can be passed through the target network exit of the operator network where the target device is located.
  • the target network exit will allocate a public network address for the speed measurement request, and the public network address carries the geographic location information of the target network exit
  • the speed measurement controller can be based on the speed measurement request.
  • the network address determines the geographical location of the target network exit node; the speed measurement controller selects a first speed measurement node that is geographically close to the target network exit node (3021 shown in Figure 5) and has less load according to the geographical location of the target network exit As the first target speed measurement node of the target device (3022 shown in Figure 5); the speed measurement controller can also determine the geographical location of the target server according to the address of the target server corresponding to the target service in the speed measurement request, and the speed measurement controller The geographic location selection selects a second speed measuring node that is closer to the target server (3011 shown in FIG. 5 ) and has less load as the second target speed measuring node of the target device (3012 shown in FIG. 5 ).
  • step S2 the operator network delay from the target device to the target network exit node is determined according to the first speed measurement signal sent by the target device to the first target speed measurement node.
  • the speed measurement controller determines the first target speed measurement node and the second target speed measurement node for the target device, it will send the address of the first target speed measurement node and the address of the second target speed measurement node to the target device.
  • the target device ie, the terminal 301 in FIG. 5
  • it will send the first speed measurement signal to the first target speed measurement node 3022 according to the address of the first target speed measurement node
  • the network delay T1 from the target device to the first target speed measurement node can be determined according to the round-trip time of the first speed measurement signal.
  • the first speed measurement signal may be the speed measurement signal in the ICMP (Internet Control Message Protocol, Internet Control Message Protocol) service, or may be TCPing (a network status detection command), UDPing (a network communication problem detection signal) ) or a speed measurement signal in a broadband speed measurement service, which is not limited in this disclosure.
  • ICMP Internet Control Message Protocol, Internet Control Message Protocol
  • TCPing a network status detection command
  • UDPing a network communication problem detection signal
  • broadband speed measurement service which is not limited in this disclosure.
  • the network delay T1 between the target device and the first target speed measuring node can be used as the target device and the target network exit node. carrier network latency.
  • step S3 the end-to-end network delay from the target device to the target server is determined according to the second speed measurement signal sent by the target device to the second target speed measurement node.
  • the target device when the target device (ie, the terminal 301 in FIG. 5 ) receives the address of the second target speed measuring node, it will send a second speed measuring signal to the second target speed measuring node 3012 according to the address of the second target speed measuring node, and according to the address of the second target speed measuring node
  • the round-trip time of the second speed measurement signal determines the network delay from the target device to the second target speed measurement node 3012 .
  • the second speed measurement signal may be the speed measurement signal in the ICMP service, or may be the speed measurement information in the TCPing, UDPing, or broadband speed measurement service, which is not limited in the present disclosure.
  • the network delay T2 between the target device and the second target speed measuring node 3012 can be regarded as the end of the target device and the target server 3011. End-to-end network delay.
  • step S2 and step S3 can be performed synchronously; or, the above-mentioned step S2 and step S3 can also be performed successively, for example, the above-mentioned step S2 can be performed before step S3, or, the above-mentioned step S2 can also be performed after step S3.
  • This embodiment of the present disclosure does not limit the execution order of step S2 and step S3.
  • step S4 the network quality when the target device performs the target service is determined according to the operator network delay and the end-to-end network delay.
  • the target network exit can be determined through T2-T1 The network delay of the backbone network from the node 3021 to the target server 3011.
  • the operator network delay can be monitored in real time. If it is found that the operator network delay fluctuates (for example, the operator network delay suddenly increases or exceeds a first threshold), it can be considered that the target device is located in the operator network. Network quality is poor. When the network quality of the operator's network where the target device is located deteriorates, on the one hand, the target device can prompt the target object that the current network is poor so that the target object can take countermeasures (such as replacing the network), and on the other hand, proactive measures can be taken to the target object. The network quality of the operator's network is optimized (for example, network protocol optimization, information distribution, etc.).
  • the end-to-end network delay from the target device to the target server can be monitored in real time. If it is found that the end-to-end network delay fluctuates (for example, the end-to-end network delay suddenly increases or exceeds a second threshold), the It can be considered that the network quality from the target device to the network where the target server is located becomes poor.
  • the target device can prompt the target object that the current network is poor so that the target object can take countermeasures (such as replacing the network), and on the other hand, it can take active measures to End-to-end network quality is optimized.
  • the network delay of the backbone network from the export of the target network to the target server can be monitored in real time. If it is found that the network delay of the backbone network fluctuates (for example, the network delay of the backbone network suddenly increases or exceeds a third threshold), it can be considered that The network quality of the backbone network from the exit node of the target network to the target server deteriorates.
  • the target device can prompt the target object that the current network is poor so that the target object can take countermeasures (such as replacing the network); Measures to optimize the network quality of the backbone network.
  • steps S1 to S4 may all be performed by the speed measurement controller, or may be entirely performed by the target device, or may be separately performed by the speed measurement controller and the target device.
  • the network quality when the target device performs the target service is determined according to the operator network delay and the end-to-end network delay, wherein the operator network delay and the end-to-end network delay are determined according to the first A target speed measurement node and a second target speed measurement node are respectively determined; since the network quality is determined by the operator network delay and the end-to-end network delay, the network quality can include the network from the target device to the target network exit node.
  • the quality of the network can also include the network quality from the target device to the target server; at the same time, the above-mentioned end-to-end network delay is set by the corresponding target network exit node and target server, and the target device does not need to send a test signal directly to the target server; therefore,
  • the solutions provided by the embodiments of the present disclosure can not only realize the determination of the network quality when the target device performs the target service without occupying the bandwidth of the target server and increase the server load; but also can measure the network quality from multiple dimensions (for example, , which can measure the network quality of the carrier network where the target device is located, the end-to-end network quality from the target device to the target server, and the network quality of the backbone network that the target device and the target server pass through, etc.) , and perform multi-dimensional measurement on the network quality when the target device executes the target service.
  • FIG. 6 is a flowchart of step S1 in FIG. 4 in an exemplary embodiment.
  • the above-mentioned step S1 may include the following steps.
  • step S11 in response to the speed measurement request sent by the target device for the target service, the speed measurement request includes the target public network address of the target network exit node and the target server address of the target server.
  • a speed measurement request may be sent to the speed measurement controller, and the speed measurement request may reach the backbone network through the target network exit of the operator network where the target device is located, and arrive at the speed measurement through the backbone network. controller.
  • the speed measurement request may include the address of the target server that processes the target service.
  • the target network exit node will allocate a public IP address with regional characteristics (which may be called the target public network address) for the speed measurement request.
  • step S12 a first target speed measuring node corresponding to the target network exit is determined according to the target public network address.
  • the speed measurement controller may determine the first geographical location of the target network exit node according to the target public network address in the speed measurement request, and then determine the first target speed measurement node according to the first geographical location. For example, if there is a first speed measurement node in the first geographical location, the speed measurement controller can use the first speed measurement node closest to the target network exit as the first target speed measurement node of the target device; if the first speed measurement node does not exist in the first geographical location node, the speed measurement controller selects a first speed measurement node that is relatively close to the exit node of the target network as the first target speed measurement node of the target device. For another example, the speed measurement controller may also select a first speed measurement node whose distance from the target network exit is within the first target range and has less load as the first target speed measurement node of the target device.
  • step S13 a second target speed measuring node corresponding to the target server is determined according to the address of the target server.
  • the speed measurement controller may determine the first geographic location of the target server according to the address of the target server in the speed measurement request, and then determine the second target speed measurement node according to the second geographic location. For example, if there is a second speed measuring node in the second geographic location, the speed measuring controller can use the second speed measuring node closest to the target server as the second target speed measuring node of the target device; if there is no second speed measuring node in the second geographic location , the speed measurement controller selects a second speed measurement node that is relatively close to the target server as the second target speed measurement node of the target device. For another example, the speed measurement controller may also select a second speed measurement node with a distance from the target network exit within the second target range and with less load as the second target speed measurement node of the target device.
  • the technical solution provided by this embodiment can determine the first geographic location of the target network exit through the target public network address in the speed measurement request sent by the target device, and then determine the first target speed measurement node that is closer to the target network exit and has less load ;
  • the second geographic location of the target server can also be determined through the address of the target server in the speed measurement request, and then the second target speed measurement node that is relatively close to the target server and has less load can be determined.
  • the network quality can be determined without occupying the bandwidth of the target server and without increasing the load, and because the first target speed measurement node and the second target speed measurement node are far away from the target
  • the distance between the network exit and the target server is relatively close, so that the network quality determined according to the first target speed measuring node and the second target speed measuring node can well reflect the network quality of the target device performing the target service.
  • the above-mentioned step S1 can also be performed by the target device itself.
  • the target device may not send the above-mentioned speed measurement request (that is, the above-mentioned S11 is an optional step), but the target device can perform its own according to the target public network address and target.
  • the server address is used to determine the first target speed measurement node and the second target speed measurement node.
  • the target device can store the correspondence between each network exit node and the target speed measurement node, and store the correspondence between each target server and the target speed measurement node. and the address of the target server, and query the above corresponding relationship locally to determine the first target speed measuring node and the second target speed measuring node.
  • the above corresponding relationship may be updated by the target device from the server periodically.
  • FIG. 7 is a flowchart of step S4 in FIG. 4 in an exemplary embodiment.
  • the above-mentioned step S4 may include the following steps.
  • step S41 according to the network delay of the operator and the end-to-end network delay, the network delay of the backbone network from the target network exit to the target server is determined.
  • the carrier network delay T1 from the target device to the target network exit node and the end-to-end network delay T2 from the target device to the target server are known, it can be determined through T2-T1 The network delay of the backbone network of the target server.
  • step S42 the operator network quality from the target device to the target network exit is determined according to the operator network delay, so as to optimize the operator network according to the operator network quality.
  • the operator network delay can be monitored in real time. If it is found that the operator network delay fluctuates (for example, the operator network delay suddenly increases or exceeds a first threshold), it can be considered that the target device is located in the operator network. Network quality is poor. When the network quality of the operator's network where the target device is located deteriorates, on the one hand, the target device can prompt the target object that the current network is poor so that the target object can take countermeasures (such as replacing the network), and on the other hand, it can take proactive measures for the operation
  • the network quality of the commercial network is optimized (for example, network protocol optimization, information distribution, etc.).
  • step S43 the end-to-end network quality from the target device to the target server is determined according to the end-to-end network delay, so as to optimize the end-to-end network according to the end-to-end network quality.
  • the end-to-end network delay from the target device to the target server can be monitored in real time. If it is found that the end-to-end network delay fluctuates (for example, the end-to-end network delay suddenly increases or exceeds a second threshold), the It can be considered that the network quality from the target device to the network where the target server is located becomes poor.
  • the target device can prompt the target object that the current network is poor so that the target object can take countermeasures (such as replacing the network), and on the other hand, it can take active measures to End-to-end network quality is optimized.
  • step S44 the network quality of the backbone network exported from the target network to the target server is determined according to the network delay of the backbone network, so as to optimize the backbone network according to the network quality of the backbone network.
  • the network delay of the backbone network from the export of the target network to the target server can be monitored in real time. If it is found that the network delay of the backbone network fluctuates (for example, the network delay of the backbone network suddenly increases or exceeds a third threshold), it can be considered that The network quality of the backbone network from the exit node of the target network to the target server deteriorates.
  • the target device can prompt the target object that the current network is poor so that the target object can take countermeasures (such as replacing the network); Measures to optimize the network quality of the backbone network.
  • the operator network quality, end-to-end network quality, and backbone network quality are determined according to the operator network delay, end-to-end network delay, and backbone network delay, and are determined from multiple dimensions.
  • the network quality from the target device to the target server can be improved, the network bottleneck can be better located, and the measurement of the network quality when the target device executes the target service can be completed in a fine-grained manner.
  • FIG. 8 is a flowchart of step S4 in FIG. 4 in an exemplary embodiment.
  • the operator network delay may include the operator network delay at the current moment and the average operator network delay.
  • step S4 may include the following steps.
  • step S45 if the fluctuation of the operator's network delay at the current moment compared with the average delay of the operator's network is greater than the target threshold, it is determined that the network from the target device to the target network exit at the current moment is abnormal.
  • the average network delay of the operator may refer to the average network delay from the target device to the egress of the target network in the past period of time, or it may refer to the elimination of abnormal values (for example, greater than the target network delay threshold) After the average network delay, the present disclosure does not limit this.
  • the difference between the operator's network delay at the current moment and the average delay of the operator's network is greater than the target threshold, it may be considered that the network from the target device to the target network exit at the current moment is abnormal.
  • step S46 network abnormality reminder information is generated.
  • network abnormality reminder information may be generated according to the network abnormality.
  • the speed of the network is too slow, please buffer for a while before watching! and other network abnormality reminders, this disclosure does not limit this.
  • step S47 the network abnormality reminder information is displayed on the target device.
  • the above-mentioned network abnormality reminder information can be displayed in the target device, so that the target object can respond in time according to the network abnormality reminder information displayed in the target device (eg, change the communication network, watch after buffering, etc.).
  • the technical solution provided by this embodiment can timely provide network abnormality reminder information when a network abnormality occurs, so that the target object can timely respond according to the abnormal network situation, so as to improve user experience.
  • Fig. 9 is an architecture diagram showing a network quality determination according to an exemplary embodiment.
  • the network quality determination method may include the following steps.
  • the target device 901 sends a speed measurement request to the speed measurement controller 907 for the target service to obtain the address of the first target speed measurement node 904 and the address of the second target speed measurement node 906 from the speed measurement controller. It can be understood that, the control function of the speed measurement controller 907 can also be performed by the target device 901, which is not limited in the present disclosure.
  • the first target speed measurement node 904 may be deployed in the same city as the network exit 903 of the operator's core network in the first region where the target device 901 is located (for example, the target device communicates with the target operator in Shandong, while the target operator If the core network network exit of the business in Shandong is deployed in Jinan, Shandong, then the first target speed measurement node may be the speed measurement node arranged in Jinan).
  • the second target speed measuring node 906 may be deployed in the same computer room as the target server 905 processing the target service.
  • the target device 901 sends a first speed measurement signal to the first target speed measurement node 904 according to the address of the first target speed measurement node, and determines from the target device 901 to the first target speed measurement node according to the round-trip time of the first speed measurement signal
  • the network delay of 904 is T1.
  • the network delay T1 between the target device 901 and the first target speed measurement node 904 can be used as the target device 901 and the operator.
  • the operator's network delay at the network egress 903 of the operator's core network is relatively close.
  • the target device 901 sends a second speed measurement signal to the second target speed measurement node 906 according to the address of the second target speed measurement node, and determines the target device 901 to the second target speed measurement node 906 according to the round-trip time of the second speed measurement signal network delay.
  • the network delay T2 between the target device 901 and the second target speed measuring node 906 can be used as the end-to-end network between the target device 901 and the target server 905 time delay.
  • T2-T1 Determine the network delay T3 of the backbone network from the network exit 903 of the operator's core network to the target server 905 .
  • the operator network quality from the target device to the target network exit may be determined according to the operator network delay, so as to optimize the operator network according to the operator network quality.
  • the end-to-end network quality from the target device to the target server may be determined according to the end-to-end network delay, so as to optimize the end-to-end network according to the end-to-end network quality.
  • the network quality of the backbone network exported from the target network to the target server may be determined according to the network delay of the backbone network, so as to optimize the backbone network according to the network quality of the backbone network.
  • the technical solution provided by this embodiment can not only realize the determination of the network quality when the target device performs the target service without occupying the bandwidth of the target server and increase the server load; it can also measure the network quality from multiple dimensions ( For example, the network quality of the operator's network where the target device is located, the end-to-end network quality from the target device to the target server, and the network quality of the backbone network through which the target device and the target server pass, etc.).
  • Fig. 10 is a schematic diagram showing a network quality determination structure according to an exemplary embodiment.
  • the network quality determination structure may include terminal 1001, terminal 1002, speed measurement controller 1003, Shenzhen core network network exit node 1004, Guangzhou core network network exit node 1005, Shenzhen No. 1 target speed measuring node 1006, Guangzhou No. 1
  • the target speed measurement node 1007 , the target server 1008 and the second target speed measurement node 1009 may include terminal 1001, terminal 1002, speed measurement controller 1003, Shenzhen core network network exit node 1004, Guangzhou core network network exit node 1005, Shenzhen No. 1 target speed measuring node 1006, Guangzhou No. 1
  • the target speed measurement node 1007 , the target server 1008 and the second target speed measurement node 1009 may include terminal 1001, terminal 1002, speed measurement controller 1003, Shenzhen core network network exit node 1004, Guangzhou core network network exit node 1005, Shenzhen No. 1 target speed measuring node 1006, Guangzhou No. 1
  • the target speed measurement node 1007 , the target server 1008 and the second target speed measurement node 1009
  • the terminal 1001 may be located in the operator network in the Shenzhen area
  • the terminal 1002 may be located in the operator network in the Guangzhou area
  • the server processing the target service in the terminal 1001 may be in the Shanghai area
  • the target server 1008 in the Shanghai computer room, the server processing the target service in the terminal 1002 can also be the target server 1008 in the Shanghai computer room in the Shanghai area
  • the operator network in the Shenzhen area can communicate with the target server 1008 in the Shanghai computer room through the backbone network.
  • the operator network in the Guangzhou area can also communicate with the target server 1008 in the Shanghai computer room through the backbone network.
  • the network quality determination method is only described by taking the target device including the terminal 1001 and the terminal 1002, and the target service of the terminal 1001 and the terminal 1002 being the same as an example, but this disclosure does not limit this.
  • the network quality determination method may include the following steps.
  • the terminal 1001 can send a first speed measurement request to the speed measurement controller 1003, and the first speed measurement request can reach the backbone network via the Shenzhen core network network exit node 1004 of the Shenzhen regional operator network (the network exit node 1004 will allocate a public network for the first speed measurement request.
  • network address the public network address carries the geographic location information of the exit node 1004 of the Shenzhen core network network), and reaches the speed measurement controller 1003 via the backbone network; the speed measurement controller 1003 can determine the Shenzhen core network according to the public network address in the first speed measurement request.
  • the speed measurement controller 1003 determines the first target speed measurement node 1006 and the second target speed measurement node 1009 in Shenzhen for the target device, the address of the first target speed measurement node in Shenzhen and the address of the second target speed measurement node Return to terminal 1001.
  • the terminal 1001 When the terminal 1001 receives the address of the first target speed measurement node in Shenzhen, it will send the first target speed measurement signal to the first target speed measurement node 1006 in Shenzhen according to the address of the first target speed measurement node in Shenzhen. According to the round-trip time of the first target speed measurement signal The network delay from the terminal 1001 to the first target speed measuring node 1006 in Shenzhen can be determined.
  • the network delay between the terminal 1001 and the first target speed measuring node 1006 in Shenzhen can be regarded as the network delay between the terminal 1001 and the terminal 1001.
  • the operator network delay of the network exit node 1004 of the Shenzhen core network is relatively close.
  • the terminal 1001 When the terminal 1001 receives the address of the second target speed measurement node, it will send the second target speed measurement signal to the second target speed measurement node 1009 according to the address of the second target speed measurement node, and determine the terminal device 1001 according to the round-trip time of the second target speed measurement signal. Network delay to the second target speed measuring node 1009.
  • the network delay between the terminal 1001 and the second target speed measuring node 1009 can be regarded as the end-to-end connection between the terminal 1001 and the target server 1008. end network delay.
  • Shenzhen can be determined through T2-T1 The backbone network delay from the core network network exit node 1004 to the target server 1008 .
  • the operator network quality from the terminal 1001 to the Shenzhen core network network exit node 1004 may be determined according to the operator network delay of the terminal 1001, so as to optimize the operator network according to the operator network quality;
  • the end-to-end network delay from the terminal 1001 to the target server 1008 determines the end-to-end network quality of the terminal 1001, so as to optimize the end-to-end network according to the end-to-end network quality;
  • the Shenzhen core network can be determined according to the network delay of the backbone network of the terminal 1001
  • the terminal 1002 can send a second speed measurement request to the speed measurement controller 1003, and the second speed measurement request can reach the backbone network via the network exit node 1005 of the Guangzhou core network of the Guangzhou regional operator network (the Guangzhou core network network exit node 1005 will be the second speed measurement request).
  • the speed measurement request is assigned a public network address, and the public network address carries the geographic location information of the exit node 1005 of the Guangzhou core network network), and reaches the speed measurement controller 1003 via the backbone network; the speed measurement controller 1003 can be based on the second speed measurement request.
  • the public network address Determine the geographic location of the exit node 1005 of the Guangzhou core network network; the speed measurement controller 1003 determines, according to the geographic location of the exit node 1005 of the Guangzhou core network network, the first target in Guangzhou that is close to the destination network exit node 1005 of the Guangzhou core network and has less load
  • the speed measurement node (the Guangzhou first target speed measurement node may be located in the Guangzhou computer room with the Guangzhou core network network exit node 1005); the speed measurement controller 1003 may also determine the geographic location of the target server according to the address of the target server in the second speed measurement request (for example, Located in the Shanghai computer room); according to the geographical location of the target server, the speed measurement controller 1003 selects a second target speed measurement node that is closer to the target server and has less load as the second target speed measurement node of the target device (for example, it is located in the same location as the target server.
  • the second target speed measurement node 1009 in the Shanghai computer room ).
  • the speed measurement controller 1003 determines the first target speed measurement node 1007 and the second target speed measurement node 1009 in Guangzhou for the target device, the address of the first target speed measurement node in Guangzhou and the address of the second target speed measurement node Return to terminal 1002.
  • the terminal 1002 When the terminal 1002 receives the address of the first target speed measurement node in Guangzhou, it will send a third target speed measurement signal to the first target speed measurement node 1007 in Guangzhou according to the address of the first target speed measurement node in Guangzhou. According to the round-trip time of the third target speed measurement signal The network delay from the terminal 1002 to the first target speed measuring node 1007 in Guangzhou can be determined.
  • the network delay between the terminal 1002 and the first target speed measuring node 1007 in Guangzhou can be used as the network delay between the terminal 1002 and the terminal 1002.
  • the operator network delay of the network exit node 1005 of the Guangzhou core network is relatively close.
  • the terminal 1002 When the terminal 1002 receives the address of the second target speed measuring node, it will send the fourth target speed measuring signal to the second target speed measuring node according to the address of the second target speed measuring node, and according to the round trip time of the fourth target speed measuring signal, the terminal device 1002 will The network delay of the second target speed measuring node 1009 .
  • the network delay between the terminal 1002 and the second target speed measuring node 1009 can be regarded as the end-to-end connection between the terminal 1002 and the target server 1008. end network delay.
  • the Guangzhou can be determined through T2-T1 The backbone network delay from the core network network exit node 1005 to the target server 1008 .
  • the operator network quality from the terminal 1002 to the Guangzhou core network network exit node 1005 can be determined according to the operator network delay of the terminal 1002, so as to optimize the operator network according to the operator network quality;
  • the end-to-end network delay from the terminal 1002 to the target server 1008 determines the end-to-end network quality, so as to optimize the end-to-end network according to the end-to-end network quality;
  • the Guangzhou core network can be determined according to the network delay of the backbone network of the terminal 1002
  • the network quality of the backbone network from the network exit node 1005 to the target server 1008 in order to optimize the backbone network according to the network quality of the backbone network.
  • the technical solution provided by this embodiment realizes the measurement of the network quality when multiple terminal devices execute the target service, does not occupy the bandwidth of the target server, does not increase the server load, and can also realize the network quality from multiple dimensions. Measurement.
  • Fig. 11 is a block diagram of an apparatus for determining network quality according to an exemplary embodiment.
  • the network quality determination apparatus 1100 provided by the embodiment of the present disclosure may include: a speed measurement node acquisition module 1101, an operator network delay acquisition module 1102, an end-to-end network delay acquisition module 1103, and a network quality determination module 1004.
  • the speed measurement node obtaining module 1101 may be configured to obtain the first target speed measurement node and the second target speed measurement node of the target device for the target service, the first target speed measurement node and the operator in the first area where the target device is located
  • the target network exit node of the network corresponds to, and the second target speed measuring node corresponds to the target server processing the target service.
  • the operator network delay obtaining module 1102 may be configured to determine, according to the first speed measurement signal sent by the target device to the first target speed measurement node, the time when the target device reaches the operator network of the target network exit node. extension.
  • the end-to-end network delay obtaining module 1103 may be configured to determine the end-to-end network time from the target device to the target server according to the second speed measurement signal sent by the target device to the second target speed measurement node. extension.
  • the network quality determining module 1104 may be configured to determine the network quality when the target device performs the target service according to the operator network delay and the end-to-end network delay.
  • the speed measurement node obtaining module 1101 may include: a speed measurement request response submodule, a first target speed measurement node determination submodule, and a second target speed measurement node determination submodule.
  • the speed measurement request response sub-module may be configured to respond to a speed measurement request sent by the target device for the target service, where the speed measurement request includes the target public network address of the target network exit node and the target server of the target server. address.
  • the first target speed measurement node determination submodule may be configured to determine, according to the target public network address, a first target speed measurement node corresponding to the target network exit.
  • the second target speed measurement node determination submodule may be configured to determine a second target speed measurement node corresponding to the target server according to the target server address.
  • the first target speed measurement node determination submodule may include: a first geographic location determination unit and a first target speed measurement node determination unit.
  • the first geographic location determining unit may be configured to determine the first geographic location where the target network exit is located according to the target public network address.
  • the first target speed measurement node determination unit may be configured to determine the first target speed measurement node according to the first geographic location.
  • the first target speed measurement node determination unit may include: a first judgment subunit.
  • the first judging subunit may be configured to determine the first target speed measuring node from among the speed measuring nodes in the first geographic location if there is a speed measuring node in the first geographic location.
  • the first target speed measurement node determination unit may include: a second determination unit.
  • the second judging unit may be configured to use the speed measuring node closest to the first geographic location as the first target speed measuring node if there is no speed measuring node in the first geographic location.
  • the second target speed measurement node determination sub-module may include: a second geographic location determination unit and a second target speed measurement node determination unit.
  • the second geographic location determining unit may be configured to determine the second geographic location where the target server is located according to the address of the target server.
  • the second target speed measurement node determination unit may be configured to determine the second target speed measurement node according to the second geographic location.
  • the communication between the target server and the target network exit node is through a backbone network.
  • the network quality determination module 1104 may include: a backbone network network delay acquisition submodule and a network quality determination submodule.
  • the backbone network delay acquisition sub-module may be configured to determine the backbone network delay from the target network exit to the target server according to the operator network delay and the end-to-end network delay .
  • the network quality determination sub-module may be configured to determine the network quality when the target device performs the target service according to the operator network delay, the end-to-end network delay and the backbone network delay .
  • the network quality determination sub-module may include: an operator network quality determination unit, an end-to-end network quality determination unit, and a backbone network quality determination unit.
  • the operator network quality determination unit may be configured to determine the operator network quality from the target device to the target network exit according to the operator network delay, so as to determine the operator network quality according to the operator network quality optimize.
  • the end-to-end network quality determining unit may be configured to determine the end-to-end network quality from the target device to the target server according to the end-to-end network delay, so that the end-to-end network quality can be matched according to the end-to-end network quality.
  • the end network is optimized.
  • the backbone network quality determining unit may be configured to determine the backbone network quality from the target network to the target server according to the backbone network delay, so as to optimize the backbone network according to the backbone network quality.
  • the operator network delay includes the operator network delay at the current moment and the operator network average delay.
  • the operator's network quality determination unit may include: an abnormality judgment subunit, an abnormality information generation subunit, and a display subunit.
  • the abnormality judging subunit may be configured to determine that the target device is at the current moment if the fluctuation of the operator's network delay at the current moment compared with the average delay of the operator's network is greater than a target threshold
  • the network to the target network exit is abnormal.
  • the abnormality information generating subunit may be configured to generate network abnormality reminder information.
  • the display subunit may be configured to display the network abnormality reminder information on the target device.
  • each functional module of the apparatus for determining network quality 1100 corresponds to the steps of the exemplary embodiment of the foregoing method for determining network quality, details are not described herein again.
  • the exemplary embodiments described herein can be implemented by software, or can be implemented by software combined with necessary hardware. Therefore, the technical solutions of the embodiments of the present disclosure may be embodied in the form of software products, and the software products may be stored in a non-volatile storage medium (which may be CD-ROM, U disk, mobile hard disk, etc.), including several instructions It is used to cause a computing device (which may be a personal computer, a server, a mobile terminal, or a smart device, etc.) to execute the method according to the embodiment of the present disclosure, for example, one or more of the steps shown in FIG. 4 .
  • a computing device which may be a personal computer, a server, a mobile terminal, or a smart device, etc.

Landscapes

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

Abstract

The present disclosure provides a network quality determination method and apparatus, an electronic device and a readable storage medium. Said method comprises: acquiring a first target speed measurement node and a second target speed measurement node of a target device for a target service, the first target speed measurement node corresponding to a target network egress node of an operator network of a first region where the target device is located, and the second target speed measurement node corresponding to a target server for processing the target service; according to a first speed measurement signal sent by the target device to the first target speed measurement node, determining an operator network delay from the target device to the target network egress node; according to a second speed measurement signal sent by the target device to the second target speed measurement node, determining an end-to-end network delay from the target device to the target server; and according to the operator network delay and the end-to-end network delay, determining the network quality when the target device executes the target service.

Description

网络质量确定方法、装置、电子设备和可读存储介质Network quality determination method, apparatus, electronic device and readable storage medium
本申请要求于2020年09月18日提交的、申请号为202010985936.X、发明名称为“网络质量确定方法、装置、电子设备和可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on September 18, 2020 with the application number of 202010985936.X and the invention titled "Network Quality Determination Method, Apparatus, Electronic Device and Readable Storage Medium", the entire content of which is Incorporated herein by reference.
技术领域technical field
本公开涉及通信技术领域,尤其涉及一种网络质量确定方法、装置、电子设备和可读存储介质。The present disclosure relates to the field of communication technologies, and in particular, to a network quality determination method, apparatus, electronic device, and readable storage medium.
背景技术Background technique
随着移动终端的普及,出现了越来越多的基于互联网的应用程序。如视频应用、音乐应用、社交应用、游戏、新闻阅读、浏览器等。在实际应用中,以游戏、音视频等应用为代表的时延敏感型业务对网络质量的要求越来越高。With the popularization of mobile terminals, more and more Internet-based applications appear. Such as video applications, music applications, social applications, games, news reading, browsers, etc. In practical applications, delay-sensitive services represented by applications such as games, audio and video have higher and higher requirements on network quality.
为了提高用户体验,通常需要对移动网络用户进行网络测速,发现和掌握用户的网络质量情况,以针对质量较差的网络进展主动治理,从而提升网络整体质量。In order to improve user experience, it is usually necessary to measure the network speed of mobile network users, discover and master the network quality of users, and proactively manage network progress with poor quality, thereby improving the overall quality of the network.
因此,一种可以确定移动终端运行目标业务时的网络质量的方法,对于提高移动通信质量来说是极其具有意义的。Therefore, a method for determining the network quality when the mobile terminal runs the target service is extremely meaningful for improving the quality of the mobile communication.
需要说明的是,在上述背景技术部分公开的信息仅用于加强对本公开的背景的理解。It should be noted that the information disclosed in the above Background section is only for enhancement of understanding of the background of the present disclosure.
发明内容SUMMARY OF THE INVENTION
本公开实施例提供一种网络质量确定方法、装置、电子设备和可读存储介质,能够在不增加目标服务器负载的情况下,对目标设备执行目标业务时的网络质量进行多维度测量。Embodiments of the present disclosure provide a network quality determination method, apparatus, electronic device, and readable storage medium, which can perform multi-dimensional measurement of network quality when a target device performs a target service without increasing the load of a target server.
本公开的其他特性和优点将通过下面的详细描述变得显然,或部分地通过本公开的实践而习得。Other features and advantages of the present disclosure will become apparent from the following detailed description, or be learned in part by practice of the present disclosure.
本公开实施例提出一种网络质量确定方法,由电子设备执行,该方法包括:获取目标设备针对目标业务的第一目标测速节点和第二目标测速节点,所述第一目标测速节点与所述目标设备所在第一区域的运营商网络的目标网络出口节点对应,所述第二目标测速节点与处理所述目标业务的目标服务器对应;根据所述目标设备向所述第一目标测速节点发送的第一测速信号,确定所述目标设备到所述目标网络出口节点的运营商网络时延;根据所述目标设备 向所述第二目标测速节点发送的第二测速信号,确定所述目标设备到所述目标服务器的端到端网络时延;根据所述运营商网络时延和所述端到端网络时延确定所述目标设备执行所述目标业务时的网络质量。An embodiment of the present disclosure provides a method for determining network quality, which is performed by an electronic device. The method includes: acquiring a first target speed measurement node and a second target speed measurement node of a target device for a target service, the first target speed measurement node and the corresponding to the target network exit node of the operator network in the first area where the target device is located, and the second target speed measurement node corresponds to the target server processing the target service; according to the data sent by the target device to the first target speed measurement node The first speed measurement signal, to determine the operator network delay from the target device to the target network exit node; according to the second speed measurement signal sent by the target device to the second target speed measurement node, determine the target device to The end-to-end network delay of the target server; the network quality when the target device executes the target service is determined according to the operator network delay and the end-to-end network delay.
本公开实施例提出一种网络质量确定装置,包括:An embodiment of the present disclosure provides an apparatus for determining network quality, including:
测速节点获取模块,配置为获取目标设备针对目标业务的第一目标测速节点和第二目标测速节点,所述第一目标测速节点与所述目标设备所在第一区域的运营商网络的目标网络出口节点对应,所述第二目标测速节点与处理所述目标业务的目标服务器对应;A speed measuring node acquisition module, configured to obtain the first target speed measuring node and the second target speed measuring node of the target device for the target service, the first target speed measuring node and the target network exit of the operator network in the first area where the target device is located Node correspondence, the second target speed measurement node corresponds to the target server processing the target service;
运营商网络时延获取模块,配置为根据所述目标设备向所述第一目标测速节点发送的第一测速信号,确定所述目标设备到所述目标网络出口节点的运营商网络时延;an operator network delay acquisition module, configured to determine the operator network delay from the target device to the target network exit node according to the first speed measurement signal sent by the target device to the first target speed measurement node;
端到端网络时延获取模块,配置为根据所述目标设备向所述第二目标测速节点发送的第二测速信号,确定所述目标设备到所述目标服务器的端到端网络时延;an end-to-end network delay acquisition module, configured to determine the end-to-end network delay from the target device to the target server according to the second speed measurement signal sent by the target device to the second target speed measurement node;
网络质量确定模块,配置为根据所述运营商网络时延和所述端到端网络时延确定所述目标设备执行所述目标业务时的网络质量。A network quality determination module, configured to determine the network quality when the target device performs the target service according to the operator network delay and the end-to-end network delay.
在一些实施例中,所述测速节点获取模块可以包括:第一目标测速节点确定子模块以及第二目标测速节点确定子模块。In some embodiments, the speed measurement node obtaining module may include: a first target speed measurement node determination submodule and a second target speed measurement node determination submodule.
其中,所述第一目标测速节点确定子模块可以配置为根据所述目标网络出口节点的目标公网地址,确定与所述目标网络出口对应的第一目标测速节点。所述第二目标测速节点确定子模块可以配置为根据所述目标服务器的目标服务器地址确定与所述目标服务器对应的第二目标测速节点。The first target speed measurement node determination sub-module may be configured to determine the first target speed measurement node corresponding to the target network exit according to the target public network address of the target network exit node. The second target speed measurement node determination submodule may be configured to determine a second target speed measurement node corresponding to the target server according to the target server address of the target server.
在一些实施例中,所述第一目标测速节点确定子模块可以包括:第一地理位置确定单元和第一目标测速节点确定单元。In some embodiments, the first target speed measurement node determination submodule may include: a first geographic location determination unit and a first target speed measurement node determination unit.
其中,所述第一地理位置确定单元可以配置为根据所述目标公网地址确定所述目标网络出口所在的第一地理位置。所述第一目标测速节点确定单元可以配置为根据所述第一地理位置确定所述第一目标测速节点。The first geographic location determining unit may be configured to determine the first geographic location where the target network exit is located according to the target public network address. The first target speed measurement node determination unit may be configured to determine the first target speed measurement node according to the first geographic location.
在一些实施例中,所述第一目标测速节点确定单元可以包括:第一判断子单元。In some embodiments, the first target speed measurement node determination unit may include: a first judgment subunit.
其中,所述第一判断子单元可以配置为若所述第一地理位置存在测速节点,则在所述第一地理位置中的测速节点中确定所述第一目标测速节点。The first judging subunit may be configured to determine the first target speed measuring node from among the speed measuring nodes in the first geographic location if there is a speed measuring node in the first geographic location.
在一些实施例中,所述第一目标测速节点确定单元可以包括:第二判断单元。In some embodiments, the first target speed measurement node determination unit may include: a second determination unit.
其中,所述第二判断单元可以配置为若所述第一地理位置不存在测速节点,则将距离所述第一地理位置最近的测速节点作为所述第一目标测速节点。Wherein, the second judging unit may be configured to use the speed measuring node closest to the first geographic location as the first target speed measuring node if there is no speed measuring node in the first geographic location.
在一些实施例中,所述第二目标测速节点确定子模块可以包括:第二地理位置确定单元和第二目标测速节点确定单元。In some embodiments, the second target speed measurement node determination sub-module may include: a second geographic location determination unit and a second target speed measurement node determination unit.
其中,所述第二地理位置确定单元可以配置为根据所述目标服务器地址确定所述目标服务器所在的第二地理位置。所述第二目标测速节点确定单元可以配置为根据所述第二地理位置确定所述第二目标测速节点。Wherein, the second geographic location determining unit may be configured to determine the second geographic location where the target server is located according to the address of the target server. The second target speed measurement node determination unit may be configured to determine the second target speed measurement node according to the second geographic location.
在一些实施例中,所述目标服务器和所述目标网络出口节点之间通过骨干网通信。In some embodiments, the communication between the target server and the target network exit node is through a backbone network.
在一些实施例中,所述网络质量确定模块可以包括:骨干网网络时延获取子模块和网络质量确定子模块。In some embodiments, the network quality determination module may include: a backbone network network delay acquisition submodule and a network quality determination submodule.
其中,所述骨干网网络时延获取子模块可以配置为根据所述运营商网络时延和所述端到端网络时延,确定所述目标网络出口到所述目标服务器的骨干网网络时延。所述网络质量确定子模块可以配置为根据所述运营商网络时延、所述端到端网络时延和所述骨干网网络时延,确定所述目标设备执行所述目标业务时的网络质量。Wherein, the backbone network delay acquisition sub-module may be configured to determine the backbone network delay from the target network exit to the target server according to the operator network delay and the end-to-end network delay . The network quality determination sub-module may be configured to determine the network quality when the target device performs the target service according to the operator network delay, the end-to-end network delay and the backbone network delay .
在一些实施例中,所述网络质量确定子模块可以包括:运营商网络质量确定单元、端到端网络质量确定单元以及骨干网网络质量确定单元。In some embodiments, the network quality determination sub-module may include: an operator network quality determination unit, an end-to-end network quality determination unit, and a backbone network quality determination unit.
其中,所述运营商网络质量确定单元可以配置为根据所述运营商网络时延确定所述目标设备到所述目标网络出口的运营商网络质量,以便根据所述运营商网络质量对运营商网络进行优化。所述端到端网络质量确定单元可以配置为根据所述端到端网络时延确定所述目标设备到所述目标服务器的端到端网络质量,以便根据所述端到端网络质量对端到端网络进行优化。骨干网网络质量确定单元可以配置为根据所述骨干网网络时延确定所述目标网络出口到所述目标服务器的骨干网网络质量,以便根据所述骨干网网络质量对骨干网网络进行优化。The operator network quality determination unit may be configured to determine the operator network quality from the target device to the target network exit according to the operator network delay, so as to determine the operator network quality according to the operator network quality optimize. The end-to-end network quality determining unit may be configured to determine the end-to-end network quality from the target device to the target server according to the end-to-end network delay, so that the end-to-end network quality can be matched according to the end-to-end network quality. The end network is optimized. The backbone network quality determining unit may be configured to determine the backbone network quality from the target network to the target server according to the backbone network delay, so as to optimize the backbone network according to the backbone network quality.
在一些实施例中,所述运营商网络时延包括当前时刻的运营商网络时延和运营商网络平均时延。In some embodiments, the operator network delay includes the operator network delay at the current moment and the operator network average delay.
在一些实施例中,所述运营商网络质量确定单元可以包括:异常判断子单元、异常信息生成子单元以及显示子单元。In some embodiments, the operator's network quality determination unit may include: an abnormality judgment subunit, an abnormality information generation subunit, and a display subunit.
其中,所述异常判断子单元可以配置为若所述当前时刻的运营商网络时延相比于所述运营商网络平均时延的波动大于目标阈值,则判定所述目标设备在所述当前时刻到所述目标网络出口的网络出现异常。所述异常信息生成子单元可以配置为生成网络异常提醒信息。所述显示子单元可以配置为在所述目标设备上显示所述网络异常提醒信息。The abnormality judging subunit may be configured to determine that the target device is at the current moment if the fluctuation of the operator's network delay at the current moment compared with the average delay of the operator's network is greater than a target threshold The network to the target network exit is abnormal. The abnormality information generating subunit may be configured to generate network abnormality reminder information. The display subunit may be configured to display the network abnormality reminder information on the target device.
本公开实施例提出一种电子设备,该电子设备包括:一个或多个处理器;存储装置,用于存储一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行,使得所述一 个或多个处理器实现上述任一项所述的网络质量确定方法。An embodiment of the present disclosure provides an electronic device, the electronic device includes: one or more processors; and a storage device for storing one or more programs, when the one or more programs are processed by the one or more programs The processor executes, so that the one or more processors implement the network quality determination method described in any one of the above.
本公开实施例提出一种计算机可读存储介质,其上存储有计算机程序,所述程序被处理器执行时实现如上述任一项所述的网络质量确定方法。An embodiment of the present disclosure provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, implements the network quality determination method described in any one of the above.
本公开实施例提出一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。电子设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该电子设备执行上述网络质量确定方法。Embodiments of the present disclosure provide a computer program product or computer program, where the computer program product or computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device executes the above network quality determination method.
本公开实施例提供的网络质量确定方法、装置及电子设备和可读存储介质,根据目标设备到目标网络出口节点的运营商网络时延和目标设备到目标服务器的端到端网络时延确定目标设备执行目标业务时的网络质量,其中,运营商网络时延和端到端网络时延是根据第一目标测速节点和第二目标测速节点分别确定的;由于该网络质量由运营商网络时延和端到端网络时延确定,因此,该网络质量既可以包括目标设备到目标网络出口节点的网络质量,又可以包括目标设备到目标服务器的网络质量;同时,上述端到端网络时延是通过对应目标网络出口节点和目标服务器设置的测速节点确定的,目标设备不需要直接向目标服务器发送测试信号;因此,本公开实施例提供的方案能够在不增加目标服务器负载的情况下,对目标设备执行目标业务时的网络质量进行多维度测量。The network quality determination method, device, electronic device, and readable storage medium provided by the embodiments of the present disclosure determine the target according to the operator network delay from the target device to the target network exit node and the end-to-end network delay from the target device to the target server The network quality when the device executes the target service, wherein the operator network delay and the end-to-end network delay are determined according to the first target speed measurement node and the second target speed measurement node respectively; since the network quality is determined by the operator network delay and the end-to-end network delay, therefore, the network quality can include not only the network quality from the target device to the target network exit node, but also the network quality from the target device to the target server; at the same time, the above-mentioned end-to-end network delay is Determined by the speed measurement node set corresponding to the target network exit node and the target server, the target device does not need to directly send a test signal to the target server; Multi-dimensional measurement of the network quality when the device executes the target service.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性的,并不能限制本公开。It is to be understood that the foregoing general description and the following detailed description are exemplary only and do not limit the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。下面描述的附图仅仅是本公开的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure. The drawings described below are only some embodiments of the present disclosure, and for those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative efforts.
图1示出了可以应用于本公开实施例的网络质量确定方法或网络质量确定装置的示例性系统架构的示意图。FIG. 1 shows a schematic diagram of an exemplary system architecture of a network quality determination method or a network quality determination apparatus that can be applied to an embodiment of the present disclosure.
图2是根据一示例性实施例示出的一种应用于网络质量确定装置的计算机系统的结构示意图。Fig. 2 is a schematic structural diagram of a computer system applied to an apparatus for determining network quality according to an exemplary embodiment.
图3是根据相关技术示出的一种网络质量确定方法的结构示意图。FIG. 3 is a schematic structural diagram of a method for determining network quality according to the related art.
图4是根据一示例性实施例示出的一种网络质量确定方法的流程图。Fig. 4 is a flow chart of a method for determining network quality according to an exemplary embodiment.
图5是根据一示例性实施例示出的一种网络质量确定方法的结构示意图。Fig. 5 is a schematic structural diagram of a method for determining network quality according to an exemplary embodiment.
图6是图4中步骤S1在一示例性实施例中的流程图。FIG. 6 is a flowchart of step S1 in FIG. 4 in an exemplary embodiment.
图7是图4中步骤S4在一示例性实施例中的流程图。FIG. 7 is a flowchart of step S4 in FIG. 4 in an exemplary embodiment.
图8是图4中步骤S4在一示例性实施例中的流程图。FIG. 8 is a flowchart of step S4 in FIG. 4 in an exemplary embodiment.
图9是根据一示例性实施例示出的一种网络质量确定的架构图。Fig. 9 is an architecture diagram showing a network quality determination according to an exemplary embodiment.
图10是根据一示例性实施例示出的一种网络质量确定结构的示意图。Fig. 10 is a schematic diagram showing a network quality determination structure according to an exemplary embodiment.
图11是根据一示例性实施例示出的一种网络质量确定装置的框图。Fig. 11 is a block diagram of an apparatus for determining network quality according to an exemplary embodiment.
具体实施方式detailed description
现在将参考附图更全面地描述示例实施例。然而,示例实施例能够以多种形式实施,且不应被理解为限于在此阐述的实施例;相反,提供这些实施例使得本公开将全面和完整,并将示例实施例的构思全面地传达给本领域的技术人员。在图中相同的附图标记表示相同或类似的部分,因而将省略对它们的重复描述。Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments, however, can be embodied in various forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The same reference numerals in the drawings denote the same or similar parts, and thus their repeated descriptions will be omitted.
本公开所描述的特征、结构或特性可以以任何合适的方式结合在一个或更多实施方式中。在下面的描述中,提供许多具体细节从而给出对本公开的实施方式的充分理解。然而,本领域技术人员将意识到,可以实践本公开的技术方案而省略特定细节中的一个或更多,或者可以采用其它的方法、组元、装置、步骤等。在其它情况下,不详细示出或描述公知方法、装置、实现或者操作以避免模糊本公开的各方面。The features, structures, or characteristics described in this disclosure may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided in order to give a thorough understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. may be employed. In other instances, well-known methods, devices, implementations, or operations have not been shown or described in detail to avoid obscuring aspects of the present disclosure.
附图仅为本公开的示意性图解,图中相同的附图标记表示相同或类似的部分,因而将省略对它们的重复描述。附图中所示的一些方框图不一定必须与物理或逻辑上独立的实体相对应。可以采用软件形式来实现这些功能实体,或在一个或多个硬件模块或集成电路中实现这些功能实体,或在不同网络和/或处理器装置和/或微控制器装置中实现这些功能实体。The accompanying drawings are merely schematic illustrations of the present disclosure, and the same reference numerals in the drawings denote the same or similar parts, and thus their repeated descriptions will be omitted. Some of the block diagrams shown in the figures do not necessarily necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
附图中所示的流程图仅是示例性说明,不是必须包括所有的内容和步骤,也不是必须按所描述的顺序执行。例如,有的步骤还可以分解,而有的步骤可以合并或部分合并,因此实际执行的顺序有可能根据实际情况改变。The flowcharts shown in the figures are only exemplary illustrations, and do not necessarily include all contents and steps, nor do they have to be performed in the order described. For example, some steps can be decomposed, and some steps can be combined or partially combined, so the actual execution order may be changed according to the actual situation.
本说明书中,用语“一个”、“一”、“该”、“所述”和“至少一个”用以表示存在一个或多个要素/组成部分/等;用语“包含”、“包括”和“具有”用以表示开放式的包括在内的意思并且是指除了列出的要素/组成部分/等之外还可存在另外的要素/组成部分/等;用语“第一”、“第二”和“第三”等仅作为标记使用,不是对其对象的数量限制。In this specification, the terms "a", "an", "the", "the" and "at least one" are used to indicate the presence of one or more elements/components/etc.; the terms "comprising", "including" and "Having" is used to indicate an open-ended inclusive meaning and to mean that there may be additional elements/components/etc. in addition to the listed elements/components/etc.; the terms "first", "secondary" " and "Third" etc. are used only as markers, not as restrictions on the number of their objects.
下面结合附图对本公开示例实施方式进行详细说明。The exemplary embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings.
图1示出了可以应用于本公开实施例的网络质量确定方法或网络质量确定装置的示例性 系统架构的示意图。Fig. 1 shows a schematic diagram of an exemplary system architecture that can be applied to a network quality determination method or a network quality determination apparatus according to an embodiment of the present disclosure.
如图1所示,系统架构100可以包括目标设备101、第一目标测速节点102、第二目标测速节点103、网络104和服务器105。网络104用以在目标设备101、第一目标测速节点102、第二目标测速节点103以及服务器105之间提供通信链路的介质。网络104可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。As shown in FIG. 1 , the system architecture 100 may include a target device 101 , a first target speed measurement node 102 , a second target speed measurement node 103 , a network 104 and a server 105 . The network 104 is used to provide a medium of communication links between the target device 101 , the first target speed measuring node 102 , the second target speed measuring node 103 and the server 105 . The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
用户可以使用目标设备101通过网络104与服务器105交互,以接收或发送消息等。其中,目标设备101可以是各种可以进行网络通信的电子设备,包括但不限于智能手机、平板电脑、膝上型便携计算机、台式计算机、可穿戴设备、虚拟现实设备、智能家居、智能音响等等。The user can use the target device 101 to interact with the server 105 through the network 104 to receive or send messages and the like. Wherein, the target device 101 can be various electronic devices that can perform network communication, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, wearable devices, virtual reality devices, smart homes, smart speakers, etc. Wait.
第一目标测速节点可以与目标设备101所在的第一区域的运营商网络的目标网络出口节点对应(例如,第一目标测速节点可以与目标网络出口节点同机房设置,可以与目标网络出口节点同小区设置、同市县设置等,本公开对此不做限制),第一目标测速节点可以用来接收并返回目标设备101传输的测速信号,以对目标设备的网络质量进行检测。The first target speed measurement node may correspond to the target network exit node of the operator network in the first area where the target device 101 is located (for example, the first target speed measurement node may be set in the same computer room as the target network exit node, and may be set in the same computer room as the target network exit node. Cell settings, same city and county settings, etc., which are not limited in this disclosure), the first target speed measurement node can be used to receive and return the speed measurement signal transmitted by the target device 101 to detect the network quality of the target device.
第二目标测速节点可以与处理目标设备101中目标业务的目标服务器对应(例如,第二目标测速节点可以与目标服务器同机房设置、可以与目标网络出口节点同小区设置、同市县设置等,本公开对此不做限制),第二目标测速节点可以用来接收并返回目标设备101传输的测速信号,以对目标设备的网络质量进行检测。The second target speed measurement node may correspond to the target server processing the target service in the target device 101 (for example, the second target speed measurement node may be set in the same computer room as the target server, in the same cell as the target network exit node, in the same city or county, etc. This disclosure is not limited), the second target speed measurement node can be used to receive and return the speed measurement signal transmitted by the target device 101, so as to detect the network quality of the target device.
服务器105可以是提供各种服务的服务器,例如对用户利用目标设备101所进行操作的装置提供支持的后台管理服务器。后台管理服务器可以对接收到的请求等数据进行分析等处理,并将处理结果反馈给目标设备。The server 105 may be a server that provides various services, such as a background management server that provides support for devices operated by the user using the target device 101 . The background management server can analyze and process the received request and other data, and feed back the processing result to the target device.
服务器可以是独立的物理服务器,也可以是多个物理服务器构成的服务器集群或者分布式系统,还可以是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、内容分发网络(Content Delivery Network,CDN)、以及大数据和人工智能平台等基础云计算服务的云服务器等,本公开对此不做限制。The server can be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud service, cloud database, cloud computing, cloud function, cloud storage, network service, cloud communication, intermediate Software services, domain name services, security services, Content Delivery Network (CDN), and cloud servers for basic cloud computing services such as big data and artificial intelligence platforms, etc., are not limited in this disclosure.
在本申请实施例中,目标设备101或者服务器105可以根据运营商网络时延和端到端网络时延确定目标设备执行目标业务时的网络质量;其中,运营商网络时延是基于目标设备向第一目标测速节点发送的第一测速信号确定的,目标设备到目标网络出口节点的时延;第一目标测速节点与目标设备所在第一区域的运营商网络的目标网络出口节点对应;端到端网络时延是基于目标设备向第二目标测速节点发送的第二测速信号确定的,目标设备到目标服务器的时延;第二目标测速节点与处理目标业务的目标服务器对应。In this embodiment of the present application, the target device 101 or the server 105 may determine the network quality when the target device performs the target service according to the operator network delay and the end-to-end network delay; The delay from the target device to the exit node of the target network determined by the first speed measurement signal sent by the first target speed measurement node; the first target speed measurement node corresponds to the target network exit node of the operator network in the first area where the target device is located; The end network delay is determined based on the second speed measurement signal sent by the target device to the second target speed measurement node, and the delay from the target device to the target server; the second target speed measurement node corresponds to the target server processing the target service.
例如,服务器105可例如获取目标设备针对目标业务的第一目标测速节点和第二目标测速 节点,第一目标测速节点与目标设备所在第一区域的运营商网络的目标网络出口节点对应,第二目标测速节点与处理目标业务的目标服务器对应,目标服务器处于第二区域,第一区域和第二区域之间通过骨干网通信,或者说,目标服务器和目标网络出口节点之间通过骨干网通信;服务器105可例如根据目标设备向第一目标测速节点发送的第一测速信号,确定目标设备到目标网络出口节点的运营商网络时延;服务器105可例如根据目标设备向第二目标测速节点发送的第二测速信号,确定目标设备到目标服务器的端到端网络时延;服务器105可例如根据运营商网络时延和端到端网络时延确定目标设备执行目标业务时的网络质量。For example, the server 105 may obtain, for example, the first target speed measurement node and the second target speed measurement node of the target device for the target service, the first target speed measurement node corresponds to the target network exit node of the operator network in the first area where the target device is located, and the second target speed measurement node corresponds to the target network exit node of the operator network in the first region where the target device is located. The target speed measuring node corresponds to the target server processing the target service, the target server is in the second area, and the first area and the second area communicate through the backbone network, or in other words, the target server and the target network exit node communicate through the backbone network; The server 105 may, for example, determine the operator network delay from the target device to the target network exit node according to the first speed measurement signal sent by the target device to the first target speed measurement node; The second speed measurement signal determines the end-to-end network delay from the target device to the target server; the server 105 may, for example, determine the network quality when the target device performs the target service according to the operator network delay and the end-to-end network delay.
再例如,上述服务器105执行的步骤也可以由目标设备101来执行。也就是说,目标设备101可以自行获取上述第一目标测速节点和第二目标测速节点;之后,目标设备向第一目标测速节点发送第一测速信号,以确定目标设备到目标网络出口节点的运营商网络时延,以及,向第二目标测速节点发送第二测速信号,以确定目标设备到目标服务器的端到端网络时延;之后,目标设备还可以根据运营商网络时延和端到端网络时延确定目标设备执行目标业务时的网络质量。For another example, the steps performed by the above server 105 may also be performed by the target device 101 . That is, the target device 101 can obtain the first target speed measurement node and the second target speed measurement node by itself; after that, the target device sends the first speed measurement signal to the first target speed measurement node to determine the operation of the target device to the target network exit node. carrier network delay, and send a second speed measurement signal to the second target speed measurement node to determine the end-to-end network delay from the target device to the target server; The network delay determines the network quality when the target device performs the target service.
可选的,上述确定目标设备执行目标业务时的网络质量的方案,也可以由目标设备101和服务器105交互执行。也就是说,上述目标设备101和服务器105可以分别执行上述方案中的部分步骤。例如,上述目标设备101可以根据测速信号确定运营商网络时延和端到端网络时延中的至少一种,并将确定的网络时延发送给服务器105,由服务器105确定目标设备执行目标业务时的网络质量。Optionally, the above solution for determining the network quality when the target device executes the target service may also be executed by the target device 101 and the server 105 interactively. That is to say, the above-mentioned target device 101 and the server 105 may respectively execute some steps in the above-mentioned solution. For example, the above-mentioned target device 101 may determine at least one of the operator network delay and the end-to-end network delay according to the speed measurement signal, and send the determined network delay to the server 105, and the server 105 determines that the target device executes the target service the network quality at the time.
应该理解,图1中的目标设备、网络和服务器的数目仅仅是示意性的,服务器105可以是一个实体的服务器,还可以为多个服务器组成,根据实际需要,可以具有任意数目的目标设备、网络和服务器。It should be understood that the numbers of target devices, networks and servers in FIG. 1 are only illustrative, the server 105 may be an entity server, or may be composed of multiple servers, and may have any number of target devices, network and server.
下面参考图2,其示出了适于用来实现本申请实施例的终端设备的计算机系统200的结构示意图。图2示出的终端设备仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。Referring next to FIG. 2 , it shows a schematic structural diagram of a computer system 200 suitable for implementing a terminal device according to an embodiment of the present application. The terminal device shown in FIG. 2 is only an example, and should not impose any limitations on the functions and scope of use of the embodiments of the present application.
如图2所示,计算机系统200包括中央处理单元(Central Processing Unit,CPU)201,其可以根据存储在只读存储器(Read-Only Memory,ROM)202中的程序或者从储存部分208加载到随机访问存储器(Random Access Memory,RAM)203中的程序而执行各种适当的动作和处理。在RAM 203中,还存储有系统200操作所需的各种程序和数据。CPU 201、ROM 202以及RAM 203通过总线204彼此相连。输入/输出(Input/Output,I/O)接口205也连接至总线 204。As shown in FIG. 2 , the computer system 200 includes a central processing unit (Central Processing Unit, CPU) 201, which can be loaded into a random device according to a program stored in a read-only memory (Read-Only Memory, ROM) 202 or from a storage part 208 Various appropriate actions and processes are performed by accessing programs in a memory (Random Access Memory, RAM) 203 . In the RAM 203, various programs and data required for the operation of the system 200 are also stored. The CPU 201, the ROM 202, and the RAM 203 are connected to each other through a bus 204. An Input/Output (I/O) interface 205 is also connected to the bus 204 .
以下部件连接至I/O接口205:包括键盘、鼠标等的输入部分206;包括诸如阴极射线管(Cathode Ray Tube,CRT)、液晶显示器(Liquid Crystal Display,LCD)等以及扬声器等的输出部分207;包括硬盘等的储存部分208;以及包括诸如局域网(Local Area Network,LAN)卡、调制解调器等的网络接口卡的通信部分209。通信部分209经由诸如因特网的网络执行通信处理。驱动器210也根据需要连接至I/O接口205。可拆卸介质211,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器210上,以便于从其上读出的计算机程序根据需要被安装入储存部分208。The following components are connected to the I/O interface 205: an input section 206 including a keyboard, a mouse, etc.; an output section 207 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc. ; a storage section 208 including a hard disk, etc.; and a communication section 209 including a network interface card such as a local area network (Local Area Network, LAN) card, a modem, and the like. The communication section 209 performs communication processing via a network such as the Internet. A drive 210 is also connected to the I/O interface 205 as needed. A removable medium 211, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is mounted on the drive 210 as needed so that a computer program read therefrom is installed into the storage section 208 as needed.
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在计算机可读存储介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分209从网络上被下载和安装,和/或从可拆卸介质211被安装。在该计算机程序被中央处理单元(CPU)201执行时,执行本申请的系统中限定的上述功能。In particular, according to embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a computer-readable storage medium, the computer program containing program code for performing the method illustrated in the flowchart. In such an embodiment, the computer program may be downloaded and installed from the network via the communication portion 209 and/or installed from the removable medium 211 . When the computer program is executed by the central processing unit (CPU) 201, the above-described functions defined in the system of the present application are executed.
需要说明的是,本申请所示的计算机可读存储介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(Erasable Programmable Read-Only Memory,EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本申请中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本申请中,计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读存储介质,该计算机可读存储介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读存储介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:无线、电线、光缆、射频(Radio Frequency,RF)等等,或者上述的任意合适的组合。It should be noted that the computer-readable storage medium shown in this application may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples of computer readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Programmable Read-Only Memory (Erasable Programmable Read-Only Memory, EPROM or Flash), Optical Fiber, Portable Compact Disc Read-Only Memory (CD-ROM), Optical Storage Device, Magnetic Storage Device, or any of the above suitable combination. In this application, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this application, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code therein. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium can also be any computer-readable storage medium other than a computer-readable storage medium that can be sent, propagated, or transmitted for use by or in connection with the instruction execution system, apparatus, or device program of. The program code embodied on the computer-readable storage medium can be transmitted by any suitable medium, including but not limited to: wireless, wire, optical fiber cable, radio frequency (RF), etc., or any suitable combination of the above.
附图中的流程图和框图,图示了按照本申请各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,上述模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图或流程图中的每个方框、以及框图或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more logical functions for implementing the specified functions executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It is also noted that each block of the block diagrams or flowchart illustrations, and combinations of blocks in the block diagrams or flowchart illustrations, can be implemented in special purpose hardware-based systems that perform the specified functions or operations, or can be implemented using A combination of dedicated hardware and computer instructions is implemented.
描述于本申请实施例中所涉及到的模块和/或子模块和/或单元和/或子单元可以通过软件的方式实现,也可以通过硬件的方式来实现。所描述的模块和/或子模块和/或单元和/或子单元也可以设置在处理器中,例如,可以描述为:一种处理器包括发送单元、获取单元、确定单元和第一处理单元。其中,这些模块和/或子模块和/或单元和/或子单元的名称在某种情况下并不构成对该模块和/或子模块和/或单元和/或子单元本身的限定。The modules and/or sub-modules and/or units and/or sub-units described in the embodiments of the present application may be implemented in software or hardware. The described modules and/or sub-modules and/or units and/or sub-units can also be provided in the processor, for example, it can be described as: a processor includes a sending unit, an obtaining unit, a determining unit and a first processing unit . Wherein, the names of these modules and/or submodules and/or units and/or subunits do not constitute limitations on the modules and/or submodules and/or units and/or subunits themselves under certain circumstances.
作为另一方面,本申请还提供了一种计算机可读存储介质,该计算机可读存储介质可以是上述实施例中描述的设备中所包含的;也可以是单独存在,而未装配入该设备中。上述计算机可读存储介质承载有一个或者多个程序,当上述一个或者多个程序被一个该设备执行时,使得该设备可实现功能包括:获取目标设备针对目标业务的第一目标测速节点和第二目标测速节点,第一目标测速节点与目标设备所在第一区域的运营商网络的目标网络出口节点对应,第二目标测速节点与处理目标业务的目标服务器对应,目标服务器处于第二区域,第一区域和第二区域之间通过骨干网通信;根据目标设备向第一目标测速节点发送的第一测速信号,确定目标设备到目标网络出口节点的运营商网络时延;根据目标设备向第二目标测速节点发送的第二测速信号,确定目标设备到目标服务器的端到端网络时延;根据运营商网络时延和端到端网络时延确定目标设备执行目标业务时的网络质量。As another aspect, the present application also provides a computer-readable storage medium. The computer-readable storage medium may be included in the device described in the above embodiments; it may also exist alone without being assembled into the device. middle. The above-mentioned computer-readable storage medium carries one or more programs, and when the above-mentioned one or more programs are executed by a device, the device can realize functions including: obtaining the first target speed measurement node and the first target speed measurement node of the target device for the target service. Two target speed measurement nodes, the first target speed measurement node corresponds to the target network exit node of the operator network in the first area where the target device is located, the second target speed measurement node corresponds to the target server processing the target service, the target server is located in the second area, the first Communication between one area and the second area is through the backbone network; according to the first speed measurement signal sent by the target device to the first target speed measurement node, determine the operator network delay from the target device to the exit node of the target network; The second speed measurement signal sent by the target speed measurement node determines the end-to-end network delay from the target device to the target server; the network quality when the target device performs the target service is determined according to the operator network delay and the end-to-end network delay.
随着通信技术的发展,5G(5th Generation mobile networks,第五代移动通信技术)网络逐渐成为通信主流技术。With the development of communication technology, 5G (5th Generation mobile networks, fifth generation mobile communication technology) network has gradually become the mainstream technology of communication.
为了适应5G技术的发展,目标运营商可能会在不同的省、市等区域分别布局如图3所示的运营商网络302,不同省市的运营商网络可以通过骨干网303进行通信。例如,目标运营商可能在A省布局一个运营商网络,也可以在B市布局一个运营商网络,本公开对此不做限制。可以理解的是位于A省(或者B市)的、使用目标运营商的所有通信设备,均可以通过A省(或 者B市)的目标运营商的运营商网络进行通信。In order to adapt to the development of 5G technology, the target operator may deploy the operator network 302 shown in FIG. 3 in different provinces, cities and other regions respectively. For example, the target operator may deploy an operator network in province A, and may also deploy an operator network in city B, which is not limited in this disclosure. It can be understood that all communication devices located in province A (or city B) using the target operator can communicate through the operator network of the target operator in province A (or city B).
在一些实施例中,目标运营商在目标区域的运营商网络302可能会包括由各个基站组成的接入网、承载网、核心网等,核心网可以通过目标网络出口节点与外界网络进行信息传输。在5G网络中,运营商网络核心网的目标网络出口节点可以是UPF(User Plane Function,用户平面功能)节点。In some embodiments, the operator network 302 of the target operator in the target area may include an access network, a bearer network, a core network, etc. composed of various base stations, and the core network may transmit information to an external network through an exit node of the target network . In a 5G network, the target network exit node of the operator's network core network may be a UPF (User Plane Function, user plane function) node.
用户平面功能UPF可以实现网络地址转换功能,即可以将运营商网络内部网址转换为公网地址。The user plane function UPF can implement the network address translation function, that is, it can convert the internal website address of the operator's network into a public network address.
一般来说,不同运营商在不同地区设置的运营商网络是封闭的、对外不开放的,运营商网络中的网元通常都无法被外界获知。Generally speaking, operator networks set up by different operators in different regions are closed and not open to the outside world, and network elements in the operator network are usually not known to the outside world.
参考图3,为了确定终端设备在运行目标业务时的网络质量,相关技术通常会将处理目标业务的目标服务器304作为测速点,从终端301经由运营商网络302、骨干网303向目标服务器304直接发起测速,通过观察业务报文或者测速报文的往返时间作为网络延时,从而评估网络质量。Referring to FIG. 3, in order to determine the network quality of the terminal device when running the target service, the related art usually uses the target server 304 processing the target service as the speed measurement point, and the terminal 301 directly sends the target server 304 via the operator network 302 and the backbone network 303 to the target server 304. Initiate speed measurement, and evaluate network quality by observing the round-trip time of service packets or speed measurement packets as the network delay.
但是将后台目标服务器304作为目标测速点,容易造成以下问题:However, using the background target server 304 as the target speed measurement point may easily cause the following problems:
1、大量终端同时向目标服务器304发起测速请求容易对目标服务器304造成负载压力,影响后台业务进程的运行。1. A large number of terminals sending speed measurement requests to the target server 304 at the same time will easily cause load pressure on the target server 304 and affect the operation of the background business process.
2、目标服务器304的负载影响测速报文的处理时间,可能造成测速数据失真。2. The load of the target server 304 affects the processing time of the speed measurement packet, which may cause distortion of the speed measurement data.
3、大量终端对后台服务器304发起测速会占用服务器带宽,影响实际业务。3. The speed measurement initiated by a large number of terminals on the background server 304 will occupy the server bandwidth and affect the actual business.
4、测速粒度低,只能感知端到端(终端到目标服务器端)的网络状态变化,无法进一步定位网络瓶颈。4. The speed measurement granularity is low, only the end-to-end (terminal to target server) network status changes can be sensed, and the network bottleneck cannot be further located.
本公开实施例提供了一种网络质量确定方法,在不影响目标服务器304实际业务处理速度的情况下,完成对终端设备针对目标业务的测速。The embodiment of the present disclosure provides a method for determining network quality, which completes the speed measurement of the terminal device for the target service without affecting the actual service processing speed of the target server 304 .
图4是根据一示例性实施例示出的一种网络质量确定方法的流程图。本公开实施例所提供的方法可以由任意具备计算处理能力的电子设备来执行,例如该方法可以由上述图1实施例中的服务器或目标设备来执行,也可以由服务器和目标设备共同执行,本公开对此不做限制。Fig. 4 is a flow chart of a method for determining network quality according to an exemplary embodiment. The method provided in this embodiment of the present disclosure can be executed by any electronic device with computing processing capability. For example, the method can be executed by the server or the target device in the above-mentioned embodiment of FIG. 1, or can be executed jointly by the server and the target device, This disclosure does not limit this.
在一些实施例中,可以由测速控制器执行下述网络质量确定方法,该测试控制器可以是一种通过云技术(Cloud technology)部署于云端的服务器,可以与各个测速节点、目标终端、目标服务器等进行信令交互,并通过云计算(Cloud computing)对目标测速节点、目标终端、目标服务器等传输的信息进行处理。In some embodiments, the following network quality determination method may be performed by a speed measurement controller, where the test controller may be a server deployed in the cloud through cloud technology, and may communicate with each speed measurement node, target terminal, target Servers, etc. perform signaling interaction, and process the information transmitted by the target speed measuring node, target terminal, target server, etc. through cloud computing.
一般来说,在实施本实施例提供的技术方案之前需要提前布置测速节点(包括第一测速节点和第二测速节点),其中第一测速节点可以布置在各个区域的运营商网络的网络出口节点(例如5G网络中的UPF)附近。例如,可以在网络出口节点所在机房布置第一测速节点,也可以在网络出口节点所在城市布置第一测速节点。Generally speaking, before implementing the technical solution provided in this embodiment, speed measuring nodes (including a first speed measuring node and a second speed measuring node) need to be arranged in advance, wherein the first speed measuring node may be arranged at the network exit node of the operator network in each area (e.g. UPF in 5G networks). For example, the first speed measuring node may be arranged in the computer room where the network exit node is located, or the first speed measuring node may be arranged in the city where the network exit node is located.
一般来说,各个运营商会将自己的网络出口节点布置在各个省会以及有下沉需要的重点城市(例如某直辖市、某经济发展地区等)。如果事先不知道各个运营商的网络出口节点的具体位置,可以在各个省会以及重点城市中随机布置多个第一测速节点。Generally speaking, each operator will arrange its own network exit nodes in various provincial capitals and key cities that need to sink (such as a municipality directly under the central government, an economic development area, etc.). If the specific locations of the network exit nodes of each operator are not known in advance, multiple first speed measuring nodes can be randomly arranged in each provincial capital and key city.
在一些实施例中,如果已知处理目标业务的目标服务器所在的机房,则可以将第二测速节点布置在各个目标服务器所在的机房。例如,可以在目标服务器所在机房布置第二测速节点,也可以在目标服务器所在城市布置第二测速节点,本公开对此不做限制。In some embodiments, if the computer room where the target server processing the target service is located is known, the second speed measuring node may be arranged in the computer room where each target server is located. For example, the second speed measuring node may be arranged in the computer room where the target server is located, or the second speed measuring node may be arranged in the city where the target server is located, which is not limited in the present disclosure.
在一些实施例中,如果不知道目标服务器的具体位置,可以在各个省会、各主要城市随机布局多个第二测速节点,以使得第二测速节点尽可能的接近目标服务器的位置。In some embodiments, if the specific location of the target server is unknown, multiple second speed measuring nodes may be randomly arranged in each provincial capital and each major city, so that the second speed measuring nodes are as close to the location of the target server as possible.
在一些实施例中,第一测速节点和第二测速节点可以相同,也可以不相同,本公开对此不做限制。In some embodiments, the first speed measuring node and the second speed measuring node may be the same or different, which is not limited in the present disclosure.
参照图4,本公开实施例提供的网络质量确定方法可以包括以下步骤。Referring to FIG. 4 , the network quality determination method provided by the embodiment of the present disclosure may include the following steps.
在步骤S1中,获取目标设备针对目标业务的第一目标测速节点和第二目标测速节点,第一目标测速节点与目标设备所在第一区域的运营商网络的目标网络出口节点对应,第二目标测速节点与处理目标业务的目标服务器对应,目标服务器处于第二区域,第一区域和第二区域之间通过骨干网通信。In step S1, the first target speed measurement node and the second target speed measurement node of the target device for the target service are obtained, the first target speed measurement node corresponds to the target network exit node of the operator network in the first area where the target device is located, and the second target speed measurement node corresponds to The speed measuring node corresponds to the target server processing the target service, the target server is located in the second area, and the first area and the second area communicate through the backbone network.
其中,上述第一区域和第二区域之间通过骨干网通信,可以是指目标服务器与目标网络出口节点之间通过骨干网通信。Wherein, the communication between the first area and the second area through the backbone network may refer to the communication between the target server and the target network exit node through the backbone network.
在一些实施例中,目标设备可以指的是任意需要进行网络测速的设备,例如是手机、电脑、智能音响、智能手表等,本公开对此不做限制。In some embodiments, the target device may refer to any device that needs to perform network speed measurement, such as a mobile phone, a computer, a smart speaker, a smart watch, etc., which is not limited in the present disclosure.
在一些实施例中,目标业务可以指的是目标设备中任意需要进行网络测速的业务,例如目标游戏业务、目标音频业务、目标视频业务、目标社交业务等,本公开对此不做限制。In some embodiments, the target service may refer to any service in the target device that requires network speed measurement, such as target game service, target audio service, target video service, target social service, etc., which is not limited in the present disclosure.
在一些实施例中,第一区域中的网络信号(比如第一区域中的目标网络出口节点的网络信号)可以通过目标网络出口节点到达骨干网,然后经由骨干网与第二区域(比如第二区域中的目标服务器)实现网络通信。In some embodiments, network signals in the first area (such as network signals of target network exit nodes in the first area) may pass through the target network exit nodes to the backbone network, and then communicate with the second area (such as the second area) via the backbone network target server in the region) for network communication.
其中,目标网络出口节点既可例如是5G网络的网络出口节点(例如UPF节点),也可例如是4G网络的网络出口节点;既可以是移动网络的网络出口节点,也可以是固网的网络出口 节点,还可以是其它网络的网络出口节点,本公开对此不做限制。The target network exit node may be, for example, a network exit node of a 5G network (such as a UPF node) or a network exit node of a 4G network; it may be a network exit node of a mobile network or a fixed network network. The exit node may also be a network exit node of other networks, which is not limited in the present disclosure.
在一些实施例中,以通过测速控制器获取测速节点为例,在目标设备针对目标业务测速之前,可以向测速控制器发出测速请求,该测速请求可以经由目标设备所在运营商网络的目标网络出口到达骨干网(目标网络出口会为测速请求分配公网地址,该公网地址中携带目标网络出口的地理位置信息),然后经由骨干网到达测速控制器;测速控制器可以根据测速请求中的公网地址确定目标网络出口节点的地理位置;测速控制器根据目标网络出口的地理位置选择一个距离目标网络出口节点(如图5所示的3021)地理位置较近、负载较少的第一测速节点作为目标设备的第一目标测速节点(如图5所示的3022);测速控制器还可以根据测速请求中目标业务对应的目标服务器的地址确定目标服务器的地理位置,测速控制器根据目标服务器的地理位置选择选择一个距离目标服务器(如图5所示的3011)较近、负载较少的第二测速节点作为目标设备的第二目标测速节点(如图5所示的3012)。In some embodiments, taking the speed measurement node obtained by the speed measurement controller as an example, before the target device measures the speed of the target service, a speed measurement request can be sent to the speed measurement controller, and the speed measurement request can be passed through the target network exit of the operator network where the target device is located. Reach the backbone network (the target network exit will allocate a public network address for the speed measurement request, and the public network address carries the geographic location information of the target network exit), and then reach the speed measurement controller via the backbone network; the speed measurement controller can be based on the speed measurement request. The network address determines the geographical location of the target network exit node; the speed measurement controller selects a first speed measurement node that is geographically close to the target network exit node (3021 shown in Figure 5) and has less load according to the geographical location of the target network exit As the first target speed measurement node of the target device (3022 shown in Figure 5); the speed measurement controller can also determine the geographical location of the target server according to the address of the target server corresponding to the target service in the speed measurement request, and the speed measurement controller The geographic location selection selects a second speed measuring node that is closer to the target server (3011 shown in FIG. 5 ) and has less load as the second target speed measuring node of the target device (3012 shown in FIG. 5 ).
可以理解的是,第一目标测速节点距离目标网络出口节点越近,那么通过该第一目标测速节点测得的网络质量越准确。同理,第二目标测速节点距离目标服务器越近,那么通过该第二目标测速节点测得的网络质量越准确。It can be understood that, the closer the first target speed measuring node is to the target network exit node, the more accurate the network quality measured by the first target speed measuring node. Similarly, the closer the second target speed measuring node is to the target server, the more accurate the network quality measured by the second target speed measuring node.
在步骤S2中,根据目标设备向第一目标测速节点发送的第一测速信号,确定目标设备到目标网络出口节点的运营商网络时延。In step S2, the operator network delay from the target device to the target network exit node is determined according to the first speed measurement signal sent by the target device to the first target speed measurement node.
在一些实施例中,当测速控制器为目标设备确定了第一目标测速节点和第二目标测速节点后,会将第一目标测速节点的地址和第二目标测速节点的地址发送给目标设备。In some embodiments, after the speed measurement controller determines the first target speed measurement node and the second target speed measurement node for the target device, it will send the address of the first target speed measurement node and the address of the second target speed measurement node to the target device.
如图5所示,当目标设备(即图5中终端301)接收到第一目标测速节点的地址后,会根据第一目标测速节点的地址向第一目标测速节点3022发送第一测速信号,根据该第一测速信号的往返时间可以确定目标设备到第一目标测速节点的网络时延T1。As shown in FIG. 5 , when the target device (ie, the terminal 301 in FIG. 5 ) receives the address of the first target speed measurement node, it will send the first speed measurement signal to the first target speed measurement node 3022 according to the address of the first target speed measurement node, The network delay T1 from the target device to the first target speed measurement node can be determined according to the round-trip time of the first speed measurement signal.
其中,第一次测速信号可以是ICMP(Internet Control Message Protocol,Internet控制报文协议)服务中的测速信号,还可以是TCPing(一种网络状态检测命令)、UDPing(一种网络通信问题检测信号)或者宽带测速服务中的测速信号,本公开对此不做限制。Among them, the first speed measurement signal may be the speed measurement signal in the ICMP (Internet Control Message Protocol, Internet Control Message Protocol) service, or may be TCPing (a network status detection command), UDPing (a network communication problem detection signal) ) or a speed measurement signal in a broadband speed measurement service, which is not limited in this disclosure.
可以理解的是,由于第一目标测速节点3022与目标网络出口节点3021的距离比较近,所以可以将目标设备与第一目标测速节点之间的网络时延T1,作为目标设备与目标网络出口节点的运营商网络时延。It can be understood that since the distance between the first target speed measuring node 3022 and the target network exit node 3021 is relatively close, the network delay T1 between the target device and the first target speed measuring node can be used as the target device and the target network exit node. carrier network latency.
在步骤S3中,根据目标设备向第二目标测速节点发送的第二测速信号,确定目标设备到目标服务器的端到端网络时延。In step S3, the end-to-end network delay from the target device to the target server is determined according to the second speed measurement signal sent by the target device to the second target speed measurement node.
参考图5,当目标设备(即图5中终端301)接收到第二目标测速节点的地址后,会根据第 二目标测速节点的地址向第二目标测速节点3012发送第二测速信号,并根据第二测速信号往返时间确定目标设备到第二目标测速节点3012的网络时延。Referring to FIG. 5 , when the target device (ie, the terminal 301 in FIG. 5 ) receives the address of the second target speed measuring node, it will send a second speed measuring signal to the second target speed measuring node 3012 according to the address of the second target speed measuring node, and according to the address of the second target speed measuring node The round-trip time of the second speed measurement signal determines the network delay from the target device to the second target speed measurement node 3012 .
其中,第二测速信号可以是ICMP服务中的测速信号,还可以是TCPing、UDPing或者宽带测速服务中的测速信息,本公开对此不做限制。The second speed measurement signal may be the speed measurement signal in the ICMP service, or may be the speed measurement information in the TCPing, UDPing, or broadband speed measurement service, which is not limited in the present disclosure.
可以理解的是,由于第二目标测速节点3012与目标服务器3011的距离比较近,所以可以将目标设备与第二目标测速节点3012之间的网络时延T2,作为目标设备与目标服务器3011的端到端网络时延。It can be understood that since the distance between the second target speed measuring node 3012 and the target server 3011 is relatively close, the network delay T2 between the target device and the second target speed measuring node 3012 can be regarded as the end of the target device and the target server 3011. End-to-end network delay.
其中,上述步骤S2和步骤S3可以同步执行;或者,上述步骤S2和步骤S3也可以先后执行,比如,上述步骤S2可以在步骤S3之前执行,或者,上述步骤S2也可以在步骤S3之后执行。本公开实施例对步骤S2和步骤S3的执行顺序不做限定。Wherein, the above-mentioned step S2 and step S3 can be performed synchronously; or, the above-mentioned step S2 and step S3 can also be performed successively, for example, the above-mentioned step S2 can be performed before step S3, or, the above-mentioned step S2 can also be performed after step S3. This embodiment of the present disclosure does not limit the execution order of step S2 and step S3.
在步骤S4中,根据运营商网络时延和端到端网络时延确定目标设备执行目标业务时的网络质量。In step S4, the network quality when the target device performs the target service is determined according to the operator network delay and the end-to-end network delay.
在一些实施例中,当目标设备到目标网络出口节点3021的运营商网络时延T1、目标设备到目标服务器3011的端到端网络时延T2已知之后,可以通过T2-T1确定目标网络出口节点3021到目标服务器3011的骨干网网络时延。In some embodiments, after the carrier network delay T1 from the target device to the target network exit node 3021 and the end-to-end network delay T2 from the target device to the target server 3011 are known, the target network exit can be determined through T2-T1 The network delay of the backbone network from the node 3021 to the target server 3011.
在一些实施例中,可以实时监测运营商网络时延,若发现运营网络时延发生波动(例如运营商网络时延突然增加或超过第一阈值),则可以认为目标设备所在运营商网络中的网络质量较差。当目标设备所在的运营商网络的网络质量变差时,一方面可以通过目标设备向目标对象提示当前网络较差以便目标对象采取应对措施(例如更换网络),另一方面可以采取主动措施对该运营商网络的网络质量进行优化(例如优化网络协议、信息分流等)。In some embodiments, the operator network delay can be monitored in real time. If it is found that the operator network delay fluctuates (for example, the operator network delay suddenly increases or exceeds a first threshold), it can be considered that the target device is located in the operator network. Network quality is poor. When the network quality of the operator's network where the target device is located deteriorates, on the one hand, the target device can prompt the target object that the current network is poor so that the target object can take countermeasures (such as replacing the network), and on the other hand, proactive measures can be taken to the target object. The network quality of the operator's network is optimized (for example, network protocol optimization, information distribution, etc.).
在一些实施例中,可以实时监测目标设备到目标服务器的端到端的网络时延,若发现端到端网络时延发生波动(例如端到端网络时延突然增加或超过第二阈值),则可以认为目标设备到目标服务器所在网络的网络质量变差。当目标设备到目标服务器所在网络的网络质量变差时,一方面可以通过目标设备向目标对象提示当前网络较差以便目标对象采取应对措施(例如更换网络),另一方面可以采取主动措施对该端到端的网络质量进行优化。In some embodiments, the end-to-end network delay from the target device to the target server can be monitored in real time. If it is found that the end-to-end network delay fluctuates (for example, the end-to-end network delay suddenly increases or exceeds a second threshold), the It can be considered that the network quality from the target device to the network where the target server is located becomes poor. When the network quality between the target device and the network where the target server is located deteriorates, on the one hand, the target device can prompt the target object that the current network is poor so that the target object can take countermeasures (such as replacing the network), and on the other hand, it can take active measures to End-to-end network quality is optimized.
在一些实施例中,可以实时监测目标网络出口到目标服务器的骨干网网络时延,若发现骨干网网络时延发生波动(例如骨干网网络时延突然增加或超过第三阈值),则可以认为目标网络出口节点到目标服务器的骨干网网络的网络质量变差。当目标网络出口节点到目标服务器的骨干网的网络质量变差时,一方面可以通过目标设备向目标对象提示当前网络较差以便目标对象采取应对措施(例如更换网络);另一方面可以采取主动措施对该骨干网的网络 质量进行优化。In some embodiments, the network delay of the backbone network from the export of the target network to the target server can be monitored in real time. If it is found that the network delay of the backbone network fluctuates (for example, the network delay of the backbone network suddenly increases or exceeds a third threshold), it can be considered that The network quality of the backbone network from the exit node of the target network to the target server deteriorates. When the network quality of the backbone network from the exit node of the target network to the target server deteriorates, on the one hand, the target device can prompt the target object that the current network is poor so that the target object can take countermeasures (such as replacing the network); Measures to optimize the network quality of the backbone network.
其中,上述步骤S1至步骤S4可以全部由测速控制器执行,也可以全部由目标设备执行,或者,也可以分别测速控制器和目标设备执行。Wherein, the above steps S1 to S4 may all be performed by the speed measurement controller, or may be entirely performed by the target device, or may be separately performed by the speed measurement controller and the target device.
本实施例提供的技术方案,根据运营商网络时延和端到端网络时延确定了目标设备执行目标业务时的网络质量,其中,运营商网络时延和端到端网络时延是根据第一目标测速节点和第二目标测速节点分别确定的;由于该网络质量由运营商网络时延和端到端网络时延确定,因此,该网络质量既可以包括目标设备到目标网络出口节点的网络质量,又可以包括目标设备到目标服务器的网络质量;同时,上述端到端网络时延是通过对应目标网络出口节点和目标服务器设置的,目标设备不需要直接向目标服务器发送测试信号;因此,本公开实施例提供的方案既可以在不占用目标服务器宽带、不增加服务器负载的情况下实现对目标设备执行目标业务时的网络质量进行确定;又可以从多个维度对网络质量进行测量(例如,可以测量目标设备所在运营商网络的网络质量、目标设备到目标服务器的端到端网络质量以及目标设备到目标服务器经过的骨干网的网络质量等),能够在不增加目标服务器负载的情况下,对目标设备执行目标业务时的网络质量进行多维度测量。In the technical solution provided by this embodiment, the network quality when the target device performs the target service is determined according to the operator network delay and the end-to-end network delay, wherein the operator network delay and the end-to-end network delay are determined according to the first A target speed measurement node and a second target speed measurement node are respectively determined; since the network quality is determined by the operator network delay and the end-to-end network delay, the network quality can include the network from the target device to the target network exit node. The quality of the network can also include the network quality from the target device to the target server; at the same time, the above-mentioned end-to-end network delay is set by the corresponding target network exit node and target server, and the target device does not need to send a test signal directly to the target server; therefore, The solutions provided by the embodiments of the present disclosure can not only realize the determination of the network quality when the target device performs the target service without occupying the bandwidth of the target server and increase the server load; but also can measure the network quality from multiple dimensions (for example, , which can measure the network quality of the carrier network where the target device is located, the end-to-end network quality from the target device to the target server, and the network quality of the backbone network that the target device and the target server pass through, etc.) , and perform multi-dimensional measurement on the network quality when the target device executes the target service.
图6是图4中步骤S1在一示例性实施例中的流程图。参考图6,上述步骤S1可以包括以下步骤。FIG. 6 is a flowchart of step S1 in FIG. 4 in an exemplary embodiment. Referring to FIG. 6 , the above-mentioned step S1 may include the following steps.
在步骤S11中,响应于目标设备针对目标业务发送的测速请求,测速请求包括目标网络出口节点的目标公网地址和目标服务器的目标服务器地址。In step S11, in response to the speed measurement request sent by the target device for the target service, the speed measurement request includes the target public network address of the target network exit node and the target server address of the target server.
在一些实施例中,在目标设备针对目标业务进行测速之前,可以向测速控制器发出测速请求,该测速请求可以经由目标设备所在的运营商网络的目标网络出口到达骨干网,通过骨干网到达测速控制器。In some embodiments, before the target device performs speed measurement for the target service, a speed measurement request may be sent to the speed measurement controller, and the speed measurement request may reach the backbone network through the target network exit of the operator network where the target device is located, and arrive at the speed measurement through the backbone network. controller.
可以理解的是,测速请求中可以包括处理目标业务的目标服务器的地址。另外,当测速请求经由目标网络出口节点进入骨干网时,目标网络出口节点会为测速请求分配一个具有地域特征的公网IP地址(可以称之为目标公网地址)。It can be understood that the speed measurement request may include the address of the target server that processes the target service. In addition, when the speed measurement request enters the backbone network through the target network exit node, the target network exit node will allocate a public IP address with regional characteristics (which may be called the target public network address) for the speed measurement request.
在步骤S12中,根据目标公网地址,确定与目标网络出口对应的第一目标测速节点。In step S12, a first target speed measuring node corresponding to the target network exit is determined according to the target public network address.
在一些实施例中,测速控制器可以根据测速请求中的目标公网地址确定目标网络出口节点的第一地理位置,然后根据该第一地理位置确定第一目标测速节点。例如,若第一地理位置中存在第一测速节点,测速控制器可以将距离目标网络出口最近的第一测速节点作为目标设备的第一目标测速节点;若第一地理位置中不存在第一测速节点,测速控制器选择一个距 离目标网络出口节点比较近的第一测速节点作为目标设备的第一目标测速节点。再例如,测速控制器还可以选择一个距离目标网络出口的距离在第一目标范围内、负载较少的第一测速节点作为目标设备的第一目标测速节点。In some embodiments, the speed measurement controller may determine the first geographical location of the target network exit node according to the target public network address in the speed measurement request, and then determine the first target speed measurement node according to the first geographical location. For example, if there is a first speed measurement node in the first geographical location, the speed measurement controller can use the first speed measurement node closest to the target network exit as the first target speed measurement node of the target device; if the first speed measurement node does not exist in the first geographical location node, the speed measurement controller selects a first speed measurement node that is relatively close to the exit node of the target network as the first target speed measurement node of the target device. For another example, the speed measurement controller may also select a first speed measurement node whose distance from the target network exit is within the first target range and has less load as the first target speed measurement node of the target device.
在步骤S13中,根据目标服务器地址确定与目标服务器对应的第二目标测速节点。In step S13, a second target speed measuring node corresponding to the target server is determined according to the address of the target server.
在一些实施例中,测速控制器可以根据测速请求中的目标服务器地址确定目标服务器的第而地理位置,然后根据该第二地理位置确定第二目标测速节点。例如,若第二地理位置中存在第二测速节点,测速控制器可以将距离目标服务器最近的第二测速节点作为目标设备的第二目标测速节点;若第二地理位置中不存在第二测速节点,测速控制器选择一个距离目标服务器比较近的第二测速节点作为目标设备的第二目标测速节点。再例如,测速控制器还可以选择一个距离目标网络出口的距离在第二目标范围内,并且负载较少的第二测速节点作为目标设备的第二目标测速节点。In some embodiments, the speed measurement controller may determine the first geographic location of the target server according to the address of the target server in the speed measurement request, and then determine the second target speed measurement node according to the second geographic location. For example, if there is a second speed measuring node in the second geographic location, the speed measuring controller can use the second speed measuring node closest to the target server as the second target speed measuring node of the target device; if there is no second speed measuring node in the second geographic location , the speed measurement controller selects a second speed measurement node that is relatively close to the target server as the second target speed measurement node of the target device. For another example, the speed measurement controller may also select a second speed measurement node with a distance from the target network exit within the second target range and with less load as the second target speed measurement node of the target device.
本实施例提供的技术方案,可以通过目标设备发送的测速请求中的目标公网地址确定目标网络出口的第一地理位置,进而确定距离目标网络出口较近、负载较少的第一目标测速节点;还可以通过测速请求中的目标服务器地址确定目标服务器的第二地理位置,进而确定距离目标服务器比较近、负载较少的第二目标测速节点。通过上述第一目标测速节点和第二目标测速节点,既可以在不占用目标服务器宽带、不增加负载的情况下完成网络质量的确定,又因为第一目标测试节点、第二目标测速节点距离目标网络出口和目标服务器的距离较近,使得根据第一目标测速节点和第二目标测速节点确定的网络质量可以很好的反映目标设备执行目标业务的网络质量。The technical solution provided by this embodiment can determine the first geographic location of the target network exit through the target public network address in the speed measurement request sent by the target device, and then determine the first target speed measurement node that is closer to the target network exit and has less load ; The second geographic location of the target server can also be determined through the address of the target server in the speed measurement request, and then the second target speed measurement node that is relatively close to the target server and has less load can be determined. Through the first target speed measurement node and the second target speed measurement node, the network quality can be determined without occupying the bandwidth of the target server and without increasing the load, and because the first target speed measurement node and the second target speed measurement node are far away from the target The distance between the network exit and the target server is relatively close, so that the network quality determined according to the first target speed measuring node and the second target speed measuring node can well reflect the network quality of the target device performing the target service.
其中,上述步骤S1也可以由目标设备自行执行,此时,目标设备可以不发送上述测速请求(也就是说,上述S11为可选步骤),而是由目标设备自行根据目标公网地址和目标服务器地址,确定上述第一目标测速节点以及第二目标测速节点。例如,目标设备中可以存储各个网络出口节点与目标测速节点之间的对应关系,以及,存储各个目标服务器与目标测速节点之间的对应关系,在需要进行测速时,目标设备根据目标公网地址和目标服务器地址,在本地查询上述对应关系,以确定第一目标测速节点和第二目标测速节点。其中,上述对应关系可以由目标设备定期向服务器获取更新。The above-mentioned step S1 can also be performed by the target device itself. At this time, the target device may not send the above-mentioned speed measurement request (that is, the above-mentioned S11 is an optional step), but the target device can perform its own according to the target public network address and target. The server address is used to determine the first target speed measurement node and the second target speed measurement node. For example, the target device can store the correspondence between each network exit node and the target speed measurement node, and store the correspondence between each target server and the target speed measurement node. and the address of the target server, and query the above corresponding relationship locally to determine the first target speed measuring node and the second target speed measuring node. The above corresponding relationship may be updated by the target device from the server periodically.
图7是图4中步骤S4在一示例性实施例中的流程图。参考图7,上述步骤S4可以包括以下步骤。FIG. 7 is a flowchart of step S4 in FIG. 4 in an exemplary embodiment. Referring to FIG. 7 , the above-mentioned step S4 may include the following steps.
在步骤S41中,根据运营商网络时延和端到端网络时延,确定目标网络出口到目标服务器 的骨干网网络时延。In step S41, according to the network delay of the operator and the end-to-end network delay, the network delay of the backbone network from the target network exit to the target server is determined.
在一些实施例中,当目标设备到目标网络出口节点的运营商网络时延T1、目标设备到目标服务器的端到端网络时延T2已知之后,可以通过T2-T1确定目标网络出口节点到目标服务器的骨干网网络时延。In some embodiments, after the carrier network delay T1 from the target device to the target network exit node and the end-to-end network delay T2 from the target device to the target server are known, it can be determined through T2-T1 The network delay of the backbone network of the target server.
在步骤S42中,根据运营商网络时延确定目标设备到目标网络出口的运营商网络质量,以便根据运营商网络质量对运营商网络进行优化。In step S42, the operator network quality from the target device to the target network exit is determined according to the operator network delay, so as to optimize the operator network according to the operator network quality.
在一些实施例中,可以实时监测运营商网络时延,若发现运营网络时延发生波动(例如运营商网络时延突然增加或超过第一阈值),则可以认为目标设备所在运营商网络中的网络质量较差。当目标设备所在运营商网络的网络质量变差时,一方面可以通过目标设备向目标对象提示当前网络较差以便目标对象采取应对措施(例如更换网络),另一方面可以采取主动措施对该运营商网络的网络质量进行优化(例如优化网络协议、信息分流等)。In some embodiments, the operator network delay can be monitored in real time. If it is found that the operator network delay fluctuates (for example, the operator network delay suddenly increases or exceeds a first threshold), it can be considered that the target device is located in the operator network. Network quality is poor. When the network quality of the operator's network where the target device is located deteriorates, on the one hand, the target device can prompt the target object that the current network is poor so that the target object can take countermeasures (such as replacing the network), and on the other hand, it can take proactive measures for the operation The network quality of the commercial network is optimized (for example, network protocol optimization, information distribution, etc.).
在步骤S43中,根据端到端网络时延确定目标设备到目标服务器的端到端网络质量,以便根据端到端网络质量对端到端网络进行优化。In step S43, the end-to-end network quality from the target device to the target server is determined according to the end-to-end network delay, so as to optimize the end-to-end network according to the end-to-end network quality.
在一些实施例中,可以实时监测目标设备到目标服务器的端到端的网络时延,若发现端到端网络时延发生波动(例如端到端网络时延突然增加或超过第二阈值),则可以认为目标设备到目标服务器所在网络的网络质量变差。当目标设备到目标服务器所在网络的网络质量变差时,一方面可以通过目标设备向目标对象提示当前网络较差以便目标对象采取应对措施(例如更换网络),另一方面可以采取主动措施对该端到端的网络质量进行优化。In some embodiments, the end-to-end network delay from the target device to the target server can be monitored in real time. If it is found that the end-to-end network delay fluctuates (for example, the end-to-end network delay suddenly increases or exceeds a second threshold), the It can be considered that the network quality from the target device to the network where the target server is located becomes poor. When the network quality between the target device and the network where the target server is located deteriorates, on the one hand, the target device can prompt the target object that the current network is poor so that the target object can take countermeasures (such as replacing the network), and on the other hand, it can take active measures to End-to-end network quality is optimized.
在步骤S44中,根据骨干网网络时延确定目标网络出口到目标服务器的骨干网网络质量,以便根据骨干网网络质量对骨干网网络进行优化。In step S44, the network quality of the backbone network exported from the target network to the target server is determined according to the network delay of the backbone network, so as to optimize the backbone network according to the network quality of the backbone network.
在一些实施例中,可以实时监测目标网络出口到目标服务器的骨干网网络时延,若发现骨干网网络时延发生波动(例如骨干网网络时延突然增加或超过第三阈值),则可以认为目标网络出口节点到目标服务器的骨干网网络的网络质量变差。当目标网络出口节点到目标服务器的骨干网的网络质量变差时,一方面可以通过目标设备向目标对象提示当前网络较差以便目标对象采取应对措施(例如更换网络);另一方面可以采取主动措施对该骨干网的网络质量进行优化。In some embodiments, the network delay of the backbone network from the export of the target network to the target server can be monitored in real time. If it is found that the network delay of the backbone network fluctuates (for example, the network delay of the backbone network suddenly increases or exceeds a third threshold), it can be considered that The network quality of the backbone network from the exit node of the target network to the target server deteriorates. When the network quality of the backbone network from the exit node of the target network to the target server deteriorates, on the one hand, the target device can prompt the target object that the current network is poor so that the target object can take countermeasures (such as replacing the network); Measures to optimize the network quality of the backbone network.
本实施例提供的技术方案,根据运营商网络时延、端到端网络时延以及骨干网网络时延确定了运营商网络质量、端到端网络质量以及骨干网网络质量,从多个维度确定了目标设备到目标服务器的网络质量,能够更好的定位网络瓶颈,细粒度的完成对目标设备执行目标业务时的网络质量的测量。In the technical solution provided in this embodiment, the operator network quality, end-to-end network quality, and backbone network quality are determined according to the operator network delay, end-to-end network delay, and backbone network delay, and are determined from multiple dimensions. The network quality from the target device to the target server can be improved, the network bottleneck can be better located, and the measurement of the network quality when the target device executes the target service can be completed in a fine-grained manner.
图8是图4中步骤S4在一示例性实施例中的流程图。FIG. 8 is a flowchart of step S4 in FIG. 4 in an exemplary embodiment.
在一些实施例中,运营商网络时延可以包括当前时刻的运营商网络时延和运营商网络平均时延。In some embodiments, the operator network delay may include the operator network delay at the current moment and the average operator network delay.
参考图8,上述步骤S4可以包括以下步骤。Referring to FIG. 8 , the above-mentioned step S4 may include the following steps.
在步骤S45中,若当前时刻的运营商网络时延相比于运营商网络平均时延的波动大于目标阈值,则判定目标设备在当前时刻到目标网络出口的网络出现异常。In step S45, if the fluctuation of the operator's network delay at the current moment compared with the average delay of the operator's network is greater than the target threshold, it is determined that the network from the target device to the target network exit at the current moment is abnormal.
在一些实施例中,运营商网络平均时延可以指的是在过去一段时间中目标设备到目标网络出口的平均网络时延,也可以指的是剔除异常值(例如大于目标网络时延阈值)后的平均网络时延,本公开对此不做限制。In some embodiments, the average network delay of the operator may refer to the average network delay from the target device to the egress of the target network in the past period of time, or it may refer to the elimination of abnormal values (for example, greater than the target network delay threshold) After the average network delay, the present disclosure does not limit this.
在一些实施例中,若当前时刻的运营商网络时延与运营商网络平均时延的差值大于目标阈值,则可以认为当前时刻目标设备到目标网络出口的网络出现了异常。In some embodiments, if the difference between the operator's network delay at the current moment and the average delay of the operator's network is greater than the target threshold, it may be considered that the network from the target device to the target network exit at the current moment is abnormal.
在步骤S46中,生成网络异常提醒信息。In step S46, network abnormality reminder information is generated.
在一些实施例中,当目标设备到目标网络出口的网络出现异常后,可以根据网络异常情况生成网络异常提醒信息,可例如生成“当前网络的网速过慢,请及时更换网络”、“当前网络的网速过慢,请缓冲一会儿再看!”等网络异常提醒信息,本公开对此不做限制。In some embodiments, when an abnormality occurs in the network from the target device to the target network exit, network abnormality reminder information may be generated according to the network abnormality. The speed of the network is too slow, please buffer for a while before watching!" and other network abnormality reminders, this disclosure does not limit this.
在步骤S47中,在目标设备上显示网络异常提醒信息。In step S47, the network abnormality reminder information is displayed on the target device.
在一些实施例中,可以将上述网络异常提醒信息,在目标设备中进行显示,以便目标对象根据目标设备中显示的网络异常提醒信息及时做出反应(例如更换通信网络、缓冲后观看等)。In some embodiments, the above-mentioned network abnormality reminder information can be displayed in the target device, so that the target object can respond in time according to the network abnormality reminder information displayed in the target device (eg, change the communication network, watch after buffering, etc.).
本实施例提供的技术方案,可以在出现网络异常是及时给出网络异常提醒信息,以便目标对象根据网络异情况及时的进行反应,以提高用户体验。The technical solution provided by this embodiment can timely provide network abnormality reminder information when a network abnormality occurs, so that the target object can timely respond according to the abnormal network situation, so as to improve user experience.
图9是根据一示例性实施例示出的一种网络质量确定的架构图。Fig. 9 is an architecture diagram showing a network quality determination according to an exemplary embodiment.
参考图9,网络质量确定方法可以包括以下步骤。Referring to FIG. 9 , the network quality determination method may include the following steps.
在一些实施例中,目标设备901针对目标业务向测速控制器907发出测速请求,以从测速控制器获得第一目标测速节点904的地址和第二目标测速节点906的地址。可以理解的是,测速控制器907的控制功能也可以由目标设备901完成,本公开对此不做限制。In some embodiments, the target device 901 sends a speed measurement request to the speed measurement controller 907 for the target service to obtain the address of the first target speed measurement node 904 and the address of the second target speed measurement node 906 from the speed measurement controller. It can be understood that, the control function of the speed measurement controller 907 can also be performed by the target device 901, which is not limited in the present disclosure.
在一些实施例中,第一目标测速节点904可以与目标设备901所在第一区域的运营商核心网的网络出口903同城就近部署(例如目标设备在山东地区通过目标运营商进行通信,而目标 运营商在山东地区的核心网网络出口部署在山东济南地区,那么第一目标测速节点可以是布置在济南地区的测速节点)。In some embodiments, the first target speed measurement node 904 may be deployed in the same city as the network exit 903 of the operator's core network in the first region where the target device 901 is located (for example, the target device communicates with the target operator in Shandong, while the target operator If the core network network exit of the business in Shandong is deployed in Jinan, Shandong, then the first target speed measurement node may be the speed measurement node arranged in Jinan).
在一些实施例中,第二目标测速节点906可以与处理目标业务的目标服务器905同机房部署。In some embodiments, the second target speed measuring node 906 may be deployed in the same computer room as the target server 905 processing the target service.
在一些实施例中,目标设备901根据第一目标测速节点的地址向第一目标测速节点904发送第一测速信号,并根据该第一测速信号的往返时间确定目标设备901到第一目标测速节点904的网络时延T1。In some embodiments, the target device 901 sends a first speed measurement signal to the first target speed measurement node 904 according to the address of the first target speed measurement node, and determines from the target device 901 to the first target speed measurement node according to the round-trip time of the first speed measurement signal The network delay of 904 is T1.
可以理解的是,由于第一目标测速节点904与运营商核心网网络出口903的距离比较近,所以可以将目标设备901与第一目标测速节点904的网络时延T1,作为目标设备901与运营商核心网网络出口903的运营商网络时延。It can be understood that, because the distance between the first target speed measurement node 904 and the operator's core network network exit 903 is relatively close, the network delay T1 between the target device 901 and the first target speed measurement node 904 can be used as the target device 901 and the operator. The operator's network delay at the network egress 903 of the operator's core network.
在一些实施例中,目标设备901会根据第二目标测速节点的地址向第二目标测速节点906发送第二测速信号,并根据第二测速信号往返时间确定目标设备901到第二目标测速节点906的网络时延。In some embodiments, the target device 901 sends a second speed measurement signal to the second target speed measurement node 906 according to the address of the second target speed measurement node, and determines the target device 901 to the second target speed measurement node 906 according to the round-trip time of the second speed measurement signal network delay.
由于第二目标测速节点906与目标服务器905的距离比较近,所以可以将目标设备901与第二目标测速节点906之间的网络时延T2,作为目标设备901与目标服务器905的端到端网络时延。Since the distance between the second target speed measuring node 906 and the target server 905 is relatively close, the network delay T2 between the target device 901 and the second target speed measuring node 906 can be used as the end-to-end network between the target device 901 and the target server 905 time delay.
在一些实施例中,当目标设备901到运营商核心网网络出口903的运营商网络时延T1、目标设备901到目标服务器905的端到端网络时延T2已知之后,可以通过T2-T1确定运营商核心网网络出口903到目标服务器905的骨干网网络时延T3。In some embodiments, after the operator network delay T1 from the target device 901 to the operator's core network network exit 903 and the end-to-end network delay T2 from the target device 901 to the target server 905 are known, T2-T1 Determine the network delay T3 of the backbone network from the network exit 903 of the operator's core network to the target server 905 .
在一些实施例中,可以根据运营商网络时延确定目标设备到目标网络出口的运营商网络质量,以便根据运营商网络质量对运营商网络进行优化。In some embodiments, the operator network quality from the target device to the target network exit may be determined according to the operator network delay, so as to optimize the operator network according to the operator network quality.
在一些实施例中,可以根据端到端网络时延确定目标设备到目标服务器的端到端网络质量,以便根据端到端网络质量对端到端网络进行优化。In some embodiments, the end-to-end network quality from the target device to the target server may be determined according to the end-to-end network delay, so as to optimize the end-to-end network according to the end-to-end network quality.
在一些实施例中,可以根据骨干网网络时延确定目标网络出口到目标服务器的骨干网网络质量,以便根据骨干网网络质量对骨干网网络进行优化。In some embodiments, the network quality of the backbone network exported from the target network to the target server may be determined according to the network delay of the backbone network, so as to optimize the backbone network according to the network quality of the backbone network.
本实施例提供的技术方案,既可以在不占用目标服务器宽带、不增加服务器负载的情况下实现对目标设备执行目标业务时的网络质量进行确定;又可以从多个维度对网络质量进行测量(例如,可以测量目标设备所在运营商网络的网络质量、目标设备到目标服务器的端到端网络质量以及目标设备到目标服务器经过的骨干网的网络质量等)。The technical solution provided by this embodiment can not only realize the determination of the network quality when the target device performs the target service without occupying the bandwidth of the target server and increase the server load; it can also measure the network quality from multiple dimensions ( For example, the network quality of the operator's network where the target device is located, the end-to-end network quality from the target device to the target server, and the network quality of the backbone network through which the target device and the target server pass, etc.).
图10是根据一示例性实施例示出的一种网络质量确定结构的示意图。Fig. 10 is a schematic diagram showing a network quality determination structure according to an exemplary embodiment.
如图10所示,网络质量确定结构可以包括终端1001、终端1002、测速控制器1003、深圳核心网网络出口节点1004、广州核心网网络出口节点1005、深圳第一目标测速节点1006、广州第一目标测速节点1007、目标服务器1008以及第二目标测速节点1009。As shown in FIG. 10 , the network quality determination structure may include terminal 1001, terminal 1002, speed measurement controller 1003, Shenzhen core network network exit node 1004, Guangzhou core network network exit node 1005, Shenzhen No. 1 target speed measuring node 1006, Guangzhou No. 1 The target speed measurement node 1007 , the target server 1008 and the second target speed measurement node 1009 .
在图10所示的网络质量确定结构图中,终端1001可以位于深圳区域中的运营商网络中,终端1002可以位于广州区域的运营商网络中,处理终端1001中目标业务的服务器可以是上海地区的上海机房中的目标服务器1008,处理终端1002中目标业务的服务器也可以是上海地区的上海机中的目标服务器1008,深圳区域的运营商网络可以通过骨干网与上海机房中的目标服务器1008进行通信,广州区域的运营商网络也可以通过骨干网与上海机房中的目标服务器1008进行通信。In the network quality determination structure diagram shown in FIG. 10, the terminal 1001 may be located in the operator network in the Shenzhen area, the terminal 1002 may be located in the operator network in the Guangzhou area, and the server processing the target service in the terminal 1001 may be in the Shanghai area The target server 1008 in the Shanghai computer room, the server processing the target service in the terminal 1002 can also be the target server 1008 in the Shanghai computer room in the Shanghai area, and the operator network in the Shenzhen area can communicate with the target server 1008 in the Shanghai computer room through the backbone network. For communication, the operator network in the Guangzhou area can also communicate with the target server 1008 in the Shanghai computer room through the backbone network.
可以理解的是,本实施例仅以目标设备包括终端1001和终端1002、以终端1001和终端1002的目标业务相同为例对网络质量确定方法进行说明,但本公开对此不做限制。It can be understood that, in this embodiment, the network quality determination method is only described by taking the target device including the terminal 1001 and the terminal 1002, and the target service of the terminal 1001 and the terminal 1002 being the same as an example, but this disclosure does not limit this.
结合图10所示的网络质量确定结构图,网络质量确定方法可以包括以下步骤。With reference to the network quality determination structural diagram shown in FIG. 10 , the network quality determination method may include the following steps.
(1)对终端1001执行目标业务进行网络测速。(1) Perform network speed measurement on the terminal 1001 executing the target service.
终端1001可以向测速控制器1003发出第一测速请求,该第一测速请求可以经由深圳区域运营商网络的深圳核心网网络出口节点1004到达骨干网(网络出口节点1004会为第一测速请求分配公网地址,该公网地址中携带深圳核心网网络出口节点1004的地理位置信息),经由骨干网到达测速控制器1003;测速控制器1003可以根据第一测速请求中的公网地址确定深圳核心网网络出口节点1004的地理位置;测速控制器1003根据深圳核心网网络出口节点1004的地理位置确定距离深圳核心网目标网络出口节点1004地理位置比较近、负载较少的深圳第一目标测速节点(该深圳第一目标测速节点可以与深圳核心网网络出口节点1004均位于深圳机房中);测速控制器1003还可以根据第一测速请求中目标服务器的地址确定目标服务器的地理位置(例如位于上海机房中);测速控制器1003根据目标服务器的地理位置选择选择一个距离目标服务器较近、负载较少的第二目标测速节点作为目标设备的第二目标测速节点,例如与目标服务器1008同样位于上海机房中的第二目标测速节点1009。The terminal 1001 can send a first speed measurement request to the speed measurement controller 1003, and the first speed measurement request can reach the backbone network via the Shenzhen core network network exit node 1004 of the Shenzhen regional operator network (the network exit node 1004 will allocate a public network for the first speed measurement request. network address, the public network address carries the geographic location information of the exit node 1004 of the Shenzhen core network network), and reaches the speed measurement controller 1003 via the backbone network; the speed measurement controller 1003 can determine the Shenzhen core network according to the public network address in the first speed measurement request. The geographical location of the network exit node 1004; the speed measurement controller 1003 determines the first target speed measurement node in Shenzhen that is close to the Shenzhen core network target network exit node 1004 and has less load according to the geographical location of the Shenzhen core network network exit node 1004 (this The first target speed measurement node in Shenzhen may be located in the Shenzhen computer room together with the Shenzhen core network network exit node 1004); the speed measurement controller 1003 may also determine the geographic location of the target server according to the address of the target server in the first speed measurement request (for example, located in the Shanghai computer room) ); The speed measuring controller 1003 selects a second target speed measuring node that is closer to the target server and less loaded as the second target speed measuring node of the target device according to the geographical location of the target server, for example, is located in the Shanghai computer room equally with the target server 1008 The second target speed measurement node 1009.
在一些实施例中,当测速控制器1003为目标设备确定了深圳第一目标测速节点1006和第二目标测速节点1009后,会将深圳第一目标测速节点的地址和第二目标测速节点的地址返回给终端1001。In some embodiments, after the speed measurement controller 1003 determines the first target speed measurement node 1006 and the second target speed measurement node 1009 in Shenzhen for the target device, the address of the first target speed measurement node in Shenzhen and the address of the second target speed measurement node Return to terminal 1001.
当终端1001接收到深圳第一目标测速节点的地址后,会根据深圳第一目标测速节点的地址向深圳第一目标测速节点1006发送第一目标测速信号,根据该第一目标测速信号的往返时 间可以确定终端1001到深圳第一目标测速节点1006的网络时延。When the terminal 1001 receives the address of the first target speed measurement node in Shenzhen, it will send the first target speed measurement signal to the first target speed measurement node 1006 in Shenzhen according to the address of the first target speed measurement node in Shenzhen. According to the round-trip time of the first target speed measurement signal The network delay from the terminal 1001 to the first target speed measuring node 1006 in Shenzhen can be determined.
可以理解的是,由于深圳第一目标测速节点1006与深圳核心网网络出口节点1004的距离比较近,所以可以将终端1001与深圳第一目标测速节点1006之间的网络时延,作为终端1001与深圳核心网网络出口节点1004的运营商网络时延。It can be understood that since the distance between the first target speed measuring node 1006 in Shenzhen and the exit node 1004 of the Shenzhen core network network is relatively close, the network delay between the terminal 1001 and the first target speed measuring node 1006 in Shenzhen can be regarded as the network delay between the terminal 1001 and the terminal 1001. The operator network delay of the network exit node 1004 of the Shenzhen core network.
当终端1001接收到第二目标测速节点的地址后,会根据第二目标测速节点的地址向第二目标测速节点1009发送第二目标测速信号,并根据第二目标测速信号往返时间确定终端设备1001到第二目标测速节点1009的网络时延。When the terminal 1001 receives the address of the second target speed measurement node, it will send the second target speed measurement signal to the second target speed measurement node 1009 according to the address of the second target speed measurement node, and determine the terminal device 1001 according to the round-trip time of the second target speed measurement signal. Network delay to the second target speed measuring node 1009.
可以理解的是,由于第二目标测速节点1009与目标服务器1008的距离比较近,所以可以将终端1001与第二目标测速节点1009之间的网络时延,作为终端1001与目标服务器1008的端到端网络时延。It can be understood that since the distance between the second target speed measuring node 1009 and the target server 1008 is relatively close, the network delay between the terminal 1001 and the second target speed measuring node 1009 can be regarded as the end-to-end connection between the terminal 1001 and the target server 1008. end network delay.
在一些实施例中,当终端1001到深圳核心网网络出口节点1004的运营商网络时延T1、终端1001到目标服务器1008的端到端网络时延T2已知之后,可以通过T2-T1确定深圳核心网网络出口节点1004到目标服务器1008的骨干网网络时延。In some embodiments, after the operator network delay T1 from the terminal 1001 to the Shenzhen core network network exit node 1004 and the end-to-end network delay T2 from the terminal 1001 to the target server 1008 are known, Shenzhen can be determined through T2-T1 The backbone network delay from the core network network exit node 1004 to the target server 1008 .
在一些实施例中,可以根据终端1001的运营商网络时延确定终端1001到深圳核心网网络出口节点1004的运营商网络质量,以便根据运营商网络质量对运营商网络进行优化;可以根据终端1001的端到端网络时延确定终端1001到目标服务器1008的端到端网络质量,以便根据端到端网络质量对端到端网络进行优化;可以根据终端1001的骨干网网络时延确定深圳核心网网络出口节点1004到目标服务器1008的骨干网网络质量,以便根据骨干网网络质量对骨干网网络进行优化。In some embodiments, the operator network quality from the terminal 1001 to the Shenzhen core network network exit node 1004 may be determined according to the operator network delay of the terminal 1001, so as to optimize the operator network according to the operator network quality; The end-to-end network delay from the terminal 1001 to the target server 1008 determines the end-to-end network quality of the terminal 1001, so as to optimize the end-to-end network according to the end-to-end network quality; the Shenzhen core network can be determined according to the network delay of the backbone network of the terminal 1001 The backbone network quality of the network exit node 1004 to the target server 1008, so as to optimize the backbone network according to the backbone network quality.
(2)对终端1002进行网络测速。(2) Perform network speed measurement on the terminal 1002 .
终端1002可以向测速控制器1003发出第二测速请求,该第二测速请求可以经由广州区域运营商网络的广州核心网的网络出口节点1005到达骨干网(广州核心网网络出口节点1005会为第二测速请求分配公网地址,该公网地址中携带广州核心网网络出口节点1005的地理位置信息),经由骨干网到达测速控制器1003;测速控制器1003可以根据第二测速请求中的公网地址确定广州核心网网络出口节点1005的地理位置;测速控制器1003根据广州核心网网络出口节点1005的地理位置确定距离广州核心网目标网络出口节点1005地理位置比较近、负载较少的广州第一目标测速节点(该广州第一目标测速节点可以与广州核心网网络出口节点1005均位于广州机房中);测速控制器1003还可以根据第二测速请求中目标服务器的地址确定目标服务器的地理位置(例如位于上海机房中);测速控制器1003根据目标服务器的地理位置选择选择一个距离目标服务器较近、负载较少的第二目标测速节点作为目标设备的第二目标 测速节点(例如与目标服务器同样位于上海机房中的第二目标测速节点1009)。The terminal 1002 can send a second speed measurement request to the speed measurement controller 1003, and the second speed measurement request can reach the backbone network via the network exit node 1005 of the Guangzhou core network of the Guangzhou regional operator network (the Guangzhou core network network exit node 1005 will be the second speed measurement request). The speed measurement request is assigned a public network address, and the public network address carries the geographic location information of the exit node 1005 of the Guangzhou core network network), and reaches the speed measurement controller 1003 via the backbone network; the speed measurement controller 1003 can be based on the second speed measurement request. The public network address Determine the geographic location of the exit node 1005 of the Guangzhou core network network; the speed measurement controller 1003 determines, according to the geographic location of the exit node 1005 of the Guangzhou core network network, the first target in Guangzhou that is close to the destination network exit node 1005 of the Guangzhou core network and has less load The speed measurement node (the Guangzhou first target speed measurement node may be located in the Guangzhou computer room with the Guangzhou core network network exit node 1005); the speed measurement controller 1003 may also determine the geographic location of the target server according to the address of the target server in the second speed measurement request (for example, Located in the Shanghai computer room); according to the geographical location of the target server, the speed measurement controller 1003 selects a second target speed measurement node that is closer to the target server and has less load as the second target speed measurement node of the target device (for example, it is located in the same location as the target server. The second target speed measurement node 1009 in the Shanghai computer room).
在一些实施例中,当测速控制器1003为目标设备确定了广州第一目标测速节点1007和第二目标测速节点1009后,会将广州第一目标测速节点的地址和第二目标测速节点的地址返回给终端1002。In some embodiments, after the speed measurement controller 1003 determines the first target speed measurement node 1007 and the second target speed measurement node 1009 in Guangzhou for the target device, the address of the first target speed measurement node in Guangzhou and the address of the second target speed measurement node Return to terminal 1002.
当终端1002接收到广州第一目标测速节点的地址后,会根据广州第一目标测速节点的地址向广州第一目标测速节点1007发送第三目标测速信号,根据该第三目标测速信号的往返时间可以确定终端1002到广州第一目标测速节点1007的网络时延。When the terminal 1002 receives the address of the first target speed measurement node in Guangzhou, it will send a third target speed measurement signal to the first target speed measurement node 1007 in Guangzhou according to the address of the first target speed measurement node in Guangzhou. According to the round-trip time of the third target speed measurement signal The network delay from the terminal 1002 to the first target speed measuring node 1007 in Guangzhou can be determined.
可以理解的是,由于广州第一目标测速节点1007与广州核心网网络出口节点1005的距离比较近,所以可以将终端1002与广州第一目标测速节点1007之间的网络时延,作为终端1002与广州核心网网络出口节点1005的运营商网络时延。It can be understood that, because the distance between the first target speed measuring node 1007 in Guangzhou and the exit node 1005 of the Guangzhou core network network is relatively close, the network delay between the terminal 1002 and the first target speed measuring node 1007 in Guangzhou can be used as the network delay between the terminal 1002 and the terminal 1002. The operator network delay of the network exit node 1005 of the Guangzhou core network.
当终端1002接收到第二目标测速节点的地址后,会根据第二目标测速节点的地址向第二目标测速节点发送第四目标测速信号,并根据第四目标测速信号往返时间确定终端设备1002到第二目标测速节点1009的网络时延。When the terminal 1002 receives the address of the second target speed measuring node, it will send the fourth target speed measuring signal to the second target speed measuring node according to the address of the second target speed measuring node, and according to the round trip time of the fourth target speed measuring signal, the terminal device 1002 will The network delay of the second target speed measuring node 1009 .
可以理解的是,由于第二目标测速节点1009与目标服务器1008的距离比较近,所以可以将终端1002与第二目标测速节点1009之间的网络时延,作为终端1002与目标服务器1008的端到端网络时延。It can be understood that since the distance between the second target speed measuring node 1009 and the target server 1008 is relatively close, the network delay between the terminal 1002 and the second target speed measuring node 1009 can be regarded as the end-to-end connection between the terminal 1002 and the target server 1008. end network delay.
在一些实施例中,当终端1002到广州核心网网络出口节点1005的运营商网络时延T1、终端1002到目标服务器1008的端到端网络时延T2已知之后,可以通过T2-T1确定广州核心网网络出口节点1005到目标服务器1008的骨干网网络时延。In some embodiments, after the operator network delay T1 from the terminal 1002 to the Guangzhou core network network exit node 1005 and the end-to-end network delay T2 from the terminal 1002 to the target server 1008 are known, the Guangzhou can be determined through T2-T1 The backbone network delay from the core network network exit node 1005 to the target server 1008 .
在一些实施例中,可以根据终端1002的运营商网络时延确定终端1002到广州核心网网络出口节点1005的运营商网络质量,以便根据运营商网络质量对运营商网络进行优化;可以根据终端1002的端到端网络时延确定终端1002到目标服务器1008的端到端网络质量,以便根据端到端网络质量对端到端网络进行优化;可以根据终端1002的骨干网网络时延确定广州核心网网络出口节点1005到目标服务器1008的骨干网网络质量,以便根据骨干网网络质量对骨干网网络进行优化。In some embodiments, the operator network quality from the terminal 1002 to the Guangzhou core network network exit node 1005 can be determined according to the operator network delay of the terminal 1002, so as to optimize the operator network according to the operator network quality; The end-to-end network delay from the terminal 1002 to the target server 1008 determines the end-to-end network quality, so as to optimize the end-to-end network according to the end-to-end network quality; the Guangzhou core network can be determined according to the network delay of the backbone network of the terminal 1002 The network quality of the backbone network from the network exit node 1005 to the target server 1008 in order to optimize the backbone network according to the network quality of the backbone network.
本实施例提供的技术方案,实现了对多个终端设备执行目标业务时的网络质量的测量,既不占用目标服务器宽带,又不不增加服务器负载,还可以从多个维度实现了对网络质量的测量。The technical solution provided by this embodiment realizes the measurement of the network quality when multiple terminal devices execute the target service, does not occupy the bandwidth of the target server, does not increase the server load, and can also realize the network quality from multiple dimensions. Measurement.
图11是根据一示例性实施例示出的一种网络质量确定装置的框图。参照图11,本公开实 施例提供的网络质量确定装置1100可以包括:测速节点获取模块1101、运营商网络时延获取模块1102、端到端网络时延获取模块1103以及网络质量确定模块1004。Fig. 11 is a block diagram of an apparatus for determining network quality according to an exemplary embodiment. 11 , the network quality determination apparatus 1100 provided by the embodiment of the present disclosure may include: a speed measurement node acquisition module 1101, an operator network delay acquisition module 1102, an end-to-end network delay acquisition module 1103, and a network quality determination module 1004.
其中,所述测速节点获取模块1101可以配置为获取目标设备针对目标业务的第一目标测速节点和第二目标测速节点,所述第一目标测速节点与所述目标设备所在第一区域的运营商网络的目标网络出口节点对应,所述第二目标测速节点与处理所述目标业务的目标服务器对应。所述运营商网络时延获取模块1102可以配置为根据所述目标设备向所述第一目标测速节点发送的第一测速信号,确定所述目标设备到所述目标网络出口节点的运营商网络时延。所述端到端网络时延获取模块1103可以配置为根据所述目标设备向所述第二目标测速节点发送的第二测速信号,确定所述目标设备到所述目标服务器的端到端网络时延。所述网络质量确定模块1104可以配置为根据所述运营商网络时延和所述端到端网络时延确定所述目标设备执行所述目标业务时的网络质量。The speed measurement node obtaining module 1101 may be configured to obtain the first target speed measurement node and the second target speed measurement node of the target device for the target service, the first target speed measurement node and the operator in the first area where the target device is located The target network exit node of the network corresponds to, and the second target speed measuring node corresponds to the target server processing the target service. The operator network delay obtaining module 1102 may be configured to determine, according to the first speed measurement signal sent by the target device to the first target speed measurement node, the time when the target device reaches the operator network of the target network exit node. extension. The end-to-end network delay obtaining module 1103 may be configured to determine the end-to-end network time from the target device to the target server according to the second speed measurement signal sent by the target device to the second target speed measurement node. extension. The network quality determining module 1104 may be configured to determine the network quality when the target device performs the target service according to the operator network delay and the end-to-end network delay.
在一些实施例中,所述测速节点获取模块1101可以包括:测速请求响应子模块、第一目标测速节点确定子模块以及第二目标测速节点确定子模块。In some embodiments, the speed measurement node obtaining module 1101 may include: a speed measurement request response submodule, a first target speed measurement node determination submodule, and a second target speed measurement node determination submodule.
其中,所述测速请求响应子模块可以配置为响应于所述目标设备针对目标业务发送的测速请求,所述测速请求包括所述目标网络出口节点的目标公网地址和所述目标服务器的目标服务器地址。所述第一目标测速节点确定子模块可以配置为根据所述目标公网地址,确定与所述目标网络出口对应的第一目标测速节点。所述第二目标测速节点确定子模块可以配置为根据所述目标服务器地址确定与所述目标服务器对应的第二目标测速节点。The speed measurement request response sub-module may be configured to respond to a speed measurement request sent by the target device for the target service, where the speed measurement request includes the target public network address of the target network exit node and the target server of the target server. address. The first target speed measurement node determination submodule may be configured to determine, according to the target public network address, a first target speed measurement node corresponding to the target network exit. The second target speed measurement node determination submodule may be configured to determine a second target speed measurement node corresponding to the target server according to the target server address.
在一些实施例中,所述第一目标测速节点确定子模块可以包括:第一地理位置确定单元和第一目标测速节点确定单元。In some embodiments, the first target speed measurement node determination submodule may include: a first geographic location determination unit and a first target speed measurement node determination unit.
其中,所述第一地理位置确定单元可以配置为根据所述目标公网地址确定所述目标网络出口所在的第一地理位置。所述第一目标测速节点确定单元可以配置为根据所述第一地理位置确定所述第一目标测速节点。The first geographic location determining unit may be configured to determine the first geographic location where the target network exit is located according to the target public network address. The first target speed measurement node determination unit may be configured to determine the first target speed measurement node according to the first geographic location.
在一些实施例中,所述第一目标测速节点确定单元可以包括:第一判断子单元。In some embodiments, the first target speed measurement node determination unit may include: a first judgment subunit.
其中,所述第一判断子单元可以配置为若所述第一地理位置存在测速节点,则在所述第一地理位置中的测速节点中确定所述第一目标测速节点。The first judging subunit may be configured to determine the first target speed measuring node from among the speed measuring nodes in the first geographic location if there is a speed measuring node in the first geographic location.
在一些实施例中,所述第一目标测速节点确定单元可以包括:第二判断单元。In some embodiments, the first target speed measurement node determination unit may include: a second determination unit.
其中,所述第二判断单元可以配置为若所述第一地理位置不存在测速节点,则将距离所述第一地理位置最近的测速节点作为所述第一目标测速节点。Wherein, the second judging unit may be configured to use the speed measuring node closest to the first geographic location as the first target speed measuring node if there is no speed measuring node in the first geographic location.
在一些实施例中,所述第二目标测速节点确定子模块可以包括:第二地理位置确定单元 和第二目标测速节点确定单元。In some embodiments, the second target speed measurement node determination sub-module may include: a second geographic location determination unit and a second target speed measurement node determination unit.
其中,所述第二地理位置确定单元可以配置为根据所述目标服务器地址确定所述目标服务器所在的第二地理位置。所述第二目标测速节点确定单元可以配置为根据所述第二地理位置确定所述第二目标测速节点。Wherein, the second geographic location determining unit may be configured to determine the second geographic location where the target server is located according to the address of the target server. The second target speed measurement node determination unit may be configured to determine the second target speed measurement node according to the second geographic location.
在一些实施例中,所述目标服务器和所述目标网络出口节点之间通过骨干网通信。In some embodiments, the communication between the target server and the target network exit node is through a backbone network.
在一些实施例中,所述网络质量确定模块1104可以包括:骨干网网络时延获取子模块和网络质量确定子模块。In some embodiments, the network quality determination module 1104 may include: a backbone network network delay acquisition submodule and a network quality determination submodule.
其中,所述骨干网网络时延获取子模块可以配置为根据所述运营商网络时延和所述端到端网络时延,确定所述目标网络出口到所述目标服务器的骨干网网络时延。所述网络质量确定子模块可以配置为根据所述运营商网络时延、所述端到端网络时延和所述骨干网网络时延,确定所述目标设备执行所述目标业务时的网络质量。Wherein, the backbone network delay acquisition sub-module may be configured to determine the backbone network delay from the target network exit to the target server according to the operator network delay and the end-to-end network delay . The network quality determination sub-module may be configured to determine the network quality when the target device performs the target service according to the operator network delay, the end-to-end network delay and the backbone network delay .
在一些实施例中,所述网络质量确定子模块可以包括:运营商网络质量确定单元、端到端网络质量确定单元以及骨干网网络质量确定单元。In some embodiments, the network quality determination sub-module may include: an operator network quality determination unit, an end-to-end network quality determination unit, and a backbone network quality determination unit.
其中,所述运营商网络质量确定单元可以配置为根据所述运营商网络时延确定所述目标设备到所述目标网络出口的运营商网络质量,以便根据所述运营商网络质量对运营商网络进行优化。所述端到端网络质量确定单元可以配置为根据所述端到端网络时延确定所述目标设备到所述目标服务器的端到端网络质量,以便根据所述端到端网络质量对端到端网络进行优化。骨干网网络质量确定单元可以配置为根据所述骨干网网络时延确定所述目标网络出口到所述目标服务器的骨干网网络质量,以便根据所述骨干网网络质量对骨干网网络进行优化。The operator network quality determination unit may be configured to determine the operator network quality from the target device to the target network exit according to the operator network delay, so as to determine the operator network quality according to the operator network quality optimize. The end-to-end network quality determining unit may be configured to determine the end-to-end network quality from the target device to the target server according to the end-to-end network delay, so that the end-to-end network quality can be matched according to the end-to-end network quality. The end network is optimized. The backbone network quality determining unit may be configured to determine the backbone network quality from the target network to the target server according to the backbone network delay, so as to optimize the backbone network according to the backbone network quality.
在一些实施例中,所述运营商网络时延包括当前时刻的运营商网络时延和运营商网络平均时延。In some embodiments, the operator network delay includes the operator network delay at the current moment and the operator network average delay.
在一些实施例中,所述运营商网络质量确定单元可以包括:异常判断子单元、异常信息生成子单元以及显示子单元。In some embodiments, the operator's network quality determination unit may include: an abnormality judgment subunit, an abnormality information generation subunit, and a display subunit.
其中,所述异常判断子单元可以配置为若所述当前时刻的运营商网络时延相比于所述运营商网络平均时延的波动大于目标阈值,则判定所述目标设备在所述当前时刻到所述目标网络出口的网络出现异常。所述异常信息生成子单元可以配置为生成网络异常提醒信息。所述显示子单元可以配置为在所述目标设备上显示所述网络异常提醒信息。The abnormality judging subunit may be configured to determine that the target device is at the current moment if the fluctuation of the operator's network delay at the current moment compared with the average delay of the operator's network is greater than a target threshold The network to the target network exit is abnormal. The abnormality information generating subunit may be configured to generate network abnormality reminder information. The display subunit may be configured to display the network abnormality reminder information on the target device.
由于本公开的示例实施例的网络质量确定装置1100的各个功能模块与上述网络质量确定方法的示例实施例的步骤对应,因此在此不再赘述。Since each functional module of the apparatus for determining network quality 1100 according to the exemplary embodiment of the present disclosure corresponds to the steps of the exemplary embodiment of the foregoing method for determining network quality, details are not described herein again.
通过以上的实施方式的描述,本领域的技术人员易于理解,这里描述的示例实施方式可 以通过软件实现,也可以通过软件结合必要的硬件的方式来实现。因此,本公开实施例的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性存储介质(可以是CD-ROM,U盘,移动硬盘等)中,包括若干指令用以使得一台计算设备(可以是个人计算机、服务器、移动终端、或者智能设备等)执行根据本公开实施例的方法,例如图4的一个或多个所示的步骤。Those skilled in the art can easily understand from the description of the above embodiments that the exemplary embodiments described herein can be implemented by software, or can be implemented by software combined with necessary hardware. Therefore, the technical solutions of the embodiments of the present disclosure may be embodied in the form of software products, and the software products may be stored in a non-volatile storage medium (which may be CD-ROM, U disk, mobile hard disk, etc.), including several instructions It is used to cause a computing device (which may be a personal computer, a server, a mobile terminal, or a smart device, etc.) to execute the method according to the embodiment of the present disclosure, for example, one or more of the steps shown in FIG. 4 .
此外,上述附图仅是根据本公开示例性实施例的方法所包括的处理的示意性说明,而不是限制目的。易于理解,上述附图所示的处理并不表明或限制这些处理的时间顺序。另外,也易于理解,这些处理可以是例如在多个模块中同步或异步执行的。In addition, the above-mentioned figures are merely schematic illustrations of the processes included in the methods according to the exemplary embodiments of the present disclosure, and are not intended to be limiting. It is easy to understand that the processes shown in the above figures do not indicate or limit the chronological order of these processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, for example, in multiple modules.
本领域技术人员在考虑说明书及实践这里公开的公开后,将容易想到本公开的其他实施例。本公开旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未申请的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由权利要求指出。Other embodiments of the present disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common general knowledge or techniques in the technical field to which this disclosure is not claimed . The specification and examples are to be regarded as exemplary only, with the true scope and spirit of the disclosure being indicated by the claims.
应当理解的是,本公开并不限于这里已经示出的详细结构、附图方式或实现方法,相反,本公开意图涵盖包含在所附权利要求的精神和范围内的各种修改和等效设置。It should be understood that the present disclosure is not limited to the detailed structures, drawings, or implementations shown herein, but on the contrary, the present disclosure is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims .

Claims (23)

  1. 一种网络质量确定方法,所述方法由电子设备执行,包括:A method for determining network quality, the method being performed by an electronic device, comprising:
    获取目标设备针对目标业务的第一目标测速节点和第二目标测速节点,所述第一目标测速节点与所述目标设备所在第一区域的运营商网络的目标网络出口节点对应,所述第二目标测速节点与处理所述目标业务的目标服务器对应;Obtain the first target speed measurement node and the second target speed measurement node of the target device for the target service, the first target speed measurement node corresponds to the target network exit node of the operator network in the first area where the target device is located, the second target speed measurement node The target speed measuring node corresponds to the target server processing the target service;
    根据所述目标设备向所述第一目标测速节点发送的第一测速信号,确定所述目标设备到所述目标网络出口节点的运营商网络时延;According to the first speed measurement signal sent by the target device to the first target speed measurement node, determine the operator network delay from the target device to the target network exit node;
    根据所述目标设备向所述第二目标测速节点发送的第二测速信号,确定所述目标设备到所述目标服务器的端到端网络时延;Determine the end-to-end network delay from the target device to the target server according to the second speed measurement signal sent by the target device to the second target speed measurement node;
    根据所述运营商网络时延和所述端到端网络时延确定所述目标设备执行所述目标业务时的网络质量。The network quality when the target device executes the target service is determined according to the operator network delay and the end-to-end network delay.
  2. 根据权利要求1所述的方法,获取目标设备针对目标业务的第一目标测速节点和第二目标测速节点,包括:The method according to claim 1, acquiring the first target speed measurement node and the second target speed measurement node of the target device for the target service, comprising:
    根据所述目标网络出口节点的目标公网地址,确定与所述目标网络出口对应的第一目标测速节点;According to the target public network address of the target network exit node, determine the first target speed measurement node corresponding to the target network exit;
    根据所述目标服务器的目标服务器地址确定与所述目标服务器对应的第二目标测速节点。A second target speed measuring node corresponding to the target server is determined according to the target server address of the target server.
  3. 根据权利要求2所述的方法,根据所述目标网络出口节点的目标公网地址,确定与所述目标网络出口对应的第一目标测速节点,包括:The method according to claim 2, determining the first target speed measurement node corresponding to the target network exit according to the target public network address of the target network exit node, comprising:
    根据所述目标公网地址确定所述目标网络出口所在的第一地理位置;Determine the first geographic location where the target network exit is located according to the target public network address;
    根据所述第一地理位置确定所述第一目标测速节点。The first target speed measuring node is determined according to the first geographic location.
  4. 根据权利要求3所述的方法,根据所述第一地理位置确定所述第一目标测速节点,包括:The method according to claim 3, determining the first target speed measurement node according to the first geographic location, comprising:
    若所述第一地理位置存在测速节点,则在所述第一地理位置中的测速节点中确定所述第一目标测速节点。If a speed measuring node exists in the first geographic location, the first target speed measuring node is determined among the speed measuring nodes in the first geographic location.
  5. 根据权利要求3所述方法,根据所述第一地理位置确定所述第一目标测速节点,包括:According to the method of claim 3, determining the first target speed measurement node according to the first geographic location, comprising:
    若所述第一地理位置不存在测速节点,则将距离所述第一地理位置最近的测速节点作为所述第一目标测速节点。If there is no speed measuring node in the first geographic location, the speed measuring node closest to the first geographic location is used as the first target speed measuring node.
  6. 根据权利要求2所述的方法,根据所述目标服务器的目标服务器地址确定与所述目标服务器对应的第二目标测速节点,包括:The method according to claim 2, determining the second target speed measuring node corresponding to the target server according to the target server address of the target server, comprising:
    根据所述目标服务器地址确定所述目标服务器所在的第二地理位置;determining a second geographic location where the target server is located according to the target server address;
    根据所述第二地理位置确定所述第二目标测速节点。The second target speed measuring node is determined according to the second geographic location.
  7. 根据权利要求1所述的方法,所述目标服务器和所述目标网络出口节点之间通过骨干网通信。The method according to claim 1, wherein the communication between the target server and the target network exit node is through a backbone network.
  8. 根据权利要求7所述的方法,根据运营商网络时延和端到端网络时延确定目标设备执行目标业务时的网络质量,包括:The method according to claim 7, determining the network quality when the target device performs the target service according to the operator network delay and the end-to-end network delay, comprising:
    根据所述运营商网络时延和所述端到端网络时延,确定所述目标网络出口到所述目标服务器的骨干网网络时延;determining, according to the operator network delay and the end-to-end network delay, the network delay of the backbone network from the target network to the target server;
    根据所述运营商网络时延、所述端到端网络时延和所述骨干网网络时延,确定所述目标设备执行所述目标业务时的网络质量。Determine the network quality when the target device performs the target service according to the operator network delay, the end-to-end network delay, and the backbone network delay.
  9. 根据权利要求8所述的方法,根据所述运营商网络时延、所述端到端网络时延和所述骨干网网络时延,确定所述目标设备执行所述目标业务时的网络质量,包括:The method according to claim 8, determining the network quality when the target device performs the target service according to the operator network delay, the end-to-end network delay and the backbone network delay, include:
    根据所述运营商网络时延确定所述目标设备到所述目标网络出口的运营商网络质量;Determine the operator network quality from the target device to the target network exit according to the operator network delay;
    根据所述端到端网络时延确定所述目标设备到所述目标服务器的端到端网络质量;Determine the end-to-end network quality from the target device to the target server according to the end-to-end network delay;
    根据所述骨干网网络时延确定所述目标网络出口到所述目标服务器的骨干网网络质量。The network quality of the backbone network exported from the target network to the target server is determined according to the network delay of the backbone network.
  10. 根据权利要求9所述的方法,所述运营商网络时延包括当前时刻的运营商网络时延和运营商网络平均时延;其中,根据所述运营商网络时延确定所述目标设备到所述目标网络出口的运营商网络质量,包括:The method according to claim 9, wherein the operator network delay includes the operator network delay at the current moment and the average operator network delay; wherein, the target device is determined according to the operator network delay to the destination The operator's network quality at the egress of the target network, including:
    若所述当前时刻的运营商网络时延相比于所述运营商网络平均时延的波动大于目标阈值,则判定所述目标设备在所述当前时刻到所述目标网络出口的网络出现异常;If the fluctuation of the operator's network delay at the current moment compared to the average delay of the operator's network is greater than the target threshold, it is determined that the network from the target device to the target network exit at the current moment is abnormal;
    生成网络异常提醒信息;Generate network abnormality reminder information;
    所述方法还包括:The method also includes:
    在所述目标设备上显示所述网络异常提醒信息。Display the network abnormality reminder information on the target device.
  11. 一种网络质量确定装置,包括:A network quality determination device, comprising:
    测速节点获取模块,配置为获取目标设备针对目标业务的第一目标测速节点和第二目标测速节点,所述第一目标测速节点与所述目标设备所在第一区域的运营商网络的目标网络出口节点对应,所述第二目标测速节点与处理所述目标业务的目标服务器对应;A speed measuring node acquisition module, configured to obtain the first target speed measuring node and the second target speed measuring node of the target device for the target service, the first target speed measuring node and the target network exit of the operator network in the first area where the target device is located Node correspondence, the second target speed measurement node corresponds to the target server processing the target service;
    运营商网络时延获取模块,配置为根据所述目标设备向所述第一目标测速节点发送的第一测速信号,确定所述目标设备到所述目标网络出口节点的运营商网络时延;an operator network delay acquisition module, configured to determine the operator network delay from the target device to the target network exit node according to the first speed measurement signal sent by the target device to the first target speed measurement node;
    端到端网络时延获取模块,配置为根据所述目标设备向所述第二目标测速节点发送的第二测速信号,确定所述目标设备到所述目标服务器的端到端网络时延;an end-to-end network delay acquisition module, configured to determine the end-to-end network delay from the target device to the target server according to the second speed measurement signal sent by the target device to the second target speed measurement node;
    网络质量确定模块,配置为根据所述运营商网络时延和所述端到端网络时延确定所述目标设备执行所述目标业务时的网络质量。A network quality determination module, configured to determine the network quality when the target device performs the target service according to the operator network delay and the end-to-end network delay.
  12. 根据权利要求11所述的装置,所述测速节点获取模块包括:第一目标测速节点确定子模块以及第二目标测速节点确定子模块;The device according to claim 11, wherein the speed measurement node acquisition module comprises: a first target speed measurement node determination submodule and a second target speed measurement node determination submodule;
    所述测速请求响应子模块,配置为根据所述目标网络出口节点的目标公网地址,确定与所述目标网络出口对应的第一目标测速节点;The speed measurement request response sub-module is configured to determine the first target speed measurement node corresponding to the target network outlet according to the target public network address of the target network outlet node;
    所述第一目标测速节点确定子模块,配置为根据所述目标服务器的目标服务器地址确定与所述目标服务器对应的第二目标测速节点。The first target speed measurement node determination submodule is configured to determine a second target speed measurement node corresponding to the target server according to the target server address of the target server.
  13. 根据权利要求12所述的装置,所述第一目标测速节点确定子模块包括:第一地理位置确定单元和第一目标测速节点确定单元;The device according to claim 12, wherein the first target speed measurement node determination sub-module comprises: a first geographic location determination unit and a first target speed measurement node determination unit;
    所述第一地理位置确定单元,配置为根据所述目标公网地址确定所述目标网络出口所在的第一地理位置;The first geographic location determining unit is configured to determine the first geographic location where the target network exit is located according to the target public network address;
    所述第一目标测速节点确定单元,配置为根据所述第一地理位置确定所述第一目标测速节点。The first target speed measurement node determination unit is configured to determine the first target speed measurement node according to the first geographic location.
  14. 根据权利要求13所述的装置,所述第一目标测速节点确定单元包括:第一判断子单元;The device according to claim 13, wherein the first target speed measurement node determination unit comprises: a first judgment subunit;
    所述第一判断子单元,配置为若所述第一地理位置存在测速节点,则在所述第一地理位置中的测速节点中确定所述第一目标测速节点。The first judging subunit is configured to determine the first target speed measuring node among the speed measuring nodes in the first geographic location if there is a speed measuring node in the first geographic location.
  15. 根据权利要求13所述的装置,所述第一目标测速节点确定单元包括:第二判断单元;The device according to claim 13, wherein the first target speed measurement node determination unit comprises: a second determination unit;
    所述第二判断单元,配置为若所述第一地理位置不存在测速节点,则将距离所述第一地理位置最近的测速节点作为所述第一目标测速节点。The second judging unit is configured to, if there is no speed measuring node in the first geographic location, take the speed measuring node closest to the first geographic location as the first target speed measuring node.
  16. 根据权利要求12所述的装置,所述第二目标测速节点确定子模块包括:第二地理位置确定单元和第二目标测速节点确定单元;The device according to claim 12, wherein the second target speed measurement node determination sub-module comprises: a second geographic location determination unit and a second target speed measurement node determination unit;
    所述第二地理位置确定单元,配置为根据所述目标服务器地址确定所述目标服务器所在的第二地理位置;the second geographic location determining unit, configured to determine the second geographic location where the target server is located according to the address of the target server;
    所述第二目标测速节点确定单元,配置为根据所述第二地理位置确定所述第二目标测速节点。The second target speed measurement node determination unit is configured to determine the second target speed measurement node according to the second geographic location.
  17. 根据权利要求11所述的装置,所述目标服务器和所述目标网络出口节点之间通过骨干网通信。The apparatus according to claim 11, wherein the communication between the target server and the target network exit node is through a backbone network.
  18. 根据权利要求17所述的装置,所述网络质量确定模块包括:骨干网网络时延获取子模块和网络质量确定子模块;The apparatus according to claim 17, wherein the network quality determination module comprises: a backbone network network delay acquisition submodule and a network quality determination submodule;
    所述骨干网网络时延获取子模块,配置为根据所述运营商网络时延和所述端到端网络时延,确定所述目标网络出口到所述目标服务器的骨干网网络时延;The backbone network network delay acquisition sub-module is configured to determine the backbone network network delay from the target network exit to the target server according to the operator network delay and the end-to-end network delay;
    所述网络质量确定子模块,配置为根据所述运营商网络时延、所述端到端网络时延和所述骨干网网络时延,确定所述目标设备执行所述目标业务时的网络质量。The network quality determination sub-module is configured to determine the network quality when the target device performs the target service according to the operator network delay, the end-to-end network delay and the backbone network network delay .
  19. 根据权利要求18所述的装置,所述网络质量确定子模块包括:运营商网络质量确定单元、端到端网络质量确定单元以及骨干网网络质量确定单元;The apparatus according to claim 18, wherein the network quality determination sub-module comprises: an operator network quality determination unit, an end-to-end network quality determination unit, and a backbone network network quality determination unit;
    所述运营商网络质量确定单元,配置为根据所述运营商网络时延确定所述目标设备到所述目标网络出口的运营商网络质量;the operator network quality determination unit, configured to determine the operator network quality from the target device to the target network exit according to the operator network delay;
    所述端到端网络质量确定单元,配置为根据所述端到端网络时延确定所述目标设备到所述目标服务器的端到端网络质量;the end-to-end network quality determining unit, configured to determine the end-to-end network quality from the target device to the target server according to the end-to-end network delay;
    骨干网网络质量确定单元,配置为根据所述骨干网网络时延确定所述目标网络出口到所述目标服务器的骨干网网络质量。The backbone network network quality determining unit is configured to determine the backbone network network quality from the target network to the target server according to the backbone network network delay.
  20. 根据权利要求19所述的装置,所述运营商网络时延包括当前时刻的运营商网络时延和运营商网络平均时延;其中,所述运营商网络质量确定单元包括:异常判断子单元、异常信息生成子单元;The device according to claim 19, wherein the operator network delay comprises the operator network delay at the current moment and the average delay of the operator network; wherein, the operator network quality determining unit comprises: an abnormality judging subunit, Abnormal information generation sub-unit;
    所述异常判断子单元,配置为若所述当前时刻的运营商网络时延相比于所述运营商网络平均时延的波动大于目标阈值,则判定所述目标设备在所述当前时刻到所述目标网络出口的网络出现异常;The abnormality judging subunit is configured to determine that the target device arrives at the target device at the current moment if the fluctuation of the operator network delay at the current moment compared with the average delay of the operator network is greater than the target threshold. The network at the exit of the target network is abnormal;
    所述异常信息生成子单元,配置为生成网络异常提醒信息;The abnormal information generation subunit is configured to generate network abnormality reminder information;
    所述运营商网络质量确定单元还包括:显示子单元;The operator's network quality determination unit further includes: a display subunit;
    所述显示子单元,配置为在所述目标设备上显示所述网络异常提醒信息。The display subunit is configured to display the network abnormality reminder information on the target device.
  21. 一种电子设备,包括:An electronic device comprising:
    一个或多个处理器;one or more processors;
    存储装置,用于存储一个或多个程序,storage means for storing one or more programs,
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-10中任一项所述的方法。The one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-10.
  22. 一种计算机可读存储介质,其上存储有计算机程序,所述程序被处理器执行时实现如权利要求1-10中任一项所述的方法。A computer-readable storage medium having a computer program stored thereon, the program implementing the method of any one of claims 1-10 when executed by a processor.
  23. 一种计算机程序产品,所述计算机程序产品包括计算机指令,所述计算机指令被处理器执行时实现如权利要求1-10中任一项所述的方法。A computer program product comprising computer instructions which, when executed by a processor, implement the method of any of claims 1-10.
PCT/CN2021/117590 2020-09-18 2021-09-10 Network quality determination method and apparatus, electronic device and readable storage medium WO2022057727A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010985936.XA CN112152879B (en) 2020-09-18 2020-09-18 Network quality determination method, device, electronic equipment and readable storage medium
CN202010985936.X 2020-09-18

Publications (1)

Publication Number Publication Date
WO2022057727A1 true WO2022057727A1 (en) 2022-03-24

Family

ID=73893942

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/117590 WO2022057727A1 (en) 2020-09-18 2021-09-10 Network quality determination method and apparatus, electronic device and readable storage medium

Country Status (2)

Country Link
CN (1) CN112152879B (en)
WO (1) WO2022057727A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112152879B (en) * 2020-09-18 2023-05-26 腾讯科技(深圳)有限公司 Network quality determination method, device, electronic equipment and readable storage medium
CN112242937B (en) * 2020-10-13 2024-03-08 腾讯科技(深圳)有限公司 Network speed measuring method and device, electronic equipment and computer readable medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106330589A (en) * 2015-06-30 2017-01-11 电信科学技术第研究所 Network speed measurement method
WO2018216976A1 (en) * 2017-05-22 2018-11-29 삼성전자주식회사 Method and apparatus for managing network quality in communication system
CN110830311A (en) * 2019-11-29 2020-02-21 广州市百果园信息技术有限公司 Network quality detection method, device, equipment and storage medium
CN111049691A (en) * 2019-12-25 2020-04-21 中国联合网络通信集团有限公司 Network fault positioning method, server, acquisition probe and storage medium
CN111181798A (en) * 2019-08-28 2020-05-19 腾讯科技(深圳)有限公司 Network delay measuring method and device, electronic equipment and storage medium
CN112152879A (en) * 2020-09-18 2020-12-29 腾讯科技(深圳)有限公司 Network quality determination method and device, electronic equipment and readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106330589A (en) * 2015-06-30 2017-01-11 电信科学技术第研究所 Network speed measurement method
WO2018216976A1 (en) * 2017-05-22 2018-11-29 삼성전자주식회사 Method and apparatus for managing network quality in communication system
CN111181798A (en) * 2019-08-28 2020-05-19 腾讯科技(深圳)有限公司 Network delay measuring method and device, electronic equipment and storage medium
CN110830311A (en) * 2019-11-29 2020-02-21 广州市百果园信息技术有限公司 Network quality detection method, device, equipment and storage medium
CN111049691A (en) * 2019-12-25 2020-04-21 中国联合网络通信集团有限公司 Network fault positioning method, server, acquisition probe and storage medium
CN112152879A (en) * 2020-09-18 2020-12-29 腾讯科技(深圳)有限公司 Network quality determination method and device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN112152879B (en) 2023-05-26
CN112152879A (en) 2020-12-29

Similar Documents

Publication Publication Date Title
CN107819829B (en) Method and system for accessing block chain, block chain node point equipment and user terminal
WO2022057727A1 (en) Network quality determination method and apparatus, electronic device and readable storage medium
WO2021082649A1 (en) List update method and apparatus, readable medium, and electronic device
WO2021000696A1 (en) Method and device for adding friend
WO2020186928A1 (en) Data sharing method and apparatus, electronic device and computer-readable storage medium
WO2020094036A1 (en) Wireless network connection method for terminal
CN110300165B (en) Method, device and equipment for calling functional program and storage medium
CN105743934B (en) A kind of optimization method and mobile intelligent terminal of HTTP access availability
US20220366066A1 (en) Display method, display device, and electronic device
WO2021139383A1 (en) Live broadcast room gift resource updating method and apparatus, and medium and electronic device
WO2021197161A1 (en) Icon updating method and apparatus, and electronic device
CN112686528B (en) Method, device, server and medium for distributing customer service resources
WO2023109479A1 (en) Network access method and apparatus, and medium and electronic device
WO2023179505A1 (en) Scheduling method and apparatus for content delivery network, and storage medium and electronic device
WO2020026018A1 (en) Method for downloading file, device, apparatus/terminal/ server, and storage medium
CN108702334B (en) Method and system for distributed testing of network configuration for zero tariffs
CN113132403A (en) Back-source method and device for content distribution network
US9088629B2 (en) Managing an electronic conference session
CN114513552A (en) Data processing method, device, equipment and storage medium
CN112968945B (en) Current limiting method and device, electronic equipment and storage medium
CN110247847B (en) Method and device for back source routing between nodes
WO2022242470A1 (en) Cdn scheduling method, apparatus and device, and storage medium
US20230063599A1 (en) Edge computing network, data transmission method and apparatus, device and storage medium
TWI766387B (en) Reverse proxy method and storage device with delay sensing and load balancing
CN113867946A (en) Method, device, storage medium and electronic equipment for accessing resources

Legal Events

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

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 07.08.2023).

122 Ep: pct application non-entry in european phase

Ref document number: 21868552

Country of ref document: EP

Kind code of ref document: A1