Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

93 results about "Protocol testing" patented technology

Automatic network protocol testing method and system based on large language model

The invention provides an automatic network protocol testing method and system based on a large language model. According to the method, through three core technologies of structured protocol specification extraction, hybrid test case generation and retrieval feedback enhanced code generation, full-process automation from a protocol specification document to an executable test code is realized. The method comprises the following steps: firstly, carrying out preprocessing and structured analysis on an RFC document, and extracting protocol field information and state machine description; a complete test case covering normal, abnormal and boundary conditions is automatically generated based on protocol elements; and finally, an initial test code is generated in combination with a test equipment API document retrieval result, and multi-round iterative optimization is performed through running log analysis and an experience knowledge base. Compared with the prior art, according to the scheme, an end-to-end automatic test work chain is achieved, new protocol testing can be adapted without manual protocol modeling, meanwhile, a large language model and expert experience are fused through a feedback mechanism, and the test efficiency and the code quality are remarkably improved.
Owner:TSINGHUA UNIVERSITY

Automatic use case construction method and system for private protocol test

The invention discloses an automatic use case construction method and system for private protocol testing, and relates to the technical field of communication protocol testing. Comprising the following steps: step 1, identifying a field structure, a state conversion rule and a dependency relationship of a private protocol through traffic sniffing and deep packet analysis; step 2, dynamically generating a test case set covering a normal scene, a boundary scene and an abnormal scene based on a reinforcement learning algorithm in combination with a protocol state machine and a historical test result; and step 3, injecting the generated test flow in the simulation environment, monitoring response data of the target system in real time, calculating and adjusting an evaluation value, and adjusting a generation strategy of the test case according to the value. Through adaptive execution and multi-dimensional anomaly analysis in the simulation environment, the test strategy is adjusted in real time, logic errors, resource leakage and security vulnerabilities are accurately recognized, efficient robustness verification of the private protocol is achieved, and the test efficiency and protocol security are remarkably improved.
Owner:SHANGHAI ANBAN INFORMATION TECH CO LTD

Method and device for automatically testing solid state disk, electronic equipment and storage medium

The invention provides a solid state disk automatic testing method and device, electronic equipment and a storage medium. The method comprises the steps that a to-be-tested solid state disk and a load tool corresponding to the to-be-tested solid state disk are obtained through screening in solid state disks based on a first configuration file and a first command line parameter; specifying a performance test type based on the first configuration file; based on the performance test type and the second configuration file, combining with the second command line parameter, performing performance test on the to-be-tested solid state disk through the load tool; performing parameter mapping through the mapping relation to determine a load tool corresponding to the solid state disk to be tested so as to support performance testing of the SATA interface and the NVMe interface at the same time; determining a power failure type based on a preset third configuration file, and performing a power failure test based on the power failure type and the third command line parameter; and determining a specific function command based on a preset fourth configuration file, and performing a specific test based on the specific function command. The cross-protocol test is realized, and the test universality is improved.
Owner:SHENZHEN CITY TECHWIN SEMICONDUCTOR COMPANY LIMITED

Multi-node bus communication protocol automatic test and fault detection method and system

The invention discloses a multi-node bus communication protocol automatic test and fault detection method and system, and relates to the technical field of communication protocol test and diagnosis. The automatic test and fault detection method and system for the multi-node bus communication protocol comprises the following steps: S1, acquiring communication node state data and preprocessing the communication node state data; s2, measuring communication disturbance intensity caused by node abnormity and recovery lag; s3, evaluating the stability of the communication structure based on the connection state change and the topology reconstruction deviation; and S4, judging the conduction intensity and the sweep range of the abnormal chain. The problems that a communication structure is unstable and difficult to diagnose due to reset storm in an error injection scene, existing process parameters are fixed, state feedback adjustment is lacked, and a bus recovery process is uncontrollable are solved.
Owner:SHAANXI XUNXUN MICROELECTRONICS CO LTD

1553B bus test experiment method and system

The invention discloses a 1553B bus test experiment method and system, and relates to the technical field of data processing, and the system comprises a 1553B communication medium replacement test module which evaluates the influence of a medium on the communication quality through the comparison of signal waveforms and data transmission performance under different media; the 1553B hardware cognitive test module is used for sending an instruction and acquiring feedback data of the steering engine and the sensitive equipment, and is used for evaluating the control precision and the response speed; the 1553B transmission protocol test module simulates and captures a differential signal of a 1553B bus, and verifies whether a data frame format and a command field accord with a protocol standard; the inter-node communication test module is used for analyzing the communication performance of the nodes by recording the data transmission quantity, the error rate and the like between the nodes; and the 1553B bus control and data acquisition test module is used for acquiring feedback of the steering engine and the sensitive equipment and calculating the motion precision and the accuracy of attitude feedback.
Owner:CHINESE PEOPLES LIBERATION ARMY KET FORCE SERGEANT SCHOOL

Stateful protocol fuzzy test method and system based on large model construction state machine

The invention discloses a stateful protocol fuzz testing method and system based on a large model construction state machine, and the method comprises the steps: firstly preprocessing a protocol specification document, guiding an information large model to analyze through cue words to obtain state machine information, constructing an initial state machine through the state machine large model, and initializing a message dictionary; secondly, protocol testing is carried out based on an initial state machine, a prompt word is input into a large testing model to understand a flow log, a message field supplement and improvement dictionary is obtained, message request fields and response codes in the message dictionary are combined, the initial state machine is improved, and a fine-grained state machine is obtained; and finally, on the basis of a fine-grained state machine, inputting cue words, analyzing a blind area covered by the current test by an analysis large model, and guiding a fuzzy tester to preferentially test an uncovered state which is most likely to trigger the deep vulnerability, thereby completing the fuzzy test. According to the method, the fuzzy device directionally tests the potential test state area, and accurate and efficient fuzzy testing is carried out.
Owner:HANGZHOU DIANZI UNIV +2

Dual-information-aware network protocol fuzz testing method and system based on state variables

The invention relates to the technical field of network protocol testing, in particular to a dual information awareness network protocol fuzzy testing method and system based on state variables, and the method comprises the steps: carrying out the static analysis of network protocol source codes, and recognizing the state variables in the source codes; the method comprises the following steps of: tracking and detecting the change of a network protocol state variable by performing instrumentation on the state variable, acquiring a process state in a network protocol, and constructing a state machine according to the process state so as to map a state space and a code space; selecting key states of the network protocol according to the state weight, constructing a message pool of the key states, carrying out selective replacement and cross compiling on messages in the message pool according to the states and message awareness by taking the messages as units to obtain message variation, generating a message sequence for generating a test case according to the message variation, and sending the message sequence to a server; and the key state of the network protocol is subjected to targeted test by using the test case. According to the method, higher edge coverage, more crash triggering and faster first crash triggering can be obtained, and the method has a good application prospect.
Owner:Chinese People's Liberation Army Cyberspace Force Information Engineering University

Fault detection method and device for fully mechanized mining automation system

The invention relates to the technical field of coal mine system fault detection, in particular to a fault detection method and device for a fully-mechanized coal mining automation system, and the method comprises the steps: obtaining the configuration information of the fully-mechanized coal mining automation system; determining a test item based on the configuration information, the test item including at least one of a cross-level fault injection test, a protocol fuzz test and a permission penetration test; and according to the test item, executing a fault injection test case, a protocol test case or a permission test case corresponding to the cross-level fault injection test, the protocol fuzz test and the permission penetration test. By simulating the output of the sensor, the cross-level joint fault simulation of the human-computer interface from the sensor to the intermediate equipment to the upper computer is achieved, the abnormity occurring during the dynamic operation of the real scene can be covered, the blind area of the traditional pure software test can be covered, and the potential safety hazard problem in the complex underground environment can be effectively handled.
Owner:SANY HEAVY EQUIP CO LTD +1

A network protocol fuzzing method, device, storage medium and equipment

PendingCN122293562APathPingLinguistic model
This application provides a method, apparatus, storage medium, and device for network protocol fuzzing. The method introduces retrieval-enhanced generation technology into protocol fuzzing. By retrieving external knowledge, it provides context for a large language model, ensuring the accuracy of protocol specifications and thus improving the accuracy of generated test cases in protocol testing. Simultaneously, it utilizes the large language model to analyze the out-degree value of the state of the seed to be mutated, and then intelligently allocates test resources based on the out-degree value, thereby enhancing the efficiency of state space exploration. Thus, by combining the large language model with external knowledge retrieval capabilities, test cases that conform to protocol specifications and cover more protocol paths are generated, effectively improving the effectiveness and coverage of network protocol security testing.
Owner:BEIJING UNIV OF POSTS & TELECOMM

Implementation method of serial port tool, serial port tool, equipment and storage medium

The invention discloses an implementation method of a serial port tool, the serial port tool, equipment and a storage medium. The implementation method of the serial port tool comprises the steps of testing current tested equipment based on an obtained test case, and generating a test program corresponding to the test case; constructing a test data document in the server, wherein the test data document comprises a serial port instruction set, a communication protocol, a test case set and a test program corresponding to each test case; the test data document is subjected to structured analysis, so that an intelligent index model of the test data document is constructed, and the intelligent index model is used for indexing related communication protocols, test case sets and test programs corresponding to the test cases in the test data document through an AI algorithm according to the index keywords. Through the mode, the test efficiency and quality of the serial port can be improved.
Owner:SHENZHEN NEOWAY TECH

Solid state disk testing method and device

ActiveCN121354649AStatic storageAlgorithmFull Protocol
The invention discloses a solid state disk test method and device, and relates to the technical field of computers, and the method comprises the steps: generating test environment configuration information based on a test environment adaptation benchmark of a plurality of versions of solid state disks, decomposing the NVMe protocol test of the plurality of versions of solid state disks into a plurality of atomic test items, clustering the plurality of function test items to generate a test case set of the solid state disk, and identifying an actual version of the target solid state disk; and calling the corresponding test environment configuration information from the test environment configuration information to execute the corresponding multiple function test items called from the test case set, and generating a structured test result of the multiple function test items. According to the method and the device, the problems that testing mostly focuses on basic function verification, coverage on new protocol characteristics and abnormal scenes is seriously insufficient, the testing time is very long and systematic analysis cannot be performed in related technologies are solved, and the technical effects of unified testing environment, full protocol characteristic coverage, one-button automatic execution and complete engineering of structured result output are achieved.
Owner:INSPUR SUZHOU INTELLIGENT TECH CO LTD

Fuzzy test method for variation protocol based on feature perception

The invention discloses a feature-aware variation protocol fuzz testing method, which relates to the field of network protocol testing and comprises the following steps: acquiring a protocol message sequence of a protocol to be tested as an initial seed; extracting a structural feature, a behavior feature and a core field type of a to-be-tested protocol to form a protocol feature description; classifying mutation operators in the protocol fuzzy test tool to form a mutation operator category set; protocol fuzz test initialization is completed; and generating a variation message sequence, sending the variation message sequence to the server, collecting and updating server information, and returning to continue execution if the preset protocol fuzzy test duration is not reached. According to the method, the protocol features are automatically obtained by using the large language model, and the mutation operator configuration adaptive to the protocol features is selected to carry out the mutation fuzzy test on the protocol, so that the action time of a low-efficiency mutation operator is shortened, and the protocol fuzzy test efficiency and the defect discovery capability are improved.
Owner:EAST CHINA NORMAL UNIV

Protocol test method and device, electronic equipment and storage medium

The embodiment of the invention provides a protocol testing method and device, electronic equipment and a storage medium. The method comprises the following steps: automatically acquiring protocol interaction data through a protocol recording tool, and determining a to-be-tested protocol; based on the protocol type classification, different model generation strategies are adopted to obtain test cases of the protocol to be tested; automatically executing the test case and recording response data; and obtaining a test result based on the response data. Protocol interaction data are automatically collected through a protocol recording tool, so that the cost of manual protocol combing and communication is reduced; different model generation strategies are adopted based on protocol type classification, diversified test cases can be efficiently generated, and conventional parameter verification and function verification requirements are met; manual intervention is further reduced through automatic execution and result analysis, the test efficiency and accuracy are improved, and meanwhile the data processing pressure of the server is relieved.
Owner:NETEASE (HANGZHOU) NETWORK CO LTD

Multi-port protocol test board circuit

The utility model discloses a multi-port protocol test board circuit and a multi-port protocol test board circuit, comprising an internal channel, a JTAG protocol port and an FPGA processor module; the interaction end comprises a TAP controller and an upper computer; the TAP controller receives an instruction from an upper computer, analyzes the instruction, enters a JTAG protocol port, and performs testing and read-back through the FPGA processor module; the TAP controller can be in cascade connection with a plurality of FPGA processor modules through a JTAG protocol port. And data interaction is carried out in combination with an IEEE STD 1149 communication protocol, so that the reliability of communication is ensured. An IEEE STD (Institute of Electrical and Electronic Engineers) 1149.1 protocol and an IEEE STD 1149.6 protocol are verified; meanwhile, connectivity testing of different interface connectors can be realized; and a multi-chip cascade verification test is realized. And compared with a traditional mode, the test range is larger, the application scene is more flexible, and the degree of freedom of Boundy Scan test is improved.
Owner:ZHUHAI BOJAY ELECTRONICS

State variable-based double information perception network protocol fuzzing method and system

The present application relates to the technical field of network protocol testing, in particular to a double information perception network protocol fuzzy testing method and system based on state variables, which performs static analysis on network protocol source code and identifies state variables in the source code; the change of network protocol state variables is tracked and detected by plugging the state variables, the process state in the network protocol is acquired, and a state machine is constructed according to the process state to map the state space and the code space; the key state of the network protocol is selected according to the state weight, the message pool of the key state is constructed, and the messages are selected, replaced and cross-compiled in the message pool according to the state and the message perception to obtain message variation, the message sequence for generating test cases is generated according to the message variation, and the key state of the network protocol is tested by using the test cases. The present application can obtain higher edge coverage, more crash triggers and faster first crash trigger, and has good application prospect.
Owner:Chinese People's Liberation Army Cyberspace Force Information Engineering University

Mobile communication test system and mobile communication test method

A mobile communication test system has a test control unit including a setting control unit that sets a test scenario including a transmission mode defined in a layer that allows protocol testing to be performed without going through the PHY layer and RF unit; and a pseudo communication control unit that generates an IP packet with a changed format according to the set transmission mode when performing a protocol test, and controls the pseudo base station unit to transmit and receive the IP packet with the changed format between the codec processing unit and the opposing codec processing unit, and thereby the protocol test is performed without going through the PHY layer and RF unit.
Owner:ANRITSU CORP

A Modbus TCP protocol test case generation method based on generative adversarial networks

A Modbus TCP protocol test case generation method based on a generative adversarial network (GAN) includes the following steps: S1: extracting target protocol message data from captured network protocol messages and preprocessing this data as a model training dataset; S2: constructing an efficient training model by combining a GAN, a bidirectional long short-term memory (LSTM) network, and a self-attention mechanism, and training the model using the training dataset; S3: determining whether the training model end condition is met. If so, saving the generator model parameters and generating test cases based on the parameters; otherwise, skipping to S2; S4: mutating the test case using a mutation strategy from a genetic algorithm; S5: sending the test case to the PLC under test via a socket, monitoring the status of the tested system, and obtaining a response code. This method addresses the issues of incomplete format learning, low response rate, and high redundancy in Modbus TCP protocol test case generation, thereby improving fuzz testing efficiency.
Owner:BEIJING XINLUHANG TECHNOLOGY CO LTD

Testing equipment and testing system for solid state disk

The invention provides testing equipment and a testing system for a solid state disk, relates to the technical field of storage, and aims to solve the problem that the NVMe MI protocol testing cost of the solid state disk is relatively high. The test equipment comprises an access module, a processing module and at least two I2C modules, wherein the at least two I2C modules comprise a first I2C module and a second I2C module. The access module is used for communicating with an electronic device. And the at least two I2C modules are used for communicating with the solid state disk through an NVMe-MI protocol. Wherein the first I2C module is used for sending a first MCTP packet to the solid state disk, and the second I2C module is used for receiving a second MCTP packet from the solid state disk. The processing module is electrically connected with the access module and the at least two I2C modules, and the processing module is used for converting a test instruction received by the access module into a first MCTP packet and converting a second MCTP packet received by the second I2C module into test data. Not only can the NVMeMI protocol of the solid state disk be completely tested, but also the test efficiency can be improved based on full duplex communication with the solid state disk.
Owner:SHANGHAI LONGSYS DIGITAL TECH CO LTD

An intelligent fuzz testing method and system for network protocol software

An intelligent fuzz testing method and system for network protocol software. The steps of the method are as follows: Step S1: State node definition; The test driver obtains the protocol state machine definition by calling the protocol layer interface and feeds it back to the protocol test scheduler; The protocol test scheduler conducts tests on each node in sequence according to the generated protocol state machine definition; Step S2: State node testing; At the start of a test of a state node, the protocol test scheduler depends on the current state node; The protocol test scheduler requests the test driver to provide communication messages, and it forwards the request for generating communication messages to the protocol layer interface; The protocol layer interface generates communication messages and returns them, which are forwarded to the protocol test scheduler; The protocol test scheduler calls the communication agent to send communication messages to the target protocol software to complete the communication interaction. This system is used to implement the above method. The present invention has the advantages of simple principle, easy operation, wide application range, good scalability, etc.
Owner:NAT UNIV OF DEFENSE TECH

A 5G-based vehicle TBOX protocol testing method, device and medium

This invention provides a 5G-based method, device, and medium for testing vehicle-mounted TBOX protocols, relating to the field of vehicle-mounted TBOX testing. The method includes: connecting the TBOX device under test to a switch via a vehicle-mounted Ethernet converter; connecting the switch to a protocol simulation test platform; configuring the TBOX device under test and the protocol simulation test platform to the same network segment; the protocol simulation test platform identifying the vehicle-mounted interaction protocol running on the TBOX device under test to generate a protocol simulation instance; the protocol simulation test platform sending preset test cases corresponding to the protocol simulation instance to the protocol simulation instance; and the protocol simulation instance performing protocol interaction tests on the TBOX device under test according to the test cases to obtain the test results corresponding to the TBOX device under test. This achieves the effect of "write once, cover all protocols," improving the automation and efficiency of vehicle-mounted TBOX testing.
Owner:YODO SMART

Database testing method and device based on protocol layer interaction, equipment and medium

This invention provides a database testing method, apparatus, electronic device, and storage medium based on protocol layer interaction. It generates test SQL statements, performs parameterization to form parameter placeholder structures, and extracts parameter constraint information. Based on the parameter placeholder structures, parameter constraint information, and the current session state, it generates protocol test cases, sequentially sends multiple protocol data packets, receives and parses response data packets returned by the database system, records communication error information during response reading, and updates the current session state based on the parsing results of the response data packets. When the communication error information is detected during response reading, if a crash occurs or the verification results are inconsistent, an error report is generated. This invention can cover protocol processing paths under different execution stages and interaction sequences, reduce invalid requests with semantically invalid or easily rejected requests, improve the validity of test input, and enhance the coverage depth and defect detection capability of database protocol testing.
Owner:BEIHANG UNIV

Test case generation method and equipment

The embodiment of the invention provides a test case generation method and device.The test case generation device comprises a code stream analysis module, a display module and a case generation device.The code stream analysis module is used for decoding an air interface message code stream to obtain a structure tree; converting the air interface message code stream from a structure tree into a template identified by a TTCN3 language of a third version of a test and test control representation method; the display module is used for displaying the template in a display area and receiving input operation, and the input operation is used for modifying parameters in the template to obtain a modified template; and the case generation module is used for generating a protocol test case according to the modified template. According to the embodiment of the invention, the compiling difficulty of the protocol test case can be reduced, and the compiling efficiency of the protocol test case is improved.
Owner:DATANG LINKTESTER TECH

Fully automatic train interface testing method and device

The present invention provides a method and device for fully automatic train interface testing. The method includes: replacing the central control unit in the vehicle system with a communication simulation host, and connecting the communication simulation host to the onboard signal unit in the signal system to control communication between the vehicle system and the signal system; obtaining communication data between the vehicle system and the signal system through the communication simulation host; determining the communication protocol test results between the vehicle system and the signal system based on the communication data; and determining whether the communication protocol between the vehicle system and the signal system is correct based on the communication protocol test results. Compared to simulation methods, the present invention can reduce the difficulty of interface testing and improve interface testing efficiency.
Owner:CRRC TANGSHAN CO LTD

Protocol test system and test method based on time delay

The invention provides a protocol testing system and method based on time delay, and relates to the technical field of protocol testing, and the method comprises the steps that a client generates an access packet sequence and then sends the access packet sequence to a proxy server; the proxy server forwards the access packet sequence to a packet sequence recorder; the packet sequence recorder records the access packet sequence and forwards the access packet sequence to the proxy client; the proxy client forwards the access packet sequence to the server; the server sends a response packet sequence to the proxy client; the proxy client forwards the response packet sequence to the packet sequence recorder; the packet sequence recorder records the time delay information between the response packet sequence and the access packet sequence to obtain a time delay packet sequence carrying the time delay information, and forwards the time delay packet sequence to the mutation device; and the mutator performs time delay information mutation processing on the time delay packet sequence to obtain a time delay mutation test case, and sends a test packet sequence to the to-be-tested target according to the time delay information for testing. According to the scheme, the time delay sensitive server side can be tested, and the test effect is improved.
Owner:ELECTRIC POWER RESEARCH INSTITUTE OF STATE GRID NINGXIA ELECTRIC POWER COMPANY +2

A Fuzzy Testing Method for Ethernet / IP Protocol Based on Generative Adversarial Networks

The present application belongs to the technical field of Ethernet / IP protocol testing and vulnerability mining, and specifically relates to an Ethernet / IP protocol fuzz testing method based on a generative adversarial network, comprising the following steps: constructing an Ethernet / IP protocol sample library; preprocessing communication data packets in the Ethernet / IP protocol sample library; constructing a training set of corresponding types through a variety of clustering construction methods; generative adversarial network training; generating fuzzy test sample data; performing Ethernet / IP protocol fuzz testing to form an abnormal test case set; performing Ethernet / IP protocol fuzz testing on abnormal test cases to confirm that the case is an abnormal test case and the vulnerability caused by it. In the Ethernet / IP protocol fuzz testing method based on a generative adversarial network of the present application, a generative adversarial network is used to autonomously learn and generate high-quality fuzzy test cases, which reduces the manpower of protocol analysis and case construction during the fuzzy testing process, and realizes efficient and intelligent fuzz testing.
Owner:THE SECOND RES INST OF CIVIL AVIATION ADMINISTRATION OF CHINA

5G power network consistency protocol test method

The invention provides a 5G power network consistency protocol testing method, and belongs to the technical field of power network testing. The method comprises the following steps: S1, analyzing a 5G power network protocol specification, identifying a static consistency demand and a dynamic consistency demand, and generating an abstract test set; s2, calling the abstract test set through a test executor, and performing multi-dimensional test on the tested system through a distributed test architecture; s3, collecting input and output sequences and network performance data in a multi-dimensional test process in a mode of combining active detection and passive monitoring, and forming a test result; and S4, analyzing a test result based on the formalized model, performing consistency judgment by adopting a hierarchical judgment mechanism, forming consistency grade evaluation, and generating a test report containing the test result and the consistency grade evaluation. According to the invention, the coverage comprehensiveness and the test efficiency of the 5G power network consistency protocol can be improved.
Owner:STATE GRID HENAN INFORMATION & TELECOMM CO +1

Mobile communication test system and mobile communication test method

This invention provides a mobile communication testing system and a mobile communication testing method that promote the shift-left approach to the development process of new mobile communication terminals, thereby shortening the development period for higher layers and reducing development costs. [Solution] The mobile communication test system 1 has a test control unit 50 which includes a setting control unit 51 that sets a test scenario including a transmission mode defined in a layer that enables protocol testing without going through the PHY layer and RF unit, and a pseudo-communication control unit 52 that, when executing protocol testing, generates IP packets with a modified format according to the set transmission mode and controls the pseudo-base station unit 10 to send and receive the modified IP packets between the codec processing unit 13 and the opposing codec processing unit 33, and is characterized by performing protocol testing without going through the PHY layer and RF unit.
Owner:ANRITSU CORP

Modbus TCP protocol test case generation method based on generative adversarial network

A Modbus TCP protocol test case generation method based on a generative adversarial network comprises the following steps: S1, extracting target protocol message data from a captured network protocol message, and preprocessing the data as a model training data set; s2, constructing an efficient training model by combining a generative adversarial network, a bidirectional long-short-term memory network and a self-attention mechanism, and training the model by using a training data set; s3, judging whether a training model ending condition is met or not, if so, storing parameters of the generator model, and generating a test case according to the parameters, otherwise, skipping to S2; s4, performing variation on the test case by adopting a variation strategy in a genetic algorithm; and S5, the test case is sent to the tested PLC through the Socket, the state of the tested system is monitored, and a response code is obtained. The problems of incomplete format learning, low response rate and high redundancy in Modbus TCP protocol test case generation are solved, and the fuzzy test efficiency is improved.
Owner:BEIJING XINLUHANG TECHNOLOGY CO LTD

Multi-communication protocol testing method and device, terminal and storage medium

The application provides a multi-communication protocol test method, device, terminal and storage medium. The method comprises the following steps: selecting a communication protocol between a target device; calling a protocol analysis function corresponding to the target communication protocol to analyze a query message sent by the target device, and determining a protocol test point carried in the query message; using the protocol analysis function corresponding to the target communication protocol to splice a simulation value corresponding to the protocol test point carried in the query message to obtain a reply message; and sending the reply message to the target device, so that the target device analyzes the reply message and obtains data corresponding to the protocol test point; obtaining the data of the protocol test point returned by the target device, and determining a test result of the protocol test point based on the data corresponding to the protocol test point and the simulation value. The above method can test multiple different communication protocols through a communication protocol test terminal, and can avoid the problem of high resource occupation caused by using different protocol test tools.
Owner:KEHUA DATA CO LTD