CN111756758A - Face-brushing payment data transmission system and method - Google Patents

Face-brushing payment data transmission system and method Download PDF

Info

Publication number
CN111756758A
CN111756758A CN202010597541.2A CN202010597541A CN111756758A CN 111756758 A CN111756758 A CN 111756758A CN 202010597541 A CN202010597541 A CN 202010597541A CN 111756758 A CN111756758 A CN 111756758A
Authority
CN
China
Prior art keywords
face
encrypted
brushing payment
terminal
working key
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
CN202010597541.2A
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.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202010597541.2A priority Critical patent/CN111756758A/en
Publication of CN111756758A publication Critical patent/CN111756758A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • H04L63/0435Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply symmetric encryption, i.e. same key used for encryption and decryption
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0816Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use
    • H04L9/0819Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s)
    • H04L9/0822Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s) using key encryption key

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Business, Economics & Management (AREA)
  • Signal Processing (AREA)
  • Accounting & Taxation (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Cash Registers Or Receiving Machines (AREA)

Abstract

The invention provides a transmission system and a method for face-brushing payment data, wherein the system comprises the following steps: the terminal is used for sending a sign-in request to the server when the terminal is started and receiving an encrypted working key fed back by the server; decrypting the encrypted working key based on the master key; generating a face brushing payment transaction request, wherein the face brushing payment transaction request comprises the collected face information and transaction information; encrypting the face-brushing payment transaction request based on a working key; sending the encrypted face-brushing payment transaction request to a server; the server is used for generating a working key corresponding to the terminal after receiving the sign-in request; encrypting the working key based on the master key; sending the encrypted working key to the terminal; and after receiving the encrypted face-brushing payment transaction request, decrypting the encrypted face-brushing payment transaction request based on the working key corresponding to the terminal. The invention is used for solving the problem of safe and efficient transmission of face brushing payment data.

Description

Face-brushing payment data transmission system and method
Technical Field
The invention relates to the technical field of data transmission, in particular to a transmission system and method for face-brushing payment data.
Background
Under all kinds of face payment scenes, it brushes face information to need to transmit between face payment equipment such as terminal and the server, for example, under the application scene of enterprise dining room face payment, it brushes face information to need to brush the transmission between face payment equipment and the backstage receipt system of front end, wherein face information usually with the transmission of picture binary data's form, this data length can be very long, the mode that adopts hard encryption and decryption has the overlength problem of data to appear, so can only the plaintext transmission or use the encryption machine segmentation encryption and decryption, but the segmentation encryption and decryption needs to communicate with the encryption machine many times, this has reduced and has brushed face payment efficiency, the mistake also appears easily.
Disclosure of Invention
The embodiment of the invention provides a transmission system of face-brushing payment data, which is used for solving the problem of safe and efficient transmission of the face-brushing payment data and comprises the following components:
the terminal is used for sending a sign-in request to the server when the terminal is started and receiving an encrypted working key fed back by the server; decrypting the encrypted working key based on the master key; generating a face brushing payment transaction request, wherein the face brushing payment transaction request comprises the collected face information and transaction information; encrypting the face-brushing payment transaction request based on a working key; sending the encrypted face-brushing payment transaction request to a server;
the server is used for generating a working key corresponding to the terminal after receiving the sign-in request; encrypting the working key based on the master key; sending the encrypted working key to the terminal; and after receiving the encrypted face-brushing payment transaction request, decrypting the encrypted face-brushing payment transaction request based on the working key corresponding to the terminal.
The embodiment of the invention provides a method for swiping face payment data, which is used for solving the problem of safe and efficient transmission of the swiping face payment data and comprises the following steps:
sending a sign-in request to a server when the computer is started, and receiving an encrypted working key fed back by the server; the encrypted working key is obtained by encrypting the working key generated after the server receives the sign-in request based on the master key;
decrypting the encrypted working key based on the master key;
generating a face brushing payment transaction request, wherein the face brushing payment transaction request comprises the collected face information and transaction information;
encrypting the face-brushing payment transaction request based on a working key;
sending the encrypted face-brushing payment transaction request to a server; and after the encrypted face-brushing payment transaction request is received by the server, the encrypted face-brushing payment transaction request is decrypted based on a working key corresponding to the terminal to obtain the face-brushing payment transaction request.
The embodiment of the invention provides a method for swiping face payment data, which is used for solving the problem of safe and efficient transmission of the swiping face payment data and comprises the following steps:
after receiving the sign-in request, generating a working key corresponding to the terminal;
encrypting the working key based on the master key;
sending the encrypted working key to the terminal; after the encrypted working key is received by the terminal, decrypting based on the main key;
after receiving the encrypted face-brushing payment transaction request, decrypting the encrypted face-brushing payment transaction request based on a working key corresponding to the terminal; the encrypted face-brushing payment transaction request is obtained by encrypting the terminal based on the working key, and comprises the collected face information and the transaction information.
The embodiment of the invention also provides computer equipment which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor realizes the transmission method of the face brushing payment data when executing the computer program.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program for executing the transmission method of face-brushing payment data is stored in the computer-readable storage medium.
In an embodiment of the present invention, a transmission system for face-brushing payment data includes: the terminal is used for sending a sign-in request to the server when the terminal is started and receiving an encrypted working key fed back by the server; decrypting the encrypted working key based on the master key; generating a face brushing payment transaction request, wherein the face brushing payment transaction request comprises the collected face information and transaction information; encrypting the face-brushing payment transaction request based on a working key; sending the encrypted face-brushing payment transaction request to a server; the server is used for generating a working key corresponding to the terminal after receiving the sign-in request; encrypting the working key based on the master key; sending the encrypted working key to the terminal; and after receiving the encrypted face-brushing payment transaction request, decrypting the encrypted face-brushing payment transaction request based on the working key corresponding to the terminal. In the system, a sectional encryption and decryption mode is not adopted, and the main key and the working key are adopted to encrypt and decrypt data in face brushing payment, so that the face brushing payment efficiency is improved while the safety is ensured.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts. In the drawings:
fig. 1 is a schematic diagram of a transmission system for face-brushing payment data according to an embodiment of the present invention;
FIG. 2 is a detailed flowchart of a transmission system for face-brushing payment data according to an embodiment of the present invention;
fig. 3 is a flowchart of a transmission method of face-brushing payment data according to an embodiment of the present invention;
fig. 4 is a flowchart of another method for transmitting face-brushing payment data according to an embodiment of the present invention;
FIG. 5 is a diagram of a computer device in an embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention are further described in detail below with reference to the accompanying drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention, but not to limit the present invention.
In the description of the present specification, the terms "comprising," "including," "having," "containing," and the like are used in an open-ended fashion, i.e., to mean including, but not limited to. Reference to the description of the terms "one embodiment," "a particular embodiment," "some embodiments," "for example," etc., means that a particular feature, structure, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. The sequence of steps involved in the embodiments is for illustrative purposes to illustrate the implementation of the present application, and the sequence of steps is not limited and can be adjusted as needed.
Fig. 1 is a schematic diagram of a transmission system of face-brushing payment data in an embodiment of the present invention, as shown in fig. 1, the system includes:
the terminal is used for sending a sign-in request to the server when the terminal is started and receiving an encrypted working key fed back by the server; decrypting the encrypted working key based on the master key; generating a face brushing payment transaction request, wherein the face brushing payment transaction request comprises the collected face information and transaction information; encrypting the face-brushing payment transaction request based on a working key; sending the encrypted face-brushing payment transaction request to a server;
the server is used for generating a working key corresponding to the terminal after receiving the sign-in request; encrypting the working key based on the master key; sending the encrypted working key to the terminal; and after receiving the encrypted face-brushing payment transaction request, decrypting the encrypted face-brushing payment transaction request based on the working key corresponding to the terminal.
In the system provided by the embodiment of the invention, a sectional encryption and decryption mode is not adopted, and the main key and the working key are adopted to realize encryption and decryption of data in face brushing payment, so that the face brushing payment efficiency is improved while the safety is ensured.
In specific implementation, the method and the system are mainly used for balancing the safety and the transaction efficiency in the application scene of small-amount payment such as face-brushing payment in an enterprise canteen, so that the requirements on the transmission safety of transaction data in the small-amount face-brushing payment scene are met, and the transaction processing speed is guaranteed. For example, in the application scenario of face-brushing payment in an enterprise canteen, the terminal may be a face-brushing payment device, the server may be a background acquiring system, the same master key is stored in the secure area of the terminal and the background acquiring system at the same time, the method can be stored in a ciphertext form, the terminal can send a check-in request to the server every time the terminal is started, or a worker can manually initiate the check-in request, after the server receives the check-in request, generating a working key corresponding to the terminal, encrypting the working key based on the master key and feeding back the encrypted working key to the terminal, then enabling the terminal to perform data transmission based on the master key, the encrypted working key is decrypted for subsequent use, namely a new working key is generated every time the terminal is started, and the working keys of different terminals are different, and the safety of the working key can be better due to the non-fixed working key, so that the safety of the face-brushing payment transaction request encrypted and decrypted based on the working key is higher.
In an embodiment, the terminal is specifically configured to: based on the master key, decrypting the encrypted working key by adopting an SM4 encryption and decryption algorithm; based on the working key, encrypting the face-brushing payment transaction request by adopting an SM4 encryption and decryption algorithm;
the server is specifically configured to: based on the master key, encrypting the working key by adopting an SM4 encryption and decryption algorithm; and based on the working key corresponding to the terminal, decrypting the encrypted face brushing payment transaction request by adopting an SM4 encryption and decryption algorithm.
In the above embodiment, the encryption and decryption algorithm using SM4 is a block cipher algorithm. The packet length is 128 bits, and the key length is also 128 bits. The encryption algorithm and the key expansion algorithm both adopt 32-round nonlinear iteration structures, encryption operation is carried out by taking a word (32 bits) as a unit, and each iteration operation is a round of transformation function F. The SM4 algorithm encryption/decryption algorithm is the same in structure, except that the round keys are used instead, where the decryption round keys are the reverse order of the encryption round keys. The SM4 encryption and decryption algorithm can be realized through a JAVA program, the encryption and decryption efficiency is high, the safety is good, for example, when the working key is encrypted by adopting the SM4 encryption and decryption algorithm based on the master key, the working key is encrypted by using the SM4 encryption and decryption algorithm according to the appointed encryption form, offset and filling mode based on the master key; for another example, when the face-brushing payment transaction request is encrypted by using the SM4 encryption and decryption algorithm based on the working key, the face-brushing payment transaction request (including the face information and the transaction information) is encrypted by using the SM4 encryption and decryption algorithm according to the agreed encryption form, offset and filling manner based on the working key.
In an embodiment, the server is further configured to:
generating a transaction processing result based on the face-brushing payment transaction request; encrypting the transaction processing result; sending the encrypted transaction processing result to the terminal;
the terminal is further configured to: and after receiving the encrypted transaction processing result, decrypting the encrypted transaction processing result.
In the above embodiment, the transaction processing includes payment amount processing, and the like, the transaction processing result may be transaction success information and transaction failure information, the information includes user information, and therefore, the user information is also encrypted generally, and the transaction processing result may still be encrypted by using the SM4 encryption and decryption algorithm according to the agreed encryption form, offset and filling manner based on the working key during encryption, and the decryption process is the same.
In one embodiment, the system further comprises a management end, configured to: and generating a master key and sending the master key to the terminal and the server.
In the above embodiment, the management terminal may generate the master key once every a period of time and send the master key to the terminal and the server, so that the master key may also change periodically, and the security of the transmission system for face-brushing payment data during data transmission is further improved.
Based on the above embodiment, the present invention provides the following embodiment to explain a detailed flow of the transmission system of the application face-brushing payment data, and fig. 2 is a detailed flow chart of the transmission system of the application face-brushing payment data according to the embodiment of the present invention, including:
step 201, a management terminal generates a master key;
step 202, the management terminal sends the master key to the terminal and the server;
step 203, the terminal sends a sign-in request to the server when the terminal is started;
step 204, the server generates a working key corresponding to the terminal; encrypting the working key based on the master key;
step 205, the server sends the encrypted working key to the terminal;
step 206, the terminal decrypts the encrypted working key based on the master key;
step 207, the terminal generates a face-brushing payment transaction request; encrypting the face-brushing payment transaction request based on a working key;
step 208, the terminal sends the encrypted face brushing payment transaction request to a server;
step 209, the server decrypts the encrypted face-brushing payment transaction request based on the working key corresponding to the terminal; generating a transaction processing result based on the face-brushing payment transaction request; encrypting the transaction processing result;
step 210, the server sends the encrypted transaction processing result to the terminal;
in step 211, the terminal decrypts and displays the encrypted transaction processing result.
Of course, it is understood that other variations of the above detailed flow can be made, and all such variations are intended to fall within the scope of the present invention.
To sum up, the system provided in the embodiment of the present invention includes: the terminal is used for sending a sign-in request to the server when the terminal is started and receiving an encrypted working key fed back by the server; decrypting the encrypted working key based on the master key; generating a face brushing payment transaction request, wherein the face brushing payment transaction request comprises the collected face information and transaction information; encrypting the face-brushing payment transaction request based on a working key; sending the encrypted face-brushing payment transaction request to a server; the server is used for generating a working key corresponding to the terminal after receiving the sign-in request; encrypting the working key based on the master key; sending the encrypted working key to the terminal; and after receiving the encrypted face-brushing payment transaction request, decrypting the encrypted face-brushing payment transaction request based on the working key corresponding to the terminal. In the system, a sectional encryption and decryption mode is not adopted, and the main key and the working key are adopted to encrypt and decrypt data in face brushing payment, so that the face brushing payment efficiency is improved while the safety is ensured. In addition, the SM4 encryption and decryption algorithm is high in efficiency and good in safety. The management terminal can generate the main key once every a period of time and send the main key to the terminal and the server, so that the main key can also change periodically, and the safety of the transmission system for face brushing payment data during data transmission is further improved.
The embodiment of the present invention further provides a method for transmitting face-brushing payment data, and fig. 3 is a flowchart of the method for transmitting face-brushing payment data in the embodiment of the present invention, where the method includes:
step 301, sending a sign-in request to a server when starting up, and receiving an encrypted working key fed back by the server; the encrypted working key is obtained by encrypting the working key generated after the server receives the sign-in request based on the master key;
step 302, based on the master key, decrypting the encrypted working key;
step 303, generating a face-brushing payment transaction request, wherein the face-brushing payment transaction request comprises the collected face information and the transaction information;
step 304, encrypting the face brushing payment transaction request based on a working key;
step 305, sending the encrypted face brushing payment transaction request to a server; and after the encrypted face-brushing payment transaction request is received by the server, the encrypted face-brushing payment transaction request is decrypted based on a working key corresponding to the terminal to obtain the face-brushing payment transaction request.
In one embodiment, decrypting the encrypted working key based on the master key comprises:
based on the master key, decrypting the encrypted working key by adopting an SM4 encryption and decryption algorithm;
encrypting the face-brushing payment transaction request based on a work key, comprising:
and based on the working key, encrypting the face-brushing payment transaction request by adopting an SM4 encryption and decryption algorithm.
In an embodiment, the method further comprises:
after receiving the encrypted transaction processing result, decrypting the encrypted transaction processing result; and the encrypted transaction processing result is obtained by encrypting the transaction processing result generated based on the face-brushing payment transaction request by the server.
In summary, in the method provided in the embodiment of the present invention, a segmented encryption/decryption manner is not adopted, but a main key and a working key are adopted to encrypt/decrypt data in the face brushing payment, so that the face brushing payment efficiency is improved while the security is ensured. In addition, the SM4 encryption and decryption algorithm is high in efficiency and good in safety.
The embodiment of the present invention further provides another transmission method for face-brushing payment data, and fig. 4 is a flowchart of the transmission method for face-brushing payment data in the embodiment of the present invention, where the method includes:
step 401, after receiving a sign-in request, generating a working key corresponding to a terminal;
step 402, encrypting a work key based on a master key;
step 403, sending the encrypted work key to the terminal; after the encrypted working key is received by the terminal, decrypting based on the main key;
step 404, after receiving the encrypted face-brushing payment transaction request, decrypting the encrypted face-brushing payment transaction request based on a working key corresponding to the terminal; the encrypted face-brushing payment transaction request is obtained by encrypting the terminal based on the working key, and comprises the collected face information and the transaction information.
In one embodiment, encrypting the working key based on the master key comprises:
based on the master key, encrypting the working key by adopting an SM4 encryption and decryption algorithm;
based on the work key that the terminal corresponds, carry out the deciphering to the face payment transaction request after the encryption, include:
and based on the working key corresponding to the terminal, decrypting the encrypted face brushing payment transaction request by adopting an SM4 encryption and decryption algorithm.
In an embodiment, the method further comprises:
generating a transaction processing result based on the face-brushing payment transaction request; encrypting the transaction processing result;
and sending the encrypted transaction processing result to the terminal.
In summary, in the method provided in the embodiment of the present invention, a segmented encryption/decryption manner is not adopted, but a main key and a working key are adopted to encrypt/decrypt data in the face brushing payment, so that the face brushing payment efficiency is improved while the security is ensured. In addition, the SM4 encryption and decryption algorithm is high in efficiency and good in safety.
An embodiment of the present application further provides a computer device, and fig. 5 is a schematic diagram of the computer device in the embodiment of the present invention, where the computer device is capable of implementing all steps in the transmission method of face-brushing payment data in the embodiment, and the electronic device specifically includes the following contents:
a processor (processor)501, a memory (memory)502, a communication interface (communications interface)503, and a bus 504;
the processor 501, the memory 502 and the communication interface 503 complete mutual communication through the bus 504; the communication interface 503 is used for implementing information transmission between related devices such as server-side devices, detection devices, and user-side devices;
the processor 501 is configured to call a computer program in the memory 502, and when the processor executes the computer program, the processor implements all the steps in the transmission method of face brushing payment data in the above embodiment.
An embodiment of the present application further provides a computer-readable storage medium, which can implement all the steps in the transmission method of face-brushing payment data in the foregoing embodiment, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the computer program implements all the steps of the transmission method of face-brushing payment data in the foregoing embodiment.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (12)

1. A transmission system for face-brushing payment data, comprising:
the terminal is used for sending a sign-in request to the server when the terminal is started and receiving an encrypted working key fed back by the server; decrypting the encrypted working key based on the master key; generating a face brushing payment transaction request, wherein the face brushing payment transaction request comprises the collected face information and transaction information; encrypting the face-brushing payment transaction request based on a working key; sending the encrypted face-brushing payment transaction request to a server;
the server is used for generating a working key corresponding to the terminal after receiving the sign-in request; encrypting the working key based on the master key; sending the encrypted working key to the terminal; and after receiving the encrypted face-brushing payment transaction request, decrypting the encrypted face-brushing payment transaction request based on the working key corresponding to the terminal.
2. The transmission system of face-brushing payment data as recited in claim 1, wherein the terminal is specifically configured to: based on the master key, decrypting the encrypted working key by adopting an SM4 encryption and decryption algorithm; based on the working key, encrypting the face-brushing payment transaction request by adopting an SM4 encryption and decryption algorithm;
the server is specifically configured to: based on the master key, encrypting the working key by adopting an SM4 encryption and decryption algorithm; and based on the working key corresponding to the terminal, decrypting the encrypted face brushing payment transaction request by adopting an SM4 encryption and decryption algorithm.
3. The system for transmitting face-brushing payment data according to claim 1, wherein the server is further configured to:
generating a transaction processing result based on the face-brushing payment transaction request; encrypting the transaction processing result; sending the encrypted transaction processing result to the terminal;
the terminal is further configured to: and after receiving the encrypted transaction processing result, decrypting the encrypted transaction processing result.
4. The transmission system of face-brushing payment data as set forth in claim 1, further comprising a management terminal for: and generating a master key and sending the master key to the terminal and the server.
5. A transmission method of face brushing payment data is characterized by comprising the following steps:
sending a sign-in request to a server when the computer is started, and receiving an encrypted working key fed back by the server; the encrypted working key is obtained by encrypting the working key generated after the server receives the sign-in request based on the master key;
decrypting the encrypted working key based on the master key;
generating a face brushing payment transaction request, wherein the face brushing payment transaction request comprises the collected face information and transaction information;
encrypting the face-brushing payment transaction request based on a working key;
sending the encrypted face-brushing payment transaction request to a server; and after the encrypted face-brushing payment transaction request is received by the server, the encrypted face-brushing payment transaction request is decrypted based on a working key corresponding to the terminal to obtain the face-brushing payment transaction request.
6. The transmission method of face-brushing payment data as claimed in claim 5, wherein decrypting the encrypted work key based on the master key comprises:
based on the master key, decrypting the encrypted working key by adopting an SM4 encryption and decryption algorithm;
encrypting the face-brushing payment transaction request based on a work key, comprising:
and based on the working key, encrypting the face-brushing payment transaction request by adopting an SM4 encryption and decryption algorithm.
7. The method for transmitting face-brushing payment data according to claim 5, further comprising:
after receiving the encrypted transaction processing result, decrypting the encrypted transaction processing result; and the encrypted transaction processing result is obtained by encrypting the transaction processing result generated based on the face-brushing payment transaction request by the server.
8. A transmission method of face brushing payment data is characterized by comprising the following steps:
after receiving the sign-in request, generating a working key corresponding to the terminal;
encrypting the working key based on the master key;
sending the encrypted working key to the terminal; after the encrypted working key is received by the terminal, decrypting based on the main key;
after receiving the encrypted face-brushing payment transaction request, decrypting the encrypted face-brushing payment transaction request based on a working key corresponding to the terminal; the encrypted face-brushing payment transaction request is obtained by encrypting the terminal based on the working key, and comprises the collected face information and the transaction information.
9. The transmission method of face-brushing payment data as claimed in claim 8, wherein encrypting the working key based on the master key comprises:
based on the master key, encrypting the working key by adopting an SM4 encryption and decryption algorithm;
based on the work key that the terminal corresponds, carry out the deciphering to the face payment transaction request after the encryption, include:
and based on the working key corresponding to the terminal, decrypting the encrypted face brushing payment transaction request by adopting an SM4 encryption and decryption algorithm.
10. The method for transmitting face-brushing payment data according to claim 8, further comprising:
generating a transaction processing result based on the face-brushing payment transaction request; encrypting the transaction processing result;
and sending the encrypted transaction processing result to the terminal.
11. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of any of claims 5 to 10 when executing the computer program.
12. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program for executing the method of any one of claims 5 to 10.
CN202010597541.2A 2020-06-28 2020-06-28 Face-brushing payment data transmission system and method Pending CN111756758A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010597541.2A CN111756758A (en) 2020-06-28 2020-06-28 Face-brushing payment data transmission system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010597541.2A CN111756758A (en) 2020-06-28 2020-06-28 Face-brushing payment data transmission system and method

Publications (1)

Publication Number Publication Date
CN111756758A true CN111756758A (en) 2020-10-09

Family

ID=72678443

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010597541.2A Pending CN111756758A (en) 2020-06-28 2020-06-28 Face-brushing payment data transmission system and method

Country Status (1)

Country Link
CN (1) CN111756758A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120074604A (en) * 2010-12-28 2012-07-06 (주)나노인사이드 System and service method for the generation of 3d human face information
CN105469253A (en) * 2015-11-19 2016-04-06 桂林航天工业学院 Handset NFC safety payment method based on integrated voiceprint and face characteristic encryption
CN107993073A (en) * 2017-12-29 2018-05-04 舟山振凯信息科技有限公司 A kind of face identification system and its method of work
CN110351232A (en) * 2018-04-08 2019-10-18 珠海汇金科技股份有限公司 Camera safe encryption method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120074604A (en) * 2010-12-28 2012-07-06 (주)나노인사이드 System and service method for the generation of 3d human face information
CN105469253A (en) * 2015-11-19 2016-04-06 桂林航天工业学院 Handset NFC safety payment method based on integrated voiceprint and face characteristic encryption
CN107993073A (en) * 2017-12-29 2018-05-04 舟山振凯信息科技有限公司 A kind of face identification system and its method of work
CN110351232A (en) * 2018-04-08 2019-10-18 珠海汇金科技股份有限公司 Camera safe encryption method and system

Similar Documents

Publication Publication Date Title
US20180013555A1 (en) Data transmission method and apparatus
CN108282329B (en) Bidirectional identity authentication method and device
US20140205086A1 (en) Apparatus for encrypting data
CN113132099B (en) Method and device for encrypting and decrypting transmission file based on hardware password equipment
CN107465665A (en) A kind of file encryption-decryption method based on fingerprint identification technology
CN112804205A (en) Data encryption method and device and data decryption method and device
CN111526007B (en) Random number generation method and system
CN109005184A (en) File encrypting method and device, storage medium, terminal
US20100005307A1 (en) Secure approach to send data from one system to another
CN111192050B (en) Digital asset private key storage and extraction method and device
JPH11317734A (en) Data ciphering and deciphering method and network system using the method
US11563566B2 (en) Key splitting
CN116614280A (en) Data transmission method and device, electronic equipment and storage medium
CN113326518B (en) Data processing method and device
CN111585998B (en) Audit data secure transmission method and system
CN112737783B (en) Decryption method and device based on SM2 elliptic curve
CN114866317B (en) Multi-party data security calculation method and device, electronic equipment and storage medium
CN113422832B (en) File transmission method, device, equipment and storage medium
CN115423474A (en) Transaction processing method and device based on chaotic mapping
CN111756758A (en) Face-brushing payment data transmission system and method
CN113922956A (en) Quantum key based Internet of things data interaction method, system, device and medium
CN111131158A (en) Single byte symmetric encryption and decryption method, device and readable medium
CN112149166A (en) Unconventional password protection method and intelligent bank machine
CN111970670A (en) APP key management method, device and system
CN112688909B (en) Data transmission system, method, device, medium and equipment

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20201009