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

77 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

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

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

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

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

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

Protocol fuzz testing method based on program variation

The invention relates to a protocol fuzz testing method based on instruction level variation. The protocol fuzz testing method mainly solves the problem of protocol state accessibility of an existing fuzz testing technology in protocol testing. Aiming at the characteristics of a protocol, the invention provides a three-stage fuzzy test framework, which comprises the following steps of: firstly, determining a variation range through static analysis (1), then carrying out instrumentation on data flow and control flow instruction operations in a program during compiling, and finally, managing communication between a variation client and a tested system through a scheduler (2); and (4) guiding deeper protocol state exploration by utilizing coverage rate feedback. According to the method, the traditional fuzzy test technology is expanded, the problem that the encryption structure is damaged by the traditional message-level variation in the protocol is solved by introducing the instruction-level variation, and the protocol state coverage rate and the branch coverage rate are remarkably improved. Experimental results show that the method discovers a plurality of unknown vulnerabilities in the implementation of a plurality of protocols, and has relatively high test efficiency and universality.
Owner:SOUTHEAST UNIV

A network protocol fuzz testing method based on format constraints

The present invention discloses a network protocol fuzz testing method based on format constraints, comprising: step s1: representing a network protocol as a protocol format knowledge base; step s2: dividing a network protocol data packet into multiple message sequences; step s3: constructing a message sequence subtree and a message structure tree; step s4: performing message-level mutation, constructing an updated message sequence, and randomly selecting fields in the message tree for mutation; step s5: reinserting the selected mutated fields into the message tree, and saving the generated message tree message sequence as a protocol test case; step s6: passing the test case to a fuzz testing tool to perform a round of fuzz testing; step s7: the fuzz testing tool feeds back the test results to the fuzzer, guiding the fuzzer to perform mutation based on the format constraints; and step s8: repeating steps s5 to s7. The present invention has the advantages of simpler principle, easier implementation, and significantly improved testing efficiency.
Owner:NAT UNIV OF DEFENSE TECH

Protocol Vulnerability Mining Test Method and System Guided by Fine-Grained Coverage Information

The present invention discloses a protocol vulnerability mining and testing method guided by fine-grained coverage information. During the testing process, the weight of the seed message is calculated according to the coverage frequency of the seed covering the branch path, and the seed message with the highest weight is preferentially selected for mutation to guide the newly generated test cases to cover more program branches; an initial energy value is assigned to each selected seed, and the energy value is dynamically adjusted according to the coverage information feedback, and then the seeds with low energy values are eliminated; finally, during the process of mutating the seeds, on the basis of the original mutation of the seeds, other related fields are continuously mutated to enable the generated test cases to explore and execute more program branches, improve the protocol test coverage rate, and discover more protocol vulnerabilities. The present invention can improve the test branch coverage rate of the protocol program and discover more protocol vulnerabilities.
Owner:HANGZHOU DIANZI UNIV

A Stateful Protocol Fuzzy Testing Method and System Based on Large Model-Based State Machine Construction

This invention discloses a method and system for fuzzing stateful protocols based on a large-scale model to construct a state machine. The method first preprocesses the protocol specification document and uses prompts to guide the analysis of a large-scale information model to obtain state machine information. Then, an initial state machine is constructed using the large-scale state machine model, and the message dictionary is initialized. Next, protocol testing is performed based on the initial state machine. By inputting prompts into the test large-scale model, traffic logs are analyzed to derive a dictionary for supplementing and improving message fields. The message request fields and response codes in the message dictionary are combined to refine the initial state machine, resulting in a fine-grained state machine. Finally, based on the fine-grained state machine, prompts are input, and the analysis large-scale model analyzes the blind spots in the current test coverage, guiding the fuzzer to prioritize testing the uncovered states most likely to trigger deep vulnerabilities, thus completing the fuzzing test. This invention allows the fuzzer to test potentially high-potential test state areas in a targeted manner, enabling accurate and efficient fuzzing.
Owner:HANGZHOU DIANZI UNIV +2

Function test method, device and equipment for dynamic host configuration protocol, and storage medium

The invention discloses a function test method, device and equipment of a dynamic host configuration protocol and a storage medium, relates to the technical field of network testing, and discloses the function test method of the dynamic host configuration protocol, which comprises the following steps: obtaining a first port and a second port, the first port is used for verifying the dynamic host configuration protocol, and the second port is used for verifying the dynamic host configuration protocol; the second port is used as a mirror image port for analyzing the uplink message of the first port; according to the first port and the second port, respectively executing an IP allocation test, a lease term management test, an abnormal scene test and an address resolution protocol broadcast automatic test to respectively obtain an IP allocation test result, a lease term management test result, an abnormal scene test result and an address resolution protocol test result; and obtaining a target test result according to the IP allocation test result, the lease term management test result, the abnormal scene test result and the address resolution protocol test result. And comprehensive automatic testing of the dynamic host configuration protocol client in a plurality of functional links is realized.
Owner:SHENZHEN FENGRUNDA TECH CO LTD

An automated test case construction method and system for private protocol testing

The application discloses a kind of automation case construction methods and systems for private protocol test, it is related to communication protocol test technical field. Including: step one, through traffic sniffing and deep packet analysis, identify the field structure of private protocol, state transition rule and dependent relationship;Step two, based on reinforcement learning algorithm, combine protocol state machine and historical test results, dynamically generate test case set covering normal scene, boundary scene and abnormal scene;Step three, inject the test traffic generated in the simulation environment, monitor the response data of target system in real time, calculate the evaluation value and adjust the generation strategy of test case according to the value.The application realizes efficient and robust verification of private protocol through adaptive execution and multidimensional abnormal analysis in simulation environment, and significantly improves test efficiency and protocol security.
Owner:SHANGHAI ANBAN INFORMATION TECH CO LTD