CN116070223A - Data transmission encryption method based on Android system client-to-server - Google Patents

Data transmission encryption method based on Android system client-to-server Download PDF

Info

Publication number
CN116070223A
CN116070223A CN202111282967.XA CN202111282967A CN116070223A CN 116070223 A CN116070223 A CN 116070223A CN 202111282967 A CN202111282967 A CN 202111282967A CN 116070223 A CN116070223 A CN 116070223A
Authority
CN
China
Prior art keywords
data
encryption
server
encrypted
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111282967.XA
Other languages
Chinese (zh)
Inventor
刘尚枢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tianjin Jinmiao Technology Co ltd
Original Assignee
Tianjin Jinmiao Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tianjin Jinmiao Technology Co ltd filed Critical Tianjin Jinmiao Technology Co ltd
Priority to CN202111282967.XA priority Critical patent/CN116070223A/en
Publication of CN116070223A publication Critical patent/CN116070223A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes
    • G06F21/6263Protecting personal data, e.g. for financial or medical purposes during internet communication, e.g. revealing personal data from cookies

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Medical Informatics (AREA)
  • Databases & Information Systems (AREA)
  • Storage Device Security (AREA)

Abstract

The invention belongs to the field of information encryption, and particularly relates to a data transmission encryption method based on an Android system client-to-server. The client acquires data to be encrypted according to the encryption request and verifies user information; the server receives an encryption request of the transmission data; carrying out hierarchical encryption on the data to be encrypted; and the system transmits the data to the server according to the grading information. The invention has the advantages that the data to be transmitted in the client side are analyzed, classified encryption is carried out, a selective encryption mode is provided for a user, and the encrypted transmission of the data is completed. The invention is convenient and simple, reduces the learning cost of users, and improves the timeliness and safety of data transmission.

Description

Data transmission encryption method based on Android system client-to-server
Technical Field
The invention belongs to the field of information encryption, and particularly relates to a data transmission encryption method based on an Android system client-to-server.
Background
The Android system is an operation system of free and open source codes based on a Linux kernel and is mainly used for mobile equipment. Along with the wider and wider application of Android operating systems, more and more problems are encountered in the data information transmission process, so that the safety and timeliness in the data information transmission process cannot meet the requirements of users.
Disclosure of Invention
In order to solve the technical problems, the invention provides a method in the field of information encryption, and is particularly suitable for encrypting data transmission from a client to a server based on an Android system.
The technical scheme adopted by the invention is as follows: the data transmission encryption method based on the Android system client to the server is characterized by comprising the following steps:
the client acquires data to be encrypted according to the encryption request and verifies user information;
the server receives an encryption request of the transmission data;
carrying out hierarchical encryption on the data to be encrypted;
and the system transmits the data to the server according to the grading information.
Preferably, the step of hierarchically encrypting the data to be encrypted includes:
adopting a hierarchical encryption method according to the data information of the data to be encrypted, wherein the hierarchical encryption method carries out hierarchical encryption according to the priority degree of the data information;
and ordering the data information after hierarchical encryption according to the transmission priority.
Preferably, the client acquires data to be encrypted according to the encryption request, and the step of verifying the user information includes:
acquiring the data to be encrypted through the memory file of the client;
and verifying the user information by a password verification mode and/or a verification code verification mode.
Preferably, the step of receiving, by the server, an encryption request for transmitting data includes:
creating a need for the server to accept an encryption request for transmitting data by verifying the user information;
establishing Tcp connection;
and receiving the request of the client for transmitting data.
Preferably, the hierarchical encryption method is classified into a classification encryption method that determines the type of the data to be encrypted and a hierarchy encryption method that determines a priority level of the data to be encrypted.
Preferably, the classification encryption method or the hierarchical encryption method is determined to be preferentially used according to the characteristics of the data to be transmitted;
according to the environment where the server is located and the requirements of the user, when the server is located in a private server, the data are completely encrypted by the classified encryption method or are partially encrypted according to the selection of the user;
the taxonomy encrypts the data for transmission unencrypted or partially encrypted according to user selection while the servers are on a common server.
Preferably, the TCP connection enables transmission of data, and the transmission connection is established at the application process element.
Preferably, the hierarchical encryption method verifies information of the data to be transmitted by running in the same period of time.
The data encryption system based on the Android system is characterized by comprising a recording module, an analysis module, an encryption module and a transmission module, wherein
The receiving and recording module receives data information to be transmitted by the client;
the analysis module analyzes the content of the information to be transmitted;
the encryption module processes the information to be transmitted by adopting the hierarchical encryption method;
and the transmission module transmits the information to be transmitted to the server.
The invention has the advantages and positive effects that: according to the data transmission encryption method based on the Android system client to the server, data to be transmitted in the client are analyzed, classified encryption is performed, a selective encryption mode is provided for a user, and encryption transmission of the data is completed. The invention is convenient and simple, reduces the learning cost of users, and improves the timeliness and safety of data transmission.
Drawings
FIG. 1 is a schematic flow diagram of a method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a system module according to an embodiment of the invention;
Detailed Description
It should be noted that, without conflict, the embodiments of the present invention and the specific examples of the embodiments may be combined with each other, and the present invention will be described in detail with reference to the drawings and the embodiments.
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
The invention provides a data transmission encryption method based on an Android system client to a server, as shown in fig. 1, the method comprises the following steps:
the client acquires data to be encrypted according to the encryption request and verifies the user information;
the server receives an encryption request of the transmission data;
carrying out hierarchical encryption on data to be encrypted;
the system transmits the data to the server according to the grading information.
The method comprises the steps of obtaining data to be encrypted from a client according to an encryption request, providing data information to be encrypted through a memory of the client, verifying whether a user himself or herself wants according to a mode that the user selects to pass through client password authentication or verification code authentication, and completing verification of user information.
The server receives the encryption request of the transmission data, establishes TCP connection with the client while extracting the memory file of the data information to be encrypted by self-establishing the connection between the server and the client, and the server receives the encryption data transmission request of the client.
Carrying out hierarchical encryption on data to be encrypted, and adopting a hierarchical encryption method, namely carrying out hierarchical encryption according to the priority degree of the data information; the hierarchical encryption method comprises a classified encryption method and a hierarchical encryption method, wherein the classified encryption method determines the type of data to be encrypted, and the hierarchical encryption method determines the priority level of the data to be encrypted; according to the environment where the server is located and the requirements of the user, when the server is set as a private server, the classified encryption method encrypts all transmission data or encrypts part of the transmission data according to the selection of the user; when the server is set as a public server, the digest encryption transmits the transmission data unencrypted or partially encrypted according to the user's selection.
And finally, the encrypted transmission of the data is finished, namely the process of transmitting the data from the client to the server can be finished, and the process of calling the encrypted data from the server to the client can also be finished.
Example 1:
when a user uses the Android terminal and needs to transmit data, the user enters the system after entering a process of verifying whether the user is himself or not by calling the data transmission encryption system and inputting a password or a verification code; at the moment, the system completes authentication of the user and establishes TCP connection with the server at the same time so that the server receives a request of data transmission;
selecting a file to be transmitted in the system, and selecting non-encrypted transmission, partial encrypted transmission and full encrypted transmission according to a plurality of groups of options; the encryption transmission is not needed, namely the user can transmit the data without setting an encryption mode, the partial encryption transmission finishes the data transmission by selecting the partial data to be transmitted and the complete encryption transmission packs all the data to be transmitted and encrypts the data;
and the process of transmitting the system data from the Android terminal to the server terminal can be completed by selecting the transmitted file and the transmission mode. The invention has the advantages that: and analyzing the data to be transmitted in the client, classifying and encrypting the data, and providing a selective encryption mode for a user to finish the encrypted transmission of the data. The invention is convenient and simple, reduces the learning cost of users, and improves the timeliness and safety of data transmission.
The foregoing describes the embodiments of the present invention in detail, but the description is only a preferred embodiment of the present invention and should not be construed as limiting the scope of the invention. All equivalent changes and modifications within the scope of the present invention are intended to be covered by the present invention.

Claims (9)

1. The data transmission encryption method based on the Android system client to the server is characterized by comprising the following steps:
the client acquires data to be encrypted according to the encryption request and verifies user information;
the server receives an encryption request of the transmission data;
carrying out hierarchical encryption on the data to be encrypted;
and the system transmits the data to the server according to the grading information.
2. The method for encrypting data transmission based on Android system client-server according to claim 1, wherein the step of hierarchically encrypting the data to be encrypted comprises the steps of:
adopting a hierarchical encryption method according to the data information of the data to be encrypted, wherein the hierarchical encryption method carries out hierarchical encryption according to the priority degree of the data information;
and ordering the data information after hierarchical encryption according to the transmission priority.
3. The method for encrypting data transmission based on Android system client-server according to claim 1, wherein the step of obtaining data to be encrypted by the client according to the encryption request and verifying user information comprises the following steps:
acquiring the data to be encrypted through the memory file of the client;
and verifying the user information by a password verification mode and/or a verification code verification mode.
4. The method for encrypting data transmission based on Android system client-server according to claim 1, wherein the step of receiving the encrypted request for transmitting data by the server comprises the following steps:
creating a need for the server to accept an encryption request for transmitting data by verifying the user information;
establishing Tcp connection;
and receiving the request of the client for transmitting data.
5. The method for encrypting data transmission based on Android system client-server according to claim 2, wherein the hierarchical encryption method is divided into a classification encryption method and a hierarchy encryption method, the classification encryption method determines the type of the data to be encrypted, and the hierarchy encryption method determines the priority level of the data to be encrypted.
6. The method for encrypting data transmission based on Android system client-server according to claim 5, wherein,
determining to use the classified encryption method or the hierarchical encryption method preferentially according to the characteristics of the data to be transmitted;
according to the environment where the server is located and the requirements of the user, when the server is set as a private server, the data are completely encrypted by the classified encryption method or are partially encrypted according to the selection of the user;
the taxonomy encrypts the data either unencrypted to transmission or partially according to user selection when the server is set as a public server.
7. The method for encrypting data transmission based on Android system client-server according to claim 4, wherein the TCP connection is used for realizing data transmission, and the transmission connection is established in an application process.
8. The method for encrypting data transmission based on Android system client-server according to claim 2, wherein the hierarchical encryption method verifies information of the data to be transmitted through simultaneous segment operation.
9. The data encryption system based on the Android system is characterized by comprising a recording module, an analysis module, an encryption module and a transmission module, wherein
The receiving and recording module receives data information to be transmitted by the client;
the analysis module analyzes the content of the information to be transmitted;
the encryption module processes the information to be transmitted by adopting the hierarchical encryption method;
and the transmission module transmits the information to be transmitted to the server.
CN202111282967.XA 2021-11-01 2021-11-01 Data transmission encryption method based on Android system client-to-server Pending CN116070223A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111282967.XA CN116070223A (en) 2021-11-01 2021-11-01 Data transmission encryption method based on Android system client-to-server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111282967.XA CN116070223A (en) 2021-11-01 2021-11-01 Data transmission encryption method based on Android system client-to-server

Publications (1)

Publication Number Publication Date
CN116070223A true CN116070223A (en) 2023-05-05

Family

ID=86182465

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111282967.XA Pending CN116070223A (en) 2021-11-01 2021-11-01 Data transmission encryption method based on Android system client-to-server

Country Status (1)

Country Link
CN (1) CN116070223A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118018335A (en) * 2024-04-10 2024-05-10 北京大学 Data hierarchical encryption method, device, equipment and medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118018335A (en) * 2024-04-10 2024-05-10 北京大学 Data hierarchical encryption method, device, equipment and medium

Similar Documents

Publication Publication Date Title
US20220318355A1 (en) Remote usage of locally stored biometric authentication data
US10462142B2 (en) Techniques for implementing a data storage device as a security device for managing access to resources
CN112040004B (en) Method, system, and medium for rule-based device registration
US11539690B2 (en) Authentication system, authentication method, and application providing method
US9124582B2 (en) Mobile security fob
US7770207B2 (en) System, apparatus, program, and method for authentication
JP6054457B2 (en) Private analysis with controlled disclosure
CN106981003B (en) Transaction method, device and system for virtual reality environment
US11240220B2 (en) Systems and methods for user authentication based on multiple devices
CN110191086A (en) Intelligentized Furniture remote security control method, device, computer equipment and storage medium
US20130340093A1 (en) System for Managing Computer Data Security Through Portable Data Access Security Tokens
KR20030097847A (en) Authenticating user on computer network for biometric information
EP3272093B1 (en) Method and system for anti-phishing using smart images
US20170279798A1 (en) Multi-factor authentication system and method
CN116527372B (en) Internet-based data security interaction system and method
CN107679488A (en) Control terminal in control method for vehicle and system, cloud server, vehicle
CN115412269A (en) Service processing method, device, server and storage medium
US20190188934A1 (en) Low-Power Wireless for Access Control
US10936705B2 (en) Authentication method, electronic device, and computer-readable program medium
CN116070223A (en) Data transmission encryption method based on Android system client-to-server
CN110647733A (en) Identity authentication method and system based on fingerprint identification
CN114374680A (en) Vehicle-mounted device control method and device, electronic device and readable storage medium
US11037146B2 (en) Managing product returns associated with a user device
CN109684802A (en) A kind of method and system providing a user artificial intelligence platform
JP4627316B2 (en) Service providing system, authentication method, authentication program, and recording medium therefor

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination