Method for secure connection of Android terminal and terminal
A terminal security and terminal technology, which is applied in the field of Android system security, can solve the problems that Android smart terminals cannot guarantee connection security, and achieve the effect of stable security and guaranteed security
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0064] Please refer to figure 1 , Embodiment 1 of the present invention is:
[0065] A method for securely connecting an Android terminal, comprising steps:
[0066] S1. Establish a TCP connection with the server in the REE and implement the TLS protocol in the TEE;
[0067] In this embodiment, step S1 is specifically:
[0068] Establish a first program in the REE, and the first program establishes a TCP connection with the server;
[0069] Establishing a second program in the TEE, implementing the TLS protocol in the second program;
[0070] To port the TLS protocol to TEE, on the one hand, it is necessary to modify the TLS protocol (generally using an open source library) so that the modified TLS protocol can run normally in the TEE environment. The basic libc library is changed to the libc library provided by the chip platform (such as Qualcomm), so that it can run normally in the TEE environment corresponding to the chip platform after adaptation; on the other hand, t...
Embodiment 2
[0079] Please refer to image 3 , the second embodiment of the present invention is:
[0080] Apply the above-mentioned secure connection method of an Android terminal to an actual scenario:
[0081] Build the first program (APP) in the REE environment in the Android system of the Android terminal, realize the TCP connection with the server in this first program, realize the data interaction with the server by the TCP connection;
[0082] Build the second program (TA) under the TEE environment in the Android system, and realize the TLS protocol and data storage in the second program; the TEE environment is provided by the Trusty system of the Android terminal, and the Trusty system is independent of the Android system, and calls each other through the interface ;
[0083] The first program and the second program perform data interaction through the communication interface provided by the Android terminal. The first program forwards the corresponding data of the second progra...
Embodiment 3
[0086] Please refer to figure 2 , Embodiment three of the present invention is:
[0087] A terminal 1 securely connected to an Android terminal includes a processor 2, a memory 3, and a computer program stored on the memory 3 and operable on the processor 2, and the processor 2 implements the computer program when executing the computer program Each step in Example 1 or Example 2.
[0088] To sum up, the present invention provides a method and terminal for secure connection of an Android terminal. The TLS protocol is executed in the TEE environment, and the APP in the REE environment is only responsible for establishing a connection with the server, without saving the session key, etc. To implement the operations required by the TLS protocol, the received data is forwarded to the TA in the TEE through the corresponding communication interface for processing. After the TA obtains the data, it is only stored in the TEE, and the reply data is processed according to the TLS prot...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


