The invention provides a communication method and
system for a terminal and a
cloud server, and the method comprises the steps: the terminal configures an agent
client, sets an agent parameter at the agent
client, starts an agent, and enters a first communication mode, and the agent parameter comprises a
local agent port; in the first communication mode, the terminal applies for a service key from a
cloud server, and if the service key is successfully acquired, the terminal is allowed to enter a cloud computer interface; wherein the service key is used for encrypting or decrypting a cloud resource
service flow packet transmitted by the
local agent port. A terminal proxy
client is set to start a proxy, a
secure communication mode between a terminal and a
cloud server is entered, and a cloud resource
service flow packet is encrypted by using service keys held at two ends, so that
cloud resources are prevented from being intercepted, leaked and tampered in transmission, and office security is protected;
encryption at a flow layer is realized through an agent, the execution efficiency is high,
encryption and decryption are implemented by combining a symmetric cryptographic
algorithm with a high
encryption and decryption
processing rate, so that the
processing capability and the response speed of the whole
system are extremely high, and non-inductive secure acquisition of
cloud resources is realized; encryption is carried out on the flow layer, and compared with a
service layer, keys can be saved; the terminal is set to obtain the service key and enter the cloud computer interface, so that unauthorized users or hostile attackers are prevented from operating the cloud computer, and the
system security is improved.