WO2022088742A1 - 一种网络测量方法、测量管理服务器、系统及存储介质 - Google Patents

一种网络测量方法、测量管理服务器、系统及存储介质 Download PDF

Info

Publication number
WO2022088742A1
WO2022088742A1 PCT/CN2021/104569 CN2021104569W WO2022088742A1 WO 2022088742 A1 WO2022088742 A1 WO 2022088742A1 CN 2021104569 W CN2021104569 W CN 2021104569W WO 2022088742 A1 WO2022088742 A1 WO 2022088742A1
Authority
WO
WIPO (PCT)
Prior art keywords
measurement
parameter
identifier
node
parameters
Prior art date
Application number
PCT/CN2021/104569
Other languages
English (en)
French (fr)
Inventor
李伟超
彭翔
刘启豪
黄秋花
Original Assignee
鹏城实验室
南方科技大学
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 鹏城实验室, 南方科技大学 filed Critical 鹏城实验室
Publication of WO2022088742A1 publication Critical patent/WO2022088742A1/zh

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/50Testing arrangements
    • 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

Definitions

  • the present invention relates to the field of computer technology, in particular to a network measurement method, a measurement management server, a system and a storage medium.
  • the measurement management platform can be connected to a plurality of terminals, and the terminals send a request for storing configuration information and a request for issuing a measurement task to the measurement management platform.
  • the storage configuration information request includes configuration information that needs to be stored, and the measurement task delivery request includes the specific content of the measurement task.
  • the user first sends a storage configuration information request to the measurement management platform, the configuration information includes measurement tool parameters, etc., and the measurement management platform stores the configuration information locally. Then the user sends a measurement task request on this basis, and the measurement management platform packages the useful data in the configuration information according to the issued measurement task to generate JSON format text.
  • the measurement task can be directly sent to the measurement node in the form of JSON format text, and the measurement node can then use the JS Object Notation (JavaScript Object Notation, JSON) format text to determine the measurement target. Take measurements.
  • JSON JavaScript Object Notation
  • the texts sent by the measurement management platform are very lengthy, occupy a certain bandwidth and consume a large amount of network traffic, which reduces the network transmission efficiency to a certain extent.
  • the issued text will become more and more bloated, so that each measurement node stores a lot of unnecessary data.
  • the measurement node after the measurement node receives the JSON text issued by the measurement management platform, it will save it, but many measurement targets, measurement parameters, and measurement tool parameters are repeated. Therefore, the measurement node will repeatedly store the same data locally , resulting in crowded storage space.
  • the main purpose of the present invention is to provide a network measurement method, measurement management server, system and storage medium, aiming to solve the problem that the bandwidth occupancy rate of the command text issued in the network measurement process is too high in the prior art.
  • the present invention provides a network measurement method, the network measurement method includes the following steps:
  • the measurement task includes a plurality of measurement parameters
  • the present invention also provides a measurement management server, wherein the measurement management server includes: a memory, a processor, and a network measurement program stored in the memory and running on the processor , when the network measurement program is executed by the processor to implement the steps of the network measurement method described above.
  • the present invention also provides a storage medium, wherein the storage medium stores a network measurement program, and the network measurement program implements the steps of the network measurement method as described above when the network measurement program is executed by the processor.
  • the present invention also provides a network measurement system, the network measurement system includes a data server, several measurement nodes and the above-mentioned measurement management server;
  • each of the measurement nodes is in communication connection with the data server and the measurement management server, and there is a communication connection between the data server and the measurement management server;
  • the data server is configured to store the measurement parameter, the parameter mapping relationship between the measurement parameter and the measurement identifier;
  • the measurement node is configured to acquire corresponding measurement parameters from the data server according to the command string when receiving the command string;
  • network measurement is performed on the measurement target.
  • the measurement management server includes a delivery module, a management sub-server and a command sub-server;
  • the sending module is used to obtain the measurement task to be executed, wherein the measurement task includes a plurality of measurement parameters;
  • the management sub-server is configured to generate a corresponding measurement text according to the measurement parameter and send it to the command sub-server, wherein the measurement text includes a measurement identifier corresponding to the measurement parameter;
  • the command sub-server is configured to, when receiving the measurement text, generate a corresponding command string according to the measurement text and send it to the measurement node.
  • the corresponding measurement text is generated and sent to the command sub-server, specifically including:
  • the measurement identifier is written into a preset template file, and a measurement text corresponding to the measurement task is generated.
  • the measurement parameters further include measurement target parameters, measurement tool parameters, measurement type parameters and measurement operation parameters;
  • the measurement identifiers include a measurement target identifier corresponding to the measurement target parameter, a measurement node identifier corresponding to the measurement node parameter, a measurement tool parameter identifier corresponding to the measurement tool parameter, and a measurement tool parameter identifier corresponding to the measurement tool parameter.
  • the corresponding command string is generated and sent to the measurement node, which specifically includes:
  • the measurement node is also used for:
  • the measurement parameter and the command string are deleted.
  • the acquiring corresponding measurement parameters from the data server according to the command string specifically includes:
  • the measurement identifier is a measurement tool parameter identifier
  • the measurement tool parameter identifier is matched with a comparison identifier, wherein the comparison identifier is the measurement tool identifier in the comparison string,
  • the comparison string is an unfinished command string of network measurement
  • the measurement tool parameter corresponding to the measurement tool parameter is acquired from the data server according to the measurement tool parameter identifier.
  • a measurement identifier corresponding to each measurement parameter is generated, and the measurement parameter, the measurement parameter and the measurement identifier are The parameter mapping relationship between symbols is stored in the pre-connected data server.
  • a command string is generated. Since the command string no longer contains the measurement parameter, but a more compact measurement identifier relative to the measurement parameter, it is more compact than traditional JSON text.
  • the command string is sent to the measurement node, thereby reducing the bandwidth occupancy.
  • the measurement node then obtains the corresponding measurement parameters from the data server according to the command string and performs network measurement.
  • 1 is a schematic flowchart of a traditional network measurement method
  • Fig. 2 is the example diagram of JSON text in the traditional network measurement method
  • FIG. 3 is a flowchart of a preferred embodiment provided by the network measurement method of the present invention.
  • FIG. 4 is a schematic diagram of the operating environment of a preferred embodiment of the measurement management server of the present invention.
  • Fig. 5 is the first schematic flow chart of the preferred embodiment of the measurement management system of the present invention.
  • Fig. 6 is the second example flow chart in the preferred embodiment of the measurement management system of the present invention.
  • FIG. 8 is a schematic structural diagram of a command string in a preferred embodiment of the measurement management system of the present invention.
  • the first line in the JSON text is used to describe the measurement task unique identifier of the measurement task; the second line describes the unique identifier issued by the measurement task, because a measurement task may be issued multiple times , the identifier is used to retroactively issue the situation; the fourth line describes the measurement target identifier, which is used to associate a set of measurement targets; the 6-20 lines are used to describe the specific measurement target parameters; the 21st line describes the measurement node Identifier, used to associate a set of measurement nodes; lines 22-37 describe specific parameters of specific measurement tool parameters; line 38 is used to describe the execution parameters of periodic tasks; line 39 is used to describe measurement task execution Timeout time; Line 40 is used to describe the number of failed retries of the measurement task; Line 41 is used to describe the current measurement type, including periodic measurement, aperiodic measurement, and stop measurement; Line 42 describes the specific delivery of the measurement task time.
  • the network measurement method is applied to a network measurement system, and the network measurement system includes a measurement management server and a plurality of measurement nodes.
  • the measurement management server executes the network measurement method, which specifically includes the following steps:
  • step S100 a measurement task to be executed is acquired.
  • the user first sends a measurement task delivery request to the measurement management server according to the terminal and other methods.
  • the measurement task delivery request includes multiple measurement parameters, such as measurement node parameters, measurement target parameters, measurement tool parameters, measurement type parameters, and measurement operation parameters.
  • the measurement target parameter refers to the target parameter of the website that the user expects to measure, and generally takes the Internet Protocol Address (IP address, IP address) of the website as a specific parameter.
  • the measurement node parameter refers to the node parameter of the target measurement node that the user wishes to measure the measurement target subsequently, such as the address of the target measurement node.
  • the measurement tool parameter refers to the measurement tool parameter data package of the tool that the user wishes to measure subsequently.
  • the measurement type parameter refers to the type of measurement to be performed, including periodic measurement, normal measurement, and stop measurement.
  • the measurement operation parameters include the number of retries and the timeout period. If the measurement type is periodic measurement, the measurement operation parameters also include the period duration.
  • the measurement node parameters and measurement target parameters input by the user may correspond to a single measurement node or measurement target, or may be parameters corresponding to multiple measurement node sets and parameters corresponding to multiple measurement target sets.
  • the form of the measurement parameter is in the form of an array.
  • the measurement node parameter corresponds to the node parameter of a measurement node, there is only one value in the array; when the measurement node parameter corresponds to the node parameters of multiple measurement nodes, the array There are multiple values in .
  • the measurement management server can also receive storage configuration information requests, which also include multiple configuration parameters, but generally, storage configuration information requests only include measurement tool parameters, measurement operation parameters, etc., and do not include measurement node parameters and measurement target parameters. , this request is mainly for the measurement management server to save the measurement parameters to the data server.
  • Step S200 Determine a measurement identifier corresponding to the measurement parameter according to the measurement parameter.
  • the measurement management server After acquiring the measurement task, the measurement management server generates a measurement identifier corresponding to each measurement parameter.
  • the measurement identifier includes a measurement target identifier corresponding to the measurement target parameter, a measurement node identifier corresponding to the measurement node parameter, and a measurement tool parameter identifier corresponding to the measurement tool parameter identifier, a measurement type identifier corresponding to the measurement type parameter, and a measurement operation identifier corresponding to the measurement operation parameter.
  • the measurement management server pre-stores an identifier library in a local or connected data server, and the identifier library includes a plurality of different types of parameter identifier sub-libraries.
  • Each parameter identifier sub-library includes multiple parameters and identifiers corresponding to each parameter.
  • the measurement target parameter is the address of website A
  • the address of website A is matched with the measurement target identifier sub-library in the identifier database.
  • the identifier corresponding to the matched parameter is used as the measurement.
  • Website A is used as the measurement target.
  • the measurement target identifier corresponding to the target parameter is used as the measurement target.
  • an identifier different from other identifiers in the parameter identifier sub-base is generated, matched with the measurement target parameter and stored locally. Or in the data server, the newly generated identifier is the measurement target identifier corresponding to the measurement target parameter.
  • Step S300 generating a command string corresponding to the measurement task according to the measurement identifier.
  • the measurement management server may generate a corresponding command string.
  • One way of generating is to arrange each measurement identifier in a certain order, and a command string corresponding to the measurement task can be generated.
  • the numerical lengths corresponding to different measurement identifiers can also be preset. For example, the measurement identifier corresponding to the measurement target identifier is 8 digits, and the measurement identifier corresponding to the measurement type parameter is 2 digits.
  • Step S400 according to the measurement node parameters in the measurement parameters, send the command string to the target measurement node corresponding to the measurement node, so that the target measurement node can retrieve the command string from the target measurement node according to the command string.
  • the data server obtains the corresponding measurement parameters and performs network measurement.
  • the measurement parameters include measurement node parameters.
  • the measurement node parameters are the addresses of the target measurement nodes. Therefore, after the measurement management server generates the command string, it can send the command string to the target measurement node according to the parameters of the measurement node. As long as the measurement management server and the measurement node agree on the format of the command string, the measurement node can parse the command string and obtain each measurement identifier. Since in this embodiment, the data server stores the measurement parameters and the parameter mapping relationship between the measurement parameters and the measurement identifiers, after obtaining the command string, the measurement node can, according to each measurement identifier in the command string, Find and obtain the corresponding measurement parameters from the data server. Finally, the measurement node measures the measurement target corresponding to the measurement target parameter in the measurement parameters according to the measurement parameters.
  • the present invention also provides a measurement management server correspondingly, and the measurement management server includes a processor 10 , a memory 20 and a display 30 .
  • FIG. 4 shows only some of the components of the measurement management server, but it should be understood that implementation of all of the illustrated components is not required, and more or fewer components may be implemented instead.
  • the memory 20 may be an internal storage unit of the measurement management server, such as a hard disk or a memory of the measurement management server.
  • the memory 20 may also be an external storage device of the measurement management server, such as a pluggable hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, flash memory card (Flash Card), etc.
  • the memory 20 may also include both an internal storage unit of the measurement management server and an external storage device.
  • the memory 20 is used for storing application software and various types of data installed on the measurement management server, such as program codes for the installation of the measurement management server.
  • the memory 20 can also be used to temporarily store data that has been output or is to be output.
  • a network measurement program 40 is stored on the memory 20, and the network measurement program 40 can be executed by the processor 10, thereby implementing the network measurement method in the present application.
  • the processor 10 may be a central processing unit (Central Processing Unit, CPU), a microprocessor or other data processing chips, for running program codes or processing data stored in the memory 20, such as Execute the network measurement method and the like.
  • CPU Central Processing Unit
  • microprocessor or other data processing chips, for running program codes or processing data stored in the memory 20, such as Execute the network measurement method and the like.
  • the display 30 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode, organic light-emitting diode) touch device, and the like.
  • the display 30 is used for displaying information on the measurement management server and for displaying a visual user interface.
  • the components 10-30 of the measurement management server communicate with each other via a system bus.
  • the measurement task includes a plurality of measurement parameters
  • the present invention also provides a storage medium, wherein the storage medium stores a network measurement program, and when the network measurement program is executed by a processor, implements the steps of the network measurement method as described above.
  • the present invention further provides a network measurement system, the network measurement system includes a data server, several measurement nodes and the above-mentioned measurement management server.
  • each of the measurement nodes is in communication connection with the data server and the measurement management server, and there is a communication connection between the data server and the measurement management server;
  • the data server is configured to store the measurement parameter, the parameter mapping relationship between the measurement parameter and the measurement identifier;
  • the measurement node is configured to acquire corresponding measurement parameters from the data server according to the command string parameters when receiving the command string;
  • network measurement is performed on the measurement target.
  • this embodiment provides a network measurement system.
  • the network measurement system includes a data server, several measurement nodes, and a measurement management server.
  • the user sends a measurement task request to the measurement management server.
  • the measurement management server executes the above network measurement method, and stores the measurement parameters and the parameter mapping relationship between the measurement parameters and the measurement identifiers in the data server.
  • the measurement management server After the measurement management server generates the command string, it sends the command string to the measurement node.
  • the measurement node acquires the corresponding measurement parameter from the data server to the measurement node according to the command string and the parameter mapping relationship stored in the data server. Finally, the measurement node performs network measurement on the measurement target according to the measurement parameters.
  • the measurement management server is responsible for generating measurement identifiers and generating command strings.
  • the measurement management server in this embodiment includes a delivery module, a manager server and command subserver;
  • the sending module is used to obtain the measurement task to be executed, wherein the measurement task includes a plurality of measurement parameters;
  • the management sub-server is configured to generate a corresponding measurement text according to the measurement parameter and send it to the command sub-server, wherein the measurement text includes a measurement identifier corresponding to the measurement parameter;
  • the sending module in the measurement management server first obtains a measurement task including a plurality of measurement parameters.
  • the management sub-server generates a corresponding measurement identifier according to each measurement parameter.
  • the generation method may be similar to the generation method in the foregoing network measurement method, and details are not described herein again.
  • the measurement identifier is written into a preset template file to generate a measurement text corresponding to the measurement task.
  • the string before each measurement identifier in the figure represents the measurement parameter type corresponding to the measurement identifier, where "taskId” represents the measurement operation identifier, "workGroup” represents the measurement node identifier, and “tools” represents the measurement tool parameter identifier, "taskOrder” represents the measurement type identifier, "pushTime” represents the push time, and "targetGroup” represents the measurement target identifier.
  • the push time can be written according to the measurement text generation time.
  • the measurement management server after determining the parameter mapping relationship between the measurement identifier and the measurement parameter, sends the measurement parameter and the parameter mapping relationship between the measurement parameter and the measurement identifier to the data server , for storage by the data server.
  • the command sub-server in the measurement management server is configured to, when receiving the measurement text, generate a corresponding command string according to the measurement text and send it to the measurement node.
  • the measurement parameters include measurement target parameters, measurement node parameters, measurement tool parameters, measurement type parameters, and measurement operation parameters; the measurement identifiers include measurement target identifiers corresponding to the measurement target parameters, and measurement target identifiers corresponding to the measurement target parameters.
  • the command sub-server receives the measurement text sent by the management sub-server, it is reduced into a command string and sent to the Measurement node.
  • another method of generating command strings is also provided. The specific steps are as follows:
  • a command identifier corresponding to each measurement node is generated according to the measurement node parameter
  • the sub-server is instructed to acquire the measurement node parameters from the data server according to the measurement node identifier in the measurement text.
  • the measurement node parameters include node parameters of multiple measurement nodes
  • the data server may store the node parameters of multiple measurement nodes in the form of a list, so the sub-server is instructed to finally obtain the measurement node list storing the measurement node parameters.
  • the command sub-server generates a corresponding command identifier according to the node parameters of each measurement node in the measurement node parameters.
  • the command identifier is used to mark each command string. Different measurement text, measurement time and measurement node have different command identifiers, so the command identifier is unique and can be used to trace each measurement result.
  • the command string can be mainly divided into four data areas: a measurement operation block, a measurement target block, a measurement tool parameter block and a measurement type block.
  • the measurement operation block stores the measurement operation identifier
  • the measurement target block stores the measurement target identifier
  • the measurement tool parameter block stores the measurement tool parameter identifier
  • the measurement type block stores the measurement type identifier.
  • the measurement tool parameter block may include multiple measurement tool parameter identifiers.
  • this embodiment also provides a template string of the command string. Different data regions are separated by "
  • the template string is specifically: "
  • the measurement operation identifier generated by the measurement management server is less than 8 digits, the measurement operation is guaranteed by adding 0 to the left.
  • the identifier is an 8-digit number.
  • the parameter identifier of the measurement tool is a 2-digit number. If it is less than 2 digits, the left side is filled with 0 to ensure 2-digit number.
  • the delivery time can be in the form of a timestamp, thereby improving accuracy and security.
  • the measurement type identifier can take the values 1, 2 and 3, where 1 is periodic execution; 2 is normal execution; 3 is stop.
  • " ⁇ CR>" is used to indicate the termination of the command text.
  • the generated command string is "123124
  • the measurement node deletes the measurement parameter and the command string.
  • the measurement node After the measurement node receives the command identifier, it parses it to obtain multiple measurement parameter identifiers.
  • the measurement parameters received by the measurement node may be one after another, or another command string may be received before the measurement task corresponding to one command string is completed. In the latter case, the measurement tool parameters corresponding to different command strings are the same. Because the data of measurement target parameters, measurement operation parameters, and measurement type parameters are all small, the measurement node directly acquires it and does not occupy much bandwidth. However, the parameters of the measurement tools are generally large, such as the measurement tool parameter ping command parsing tool pingparsing and the TCP (Transmission Control Protocol)-based detection tool tcpprobe for packet loss, disorder and delay. The former is used to parse the ping command.
  • TCP Transmission Control Protocol
  • the process of generating the measurement parameter request by the measurement node according to the command string and sending it to the data server further includes:
  • the measurement identifier is a measurement tool parameter identifier
  • the measurement tool parameter identifier is matched with a comparison identifier, wherein the comparison identifier is the measurement tool identifier in the comparison string,
  • the comparison string is an unfinished command string of network measurement
  • the measurement tool parameter corresponding to the measurement tool parameter is acquired from the data server according to the measurement tool parameter identifier.
  • the measurement node when the measurement node obtains a certain command string, it parses it, and obtains corresponding measurement parameters for network measurement. If the network measurement takes a long time, for example, the number of measurement targets is large and the measurement type parameter is periodic measurement, since the measurement node deletes the relevant data only after the network measurement is completed, the command string will be saved. locally. If the measurement node obtains another command string at this time, for the convenience of distinction, the previous command string is command string A, and the latter command string is command string B. After parsing command string B, the The measurement tool identifier therein is matched with the measurement tool identifier in the command string A, that is, the comparison identifier.
  • the measurement node If the match is successful, it means that the measurement node currently saves the measurement tool parameters corresponding to the measurement tool identifier.
  • the measurement tool The parameters are named Test Tool Parameters. Therefore, according to the corresponding relationship between the comparison identifier and the test tool parameter, the test tool parameter corresponding to the measurement tool identifier is determined as the measurement tool parameter.
  • the measurement node obtains corresponding measurement parameters from the data server according to other measurement identifiers in the command string B to perform network measurement.
  • the matching fails, it means that the measurement node does not currently save the measurement tool parameters corresponding to the measurement tool identifier. Therefore, according to each measurement identifier, the corresponding measurement parameters are obtained from the data server to perform network measurement.
  • the measurement type corresponding to the measurement type identifier is periodic measurement
  • the measurement parameter request generated by the measurement node according to the measurement operation identifier in addition to the time-out time and the number of repetitions in the conventional measurement operation, also Include the period parameter.
  • the measurement type is periodic measurement
  • the parameters of the measurement tool will be saved locally as a test tool.
  • the storage medium may be a memory, a magnetic disk, an optical disk, or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明公开了一种网络测量方法、测量管理服务器、系统及存储介质,方法包括:获取待执行的测量任务,其中,测量任务包括多个测量参数;根据测量参数,确定测量参数对应的测量标识符,并将测量参数、以及测量参数和测量标识符之间的参数映射关系存储至预先连接的数据服务器中;根据测量标识符,生成与测量任务对应的命令字符串,其中,命令字符串包括测量标识符;根据测量参数中的测量节点参数,将命令字符串发送至与测量节点参数对应的测量节点,以供测量节点根据命令字符串,从数据服务器获取对应的测量参数并进行网络测量。本发明中精简了发送至测量节点的文本,从而减少了宽带占用以及提高测量节点的空间利用率。

Description

一种网络测量方法、测量管理服务器、系统及存储介质 技术领域
本发明涉及计算机技术领域,尤其涉及一种网络测量方法、测量管理服务器、系统及存储介质。
背景技术
目前的网络测量大多数基于直连测量实现的。测量管理平台可以和多个终端连接,终端向该测量管理平台发送存储配置信息请求和下发测量任务请求。存储配置信息请求中包含需要存储的配置信息,而下发测量任务请求中包含测量任务的具体内容。例如用户先向测量管理平台发送存储配置信息请求,配置信息包括测量工具参数等,测量管理平台将这些配置信息存储在本地。然后用户在此基础上发送下发测量任务请求,测量管理平台根据该下发测量任务,将配置信息中有用的数据打包,生成JSON格式文本。由于测量管理平台直接连接所有的测量节点,所以可直接以JSON格式文本的形式下发测量任务至测量节点,测量节点再根据该JS对象简谱(JavaScript Object Notation,JSON)格式的文本,对测量目标进行测量。
然而测量管理平台下发文本非常冗长,需要占用一定带宽及消耗较大的网络流量,一定程度上降低了网络传输效率。而且随着测量目标的增加,下发的文本将越来越臃肿,使得每个测量节点存储了许多不必要的数据。此外,测量节点接收到测量管理平台下发的JSON文本后,都会进行保存,但测量目标、测量参数以及测量工具参数等有很多都是重复的,因此,测量节点会在本地重复存储相同的数据,造成存储空间拥挤。
发明内容
本发明的主要目的在于提供一种网络测量方法、测量管理服务器、系统及存储介质,旨在解决现有技术中网络测量过程中下发指令文本对宽带占用率过高的问题。
为实现上述目的,本发明提供一种网络测量方法,所述网络测量方法包括如下步骤:
获取待执行的测量任务,其中,所述测量任务包括多个测量参数;
根据所述测量参数,确定所述测量参数对应的测量标识符,并将所述测量参数、以及所述测量参数和所述测量标识符之间的参数映射关系存储至预先连接的数据服务器中;
根据所述测量标识符,生成与所述测量任务对应的命令字符串,其中,所述命令字符串包括所述测量标识符;
根据所述测量参数中的测量节点参数,将所述命令字符串发送至与所述测量节点参数对应的测量节点,以供所述测量节点根据所述命令字符串,从所述数据服务器获取对应的测量参数并进行网络测量。
此外,为实现上述目的,本发明还提供一种测量管理服务器,其中,所述测量管理服务器包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的网络测量程序,所述网络测量程序被所述处理器执行时实现如上所述的网络测量方法的步骤。
此外,为实现上述目的,本发明还提供一种存储介质,其中,所述存储介质存储有网络测量程序,所述网络测量程序被处理器执行时实现如上所述的网络测量方法的步骤。
此外,为实现上述目的,本发明还提供一种网络测量系统,所述网络测量系统包括数据服务器、若干个测量节点和如上所述的测量管理服务器;
其中,各个所述测量节点与所述数据服务器和所述测量管理服务器之间通讯连接,所述数据服务器和所述测量管理服务器之间通讯连接;
所述数据服务器用于存储所述测量参数、所述测量参数和所述测量标识符之间的参数映射关系;
所述测量节点用于当接收到所述命令字符串时,根据所述命令字符串,从所述数据服务器获取对应的测量参数;以及
根据所述测量参数,对测量目标进行网络测量。
可选地,其中,所述测量管理服务器包括下发模块、管理子服务器和命令子服务器;
其中,所述下发模块用于获取待执行的测量任务,其中,所述测量任务包括多个测量参数;
所述管理子服务器用于根据所述测量参数,生成对应的测量文本并发送至所述命令子服务器,其中,所述测量文本包括所述测量参数对应的测量标识符;以及
将所述测量参数,以及所述测量参数和所述测量标识符之间的参数映射关系发送至所述数据服务器,以供所述数据服务器存储;
所述命令子服务器用于当接收所述测量文本时,根据所述测量文本,生成对应的命令字符串并发送至测量节点。
可选地,其中,所述根据所述测量参数,生成对应的测量文本并发送至所述命令子服务器,具体包括:
根据所述测量参数,生成对应的测量标识符;
根据所述测量参数的类型,将所述测量标识符写入预设的模板文件中,生成与所述测量任务对应的测量文本。
可选地,其中,所述测量参数还包括测量目标参数、测量工具参数、测量类型参数和测量操作参数;
所述测量标识符包括与所述测量目标参数对应的测量目标标识符、与所述测量节点参数对应的测量节点标识符、与所述测量工具参数对应的测量工具参数标识符、与所述测量类型参数对应的测量类型标识符和与所述测量操作参数对应的测量操作标识符。
可选地,其中,所述根据所述测量文本,生成对应的命令字符串并发送至测量节点,具体包括:
根据所述测量节点标识符,从所述数据服务器获取测量节点参数;
当检测到所述参数测量节点参数时,根据所述测量节点参数,生成对应的命令标识符;
根据预设的命令字符串格式,将所述命令标识符、所述测量工具参数标识符、所述测量目标标识符、所述测量类型标识符和所述测量操作标识符写入预设的模板字符串中,生成所述测量节点参数对应的命令字符串并发送至对应的测量节点。
可选地,其中,所述测量节点还用于:
对测量目标进行网络测量结束后,将所述测量参数和所述命令字符串删除。
可选地,其中,所述根据所述命令字符串,从所述数据服务器获取对应的测量参数,具体包括:
当所述测量标识符为测量工具参数标识符时,将所述测量工具参数标识符与比对标识符进行匹配,其中,所述比对标识符为比对字符串中的测量工具标识符,所述比对字符串为网络测量未结束的命令字符串;
当匹配成功时,确定与所述比对标识符对应的测试工具参数作为测量工具参数;
当匹配失败时,根据所述测量工具参数标识符,从所述数据服务器获取与所述测量工具参数对应的测量工具参数。
本发明中,当获取待执行的测量任务时,由于测量任务中包括多个测量参数,因此生成各个测量参数对应的测量标识符,并将述测量参数、以及所述测量参数和所述测量标识符之间的参数映射关系存储至预先连接的数据服务器中。同时,根据测量标识符,生成命令字符串。由于命令字符串中不再包含测量参数,而是相对于测量参数而言更为精简的测量标识符,因此相较于传统的JSON文本更为精简。将该命令字符串下发至测量节点,从而减少宽带占用率。测量节点再根据该命令字符串,从数据服务器获取对应的测量参数并进行网络测量。
附图说明
图1是传统网络测量方法的流程示意图;
图2是传统网络测量方法中JSON文本的示例图;
图3是本发明网络测量方法提供的较佳实施例的流程图;
图4为本发明测量管理服务器的较佳实施例的运行环境示意图;
图5为本发明测量管理系统的较佳实施例的第一个流程示意图;
图6为本发明测量管理系统的较佳实施例中第二个流程示例图;
图7为本发明测量管理系统的较佳实施例中测量文本的示例图;
图8为本发明测量管理系统的较佳实施例中命令字符串的结构示意图。
具体实施方式
为使本发明的目的、技术方案及优点更加清楚、明确,以下参照附图并举实施例对本发明进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解 释本发明,并不用于限定本发明。
参阅图1和图2,JSON文本中的第1行用于描述该测量任务的测量任务唯一标识符;第2行描述测量任务下发的唯一标识符,由于一个测量任务可能存在多次下发,该标识符用于追溯下发情况;第4行描述测量目标标识符,用于关联一组测量目标的集合;第6-20行用于描述具体的测量目标参数;第21行描述测量节点标识符,用于关联一组测量节点的集合;第22-37行描述具体的测量工具参数的具体参数;第38行用于描述周期性任务的执行参数;第39行用于描述测量任务执行超时时间;第40行用于描述测量任务失败重试次数;第41行用于描述当前测量类型,包括周期测量、非周期测量、停止测量三种方式;第42行描述测量任务的具体下发时间。
本发明较佳实施例所述的网络测量方法,如图3所示,所述网络测量方法应用于网络测量系统,该网络测量系统包括测量管理服务器和多个测量节点。其中,测量管理服务器执行该网络测量方法,具体包括以下步骤:
步骤S100,获取待执行的测量任务。
本实施例中,用户先根据终端等方式,向测量管理服务器发送下发测量任务请求。该下发测量任务请求中包括多个测量参数,例如测量节点参数、测量目标参数、测量工具参数、测量类型参数、测量操作参数。
其中,测量目标参数是指用户期望进行测量的网站的目标参数,一般以该网站的互联网协议地址(Internet Protocol Address,IP地址)作为具体的参数。测量节点参数是指用户希望后续对测量目标进行测量的目标测量节点的节点参数,例如该目标测量节点的地址。测量工具参数是指用户希望后续进行测量的工具的测量工具参数数据包。测量类型参数是指需要执行测量的类型,包括周期测量、普通测量和停止测量。测量操作参数包括重试次数,超时时间,若测量类型为周期测量,测量操作参数还包括周期时长。
此外,用户输入的测量节点参数和测量目标参数所对应的可为单个测量节点或测量目标,也可为多个测量节点集合所对应的参数,以及多个测量目标集合所对应的参数。例如测量参数的形式是数组形式,当测量节点参数所对应的是一个测量节点的节点参数,则该数组中只有一个数值;当测量节点参数对应的是多个测量节点的节点参数,则该数组中存在多个数值。
此外,测量管理服务器还可接收存储配置信息请求,存储配置信息请求也包含多个配置参数,但一般存储配置信息请求仅包含测量工具参数、测量操作参数等,不包含测量节点参数和测量目标参数,该请求主要供测量管理服务器将测量参数保存至数据服务器。
步骤S200,根据所述测量参数,确定所述测量参数对应的测量标识符。
具体地,测量管理服务器获取测量任务后,生成每一个测量参数对应的测量标识符。在本实施例中,所述测量标识符包括与所述测量目标参数对应的测量目标标识符、与所述测量节点参数对应的测量节点标识符、与所述测量工具参数对应的测量工具参数标识符、与所述测量类型参数对应的测量类型标识符和与所述测量操作参数对应的测量操作标识符。
生成测量参数对应的测量标识符的方式包括很多种,本实施例提供两种方式。
在第一种生成方式中,测量管理服务器预先在本地或连接的数据服务器中存储标识符库,该标识符库中包括多种不同类型的参数标识符子库。每个参数标识符子库中包括多个参数、以及各个参数对应的标识符。例如测量目标参数为网站A的地址,将网站A的地址与该标识符库中测量目标标识符子库进行匹配,当匹配成功,则将匹配的参数所对应的标识符作为以网站A作为测量目标参数所对应的测量目标标识符。当匹配失败,则在该参数标识符子库原有的标识符基础上,生成与该参数标识符子库中其他标识符不同的标识符,将其与该测量目标参数进行匹配并存储至本地或数据服务器中,新生成的标识符即为该测量目标参数对应的测量目标标识符。
在第二种生成方式中,测量管理服务器每次接收到测量参数,针对每一个测量参数,都生成与其对应的测量标识符。然后将测量参数,以及测量参数和测量标识符之间的参数映射关系发送至数据服务器。
步骤S300,根据所述测量标识符,生成与所述测量任务对应的命令字符串。
具体地,得到测量标识符后,测量管理服务器可生成对应的命令字符串。生成的一种方式是将各个测量标识符按照一定顺序排列,可生成与该测量任务对应的命令字符串。此外,还可采用预先设定不同的测量标识符对应的数值长度,例如测量目标标识符对应的测量标识符为8位数,测量类型参数对应的测量标识符 为2位数。
步骤S400,根据所述测量参数中的测量节点参数,将所述命令字符串发送至与所述测量节点对应的目标测量节点,以供所述目标测量节点根据所述命令字符串,从所述数据服务器获取对应的测量参数并进行网络测量。
具体地,测量参数中包括测量节点参数,本实施例中,测量节点参数为目标测量节点的地址。因此,测量管理服务器生成命令字符串后,可根据测量节点参数,将命令字符串发送至目标测量节点。只要测量管理服务器和测量节点对命令字符串的格式进行协定,测量节点即可解析命令字符串,并得到各个测量标识符。由于本实施例中,数据服务器存储有测量参数、以及测量参数和测量标识符之间的参数映射关系,因此测量节点得到命令字符串后,可根据所述命令字符串中的各个测量标识符,从数据服务器中查找并获取对应的测量参数。最后测量节点根据这些测量参数,对测量参数中测量目标参数所对应的测量目标进行测量。
进一步地,如图4所示,基于上述网络测量方法,本发明还相应提供了一种测量管理服务器,所述测量管理服务器包括处理器10、存储器20及显示器30。图4仅示出了测量管理服务器的部分组件,但是应理解的是,并不要求实施所有示出的组件,可以替代的实施更多或者更少的组件。
所述存储器20在一些实施例中可以是所述测量管理服务器的内部存储单元,例如测量管理服务器的硬盘或内存。所述存储器20在另一些实施例中也可以是所述测量管理服务器的外部存储设备,例如所述测量管理服务器上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器20还可以既包括所述测量管理服务器的内部存储单元也包括外部存储设备。所述存储器20用于存储安装于所述测量管理服务器的应用软件及各类数据,例如所述安装测量管理服务器的程序代码等。所述存储器20还可以用于暂时地存储已经输出或者将要输出的数据。在一实施例中,存储器20上存储有网络测量程序40,该网络测量程序40可被处理器10所执行,从而实现本申请中网络测量方法。
所述处理器10在一些实施例中可以是一中央处理器(Central Processing Unit,CPU),微处理器或其他数据处理芯片,用于运行所述存储器20中存储的程序代码或处理数据,例如执行所述网络测量方法等。
所述显示器30在一些实施例中可以是LED显示器、液晶显示器、触控式液晶显示器以及OLED(Organic Light-Emitting Diode,有机发光二极管)触摸器等。所述显示器30用于显示在所述测量管理服务器的信息以及用于显示可视化的用户界面。所述测量管理服务器的部件10-30通过系统总线相互通信。
在一实施例中,当处理器10执行所述存储器20中网络测量程序40时实现以下步骤:
获取待执行的测量任务,其中,所述测量任务包括多个测量参数;
根据所述测量参数,确定所述测量参数对应的测量标识符,并将所述测量参数、以及所述测量参数和所述测量标识符之间的参数映射关系存储至预先连接的数据服务器中;
根据所述测量标识符,生成与所述测量任务对应的命令字符串,其中,所述命令字符串包括所述测量标识符;
根据所述测量参数中的测量节点参数,将所述命令字符串发送至与所述测量节点参数对应的测量节点,以供所述测量节点根据所述命令字符串,从所述数据服务器获取对应的测量参数并进行网络测量。
本发明还提供一种存储介质,其中,所述存储介质存储有网络测量程序,所述网络测量程序被处理器执行时实现如上所述的网络测量方法的步骤。
进一步地,如图5所示,本发明还提供一种网络测量系统,所述网络测量系统包括数据服务器、若干个测量节点和上述测量管理服务器。
其中,各个所述测量节点与所述数据服务器和所述测量管理服务器之间通讯连接,所述数据服务器和所述测量管理服务器之间通讯连接;
所述数据服务器用于存储所述测量参数、所述测量参数和所述测量标识符之间的参数映射关系;
所述测量节点用于当接收到所述命令字符串时,根据所述命令字符串参数,从所述数据服务器获取对应的测量参数;以及
根据所述测量参数,对测量目标进行网络测量。
具体地,基于上述网络测量方法,本实施例提供一个网络测量系统,如图该网络测量系统包括数据服务器、若干个测量节点和测量管理服务器。
用户发送下发测量任务请求至测量管理服务器。测量管理服务器执行上述网 络测量方法,将测量参数、以及所述测量参数和所述测量标识符之间的参数映射关系存储至该数据服务器中。
当测量管理服务器生成命令字符串后,将所述命令字符串发送至测量节点。当接收到所述命令字符串时,测量节点根据所述命令字符串以及存储于数据服务器的参数映射关系,从所述数据服务器中获取对应的测量参数至该测量节点。最后测量节点根据所述测量参数,对测量目标进行网络测量。
进一步地,测量管理服务器负有生成测量标识符以及生成命令字符串的作用,为分担工作压力,提高效率,如图6所示,本实施例中所述测量管理服务器包括下发模块、管理子服务器和命令子服务器;
其中,所述下发模块用于获取待执行的测量任务,其中,所述测量任务包括多个测量参数;
所述管理子服务器用于根据所述测量参数,生成对应的测量文本并发送至所述命令子服务器,其中,所述测量文本包括所述测量参数对应的测量标识符;以及
将所述测量参数,以及所述测量参数和所述测量标识符之间的参数映射关系发送至所述数据服务器,以供所述数据服务器存储。
具体地,测量管理服务器中的下发模块先获取包括多个测量参数的测量任务。所述管理子服务器根据各个测量参数,生成对应的测量标识符。生成方式可与上述网络测量方法中生成方式类似,在此不再赘述。参阅图7,根据所述测量参数的类型,将所述测量标识符写入预设的模板文件中,生成与所述测量任务对应的测量文本。图中的各个测量标识符之前的字符串代表该测量标识符所对应的测量参数类型,其中,“taskId”表示测量操作标识符,“workGroup”表示测量节点标识符,“tools”表示测量工具参数标识符,“taskOrder”表示测量类型标识符,“pushTime”表示推送时间,“targetGroup”表示测量目标标识符。其中推送时间可根据测量文本生成时间写入。此外,在确定测量标识符与测量参数之间的参数映射关系后,测量管理服务器将所述测量参数,以及所述测量参数和所述测量标识符之间的参数映射关系发送至所述数据服务器,以供所述数据服务器存储。
所述测量管理服务器中的命令子服务器用于当接收所述测量文本时,根据所述测量文本,生成对应的命令字符串并发送至测量节点。
进一步地,所述测量参数包括测量目标参数、测量节点参数、测量工具参数、测量类型参数和测量操作参数;所述测量标识符包括与所述测量目标参数对应的测量目标标识符、与所述测量节点参数对应的测量节点标识符、与所述测量工具参数对应的测量工具参数标识符、与所述测量类型参数对应的测量类型标识符和与所述测量操作参数对应的测量操作标识符。
进一步地,由于测量文本仍然是JSON格式的文本文件,为进一步精简下发至测量节点的数据的大小,命令子服务器接收管理子服务器发送的测量文本后,将其精简为命令字符串并发送至测量节点。除如上网络测量方法中生成命令字符串的方式,还提供另一种命令字符串的生成方式,具体步骤如下:
根据所述测量节点标识符,从所述数据服务器获取测量节点参数;
当检测到所述测量节点参数时,根据所述测量节点参数,生成各个测量节点对应的命令标识符;
根据预设的命令字符串格式,将所述命令标识符,以及所述测量参数中的测量工具参数标识符、测量目标标识符、测量类型标识符和测量操作标识符写入预设的模板字符串中,生成各个目标测量节点对应的命令字符串并发送至所述目标测量节点。
具体地,命令子服务器接收到测量文本后,根据测量文本中的测量节点标识符,从数据服务器获取测量节点参数。本实施例中,测量节点参数包括多个测量节点的节点参数,数据服务器可以列表的形式存储多个测量节点的节点参数,因此命令子服务器最后得到存储测量节点参数的测量节点列表。
命令子服务器根据测量节点参数中各个测量节点的节点参数,生成对应的命令标识符。命令标识符是用于标记各个命令字符串,测量文本、测量时间以及测量节点的不同,命令标识符都不相同,因此命令标识符具有唯一性,可用于追溯各个测量结果。
参阅图8,命令字符串可主要分为测量操作块、测量目标块、测量工具参数块和测量类型块四个数据区域。其中,测量操作块存储测量操作标识符、测量目标块存储测量目标标识符、测量工具参数块存储测量工具参数标识符、测量类型块存储测量类型标识符。在本实施例中,由于测量服务器中的测量工具参数为多个,因此测量工具参数块中可包括多个测量工具参数标识符。
为节省命令字符串的大小,本实施例还提供一种命令字符串的模板字符串,不同的数据区域采用“|”分隔,同一区域内多个标识符用“&”分隔。该模板字符串具体为:“|命令标识符|测量操作标识符|测量目标标识符|测量工具参数标识符数量&测量工具参数标识符1&测量工具参数标识符2&…&测量工具参数标识符3|测量类型标识符|下发时间<CR>”,其中,测量操作标识符采用8位数字,当测量管理服务器生成的测量操作标识符不足8位时,通过在左侧补0,保证测量操作标识符为8位数字。同理,测量工具参数标识符为2位数字,不足2位时,左侧补0保证2位数字。下发时间可以时间戳的形式,从而提高精确度和安全性。测量类型标识符可取值为1、2和3,其中1是周期执行;2是普通执行;3是停止。最后用“<CR>”表示该命令文本的终止。例如生成的命令字符串为“123124|00000053|00000029|2&14&12|1|1587527682<CR>”。
为了减少宽带占用,对测量目标进行网络测量结束后,所述测量节点将所述测量参数和所述命令字符串删除。
测量节点接收到命令标识符后,对其进行解析,得到多个测量参数标识符。测量节点接收到的测量参数可能是一个接一个的,也可能是在一个命令字符串对应的测量任务还未结束时,接收到另一个命令字符串。在后一种情形中,不同命令字符串对应的测量工具参数一样。由于测量目标参数、测量操作参数和测量类型参数的数据都较小,因此测量节点直接获取并不占用太多宽带。但是测量工具参数一般较大,例如测量工具参数ping命令解析工具pingparsing和基于TCP(Transmission Control Protocol,传输控制协议)的检测丢包、乱序、时延工具tcpprobe,前者是用来解析ping命令,后者在对检测对象进行TCP层面检测及分析网络丢包、乱序、延时情况。因此,若测量节点每获取一个命令字符串,都从数据服务器中获取测量工具参数,造成一定的资源浪费。因此,在本实施例中,所述测量节点根据所述命令字符串生成测量参数请求并发送至所述数据服务器过程中,还包括:
当所述测量标识符为测量工具参数标识符时,将所述测量工具参数标识符与比对标识符进行匹配,其中,所述比对标识符为比对字符串中的测量工具标识符,所述比对字符串为网络测量未结束的命令字符串;
当匹配成功时,确定与所述比对标识符对应的测试工具参数作为测量工具参 数;
当匹配失败时,根据所述测量工具参数标识符,从所述数据服务器获取与所述测量工具参数对应的测量工具参数。
具体地,在本实施例中,当测量节点得到某一命令字符串时,对其进行解析,并获取对应的测量参数进行网络测量。若此次网络测量所需要的时间较长,例如测量目标数量较多、测量类型参数为周期测量,由于测量节点只有在网络测量结束后才将相关的数据删除,因此该命令字符串将会保存在本地。若此时,测量节点又得到另一个命令字符串,为方便区分,前一命令字符串为命令字符串A,后一命令字符串为命令字符串B,对命令字符串B进行解析后,将其中的测量工具标识符与命令字符串A中的测量工具标识符,也就是比对标识符进行匹配。
若匹配成功,则说明测量节点目前还保存有该测量工具标识符对应的测量工具参数,为将测量节点保存的测量工具参数与数据服务器下发的测量工具参数区分,测量节点本地保存的测量工具参数命名为测试工具参数。因此,根据比对标识符与测试工具参数之间的对应关系,确定与测量工具标识符对应的测试工具参数作为测量工具参数。此外,测量节点再根据命令字符串B中的其他测量标识符,从数据服务器中获取对应的测量参数以进行网络测量。
若匹配失败,则说明测量节点目前并未保存该测量工具标识符对应的测量工具参数,因此,根据各个测量标识符,从数据服务器中获取与其对应的测量参数,以进行网络测量。
进一步地,当测量类型标识符所对应的测量类型为周期测量时,测量节点根据所述测量操作标识符所生成的测量参数请求中,除常规的测量操作中的超时时间和重复次数外,还包括周期参数。此外,若测量类型为周期测量,测量节点获取测量工具参数后,还会将该测量工具参数作为测试工具保存至本地。
当然,本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关硬件(如处理器,控制器等)来完成,所述的程序可存储于一计算机可读取的存储介质中,所述程序在执行时可包括如上述各方法实施例的流程。其中所述的存储介质可为存储器、磁碟、光盘等。
应当理解的是,本发明的应用不限于上述的举例,对本领域普通技术人员来说,可以根据上述说明加以改进或变换,所有这些改进和变换都应属于本发明所 附权利要求的保护范围。

Claims (10)

  1. 一种网络测量方法,其特征在于,所述网络测量方法包括:
    获取待执行的测量任务,其中,所述测量任务包括多个测量参数;
    根据所述测量参数,确定所述测量参数对应的测量标识符,并将所述测量参数、以及所述测量参数和所述测量标识符之间的参数映射关系存储至预先连接的数据服务器中;
    根据所述测量标识符,生成与所述测量任务对应的命令字符串,其中,所述命令字符串包括所述测量标识符;
    根据所述测量参数中的测量节点参数,将所述命令字符串发送至与所述测量节点参数对应的测量节点,以供所述测量节点根据所述命令字符串,从所述数据服务器获取对应的测量参数并进行网络测量。
  2. 一种测量管理服务器,其特征在于,所述测量管理服务器包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的网络测量程序,所述网络测量程序被所述处理器执行时实现如权利要求1所述的网络测量方法的步骤。
  3. 一种存储介质,其特征在于,所述存储介质存储有网络测量程序,所述网络测量程序被处理器执行时实现如权利要求1所述的网络测量方法的步骤。
  4. 一种网络测量系统,其特征在于,所述网络测量系统包括数据服务器、若干个测量节点和如权利要求2所述的测量管理服务器;
    其中,各个所述测量节点与所述数据服务器和所述测量管理服务器之间通讯连接,所述数据服务器和所述测量管理服务器之间通讯连接;
    所述数据服务器用于存储所述测量参数、所述测量参数和所述测量标识符之间的参数映射关系;
    所述测量节点用于当接收到所述命令字符串时,根据所述命令字符串,从所述数据服务器获取对应的测量参数;以及
    根据所述测量参数,对测量目标进行网络测量。
  5. 根据权利要求4所述的网络测量系统,其特征在于,所述测量管理服务器包括下发模块、管理子服务器和命令子服务器;
    其中,所述下发模块用于获取待执行的测量任务,其中,所述测量任务包括多个测量参数;
    所述管理子服务器用于根据所述测量参数,生成对应的测量文本并发送至所 述命令子服务器,其中,所述测量文本包括所述测量参数对应的测量标识符;以及
    将所述测量参数,以及所述测量参数和所述测量标识符之间的参数映射关系发送至所述数据服务器,以供所述数据服务器存储;
    所述命令子服务器用于当接收所述测量文本时,根据所述测量文本,生成对应的命令字符串并发送至所述测量节点。
  6. 根据权利要求5所述的网络测量系统,其特征在于,所述根据所述测量参数,生成对应的测量文本并发送至所述命令子服务器,具体包括:
    根据所述测量参数,生成对应的测量标识符;
    根据所述测量参数的类型,将所述测量标识符写入预设的模板文件中,生成与所述测量任务对应的测量文本。
  7. 根据权利要求5所述的网络测量系统,其特征在于,所述测量参数还包括测量目标参数、测量工具参数、测量类型参数和测量操作参数;
    所述测量标识符包括与所述测量目标参数对应的测量目标标识符、与所述测量节点参数对应的测量节点标识符、与所述测量工具参数对应的测量工具参数标识符、与所述测量类型参数对应的测量类型标识符和与所述测量操作参数对应的测量操作标识符。
  8. 根据权利要求7所述的网络测量系统,其特征在于,所述根据所述测量文本,生成对应的命令字符串并发送至测量节点,具体包括:
    根据所述测量节点标识符,从所述数据服务器获取测量节点参数;
    当检测到所述参数测量节点参数时,根据所述测量节点参数,生成对应的命令标识符;
    根据预设的命令字符串格式,将所述命令标识符、所述测量工具参数标识符、所述测量目标标识符、所述测量类型标识符和所述测量操作标识符写入预设的模板字符串中,生成所述测量节点参数对应的命令字符串并发送至对应的测量节点。
  9. 根据权利要求7所述的网络测量系统,其特征在于,所述测量节点还用于:
    对测量目标进行网络测量结束后,将所述测量参数和所述命令字符串删除。
  10. 根据权利要求9所述的网络测量系统,其特征在于,所述根据所述命令字符串,从所述数据服务器获取对应的测量参数包括:
    当所述测量标识符为测量工具参数标识符时,将所述测量工具参数标识符与本地保存的比对标识符进行匹配,其中,所述比对标识符为比对字符串中的测量工具标识符,所述比对字符串为网络测量未结束的命令字符串;
    当匹配成功时,确定与所述比对标识符对应的测试工具参数作为测量工具参数;
    当匹配失败时,根据所述测量工具参数标识符,从所述数据服务器获取与所述测量工具参数对应的测量工具参数。
PCT/CN2021/104569 2020-11-02 2021-07-05 一种网络测量方法、测量管理服务器、系统及存储介质 WO2022088742A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011204971.X 2020-11-02
CN202011204971.XA CN112564999A (zh) 2020-11-02 2020-11-02 一种网络测量方法、测量管理服务器、系统及存储介质

Publications (1)

Publication Number Publication Date
WO2022088742A1 true WO2022088742A1 (zh) 2022-05-05

Family

ID=75041642

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/104569 WO2022088742A1 (zh) 2020-11-02 2021-07-05 一种网络测量方法、测量管理服务器、系统及存储介质

Country Status (2)

Country Link
CN (1) CN112564999A (zh)
WO (1) WO2022088742A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112564999A (zh) * 2020-11-02 2021-03-26 鹏城实验室 一种网络测量方法、测量管理服务器、系统及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050005004A1 (en) * 2002-10-03 2005-01-06 Hitachi, Ltd. Network measurement configuration apparatus
CN101072130A (zh) * 2006-05-12 2007-11-14 华为技术有限公司 网络性能测量方法和系统
US20170262460A1 (en) * 2016-03-14 2017-09-14 Airmagnet, Inc. System and method to configure distributed measuring devices and treat measurement data
CN109218133A (zh) * 2018-09-27 2019-01-15 深圳市网心科技有限公司 网络速度测试系统、方法、装置及计算机可读存储介质
CN112564999A (zh) * 2020-11-02 2021-03-26 鹏城实验室 一种网络测量方法、测量管理服务器、系统及存储介质

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183973A (zh) * 2007-12-06 2008-05-21 中兴通讯股份有限公司 一种分布式系统中命令行配置下发的实现方法
CN106776277A (zh) * 2016-11-18 2017-05-31 乐视控股(北京)有限公司 一种跨进程测试的方法、装置及电子设备
CN109873731B (zh) * 2017-12-05 2021-04-30 北京京东尚科信息技术有限公司 测试方法、装置和系统
US20200106773A1 (en) * 2018-09-29 2020-04-02 Fortinet, Inc. Device integration for a network access control server based on device mappings and testing verification
CN110730111A (zh) * 2019-10-23 2020-01-24 北京锐安科技有限公司 一种网络质量监测方法、装置、服务器及介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050005004A1 (en) * 2002-10-03 2005-01-06 Hitachi, Ltd. Network measurement configuration apparatus
CN101072130A (zh) * 2006-05-12 2007-11-14 华为技术有限公司 网络性能测量方法和系统
US20170262460A1 (en) * 2016-03-14 2017-09-14 Airmagnet, Inc. System and method to configure distributed measuring devices and treat measurement data
CN109218133A (zh) * 2018-09-27 2019-01-15 深圳市网心科技有限公司 网络速度测试系统、方法、装置及计算机可读存储介质
CN112564999A (zh) * 2020-11-02 2021-03-26 鹏城实验室 一种网络测量方法、测量管理服务器、系统及存储介质

Also Published As

Publication number Publication date
CN112564999A (zh) 2021-03-26

Similar Documents

Publication Publication Date Title
US9329881B2 (en) Optimized deployment of data services on the cloud
US20160034582A1 (en) Computing device and method for executing database operation command
WO2023109138A1 (zh) Linux系统中启动安卓应用的方法、装置和电子设备
WO2019227883A1 (zh) 地址转换方法、装置及系统
US20120072575A1 (en) Methods and computer program products for aggregating network application performance metrics by process pool
CN111930489B (zh) 一种任务调度方法、装置、设备及存储介质
CN111737564B (zh) 一种信息查询方法、装置、设备及介质
WO2017161956A1 (zh) 一种数据库扩展系统、设备和用于扩展数据库的方法
WO2022088742A1 (zh) 一种网络测量方法、测量管理服务器、系统及存储介质
WO2019024235A1 (zh) 电子装置、服务器分配控制方法和计算机可读存储介质
CN110929128A (zh) 一种数据爬取方法、装置、设备和介质
CN113890879A (zh) 数据访问的负载均衡方法、装置、计算机设备及介质
CN112738294A (zh) 基于区块链的域名解析方法、装置、电子设备和存储介质
CN108763524B (zh) 电子装置、聊天数据处理方法和计算机可读存储介质
CN113271359A (zh) 刷新缓存数据的方法、装置、电子设备和存储介质
WO2021093674A1 (zh) 工作流系统中的bi节点执行方法、装置、设备及计算机可读存储介质
US9189299B2 (en) Framework for system communication for handling data
US20230089710A1 (en) Data request server code and configuration file deployment
WO2021174791A1 (zh) 任务迁移方法、装置、电子设备及存储介质
CN110930011B (zh) 一种工单管控系统、方法、及电子设备和存储介质
CN112165527A (zh) 文件分发方法、文件分发装置和电子设备
CN113190237A (zh) 数据处理方法、系统和装置
CN113760986A (zh) 一种数据查询方法、装置、设备及存储介质
CN113761419A (zh) 拓扑信息的显示方法、装置、电子设备及存储介质
TWI444824B (zh) 虛擬機器記憶體的鑑識方法與電腦系統

Legal Events

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

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21884481

Country of ref document: EP

Kind code of ref document: A1