Patent ID: 11956128
Assignee: DBAPPSECURITY CO., LTD
Field: Digital communication (Electrical engineering)
Classification: CPC H | IPC H

Claim 4:
5. A test device for simulating a customer series deployment environment, comprising an obtaining module, an extracting module, and a simulation test module;
wherein the obtaining module is configured for obtaining traffic data of an on-site protected host;
the extracting module is configured for obtaining session data between the on-site protected host and a server on the basis of the traffic data, and extracting application layer data from the session data; and
the simulation test module is configured for transmitting and receiving the application layer data in a local test environment to carry out a simulation test;
the extracting module is further configured for filtering the traffic data to obtain session packets between the on-site protected host and the server; determining at least one complete TCP session from the session packets; and extracting the application layer data from the TCP session;
the extracting module is further configured for searching for a data sender IP, a data sender port, a data receiver IP, and a data receiver port of an application layer at a network layer, according to a communication protocol format between the on-site protected host and the server; obtaining data content of the TCP session at the application layer according to the data sender IP, the data sender port, the data receiver IP, and the data receiver port which have been searched; and marking a distribution sequence of the data content of the TCP session at the application layer to obtain the application layer data;
the simulation test module is further configured for distributing the application layer data to a client end and a server end in the local test environment in sequence according to the distribution sequence; distributing the application layer data to the server end for simulation when the data sender port in the local test environment coincides with the port of the protected host; and distributing the application layer data to the client end for simulation when the data receiver port in the local test environment coincides with the port of the protected host.