CN109218133B - Network speed testing system, method, device and computer readable storage medium - Google Patents

Network speed testing system, method, device and computer readable storage medium Download PDF

Info

Publication number
CN109218133B
CN109218133B CN201811131629.4A CN201811131629A CN109218133B CN 109218133 B CN109218133 B CN 109218133B CN 201811131629 A CN201811131629 A CN 201811131629A CN 109218133 B CN109218133 B CN 109218133B
Authority
CN
China
Prior art keywords
speed measurement
speed
node device
node
server
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.)
Active
Application number
CN201811131629.4A
Other languages
Chinese (zh)
Other versions
CN109218133A (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.)
Shenzhen Onething Technology Co Ltd
Original Assignee
Shenzhen Onething 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 Shenzhen Onething Technology Co Ltd filed Critical Shenzhen Onething Technology Co Ltd
Priority to CN201811131629.4A priority Critical patent/CN109218133B/en
Publication of CN109218133A publication Critical patent/CN109218133A/en
Application granted granted Critical
Publication of CN109218133B publication Critical patent/CN109218133B/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
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • 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

Abstract

The invention provides a network speed testing system, which comprises at least one server and at least two node devices in communication connection with the server, wherein: after receiving a network speed test task generation instruction sent by a user, the server generates a speed test task corresponding to each node device according to a predetermined speed test task generation rule; after the node equipment acquires the corresponding speed measurement task from the server, establishing communication connection with the node equipment matched with the node equipment and executing speed measurement to acquire speed measurement data and sending the acquired speed measurement data to the server; and the server calculates a speed measurement result corresponding to the node equipment according to the speed measurement data. The invention can change the speed measurement between the node equipment and the server into the speed measurement between the node equipment, improves the accuracy of network speed test and avoids the consumption of the bandwidth and the system resources of the server.

Description

Network speed testing system, method, device and computer readable storage medium
Technical Field
The present invention relates to computer network systems, and more particularly, to a network speed testing system, method and computer readable storage medium.
Background
Currently, for a P2P network system, in order to effectively guarantee the response speed of the system and effectively screen and prevent data interaction faults of the system, a network speed test needs to be performed on each node device in the network. The existing network speed testing scheme generally includes that each testing node device (e.g., a personal computer) and a certain speed measurement server are in communication connection and transmit data within a period of time, and then a data average value is obtained for the transmitted data to obtain a testing speed corresponding to each testing node device (e.g., a node device downloads a test file from the speed measurement server or uploads the test file to the speed measurement server, and if the testing speed reaches 1.25MB/s, the testing speed corresponding to the node device can be considered to reach 10 Mbps). The process of the existing network speed test scheme includes: the node equipment requests a back-end server (for example, a Nginx server, which is a lightweight website server, a reverse proxy server and an email proxy server) to allocate a speed measurement server to be used for measuring speed; the node equipment is connected with a speed measurement server requesting distribution for measuring speed; and the speed measurement server or the node equipment uploads the test result to the back-end server for statistical analysis.
However, the existing network speed testing scheme has technical defects that: when the number of node devices for measuring the speed simultaneously is large and the network bandwidth occupies too much, the bandwidth consumption of the server is large, which can result in no resource speed measurement or too high bandwidth cost; the network quality between the distributed speed measurement server and the node equipment needing speed measurement is not consistent, so that the accuracy of the speed measurement result is low.
Therefore, how to effectively improve the accuracy of the network speed test and effectively reduce the resource consumption and the bandwidth cost of the network speed test becomes a technical problem to be solved urgently.
Disclosure of Invention
In order to solve the defects in the prior art, the invention provides a network speed testing system, a network speed testing method and a computer storage medium, wherein the speed testing between node equipment and a server is changed into the speed testing between the node equipment, so that the consumption of the bandwidth and the system resources of the server is avoided, and the accuracy of the network speed testing is effectively improved.
In order to achieve the above object, the present invention provides a network speed testing system, which comprises at least one server, and a plurality of node devices communicatively connected to the server.
The server provided by the invention comprises a memory and a processor, wherein a first network speed test program which can run on the processor is stored in the memory, and when being executed by the processor, the first network speed test program realizes the following network speed test method:
generating a speed measurement task corresponding to each node device in real time or at regular time, or after receiving a network speed test task generation instruction sent by a user, according to a predetermined speed measurement task generation rule, wherein the speed measurement task comprises information of other node devices matched with the node device executing the speed measurement task;
sending the speed measurement task to each node device executing the speed measurement task to be executed, so that each node device executing the speed measurement task establishes communication connection with other matched node devices and executes speed measurement to obtain speed measurement data;
and receiving speed measurement data fed back by each node device executing the speed measurement task, and calculating a speed measurement result corresponding to each node device executing the speed measurement task according to the speed measurement data.
Preferably, the predetermined speed measurement task generation rule includes: and selecting at least one node device with the minimum distance from the node device executing the speed measurement task as the node device matched with the node device executing the speed measurement task from the node devices capable of establishing normal connection with the server. The calculating the speed measurement result corresponding to each node device executing the speed measurement task according to the speed measurement data comprises:
acquiring speed measurement data between the node equipment executing the speed measurement task and the matched node equipment;
when one matched node device is used, calculating a speed measurement result of the node device executing the speed measurement task according to the speed measurement data of the node device executing the speed measurement task and the matched node device;
and when the number of the matched node devices is two or more, calculating the speed measurement result of the node device executing the speed measurement task according to the maximum value or the average value of the speed measurement data of the node device executing the speed measurement task and the matched node devices.
Preferably, the predetermined speed measurement task generation rule includes:
and selecting at least one node device with the minimum distance to the node device executing the speed measurement task as the node device matched with the node device executing the speed measurement task from the node devices which use the designated operator network and can establish normal connection with the server.
The node equipment provided by the invention comprises a memory and a processor, wherein a second network speed test program which can run on the processor is stored in the memory, and when being executed by the processor, the second network speed test program realizes the following network speed test method:
acquiring a corresponding speed measurement task from the server in real time or at regular time, or after receiving a network speed test instruction sent by a user side, wherein the speed measurement task comprises information of other node equipment matched with the current node equipment;
establishing communication connection with other node equipment included in the speed measurement task, executing speed measurement, and acquiring speed measurement data in real time or at regular time;
and sending the acquired speed measurement data to the server so that the server obtains a speed measurement result according to the speed measurement data.
In addition, the invention also provides a computer storage medium for respectively storing the first network speed test program and the second network speed test program of the server and the node equipment.
Compared with the prior art, the network speed testing system, the network speed testing method and the computer storage medium provided by the invention change the scheme of connecting the node equipment and the server to execute speed measurement in the prior art into the scheme of connecting the node equipment and other node equipment to execute speed measurement, so that data interaction with the server is not needed when a speed measurement task is executed, the consumption of bandwidth and system resources of the server is avoided, and the speed measurement accuracy is effectively improved.
Drawings
Fig. 1 is a schematic system architecture diagram of a network speed testing system according to an embodiment of the present invention.
Fig. 2 is a schematic diagram of a hardware structure of a server according to an embodiment of the present invention.
Fig. 3 is a schematic diagram of a hardware structure of an embodiment of a node device according to the present invention.
Fig. 4 is a flowchart illustrating a network speed testing method according to a first embodiment of the present invention.
Fig. 5 is a flowchart illustrating a network speed testing method according to a second embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the description relating to "first", "second", etc. in the present invention is for descriptive purposes only and is not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
Fig. 1 is a schematic diagram of a system architecture of an embodiment of a network speed testing system according to the present invention.
In the present embodiment, the network speed testing system includes at least one server 1, and a plurality of node devices 2 (only 3 node devices 2 are shown in fig. 1) communicatively connected to the server 1 through a network 3.
The server 1 is a device capable of automatically performing numerical calculation and/or information processing in accordance with a command set or stored in advance. The server 1 may be a computer, or may be a single network server, a server group composed of a plurality of network servers, or a cloud composed of a large number of hosts or network servers based on cloud computing, where the cloud computing is one of distributed computing and is a super virtual computer composed of a group of loosely coupled computers.
The node device 2 may be a smart phone, a tablet computer, a personal computer, a portable computer, and other electronic devices with a wireless communication terminal having an arithmetic function.
The network 3 may be a local area network, a wide area network, a metropolitan area network, or the like, and may be a wired network or a wireless network.
The server 1 generates a speed measurement task corresponding to each node device 2 in real time or at regular time, or after receiving a network speed test task generation instruction sent by a user, according to a predetermined speed measurement task generation rule (for example, a mapping relationship between a device identifier of each node device 2 and the speed measurement task may be established), where the speed measurement task includes information of the matched node device 2. For example, the information of the matched node device 2 may be a device identification.
The node device 2 obtains the corresponding speed measurement task from the server 1 in real time or at regular time, or after receiving a network speed test instruction sent by a user. For example, one node device 2 executing the test task may send a speed measurement task obtaining request with its own device identifier to the server 1, so that the server 1 responds to the speed measurement task obtaining request and feeds back the speed measurement task corresponding to the device identifier to the node device 2 executing the test task. After the speed measurement task is obtained, the node device 2 executing the test task establishes a communication connection with the matching node device 2 in the speed measurement task and executes speed measurement, obtains speed measurement data (for example, 1.25MB/s) in real time or at regular time, and sends the obtained speed measurement data to the server 1. In this embodiment, the speed measurement between two matched node devices 2 is performed by uploading data to the matched node devices 2 through one node device 2 and measuring the uploading speed of the data as the speed measurement data, or by downloading the data from the matched node devices 2 and measuring the downloading speed of the data as the speed measurement data.
And then, the server 1 calculates a speed measurement result corresponding to the node device 2 executing the test task according to the speed measurement data sent by the node device 2 executing the test task. For example, the server 1 may upload or download average data in the speed measurement process as the speed measurement result.
In other embodiments of the present invention, the speed measurement task may further include a speed measurement start time, and after the node device 2 executing the test task obtains the speed measurement task, the following operations are further executed: after the speed measurement task is obtained, when the speed measurement starting time of the speed measurement task is reached, communication connection is established with the node equipment 2 matched in the speed measurement task, and a predetermined speed measurement data file is sent to the node equipment 2 matched in the speed measurement task so as to execute speed measurement.
In this embodiment, the predetermined speed measurement task generation rule includes: in the node devices 2 that can establish normal connection with the server 1, at least one node device 2 that has the smallest distance to the node device 2 that performs the speed measurement task is selected as the node device that matches 2 with the node device that performs the speed measurement task. For example, the server 1 may send a connection test request to each predetermined node device 2, and if a response feedback of one node device 2 is received, it is determined that the node device 2 and the server 1 may establish a normal communication connection, or if a response feedback of one node device 2 is not received within a preset time, it is determined that the node device 2 and the server 1 may not establish a normal communication connection.
The server 1 calculates, according to the speed measurement data, a speed measurement result corresponding to the node device 2 executing the speed measurement task, including:
acquiring speed measurement data between the node equipment 2 executing the speed measurement task and the matched node equipment 2;
when one matched node device 2 is used, calculating a speed measurement result of the node device executing the speed measurement task according to the speed measurement data of the node device 2 executing the speed measurement task and the speed measurement data of the matched node device 2;
when the number of the matched node devices 2 is two or more, a speed measurement result is obtained by calculation according to the speed measurement data of the node device 2 executing the speed measurement task and each matched node device 2, and the maximum value or the average value of the speed measurement results is taken as the speed measurement result of the node device 2 executing the speed measurement task.
In another embodiment of the present invention, the predetermined speed measurement task generation rule includes:
in the node devices 2 which use the designated operator network and can establish normal connection with the server 1, at least one node device 2 with the minimum distance to the node device 2 executing the speed measurement task is selected as the node device 2 matched with the node device 2 executing the speed measurement task.
Because the interconnection between the networks of each large operator may have the problems of higher time delay and lower speed, when selecting the matched node device, the problem of the operator network may be considered, for example, selecting the node device that uses the same operator network as the node device that performs the speed measurement task, or, for example, when measuring the support of each node device on the china mobile network, selecting the matched node, selecting a node closest to the speed measurement node from all the node devices that use the mobile network, which is the same principle for the other two large operators; if the support of the node on the multiple operator networks is to be measured, at least one of the node device using the mobile network, the node device using the telecommunication network, and the node device using the universal network (which may also include the node device using other operator networks) may be respectively selected as the matching node.
In the above two embodiments, selecting at least one node device 2 with the minimum distance from the node device 2 executing the speed measurement task as the node device 2 matched with the node device 2 executing the speed measurement task includes:
s1, obtaining the device location corresponding to each determined node device 2 according to the predetermined mapping relationship between the node device 2 and the device location. For example, the device location of the a1 node device is a 1; the device location of the a2 node device is a 2; the device location of the a3 node device is a 3; the device location of the a4 node device is a 4.
S2, grouping the obtained device locations into two groups and calculating the distance between the two device locations in each group. For example, a1 and a2 correspond to one grouping X1; a1 and a3 correspond to a grouping X2; a1 and a4 correspond to a grouping X3; a2 and a3 correspond to a grouping X4; a2 and a4 correspond to a grouping X5; a3 and a4 correspond to one grouping X6.
S3, for each of the device locations, finding the group with the smallest distance corresponding to each of the groups including the device location, and using the node device 2 corresponding to another device location except the device location in the found group as the matching node device 2 matching the node device 2 corresponding to the device location. For example, for device location a1, the group including a1 includes X1, X2, and X3, and if the distance corresponding to X2 is the minimum in three groups of X1, X2, and X3, node device A3 corresponding to device location A3 is determined, that is, the matching node device matched with node device a1 corresponding to device location a 1.
And S4, for each node device 2 executing the speed measurement task, generating a corresponding speed measurement task for the node device 2 executing the speed measurement task according to the matched node device 2. For example, for node device a1, a velocity measurement task containing the device identification of node device A3 is generated for node device a1 according to its matching node device A3.
In other embodiments, the server 1 may further perform the following operations: and if the speed measurement result corresponding to the node device 2 is less than or equal to the uploading or downloading speed of the preset data, sending the early warning information in the preset format to the predetermined terminal device. For example, the warning information in the preset format may be "the node device with the device identifier is abnormal, and please find the cause and solve the problem as soon as possible". Or after receiving a speed measurement result query instruction for one or more node devices 2 sent by a user, responding to the instruction, generating and displaying a corresponding speed measurement result query result page, or generating and feeding back the corresponding speed measurement result query result page to the user terminal of the user.
Fig. 2 is a schematic diagram of a hardware structure of an embodiment of the server 1 according to the present invention;
the server 1 comprises a first memory 11, a first processor 12, a network interface 13 and a communication bus 14. The network interface 13 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), among others. The communication bus 14 is used for realizing connection communication among the first memory 11, the first processor 12, and the network interface 13. The first memory 11 has stored thereon a first network speed test program 10 executable on the first processor 12.
The first network speed test program 10, when executed by the first processor 12, implements the steps of:
in real time or at regular time, or after receiving a network speed test task generation instruction sent by a user, generating a speed test task corresponding to each node device 2 according to a predetermined speed test task generation rule, where the speed test task includes information of the matched node devices 2, and is used for each node device 2 to obtain and execute the corresponding speed test task, and feedback-send speed test data corresponding to the executed speed test task;
receiving the speed measurement data sent by each node device 2, and calculating the speed measurement result corresponding to each node device 2 according to the speed measurement data sent by each node device 2.
The memory 11 includes at least one type of readable storage medium. The at least one type of readable storage medium may be a non-volatile storage medium such as a flash memory, a hard disk, a multimedia card, a card-type memory, and the like. In some embodiments, the memory 11 may be an internal storage unit of the server 1, such as a hard disk of the server 1. In other embodiments, the memory 11 may also be an external storage unit of the server 1, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), or the like provided on the server 1.
In this embodiment, the first memory 11 may be used to store application software installed in the server 1 and various types of data, such as program codes of the first network speed test program 10 and related data generated during the operation process thereof.
The first processor 12 may be a Central Processing Unit (CPU), a microprocessor or other data Processing chip in some embodiments, and is used for running program codes stored in the first memory 11 or Processing data.
Fig. 1 shows only the server 1 with the components 11-14 and the first network speed test program 10, but it should be understood that fig. 1 does not show all of the components of the server 1 and that more or fewer components may be implemented instead.
Fig. 3 is a schematic diagram of a hardware structure of an embodiment of the node device 2 according to the present invention.
The node apparatus 2 includes a second memory 21, a second processor 22, a network interface 23, and a communication bus 24. The network interface 23 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), among others. The communication bus 24 is used for realizing connection communication among the second memory 21, the second processor 22 and the network interface 23. The second memory 21 has stored thereon a second network speed test program 20 executable on the second processor 22.
The second network speed test program 20, when executed by the second processor 22, performs the steps of:
and acquiring a corresponding speed measurement task from the server 1 in real time or at regular time or after receiving a network speed test instruction sent by a user. For example, one node device 2 may send a speed measurement task obtaining request with its own device identifier to the server 1, so that the server 1 responds to the speed measurement task obtaining request and feeds back a speed measurement task corresponding to the device identifier to the node device 2. After the speed measurement task is obtained, establishing communication connection with the matching node device 2 in the speed measurement task, executing speed measurement, obtaining speed measurement data (for example, 1.25MB/s) in real time or at regular time, and sending the obtained speed measurement data to the server 1.
Memory 21 includes at least one type of readable storage medium. The at least one type of readable storage medium may be a non-volatile storage medium such as a flash memory, a hard disk, a multimedia card, a card-type memory, and the like. In an embodiment of the present invention, the memory 21 may be an internal storage unit of the node apparatus 2, for example, a hard disk of the node apparatus 2. In another embodiment of the present invention, the memory 22 may also be an external storage unit of the node device 2, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the node device 2.
In this embodiment, the second memory 21 may be used to store application software installed in the node device 2 and various types of data, such as program codes of the second network speed test program 20 and related data generated during the operation process thereof.
The second processor 22 may be a Central Processing Unit (CPU), microprocessor or other data Processing chip in some embodiments, and is used for executing program codes stored in the second memory 21 or Processing data.
Fig. 3 shows only the node device 2 with the components 21-24 and the second network speed test program 20, but it should be understood that fig. 2 does not show all of the components of the node device 2 and that more or fewer components may be implemented instead.
Fig. 4 is a schematic flow chart of a network speed testing method according to a first embodiment of the present invention. The method is applied to the server 1 and comprises the following steps:
step S10, real-time or timely, or after receiving a network speed test task generation instruction sent by the user, generates a speed measurement task corresponding to each node device 2 according to a predetermined speed measurement task generation rule.
Step S20, sending the speed measurement task to each node device 2 executing the speed measurement task, so that each node device 2 executing the speed measurement task establishes a communication connection with other node devices 2 matched therewith and executes speed measurement, thereby obtaining speed measurement data.
Step S30, receiving the speed measurement data fed back by each node device 2 executing the speed measurement task, and calculating a speed measurement result corresponding to each node device 2 executing the speed measurement task according to the speed measurement data.
Fig. 5 is a schematic flow chart of a network speed testing method according to a second embodiment of the present invention. The method is applied to any node equipment 2 for executing the speed measurement task, and comprises the following steps:
step S40, acquiring a corresponding speed measurement task from the server in real time or at regular time, or after receiving a network speed test instruction sent by the user side, where the speed measurement task includes information of other node devices 2 matched with the current node device 2.
Step S50, establishing a communication connection with the other node devices 2 included in the speed measurement task, executing speed measurement, and acquiring speed measurement data in real time or at regular time.
Step S60, sending the acquired speed measurement data to the server 1, so that the server 1 obtains a speed measurement result according to the speed measurement data.
For details of each step in fig. 4 and fig. 5, reference is made to the description of the relevant part in fig. 1 to fig. 3, and details are not repeated.
The present invention also provides a first computer readable storage medium having the first network speed test program 10 stored thereon, the first network speed test program 10 being executable by one or more processors to implement the steps of:
in real time or at regular time, or after receiving a network speed test task generation instruction sent by a user, generating a speed test task corresponding to each node device 2 according to a predetermined speed test task generation rule, where the speed test task includes a matching node device 2, and is used for each node device 2 to obtain and execute the corresponding speed test task, and feedback-send speed test data corresponding to the executed speed test task;
receiving the speed measurement data sent by each node device 2, and calculating the speed measurement result corresponding to each node device 2 according to the speed measurement data sent by each node device 2.
The present invention also provides a second computer readable storage medium having the second network speed test program 20 stored thereon, the second network speed test program 20 being executable by one or more processors to implement the steps of:
the method comprises the steps of acquiring a corresponding speed measurement task from a server 1 in real time or at regular time, or after receiving a network speed test instruction sent by a user, establishing communication connection with a matching node device 2 in the speed measurement task and executing speed measurement after acquiring the speed measurement task, acquiring speed measurement data in real time or at regular time, and sending the acquired speed measurement data to the server 1.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, an electronic device, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (9)

1. A network speed testing method is applied to a server which is in communication connection with a plurality of node devices, and is characterized by comprising the following steps:
in real time or at regular time, or after receiving a network speed test task generation instruction sent by a user, generating a speed test task corresponding to each node device according to a predetermined speed test task generation rule, where the speed test task includes information of other node devices matched with the node device executing the speed test task, and the predetermined speed test task generation rule includes: selecting at least one node device with the minimum distance from the node device executing the speed measurement task as a node device matched with the node device executing the speed measurement task from the node devices capable of establishing normal connection with the server;
sending the speed measurement task to each node device executing the speed measurement task to be executed, so that each node device executing the speed measurement task establishes communication connection with other matched node devices and executes speed measurement to obtain speed measurement data;
receiving speed measurement data fed back by each node device executing the speed measurement task, and calculating a speed measurement result corresponding to each node device executing the speed measurement task according to the speed measurement data, wherein the speed measurement result comprises the following steps: and respectively calculating to obtain a speed measurement result according to the speed measurement data of the node equipment executing the speed measurement task and each matched node equipment, and taking the maximum value or the average value of the speed measurement results as the speed measurement result of the node equipment executing the speed measurement task.
2. The network speed testing method according to claim 1, wherein the predetermined speed measurement task generation rule comprises:
and selecting at least one node device with the minimum distance to the node device executing the speed measurement task as the node device matched with the node device executing the speed measurement task from the node devices which use the designated operator network and can establish normal connection with the server.
3. The network speed testing method according to claim 1 or 2, wherein the selecting at least one node device having a minimum distance from the node device performing the speed measurement task as the node device matched with the node device performing the speed measurement task comprises:
obtaining equipment sites corresponding to the determined node equipment according to a mapping relation between the predetermined node equipment and the equipment sites;
grouping the obtained equipment places in pairs, and calculating the distance between the two equipment places in each group;
for each equipment location, finding out a group with the minimum distance corresponding to each group containing the equipment location, and taking the node equipment corresponding to another equipment location except the equipment location in the found group as matched node equipment matched with the node equipment which is corresponding to the equipment location and executes a speed measurement task;
and aiming at each node device executing the speed measurement task, generating a corresponding speed measurement task for the node device executing the speed measurement task according to the matched node device of the node device executing the speed measurement task.
4. A server comprising a memory and a processor, the memory having stored thereon a first network speed test program executable on the processor, the first network speed test program when executed by the processor implementing the network speed testing method of claims 1-3.
5. A network speed testing method is applied to node equipment, and the node equipment is in communication connection with a server, and is characterized in that the method comprises the following steps:
the method comprises the steps of acquiring a corresponding speed measurement task from a server in real time or at regular time, or after receiving a network speed test instruction sent by a user side, wherein the speed measurement task comprises information of other node equipment matched with current node equipment, the speed measurement task is generated by the server according to a predetermined speed measurement task generation rule, and the predetermined speed measurement task generation rule comprises the following steps: selecting at least one node device with the minimum distance to the current node device from node devices which can establish normal connection with a server as a node device matched with the current node device;
establishing communication connection with other node equipment included in the speed measurement task, executing speed measurement, and acquiring speed measurement data in real time or at regular time;
sending the acquired speed measurement data to the server so that the server obtains a speed measurement result according to the speed measurement data, and the method comprises the following steps: and respectively calculating to obtain a speed measurement result according to the speed measurement data of the current node equipment and each other matched node equipment, and taking the maximum value or the average value of the speed measurement results as the speed measurement result of the current node equipment.
6. A node apparatus comprising a memory and a processor, the memory having stored thereon a second network speed test program executable on the processor, the second network speed test program when executed by the processor implementing the network speed testing method of claim 5.
7. A network system, characterized in that the network system comprises a server according to claim 4, and at least two node devices according to claim 6.
8. A computer readable storage medium having stored thereon a first network speed test program executable by one or more processors to implement the network speed test method of any one of claims 1-3.
9. A computer readable storage medium having a second network speed test program stored thereon, the second network speed test program executable by one or more processors to implement the network speed test method of claim 5.
CN201811131629.4A 2018-09-27 2018-09-27 Network speed testing system, method, device and computer readable storage medium Active CN109218133B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811131629.4A CN109218133B (en) 2018-09-27 2018-09-27 Network speed testing system, method, device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811131629.4A CN109218133B (en) 2018-09-27 2018-09-27 Network speed testing system, method, device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109218133A CN109218133A (en) 2019-01-15
CN109218133B true CN109218133B (en) 2022-04-01

Family

ID=64981700

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811131629.4A Active CN109218133B (en) 2018-09-27 2018-09-27 Network speed testing system, method, device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109218133B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110247815B (en) * 2019-05-09 2021-09-03 深圳市迅雷网络技术有限公司 Data transmission method, device and system and computer readable storage medium
CN110912771B (en) * 2019-11-21 2021-07-23 网易(杭州)网络有限公司 Test method and device for acceleration node, electronic equipment and computer readable medium
CN111263388B (en) * 2020-02-13 2021-03-30 上海复深蓝软件股份有限公司 Mobile network environment testing method and device, computer equipment and storage medium
CN111817913B (en) * 2020-06-30 2022-05-17 北京红山信息科技研究院有限公司 Distributed network performance test method, system, server and storage medium
CN111934947B (en) * 2020-07-17 2023-03-24 中国联合网络通信集团有限公司 Speed measurement method, speed measurement scheduling server, terminal 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
CN112564999A (en) * 2020-11-02 2021-03-26 鹏城实验室 Network measurement method, measurement management server, system and storage medium
CN112910730B (en) * 2021-01-28 2022-08-26 小帆科技(广东)有限公司 Communication network real-time early warning monitoring system and monitoring method thereof
CN113225224B (en) * 2021-04-26 2022-08-26 深圳市奇虎智能科技有限公司 Network speed measuring method, system, storage medium and computer equipment
CN114245415B (en) * 2021-12-21 2022-07-29 深圳市欣博跃电子有限公司 Network testing method, device, electronic equipment and medium
CN114375001B (en) * 2021-12-24 2023-10-20 山东信通电子股份有限公司 Network speed measuring method and device
CN115333972A (en) * 2022-09-15 2022-11-11 广州易测网技术有限公司 Network speed measuring method, system, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1255393A2 (en) * 2001-04-24 2002-11-06 Siemens Aktiengesellschaft Method for providing data in a distributed communications system
CN102148716A (en) * 2010-02-05 2011-08-10 中国联合网络通信集团有限公司 Point-to-point system network performance testing method and system thereof
CN102307218A (en) * 2011-03-15 2012-01-04 陈建国 Stream media data request transmission method for multimedia telephone peer-to-peer (P2P) video-on-demand
CN106302029A (en) * 2016-10-12 2017-01-04 微鲸科技有限公司 Network speed-measuring method based on wireless router
CN106656649A (en) * 2016-09-14 2017-05-10 腾讯科技(深圳)有限公司 Channel switching method based on speed measurement in real time conversations, user terminal and server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1255393A2 (en) * 2001-04-24 2002-11-06 Siemens Aktiengesellschaft Method for providing data in a distributed communications system
CN102148716A (en) * 2010-02-05 2011-08-10 中国联合网络通信集团有限公司 Point-to-point system network performance testing method and system thereof
CN102307218A (en) * 2011-03-15 2012-01-04 陈建国 Stream media data request transmission method for multimedia telephone peer-to-peer (P2P) video-on-demand
CN106656649A (en) * 2016-09-14 2017-05-10 腾讯科技(深圳)有限公司 Channel switching method based on speed measurement in real time conversations, user terminal and server
CN106302029A (en) * 2016-10-12 2017-01-04 微鲸科技有限公司 Network speed-measuring method based on wireless router

Also Published As

Publication number Publication date
CN109218133A (en) 2019-01-15

Similar Documents

Publication Publication Date Title
CN109218133B (en) Network speed testing system, method, device and computer readable storage medium
CN110489391B (en) Data processing method and related equipment
CN108984388B (en) Method and terminal equipment for generating automatic test case
EP3489825A1 (en) Method, apparatus and computer readable storage medium for processing service
CN110677493B (en) Service state determination method and device, computer device and storage medium
US11210127B2 (en) Method and apparatus for processing request
CN112395187A (en) Test method, test system, computer device and storage medium
CN112118151A (en) Network speed measuring method, device, system, electronic equipment and storage medium
CN109828830B (en) Method and apparatus for managing containers
CN114553762A (en) Method and device for processing flow table items in flow table
CN114416508A (en) Application performance monitoring method and device, storage medium and electronic equipment
CN111159131A (en) Performance optimization method, device, equipment and computer readable storage medium
CN108111496B (en) Method, device and system for exposing http service for dubbo distributed application
CN109150927B (en) File issuing method and device for file storage system
CN107193749B (en) Test method, device and equipment
CN106302011B (en) Multi-terminal-based test method and terminal
CN111444074A (en) Data monitoring method and device, electronic equipment and readable storage medium
CN111831503B (en) Monitoring method based on monitoring agent and monitoring agent device
CN107045452B (en) Virtual machine scheduling method and device
CN109697166B (en) Test data preparation method and related device
CN111339047A (en) Data interaction method, device and system
CN110933070A (en) User identification method, system, equipment and computer readable storage medium
CN115686746A (en) Access method, task processing method, computing device, and computer storage medium
CN110362575B (en) Method and device for generating global index of data
CN113961162A (en) Screen projection control method, screen projection sending end, screen projection receiving end and screen projection 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