CN115147121A - Block chain payment method and device based on image recognition, electronic equipment and storage medium - Google Patents

Block chain payment method and device based on image recognition, electronic equipment and storage medium Download PDF

Info

Publication number
CN115147121A
CN115147121A CN202210807338.2A CN202210807338A CN115147121A CN 115147121 A CN115147121 A CN 115147121A CN 202210807338 A CN202210807338 A CN 202210807338A CN 115147121 A CN115147121 A CN 115147121A
Authority
CN
China
Prior art keywords
payment
block chain
information
brand information
payer
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
CN202210807338.2A
Other languages
Chinese (zh)
Inventor
刘兴丹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kunming Muxing Intellectual Property Service Co ltd
Original Assignee
Kunming Muxing Intellectual Property Service 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 Kunming Muxing Intellectual Property Service Co ltd filed Critical Kunming Muxing Intellectual Property Service Co ltd
Priority to CN202210807338.2A priority Critical patent/CN115147121A/en
Publication of CN115147121A publication Critical patent/CN115147121A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/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
    • 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/08Payment architectures
    • G06Q20/085Payment architectures involving remote charge determination or related payment systems
    • 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
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders

Abstract

The invention discloses a block chain payment method and device based on image recognition, electronic equipment and a storage medium, wherein the method comprises the following steps of: the payee binds and uploads the brand information and the account number to a block chain for storage; the first intelligent equipment of the payer identifies the brand information or uploads trademarks and character images in the brand information, and the first intelligent equipment is accessed into the block chain server for retrieval; searching and comparing the brand information in the block chain server; after matching is successful, popping up a payment page, inputting payment amount and a password to carry out network payment, paying funds to the account number bound with the brand information through a payment system, and successfully carrying out network transfer; the payment system randomly generates a random code, and the random code is sent to the first intelligent equipment of the payer to be displayed; in this way, the seller who is not a business or is associated with a business cannot collect money, so that the effect of purchasing commodities by the genuine goods is achieved.

Description

Block chain payment method and device based on image recognition, electronic equipment and storage medium
Technical Field
The present invention relates to blockchains, and more particularly to blockchain payments.
Background
The existing code scanning payment is widely used, and a convenient, quick and efficient payment mode is provided. However, code scanning payment only relates to transfer transaction and does not relate to authenticity identification and verification of commodities.
Therefore, how to provide a solution to the above technical problem is a problem that needs to be solved by those skilled in the art.
Disclosure of Invention
The application aims to provide a method for confirming a brand through image recognition, searching account numbers bound to the brand in a block chain, and carrying out online payment through the account numbers. After the network payment is successful, the payment system generates a random code and sends the random code to the payer, and the random code is scanned by the seller and uploaded to the payment system, so that a complete order is generated among the seller, the payer and the payee.
In order to solve the above technical problem, the present application provides a method, an apparatus, an electronic device, and a storage medium for block chain payment based on image recognition, including: the payee binds and uploads the brand information and the account number to a block chain for storage;
the first intelligent equipment of the payer identifies the brand information or uploads trademarks and character images in the brand information, and the first intelligent equipment is accessed into the block chain server for retrieval; searching and comparing the brand information in the block chain server; after matching is successful, popping up a payment page, inputting payment amount and a password to carry out network payment, and paying funds to the account number bound with the brand information through a payment system, wherein network transfer is successful; the payment system randomly generates a random code, and the random code is sent to the first intelligent equipment of the payer to be displayed;
the seller second intelligent equipment scans and identifies the random code and transmits the random code to the payment system through a network; the payment system receives the random code and generates order information;
the order information is sent to the payee for carrying out fund settlement between the payee and the seller; and the order information is also simultaneously sent to the payer and the seller for storage.
Preferably, the manner of accessing the blockchain by the payer and the first smart device includes: code scanning access, image recognition or image shooting and uploading; or clicking the picture for image recognition.
Preferably, the first smart device of the payer accesses the blockchain in a manner of directly accessing the blockchain APP; or accessing a third-party platform APP bound by the block chain; or the APP client of the access server.
Preferably, the order information includes: the account number of the payer, the account number of the seller, the account number of the payee, the transaction amount, the transaction time, the serial number, the transaction information of the commodity information and related contents.
Preferably, the original text hash value and the verification hash value ciphertext are stored in the block chain, and the original text is stored in the centralized database; the original text data is prevented from being tampered and replaced by a random number.
Preferably, the brand information is shared and verified over the entire network.
Preferably, the trademark in the brand information and the collection amount jointly form a collection code or a payment code, so that the code scanning and payment integrated identification is realized.
Preferably, the device for block chain payment based on image recognition is characterized in that.
Preferably, the storage module is used for binding and uploading the brand information and the account number to the block chain for storage by the payee.
Preferably, the blockchain payment module is used for the first intelligent device of the payer to identify the brand information or upload the trademark and the character image in the brand information, and access the brand information to the blockchain server for retrieval; searching and comparing the brand information in the block chain server; after matching is successful, popping up a payment page, inputting payment amount and a password to carry out network payment, and paying funds to the account number bound with the brand information through a payment system, wherein network transfer is successful; and the payment system randomly generates a random code, and the random code is sent to the first intelligent equipment of the payer to be displayed.
Preferably, the identification module is configured to scan and identify the random code by the second vendor smart device, and transmit the random code to the payment system through a network; and the payment system receives the random code and generates order information.
Preferably, the settlement module is used for sending the order information to the payee for performing fund settlement between the payee and the seller; and the order information is also simultaneously sent to the payer and the seller for storage.
Preferably, an electronic device includes:
a memory for storing a computer program;
processor for implementing the steps of the server cluster management method according to any of claims 1 to 7 when executing said computer program.
Preferably, a computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the server cluster management method according to any of the claims 1-7.
The application provides through image recognition and word recognition technology, discernment brand trade mark pattern or the literal information of printing on commodity extranal packing, perhaps, through the upload mode of shooing, will discern the result or shoot the image and upload to retrieve in the block chain the brand that the retrieval matches and brand are bound in the block chain the account number. And after the brand information is successfully retrieved, popping up the payment page in a display screen of the first intelligent device of the payer, and inputting a payment amount and a payment password by a user to carry out network payment. Therefore, the user can intuitively know the brand information of the payee in advance before carrying out network payment. In addition, the account number for collecting money is an enterprise, so that the seller not associated with the enterprise or the enterprise cannot collect the money, and the effect of purchasing the commodity by the genuine product is achieved.
Drawings
In order to more clearly illustrate the embodiments of the present application, the drawings needed for the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained by those skilled in the art without inventive effort.
Fig. 1 is a flowchart illustrating steps of the payment method for image recognition-based blockchain payment provided in the present application.
Fig. 2 is a flowchart of a first payment method for image recognition-based blockchain payment according to the present disclosure.
Fig. 3 is a flowchart of the second payment method for blockchain payment based on image recognition provided in the present application.
Fig. 4 is a flowchart of the third step of the payment method for blockchain payment based on image recognition provided in the present application.
Fig. 5 is a flowchart illustrating a sixth step of the payment method for blockchain payment based on image recognition provided in the present application.
Fig. 6 is a flowchart of the steps of counterfeit prevention for block chain payment based on image recognition provided in the present application.
Fig. 7 is a schematic structural diagram of an information sharing query based on image recognition blockchain payment according to the present application.
Fig. 8 is a schematic structural diagram of data replacement prevention storage for blockchain payment based on image recognition provided in the present application.
Fig. 9 is a flowchart of a first data storage method for block chain payment based on image recognition according to the present application.
Fig. 10 is a flowchart of the second data storage method (including the original text and the digital signature) for blockchain payment based on image recognition provided in the present application.
Fig. 11 is a flowchart of a second data storage method (including digital signature) for blockchain payment based on image recognition according to the present application.
Fig. 12 is a flowchart of steps of a data storage mode one and mode two verification query based on image recognition block chain payment provided in the present application.
Fig. 13 is a flowchart of a third step of the data storage method for blockchain payment based on image recognition provided in the present application.
Fig. 14 is a flowchart illustrating a fourth step of the data storage method for blockchain payment based on image recognition according to the present invention. Fig. 15 is a block diagram of the structure of block chain payment based on image recognition provided in the present application.
In the drawings, reference numerals are explained as follows.
Detailed Description
The core of the application is to provide a method, a device, electronic equipment and a computer readable storage medium for accessing a website by image recognition, so that a user can know that a code is to be scanned and paid to a certain enterprise or brand through a product trademark or brand name before scanning the code and paying. And, guarantee the money and sweep the code and pay to the appointed account of this enterprise or brand, prevent the person of making a fake or selling the fake from receiving the commodity payment. Thereby playing the role of restraining the counterfeit goods from being sold.
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
Referring to fig. 1, fig. 1 is a flowchart illustrating steps of the payment method for blockchain payment based on image recognition according to the present application.
As shown in fig. 1, the method includes:
s101, the enterprise uploads the brand information and the account information of the enterprise to the public account as a group of binding information to the block chain for binding storage.
Specifically, the enterprise producing the commodity binds the trademark of the commodity and the account number of the enterprise and sends the trademark and the account number to the block chain for storage. After the block link receives the trademark and the account, the identity verification of the enterprise, the trademark and the account is required. And, signing a related entrusting agreement.
S102, the seller provides the commodity containing the brand information for sale, the payer identifies or uploads the brand information printed in the commodity, the stored brand information is retrieved in the block chain, and after matching is successful, the account number bound with the brand information is obtained. And then, popping up the payment page in the display screen of the first intelligent device of the user, inputting the payment amount and the password in the payment page by the user, and paying to the account bound by the payee through the payment system. And after the payment is successful, the intelligent equipment of the payer receives the random code randomly generated by the payment system.
Specifically, the software APP installed in the mobile phone of the user performs character recognition or image recognition or photo uploading on the brand information in the commodity, the recognition result or the photo image is sent to the block chain for retrieval, and the brand information of the same brand is retrieved. And meanwhile, the account number of the bound collection enterprise is found. At the moment, the payment page is popped up in a display screen of a mobile phone of the user, the user inputs payment amount and a password, and the payment is transferred to the account number of the enterprise bound by the brand information through network payment. And if the payment is successful, receiving the random code sent by the payment system.
S103, the first intelligent device receives and displays the random code for the seller to read and identify the second intelligent device, and the second intelligent device transmits the random code back to the payment system after successfully reading and identifying the random code. And after receiving the random code sent by the second intelligent device, the payment system performs associated binding on the payer and the seller to determine two parties of the transaction, and meanwhile, the payment system generates the order information from the account number of the payer, the account number of the seller, the account number of the payee, the transaction amount, the transaction time, the serial number and the transaction information of commodity information.
Specifically, the random code of the two-dimensional code is displayed on a display screen of a mobile phone of a user, a mobile phone or equipment of a salesperson scans the two-dimensional code and uploads the two-dimensional code to the payment system, and the payment system binds the account number of the payer, the account number of the seller, the account number of the payee, the transaction amount, the transaction time, the serial number and the commodity information to generate a complete order and sends the order to a payment enterprise.
S104, the order information is sent to the payee by the payment system, and the payee performs fund settlement with the seller according to the order information after receiving the order. For the purposes of securing the payment of the payer and achieving evidence retention. When the user carries out image recognition or shooting uploading and network payment on the trademark in the brand information, the block chain APP or the third party APP can shoot the recognized trademark image and characters of the brand information and upload the shot record to the server for storage. Therefore, when disputes occur later, the images and the character photos are stored as the basis and are used as evidences for calling and using.
Specifically, after the enterprise collects the money, the enterprise correspondingly draws the goods sales according to the agreement between the enterprise and the distributor or the retailer and according to the content of the order, or directly transfers the goods payment to the account of the distributor for payment. The transaction information is stored back-up in the blockchain server or other server.
In summary, the cash register code or the payment code made in the image mode can increase data transmission amount compared with the existing two-dimensional code payment. In addition, special image recognition software and character recognition software or photographing uploading software are required to recognize images and characters and photograph and upload. However, it enables the user to visually see the brand information of the goods to be paid before paying, and serves as an advertisement for the trademark of the seller or business. In the block chain, after the account number of the commodity website is bound with the trademark image and characters of the commodity, network transfer payment can be carried out on the commodity by identifying the trademark. Because, the user as the payer can generally remember brand name and trademark information of the goods without knowing the account information of the goods production company. And the brand of the commodity brand is bound with the account number through the block chain, so that the safety, the authenticity and the unique tamper-proof function of the account number link are ensured. And the user can be conveniently identified to the greatest extent.
The payee is a manufacturer or a manufacturing enterprise of the commodity. The payer is a consumer who purchases the goods. The seller is a dealer, an agent, a self-service shop or a commodity wholesale or retail enterprise of a supermarket store for selling commodities.
The first intelligent device is an intelligent device or a mobile intelligent device used by the payer. For example: provided is a mobile phone. The second intelligent device is an intelligent device or a mobile intelligent device used by the payee. For example: mobile phone, bar code scanner, POS machine, etc. The first intelligent equipment and the second intelligent equipment are provided with cameras, and the functions of collecting, reading and identifying images and character information are achieved. Still have the function of shooing and uploading. And accessing the identification result to the blockchain through the blockchain software APP or the APP of a third-party program bound by the blockchain to retrieve and identify. And then, or accessing to a server corresponding to the software APP for retrieval and payment.
The enterprise information mainly comprises the brand information of the enterprise and the account number of the enterprise to the public account. The brand information of the enterprise is trademark information of the enterprise, and the trademark information consists of images and characters. Besides the trademark information, the brand information of the enterprise may be identification information of other images, texts and symbols related to brands. And (3) the trademark or the commodity name in the brand information is singly or combined into an image to form a collection code or a payment code. For example: company name, telephone number, official website of the brand, address of the business, specific character avatar and name associated with the commodity, and the like.
Specifically, compared with the existing two-dimensional code, the trademark is used as a cash collection code or a payment code, and is more vivid and stronger in individuation. Moreover, every time the user scans the code for payment, the user can find the collection code or the payment code printed with the trademark and the character image of the brand information of the enterprise, and scan and pay. Therefore, the memory of the brand trademark and the name of the user can be increased, and the advertising effect is achieved. It can also let the user intuitively know that a certain brand needs to be paid before paying. The user only needs to access the trademark image to the website bound with the blockchain brand successfully for access and payment through the APP provided by the blockchain or through a regular third-party platform. In addition, the image in the brand information may also be a brand image and text information of the payment system platform of a trusted third party.
The method comprises the steps that a first intelligent device of a payer scans trademarks or characters in brand information, when payment is conducted, a searched result is displayed to the payer in an image or character mode by a payment system and is confirmed by the payer, and after the payer confirms, a payment page is popped up to conduct payment. And in a specified time, the payment system receives that the random code sent by the second intelligent device of the seller is valid.
Referring to fig. 2, fig. 2 is a flowchart illustrating a first payment method for blockchain payment based on image recognition according to the present application.
As shown in fig. 2, the method includes:
when the payer receives and pays the money by the first intelligent device, the following modes are provided.
The method I comprises the following steps: software APP is started by the first intelligent equipment of the payer, and the software APP conducts image recognition and character recognition or shooting uploading on brand information in the commodity through the camera. And sending the recognition result or the photo image to the block chain for retrieval and comparison. And retrieving the brand information which is the same as the identification result or the photo image in the block chain, and acquiring the account number of the collection account bound with the brand information. And after the brand information is confirmed, popping up the payment page, inputting the payment amount and the password by the payer, and performing transfer payment through the payment system. After the payment is successfully completed, the payment system randomly generates one random code, the random code is usually a website link of a two-dimensional code, and the link address is a random, unique and one-time dynamic website provided by the payment system. The random code is sent to the first smart device of the payer for display in a display screen of the first smart device. The seller is characterized in that the second intelligent device starts a camera of the software APP to scan and recognize the random code displayed in the screen of the first intelligent device, the seller sends the recognition result of the random code to the payment system through a network within a specified time, and the payment system confirms the seller through the random code. The payment system combines the account number of the payer, the account number of the seller, the account number of the payee, the transaction amount, the transaction time, the serial number, the commodity information and other information to generate the order information. And sending the order information to the payee, wherein the order information is used for fund transfer settlement between the payee and the seller. And according to the commodity information and the payment rule, the payee transfers and pays the extracted part of the received money to the seller. And if the seller pays the goods in advance, the enterprise serving as the payee collects the goods and transfers the funds to the account number of the seller again.
Referring to fig. 3, fig. 3 is a flowchart illustrating a second payment method for blockchain payment based on image recognition according to the present invention.
As shown in fig. 3, the method includes:
the second method comprises the following steps: the seller starts the software APP by the second intelligent device, and the software APP performs image recognition and character recognition or photographs and uploads brand information in the commodity through the camera. And sending the recognition result or the photo image to the block chain for retrieval and comparison. And searching the brand information which is the same as the identification result or the photo image in the block chain, and acquiring the account number bound with the brand information. At this time, the seller inputs the payment amount to generate the payment page. The payment page comprises the brand information or the brand information and payment amount information of the seller, and the brand information or payment amount information is displayed in the display screen of the second intelligent device of the seller. And the payer starts a software APP by the first intelligent device, and the software APP scans and identifies the payment page in the display screen of the second intelligent device through a camera. And searching the brand information through the block chain according to the scanning identification result. And after successful matching, the first intelligent equipment of the payer pays the payment page through the camera according to the payment amount displayed in the payment page.
Referring to fig. 4, fig. 4 is a flowchart illustrating a third step of the payment method for blockchain payment based on image recognition according to the present application.
As shown in fig. 4, the method includes:
the third method comprises the following steps: and displaying a trademark image of the brand information in a webpage in the touch display screen of the first intelligent device of the payer. And the payer clicks an image displayed in the display screen, and the software APP automatically identifies the brand information. Or clicking the image, uploading the screenshot of the image in a certain area range to the block chain for retrieval and matching, displaying the brand trademark after matching is successful, and after the payer confirms the brand trademark. And popping up the payment page, and performing network payment after inputting the amount and the password.
If the webpage or the image contains the number or the amount information, the account number of the seller and the amount to be paid can be identified simultaneously in the process of clicking the webpage or the image.
The method is as follows: and the payer clicks a payment code icon by the first intelligent device, wherein the icon is an icon corresponding to the account of the payer. And the seller receives money through scanning the identification icon by the second intelligent equipment. And after the payment is successful, the generated order information comprises the information of the seller and is sent to the payee together. And after the payee collects the money, transferring the money to the account of the seller according to an agreement rule.
The fifth mode is as follows: the seller can also scan the bar code or the two-dimensional code of the commodity and click the commodity stored in the system to obtain the brand information of the commodity and generate the payment page. And inputting the payment amount to generate a collection code or a payment code consisting of images or characters, and performing code scanning payment by the first intelligent equipment of the payer. The trademark characters of the brand are made into a collection code and a payment code, and the collection code and the payment code can be displayed on a display screen in a supermarket or a convenience store for the payer to pay by scanning the code through the first intelligent device.
Referring to fig. 5, fig. 5 is a flowchart illustrating a sixth step of the payment method for blockchain payment based on image recognition according to the present application.
As shown in fig. 5, the method includes:
the method six: in addition to linking into the blockchain through the software APP of the blockchain, the method further includes: and the trademark image or the character in the brand information is directly linked to the bound website through software APP of the server. The server stores the brand information of the commodity and the bound account number, and the image and the characters of the trademark in the brand information are directly linked to the account number for collecting to carry out network payment without the block chain retrieval verification. The specific process is as follows:
1. and binding the trademark or the characters in the brand information with the account number of the money receiving account, and storing the bound trademark or characters in the brand information into a server of the software APP.
2. And making the trademark or the character image in the brand information into a cash collecting code or a payment code.
3. And the payer carries out image recognition or character recognition on trademarks or characters through a software APP installed on the first intelligent device, or takes pictures and uploads the pictures to a server.
4. And the service receives the trademark or character recognition result or image, searches in the information stored in the server, pops up the payment page according to the account number of the account of the brand bound with the recognition result or image when the same recognition result or image is searched, inputs payment amount and password, and carries out network payment on the account number.
The method for the payer to access the block chain for inquiry by the first intelligent device comprises the following steps:
1. the payer is provided with the software APP of the block chain in the first intelligent device, the software APP of the block chain is clicked to enter, and the payer is directly accessed into the software APP of the block chain to perform image recognition and retrieval. Or photographing and uploading to the block chain for retrieval and comparison verification.
2. And the block chain is bound with a trusted third party payment platform, and image recognition and character recognition are carried out by taking trusted third party software APP as an interface, or shooting and uploading are carried out, and the block chain is accessed to the block chain for retrieval and comparison.
3. Clicking a webpage or an image displayed in the display screen of the first intelligent device of the payer, popping up the software APP icon of the block chain, clicking the software APP icon of the block chain, entering the software APP of the block chain, and retrieving, identifying and paying the webpage or the image.
4. And accessing the block chain through a software APP of an aggregation payment or payment service provider, inquiring the account number bound by the brand information, and performing network payment according to the account number.
5. And opening the software APP of the block chain in the WeChat applet. When the block chain is used, weChat is entered, and the concerned software APP of the block chain is clicked for use.
6. And establishing a standardized image identification code, accessing according to a standard and carrying out image identification. And the images are publicly shared in the whole network, and are identified and verified together.
Referring to fig. 6, fig. 6 is a flowchart illustrating the counterfeit deterrent steps for the image recognition based block chain payment provided in the present application.
As shown in fig. 6, the method includes:
in the whole payment transaction process, the payer directly pays funds to the account of the payee, and the seller does not directly collect the funds, but scans the random code received by the payer in the first intelligent device and uploads the random code to the payment system, so that the payee can make sure that the payer purchases and pays commodities from a specific seller. And after the order information is generated, the order information is sent to the payee. And the payee pays the sales drawing or pays the payment to the seller according to the order information.
Since the payer pays funds directly into the account of the payee through the blockchain. In this way, only the seller authorized or authenticated by the payee can obtain the corresponding sales allowance or payment. The fake-making sales staff sell fake goods, and the goods cannot be provided for sale without the goods from the goods production enterprise, and naturally the money transfer and collection cannot be obtained from the enterprise. Any sales activity it generates, the business does not pay any fees to it. If the fake sales personnel sell fake goods, the fake sales personnel can not obtain the income and can not continue the fake sales behavior. The seller who normally operates the system is to receive the goods from the enterprise of the payee and to sell the goods, and the seller naturally has a corresponding number of goods to sell due to the fact that the seller has a record of the goods. As long as the payee's enterprise performs correspondingly valid management and restrictions on the seller. In addition, the prevention of counterfeit goods facilitates the seller to gain more profits. And, adding anti-counterfeiting products or means in the goods to prevent the possibility of counterfeiting by the seller. Thus, the method can ensure that the purchased commodity is a genuine commodity when the commodity is purchased from the seller.
The operation mode of the payee enterprise and the seller is that the respective account names and the accounts for collection are in one-to-one correspondence to each other and a database is established in a centralized manner for the dealers, agents, self-service stores and supermarket stores associated with the payee enterprise and the retail enterprises. And uniformly setting a collection account number, and uniformly paying the commodity sales money to the account number of the collection account number. Typically, the account is an account of a product manufacturing enterprise. And after the commodity production enterprise serving as the payee collects money, paying the corresponding money to the account of the seller according to the specific information of the seller identified by the payment system.
In summary, 1, any software APP performs image recognition, character recognition or shooting, uploading, retrieving and comparing on the trademark image or character in the brand information. Meanwhile, network payment is required.
2. And simultaneously meeting the two conditions, comparing the trademark images in the brand information by the block chain bookkeeper, and paying the account number of the account bound by the brand information after matching is successful.
In this process, the block chain is configured by the software APP itself. Or, the network payment transaction enterprises or financial institutions commonly access the same block chain, and before network payment, verification and verification of the brand information and the account number are carried out in the block chain.
Due to the uniqueness of images and characters of trademarks and brand names of enterprise commodities. When payment is carried out, in the block chain, the enterprise-bound collection account number can be confirmed through the trademark or brand name of the enterprise commodity. Therefore, even if the trademark image of the brand information is falsely used, the account information bound to be collected cannot be changed, and the uniqueness and the accuracy of payment are realized. As long as the user can identify and confirm the trademark and the brand name of the brand to be paid, the fund can be guaranteed to be successfully transferred to the account of the genuine enterprise, and the fake making and selling personnel are prevented from receiving the money.
Referring to fig. 7, fig. 7 is a schematic structural diagram of an information sharing query based on image recognition blockchain payment provided in the present application.
As shown in fig. 7, the method includes:
in order to ensure the authenticity of the information. Firstly, the enterprise of the goods payee needs to verify the identity of the seller, the account information and the like to ensure the authenticity and credibility of the seller. Secondly, the account numbers or other information bound with the same brand information can be mutually identified and compared in a plurality of block chains or the internet, so that the account number information of the same brand is prevented from being replaced and changed by other account numbers.
Specifically, the payer binds the brand information with the account and stores the brand information in the blockchain. When the same brand information and the same account number are stored in other block chains, matching is performed between the block chains according to the brand information and corresponding to the account number or other information contents, matching results are the same, and results are real. Thereby proving that the information stored in the blockchain has not been tampered.
The matching and identifying process comprises the following steps:
1. the block chain and the block chain. Alternatively, the blockchain is associated with the centralized database. Alternatively, the blockchain is associated with an administrative authority. Alternatively, the blockchain enters into a search agreement with the enterprise providing the goods.
2. When any one party sends out the brand information to search in the block chain, the rest block chains or the centralized database or the administrative management mechanism or the enterprise providing commodities receive the brand information and search the brand information corresponding to the brand and the account number respectively stored.
3. And comparing the brand information retrieved respectively with the original text information of the corresponding account or the hash value result of the account, wherein the comparison results are consistent, and the account information is proved to be valid, not tampered and trustable. And if the account numbers are inconsistent, comparing the account numbers with a trusted platform, and performing network payment after the comparison results are consistent. If not, the payment is terminated.
In the above manner, the payer can be subjected to information verification before the transfer payment. The verification process may also be a timed, random verification of the stored information. Therefore, when a plurality of block chains or platforms develop image recognition payment in a network, the account bound by the brand information is prevented from being maliciously tampered, and the payment safety is ensured.
Referring to fig. 8, fig. 8 is a schematic structural diagram of data replacement prevention storage for blockchain payment based on image recognition according to the present application.
As shown in fig. 8, the method includes:
the blockchain may store other information in addition to the brand information and the account number. When the blockchain stores other information. The block chain storage information further comprises a method for preventing the original text data from being replaced.
The hash value result is stored in the block chain, and the original text is stored in the centralized database. And confirming whether the original text information is tampered and replaced through the hash value in the block chain. The purposes of preventing the original text from being cracked violently through a hash value and detecting whether the original text is replaced or not are achieved by using data loss and controlling a verification link.
Specifically, the block link receives the original text, and the original text generates the hash value of the original text through a hash algorithm. The random number is randomly generated when authentication is performed. And combining the random number with the original text to generate the verification original text. And generating a verification hash value by the verification original text through a hash algorithm. Before that, the random number is not generated in the block chain, and the complete verification text cannot be generated. In this way, the verification hash value result is calculated when the verification original text data is missing, which is difficult to achieve even by using brute force cracking.
And generating the verification hash value by the verification original text through a hash algorithm, and encrypting the verification hash value through an encryption algorithm to generate the verification hash value ciphertext. The user may verify the textual hash value of the textual content by a hash algorithm. However, to verify the encrypted verification hash value ciphertext, the verification hash value ciphertext needs to be decrypted by a private key through a block chain and then verified. The user cannot directly verify the hash value and directly view the result of the verification hash value.
After encryption, the verification hash value result cannot be cracked in a brute force cracking mode on the premise that the verification hash value result is unknown.
Moreover, since the verification hash value ciphertext needs to be decrypted and verified by the block chain, the block chain can control the verification times of a certain original text according to the needs. Alternatively, the frequency of verification is reduced. To prevent brute force from breaking and replacing the original text.
And the user needs to input a password and can send the original text to the block chain for verification after logging in the system, so that the information is prevented from being cracked by brute force attack of an illegal user.
And the enterprise stores the brand information and the hash value of the bound account number into the blockchain. Meanwhile, the blockchain needs to verify the brand information provided by the enterprise and the account number of the enterprise, or the blockchain checks the brand information provided by the enterprise and the account number of the enterprise through a third-party platform, and after the verification is passed, the blockchain binds and distributively stores the brand information provided by the enterprise and the hash value of the account number.
Referring to fig. 9, fig. 9 is a flowchart illustrating a first data storage method for blockchain payment based on image recognition according to the present disclosure.
As shown in fig. 9, the method includes:
the specific process of generating and storing the original text hash value and the verification hash value is as follows:
the first method is as follows:
1. the user sends the text into the blockchain.
2. And the block chain receives the original text, and the original text generates the hash value of the original text through a hash algorithm.
3. The block chain randomly generates the random number, and the random number is randomly generated by the block chain, or the random number is randomly generated by a user. And combining or operating the random number and the original text to obtain the verification original text, and generating the verification hash value by the verification original text through a hash algorithm.
4. And the block chain encrypts the random number to generate the random number ciphertext. And the block chain encrypts the verification hash value to generate a verification hash value ciphertext.
5. And the block chain stores the serial number, the original text hash value, the verification hash value ciphertext and the random number ciphertext in a distributed manner. The textual information is stored in the user intelligent device or the centralized database.
6. And the block chain sends a result of successful verification to the user. Otherwise, the result of the verification failure is sent to the user.
Referring to fig. 10-11, fig. 10 is a flowchart illustrating a second data storage method (including the text and the digital signature) for blockchain payment based on image recognition according to the present invention.
Fig. 11 is a flowchart of a second data storage method (including digital signature) for blockchain payment based on image recognition according to the present application.
As shown in fig. 10-11, the method includes:
the second method comprises the following steps:
1. the user sends the textual matter and the digital signature of the textual matter into the blockchain.
2. The blockchain receives the original text and verifies the digital signature.
3. After the verification is passed, the block chain or the user randomly generates the random number, the random number and the received original text are combined or operated to obtain the verification original text, and the verification original text generates the verification hash value through a hash algorithm.
4. And the block chain encrypts the random number to generate the random number ciphertext. And the block chain encrypts the verification hash value to generate the verification hash value ciphertext.
5. And the block chain stores the serial number, the received original text, the digital signature, the verification hash value ciphertext and the random number ciphertext in a distributed manner.
Or the block chain stores the serial number, the digital signature, the verification hash value ciphertext and the random number ciphertext in a distributed manner. And sending the received original text to the centralized database for storage.
6. Verifying whether the original text is tampered and replaced. And when the comparison result of the original text hash value and the verification hash value is consistent, the original text is verified to be not tampered and replaced. And sends the result of successful verification to the user. Otherwise, the result of the verification failure is sent to the user.
Referring to fig. 12, fig. 12 is a flowchart illustrating a procedure of verifying and querying a data storage method one and a data storage method two for a block chain payment based on image recognition according to the present application.
As shown in fig. 12, the method includes:
verifying whether the original text is tampered and replaced.
1. The user sends the text into the blockchain.
2. And the block chain receives the original text, the original text generates an original Wen Haxi value through a hash algorithm, the calculated original text hash value is compared with the original text hash value stored in the block chain, the comparison result is consistent, and the verification is passed.
3. And the block chain decrypts the random number ciphertext, the decrypted random number and the original text are combined into the verification original text, and the verification original text calculates the verification hash value through a hash algorithm.
4. And decrypting the verification hash value ciphertext in the block chain to obtain the verification hash value. And comparing the calculated verification hash value with the decrypted verification hash value stored in the block chain, wherein the comparison result is consistent, and the original text is not tampered or replaced through verification.
Referring to fig. 13, fig. 13 is a flowchart illustrating a third step of the data storage method for blockchain payment based on image recognition provided in the present application.
As shown in fig. 13, the method includes:
the third method comprises the following steps:
when the plaintext and the random number ciphertext are stored in the centralized database.
1. And the random number and the original text form the verification original text, and the verification original text calculates the verification hash value through a hash algorithm. And calculating the hash value of the original text by a hash algorithm. And the block chain encrypts the verification hash value to generate a verification hash value ciphertext. And storing the original text hash value and the verification hash value ciphertext in the block chain.
2. And the block chain encrypts the random number through a public key to generate the random number ciphertext. The random number cipher text is stored in the centralized database. At the same time, the original text is also stored in the centralized database.
3. Verifying whether the original text is tampered and replaced. The block chain acquires the original text and the random number ciphertext from the centralized database, decrypts the random number ciphertext through a private key to obtain the random number, combines the random number and the received original text into the verification original text, and calculates the verification hash value through a hash algorithm. And calculating the hash value of the original text received by the block link through a hash algorithm.
5. And decrypting the verification hash value ciphertext in the block chain to obtain the verification hash value. And comparing the calculated original text hash value with the decrypted verification hash value in the block chain, wherein the comparison results are consistent, and the received original text is proved to be not tampered and replaced.
In the process, the random number is encrypted and stored in the centralized database, so that the storage amount of information in the block chain can be saved. Meanwhile, the verification original text can be generated only after the random number and the original text are combined and operated. It is difficult to calculate the verification hash without knowing the random number information. Moreover, the verification of the verification original text result is realized through the block chain, and the simple brute force cracking of the missing information is difficult. And, the verification hash value stored in the blockchain results are encrypted, the result of which cannot be directly read.
The random number is a set of data randomly generated by the block chain. The combination of the original text and the random number has the following modes:
1. and combining the original text and the random number in a front-back arrangement mode to form the verification original text.
2. And after the original text and the random number are arranged and combined in a front-back mode, a ciphertext is generated through encryption operation of an encryption algorithm, and the ciphertext is used as the verification original text.
3. And adding the hash value generated by the previous block to the original text and the random number, and generating the random number after the hash value is combined with the original text and the random number.
Referring to fig. 14, fig. 14 is a flowchart illustrating a fourth step of the data storage method for blockchain payment based on image recognition according to the present invention.
As shown in fig. 14, the apparatus includes:
the method is as follows:
1. and carrying out encryption operation on the original text hash value to generate an original text hash value ciphertext, and storing the original text hash value ciphertext in the block chain. The textual information is stored in the centralized database or in a user intelligent device.
2. During verification, the block chain is required to decrypt the original text hash value ciphertext through a private key, and the decrypted original text hash value is used for verifying whether the verification original text is tampered.
Referring to fig. 15, fig. 15 is a block diagram illustrating a structure of a blockchain payment based on image recognition according to the present disclosure.
As shown in fig. 15, the apparatus includes:
the storage module 1 is used for binding and uploading the brand information and the account number to the block chain by the payee for storage;
the block chain payment module 2 is used for the payer to identify the brand information or upload trademarks and character images in the brand information by the first intelligent device, and access the trademark information and the character images to the block chain server for retrieval; searching and comparing the brand information in the block chain server; after matching is successful, popping up the payment page, inputting payment amount and a password to carry out network payment, and paying funds to the account number bound by the brand information through the payment system, wherein network transfer is successful; the payment system randomly generates the random code, and the random code is sent to the first intelligent equipment of the payer to be displayed;
the identification module 3 is used for the seller to scan and identify the random code by the second intelligent device and transmit the random code to the payment system through a network; the payment system receives the random code and generates the order information;
the settlement module 4 is used for sending the order information to the payee and settling funds between the payee and the seller; and the order information is also simultaneously sent to the payer and the seller for storage.
The image processing apparatus provided in the embodiment of the present application may execute the technical solutions shown in the foregoing method embodiments, and the implementation principles and beneficial effects thereof are similar, and are not described herein again.
In a possible implementation, the update module is specifically configured to:
the software APP module is used for the payer to access the block chain by the first intelligent device in a mode of directly accessing the block chain APP; or accessing to a third-party platform APP bound by the block chain; or the APP client of the access server.
An order module for the order information comprising: the account number of the payer, the account number of the seller, the account number of the payee, the transaction amount, the transaction time, the serial number, the transaction information of the commodity information and related contents.
The storage submodule is used for storing an original text hash value and a verification hash value ciphertext into the block chain, and the original text is stored into the centralized database; the original text data is prevented from being tampered and replaced by a random number.
And the value-taking submodule is used for sharing and verifying the brand information in the whole network.
And the recognition submodule is used for forming a collection code or a payment code by the trademark in the brand information and the collection amount together so as to realize the code scanning and payment integrated identification.
On the other hand, the present application also provides an electronic device, which includes:
a memory for storing a computer program;
processor for implementing the steps of the server cluster management method according to any of claims 1 to 7 when executing said computer program.
Please refer to the above embodiments for an introduction of an electronic device provided in the present application, which is not described herein again.
In another aspect, the present application further provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when being executed by a processor, the computer program implements the steps of the server cluster management method according to any one of claims 1 to 7.
For an introduction of an electronic device provided in the present application, please refer to the above embodiments, which are not described herein again.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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 a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. The method for block chain payment based on image recognition is characterized in that a payee binds and uploads brand information and an account number to a block chain for storage;
the first intelligent equipment of the payer identifies the brand information or uploads trademarks and character images in the brand information, and the first intelligent equipment is accessed into the block chain server for retrieval; searching and comparing the brand information in the block chain server; after matching is successful, popping up a payment page, inputting payment amount and a password to carry out network payment, and paying funds to the account number bound with the brand information through a payment system, wherein network transfer is successful; the payment system randomly generates a random code, and the random code is sent to the first intelligent equipment of the payer to be displayed;
the seller second intelligent equipment scans and identifies the random code and transmits the random code to the payment system through a network; the payment system receives the random code and generates order information;
the order information is sent to the payee for carrying out fund settlement between the payee and the seller; the order information is also simultaneously sent to the payer and the seller for storage.
2. The method for blockchain payment based on image recognition of claim 1, wherein the first intelligent device of the payer recognizes the brand information or uploads a trademark and a text image in the brand information, comprising:
the mode of the payer for accessing the blockchain by the first intelligent device comprises the following steps: code scanning access, image recognition or image shooting and uploading images; or clicking the picture for image recognition.
3. The method for blockchain payment based on image recognition as claimed in claim 1, wherein the first smart device of the payer recognizes the brand information or uploads a trademark and a text image in the brand information, and the method comprises the following steps:
the first intelligent equipment of the payer accesses the block chain in a mode of directly accessing an APP of the block chain; or accessing a third-party platform APP bound by the block chain; or accessing the APP client of the server.
4. The method of image recognition-based blockchain payment according to claim 1, wherein said payment system receiving said random code and generating order information comprises:
the order information includes: the account number of the payer, the account number of the seller, the account number of the payee, the transaction amount, the transaction time, the serial number, the transaction information of the commodity information and related contents.
5. The method for blockchain payment based on image recognition of claim 1, wherein the payee binds the brand information and the account number to the blockchain for storage, further comprising:
the original text hash value and the verification hash value ciphertext are stored in the block chain, and the original text is stored in a centralized database; the original text data is prevented from being tampered and replaced by a random number.
6. The method for blockchain payment based on image recognition as claimed in claim 1, wherein the payee binds and uploads the brand information and the account number to the blockchain for storage, further comprising:
the brand information is shared and verified throughout the network.
7. The method for blockchain payment based on image recognition as claimed in claim 1, wherein the first smart device of the payer recognizes the brand information or uploads a trademark and a text image in the brand information, further comprising:
the trademark in the brand information and the collection amount jointly form a collection code or a payment code, so that the code scanning and payment integrated identification is realized.
8. The device for block chain payment based on image recognition is characterized in that,
the storage module is used for binding and uploading the brand information and the account number to the block chain for storage by the payee;
the block chain payment module is used for identifying the brand information or uploading trademarks and character images in the brand information by the first intelligent equipment of the payer and accessing the first intelligent equipment of the payer to the block chain server for retrieval; searching and comparing the brand information in the block chain server; after matching is successful, popping up a payment page, inputting payment amount and a password to carry out network payment, and paying funds to the account number bound with the brand information through a payment system, wherein network transfer is successful; the payment system randomly generates a random code, and the random code is sent to the first intelligent equipment of the payer to be displayed;
the identification module is used for scanning and identifying the random code by the second intelligent equipment of the seller and transmitting the random code to the payment system through a network; the payment system receives the random code and generates order information;
the settlement module is used for sending the order information to the payee and settling funds between the payee and the seller; the order information is also simultaneously sent to the payer and the seller for storage.
9. An electronic device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the server cluster management method according to any of claims 1 to 7 when executing said computer program.
10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the server cluster management method according to any one of the claims 1 to 7.
CN202210807338.2A 2022-07-11 2022-07-11 Block chain payment method and device based on image recognition, electronic equipment and storage medium Pending CN115147121A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210807338.2A CN115147121A (en) 2022-07-11 2022-07-11 Block chain payment method and device based on image recognition, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210807338.2A CN115147121A (en) 2022-07-11 2022-07-11 Block chain payment method and device based on image recognition, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115147121A true CN115147121A (en) 2022-10-04

Family

ID=83411694

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210807338.2A Pending CN115147121A (en) 2022-07-11 2022-07-11 Block chain payment method and device based on image recognition, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115147121A (en)

Similar Documents

Publication Publication Date Title
US11924324B2 (en) Registry blockchain architecture
US11798008B2 (en) Blockchain-based product authentication system
KR101680542B1 (en) Genuine verification system of disposable product that is based on the block chain and method thereof
US20160098723A1 (en) System and method for block-chain verification of goods
US20160098730A1 (en) System and Method for Block-Chain Verification of Goods
US8355992B1 (en) System and method for verifying the age of a controlled substance purchaser
CN116671087A (en) System and method for building blockchains to validate smart contract assets
JP2016512675A (en) Secure trading system and method
EP1873704A1 (en) Method and system for determining whether the origin of a payment request is a specific e-commerce network source
CN105096134A (en) Security scheme for authenticating digital entities and aggregate object origins
JP2004511028A (en) Method and system for securely collecting, storing and transmitting information
US20210158339A1 (en) A method of facilitating transactions between users
JP2008004042A (en) Method of electronic commerce
US20070168295A1 (en) Verification method for personal credit purchases
US11694202B2 (en) Transaction certification management system, transaction certification management apparatus, and transaction certification processing method
JP5193935B2 (en) Receipt management system and method
CN115147121A (en) Block chain payment method and device based on image recognition, electronic equipment and storage medium
JP6830074B2 (en) Reuse product distribution management system and reuse product distribution management method
KR20030063384A (en) Clearing method using a communications network(variants)
JP7421726B2 (en) Authentication system
WO2001018677A2 (en) System and method for verifying authenticity of products using networks
JP2001236435A (en) System and method for electronic commerce and information processor
JP2007133714A (en) Electronic authentication method and electronic settlement method
JP2002183433A (en) System and method for electronic commerce
CN113469675A (en) Account image code scanning payment and multi-party verification method, device and storage medium

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20221004

WD01 Invention patent application deemed withdrawn after publication