摘要 |
Provided are a data transmission method and device. The method comprises: an agent device receiving an HTTP request sent by a UE, the HTTP request comprising a URI requested by the UE; when a server corresponding to the URI requested by the UE is a server which requires access with TLS using one-way authentication, sending the HTTP request to the server by means of a TLS channel between the agent device and the server corresponding to the URI; receiving data sent by the server by means of the TLS channel after receiving a first HTTP request; and sending the data to the UE by means of a service processing device. Since a TLS channel is established between the agent device and the server, the UE can acquire data in the server by means of an HTTP request, so that not only an end-to-end secure transmission required by the server is satisfied, but the data which is requested by the UE and sent by the server can be acquired by a network device, thereby being able to perform a service processing operation, such as a VAS operation. |