CN109218133A - Network speed testing system, method, apparatus and computer readable storage medium - Google Patents
Network speed testing system, method, apparatus and computer readable storage medium Download PDFInfo
- Publication number
- CN109218133A CN109218133A CN201811131629.4A CN201811131629A CN109218133A CN 109218133 A CN109218133 A CN 109218133A CN 201811131629 A CN201811131629 A CN 201811131629A CN 109218133 A CN109218133 A CN 109218133A
- Authority
- CN
- China
- Prior art keywords
- speed
- node device
- tests
- task
- network
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0876—Network utilisation, e.g. volume of load or congestion level
- H04L43/0894—Packet rate
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/50—Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate
Abstract
The present invention provides a kind of network speed testing systems, the network speed testing system includes an at least server and at least two node devices that connect with the server communication, wherein: the server is after the network speed test assignment for receiving user's sending generates instruction, according to the predetermined task create-rule that tests the speed, the corresponding task that tests the speed of each node device is generated;The node device after the corresponding task that tests the speed of server acquisition, establish to communicate to connect and execute and test the speed by matched node device, obtains measurement data, and the measurement data that will acquire is sent to the server;The server calculates the corresponding result that tests the speed of the node device according to measurement data.Using the present invention, testing the speed of carrying out between server can be changed to carry out between node device, improve the accuracy of network speed test, avoid the consumption to the bandwidth and system resource of server.
Description
Technical field
The present invention relates to computer network systems more particularly to a kind of network speed testing system, method and computer can
Read storage medium.
Background technique
Currently, the network system of P2P is directed to, for the response speed of effective guarantee system, effective screening and prevention system
Data interaction failure, need by node device each in network carry out network speed test.Existing network speed is surveyed
Examination scheme be typically all by by each test node equipment (for example, personal computer) and some test the speed server at one section
Interior communication connection simultaneously transmits data, then asks data mean value to obtain the corresponding test of each test node equipment the data of transmission
Speed is (for example, a node device is downloaded from the server that tests the speed or uploads test file to the server that tests the speed, if reached
1.25MB/s, then can think that the corresponding test speed of the node device has reached 10Mbps).Existing network speed
The process of testing scheme includes: that (for example, Nginx server, Nginx server is a to node device request back-end server
Website server, Reverse Proxy and the email proxy server of lightweight) distribute the clothes that test the speed to test the speed
Business device;Node device and the server that tests the speed of request distribution are attached and test the speed;Test the speed server or node device rear end clothes
Device upload test result be engaged in for for statistical analysis.
However, technological deficiency existing for existing network speed testing scheme is: when and meanwhile the number of node equipment that tests the speed
Measure it is huge, network bandwidth occupy it is excessive in the case where, server bandwidth consumption is very big, will lead to no resource test the speed or bandwidth at
This is excessively high;The network quality between the node device that server and needs test the speed that tests the speed distributed is different to be set, and the knot that tests the speed is caused
Fruit accuracy is lower.
Therefore, the accuracy of network speed test how is effectively improved, and the resource that network speed test is effectively reduced disappears
Consumption and bandwidth cost, have become a technical problem urgently to be resolved.
Summary of the invention
To solve the shortcomings of the prior art, the present invention provides a kind of network speed testing system, method and calculating
Testing the speed of carrying out between node device and server is changed to carry out between node device, be avoided to service by machine storage medium
The consumption of the bandwidth and system resource of device effectively improves the accuracy of network speed test.
To achieve the above object, the present invention provides a kind of network speed testing system, which includes at least one service
Device and multiple node devices being connect with the server communication.
The server provided by the invention includes memory and processor, and being stored on the memory can be at the place
The first network velocity test program run on reason device, it is real when the first network velocity test program is executed by the processor
Now following network speed test method:
In real time or periodically, alternatively, after the network speed test assignment for receiving user's sending generates instruction, according to true in advance
The fixed task create-rule that tests the speed, generates the corresponding task that tests the speed of each node device, and the task of testing the speed includes and holds
The information of the matched other node devices of node device of the capable task that tests the speed;
The task of testing the speed is sent to the test the speed node device of task of each execution to execute, each executes survey so that described
The matched other node devices of the node device of fast task are established to communicate to connect and execute and be tested the speed, and measurement data is obtained;
The measurement data for receiving each node device feedback for executing the task that tests the speed, calculates according to the measurement data
Each corresponding result that tests the speed of node device for executing the task that tests the speed.
Preferably, the predetermined task create-rule that tests the speed includes: that can establish normal connection with server
Node device in, select with execute test the speed task node device apart from least one the smallest node device as with it is described
Execute the matched node device of node device for the task that tests the speed.It is described to be tested the speed according to each execution of measurement data calculating
The corresponding result that tests the speed of the node device of task includes:
Obtain the measurement data between the node device and the matched node device for executing the task that tests the speed;
When the matched node device is one, according to the node device for executing the task that tests the speed and the matching
Node device measurement data calculate it is described execution test the speed task node device the result that tests the speed;
When the matched node device is two or more, according to the node device for executing the task that tests the speed
The node that the task that tests the speed is executed described in maximum value or mean value calculation with the measurement data of the matched node device is set
The standby result that tests the speed.
Preferably, the predetermined task create-rule that tests the speed includes:
Using specifying carrier network and can establish in the node device normally connecting with server, selects and execute
Node device of the node device for the task that tests the speed apart from least one the smallest node device as the task that tests the speed with the execution
Matched node device.
The node device provided by the invention includes memory and processor, and being stored on the memory can be described
The the second network speed test program run on processor, when the second network speed test program is executed by the processor
Realize following network speed test method:
In real time or periodically, alternatively, being obtained after receiving the network speed test instruction of user terminal transmission from the server
The corresponding task that tests the speed, the task of testing the speed include the information with the matched other node devices of the present node equipment;
Establish to communicate to connect and execute with the other node devices for including in the task that tests the speed and test the speed, in real time or
Timing acquisition measurement data;
The measurement data that will acquire is sent to the server, so that the server is surveyed according to the measurement data
Fast result.
In addition, the present invention also provides store respectively the server and node device first network velocity test program,
The computer storage medium of second network speed test program.
Compared to the prior art, network speed testing system proposed by the present invention, method and computer storage medium, will
Connection executes the scheme that tests the speed between node device and server in the prior art, be changed to node device and other node devices it
Between connection execute test the speed, in this way when task is tested the speed in execution need not with server carry out data interaction, so as to avoid to service
The consumption of the bandwidth and system resource of device, effectively increases the accuracy to test the speed.
Detailed description of the invention
Fig. 1 is the system architecture schematic diagram of one embodiment of network speed testing system proposed by the present invention.
Fig. 2 is the hardware structural diagram of one embodiment of server proposed by the present invention.
Fig. 3 is the hardware structural diagram of one embodiment of node device proposed by the present invention.
Fig. 4 is the flow diagram of inventive network testing method first embodiment.
Fig. 5 is the flow diagram of inventive network testing method second embodiment.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that described herein, specific examples are only used to explain the present invention, not
For limiting the present invention.Based on the embodiments of the present invention, those of ordinary skill in the art are not before making creative work
Every other embodiment obtained is put, shall fall within the protection scope of the present invention.
It should be noted that the description for being related to " first ", " second " etc. in the present invention is used for description purposes only, and cannot
It is interpreted as its relative importance of indication or suggestion or implicitly indicates the quantity of indicated technical characteristic.Define as a result, " the
One ", the feature of " second " can explicitly or implicitly include at least one of the features.In addition, the skill between each embodiment
Art scheme can be combined with each other, but must be based on can be realized by those of ordinary skill in the art, when technical solution
Will be understood that the combination of this technical solution is not present in conjunction with there is conflicting or cannot achieve when, also not the present invention claims
Protection scope within.
As shown in fig.1, being the system architecture schematic diagram of one embodiment of network speed testing system proposed by the present invention.
In the present embodiment, the network speed testing system includes at least one server 1 and the multiple and service
Device 1 passes through the node device 2 (3 node devices 2 are only shown in Fig. 1) that network 3 communicates to connect.
Server 1 is that one kind can be automatic to carry out numerical value calculating and/or information according to the instruction for being previously set or storing
The equipment of processing.The clothes that server 1 can be computer, be also possible to single network server, multiple network servers composition
Device group of being engaged in or the cloud being made of a large amount of hosts or network server based on cloud computing, wherein cloud computing is distributed computing
One kind, a super virtual computer consisting of a loosely coupled set of computers.
Node device 2 can for smart phone, tablet computer, PC, portable computer and it is other have operation
The wireless communication terminal electronic equipment of function.
Network 3 can be local area network, and wide area network, the network of Metropolitan Area Network (MAN) etc. type can be cable network, or
Wireless network.
Server 1 in real time or timing, alternatively, receive user sending network speed test assignment generate instruction after, root
According to the predetermined task create-rule that tests the speed, the corresponding task that tests the speed of each node device 2 is generated (for example, can establish each
The mapping relations of the device identification of a node device 2 and the task that tests the speed), the task of testing the speed includes matched node device 2
Information.For example, the information of matched node device 2 can be device identification.
Node device 2 in real time or timing, alternatively, receive user sending network speed test instruction after, from the clothes
Business device 1 obtains the corresponding task that tests the speed.It is had for example, the node device 2 of an execution test assignment can be sent to server 1
The task acquisition request that tests the speed of equipment of itself mark, responds this for server 1 and tests the speed and task acquisition request and execute survey to described
The node device 2 of trial business feeds back the corresponding task that tests the speed of the device identification.It is described to hold after getting the task that tests the speed
The node device 2 of row test assignment is established to communicate to connect and execute with matched node equipment 2 in the task that tests the speed and be tested the speed, in real time
Or timing acquisition measurement data (for example, 1.25MB/s), and the measurement data that will acquire is sent to the server 1.At this
In embodiment, test the speed between two matched node devices 2, be by a node device 2 on its matched node device 2
The uploading speed of biography data and measurement data is as measurement data, or from its matched 2 downloading data of node device and surveys
The speed of download of data is measured as measurement data.
Later, the measurement data that server 1 is sent according to the node device 2 for executing test assignment, calculates institute
State the corresponding result that tests the speed of node device 2 for executing test assignment.For example, server 1 can be by the average during testing the speed
According to upload or speed of download, as the result that tests the speed.
In other embodiments of the invention, the task of testing the speed can also include testing the speed the time started, described to execute survey
The node device 2 of trial business also executes following operation after getting the task that tests the speed: getting the task that tests the speed
Afterwards, it when reaching the time started of testing the speed of the task that tests the speed, is communicated with node device 2 matched in the task that tests the speed foundation
Connection, and into the task that tests the speed, matched node device 2 sends predetermined measurement data file, is tested the speed with executing.
In the present embodiment, the predetermined task create-rule that tests the speed includes: that can establish just with server 1
In the node device 2 often connected, selects and execute the node device 2 for the task that tests the speed apart from least one the smallest node device 2
As the node device for matching 2 with the node device for executing the task that tests the speed.For example, server 1 can to it is each in advance really
Fixed node device 2 sends a connecting test request, if receiving the response feedback an of node device 2, it is determined that the node
Equipment 2 can establish normal communication with the server 1 and connect, alternatively, if not receiving a node device 2 in preset time
Response feedback, it is determined that the node device 2 cannot establish normal communication with the server 1 and connect.
Server 1 calculates the corresponding result that tests the speed of node device 2 for executing the task that tests the speed according to the measurement data
Include:
Obtain the measurement data between the node device 2 and the matched node device 2 for executing the task that tests the speed;
When the matched node device 2 is one, according to the node device 2 for executing the task that tests the speed and described
The measurement data for the node device 2 matched calculates the result that tests the speed of the node device for executing the task that tests the speed;
When the matched node device 2 is two or more, respectively according to the section for executing the task that tests the speed
The measurement data of point device 2 and each matched node device 2 is calculated one and tests the speed as a result, taking the knot that tests the speed
Test the speed result of the maximum value or average value of fruit as the node device 2 for executing the task that tests the speed.
In another implementation of the invention, the predetermined task create-rule that tests the speed includes:
Using specifying carrier network and can establish in the node device 2 normally connecting with server 1, selects and hold
Node of the node device 2 of the capable task that tests the speed apart from least one the smallest node device 2 as the task that tests the speed with the execution
The matched node device 2 of equipment 2.
Because the interconnection problem that there may be time delays is higher, speed is lower, is being selected between the network of major operator
When selecting matched node device, it may be considered that the problem of carrier network, such as selection and the node device that executes the task that tests the speed
Using the node device of the same carrier network, alternatively, support of each node device to China Mobile network is for example measured,
The nearest node of node that select and test the speed in all node devices using mobile network when matched node is then selected,
It is also the same principle to other Liang great operators;If wanting support of the measuring node to multiple carrier networks, can also divide
Not in the node device using mobile network, the node device using telecommunication network, the node device using connection network (also
May include the node device for using other carrier networks) select at least one as matched node respectively.
In above-mentioned two embodiment, selects and execute the node device 2 for the task that tests the speed apart from least one the smallest node
Equipment 2 includes: as with the test the speed matched node device 2 of node device 2 of task of the execution
S1 obtains the node of each determination according to the mapping relations between predetermined node device 2 and equipment place
The corresponding equipment place of equipment 2.For example, the equipment place of A1 node device is a1;The equipment place of A2 node device is a2;A3
The equipment place of node device is a3;The equipment place of A4 node device is a4.
S2, each equipment place of acquisition is pairwise grouping and calculate two equipment places in each grouping it
Between distance.For example, the corresponding grouping X1 of a1 and a2;The corresponding grouping X2 of a1 and a3;The corresponding grouping X3 of a1 and a4;
The corresponding grouping X4 of a2 and a3;The corresponding grouping X5 of a2 and a4;The corresponding grouping X6 of a3 and a4.
S3 finds out in each grouping comprising the equipment place corresponding distance most for equipment place described in each
Small grouping, by the corresponding node device 2 in another equipment place in the grouping found out other than the equipment place,
As the matched matched node equipment 2 of node device 2 corresponding with the equipment place.It include a1 for example, being directed to equipment place a1
Grouping include X1, X2, X3, if in X1, X2, X3 tri- groupings, if the corresponding distance of X2 is minimum, it is determined that equipment place
The matched matched node equipment of a3 corresponding node device A3, the corresponding node device A1 of as equipment place a1.
S4 executes the node device 2 for the task that tests the speed for each, according to matched matched node equipment 2, for institute
It states and executes the node device 2 of task of testing the speed and generate the corresponding task that tests the speed.For example, it is directed to node device A1, it is matched according to its
Matched node equipment A3 generates the task that tests the speed of the device identification comprising node device A3 for node device A1.
In other embodiments, following operation can also be performed in the server 1: if having node device 2 is corresponding to test the speed
As a result it is less than or equal to preset data upload or speed of download, then sends the pre- of preset format to predetermined terminal device
Alert information.For example, the warning information of the preset format can be, " device identification is the result that tests the speed of the node device of * * * * *
There is exception, please ascertain the reason and solve as early as possible ".Alternatively, receive user's sending for one or more node devices 2
After the result queries that test the speed instruction, the instruction is responded, generate corresponding test the speed and result queries results page and shown, alternatively,
Generate the corresponding user terminal for testing the speed result queries results page and feeding back to the user.
As shown in fig.2, being the hardware structural diagram of 1 one embodiment of server proposed by the present invention;
Server 1 includes first memory 11, first processor 12, network interface 13 and communication bus 14.Wherein, net
Network interface 13 optionally may include standard wireline interface and wireless interface (such as WI-FI interface).Communication bus 14 for realizing
First memory 11, first processor 12, the connection communication between network interface 13.It is stored on the first memory 11
The first network velocity test program 10 that can be run on the first processor 12.
The first network velocity test program 10 realizes following steps when being executed by the first processor 12:
In real time or periodically, alternatively, after the network speed test assignment for receiving user's sending generates instruction, according to true in advance
The fixed task create-rule that tests the speed, generates the corresponding task that tests the speed of each node device 2, and the task of testing the speed includes matched section
2 information of point device obtains for each node device 2 and executes the corresponding task that tests the speed, and feeds back and send testing the speed for execution
The corresponding measurement data of task;
The measurement data that each node device 2 is sent is received, the survey sent according to each node device 2
Fast data calculate the corresponding result that tests the speed of each node device 2.
Memory 11 includes at least a type of readable storage medium storing program for executing.The readable storage medium storing program for executing of at least one type
It can be the non-volatile memory medium of such as flash memory, hard disk, multimedia card, card-type memory.In some embodiments, described to deposit
Reservoir 11 can be the internal storage unit of the server 1, such as the hard disk of the server 1.In further embodiments, institute
State the external memory unit that memory 11 is also possible to the server 1, such as the plug-in type being equipped on the server 1 is hard
Disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card
(Flash Card) etc..
In the present embodiment, the first memory 11 can be used for storing the application software for being installed on the server 1
And the related data generated in Various types of data, such as the program code and its operational process of first network velocity test program 10.
First processor 12 can be in some embodiments a central processing unit (Central Processing Unit,
CPU), microprocessor or other data processing chips, for running the program code stored in first memory 11 or processing number
According to.
Fig. 1 illustrates only the server 1 with component 11-14 and first network velocity test program 10, but should manage
Solution, Fig. 1 do not show that all components of server 1, can substitute and implement more or less component.
As shown in fig.3, being the hardware structural diagram of 2 one embodiment of node device proposed by the present invention.
Node device 2 includes second memory 21, second processor 22, network interface 23 and communication bus 24.Wherein, net
Network interface 23 optionally may include standard wireline interface and wireless interface (such as WI-FI interface).Communication bus 24 for realizing
Connection communication between second memory 21, second processor 22 and network interface 23.It is stored on the second memory 21
The the second network speed test program 20 that can be run in the second processor 22.
The second network speed test program 20 realizes following steps when being executed by the second processor 22:
In real time or periodically, alternatively, being obtained after receiving the network speed test instruction of user's sending from the server 1
The corresponding task that tests the speed.For example, a node device 2 can send to the server 1 and test the speed with what equipment of itself identified
Task acquisition request, for the server 1 response, this, which tests the speed, task acquisition request and feeds back the equipment mark to the node device 2
Know the corresponding task that tests the speed.After getting the task that tests the speed, communicated with the foundation of matched node equipment 2 in the task that tests the speed
It connects and executes and test the speed, real-time or timing acquisition measurement data (for example, 1.25MB/s), and the measurement data that will acquire is sent
To the server 1.
Memory 21 includes at least a type of readable storage medium storing program for executing.The readable storage medium storing program for executing of at least one type
It can be the non-volatile memory medium of such as flash memory, hard disk, multimedia card, card-type memory.In one embodiment of the present of invention
In, the memory 21 can be the internal storage unit of the node device 2, such as the hard disk of the node device 2.In this hair
In another bright embodiment, the memory 22 is also possible to the external memory unit of the node device 2, such as the section
The plug-in type hard disk being equipped on point device 2, intelligent memory card (Smart Media Card, SMC), secure digital (Secure
Digital, SD) card, flash card (Flash Card) etc..
In the present embodiment, the second memory 21 can be used for store be installed on the node device 2 using soft
The dependency number generated in part and Various types of data, such as the program code and its operational process of the second network speed test program 20
According to.
Second processor 22 can be in some embodiments a central processing unit (Central Processing Unit,
CPU), microprocessor or other data processing chips, for running the program code stored in second memory 21 or processing number
According to.
Fig. 3 illustrates only the node device 2 with component 21-24 and the second network speed test program 20, but answers
Understand, Fig. 2 does not show that all components of node device 2, can substitute and implement more or less component.
As shown in fig.4, being the flow diagram of network speed test method first embodiment proposed by the present invention.It is described
Method is applied to server 1, comprising the following steps:
Step S10, in real time or periodically, alternatively, after the network speed test assignment for receiving user's sending generates instruction, root
According to the predetermined task create-rule that tests the speed, the corresponding task that tests the speed of each node device 2 is generated.
The task of testing the speed is sent to each node device 2 for executing the task that tests the speed and executed, so that described by step S20
The matched other node devices 2 of each node device 2 for executing the task that tests the speed, which are established to communicate to connect and execute, to test the speed, and obtains
Measurement data.
Step S30 receives the measurement data that each node device 2 for executing the task that tests the speed is fed back, according to the survey
Fast data calculate each corresponding result that tests the speed of node device 2 for executing the task that tests the speed.
As shown in fig.5, being the flow diagram of network speed test method second embodiment proposed by the present invention.It is described
Method is applied to any one node device 2 for executing the task that tests the speed, comprising the following steps:
Step S40, in real time or periodically, alternatively, after receiving the network speed test instruction of user terminal transmission, from server
The corresponding task that tests the speed is obtained, the task of testing the speed includes the information with the matched other node devices 2 of present node equipment 2.
The other node devices 2 for including in step S50, with the task that tests the speed, which are established, to be communicated to connect and executes survey
Speed, real-time or timing acquisition measurement data.
Step S60, the measurement data that will acquire is sent to the server 1, so that the server 1 tests the speed according to described
Data obtain the result that tests the speed.
The detail of each step please join the introduction of associated section in earlier figures 1- Fig. 3 in Fig. 4, Fig. 5, repeat no more.
The present invention also provides a kind of first computer readable storage medium, deposited on first computer readable storage medium
The first network velocity test program 10 is contained, the first network velocity test program 10 can be handled by one or more
Device executes, to realize following step:
In real time or periodically, alternatively, after the network speed test assignment for receiving user's sending generates instruction, according to true in advance
The fixed task create-rule that tests the speed generates the corresponding task that tests the speed of each node device 2, and the task of testing the speed includes matched node
Equipment 2 obtains for each node device 2 and executes the corresponding task that tests the speed, and feeds back the task pair that tests the speed for sending and executing
The measurement data answered;
The measurement data that each node device 2 is sent is received, the survey sent according to each node device 2
Fast data calculate the corresponding result that tests the speed of each node device 2.
The present invention also provides a kind of second computer readable storage medium storing program for executing, on the second computer readable storage medium storing program for executing
It is stored with the second network speed test program 20, the second network speed test program 20 can be by one or more
Device is managed to execute, to realize following step:
In real time or periodically, alternatively, being obtained after receiving the network speed test instruction of user's sending from the server 1
The corresponding task that tests the speed establishes communication link with matched node equipment 2 in the task that tests the speed after getting the task that tests the speed
It connects and executes and test the speed, real-time or timing acquisition measurement data, and the measurement data that will acquire is sent to the server 1.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in storage medium (such as
ROM/RAM, magnetic disk, CD) in, including some instructions use so that terminal device (can be mobile phone, computer, electronic device,
Server or the network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of network speed test method is applied to server, the server and multiple node devices are communicated to connect, special
Sign is, which comprises
In real time or periodically, alternatively, after the network speed test assignment for receiving user's sending generates instruction, according to predetermined
The task that tests the speed create-rule, generates the corresponding task that tests the speed of each node device, and the task of testing the speed includes and executes survey
The information of the matched other node devices of the node device of fast task;
The task of testing the speed is sent to each node device for executing the task that tests the speed to execute, so that each execution is tested the speed and appointed
The matched other node devices of the node device of business are established to communicate to connect and execute and be tested the speed, and measurement data is obtained;
The measurement data for receiving each node device feedback for executing the task that tests the speed, calculates each according to the measurement data
The corresponding result that tests the speed of node device for executing the task that tests the speed.
2. network speed test method as described in claim 1, it is characterised in that:
The predetermined task create-rule that tests the speed includes: that can establish the node device normally connecting with server
In, it selects to appoint apart from least one the smallest node device as testing the speed with the execution with the node device for executing the task that tests the speed
The matched node device of the node device of business;
It is described the test the speed corresponding result that tests the speed of node device of task of each execution is calculated according to the measurement data to include:
Obtain the measurement data between the node device and the matched node device for executing the task that tests the speed;
When the matched node device is one, according to the node device and the matched section for executing the task that tests the speed
The measurement data of point device calculates the result that tests the speed of the node device for executing the task that tests the speed;
When the matched node device is two or more, respectively according to the node device for executing the task that tests the speed
One is calculated with the measurement data of each matched node device to test the speed as a result, taking the maximum of the result that tests the speed
The result that tests the speed of value or average value as the node device for executing the task that tests the speed.
3. network speed test method according to claim 1, which is characterized in that the predetermined task that tests the speed is raw
Include: at rule
Using specifying carrier network and can establish in the node device normally connecting with server, selection is tested the speed with execution
The node device of task is matched apart from least one the smallest node device as with the node device for executing the task that tests the speed
Node device.
4. network speed test method as claimed in claim 2 or claim 3, which is characterized in that described to select the task that tests the speed with execution
Node device test the speed the matched section of node device of task apart from least one the smallest node device as with the execution
Point device includes:
According to the mapping relations between predetermined node device and equipment place, the node device for obtaining each determination is corresponding
Equipment place;
Each equipment place of acquisition is pairwise grouping, and calculate between two equipment places in each grouping away from
From;
For equipment place described in each, find out corresponding apart from the smallest point in each grouping comprising the equipment place
Group, by another corresponding node device in equipment place in the grouping found out other than the equipment place, as with
The corresponding matched matched node equipment of node device for executing the task that tests the speed in the equipment place;
The node device that the task that tests the speed is executed for each, according to the matched node of the node device for executing the task that tests the speed
Equipment generates the corresponding task that tests the speed for the node device for executing the task that tests the speed.
5. a kind of server, the server includes memory and processor, and being stored on the memory can be in the processing
The first network velocity test program run on device, the first network velocity test program are realized when being executed by the processor
Network speed test method as described in claim 1-4.
6. a kind of network speed test method is applied to node device, the node device is connect with server communication, feature
It is, which comprises
In real time or periodically, alternatively, obtaining correspondence from the server after receiving the network speed test instruction of user terminal transmission
The task that tests the speed, the task of testing the speed includes the information with the matched other node devices of the present node equipment;
It establishes to communicate to connect and execute with the other node devices for including in the task that tests the speed and test the speed, in real time or periodically
Obtain measurement data;
The measurement data that will acquire is sent to the server, so that the server obtains the knot that tests the speed according to the measurement data
Fruit.
7. a kind of node device, the node device includes memory and processor, and being stored on the memory can be described
The the second network speed test program run on processor, when the second network speed test program is executed by the processor
Realize network speed test method as claimed in claim 6.
8. a kind of network system, which is characterized in that the network system includes server as claimed in claim 5, Yi Jizhi
Few two node devices as claimed in claim 7.
9. a kind of computer readable storage medium, first network velocity test journey is stored on the computer readable storage medium
Sequence, the first network velocity test program can be executed by one or more processor, to realize as claim 1-4 is any
Network speed test method described in.
10. a kind of computer readable storage medium, the test of the second network speed is stored on the computer readable storage medium
Program, the second network speed test program can be executed by one or more processor, as claimed in claim 6 to realize
Network speed test method.
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 true CN109218133A (en) | 2019-01-15 |
CN109218133B 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) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110247815A (en) * | 2019-05-09 | 2019-09-17 | 深圳市迅雷网络技术有限公司 | A kind of data transmission method, device, system and computer readable storage medium |
CN110912771A (en) * | 2019-11-21 | 2020-03-24 | 网易(杭州)网络有限公司 | Test method and device for acceleration node, electronic equipment and computer readable medium |
CN111263388A (en) * | 2020-02-13 | 2020-06-09 | 上海复深蓝软件股份有限公司 | Mobile network environment testing method and device, computer equipment and storage medium |
CN111817913A (en) * | 2020-06-30 | 2020-10-23 | 北京红山信息科技研究院有限公司 | Distributed network performance test method, system, server and storage medium |
CN111934947A (en) * | 2020-07-17 | 2020-11-13 | 中国联合网络通信集团有限公司 | Speed measurement method, speed measurement scheduling server, terminal equipment and readable storage medium |
CN112242937A (en) * | 2020-10-13 | 2021-01-19 | 腾讯科技(深圳)有限公司 | Network speed measuring method and device and computer readable medium |
CN112910730A (en) * | 2021-01-28 | 2021-06-04 | 千居智人工智能科技昆山有限公司 | Communication network real-time early warning monitoring system and monitoring method thereof |
CN113225224A (en) * | 2021-04-26 | 2021-08-06 | 深圳市奇虎智能科技有限公司 | Network speed measuring method, system, storage medium and computer equipment |
CN114245415A (en) * | 2021-12-21 | 2022-03-25 | 深圳市欣博跃电子有限公司 | Network testing method, device, electronic equipment and medium |
CN114375001A (en) * | 2021-12-24 | 2022-04-19 | 山东信通电子股份有限公司 | Network speed measurement method and equipment |
WO2022088742A1 (en) * | 2020-11-02 | 2022-05-05 | 鹏城实验室 | Network measurement method, measurement management server, system and storage medium |
CN115333972A (en) * | 2022-09-15 | 2022-11-11 | 广州易测网技术有限公司 | Network speed measuring method, system, electronic equipment and storage medium |
Citations (5)
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 |
-
2018
- 2018-09-27 CN CN201811131629.4A patent/CN109218133B/en active Active
Patent Citations (5)
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 |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110247815A (en) * | 2019-05-09 | 2019-09-17 | 深圳市迅雷网络技术有限公司 | A kind of data transmission method, device, system and computer readable storage medium |
CN110912771A (en) * | 2019-11-21 | 2020-03-24 | 网易(杭州)网络有限公司 | Test method and device for acceleration node, electronic equipment and computer readable medium |
CN110912771B (en) * | 2019-11-21 | 2021-07-23 | 网易(杭州)网络有限公司 | Test method and device for acceleration node, electronic equipment and computer readable medium |
CN111263388A (en) * | 2020-02-13 | 2020-06-09 | 上海复深蓝软件股份有限公司 | Mobile network environment testing method and device, computer equipment and storage medium |
CN111817913A (en) * | 2020-06-30 | 2020-10-23 | 北京红山信息科技研究院有限公司 | Distributed network performance test method, system, server and storage medium |
CN111934947A (en) * | 2020-07-17 | 2020-11-13 | 中国联合网络通信集团有限公司 | Speed measurement method, speed measurement scheduling server, terminal equipment and readable storage medium |
CN112242937A (en) * | 2020-10-13 | 2021-01-19 | 腾讯科技(深圳)有限公司 | Network speed measuring method and device and computer readable medium |
CN112242937B (en) * | 2020-10-13 | 2024-03-08 | 腾讯科技(深圳)有限公司 | Network speed measuring method and device, electronic equipment and computer readable medium |
WO2022088742A1 (en) * | 2020-11-02 | 2022-05-05 | 鹏城实验室 | Network measurement method, measurement management server, system and storage medium |
CN112910730A (en) * | 2021-01-28 | 2021-06-04 | 千居智人工智能科技昆山有限公司 | Communication network real-time early warning monitoring system and monitoring method thereof |
CN112910730B (en) * | 2021-01-28 | 2022-08-26 | 小帆科技(广东)有限公司 | Communication network real-time early warning monitoring system and monitoring method thereof |
CN113225224A (en) * | 2021-04-26 | 2021-08-06 | 深圳市奇虎智能科技有限公司 | Network speed measuring method, system, storage medium and computer equipment |
CN113225224B (en) * | 2021-04-26 | 2022-08-26 | 深圳市奇虎智能科技有限公司 | Network speed measuring method, system, storage medium and computer equipment |
CN114245415A (en) * | 2021-12-21 | 2022-03-25 | 深圳市欣博跃电子有限公司 | Network testing method, device, electronic equipment and medium |
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 |
CN115333972A (en) * | 2022-09-15 | 2022-11-11 | 广州易测网技术有限公司 | Network speed measuring method, system, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109218133B (en) | 2022-04-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109218133A (en) | Network speed testing system, method, apparatus and computer readable storage medium | |
US8301761B2 (en) | Determining server load capacity with virtual users | |
CN109167812B (en) | Method for evaluating service quality and determining adjustment strategy, server and storage medium | |
CN109921925A (en) | A kind of dial testing method and device | |
CN110554912B (en) | Method and device for scheduling equipment to execute tasks | |
CN111274153A (en) | Automatic testing method and device and electronic equipment | |
CN111966556A (en) | Performance pressure measurement method and device, server and computer readable storage medium | |
CN107360036B (en) | Network fault positioning method, terminal and server | |
CN102123063B (en) | Method and device for detecting link bandwidth | |
CN109788251A (en) | Method for processing video frequency, device and storage medium | |
CN107092556B (en) | Test method, device and equipment | |
CN110971478A (en) | Pressure measurement method and device for cloud platform service performance and computing equipment | |
CN114138499B (en) | GPU resource utilization rate monitoring method and device, computer equipment and medium | |
CN116303041A (en) | Distributed test method and system | |
CN116302467A (en) | Task allocation method, device and storage medium | |
CN109299195A (en) | Data processing method, device and storage medium | |
CN109032787A (en) | A kind of method for allocating tasks and device | |
CN115221041A (en) | Multi-device testing method and device, electronic device and storage medium | |
CN114423043A (en) | Method and equipment for mobile terminal to distribute link | |
CN108418730A (en) | Network flow test method, device, equipment and computer readable storage medium | |
CN106339797A (en) | Point inspection data processing method and device | |
CN115499346B (en) | Speed measuring method, device, equipment and medium for multiple network cards | |
CN111897688B (en) | Test method and device for test object | |
CN114500302B (en) | ICE service arrangement method, ICE service arrangement device, terminal equipment and storage medium | |
CN111371635A (en) | Network node monitoring method, device and 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 |