The embodiment of the invention provides a
data transmission method, a medium,
electronic equipment and a storage medium. The method is applied to a
client. And the
client is in communication connection with the target
proxy server through a
websocket protocol. The method comprises the following steps: when a
client prepares to send request data to a service
server, firstly, request data is packaged into a data packet in a
websocket protocol format through an installed applet supporting a
websocket protocol; request data in a websocket protocol format are received from a target
proxy server and sent to the target
proxy server, then a data packet in the websocket protocol format containing the response data is received from the target proxy
server, the data packet is decapsulated to obtainthe response data, and the response data correspond to the request data. Due to the fact that the websocket protocol is adopted for communication between the
client side and the target proxy
server, alarge amount of time used for DNS analysis and three times of
handshake is saved, the communication speed between the
client side and the service server is increased, and the risk that
domain name hijacking is likely to happen in the DNS analysis process is avoided.