CN114612098A - Transaction information processing method and device and computer readable storage medium - Google Patents

Transaction information processing method and device and computer readable storage medium Download PDF

Info

Publication number
CN114612098A
CN114612098A CN202011411023.3A CN202011411023A CN114612098A CN 114612098 A CN114612098 A CN 114612098A CN 202011411023 A CN202011411023 A CN 202011411023A CN 114612098 A CN114612098 A CN 114612098A
Authority
CN
China
Prior art keywords
transaction
image
information
amount
current
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
CN202011411023.3A
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202011411023.3A priority Critical patent/CN114612098A/en
Publication of CN114612098A publication Critical patent/CN114612098A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • 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
    • 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/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • G06Q20/4014Identity check for transactions
    • G06Q20/40145Biometric identity checks

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Computer Security & Cryptography (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Image Analysis (AREA)

Abstract

The embodiment of the invention discloses a transaction information processing method, a device and a computer readable storage medium; the method comprises the steps that after an image of transaction information displayed by a first transaction terminal is collected, the collected transaction image is identified to obtain a transaction amount of a current transaction, then a transaction page of the current transaction is displayed, the transaction page comprises the transaction amount and a transaction control, a face image of a user is collected in response to transaction operation of the transaction control, the face image and the transaction amount are sent to a transaction server, transaction identification information of the current transaction returned by the transaction server according to the face image and the transaction amount is received, and the transaction identification information is sent to the first transaction terminal to process the transaction information; the scheme can improve the safety of transaction information processing.

Description

Transaction information processing method and device and computer readable storage medium
Technical Field
The invention relates to the technical field of communication, in particular to a transaction information processing method, a transaction information processing device and a computer-readable storage medium.
Background
In recent years, with rapid development of internet technology, transaction modes are more and more diversified, wherein the transaction modes using face recognition are widely applied, and in the transaction modes using face recognition, it is necessary to process transaction information of current transaction using a face recognition result, for example, to perform payment or transfer processing on a transaction subject in the transaction information. The existing transaction information mode is to directly acquire a face image to acquire transaction identification information, so that the transaction information of the current transaction is processed.
In the research and practice process of the prior art, the inventor of the invention finds that for the existing transaction information processing method, the facial image of the user is directly acquired to process the current transaction information, and the user does not know the information such as the transaction amount of the current transaction before acquiring the facial image, so that the current transaction has certain risk, and the security of transaction information processing is greatly reduced.
Disclosure of Invention
The embodiment of the invention provides a transaction information processing method, a transaction information processing device and a computer readable storage medium, which can improve the security of transaction information processing.
A transaction information processing method, comprising:
acquiring an image of transaction information displayed by a first transaction terminal, and identifying the acquired transaction image to obtain the transaction amount of the current transaction;
displaying a transaction page of the current transaction, wherein the transaction page comprises the transaction amount and a transaction control;
collecting a facial image of a user in response to the transaction operation of the transaction control;
sending the facial image and the transaction amount to a transaction server, and receiving transaction identification information of the current transaction returned by the transaction server according to the facial image and the transaction amount;
and sending the transaction identification information to the first transaction terminal so as to process the transaction information.
Optionally, an embodiment of the present invention may further provide another transaction information processing method, including:
receiving the face image of the user and the transaction amount of the current transaction sent by the second transaction terminal;
performing living body detection on the face image, and identifying the face image passing the living body detection to obtain the identity of the user;
screening initial transaction identification information corresponding to the identity in a preset transaction identification information set;
adjusting the transaction amount by adopting a preset adjustment strategy, and updating the initial transaction identification information according to the adjusted transaction amount to obtain the transaction identification information of the current transaction;
and sending the transaction identification information to the second transaction terminal so that the second transaction terminal can process the transaction information of the current transaction.
Correspondingly, an embodiment of the present invention provides a transaction information processing apparatus, including:
the identification unit is used for acquiring an image of the transaction information displayed by the first transaction terminal, and identifying the acquired transaction image to obtain the transaction amount of the current transaction;
the display unit is used for displaying a transaction page of the current transaction, and the transaction page comprises the transaction amount and a transaction control;
the acquisition unit is used for responding to the transaction operation of the transaction control and acquiring a facial image of a user;
the first sending unit is used for sending the face image and the transaction amount to a transaction server and receiving transaction identification information of the current transaction returned by the transaction server according to the face image and the transaction amount;
and the processing unit is used for sending the transaction identification information to the first transaction terminal so as to process the transaction information.
Optionally, an embodiment of the present invention may further provide another transaction information processing apparatus, including:
the receiving unit is used for receiving the face image of the user and the transaction amount of the current transaction, which are sent by the second transaction terminal;
the detection unit is used for carrying out living body detection on the face image and identifying the face image passing the living body detection to obtain the identity of the user;
the screening unit is used for screening out initial transaction identification information corresponding to the identity in a preset transaction identification information set;
the adjusting unit is used for adjusting the transaction amount by adopting a preset adjusting strategy, and updating the initial transaction identification information according to the adjusted transaction amount to obtain the transaction identification information of the current transaction;
and the second sending unit is used for sending the transaction identification information to the second transaction terminal so that the second transaction terminal can process the transaction information of the current transaction.
Optionally, in some embodiments, the identification unit may be specifically configured to acquire a display position of a display area of the first transaction terminal, where the display area is used to display the transaction information; monitoring the display area according to the display position; and when the transaction information exists in the display area, acquiring an image of the transaction information to obtain the transaction image.
Optionally, in some embodiments, the identification unit may be specifically configured to acquire progress information of a current transaction service, and query an acquisition progress of a face image in the progress information; when the acquisition progress of the facial image does not exist in the progress information, determining that the current transaction service is in an idle state; when the transaction information exists in the display area, acquiring an image of the transaction information to obtain the transaction image, wherein the acquiring includes: and when the transaction information exists in the displayed area and the current transaction service is in an idle state, acquiring an image of the transaction information to obtain the transaction image.
Optionally, in some embodiments, the identification unit may be specifically configured to acquire an image of the display area according to the display position, so as to obtain a transaction image sample set; performing text recognition on the transaction image samples in the transaction image sample set to obtain a text content sample set; calibrating the acquisition position for acquiring the image of the display area according to the text content sample set; the monitoring the display area according to the display position comprises: and monitoring the display area according to the display position and the calibrated acquisition position.
Optionally, in some embodiments, the identification unit may be specifically configured to sort the text content samples in the text content sample set according to the acquisition time of the transaction image sample; screening out a preset number of text content samples from the sorted text content sample set, and comparing the text content samples; and calibrating the acquisition position for acquiring the image of the display area according to the comparison result of the text content sample.
Optionally, in some embodiments, the identification unit may be specifically configured to determine that the acquisition position passes calibration when the text content samples are the same, and use the acquisition position as the post-calibration acquisition position; and when the text content samples are different, returning to execute the step of acquiring the images of the display area according to the display position to obtain a transaction image sample set until the text content samples of a preset number of transaction image samples in the transaction image sample set are the same, and taking the current acquisition position as the post-calibration acquisition position.
Optionally, in some embodiments, the identification unit may be specifically configured to perform text identification on the transaction image to obtain text content corresponding to the transaction image; and determining the transaction amount of the current transaction according to the text content.
Optionally, in some embodiments, the identification unit may be specifically configured to screen out, from the text content, text content corresponding to a preset number of continuously acquired transaction images, so as to obtain target text content; when the target text contents are the same, identifying the transaction contents of the current transaction in the target text contents; and extracting the amount information of the current transaction from the transaction content to obtain the transaction amount of the current transaction.
Optionally, in some embodiments, the acquiring unit may be specifically configured to acquire at least one face image of a face of a user, so as to obtain a candidate face image set; acquiring image attribute information of each candidate face image in the candidate face image set; and screening at least one face image in the candidate face image set according to the image attribute information.
Optionally, in some embodiments, the acquisition unit may be specifically configured to screen out, from the image attribute information, at least one image parameter value used for evaluating the candidate face image; weighting the image parameter values, and fusing the weighted image parameter values to obtain a parameter evaluation value of the candidate face image; and screening out the candidate face images with the parameter evaluation values exceeding a preset evaluation threshold value from the candidate face image set to obtain the face images.
Optionally, in some embodiments, the transaction information processing apparatus may further include an inquiry unit, where the inquiry unit is specifically configured to send a transaction inquiry request of the current transaction to the transaction server; receiving transaction result information returned by the transaction server according to the transaction query request, wherein the transaction result information comprises a transaction state corresponding to the transaction identification information and adjustment information of the transaction amount; and displaying the transaction state corresponding to the transaction identification information and the adjustment information of the transaction amount.
Optionally, in some embodiments, the second sending unit may be specifically configured to receive a transaction query request sent by the second transaction terminal; acquiring a transaction state corresponding to the transaction identification information according to the transaction query request; taking the preset adjustment strategy and the adjusted transaction amount as adjustment information of the current transaction, and taking the adjustment information and the transaction state as transaction result information of the current transaction; and sending the transaction result information to the second transaction terminal.
In addition, the embodiment of the invention also provides electronic equipment, which comprises a processor and a memory, wherein the memory stores an application program, and the processor is used for operating the application program in the memory to realize the transaction information processing method provided by the embodiment of the invention.
In addition, the embodiment of the present invention further provides a computer-readable storage medium, where a plurality of instructions are stored, and the instructions are suitable for being loaded by a processor to execute the steps in any transaction information processing method provided by the embodiment of the present invention.
The method comprises the steps that after an image of transaction information displayed by a first transaction terminal is collected, the collected transaction image is identified to obtain a transaction amount of a current transaction, then a transaction page of the current transaction is displayed, the transaction page comprises the transaction amount and a transaction control, a face image of a user is collected in response to transaction operation of the transaction control, the face image and the transaction amount are sent to a transaction server, transaction identification information of the current transaction returned by the transaction server according to the face image and the transaction amount is received, and the transaction identification information is sent to the first transaction terminal to process the transaction information; according to the scheme, the image of the transaction information is collected, the transaction amount of the current transaction is identified in the transaction image and is displayed in the transaction page, the facial image of the user is collected under the condition that the user determines that the transaction amount is accurate, the transaction identification information is obtained according to the image and the transaction amount, and the transaction information is processed, so that the transaction risk is reduced, and therefore the safety of transaction information processing can be improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the description below are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
FIG. 1 is a schematic diagram of a transaction information processing system according to an embodiment of the present invention;
fig. 2 is a schematic view of a scenario of a transaction information processing method according to an embodiment of the present invention;
FIG. 3 is a flow diagram of transaction information processing provided by an embodiment of the invention;
FIG. 4 is a schematic diagram of a transaction page provided by an embodiment of the invention;
FIG. 5 is a schematic diagram of a transaction page displaying transaction status and adjustment information for the transaction amount provided by an embodiment of the invention;
FIG. 6 is another flow diagram of transaction information processing provided by embodiments of the present invention;
FIG. 7 is a flow chart illustrating transaction information processing in a payment scenario provided by an embodiment of the invention;
FIG. 8 is a block diagram of an overall architecture of a transaction information processing system in a payment scenario provided by an embodiment of the present invention;
FIG. 9 is a schematic structural diagram of a first transaction information processing device according to an embodiment of the present invention;
FIG. 10 is a schematic diagram of another configuration of the first transaction information processing apparatus according to the embodiment of the invention;
fig. 11 is a schematic structural diagram of a second transaction information processing device according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a transaction information processing method, a transaction information processing device and a computer-readable storage medium. The transaction information processing device may be integrated in an electronic device, and the electronic device may be a server or a terminal.
Specifically, the embodiment of the present invention provides a transaction information processing apparatus (which may be the first transaction information processing apparatus for distinction) suitable for a first electronic device, and a transaction information processing apparatus (which may be referred to as the second transaction information processing apparatus for distinction) suitable for a second electronic device. The first electronic device may be a terminal, and the terminal may be an intelligent terminal capable of performing payment transaction, such as a smart phone, a tablet computer, a laptop computer, a desktop computer, an intelligent sound box, an intelligent watch, an intelligent television, an intelligent vehicle-mounted device, and a virtual reality device, but is not limited thereto. The second electronic device may be a Network-side device such as a server, the server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a Network service, cloud communication, a middleware service, a domain name service, a security service, a Network acceleration service (CDN), and a big data and artificial intelligence platform. The terminal and the server may be directly or indirectly connected through wired or wireless communication, and the application is not limited herein.
In the embodiment of the present invention, the first electronic device is taken as a terminal, and the second electronic device is taken as a server, where the first electronic device may be a transaction terminal, and the second device may be a transaction server, to introduce the transaction information processing method.
For example, referring to fig. 1, a transaction information processing system according to an embodiment of the present invention includes a first transaction terminal 10, a second transaction terminal 20, and a transaction server 30, wherein the first transaction terminal 10, the second transaction terminal 20, and the transaction server 30 are connected via a network, for example, a wired or wireless network connection.
The second transaction terminal 20 may be configured to collect an image of the transaction information displayed by the first transaction terminal 10, identify the collected transaction image, obtain a transaction amount of the current transaction, display a transaction page of the current transaction, where the transaction page includes the transaction amount and a transaction control, collect a facial image of a user in response to a transaction operation of the transaction control, send the facial image to the transaction server 30, receive transaction identification information of the current transaction returned by the transaction server 30 according to the facial image and the transaction amount, and send the transaction identification information to the first transaction terminal 10 to process the current transaction information, which may be specifically shown in fig. 2.
Wherein, in response to the condition or state indicating that the executed operation depends on, when the dependent condition or state is satisfied, the executed operation or operations may be in real time or have a set delay; there is no restriction on the order of execution of the operations performed unless otherwise specified.
The transaction information may be information generated by the current transaction, for example, taking the current transaction as payment, the transaction information may be information such as a collection account number, a payment amount, a payment time, and payment details paid by the user.
The transaction server 30 may be configured to receive a face image of a user and a transaction amount of a current transaction sent by the second transaction terminal 20, perform living body detection on the face image, recognize the face image that passes the living body detection to obtain an identity of the user, screen out initial transaction identification information corresponding to the identity from a preset transaction identification information set, adjust the transaction amount by using a preset adjustment policy, update the initial transaction identification information according to the adjusted transaction amount to obtain transaction identification information of the current transaction, and send the transaction identification information to the second transaction terminal, so that the second transaction terminal 20 processes the transaction information of the current transaction.
The transaction information processing method provided by the embodiment of the application relates to the computer vision direction in the field of artificial intelligence. According to the embodiment of the application, the transaction amount of the current transaction can be obtained by acquiring the image of the transaction information and performing text recognition on the acquired transaction image.
Among them, Artificial Intelligence (AI) is a theory, method, technique and application system that simulates, extends and expands human Intelligence using a digital computer or a machine controlled by a digital computer, senses the environment, acquires knowledge and uses the knowledge to obtain the best result. In other words, artificial intelligence is a comprehensive technique of computer science that attempts to understand the essence of intelligence and produce a new intelligent machine that can react in a manner similar to human intelligence. Artificial intelligence is the research of the design principle and the implementation method of various intelligent machines, so that the machines have the functions of perception, reasoning and decision making. The artificial intelligence technology is a comprehensive subject and relates to the field of extensive technology, namely the technology of a hardware level and the technology of a software level. The artificial intelligence software technology mainly comprises a computer vision technology, a machine learning/deep learning direction and the like.
Computer Vision technology (CV) is a science for researching how to make a machine look, and more specifically, it refers to machine Vision for identifying, measuring and the like a target by replacing human eyes with a Computer, and further performing image processing, so that an image is processed by the Computer to be an image more suitable for human eyes to observe or transmitted to an instrument to detect. As a scientific discipline, computer vision research-related theories and techniques attempt to build artificial intelligence systems that can capture information from images or multidimensional data. The computer vision technology generally includes image processing, image recognition and other technologies, and also includes common face recognition, human body posture recognition and other biological feature recognition technologies.
The following are detailed below. It should be noted that the following description of the embodiments is not intended to limit the preferred order of the embodiments.
The embodiment will be described from the perspective of a first transaction information processing apparatus, which may be specifically integrated in an electronic device, where the electronic device may be a server, or may be a terminal or other devices; the terminal may include a tablet Computer, a notebook Computer, a Personal Computer (PC), a wearable device, a virtual reality device, or other intelligent devices capable of processing transaction information.
A transaction information processing method, comprising:
the method comprises the steps of collecting an image of transaction information displayed by a first transaction terminal, identifying the collected transaction image to obtain a transaction amount of a current transaction, displaying a transaction page of the current transaction, wherein the transaction page comprises the transaction amount and a transaction control, collecting a face image of a user in response to transaction operation of the transaction control, sending the face image and the transaction amount to a transaction server, receiving transaction identification information of the current transaction returned by the transaction server according to the face image and the transaction amount, and sending the transaction identification information to the first transaction terminal so as to process the current transaction information.
As shown in fig. 3, the specific flow of the transaction information processing method is as follows:
101. and acquiring an image of the transaction information displayed by the first transaction terminal, and identifying the acquired transaction image to obtain the transaction amount of the current transaction.
The transaction image may be an image displaying transaction information. The transaction image may be an image containing only RGB (one color standard, R is red, G is green, and B is blue) image data streams, and may also be a three-dimensional image containing an RGB image data stream, a depth image stream, and an infrared image stream.
The transaction amount may be an amount of the current transaction, for example, when the current transaction is payment, the transaction amount may be a payment amount, and when the current transaction is transfer, the transaction amount may be a transfer amount.
For example, an image of transaction information displayed by the first transaction terminal may be collected to obtain a transaction image, and text recognition may be performed on the transaction image to obtain a transaction amount of the current transaction, which may specifically be as follows:
and S1, acquiring the image of the transaction information displayed by the first transaction terminal to obtain a transaction image.
For example, a display position of a display area of the first transaction terminal may be obtained, where the display area is used to display transaction information, the display area is monitored according to the display position, and when the transaction information exists in the display area, an image of the transaction information is collected to obtain a transaction image, which may specifically be as follows:
(1) and acquiring the display position of the display area of the first transaction terminal.
The display area is used for displaying transaction information, and is generally an area of a Light Emitting Diode (LED) screen of the first transaction terminal.
For example, the position of the display area of the first transaction terminal may be recognized by an image capturing module in the first transaction information processing apparatus, and the position is used as the display position, for example, an LED display screen of the first transaction terminal is recognized in space by a self-contained 2D camera or 3D camera, and the position of the LED display screen is acquired, so as to obtain the display position of the display area.
The 2D camera is used for collecting RGB image data streams, the 3D camera can collect the RGB image data streams and also support collection of related data such as infrared image data streams and depth image data streams, and the cost of the 3D camera is higher than that of the 2D camera, so that the 2D camera can be used for collecting images of transaction information in the aspect of saving cost.
After acquiring the display position of the display area of the first transaction terminal, the method may further calibrate the acquisition position of the image acquisition module of the first transaction processing apparatus, for example, calibrate the acquisition position of the 2D camera and/or the acquisition position of the 3D camera, and therefore, after acquiring the display position of the display area of the first transaction terminal, the method for processing the transaction information may further include:
acquiring an image of a display area according to the display position to obtain a transaction image sample set, identifying transaction image samples in the transaction image sample set to obtain a text content sample set, and calibrating the acquisition position of the image of the acquisition display area according to the text content sample set.
For example, a 2D or 3D camera may be used to continue images of the display area of the first transaction terminal according to the display position, so as to obtain a transaction image sample set. Performing text Recognition on the transaction sample images in the transaction image sample set to obtain a text content sample set, for example, performing text Recognition on the transaction sample images in the transaction image sample set by using an Optical Character Recognition (OCR) Recognition component to obtain text contents of the transaction sample images, thereby obtaining the text content sample set.
The method includes the steps of calibrating the acquisition position of an image of an acquisition display area according to a text content sample set, for example, sequencing text content samples in the text content sample set according to the acquisition time of transaction image samples, screening out a preset number of text content samples in the sequenced text content sample set, and comparing the text content samples, for example, screening out text content samples corresponding to two continuous transaction image samples in the sequenced text content sample set, and comparing the contents of the two text content samples.
Calibrating the acquisition position of the image of the acquisition display area according to the comparison result of the text content samples, for example, when the text content samples are the same, determining that the acquisition position is calibrated, wherein the acquisition position can be position information such as an angle, a distance and the like between a camera and an LED display screen of the first transaction terminal, and the acquisition position is used as the calibrated acquisition position; when the text content samples are different, it is indicated that the acquisition position still needs to be calibrated at the moment, an administrator or a transaction facilitator adjusts position information such as an angle, a distance and the like between a camera and an LED display screen of the first transaction terminal, then, the step of acquiring images of a display area according to the display position is returned to be executed, and a transaction image sample set is obtained until the text contents of the transaction image samples of a preset number in the transaction image sample set are the same, for example, the images of the display area are continuously acquired to obtain the transaction image sample set, then, text recognition is carried out on the transaction image samples in the transaction image sample set, text content samples corresponding to two or other transaction image samples of the preset number which are continuously acquired are screened out in the recognized text content sample set for comparison, when the contents of the text content samples are the same, the current acquisition position is taken as the post-calibration acquisition position, and when the contents of the text content samples are different, continuously adjusting the acquisition position of the camera until the text contents of the transaction image samples of continuous quantity are the same, and taking the acquisition position at the moment as the post-calibration acquisition position.
(2) And monitoring the display area according to the display position.
For example, the display area is monitored according to the display position and the post-calibration acquisition position, for example, a camera at the post-calibration acquisition position is used to monitor the display area corresponding to the display position, and whether display content exists in the display area is mainly monitored. When the display area has the display content, the camera can be triggered to acquire the content displayed in the display area, so that a transaction image is obtained.
(3) And when the transaction information exists in the display area, acquiring an image of the transaction information to obtain a transaction image.
For example, when the display area displays content, it may be determined that transaction information exists in the display area, and at this time, the camera may be triggered to acquire an image of the transaction information to obtain a transaction image, and the acquisition process may be performed continuously, for example, directly in a form of a video data stream, or may be performed continuously at a preset acquisition speed to acquire the transaction information in the display area. The acquisition may be performed periodically or periodically, for example, when there is transaction information in the display area, the acquisition is performed for the first time, and then the acquisition is continued at an interval of one period, or after the acquisition for the first time, a time is set to perform the acquisition periodically, so as to obtain a transaction image. When the transaction images are collected, the transaction images can be sent to the OCR recognition component for recognition in real time, the transaction images can be sent to the OCR recognition component for recognition regularly, and when the quantity of the collected transaction images reaches a preset quantity, the transaction images can be sent to the OCR recognition component for recognition.
Optionally, when acquiring a transaction image, it is further necessary to determine whether the first transaction information processing device is in an idle state, when the first transaction information processing device processes the idle state, the transaction image may be acquired, when the first transaction information processing device is not in the idle state, the transaction image may not be acquired, the non-idle state is that the first transaction information processing device is acquiring a facial image of a user, and for more accurately identifying the user, a three-dimensional image of the face of the user may be acquired in an embodiment of the present application, so the transaction information processing method further includes:
acquiring process information of the current transaction service, inquiring a three-dimensional image acquisition process in the process information, determining that the current transaction service is in an idle state when the three-dimensional image acquisition process does not exist in the process information, and acquiring an image of the transaction information to obtain a transaction image when the transaction information exists in a display area and the current transaction service is in the idle state.
For example, process information of the current transaction service is screened from the process information set, a three-dimensional image acquisition process is inquired in the process information, when the three-dimensional image acquisition process does not exist in the process information, it is indicated that the first transaction information processing device is not acquiring a three-dimensional image of a user face at the moment, the transaction service of the first transaction processing device can be determined to be in an idle state, and when the transaction service is in the idle state and transaction information exists in a display area, the image of the transaction information can be acquired to obtain a transaction image. When the process information includes a three-dimensional image acquisition process, it indicates that the first transaction information processing device is acquiring a three-dimensional image of the face of the user, and therefore, the transaction service of the first transaction information processing device is in a non-idle state. When the transaction service is in a non-idle state, the steps of collecting transaction images and performing text recognition on the transaction images are not executed.
And S2, identifying the collected transaction image to obtain the transaction amount of the current transaction.
For example, text recognition may be performed on the transaction image to obtain text content corresponding to the transaction image, for example, text recognition may be performed on the transaction image by using an OCR component to obtain text content corresponding to the transaction image. The text content corresponding to the preset number of the continuously acquired transaction images is screened out from the text content to obtain the target text content, for example, taking the preset number of 2 as an example, the text content corresponding to the continuously acquired 2 transaction images is screened out from the text built-in, and can also be understood as the text content corresponding to two continuous frame frames, so as to obtain the target text content, which can be a text content pair. Comparing the text contents in the target text content pair, and when the target text contents in the target text content pair are the same, identifying the transaction content of the current transaction in the target text content, for example, identifying the transaction contents such as the transaction amount, the transaction object and the transaction time of the current transaction in the text content. The method includes extracting amount information of a current transaction from transaction content, obtaining a transaction amount of the current transaction, for example, extracting information related to the amount of the current transaction from the transaction content, obtaining the amount information, and when the amount information is 10 yuan or any other amount or more, taking the amount or more as the transaction amount of the current transaction, where the transaction amount may include a plurality of amounts, for example, amounts such as a price of each transaction item in the transaction and a total price of the transaction items.
102. And displaying a transaction page of the current transaction.
Wherein the transaction page includes a transaction amount and a transaction control.
For example, when the transaction amount of the current transaction is identified, the transaction page of the current transaction may be triggered to be displayed, and the transaction amount may be displayed on the transaction page, which may be as shown in fig. 4. Other text contents and transaction amount in the transaction image can be displayed in the transaction page, and the other text contents can include transaction details, transaction time, payee information and the like. The transaction page can also comprise a transaction control, and when the user confirms that the information such as the transaction amount and the like on the transaction page is correct, the transaction control can be triggered by the user or a transaction service provider, so that a three-dimensional image of the face of the user is acquired.
103. And in response to the transaction operation of the transaction control, acquiring a facial image of the user.
The face image can be a two-dimensional image containing an RGB image data stream, or a three-dimensional image of a user's face containing an RGB image data stream, a depth image data stream, and an infrared image data stream.
For example, in response to a transaction operation of the transaction control, at least one face image of a user's face is collected to obtain a candidate face image set, image attribute information of each candidate face image in the candidate face image set is obtained, and at least one face image is screened out from the candidate face image set according to the image attribute information, which may specifically be as follows:
(1) and responding to the transaction operation of the transaction control, and acquiring at least one face image of the face of the user to obtain a candidate face image set.
For example, in response to a transaction operation of the transaction control, a 3D camera of the first transaction information processing device is triggered to be turned on, at least one three-dimensional image of the face of the user is acquired, and when the three-dimensional image of the face of the user is acquired, the acquisition process and the acquired three-dimensional image can be displayed on a transaction page to obtain a candidate face image set. In the acquisition process, prompt information can be generated according to the acquired candidate facial images and displayed on a transaction page, the prompt information is used for prompting the position and the state of the user during acquisition, for example, when the eyes of the user are detected to be closed in the acquisition process, prompt information for prompting the user to open the eyes can be generated, and when the acquisition process detects that the face of the user is not completely acquired, position prompt information for prompting the user to be close to the 3D camera can be generated.
(2) Image attribute information of each candidate face image in the candidate face image set is acquired.
For example, information such as the face size, face angle, image contrast, image size, image capturing time, image capturing position, image brightness, and sharpness of each candidate face image is identified in the candidate face image set as image attribute information of each candidate face image in the candidate face image set.
(3) And screening at least one face image in the candidate face image set according to the image attribute information.
For example, at least one image parameter value for evaluating the candidate face image is screened out from the image attribute information, and for example, coefficients such as face size, face angle, image contrast, image brightness, and sharpness may be screened out as the image parameter value of the candidate face image. Weighting the image parameter values, for example, obtaining a preset weight corresponding to each type of image parameter value, weighting the image parameter values according to the preset weight, and fusing the weighted image parameter values to obtain a parameter evaluation value of each candidate face image in the candidate face image set. And screening candidate face images with parameter evaluation values exceeding a preset evaluation threshold value from the candidate face image set to obtain the face images. When the number of candidate face images exceeding the preset evaluation threshold is large, the parameter evaluation values may be ranked, and candidate face images with the largest parameter evaluation value or a preset ranking may be screened out as the face images of the user from among these candidate face images.
104. And sending the facial image and the transaction amount to a transaction server, and receiving transaction identification information of the current transaction returned by the transaction server according to the facial image and the transaction amount.
The transaction identification information may be identification information of a user performing a transaction, for example, a payment code, a payment receipt code, or other transaction identification information.
For example, a face image and a transaction amount are sent to a transaction server, so that the transaction server performs living body detection on the face image and adjusts the transaction amount according to a preset adjustment strategy, the transaction server identifies the face image of the user passing the living body detection to obtain an identity of the user, initial transaction identification information of the user is obtained, then the initial transaction identification information is updated according to the adjusted transaction amount to obtain transaction identification information, and the transaction identification information is returned to a first transaction information processing device, so that the first transaction information processing device receives the transaction identification information of the current transaction.
The adjustment of the transaction amount by the transaction server can be understood as the adjustment modes of increasing marketing activities during payment, reducing the transaction amount actually paid, increasing transfer handling fees and the like on the basis of the transaction amount during transfer.
105. And sending the transaction identification information to the first transaction terminal so as to process the current transaction information.
For example, the transaction identification information is sent to the first transaction terminal, for example, taking the transaction identification information as a character string of the payment code as an example, the character string of the payment code is encrypted in the form of HID to the payment code, and the encrypted payment code is sent to the first transaction terminal according to the HID protocol. The first transaction terminal processes the transaction information of the current transaction according to the transaction identification information, for example, taking the current transaction as payment, and processes the payment of the transaction information of the current transaction according to the received payment code, for example, paying the corresponding transaction amount in the payment code to a receiving account in the transaction information according to the payment code, when the transaction server adjusts the transaction amount, if the adjusted transaction amount is less than the original transaction amount, paying the adjusted amount in the payment code of the user to the receiving account, and paying the amount difference value between the adjusted transaction amount and the original transaction amount by the payment account corresponding to the transaction server. If the adjusted transaction amount exceeds the original transaction amount, the transaction scene at the moment can be determined to be a transfer scene, the increased transaction amount is the transaction commission of the original transaction amount, at the moment, the adjusted transaction amount is directly transferred to a collection account according to the payment code of the user, and the first transaction terminal can also send the transaction state corresponding to the transaction identification information to the transaction server.
Optionally, after sending the transaction identification information to the first transaction terminal, the first transaction information processing device may further query the transaction state of the current transaction, for example, send a transaction query request of the current transaction to the transaction server, receive transaction result information returned by the transaction server according to the transaction query request, where the transaction result information includes the transaction state corresponding to the transaction identification information and adjustment information of the transaction amount, and the transaction state may include success, failure, and timeout, where success may be understood as success of the transaction, failure may be understood as failure of the transaction, and timeout may be understood as exceeding the longest transaction time, and the transaction is still unsuccessful. The adjustment information of the transaction amount may be information of increase or decrease of the transaction amount. The adjustment information of the transaction state and the transaction amount corresponding to the transaction identification information is displayed, for example, the adjustment information of the transaction state and the transaction amount corresponding to the transaction identification information is displayed on a transaction page, which may be specifically shown in fig. 5.
As can be seen from the above, in the embodiment of the present invention, after the image of the transaction information displayed by the first transaction terminal is collected, the collected transaction image is identified to obtain the transaction amount of the current transaction, then, the transaction page of the current transaction is displayed, the transaction page includes the transaction amount and the transaction control, the facial image of the user is collected in response to the transaction operation of the transaction control, the facial image and the transaction amount are sent to the transaction server, the transaction identification information of the current transaction returned by the transaction server according to the facial image and the transaction amount is received, and the transaction identification information is sent to the first transaction terminal so as to process the transaction information; according to the scheme, the image of the transaction information is collected, the transaction amount of the current transaction is identified in the transaction image and is displayed in the transaction page, the facial image of the user is collected under the condition that the user determines that the transaction amount is accurate, the transaction identification information is obtained according to the image and the transaction amount, and the transaction information is processed, so that the transaction risk is reduced, and therefore the safety of transaction information processing can be improved.
The embodiment will be described from the perspective of a second transaction information processing apparatus, which may be specifically integrated in an electronic device, which may be a server or the like; the server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as cloud service, a cloud database, cloud computing, a cloud function, cloud storage, Network service, cloud communication, middleware service, domain name service, security service, Network acceleration service (CDN), big data and an artificial intelligence platform.
A transaction information processing method, comprising:
the method comprises the steps of receiving a face image of a user and a transaction amount of a current transaction, which are sent by a second transaction terminal, carrying out living body detection on the face image, identifying the face image which passes the living body detection to obtain an identity of the user, screening out initial transaction identification information corresponding to the identity from a preset transaction identification information set, adjusting the transaction amount by adopting a preset adjustment strategy, updating the initial transaction identification information according to the adjusted transaction amount to obtain transaction identification information of the current transaction, and sending the transaction identification information to the second transaction terminal so that the second transaction terminal can process the transaction information of the current transaction.
As shown in fig. 6, the transaction information processing method includes the following specific processes:
201. and receiving the face image of the user and the transaction amount of the current transaction, which are sent by the second transaction terminal.
For example, the facial image of the user and the transaction amount of the current transaction sent by the second transaction terminal may be directly received, and when the internal memory of the facial image of the user and the transaction amount of the current transaction is large, the facial image of the user and the transaction amount of the current transaction may also be indirectly received, for example, the second transaction terminal sends the storage address of the facial image of the user and the transaction amount to the second transaction information processing device, and the second transaction information processing device downloads information such as the facial image of the user and the transaction amount of the current transaction in the internal memory or the cache of the second transaction terminal according to the storage address.
202. And performing living body detection on the face image, and identifying the face image passing the living body detection to obtain the identity of the user.
For example, a face image of a user is subjected to living body detection to obtain a living body detection result of the user, when the living body detection of the user is passing, the face image through which the living body detection passes is identified, and identity information of the user in the face image is identified, so that an identity of the user is obtained, for example, the identity of the user in the face image is identified, the identity information is identified, and an identity corresponding to the identity information is obtained, for example, the identity may be a micro signal or other identities of the user.
203. And screening out initial transaction identification information corresponding to the identity in a preset transaction identification information set.
For example, a preset transaction identification information set is obtained, the transaction identification information in the preset transaction identification information set is associated with an identity, and initial transaction identification information corresponding to the identity of the user is screened out from the preset transaction identification information set, for example, by taking the identity of the user as a micro signal, an initial payment code corresponding to the micro signal can be obtained.
204. And adjusting the transaction amount by adopting a preset adjustment strategy, and updating the initial transaction identification information according to the adjusted transaction amount to obtain the transaction identification information of the current transaction.
For example, according to the scene type of the current transaction, a preset adjustment policy corresponding to the scene type is adopted to adjust the transaction amount, for example, when the scene of the current transaction is a payment scene, a preset payment adjustment policy, such as a random decreasing policy, is adopted to randomly decrease the transaction amount to obtain an adjusted transaction amount, when the scene of the current transaction is a transfer scene, a preset transfer adjustment policy, such as a policy of obtaining transfer commission is adopted to determine a commission charge corresponding to the current transaction amount according to the transfer commission charge policy, and the transaction amount is adjusted according to the commission charge, such as adding the commission charge to the transaction amount to obtain the adjusted transaction amount.
Updating the initial transaction identification information according to the adjusted transaction amount to obtain the transaction identification information of the current transaction, for example, modifying the transaction amount corresponding to the payment code into the adjusted transaction amount by taking the transaction identification as the payment code, so as to update the initial transaction identification information to obtain the transaction identification information of the current transaction.
205. And sending the transaction identification information to a second transaction terminal so that the second transaction terminal can process the current transaction information.
For example, the transaction identification information is directly sent to the second transaction terminal, and when the memory of the transaction identification information is large or the number of the transaction identification information is large, the storage address of the transaction identification information can also be sent to the second transaction terminal, so that the second transaction terminal obtains the transaction identification information of the current transaction in the memory or the cache of the second transaction information processing device according to the storage address. And the second transaction terminal sends the transaction identification information to the first transaction terminal, and the transaction information is processed by the first transaction terminal.
Optionally, after the second transaction information processing device sends the transaction identification information to the second transaction terminal, the second transaction information processing device may further receive a transaction query request sent by the second transaction terminal, and return transaction result information to the second transaction terminal according to the transaction query request, for example, obtain a transaction state corresponding to the transaction identification information according to the transaction query request, for example, receive a transaction state corresponding to the transaction identification information of the current transaction fed back by the bank server, where the transaction state may include success, failure, and timeout. Taking the preset adjustment policy and the adjusted transaction amount as adjustment information of the current transaction, for example, taking the preset adjustment policy as random vertical subtraction, the original transaction amount as 10 yuan, the adjusted amount as 0.5 yuan, and the adjusted amount as 9.5 yuan, the adjustment information may be information such as random vertical subtraction of 0.5 yuan, and the adjusted transaction amount as 9.5 yuan. And taking the adjustment information and the transaction state as transaction result information of the current transaction, and returning the transaction result information to the second transaction terminal.
As can be seen from the above, in the embodiment of the present invention, after receiving the face image of the user and the transaction amount of the current transaction sent by the second transaction terminal, the face image is subjected to living body detection, the face image passed by the living body detection is identified to obtain the identity of the user, the initial transaction identification information corresponding to the identity is screened out from the preset transaction identification information set, the transaction amount is adjusted by using the preset adjustment strategy, the initial transaction identification information is updated according to the adjusted transaction amount to obtain the transaction identification information of the current transaction, the transaction identification information is sent to the second transaction terminal, so that the second transaction terminal processes the transaction information of the current transaction, and since the living body detection is performed on the face image of the user, the identity of the user can be identified only when the living body detection passes, and the security of transaction information processing is increased to a certain extent, and the transaction amount of the current transaction sent by the second transaction terminal can be received, so that the transaction amount of the current transaction can be adjusted according to the actual transaction scene, and the safety of transaction information processing can be greatly improved.
The method described in the above examples is further illustrated in detail below by way of example.
In this embodiment, a transaction scene of a current transaction is taken as a payment scene, a first transaction terminal is a cash register terminal, a first transaction information processing device is integrated in a second transaction terminal, the second transaction terminal can be a payment terminal, a second transaction information processing device is integrated in a transaction server, transaction information is payment information, a transaction image is a payment image, a transaction amount is a payment amount, transaction identification information is payment code information, and a face image is a three-dimensional face image.
And (I) calibrating the acquisition position of the image of the acquisition display area by the payment terminal.
For example, the payment terminal recognizes an LED display screen of the first transaction terminal in space through a self-contained 2D camera, and obtains the position of the LED display screen, thereby obtaining the display position of the display area. And according to the display position, a 2D camera is adopted to continuously display the images of the display area of the first transaction terminal, so that a transaction image sample set is obtained. And performing text recognition on the transaction sample images in the transaction sample image set by adopting an OCR component to obtain the text content of the transaction sample images, so as to obtain a text content sample set. And sequencing the text content samples in the text content sample set according to the acquisition time of the transaction image samples, and screening out the text content samples corresponding to two continuous transaction image samples in the sequenced text content sample set.
The contents of the two text content samples are compared. When the text content samples are the same, the collection position calibration can be determined to pass, the collection position can be position information such as an angle and a distance between the camera and the LED display screen of the first transaction terminal, and the collection position is used as the collection position after calibration. When the text content samples are different, the administrator or the transaction facilitator adjusts the angle, the distance and other position information between the camera and the LED display screen of the first transaction terminal, continues to collect the images of the display area to obtain a transaction image sample set, then performs text recognition on the transaction image samples in the transaction image sample set, screening out text content samples corresponding to two or other transaction image samples of preset quantity continuously collected in the identified text content sample set for comparison, when the content of the text content sample is the same, the current acquisition position is taken as the post-calibration acquisition position, and when the contents of the text content samples are different, continuously adjusting the acquisition position of the camera until the text contents of the transaction image samples of continuous quantity are the same, and taking the acquisition position at the moment as the post-calibration acquisition position.
And (II) acquiring a corresponding 2D camera after calibration, and processing the transaction information displayed by the cash register terminal.
As shown in fig. 7, a transaction information processing method may specifically include the following processes:
301. the payment terminal acquires the image of the payment information displayed by the cash register terminal to obtain the payment image.
For example, the payment terminal monitors a display area corresponding to the display position by using a camera for acquiring the position after calibration, and mainly monitors whether display content exists in the display area. When the display area displays content, it can be determined that payment information exists in the display area, at this time, the camera can be triggered to acquire an image of the payment information to obtain a payment image, and the acquisition process can be continuously acquired, for example, the acquisition is directly performed in a video data stream mode, or the acquisition is performed continuously on the payment information in the display area at a preset acquisition speed. The collection may be performed periodically or periodically, for example, when the payment information exists in the display area, the first collection is performed, and then the collection is continued at an interval of one period, or after the first collection, a time is set to perform the collection periodically, so as to obtain the payment image. When gathering the payment image, can send in real time for OCR recognition component discerns, can also regularly send the payment image to OCR recognition component and discern, can also wait to gather when the quantity of payment image reaches preset quantity, send the payment image to OCR recognition component again and discern.
Optionally, when the payment image is collected, it is further required to determine whether the payment service of the payment terminal is in an idle state, for example, the payment terminal screens out process information of the current transaction service from the process information set, and queries a three-dimensional image collection process in the process information, when the three-dimensional image collection process does not exist in the process information, it is indicated that the payment terminal does not collect a three-dimensional image of a user face at this time, and it can be determined that the payment service of the payment terminal is in the idle state, and when the payment information exists in a display area, the image of the payment information can be collected to obtain the payment image. When the process information contains a three-dimensional image acquisition process, the three-dimensional image of the face of the user is acquired by the payment terminal at the moment, so that the payment service of the payment terminal is in a non-idle state. And when the payment service is in a non-idle state, the steps of collecting the payment image and performing text recognition on the payment image are not executed.
302. And the payment terminal identifies the collected payment image to obtain the payment amount of the current transaction.
For example, the payment terminal performs text recognition on the payment image by using the OCR component, so as to obtain text content corresponding to the payment image. Taking the preset number of 2 as an example, the text content corresponding to 2 continuously collected payment images is screened out from the text built-in, and can also be understood as the text content corresponding to two continuous picture frames, so as to obtain the target text content, and the target text content can be a text content pair. And comparing the text contents in the target text content pair, and identifying the transaction contents such as the payment amount, the transaction object, the transaction time and the like of the current transaction in the text contents when the target text contents in the target text content pair are the same. The information related to the amount of the current transaction is extracted from the transaction content, and the amount information is obtained, when the amount information is 10 yuan or any other one or more amounts, the one or more amounts can be used as the payment amount of the current transaction, and the payment amount can include a plurality of amounts, for example, the amount can be the price of each transaction item in the transaction and the total price of the transaction items.
303. And the payment terminal displays a payment page of the current transaction.
For example, when the payment amount of the current transaction is identified, the payment terminal may be triggered to display a payment page of the current transaction, the payment amount is displayed on the payment page, and other text contents and payment amount in the payment image may be displayed on the payment page, where the other text contents may include transaction details, transaction time, and payee information. The payment page can also comprise a transaction control, when the user confirms that the information such as payment amount and the like on the payment page is correct, the transaction control can be triggered by the user or a transaction service provider, and the triggering mode can comprise a click triggering mode, a sound triggering mode or a sliding triggering mode and the like, so that the three-dimensional image of the face of the user is collected.
304. And responding to the transaction operation of the transaction control, and acquiring at least one three-dimensional image of the face of the user by the payment terminal to obtain a candidate three-dimensional face image set.
For example, in response to a transaction operation of a transaction control, a 3D camera of the payment terminal is triggered to be turned on, at least one three-dimensional image of the face of the user is acquired, and when the three-dimensional image of the face of the user is acquired, the acquisition process and the acquired three-dimensional image can be displayed on a payment page to obtain a candidate three-dimensional face image set. In the acquisition process, prompt information can be generated according to the acquired candidate three-dimensional face images and displayed on a payment page, and the prompt information is used for prompting the position and the state of a user during acquisition.
305. The payment terminal acquires image attribute information of each candidate face three-dimensional image in the candidate three-dimensional face image set.
For example, the payment terminal recognizes information such as a face size, a face angle, an image contrast, an image size, an image capturing time, an image capturing position, an image brightness, and a sharpness of each candidate face three-dimensional image in the candidate three-dimensional face image set as image attribute information of each candidate face three-dimensional image in the three-dimensional face image set.
306. And the payment terminal screens out at least one three-dimensional face image in the candidate three-dimensional face image set according to the image attribute information.
For example, the payment terminal may filter out coefficients such as face size, face angle, image contrast, image brightness, and sharpness as image parameter values for the candidate three-dimensional face image. And acquiring a preset weight corresponding to each type of image parameter value, weighting the image parameter values according to the preset weight, and fusing the weighted image parameter values to obtain a parameter evaluation value of each candidate three-dimensional face image in the candidate three-dimensional face image set. And screening candidate three-dimensional face images with parameter evaluation values exceeding a preset evaluation threshold value from the candidate three-dimensional face image set to obtain the three-dimensional face images. When the number of candidate three-dimensional face images exceeding the preset evaluation threshold is large, the parameter evaluation values may be ranked, and a candidate three-dimensional face image with the largest parameter evaluation value or a preset ranking is selected from the candidate three-dimensional face image set as the three-dimensional face image of the user.
307. And the payment terminal sends the three-dimensional face image and the payment amount to the transaction server.
For example, the payment terminal may directly send the three-dimensional facial image and the payment amount to the transaction server, when the memory of the three-dimensional facial image of the user and the payment amount of the current transaction is large, the payment terminal sends the memory address of the three-dimensional facial image of the user and the payment amount to the transaction server, and the transaction server downloads the information such as the three-dimensional facial image of the user and the payment amount of the current transaction in the memory or the cache of the payment terminal according to the memory address.
308. And the transaction server performs living body detection on the three-dimensional face image, and identifies the three-dimensional face image passing the living body detection to obtain the identity of the user.
For example, the transaction server performs live body detection on a three-dimensional face image of the user to obtain a live body detection result of the user, and when the live body detection of the user is passed, the three-dimensional face image passed by the live body detection is identified, identity information of the user in the three-dimensional face image is identified, and a micro signal corresponding to the identity information of the user can be used as an identity of the user according to the identity information of the user by taking a payment platform as an example of micro-letter payment.
309. And the transaction server screens out initial payment code information corresponding to the identity in a preset payment code information set.
For example, a preset payment code information set is obtained, the payment code information in the preset payment code information set is associated with the identity, and initial payment code information corresponding to the identity of the user is screened out from the preset payment code information set.
310. And the transaction server adopts a preset adjustment strategy to adjust the payment amount, and updates the initial payment code information according to the adjusted payment amount to obtain the payment code information of the current transaction.
For example, the transaction server may randomly decrease the payment amount by using a preset payment adjustment policy, such as a random decreasing policy, to obtain an adjusted payment amount. And modifying the payment amount corresponding to the payment code into the adjusted payment amount, so as to update the initial payment code information and obtain the payment code information of the current transaction, wherein the payment code information can be the character string information of the payment code.
311. And the transaction server sends the payment code information to the payment terminal.
For example, the transaction server directly sends the payment code information to the payment terminal, and when the internal memory of the payment code information is large or the amount of the payment code information is large, the storage address of the payment code information can be sent to the payment terminal, so that the payment terminal can obtain the payment code information of the current transaction in the internal memory or the cache of the transaction server according to the storage address.
312. And the payment terminal sends the payment code information to the cash register terminal so as to process the current payment information.
For example, the payment terminal encrypts the payment code in the form of HID with the character string of the payment code, and sends the encrypted payment code to the cash register terminal according to the HID protocol, and after receiving the character string of the payment code, the cash register terminal sends the character string of the payment code to a transaction system of a bank, so that the deduction is completed in a bank account corresponding to the user in the payment code, and the deducted money is paid to a cash register account in the payment information. And when the adjusted payment amount is less than the original payment amount, the account of the user only pays the adjusted payment amount, and the difference value between the adjusted payment amount and the original transaction amount is used for carrying out payment operation on the cash register account through the bank account corresponding to the payment server, so that the current payment information is processed.
313. The payment terminal sends a payment inquiry request to the transaction server.
For example, the payment terminal may periodically send a payment inquiry request to the transaction server after sending the payment code information to the cashier terminal to inquire the payment status of the current transaction.
314. And the transaction server returns the payment result information of the current transaction to the payment terminal according to the payment inquiry request.
For example, after receiving the payment inquiry request, the transaction server may send the inquiry request to the bank server, and receive the payment status corresponding to the payment code information of the current transaction fed back by the bank server, where the payment status may include success, failure, and timeout. Taking the preset adjustment policy and the adjusted payment amount as adjustment information of the current transaction, for example, taking the preset adjustment policy as a random decreasing, the original payment amount is 10 yuan, the adjustment amount is 0.5 yuan, and the adjusted amount is 9.5 yuan, the adjustment information may be information such as a random decreasing of 0.5 yuan, and the adjusted payment amount is 9.5 yuan. And taking the adjustment information and the payment state as payment result information of the current transaction, and returning the payment result information to the payment terminal.
315. And the payment terminal displays the payment result information.
For example, after receiving the payment result information, the payment terminal may display the adjustment information of the payment status and the payment amount in the payment result information on the payment page of the current transaction.
In a payment scenario, The transaction information processing system is a face-based payment terminal including The Internet of Things (IoT) and a cash register terminal in a transaction as a whole, The cash register terminal includes ERP software for The transaction and an LED display screen for displaying a transaction amount or other transaction information, and The cash register terminal can be regarded as a POS, wherein a core of The ERP software is a service for receiving a payment code, that is, The ERP software supports information input in The form of HID, a core of The IoT face payment terminal includes a 3D camera, a 2D camera and a service related to a face APP, a transaction server at a rear end is mainly used for face live detection and face recognition and adjustment service for The transaction amount, for example, random subtraction, and The whole architecture can be as shown in fig. 8.
As can be seen from the above, in the embodiment of the present invention, after the payment terminal collects the image of the transaction information displayed by the first transaction terminal, the collected transaction image is identified to obtain the transaction amount of the current transaction, and then, the transaction page of the current transaction is displayed, the transaction page includes the transaction amount and the transaction control, in response to the transaction operation of the transaction control, the facial image of the user is collected, the facial image and the transaction amount are sent to the transaction server, the transaction identification information of the current transaction returned by the transaction server according to the facial image and the transaction amount is received, and the transaction identification information is sent to the first transaction terminal to process the transaction information; according to the scheme, the image of the transaction information is collected, the transaction amount of the current transaction is identified in the transaction image and is displayed in the transaction page, under the condition that the user determines that the transaction amount is accurate, the facial image of the user is collected, the transaction identification information is obtained according to the facial image and the transaction amount, and the transaction information is processed, so that the transaction risk is reduced, and therefore the safety of transaction information processing can be improved.
The method described in the above examples is further illustrated in detail below by way of example.
In this embodiment, a transaction scene of a current transaction is taken as a transfer scene, a first transaction terminal is taken as a receiving terminal, a first transaction information processing device is integrated at a second transaction terminal, the second transaction terminal can be taken as a transfer terminal, the second transaction information processing device is integrated at a transaction server, and a face image is taken as a three-dimensional face image for example.
The transfer terminal calibrates the acquisition position of the 2D camera acquiring the image of the display area, the calibration mode of the standard process and the payment scene is the same, and the description is omitted here. The transfer terminal acquires the image of the transfer information displayed by the collection terminal through the 2D camera to obtain a transfer image, and identifies the acquired transfer image to obtain the transfer amount needing to be transferred in the current transaction. The method comprises the steps that a transfer terminal displays a transfer page of current transaction, the transfer page comprises a transfer amount needing transfer and a transfer control, when a user determines that the transfer amount displayed on the transfer page is correct, the transfer control can be triggered by the user or a merchant, the transfer operation of the transfer control is responded, the transfer terminal collects at least one three-dimensional image of the face of the user through a 3D camera to obtain a candidate three-dimensional face image set, image attribute information of each candidate three-dimensional face image in the candidate three-dimensional face image set is obtained, at least one three-dimensional face image is screened out from the candidate three-dimensional face image set according to the image attribute information, and the three-dimensional face image and the transfer amount are sent to a transaction server.
The method comprises the steps that a transaction server carries out living body detection on a three-dimensional face image, the three-dimensional face image which is detected through the living body detection is identified, an identity of a user is obtained, initial transaction identification information corresponding to the identity is screened out in a set of preset transaction identification information by the transaction server, a payment strategy corresponding to a transfer amount is adopted by the transaction server, a service fee or a commission fee required by the transfer amount of a current transfer transaction is determined, the service fee or the commission fee is added to the transfer amount, the transfer amount after adjustment is obtained, the initial identity identification information is updated according to the transfer amount after adjustment, the transaction identification information of the current transfer transaction is obtained, and the transaction server sends the transaction identification information to a transfer terminal.
The transfer terminal sends the transaction identification information to the collection terminal in an HID form, and the collection terminal completes transfer through the transaction identification information to realize processing of the transaction information. The transfer terminal can also send a transfer inquiry request to the transaction server after sending the transaction identification information to inquire the transfer state of the current transfer transaction, and the inquiry mode is the same as the inquiry mode in the payment scene, so that the details are not repeated.
It should be noted that the greatest difference between the transfer scenario and the payment scenario lies in the adjustment of the transaction amount, and the two different transaction scenarios employ different preset adjustment strategies, and in the payment scenario, the marketing adjustment strategy is mainly used, for example, the marketing adjustment strategy may be a policy such as exemption or random immediate reduction, and in the transfer scenario, the preset adjustment strategy may be a payment strategy for collecting service fees or commission fees, and the service fees or commission fees are added on the basis of the transaction amount. Thus, the adjusted transaction amount in the payment scenario may be less than the original transaction amount, but in the transfer scenario, the adjusted transaction amount may be more than the original transaction amount.
In order to better implement the above method, an embodiment of the present invention further provides a transaction information processing apparatus (i.e., a first transaction information processing apparatus), which may be integrated in a terminal, where the terminal may include a smart phone, a tablet computer, a notebook computer, and/or a personal computer.
For example, as shown in fig. 9, the first transaction information processing apparatus may include an identification unit 401, a display unit 402, a collection unit 403, a first transmission unit 404, and a processing unit 405 as follows:
(1) an identification unit 401;
the identifying unit 401 is configured to collect an image of the transaction information displayed by the first transaction terminal, and identify the collected transaction image to obtain a transaction amount of the current transaction.
For example, the identifying unit 401 may be specifically configured to obtain a display position of a display area of the first transaction terminal, where the display area is used to display transaction information, monitor the display area according to the display position, acquire an image of the transaction information when the transaction information exists in the display area, obtain a transaction image, perform text identification on the transaction image, obtain text content corresponding to the transaction image, and determine a transaction amount of a current transaction according to the text content.
(2) A display unit 402;
a display unit 402, configured to display a transaction page of the current transaction, where the transaction page includes a transaction amount and a transaction control.
For example, the display unit 402 may be specifically configured to, when the transaction amount of the current transaction is identified, trigger to display a transaction page of the current transaction, display the transaction amount on the transaction page, and display other text contents in the transaction image and the transaction amount on the transaction page.
(3) An acquisition unit 403;
and the acquisition unit 403 is used for acquiring a facial image of the user in response to the transaction operation of the transaction control.
For example, the acquiring unit 403 may be specifically configured to acquire at least one face image of a face of a user in response to a transaction operation of the transaction control, obtain a candidate face image set, acquire image attribute information of each candidate face image in the candidate face image set, and screen out at least one face image in the candidate face image set according to the image attribute information.
(4) A first sending unit 404;
the first sending unit 404 is configured to send the face image and the transaction amount to the transaction server, and receive transaction identification information of the current transaction returned by the transaction server according to the face image and the transaction amount.
For example, the first sending unit 404 may be specifically configured to send the face image and the transaction amount to a transaction server, so that the transaction server performs live detection on the face image and adjusts the transaction amount according to a preset adjustment policy, the transaction server identifies the user face image after the live detection is passed, obtains an identity of the user, thereby obtains initial transaction identification information of the user, then updates the initial transaction identification information according to the adjusted transaction amount, obtains transaction identification information, and returns the transaction identification information to the first transaction information processing device, so that the first transaction information processing device receives the transaction identification information of the current transaction.
(5) A processing unit 405;
the processing unit 405 is configured to send the transaction identification information to the first transaction terminal, so as to process the transaction information.
For example, the processing unit 405 may be specifically configured to send the transaction identification information to the first transaction terminal, so that the first transaction terminal processes the transaction information of the current transaction according to the transaction identification information.
Optionally, the first transaction information processing apparatus may further include a query unit 406, as shown in fig. 10, which may specifically be as follows:
and the query unit 406 is configured to query transaction result information of the current transaction.
For example, the querying unit 406 may be specifically configured to send a transaction querying request of a current transaction to the transaction server, receive transaction result information returned by the transaction server according to the transaction querying request, where the transaction result information includes a transaction state corresponding to the transaction identification information and adjustment information of a transaction amount, and display the transaction state corresponding to the transaction identification information and the adjustment information of the transaction amount.
In a specific implementation, the above units may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and the specific implementation of the above units may refer to the foregoing method embodiments, which are not described herein again.
As can be seen from the above, in this embodiment, after the recognition unit 401 collects an image of transaction information displayed by the first transaction terminal, the collected transaction image is recognized to obtain a transaction amount of a current transaction, then, the display unit 402 displays a transaction page of the current transaction, where the transaction page includes the transaction amount and a transaction control, the collection unit 403 collects a facial image of a user in response to a transaction operation of the transaction control, the first sending unit 404 sends the facial image and the transaction amount to the transaction server, receives transaction identification information of the current transaction returned by the transaction server according to the facial image and the transaction amount, and the processing unit 405 sends the transaction identification information to the first transaction terminal to process the transaction information; according to the scheme, the image of the transaction information is collected, the transaction amount of the current transaction is identified in the transaction image and is displayed in the transaction page, the facial image of the user is collected under the condition that the user determines that the transaction amount is accurate, the transaction identification information is obtained according to the facial image and the transaction amount, and the transaction information is processed, so that the transaction risk is reduced, and therefore the security of transaction information processing can be improved.
In order to implement the above method better, the embodiment of the present invention further provides a transaction information processing apparatus (i.e. a second transaction information processing apparatus), where the second transaction information processing apparatus may be integrated in a server, and the server may be a single server or a server cluster composed of multiple servers.
For example, as shown in fig. 11, the second transaction information processing apparatus may include a receiving unit 501, a detecting unit 502, a filtering unit 503, an adjusting unit 504, and a second transmitting unit 505, as follows:
(1) a receiving unit 501;
and the receiving unit 501 is used for receiving the face image of the user and the transaction amount of the current transaction, which are sent by the second transaction terminal.
For example, the receiving unit 501 may be specifically configured to directly receive the face image of the user and the transaction amount of the current transaction sent by the second transaction terminal, and when the memory of the face image of the user and the transaction amount of the current transaction is large, may also indirectly receive the face image of the user and the transaction amount of the current transaction.
(2) A detection unit 502;
the detecting unit 502 is configured to perform living body detection on the face image, and identify the face image that passes the living body detection, so as to obtain an identity of the user.
For example, the detecting unit 502 may be specifically configured to perform living body detection on a face image of a user to obtain a living body detection result of the user, and when the living body detection of the user is passing, identify the face image through which the living body detection passes, identify identity information, and acquire an identity corresponding to the identity information.
(3) A screening unit 503;
the screening unit 503 is configured to screen initial transaction identification information corresponding to the identity identifier in the preset transaction identification information set.
For example, the screening unit 503 may be specifically configured to obtain a preset transaction identification information set, where transaction identification information in the preset transaction identification information set is associated with an identity, and screen out initial transaction identification information corresponding to the identity of the user in the preset transaction information identification information set.
(4) An adjustment unit 504;
the adjusting unit 504 is configured to adjust the transaction amount by using a preset adjustment policy, and update the initial transaction identification information according to the adjusted transaction amount to obtain the transaction identification information of the current transaction.
For example, the adjusting unit 504 may be specifically configured to adjust the transaction amount according to the scene type of the current transaction by using a preset adjusting policy corresponding to the scene type, to obtain an adjusted transaction amount, and update the initial transaction identification information according to the adjusted transaction amount, to obtain the transaction identification information of the current transaction.
(5) A second transmitting unit 505;
a second sending unit 505, configured to send the transaction identification information to the second transaction terminal, so that the second transaction terminal processes the transaction information of the current transaction.
For example, the second sending unit 505 may be specifically configured to directly send the transaction identification information to the second transaction terminal, and when the memory of the transaction identification information is large or the number of the transaction identification information is large, the storage address of the transaction identification information may also be sent to the second transaction terminal, so that the second transaction terminal obtains the transaction identification information of the current transaction in the memory or the cache of the second transaction information processing apparatus according to the storage address. And the second transaction terminal sends the transaction identification information to the first transaction terminal, and the transaction information is processed by the first transaction terminal.
An embodiment of the present invention further provides an electronic device, as shown in fig. 12, which shows a schematic structural diagram of the electronic device according to the embodiment of the present invention, specifically:
the electronic device may include components such as a processor 601 of one or more processing cores, memory 602 of one or more computer-readable storage media, a power supply 603, and an input unit 604. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 12 does not constitute a limitation of the electronic device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the processor 601 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, and performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 602 and calling data stored in the memory 602, thereby performing overall monitoring of the electronic device. Alternatively, processor 601 may include one or more processing cores; preferably, the processor 601 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 601.
The memory 602 may be used to store software programs and modules, and the processor 601 executes various functional applications and data processing by operating the software programs and modules stored in the memory 602. The memory 602 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created according to use of the electronic device, and the like. Further, the memory 602 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 602 may also include a memory controller to provide the processor 601 access to the memory 602.
The electronic device further comprises a power supply 603 for supplying power to the various components, and preferably, the power supply 603 is logically connected to the processor 601 through a power management system, so that functions of managing charging, discharging, power consumption, and the like are realized through the power management system. The power supply 603 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
The electronic device may further include an input unit 604, and the input unit 604 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
Although not shown, the electronic device may further include a display unit and the like, which are not described in detail herein. Specifically, in this embodiment, the processor 601 in the electronic device loads the executable file corresponding to the process of one or more application programs into the memory 602 according to the following instructions, and the processor 601 runs the application program stored in the memory 602, thereby implementing various functions as follows:
the method comprises the steps of collecting an image of transaction information displayed by a first transaction terminal, identifying the collected transaction image, obtaining a transaction amount of a current transaction, displaying a transaction page of the current transaction, wherein the transaction page comprises the transaction amount and a transaction control, responding to transaction operation of the transaction control, collecting a face image of a user, sending the face image and the transaction amount to a transaction server, receiving transaction identification information of the current transaction returned by the transaction server according to the face image and the transaction amount, and sending the transaction identification information to the first transaction terminal so as to process the current transaction information.
Or
The method comprises the steps of receiving a face image of a user and a transaction amount of a current transaction, which are sent by a second transaction terminal, carrying out living body detection on the face image, identifying the face image which passes the living body detection to obtain an identity of the user, screening out initial transaction identification information corresponding to the identity from a preset transaction identification information set, adjusting the transaction amount by adopting a preset adjustment strategy, updating the initial transaction identification information according to the adjusted transaction amount to obtain transaction identification information of the current transaction, and sending the transaction identification information to the second transaction terminal so that the second transaction terminal can process the transaction information of the current transaction.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
As can be seen from the above, in the embodiment of the present invention, after the image of the transaction information displayed by the first transaction terminal is collected, the collected transaction image is identified to obtain the transaction amount of the current transaction, then, the transaction page of the current transaction is displayed, the transaction page includes the transaction amount and the transaction control, the facial image of the user is collected in response to the transaction operation of the transaction control, the facial image and the transaction amount are sent to the transaction server, the transaction identification information of the current transaction returned by the transaction server according to the facial image and the transaction amount is received, and the transaction identification information is sent to the first transaction terminal so as to process the transaction information; according to the scheme, the image of the transaction information is collected, the transaction amount of the current transaction is identified in the transaction image and is displayed in the transaction page, under the condition that the user determines that the transaction amount is accurate, the facial image of the user is collected, the transaction identification information is obtained according to the facial image and the transaction amount, and the transaction information is processed, so that the transaction risk is reduced, and therefore the safety of transaction information processing can be improved.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, embodiments of the present invention provide a computer-readable storage medium having stored therein a plurality of instructions, which can be loaded by a processor to perform steps of any of the transaction information processing methods provided by the embodiments of the present invention. For example, the instructions may perform the steps of:
the method comprises the steps of collecting an image of transaction information displayed by a first transaction terminal, identifying the collected transaction image to obtain a transaction amount of a current transaction, displaying a transaction page of the current transaction, wherein the transaction page comprises the transaction amount and a transaction control, collecting a face image of a user in response to transaction operation of the transaction control to obtain the face image, sending the face image and the transaction amount to a transaction server, receiving transaction identification information of the current transaction returned by the transaction server according to the face image and the transaction amount, and sending the transaction identification information to the first transaction terminal to process the current transaction information.
Or
The method comprises the steps of receiving a face image of a user and a transaction amount of a current transaction, sent by a second transaction terminal, carrying out living body detection on the face image, identifying the face image passing the living body detection to obtain an identity of the user, screening initial transaction identification information corresponding to the identity from a preset transaction identification information set, adjusting the transaction amount by adopting a preset adjustment strategy, updating the initial transaction identification information according to the adjusted transaction amount to obtain the transaction identification information of the current transaction, and sending the transaction identification information to the second transaction terminal so that the second transaction terminal can process the transaction information of the current transaction.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the computer-readable storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the computer-readable storage medium can execute the steps in any transaction information processing method provided by the embodiment of the present invention, the beneficial effects that can be achieved by any transaction information processing method provided by the embodiment of the present invention can be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
According to an aspect of the application, there is provided, among other things, a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The computer instructions are read by a processor of a computer device from a computer-readable storage medium, and the computer instructions are executed by the processor to cause the computer device to perform the methods provided in the various alternative implementations of the transaction information processing aspects described above.
The transaction information processing method, the transaction information processing device and the computer-readable storage medium according to the embodiments of the present invention are described in detail, and the principles and embodiments of the present invention are described herein by applying specific examples, and the description of the embodiments is only used to help understanding the method and the core idea of the present invention; meanwhile, for those skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (15)

1. A transaction information processing method, comprising:
acquiring an image of transaction information displayed by a first transaction terminal, and identifying the acquired transaction image to obtain the transaction amount of the current transaction;
displaying a transaction page of the current transaction, wherein the transaction page comprises the transaction amount and a transaction control;
collecting a facial image of a user in response to the transaction operation of the transaction control;
sending the facial image and the transaction amount to a transaction server, and receiving transaction identification information of the current transaction returned by the transaction server according to the facial image and the transaction amount;
and sending the transaction identification information to the first transaction terminal so as to process the transaction information.
2. The transaction information processing method according to claim 1, wherein the acquiring an image of the transaction information displayed by the first transaction terminal includes:
acquiring a display position of a display area of the first transaction terminal, wherein the display area is used for displaying the transaction information;
monitoring the display area according to the display position;
and when the transaction information exists in the display area, acquiring an image of the transaction information to obtain the transaction image.
3. The transaction information processing method according to claim 2, wherein when the transaction information exists in the display area, acquiring an image of the transaction information to obtain the transaction image includes:
acquiring process information of current transaction service, and inquiring the acquisition process of a face image in the process information;
when the acquisition progress of the facial image does not exist in the progress information, determining that the current transaction service is in an idle state;
when the transaction information exists in the display area, acquiring an image of the transaction information to obtain the transaction image, wherein the acquiring includes: and when the transaction information exists in the displayed area and the current transaction service is in an idle state, acquiring an image of the transaction information to obtain the transaction image.
4. The transaction information processing method according to claim 2, further comprising, after acquiring the display position of the display area of the first transaction terminal:
acquiring an image of the display area according to the display position to obtain a transaction image sample set;
performing text recognition on the transaction image samples in the transaction image sample set to obtain a text content sample set;
calibrating the acquisition position for acquiring the image of the display area according to the text content sample set;
the monitoring the display area according to the display position comprises: and monitoring the display area according to the display position and the calibrated acquisition position.
5. The transaction information processing method of claim 4, wherein the calibrating the capture position for capturing the image of the display area according to the text content sample set comprises:
sequencing the text content samples in the text content sample set according to the acquisition time of the transaction image samples;
screening out a preset number of text content samples from the sorted text content sample set, and comparing the text content samples;
and calibrating the acquisition position for acquiring the image of the display area according to the comparison result of the text content sample.
6. The transaction information processing method according to claim 5, wherein the calibrating the capturing position at which the image of the display area is captured according to the comparison result of the text content sample includes:
when the text content samples are the same, determining that the acquisition position passes calibration, and taking the acquisition position as the calibrated acquisition position;
and when the text content samples are different, returning to execute the step of acquiring the images of the display area according to the display position to obtain a transaction image sample set until the text content samples of a preset number of transaction image samples in the transaction image sample set are the same, and taking the current acquisition position as the post-calibration acquisition position.
7. The transaction information processing method according to any one of claims 1 to 6, wherein the identifying the collected transaction image to obtain the transaction amount of the current transaction comprises:
performing text recognition on the transaction image to obtain text content corresponding to the transaction image;
and determining the transaction amount of the current transaction according to the text content.
8. The transaction information processing method of claim 7, wherein the determining the transaction amount of the current transaction according to the text content comprises:
screening out text contents corresponding to a preset number of continuously acquired transaction images from the text contents to obtain target text contents;
when the target text contents are the same, identifying the transaction contents of the current transaction in the target text contents;
and extracting the amount information of the current transaction from the transaction content to obtain the transaction amount of the current transaction.
9. The transaction information processing method according to any one of claims 1 to 6, wherein the capturing of the face image of the user includes:
acquiring at least one face image of a user face to obtain a candidate face image set;
acquiring image attribute information of each candidate face image in the candidate face image set;
and screening at least one face image in the candidate face image set according to the image attribute information.
10. The method of processing transaction information according to claim 9, wherein said screening out at least one facial image in the set of candidate facial images according to the image attribute information comprises:
screening at least one image parameter value for evaluating the candidate face image in the image attribute information;
weighting the image parameter values, and fusing the weighted image parameter values to obtain a parameter evaluation value of the candidate face image;
and screening out the candidate face images with the parameter evaluation values exceeding a preset evaluation threshold value from the candidate face image set to obtain the face images.
11. The transaction information processing method according to claim 1, wherein after sending the transaction identification information to the first transaction terminal to process the current transaction information, further comprising:
sending a transaction query request of the current transaction to the transaction server;
receiving transaction result information returned by the transaction server according to the transaction query request, wherein the transaction result information comprises a transaction state corresponding to the transaction identification information and adjustment information of the transaction amount;
and displaying the transaction state corresponding to the transaction identification information and the adjustment information of the transaction amount.
12. A transaction information processing method, comprising:
receiving the face image of the user and the transaction amount of the current transaction sent by the second transaction terminal;
performing living body detection on the face image, and identifying the face image passing the living body detection to obtain the identity of the user;
screening initial transaction identification information corresponding to the identity in a preset transaction identification information set;
adjusting the transaction amount by adopting a preset adjustment strategy, and updating the initial transaction identification information according to the adjusted transaction amount to obtain the transaction identification information of the current transaction;
and sending the transaction identification information to the second transaction terminal so that the second transaction terminal can process the transaction information of the current transaction.
13. The transaction information processing method according to claim 12, wherein the sending the transaction identification information to the second transaction terminal so that after the second transaction terminal processes the transaction information of the current transaction, further comprises:
receiving a transaction inquiry request sent by the second transaction terminal;
acquiring a transaction state corresponding to the transaction identification information according to the transaction query request;
taking the preset adjustment strategy and the adjusted transaction amount as adjustment information of the current transaction, and taking the adjustment information and the transaction state as transaction result information of the current transaction;
and sending the transaction result information to the second transaction terminal.
14. A transaction information processing apparatus characterized by comprising:
the identification unit is used for acquiring an image of the transaction information displayed by the first transaction terminal, and identifying the acquired transaction image to obtain the transaction amount of the current transaction;
the display unit is used for displaying a transaction page of the current transaction, and the transaction page comprises the transaction amount and a transaction control;
the acquisition unit is used for responding to the transaction operation of the transaction control and acquiring a facial image of a user;
the first sending unit is used for sending the face image and the transaction amount to a transaction server and receiving transaction identification information of the current transaction returned by the transaction server according to the face image and the transaction amount;
and the processing unit is used for sending the transaction identification information to the first transaction terminal so as to process the transaction information.
15. A transaction information processing apparatus characterized by comprising:
the receiving unit is used for receiving the face image of the user and the transaction amount of the current transaction, which are sent by the second transaction terminal;
the detection unit is used for carrying out living body detection on the face image and identifying the face image passing the living body detection to obtain the identity of the user;
the screening unit is used for screening out initial transaction identification information corresponding to the identity in a preset transaction identification information set;
the adjusting unit is used for adjusting the transaction amount by adopting a preset adjusting strategy, and updating the initial transaction identification information according to the adjusted transaction amount to obtain the transaction identification information of the current transaction;
and the second sending unit is used for sending the transaction identification information to the second transaction terminal so that the second transaction terminal can process the transaction information of the current transaction.
CN202011411023.3A 2020-12-03 2020-12-03 Transaction information processing method and device and computer readable storage medium Pending CN114612098A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011411023.3A CN114612098A (en) 2020-12-03 2020-12-03 Transaction information processing method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011411023.3A CN114612098A (en) 2020-12-03 2020-12-03 Transaction information processing method and device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN114612098A true CN114612098A (en) 2022-06-10

Family

ID=81855982

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011411023.3A Pending CN114612098A (en) 2020-12-03 2020-12-03 Transaction information processing method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN114612098A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117291587A (en) * 2023-11-27 2023-12-26 福建超汇信息技术有限公司 Mobile payment method and equipment thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117291587A (en) * 2023-11-27 2023-12-26 福建超汇信息技术有限公司 Mobile payment method and equipment thereof

Similar Documents

Publication Publication Date Title
CN106104555B (en) For protecting the behavioural analysis of peripheral equipment
CN111461089A (en) Face detection method, and training method and device of face detection model
CN103503000A (en) Facial recognition
CN110795584B (en) User identifier generation method and device and terminal equipment
CN110741377A (en) Face image processing method and device, storage medium and electronic equipment
KR20140005195A (en) Method for face registration
CN106303599A (en) A kind of information processing method, system and server
CN106471440A (en) Eye tracking based on efficient forest sensing
CN116311539B (en) Sleep motion capturing method, device, equipment and storage medium based on millimeter waves
CN109726756A (en) Image processing method, device, electronic equipment and storage medium
CN112492297A (en) Video processing method and related equipment
CN109284740A (en) Method, apparatus, equipment and the storage medium that mouse feelings are counted
CN109299120A (en) Data processing method and device, electronic equipment, computer storage medium
CN114612098A (en) Transaction information processing method and device and computer readable storage medium
CN112419637B (en) Security image data processing method and device
CN110472537B (en) Self-adaptive identification method, device, equipment and medium
US20200065631A1 (en) Produce Assessment System
CN109949479A (en) Data processing method, device and intelligent vending machine based on image difference
WO2022089220A1 (en) Image data processing method and apparatus, device, storage medium, and product
CN112418273B (en) Clothing popularity evaluation method and device, intelligent terminal and storage medium
CN114399622A (en) Image processing method and related device
JP2014042170A (en) Photographing system, photographing support method, photographing device and control method of the same, management device and control method of the same, and program
CN111191519B (en) Living body detection method for user access of mobile power supply device
CN114422207A (en) Multi-mode-based C & C communication flow detection method and device
CN109409325B (en) Identification method and electronic 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