The invention discloses a transmission
encryption method taking flows as
granularity. The method comprises steps that a user makes an
encryption strategy as required; a business
flow management module carries out type analysis on data packages, obtain the application type and business type of the data packages; the business
flow management module puts different types of the data packages into different type queues; a data
encryption module judges whether to encrypt the data packages according to the encryption strategies and carries out encryption operation on to-be-encrypted queues; and receiving and sending data packages. According to the invention, all modules are dynamically loaded on a terminal in an LKM manner, which will not cause problems on original functions of the operation
system; based on current type identification method, application distinguishing is carried out on all data packages on the terminal, business analysis are then carried out on the data packages and encryption communication taking flows as
granularity is carried out on each type of business flow of each application, so
granularity is quite fine, way of encryption is quite flexible, data safety is taken into consideration and transmission efficiency is increased.