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

Claim 0:
1. A test method for simulating a customer series deployment environment, comprising:
obtaining traffic data of an on-site protected host;
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
transmitting and receiving the application layer data in a local test environment to carry out a simulation test;
the obtaining session data between the on-site protected host and the server on the basis of the traffic data, and extracting application layer data from the session data further comprises:
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 the application layer data from the TCP session further comprises:
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 transmitting and receiving the application layer data in the local test environment to carry out the simulation test further comprises:
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.