CN114124760A - Network test stream number distribution method and device, network tester and storage medium - Google Patents

Network test stream number distribution method and device, network tester and storage medium Download PDF

Info

Publication number
CN114124760A
CN114124760A CN202111397547.6A CN202111397547A CN114124760A CN 114124760 A CN114124760 A CN 114124760A CN 202111397547 A CN202111397547 A CN 202111397547A CN 114124760 A CN114124760 A CN 114124760A
Authority
CN
China
Prior art keywords
bit
local
intersection
port
network
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.)
Granted
Application number
CN202111397547.6A
Other languages
Chinese (zh)
Other versions
CN114124760B (en
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.)
Jiangsu Xinertai Intelligent Equipment Co ltd
Original Assignee
Jiangsu Xinertai Intelligent Equipment 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 Jiangsu Xinertai Intelligent Equipment Co ltd filed Critical Jiangsu Xinertai Intelligent Equipment Co ltd
Priority to CN202111397547.6A priority Critical patent/CN114124760B/en
Publication of CN114124760A publication Critical patent/CN114124760A/en
Application granted granted Critical
Publication of CN114124760B publication Critical patent/CN114124760B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

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 relates to a method for distributing the number of a network test flow, wherein the number of the flow to be distributed of the network test flow comprises a sending port bit, an expansion bit and a local identification bit, and the sending port bit is the port number of the current sending port; obtaining a set R of unused local identifiers for each receiving port1,R2,…,RdWill be set R1,R2,…,RdTaking the intersection to obtain a set R, wherein d is the number of receiving ports; acquiring a set T of unused local identifiers of a current sending port1,T2,…,TeAnd e is the range value of the extension bit; the set T is arranged according to a preset sequence1,T2,…,TeIntersect with set R, current set TiIntersection S with set RiIf not, stopping the intersection operation and getting the intersection SiOptionally writing a local identification into the local identification bit, and writing i into the extension bit to generateStream numbers, i =1,2, …, e, are to be assigned. The stream number distribution method and the stream number distribution device have the effects of achieving global uniqueness of the stream numbers and improving distribution efficiency.

Description

Network test stream number distribution method and device, network tester and storage medium
Technical Field
The present application relates to the field of network testing technologies, and in particular, to a method and an apparatus for allocating a stream number of a network test stream, a network tester, and a storage medium.
Background
With the popularization and complication of networks, the reasonable erection and normal operation of the networks become abnormally important, and therefore, network detection auxiliary equipment becomes more and more important in network construction and network maintenance work. The network tester can greatly reduce the time for network managers to check network faults, improve the working efficiency of comprehensive wiring constructors, accelerate the progress of engineering and improve the quality of engineering.
When the network tester performs flow test, all flows need to be corresponding to a unique flow number in a test domain, when the network tester transmits the flows, the flow numbers are filled into the test domain of the message, and relevant statistics is performed according to the flow numbers when the network tester receives and transmits the flows. In order to ensure global uniqueness of the stream number, the traditional network tester generally obtains a complete stream number by a table look-up mode, so that the distribution efficiency is low; in order to guarantee efficient distribution efficiency, it is generally difficult to guarantee global uniqueness of stream number distribution. Therefore, a method for allocating a stream number of a network test, which can realize global uniqueness of the stream number and can realize efficient allocation, is needed.
Disclosure of Invention
In order to realize global uniqueness of stream numbers and improve distribution efficiency, the application provides a stream number distribution method and device for network test, a network tester and a storage medium.
In a first aspect, the present application provides a method for allocating a stream number of a network test stream, which adopts the following technical scheme:
a method for distributing network test stream number includes sending port bit, expansion bit and local identification bit, wherein the sending port bit is the port number of the current sending port; the method comprises the following steps:
obtaining a set R of unused local identifiers for each receiving port1,R2,…,RdAnd combining said set R1,R2,…,RdTaking the intersection to obtain a set R, wherein d is the number of receiving ports;
acquiring a set T of unused local identifiers of a current sending port1,T2,…,TeWherein e is the extension bitA range value;
the set T is put in a preset order1,T2,…,TeTaking intersection with the set R, if the current set TiIntersection S with the set RiIf not, stopping the intersection operation and obtaining the intersection SiOptionally, writing a local id into the local id bit, and writing i into the extension bit, to generate the stream number to be allocated, where i =1,2, …, e.
Through adopting above-mentioned technical scheme, through the setting of extension bit, not only can increase the local sign of distributable, and then richen the flow number resource, can also be when distributing the flow number at every turn, need not to look up the table, can acquire only usable flow number fast, improved flow number distribution efficiency.
Optionally, the bit width of the sending port bit is l-m-1; the bit width of the extension bit is m-n; the bit width of the local identification bit is n + 1;
therein, 2l-m-1=M,2n+1And = N, M is the maximum number of supported ports of the network tester, N is the maximum number of received streams of each receiving port, and l is the total number of bits of the stream number to be allocated.
By adopting the technical scheme, the bit width of each part of the stream number is reasonably calculated and divided according to the parameters of the maximum supported port number, the maximum receiving stream number of the port and the total bit number of the stream number, and the stream number segmentation mode can flexibly adapt to network test systems with different specifications.
Optionally, the start bit of the local identification bit is the lowest bit of the stream number to be allocated, the end bit of the sending port bit is the highest bit of the stream number to be allocated, and the extension bit is located between the local identification bit and the sending port bit.
Optionally, at said slave intersection SiAfter writing any one of the local identifiers into the local identifier bit and writing i into the extension bit to generate the stream number to be allocated, the method further includes:
updating a set of unused local identifications of receive ports receiving the network test flow;
is updated whenSet T of unused local identities for the front-sending ports1,T2,…,Te
Optionally, if the set T is1,T2,…,TeAnd if the intersection set taken by the set R is empty, an error is reported.
Optionally, the method further includes:
if the network test flow is deleted, the local identification used by the network test flow is added to the set T of the unused local identification of the current sending port1,T2,…,TeAnd a set of unused local identifications of receiving ports that have received the network test flow.
By adopting the technical scheme, the stream number of the deleted network test stream can be recycled, the stream number resource is fully utilized, and the availability of the stream number is improved.
In a second aspect, the present application provides a network test flow number assignment device, which adopts the following technical solution:
a network test flow number distribution device comprises,
a first obtaining module, configured to obtain a set R of unused local identifiers for each receiving port1,R2,…,RdAnd combining said set R1,R2,…,RdTaking the intersection to obtain a set R, wherein d is the number of receiving ports;
a second obtaining module, configured to obtain a set T of unused local identifiers of a current sending port1,T2,…,TeWherein e is a range value of the extension bit;
a stream number generation module for generating the set T according to a preset sequence1,T2,…,TeTaking intersection with the set R, if the current set TiIntersection S with the set RiIf not, stopping the intersection operation and obtaining the intersection SiOptionally, writing a local id into the local id bit, and writing i into the extension bit, to generate the stream number to be allocated, where i =1,2, …, e.
Through adopting above-mentioned technical scheme, through the setting of extension bit, not only can increase the local sign of distributable, and then richen the flow number resource, can also be when distributing the flow number at every turn, need not to look up the table, can acquire only usable flow number fast, improved flow number distribution efficiency.
In a third aspect, the present application provides a network tester, which adopts the following technical scheme:
a network tester comprising a memory and a processor, the memory having stored thereon a computer program that can be loaded by the processor and that performs the network test flow number assignment method of any of the first aspects.
In a fourth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solutions:
a computer-readable storage medium storing a computer program that can be loaded by a processor and executes the network test flow number assignment method according to any one of the first aspect.
Drawings
Fig. 1 is a flowchart illustrating a method for assigning a flow number of a network test flow according to an embodiment of the present application.
Fig. 2 is a block diagram of a network test flow number assignment device according to an embodiment of the present application.
Fig. 3 is a block diagram of a network tester according to an embodiment of the present application.
Detailed Description
The present application is described in further detail below with reference to the attached drawings.
Fig. 1 shows a flow chart of a network test flow number assignment method.
The method can be applied to a network tester. The network tester comprises at least one sending port and at least one receiving port. Before sending a network test flow, a user is required to designate a sending port and a receiving port in software of a test system, the sending port allocates a sending port number for the network test flow to be sent, and because one sending port corresponds to a unique sending port number, sending port numbers contained in the flow numbers of all the network test flows sent through the sending port are the same, namely the sending port numbers are fixed in the sending process.
In order to ensure that the stream number of each network test stream is unique and available, unused local identifiers exist in a sending port and a receiving port, wherein the receiving port is also specified by a user, but the number of the receiving ports is not one, and the specific number of the receiving ports needs to be configured by the user according to the actual requirement condition.
The flow of allocating the number of the stream of the network test stream will be continuously performed, and the user will configure the receiving port of the stream for many times, but because the sending port is unique, the number of the local identifiers available in each sending port is certain, and it is difficult to provide for multiple allocation and use, the collection of the local identifiers of the sending ports needs to be expanded according to the range value of the expansion bit.
The stream number of the network test stream consists of three parts, namely a sending port bit, an expansion bit and a local identification bit. The system sets a unique port number for each sending port, and writes the port number of the sending port into a sending port bit when any sending port needs to send the network test stream. The bit width of the local identification bit determines the range value of the local identification to be used, and if the bit width of the local identification bit is p, the range value of the local identification to be used is 2pThe value range of the local identifier to be used is [0, 2 ]p-1]. The bit width of the extension bit determines the range value of the extension bit, and assuming that the bit width of the extension bit is q, the range value of the extension bit is 2q
As shown in fig. 1, the main flow of the method is described as follows (steps S101 to S103):
step S101: obtaining a set R of unused local identifiers for each receiving port1,R2,…,RdAnd will set R1,R2,…,RdAnd taking the intersection to obtain a set R, wherein d is the number of the receiving ports.
Step S102: acquiring a set T of unused local identifiers of a current sending port1,T2,…,TeWherein e is the range value of the extension bit.
In this embodiment, before the stream number is allocated for the first time, the unused local id of the current transmit port or receive port is the same, and is the local id to be used that is determined by the bit width of the local id bit.
Every time the network test flow is received and sent, the current sending port and the current receiving port which participate in the network test flow receiving and sending delete the local identification used by the network test flow from the local identification to be used, the rest local identifications are the unused local identifications, and the unused local identifications form a set of the unused local identifications.
It should be noted that each receiving port corresponds to a set of unused local identifiers. Unlike the receiving port, the current transmitting port may correspond to a plurality of sets of unused local identifiers, and the number of sets is the same as the range value of the stream number extension bit. Assuming that the bit width of the extension bit is 2, the range value e of the extension bit is 4, and at this time, the current transmission port corresponds to 4 sets T of unused local identifiers1,T2, T3,T4
In addition, before the stream number is first assigned, T1,T2,…,TeThe local identifiers in the local identifier list are the same and are all the local identifiers to be used which are determined by the bit width of the local identifier.
Step S103: the set T is arranged according to a preset sequence1,T2,…,TeTaking intersection with the set R, if the current set TiIntersection S with set RiIf not, stopping the intersection operation and getting the intersection SiOptionally, writing a local identifier into the local identifier bit, and writing i into the extension bit, and generating a stream number to be allocated, wherein i =1,2, …, e.
In this embodiment, the preset sequence of taking the intersection may be T1→TeMay be Te→T1The sequence of (a) may also be other self-defined sequences, and this embodiment is not particularly limited. And performing intersection taking operation on the set in the next order and the set R only if the intersection of the set in the previous order and the set R is empty.
In this embodiment, specific positions of the sending port bit, the extension bit, and the local identification bit in the stream number may be set by a user, where the extension bit and the local identification bit should be adjacent to each other.
Optionally, the start bit of the local identification bit is the lowest bit of the stream number to be allocated, the end bit of the sending port bit is the highest bit of the stream number to be allocated, and the extension bit is located between the local identification bit and the sending port bit.
According to the specification defined by the test system, the network testers realized by each manufacturer have differences, so that the maximum port number and the maximum stream number which can be supported by the network testers have differences, and further, the stream number distribution method cannot be flexibly adapted to the test systems with various specifications.
To solve the problem, the bit width of the transmission port bit, the extension bit and the local identification bit may be determined according to the maximum supported port number M of the network tester, the maximum number N of received streams of each receiving port and the total number l of streams to be allocated.
Specifically, the bit width of the sending port bit is l-m-1; the bit width of the extension bit is m-n; the bit width of the local identification bit is n + 1; extension bit range value of 2m-n,2l-m-1=M,2n+1=N。
As for the network test flow number assignment method in steps S101 to S103, the following is specifically described by way of example:
assuming that the total number of bits l =8 of the stream number to be allocated, the maximum number of supported ports M =8 of the network tester, and the maximum number of received streams N =4 of each port, then M =4, N =1, that is, the bit width of the transmitting port bit is 3; the bit width of the extension bit is 3; the bit width of the local identification bit is 2; the extension bit has a range value of 8.
Assuming that the port number of the current transmission port is 000, the user designates two reception ports. Before the stream number is allocated for the first time, the set of unused local identifiers of the current transmission port is T1,T2,…,T8,T1/T2/…/T8= (0, 1,2, 3); the set of unused local identifiers of the receiving port 1 is R1= (0, 1,2, 3); the set of unused local identifiers of the receiving port 2 is R2=(0,1,2,3)。
When the stream number is allocated for the first time, the current network test stream is set to be sent by the current sending portTo receiving port 1, set R1And R2R = (0, 1,2, 3), set T1And (0, 1,2, 3) is obtained by taking intersection with the set R, local identification 0 is selected from the intersection (0, 1,2, 3) to be written into the local identification bit, and 1 is written into the extension bit, wherein the stream number is 00000100.
After the stream number is first assigned, R1=(1,2,3),R2=(0,1,2,3),T1=(1,2,3),T2~T8Are all (0, 1,2, 3).
When the stream number is assigned for the second time, set R1And R2R = (1, 2, 3), set T1And (1, 2, 3) is obtained by taking intersection with the set R, 2 is selected from the intersection (1, 2, 3) to be written into the local identification bit, and 1 is written into the extension bit, wherein the stream number is 00000110.
The subsequent stream number assignment is analogized, and is not described in detail.
In the above example, the set R and the set T1,T2,…,T8Is according to T1→T8So that the military will assemble T when the first and second stream numbers are assigned1And performing intersection operation with the set R.
In this embodiment, if T is set1,T2,…,T8And if the intersection set taken by the set R is empty, an error is reported to prompt that the stream number resources are completely distributed.
In this embodiment, each time the network test flow is received and sent, the current sending port and the current receiving port participating in the network test flow receiving and sending will update their own set of unused local identifiers, that is, the local identifier used by the network test flow is deleted from the set, so as to perform the next allocation operation of the network test flow number, and prevent the same flow number from being repeatedly allocated.
In this embodiment, when the network test flow is deleted after the test is completed, the local identifier used by the network test flow may be added to the set T of unused local identifiers of the current sending port1,T2,…,TeAnd a set of unused local identifications for the receive ports that have received the network test flowAnd the local identification can be used again, so that the resource recovery of the software stream number is realized.
It should be noted that fig. 1 is only one possible execution sequence, and step S101 may be executed before step S102, or after step S102, or may be executed simultaneously with step S102, and it is only necessary to ensure that step S101 and step S102 are executed before step S103, which is not limited in this embodiment.
Fig. 2 is a block diagram of a flow number assignment device 200 for a network tester according to an embodiment of the present application.
As shown in fig. 2, the network test flow number assignment device 200 mainly includes:
a first obtaining module 201, configured to obtain a set R of unused local identifiers for each receiving port1,R2,…,RdAnd will set R1,R2,…,RdAnd taking the intersection to obtain a set R, wherein d is the number of the receiving ports.
A second obtaining module 202, configured to obtain a set T of unused local identifiers of a current sending port1,T2,…,TeWherein e is the range value of the extension bit.
A stream number generating module 203 for generating the set T according to a preset sequence1,T2,…,TeTaking intersection with the set R, if the current set TiIntersection S with set RiIf not, stopping the intersection operation and getting the intersection SiOptionally, writing a local identifier into the local identifier bit, and writing i into the extension bit, and generating a stream number to be allocated, wherein i =1,2, …, e.
As an optional implementation manner of this embodiment, the apparatus further includes a set updating module, configured to update the set at the slave intersection SiOptionally writing a local identifier into a local identifier bit, writing i into an extension bit, generating a stream number to be distributed, updating a set of unused local identifiers of a receiving port for receiving the network test stream, and updating a set T of unused local identifiers of a current sending port1,T2,…,Te
As the present embodimentIn an alternative implementation of the present invention, the apparatus further includes an intersection error reporting module, configured to report an error if the set T is a set T1,T2,…,T8And if the intersection set taken by the set R is empty, an error is reported to prompt that the stream number resources are completely distributed.
As an optional implementation manner of this embodiment, the apparatus further includes a recycling module, configured to, when the network test flow is deleted after the test is completed, add the local identifier used by the network test flow to the set T of unused local identifiers of the current sending port1,T2,…,TeAnd the collection of the unused local identifiers of the receiving ports which have received the network test flow enables the local identifiers to be used again, and resource recovery of the software flow number is achieved.
In one example, the modules in any of the above apparatus may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more Digital Signal Processors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), or a combination of at least two of these integrated circuit forms.
For another example, when a module in a device may be implemented in the form of a processing element scheduler, the processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of invoking programs. As another example, these modules may be integrated together, implemented in the form of a system-on-a-chip (SOC).
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and modules may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Fig. 3 is a block diagram of a network tester 300 according to an embodiment of the present disclosure.
As shown in FIG. 3, network tester 300 includes a processor 301 and memory 302, and may further include one or more of an information input/information output (I/O) interface 303 and a communications component 304.
The processor 301 is configured to control the overall operation of the network tester 300, so as to complete all or part of the steps of the above-mentioned network test flow number assignment method; the memory 302 is used to store various types of data to support the operation of the network tester 300, which may include, for example, instructions for any application or method operating on the network tester 300, as well as application-related data. The Memory 302 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as one or more of Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic or optical disk.
The I/O interface 303 provides an interface between the processor 301 and other interface modules, such as a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 304 is used for wired or wireless communication between the network tester 300 and other devices. Wireless Communication, such as Wi-Fi, bluetooth, Near Field Communication (NFC), 2G, 3G, or 4G, or a combination of one or more of them, so that the corresponding Communication component 104 may include: Wi-Fi part, Bluetooth part, NFC part.
The network tester 300 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components, and is configured to perform the network test stream number distribution method provided by the above embodiments.
The present application further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the network test flow number assignment method described above.
The computer-readable storage medium may include: a U-disk, a removable hard disk, a read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In addition, it is to be understood that relational terms such as first and second, and the like, are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
The terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the application referred to in the present application is not limited to the embodiments with a particular combination of the above-mentioned features, but also encompasses other embodiments with any combination of the above-mentioned features or their equivalents without departing from the spirit of the application. For example, the above features may be replaced with (but not limited to) features having similar functions as those described in this application.

Claims (9)

1. A method for distributing network test stream numbers is characterized in that the stream numbers to be distributed of the network test streams comprise a sending port bit, an expansion bit and a local identification bit, wherein the sending port bit is the port number of the current sending port; the method comprises the following steps:
obtaining a set R of unused local identifiers for each receiving port1,R2,…,RdAnd combining said set R1,R2,…,RdTaking the intersection to obtain a set R, wherein d is the number of receiving ports;
acquiring a set T of unused local identifiers of a current sending port1,T2,…,TeWherein e is a range value of the extension bit;
the set T is put in a preset order1,T2,…,TeTaking intersection with the set R, if the current set TiIntersection S with the set RiIf not, stopping the intersection operation and obtaining the intersection SiOptionally, writing a local id into the local id bit, and writing i into the extension bit, to generate the stream number to be allocated, where i =1,2, …, e.
2. The method of claim 1, wherein the transmit port bit has a bit width of l-m-1; the bit width of the extension bit is m-n; the bit width of the local identification bit is n + 1;
therein, 2l-m-1=M,2n+1And = N, M is the maximum number of supported ports of the network tester, N is the maximum number of received streams of each receiving port, and l is the total number of bits of the stream number to be allocated.
3. The method according to claim 1 or 2, wherein the start bit of the local identification bit is the lowest bit of the stream number to be allocated, the end bit of the transmit port bit is the highest bit of the stream number to be allocated, and the extension bit is located between the local identification bit and the transmit port bit.
4. Method according to claim 1 or 2, characterized in that at said slave intersection SiOptionally one local identification is written into the local identification bit,writing i into the extension bit, and after generating the stream number to be distributed, further comprising:
updating a set of unused local identifications of receive ports receiving the network test flow;
updating the set T of unused local identifications of the current transmitting ports1,T2,…,Te
5. The method of claim 1 or 2, further comprising:
if the set T is1,T2,…,TeAnd if the intersection set taken by the set R is empty, an error is reported.
6. The method of claim 1 or 2, further comprising:
if the network test flow is deleted, the local identification used by the network test flow is added to the set T of the unused local identification of the current sending port1,T2,…,TeAnd a set of unused local identifications of receiving ports that have received the network test flow.
7. A stream number distribution device of a network tester is characterized by comprising,
a first obtaining module, configured to obtain a set R of unused local identifiers for each receiving port1,R2,…,RdAnd combining said set R1,R2,…,RdTaking the intersection to obtain a set R, wherein d is the number of receiving ports;
a second obtaining module, configured to obtain a set T of unused local identifiers of a current sending port1,T2,…,TeWherein e is a range value of the extension bit;
a stream number generation module for generating the set T according to a preset sequence1,T2,…,TeTaking intersection with the set R, if the current set TiIntersection S with the set RiIf not, the intersection operation is stoppedMaking and from said intersection SiOptionally, writing a local id into the local id bit, and writing i into the extension bit, to generate the stream number to be allocated, where i =1,2, …, e.
8. A network tester comprising a memory and a processor, the memory having stored thereon a computer program that can be loaded by the processor and that implements the method of any of claims 1 to 6.
9. A computer-readable storage medium, in which a computer program is stored which can be loaded by a processor and which executes the method of any one of claims 1 to 6.
CN202111397547.6A 2021-11-23 2021-11-23 Network test stream number distribution method and device, network tester and storage medium Active CN114124760B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111397547.6A CN114124760B (en) 2021-11-23 2021-11-23 Network test stream number distribution method and device, network tester and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111397547.6A CN114124760B (en) 2021-11-23 2021-11-23 Network test stream number distribution method and device, network tester and storage medium

Publications (2)

Publication Number Publication Date
CN114124760A true CN114124760A (en) 2022-03-01
CN114124760B CN114124760B (en) 2024-04-05

Family

ID=80440593

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111397547.6A Active CN114124760B (en) 2021-11-23 2021-11-23 Network test stream number distribution method and device, network tester and storage medium

Country Status (1)

Country Link
CN (1) CN114124760B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050251368A1 (en) * 2004-05-05 2005-11-10 Kolman Robert S Methods and apparatus for identifying test number collisions
CN104618209A (en) * 2013-11-05 2015-05-13 华为技术有限公司 Virtual local area network interface processing method and network device
CN107889263A (en) * 2016-09-30 2018-04-06 中兴通讯股份有限公司 A kind of method for transmitting signals and device
CN111698124A (en) * 2020-04-14 2020-09-22 新华三信息安全技术有限公司 Network monitoring method, network equipment and machine readable storage medium
CN112436983A (en) * 2020-11-23 2021-03-02 锐捷网络股份有限公司 Analog wide area network data transmission method and device, electronic equipment and storage medium
CN112486848A (en) * 2020-12-22 2021-03-12 上海金卓科技有限公司 Test data generation method and device, chip and storage medium
CN113625678A (en) * 2021-06-28 2021-11-09 上海空间电源研究所 Automatic simulation test method for port impedance

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050251368A1 (en) * 2004-05-05 2005-11-10 Kolman Robert S Methods and apparatus for identifying test number collisions
CN104618209A (en) * 2013-11-05 2015-05-13 华为技术有限公司 Virtual local area network interface processing method and network device
CN107889263A (en) * 2016-09-30 2018-04-06 中兴通讯股份有限公司 A kind of method for transmitting signals and device
CN111698124A (en) * 2020-04-14 2020-09-22 新华三信息安全技术有限公司 Network monitoring method, network equipment and machine readable storage medium
CN112436983A (en) * 2020-11-23 2021-03-02 锐捷网络股份有限公司 Analog wide area network data transmission method and device, electronic equipment and storage medium
CN112486848A (en) * 2020-12-22 2021-03-12 上海金卓科技有限公司 Test data generation method and device, chip and storage medium
CN113625678A (en) * 2021-06-28 2021-11-09 上海空间电源研究所 Automatic simulation test method for port impedance

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
DAI, TY (DAI, TONGYU): "Statistical Learning Based Congestion Control for Real-Time Video Communication", 《IEEE TRANSACTIONS ON MULTIMEDIA》, 8 October 2020 (2020-10-08) *
郭园方: "万兆级网络综合测试系统测试流生成与检测技术研究", 中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑, 17 October 2014 (2014-10-17) *

Also Published As

Publication number Publication date
CN114124760B (en) 2024-04-05

Similar Documents

Publication Publication Date Title
CN107733708B (en) Equipment parameter configuration method and device, computer equipment and storage medium
RU2442210C2 (en) The methods and devices for performance of the operations on the tree of channel
WO2019037203A1 (en) Application program performance testing method, device, computer equipment, and storage medium
CN112416969B (en) Parallel task scheduling system in distributed database
CN111654399B (en) Networking method, device, equipment and storage medium based on SD-WAN
CN105095023A (en) Cloud host establishing device and method and calculating equipment
CN111163186B (en) ID generation method, device, equipment and storage medium
CN111163140A (en) Method, apparatus and computer readable storage medium for resource acquisition and allocation
CN107566543B (en) Node identifier setting method and device
CN114124760B (en) Network test stream number distribution method and device, network tester and storage medium
CN108370329B (en) Management method and device for management function object
CN108574947A (en) A kind of Internet of Things test method and device
CN111371578A (en) Method and device for deploying virtualized network function
CN113162796B (en) Equipment updating method, device and system
CN105389212A (en) Job assigning method and apparatus
CN105471838A (en) Data processing method and device applied to L2TP
CN110362575B (en) Method and device for generating global index of data
CN111090575B (en) Test method
CN113347046A (en) Network access method and device
CN113452729A (en) Serial number determination method, equipment and storage medium
JP5159300B2 (en) Simulation device
CN112910943B (en) Service providing method, device and system
CN113132233B (en) Data processing method, software defined network controller and data processing system
CN105320512A (en) Method and device for distributing trunk permission
CN113852919B (en) Method and device for generating early warning message, storage medium and electronic device

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
GR01 Patent grant
GR01 Patent grant