CN112508556A - Block chain-based digital currency generation method and cashing system - Google Patents

Block chain-based digital currency generation method and cashing system Download PDF

Info

Publication number
CN112508556A
CN112508556A CN202011438026.6A CN202011438026A CN112508556A CN 112508556 A CN112508556 A CN 112508556A CN 202011438026 A CN202011438026 A CN 202011438026A CN 112508556 A CN112508556 A CN 112508556A
Authority
CN
China
Prior art keywords
digital currency
owner
denomination
digital
identity
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
CN202011438026.6A
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.)
Chengdu Shuyun Iot Technology Co ltd
Original Assignee
Chengdu Shuyun Iot Technology 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 Chengdu Shuyun Iot Technology Co ltd filed Critical Chengdu Shuyun Iot Technology Co ltd
Priority to CN202011438026.6A priority Critical patent/CN112508556A/en
Publication of CN112508556A publication Critical patent/CN112508556A/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/36Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes
    • G06Q20/367Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes involving electronic purses or money safes
    • G06Q20/3674Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes involving electronic purses or money safes involving authentication
    • 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/36Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes
    • G06Q20/367Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes involving electronic purses or money safes
    • G06Q20/3678Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes involving electronic purses or money safes e-cash details, e.g. blinded, divisible or detecting double spending
    • 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/381Currency conversion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3827Use of message hashing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • G06Q20/4014Identity check for transactions

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention relates to a block chain-based digital currency generation method and a cashing system, wherein the method comprises the following steps: receiving a first data request which is sent by a digital currency owner terminal and used for generating first digital currency, and analyzing a commodity identity and a digital currency owner identity from the first data request; and determining a first denomination based on the commodity identity, generating first digital currency based on the first denomination, the commodity identity and the digital currency owner identity, and feeding back the first digital currency to the digital currency owner terminal. The scheme of the invention breaks through the traditional thinking that the digital currency is generated by a merchant, the digital currency is generated by being triggered by a consumer or a distributor, the digital currency generation process has pertinence, the digital currency generation process can also be used as a cashing process, the whole life cycle of the digital currency is completed, the whole-process tracing of the digital currency is reliably realized, namely, the whole-process tracing of the sales promotion is realized, the cost of manpower verification is greatly saved, and the efficiency of the sales promotion verification is improved.

Description

Block chain-based digital currency generation method and cashing system
Technical Field
The invention relates to the technical field of block chains, in particular to a block chain-based digital currency generation method and a block chain-based digital currency cashing system.
Background
The prize promotion is a means commonly used by manufacturers for developing markets, such as 'one bottle again', 'code scanning and red packet' and the like, and the prize promotion can be preferential to consumers or awarded to retailers. Because the current prize promotion means can not or is difficult to track the actual preferential sharer, the situation of common claiming often occurs, and then the product promotion effect is seriously influenced, so that a large amount of manpower and financial resources are required to be invested for the manufacturer to carry out verification, and the labor and the people hurt the property.
The voucher, coupon, discount coupon, consumption coupon, etc. are all digital currency, can deduct a certain amount of money when consuming, can be regarded as a means of the prize-winning promotion. In the current digital currency generation mode, a fixed denomination of coupons, for example, are generated in advance by a merchant server and then picked up by a consumer. However, the digital currency generated in this way is not targeted and can be used as long as being held, but in some cases, merchants actually only carry out preferential promotion for part of people, for example, in the fast-moving goods industry, merchants may only want to subsidize distributors in part of regions to arouse the initiative of distributor sales, or carry out preferential promotion for consumers in part of regions, and if the existing digital currency generation way is adopted, the requirements of such applications cannot be met. That is, the application of digital money is limited, and effective bonus sales promotion cannot be realized.
Disclosure of Invention
The invention aims to overcome the defect that the digital currency generated in the prior art is not targeted, and provides a block chain-based digital currency generation method and a block chain-based digital currency cashing system, so that the application of the digital currency is more universal, the application of effective sales promotion can be effectively met, and the manpower and financial cost for performing sales promotion verification at present is greatly reduced.
In order to achieve the above object, the embodiments of the present invention provide the following technical solutions:
in one aspect, an embodiment of the present invention provides a method for generating digital currency based on a block chain, which is implemented based on a server and includes:
data request analysis: receiving a first data request which is sent by a digital currency owner terminal and used for generating first digital currency, and analyzing a commodity identity and a digital currency owner identity from the first data request;
a digital currency generation step: determining a first denomination based on the commodity identity, and generating first digital currency based on the first denomination, the commodity identity and the digital currency owner identity;
digital currency feedback step: and feeding back the first digital currency to the digital currency owner terminal.
In the scheme, the digital currency is generated by triggering of the user terminal, namely the front end, but not actively generated by the back end of a manufacturer in the traditional method, and is targeted, and a trigger can be a consumer, a retailer, a distributor and the like, so that the purpose of targeted promotion is realized. In addition, the digital currency is generated based on the denomination, the commodity identity identification and the user identity identification (namely, the identity identification of the trigger, namely, the identity identification of the owner of the digital currency), each digital currency can trace the commodity and the user (the trigger), and manual verification is not needed, so that the efficiency of sales promotion authenticity verification can be greatly improved, and compared with a large amount of human input, the labor cost can be greatly saved, and the digital currency has very high economic value.
In a further preferred embodiment, the data request parsing step further includes parsing out, from the first data request, the owner information of the first code used for generating the first digital currency; in the digital currency generating step, a first digital currency is generated based on the first denomination, the commodity identity, the digital currency owner identity and the first coded owner information.
In the above scheme, the attribution information used for generating the first code of the first digital currency may be an identity of the attribution, an address of the attribution, or in other ways, when the attribution information is the address of the attribution, that is, a generation place of the digital currency. The owner of the digital currency refers to a person who can use the digital currency, and the owner generates the code of the digital currency, and indicates the generation place of the digital currency and the activation source of the digital currency. The parameters for generating the digital currency also comprise coded owner information, so that more information is provided for tracing the digital currency, and the source of the digital currency can be traced more accurately. The scheme can solve the problem of further accurately verifying the attribute of the digital currency.
In a further optimized scheme, the data request parsing step further includes parsing a first request time from the first data request; in the digital money generating step, a first digital money is generated based on the first denomination, the commodity identification, the digital money owner identification, the first encoded affiliate information, and the first request time.
In the scheme, the information for generating the digital currency also comprises time, and the whole life cycle of the digital currency can be recorded by combining the time information, so that the attribution of the digital currency can be further accurately traced.
In a further preferred embodiment, before the digital currency generating step, a verification step is further included: and judging whether the first digital currency is generated or not based on the commodity identity, if so, rejecting the first data request of the digital currency owner terminal, and if not, executing the digital currency generation step.
Generally, one commodity can only be provided with a preference to the consumer corresponding to one digital currency. In the scheme, before the digital currency is generated, whether the digital currency is generated based on the commodity is judged, and if the digital currency is generated, the digital currency cannot be generated again, so that the situation that the normal progress of the promotion of the discount is influenced because the same commodity is enjoyed by different consumers is avoided. The scheme can solve the problem of how to avoid repeated generation of digital currency, and then preferential repeated enjoyment is caused.
In a further preferred embodiment, the digital currency feedback step comprises: judging whether existing digital currency exists or not based on the digital currency owner identity, if not, feeding the first digital currency back to a digital currency owner terminal, and if so, combining the existing digital currency and the first digital currency to generate new digital currency and feeding the new digital currency back to the digital currency owner terminal; the new digital currency has a denomination that is the sum of the denomination of the existing digital currency and the first denomination.
In the scheme, when the user has digital currency, the original digital currency and the newly generated digital currency are combined to generate a new piece of digital currency, so that the card package for storing the digital currency is simplified, the user can conveniently use the digital currency during cash payment, and selection is not needed. Namely, the scheme can solve the problem of how to simplify the coupon management of the user.
In a further preferred embodiment, the digital currency generating step includes: and compiling the first denomination, the commodity identity and the digital currency owner identity to obtain a first code, and generating the first digital currency based on the first code.
In a further preferred embodiment, the digital currency generating step further comprises: receiving a second data request which is sent by the digital currency owner terminal or the digital currency receiver terminal and is used for generating second digital currency, and analyzing a first code and a digital currency receiver identity from the second data request; generating a second digital currency based on the first code and the digital currency recipient identification; the digital currency feedback step further comprises: and sending the second digital currency to a digital currency acceptor terminal.
In the scheme, the generation process of the second digital currency is also the exchange process of the first digital currency, so that the management process of the digital currency is simplified. The digital currency is generated and paid based on a time chain, the owner of the first digital currency is the digital currency owner in the commodity circulation process, such as a consumer or a commodity sales outlet or a distributor, and the owner of the second digital currency is the digital currency receiver in the commodity circulation process, such as a commodity sales outlet or a distributor or a manufacturer. The generation process of the digital money acceptor is also the exchange process of the digital money owner. The digital currency in the invention has a life cycle, is triggered by a digital currency owner to generate, and finally returns to a manufacturer to form a closed loop generation and exchange process, and has no infinite currency of paper currency.
In a second aspect, an embodiment of the present invention provides a block chain-based digital currency exchange system, including a digital currency owner terminal, a digital currency receiver terminal, and a server; the server receives a second data request which is sent by the digital currency owner terminal or the digital currency receiver terminal and used for generating second digital currency, and analyzes a second denomination, a commodity identity, a digital currency owner identity and a digital currency receiver identity from the second data request; the server generates second digital currency based on the second denomination, the commodity identity and the digital currency receiver identity, and adds the second digital currency to an account corresponding to the digital currency receiver identity; and the server deducts the digital currency corresponding to the second denomination from the account corresponding to the digital currency owner identification.
Further, the process of deducting the digital money corresponding to the second denomination from the account corresponding to the digital money owner identity by the server side is executed by the server side, and comprises the following steps: judging whether the denomination borne by the existing digital currency is larger than the second denomination or not in the account corresponding to the digital currency owner identity; if so, replacing the existing digital currency with a newly generated digital currency, the newly generated digital currency carrying a denomination that is the difference between the denomination carried by the existing digital currency and the second denomination; if not, the existing digital currency is deleted.
In a third aspect, an embodiment of the present invention provides an electronic device, including: a memory storing program instructions; and the processor is connected with the memory and executes the program instructions in the memory to realize the steps in the block chain-based digital currency generation method in any embodiment of the invention.
Compared with the prior art, the method and the system break through the traditional thinking that the digital currency is generated by a merchant, the digital currency is generated by being triggered by a consumer or a distributor, the generation process of the digital currency is targeted, the generation process of the digital currency can also be used as a cashing process, the tracking of the whole life cycle of the digital currency is completed, the whole-process tracing of the digital currency is reliably realized, namely, the whole-process tracing of sales promotion is realized, the cost of manpower verification is greatly saved, and the efficiency of the sales promotion verification is improved.
Other advantages of the invention will be apparent from the detailed description which follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is an architecture diagram of a block chain-based digital money generation system in the embodiment.
Fig. 2 is a flowchart of a block chain-based digital currency generation method according to an embodiment.
FIG. 3 is a schematic representation of a digital currency.
Fig. 4 is a flowchart of another block chain-based digital currency generation method according to the embodiment.
Fig. 5 is a flowchart of a block chain-based digital currency generation method according to still another embodiment.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first" and "second" are used herein only for distinguishing one from another and not for indicating or implying any order or importance. For example, the digital currency owner triggers generation of what is referred to as a first digital currency, the digital currency acceptor triggers generation of what is referred to as a second digital currency, and both the first digital currency and the second digital currency are digital currencies.
Referring to fig. 1, an architecture diagram of the block chain-based digital currency generation system illustrated in the present embodiment is shown, and the digital currency generation system may also be understood as a digital currency exchange system since the digital currency generation process may also be an exchange process.
The system shown in fig. 1 includes a digital money owner terminal 200, a digital money acceptor terminal 300, and a server 100 (data processing apparatus). Here, the digital money owner terminal 200 is a terminal held by the digital money owner 400, that is, a user of the terminal is the digital money owner 400; the digital money acceptor terminal 300 is a terminal held by the digital money acceptor 500, i.e., the user of the terminal is the digital money acceptor 500. Here, the digital money owner and the digital money acceptor are referred to based on a time chain (also a circulation chain of commodities) in which the digital money is generated. The digital currency owner may be a consumer, a retailer, a distributor, and the digital currency recipient may be a retailer, a distributor, a vendor. For example, when the digital currency owner is a consumer, the digital currency recipient is a retailer; when the digital money owner is a retailer, the digital money recipient is a distributor; when the digital money owner is a distributor, the digital money recipient is a vendor.
Referring to fig. 2, a method for generating digital currency based on a block chain implemented by the system shown in fig. 1 is implemented based on a server, and the method includes the steps of:
and S11, receiving a first data request sent by the digital currency owner terminal for generating the first digital currency, and analyzing the commodity identity, the digital currency owner identity, the first request time and the first coded owner information from the first data request.
Bonus promotions are generally targeted, for example, to be made to a market or to certain locations. In the scheme, the retailer and the distributor are recorded in the server in advance, namely the identities of the retailer and the distributor are recorded in the server, only the recorded user can communicate with the server, and a data request for generating the digital currency is initiated.
If the goods have been checked in by logistics, that is, the identity of each goods has been scanned by the retailer when the retailer receives the goods delivered by the distributor, and the identity of each goods has the attribution information (the nature is that the attribution of each goods is confirmed), the digital currency owner (such as a consumer or the retailer) can send a first data request to the server by directly scanning the identity of the goods.
If the goods are not checked in a logistics way, namely the attribution of the identity of each goods is not confirmed, if the digital currency owner is the retailer, the retailer is already put on record, and when the retailer scans the identity of the goods, the retailer confirms the attribution of the identity of the goods, so that the retailer can send a first data request to the server in a mode of directly scanning the identity of the goods; if the digital currency owner is a consumer, the identity of the consumer needs to be bound with the identity of the retailer, the binding process is a process of confirming the attribution of the identity of the commodity, and then a first data request is sent to the server side by means of describing the identity of the commodity.
Based on the technical maturity and universal usability of the wechat and the two-dimensional code, in the embodiment, it is preferable that the user (a digital currency receiver or a digital currency owner) identify is a micro signal, the display mode of the product identify is a two-dimensional code, and the user can identify the two-dimensional code on the product through a scanning tool in the wechat program, and then send a data request for generating the digital currency to the server. Obviously, other implementations of the user's identity and the goods' identities are possible.
After the digital currency owner identifies the two-dimensional code on the commodity through a scanning tool in the WeChat program, the generated first data request comprises the identity of the digital currency owner (namely the identity of the digital currency owner) and the identity information of the commodity, and after the server receives the data request, the corresponding information can be analyzed from the data request. Of course, other fields may also be included in the data request, such as a header, a footer, etc. as necessary to generate a representation of the digital currency.
The strength of the promotion may be different for different items, and thus the denomination of the digital currency based on each item may also be different. The first denomination of the first digital currency to be generated may be determined by the item identity.
The first code is a code for generating the first digital currency, and the owner of the first code can be understood as the place of occurrence, namely the source, of the first digital currency, and since the attribution of the identification of the commodity is confirmed when the data request is initiated, the owner information of the first code can be obtained through the identification of the commodity. It should be noted that the expression of the coded owner information may be an address identifier, an identity identifier, an address identifier that is not necessarily an address with a longitude and latitude meaning, a store name of a retailer, a code number of the retailer, or the like, as long as the coded owner information can identify the place where the digital currency occurs and is unique.
The first request time may be understood as an activation time of the first digital money. The time at which the first data request is received may be taken as a first request time.
The merchandise identification and the digital currency owner identification can be directly obtained from the first data request, the first denomination and the first coded owner information can be obtained through the identification of the merchandise, the first request time is obtained from the time of receiving the data request, and if the obtaining of the merchandise identification and the digital currency owner identification is understood to be obtained through direct data analysis request, the first denomination and the first coded owner information and the obtaining of the first request time can be understood to be obtained through indirect data analysis request.
And S12, generating the first digital currency based on the first denomination, the commodity identity, the digital currency owner identity, the first request time and the first coded owner information, and feeding back the first digital currency to the digital currency owner terminal.
In the step, in a specific implementation, the first denomination, the commodity identity, the digital currency owner identity, the first request time and the owner information of the first code may be compiled based on a certain algorithm to obtain the first code, and then the first digital currency is generated based on the first code.
In this example and the examples that follow, beer is used as a commercial product. The identity of the commodity is fu7mueG, and is obtained by scanning a two-dimensional code in the bottle cap or outside the bottle cap or on the bottle body; digital currency owner identity j333 (customer micro-signal); the first request time (activation time) is 201806041830; the first coded owner information is CHUANCHUAN 5; the first denomination is 5 dollars; then this information may be compiled into a first code, B9SFDG3LF2, which may be understood to be a serial number for the first digital currency. And then combining the first code with a specific website, namely the address of the server-side database, to obtain a code of the first digital currency, such as http:// AAA. cn/i/B9 SFDG3LF 2. And finally, generating the first digital currency by encoding the first digital currency through a certain algorithm.
The first digital currency may be represented in a variety of forms, with different forms corresponding to different algorithms. For example, a first digital currency may be presented in the form of a two-dimensional code and a first denomination displayed, as shown in fig. 3.
The algorithm for compiling the information obtained in the first data request into the first code or the algorithm for generating the digital currency based on the first code may be implemented in various ways, which are not described in detail in this embodiment.
The above method is a preferred embodiment. The information for generating the first digital currency comprises the owner information of the first code for determining the place of occurrence of the first digital currency, and the information for generating the first digital currency comprises the commodity identity which is unique, so that the place of occurrence of the first digital currency can be determined without the existence of the owner information of the first code. Because, when the digital currency owner is a consumer or a retailer, the digital currency is generated at the retailer location (the location includes the exact address of the retailer and may also include the area covered by the retailer, namely, the area divided by the electronic fence, so that even if the electronic currency is used in the online shopping mall, the coded owner for generating the digital currency can be traced), the coded owner is the retailer, and the attribution of the goods identity is confirmed, namely, known to be attributed to the retailer; when the digital currency owner is a distributor, the digital currency generation site is a distributor location, and can be determined jointly based on the digital currency owner identification and the digital currency recipient identification (see description below) in the second data request. Thus, the first encoded owner information may be an optional parameter.
The purpose of including the first request time in the information used to generate the first digital currency is to determine the activation time of the first digital currency, to facilitate recording the generation and end times (generated at the time of redemption) of the first digital currency, i.e., to enable full life cycle recording of the digital currency. However, it is easy to understand that, when the promotion is verified, only the user who verifies the digital currency (i.e. the data request sender in the present scheme) needs to verify the digital currency, since the information for generating the first digital currency includes the product id, and the product id is unique, the generated first digital currency is also unique, and therefore, the following and verification of the digital currency can be performed according to the product id and the digital currency owner id which generate the first digital currency. Therefore, the first request time may be an optional parameter.
Referring to fig. 4, the present embodiment provides a digital currency generating method in another implementation manner, including the steps of:
s21, receiving a first data request for generating the first digital currency sent by the digital currency owner terminal, and analyzing the commodity identity and the digital currency owner identity from the first data request.
S22, based on the commodity id, it is judged whether the first digital money has been generated, that is, whether the first digital money based on the commodity id has been generated, and if so, step S23 is executed, and if not, step S24 is executed.
S23, the first data request of the digital money owner terminal is rejected. I.e. the first digital currency is not generated. In specific implementation, no response may be made to the first data request, and a prompt message indicating that the generation is failed may also be responded.
And S24, determining a first denomination based on the commodity identity, generating first digital currency based on the first denomination, the commodity identity and the digital currency owner identity, and feeding back the first digital currency to the digital currency owner terminal.
Because the product id is unique, in this embodiment, it is determined in advance based on the product id whether the first digital currency has been generated based on the product id, and then corresponding processing is performed, so that the phenomenon that a plurality of first digital currencies are repeatedly generated based on the same product id can be avoided, that is, a plurality of users can be prevented from enjoying sales promotion offers for the same product.
Fig. 2 or fig. 4 shows a method applied to a digital money owner terminal, and fig. 5 shows a flow of another digital money generation method applied to a digital money acceptor terminal.
As shown in fig. 5, the method includes the steps of:
and S31, receiving a second data request for generating second digital currency sent by the digital currency owner terminal or the digital currency receiver terminal, and resolving the first code and the digital currency receiver identity from the second data request.
The second data request may be triggered by the digital currency owner or by the digital currency recipient. For example, the digital currency owner may directly withhold the first digital currency upon settlement (e.g., a customer purchase order, or a retailer and a distributor, or a distributor and a manufacturer), and the request to withhold the first digital currency is the initiated second data request, i.e., the second data request is triggered by the digital currency owner. The second data request is triggered by the digital currency recipient if the digital currency recipient directly scans the digital currency owner's first digital currency (where the first digital currency is presented in two-dimensional code) via a wechat scan tool.
The generation process of the second digital currency is also actually the exchange process of the first digital currency, so that the information related to the first digital currency needs to be analyzed from the second data request, for example, the first code is analyzed, and the information such as the digital currency owner identity, the commodity identity, the first denomination and the like can be obtained through the first code. In addition, a digital currency recipient identification may be parsed from the second data request, where the digital currency recipient identification is the identification of the digital currency recipient.
And S32, generating the second digital currency based on the first code and the digital currency recipient identity, and sending the second digital currency to the digital currency recipient terminal.
The digital money acceptor is a user of the digital money acceptor terminal, and the digital money acceptor is an owner of the second digital money, and thus the second digital money is sent to the digital money acceptor terminal.
It is noted here that the digital currency owner simply transfers the first digital currency to the digital currency recipient, and therefore the denomination of the second digital currency is the denomination of the first digital currency, i.e., the first denomination.
It will be readily appreciated that the second request time (activation time of the second digital currency), and/or the owner information of the second code (the second code being the code used to generate the second digital currency) may also be included in the parameters for generating the second digital currency. The time at which the second data request is received may be taken as the second request time. The second encoded owner information may be determined based on the digital currency owner identity and the second identity together. For example, if the digital currency owner identity is the identity of the customer and the digital currency recipient identity is the identity of the retailer (the identities of all retailers and distributors are already registered at the server), then the second encoded home information is the identity or address of the retailer. For another example, if the digital currency owner identifier is the identifier of the dealer and the digital currency receiver identifier is the identifier of the manufacturer, then the identifier may be the location of the dealer when the second encoded owner information is the address identifier (in this case, only the manufacturer delivers the goods to the dealer, and if the dealer goes to the manufacturer for picking up the goods, the address identifier is the location of the manufacturer). In addition, when the second encoded owner information is identified by an address, it can be determined directly from the sending address of the second data request (the digital money acceptor terminal is generally provided with a GPS positioning module).
After the user terminal obtains the digital currency, the digital currency has 3 destinations, namely storage, donation and redemption, and the processing logic of the 3 destinations is the same, including two types, namely direct storage (whether existing digital currency exists or not), and superposition of newly obtained digital currency and existing digital currency to regenerate a new digital currency.
For the overlay mode, the server performs the operations (for the first digital currency) when feeding back the generated digital currency to the user terminal: judging whether existing digital currency exists or not based on the digital currency owner identity, if not, feeding the first digital currency back to a digital currency owner terminal, and if so, combining the existing digital currency and the first digital currency to generate new digital currency and feeding the new digital currency back to the digital currency owner terminal; the new digital currency has a denomination that is the sum of the denomination of the existing digital currency and the first denomination.
For the overlay mode, the server performs the operations (for the second digital currency) when feeding back the generated digital currency to the user terminal: judging whether existing digital currency exists or not based on the digital currency receiver identity, if not, feeding back the second digital currency to a digital currency receiver terminal, if so, combining the existing digital currency and the second digital currency to generate new digital currency, and sending the new digital currency to the digital currency receiver terminal; the new digital currency has a denomination that is the sum of the denomination of the existing digital currency and the denomination of the second digital currency.
That is, based on the identification of the acquirer (for giving a gift, or for obtaining a cash, or for scanning the merchandise identification), it is determined whether the card pack (storage location of the digital currency) of the acquirer has digital currency, if not, the acquired digital currency is directly stored, if so, the acquired digital currency is combined with the existing digital currency, a new digital currency is regenerated, and the new digital currency is stored.
For example, at the time of redemption, the dealer already has a digital currency with a serial number of oherg39a28 and a denomination of 5 dollars; the serial number of the newly obtained digital currency is B9SFDG3LF2, the activation time is 201807051213, the place where the digital currency is generated is CHUANCHUAN5, and the denomination is 5 yuan; the new digital currency, which has been generated after assembly, has a serial number of xcJ216bmSF, the complete code for the digital currency is http:// AAA.cn/i/xcJ216bmSF, and the new digital currency has an activation time of 201807051214; the digital currency originates from ChuancHUAN5 and has a denomination of 10 dollars.
As will be readily appreciated, the process of redemption of digital currency includes single redemption and multiple accumulated redemption. For example, the consumer consumes a bottle of beer, obtains a first digital currency after identifying the product identifier, and then pays the bottle of beer to exchange the first digital currency, wherein the exchange process is a single exchange, and the retailer obtains a second digital currency as a digital currency receiver, wherein the denomination of the second digital currency is a first denomination, and the denomination analyzed in the second data request is the first denomination. For example, the consumer consumes 3 bottles of beer, obtains 3 pieces of first digital currency (or a piece of first digital currency after superposition, the denomination of the first digital currency is 15 yuan) after identifying the commodity identity of each bottle of beer, pays the fee of 3 bottles of beer when closing the account, and pays 3 pieces of first digital currency (or a piece of first digital currency after superposition), the paying process is accumulated paying for a plurality of times, the retailer is used as the second digital currency obtained by the digital currency acceptor, the denomination of the second digital currency is the second denomination, the denomination analyzed in the second data request is the second denomination, and the second denomination is the sum of the first denominations. Thus, for ease of description, the denominations carried by the second digital currency of the redemption process will be collectively referred to as the second denomination, which is equal to the sum of the one or more first denominations.
Thus, the process of redemption of digital currency can be described as:
the server receives a second data request which is sent by the digital currency owner terminal or the digital currency receiver terminal and used for generating second digital currency, and analyzes a second denomination, a commodity identity, a digital currency owner identity and a digital currency receiver identity from the second data request;
the server generates second digital currency based on the second denomination, the commodity identity and the digital currency receiver identity, and adds the second digital currency to an account corresponding to the digital currency receiver identity;
and the server deducts the digital currency corresponding to the second denomination from the account corresponding to the digital currency owner identification.
As a promotion, generally, the value of the generated digital currency is necessarily equal to or less than the value of the actual consumption, and is generally redeemed after consumption (whether the consumer consumes at the retailer, the retailer consumes at the distributor, or the distributor consumes at the manufacturer), and therefore, the value of the digital currency is generally not greater than the value actually required to be paid at the time of redemption. However, it is not excluded that the user may redeem the previously stored digital money without consuming or consuming a small amount of money after accumulating the money for a plurality of times, and therefore, in a more sophisticated scheme, in the process of executing deduction of the digital money corresponding to the second denomination from the account corresponding to the digital money owner identifier, the better processing method is as follows: firstly, judging whether the denomination borne by the existing digital currency is larger than the second denomination or not in an account corresponding to the digital currency owner identity, if so, replacing the existing digital currency with newly generated digital currency, wherein the denomination borne by the newly generated digital currency is the difference between the denomination borne by the existing digital currency and the second denomination; if not, the existing digital currency is deleted.
The method and the system have the following characteristics:
1) the thinking that the traditional merchant generates the digital currency is broken through, and the digital currency is generated by being triggered by a consumer or a distributor and has pertinence.
2) The parameters for generating the digital currency comprise commodity identity identification, digital currency owner identity identification, digital currency receiver identity identification, activation time, production place and the like, so that the whole life cycle of the digital currency can be accurately tracked, the whole-process tracing of the digital currency is reliably realized, namely, the whole-process tracing of sales promotion is realized, the cost of manpower verification is greatly saved, and the sales promotion verification efficiency is improved.
3) The repeated generation of digital currency can be avoided based on the commodity identity, and then unnecessary economic expenditure of manufacturers is maintained.
4) The generation process of the digital currency can also be used as a cashing process, thereby facilitating the cashing of the digital currency, reducing the labor cost of separate cashing and improving the cashing efficiency.
5) Digital currency has a life cycle, triggered by the digital currency owner, and eventually returns to the vendor, without unlimited currency capabilities.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A block chain-based digital currency generation method is realized based on a server side and is characterized by comprising the following steps:
data request analysis: receiving a first data request which is sent by a digital currency owner terminal and used for generating first digital currency, and analyzing a commodity identity and a digital currency owner identity from the first data request;
a digital currency generation step: determining a first denomination based on the commodity identity, and generating first digital currency based on the first denomination, the commodity identity and the digital currency owner identity;
digital currency feedback step: and feeding back the first digital currency to the digital currency owner terminal.
2. The method according to claim 1, wherein the data request parsing step further comprises parsing out from the first data request the owner information for generating a first code of a first digital currency; in the digital currency generating step, a first digital currency is generated based on the first denomination, the commodity identity, the digital currency owner identity and the first coded owner information.
3. The method according to claim 2, wherein the data request parsing step further comprises parsing a first request time from the first data request; in the digital money generating step, a first digital money is generated based on the first denomination, the commodity identification, the digital money owner identification, the first encoded affiliate information, and the first request time.
4. A method according to any one of claims 1 to 3, further comprising, before the digital currency generating step, a verification step of: and judging whether the first digital currency is generated or not based on the commodity identity, if so, rejecting the first data request of the digital currency owner terminal, and if not, executing the digital currency generation step.
5. A method according to any one of claims 1 to 3, wherein the digital currency feedback step comprises:
judging whether existing digital currency exists or not based on the digital currency owner identity, if not, feeding the first digital currency back to a digital currency owner terminal, and if so, combining the existing digital currency and the first digital currency to generate new digital currency and feeding the new digital currency back to the digital currency owner terminal; the new digital currency has a denomination that is the sum of the denomination of the existing digital currency and the first denomination.
6. A method according to any one of claims 1 to 3, wherein the digital currency generating step comprises:
and compiling the first denomination, the commodity identity and the digital currency owner identity to obtain a first code, and generating the first digital currency based on the first code.
7. The method of claim 6, wherein the digital currency generating step further comprises:
receiving a second data request which is sent by the digital currency owner terminal or the digital currency receiver terminal and is used for generating second digital currency, and analyzing a first code and a digital currency receiver identity from the second data request; generating a second digital currency based on the first code and the digital currency recipient identification;
the digital currency feedback step further comprises: and sending the second digital currency to a digital currency acceptor terminal.
8. The method according to claim 7, wherein the digital currency feedback step determines whether or not existing digital currency exists based on the digital currency recipient identification when feeding back second digital currency, and if not, feeds back the second digital currency to a digital currency recipient terminal, and if so, combines the existing digital currency with the second digital currency to generate new digital currency and sends the new digital currency to the digital currency recipient terminal; the new digital currency has a denomination that is the sum of the denomination of the existing digital currency and the denomination of the second digital currency.
9. A block chain-based digital currency exchange system is characterized by comprising a digital currency owner terminal, a digital currency acceptor terminal and a server side; wherein the content of the first and second substances,
the server receives a second data request which is sent by the digital currency owner terminal or the digital currency receiver terminal and used for generating second digital currency, and analyzes a second denomination, a commodity identity, a digital currency owner identity and a digital currency receiver identity from the second data request;
the server generates second digital currency based on the second denomination, the commodity identity and the digital currency receiver identity, and adds the second digital currency to an account corresponding to the digital currency receiver identity;
and the server deducts the digital currency corresponding to the second denomination from the account corresponding to the digital currency owner identification.
10. The system according to claim 9, wherein the server performs the process of deducting the digital money corresponding to the second denomination from the account corresponding to the digital money owner identifier, and comprises:
judging whether the denomination borne by the existing digital currency is larger than the second denomination or not in the account corresponding to the digital currency owner identity;
if so, replacing the existing digital currency with a newly generated digital currency, the newly generated digital currency carrying a denomination that is the difference between the denomination carried by the existing digital currency and the second denomination;
if not, the existing digital currency is deleted.
CN202011438026.6A 2020-12-07 2020-12-07 Block chain-based digital currency generation method and cashing system Pending CN112508556A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011438026.6A CN112508556A (en) 2020-12-07 2020-12-07 Block chain-based digital currency generation method and cashing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011438026.6A CN112508556A (en) 2020-12-07 2020-12-07 Block chain-based digital currency generation method and cashing system

Publications (1)

Publication Number Publication Date
CN112508556A true CN112508556A (en) 2021-03-16

Family

ID=74970647

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011438026.6A Pending CN112508556A (en) 2020-12-07 2020-12-07 Block chain-based digital currency generation method and cashing system

Country Status (1)

Country Link
CN (1) CN112508556A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022218432A1 (en) * 2021-04-16 2022-10-20 中国人民银行数字货币研究所 Digital currency payment method, apparatus, system security chip, and use method
WO2022218410A1 (en) * 2021-04-16 2022-10-20 中国人民银行数字货币研究所 Digital currency export method, recharging method, apparatus, and system
WO2022218400A1 (en) * 2021-04-16 2022-10-20 中国人民银行数字货币研究所 Digital currency management method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105389715A (en) * 2015-11-17 2016-03-09 立德高科(北京)数码科技有限责任公司 Method and system for consumer to claim prize by scanning two-dimension code
JP2018028762A (en) * 2016-08-16 2018-02-22 株式会社Sound−F Coupon management system and method
CN111401869A (en) * 2020-03-25 2020-07-10 福建慧捷通科技有限公司 Digital currency circulation system and circulation method
CN111784314A (en) * 2020-06-24 2020-10-16 杭州云象网络技术有限公司 Block chain digital currency life cycle supervision method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105389715A (en) * 2015-11-17 2016-03-09 立德高科(北京)数码科技有限责任公司 Method and system for consumer to claim prize by scanning two-dimension code
JP2018028762A (en) * 2016-08-16 2018-02-22 株式会社Sound−F Coupon management system and method
CN111401869A (en) * 2020-03-25 2020-07-10 福建慧捷通科技有限公司 Digital currency circulation system and circulation method
CN111784314A (en) * 2020-06-24 2020-10-16 杭州云象网络技术有限公司 Block chain digital currency life cycle supervision method and system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
张光忠: "《大学创业设计教程》", 30 September 2003, pages: 185 - 186 *
曾茜: "基于区块链技术的电子优惠券管理系统的设计与实现", 《中国优秀硕士学位论文全文数据库,信息科技辑》, no. 2018, pages 4 - 2 *
赵宇: "《服装经营管理300问》", 30 September 2013, 中国言实出版社, pages: 251 - 252 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022218432A1 (en) * 2021-04-16 2022-10-20 中国人民银行数字货币研究所 Digital currency payment method, apparatus, system security chip, and use method
WO2022218410A1 (en) * 2021-04-16 2022-10-20 中国人民银行数字货币研究所 Digital currency export method, recharging method, apparatus, and system
WO2022218400A1 (en) * 2021-04-16 2022-10-20 中国人民银行数字货币研究所 Digital currency management method and system

Similar Documents

Publication Publication Date Title
CN112508556A (en) Block chain-based digital currency generation method and cashing system
US10817957B2 (en) Systems and methods to detect changes in merchant identification information
JP5390187B2 (en) Method and system for implementing a sales promotion program
US20220027881A1 (en) Payment Processing Using Electronic Benefit Transfer (EBT) System
CN107944002A (en) Reward voucher checks and writes off method, apparatus and electronic equipment
US20140058834A1 (en) Providing targeted offers on financial transaction receipts
US20090094158A1 (en) Method and Apparatus for Processing and Transmitting Demographic Data Based on Secondary Marketing Identifier in a Multi-Computer Environment
CN111275474A (en) Agricultural commodity marketing method and marketing system
US8682717B2 (en) System and method for processing field 55 customer exclusive data
US20050075927A1 (en) Centrally controlled real-time purchase discounting system
US20130325582A1 (en) Campaign reward system that provides offers to users via their mobile devices
CN112330373A (en) User behavior analysis method and device and computer readable storage medium
CN110796516A (en) Commodity promotion method and device
CN110717780A (en) Automatic electronic gift coupon checking system, method, equipment and storage medium
US20140324563A1 (en) Consumer incentive and/or loyalty program
CN111684482A (en) Method for providing mobile phone commodity ticket issuing service, server device and system used for the method
US20070179838A1 (en) Method and system for coupon presentation
US20170091802A1 (en) Methods and systems for transmitting data indicative of selected value added services from offer distribution servers to mobile terminals
CN111401965A (en) Electronic coupon code classification management system
US20130317913A1 (en) Campaign reward system in communication with financial institution
AU2012100216B4 (en) Transaction based membership
KR102351009B1 (en) Apparatus and method for marketing
US20130325576A1 (en) Campaign reward system that provides offer clearing
US20140052521A1 (en) Campaign reward system in communication with financial institution
CN117196762A (en) Online and offline multi-scene goods picking method and system for new retail line

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: No. 73, Cuifeng international, No. 366, Baicao Road, high tech Zone (West), Chengdu, Sichuan 611731

Applicant after: CHENGDU SHUYUN IOT TECHNOLOGY CO.,LTD.

Address before: 611731 Cuifeng International 73, 366 Baicao Road, Chengdu High-tech Zone, Sichuan Province

Applicant before: CHENGDU SHUYUN IOT TECHNOLOGY CO.,LTD.