A performance testing method and system for a multi-hop service network

By designing an information exchange system for test terminals, client terminals and service equipment in a multi-hop service network, the problem of lack of standards in existing tests is solved, fast and accurate acquisition of performance test results is achieved, and the operation process is simplified.

CN111741490BActive Publication Date: 2024-09-10SHANGHAI PANCHIP MICROELECTRONICS CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202010531555.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-06-11
Publication Date
2024-09-10
Estimated Expiration
2040-06-11

AI Technical Summary

Technical Problem

Existing multi-hop service network testing lacks unified standards, making it difficult for operators to quickly obtain network performance status.

Method used

Design a performance testing method and system for multi-hop service networks, including test terminals, user terminals and multiple service devices. By sending and receiving switch information, generating and processing confirmation information to obtain performance test results, the test parameters and steps are optimized. , simplifying the operation process.

Benefits of technology

It enables quick acquisition of performance test results of multi-hop service networks, simplifies the test steps for operators, and improves test efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111741490B
    Figure CN111741490B
Patent Text Reader

Abstract

The present invention relates to the field of multi-hop service network testing, and in particular to a performance testing method and system for a multi-hop service network. It comprises: step S1, presetting the test parameters of the test end and sending multiple switch messages with the test parameters; step S2, the user end receives all the switch messages and sends the switch messages to the corresponding service devices respectively; step S3, the service device receives the switch message and confirms it, generates confirmation information and sends it to the user end; step S4, the user end receives all the confirmation information and sends it to the test end; step S5, the test end receives and processes all the confirmation information and generates a test result. The above technical scheme has the following advantages or beneficial effects: providing a performance testing method and system for a multi-hop service network, which can quickly obtain the performance test results of the network and simplify the test steps of the operator.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of multi-hop service network testing, and in particular to a performance testing method and system for a multi-hop service network. Background Art

[0002] The networking technology of the multi-hop service network can connect network device nodes within a certain area. There are many performance indicators that affect the multi-hop service network. In addition to factors that are guaranteed by the performance of the chip itself, such as Bluetooth transmission power, Bluetooth receiving sensitivity, Bluetooth transmission quality, center frequency deviation, modulation frequency deviation, etc., which affect the device nodes, it also includes some characteristics of the multi-hop network technology itself, mainly the number of nodes in the multi-hop service network, the distance between network nodes, packet loss rate, packet delay, etc.

[0003] Factors guaranteed by the performance of the chip itself can be measured by specific instruments, such as spectrum analyzers, oscilloscopes, etc. As for the characteristics of the multi-hop service network technology itself, the multi-hop service network products developed by various manufacturers are also diverse. At present, there is no unified standard for the test scheme of the multi-hop service network, which brings some troubles to operators in testing and obtaining the performance status of the multi-hop service network. Summary of the invention

[0004] In view of the above problems existing in the prior art, a performance testing method and system for a multi-hop service network are now provided.

[0005] A performance test method for a multi-hop service network, characterized in that it is used in a multi-hop network test system, wherein the multi-hop network test system includes a test terminal, a user terminal and a plurality of service devices;

[0006] The following steps are involved:

[0007] Step S1: preset the test parameters of the test end and send a plurality of switch information with the test parameters

[0008] Step S2, the user terminal receives all the switch information and sends the switch information to the corresponding service device respectively;

[0009] Step S3, the service device receives the switch information and confirms it, generates confirmation information and sends it to the user terminal;

[0010] Step S4, the user terminal receives all the confirmation information and sends it to the test terminal;

[0011] Step S5: the test end receives and processes all the confirmation information and generates a test result.

[0012] Preferably, the test parameters include one or more combinations of the number of physical packets sent, the Bluetooth receiving window, and the Bluetooth transmission power.

[0013] Preferably, in step S2, when the user terminal receives the switch information, the corresponding first receiving time is recorded;

[0014] Preferably, the step S4 includes:

[0015] Step S41, the user terminal receives the confirmation information and records the corresponding second receiving time;

[0016] Step S42: The user end generates packet delay information according to the first receiving time and the second receiving time, and includes the packet delay information in the confirmation information and sends it to the test end.

[0017] Preferably, the confirmation information also includes address information of the service device.

[0018] Preferably, a switch is provided on the service device;

[0019] In step S3, when the service device receives the switch information, the switch is controlled according to the switch information.

[0020] Preferably, in step S5, the test end further generates distance information according to the distance between the user end and the service device.

[0021] A performance testing system, applied to the performance testing method of a multi-hop service network as described in any one of the above, characterized by comprising:

[0022] A test terminal, used for sending a plurality of switch messages and receiving a plurality of confirmation messages;

[0023] A user end, connected to the test end, and used for receiving all the switch information and all the confirmation information;

[0024] A plurality of service devices are connected to the user end, and are used to respectively receive the switch information, confirm and generate corresponding confirmation information, and output it to the user end.

[0025] Preferably, a relay node is further arranged between the user terminal and the service node.

[0026] The above technical solution has the following advantages or beneficial effects: providing a performance testing method and system for a multi-hop service network, which can quickly obtain the performance testing results of the network and simplify the testing steps of the operator. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1A schematic diagram of the overall process in a preferred embodiment of the present invention;

[0028] Figure 2 A schematic diagram of the process of step S4 in a preferred embodiment of the present invention;

[0029] Figure 3 A schematic diagram of sending switch information in a multi-hop network test system in a preferred embodiment of the present invention;

[0030] Figure 4 It is a schematic diagram of receiving confirmation information in a multi-hop network test system in a preferred embodiment of the present invention. DETAILED DESCRIPTION

[0031] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0032] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments may be combined with each other.

[0033] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments, but they are not intended to limit the present invention.

[0034] A performance testing method for a multi-hop service network, such as Figure 1 As shown, it is used in a multi-hop network test system, which includes a test terminal, a user terminal and multiple service devices;

[0035] The following steps are involved:

[0036] Step S1: preset test parameters of the test end and send multiple switch information with the test parameters

[0037] Step S2, the user terminal receives all the switch information and sends the switch information to the corresponding service equipment respectively;

[0038] Step S3, the service device receives the switch information and confirms it, generates confirmation information and sends it to the user end;

[0039] Step S4, the user terminal receives all confirmation information and sends it to the test terminal;

[0040] Step S5: The test end receives and processes all confirmation information and generates a test result.

[0041] Specifically, in order to quickly obtain the performance test results of the network and simplify the test steps of the operator, a test terminal and test parameters are preset and configured. Here, tools such as QT can be used to develop the test terminal.

[0042] It should be noted that QT is a cross-platform graphical user interface application development tool that can be used to develop both GUI programs and non-GUI programs. In this application, QT is used to develop the test end to facilitate the subsequent expansion of the debugging options of the test end.

[0043] The test end communicates with the user end through the serial port and the Bluetooth mesh dongle. In step S1, the test end sends switch information to the user end at a fixed time. Then in steps S2-S3, the user end receives the switch information of the serial port sent by the test end, and can send the switch information to the service device in the multi-hop service network through the switch information. After receiving the switch information, the service device can reply with a confirmation message. Then in steps S4-S5, the user end receives the confirmation message and sends it to the test end. Since there are multiple service devices in the multi-hop service network, the present invention is used to detect each service node in the multi-hop service network, that is, the confirmation information of the corresponding service device, in order to obtain the performance test results, and finally obtain the overall performance status of the multi-hop service network.

[0044] In a preferred embodiment of the present invention, the test parameters include one or more combinations of the number of physical packets sent, the Bluetooth receiving window, and the Bluetooth transmission power.

[0045] Specifically, the test end here runs with preset test parameters in the initial state, and the test parameters here include the number of physical packets sent, the Bluetooth receiving window and the Bluetooth transmitting power.

[0046] When the test end is running, the test parameters can be adjusted according to the operating status and number of devices of the multi-hop service network at that time to adjust to the optimal parameter values ​​that match the current multi-hop service network, quickly and comprehensively obtain confirmation information and obtain accurate performance test results.

[0047] 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;

[0048] In a preferred embodiment of the present invention, in step S4, if Figure 2 As shown, including:

[0049] Step S41, the user terminal receives the confirmation information and records the corresponding second receiving time;

[0050] Step S42: The user end generates packet delay information according to the first receiving time and the second receiving time, and includes the information in confirmation information and sends it to the test end.

[0051] Specifically, in the performance state of a multi-hop service network, the delay in sending and receiving data packets is also a very important performance parameter. Therefore, when the user end receives the switch information, it generates a corresponding first receiving time. After that, the switch information is distributed to the service device to generate confirmation information. The user end receives the confirmation information and generates a corresponding second receiving time. The time difference between the first receiving time and the second receiving time is calculated, and the packet delay information is obtained and included in the confirmation information, which is sent to the test end. When the test end receives the confirmation information, it can generate more accurate and comprehensive performance test results based on the packet delay information.

[0052] Furthermore, in the process of obtaining performance test results, the test end can also analyze the number of switch messages sent by the test end, the number of confirmation messages received, the current delay information, the average delay time, the minimum delay time, the maximum delay time, and the status parameters of the service equipment to obtain more accurate and comprehensive performance test results.

[0053] In a preferred embodiment of the present invention, the confirmation information also includes address information of the service device.

[0054] Specifically, in order to accurately obtain the status parameters of each service device, when the user terminal receives the confirmation information of the service device, the address information of the service device is also included in the confirmation information and sent to the test terminal together.

[0055] In a preferred embodiment of the present invention, a switch is provided on the service device;

[0056] In step S3, when the service device receives the switch information, it controls the switch according to the switch information.

[0057] Specifically, in order to facilitate operators to quickly obtain the performance status of the service equipment, a switch can be set on the service equipment. When the service equipment receives the switch information, the switch is controlled according to the switch information. The test end can quickly determine the performance status of the service equipment by obtaining the status of the switch.

[0058] 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.

[0059] Specifically, the maximum connection distance of the multi-hop service network will affect the equipment deployment and information transmission during actual operation. To obtain the maximum connection distance, the test end can generate corresponding distance information based on the distance between the user end and all service devices, analyze them one by one, and finally obtain the maximum connection distance at this time.

[0060] Furthermore, in actual operation, the distance between the remote service device and the user terminal can be manually adjusted, and the farthest connection distance can be obtained based on the confirmation information.

[0061] A performance testing system is applied to the performance testing method of a multi-hop service network as described above, comprising:

[0062] A test terminal, used for sending multiple switch information and receiving multiple confirmation information at regular intervals;

[0063] A user end, connected to the test end, for receiving all switch information and all confirmation information;

[0064] A plurality of service devices are connected to the user end, and are used to respectively receive the switch information, confirm and generate corresponding confirmation information, and output it to the user end.

[0065] Specifically, the performance test system includes a test end, a user end and multiple service devices. The test end is connected to the user end and sends switch information to the user end at regular intervals. The user end is connected to the service device and transmits the switch information to the service device. The service device generates confirmation information based on the switch information and sends it to the user end. The user end returns the confirmation information to the test end. The test end analyzes and processes the received confirmation information to generate performance test results, so that the operator can view the performance status of the multi-hop service network at this time.

[0066] In a preferred embodiment of the present invention, a relay node is further provided between the user terminal and the service device.

[0067] Specifically, in order to obtain the performance status between service devices, a relay node may be set between the user terminal and the service device. Each relay node may be used for a part of the service devices, and then the performance status between the service devices may be obtained.

[0068] In a preferred embodiment of the present invention, steps S1-S5 are executed once in a multi-hop network test system to record the operation process of a data packet. Steps S1-S3 are first executed, that is, the test end sends the switch information, and the service device executes the switch information to generate confirmation information. Figure 3 As shown:

[0069] Inside the test terminal, always perform the following steps:

[0070] Step A1, the test end sends switch information corresponding to the service device through the serial port;

[0071] Step A2: The test end determines whether a command to end the scheduled sending of switch information is received:

[0072] If yes, then end and then exit the steps;

[0073] If not, go to step A1.

[0074] Inside the client, the following steps are always executed:

[0075] Step B1: The user terminal determines whether the switch information sent by the test terminal is received through the serial port interruption:

[0076] If yes, the switch information is sent to the corresponding service device through the mesh vendor model;

[0077] If not, perform other tasks and then exit the step.

[0078] Inside the service device, always perform the following steps:

[0079] Step C1: The service device determines whether the switch information sent by the user terminal is received through the Bluetooth interruption:

[0080] If yes, go to step C2;

[0081] If not, go to step C4;

[0082] Step C2, controlling the on / off state of the light of the mesh dongle according to the switch information;

[0083] Step C3, confirm and generate confirmation information;

[0084] Step C4, execute other tasks and then exit the step.

[0085] Then, steps S3-S5 are executed, that is, the service device sends a confirmation message, and the test end receives and processes the confirmation message to generate a performance test result. Figure 4 As shown:

[0086] Inside the service device, always perform the following steps:

[0087] In step C5, the service device sends a confirmation message to the user terminal through a mesh vendor model, and then exits the steps.

[0088] Inside the client, the following steps are always executed:

[0089] Step B2: The user terminal determines whether the confirmation information sent by the service device is received through the Bluetooth interruption:

[0090] If yes, the test end is replied with confirmation information corresponding to the service device through the serial port;

[0091] If not, perform other tasks and then exit the step.

[0092] Inside the test terminal, always perform the following steps:

[0093] Step A3: The test end determines whether the confirmation information is received:

[0094] If yes, the confirmation information is displayed on the UI display interface of the test end, and then the process goes to step A1;

[0095] If not, go to step A4;

[0096] In step A4, the test end records it as a packet loss and then exits the step.

[0097] Specifically, steps S1-S5 are executed in the multi-hop network test system to obtain the corresponding performance status. The test end here sends switch information to the user end through the serial port, and detects whether an instruction to end sending the switch information is received after sending the switch information, thereby avoiding the phenomenon of sending multiple switch information, wasting resources, and ultimately interfering with the normal operation of the user end and service equipment, and can also stop the detection of the performance status of the multi-hop network in time.

[0098] In addition, the user end determines whether the switch information is received through the serial port interrupt, and the service device determines whether the switch information sent by the user end is received through the Bluetooth interrupt, so as to ensure that the user end and the service device can perform other tasks after receiving the switch message, thereby ensuring the normal operation of the user end and the service device.

[0099] In addition, the user end determines in real time through Bluetooth interruption whether to receive confirmation information, and sends the confirmation information to the test end in time if it is received. If it is not received, it will execute other transactions. While timely detecting confirmation messages to avoid omissions, it can also ensure the normal execution of the user end's work.

[0100] In addition, after the test end receives the confirmation information, it is displayed on the UI display interface so that the operator can quickly obtain it, and then go to step A1 to send the next switch information, so that the automatic execution of the entire test process is not interrupted. When the test end does not receive the confirmation message, it can also be recorded in time to obtain the accurate number of packet loss and finally obtain accurate performance test results.

[0101] The above description is only a preferred embodiment of the present invention, and does not limit the implementation mode and protection scope of the present invention. For those skilled in the art, it should be aware that all solutions obtained by equivalent substitutions and obvious changes made using the description and illustrations of the present invention should be included in the protection scope of the present invention.

Claims

1. A performance testing method for a multi-hop service network, characterized in that: Used in a multi-hop network test system, the multi-hop network test system includes a test terminal, a user terminal and multiple service devices; The following steps are involved: Step S1, presetting the test parameters of the test end, and the test end sending a plurality of switch information with the test parameters; Step S2, the user terminal receives all the switch information and sends the switch information to the corresponding service device respectively; Step S3, the service device receives the switch information and confirms it, generates confirmation information and sends it to the user terminal; Step S4, the user terminal receives all the confirmation information and sends it to the test terminal; Step S5, the test end receives and processes all the confirmation information and generates a performance test result; Setting a switch on the service device; In step S3, when the service device receives the switch information, the switch is controlled according to the switch information; The test end then quickly determines the performance status of the service device by acquiring the status of the switch on the service device, and generates the performance test result.

2. The performance testing method according to claim 1, characterized in that: The test parameters include one or more combinations of the number of physical packets sent, the Bluetooth receiving window, and the Bluetooth transmission power.

3. The performance testing method according to claim 1, characterized in that: In step S2, when the user terminal receives the switch information, the corresponding first receiving time is recorded.

4. The performance testing method according to claim 3, characterized in that: The step S4 includes: Step S41, the user terminal receives the confirmation information and records the corresponding second receiving time; Step S42: The user end generates packet delay information according to the first receiving time and the second receiving time, and includes the packet delay information in the confirmation information and sends it to the test end.

5. The performance testing method according to claim 1, characterized in that: The confirmation information also includes the address information of the service device.

6. The performance testing method according to claim 1, characterized in that: In step S5, the test end further generates distance information according to the distance between the user end and the service device.

7. A performance testing system, applied to the performance testing method of a multi-hop service network as claimed in any one of claims 1 to 6, characterized in that: include: A test terminal, used for sending a plurality of switch messages and receiving a plurality of confirmation messages; A user end, connected to the test end, and used for receiving all the switch information and all the confirmation information; A plurality of service devices are connected to the user end, and are used to respectively receive the switch information, confirm and generate corresponding confirmation information, and output it to the user end.

8. A performance testing system according to claim 7, characterized in that: A relay node is also arranged between the user terminal and the service device.

Citation Information

Patent Citations

  • Wireless parallel test system and test method based on ZigBee

    CN101783708A

  • Method for collecting network performance information and communication terminal

    CN108737204A

  • test fixture for system managing and controlling streetlights, cluster tree structure and node in multi-hop network

    KR1020140139811A

  • Link layer throughput testing

    US20090287816A1

  • Heuristic optimization of performance of a radio frequency nodal network

    US20190159044A1