CN111275431A - Transaction method and target electronic equipment - Google Patents

Transaction method and target electronic equipment Download PDF

Info

Publication number
CN111275431A
CN111275431A CN202010075621.1A CN202010075621A CN111275431A CN 111275431 A CN111275431 A CN 111275431A CN 202010075621 A CN202010075621 A CN 202010075621A CN 111275431 A CN111275431 A CN 111275431A
Authority
CN
China
Prior art keywords
target
transaction
electronic device
target electronic
code
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
CN202010075621.1A
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010075621.1A priority Critical patent/CN111275431A/en
Publication of CN111275431A publication Critical patent/CN111275431A/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/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/327Short range or proximity payments by means of M-devices
    • G06Q20/3274Short range or proximity payments by means of M-devices using a pictured code, e.g. barcode or QR-code, being displayed on the M-device
    • 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/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/4016Transaction verification involving fraud or risk level assessment in transaction processing

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Finance (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a transaction method and target electronic equipment. The method comprises the following steps: under the condition that a server receives a transaction request sent by first electronic equipment, judging whether target electronic equipment meets a preset condition or not; the target transaction account corresponding to the transaction request corresponds to the target electronic equipment; allowing the transaction request under the condition that the target electronic equipment meets the preset condition; wherein, the target electronic equipment satisfies the preset condition, including: the target electronic device currently displays the target transaction code. The embodiment of the invention can solve the problem of low security of code scanning transaction.

Description

Transaction method and target electronic equipment
Technical Field
The embodiment of the invention relates to the field of transaction, in particular to a transaction method and target electronic equipment.
Background
At present, when a user presents a transaction code for transaction under a subscriber line, the user is easily photographed and retained on a transaction code page of the user by a lawbreaker, or a target transaction code page is intercepted through malicious application in intelligent equipment, so that the account amount of the user is embezzled, and the condition that the capital and property of the user are lost and difficult to recover is caused.
However, in the prior art, the transaction wind control strategy for the transaction code is to determine whether to refuse the transaction from the security of the equipment and application environment using the transaction code and the legality of the transaction party, but this method cannot solve the problem of embezzlement of the transaction code, and the transaction security is low.
Disclosure of Invention
The embodiment of the invention provides a transaction method and target electronic equipment, and aims to solve the problem of low security of code scanning transaction.
In a first aspect, an embodiment of the present invention provides a transaction method, applied to a target electronic device, including:
under the condition that a server receives a transaction request sent by first electronic equipment, judging whether the target electronic equipment meets a preset condition or not; a target transaction account corresponding to the transaction request corresponds to the target electronic device;
allowing the transaction request if the target electronic device meets the preset condition;
wherein the target electronic device satisfies the preset condition, including:
the target electronic device currently displays a target transaction code.
In a second aspect, an embodiment of the present invention further provides a target electronic device, including:
the system comprises a judging module, a processing module and a processing module, wherein the judging module is used for judging whether target electronic equipment meets preset conditions or not under the condition that a server receives a transaction request sent by first electronic equipment; a target transaction account corresponding to the transaction request corresponds to the target electronic device; wherein the target electronic device satisfies the preset condition, including: the target electronic equipment currently displays a target transaction code;
and the transaction module is used for allowing the transaction request under the condition that the target electronic equipment meets the preset condition.
In a third aspect, an embodiment of the present invention provides a target electronic device, which is characterized by including a processor, a memory, and a computer program stored on the memory and being executable on the processor, and when the computer program is executed by the processor, the steps of the transaction method according to the first aspect are implemented.
In a fourth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps of the transaction method according to the first aspect.
In the embodiment of the present invention, when the server receives a transaction request sent by the first electronic device, the transaction request is allowed only when the target electronic device meets the preset condition, where the target electronic device corresponds to a target transaction account corresponding to the transaction request. In this way, whether the current transaction behavior is executed by the target electronic device is determined according to the operation condition in the target electronic device really corresponding to the target transaction account number in the transaction request, and the transaction can be allowed to be completed only under the condition that the target electronic device executes the transaction, so that the safety of the off-line code scanning transaction is improved, and the condition of stealing the target transaction code is avoided as much as possible.
Drawings
The present invention will be better understood from the following description of specific embodiments thereof taken in conjunction with the accompanying drawings, in which like or similar reference characters designate like or similar features.
Fig. 1 is a schematic flow chart of a transaction method according to an embodiment of the present invention;
fig. 2 is a schematic flow chart illustrating a target transaction code issuing and information binding according to an embodiment of the present invention;
FIG. 3 is a flow chart illustrating another transaction method according to an embodiment of the invention;
fig. 4 is a schematic structural diagram of a target electronic device according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a hardware structure of a target 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 some, not all, embodiments of the present invention. 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.
As in the background art, the conventional transaction method cannot avoid the situation that the target transaction code is stolen and refreshed. The transaction security is low, in order to solve the problem, an embodiment of the present invention provides a transaction method, which is applied to a target electronic device, and referring to fig. 1, fig. 1 shows a flowchart of the transaction method provided by the embodiment of the present invention; the method comprises the following steps:
s101, under the condition that a server receives a transaction request sent by first electronic equipment, judging whether target electronic equipment meets a preset condition or not; the target transaction account corresponding to the transaction request corresponds to the target electronic equipment;
wherein the transaction request includes: the transaction request may further include other information related to the transaction, which is not limited herein.
In the process of code scanning transaction, after the code scanning device scans the target transaction code, the target transaction code and the transaction information are sent to a server, wherein the server can comprise a code scanning device server and a payment application server, the code scanning device server sends the received transaction request to the payment application server, and the payment application server is used for managing and verifying the transaction request.
In the embodiment of the present invention, the server pre-stores the bound transaction code and application information, and accordingly determines the target application information bound to the target transaction code included in the transaction request, where the target application information includes the target transaction account and the corresponding target electronic device, as shown in fig. 2. And after receiving the transaction request, the server informs the target electronic equipment corresponding to the target transaction account number to perform subsequent judgment operation.
The first electronic device may be an electronic device that actually presents the target transaction code, or may be a code scanning device that scans the target transaction code, which is not limited in this respect.
S102, under the condition that the target electronic equipment meets a preset condition, a transaction request is allowed;
wherein, the target electronic device satisfies the preset condition, which may include: the target electronic device currently displays the target transaction code.
The target transaction code in the transaction request is the transaction code of the target transaction account, and the target electronic device is the electronic device corresponding to the target transaction account, that is, the target electronic device is the device which actually performs the payment transaction based on the transaction request. Normally, the target electronic device should be the same as the first electronic device that actually presented the target transaction code, but if the target transaction code is stolen by others, the target electronic device is different from the first electronic device that actually presented the target transaction code. The most intuitive expression is that the target transaction code interface of the target transaction application is in a display state, namely, the user is showing the target transaction code at the moment, because the target electronic equipment is performing the transaction operation or not. Therefore, if the target transaction code interface is not opened and displayed, it is obvious that the target electronic equipment does not perform the transaction operation according to the target transaction code, and the target transaction code is stolen.
The target transaction application may include an application program capable of generating a target transaction code in the electronic device to perform a transaction, such as a payment treasured, a WeChat, and the like. The target transaction application may include one or more transaction applications, as the invention is not limited in this respect.
In the embodiment of the invention, when the server receives a transaction request sent by the first electronic device, the transaction request is allowed only when the target electronic device meets a preset condition, wherein the target electronic device corresponds to a target transaction account corresponding to the transaction request. In this way, whether the current transaction behavior is executed by the target electronic device is determined according to the operation condition in the target electronic device really corresponding to the target transaction account number in the transaction request, and the transaction can be allowed to be completed only under the condition that the target electronic device executes the transaction, so that the safety of the off-line code scanning transaction is improved, and the condition of stealing the target transaction code is avoided as much as possible.
In a specific embodiment, in the process of pulling the target transaction code by the user each time, the electronic device uploads the relevant application information, the application information includes an application package name, an application name, account information for logging in the transaction application, and device information, etc., the device information may include a model of the electronic device, an International Mobile Equipment Identity (IMEI), a Media Access Control (MAC) address, etc., after the payment application server receives the application information uploaded by the electronic device, a target transaction code is issued to the electronic device and bound with the previously uploaded application information, therefore, the corresponding target transaction code is determined according to the target transaction account number contained in the transaction request, and determining the corresponding target electronic equipment according to the application information bound by the target transaction code.
As shown in fig. 2, fig. 2 is a schematic diagram illustrating a flow of issuing a target transaction code and binding information according to an embodiment of the present invention.
The target transaction code in the above embodiment of the present invention may be a payment code or a collection code, which are illustrated below. The first electronic device is taken as an example of a device for presenting the target transaction code.
If the target transaction code is a payment code, the first electronic device presents the payment code, after the payment code is scanned by the collection device, a payment request is generated according to the payment code and corresponding collection information (for example, a collection amount of 20 RMB, a collection party is xx restaurants and the like) and sent to the payment application server for payment verification, the target electronic device can verify whether the target electronic device is in a payment state currently under the condition that the payment application server confirms that the payment request is received, if the target electronic device is not in the payment state, an account number to which the payment code really belongs does not initiate payment, and therefore payment is not allowed under the condition that the target electronic device is stolen.
If the target transaction code is a collection code, the first electronic device displays the collection code, after scanning the collection code, the payment device generates a payment request according to the collection code and corresponding collection information (for example, a collection amount of 20 RMB, a payee is xx restaurant and the like) and sends the payment request to the payment application server for payment verification, the target electronic device verifies whether the target electronic device is in a collection state or not under the condition that the payment application server receives the payment request, if the target electronic device is not in the collection state, the account to which the collection code really belongs does not initiate collection, and therefore collection is not allowed under the condition that the target electronic device is embezzled.
In some embodiments of the present invention, the target electronic device satisfying the preset condition may further include:
the target transaction code is displayed by the target transaction application in the second electronic device in response to a preset input by the user.
That is, in the target electronic device, if the current target transaction application is in a state of being called by a preset input, that is, the target transaction application is being used, in a normal case, the actual device currently presenting the target transaction code is the target transaction application in the target electronic device. Otherwise, if the calling is not carried out according to the preset input, the transaction operation is obviously not carried out in the target electronic equipment, and the current target transaction code is embezzled.
Optionally, the preset input may include: the target user inputs the desktop identifier of the target transaction application or inputs the shortcut identifier of the target transaction application.
Since the target user usually clicks the desktop identifier or the shortcut identifier in the process of opening the target transaction application, it is intuitively and accurately determined whether the target transaction application is invoked by determining whether the target electronic device receives the first input and the second input. The first input and the second input may be a click operation, a double click operation, a long press operation, and the like, which is not limited in the present invention.
In other embodiments of the present invention, the target electronic device satisfying the preset condition may further include:
the target image comprises target code scanning equipment, the type of the target code scanning equipment accords with the type of preset equipment, and the distance between the target electronic equipment and the target code scanning equipment is smaller than a preset distance threshold.
The target image is an image shot by a target camera on the same side of the target electronic equipment as a screen for displaying the target transaction code when the target transaction code is displayed. For example, if the target transaction code is displayed through the front screen, the target camera is a front camera; and displaying the target transaction code through a rear screen, wherein the target camera is a rear camera.
Because the target images shot by the target camera on the target electronic equipment are different when the target electronic equipment is in the code scanning transaction state and not in the code scanning transaction state, if the target electronic equipment is in the code scanning transaction state, a user needs to show the target transaction code on the screen of the target electronic equipment to the code scanning equipment, and therefore the target image obtained by the camera on the same side of the screen should contain the target code scanning equipment which accords with the type of the preset equipment. Moreover, since the code-scanning transaction belongs to near field communication, the distance between the target electronic device and the target code-scanning device in the code-scanning transaction state should be smaller than a preset distance threshold. According to the method and the device, whether the target electronic equipment is in the trading state or not is determined according to the scene characteristics of the code scanning trading process, the scene of the target electronic equipment can be accurately determined, the authenticity of the target trading code can be judged, a means of embezzling through a remote code scanning mode can be prevented, and the trading safety is improved.
Optionally, the preset device type in the above embodiment may include any one of a mobile phone, a portable point of sale (POS) machine, and a fixed code reading device; alternatively, the predetermined device types may include other types of devices capable of collecting the target code-scanning transaction code.
Optionally, the preset distance threshold in the above embodiment is related to a distance required by the code scanning device when the code scanning device actually collects money, for example, if the distance between the screen on which the target transaction code needs to be presented and the code scanning device itself is less than 10cm, the preset distance threshold may be set to 10cm, and the preset distance threshold may be dynamically set by the payment application server, which is not limited in this invention.
For example, if the portable POS is included in the target image and the distance between the portable POS and the target electronic device is determined to be less than 10cm by ranging the target image, then the current target electronic device is considered to be performing a code scanning transaction, and therefore it is likely that the target electronic device is the target electronic device that presents the target transaction code. On the contrary, if any device capable of scanning the code is not included in the target image, or the target image contains the portable POS machine, but the portable POS machine is more than 10cm away from the target electronic device, it is considered that the target electronic device does not perform the code scanning transaction, and therefore, the transaction code is stolen.
In addition, in still other embodiments of the present invention, in a case that the target camera is a lifting camera, before acquiring the target image, the method may further include: and controlling the target camera to pop up.
In the shooting process of the lifting camera, the camera can be normally shot only by popping up the camera, so that the target camera needs to be controlled to pop up to shoot after the target electronic equipment is determined according to the equipment information pre-bound by the target transaction code.
In an embodiment of the present invention, optionally, the camera in the above embodiment may have a Time of flight (TOF) function, and the present invention is not limited to this.
In some embodiments of the present invention, the target electronic device satisfying the preset condition may further include:
the target image does not contain a face image of a target user corresponding to the target electronic equipment; the target image is an image shot by a target camera on the same side of the target electronic equipment as a screen for displaying the target transaction code when the target transaction code is displayed.
In the process of code scanning transaction, a user needs to show the target electronic equipment to the code scanning equipment, and in the showing process, the screen of the target electronic equipment faces the code scanning equipment and faces away from the target user, so that once the target image contains the face image of the target user, the current target electronic equipment is probably not in the scene of code scanning transaction, but is probably the scene of the target transaction code viewed by the user. Therefore, the accuracy of judging the target operation can be further improved by judging the human face, the method of embezzling the target operation in a remote code scanning mode is prevented, and the transaction safety is improved. The target user is usually the owner, and the face image of the target user is pre-stored in the target electronic device and used for comparison with the face image contained in the target image in the following process.
For example, if the target image includes the portable POS machine and does not include the owner face information previously stored by the target electronic device, and the distance between the portable POS machine and the target electronic device is determined to be less than 10cm by ranging the target image, it is considered that the current target electronic device is performing code scanning transaction, and therefore it is likely that the target electronic device showing the target transaction code is the target electronic device. On the contrary, if the target image does not include any device capable of scanning the code, or the target image includes face information of the owner, or the portable POS machine included in the target image is more than 10cm away from the target electronic device, it is determined that the target electronic device does not perform code scanning transaction, and therefore, the transaction code is stolen.
In some other embodiments of the present invention, the method may further comprise:
and under the condition that the target electronic equipment does not meet the preset condition, the transaction request is not allowed, and first prompt information is output.
That is, under the condition that the target electronic device does not meet the preset condition, the current condition is that the transaction code is embezzled, so that the transaction cannot be completed and fails. The user of the first electronic equipment can be informed by sending the first prompt message, and the current somebody tries to use the target transaction code for transaction, so that the aim of warning the user who illegally swipes the transaction code of other people is fulfilled. Alternatively, the first prompt message may be a message prompting that the transaction has failed. The first prompt message may only include the transaction failure message, or may also include a warning message to the user who currently presents the target transaction code, for example, the first prompt message may be "transaction failure, please stop using the current transaction code", and the like.
Optionally, the manner of outputting the first prompt message may be:
and under the condition that the target electronic equipment does not meet the preset condition, sending first prompt information of transaction failure to the code scanning equipment server through the payment application server so that the code scanning equipment server sends the first prompt information to the code scanning equipment for displaying.
Optionally, under the condition that the target electronic device meets the preset condition, second prompt information may be output, where the second prompt information is used to prompt the user that the transaction is successful.
Optionally, the manner of outputting the second prompt message may be: and under the condition that the target electronic equipment meets the preset condition, sending second prompt information of successful transaction to the code scanning equipment server through the payment application server, so that the code scanning equipment server sends the second prompt information to the code scanning equipment for displaying. The content of the second prompt message may be "successful transaction", and the invention does not limit the specific content of the second prompt message.
Based on the above transaction method embodiment, correspondingly, the embodiment of the present invention further provides a target electronic device, as shown in fig. 4, and fig. 4 shows a schematic structural diagram of the target electronic device provided in the embodiment of the present invention. The target electronic device includes:
the determining module 201 is configured to determine whether the target electronic device meets a preset condition when the server receives a transaction request sent by the first electronic device; a target transaction account corresponding to the transaction request corresponds to the target electronic device; wherein the target electronic device satisfies the preset condition, including: the target electronic equipment currently displays a target transaction code;
a transaction module 202, configured to allow the transaction request when the target electronic device meets the preset condition.
In the embodiment of the present invention, when the server receives a transaction request sent by the first electronic device, the transaction request is allowed only when the target electronic device meets the preset condition, where the target electronic device corresponds to a target transaction account corresponding to the transaction request. In this way, whether the current transaction behavior is executed by the target electronic device is determined according to the operation condition in the target electronic device really corresponding to the target transaction account number in the transaction request, and the transaction can be allowed to be completed only under the condition that the target electronic device executes the transaction, so that the safety of the off-line code scanning transaction is improved, and the condition of stealing the target transaction code is avoided as much as possible.
Wherein the target electronic device further comprises:
and the application information uploading module is used for uploading the application information to the server in the process of pulling the target transaction code by the user, so that the server receives the application information sent by the electronic equipment, then issues the target transaction code, and binds the issued target transaction code with the application information.
In some embodiments of the present invention, the above target electronic device satisfying a preset condition may further include: the target transaction code is displayed by the target transaction application in the second electronic device in response to a preset input by the user.
That is, in the target electronic device, if the current target transaction application is in a state of being called by a preset input, that is, the target transaction application is being used, in a normal case, the actual device currently presenting the target transaction code is the target transaction application in the target electronic device. Otherwise, if the calling is not carried out according to the preset input, the transaction operation is obviously not carried out in the target electronic equipment, and the current target transaction code is embezzled.
Optionally, the preset input may include: the target user inputs the desktop identifier of the target transaction application or inputs the shortcut identifier of the target transaction application.
Since the target user usually clicks the desktop identifier or the shortcut identifier in the process of opening the target transaction application, it is intuitively and accurately determined whether the target transaction application is invoked by determining whether the target electronic device receives the first input and the second input. The first input and the second input may be a click operation, a double click operation, a long press operation, and the like, which is not limited in the present invention.
The target transaction application in the foregoing embodiment may include an application program capable of generating a target transaction code in an electronic device to perform a transaction, such as a transaction treasure, a WeChat, and the like. The target transaction application may include one or more transaction applications, as the invention is not limited in this respect.
In other embodiments of the present invention, the target electronic device satisfying the preset condition may further include:
the target image comprises target code scanning equipment, the type of the target code scanning equipment accords with the type of preset equipment, and the distance between the target electronic equipment and the target code scanning equipment is smaller than a preset distance threshold. The target image is an image shot by a target camera on the same side of the target electronic equipment as a screen for displaying the target transaction code when the target transaction code is displayed.
According to the method and the device, whether the target electronic equipment is in the trading state or not is determined according to the scene characteristics of the code scanning trading process, the scene of the target electronic equipment can be accurately determined, the authenticity of the target trading code can be judged, a means of embezzling through a remote code scanning mode can be prevented, and the trading safety is improved.
Optionally, the preset device type in the above embodiment may include any one of a mobile phone, a portable POS device, and a fixed code reading device; alternatively, the predetermined device types may include other types of devices capable of collecting the target code-scanning transaction code.
Optionally, the preset distance threshold in the above embodiment is related to a distance required by the code scanning device when the code scanning device actually collects money, for example, if the distance between the screen on which the target transaction code needs to be presented and the code scanning device itself is less than 10cm, the preset distance threshold may be set to 10cm, and the preset distance threshold may be dynamically set by the payment application server, which is not limited in this invention.
In addition, in still other embodiments of the present invention, in a case where the target camera is a lift-type camera, the target electronic device may further include:
and the camera control module is used for controlling the target camera to pop up before the target image is acquired.
In the shooting process of the lifting camera, the camera can be normally shot only by popping up the camera, so that the target camera needs to be controlled to pop up to shoot after the target electronic equipment is determined according to the equipment information pre-bound by the target transaction code.
In the embodiment of the present invention, optionally, the camera in the above embodiment may have a TOF function, and of course, the present invention is not limited to this.
In some embodiments of the present invention, the above target electronic device satisfying a preset condition may further include:
the target image does not contain a face image of a target user corresponding to the target electronic equipment; the target image is an image shot by a target camera on the same side of the target electronic equipment as a screen for displaying the target transaction code when the target transaction code is displayed.
The accuracy of judging the target operation can be further improved by judging the face, the method of embezzling the target operation in a remote code scanning mode is prevented, and the transaction safety is improved. The target user is usually the owner, and the face image of the target user is pre-stored in the target electronic device and used for comparison with the face image contained in the target image in the following process.
In this embodiment of the present invention, optionally, the target electronic device may further include:
and the first prompt module is used for disallowing the transaction request and outputting first prompt information under the condition that the target electronic equipment does not meet the preset condition.
That is, under the condition that the target electronic device does not meet the preset condition, the current condition is that the transaction code is embezzled, so that the transaction cannot be completed and fails. The user of the first electronic equipment can be informed by sending the first prompt message, and the current somebody tries to use the target transaction code for transaction, so that the aim of warning the user who illegally swipes the transaction code of other people is fulfilled. Alternatively, the first prompt message may be a message prompting that the transaction has failed.
Optionally, the manner of outputting the first prompt information by the first prompt module may be:
and under the condition that the target electronic equipment does not meet the preset condition, sending first prompt information of transaction failure to the code scanning equipment server through the payment application server so that the code scanning equipment server sends the first prompt information to the code scanning equipment for displaying.
Optionally, the target electronic device may further include:
and the second prompt module is used for outputting second prompt information under the condition that the target electronic equipment meets the preset condition, wherein the second prompt information is used for prompting the user that the transaction is successful.
Optionally, the manner of outputting the second prompt information by the second prompt module may be: and under the condition that the target electronic equipment meets the preset condition, sending second prompt information of successful transaction to the code scanning equipment server through the payment application server, so that the code scanning equipment server sends the second prompt information to the code scanning equipment for displaying.
The target electronic device provided in the embodiment of the present invention can implement each method step implemented in the method embodiment of fig. 1, and is not described here again to avoid repetition.
Fig. 5 is a schematic diagram illustrating a hardware structure of a target electronic device according to an embodiment of the present invention.
The target electronic device 300 includes, but is not limited to: radio frequency unit 301, network module 302, audio output unit 303, input unit 304, sensor 305, display unit 306, user input unit 307, interface unit 308, memory 309, processor 310, and power supply 311. Those skilled in the art will appreciate that the payment application server architecture shown in fig. 5 does not constitute a limitation of the payment application server, and that the payment application server may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the payment application server includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 310 is configured to, when the server receives a transaction request sent by the first electronic device, determine whether the target electronic device meets a preset condition; the target transaction account corresponding to the transaction request corresponds to the target electronic equipment; allowing the transaction request under the condition that the target electronic equipment meets the preset condition; wherein, the target electronic device satisfies the preset condition, which may include: the target electronic device currently displays the target transaction code.
In the embodiment of the present invention, when the server receives a transaction request sent by the first electronic device, the transaction request is allowed only when the target electronic device meets the preset condition, where the target electronic device corresponds to a target transaction account corresponding to the transaction request. In this way, whether the current transaction behavior is executed by the target electronic device is determined according to the operation condition in the target electronic device really corresponding to the target transaction account number in the transaction request, and the transaction can be allowed to be completed only under the condition that the target electronic device executes the transaction, so that the safety of the off-line code scanning transaction is improved, and the condition of stealing the target transaction code is avoided as much as possible.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 301 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 310; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 301 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 301 can also communicate with a network and other devices through a wireless communication system.
The payment application server provides wireless broadband internet access to the user via the network module 302, such as to assist the user in sending and receiving e-mail, browsing web pages, and accessing streaming media.
The audio output unit 303 may convert audio data received by the radio frequency unit 301 or the network module 302 or stored in the memory 309 into an audio signal and output as sound. Also, the audio output unit 303 may also provide audio output related to a specific function performed by the target electronic device 300 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 303 includes a speaker, a buzzer, a receiver, and the like.
The input unit 304 is used to receive audio or video signals. The input Unit 304 may include a Graphics Processing Unit (GPU) 3041 and a microphone 3042, and the Graphics processor 3041 processes image data of a still picture or video obtained by an image capturing apparatus (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 306. The image frames processed by the graphic processor 3041 may be stored in the memory 309 (or other storage medium) or transmitted via the radio frequency unit 301 or the network module 302. The microphone 3042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 301 in case of the phone call mode.
The target electronic device 300 also includes at least one sensor 305, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 3061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 3061 and/or a backlight when the target electronic device 300 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the attitude of the payment application server (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 305 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 306 is used to display information input by the user or information provided to the user. The Display unit 306 may include a Display panel 3061, and the Display panel 3061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 307 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the payment application server. Specifically, the user input unit 307 includes a touch panel 3071 and other input devices 3072. The touch panel 3071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 3071 (e.g., operations by a user on or near the touch panel 3071 using a finger, a stylus, or any suitable object or attachment). The touch panel 3071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 310, and receives and executes commands sent by the processor 310. In addition, the touch panel 3071 may be implemented using various types, such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 307 may include other input devices 3072 in addition to the touch panel 3071. Specifically, the other input devices 3072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein.
Further, the touch panel 3071 may be overlaid on the display panel 3061, and when the touch panel 3071 detects a touch operation on or near the touch panel, the touch operation is transmitted to the processor 310 to determine the type of the touch event, and then the processor 310 provides a corresponding visual output on the display panel 3061 according to the type of the touch event. Although in fig. 5, the touch panel 3071 and the display panel 3061 are implemented as two independent components to implement the input and output functions of the payment application server, in some embodiments, the touch panel 3071 and the display panel 3061 may be integrated to implement the input and output functions of the payment application server, which is not limited herein.
The interface unit 308 is an interface through which an external device is connected to the target electronic apparatus 300. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 308 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the target electronic apparatus 300 or may be used to transmit data between the target electronic apparatus 300 and an external device.
The memory 309 may be used to store software programs as well as various data. The memory 309 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 (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 309 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.
The processor 310 is a control center of the payment application server, connects various parts of the whole payment application server by using various interfaces and lines, and performs various functions and processes of the payment application server by running or executing software programs and/or modules stored in the memory 309 and calling data stored in the memory 309, thereby performing overall monitoring of the payment application server. Processor 310 may include one or more processing units; preferably, the processor 310 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 310.
The target electronic device 300 may further include a power supply 311 (such as a battery) for supplying power to various components, and preferably, the power supply 311 may be logically connected to the processor 310 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the target electronic device 300 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides a payment application server, which includes a processor 310, a memory 309, and a computer program stored in the memory 309 and capable of running on the processor 310, where the computer program, when executed by the processor 310, implements each process of the transaction method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the transaction method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A transaction method applied to a target electronic device is characterized by comprising the following steps:
under the condition that a server receives a transaction request sent by first electronic equipment, judging whether the target electronic equipment meets a preset condition or not; a target transaction account corresponding to the transaction request corresponds to the target electronic device;
allowing the transaction request if the target electronic device meets the preset condition;
wherein the target electronic device satisfies the preset condition, including:
the target electronic device currently displays a target transaction code.
2. The method of claim 1, wherein the target electronic device satisfies the preset condition, further comprising:
the target transaction code is displayed by a target transaction application in the second electronic device in response to a preset input by a user.
3. The method of claim 1, wherein the target electronic device satisfies the preset condition, further comprising:
the target image comprises target code scanning equipment, the type of the target code scanning equipment accords with the type of preset equipment, and the distance between the target electronic equipment and the target code scanning equipment is smaller than a preset distance threshold; the target image is an image shot by a target camera on the same side of the target electronic equipment as a screen displaying the target transaction code when the target transaction code is displayed.
4. The method of claim 1, wherein the target electronic device satisfies the preset condition, further comprising:
the target image does not contain a face image of a target user corresponding to the target electronic equipment; the target image is an image shot by a target camera on the same side of the target electronic equipment as a screen displaying the target transaction code when the target transaction code is displayed.
5. The method according to any one of claims 1-4, further comprising:
and under the condition that the target electronic equipment does not meet the preset condition, the transaction request is not allowed, and first prompt information is output.
6. A target electronic device, comprising:
the system comprises a judging module, a processing module and a processing module, wherein the judging module is used for judging whether target electronic equipment meets preset conditions or not under the condition that a server receives a transaction request sent by first electronic equipment; a target transaction account corresponding to the transaction request corresponds to the target electronic device; wherein the target electronic device satisfies the preset condition, including: the target electronic equipment currently displays a target transaction code;
and the transaction module is used for allowing the transaction request under the condition that the target electronic equipment meets the preset condition.
7. The target electronic device of claim 6, wherein the target electronic device satisfies the preset condition, further comprising:
and the target transaction application in the target electronic equipment is called according to preset input.
8. The target electronic device of claim 6, wherein the target electronic device satisfies the preset condition, further comprising:
the target image comprises target code scanning equipment, the type of the target code scanning equipment accords with the type of preset equipment, and the distance between the target electronic equipment and the target code scanning equipment is smaller than a preset distance threshold; the target image is an image shot by a target camera on the same side of the target electronic equipment as a screen displaying the target transaction code when the target transaction code is displayed.
9. The target electronic device of claim 6, wherein the target electronic device satisfies the preset condition, further comprising:
the target image does not contain a face image of a target user corresponding to the target electronic equipment; the target image is an image shot by a target camera on the same side of the target electronic equipment as a screen displaying the target transaction code when the target transaction code is displayed.
10. The target electronic device of any of claims 6-9, further comprising:
and the first prompt module is used for disallowing the transaction request and outputting first prompt information under the condition that the target electronic equipment does not meet the preset condition, wherein the first prompt information is used for prompting the user that the transaction fails.
CN202010075621.1A 2020-01-22 2020-01-22 Transaction method and target electronic equipment Pending CN111275431A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010075621.1A CN111275431A (en) 2020-01-22 2020-01-22 Transaction method and target electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010075621.1A CN111275431A (en) 2020-01-22 2020-01-22 Transaction method and target electronic equipment

Publications (1)

Publication Number Publication Date
CN111275431A true CN111275431A (en) 2020-06-12

Family

ID=71003462

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010075621.1A Pending CN111275431A (en) 2020-01-22 2020-01-22 Transaction method and target electronic equipment

Country Status (1)

Country Link
CN (1) CN111275431A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105608563A (en) * 2016-02-29 2016-05-25 宇龙计算机通信科技(深圳)有限公司 Payment processing method, related equipment and payment processing system
CN109447607A (en) * 2018-10-30 2019-03-08 ***股份有限公司 A kind of method of commerce and device of unit account
CN110020699A (en) * 2018-12-11 2019-07-16 阿里巴巴集团控股有限公司 A kind of figure code check method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105608563A (en) * 2016-02-29 2016-05-25 宇龙计算机通信科技(深圳)有限公司 Payment processing method, related equipment and payment processing system
CN109447607A (en) * 2018-10-30 2019-03-08 ***股份有限公司 A kind of method of commerce and device of unit account
CN110020699A (en) * 2018-12-11 2019-07-16 阿里巴巴集团控股有限公司 A kind of figure code check method and device

Similar Documents

Publication Publication Date Title
CN108629580B (en) Screen-off payment method and mobile terminal
CN110457888B (en) Verification code input method and device, electronic equipment and storage medium
CN111163260B (en) Camera starting method and electronic equipment
CN111144877B (en) Code scanning payment method and electronic equipment
CN111125770A (en) Privacy protection method and electronic equipment
CN109544172B (en) Display method and terminal equipment
CN108664818B (en) Unlocking control method and device
CN108769410B (en) Information sending method and mobile terminal
CN111064654A (en) Message display method and electronic equipment
CN108629280B (en) Face recognition method and mobile terminal
CN111342979B (en) Information processing method and electronic equipment
CN110837328B (en) Display method and electronic equipment
CN109858447B (en) Information processing method and terminal
CN110929238B (en) Information processing method and device
CN110490583B (en) Payment method and terminal equipment
CN109547330B (en) Information sharing method and device
CN108259807B (en) Communication method, mobile terminal and computer readable storage medium
CN108810276B (en) Face recognition method and mobile terminal
CN108459796B (en) Function key response method and mobile terminal
CN111104189A (en) Application program control method and electronic equipment
CN110766396A (en) Graphic code display method and electronic equipment
CN109409068B (en) Operation execution method and terminal
CN109523270B (en) Information processing method and terminal equipment
CN110286822B (en) Operation response method and terminal equipment
CN108320144B (en) Information processing method, application server and mobile terminal

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