CN114244730A - Network testing method and control method of testing equipment - Google Patents

Network testing method and control method of testing equipment Download PDF

Info

Publication number
CN114244730A
CN114244730A CN202111059543.7A CN202111059543A CN114244730A CN 114244730 A CN114244730 A CN 114244730A CN 202111059543 A CN202111059543 A CN 202111059543A CN 114244730 A CN114244730 A CN 114244730A
Authority
CN
China
Prior art keywords
data
test
protocol
data packet
functional layer
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.)
Withdrawn
Application number
CN202111059543.7A
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.)
Xuzhou Zhitong Laser Intelligent Manufacturing Technology Research Institute Co ltd
Original Assignee
Xuzhou Zhitong Laser Intelligent Manufacturing Technology Research Institute 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 Xuzhou Zhitong Laser Intelligent Manufacturing Technology Research Institute Co ltd filed Critical Xuzhou Zhitong Laser Intelligent Manufacturing Technology Research Institute Co ltd
Priority to CN202111059543.7A priority Critical patent/CN114244730A/en
Publication of CN114244730A publication Critical patent/CN114244730A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/044Recurrent networks, e.g. Hopfield networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/12Network monitoring probes

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Biomedical Technology (AREA)
  • Biophysics (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Molecular Biology (AREA)
  • Artificial Intelligence (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

The invention provides a network test method and test equipment, which are applied to the field of network detection, and the method comprises the steps of signing a multilayer protocol with a host, acquiring data of a functional layer, inputting the data into a model and generating a corresponding code; the method comprises the steps of running a code, generating a test data packet according to the running of the code, transmitting the test data packet to a functional layer, triggering a decompression program according to the fact that the data packet passes through a functional layer protocol, decompressing to generate a plurality of test data strips, distributing the test data strips on functional layer nodes, analyzing a test result, generating a text according to an analysis result, carrying out data collection through a multi-layer protocol to generate the test data packet, carrying out data replacement on a plurality of sub-chains in the data packet, comprehensively detecting a network according to the formation of a newly obtained data packet and carrying out real-time monitoring.

Description

Network testing method and control method of testing equipment
Technical Field
The present invention relates to the field of network testing, and in particular, to a network testing method and a control method of a testing device.
Background
In the process of wireless network construction, operation and maintenance, testing and problem analysis of users and network elements are basic work of daily network maintenance, and are mainly realized by a manual drive test mode at present, namely, professionals carry special equipment to collect test data by driving or walking, and then the collected data is played back and manually analyzed to find network problems or service quality problems.
The prior art CN201910990830.6 network testing method, device, network tester and computer readable storage medium include acquiring a plurality of initial data packets; constructing a data packet according to a plurality of initial data packets and a plurality of preset IP address groups to obtain a plurality of test data packets; calculating the average data packet size of a plurality of test data packets; and sending a plurality of test data packets according to the average data packet size and the preset sending rate so as to carry out network test. According to the method, data packet construction is carried out according to a plurality of initial data packets and a plurality of preset IP address groups, and it can be ensured that the constructed test data packets cannot be identified as the same data packet; the method and the device have the advantages that the multiple test data packets are sent according to the average data packet size and the preset sending rate, the speed limit accuracy in the data packet sending process can be improved, so that the performance test under the real network environment can be well simulated, the network test effect is improved, all performance layer data cannot be accurately detected, and the comprehensive performance monitoring is carried out.
In view of the above, a method and apparatus for network testing are particularly disclosed.
Disclosure of Invention
The invention aims to solve the problem of determining performance faults and provides a network testing method and a control method of testing equipment.
The invention adopts the following technical means for solving the technical problems:
the invention provides a network testing method, which is characterized by comprising the following steps:
signing a multi-layer protocol with a host;
acquiring data of a function layer, inputting the data into a model, and generating a corresponding code;
running the code, and generating a test data packet according to the running of the code;
transmitting the test data packet to a functional layer, and triggering a decompression program when the data packet passes through a functional layer protocol;
decompressing to generate a plurality of test data strips, distributing the test data strips on the nodes of the functional layer, and analyzing the test result;
and generating a text according to the analysis result.
Further, the step of signing a multi-layer agreement with the host includes:
the multi-layer protocol comprises application layer protocols tcp and udp, a data link layer protocol HDLC, a network layer protocol OSPF, a transmission layer protocol SPX, a session layer protocol RPC and an application layer protocol Telnet, and all types of protocols are signed in different modes.
Further, acquiring functional layer data, inputting the data into a model, and before the step of generating corresponding codes, the method includes:
and presetting the model, wherein the model is an LSTM model, constructing an LSTM neural network, and performing sequence modeling according to the LSTM neural network to generate the LSTM model.
Further, the step of acquiring functional layer data, inputting the data into a model and generating a corresponding code comprises:
and inputting the data into the LSTM model, and performing program coding according to the LSTM, wherein the coding comprises three steps of preprocessing, connection processing and post-processing, and the three steps are respectively calculated by a formula.
Further, the step of transmitting the test data packet to the functional layer, and triggering a decompression program according to the data packet passing through the functional layer protocol includes:
generating a control instruction according to the data body and the non-compressed data in the data packet, and adjusting the control instruction according to the multilayer protocol;
and the data packet comprises a data body and uncompressed data, the decompression control instruction is input into the uncompressed data, when the test data packet is transmitted to the functional layer, the control instruction is triggered when the data packet passes through a multilayer protocol, and the data body in the data packet is decompressed according to the instruction control program.
Further, the decompressing generates a plurality of test data strips, the test data strips are distributed on the functional layer nodes, and the step of analyzing the test result includes:
the test data strip carries a plurality of sub-chains, the sub-chains are mounted after the test data strip enters the functional layer, data replacement is carried out according to nodes mounted by the sub-chains, new data points are formed according to data replacement contents, and the data points are collected to generate a set data packet.
Also included is a network test device, comprising:
an interaction unit: for signing a multi-layer protocol with a host;
an acquisition unit: the method comprises the steps of acquiring functional layer data, inputting the data into a model, and generating corresponding codes;
an operation unit: the test data packet is generated according to the code operation;
an operation unit: the device is used for transmitting the test data packet to the functional layer and triggering a decompression program when the data packet passes through a functional layer protocol;
a decompression unit: the test data strips are distributed on the nodes of the functional layer, and the test results are analyzed;
a generation unit: and generating a text according to the analysis result.
Further, the interaction unit includes:
a protocol storage subunit: the system is used for storing the multi-layer protocols, and comprises application layer protocols tcp and udp, a data link layer protocol HDLC, a network layer protocol OSPF, a transmission layer protocol SPX, a session layer protocol RPC and an application layer protocol Telnet;
signing the subunit: for signing the various types of protocols in different ways.
Further, the operation unit includes:
an instruction generation subunit: the control instruction is generated according to the data body and the non-compressed data in the data packet, and is adjusted according to the multilayer protocol;
a transmission subunit: and the functional layer is used for transmitting the test data packet to the functional layer.
The invention provides a network test method and a control method of test equipment, which have the following beneficial effects: data is collected through a multi-layer protocol, a test data packet is generated, data is replaced through mounting of a plurality of sub-chains in the data packet, and a network is comprehensively detected and real-time monitoring is carried out according to formation of a newly obtained data packet.
Drawings
FIG. 1 is a cross-sectional view of an overall structure of an embodiment of a network test method and a control method of a test apparatus according to the present invention;
FIG. 2 is a partial structural diagram of another embodiment of a network test method and a control method of a test apparatus according to the present invention;
FIG. 3 is a process diagram of a network test method and a control method of a test device according to the present invention
The implementation, functional features and advantages of the present invention will be further described with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a network testing method according to an embodiment of the present invention includes:
s1: signing a multi-layer protocol with a host;
s2: acquiring data of a function layer, inputting the data into a model, and generating a corresponding code;
s3: running the code, and generating a test data packet according to the running of the code;
s4: transmitting the test data packet to a functional layer, and triggering a decompression program when the data packet passes through a functional layer protocol;
s5: decompressing to generate a plurality of test data strips, distributing the test data strips on the nodes of the functional layer, and analyzing the test result;
s6: and generating a text according to the analysis result.
In this embodiment: communicating with the host computer multilayer, calling out the pre-stored protocol, and signing the protocol with the host computer multilayer structure according to the protocol content;
acquiring data of the functional layer, decomposing the data, importing the data according to the decomposed data content, importing the data into a preset model, and outputting a code sequence corresponding to each functional layer;
inputting the code sequence into a host running program to run the code sequence, generating an instruction, calling corresponding data in a database, calling corresponding data according to an instruction label, packaging and combining the called data to generate a test data packet;
transmitting the test data packet to each layer through different links in a data frame mode and a functional layer, performing frame check on a frame header of the data frame to correspond to the different links when entering each protocol, and decompressing the data packet when passing each protocol;
generating a plurality of data strips according to decompression, wherein the data strips contain a plurality of data chains, the data chains contain a plurality of sub-chains, and the sub-chains are loaded on the functional layer nodes for data interaction and then outputting the data back;
and reading data according to the input, analyzing and disassembling the data, and generating a text.
In a specific embodiment: the method comprises the steps of signing multiple protocols with a host for data interconnection, obtaining data of each functional layer through protocol attributes, analyzing the data, coding the data through a pre-established data model, editing corresponding test data sequence content through coding the data, compiling instructions through the test data and the protocol content, editing the instructions into test data packets, decompressing and obtaining node data through the test data packets when the data packets pass through each protocol, and analyzing the node data according to the transmitted node data to generate test texts.
In one embodiment: the step of signing the multi-layer protocol with the host comprises the following steps:
the multi-layer protocol comprises application layer protocols tcp and udp, a data link layer protocol HDLC, a network layer protocol OSPF, a transmission layer protocol SPX, a session layer protocol RPC and an application layer protocol Telnet, and all types of protocols are signed in different modes.
In this embodiment: the tcp protocol is established through three message segments, a logical connection is established firstly, then data is transmitted, and finally a link is released;
the HDLC is connected by a specific operation mode for establishing a data link, and a protocol is established by station ports of different links;
the network layer protocol OSPF establishes a state database of a link by announcing network interface state data, generates a shortest path tree and forms a network domain with the same protocol network;
the transmission layer protocol SPX carries out encapsulation by calling other protocols, establishes a framework for carrying out data transfer and monitors corresponding service requirements;
the application layer protocol Telnet acquires the domain name corresponding to the control target by establishing the client, and establishes the protocol after the domain name is consistent with the corresponding target password.
In a specific embodiment: selecting different attribute protocols to sign according to different protocols of a multilayer structure, signing according to different attributes of protocol contents, correspondingly matching the signing modes according to the protocol contents, and carrying out the test of a plurality of layers under the combined action of a plurality of protocols.
In one embodiment: acquiring functional layer data, inputting the data into a model, and before the step of generating corresponding codes, the method comprises the following steps:
and presetting the model, wherein the model is an LSTM model, constructing an LSTM neural network, and performing sequence modeling according to the LSTM neural network to generate the LSTM model.
In this embodiment: collecting daily working logs of a functional layer, entering collected data into a model framework for establishing, combining and optimizing the content of test data according to the input of log data and a model, specifically representing the input by the log data, continuously collecting the log data for several days, carrying out a training set of data content, carrying out data convolution on the log data, carrying out activity in a convolution process in a three-door form, namely an input door, a forgetting door and an output door, and calculating the three doors according to a formula;
the input gate formula is:
Figure RE-GDA0003495783150000061
in the formula, alpha is a sigmoid function, t is flow data, x is a parameter, c is a test, i is the number of nodes, Wn is a learning parameter,
Figure RE-GDA0003495783150000062
working log time data;
the forget gate formula is:
Figure RE-GDA0003495783150000063
in the formula, f is a lost data packet, and Wt is a learning parameter
The output gate formula is:
Figure RE-GDA0003495783150000071
v in the formula is test data, Wh is a learning parameter, and an input gate value D, a forgetting gate value g and an output gate value B are calculated through the formula.
In a specific embodiment: the method comprises the steps of acquiring log data of all layers to collect data, establishing a data model according to the collected data, optimizing the data model according to log contents, inputting the update contents of the log data into the data model, and performing data convolution.
In one embodiment: acquiring functional layer data, inputting the data into a model, and generating a corresponding code, wherein the step comprises the following steps:
and inputting the data into the LSTM model, and performing program coding according to the LSTM, wherein the coding comprises three steps of preprocessing, connection processing and post-processing, and the three steps are respectively calculated by a formula.
In this embodiment: after data are input into a test training set, coding is carried out according to data attributes after the data are input, the coding is formed according to calculation results of three steps, namely preprocessing, connection processing and post-processing, and a preprocessing content formula is as follows:
a=T(TPT)
in the formula, T is single test data, TPT is test data attribute, a preprocessing value a is obtained through calculation, the preprocessing value is input into an LMST model, the output value is a connection processing value, the output value is marked as tt, and the tt is substituted into the connection processing formula;
the connection processing formula is as follows:
b=d(tt)
d is the test data and b is the final code vector of the test data attribute in the formula.
In a specific embodiment: reading the number of the multifunctional layers through a protocol, exporting data, acquiring exported data content, inputting the exported data content into a data model, performing formula calculation through the data model, and performing coding according to a calculation result through three steps of preprocessing, connection processing and post-processing.
In one embodiment: transmitting the test data packet to a functional layer, and triggering a decompression program according to the data packet passing through a functional layer protocol, wherein the step comprises the following steps:
generating a control instruction according to the data body and the non-compressed data in the data packet, and adjusting the control instruction according to the multilayer protocol;
and the data packet comprises a data body and uncompressed data, the decompression control instruction is input into the uncompressed data, when the test data packet is transmitted to the functional layer, the control instruction is triggered when the data packet passes through a multilayer protocol, and the data body in the data packet is decompressed according to the instruction control program.
In this embodiment: the data in the data volume is coordinated and completed by a program counter in the host, an instruction compiler, a time sequence generator and a controller, the content of a multi-layer protocol is read, and the sequence of the generated instruction is adjusted by an editor;
performing regional storage according to the adjusted control instruction, inputting the control instruction into a data packet through a data editor, reading the content of the data packet to distinguish the sequence positions of a data body and uncompressed data in the data packet, respectively inserting the instruction sequence into the uncompressed data sequence, and marking the uncompressed data sequence;
and when the data packet passes through the protocol and is matched with the protocol content through the control instruction sequence, the corresponding instruction operates to decompress the data packet and release a plurality of test data chains according to the decompressed data body.
In a specific embodiment: data transmission is carried out on data packets through a protocol, the data packets are transmitted to each functional layer, control instructions are inserted through the distribution of data packet sequences, the control instructions are triggered when the protocol passes, data content decompression is carried out according to an instruction control program,
in one embodiment, the decompressing generates a plurality of test data strips, the test data strips are distributed on the functional layer nodes, and the analyzing the test result includes:
the test data strip carries a plurality of sub-chains, the sub-chains are mounted after the test data strip enters the functional layer, data replacement is carried out according to nodes mounted by the sub-chains, new data points are formed according to data replacement contents, and the data points are collected to generate a set data packet.
In this embodiment: the method comprises the steps of connecting a plurality of sub-chains to each other to form a data strip, adjusting sequence arrangement in the data strip according to sub-chain attributes, transmitting the data chain to a functional layer through a protocol, carrying out matching mounting on the sub-chains in the data chain according to node attributes, reading node data after the mounting is finished, changing the node attributes according to the read data, adjusting the sequence of the data chain after the data chain is changed according to the node attributes, carrying out data replacement according to the adjusted sub-chains, recombining the data sequence to form a data point, unloading the data point, and carrying out data connection with other data points to form an aggregate data packet.
In a specific embodiment: and decomposing the data packet into a plurality of data strips after passing through the protocol, carrying out data mounting through the attribute of each sub-chain in each data strip, replacing the data of the mounted node, forming a new data point according to the replaced data, and recombining the data points to form the data packet.
Also included is a network test device, comprising:
an interaction unit: for signing a multi-layer protocol with a host;
an acquisition unit: the method comprises the steps of acquiring functional layer data, inputting the data into a model, and generating corresponding codes;
an operation unit: the test data packet is generated according to the code operation;
an operation unit: the device is used for transmitting the test data packet to the functional layer and triggering a decompression program when the data packet passes through a functional layer protocol;
a decompression unit: the test data strips are distributed on the nodes of the functional layer, and the test results are analyzed;
a generation unit: and generating a text according to the analysis result.
In this embodiment: an interaction unit: the system is used for communicating with the host computer multilayer, calling out the pre-stored protocol and signing the protocol with the host computer multilayer structure according to the protocol content;
an acquisition unit: the system comprises a data processing module, a data analysis module and a data processing module, wherein the data processing module is used for acquiring data of functional layers, decomposing the data, importing the data according to the decomposed data content, importing the data into a preset model, and outputting a code sequence corresponding to each functional layer;
an operation unit: the system comprises a host running program, a test data packet, a data base and a data base, wherein the host running program is used for inputting a code sequence into a host running program to run the code sequence, generating an instruction, calling corresponding data in the data base, calling corresponding data according to an instruction label, and packaging and combining the called data to generate the test data packet;
an operation unit: the device is used for transmitting the test data packet to each layer through different links in a data frame mode and a functional layer, performing frame check on a frame header of the data frame to correspond to the different links when entering each protocol, and decompressing the data packet when passing each protocol;
a decompression unit: the data interaction device is used for generating a plurality of data strips according to decompression, wherein the data strips contain a plurality of data chains, the data chains contain a plurality of sub-chains, and the sub-chains are hung on the functional layer nodes and used for outputting data back after data interaction is carried out;
a generation unit: and the text generating module is used for reading data according to the input, analyzing and disassembling the data and generating a text.
In a specific embodiment: signing multiple protocols through an interaction unit and a host to carry out data interconnection, acquiring each functional layer data through protocol attributes by an acquisition unit, analyzing the data, coding the data through a pre-established data model, editing corresponding test data sequence contents of the data through coding, and operating the unit: the operation unit edits the instructions into the test data packets, when the data packets pass through each protocol, the decompression unit decompresses and obtains node data through the test data packets, and the generation unit generates test texts after analyzing according to the transmitted node data.
In one embodiment: the interaction unit includes:
a protocol storage subunit: the system is used for storing the multi-layer protocols, and comprises application layer protocols tcp and udp, a data link layer protocol HDLC, a network layer protocol OSPF, a transmission layer protocol SPX, a session layer protocol RPC and an application layer protocol Telnet;
signing the subunit: for signing the various types of protocols in different ways.
In this embodiment: a protocol storage subunit: the protocol data sequence and the protocol attribute are used for storing the multi-layer protocol comprising application layer protocols tcp and udp, a data link layer protocol HDLC, a network layer protocol OSPF, a transmission layer protocol SPX, a session layer protocol RPC and an application layer protocol Telnet;
signing the subunit: the tcp protocol is established through three message segments, a logical connection is established first, then data is transmitted, and finally a link is released;
the HDLC is connected by a specific operation mode for establishing a data link, and a protocol is established by station ports of different links;
the network layer protocol OSPF establishes a state database of a link by announcing network interface state data, generates a shortest path tree and forms a network domain with the same protocol network;
the transmission layer protocol SPX carries out encapsulation by calling other protocols, establishes a framework for carrying out data transfer and monitors corresponding service requirements;
the application layer protocol Telnet acquires the domain name corresponding to the control target by establishing the client, and establishes the protocol after the domain name is consistent with the corresponding target password.
In a specific embodiment: the protocol storage subunit is used for storing the multi-layer protocols, including protocol data sequences and protocol attributes of application layer protocols tcp and udp, a data link layer protocol HDLC, a network layer protocol OSPF, a transport layer protocol SPX, a session layer protocol RPC and an application layer protocol Telnet, the signing subunit selects different attribute protocols to sign according to different protocols of a multi-layer structure, signs according to different protocol content attributes, carries out corresponding matching according to protocol contents in a signing mode, and carries out testing of multiple layers under the combined action of multiple protocols.
In one embodiment: the operation unit includes:
an instruction generation subunit: the control instruction is generated according to the data body and the non-compressed data in the data packet, and is adjusted according to the multilayer protocol;
a transmission subunit: and the functional layer is used for transmitting the test data packet to the functional layer.
In this embodiment: an instruction generation subunit: the device is used for being coordinated and completed by a program counter in a host, an instruction compiler, a time sequence generator and a controller according to data in a data body, reading the content of a multi-layer protocol, and performing sequence adjustment on a generated instruction through an editor;
a transmission subunit: the data link testing method is used for transmitting a data packet through a protocol, when the data packet passes through the protocol and is matched with the protocol content through a control instruction sequence, the corresponding instruction runs, the data packet is decompressed, and a plurality of testing data links are released according to the decompressed data body.
In a specific embodiment: the instruction generation subunit reads the number of the multifunctional layers through a protocol, exports data, obtains exported data content, inputs the exported data content into a data model, performs formula calculation through the data model, and performs coding according to a calculation result through three steps of preprocessing, connection processing and post-processing;
the transmission subunit transmits the data packets to each functional layer through a protocol, inserts the control instruction through the distribution of the data packet sequence, triggers the control instruction when passing the protocol, and decompresses the data content according to the instruction control program.
In summary, the interaction unit and the host sign multiple protocols to perform data interconnection, the acquisition unit acquires data of each functional layer through protocol attributes, analyzes the data, encodes the data through a pre-established data model, edits corresponding test data sequence content through encoding, and operates the unit: the method comprises the steps that commands are compiled through test data and protocol contents, the operating unit edits the commands into a test data packet, when the data packet passes through each protocol, the decompressing unit decompresses and obtains node data through the test data packet, and the generating unit generates a test text after analyzing according to the transmitted node data, so that all performance layer data are detected, and comprehensive performance monitoring is carried out.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

Claims (9)

1. A network testing method, comprising:
signing a multi-layer protocol with a host;
acquiring data of a function layer, inputting the data into a model, and generating a corresponding code;
running the code, and generating a test data packet according to the running of the code;
transmitting the test data packet to a functional layer, and triggering a decompression program when the data packet passes through a functional layer protocol;
decompressing to generate a plurality of test data strips, distributing the test data strips on the nodes of the functional layer, and analyzing the test result;
and generating a text according to the analysis result.
2. The network test method and control method of test equipment according to claim 1, wherein the step of signing a multi-layer protocol with the host comprises:
the multi-layer protocol comprises application layer protocols tcp and udp, a data link layer protocol HDLC, a network layer protocol OSPF, a transmission layer protocol SPX, a session layer protocol RPC and an application layer protocol Telnet, and all types of protocols are signed in different modes.
3. The network test method and control method of test equipment according to claim 1, wherein the step of obtaining data of a function layer, inputting the data into a model, and generating a corresponding code comprises:
and presetting the model, wherein the model is an LSTM model, constructing an LSTM neural network, and performing sequence modeling according to the LSTM neural network to generate the LSTM model.
4. The network test method and control method of test equipment according to claim 1, wherein the step of obtaining data of the functional layer, inputting the data into a model and generating a corresponding code comprises:
and inputting the data into the LSTM model, and performing program coding according to the LSTM, wherein the coding comprises three steps of preprocessing, connection processing and post-processing, and the three steps are respectively calculated by a formula.
5. The network test method and control method of test equipment according to claim 1, wherein the step of transmitting the test data packet to the functional layer and triggering the decompression program according to the data packet passing through the functional layer protocol comprises:
generating a control instruction according to the data body and the non-compressed data in the data packet, and adjusting the control instruction according to the multilayer protocol;
and the data packet comprises a data body and uncompressed data, the decompression control instruction is input into the uncompressed data, when the test data packet is transmitted to the functional layer, the control instruction is triggered when the data packet passes through a multilayer protocol, and the data body in the data packet is decompressed according to the instruction control program.
6. The network test method and the control method of the test equipment according to claim 1, wherein the decompressing generates a plurality of test data strips, the test data strips are distributed on the functional layer nodes, and the analyzing the test result includes:
the test data strip carries a plurality of sub-chains, the sub-chains are mounted after the test data strip enters the functional layer, data replacement is carried out according to nodes mounted by the sub-chains, new data points are formed according to data replacement contents, and the data points are collected to generate a set data packet.
7. A network test device, characterized in that the network test device is adapted to perform the network test method of any of claims 1-6, the network test device comprising:
an interaction unit: for signing a multi-layer protocol with a host;
an acquisition unit: the method comprises the steps of acquiring functional layer data, inputting the data into a model, and generating corresponding codes;
an operation unit: the test data packet is generated according to the code operation;
an operation unit: the device is used for transmitting the test data packet to the functional layer and triggering a decompression program when the data packet passes through a functional layer protocol;
a decompression unit: the test data strips are distributed on the nodes of the functional layer, and the test results are analyzed;
a generation unit: and generating a text according to the analysis result.
8. The network test device of claim 7, wherein the interaction unit comprises:
a protocol storage subunit: the system is used for storing the multi-layer protocols, and comprises application layer protocols tcp and udp, a data link layer protocol HDLC, a network layer protocol OSPF, a transmission layer protocol SPX, a session layer protocol RPC and an application layer protocol Telnet;
signing the subunit: for the multi-layer protocol to perform a three-way handshake subscription.
9. The network test method and the control method of the test apparatus according to claim 6, wherein the operation unit includes:
an instruction generation subunit: the control instruction is generated according to the data body and the non-compressed data in the data packet, and is adjusted according to the multilayer protocol;
a transmission subunit: and the functional layer is used for transmitting the test data packet to the functional layer.
CN202111059543.7A 2021-09-10 2021-09-10 Network testing method and control method of testing equipment Withdrawn CN114244730A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111059543.7A CN114244730A (en) 2021-09-10 2021-09-10 Network testing method and control method of testing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111059543.7A CN114244730A (en) 2021-09-10 2021-09-10 Network testing method and control method of testing equipment

Publications (1)

Publication Number Publication Date
CN114244730A true CN114244730A (en) 2022-03-25

Family

ID=80742981

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111059543.7A Withdrawn CN114244730A (en) 2021-09-10 2021-09-10 Network testing method and control method of testing equipment

Country Status (1)

Country Link
CN (1) CN114244730A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116756044A (en) * 2023-08-11 2023-09-15 杭州罗莱迪思科技股份有限公司 RPC remote debugging method, device and application based on data link tracking
CN117938723A (en) * 2023-12-27 2024-04-26 迪力普电子(常州)有限公司 Distributed wire harness testing system based on SCTP communication protocol

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116756044A (en) * 2023-08-11 2023-09-15 杭州罗莱迪思科技股份有限公司 RPC remote debugging method, device and application based on data link tracking
CN116756044B (en) * 2023-08-11 2023-11-21 杭州罗莱迪思科技股份有限公司 RPC remote debugging method, device and application based on data link tracking
CN117938723A (en) * 2023-12-27 2024-04-26 迪力普电子(常州)有限公司 Distributed wire harness testing system based on SCTP communication protocol

Similar Documents

Publication Publication Date Title
CN114244730A (en) Network testing method and control method of testing equipment
CN103514398B (en) A kind of real-time online log detection method and system
CN110413591A (en) A kind of industrial data acquisition method and edge calculations gateway
CN111488577A (en) Vulnerability exploiting method and device based on artificial intelligence
CN113935426A (en) Method and device for detecting abnormal data traffic of power internet of things
CN107168844B (en) Performance monitoring method and device
CN109508790A (en) Fault data processing method, device and computer equipment based on leased equipment
Hua et al. Validation of digital twins: challenges and opportunities
CN110691003A (en) Network traffic classification method, device and storage medium
CN114139626A (en) Power communication fault analysis method and device, terminal equipment and medium
CN115658546A (en) Software fault prediction method and system based on heterogeneous information network
CN111935767B (en) Network simulation system
CN111506305B (en) Tool pack generation method, device, computer equipment and readable storage medium
CN108494626A (en) Physical installation improperly Profibus DP industrial field bus communication failure intelligent diagnosing method
CN115987692A (en) Safety protection system and method based on flow backtracking analysis
CN116433018A (en) Digital twinning-based power distribution network risk situation sensing method and device
CN115883424A (en) Method and system for predicting traffic data between high-speed backbone networks
CN109726085A (en) Method and system for tracking performance problem
CN114741699A (en) Fuzzy test vulnerability mining system combined with self-attention mechanism
CN110865930B (en) Mobile communication fault distributed autonomous acquisition and analysis system
CN106790140A (en) The data handling system of efficiently online cooperation
CN113542271A (en) Network background flow generation method based on generation of confrontation network GAN
Peake et al. A candidate architecture for cloud-based monitoring in industrial automation
Samuel et al. Classification and Analysis of Issues Faced by Open Source Simulation Software in the Field of Fog and Edge Computing
CN117640342B (en) Main body abnormality detection method, device, equipment and medium for power monitoring system

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20220325