CN117614870A - Network rate testing method, device and system, storage medium and computing equipment - Google Patents
Network rate testing method, device and system, storage medium and computing equipment Download PDFInfo
- Publication number
- CN117614870A CN117614870A CN202311588592.9A CN202311588592A CN117614870A CN 117614870 A CN117614870 A CN 117614870A CN 202311588592 A CN202311588592 A CN 202311588592A CN 117614870 A CN117614870 A CN 117614870A
- Authority
- CN
- China
- Prior art keywords
- data packet
- rate
- network rate
- test data
- test
- 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
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 217
- 238000000034 method Methods 0.000 claims abstract description 29
- 238000004891 communication Methods 0.000 claims description 91
- 238000004590 computer program Methods 0.000 claims description 22
- 238000011144 upstream manufacturing Methods 0.000 claims description 13
- 238000012545 processing Methods 0.000 claims description 11
- 230000010076 replication Effects 0.000 claims description 2
- 230000008569 process Effects 0.000 description 11
- 230000006870 function Effects 0.000 description 8
- 230000005540 biological transmission Effects 0.000 description 7
- 238000005259 measurement Methods 0.000 description 5
- 230000008859 change Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000012356 Product development Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 239000013256 coordination polymer Substances 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000004807 localization Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000010998 test method Methods 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0876—Network utilisation, e.g. volume of load or congestion level
- H04L43/0894—Packet rate
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/50—Testing arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/08—Testing, supervising or monitoring using real traffic
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The application provides a network rate testing method, a device and a system, a storage medium and a computing device, wherein the network rate testing method comprises the following steps: receiving indication information; and responding to the indication information, counting the network rate when receiving the test data packets, and executing packet loss operation, or receiving and copying the test data packets, transmitting all the test data packets, and counting the network rate by the test data packets. The method and the device can improve accuracy and comprehensiveness of rate testing.
Description
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method, an apparatus, a system, a storage medium, and a computing device for testing a network rate.
Background
With the rapid development of wireless networks, more and more products need to use the wireless networks, and a long rate tuning process always exists in the product development process. This process is time consuming, labor intensive, and affects product development progress, thus designing and implementing a method and apparatus for rapid localization of wireless network rate problems is not acceptable.
Currently, the general speed measuring tools of all large factories are the iperf and air interface bale plucker.
However, the existing network speed measurement scheme can only measure the speeds of the inlet and the outlet of the product, and cannot accurately position which node needs to be optimized in the process of debugging.
Disclosure of Invention
The method and the device can improve accuracy and comprehensiveness of rate testing.
In order to achieve the above purpose, the present application provides the following technical solutions:
in a first aspect, a network rate testing method is provided, applied to a communication processor, the network rate testing method includes: receiving indication information; and responding to the indication information, counting the network rate when receiving the test data packet, and executing packet loss operation, or receiving and copying the test data packet, and transmitting all the test data packets, wherein the test data packet is used for counting the network rate.
Optionally, the counting the network rate and performing the packet loss operation includes: calculating the amount of data received per unit time as the network rate when receiving the test data packet; discarding the test data packet.
Optionally, the test packet is a downlink test packet, the network rate is a first downlink rate, and the first downlink rate is a rate of a first downlink channel between the air interface and the communication processor; or the test packet is an uplink test packet, the network rate is a first uplink rate, and the first uplink rate is a rate of a first uplink channel between the application processor and the communication processor.
Optionally, the receiving and copying the test data packet, and sending all the test data packets includes: receiving an original test data packet and copying the original test data packet to obtain a copied test data packet; and sending the original data packet and the replication test data packet out.
Optionally, the application processor receives the original data packet and the duplicate data packet, and counts the network rate when receiving the original data packet and the duplicate data packet.
Optionally, the network rate is a second downlink rate, and the second downlink rate represents a rate of a second downlink channel between the communication processor and the application processor.
Optionally, the routing device receives and forwards the original data packet and the duplicate data packet to a testing device, and the testing device counts the network rate when receiving the original data packet and the duplicate data packet.
Optionally, the network rate is a second uplink rate, and the second uplink rate represents a rate of a second uplink channel between the communication processor and the routing device.
Optionally, the indication information includes an attention instruction, an upper layer instruction, or a message.
In a second aspect, a network rate testing method is provided, applied to an application processor, where the network rate testing method includes: and sending indication information, wherein the indication information indicates the communication processor to count the network rate when receiving the test data packet and execute packet loss operation, or indicates the communication processor to receive and copy the test data packet and send all the test data packets, and the test data packets are used for counting the network rate.
Optionally, the application processor receives an original data packet and a duplicate data packet, and counts the network rate when receiving the original data packet and the duplicate data packet.
In a third aspect, the present application further discloses a network rate testing device, where the network rate testing device includes: the communication module is used for receiving the indication information; and the processing module is used for responding to the indication information, counting the network rate when receiving the test data packet, and executing packet loss operation, or receiving and copying the test data packet, and sending all the test data packets, wherein the test data packet is used for counting the network rate.
In a fourth aspect, the present application further discloses a network rate testing system, where the network rate testing system includes: the testing machine comprises an application processor and a communication processor, wherein the application processor sends indication information to the communication processor; a testing device; a routing device; the communication processor executes the step of the network rate testing method, and the testing data packet is used for the application processor or the testing equipment to count the network rate.
In a fifth aspect, the present application also discloses a computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, performs the steps of the network rate testing method.
In a sixth aspect, there is provided a communications apparatus comprising a memory having stored thereon a computer program executable on the processor and a processor for executing the computer program to perform any one of the methods provided in the first or second aspects.
In a seventh aspect, there is provided a computer program product having a computer program stored thereon, the computer program being executable by a processor to perform any one of the methods provided in the first or second aspects.
In an eighth aspect, embodiments of the present application further provide a chip (or data transmission device), where a computer program is stored on the chip, and when the computer program is executed by the chip, the steps of the method are implemented.
In a ninth aspect, an embodiment of the present application further provides a system chip, applied in a terminal, where the system chip includes at least one processor and an interface circuit, where the interface circuit and the at least one processor are interconnected by a line, and the at least one processor is configured to execute instructions to perform any one of the methods provided in the first aspect or the second aspect.
Compared with the prior art, the technical scheme of the application has the following beneficial effects:
in the technical scheme, a communication processor receives indication information; and responding to the indication information, counting the network rate when receiving the test data packets, and executing packet loss operation, or receiving and copying the test data packets, transmitting all the test data packets, and counting the network rate by the test data packets. According to the technical scheme, the communication processor changes the data packet processing flow by setting the indication information, and the network rate on each uplink and downlink channel is measured in a matched mode, so that the accuracy and the comprehensiveness of rate test are improved; in addition, by copying and transmitting the test data packets, the method can also ensure that enough data packets are provided to test the data reading capacity on each uplink and downlink channel, thereby further improving the accuracy of the rate test.
Drawings
Fig. 1 is a flowchart of a network rate testing method provided in an embodiment of the present application;
fig. 2 is a block diagram of a network rate testing system according to an embodiment of the present application;
fig. 3 is a specific flowchart of a network rate testing method provided in an embodiment of the present application;
fig. 4 is a specific flowchart of another network rate testing method provided in an embodiment of the present application;
fig. 5 is a specific flowchart of yet another network rate testing method provided in an embodiment of the present application;
fig. 6 is a specific flowchart of yet another network rate testing method according to an embodiment of the present application
Fig. 7 is a schematic structural diagram of a network rate test configuration according to an embodiment of the present application;
fig. 8 is a schematic hardware structure diagram of a network rate test configuration according to an embodiment of the present application.
Detailed Description
As described in the background art, the existing network speed measurement scheme can only measure the speeds of the inlet and the outlet of the product, and cannot accurately position which node needs to be optimized in the process of debugging.
In addition, the fixed-point calculation mode in the normal packet receiving and transmitting process cannot ensure that each test point has enough water, so that a reliable fixed-point speed measurement mode is needed to shorten the tuning period.
In the technical scheme, a communication processor receives indication information; and responding to the indication information, counting the network rate when receiving the test data packets, and executing packet loss operation, or receiving and copying the test data packets, transmitting all the test data packets, and counting the network rate by the test data packets. According to the technical scheme, the communication processor changes the data packet processing flow by setting the indication information, and the network rate on each uplink and downlink channel is measured in a matched mode, so that the accuracy and the comprehensiveness of rate test are improved; in addition, by copying and transmitting the test data packets, the method can also ensure that enough data packets are provided to test the data reading capacity on each uplink and downlink channel, thereby further improving the accuracy of the rate test.
In order to make the above objects, features and advantages of the present application more comprehensible, embodiments accompanied with figures are described in detail below.
Referring to fig. 1, the methods provided herein may be performed by a communication processor (Communication Processor, CP), which may be provided in any suitable device. Specifically, the method provided by the application specifically comprises the following steps:
step 101: and receiving indication information.
Step 102: and responding to the indication information, counting the network rate when receiving the test data packets, and executing packet loss operation, or receiving and copying the test data packets, transmitting all the test data packets, and counting the network rate by the test data packets.
It should be noted that the serial numbers of the steps in the present embodiment do not represent a limitation on the execution sequence of the steps.
It will be appreciated that in a specific implementation, the network rate testing method may be implemented in a software program running on a processor integrated within a chip or a chip module. The method may also be implemented by combining software with hardware, which is not limited in this application.
The network rate test procedure is described below in connection with a specific hardware architecture. Fig. 2 shows the architecture of a network rate test system.
The network rate test system comprises a test device 10, a test machine 20 and a routing device 30. The test device 10 is loaded with a test tool 101, which may be, for example, an iperf. The tester 20 includes an application processor (Application Processor, AP) 201 and a communication processor 202. The application processor 201 is loaded with a test tool 101, which may be, for example, an iperf.
In the upstream data transmission, the application processor 201 generates a test packet, and sends the test packet to the communication processor 202 through the first upstream channel b1 between the application processor 201 and the communication processor 202. The communication processor 202 sends the test data packet to the routing device 30 via a second upstream channel b2 between the communication processor 202 and the routing device 30. The routing device 30 forwards the test data packets to the test device 10.
In downstream data transmission, the test device 10 generates test packets and sends the test packets to the routing device 30. The routing device 30 sends to the communication processor 202 via a second downstream channel a2 between the communication processor 202 and the routing device 30. The communication processor 202 sends the test data packet to the application processor 201 via a first downlink path a1 between the communication processor 202 and the application processor 201.
The embodiment of the invention can respectively measure the speed of each uplink and downlink channel, namely the first uplink channel b1, the second uplink channel b2, the second downlink channel a2 and the first downlink channel a1, thereby improving the accuracy and the comprehensiveness of the speed test.
In a specific implementation of step 101, the communication processor 202 receives the indication information from the application processor 201. In particular, the specific form of the indication information may be an Attention (AT) instruction, an upper layer instruction, or a message. In different embodiments, the content indicated by the indication information is different.
The following describes in detail the specific examples.
Example 1 the network rate of the first upstream channel b1 was tested.
Referring to fig. 3, in step 301, the application processor sends instruction information to the communication processor. Accordingly, the communication processor receives the indication information.
In this embodiment, the indication information may be first information, which is used to instruct the communication processor to count the network rate when receiving the uplink test data packet, and perform the packet loss operation. That is, the instruction information instructs the communication processor to change the normal uplink packet transmission flow, wherein the normal uplink packet transmission flow is: the communication processor receives the data packet and transmits the uplink data packet to the routing device.
According to the embodiment of the invention, the communication processor discards the test data packet and sends the test data packet to the subsequent routing equipment, so that the triggering of flow control can be avoided, and the accuracy of speed measurement is improved.
In step 302, the application processor sends test packets to the communication processor.
In particular, the test data packets may be generated by a test tool in the application processor. The test data packet may be a user data protocol (User Data gram Protocol, UDP) data packet, and since the UDP data packet does not need to be retransmitted or fed back, the efficiency of the test may be improved.
In step 303, the communication processor counts the network rate and performs a packet loss operation.
Specifically, the communication processor may calculate the amount of data received in a unit time as the network rate of the first uplink channel b1, which may also be referred to as the first uplink rate, when receiving the test data packet. For example, the communication processor calculates the number of bytes received per second.
Further, the communication processor may receive the test data packet for a first time period and count a first uplink rate for the first time period.
Still further, the communication processor may count an average of the plurality of rates over the plurality of first time periods as a final first uplink rate.
After the statistics of the network rate of the first upstream channel b1 is completed, the communication processor discards the test data packet.
Example 2 the network rate of the second upstream channel b2 was tested.
Referring to fig. 4, in step 401, the application processor sends instruction information to the communication processor. Accordingly, the communication processor receives the indication information.
In this embodiment, the indication information may be second information, which is used to instruct the communication processor to copy the uplink test data packet when receiving the test data packet, and send all the test data packets. That is, the instruction information instructs the communication processor to change the normal uplink packet transmission flow, wherein the normal uplink packet transmission flow is: the communication processor receives the data packet and transmits the uplink data packet to the routing device.
According to the embodiment of the invention, the communication processor copies the test data packets and sends all the test data packets to the subsequent routing equipment, so that the data reading capacity of the second uplink channel b2 for testing the data packets is ensured to be provided, and the accuracy of the rate test is further improved.
In step 402, the application processor sends the raw test data packet to the communication processor.
Specifically, the original test packet may be a UDP packet. More specifically, the number of original test packets may be one.
In step 403, the communication processor replicates the original test data packet.
In particular, the communication processor may continuously replicate the original data packet to continuously obtain the replicated test data packet.
In step 404, the communication processor sends the original test data packet and the duplicate test data packet to the routing device, which sends the original test data packet and the duplicate test data packet to the test device.
In step 405, the test device counts the network rate.
Specifically, the test tool in the test device may calculate the amount of data received in a unit time as the network rate of the second uplink channel b2, which may also be referred to as the second uplink rate, when receiving the test data packet. For example, the test equipment calculates the number of bytes received per second.
Further, the test device may receive the test data packet during the first time period and count a second uplink rate during the first time period.
Further, the test device may count an average of the plurality of rates over the plurality of first durations as the final second uplink rate.
Example 3 the network rate of the second downstream channel a2 was tested.
Referring to fig. 5, in step 501, the application processor sends instruction information to the communication processor. Accordingly, the communication processor receives the indication information.
In this embodiment, the indication information may be third information, which is used to instruct the communication processor to count the network rate when receiving the downlink test data packet, and perform the packet loss operation. That is, the indication information instructs the communication processor to change the normal downlink packet receiving flow, where the normal downlink packet receiving flow is: the communication processor receives the data packet and sends the downlink data packet to the application processor.
According to the embodiment of the invention, the communication processor discards the test data packet and sends the test data packet to the subsequent application processor, so that the triggering of flow control can be avoided, and the accuracy of speed measurement is improved.
In step 502, the test device sends test packets to the routing device, which sends the test packets to the communication processor.
In particular, the test data packets may be generated by a test tool in the test equipment.
In step 503, the communication processor counts the network rate and performs a packet loss operation.
Specifically, the communication processor may calculate the amount of data received in a unit time when receiving the test data packet as the network rate of the second downlink channel a2, which may also be referred to as the second downlink rate. For example, the communication processor calculates the number of bytes received per second.
Further, the communication processor may receive the test data packet for a first time period and count a second downlink rate for the first time period.
Still further, the communication processor may count an average of the plurality of rates over the plurality of first time periods as the final second downlink rate.
After the statistics of the network rate of the second downstream channel a2 is completed, the communication processor discards the test data packet.
Embodiment 4, the network rate of the first downlink channel a1 is tested.
Referring to fig. 6, in step 601, the application processor sends instruction information to the communication processor. Accordingly, the communication processor receives the indication information.
In this embodiment, the indication information may be fourth information, which is used to instruct the communication processor to copy the downlink test data packet when receiving the test data packet, and send all the test data packets. That is, the indication information instructs the communication processor to change the conventional downlink packet receiving flow, where the conventional downlink packet sending flow is: the communication processor receives the data packet and sends the downlink data packet to the application processor.
According to the embodiment of the invention, the communication processor copies the test data packets and sends all the test data packets to the subsequent processor, so that the data reading capacity of the first downlink channel a1 can be ensured to be provided for testing the data packets, and the accuracy of the rate test is further improved.
In step 602, the test device sends an original test data packet to the routing device, which sends the original test data packet to the communication processor.
Specifically, the original test packet may be a UDP packet. More specifically, the number of original test packets may be one.
In step 603, the communication processor replicates the original test data packet.
In particular, the communication processor may continuously replicate the original data packet to continuously obtain the replicated test data packet.
In step 604, the communication processor sends the original test data packet and the duplicate test data packet to the application processor.
In step 605, the application processor counts the network rate.
Specifically, a driver in the application processor, a secure digital input output (Secure Digital Input and Output, SDIO) interface, or a high-speed serial computer expansion bus (peripheral component interconnect express, PCIE) interface may calculate the amount of data received in a unit time when receiving a test data packet, as the network rate of the first downlink channel a1, which may also be referred to as the first downlink rate. For example, the test equipment calculates the number of bytes received per second.
Further, the test device may receive test data packets during the first time period and count a first downlink rate during the first time period.
Still further, the test device may count an average of the plurality of rates over the plurality of first durations as the final first downlink rate.
In one non-limiting embodiment, the communication processor may record the first upstream rate of the first upstream channel b1, the second upstream rate of the second upstream channel b2, the second downstream rate of the second downstream channel a2, and/or the first downstream rate of the first downstream channel a1 in the log. One or more of the above network rates in the travel log are subsequently invoked when needed.
In particular implementations, the network rate may be used to assist in determining the location of a fault affecting the network rate, thereby assisting in subsequent network rate promotion. Specifically, the outlier is determined according to the magnitude of the network rate, that is, the outlier is located on the first downlink channel, the second downlink channel, the first uplink channel or the second uplink channel. For example, when the first uplink rate is lower than the preset threshold, it indicates that the receiving capability of the first uplink channel b1 affects the network rate, and the first uplink channel b1 may be modified to increase the network rate; similarly, when the second uplink rate is lower than the preset threshold, it means that the receiving capability of the second uplink channel b2 affects the network rate, and the second uplink channel b2 may be modified to increase the network rate, and so on.
For more specific implementations of the embodiments of the present application, please refer to the foregoing embodiments, and the details are not repeated here.
Referring to fig. 7, fig. 7 shows a network rate testing device 70, where the network rate testing device 70 may include:
a communication module 701, configured to receive indication information;
and the processing module 702 is configured to respond to the indication information, count a network rate when receiving a test data packet, and perform a packet loss operation, or receive and copy the test data packet, and send all test data packets, where the test data packet is used to count the network rate.
In a specific implementation, the network rate testing device 70 may correspond to a Chip with a network rate testing function in a terminal device, for example, a System-On-a-Chip (SOC), a baseband Chip, etc.; or the terminal equipment comprises a chip module with a network rate test function; or corresponds to a chip module having a chip with a data processing function or corresponds to a terminal device.
Other relevant descriptions about the network rate testing device 70 may refer to those in the foregoing embodiments, and will not be repeated here.
With respect to each of the apparatuses and each of the modules/units included in the products described in the above embodiments, it may be a software module/unit, a hardware module/unit, or a software module/unit, and a hardware module/unit. For example, for each device or product applied to or integrated on a chip, each module/unit included in the device or product may be implemented in hardware such as a circuit, or at least part of the modules/units may be implemented in software program, where the software program runs on a processor integrated inside the chip, and the rest (if any) of the modules/units may be implemented in hardware such as a circuit; for each device and product applied to or integrated in the chip module, each module/unit contained in the device and product can be realized in a hardware manner such as a circuit, different modules/units can be located in the same component (such as a chip, a circuit module and the like) or different components of the chip module, or at least part of the modules/units can be realized in a software program, the software program runs on a processor integrated in the chip module, and the rest (if any) of the modules/units can be realized in a hardware manner such as a circuit; for each device, product, or application to or integrated with the terminal device, each module/unit included in the device may be implemented in hardware such as a circuit, and different modules/units may be located in the same component (e.g., a chip, a circuit module, etc.) or different components in the terminal device, or at least some modules/units may be implemented in a software program, where the software program runs on a processor integrated within the terminal device, and the remaining (if any) part of the modules/units may be implemented in hardware such as a circuit.
The embodiment of the application also discloses a storage medium, which is a computer readable storage medium, and a computer program is stored on the storage medium, and the computer program can execute the steps of the methods shown in fig. 1 to 3 when running. The storage medium may include Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic or optical disks, and the like. The storage medium may also include non-volatile memory (non-volatile) or non-transitory memory (non-transitory) or the like.
Referring to fig. 8, an embodiment of the present application further provides a hardware structure schematic of the computing device. The apparatus includes a processor 801, a memory 802, and a transceiver 803.
The processor 801 may be an application processor, a communication processor, a general purpose central processing unit (central processing unit, CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of programs in the present application. The processor 801 may also include multiple CPUs, and the processor 801 may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. A processor herein may refer to one or more devices, circuits, or processing cores for processing data (e.g., computer program instructions).
The memory 802 may be a ROM or other type of static storage device, a RAM or other type of dynamic storage device that can store static information and instructions, or that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disk read-only memory (CD-ROM) or other optical disk storage, optical disk storage (including compact disk, laser disk, optical disk, digital versatile disk, blu-ray disk, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, as described herein. The memory 802 may exist alone (in which case the memory 802 may be located outside or within the device) or may be integrated with the processor 801. Wherein the memory 802 may contain computer program code. The processor 801 is configured to execute computer program code stored in the memory 802, thereby implementing the methods provided in the embodiments of the present application.
The processor 801, the memory 802, and the transceiver 803 are connected by a bus. The transceiver 803 is used to communicate with other devices or communication networks. Alternatively, the transceiver 803 may include a transmitter and a receiver. The means for implementing the receiving function in the transceiver 803 may be regarded as a receiver for performing the steps of receiving in the embodiments of the present application. The means for implementing the transmitting function in the transceiver 803 may be regarded as a transmitter for performing the steps of transmitting in the embodiments of the present application.
While the schematic structural diagram shown in fig. 8 is used to illustrate the structure of the terminal device/tester involved in the above embodiment, the processor 801 is used to control and manage the actions of the terminal device, for example, the processor 801 is used to support the terminal device to perform actions performed by the terminal device in other processes described in the embodiments of the present application. The processor 801 may communicate with other network entities, such as with the network devices described above, through the transceiver 803. The memory 802 is used to store program codes and data for the terminal device.
It should be understood that the term "and/or" is merely an association relationship describing the associated object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. In this context, the character "/" indicates that the front and rear associated objects are an "or" relationship.
The term "plurality" as used in the embodiments herein refers to two or more.
The first, second, etc. descriptions in the embodiments of the present application are only used for illustrating and distinguishing the description objects, and no order division is used, nor does it indicate that the number of the devices in the embodiments of the present application is particularly limited, and no limitation on the embodiments of the present application should be construed.
The "connection" in the embodiments of the present application refers to various connection manners such as direct connection or indirect connection, so as to implement communication between devices, which is not limited in any way in the embodiments of the present application.
The above embodiments may be implemented in whole or in part by software, hardware, firmware, or any other combination. When implemented in software, the above-described embodiments may be implemented in whole or in part in the form of a computer program product. The computer program product comprises one or more computer instructions or computer programs. When the computer instructions or computer program are loaded or executed on a computer, the processes or functions described in accordance with the embodiments of the present application are all or partially produced. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website site, computer, server, or data center to another website site, computer, server, or data center by wired or wireless means.
It should be understood that, in various embodiments of the present application, the sequence numbers of the foregoing processes do not mean the order of execution, and the order of execution of the processes should be determined by the functions and internal logic thereof, and should not constitute any limitation on the implementation process of the embodiments of the present application.
In the several embodiments provided in the present application, it should be understood that the disclosed method, apparatus, and system may be implemented in other manners. For example, the device embodiments described above are merely illustrative; for example, the division of the units is only one logic function division, and other division modes can be adopted in actual implementation; for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may be physically included separately, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in hardware plus software functional units.
The integrated units implemented in the form of software functional units described above may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium, and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform part of the steps of the methods described in the embodiments of the present application.
Although the present application is disclosed above, the present application is not limited thereto. Various changes and modifications may be made by one skilled in the art without departing from the spirit and scope of the invention, and the scope of the invention shall be defined by the appended claims.
Claims (13)
1. A method for testing network rate, comprising:
receiving indication information;
and responding to the indication information, counting the network rate when receiving the test data packet, and executing packet loss operation, or receiving and copying the test data packet, and transmitting all the test data packets, wherein the test data packet is used for counting the network rate.
2. The network rate testing method according to claim 1, wherein the counting the network rate and performing the packet loss operation includes:
calculating the amount of data received per unit time as the network rate when receiving the test data packet;
discarding the test data packet.
3. The network rate testing method according to claim 2, wherein the test packet is a downlink test packet, the network rate is a first downlink rate, and the first downlink rate is a rate of a first downlink channel between an air interface and a communication processor; or the test packet is an uplink test packet, the network rate is a first uplink rate, and the first uplink rate is a rate of a first uplink channel between the application processor and the communication processor.
4. The network rate testing method of claim 1, wherein said receiving and copying said test packets, transmitting all test packets comprises:
receiving an original test data packet and copying the original test data packet to obtain a copied test data packet;
and sending the original data packet and the replication test data packet out.
5. The network rate testing method of claim 4, wherein an application processor receives the original data packet and the duplicate data packet and counts the network rate when receiving the original data packet and the duplicate data packet.
6. The network rate testing method of claim 5, wherein the network rate is a second downstream rate, the second downstream rate representing a rate of a second downstream channel between a communication processor and the application processor.
7. The network rate testing method according to claim 4, wherein a routing device receives and forwards the original data packet and the duplicate data packet to a testing device, and wherein the testing device counts the network rate when receiving the original data packet and the duplicate data packet.
8. The network rate testing method of claim 7, wherein the network rate is a second upstream rate, the second upstream rate representing a rate of a second upstream channel between the communication processor and the routing device.
9. The network rate testing method according to any one of claims 1 to 8, wherein the indication information includes an attention instruction, an upper layer instruction, or a message.
10. A network rate testing apparatus, comprising:
the communication module is used for receiving the indication information;
and the processing module is used for responding to the indication information, counting the network rate when receiving the test data packet, and executing packet loss operation, or receiving and copying the test data packet, and sending all the test data packets, wherein the test data packet is used for counting the network rate.
11. A network rate testing system, comprising:
the testing machine comprises an application processor and a communication processor, wherein the application processor sends indication information to the communication processor;
a testing device;
a routing device;
wherein the communication processor performs the steps of the network rate testing method of any one of claims 1 to 9, the test data packets being for the application processor or the test device to count the network rate.
12. A computer readable storage medium having stored thereon a computer program, characterized in that the computer program when run by a processor performs the steps of the network rate testing method according to any of claims 1 to 9.
13. A computing device comprising a memory and a communication processor, the memory having stored thereon a computer program executable on the processor, wherein the communication processor performs the steps of the network rate testing method of any of claims 1 to 9 when the computer program is executed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311588592.9A CN117614870A (en) | 2023-11-24 | 2023-11-24 | Network rate testing method, device and system, storage medium and computing equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311588592.9A CN117614870A (en) | 2023-11-24 | 2023-11-24 | Network rate testing method, device and system, storage medium and computing equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117614870A true CN117614870A (en) | 2024-02-27 |
Family
ID=89949284
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311588592.9A Pending CN117614870A (en) | 2023-11-24 | 2023-11-24 | Network rate testing method, device and system, storage medium and computing equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117614870A (en) |
-
2023
- 2023-11-24 CN CN202311588592.9A patent/CN117614870A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112653600A (en) | Network card performance testing method and device based on USB network card and electronic equipment | |
CN112039722B (en) | MQTT protocol simulation method and simulation equipment | |
EP3722963B1 (en) | System, apparatus and method for bulk register accesses in a processor | |
WO2023125272A1 (en) | Full-link stress testing method and apparatus in radius environment, computer device and storage medium | |
EP3812911A2 (en) | System, apparatus and method for communicating telemetry information via virtual bus encodings | |
CN105183575A (en) | Processor fault diagnosis method, device and system | |
CN114390578A (en) | Network performance testing method and device, electronic equipment and medium | |
CN107293330B (en) | Method and system for performing simulation verification on Random Access Memory (RAM) | |
CN112422485B (en) | Communication method and device of transmission control protocol | |
WO2024120169A1 (en) | Server, server asset information acquisition method and apparatus, and server asset information providing method and apparatus | |
CN117614870A (en) | Network rate testing method, device and system, storage medium and computing equipment | |
CN111757371B (en) | Statistical method of transmission delay, server and storage medium | |
CN114880266B (en) | Fault processing method and device, computer equipment and storage medium | |
CN115129509B (en) | Data transmission method, device and medium | |
CN114338386B (en) | Network configuration method and device, electronic equipment and storage medium | |
CN113835946B (en) | Pressure test method for data exchange | |
US10129147B2 (en) | Network-on-chip flit transmission method and apparatus | |
CN111427814B (en) | Inter-core communication method based on AMP system, terminal and storage medium | |
US20210160160A1 (en) | Method, system, readable storage medium and device for configuring adaptive network pressure measurement | |
CN111371799B (en) | Method, device and equipment for controlling data receiving and transmitting of MCTP (Multi-channel media Port) controller | |
CN114301813A (en) | Time delay measuring method and device for PING detection | |
CN111988394B (en) | Method, device and equipment for optimizing P2P data transmission in virtualization environment | |
CN115529623B (en) | Baseband unit testing device and method, terminal equipment and storage medium | |
CN117687889B (en) | Performance test device and method for memory expansion equipment | |
CN117873853B (en) | Data recording method, device, electronic equipment and medium |
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 |