CN112311628A - Network speed measuring method, system, network equipment and storage medium - Google Patents

Network speed measuring method, system, network equipment and storage medium Download PDF

Info

Publication number
CN112311628A
CN112311628A CN202011192371.6A CN202011192371A CN112311628A CN 112311628 A CN112311628 A CN 112311628A CN 202011192371 A CN202011192371 A CN 202011192371A CN 112311628 A CN112311628 A CN 112311628A
Authority
CN
China
Prior art keywords
speed measurement
gateway
speed
task
node address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011192371.6A
Other languages
Chinese (zh)
Other versions
CN112311628B (en
Inventor
程哲欣
冯慧君
陆海俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Hangzhou Information Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Hangzhou Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Hangzhou Information Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202011192371.6A priority Critical patent/CN112311628B/en
Publication of CN112311628A publication Critical patent/CN112311628A/en
Application granted granted Critical
Publication of CN112311628B publication Critical patent/CN112311628B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0894Packet rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic

Landscapes

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

Abstract

The embodiment of the invention relates to the field of communication, and discloses a network speed measuring method, a network speed measuring system, network equipment and a storage medium. The network speed measurement method comprises the following steps: receiving a data message sent by a gateway according to a preset time period, wherein the data message carries gateway identification information; matching a corresponding speed measurement task according to the gateway identification information, wherein the speed measurement task comprises a speed measurement mode, a speed measurement type and a speed measurement parameter; sending a speed measuring node address application request to a gateway speed measuring dispatching system according to the speed measuring task; and receiving speed measuring node address information, and returning the speed measuring node address information and the speed measuring task to a corresponding gateway so that the corresponding gateway can initiate speed measurement to a corresponding speed measuring node. The method is applied to the network speed measurement process, and the purpose of measuring the speed of the mass gateways is achieved.

Description

Network speed measuring method, system, network equipment and storage medium
Technical Field
The embodiment of the invention relates to the field of communication, in particular to a network speed measuring method, a network speed measuring system, network equipment and a storage medium.
Background
At present, due to the diversity of network link end environments, the reasons for the slow network speed perceived by users are various. When an operator receives complaints about slow internet speed of users, the whole network end-to-end link needs to be checked and monitored, and network speed measurement is one of the main means. The existing network speed measurement mode is that a speed measurement system starts speed measurement to a terminal network element of a designated network link.
However, the speed measurement initiated by the speed measurement system to the designated gateway is limited by the bandwidth of the speed measurement server, cannot support a large concurrency amount, can only measure the speed of a small number of specific gateways, and cannot support large-scale gateway speed measurement.
Disclosure of Invention
The embodiment of the invention aims to provide a network speed measuring method, a network speed measuring system, network equipment and a storage medium, wherein a speed measuring task is issued in a mode of reporting a data message periodically by a gateway to respond, so that large-scale gateway speed measurement is realized.
In order to solve the above technical problem, an embodiment of the present invention provides a network speed measurement method, including: receiving a data message sent by a gateway according to a preset time period, wherein the data message carries gateway identification information; matching a corresponding speed measurement task according to the gateway identification information, wherein the speed measurement task comprises a speed measurement mode, a speed measurement type and a speed measurement parameter; sending a speed measuring node address application request to a gateway speed measuring dispatching system according to the speed measuring task; and receiving speed measuring node address information, and returning the speed measuring node address information and the speed measuring task to a corresponding gateway so that the corresponding gateway can initiate speed measurement to a corresponding speed measuring node.
The embodiment of the invention also provides a network speed measuring method, which comprises the following steps: receiving a speed measuring node address application request, wherein the speed measuring node address application request comprises gateway bandwidth information and speed measuring node information; and dynamically generating a speed measuring node address according to the gateway bandwidth information and the speed measuring node information, and returning the speed measuring node address information to the gateway soft probe system.
The embodiment of the present invention further provides a network speed measurement system, including:
the gateway soft probe system is used for receiving a data message sent by a gateway according to a preset time period, wherein the data message carries gateway identification information, and a corresponding speed measurement task is matched according to the gateway identification information, wherein the speed measurement task comprises a speed measurement mode and a speed measurement type, and sends a speed measurement node address application request to a gateway speed measurement scheduling system according to the speed measurement task, receives speed measurement node address information, and returns the speed measurement node address information and the speed measurement task to the corresponding gateway;
the gateway speed measurement scheduling system comprises a scheduling module and a soft probe system, wherein the scheduling module is used for receiving a speed measurement node address application request, the speed measurement node address application request comprises gateway bandwidth information and speed measurement node information, a speed measurement address is dynamically generated according to the gateway bandwidth information and the speed measurement node information, and the speed measurement node address information is returned to the gateway soft probe system;
and the gateway comprises a soft probe plug-in module and is used for sending a data message to a gateway soft probe system according to a preset time period and initiating speed measurement to a corresponding speed measurement node according to the speed measurement node address information and the speed measurement task.
An embodiment of the present invention further provides a network device, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the network velocimetry method described above.
The embodiment of the invention also provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the network speed measuring method.
Compared with the prior art, the method and the device have the advantages that the data messages periodically reported by the gateway are received, the speed measurement task is matched according to the gateway identification information carried by the data messages, the speed measurement address is applied, the speed measurement address is returned to the gateway in a response mode to issue the speed measurement task, the speed measurement task is not actively issued to the designated gateway, and the large-scale gateway speed measurement is realized.
In addition, before the gateway soft probe system receives the data packet sent by the gateway according to the predetermined time period, the network speed measurement method provided by the embodiment of the present invention further includes: sending a gateway plug-in restarting request to a plug-in system so that the plug-in system can send a plug-in restarting command to a soft probe plug-in the gateway; and receiving a plug-in startup notification message sent by the gateway soft probe plug-in, acquiring a speed measurement task corresponding to the gateway, and storing the test task. By restarting the soft probe plug-in the gateway, the gateway soft probe system can immediately acquire a speed measurement task.
In addition, the network speed measurement method according to an embodiment of the present invention, where the sending of the speed measurement node address application request to the gateway speed measurement scheduling system according to the speed measurement task includes: acquiring a speed measurement mode and speed measurement parameters of the test task, wherein the speed measurement mode comprises quasi real-time speed measurement and non-quasi real-time speed measurement; adding a count to a predefined speed measurement task count variable, and judging whether the speed measurement task count variable exceeds a preset first threshold value; and if the data message exceeds the threshold value, judging the speed measurement mode of the speed measurement task, and if the data message exceeds the threshold value, waiting for receiving the data message sent by the gateway in the next period. Whether the speed measurement task exceeds the speed measurement task quantity supported by the speed measurement node or not is judged through a preset first threshold value, and the purpose of limiting the flow of the gateway speed measurement is achieved.
In addition, the network speed measurement method provided by the embodiment of the present invention, where the speed measurement node address is dynamically generated according to the gateway bandwidth information and the speed measurement node information, and the speed measurement node address is returned to the gateway soft probe system, includes: dynamically generating a speed measuring node address according to the gateway bandwidth information and the speed measuring node information, and inquiring whether the use of the speed measuring node bandwidth resource exceeds a preset second threshold value; if the data message exceeds the threshold value, the speed measuring node address, the key and the timestamp information are packaged to form speed measuring node address information, the speed measuring node address information is returned to the gateway soft probe system, and if the data message exceeds the threshold value, the data message sent by the gateway in the next period is waited to be received. When the gateway speed measurement scheduling system allocates the speed measurement node address for the speed measurement task, the purpose of correctly configuring the resource for each speed measurement task is achieved by judging whether the use of the bandwidth resource exceeds a threshold value.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the figures in which like reference numerals refer to similar elements and which are not to scale unless otherwise specified.
Fig. 1 is a flowchart of a network speed measurement method according to a first embodiment of the present invention;
fig. 2 is a flowchart of a network speed measurement method according to a second embodiment of the present invention;
fig. 3 is a flowchart of a network speed measuring method according to a third embodiment of the present invention;
fig. 4 is a flowchart of a network speed measurement method according to a fourth embodiment of the present invention;
fig. 5 is a flowchart of a network speed measurement method according to a fifth embodiment of the present invention;
fig. 6 is a schematic structural diagram of a network speed measurement system according to a sixth embodiment of the present invention;
fig. 7 is a schematic structural diagram of a network device according to a seventh embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present application in various embodiments of the present invention. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments. The following embodiments are divided for convenience of description, and should not constitute any limitation to the specific implementation manner of the present invention, and the embodiments may be mutually incorporated and referred to without contradiction.
A first embodiment of the present invention relates to a network speed measurement method, and a specific flow is shown in fig. 1, including:
step 101, receiving a data message sent by a gateway according to a preset time period, wherein the data message carries gateway identification information.
Specifically, the gateway identification information may be a gateway SN code, a gateway model, or other information capable of identifying a gateway, which is not described herein any more. It should be noted that the initiator performing the network speed measurement may be various third party applications independent of the speed measurement system, a speed measurement system management station, and other various request sources, and no specific provisions are made herein.
And 102, matching a corresponding speed measurement task according to the gateway identification information, wherein the speed measurement task comprises a speed measurement mode, a speed measurement type and a speed measurement parameter.
Specifically, the speed measurement mode includes quasi real-time speed measurement and non-quasi real-time speed measurement. For quasi-real-time speed measurement, the gateway soft probe system needs to respond to a speed measurement task in real time according to the data message, and for non-quasi-real-time speed measurement, the gateway soft probe system needs to respond to the speed measurement task according to the speed measurement task execution time interval. The speed measurement types comprise ping speed measurement, broadband speed measurement, FTP speed measurement, network connectivity speed measurement and the like. The speed measurement parameters comprise a speed measurement port, a speed measurement cycle, a speed measurement execution time period, a speed measurement initiation frequency, priority information and the like. Of course, for different speed measurement modes, different speed measurement types, different speed measurement tasks, the speed measurement parameters are correspondingly different.
In this embodiment, the speed measurement execution time period refers to an execution time period for initiating a speed measurement task, for example: the speed measurement task is initiated between 1 point and 6 points every day. The speed measurement initiation frequency refers to the frequency of the gateway soft probe system initiating a speed measurement task to a corresponding gateway, and the frequency is divided according to the geographic position and the time interval, for example: the method includes that 50 gateways in prefecture A are tested per hour, and it can be understood that in all gateways where a specified speed test sample set belongs to prefecture A, a speed test task is executed on at most 50 gateways per hour. Further, the speed measurement initiation frequency includes an idle time period frequency and a busy time period frequency.
And 103, sending a speed measuring node address application request to the gateway speed measuring dispatching system according to the speed measuring task.
And step 104, receiving the speed measuring node address information, and returning the speed measuring node address information and the speed measuring task to the corresponding gateway so that the corresponding gateway can initiate speed measurement to the corresponding speed measuring node.
In this embodiment, when a plurality of request sources simultaneously issue speed measurement tasks to the same gateway, the gateway soft probe plug-in can only execute one speed measurement task at the same time, and different priorities can be defined for each speed measurement task according to a preset priority rule. The priorities of different tasks can be set according to conditions such as a request source, a speed measurement issuing mode, a sample set and the like, for example: the quasi-real-time speed measurement priority initiated by the application A is higher than that initiated by the application B, the quasi-real-time speed measurement priority is higher than that of non-quasi-real-time speed measurement, and the non-quasi-real-time speed measurement sample set A is higher than that of the non-quasi-real-time speed measurement sample set B.
Compared with the prior art, the method and the device have the advantages that the data messages periodically reported by the gateway are received, the speed measurement task is matched according to the gateway identification information carried by the data messages, the speed measurement address is applied, the speed measurement address is returned to the gateway in a response mode to issue the speed measurement task, the speed measurement task is not actively issued to the designated gateway, and the large-scale gateway speed measurement is realized.
A second embodiment of the present invention relates to a network speed measurement method, which is substantially the same as the network speed measurement method provided in the first embodiment, and is different from the method, as shown in fig. 2, before step 101, the method further includes:
step 201, a request for restarting the gateway plug-in is sent to the plug-in system, so that the plug-in system sends a plug-in restart command to the soft probe plug-in the gateway.
Step 202, receiving a plug-in startup notification message sent by a gateway soft probe plug-in, acquiring a speed measurement task corresponding to the gateway, and storing the test task.
Compared with the prior art, the plug-in system is used for managing the soft probe plug-ins in all gateways, and the plug-in startup notification message is sent by restarting the soft probe plug-ins in the gateways, so that the corresponding speed measurement task is immediately obtained, and the configuration of the speed measurement task is realized.
A third embodiment of the present invention relates to a network speed measurement method, which is substantially the same as the network speed measurement method provided in the first embodiment, and is different in that, as shown in fig. 3, step 103 includes:
step 301, a speed measurement mode and speed measurement parameters of the test task are obtained, wherein the speed measurement mode includes quasi real-time speed measurement and non-quasi real-time speed measurement.
In this embodiment, both the quasi-real-time speed measurement task and the non-quasi-real-time speed measurement task support the support of multiple speed measurement origins in the form of an open interface, and the open interface may include an http mode or an ftp mode.
Step 302, count a predefined speed measurement task count variable.
It should be noted that, after the gateway completes the speed measurement task and returns the result to the gateway soft probe system, the gateway soft probe system decrements the speed measurement task count variable by one.
Step 303, determining whether the speed measurement task count variable exceeds a preset first threshold.
Specifically, if the speed measurement task count variable exceeds the preset first threshold, that is, the speed measurement node cannot simultaneously support the gateway speed measurement task with the exceeding threshold, at this time, step 304 is executed, and if the speed measurement task count variable does not exceed the preset first threshold, step 305 is executed.
Step 304, waiting for receiving the data message sent by the gateway in the next period.
Step 305, judging the speed measuring mode of the speed measuring task
Specifically, if the speed measurement mode is quasi real-time speed measurement, step 306 is executed, and if the speed measurement mode is non-quasi real-time speed measurement, step 307 is executed.
And step 306, sending a speed measurement node address application request to the gateway speed measurement scheduling system according to the speed measurement task.
Step 307, judging whether the data message sending time belongs to the speed measurement execution time interval.
Specifically, if the time period belongs to the speed measurement execution time period, step 308 is executed, and if the time period does not belong to the speed measurement execution time period, step 309 is executed.
And 308, acquiring gateway identification information and speed measurement parameters, and sending a speed measurement node address application request to the gateway speed measurement scheduling system.
Step 309, waiting for receiving the data message sent by the gateway in the next period.
Compared with the prior art, the embodiment of the invention can execute different speed measurement operations for accurate real-time speed measurement and non-accurate real-time speed measurement by counting the speed measurement task variable, the speed measurement mode and the judgment of the speed measurement execution time interval, thereby realizing the current limitation of gateway speed measurement in a high concurrency environment and accurately finishing the requirements of different speed measurement tasks.
It should be noted that the first to third embodiments of the present invention relate to a network speed measurement method, which is specifically applied to a gateway soft probe system to implement speed measurement on a large-scale gateway.
A fourth embodiment of the present invention relates to a network speed measurement method, and a specific flow is shown in fig. 4, including:
step 401, receiving a speed measuring node address application request, where the speed measuring node address application request includes gateway bandwidth information and speed measuring node information.
And step 402, dynamically generating a speed measurement node address according to the gateway bandwidth information and the speed measurement node information, and returning the speed measurement node address information to the gateway soft probe system.
Specifically, after the gateway speed measurement scheduling system dynamically generates the speed measurement address, the gateway speed measurement scheduling system also subtracts the bandwidth resource in the speed measurement resource pool, so that when the next speed measurement task needs to configure the speed measurement node address, the gateway speed measurement scheduling system can correctly allocate the address and the bandwidth resource.
Compared with the prior art, the method and the device for measuring the speed of the gateway in the embodiment of the invention realize speed measurement of the large-scale gateway in a high-concurrency environment by receiving the speed measurement node address application request sent by the gateway soft probe system and configuring the corresponding speed measurement node for each speed measurement task.
A fifth embodiment of the present invention relates to a network speed measurement method, which is substantially the same as the network speed measurement method provided in the fourth embodiment, except that, as shown in fig. 5, step 402 includes:
step 501, a speed measuring node address is dynamically generated according to the gateway bandwidth information and the speed measuring node information.
Step 502, inquiring whether the bandwidth resource usage of the speed measuring node exceeds a preset second threshold value.
Specifically, if not, step 503 is executed, and if yes, step 504 is executed.
And 503, encapsulating the speed measuring node address, the secret key and the timestamp information to form speed measuring node address information, and returning the speed measuring node address information to the gateway soft probe system.
Specifically, after receiving the speed measurement node address, the key and the timestamp information, the gateway soft probe system sends the information to the corresponding gateway so that the gateway can initiate speed measurement to the corresponding speed measurement node. After receiving the information, the speed measuring node performs validity check according to the secret key, and then judges whether the timestamp exceeds a preset threshold value, wherein the threshold value refers to the expiration time of the speed measuring node address. If not, the speed measurement node returns a speed measurement data message to the corresponding gateway, and the soft probe plug-in module in the gateway returns the speed measurement result to the gateway soft probe system. The above operations are all performed in an atomic level.
Step 504, waiting for receiving the data message sent by the gateway in the next period.
Compared with the prior art, the method and the system have the advantage that when the gateway speed measurement scheduling system allocates the speed measurement node address to the speed measurement task, the purpose of correctly allocating resources to each speed measurement task is achieved by judging whether the use of bandwidth resources exceeds a threshold value.
It should be noted that the fourth to fifth embodiments of the present invention relate to a network speed measurement method, which is specifically applied to a gateway speed measurement scheduling system to implement speed measurement on a large-scale gateway.
A sixth embodiment of the present invention relates to a network speed measurement system, as shown in fig. 6, including:
the gateway soft probe system 601 is configured to receive a data packet sent by a gateway according to a predetermined time period, where the data packet carries gateway identification information, match a corresponding speed measurement task according to the gateway identification information, where the speed measurement task includes a speed measurement mode and a speed measurement type, send a speed measurement node address application request to a gateway speed measurement scheduling system 602 according to the speed measurement task, receive speed measurement node address information, and return the speed measurement node address information and the speed measurement task to a corresponding gateway 603;
the gateway speed measurement scheduling system 602 comprises a scheduling module and is configured to receive a speed measurement node address application request sent by the gateway soft probe system 601, where the speed measurement node address application request comprises gateway bandwidth information and speed measurement node information, dynamically generates a speed measurement address according to the gateway bandwidth information and the speed measurement node information, and returns the speed measurement node address information to the gateway soft probe system 601;
and the gateway 603 comprises a soft probe plug-in module and is used for sending a data message to the gateway soft probe system 601 according to a preset time period and initiating speed measurement to a corresponding speed measurement node according to the speed measurement node address information and the speed measurement task.
A seventh embodiment of the present invention relates to a network device, as shown in fig. 7, including:
at least one processor 701; and the number of the first and second groups,
a memory 702 communicatively coupled to the at least one processor 701; wherein the content of the first and second substances,
the memory 702 stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor 701, so that the at least one processor 701 can execute the network speed measuring method according to the first to sixth embodiments of the present invention.
Where the memory and processor are connected by a bus, the bus may comprise any number of interconnected buses and bridges, the buses connecting together one or more of the various circuits of the processor and the memory. The bus may also connect various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor is transmitted over a wireless medium via an antenna, which further receives the data and transmits the data to the processor.
The processor is responsible for managing the bus and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And the memory may be used to store data used by the processor in performing operations.
An eighth embodiment of the present invention relates to a computer-readable storage medium storing a computer program. The computer program realizes the above-described method embodiments when executed by a processor.
That is, as can be understood by those skilled in the art, all or part of the steps in the method for implementing the embodiments described above may be implemented by a program instructing related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples for carrying out the invention, and that various changes in form and details may be made therein without departing from the spirit and scope of the invention in practice.

Claims (10)

1. A network speed measurement method is characterized by comprising the following steps:
receiving a data message sent by a gateway according to a preset time period, wherein the data message carries gateway identification information;
matching a corresponding speed measurement task according to the gateway identification information, wherein the speed measurement task comprises a speed measurement mode, a speed measurement type and a speed measurement parameter;
sending a speed measuring node address application request to a gateway speed measuring dispatching system according to the speed measuring task;
and receiving speed measuring node address information, and returning the speed measuring node address information and the speed measuring task to a corresponding gateway so that the corresponding gateway can initiate speed measurement to a corresponding speed measuring node.
2. The method for measuring the speed of the network according to claim 1, wherein before the gateway soft probe system receives the data message sent by the gateway according to the predetermined time period, the method further comprises:
sending a gateway plug-in restarting request to a plug-in system so that the plug-in system can send a plug-in restarting command to a soft probe plug-in the gateway;
and receiving a plug-in startup notification message sent by the gateway soft probe plug-in, acquiring a speed measurement task corresponding to the gateway, and storing the test task.
3. The network speed measurement method according to claim 1, wherein the sending a speed measurement node address application request to a gateway speed measurement scheduling system according to the speed measurement task comprises:
acquiring a speed measurement mode and speed measurement parameters of the test task, wherein the speed measurement mode comprises quasi real-time speed measurement and non-quasi real-time speed measurement;
adding a count to a predefined speed measurement task count variable, and judging whether the speed measurement task count variable exceeds a preset first threshold value;
and if the data message exceeds the threshold value, judging the speed measurement mode of the speed measurement task, and if the data message exceeds the threshold value, waiting for receiving the data message sent by the gateway in the next period.
4. The method according to claim 3, wherein the determining the speed measurement mode of the speed measurement task comprises:
if the speed measurement mode is quasi real-time speed measurement, a speed measurement node address application request is sent to a gateway speed measurement scheduling system according to the speed measurement task;
if the speed measurement mode is non-quasi-real-time speed measurement, judging whether the sending time of the data message belongs to a speed measurement execution time interval, wherein if the sending time of the data message belongs to the speed measurement execution time interval, acquiring the gateway identification information and the speed measurement parameter, sending a speed measurement node address application request to a gateway speed measurement scheduling system, and if the sending time of the data message does not belong to the speed measurement execution time interval, waiting for receiving the data message sent by the gateway in the next period.
5. A network speed measurement method is characterized by comprising the following steps:
receiving a speed measuring node address application request, wherein the speed measuring node address application request comprises gateway bandwidth information and speed measuring node information;
and dynamically generating a speed measuring node address according to the gateway bandwidth information and the speed measuring node information, and returning the speed measuring node address information to the gateway soft probe system.
6. The network speed measurement method according to claim 5, wherein the dynamically generating a speed measurement node address according to the gateway bandwidth information and the speed measurement node information and returning the speed measurement node address to the gateway soft probe system comprises:
dynamically generating a speed measuring node address according to the gateway bandwidth information and the speed measuring node information, and inquiring whether the use of the speed measuring node bandwidth resource exceeds a preset second threshold value;
if the data message exceeds the threshold value, the speed measuring node address, the key and the timestamp information are packaged to form speed measuring node address information, the speed measuring node address information is returned to the gateway soft probe system, and if the data message exceeds the threshold value, the data message sent by the gateway in the next period is waited to be received.
7. A network speed measurement system, comprising:
the gateway soft probe system is used for receiving a data message sent by a gateway according to a preset time period, wherein the data message carries gateway identification information, and a corresponding speed measurement task is matched according to the gateway identification information, wherein the speed measurement task comprises a speed measurement mode and a speed measurement type, and sends a speed measurement node address application request to a gateway speed measurement scheduling system according to the speed measurement task, receives speed measurement node address information, and returns the speed measurement node address information and the speed measurement task to the corresponding gateway;
the gateway speed measurement scheduling system comprises a scheduling module and a soft probe system, wherein the scheduling module is used for receiving a speed measurement node address application request, the speed measurement node address application request comprises gateway bandwidth information and speed measurement node information, a speed measurement address is dynamically generated according to the gateway bandwidth information and the speed measurement node information, and the speed measurement node address information is returned to the gateway soft probe system;
and the gateway comprises a soft probe plug-in module and is used for sending a data message to a gateway soft probe system according to a preset time period and initiating speed measurement to a corresponding speed measurement node according to the speed measurement node address information and the speed measurement task.
8. The network speed measurement system according to claim 6, wherein the gateway soft probe system comprises:
the management module is used for writing the relationship information of the gateway and the speed measurement task into a speed measurement task database and synchronizing all data in the speed measurement task database into a speed measurement task memory database;
the processing module is used for receiving a data message sent by a gateway according to a preset time period, acquiring gateway identification information, quickly matching a speed measurement task corresponding to the gateway from a speed measurement task memory database, sending a speed measurement node address application request to the scheduling module and acquiring speed measurement node address information;
the speed measurement task database comprises gateway information required by the speed measurement task;
and the speed measurement task memory database comprises all the data in the speed measurement task database which are synchronously sent.
9. A network device, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions for execution by the at least one processor to enable the at least one processor to perform the network velocimetry method according to any one of claims 1 to 4, or to perform the network velocimetry method according to any one of claims 5 to 6, or to perform the network velocimetry method according to any one of claims 7 to 8.
10. A computer readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the network speed measurement method according to any one of claims 1 to 4, or is capable of executing the network speed measurement method according to any one of claims 5 to 6, or is capable of executing the network speed measurement method according to any one of claims 7 to 8.
CN202011192371.6A 2020-10-30 2020-10-30 Network speed measuring method, system, network equipment and storage medium Active CN112311628B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011192371.6A CN112311628B (en) 2020-10-30 2020-10-30 Network speed measuring method, system, network equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011192371.6A CN112311628B (en) 2020-10-30 2020-10-30 Network speed measuring method, system, network equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112311628A true CN112311628A (en) 2021-02-02
CN112311628B CN112311628B (en) 2023-02-24

Family

ID=74332858

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011192371.6A Active CN112311628B (en) 2020-10-30 2020-10-30 Network speed measuring method, system, network equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112311628B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113271228A (en) * 2021-06-16 2021-08-17 中移(杭州)信息技术有限公司 Bandwidth resource scheduling method, device, equipment and computer readable storage medium
CN113542067A (en) * 2021-07-14 2021-10-22 深圳市吉祥腾达科技有限公司 Method and system for testing network rate between two points based on network equipment
CN114124763A (en) * 2021-12-07 2022-03-01 中国信息通信研究院 Method and system for measuring broadband access rate
CN114375001A (en) * 2021-12-24 2022-04-19 山东信通电子股份有限公司 Network speed measurement method and equipment
WO2023040366A1 (en) * 2021-09-14 2023-03-23 天翼数字生活科技有限公司 Icmp-based vpn acceleration channel network quality detection system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101068171A (en) * 2007-06-25 2007-11-07 中兴通讯股份有限公司 Speed-measuring resource dynamic distributing method and system for network speed-measuring system
US20120076015A1 (en) * 2010-09-27 2012-03-29 Time Warner Cable Inc. Dynamic changing tier service on test device
CN104168583A (en) * 2013-05-17 2014-11-26 深圳市豪恩安全科技有限公司 Wireless bidirectional communication testing method, apparatus and system
US20170171054A1 (en) * 2015-12-15 2017-06-15 At&T Intellectual Property I, L.P. Method and apparatus for initiating internet connection speed testing on a residential gateway
CN107634880A (en) * 2017-09-25 2018-01-26 中国联合网络通信集团有限公司 Broadband speed-measuring method and broadband velocity-measuring system
CN108092837A (en) * 2016-11-21 2018-05-29 腾讯科技(深圳)有限公司 Network communication quality detection method tests the speed server and network tests the speed plug-in unit
CN111245668A (en) * 2018-12-28 2020-06-05 中国信息通信研究院 Broadband network rate testing method and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101068171A (en) * 2007-06-25 2007-11-07 中兴通讯股份有限公司 Speed-measuring resource dynamic distributing method and system for network speed-measuring system
US20120076015A1 (en) * 2010-09-27 2012-03-29 Time Warner Cable Inc. Dynamic changing tier service on test device
CN104168583A (en) * 2013-05-17 2014-11-26 深圳市豪恩安全科技有限公司 Wireless bidirectional communication testing method, apparatus and system
US20170171054A1 (en) * 2015-12-15 2017-06-15 At&T Intellectual Property I, L.P. Method and apparatus for initiating internet connection speed testing on a residential gateway
CN108092837A (en) * 2016-11-21 2018-05-29 腾讯科技(深圳)有限公司 Network communication quality detection method tests the speed server and network tests the speed plug-in unit
CN107634880A (en) * 2017-09-25 2018-01-26 中国联合网络通信集团有限公司 Broadband speed-measuring method and broadband velocity-measuring system
CN111245668A (en) * 2018-12-28 2020-06-05 中国信息通信研究院 Broadband network rate testing method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
黄硕: "《基于用户测试的J省移动公司宽带质量提升研究》", 《中国优秀博硕士学位论文全文数据库(硕士)经济与管理科学辑》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113271228A (en) * 2021-06-16 2021-08-17 中移(杭州)信息技术有限公司 Bandwidth resource scheduling method, device, equipment and computer readable storage medium
CN113542067A (en) * 2021-07-14 2021-10-22 深圳市吉祥腾达科技有限公司 Method and system for testing network rate between two points based on network equipment
WO2023040366A1 (en) * 2021-09-14 2023-03-23 天翼数字生活科技有限公司 Icmp-based vpn acceleration channel network quality detection system
CN114124763A (en) * 2021-12-07 2022-03-01 中国信息通信研究院 Method and system for measuring broadband access rate
CN114124763B (en) * 2021-12-07 2023-10-24 中国信息通信研究院 Broadband access rate measurement method and system
CN114375001A (en) * 2021-12-24 2022-04-19 山东信通电子股份有限公司 Network speed measurement method and equipment
CN114375001B (en) * 2021-12-24 2023-10-20 山东信通电子股份有限公司 Network speed measuring method and device

Also Published As

Publication number Publication date
CN112311628B (en) 2023-02-24

Similar Documents

Publication Publication Date Title
CN112311628B (en) Network speed measuring method, system, network equipment and storage medium
WO2020052605A1 (en) Network slice selection method and device
CN103516690A (en) Service processing state information query method and apparatus thereof
WO2016173280A1 (en) Monitoring management method and apparatus
CN105281978A (en) Performance test method, device and system
CN107341103B (en) Software compatibility testing method and system
CN108282381A (en) Network packet loss rate monitoring method, device and test server
CN111431730B (en) Service processing method, system, computer equipment and readable medium
CN103516851B (en) A kind of wireless product cloud test platform system
CN110445824B (en) NB-IoT data reporting method, device, system and computer readable storage medium
CN112165517B (en) Return source detection method and device, storage medium and electronic equipment
CN111966556A (en) Performance pressure measurement method and device, server and computer readable storage medium
CN112118151A (en) Network speed measuring method, device, system, electronic equipment and storage medium
CN108733545B (en) Pressure testing method and device
CN110912805B (en) Message reading state synchronization method, terminal, server and system
US10211995B2 (en) Background traffic downloading method, device, and system
CN104683473A (en) Service quality monitoring method, server side, client and system
CN109862134B (en) Lease time configuration method and system of IP address and DHCP client
CN109547287B (en) Bandwidth testing method and device and storage medium
CN114071547B (en) QoE measurement configuration method, qoE measurement configuration device and storage medium
EP2930617A1 (en) Resource management method and device
CN107371263B (en) Method and device for scheduling uplink resources
CN112650815B (en) Method and device for synchronizing environment data, storage medium and electronic device
WO2021056435A1 (en) Method and apparatus for abnormality detection
CN113747506A (en) Resource scheduling method, device and network system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant