CN110738486A - Receipt code storage method, payment method, device, equipment and medium - Google Patents

Receipt code storage method, payment method, device, equipment and medium Download PDF

Info

Publication number
CN110738486A
CN110738486A CN201910465754.7A CN201910465754A CN110738486A CN 110738486 A CN110738486 A CN 110738486A CN 201910465754 A CN201910465754 A CN 201910465754A CN 110738486 A CN110738486 A CN 110738486A
Authority
CN
China
Prior art keywords
code
image
position information
information
merchant
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
CN201910465754.7A
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201910465754.7A priority Critical patent/CN110738486A/en
Publication of CN110738486A publication Critical patent/CN110738486A/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/3276Short range or proximity payments by means of M-devices using a pictured code, e.g. barcode or QR-code, being read by 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/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/322Aspects of commerce using mobile devices [M-devices]
    • G06Q20/3224Transactions dependent on location of M-devices
    • 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/42Confirmation, e.g. check or permission by the legal debtor of payment

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 Networks & Wireless Communication (AREA)
  • Finance (AREA)
  • Cash Registers Or Receiving Machines (AREA)

Abstract

The invention discloses an money collection code storage method which comprises the steps of obtaining an image captured in real time through a mobile terminal camera, obtaining current position information of a mobile terminal as position information of a merchant corresponding to a money collection code when the image captured in real time through the mobile terminal camera is judged to contain the money collection code, wherein the position information of the merchant comprises three-dimensional coordinate information, matching and storing the image containing the money collection code and the corresponding position information of the merchant to the local.

Description

Receipt code storage method, payment method, device, equipment and medium
Technical Field
The invention relates to the technical field of mobile payment, in particular to a storage method, a payment method, a device, equipment and a medium for cash registers.
Background
The buyer can use the mobile phone to purchase series services, digital products or physical commodities, and the unit or individual sends payment instructions to the bank financial institution directly or indirectly through mobile equipment, internet or close-range sensing to generate money payment and fund transfer behavior, thereby realizing the mobile payment function.
At present, mobile payment is gradually popularized and matured, a merchant can generate cash collecting codes according to rules of a payment system, and a third-party payment system can be opened by a user to scan the cash collecting codes through displaying on a counter, a wall or a dining table of the merchant so as to complete a payment transaction process.
Disclosure of Invention
In view of the above problems, an object of the present invention is to provide types of cash register code storage methods, payment methods, apparatuses, devices, and media, which can store a cash register code that a customer wants to store into a mobile terminal, call out a pre-stored cash register code matching a merchant through location information of the mobile terminal to perform identification payment, and avoid a cumbersome operation that the customer needs to perform code scanning payment for the cash register code.
In order to achieve the above object, an embodiment of the present invention provides collection code storage methods, where the collection code storage method includes:
acquiring an image captured in real time by a camera of a mobile terminal;
when the image captured in real time through the camera of the mobile terminal is judged to contain a collection code, acquiring the current position information of the mobile terminal as the position information of a merchant corresponding to the collection code;
matching and storing the image containing the cash register code and the corresponding merchant position information to the local; wherein the merchant location information comprises three-dimensional coordinate information.
As an improvement of the above solution, before the matching and storing the image containing the checkout code and the corresponding merchant location information to the local, the method further comprises:
marking the image containing the cash register code so as to obtain a marked cash register code image;
the matching and storing the image containing the cash register code and the corresponding merchant position information to the local specifically comprises:
and matching and storing the marked cash register image and the corresponding merchant position information to the local.
In preferred embodiments, the marking the image including the barcode to obtain the marked barcode image specifically includes:
receiving label information input by a user through a user terminal;
and marking the image containing the cash register code according to the label information to obtain a marked cash register code image.
As an improvement of the above scheme, the tag information includes payee information or collection keyword information corresponding to the collection code.
In another preferred embodiments, the marking the image including the receive code to obtain a marked receive code image specifically includes:
analyzing the money receiving code in the image to obtain the information of the payee;
identifying the image based on the payee information.
As an improvement of the above solution, the acquiring an image captured in real time by a camera of a mobile terminal includes:
and acquiring an image obtained by shooting through the mobile terminal camera or/and an image obtained by scanning through the mobile terminal camera.
As an improvement of the above scheme, after it is determined that the image captured by the camera of the mobile terminal in real time contains a collection code, the collection code storage method further includes:
cutting and compressing the image captured by the camera of the mobile terminal in real time to obtain a cash register picture; wherein, the cash register code picture contains effective cash register codes;
the step of matching and storing the image containing the cash register code and the corresponding merchant position information to the local specifically comprises the following steps:
and matching and storing the cash register picture and the corresponding merchant position information to the local.
As a refinement of the above, the three-dimensional coordinate information includes longitude, latitude, and altitude.
As an improvement of the above solution, after the matching storage of the image containing the checkout code and the corresponding merchant location information to the local, the method further includes:
and when the money receiving code contained in the image stored to the local reaches the preset time and is not identified so as to carry out payment operation, deleting the image containing the money receiving code from the local.
As an improvement of the above solution, after the matching storage of the image containing the checkout code and the corresponding merchant location information to the local, the method further includes:
periodically sending the collection code information contained in the image stored locally and the corresponding merchant position information to the server to confirm whether the update is needed;
when updating is needed, receiving a merchant reference collection code image sent by the server side to replace the collection code image matched with the merchant position information;
the service end is provided with merchant reference collection code images and corresponding merchant reference address areas, and when the collection code image corresponding to the merchant position information is different from the merchant reference collection code image corresponding to the merchant reference address area covering the merchant position information in the service end, the collection code image needs to be updated.
The embodiment of of the invention correspondingly provides a kinds of collection code storage devices, which comprise:
the image acquisition module is used for acquiring images captured in real time through a camera of the mobile terminal;
the merchant position information acquisition module is used for acquiring the current position information of the mobile terminal as the merchant position information corresponding to the collection code when the fact that the image captured in real time through the camera of the mobile terminal contains the collection code is judged; wherein the merchant location information comprises three-dimensional coordinate information;
and the storage module is used for matching and storing the image containing the cash register code and the corresponding merchant position information to the local.
As an improvement of the above-mentioned solution, the collection code storage device further includes:
the marking module is used for marking the image containing the cash register code so as to obtain a marked cash register code image;
the storage module is further configured to:
and matching and storing the marked cash register image and the corresponding merchant position information to the local.
As an improvement of the above scheme, the marking module specifically includes:
a tag information receiving unit for receiving tag information input by a user;
and the image marking unit is used for marking the image containing the cash register code according to the label information to obtain a marked cash register code image.
As an improvement of the above scheme, the tag information includes payee information or collection keyword information corresponding to the collection code.
As an improvement of the above scheme, the marking module specifically includes:
the analysis unit is used for analyzing the money receiving code in the image to obtain the information of the payee;
an image marking unit that identifies the image based on the payee information.
As an improvement of the above solution, the image acquisition module is further configured to:
and acquiring an image obtained by shooting through the mobile terminal camera or/and an image obtained by scanning through the mobile terminal camera.
As an improvement of the above-mentioned solution, the collection code storage device further includes:
the image processing module is used for cutting and compressing the image captured by the camera of the mobile terminal in real time to obtain a cash register picture; wherein, the cash register code picture contains effective cash register codes;
the storage module is further configured to:
and matching and storing the cash register picture and the current position information of the mobile terminal to the local.
As a refinement of the above, the three-dimensional coordinate information includes longitude, latitude, and altitude.
As an improvement of the above-mentioned solution, the collection code storage device further includes:
and the money receiving code deleting module is used for deleting the image containing the money receiving code from the local place when the money receiving code contained in the image stored to the local place reaches the preset time and is not identified so as to carry out payment operation.
As an improvement of the above-mentioned solution, the collection code storage device further includes:
an update module for periodically sending the collection code information contained in the image stored locally and the corresponding merchant position information to the server to confirm whether the update is needed, and
when updating is needed, receiving a merchant reference collection code image sent by the server side to replace the collection code image matched with the merchant position information;
the service end is provided with merchant reference collection code images and corresponding merchant reference address areas, and when the collection code image corresponding to the merchant position information is different from the merchant reference collection code image corresponding to the merchant reference address area covering the merchant position information in the service end, the collection code image needs to be updated.
The embodiment of the invention also provides provides payment methods for realizing field code scanning-free based on position information, which comprises the following steps:
responding to a code scanning payment operation of a current payment system, and acquiring current position information of the mobile terminal;
comparing the current position information of the mobile terminal with locally pre-stored merchant position information to obtain at least merchant position information of which the comparison difference value is smaller than a preset threshold value;
displaying the cash register code images matched with the acquired position information of the at least merchants;
in response to a selection instruction for the selected pay code image of any of the displayed , identifying a pay code in the selected pay code image to complete a payment operation;
wherein, the merchant position information and the matched cash register code image are stored locally by adopting the cash register code storage method as described in any embodiment.
As an improvement of the above solution, the method comprises the steps of:
and when the merchant position information with the difference value smaller than the preset threshold value compared with the current position information of the mobile terminal cannot be obtained from the local, informing a user of adjusting the current position of the mobile terminal or informing the user of carrying out field code scanning operation.
As an improvement of the above, characterized in that the three-dimensional coordinate information includes longitude, latitude, and altitude;
the comparing the current position information of the mobile terminal with the locally pre-stored position information of the merchant specifically comprises:
respectively carrying out difference operation on longitude, latitude and altitude in the current position information of the mobile terminal and the longitude, latitude and altitude in the merchant position information prestored in each of the mobile terminal, and taking absolute values to respectively obtain a longitude difference absolute value, a latitude difference absolute value and an altitude difference absolute value;
comparing the absolute value of the longitude difference between the current position information of the mobile terminal and each pre-stored position information with a preset longitude threshold;
comparing the absolute value of the latitude difference between the current position information of the mobile terminal and each pre-stored position information with a preset latitude threshold value;
comparing the absolute value of the altitude difference between the current position information of the mobile terminal and each pre-stored position information with a preset altitude threshold;
and for:
and or a plurality of pre-stored merchant position information of which the absolute value of the longitude difference is smaller than a preset longitude threshold, the absolute value of the latitude difference is smaller than a preset latitude threshold and the absolute value of the altitude difference is smaller than a preset altitude threshold is obtained.
As an improvement of the above scheme, the displaying the cash register code image matched with the acquired location information of the at least merchants specifically includes:
and displaying the payee code images matched with the acquired position information of at least merchants and corresponding marks , wherein each payee code image is marked based on payee information obtained by analyzing the payee code information in the payee code images when being prestored locally or is marked based on label information input by a user.
As an improvement of the above scheme, after obtaining at least pieces of merchant location information for which the comparison difference value is smaller than the preset threshold, the method further includes:
sorting the cash register images matched with the acquired position information of at least merchants from small to large according to the comparison difference values;
the displaying the cash register code images matched with the acquired location information of at least merchants specifically comprises:
and displaying the cash register code images which are sequentially ordered from small to large according to the comparison difference value.
The embodiment of the invention also provides provides payment devices for realizing field code scanning-free based on position information, which comprises:
the position information acquisition module is used for responding to code scanning payment operation of the current payment system and acquiring the current position information of the mobile terminal;
the merchant position information acquisition module is used for comparing the current position information of the mobile terminal with locally pre-stored merchant position information so as to acquire at least merchant position information of which the comparison difference value is smaller than a preset threshold value;
the cash register image display module is used for displaying the cash register images matched with the acquired position information of the at least merchants;
the collection code image identification module is used for responding to a selection instruction of the collection code image of any displayed component , and identifying the collection code in the selected collection code image to complete payment operation;
wherein the merchant location information and the matching checkout code image are stored locally using a checkout code storage device as described in any of the embodiments above.
As an improvement of the above, the apparatus further comprises:
and the notification module is used for notifying a user to adjust the current position of the mobile terminal or notifying the user to carry out field code scanning operation when the merchant position information which is compared with the current position information of the mobile terminal and has a difference value smaller than a preset threshold value cannot be obtained from the local.
As a refinement of the above solution, the three-dimensional coordinate information includes a longitude, a latitude, and an altitude;
the merchant location information acquisition module is further configured to:
respectively carrying out difference operation on longitude, latitude and altitude in the current position information of the mobile terminal and the longitude, latitude and altitude in the merchant position information prestored in each of the mobile terminal, and taking absolute values to respectively obtain a longitude difference absolute value, a latitude difference absolute value and an altitude difference absolute value;
comparing the absolute value of the longitude difference between the current position information of the mobile terminal and each pre-stored position information with a preset longitude threshold;
comparing the absolute value of the latitude difference between the current position information of the mobile terminal and each pre-stored position information with a preset latitude threshold value;
comparing the absolute value of the altitude difference between the current position information of the mobile terminal and each pre-stored position information with a preset altitude threshold;
the obtaining of or more pieces of prestored position information with the comparison difference value smaller than the preset threshold specifically includes:
and or a plurality of pre-stored merchant position information of which the absolute value of the longitude difference is smaller than a preset longitude threshold, the absolute value of the latitude difference is smaller than a preset latitude threshold and the absolute value of the altitude difference is smaller than a preset altitude threshold is obtained.
As an improvement of the above solution, the barcode image display module further is configured to:
and displaying the payee code images matched with the acquired position information of at least merchants and corresponding marks , wherein each payee code image is marked based on payee information obtained by analyzing the payee code information in the payee code images when being prestored locally or is marked based on label information input by a user.
As an improvement of the above, the apparatus further comprises:
the sorting module is used for sequentially sorting the collection code images matched with the acquired position information of the at least merchants from small to large according to the comparison difference values;
the collection code image display module is further used for:
and displaying the cash register code images which are sequentially ordered from small to large according to the comparison difference value.
The embodiment of the present invention further provides terminal devices, where the terminal device includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and when the processor executes the computer program, the processor implements the cash register storage method described in any embodiment or the field scanning-free payment method based on location information described in any embodiment.
The embodiment of the present invention further provides computer-readable storage media, where the computer-readable storage media includes a stored computer program, where the computer program is executed to control a device on which the computer-readable storage media is located to perform a cash register code storage method as described in any embodiment or a payment method for realizing field code scanning-free payment based on location information as described in any embodiment.
Compared with the prior art, the receiving code storage method, the payment device, the payment equipment and the payment medium provided by the embodiment of the invention have the advantages that the image captured in real time through the mobile terminal camera is obtained, when the image captured in real time through the mobile terminal camera is judged to contain the receiving code, the current position information of the mobile terminal is obtained and is used as the position information (three-dimensional coordinate information) of the merchant corresponding to the receiving code, and the image containing the receiving code and the corresponding position information of the merchant are matched and stored to the local. Therefore, when the triggering scanning payment operation needs to be carried out through the third-party payment platform, the pre-stored merchant position information and the corresponding matched cash register code image can be acquired based on the current position information of the mobile terminal to carry out cash register code identification, and therefore the payment operation is completed. Therefore, the invention can store the money receiving code which the customer wants to store into the mobile terminal, and the prestored money receiving code matched with the merchant is called out through the position information of the mobile terminal for identification payment, thereby avoiding the complexity that the customer needs to align the money receiving code for code scanning payment and bringing great convenience to the payment of the user.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic flow chart of an collection code storage method according to an embodiment of the present invention.
Fig. 2 is a schematic structural diagram of types of receipt code storage devices according to an embodiment of the present invention.
Fig. 3 is a schematic flowchart of payment methods for implementing code scanning without presence based on location information according to an embodiment of the present invention.
Fig. 4 is a schematic structural diagram of payment devices for implementing field code scanning-free based on location information according to an embodiment of the present invention.
Fig. 5 is a schematic structural diagram of kinds of terminal devices provided in the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only partial embodiments of of the present invention, rather than all embodiments.
Fig. 1 is a schematic flow chart illustrating a method for storing a payment code according to an embodiment of the present invention. The method for storing the cash receipt code provided by the embodiment comprises the following steps of S101 to S103:
s101, acquiring an image captured in real time by a camera of the mobile terminal;
s102, when the image captured in real time through the camera of the mobile terminal is judged to contain a cash register, acquiring the current position information of the mobile terminal as the position information of a merchant corresponding to the cash register; wherein the merchant location information comprises three-dimensional coordinate information;
s103, matching and storing the image containing the cash register code and the corresponding merchant position information to the local.
In step S101, an image obtained by real-time shooting by a camera of a user terminal is acquired, or/and an image obtained by real-time scanning by the camera of the user terminal is acquired, it is understood that the method for storing a payment code provided by the embodiment of the present invention is applicable to a mobile terminal with a camera, a system (client) implementing the method for storing a payment code provided by the present invention allows accessing a photo (including shooting and scanning acquisition) obtained by the camera of the mobile terminal in real time, that is, the real-time capture of an image by the camera of the mobile terminal is a trigger condition for the method for storing a payment code provided by the embodiment of the present invention, and when the image is captured by the camera of the mobile terminal in real time, the image is directly sent to the system (client) implementing the method for storing a payment code provided by the present invention for judgment, or when the image is captured by the camera of the mobile terminal in real time, a notification is sent to the system (client) implementing the method for storing a payment code provided by the present invention, and when the system (client) implementing the method for capturing an image by the camera of storing a payment code is capable of actively accessing a merchant to obtain a payment position for a payment code, thereby enabling a merchant to be automatically displayed on a geographical map, so that the merchant, the merchant can be displayed on a geographical map, and the merchant, so that the merchant can be displayed on the merchant, the merchant can be displayed on the merchant, and the merchant.
In step S102, it is first determined whether the acquired image includes a cash register, and when it is determined that the image includes a cash register, the image is stored. In addition, because the image containing the money receiving code is acquired in real time based on the camera, particularly, the position of the merchant is stored in a correlated manner according to the money receiving code image acquired when the merchant money receiving code is scanned and paid through the camera, when the money receiving code image is captured in real time through the camera of the mobile terminal, the position information of the current position of the mobile terminal can be used as the position information of the merchant corresponding to the money receiving code and is stored in a matched manner with the money receiving code. It can be understood that, the determination of whether the acquired image includes the cash register and the acquisition of the current location information of the mobile terminal are familiar to those skilled in the relevant technical field, and are not described herein again. The merchant position information comprises three-dimensional coordinate information, and the three-dimensional coordinate information comprises longitude, latitude and altitude.
In addition, the money receiving code image mentioned in the embodiment of the invention is a two-dimensional code image and is used as the money receiving of the merchant. It is understood that the payment receiving code may be a dedicated payment receiving code of any third party platform (for example, a payment platform such as WeChat, Paibao, Unionpay, etc.), or may be a common payment receiving code of any third party platform.
Preferably, in this embodiment, the step S103 specifically includes the following steps:
s1031, cutting and compressing the image captured by the camera of the mobile terminal in real time to obtain a cash register picture; wherein, the cash register code picture contains effective cash register codes;
s1032, matching and storing the cash register picture and the merchant position information to the local.
Specifically, with reference to the foregoing embodiment, when it is determined that the image includes the collection code, before the image is matched and stored, the image is cut and compressed to obtain an effective collection code picture included in the image, and then the collection code picture and the merchant location information are matched and stored locally (specifically, in a preset collection code storage area). Therefore, through the preferred embodiment, the image containing the collection code acquired by the camera in real time is subjected to image processing to acquire effective collection code information for storage, so that the phenomenon that the image obtained by the camera in real time contains other unnecessary information to cause unnecessary waste of storage space resources due to overlarge image is avoided.
In an preferred embodiment, the step S103 specifically includes the following steps:
s1033, marking the image containing the cash register code to obtain a marked cash register code image;
s1034, matching and storing the marked cash register image and the corresponding merchant position information to the local.
It is understood that the step S1033 may also be executed after the step S1031 of the above preferred embodiment, that is, the payee code picture after the image cutting and compression processing is marked and then stored.
In preferred embodiments, the step S1033 specifically includes:
s10331, receiving label information input by a user through a user terminal;
s10332, marking the image containing the cash register code according to the label information to obtain a marked cash register code image.
Specifically, with reference to the foregoing embodiment, when it is determined that the image includes the cash register code, the annotation window is displayed through the terminal interface of the user terminal, and the user can input corresponding tag information in the annotation window, so that the image including the cash register code is marked according to the received tag information, and the marked cash register code image is correspondingly obtained.
In still another preferred embodiments, before the tagging the image according to the tag information, the method further comprises:
judging whether an image mark identical to the label information exists in the cash register storage area or not;
then, the marking the image according to the tag information specifically includes:
if not, marking the image according to the label information, if so, comparing the cash register code image corresponding to the image mark with the image containing the cash register code, if is true, prompting the user that the image containing the cash register code is stored in the cash register code storage area, and if not is true, prompting the user to change the label information so as to mark the image according to the changed label information.
Specifically, with reference to the foregoing embodiment, after receiving tag information input by a user through a user terminal, determining the tag information to determine whether an image tag corresponding to a stored collection code image includes an image tag that is identical to the tag information, if the determination result is negative, indicating that the image tag corresponding to the stored collection code image does not include an image tag that is identical to the tag information, tagging the image including the collection code according to the tag information to obtain a marked collection code image, if the determination result is positive, indicating that the image tag corresponding to the stored collection code image includes an image tag that is identical to the tag information, comparing the collection code image corresponding to the identical image tag with the image including the collection code, if two collection codes result, prompting the user that the image includes the collection code in the collection code storage area, and if the two collection codes do not reach , prompting the user to re-input new tag information (for the same reason, new tag information is determined), and obtaining the corresponding collection code image tag according to the new collection code information.
Preferably, the tag information includes payee information, collection keyword information, or payment platform information corresponding to a collection code included in the image.
Specifically, the tag information may be payee information corresponding to a payee code included in the image, such as a name and an occupation of a payee, or corresponding payee keyword information, such as an XX convenience store, a community property management, or corresponding payment platform information, such as a WeChat, a Paibao, a UnionPay, or general information corresponding to a general payee code across multiple platforms, and in addition, the tag information may also be a user-defined tag, which is not limited in the present invention.
In another preferred embodiment of , the step S1033 specifically includes the following steps:
s10333, analyzing the money receiving code in the image to obtain payee information;
s10334, identifying the image based on the payee information.
Specifically, with reference to the foregoing embodiment, when it is determined that the image includes the payee code, the payee code included in the image is analyzed to obtain payee information corresponding to the payee code, so that the image including the payee code is marked according to the payee information obtained by the analysis, and a marked payee code image is correspondingly obtained.
In yet another preferred embodiments, before the marking the image according to the payee information, the method further comprises:
judging whether an image mark identical to the payee information exists in the payee code storage area or not;
then, the marking the image according to the payee information specifically includes:
if not, marking the image according to the payee information; if yes, prompting the user that the image stored in the cash register storage area contains the cash register.
Specifically, with reference to the foregoing embodiment, when it is determined that the image includes the payee code, first analyzing the payee code included in the image to obtain payee information corresponding to the payee code, then determining the payee information to determine whether an image tag corresponding to the stored payee code image is the same as the payee information, if the determination result is negative, it is determined that the image tag corresponding to the stored payee code image is the same as the payee information, marking the image including the payee code according to the payee information, and correspondingly obtaining a marked payee code image; if the judgment result is yes, the user is prompted that the image mark corresponding to the stored cash register image contains the same image mark as the payee information, and the user is prompted that the image stored in the cash register storage area contains the cash register.
In still another preferred embodiments, after the step S103, the method further includes the step S104 of deleting the image containing the money receiving code from the local area when the money receiving code contained in the image stored to the local area reaches a preset time without being recognized for a payment operation.
Specifically, in connection with the above-described embodiment, when any barcode images that have been stored in the barcode storage area are not used within a preset time period, the barcode images are deleted from the barcode storage area, so that the occupation of the storage space can be reduced.
In still another preferred embodiments, after the step S103, the method further includes the steps of:
s105, regularly sending the collection code information contained in the image stored locally and the corresponding merchant position information to a server side to confirm whether updating is needed or not;
s106, when updating is needed, receiving a merchant reference collection code image sent by the server side to replace the collection code image matched with the merchant position information;
the service end is provided with merchant reference collection code images and corresponding merchant reference address areas, and when the collection code image corresponding to the merchant position information is different from the merchant reference collection code image corresponding to the merchant reference address area covering the merchant position information in the service end, the collection code image needs to be updated.
It can be understood that, in the preferred embodiment, when it is confirmed that the updating is needed, only the reference collection code image of the merchant at the service end needs to be downloaded to the user terminal to replace the collection code image corresponding to the location information of the merchant. Therefore, the preferred embodiment can ensure that the collection code image stored in the user terminal is updated correspondingly in time when the geographical position of the merchant is changed.
Referring to fig. 2, a schematic structural diagram of types of collection code storage devices according to an embodiment of the present invention is shown, where the collection code storage device according to the embodiment includes:
an image acquisition module 201, configured to acquire an image captured in real time by a camera of a mobile terminal;
the merchant position information acquiring module 202 is configured to acquire current position information of the mobile terminal as merchant position information corresponding to a collection code when it is determined that an image captured in real time by a camera of the mobile terminal includes the collection code; wherein the merchant location information comprises three-dimensional coordinate information
The storage module 203 is configured to match and store the image containing the cash register code and the corresponding merchant location information to the local.
In preferred embodiments, the collection code storage device further comprises:
the marking module is used for marking the image containing the cash register code so as to obtain a marked cash register code image;
the storage module 203 further is configured to:
and matching and storing the marked cash register image and the corresponding merchant position information to the local.
In another preferred embodiment of , the labeling module specifically includes:
a tag information receiving unit for receiving tag information input by a user;
and the image marking unit is used for marking the image containing the cash register code according to the label information to obtain a marked cash register code image.
In still another preferred embodiment, the label information includes payee information or collection keyword information corresponding to the collection code.
In another preferred embodiment of , the labeling module specifically includes:
the analysis unit is used for analyzing the money receiving code in the image to obtain the information of the payee;
an image marking unit that identifies the image based on the payee information.
In yet another preferred embodiment, the image acquisition module further steps for:
and acquiring an image obtained by shooting through the mobile terminal camera or/and an image obtained by scanning through the mobile terminal camera.
In a further preferred embodiment , the debit code storage means further comprises:
the image processing module is used for cutting and compressing the image captured by the camera of the mobile terminal in real time to obtain a cash register picture; wherein, the cash register code picture contains effective cash register codes;
the storage module is further configured to:
and matching and storing the cash register picture and the current position information of the mobile terminal to the local.
In a further preferred embodiment , the three-dimensional coordinate information includes longitude, latitude, and altitude.
In a further preferred embodiment , the debit code storage means further comprises:
and the money receiving code deleting module is used for deleting the image containing the money receiving code from the local place when the money receiving code contained in the image stored to the local place reaches the preset time and is not identified so as to carry out payment operation.
In a further preferred embodiment , the debit code storage means further comprises:
an update module for periodically sending the collection code information contained in the image stored locally and the corresponding merchant position information to the server to confirm whether the update is needed, and
when updating is needed, receiving a merchant reference collection code image sent by the server side to replace the collection code image matched with the merchant position information;
the service end is provided with merchant reference collection code images and corresponding merchant reference address areas, and when the collection code image corresponding to the merchant position information is different from the merchant reference collection code image corresponding to the merchant reference address area covering the merchant position information in the service end, the collection code image needs to be updated.
The types of receiving code storage devices provided in the embodiment of the present invention can implement all the processes of the receiving code storage method described in any embodiment, and the functions and technical effects of the modules and units in the device are respectively the same as those of the receiving code storage method described in the embodiment described above, and are not described herein again.
Referring to fig. 3, an embodiment of the present invention provides payment methods for implementing code scanning without field based on location information, where the method includes the following steps:
s301, responding to a code scanning payment operation of a current payment system, and acquiring current position information of the mobile terminal;
s302, comparing the current position information of the mobile terminal with locally pre-stored merchant position information to obtain at least merchant position information of which the comparison difference value is smaller than a preset threshold value;
s303, displaying the cash register code images matched with the acquired position information of at least merchants, wherein the position information of the merchants and the matched cash register code images are stored locally by adopting the cash register code storage method of any embodiment;
s304, responding to a selected instruction of any displayed cash register image, and identifying the cash register in the selected cash register image to complete the payment operation.
In preferred embodiments, the payment method further comprises the steps of:
and when the merchant position information with the difference value smaller than the preset threshold value compared with the current position information of the mobile terminal cannot be obtained from the local, informing a user of adjusting the current position of the mobile terminal or informing the user of carrying out field code scanning operation.
In another preferred embodiment, the comparing the current location information of the mobile terminal with the local pre-stored merchant location information in step S302 specifically includes:
respectively carrying out difference operation on longitude, latitude and altitude in the current position information of the mobile terminal and the longitude, latitude and altitude in the merchant position information prestored in each of the mobile terminal, and taking absolute values to respectively obtain a longitude difference absolute value, a latitude difference absolute value and an altitude difference absolute value;
comparing the absolute value of the longitude difference between the current position information of the mobile terminal and each pre-stored position information with a preset longitude threshold;
comparing the absolute value of the latitude difference between the current position information of the mobile terminal and each pre-stored position information with a preset latitude threshold value;
comparing the absolute value of the altitude difference between the current position information of the mobile terminal and each pre-stored position information with a preset altitude threshold;
correspondingly, the obtaining of or more pieces of pre-stored location information with the comparison difference value smaller than the preset threshold in step S302 specifically includes:
and or a plurality of pre-stored merchant position information of which the absolute value of the longitude difference is smaller than a preset longitude threshold, the absolute value of the latitude difference is smaller than a preset latitude threshold and the absolute value of the altitude difference is smaller than a preset altitude threshold is obtained.
As an improvement of the above scheme, the displaying the cash register code image matched with the acquired location information of the at least merchants specifically includes:
and displaying the payee code images matched with the acquired position information of at least merchants and corresponding marks , wherein each payee code image is marked based on payee information obtained by analyzing the payee code information in the payee code images when being prestored locally or is marked based on label information input by a user.
In another preferred embodiment, after the obtaining and comparing at least pieces of merchant location information with the difference value smaller than the preset threshold in step S302, the method further includes:
sorting the cash register images matched with the acquired position information of at least merchants from small to large according to the comparison difference values;
the displaying the cash register code images matched with the acquired location information of at least merchants specifically comprises:
and displaying the cash register code images which are sequentially ordered from small to large according to the comparison difference value.
It can be understood that when any third party payment system (platform) is adopted to implement the invention for payment, the corresponding payment receiving code can be called for payment operation based on the payment platform information in the tag information during the storage of the payment receiving code. For example, when the payment treasure is used as a third-party payment system for payment, the payment platform information with the tag information of the "payment treasure" or the "universal" can be called out based on the real-time geographic position for payment operation.
Therefore, the payment method for realizing field code scanning-free based on the position information provided by the embodiment of the invention can acquire the pre-stored position information of the merchant and the corresponding matched cash code image based on the current position information of the mobile terminal to perform cash code identification so as to complete payment operation after the position information of the merchant and the matched cash code image are locally stored by adopting the cash code storage method described in any embodiment.
Referring to fig. 4, an embodiment of the present invention provides types of payment apparatuses for realizing field code scanning exemption based on location information, where the apparatus includes:
a location information obtaining module 401, configured to respond to a code scanning payment operation of a current payment system, and obtain current location information of a mobile terminal;
a merchant location information obtaining module 402, configured to compare current location information of the mobile terminal with locally pre-stored merchant location information, so as to obtain at least pieces of merchant location information whose comparison difference is smaller than a preset threshold;
a cash register image display module 403, configured to display cash register images matched with the obtained location information of the at least merchants;
a collection code image identification module 404, configured to respond to a selection instruction for the collection code image of any one of the displayed , and identify a collection code in the selected collection code image to complete a payment operation;
wherein the merchant location information and the matching checkout code image are stored locally using a checkout code storage device as described in any of the embodiments above.
In the preferred embodiment, the payment device further includes:
and the notification module is used for notifying a user to adjust the current position of the mobile terminal or notifying the user to carry out field code scanning operation when the merchant position information which is compared with the current position information of the mobile terminal and has a difference value smaller than a preset threshold value cannot be obtained from the local.
In another preferred embodiment, the three-dimensional coordinate information includes longitude, latitude and altitude, and the merchant location information acquisition module 402 further is configured to:
respectively carrying out difference operation on longitude, latitude and altitude in the current position information of the mobile terminal and the longitude, latitude and altitude in the merchant position information prestored in each of the mobile terminal, and taking absolute values to respectively obtain a longitude difference absolute value, a latitude difference absolute value and an altitude difference absolute value;
comparing the absolute value of the longitude difference between the current position information of the mobile terminal and each pre-stored position information with a preset longitude threshold;
comparing the absolute value of the latitude difference between the current position information of the mobile terminal and each pre-stored position information with a preset latitude threshold value;
comparing the absolute value of the altitude difference between the current position information of the mobile terminal and each pre-stored position information with a preset altitude threshold;
and for:
and or a plurality of pre-stored merchant position information of which the absolute value of the longitude difference is smaller than a preset longitude threshold, the absolute value of the latitude difference is smaller than a preset latitude threshold and the absolute value of the altitude difference is smaller than a preset altitude threshold is obtained.
In another preferred embodiment, the collection code image display module 403 further steps are for:
and displaying the payee code images matched with the acquired position information of at least merchants and corresponding marks , wherein each payee code image is marked based on payee information obtained by analyzing the payee code information in the payee code images when being prestored locally or is marked based on label information input by a user.
In another preferred embodiment, the payment device further comprises:
the sorting module is used for sequentially sorting the collection code images matched with the acquired position information of the at least merchants from small to large according to the comparison difference values;
the receipt code image display module 403 further is configured to:
and displaying the cash register code images which are sequentially ordered from small to large according to the comparison difference value.
The payment devices for realizing field code scanning-free based on location information provided by the embodiment of the invention can realize all processes of the payment method for realizing field code scanning-free based on location information described in any embodiment, and the functions and realized technical effects of each module and unit in the device are respectively the same as those of the payment method for realizing field code scanning-free based on location information described in the embodiment and realized technical effects, and are not described herein again.
The embodiment of the present invention further provides computer-readable storage media, where the computer-readable storage media include a stored computer program, where the computer program, when running, controls a device where the computer-readable storage media is located to execute the method for storing a cash register code according to the foregoing any embodiment or the method for realizing a payment method without scanning a code on site based on location information according to the foregoing any embodiment.
The terminal devices are further provided in an embodiment of the present invention, referring to fig. 5, where the terminal device includes a processor 110, a memory 120, and a computer program stored in the memory 120 and configured to be executed by the processor 110, and when the processor 110 executes the computer program, the processor 110 implements the cash register code storage method described in any embodiment or the payment method for implementing a field code scanning-free payment method based on location information described in any embodiment.
Preferably, the computer program can be divided into or more modules/units (e.g. computer program 1, computer program 2,. cndot. cndot.) and the or more modules/units are stored in the memory 120 and executed by the processor 110 to complete the invention. the or more modules/units can be series of computer program instruction segments for describing the execution of the computer program in the device, which can accomplish specific functions.
The Processor 110 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Array (FPGA) or other Programmable logic device, discrete or transistor logic device, discrete hardware components, etc., the general purpose Processor may be a microprocessor, or the Processor 110 may be any conventional Processor, the Processor 110 is a control center of the apparatus, and various interfaces and lines are used to connect various parts of the apparatus.
In addition, the memory 120 may be a high speed random access memory, but may also be a non-volatile memory, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, or the memory 120 may also be other volatile solid state memory devices.
It should be noted that the above-mentioned apparatus may include, but is not limited to, a processor and a memory, and those skilled in the art will understand that the structural block diagram of fig. 5 is only an example of the above-mentioned apparatus, and does not constitute a limitation of the apparatus, and may include more or less components than those shown, or combine some components, or different components.
While the above disclosure describes preferred embodiments of the present invention, it is understood that the scope of the present invention should not be limited thereby, and it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1, kinds of collection code storage method, characterized by that, collection code storage method includes:
acquiring an image captured in real time by a camera of a mobile terminal;
when the image captured in real time through the camera of the mobile terminal is judged to contain a collection code, acquiring the current position information of the mobile terminal as the position information of a merchant corresponding to the collection code; wherein the merchant location information comprises three-dimensional coordinate information;
and matching and storing the image containing the cash register code and the corresponding merchant position information to the local.
2. The method of claim 1, wherein the matching and storing the image containing the checkout code and the corresponding merchant location information locally further comprises:
marking the image containing the cash register code so as to obtain a marked cash register code image;
the matching and storing the image containing the cash register code and the corresponding merchant position information to the local specifically comprises:
and matching and storing the marked cash register image and the corresponding merchant position information to the local.
3. The method of claim 2, wherein the marking the image containing the checkout code to obtain the marked checkout code image comprises:
receiving label information input by a user through a user terminal;
and marking the image containing the cash register code according to the label information to obtain a marked cash register code image.
4. The receipt code storage method according to claim 3, wherein the tag information includes payee information or collection keyword information corresponding to the receipt code.
5. The method for storing a checkout code according to claim 2, wherein said marking the image including the checkout code to obtain the marked checkout code image comprises:
analyzing the money receiving code in the image to obtain the information of the payee;
identifying the image based on the payee information.
The collection code storage device of kinds, characterized by comprising:
the image acquisition module is used for acquiring images captured in real time through a camera of the mobile terminal;
the merchant position information acquisition module is used for acquiring the current position information of the mobile terminal as the merchant position information corresponding to the collection code when the fact that the image captured in real time through the camera of the mobile terminal contains the collection code is judged; wherein the merchant location information comprises three-dimensional coordinate information;
and the storage module is used for matching and storing the image containing the cash register code and the corresponding merchant position information to the local.
7, kinds of payment methods based on position information to realize exempting from on-the-spot scanning code, characterized by, including the following steps:
responding to a code scanning payment operation of a current payment system, and acquiring current position information of the mobile terminal;
comparing the current position information of the mobile terminal with locally pre-stored merchant position information to obtain at least merchant position information of which the comparison difference value is smaller than a preset threshold value;
displaying the cash register code images matched with the acquired position information of the at least merchants;
in response to a selection instruction for the selected pay code image of any of the displayed , identifying a pay code in the selected pay code image to complete a payment operation;
the merchant position information and the matched collection code image are stored locally by adopting the collection code storage method as claimed in any of claims 1-10.
8, kind of payment device based on code is swept in place to realization exempts from based on positional information, its characterized in that includes:
the position information acquisition module is used for responding to code scanning payment operation of the current payment system and acquiring the current position information of the mobile terminal;
the merchant position information acquisition module is used for comparing the current position information of the mobile terminal with locally pre-stored merchant position information so as to acquire at least merchant position information of which the comparison difference value is smaller than a preset threshold value;
the cash register image display module is used for displaying the cash register images matched with the acquired position information of the at least merchants;
the collection code image identification module is used for responding to a selection instruction of the collection code image of any displayed component , and identifying the collection code in the selected collection code image to complete payment operation;
wherein the merchant location information and the matching checkout image are stored locally using the checkout storage apparatus as claimed in any of claims 11 to 20.
Terminal device of kinds, characterized in that the terminal device comprises a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, the processor when executing the computer program realizes the cash register storage method of any of claims 1 to 5 or the payment method of realizing field scanning free payment based on location information of claim 7.
10, computer-readable storage media, wherein the computer-readable storage media comprises a stored computer program, wherein when the computer program runs, the computer-readable storage media is controlled to execute the method for storing cash register code according to any one of claims 1 to 5 and or the method for payment based on location information and realizing field scanning free code according to claim 7.
CN201910465754.7A 2019-05-30 2019-05-30 Receipt code storage method, payment method, device, equipment and medium Pending CN110738486A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910465754.7A CN110738486A (en) 2019-05-30 2019-05-30 Receipt code storage method, payment method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910465754.7A CN110738486A (en) 2019-05-30 2019-05-30 Receipt code storage method, payment method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN110738486A true CN110738486A (en) 2020-01-31

Family

ID=69236665

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910465754.7A Pending CN110738486A (en) 2019-05-30 2019-05-30 Receipt code storage method, payment method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN110738486A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104038701A (en) * 2014-07-01 2014-09-10 宇龙计算机通信科技(深圳)有限公司 Method and system for terminal shooting and terminal
CN108122105A (en) * 2017-12-21 2018-06-05 维沃移动通信有限公司 A kind of method of payment and mobile terminal
CN108171506A (en) * 2017-12-27 2018-06-15 珠海市魅族科技有限公司 A kind of method of mobile payment and terminal, electronic equipment and readable storage medium storing program for executing
CN108647957A (en) * 2018-05-11 2018-10-12 维沃移动通信有限公司 A kind of method of payment, device and mobile terminal
CN109102280A (en) * 2018-08-01 2018-12-28 福州市晋安区绿奇鑫环保科技有限公司 A kind of the safety verification method and server of barcode scanning payment environment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104038701A (en) * 2014-07-01 2014-09-10 宇龙计算机通信科技(深圳)有限公司 Method and system for terminal shooting and terminal
CN108122105A (en) * 2017-12-21 2018-06-05 维沃移动通信有限公司 A kind of method of payment and mobile terminal
CN108171506A (en) * 2017-12-27 2018-06-15 珠海市魅族科技有限公司 A kind of method of mobile payment and terminal, electronic equipment and readable storage medium storing program for executing
CN108647957A (en) * 2018-05-11 2018-10-12 维沃移动通信有限公司 A kind of method of payment, device and mobile terminal
CN109102280A (en) * 2018-08-01 2018-12-28 福州市晋安区绿奇鑫环保科技有限公司 A kind of the safety verification method and server of barcode scanning payment environment

Similar Documents

Publication Publication Date Title
US10410171B2 (en) System and method for inventory management
CN108537533B (en) Self-service shopping settlement method and system
US20130141586A1 (en) System and method for associating an order with an object in a multiple lane environment
US9098765B2 (en) Systems and methods for capturing and storing image data from a negotiable instrument
WO2019095884A1 (en) Image recognition technology-based self-service vending method, apparatus, electronic device and computer storage medium
US10758066B2 (en) Methods and a system for self-checkout processing
US20160350756A1 (en) Consumer return of defective products via mobile device photograph submission
CN110599156A (en) Money collection method, money collection device, terminal equipment and medium
BR112021005196A2 (en) object scanning for a network-based service
CN109102324B (en) Model training method, and red packet material laying prediction method and device based on model
CN105374133A (en) Transaction System, Information Processing Method, and Processing Device
CN105094975A (en) Method and device for calling application program
CN109857499B (en) Universal method for acquiring cash register software screen amount based on windows system
US20140046760A1 (en) Methods, systems, and computer readable media for identifying qualifying consumer offers
US20210357883A1 (en) Payment method capable of automatically recognizing payment amount
US20210073752A1 (en) Method, device and program for managing proofs of purchase
CN111428743A (en) Commodity identification method, commodity processing device and electronic equipment
CN110210939B (en) Information pushing method and device and computer equipment
CN113128244A (en) Scanning method and device and electronic equipment
KR20180036083A (en) Method and system for preventing a registration of a fraudulent product for sale
CN110738486A (en) Receipt code storage method, payment method, device, equipment and medium
KR20200101024A (en) Service system of returning goods being able to pickup request using location information included in photo of returning goods
US11823139B2 (en) Image-based transaction processing
CN105825381B (en) Information storage method and device
JP2021033939A (en) Method for proxy settlement service, proxy settlement server, and program

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