CN115955424A - Method for automatically detecting throughput - Google Patents

Method for automatically detecting throughput Download PDF

Info

Publication number
CN115955424A
CN115955424A CN202211541510.0A CN202211541510A CN115955424A CN 115955424 A CN115955424 A CN 115955424A CN 202211541510 A CN202211541510 A CN 202211541510A CN 115955424 A CN115955424 A CN 115955424A
Authority
CN
China
Prior art keywords
product
detected
detection
throughput
router
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
CN202211541510.0A
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.)
Sichuan Ailian Technology Co ltd
Original Assignee
Sichuan Ailian Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sichuan Ailian Technology Co ltd filed Critical Sichuan Ailian Technology Co ltd
Priority to CN202211541510.0A priority Critical patent/CN115955424A/en
Publication of CN115955424A publication Critical patent/CN115955424A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Abstract

The invention relates to the field of throughput detection, in particular to a method for automatically detecting throughput, which improves the efficiency of throughput detection. The method for automatically detecting the throughput comprises the following steps: configuring a program-controlled attenuator IP, a router IP, a terminal IP, a COM port list of a product to be detected, a router name and a password; selecting a chip scheme of a product to be detected, and setting corresponding detection items according to the chip scheme; configuring initialization detection, detecting whether the IP and the COM port of the product to be detected are error-free, and if the IP and the COM port of the product to be detected are error-free, carrying out initialization environment test according to an instruction set integrated by a chip scheme; the product to be detected is automatically connected with a network provided by the router, the terminal acquires the IP of the product to be detected and starts to automatically operate a detection item according to the configuration item, wherein the detection item comprises attenuation data; and detecting the throughput of the product to be detected under different attenuation data. The method is suitable for detecting the product throughput.

Description

Method for automatically detecting throughput
Technical Field
The invention relates to the field of throughput detection, in particular to a method for automatically detecting throughput.
Background
When testing the performance index of a product, it is often necessary to check the throughput and networking conditions under the conditions of no attenuation to the product limit attenuation, and there is a need to check in the same manner also on products of the same chip scheme. At present, most of the links are manually checked, testers need to repeatedly operate attenuators, computers and equipment, unequal waiting time of running or Ping package ending may occur within 1-3min during each attenuation value detection period, after the testing is finished, the testers need to arrange and sum up logs and reports, certain waste exists in human resources, meanwhile, the situation that materials of the testers are occupied for a long time exists, and a new method needs to be introduced to improve the efficiency of the whole testing link.
Disclosure of Invention
The invention aims to provide a method for automatically detecting throughput, which improves the efficiency of throughput detection.
The invention adopts the following technical scheme to realize the aim, and the method for automatically detecting the throughput is applied to a device for automatically detecting the throughput, the device comprises a terminal, a program-controlled attenuator and a router, the program-controlled attenuator is respectively connected with the router and the terminal, the terminal is connected with the router, a product to be detected is connected with the terminal through a serial port, and the router is also used for providing network connection for the product to be detected, and the method comprises the following steps:
step 1, configuring a program-controlled attenuator IP (Internet protocol address), a router IP, a terminal IP, a COM (serial communication port) port list of a product to be detected, a router name and a password;
step 2, selecting a chip scheme of a product to be detected, and setting a corresponding detection item according to the chip scheme;
step 3, configuration initialization detection is carried out, whether the IP and the COM port of the product to be detected are error-free or not is detected, and if the IP and the COM port of the product to be detected are error-free, the step 4 is carried out;
step 4, carrying out an initialization environment test according to the instruction set integrated by the chip scheme;
step 5, the product to be detected is automatically connected with a network provided by the router, the terminal obtains the IP of the product to be detected and starts to automatically operate a detection item according to the configuration item, wherein the detection item comprises attenuation data;
and 6, detecting the throughput of the product to be detected under different attenuation data.
Further, the method further comprises:
step 7, judging the data formats of the data of the detection items of different chip schemes, and extracting data parameters if the data formats are inconsistent;
and 8, storing the extracted data parameters into corresponding attenuation data, and generating a corresponding report.
Further, the method further comprises:
and 9, storing the detection items, the corresponding detection data and the corresponding detection time data in the automatic detection item operation process in a log mode according to a specified path.
Further, the report and the log of each product to be tested are independent from each other, a file folder is created by combining a COM port and a Mac (media access Control, hardware address) address, and the detection log under each attenuation data is stored under the corresponding product file.
Further, in the step 5, in the process of automatically operating the detection items, if the product to be detected is detected to be abnormal and cannot be connected with the network, the attenuation is continuously increased for many times for detection, and if the product to be detected cannot be connected with the network, the detection of the next product is started.
Further, the set of instructions includes instructions to enter or exit SoftAP mode, network, query IP, query Mac address, and turn on or off throughput.
The invention has the beneficial effects that:
the method supports freely configuring the number, the logs and the report storage paths of the test products, and selects the chip scheme type;
the product dynamic networking is supported, the IP information is acquired, and when a single product is tested, the micro-test by using the static IP can be supported;
supporting test content configuration, selecting Ping, tx and Rx switches, and supporting the free allocation of detection duration of the three test items;
the range setting of the programmable attenuator is supported, for example, the attenuation of a detection signal is 0dB to 40dB, and the step attenuation is 1dB;
acquiring contents of logs, including acquiring data of both ends of a product and a computer and running process logs;
the UI monitors in real time and displays the running process, so that product testers can find problems in time and pause or restart the testing process;
and reporting and collecting key information such as average throughput, ping packet loss rate and the like.
Drawings
FIG. 1 is a block diagram of an apparatus for automatically detecting throughput according to an embodiment of the present invention;
FIG. 2 is a first flowchart for automatically detecting throughput according to an embodiment of the present invention;
fig. 3 is a second flowchart of an automated throughput detection method according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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. It is to be understood that the embodiments described are only a few embodiments of the present invention, and not all 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.
Fig. 1 is a block diagram of an apparatus for automatically detecting throughput according to an embodiment of the present invention, as shown in the figure. The programmable attenuator is connected with the router and the computer is connected with the router by using network cables, so that the programmable attenuator is connected with the antenna of the router under the same local area network. The products are connected with a computer through a serial port, and the condition that a power switch can be controlled by a single line or the products are not connected with a network in a product set is ensured.
The invention provides a method for automatically detecting throughput, which is applied to a device for automatically detecting throughput, and as shown in fig. 2, the method comprises the following steps:
step 1, configuring a program control attenuator IP (Internet Protocol Address), a router IP, a terminal IP, a COM (serial communication port) port list of a product to be detected, a router name and a password;
step 2, selecting a chip scheme of a product to be detected, and setting a corresponding detection item according to the chip scheme;
step 3, configuration initialization detection is carried out, whether the IP and the COM port of the product to be detected are error-free or not is detected, and if the IP and the COM port of the product to be detected are error-free, the step 4 is carried out;
step 4, carrying out an initialization environment test according to the instruction set integrated by the chip scheme;
step 5, the product to be detected is automatically connected with a network provided by the router, the terminal acquires the IP of the product to be detected and starts to automatically operate detection items according to configuration items, and the detection items comprise attenuation data;
and 6, detecting the throughput of the product to be detected under different attenuation data.
The automated detection method of the present invention is described in detail below, as shown in FIG. 3.
Before the test operation, the user needs to configure the IP of the attenuator, the route IP, the computer IP, the COM port list needing to be detected, the router name and the password, the log generation path, the signal attenuation range, the times of TX, RX and PING.
Then, a chip scheme is selected, and detection items such as an attenuation range, the number of times of detection, and the like are set.
After the configuration is finished, initialization detection is carried out, and whether the IP and COM ports are correct or not is checked.
Before the test operation of each product is started, the test environment needs to be initialized according to an instruction set integrated by a chip scheme, in order to ensure that the performance is not interfered, when the product is detected, the Bluetooth of the Combo module in an initialized state that other modules are not connected with a network and are not broadcasted is also simultaneously closed, and the value of the programmable attenuator is also restored to the default condition. The chip solution instruction set includes enter/exit SoftAP mode, networking, query IP, query Mac, start/stop throughput instructions, etc.
And automatically connecting the product to be detected with a network, acquiring the IP of the product to be detected by the terminal, starting to operate the detection item according to the configuration item, and detecting the throughput of the product to be detected under different attenuations.
Different chip scheme throughput instructions or differences are integrated in a chip scheme instruction set module.
And generating a test report, wherein the test report is mainly used for extracting parameters under the condition that the data formats of the module throughputs of different chip schemes are not uniform, the extracted parameters are stored under the corresponding attenuation dB, and the report format is stored in an Excel mode.
And log generation, namely dividing the log into an execution process log and a product throughput log of the automatic test system, storing the log to a specified path in real time, and updating a report in real time according to the detected items.
The reports and logs for each product are independent of each other. And combining the COM port and the Mac port to create a folder, storing the throughput and Ping packet original logs under each attenuation dB corresponding to the product folder, and finally generating an Excel report.
And if the situation that the connection cannot be performed abnormally occurs in the throughput of each product, continuing to perform attenuation for 2 times, and if the connection cannot be performed, indicating that the current attenuation value is the limit of the module, starting the next product detection.

Claims (6)

1. The method for automatically detecting the throughput is applied to a device for automatically detecting the throughput, the device comprises a terminal, a program-controlled attenuator and a router, the program-controlled attenuator is respectively connected with the router and the terminal, the terminal is connected with the router, a product to be detected is connected with the terminal through a serial port, and the router is also used for providing network connection for the product to be detected, and is characterized in that the method comprises the following steps:
step 1, configuring a program-controlled attenuator IP, a router IP, a terminal IP, a COM port list of a product to be detected, a router name and a password;
step 2, selecting a chip scheme of a product to be detected, and setting a corresponding detection item according to the chip scheme;
step 3, initializing detection is configured, whether the IP and the COM port of the product to be detected are error-free or not is detected, and if the IP and the COM port of the product to be detected are error-free, the step 4 is executed;
step 4, carrying out an initialization environment test according to the instruction set integrated by the chip scheme;
step 5, the product to be detected is automatically connected with a network provided by the router, the terminal obtains the IP of the product to be detected and starts to automatically operate a detection item according to the configuration item, wherein the detection item comprises attenuation data;
and 6, detecting the throughput of the product to be detected under different attenuation data.
2. The method for automated throughput detection according to claim 1, further comprising:
step 7, judging the data formats of the data of the detection items of different chip schemes, and extracting data parameters if the data formats are inconsistent;
and 8, storing the extracted data parameters into corresponding attenuation data, and generating a corresponding report.
3. The method for automated throughput detection according to claim 2, further comprising:
and 9, storing the detection items, the corresponding detection data and the corresponding detection time data in the automatic detection item operation process in a log mode according to a specified path.
4. The method for automated throughput inspection according to claim 3, wherein the report and log of each product to be inspected are independent of each other, a file folder is created by combining a COM port and a Mac address, and the inspection log of each attenuation data is stored under the corresponding product file.
5. The method for automatically detecting throughput according to claim 1, wherein in step 5, in the process of automatically operating the detection items, if the products to be detected are detected to be abnormal and cannot be connected to the network, attenuation is continuously increased for a plurality of times for detection, and if none of the products can be connected to the network, detection of the next product is started.
6. The method of automated throughput detection according to claim 1, wherein the set of instructions comprises entering or exiting SoftAP mode, networking, querying IP, querying Mac addresses, and turning on or off throughput instructions.
CN202211541510.0A 2022-12-02 2022-12-02 Method for automatically detecting throughput Pending CN115955424A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211541510.0A CN115955424A (en) 2022-12-02 2022-12-02 Method for automatically detecting throughput

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211541510.0A CN115955424A (en) 2022-12-02 2022-12-02 Method for automatically detecting throughput

Publications (1)

Publication Number Publication Date
CN115955424A true CN115955424A (en) 2023-04-11

Family

ID=87297446

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211541510.0A Pending CN115955424A (en) 2022-12-02 2022-12-02 Method for automatically detecting throughput

Country Status (1)

Country Link
CN (1) CN115955424A (en)

Similar Documents

Publication Publication Date Title
CN103249069B (en) The test macro of the method for testing of mobile terminal and testing equipment, mobile terminal
CN110139298B (en) WiFi automatic test system and test method thereof
EP3518441B1 (en) Test troubleshooting system and method
WO2011143855A1 (en) Method and system for testing mobile terminal
CN106776346B (en) Test method and device of CCMTS (China center testing System) equipment
CN113518018B (en) Router system stability test system and test method
CN111142878A (en) SDN operation and maintenance method, device, equipment and readable storage medium
CN108337125A (en) Intelligent hardware devices test method, cloud platform and background controller
EP2093935A1 (en) Method, device and system of test access equipment configuration identification
CN113038499B (en) Terminal Wi-Fi compatibility testing method, device, system, equipment and medium
CN113407469B (en) Parameter configuration method and device, storage medium and electronic device
CN107426755B (en) Base station problem troubleshooting method and device, computer readable storage medium and computer equipment
CN115955424A (en) Method for automatically detecting throughput
KR100619424B1 (en) Dynamic burn rack monitor listener server
US6173244B1 (en) System and method for testing a switching system in a telecommunication network
CN110753363A (en) Intelligent device wireless debugging system and method
CN114189424B (en) Intelligent device control method, intelligent device control device, electronic device, medium and program product
CN113612659A (en) Equipment networking test method and device, electronic equipment and storage medium
CN112954725A (en) Test method, communication system and NB-IoT device
CN116389188B (en) Data transmission method and related device
CN115150298B (en) Virtual gateway testing method and device, storage medium and electronic equipment
CN115037664B (en) Network connection testing method and device, repeater and storage medium
CN113009246A (en) PSE equipment detection device and PSE equipment detection method
CN114356630B (en) Memory leakage detection method, electronic equipment, storage medium and system
CN111132196B (en) Method based on heterogeneous network scheduling optimization

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