CN112215663A - User point currency method, equipment and medium - Google Patents
User point currency method, equipment and medium Download PDFInfo
- Publication number
- CN112215663A CN112215663A CN202011184134.5A CN202011184134A CN112215663A CN 112215663 A CN112215663 A CN 112215663A CN 202011184134 A CN202011184134 A CN 202011184134A CN 112215663 A CN112215663 A CN 112215663A
- Authority
- CN
- China
- Prior art keywords
- user
- credit
- block chain
- merchant
- account
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 57
- 230000008859 change Effects 0.000 claims abstract description 26
- 239000013598 vector Substances 0.000 claims description 27
- 230000008569 process Effects 0.000 claims description 18
- 230000006399 behavior Effects 0.000 claims description 13
- 238000005516 engineering process Methods 0.000 claims description 5
- 238000012795 verification Methods 0.000 claims description 5
- 238000004891 communication Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000003993 interaction Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 238000007781 pre-processing Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0207—Discounts or incentives, e.g. coupons or rebates
- G06Q30/0208—Trade or exchange of goods or services in exchange for incentives or rewards
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0207—Discounts or incentives, e.g. coupons or rebates
- G06Q30/0222—During e-commerce, i.e. online transactions
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0631—Item recommendations
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- General Business, Economics & Management (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Entrepreneurship & Innovation (AREA)
- Game Theory and Decision Science (AREA)
- Software Systems (AREA)
- General Health & Medical Sciences (AREA)
- Bioethics (AREA)
- Health & Medical Sciences (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The application discloses a user credit clearing method, equipment and a medium.A credit management rule is written into an alliance block chain through an intelligent contract after each merchant participant creates an account on the established alliance block chain; the credit generation instruction and the credit change instruction are sent to the alliance block chain by the merchant participant, so that the nodes in the alliance block chain send corresponding credits to the account number of the merchant participant according to an intelligent contract, and send the corresponding credits to the account number of the user and change the credits of the account number of the merchant participant.
Description
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a user credit redemption method, device, and medium.
Background
The loyalty platform is a marketing means used by merchants to encourage customers to consume and retain customers. The traditional point platform is directly established and maintained by merchants, point data are stored in respective centralized servers, the issuing, exchange and use of points are determined by the merchants by the centralized point management mode, the issuing of the points is not open enough, is transparent and lacks public trust, and the data record of the centralized point platform is easy to be maliciously tampered, so that the safety and the reliability are low; because the point systems of different merchants are often mutually independent, point exchange is difficult to realize between respective point platforms, and points obtained by the same user at different merchants cannot be superposed generally, namely, point data centralized management is carried out between the merchants respectively, data cannot circulate, a data island is easy to form, so that the point exchange process is complicated, the point exchange efficiency is low, and the like.
Disclosure of Invention
The application provides a user point exchange method, device and medium, which are used for solving the technical problems that the existing point platform adopts a centralized point management mode, the data records of the centralized point platform are easy to be maliciously tampered, the safety and the reliability are low, point data centralized management is respectively carried out among all merchants, data cannot be circulated, a 'data island' is easy to form, the point exchange process is complicated, and the point exchange efficiency is low.
In view of the above, a first aspect of the present application provides a user credit acceptance method, including:
all merchant participants establish a block chain of alliances together, and an account is established on the block chain of alliances;
the merchant participant writes credit management rules into the federation blockchain through an intelligent contract;
the merchant participant sends a credit generation instruction to the alliance blockchain, so that nodes in the alliance blockchain send corresponding credits to the account number of the merchant participant according to the intelligent contract;
and when the user completes a preset task or receives a credit exchange instruction sent by the user, the merchant participant sends a credit change instruction to the alliance block chain, so that the node in the alliance block chain sends a corresponding credit to the account of the user according to the intelligent contract and changes the credit of the account of the merchant participant.
Optionally, the method further includes:
and the merchant participant acquires the interested commodity list of the user predicted by the alliance block chain, and recommends commodities to the user according to the commodity sequence in the interested commodity list.
Optionally, the prediction process of the interested commodity list of the user is as follows:
acquiring historical consumption data and historical behavior data of a user;
establishing a preference label for a user and extracting user characteristics through a user representation technology based on the historical consumption data and the historical behavior data;
performing feature splicing on the preference label and the user features of the user to obtain a feature vector of the user;
extracting the characteristics of the attribute information of all the commodities on the alliance block chain to obtain the characteristic vector of each commodity;
predicting the interest preference of the user based on the feature vector of the user and the feature vectors of the commodities to obtain an interested commodity list of the user.
Optionally, the predicting the interest preference of the user based on the feature vector of the user and the feature vectors of the commodities to obtain an interested commodity list of the user includes:
performing inner product operation on the feature vector of the user and the feature vector of each commodity to obtain the prediction probability of each commodity;
and sorting the commodities in a descending order according to the prediction probability to obtain an interested commodity list of the user.
Optionally, a super node is arranged in the federation block chain;
and the super node is used for verifying the credit transaction and recording the credit transaction information on the alliance block chain when the credit transaction passes the verification.
Optionally, when the user completes a preset task or receives a credit exchange instruction sent by the user, the merchant participant sends a credit change instruction to the federation block chain, so that a node in the federation block chain sends a corresponding credit to an account of the user according to the intelligent contract and changes the credit of the account of the merchant participant, including:
and when the user completes a preset task or receives a credit exchange instruction sent by the user, the merchant participant sends a credit change instruction to the alliance block chain, so that after the node in the alliance block chain judges that the user has an account, the corresponding credit is sent to the account of the user according to the intelligent contract and the credit of the account of the merchant participant is changed.
Optionally, the point management rules include a first point management rule constructed by the merchant participants together and a second point management rule constructed by the merchant participants respectively, where the second point management rule is commonly recognized on the federation blockchain by a practical bypath fault-tolerant algorithm.
A second aspect of the present application provides a user credit redemption device, the device comprising a processor and a memory;
the memory is used for storing program codes and transmitting the program codes to the processor;
the processor is configured to perform the user credit redemption method of any of the first aspects in accordance with instructions in the program code.
A third aspect of the present application provides a computer-readable storage medium for storing program code for performing the user credit redemption method of any one of the first aspects.
According to the technical scheme, the method has the following advantages:
the application provides a user credit clearing method, which comprises the following steps: all merchant participants establish a block chain of alliances together, and an account is established on the block chain of alliances; the merchant participant writes the point management rule into the alliance block chain through an intelligent contract; the merchant participant sends a credit generation instruction to the alliance block chain, so that the nodes in the alliance block chain send corresponding credits to the account number of the merchant participant according to the intelligent contract; and when the user completes a preset task or receives a credit exchange instruction sent by the user, the merchant participant sends a credit change instruction to the alliance block chain, so that the nodes in the alliance block chain send corresponding credits to the account number of the user according to the intelligent contract and change the credits of the account number of the merchant participant.
According to the user point currency method, the alliance block chain is established, and point data can be stored only after being identified by multiple parties, so that the point data has the characteristics of credibility, non-falsification and the like, and the safety and reliability of the point data are improved; the points are generated, changed and exchanged on the alliance block chain by all merchant participants, the problems of complicated point exchange process and low point exchange efficiency caused by introducing a multi-party point platform are solved, the circulation and exchange of the points on a plurality of platforms can be realized through the alliance block chain, and the problem of data island is avoided, so that the technical problems that the existing point platform adopts a centralized point management mode, the data records of the centralized point platform are easy to be maliciously tampered, the safety and the reliability are low, the point data centralized management is respectively carried out among merchants, the data cannot circulate, the data island is easy to form, the point exchange process is complicated, and the point exchange efficiency is low are solved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic flow chart of a user credit redemption method according to an embodiment of the present disclosure;
fig. 2 is another schematic flow chart of a user credit redemption method provided in an embodiment of the present application;
FIG. 3 is a block diagram of a user credit redemption process provided by an embodiment of the present application;
FIG. 4 is a block diagram of a user point generation, change and redemption process provided by an embodiment of the present application;
fig. 5 is a schematic flow chart of personalized recommendation provided in an embodiment of the present application.
Detailed Description
The application provides a user point exchange method, device and medium, which are used for solving the technical problems that the existing point platform adopts a centralized point management mode, the data records of the centralized point platform are easy to be maliciously tampered, the safety and the reliability are low, point data centralized management is respectively carried out among all merchants, data cannot be circulated, a 'data island' is easy to form, the point exchange process is complicated, and the point exchange efficiency is low.
In order to make the technical solutions of the present application better understood, 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 only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
To facilitate understanding, referring to fig. 1, the present application provides an embodiment of a user credit redemption method, including:
The merchant participants at least comprise a credit platform operator, an insurance participant, a financial participant, a communication operator participant, other merchant participants and the like, and different merchant participants establish an alliance block chain together, wherein the alliance block chain is different from a public block chain and a private block chain, the authority of the public block chain and the authority of the private block chain are completely centralized, and the alliance block chain is a partially centralized block chain.
The merchant participants register in the federation blockchain, and the federation blockchain generates account numbers for the merchant participants, wherein each account number has a respective pair of a public key and a private key, the public key is publicly visible on the federation blockchain, and the private key needs to be kept secret relative to other nodes. After recording the private key, the merchant participant needs to bind the account with its public key, so that an account system can be formed by the account, the public key and the private key. Correspondingly, the operation of each merchant participant on the federation blockchain is bound with the corresponding account and recorded on the federation blockchain.
In the embodiment of the application, a unified account system composed of the public key, the private key and the account number can ensure that the encrypted integral data is safely and reliably transmitted by using the characteristics of the public key and the private key on one hand, and can realize accurate integral data recording by means of the account number on the other hand.
The point management rules specifically include rules of point generation, point change, point exchange and the like, for example, a new user can obtain reward points when registering; the reward points can be obtained by purchasing the commodities which meet the conditions; inviting friends to register to obtain reward points; the exchange proportion of the points, the currency and the commodities and other rules, and the merchant participants can set more 'win-win' rules according to the interests of the users and the interests of the users, so that the enthusiasm of the users for the points is improved, and the consumption is promoted.
The credit management rules comprise a first credit management rule constructed by the merchant participants and a second credit management rule constructed by the merchant participants respectively, namely the first credit management rule is a credit management rule constructed by the merchant participants on the alliance block chain. Wherein the second point management rule is consensus on the block chain of the federation through a practical Byzantine fault-tolerant algorithm. The practical Byzantine fault-tolerant algorithm is an important step in the node consensus phase. After a client of a merchant participant sends an initiated request to a main node in a federation blockchain, the main node broadcasts the request at other replica nodes. In the broadcasting process, the common identification of a plurality of participating nodes can be completed only after the three stages of Pre-Prepare, Preprepare and Commit are executed.
Pre-Prepare stage: after initiating a request, a client side where a merchant participant is located transmits the request to a main node, and the main node numbers the request and sends a Pre-Prepare message to other replica nodes.
Stage Prepare: when other replica nodes receive the Pre-Prepare message from the main node, the validity of the message needs to be checked, after the message passes the verification, the Preprepare message is sent to other nodes, and the Pre-Prepare message and the Preprepare message are stored in the log of the node.
And a Commit stage: when one node completes the Prepare phase, it will broadcast Commit message to other nodes to tell other nodes that they are in Prepare state; when the collected commit message meets the requirements, the node will be set to committed status.
The merchant participants write the point management rules through intelligent contracts onto the federation blockchain. The intelligent contract is a code operated on the alliance block chain, aims to transmit, verify and execute contract-up protocols for all merchant participants on the alliance block chain, can execute credible transactions in all the participants under the condition that no third party participates, and has the characteristics of traceability, non-reversibility and the like.
After the intelligent contract is compiled, the transaction of the point data needs to be analyzed, and the corresponding point management instruction on the point exchange platform needs to be executed according to the rule on the intelligent contract.
It should be noted that a plurality of sub-chains exist on the federation block chain, and each merchant participant has one sub-chain for storing records of the credit change condition of the merchant, the execution condition of the intelligent contract and the like; each sub-chain belongs to the main chain in the alliance block chain, and the point scheme agreed in the intelligent contract is used for executing each participant in a cross-chain mode.
Further, each merchant participant in the federation blockchain may set rules together to generate super nodes, and the number of the super nodes may be one or more. The super node has functions of a common node, and also comprises data monitoring, member management, authority distribution and other authorities. The super node is used for verifying the credit transaction, and whether the public key address of the credit transaction is owned by the corresponding account can be verified through the account information recorded on the alliance block chain. When the number of the super nodes is multiple, consensus voting can be carried out among the super nodes after verification, and the validity of the credit transaction is judged after the consensus passes. After the credit transaction passes the verification, the super node performs a billing process and records the corresponding credit transaction information on the alliance block chain.
According to the embodiment of the application, a hierarchical management mechanism comprising an alliance block chain, a super node and a common node is adopted, so that the alliance block chain can reach a partially decentralized distributed integral accounting platform; through the unique decentralized design of a 'hierarchical management' mechanism and the number of the participants of the block chain of the alliance in the embodiment of the application, compared with a public chain, the method is more controllable, the transaction speed can be accelerated through the consensus efficiency of the nodes, and the demand of larger-scale point management is supported.
And 103, the merchant participant sends a credit generation instruction to the alliance block chain, so that the nodes in the alliance block chain send corresponding credits to the account number of the merchant participant according to the intelligent contract.
And when the merchant participant sends a credit generation instruction to the alliance block chain, the nodes in the alliance block chain judge the credit according to the intelligent contract, if the corresponding conditions of the credit management rule in the intelligent contract are judged to be met, the credit is generated for the merchant participant, the corresponding credit is sent to the account number of the merchant participant, and otherwise, the credit is not generated and a result is returned to the merchant participant.
And step 104, when the user completes a preset task or receives a credit exchange instruction sent by the user, the merchant participant sends a credit change instruction to the alliance block chain, so that the nodes in the alliance block chain send corresponding credits to the account of the user according to the intelligent contract and change the credits of the account of the merchant participant.
In the credit clearing process, referring to fig. 3 and 4, when the user completes a preset task (successful registration, purchase of a certain commodity, invitation of friend registration, or the like), the corresponding merchant participant sends a credit change instruction to the alliance block chain, the node in the alliance block chain judges the credit change instruction according to the credit management rule in the intelligent contract, if the credit change instruction conforms to the corresponding condition in the credit management rule, the corresponding credit is sent to the account of the user according to the intelligent contract and the credit of the account of the merchant participant is changed, and if the credit change instruction does not conform to the corresponding condition in the credit management rule, the credit change instruction returns a result to the merchant participant.
Before a user obtains points, a node in an alliance block chain needs to judge whether the user has an account number for point transfer, if the user does not have the account number, the user is reminded to register on the alliance block chain, if the user has the account number, the points corresponding to preset tasks are sent to the account number of the user, the points of the account number of a merchant participant are changed, and a point change record is stored.
When a user exchanges points, the corresponding point exchange method is known through the point exchange rule, the user can send a point exchange instruction to a merchant participant, the merchant participant generates a corresponding point change instruction according to the number of the points in the point exchange instruction sent by the user and sends the point change instruction to an alliance block chain, nodes in the alliance block chain judge the points according to a point management rule in an intelligent contract, if the points are judged to accord with corresponding conditions in the point management rule, the corresponding number of points are sent to an account number of the user according to the intelligent contract and the points of the account number of the merchant participant are changed, and if the points are not changed and a result is returned to the merchant participant.
Further, when the user executes the point exchange, the corresponding merchant inquires whether the point exchange is successful or not from the block chain of the alliance, if the point exchange is successful, the point of the user is deducted correspondingly, and the point exchange behavior of the user is recorded on the block chain of the alliance.
In each step, records of generation, change and redemption of the points are recorded in the block chain of the alliance, and merchant participants and users can inquire related point conditions, redemption records and the like based on a display interface of the block chain of the alliance. Since each participant stores the respective commodity information, the information can be transmitted and stored uniformly through a standard data interface and a storage format, such as the account ID of a merchant, the account ID of a user, the time for exchanging points, the number of exchanging points and the like. After point conversion is executed, transaction information of points is encrypted and stored in the alliance block chain, and therefore the safety of the information is guaranteed.
According to the user point currency method in the embodiment of the application, the point data can be stored only after being identified by multiple parties by establishing the alliance block chain, so that the point data has the characteristics of credibility, non-falsification and the like, and the safety and reliability of the point data are improved; the points are generated, changed and exchanged on the alliance block chain by all merchant participants, the problems of complicated point exchange process and low point exchange efficiency caused by introducing a multi-party point platform are solved, the circulation and exchange of the points on a plurality of platforms can be realized through the alliance block chain, and the problem of data island is avoided, so that the technical problems that the existing point platform adopts a centralized point management mode, the data records of the centralized point platform are easy to be maliciously tampered, the safety and the reliability are low, the point data centralized management is respectively carried out among merchants, the data cannot circulate, the data island is easy to form, the point exchange process is complicated, and the point exchange efficiency is low are solved.
The above is an embodiment of a user credit presentation method provided by the present application, and the following is another embodiment of a user credit presentation method provided by the present application.
Referring to fig. 2, a user credit acceptance method provided in an embodiment of the present application includes:
And 203, the merchant participant sends a credit generation instruction to the alliance blockchain, so that the nodes in the alliance blockchain send corresponding credits to the account number of the merchant participant according to the intelligent contract.
And step 204, when the user completes a preset task or receives a credit exchange instruction sent by the user, the merchant participant sends a credit change instruction to the alliance block chain, so that the nodes in the alliance block chain send corresponding credits to the account of the user according to the intelligent contract and change the credits of the account of the merchant participant.
The specific contents of step 201 to step 204 are the same as the specific contents of step 101 to step 104, and are not described herein again.
And step 205, the merchant participant acquires the interested commodity list of the user predicted by the block chain of the alliance, and recommends commodities to the user according to the commodity sequence in the interested commodity list.
The merchant participant may obtain an interested commodity list of the user from the alliance block chain, and recommend commodities to the user according to a commodity sequence in the interested commodity list, where, referring to fig. 5, a prediction process of the interested commodity list of the user is as follows:
1. and acquiring historical consumption data and historical behavior data of the user.
The historical consumption data can be historical consumption data of a store which is taken off by the user on line, and the historical behavior data can be historical behavior data (such as browsing records, purchasing) of a platform which is taken on line by the userPurchase records, etc.), the obtained historical consumption data and historical behavior data can be preprocessed, and the obtained preprocessing results are respectively recorded as U1、U2。
2. Based on historical consumption data and historical behavior data, a preference tag is established for a user through a user representation technology, and user features are extracted.
Preprocessing results (U) from historical consumption data and historical behavior data1、U2) And carrying out user identification and alignment operation, splicing and merging the historical consumption data of the offline store and the online historical behavior data of the same user to obtain all historical interaction records of the user, and effectively and automatically summarizing the multi-channel data of the same user into a customer global archive.
By analyzing the historical data of the user, the consumption ability, the consumption habits, the interest preferences and the like of the user can be further known. Specifically, according to the obtained all historical interaction records of the users, user portrait technology is adopted to abstract each user data into a label, the user image is embodied through different label information, each label describes different dimension information of the users respectively, and all the dimension information can jointly form the overall description of the users. And establishing an interest preference model for each user through the user portrait, and establishing a preference tag of each user. The user characteristics are extracted according to all historical interaction records of the user.
3. And performing feature splicing on the preference label of the user and the user features to obtain a feature vector of the user.
Performing feature splicing on the preference label and the user feature of the user to obtain a feature vector of the corresponding userWherein,n is the number of features for different features of the user. Different characteristics depict the interest preference of the user in different dimensions, and the combination of a plurality of different characteristicsAnd a characteristic vector reflecting the relatively integral user preference can be constructed, so that more accurate and diversified recommendation results are provided for the user.
4. And performing feature extraction on the attribute information of all the commodities on the allied block chain to obtain the feature vector of each commodity.
Extracting the characteristic of the attribute information (brand, category, origin, etc.) of all the commodities on the allied block chain to obtain the characteristic vector of each commodityWherein,m is the number of features for different features of the commodity.
5. And predicting the interest preference of the user based on the feature vector of the user and the feature vector of each commodity to obtain an interested commodity list of the user.
After the feature vectors of the user and the feature vectors of each commodity are obtained, the interest preference of the user can be predicted by cosine similarity, inner product operation, machine learning and other methods, the inner product operation is preferably adopted in the embodiment of the application, and the specific process is as follows:
carrying out inner product operation on the feature vector of the user and the feature vector of each commodity to obtain the prediction probability of each commodity; and sorting the commodities in a descending order according to the prediction probability to obtain an interested commodity list of the user. The calculation formula of the predicted power is as follows:
PUI=Ufeature·Ifeature;
in the formula, PUIFor predicting the probability, an inner product operation.
According to the user point currency method in the embodiment of the application, the point data can be stored only after being identified by multiple parties by establishing the alliance block chain, so that the point data has the characteristics of credibility, non-falsification and the like, and the safety and reliability of the point data are improved; the points are generated, changed and exchanged on the alliance block chain by each merchant participant, so that the problems of complicated point exchange process and low point exchange efficiency caused by introducing a multi-party point platform are solved, the point can be exchanged on a plurality of platforms through the alliance block chain, and the problem of data island is avoided, so that the technical problems that the existing point platform adopts a centralized point management mode, the data records of the centralized point platform are easy to be maliciously distorted, the safety and the reliability are low, the point data centralized management is respectively carried out among merchants, the data cannot be circulated, the data island is easy to form, the point exchange process is complicated, and the point exchange efficiency is low are solved;
further, in the embodiment of the application, the platform in which multiple parties participate in the block chain of the alliance can bring richer multi-source data, and by means of data advantages, the multi-source data of multiple sources, multiple types and multiple platforms can depict richer and comprehensive user figures by analyzing the online behavior data and the offline store consumption data of the user, so that personalized recommendation of merchant data is realized, more accurate and diversified recommendation is provided, cooperation among merchants on the block chain of the alliance is enhanced, user stickiness is enhanced, more merchant opportunities are provided for the merchants on the block chain of the alliance, and the value of points is further gained.
The embodiment of the application also provides user credit clearing equipment, which comprises a processor and a memory;
the memory is used for storing the program codes and transmitting the program codes to the processor;
the processor is configured to execute a user credit redemption method of the aforementioned user credit redemption method embodiments in accordance with instructions in the program code.
Embodiments of the present application also provide a computer-readable storage medium for storing program code for executing the user credit presentation method in the foregoing user credit presentation method embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for executing all or part of the steps of the method described in the embodiments of the present application through a computer device (which may be a personal computer, a server, or a network device). And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.
Claims (9)
1. A user credit redemption method, comprising:
all merchant participants establish a block chain of alliances together, and an account is established on the block chain of alliances;
the merchant participant writes credit management rules into the federation blockchain through an intelligent contract;
the merchant participant sends a credit generation instruction to the alliance blockchain, so that nodes in the alliance blockchain send corresponding credits to the account number of the merchant participant according to the intelligent contract;
and when the user completes a preset task or receives a credit exchange instruction sent by the user, the merchant participant sends a credit change instruction to the alliance block chain, so that the node in the alliance block chain sends a corresponding credit to the account of the user according to the intelligent contract and changes the credit of the account of the merchant participant.
2. The user credit redemption method of claim 1, further comprising:
and the merchant participant acquires the interested commodity list of the user predicted by the alliance block chain, and recommends commodities to the user according to the commodity sequence in the interested commodity list.
3. The user credit redemption method of claim 2, wherein the prediction process of the user's interest item list is:
acquiring historical consumption data and historical behavior data of a user;
establishing a preference label for a user and extracting user characteristics through a user representation technology based on the historical consumption data and the historical behavior data;
performing feature splicing on the preference label and the user features of the user to obtain a feature vector of the user;
extracting the characteristics of the attribute information of all the commodities on the alliance block chain to obtain the characteristic vector of each commodity;
predicting the interest preference of the user based on the feature vector of the user and the feature vectors of the commodities to obtain an interested commodity list of the user.
4. The method of claim 3, wherein the predicting the interest preference of the user based on the feature vector of the user and the feature vectors of the commodities to obtain the interested commodity list of the user comprises:
performing inner product operation on the feature vector of the user and the feature vector of each commodity to obtain the prediction probability of each commodity;
and sorting the commodities in a descending order according to the prediction probability to obtain an interested commodity list of the user.
5. The user credit redemption method of claim 1, wherein a super node is provided in the federation blockchain;
and the super node is used for verifying the credit transaction and recording the credit transaction information on the alliance block chain when the credit transaction passes the verification.
6. The user credit redemption method of claim 1, wherein the merchant participant sends a credit change instruction to the federation blockchain when the user completes a preset task or receives a credit redemption instruction sent by the user, so that a node in the federation blockchain sends a corresponding credit to an account of the user according to the smart contract and changes the credit of the account of the merchant participant, comprising:
and when the user completes a preset task or receives a credit exchange instruction sent by the user, the merchant participant sends a credit change instruction to the alliance block chain, so that after the node in the alliance block chain judges that the user has an account, the corresponding credit is sent to the account of the user according to the intelligent contract and the credit of the account of the merchant participant is changed.
7. The user credit redemption method of claim 1, wherein the credit management rules include a first credit management rule constructed by the merchant participants in common and a second credit management rule constructed by the merchant participants in each, wherein the second credit management rule is agreed upon on the federation blockchain by a practical Byzantine fault-tolerant algorithm.
8. A user credit redemption device, the device comprising a processor and a memory;
the memory is used for storing program codes and transmitting the program codes to the processor;
the processor is configured to execute the user credit redemption method of any one of claims 1-7 in accordance with instructions in the program code.
9. A computer-readable storage medium for storing program code for executing the user credit redemption method of any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011184134.5A CN112215663A (en) | 2020-10-29 | 2020-10-29 | User point currency method, equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011184134.5A CN112215663A (en) | 2020-10-29 | 2020-10-29 | User point currency method, equipment and medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112215663A true CN112215663A (en) | 2021-01-12 |
Family
ID=74057574
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011184134.5A Pending CN112215663A (en) | 2020-10-29 | 2020-10-29 | User point currency method, equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112215663A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112767043A (en) * | 2021-01-26 | 2021-05-07 | 中国人寿保险股份有限公司上海数据中心 | Multi-platform integration system and method based on block chain and storage medium |
CN112950281A (en) * | 2021-03-23 | 2021-06-11 | 函谷数巢品牌管理(广州)有限公司 | Block chain-based event handling method and device |
CN113643027A (en) * | 2021-07-07 | 2021-11-12 | 重庆邮电大学 | Method and device for realizing industry network point management based on block chain |
CN113706236A (en) * | 2021-06-02 | 2021-11-26 | 联想(北京)有限公司 | Recommendation method and device and electronic equipment |
CN113837791A (en) * | 2021-08-19 | 2021-12-24 | 海南火链科技有限公司 | Resource exchange method and device, computer equipment and computer readable storage medium |
CN113888242A (en) * | 2021-04-14 | 2022-01-04 | 北京币格科技有限公司 | Method and device for sharing points of small and medium-sized enterprises and electronic equipment |
CN114078030A (en) * | 2021-11-22 | 2022-02-22 | 中国银行股份有限公司 | Block chain-based integral processing method and device, electronic equipment and storage medium |
CN114782076A (en) * | 2022-03-28 | 2022-07-22 | 武汉圣男品牌管理有限公司 | Online shopping mall consumption platform lottery and point exchange intelligent management method and system and computer storage medium |
CN116823346A (en) * | 2023-07-17 | 2023-09-29 | 广州百奕信息科技有限公司 | Civil aviation digital asset public comprehensive service method based on blockchain technology |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017154014A1 (en) * | 2016-03-10 | 2017-09-14 | Sinha Nilotpal Kanti | Single platform based multi-merchant, multi-coalition system for loyalty award points |
CN107563833A (en) * | 2017-07-27 | 2018-01-09 | 广州智慧城市发展研究院 | A kind of personalized recommendation method and system based on block chain integration service platform |
CN109886734A (en) * | 2019-01-25 | 2019-06-14 | 东莞市盟大塑化科技有限公司 | A kind of integral interoperability methods based on block chain technology |
CN110807672A (en) * | 2019-11-12 | 2020-02-18 | 北京芯际科技有限公司 | Block chain-based point cashing method |
CN111127078A (en) * | 2019-12-03 | 2020-05-08 | 北京书礼行知文化传媒有限公司 | Block chain-based point transaction method and system and electronic equipment |
CN111582935A (en) * | 2020-05-08 | 2020-08-25 | 张宸源 | Block chain-based integral mutual identification method and system |
-
2020
- 2020-10-29 CN CN202011184134.5A patent/CN112215663A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017154014A1 (en) * | 2016-03-10 | 2017-09-14 | Sinha Nilotpal Kanti | Single platform based multi-merchant, multi-coalition system for loyalty award points |
CN107563833A (en) * | 2017-07-27 | 2018-01-09 | 广州智慧城市发展研究院 | A kind of personalized recommendation method and system based on block chain integration service platform |
CN109886734A (en) * | 2019-01-25 | 2019-06-14 | 东莞市盟大塑化科技有限公司 | A kind of integral interoperability methods based on block chain technology |
CN110807672A (en) * | 2019-11-12 | 2020-02-18 | 北京芯际科技有限公司 | Block chain-based point cashing method |
CN111127078A (en) * | 2019-12-03 | 2020-05-08 | 北京书礼行知文化传媒有限公司 | Block chain-based point transaction method and system and electronic equipment |
CN111582935A (en) * | 2020-05-08 | 2020-08-25 | 张宸源 | Block chain-based integral mutual identification method and system |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112767043A (en) * | 2021-01-26 | 2021-05-07 | 中国人寿保险股份有限公司上海数据中心 | Multi-platform integration system and method based on block chain and storage medium |
CN112767043B (en) * | 2021-01-26 | 2024-05-24 | 中国人寿保险股份有限公司上海数据中心 | Multi-platform integration system, method and storage medium based on blockchain |
CN112950281A (en) * | 2021-03-23 | 2021-06-11 | 函谷数巢品牌管理(广州)有限公司 | Block chain-based event handling method and device |
CN113888242A (en) * | 2021-04-14 | 2022-01-04 | 北京币格科技有限公司 | Method and device for sharing points of small and medium-sized enterprises and electronic equipment |
CN113706236A (en) * | 2021-06-02 | 2021-11-26 | 联想(北京)有限公司 | Recommendation method and device and electronic equipment |
CN113643027A (en) * | 2021-07-07 | 2021-11-12 | 重庆邮电大学 | Method and device for realizing industry network point management based on block chain |
CN113643027B (en) * | 2021-07-07 | 2024-05-10 | 芽米科技(广州)有限公司 | Method and device for realizing industry network integral management based on block chain |
CN113837791A (en) * | 2021-08-19 | 2021-12-24 | 海南火链科技有限公司 | Resource exchange method and device, computer equipment and computer readable storage medium |
CN114078030A (en) * | 2021-11-22 | 2022-02-22 | 中国银行股份有限公司 | Block chain-based integral processing method and device, electronic equipment and storage medium |
CN114782076A (en) * | 2022-03-28 | 2022-07-22 | 武汉圣男品牌管理有限公司 | Online shopping mall consumption platform lottery and point exchange intelligent management method and system and computer storage medium |
CN116823346A (en) * | 2023-07-17 | 2023-09-29 | 广州百奕信息科技有限公司 | Civil aviation digital asset public comprehensive service method based on blockchain technology |
CN116823346B (en) * | 2023-07-17 | 2024-04-05 | 广州百奕信息科技有限公司 | Civil aviation digital asset public comprehensive service method based on blockchain technology |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112215663A (en) | User point currency method, equipment and medium | |
US20220156652A1 (en) | Mint-and-burn blockchain-based feedback-communication protocol | |
JP7108057B2 (en) | Personal data processing method and system based on blockchain | |
US11301460B2 (en) | Platform for creating and using actionable non-fungible tokens (KNFT) | |
TWI768163B (en) | Method and device for generating smart contracts | |
US20180158162A1 (en) | System and method for microshare based content funding and distribution | |
CN112955924A (en) | Block chain-based content sharing creation server, content distribution server and system comprising same | |
US20110208418A1 (en) | Completing Obligations Associated With Transactions Performed Via Mobile User Platforms Based on Digital Interactive Tickets | |
US11935036B2 (en) | Redemption and settlement transactions via smart contracts | |
Zeng et al. | Incentive mechanisms in federated learning and a game-theoretical approach | |
CN102509231A (en) | Information processing system and method for realizing referral commission real-time transaction through mobile terminals embedded with auction software clients | |
CN107403356A (en) | A kind of bill operation system | |
WO2023121711A1 (en) | Computer-implemented digital communication using cryptography | |
JP2012529095A (en) | How to get data from users at the time of card payment made using payment terminal | |
CN116109351A (en) | Multi-platform point exchange method and device, electronic equipment and storage medium | |
CN111930834A (en) | Block chain based commenting method and device | |
CN110417917A (en) | Method, system, computer equipment and medium for bill circulation | |
CN109074587A (en) | Technology for propagating advertisement | |
CN111445281A (en) | Block chain-based integral monitoring method and device and computer-readable storage medium | |
CN117093637A (en) | Big data cloud platform for electronic commerce transaction | |
CN117094764A (en) | Bank integral processing method and device | |
US20240113900A1 (en) | Systems and methods for facilitating cryptographically backed coordination of complex computer communications | |
KR20240085268A (en) | Method for generating creative emoticon that communicate user's emotion more effectively and creative emoticon-based content service system for performing the same | |
CN116308377A (en) | Account management method, device, equipment and storage medium | |
KR102169311B1 (en) | Subscription method using smart contract based block chain |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210112 |