CN111917582A - Network speed measuring method and device - Google Patents

Network speed measuring method and device Download PDF

Info

Publication number
CN111917582A
CN111917582A CN202010758727.1A CN202010758727A CN111917582A CN 111917582 A CN111917582 A CN 111917582A CN 202010758727 A CN202010758727 A CN 202010758727A CN 111917582 A CN111917582 A CN 111917582A
Authority
CN
China
Prior art keywords
speed measurement
node
speed
interface
measurement result
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010758727.1A
Other languages
Chinese (zh)
Other versions
CN111917582B (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 Youhua Technology Co ltd
Original Assignee
Shenzhen Youhua 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 Youhua Technology Co ltd filed Critical Shenzhen Youhua Technology Co ltd
Priority to CN202010758727.1A priority Critical patent/CN111917582B/en
Publication of CN111917582A publication Critical patent/CN111917582A/en
Application granted granted Critical
Publication of CN111917582B publication Critical patent/CN111917582B/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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design

Landscapes

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

Abstract

The invention relates to a network speed measurement method and a device, wherein the method comprises the following steps: setting nodes of a private line network; calling the node and measuring the speed by using the node; and reporting the speed measurement result and returning the bandwidth value. The invention not only can be used for network speed measurement in a PPPoe dial-up access mode, but also can be used for speed measurement of a private network, and is more convenient and faster compared with the traditional speed measurement method.

Description

Network speed measuring method and device
Technical Field
The present invention relates to the field of network communication technologies, and in particular, to a method and an apparatus for measuring a speed of a network.
Background
With the rapid increase of the traffic volume, the operation and maintenance installer of the network operator will have a large amount of equipment to be installed on site every day. The traditional installation mode is that a computer/mobile phone/PDA device enters a user management page of the optical modem to carry out configuration, after the configuration is finished and the Internet is accessed, a speed measuring website is used for measuring speed to check whether the signed bandwidth is met or not, then the installation process is finished by returning a bill, but the time consumption of installation in the mode is large.
At present, some operators perform operation and maintenance installation in a mode of installing apps, and the operators can realize installation and connection to the internet through a one-key registration mode without logging in a gateway, and can use interfaces on the apps to measure speed, so that a web browser is not needed to measure speed. However, the app speed measurement interface uses two standard interfaces pppoe/ipoe on the TR98 node, and currently, a pppoe dial access mode is used by a common home and a small enterprise user, so that the app can be used to directly measure speed in the mode. However, in a part of government and enterprise network environments, a private network (using a special network segment address) is usually used, and IP addresses are not uniformly distributed in a pppoe mode of a bras server, so that apps cannot be used in the environment to perform fast speed measurement to complete installation of receipt, and the app speed measurement is limited.
Disclosure of Invention
Therefore, it is necessary to provide a network speed measurement method and device, which can be used for network speed measurement in a pppoe dial-up access manner and also can be used for speed measurement in a private line network.
In order to achieve the above purpose, the invention adopts the following technical scheme.
The invention provides a network speed measuring method, which comprises the following steps:
setting nodes of a private line network;
calling the node and measuring the speed by using the node;
and reporting the speed measurement result and returning the bandwidth value.
In the above speed measuring method, the step of setting the node of the private network specifically includes:
based on a node framework of a TR69 client, a structure body and definition of node parameters are newly added on an interface of the original TR98 standard, wherein the parameters comprise an IP address, a subnet mask, a gateway and a DNS server address.
In the above speed measurement method, after the step of adding a structure of node parameters and defining on the original TR98 standard interface, the method further includes the steps of:
the TR69 server issues parameters for setting the node.
In the above speed measuring method, the step of calling the node and measuring the speed by using the node specifically includes:
adding an interface;
configuring an IP address of the node to the interface;
and performing HTTP simulation speed measurement by using the interface.
In the above speed measuring method, the step of reporting the speed measuring result and returning the bandwidth value specifically includes:
after the speed measurement is finished, reporting the speed measurement result to generate an EVENT to a TR69 server;
and the TR69 server returns the bandwidth value in the speed measurement result through a northbound interface after acquiring the corresponding node according to the speed measurement result.
The invention also provides a speed measuring device of the network, comprising:
the configuration module is used for setting nodes of the private line network;
the speed measuring module is used for calling the nodes and measuring the speed by using the nodes;
and the reporting module is used for reporting the speed measurement result and returning the bandwidth value.
In the above speed measuring device, the configuration module is specifically configured to:
based on a node framework of a TR69 client, a structure body and definition of node parameters are newly added on an interface of the original TR98 standard, wherein the parameters comprise an IP address, a subnet mask, a gateway and a DNS server address.
The above speed measuring device further includes:
and the TR69 server is used for issuing parameters for setting the nodes.
In the above speed measuring device, the speed measuring module is specifically configured to:
adding an interface;
configuring an IP address of the node to the interface;
and performing HTTP simulation speed measurement by using the interface.
In the above speed measuring device, the reporting module is specifically configured to:
after the speed measurement is finished, reporting the speed measurement result to generate an EVENT to a TR69 server;
and the TR69 server returns the bandwidth value in the speed measurement result through a northbound interface after acquiring the corresponding node according to the speed measurement result.
The special network simulation download simulation can be carried out by adding the new TR98 node and matching with the RMS server, and the returned speed measurement value is calculated in real time, so that the special network simulation download simulation method not only can be used for network speed measurement in a pppoe dial-up access mode, but also can be used for speed measurement of a special network, and is more convenient and faster compared with the traditional speed measurement method.
Drawings
Fig. 1 is a schematic flow chart of a network speed measurement method in this embodiment;
fig. 2 is a schematic block structure diagram of a network speed measuring device in this embodiment.
The implementation of the objects of the present invention and their functions and principles will be further explained in the detailed description with reference to the attached drawings.
Detailed Description
The following further description is made with reference to the drawings and specific embodiments.
As shown in fig. 1, this embodiment provides a network speed measurement method, which mainly includes the following steps:
s1: setting nodes of a private line network;
s2: calling the node and measuring the speed by using the node;
s3: and reporting the speed measurement result and returning the bandwidth value.
In this embodiment, development support is performed based on the TR69 client program, and step S1 specifically includes:
based on a node framework of a TR69 client, according to a static wan connection configuration requirement, a structure body and a definition of node parameters are newly added on an original TR98 standard interface, wherein the parameters comprise an IP address, a subnet mask, a gateway and a DNS server address.
Because the pppoe dial-up access mode is dynamic wan connection, and the private network is generally configured for static wan connection, configuration parameters related to private network connection include information such as an IP address, a subnet mask, a gateway, and a DNS server address, and these parameters need to be added to an original TR98 standard interface, and in terms of code implementation, in this embodiment, based on a node framework based on a TR69 client, a structure and definitions of related node parameters are first added according to a framework model, for example:
Figure BDA0002612448010000031
Figure BDA0002612448010000041
in step S1, after the step of adding the structure and definition of the node parameter to the original TR98 standard interface, the method further includes the steps of:
the TR69 server issues parameters for setting the node.
The TR69 server issues parameters for setting corresponding diagnosis nodes to complete the setting of the nodes of the private network cable, and the subsequent TR143 nodes use the parameters to carry out speed measurement diagnosis and report speed measurement completion results.
The step S2 specifically includes:
s21: adding an interface;
s22: configuring an IP address of the node to the interface;
s23: and performing HTTP simulation speed measurement by using the interface.
After the node is successfully set, the speed measurement module is finally called to perform relevant configuration, and the configuration process includes two stages, where step S21 and step S22 are the first stage, and step S23 is the second stage. The code segment is excerpted as follows:
Figure BDA0002612448010000042
Figure BDA0002612448010000051
Figure BDA0002612448010000061
Figure BDA0002612448010000071
step S3 specifically includes:
after the speed measurement is finished, reporting the speed measurement result to generate an EVENT to a TR69 server;
and the TR69 server returns the bandwidth value in the speed measurement result through a northbound interface after acquiring the corresponding node according to the speed measurement result.
The EVENT is triggered by the reporting action, and the TR69 server performs corresponding actions after receiving the speed measurement result.
Therefore, the network speed measurement method of the embodiment can be used for network speed measurement in a pppoe dial-up access mode and can also be used for speed measurement in a private line network.
As shown in fig. 2, the present invention also provides a network speed measuring device 100, which includes:
a configuration module 10, configured to set nodes of a private network;
the speed measuring module 20 is used for calling the nodes and measuring the speed by using the nodes;
and the reporting module 30 is configured to report the speed measurement result and return the bandwidth value.
The configuration module 10 is specifically configured to:
based on a node framework of a TR69 client, adding a structure and definition of node parameters on an original TR98 standard interface according to a static wan connection configuration requirement, wherein the parameters comprise an IP address, a subnet mask, a gateway and a DNS server address.
Because the pppoe dial-up access mode is dynamic wan connection, and a private network is generally static wan connection configuration, configuration parameters related to private network connection include information such as an IP address, a subnet mask, a gateway and a DNS server address, and these parameters need to be added to an original TR98 standard interface, and in terms of code implementation, in this embodiment, a structure and definition of related node parameters are added first according to a framework model based on a node framework of a TR69 client.
In addition, the speed measuring device of this embodiment further includes:
and the TR69 server 40 is used for issuing parameters for setting the nodes.
The TR69 server issues parameters for setting corresponding diagnosis nodes to complete the setting of the nodes of the private network cable, and the subsequent TR143 nodes use the parameters to carry out speed measurement diagnosis and report speed measurement completion results.
The speed measuring module is specifically used for:
adding an interface;
configuring an IP address of the node to the interface;
and performing HTTP simulation speed measurement by using the interface.
After the node is successfully set, the speed measurement module is finally called to perform relevant configuration, and the configuration process includes two stages, where step S21 and step S22 are the first stage, and step S23 is the second stage.
The reporting module is specifically configured to:
after the speed measurement is finished, reporting a speed measurement result to generate an EVENT;
sending the EVENT to a TR69 server;
and the TR69 server returns the bandwidth value in the speed measurement result through a northbound interface after acquiring the corresponding node according to the speed measurement result.
In summary, the invention can perform special network analog download simulation by adding a new TR98 node in cooperation with the RMS server, and calculate the returned speed measurement value in real time, which can be used not only for network speed measurement in pppoe dial-up access mode, but also for speed measurement in special network, and is more convenient and faster than the conventional speed measurement method.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention.

Claims (10)

1. A network speed measurement method is characterized by comprising the following steps:
setting nodes of a private line network;
calling the node and measuring the speed by using the node;
and reporting the speed measurement result and returning the bandwidth value.
2. The method according to claim 1, wherein the step of setting the nodes of the private network specifically comprises:
based on a node framework of a TR69 client, a structure body and definition of node parameters are newly added on an interface of the original TR98 standard, wherein the parameters comprise an IP address, a subnet mask, a gateway and a DNS server address.
3. The method for measuring speed according to claim 2, wherein after the step of adding the structure and definition of the node parameter to the original TR98 standard interface, the method further comprises the steps of:
the TR69 server issues parameters for setting the node.
4. The method according to claim 3, wherein the step of calling the node and using the node to measure the speed specifically comprises:
adding an interface;
configuring an IP address of the node to the interface;
and performing HTTP simulation speed measurement by using the interface.
5. The method according to claim 4, wherein the step of reporting the speed measurement result and returning the bandwidth value specifically comprises:
after the speed measurement is finished, reporting the speed measurement result to generate an EVENT to a TR69 server;
and the TR69 server returns the bandwidth value in the speed measurement result through a northbound interface after acquiring the corresponding node according to the speed measurement result.
6. A network speed measurement device, comprising:
the configuration module is used for setting nodes of the private line network;
the speed measuring module is used for calling the nodes and measuring the speed by using the nodes;
and the reporting module is used for reporting the speed measurement result and returning the bandwidth value.
7. A speed measuring device according to claim 6, wherein said configuration module is specifically configured to:
based on a node framework of a TR69 client, a structure body and definition of node parameters are newly added on an interface of the original TR98 standard, wherein the parameters comprise an IP address, a subnet mask, a gateway and a DNS server address.
8. A speed measuring device according to claim 7, further comprising:
and the TR69 server is used for issuing parameters for setting the nodes.
9. The speed measurement device according to claim 8, wherein the speed measurement module is specifically configured to:
adding an interface;
configuring an IP address of the node to the interface;
and performing HTTP simulation speed measurement by using the interface.
10. The apparatus according to claim 9, wherein the reporting module is specifically configured to:
after the speed measurement is finished, reporting the speed measurement result to generate an EVENT to a TR69 server;
and the TR69 server returns the bandwidth value in the speed measurement result through a northbound interface after acquiring the corresponding node according to the speed measurement result.
CN202010758727.1A 2020-07-31 2020-07-31 Network speed measurement method and device Active CN111917582B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010758727.1A CN111917582B (en) 2020-07-31 2020-07-31 Network speed measurement method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010758727.1A CN111917582B (en) 2020-07-31 2020-07-31 Network speed measurement method and device

Publications (2)

Publication Number Publication Date
CN111917582A true CN111917582A (en) 2020-11-10
CN111917582B CN111917582B (en) 2022-11-22

Family

ID=73287752

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010758727.1A Active CN111917582B (en) 2020-07-31 2020-07-31 Network speed measurement method and device

Country Status (1)

Country Link
CN (1) CN111917582B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112910730A (en) * 2021-01-28 2021-06-04 千居智人工智能科技昆山有限公司 Communication network real-time early warning monitoring system and monitoring method thereof
CN114466262A (en) * 2022-02-24 2022-05-10 深圳市吉祥腾达科技有限公司 Rapid configuration method and system for optical modem equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150358225A1 (en) * 2014-06-08 2015-12-10 Seyed Abdollah Zawari Method and System For Testing a Broadband Internet Bandwidth
CN105791059A (en) * 2016-05-12 2016-07-20 中国联合网络通信集团有限公司 Broadband speed measuring method, device and system
CN105978754A (en) * 2016-05-13 2016-09-28 中国联合网络通信集团有限公司 Network quality detection method and gateway equipment
CN107634880A (en) * 2017-09-25 2018-01-26 中国联合网络通信集团有限公司 Broadband speed-measuring method and broadband velocity-measuring system
US20190230017A1 (en) * 2018-01-25 2019-07-25 Charter Communications Operating, Llc Bi-directional speed test method and system for customer premises equipment (cpe) devices

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150358225A1 (en) * 2014-06-08 2015-12-10 Seyed Abdollah Zawari Method and System For Testing a Broadband Internet Bandwidth
CN105791059A (en) * 2016-05-12 2016-07-20 中国联合网络通信集团有限公司 Broadband speed measuring method, device and system
CN105978754A (en) * 2016-05-13 2016-09-28 中国联合网络通信集团有限公司 Network quality detection method and gateway equipment
CN107634880A (en) * 2017-09-25 2018-01-26 中国联合网络通信集团有限公司 Broadband speed-measuring method and broadband velocity-measuring system
US20190230017A1 (en) * 2018-01-25 2019-07-25 Charter Communications Operating, Llc Bi-directional speed test method and system for customer premises equipment (cpe) devices

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘国萍 等: ""基于TR069实现宽带接入业务零配置快速开通解决方案"", 《电信科学》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN114466262A (en) * 2022-02-24 2022-05-10 深圳市吉祥腾达科技有限公司 Rapid configuration method and system for optical modem equipment

Also Published As

Publication number Publication date
CN111917582B (en) 2022-11-22

Similar Documents

Publication Publication Date Title
CN111917582B (en) Network speed measurement method and device
US8160572B2 (en) Platform test environment and unit test framework for a telecommunications gateway
CN102447572B (en) Internet-surfing assistant system and method for assisting client side user in solving encountered faults
CN111343020A (en) Unified management method and device for multi-protocol Internet of things equipment
CN111092877B (en) Data processing method and device, electronic equipment and storage medium
CN101178717A (en) Method for adaptation processing web page and web page adaptation device
CN110830280B (en) Micro-service gateway device and method and electronic equipment
CN104579887A (en) Cloud gateway as well as cloud gateway creation and configuration system and method
CN103246657A (en) Method and device for generating browser bookmark and method and device for browsing web page
CN109344075A (en) Configuration method, test method, configuration server and service node device
CN103327051A (en) Long-distance desktop management system and method
CN107360269A (en) Domain name analysis system optimization method, device, equipment and storage medium
CN107979489A (en) Integrated access equipment configuration monitoring method
CN107040429A (en) A kind of method of testing and system of port forwarding performance
WO2021101446A1 (en) System, method and apparatus downloading update package, and device and readable storage medium thereof
CN107040666B (en) Dial testing method, device, terminal and system for gigabit passive optical network bearer service
US20030046444A1 (en) System and method for configuring an application
US10841126B2 (en) Method and apparatus for operating a telecommunications access network
CN106131869A (en) Method of testing and device, test system for mobile terminal
CN104519137B (en) Management method, the device and system of Host file
CN109788034A (en) For the configuration method of gateway access equipment, electronic equipment and storage medium
WO2020253330A1 (en) Method and apparatus for customer premise equipment configuration management
CN113326300A (en) Wireless mapping data transmission method
US20240098576A1 (en) Network resource recommendation using a machine learning model
TWI784506B (en) Method and system for updating device firmware within wireless mesh network

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