CN111741490A - Performance test method and system of multi-hop service network - Google Patents

Performance test method and system of multi-hop service network Download PDF

Info

Publication number
CN111741490A
CN111741490A CN202010531555.4A CN202010531555A CN111741490A CN 111741490 A CN111741490 A CN 111741490A CN 202010531555 A CN202010531555 A CN 202010531555A CN 111741490 A CN111741490 A CN 111741490A
Authority
CN
China
Prior art keywords
information
confirmation information
test
switch
testing
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.)
Pending
Application number
CN202010531555.4A
Other languages
Chinese (zh)
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.)
Panchip Microelectronics Co ltd
Original Assignee
Panchip Microelectronics 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 Panchip Microelectronics Co ltd filed Critical Panchip Microelectronics Co ltd
Priority to CN202010531555.4A priority Critical patent/CN111741490A/en
Publication of CN111741490A publication Critical patent/CN111741490A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/10Monitoring; Testing of transmitters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/20Monitoring; Testing of receivers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to the field of multi-hop service network testing, in particular to a performance testing method and system of a multi-hop service network. The method comprises the following steps: step S1, presetting the testing parameters of the testing end and sending a plurality of switching messages according to the testing parameters; step S2, the user side receives all the switching messages and respectively sends the switching messages to the corresponding service devices; step S3, the service equipment receives the switching message and confirms, generates confirmation information and sends the confirmation information to the user side; step S4, the user end receives all the confirmation information and sends the confirmation information to the testing end; and step S5, the test terminal receives and processes all the confirmation information to generate a test result. The technical scheme has the following advantages or beneficial effects: the performance test method and system for the multi-hop service network can quickly obtain the performance test result of the network and simplify the test steps of operators.

Description

Performance test method and system of multi-hop service network
Technical Field
The invention relates to the field of multi-hop service network testing, in particular to a performance testing method and system of a multi-hop service network.
Background
The networking technology of the multi-hop service network can connect network equipment nodes in a certain area, and has many performance indexes influencing the multi-hop service network, besides factors influencing the Bluetooth transmitting power, the Bluetooth receiving sensitivity, the Bluetooth transmitting quality, the central frequency offset, the modulation frequency offset and the like of the equipment nodes and guaranteed by the performance of a chip, the networking technology also comprises some characteristics of the multi-hop network technology, mainly the number of the nodes of the multi-hop service network, the connection distance of the network nodes, the packet loss rate, the packet delay and the like.
Factors that are guaranteed by the performance of the chip itself can be measured by specific instruments, such as a spectrometer, an oscilloscope, etc. As for the characteristics of the multi-hop service network technology, the multi-hop service network products developed by various manufacturers are also diversified, and the existing test scheme for the multi-hop service network does not have a unified standard, which brings certain trouble for operators to test and acquire the performance state of the multi-hop service network.
Disclosure of Invention
In view of the above problems in the prior art, a method and a system for testing the performance of a multi-hop service network are provided.
A performance test method of a multi-hop service network is characterized in that the method is used for a multi-hop network test system, and the multi-hop network test system comprises a test end, a user end and a plurality of service devices;
the method comprises the following steps:
step S1, presetting the testing parameters of the testing end and sending a plurality of switch information by the testing parameters
Step S2, the user side receives all the switch information and respectively sends the switch information to the corresponding service equipment;
step S3, the service equipment receives the switch information and confirms, generates confirmation information and sends the confirmation information to the user side;
step S4, the user end receives all the confirmation information and sends the confirmation information to the testing end;
and step S5, the test terminal receives and processes all the confirmation information to generate a test result.
Preferably, the test parameters include one or more combinations of physical packet number, bluetooth receiving window and bluetooth transmitting power.
Preferably, in step S2, when the user end receives the switch information, a corresponding first receiving time is recorded;
preferably, the step S4 includes:
step S41, the user side receives the confirmation information and records a corresponding second receiving time;
step S42, the user terminal generates packet delay information according to the first receiving time and the second receiving time, and sends the packet delay information to the testing terminal after the packet delay information is included in the confirmation information.
Preferably, the acknowledgement information further includes address information of the service device.
Preferably, a switch is arranged on the service equipment;
in step S3, when the service device receives the switch information, the switch is controlled according to the switch information.
Preferably, in step S5, the testing end further generates distance information according to the distance between the user end and the service device.
A performance testing system, applied to a performance testing method of a multi-hop service network as described in any one of the above, includes:
the test terminal is used for sending a plurality of switch messages and receiving a plurality of confirmation messages;
the user terminal is connected with the test terminal and used for receiving all the switch information and all the confirmation information;
and the service equipment is connected with the user side and is used for respectively receiving the switching information, confirming and generating corresponding confirmation information and outputting the confirmation information to the user side.
Preferably, a relay node is further disposed between the user side and the service node.
The technical scheme has the following advantages or beneficial effects: the performance test method and system for the multi-hop service network can quickly obtain the performance test result of the network and simplify the test steps of operators.
Drawings
FIG. 1 is a schematic general flow chart of a preferred embodiment of the present invention;
FIG. 2 is a flowchart of step S4 in a preferred embodiment of the present invention;
FIG. 3 is a diagram illustrating the transmission of switch information in the multi-hop network test system according to a preferred embodiment of the present invention;
fig. 4 is a diagram illustrating reception confirmation information in a multi-hop network test system according to a preferred embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict.
The invention is further described with reference to the following drawings and specific examples, which are not intended to be limiting.
A performance test method of a multi-hop service network is disclosed, as shown in FIG. 1, and is used for a multi-hop network test system, wherein the multi-hop network test system comprises a test terminal, a user terminal and a plurality of service devices;
the method comprises the following steps:
step S1, presetting the testing parameters of the testing terminal and sending a plurality of switch information by the testing parameters
Step S2, the user end receives all the switch information and sends the switch information to the corresponding service equipment;
step S3, the service equipment receives the switch information and confirms, generates confirmation information and sends the confirmation information to the user terminal;
step S4, the user end receives all the confirmation information and sends the confirmation information to the testing end;
and step S5, the test end receives and processes all the confirmation information to generate a test result.
Specifically, in order to achieve the purposes of rapidly obtaining a performance test result of the network and simplifying test steps of an operator, a test end and test parameters are preset and configured, and the test end can be developed by using tools such as QT.
It should be noted that QT is a development tool for a cross-platform GUI application, and can be used for developing GUI programs as well as non-GUI programs.
The testing end communicates with the user end through the serial port and the Bluetooth mesh dongle, the testing end sends switch information to the user end at regular time in step S1, and then the user end receives the switch information of the serial port sent by the testing end in steps S2-S3, and can send the switch information to the service equipment in the multi-hop service network through the switch information, and the service equipment can reply a confirmation message after receiving the switch information. Subsequently, in steps S4-S5, the user side receives the confirmation message and sends the confirmation message to the testing side, and since the multi-hop service network has a plurality of service devices, the present invention is used for detecting the confirmation information of each service node in the multi-hop service network, that is, the corresponding service device, so as to obtain the performance test result, and finally obtain the overall performance state of the multi-hop service network.
In a preferred embodiment of the present invention, the test parameters include one or more combinations of physical packet number, bluetooth receive window, and bluetooth transmit power.
Specifically, the test terminal herein operates in an initial state with preset test parameters, where the test parameters include the number of physical packets, the bluetooth receiving window, and the bluetooth transmitting power.
When the test end runs, the test parameters can be adjusted according to the running state of the multi-hop service network and the number of the devices at the moment so as to be adjusted to be matched with the optimal parameter values of the current multi-hop service network, so that the confirmation information can be quickly and comprehensively obtained, and the accurate performance test result can be obtained.
In a preferred embodiment of the present invention, in step S2, when the user terminal receives the switch information, the corresponding first receiving time is recorded;
in a preferred embodiment of the present invention, step S4, as shown in fig. 2, includes:
step S41, the user end receives the confirmation information and records the corresponding second receiving time;
in step S42, the ue generates packet delay information according to the first receiving time and the second receiving time, and sends the packet delay information to the testing terminal with the packet delay information included in the confirmation information.
Specifically, in the performance state of the multihop service network, the transceiving delay of the data packet is also a very important performance parameter, so that the client generates a corresponding first receiving time when receiving the switch information, and then after distributing the switch information to the service device to generate the confirmation information, the client receives the confirmation information and generates a corresponding second receiving time, calculates a time difference between the first receiving time and the second receiving time, obtains the packet delay information and includes the packet delay information in the confirmation information, and sends the packet delay information to the test terminal, and the test terminal can generate a more accurate and comprehensive performance test result according to the packet delay information when receiving the confirmation information.
Further, in the process of obtaining the performance test result, the test end may further analyze the number of pieces of sending switch information, the number of pieces of receiving confirmation information, the current delay information, the average delay time, the minimum delay time, the maximum delay time of the test end, and the state parameter of the service device to obtain a more accurate and comprehensive performance test result.
In a preferred embodiment of the present invention, the acknowledgment information further includes address information of the service device.
Specifically, in order to accurately obtain the state parameter of each service device, when the user side receives the confirmation information of the service device, the address information of the service device is also included in the confirmation information and is sent to the test side together with the confirmation information.
In a preferred embodiment of the present invention, a switch is provided on the service device;
in step S3, when the service device receives the switch information, the switch is controlled based on the switch information.
Specifically, in order to facilitate an operator to quickly obtain the performance state of the service device, a switch may be disposed on the service device, the switch is controlled according to the switch information when the service device receives the switch information, and the test end may quickly determine the performance state of the service device by obtaining the state of the switch.
In a preferred embodiment of the present invention, in step S5, the test end further generates distance information according to the distance between the user end and the service device.
Specifically, the farthest connection distance of the multi-hop service network will affect the equipment laying and information transmission during actual operation, and in order to obtain the farthest connection distance, the test end may generate corresponding distance information according to the distances between the user side and all the service equipment, analyze the distance information one by one, and finally obtain the farthest connection distance at this time.
Further, in actual operation, the distance between the remote service device and the user side can be manually adjusted, and the farthest connection distance can be obtained according to the confirmation information.
A performance testing system is applied to a performance testing method of a multi-hop service network, and comprises the following steps:
the testing end is used for sending a plurality of switching messages and receiving a plurality of confirmation messages at regular time;
the user terminal is connected with the test terminal and used for receiving all the switch information and all the confirmation information;
and the service equipment is connected with the user side and used for respectively receiving the switching information, confirming and generating corresponding confirmation information and outputting the confirmation information to the user side.
Specifically, the performance test system comprises a test end, a user end and a plurality of service devices, wherein the test end is connected with the user end and sends switch information to the user end at regular time, the user end is connected with the service devices and transmits the switch information to the service devices, the service devices determine to generate confirmation information according to the switch information and send the confirmation information to the user end, the user end returns the confirmation information to the test end, and the test end performs analysis processing according to the received confirmation information to generate a performance test result so that an operator can check the performance state of the multi-hop service network at the moment.
In a preferred embodiment of the present invention, a relay node is further disposed between the user side and the service device.
Specifically, to obtain the performance status between the service devices, relay nodes may be further disposed between the user end and the service devices, and each relay node may serve the performance status between the service devices for a part of the service devices.
In a preferred embodiment of the present invention, steps S1-S5 are performed once in the multi-hop network test system to record the operation process of a data packet, and steps S1-S3 are first performed, that is, the test terminal sends the switch information, and the service device performs the process of generating the confirmation information from the switch information. Wherein, as shown in fig. 3:
inside the testing end, the following steps are always executed:
step A1, the test end sends the switch information corresponding to the service device through the serial port;
step A2, the test end judges whether receives the command of ending the timing switch information:
if yes, ending, and then exiting the step;
if not, go to step A1.
The following steps are always executed inside the user side:
step B1, the user side judges whether the switch information sent by the test side is received through serial port interruption:
if so, sending switch information to corresponding service equipment through a network provider mode (mesh vendor model);
if not, executing other tasks, and then exiting the step.
Inside the service device, the following steps are always executed:
step C1, the service device determines whether the switch information sent by the user terminal is received through bluetooth interruption:
if yes, go to step C2;
if not, go to step C4;
step C2, controlling the on-off state of the lamp of the network encryptor (mesh dongle) according to the switch information;
step C3, performing confirmation and generating confirmation information;
step C4, perform other tasks, and then exit the step.
Then, steps S3-S5 are executed, i.e., the service device sends the confirmation information, and the test end receives the process confirmation information to generate the performance test result. Among them, as shown in fig. 4:
inside the service device, the following steps are always executed:
step C5, the service device sends the confirmation message to the user end through the network provider mode (mesh vendor model), and then exits the step.
The following steps are always executed inside the user side:
step B2, the user side determines whether receiving the confirmation information sent by the service device through bluetooth interruption:
if yes, replying confirmation information corresponding to the service equipment to the test terminal through the serial port;
if not, executing other tasks, and then exiting the step.
Inside the testing end, the following steps are always executed:
step a3, the test end determines whether confirmation information is received:
if yes, displaying the confirmation information on a UI display interface of the testing end, and then turning to the step A1;
if not, go to step A4;
and step A4, recording the packet loss as one time by the test end, and then exiting the step.
Specifically, steps S1-S5 are executed in the multi-hop network test system to obtain the corresponding performance state, where the test end sends the switch information to the user end through the serial port, and detects whether an instruction for ending sending the switch information is received after sending the switch information, thereby avoiding the phenomena of multiple switch information, resource waste, and finally interference on normal work of the user end and the service device, and also stopping the detection of the performance state of the multi-hop network in time.
In addition, the user side judges whether the switch information is received or not through serial port interruption, and the service equipment judges whether the switch information sent by the user side is received or not through Bluetooth interruption, so that the user side and the service equipment can execute other tasks after receiving the switch information, and normal operation of the user side and the service equipment is ensured.
In addition, the user side judges whether the confirmation information is received in real time through Bluetooth interruption, the confirmation information is timely sent to the testing side when the confirmation information is received, other affairs are executed when the confirmation information is not received, the confirmation information is timely detected, omission is avoided, and meanwhile normal execution of work of the user side can be guaranteed.
In addition, after receiving the confirmation message, the test end displays the confirmation message on a UI display interface so as to be rapidly acquired by an operator, and then the test end goes to step A1 to transmit the next switching message so as to automatically execute the whole test process without stopping, and when the test end does not receive the confirmation message, the test end can timely record the next switching message so as to acquire the accurate packet loss times and finally obtain an accurate performance test result.
While the invention has been described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention.

Claims (9)

1. A performance test method of a multi-hop service network is characterized in that the method is used for a multi-hop network test system, and the multi-hop network test system comprises a test end, a user end and a plurality of service devices;
the method comprises the following steps:
step S1, presetting the testing parameters of the testing end and sending a plurality of switch information by the testing parameters;
step S2, the user side receives all the switch information and respectively sends the switch information to the corresponding service equipment;
step S3, the service equipment receives the switch information and confirms, generates confirmation information and sends the confirmation information to the user side;
step S4, the user end receives all the confirmation information and sends the confirmation information to the testing end;
and step S5, the test terminal receives and processes all the confirmation information to generate a performance test result.
2. The performance testing method of claim 1, wherein the testing parameters comprise one or more combinations of physical packet number, bluetooth receiving window, and bluetooth transmitting power.
3. The performance testing method of claim 1, wherein in step S2, when the user side receives the switch information, a corresponding first receiving time is recorded.
4. The performance testing method according to claim 3, wherein the step S4 includes:
step S41, the user side receives the confirmation information and records a corresponding second receiving time;
step S42, the user terminal generates packet delay information according to the first receiving time and the second receiving time, and sends the packet delay information to the testing terminal after the packet delay information is included in the confirmation information.
5. The performance testing method of claim 1, wherein the acknowledgement information further includes address information of the service device.
6. The performance testing method according to claim 1, wherein a switch is provided on the service device;
in step S3, when the service device receives the switch information, the switch is controlled according to the switch information.
7. The performance testing method of claim 1, wherein in step S5, the testing end further generates distance information according to a distance between the user end and the service device.
8. A performance testing system applied to the performance testing method of the multi-hop service network according to any one of claims 1 to 7, comprising:
the test terminal is used for sending a plurality of switch messages and receiving a plurality of confirmation messages;
the user terminal is connected with the test terminal and used for receiving all the switch information and all the confirmation information;
and the service equipment is connected with the user side and is used for respectively receiving the switching information, confirming and generating corresponding confirmation information and outputting the confirmation information to the user side.
9. The system according to claim 8, wherein a relay node is further disposed between the user terminal and the service device.
CN202010531555.4A 2020-06-11 2020-06-11 Performance test method and system of multi-hop service network Pending CN111741490A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010531555.4A CN111741490A (en) 2020-06-11 2020-06-11 Performance test method and system of multi-hop service network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010531555.4A CN111741490A (en) 2020-06-11 2020-06-11 Performance test method and system of multi-hop service network

Publications (1)

Publication Number Publication Date
CN111741490A true CN111741490A (en) 2020-10-02

Family

ID=72650110

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010531555.4A Pending CN111741490A (en) 2020-06-11 2020-06-11 Performance test method and system of multi-hop service network

Country Status (1)

Country Link
CN (1) CN111741490A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113037401A (en) * 2021-03-12 2021-06-25 上海磐启微电子有限公司 Chip radio frequency index testing method and system with high link budget

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090287816A1 (en) * 2008-05-14 2009-11-19 Trapeze Networks, Inc. Link layer throughput testing
CN101783708A (en) * 2010-01-21 2010-07-21 哈尔滨工业大学 Wireless parallel test system and test method based on ZigBee
KR20140139811A (en) * 2013-05-28 2014-12-08 주식회사 유캐스트 test fixture for system managing and controlling streetlights, cluster tree structure and node in multi-hop network
CN108737204A (en) * 2017-04-18 2018-11-02 阿里巴巴集团控股有限公司 A kind of acquisition method and communication terminal of network performance information
US20190159044A1 (en) * 2017-11-17 2019-05-23 Abl Ip Holding Llc Heuristic optimization of performance of a radio frequency nodal network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090287816A1 (en) * 2008-05-14 2009-11-19 Trapeze Networks, Inc. Link layer throughput testing
CN101783708A (en) * 2010-01-21 2010-07-21 哈尔滨工业大学 Wireless parallel test system and test method based on ZigBee
KR20140139811A (en) * 2013-05-28 2014-12-08 주식회사 유캐스트 test fixture for system managing and controlling streetlights, cluster tree structure and node in multi-hop network
CN108737204A (en) * 2017-04-18 2018-11-02 阿里巴巴集团控股有限公司 A kind of acquisition method and communication terminal of network performance information
US20190159044A1 (en) * 2017-11-17 2019-05-23 Abl Ip Holding Llc Heuristic optimization of performance of a radio frequency nodal network

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113037401A (en) * 2021-03-12 2021-06-25 上海磐启微电子有限公司 Chip radio frequency index testing method and system with high link budget

Similar Documents

Publication Publication Date Title
US11641318B2 (en) Method for testing a wireless link of a Wi-Fi node, and circuit performing the method
CN109194551B (en) Method, device and system for testing performance of real-time Ethernet equipment
WO2017211169A1 (en) Link testing method, apparatus and system
US10917311B2 (en) Network test instrument
JP5456468B2 (en) System, mobile communication unit and method for testing receiver performance
EP2676471B1 (en) Troubleshooting wi-fi connectivity by measuring the round trip time of packets sent with different modulation rates
US9407522B2 (en) Initiating data collection based on WiFi network connectivity metrics
EP2903213B1 (en) Throughput test method and apparatus
JP6932494B2 (en) Systems and methods for applying aggregated cable test results data, as well as cloud-based computer servers
CN103686813B (en) Device and method for testing automatic switching stability of wireless AP (access point) channel
CN101448277A (en) Method, system and device for processing wireless access network faults
CN101478449A (en) Protocol automatic test method and system thereof
US20130104116A1 (en) Method and apparatus for upgrading wireless repeater
CN102165811A (en) Wireless mesh network with pinch point and low battery alerts
CN104079571A (en) Method and device for recognizing Android simulator
CN108770009B (en) Link fault positioning method, device, equipment and readable storage medium
CN112333019A (en) Router configuration and test method and system and readable storage medium
US9635569B2 (en) Method and apparatus for measuring end-to-end service level agreement in service provider network
CN113067738A (en) Network topology visualization function equipment compatibility testing method and system
CN111741490A (en) Performance test method and system of multi-hop service network
KR101947273B1 (en) Performance Test Device For RF Performance Test Of Test Device And Performance Test Method Of Thereof
CN111049741B (en) Method for improving communication reliability, communication system and terminal equipment
Vučinić et al. OpenBenchmark: Repeatable and reproducible Internet of Things experimentation on testbeds
CN108124280B (en) Monitoring diagnosis system and network monitoring diagnosis method
US20080172456A1 (en) Method for detecting the ipv6 network application layer protocol

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