CN113409078A - Point issuing method, device, equipment and storage medium - Google Patents

Point issuing method, device, equipment and storage medium Download PDF

Info

Publication number
CN113409078A
CN113409078A CN202110651366.5A CN202110651366A CN113409078A CN 113409078 A CN113409078 A CN 113409078A CN 202110651366 A CN202110651366 A CN 202110651366A CN 113409078 A CN113409078 A CN 113409078A
Authority
CN
China
Prior art keywords
behavior
user
point
behavior data
points
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
CN202110651366.5A
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.)
Hangzhou Qulian Technology Co Ltd
Original Assignee
Hangzhou Qulian 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 Hangzhou Qulian Technology Co Ltd filed Critical Hangzhou Qulian Technology Co Ltd
Priority to CN202110651366.5A priority Critical patent/CN113409078A/en
Publication of CN113409078A publication Critical patent/CN113409078A/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
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • G06Q30/0213Consumer transaction fees
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • G06Q30/0215Including financial accounts
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • G06Q30/0225Avoiding frauds

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Theoretical Computer Science (AREA)
  • Strategic Management (AREA)
  • Development Economics (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Game Theory and Decision Science (AREA)
  • Data Mining & Analysis (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Biology (AREA)
  • Computing Systems (AREA)
  • Evolutionary Computation (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a point issuing method, a point issuing device, point issuing equipment and a storage medium, and belongs to the technical field of block chains. Applied to a business system, comprising: acquiring behavior data related to value behaviors generated by user identification; determining the number of points which should be obtained by the value behavior as a first number of points according to the behavior data; sending a verification request to a block chain system, wherein the verification request carries the user identifier, the behavior data and the first integral number; after receiving a verification result returned by the block chain system, if the verification result is that the verification is passed, adding a first point number of points to the user account of the user identifier; updating the historical integral record of the user identification according to the integral change condition of the user account; storing the user identification and the historical score record to a blockchain system. The method and the system can ensure the safety and reliability of point issuing, improve the trust of the user on the service system, and ensure the non-tamper property and authenticity of the point information.

Description

Point issuing method, device, equipment and storage medium
Technical Field
The present application relates to the field of block chain technologies, and in particular, to a method, an apparatus, a device, and a storage medium for issuing points.
Background
Merchants typically use a loyalty reward system to incentivize users to enhance the interaction between users and merchants. The points can be used for exchanging prizes such as different articles, cash coupons and the like.
In the related technology, after a user registers a personal account with a merchant, the merchant acquires user behavior data, and issues corresponding points to the personal account of the user according to the user behavior data.
In the method, the merchant does not carry out credit endorsement on the processes of issuing, consuming and the like of the credits, so that the user cannot effectively check the information of the credits, and the trust degree of the user on the merchant is reduced.
Disclosure of Invention
The application provides a point issuing method, a device, equipment and a storage medium, which can ensure the safety and reliability of point issuing, improve the trust of a user on a service system, ensure the non-tampering property and authenticity of point information and facilitate the user to inquire the point information. The technical scheme is as follows:
in a first aspect, a point issuing method is provided, which is applied to a service system, and the method includes:
after a user identifier generates a value behavior, acquiring behavior data related to the value behavior;
determining the number of points which should be obtained by the value behaviors as a first number of points according to the behavior data;
sending a verification request to a blockchain system, wherein the verification request carries the user identifier, the behavior data and the first point number so as to instruct the blockchain system to verify the user identifier, the behavior data and the first point number;
after receiving a verification result returned by the block chain system, if the verification result is that the verification is passed, adding the points of the first point quantity to the user account of the user identifier;
updating the historical integral record of the user identification according to the integral change condition of the user account;
storing the user identification and the historical score record to the blockchain system.
In the application, after determining the corresponding first point number according to the behavior data related to the value behavior executed by the user identifier, the service system sends a verification request to the blockchain system, wherein the user identifier, the behavior data and the first point number are carried in the verification request, and after the blockchain system passes the verification, the service system issues the points with the first point number to the user account of the user identifier, so that the safety and reliability of point issuing are ensured, and the trust of the user on the service system is improved. And the service system updates the historical integral record of the user identifier according to the integral change condition of the user account, and stores the user identifier and the historical integral record to the block chain system, so that the non-tamper property and the authenticity of the integral information are ensured, and the user can conveniently inquire the integral information.
Optionally, the method further comprises:
after the verification result returned by the block chain system is received, updating the historical behavior record of the user identifier according to the behavior data and the verification result;
storing the user identification and the historical behavior record to the blockchain system.
Optionally, the determining, according to the behavior data, the number of points that should be obtained by the value behavior as a first number of points includes:
determining the integral quantity corresponding to the behavior data as a first integral quantity from the corresponding relation between the behavior data and the integral quantity, wherein the corresponding relation is used for indicating the quantity of the integral which should be obtained by the value behavior.
Optionally, the adding the first number of points to the user account identified by the user comprises:
determining a target integration pool from a plurality of integration pools according to the behavior data, wherein the total amount of integration initially set in the plurality of integration pools is a preset integration number, the number of integration initially set in each integration pool is determined according to an integration type corresponding to each integration pool, and the integration type corresponding to the target integration pool is the same as the type of integration to be obtained by the value behavior;
transferring the first point amount of points in the target points pool to the user account of the user identification.
Optionally, the method further comprises:
acquiring the total amount of points in the user accounts of all the user identifications as a second point amount every preset time length;
and dividing the preset resource quantity by the second point quantity to obtain the quantity of the resources which can be redeemed by each point.
Optionally, the verification request is further configured to instruct the blockchain system to store the user identifier, the behavior data, and the first number of credits after the verification result is that the verification passes, or store a hash value of target information, where the target information is obtained by concatenating the user identifier, the behavior data, and the first number of credits.
Optionally, after storing the user identifier and the historical score record to the blockchain system, the method further includes:
receiving a point query instruction, wherein the point query instruction carries the user identifier and the behavior data;
sending a point query request to the block chain system, wherein the point query request carries the user identifier and the behavior data;
and receiving a point query result returned by the block chain system, wherein the point query result comprises point information related to the user identification and the behavior data.
In a second aspect, there is provided a credit issuing apparatus comprising:
the acquisition module is used for acquiring behavior data related to the value behaviors after the value behaviors are generated by the user identifications;
the first acquisition module is used for determining the number of points to be acquired by the value behaviors as a first number of points according to the behavior data;
a sending module, configured to send a verification request to a blockchain system, where the verification request carries the user identifier, the behavior data, and the first number of credits, so as to instruct the blockchain system to verify the user identifier, the behavior data, and the first number of credits;
the adding module is used for adding the points of the first point quantity to the user account of the user identifier after receiving the verification result returned by the block chain system and if the verification result is that the verification is passed;
the first updating module is used for updating the historical point record of the user identifier according to the point change condition of the user account;
a first storage module, configured to store the user identifier and the historical score record to the blockchain system.
Optionally, the apparatus further comprises:
the second updating module is used for updating the historical behavior record of the user identifier according to the behavior data and the verification result after receiving the verification result returned by the block chain system;
and the second storage module is used for storing the user identification and the historical behavior record to the block chain system.
Optionally, the behavior data includes at least one of a behavior type, a behavior generation date, and a behavior collection route, and the first obtaining module is configured to:
determining the integral quantity corresponding to the behavior data as a first integral quantity from the corresponding relation between the behavior data and the integral quantity, wherein the corresponding relation is used for indicating the quantity of the integral which should be obtained by the value behavior.
Optionally, the adding module is configured to:
determining a target integration pool from a plurality of integration pools according to the behavior data, wherein the total amount of integration initially set in the plurality of integration pools is a preset integration number, the number of integration initially set in each integration pool is determined according to an integration type corresponding to each integration pool, and the integration type corresponding to the target integration pool is the same as the type of integration to be obtained by the value behavior;
transferring the first point amount of points in the target points pool to the user account of the user identification.
Optionally, the apparatus further comprises:
the second acquisition module is used for acquiring the total amount of the points in the user accounts of all the user identifications as a second point amount every preset time length;
and the third acquisition module is used for dividing the preset resource quantity by the second point quantity to obtain the quantity of the resources which can be redeemed by each point.
Optionally, the verification request is further configured to instruct the blockchain system to store the user identifier, the behavior data, and the first number of credits after the verification result is that the verification passes, or store a hash value of target information, where the target information is obtained by concatenating the user identifier, the behavior data, and the first number of credits.
Optionally, the apparatus further comprises:
the receiving module is used for receiving an integral query instruction, and the integral query instruction carries the user identifier and the behavior data;
the sending module is further configured to send an integral query request to the blockchain system, where the integral query request carries the user identifier and the behavior data;
the receiving module is further configured to receive an integral query result returned by the blockchain system, where the integral query result includes integral information related to the user identifier and the behavior data.
In a third aspect, a computer device is provided, the computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the computer program, when executed by the processor, implementing the credit issuing method described above.
In a fourth aspect, a computer-readable storage medium is provided, which stores a computer program that, when executed by a processor, implements the credit issuing method described above.
In a fifth aspect, a computer program product is provided comprising instructions which, when run on a computer, cause the computer to perform the steps of the above-described point dispensing method.
It is to be understood that, for the beneficial effects of the second aspect, the third aspect, the fourth aspect and the fifth aspect, reference may be made to the description of the first aspect, and details are not described herein again.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are 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 to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a blockchain system according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of a block chain according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of a point issuing system according to an embodiment of the present application;
fig. 4 is a flowchart of a first point issuing method according to an embodiment of the present application;
fig. 5 is a schematic diagram of a point issuing method according to an embodiment of the present application;
fig. 6 is a flowchart of a second point issuing method according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an integration and distribution device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
It should be understood that reference to "a plurality" in this application means two or more. In the description of the present application, "/" means "or" unless otherwise stated, for example, a/B may mean a or B; "and/or" herein is only an association relationship describing an associated object, and means that there may be three relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, for the convenience of clearly describing the technical solutions of the present application, the terms "first", "second", and the like are used to distinguish the same items or similar items having substantially the same functions and actions. Those skilled in the art will appreciate that the terms "first," "second," etc. do not denote any order or quantity, nor do the terms "first," "second," etc. denote any order or importance.
Before explaining the embodiments of the present application, the related contents of the block chain will be described.
Fig. 1 is a schematic structural diagram of a blockchain system according to an embodiment of the present disclosure.
Referring to fig. 1, a blockchain system 100 refers to a system for performing data sharing between nodes, a plurality of nodes 101 may be included in the blockchain system 100, and the plurality of nodes 101 may refer to respective clients in the blockchain system 100. Each node 101 may receive input information and maintain shared data within the blockchain system 100 based on the received input information while operating normally. In order to ensure information intercommunication in the blockchain system 100, there may be an information connection between each node 101 in the blockchain system 100, and information transmission between the nodes 101 may be performed through the information connection. For example, when an input message is received by any node 101 in the blockchain system 100, other nodes 101 in the blockchain system 100 acquire the input message according to the consensus algorithm, and store the input message as data in the shared data, so that the data stored in all nodes 101 in the blockchain system 100 are consistent.
Each node 101 in the blockchain system 100 stores one identical blockchain. Referring to fig. 2, a block chain is composed of a plurality of blocks, a starting block includes a block header and a block main body, the block header stores an input information characteristic value, a version number, a timestamp and a difficulty value, and the block main body stores input information; the next block of the starting block takes the starting block as a parent block, the next block also comprises a block head and a block main body, the block head stores the input information characteristic value of the current block, the block head characteristic value of the parent block, the version number, the timestamp and the difficulty value, and the like, so that the block data stored in each block in the block chain is associated with the block data stored in the parent block, and the safety of the input information in the block is ensured.
The blockchain system 100 has computer technologies such as distributed data storage, point-to-point transmission, consensus mechanisms, encryption algorithms, etc. The blockchain system 100 is a distributed shared ledger and database, and has the characteristics of decentralization, non-tampering, whole-course trace-keeping, traceability, collective maintenance, public transparency and the like. The characteristics ensure that the block chain is shared openly, real and complete, safe and reliable.
The system architecture according to the embodiments of the present application is described below.
Fig. 3 is a schematic diagram of a point issuing system according to an embodiment of the present application. Referring to fig. 3, the point issuing system includes: a business system 301 and a blockchain system 302.
The blockchain system 302 may be the blockchain system 100 described above in the embodiments of fig. 1-2. The traffic system 301 and the blockchain system 302 may communicate over a wired network or a wireless network. That is, the business system 301 can access the blockchain system 302. Optionally, the service system 301 may be a service system of different platforms, such as an e-commerce platform, a game platform, and a media platform, and certainly, the service system 301 may also be a service system of other platforms, which is not limited in this embodiment of the present application.
The user may generate value behavior at business system 301. The business system 301 may collect behavior data of a user after the user generates a value behavior and issue a corresponding score for the user accordingly. The value behavior is a predefined behavior for obtaining points, for example, the value behavior may be a check-in, a release dynamics, a purchase of an item, and the like.
The user may register the user account with business system 301 so that business system 301 may issue points to the user account. Optionally, the user may register a user account in business system 301 through a web page, or the user may register the user account in business system 301 through a mobile phone APP (Application), or the user may register the user account in business system 301 through an applet, which is not limited in this embodiment of the present Application.
The account data for the user account may include user identification, number of points, point variation information, and the like. The user identifier in the account data of the user account is used to identify the user account, for example, the user identifier may be a name, a certificate number, a mobile phone number, and the like, which is not limited in this embodiment of the application. For example: after a user uses a mobile phone number to register a user account in the service system 301, the user identifier in the account data of the user account may be the mobile phone number. The number of points in the account data for the user account is the number of points already owned by the user identification. The point change information in the account data of the user account is used for recording the change situation of the points owned by the user identification. The points are used for rewarding the user who performs the value behavior, and the points can be used for exchanging prizes such as different articles, gift certificates and the like. The issuance of credits may have a period of validity and may be destroyed periodically.
The user may use the user id to generate a value behavior at the business system 301, and the user may use the user id to generate corresponding behavior data after the value behavior is generated at the business system 301. The behavior data is related data of value behavior for obtaining points, and the behavior data may include a behavior type and behavior attributes, which may include a behavior collection route, a behavior generation date, and the like. The behavior collection path is a path for collecting corresponding behavior data by the service system 301 after the user identifier generates the value behavior, for example, the behavior collection path may be mobile device collection, system administrator input, or the like, and may also be connected to other service systems to collect data from other service systems, which is not limited in this embodiment of the present application.
Blockchain system 302 can verify the user identification, behavior data, and corresponding number of points when business system 301 needs to issue points for the user identification. Moreover, after the business system 301 issues points for the user identifier, the blockchain system 302 may further store a historical point record of the user identifier. In this embodiment of the application, the processes of generation, issuance, use, and destruction of the points may be recorded in the block chain system 302, and the trusted traffic control of the points is realized based on the characteristics of openness, transparency, non-tampering, and traceability of the block chain.
The business system 301 and the blockchain system 302 may implement the point issuing method described in the embodiment of fig. 4 below to implement the point issuing for the user.
The following explains the point issuing method provided in the embodiment of the present application in detail.
Fig. 4 is a flowchart of a point issuing method according to an embodiment of the present application. Referring to fig. 4, the method includes the following steps.
Step 401: and after the user identification generates the value behavior, the business system collects behavior data related to the value behavior.
The user identifier is used to identify the user account registered by the user in the service system, that is, each user has a unique user identifier. The user identification may be included in account data for the user account. The user identifier may be a name, a certificate number, a mobile phone number, and the like, which is not limited in the embodiment of the present application. For example, after a user registers a user account with a mobile phone number in the service system, the user identifier in the account data of the user account may be the mobile phone number.
The value behavior is a behavior for obtaining points, the value behavior may be sign-in, browsing a commodity page, and the like, and the value behavior may be set by a service system according to actual service requirements, which is not limited in the embodiment of the present application.
The user identification, after the business system 301 generates a value activity, generates behavior data associated with the value activity. The behavior data may include a behavior type and behavior attributes, which may include a behavior collection path, a behavior generation date, and the like. The behavior collection path is a path for collecting corresponding behavior data by the service system 301 after the user identifier generates the value behavior, for example, the behavior collection path may be mobile device collection, system administrator input, or the like, and may also be connected to other service systems to collect data from other service systems, which is not limited in this embodiment of the present application.
Optionally, after the user identifier generates the value behavior, the service system may collect behavior data related to the value behavior through a mobile device logged in with the user identifier, or may collect behavior data related to the value behavior through a mode entered by a system administrator, or may collect behavior data related to the value behavior from other service systems, which is not limited in this embodiment of the present application.
Step 402: and the business system determines the number of points which should be obtained by the value behavior as a first point number according to the behavior data.
The first number of points is the number of points that should be obtained after the value action corresponding to the action data is executed.
The behavior data may include at least one of a type of behavior, a date the behavior was generated, and a route the behavior was collected. In this case, the business system may determine, as the first point amount, the point amount corresponding to the behavior data from the correspondence between the behavior data and the point amount.
The correspondence between the behavior data and the number of points is used to indicate the number of points that should be obtained for the value behavior. For example, in the correspondence between the behavior type and the number of points shown in table 1, the number of points corresponding to the value behavior of the sign-in behavior type is 2, the number of points corresponding to the value behavior of the behavior type of browsing a product page is 4, the number of points corresponding to the value behavior of the kill behavior type within one second time is 10, the number of points corresponding to the value behavior of the cluster behavior type is 2, the number of points corresponding to the value behavior of the kill behavior type within one second time is 10, the number of points corresponding to the value behavior of the commodity trial behavior type is 5, and the number of points corresponding to the value behavior of the questionnaire behavior type is 5.
The correspondence may also include a score type for distinguishing scores that can be obtained for different classes of value behavior. The point types may include a fixed behavior point type, a play behavior point type, and an activity behavior point type. Fixed behavior refers to value behavior that can be performed daily, such as: sign-in, browse merchandise pages, etc.; the play behavior refers to a behavior of obtaining points through different plays, such as: killing, grouping and the like within a time limit of second; the activity behavior refers to a behavior of obtaining points by an activity manner, such as: commodity trial, questionnaire, and the like. After the user identifier generates a value behavior of any behavior type in table 1, the point of the number of points corresponding to the value behavior can be obtained. For example: after the user identifies the completion of the check-in of this action type of value action, the number of points that can be obtained is 2. The data in table 1 is used as an example, and table 1 does not limit the embodiments of the present application.
TABLE 1
Figure BDA0003111315580000101
Step 403: the business system sends a verification request to the blockchain system.
The verification request carries the user identifier, the behavior data and the first integral number so as to instruct the block chain system to verify the user identifier, the behavior data and the first integral number.
Further, the verification request is further used for instructing the blockchain system to store the user identifier, the behavior data and the first number of credits after the verification result is that the verification is passed, or store a hash value of target information, where the target information is obtained by concatenating the user identifier, the behavior data and the first number of credits. The target information may or may not be carried in the authentication request. Under the condition that the verification request does not carry target information, the block chain system can construct the target information according to the user identification, the behavior data and the first point number. The blockchain system may perform a hash operation on the target information to obtain a hash value of the target information.
Step 404: and after receiving the verification request sent by the service system, the block chain system verifies the user identifier, the behavior data and the first integral quantity and returns a verification result to the service system.
The verification result includes verification pass and verification fail. The verification result is that the business system can be instructed to add the first point number of points to the user account of the user identification when the verification is passed; the verification result is that the service system can be instructed to check at least one of the user identifier, the behavior data, and the first point number when the verification fails, and specifically includes the following three possible situations:
in a first possible case, when the verification result is that the verification fails, the service system may be instructed to check the user identifier, that is, the user identifier is at risk, for example: the account of the user is stolen, the identity of the user is in doubt, and a bad credit record exists, so that the service system is reminded to check the user identifier, and the safety of credit issuing is ensured.
In a second possible case, when the verification result is that the verification fails, the service system may be instructed to check the behavior data of the user identifier, that is, the behavior corresponding to the behavior data of the user identifier is not a value behavior, so as to remind the service system to check the behavior data of the user identifier, thereby avoiding false credit.
In a third possible case, when the verification result is that the verification fails, the service system may be instructed to check the first number of credits, that is, the first number of credits determined by the service system is incorrect, so that the service system determines the first number of credits again, so that the user obtains the corresponding credit, and the credit is prevented from being sent incorrectly.
The block chain system can verify the user identification firstly, then verify the behavior data after the user identification passes the verification, then verify the first integral quantity after the user identification passes the verification, and determine that the verification result is that the user identification passes the verification after the user identification passes the verification. And when any one of the user identification, the behavior data and the first integral quantity fails to verify, determining that the verification result is verification failure.
When the block chain system verifies the user identifier, the risk assessment information of the user identifier can be obtained; determining that the user identifier passes verification under the condition that the risk evaluation information of the user identifier indicates that the user identifier has no risk; and determining that the user identification fails to be verified under the condition that the risk evaluation information of the user identification indicates that the user identification is at risk.
The risk assessment information of the user identifier is used to indicate whether the user identifier has a risk, for example, the risk assessment information may include user account assessment information, user identity assessment information, user credit assessment information, and the like.
The block chain system can acquire the risk assessment information of the user identifier in a federal calculation mode. The federal computing is to establish a multi-party combined computing platform, realize that data is available and invisible, and provide safe and credible large-scale data storage and safe and controllable data sharing environment for enterprises. Therefore, under the condition that risk assessment of the user identification can be achieved, user information leakage can be avoided, and user privacy safety is maintained.
Illustratively, the blockchain system may establish a collaboration network with a multi-party platform such as a bank, an operator, a payment institution, and the like, so that the blockchain system may create a federal calculation task, where the federal calculation task is used to send a risk assessment request carrying the user identifier to the multi-party platform; after receiving the risk assessment request, the multi-party platform carries out risk assessment on the user identification to obtain a risk assessment result, and the risk assessment result is returned to the block chain system; and after receiving the risk evaluation results returned by the multi-party platform, the block chain system determines all the received risk evaluation results as the risk evaluation information of the user identifier.
For example: the blockchain system and multi-party platforms such as banks, operators, and payment institutions may use BitXmesh (trusted data grid) to establish a collaboration network, and certainly, may also use other ways to establish a collaboration network, which is not limited in this embodiment of the present application.
When the block chain system verifies the behavior data, the block chain system can determine that the behavior data passes the verification under the condition that a plurality of preset behavior types exist in the behavior types in the behavior data; and determining that the behavior data fails to verify in the case that the behavior type in the behavior data does not exist in the plurality of preset behavior types.
A plurality of preset behavior types, which are behavior types of a plurality of value behaviors defined in advance, may be set in advance.
When the blockchain system verifies the first integral quantity, the blockchain system can determine the corresponding integral quantity according to the behavior data, determine that the first integral quantity passes verification under the condition that the determined integral quantity is the same as the first integral quantity, and determine that the first integral quantity fails verification under the condition that the determined integral quantity is different from the first integral quantity.
The operation of determining the corresponding number of credits by the block chain system according to the behavior data is similar to the operation of determining the first number of credits by the service system according to the behavior data in step 402, which is not described in detail herein.
In the case that the verification result is that the verification passes, the blockchain system may further store the user identifier, the behavior data, and the first number of credits to a blockchain, or store a hash value of the target information, so as to save a storage space of the blockchain system.
Optionally, the blockchain system may link the user identifier, the behavior data, and the first number of credits according to the smart contract, that is, generate a block storing the user identifier, the behavior data, and the first number of credits according to the smart contract, and add the block to the shared blockchain. Therefore, the user identification, the behavior data and the first point number cannot be tampered, authenticity of the data is guaranteed, and a user can conveniently inquire the behavior data and the point number in a follow-up mode.
Optionally, the blockchain system may link the hash value of the target information according to the intelligent contract, that is, generate a block storing the hash value of the target information according to the intelligent contract, and add the block to the shared blockchain. Therefore, the hash value of the target information cannot be tampered, the authenticity of data is guaranteed, and the user can conveniently verify the target information subsequently.
Step 405: and after receiving the verification result returned by the block chain system, if the verification result is that the verification is passed, the service system adds the points of the first point quantity to the user account of the user identifier.
Specifically, if the verification result is that the verification is passed, the service system may determine a target integration pool from the multiple integration pools according to the behavior data; transferring the first point amount of points in the target point pool to the user account of the user identification.
The total amount of the integration initially set in the multiple integration pools is a preset integration amount, and the integration amount initially set in each integration pool is determined according to the integration type corresponding to each integration pool. The type of the point corresponding to the target point pool is the same as the type of the point corresponding to the value behavior, that is, the type of the point corresponding to the target point pool is the same as the type of the point corresponding to the behavior type in the behavior data.
The preset number of points may be preset, for example, the preset number of points may be set to 10 thousands, and the setting of the preset number of points may be set by the service system according to an actual service requirement, which is not limited in this embodiment of the present application.
The multiple integration pools can comprise a fixed behavior integration pool, a play behavior integration pool, a movable behavior integration pool and the like, the integral type corresponding to the fixed behavior integration pool is a fixed behavior integral type, the integral type corresponding to the play behavior integration pool is a play behavior integral type, the integral type corresponding to the movable behavior integration pool is a movable behavior integral type, and the number of the initially set integral of each integral pool is determined according to the integral type corresponding to each integral pool. As shown in table 2, the number of the credits initially set in the fixed behavior credit pool may account for a% of the preset credit number, the number of the credits initially set in the play behavior credit pool may account for B% of the preset credit number, and the number of the credits initially set in the activity behavior credit pool may account for C% of the preset credit number. Wherein, a% + B% + C% + 100%. The fixed behavior integration pool is used for issuing integration to the user identification which executes the fixed behavior, so the proportion of the fixed behavior integration pool can be set to be the highest; the play behavior point pool is suitable for issuing points to the user identification executing the play behavior, so the occupation ratio of the play behavior point pool can be set to be higher; since the active behavior integration pool is adapted to credit the user identities that have performed active behaviors, the occupancy of the active behavior integration pool can be set low, i.e. a > B > C. The proportion of each integral pool can be set by the service system according to the actual service requirement, which is not limited in the embodiment of the present application.
TABLE 2
Integral type Ratio of occupation of
Fixed behavior integral type A%
Play behavior score types B%
Activity behavior score types C%
And the service system adds the points of the first point quantity to the user account of the user identifier under the condition that the verification result is that the verification is passed, so that the accuracy of point distribution can be ensured, the point is prevented from being sent by mistake or mistakenly, and the trust degree of the user on the service system is improved.
And under the condition that the verification result is verification failure, the service system checks at least one of the user identifier, the behavior data and the first integral quantity according to the verification result, and sends a verification request to the block chain system again after the check is finished.
Further, after receiving the verification result returned by the block chain system, the service system updates the historical behavior record of the user identifier according to the behavior data and the verification result; and storing the user identification and the historical behavior record to a blockchain system.
Historical behavior records are records of behavior data associated with value behaviors that the user has identified as having generated. The historical behavior record may include all historical behavior data, verification results corresponding to each historical behavior data, and the like.
When the business system stores the user identification and the historical behavior record to a block chain system, the business system sends an uplink request carrying the user identification and the historical behavior record to the block chain system; after receiving the uplink request, the blockchain system may generate a block according to the ue and the historical behavior record, and add the block to the configured blockchain.
The blockchain system may link the ue identity and the historical behavior record according to an intelligent contract, that is, generate a block storing the ue identity and the historical behavior record according to the intelligent contract, and add the block to the shared blockchain. Therefore, the user identification and the historical behavior record cannot be tampered, authenticity of data is guaranteed, and the user can conveniently inquire the historical behavior record subsequently.
Step 406: and the service system updates the historical point record of the user identification according to the point change condition of the user account.
The historical score record for the user identification is a record of the points that the user identification has obtained. The historical point record may include all historical behavior data, the number of points corresponding to each historical behavior data, variation information of the number of points in the user account, and the like. If the service system 301 changes the point in each pair of the user accounts once (for example, adding a point to the user account or subtracting a point from the user account), the historical point record of the user identifier can be updated according to the point change condition of the user account, so that the user can conveniently inquire the historical point record and timely know the point change condition.
Step 407: the business system stores the user identification and the historical score record to the blockchain system.
The operation of the service system storing the user identifier and the historical score record in the blockchain system is similar to the operation of the service system storing the user identifier and the historical behavior record in the blockchain system, and details thereof are not repeated in this embodiment of the present application.
The service system stores the user identification and the historical score record into the block chain system, so that the non-tampering property and authenticity of the historical score record are ensured, and the subsequent users can conveniently inquire the historical score record.
Further, after the service system stores the user identifier and the historical score record in the block chain system, a score query instruction can be received, wherein the score query instruction carries the user identifier and the behavior data; sending an integral query request to a block chain system; and receiving a point query result returned by the block chain system, wherein the point query result comprises point information related to the user identification and the behavior data.
And the integral query instruction is used for querying integral information, and the integral query instruction carries the user identifier and the behavior data to indicate to acquire integral information related to the user identifier and the behavior data. The point query instruction may be transmitted by the user through the terminal.
The point query request is used for acquiring point information from the block chain system, and the point query request carries the user identifier and the behavior data so as to acquire point information related to the user identifier and the behavior data. Illustratively, the business system may invoke an Oracle contract to send a credit query request to the blockchain system.
And the integral query result is integral information which is acquired by the block chain system according to the user identification and the behavior data carried by the integral query request and is related to the user identification and the behavior data. The point information related to the user identifier and the behavior data may include a first number of points, a historical point record, a historical behavior record, and the like, and may further include a hash value of the target information, and the like. The score query result may carry a private key signature of a blockchain system to ensure the trustworthiness of the score query result.
Optionally, the service system may display the obtained score query result, so that the user may obtain the score information related to the user identifier and the behavior data in time.
In some embodiments, points may be redeemed for resources. Optionally, the total amount of points in the user accounts of all the user identifications is obtained as a second point amount every preset time length; and dividing the preset resource quantity by the second point quantity to obtain the quantity of the resources which can be redeemed by each point.
The preset time period is a time period that can be set in advance, and for example, the preset time period can be set to one week, one month, or the like.
The preset resource amount may be preset, for example, if the preset duration is one week, the preset resource amount may be set to be smaller, for example, the preset resource amount may be a prize with a value of 1000 yuan, and the prize includes an item discount coupon, an item, a service, and the like. The preset resource quantity can be adjusted according to the actual service requirement of the service system, which is not limited in the embodiment of the present application.
And adjusting the amount of resources which can be exchanged by each point according to the total amount of the points in the user accounts of all the user identifications at intervals of preset time. Therefore, the cost of the service system is saved while each user is ensured to obtain resources.
The user can exchange the resources with corresponding value according to the number of points in the user account. As the points can be converted into resources, the users can be stimulated to generate value behaviors so as to improve the ecological value of the organization to which the business system belongs.
For ease of understanding, the following describes an example of the point issuing method provided in the embodiment of the present application with reference to fig. 5.
As shown in fig. 5, after a user identifier generates a value behavior, a service system collects behavior data related to the value behavior, determines the number of points that should be obtained by the value behavior according to the behavior data, uses the number of points as a first number of points, and then sends a verification request to a block chain system, where the verification request carries the user identifier, the behavior data, and the first number of points. After receiving a verification request sent by a service system, the block chain system verifies the user identifier, the behavior data and the first integral quantity and returns a verification result to the service system, and under the condition that the verification is passed, the user identifier, the behavior data and the first integral quantity can be stored in the block chain. And then, after receiving a verification result returned by the blockchain system, the service system updates the historical behavior record of the user identifier according to the behavior data and the verification result, and stores the user identifier and the historical behavior record to the blockchain system so as to facilitate the user to inquire the historical behavior record. And under the condition that the verification result is that the verification is passed, the service system adds the points of the first point quantity to the user account of the user identifier, thereby ensuring the accuracy of point distribution and improving the trust degree of the user on the service system. After the business system adds the first integral quantity of the points to the user account, the business system can also update the historical integral record of the user identifier according to the integral change condition of the user account, and store the user identifier and the historical integral record to the block chain system, so that the non-tamper property and the authenticity of the historical integral record are ensured, and the user can conveniently inquire the historical integral record. Under the condition, the behavior data of the user identifier and the point information related to the behavior data are recorded in the block chain configured in the block chain system, and the block chain is not capable of being tampered, so that the behavior data of the user identifier and the point information related to the behavior data recorded on the block chain are guaranteed to be real and reliable, the behavior data of the user identifier and the point information related to the behavior data are effectively retained, and the whole volume distribution management and control can be improved.
In the embodiment of the application, after determining the corresponding first point number according to the behavior data related to the value behavior executed by the user identifier, the service system sends a verification request to the blockchain system, wherein the user identifier, the behavior data and the first point number are carried in the verification request, and after the blockchain system passes the verification, the service system issues the points with the first point number to the user account of the user identifier, so that the safety and reliability of point issuing are ensured, and the trust of the user on the service system is improved. And the service system updates the historical integral record of the user identifier according to the integral change condition of the user account, and stores the user identifier and the historical integral record to the block chain system, so that the non-tamper property and the authenticity of the integral information are ensured, and the user can conveniently inquire the integral information.
Fig. 6 is a flowchart of a point issuing method according to an embodiment of the present application. The method is applied to a business system, and referring to fig. 6, the method may include the following steps:
step 601: after the user identification generates the value behavior, behavior data related to the value behavior is collected.
The related content of step 601 has already been explained in step 401, and is not described again in this embodiment of the present application.
Step 602: and determining the number of points which should be obtained by the value behavior as a first point number according to the behavior data.
The relevant content of step 602 is already explained in step 402, and is not described again in this embodiment of the present application.
Step 603: an authentication request is sent to the blockchain system.
The verification request carries the user identifier, the behavior data and the first point number to instruct a block chain system to verify the user identifier, the behavior data and the first point number.
The relevant content of step 603 has already been explained in step 403, and this is not described again in this embodiment of the present application.
Step 604: after receiving a verification result returned by the blockchain system, if the verification result is that the verification is passed, adding a first point number of points to the user account of the user identifier.
The related content of step 604 is already explained in step 405 above, and this is not described again in this embodiment of the application.
Step 605: and updating the historical point record of the user identification according to the point change condition of the user account.
The related content of step 605 has already been explained in step 406, and is not described again in this embodiment of the present application.
Step 606: storing the user identification and the historical score record to a blockchain system.
The relevant content of step 606 is already explained in step 407, and is not described again in this embodiment of the present application.
In the embodiment of the application, after determining the corresponding first point number according to the behavior data related to the value behavior executed by the user identifier, the service system sends a verification request to the blockchain system, wherein the user identifier, the behavior data and the first point number are carried in the verification request, and after the blockchain system passes the verification, the service system issues the points with the first point number to the user account of the user identifier, so that the safety and reliability of point issuing are ensured, and the trust of the user on the service system is improved. And the service system updates the historical integral record of the user identifier according to the integral change condition of the user account, and stores the user identifier and the historical integral record to the block chain system, so that the non-tamper property and the authenticity of the integral information are ensured, and the user can conveniently inquire the integral information.
Fig. 7 is a schematic structural diagram of an integration and distribution device according to an embodiment of the present application. The credit issuing apparatus may be implemented by software, hardware or a combination of the two as part or all of a computer device, which may be a computer device shown in fig. 8 below. Referring to fig. 7, the apparatus includes an acquisition module 701, a first obtaining module 702, a sending module 703, an adding module 704, a first updating module 705, and a first storing module 706.
The collecting module 701 is used for collecting behavior data related to the value behavior after the value behavior is generated by the user identifier;
a first obtaining module 702, configured to determine, according to the behavior data, a number of points that should be obtained by the value behavior as a first number of points;
a sending module 703, configured to send a verification request to the blockchain system, where the verification request carries a user identifier, behavior data, and a first integral quantity, so as to instruct the blockchain system to verify the user identifier, the behavior data, and the first integral quantity;
an adding module 704, configured to add, after receiving a verification result returned by the blockchain system, a first point number of points to the user account of the user identifier if the verification result is that the verification passes;
a first updating module 705, configured to update a historical score record of the user identifier according to a score change condition of the user account;
a first storage module 706, configured to store the user identifier and the historical score record to a blockchain system.
Optionally, the apparatus further comprises:
the second updating module is used for updating the historical behavior record of the user identifier according to the behavior data and the verification result after receiving the verification result returned by the block chain system;
and the second storage module is used for storing the user identification and the historical behavior record to the block chain system.
Optionally, the behavior data includes at least one of a behavior type, a behavior generation date, and a behavior collection route, and the first obtaining module 702 is configured to:
and determining the integral quantity corresponding to the behavior data as a first integral quantity from the corresponding relation between the behavior data and the integral quantity, wherein the corresponding relation is used for indicating the quantity of the integral which is required to be obtained by the value behavior.
Optionally, adding module 704 is configured to:
determining a target integration pool from a plurality of integration pools according to the behavior data, wherein the total amount of the integration initially set in the plurality of integration pools is a preset integration number, the number of the integration initially set in each integration pool is determined according to the integration type corresponding to each integration pool, and the integration type corresponding to the target integration pool is the same as the type of the integration to be obtained by the value behavior;
transferring the first point amount of points in the target point pool to the user account of the user identification.
Optionally, the apparatus further comprises:
the second acquisition module is used for acquiring the total amount of the points in the user accounts of all the user identifications as a second point amount every preset time length;
and the third acquisition module is used for dividing the preset resource quantity by the second point quantity to obtain the quantity of the resources which can be redeemed by each point.
Optionally, the verification request is further configured to instruct the blockchain system to store the user identifier, the behavior data, and the first number of credits after the verification result is that the verification passes, or store a hash value of target information, where the target information is obtained by concatenating the user identifier, the behavior data, and the first number of credits.
Optionally, the apparatus further comprises:
the receiving module is used for receiving an integral query instruction, and the integral query instruction carries user identification and behavior data;
the sending module 703 is further configured to send an integral query request to the blockchain system, where the integral query request carries the user identifier and the behavior data;
and the receiving module is further used for receiving an integral query result returned by the block chain system, wherein the integral query result comprises integral information related to the user identification and the behavior data.
In the embodiment of the application, after determining the corresponding first point number according to the behavior data related to the value behavior executed by the user identifier, the service system sends a verification request to the blockchain system, wherein the user identifier, the behavior data and the first point number are carried in the verification request, and after the blockchain system passes the verification, the service system issues the points with the first point number to the user account of the user identifier, so that the safety and reliability of point issuing are ensured, and the trust of the user on the service system is improved. And the service system updates the historical integral record of the user identifier according to the integral change condition of the user account, and stores the user identifier and the historical integral record to the block chain system, so that the non-tamper property and the authenticity of the integral information are ensured, and the user can conveniently inquire the integral information.
It should be noted that: in the above embodiment, when the point issuing apparatus issues the points, only the division of the functional modules is taken as an example, and in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the apparatus is divided into different functional modules to complete all or part of the functions described above.
Each functional unit and module in the above embodiments may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used to limit the protection scope of the embodiments of the present application.
The embodiment of the point issuing device and the embodiment of the point issuing method provided by the above embodiment belong to the same concept, and the specific working processes and the brought technical effects of the units and the modules in the above embodiments can be referred to the part of the embodiment of the method, and are not described herein again.
Fig. 8 is a schematic structural diagram of a computer device according to an embodiment of the present application. As shown in fig. 8, the computer device 8 includes: a processor 80, a memory 81 and a computer program 82 stored in the memory 81 and operable on the processor 80, the steps in the credit dispensing method in the above embodiments being implemented when the computer program 82 is executed by the processor 80.
The computer device 8 may be a general purpose computer device or a special purpose computer device. In a particular implementation, the computer device 8 may be a server. Those skilled in the art will appreciate that fig. 8 is merely an example of the computer device 8 and does not constitute a limitation of the computer device 8, and may include more or less components than those shown, or combine certain components, or different components, such as input output devices, network access devices, etc.
The Processor 80 may be a Central Processing Unit (CPU), and the Processor 80 may also be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or any conventional processor.
The storage 81 may in some embodiments be an internal storage unit of the computer device 8, such as a hard disk or a memory of the computer device 8. The memory 81 may also be an external storage device of the computer device 8 in other embodiments, such as a plug-in hard disk provided on the computer device 8, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like. Further, the memory 81 may also include both an internal storage unit of the computer device 8 and an external storage device. The memory 81 is used for storing an operating system, an application program, a BootLoader (BootLoader), data, and other programs, such as program codes of a computer program. The memory 81 may also be used to temporarily store data that has been output or is to be output.
An embodiment of the present application further provides a computer device, where the computer device includes: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor, the processor implementing the steps of any of the various method embodiments described above when executing the computer program.
The embodiments of the present application also provide a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.
The embodiments of the present application provide a computer program product, which when run on a computer causes the computer to perform the steps of the above-described method embodiments.
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, all or part of the processes in the above method embodiments may be implemented by a computer program, which may be stored in a computer readable storage medium and used by a processor to implement the steps of the above method embodiments. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include at least: any entity or apparatus capable of carrying computer program code to a photographing apparatus/terminal device, a recording medium, computer Memory, ROM (Read-Only Memory), RAM (Random Access Memory), CD-ROM (Compact Disc Read-Only Memory), magnetic tape, floppy disk, optical data storage device, etc. The computer-readable storage medium referred to herein may be a non-volatile storage medium, in other words, a non-transitory storage medium.
It should be understood that all or part of the steps for implementing the above embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The computer instructions may be stored in the computer-readable storage medium described above.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/computer device and method may be implemented in other ways. For example, the above-described apparatus/computer device embodiments are merely illustrative, and for example, a module or a unit may be divided into only one logical function, and may be implemented in other ways, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not implemented. 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.
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.
The above embodiments are only used to illustrate the technical solutions of the present application, and not to limit 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; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A credit issuing method is applied to a service system, and the method comprises the following steps:
after a user identifier generates a value behavior, acquiring behavior data related to the value behavior;
determining the number of points which should be obtained by the value behaviors as a first number of points according to the behavior data;
sending a verification request to a blockchain system, wherein the verification request carries the user identifier, the behavior data and the first point number so as to instruct the blockchain system to verify the user identifier, the behavior data and the first point number;
after receiving a verification result returned by the block chain system, if the verification result is that the verification is passed, adding the points of the first point quantity to the user account of the user identifier;
updating the historical integral record of the user identification according to the integral change condition of the user account;
storing the user identification and the historical score record to the blockchain system.
2. The method of claim 1, wherein the method further comprises:
after the verification result returned by the block chain system is received, updating the historical behavior record of the user identifier according to the behavior data and the verification result;
storing the user identification and the historical behavior record to the blockchain system.
3. The method of claim 1, wherein the behavior data includes at least one of a type of behavior, a date of behavior generation, and a way of behavior collection, and wherein determining the number of points that the value behavior should obtain as the first number of points based on the behavior data comprises:
determining the integral quantity corresponding to the behavior data as a first integral quantity from the corresponding relation between the behavior data and the integral quantity, wherein the corresponding relation is used for indicating the quantity of the integral which should be obtained by the value behavior.
4. The method of claim 1, wherein said adding points for the first amount of points to the user account identified by the user comprises:
determining a target integration pool from a plurality of integration pools according to the behavior data, wherein the total amount of integration initially set in the plurality of integration pools is a preset integration number, the number of integration initially set in each integration pool is determined according to an integration type corresponding to each integration pool, and the integration type corresponding to the target integration pool is the same as the type of integration to be obtained by the value behavior;
transferring the first point amount of points in the target points pool to the user account of the user identification.
5. The method of any of claims 1-4, wherein the method further comprises:
acquiring the total amount of points in the user accounts of all the user identifications as a second point amount every preset time length;
and dividing the preset resource quantity by the second point quantity to obtain the quantity of the resources which can be redeemed by each point.
6. The method according to any one of claims 1 to 4, wherein the verification request is further used to instruct the blockchain system to store the user identifier, the behavior data and the first number of credits after the verification result is that the verification is passed, or to store a hash value of target information, where the target information is obtained by concatenating the user identifier, the behavior data and the first number of credits.
7. The method of claim 6, wherein after storing the user identification and the historical point record to the blockchain system, further comprising:
receiving a point query instruction, wherein the point query instruction carries the user identifier and the behavior data;
sending a point query request to the block chain system, wherein the point query request carries the user identifier and the behavior data;
and receiving a point query result returned by the block chain system, wherein the point query result comprises point information related to the user identification and the behavior data.
8. A credit dispensing apparatus, comprising:
the acquisition module is used for acquiring behavior data related to the value behaviors after the value behaviors are generated by the user identifications;
the first acquisition module is used for determining the number of points to be acquired by the value behaviors as a first number of points according to the behavior data;
a sending module, configured to send a verification request to a blockchain system, where the verification request carries the user identifier, the behavior data, and the first number of credits, so as to instruct the blockchain system to verify the user identifier, the behavior data, and the first number of credits;
the adding module is used for adding the points of the first point quantity to the user account of the user identifier after receiving the verification result returned by the block chain system and if the verification result is that the verification is passed;
the first updating module is used for updating the historical point record of the user identifier according to the point change condition of the user account;
a first storage module, configured to store the user identifier and the historical score record to the blockchain system.
9. A computer device, characterized in that the computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, which computer program, when executed by the processor, implements the method according to any of claims 1 to 7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, implements the method of any one of claims 1 to 7.
CN202110651366.5A 2021-06-10 2021-06-10 Point issuing method, device, equipment and storage medium Pending CN113409078A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110651366.5A CN113409078A (en) 2021-06-10 2021-06-10 Point issuing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110651366.5A CN113409078A (en) 2021-06-10 2021-06-10 Point issuing method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113409078A true CN113409078A (en) 2021-09-17

Family

ID=77683451

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110651366.5A Pending CN113409078A (en) 2021-06-10 2021-06-10 Point issuing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113409078A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113744418A (en) * 2021-11-01 2021-12-03 环球数科集团有限公司 Ticket business verification system based on edge cloud integrated environment
CN116308522A (en) * 2023-03-03 2023-06-23 深圳市优讯信息技术有限公司 Realization method and system for rapidly calculating integral
CN116846980A (en) * 2023-08-31 2023-10-03 苏州盈天地资讯科技有限公司 Integral issuing and using method, system and equipment
CN116911919A (en) * 2023-07-14 2023-10-20 浪潮智慧科技有限公司 Integration system and method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107330720A (en) * 2017-06-12 2017-11-07 中国联合网络通信集团有限公司 Integration processing method and system based on block chain
JP2017224129A (en) * 2016-06-15 2017-12-21 株式会社日本ブレインウェア Information processing system, information processing method, and program
CN108549965A (en) * 2018-03-02 2018-09-18 深圳市元征科技股份有限公司 Data processing method and data processing platform (DPP), server
CN109146573A (en) * 2018-09-05 2019-01-04 深圳正品创想科技有限公司 Commodity integration method and its device, block chain node based on block chain
CN110348882A (en) * 2019-06-19 2019-10-18 阿里巴巴集团控股有限公司 Integration method, system, device and equipment based on intelligent contract
CN111626835A (en) * 2020-04-27 2020-09-04 口碑(上海)信息技术有限公司 Task configuration method, device, system, storage medium and computer equipment
CN112036946A (en) * 2020-08-31 2020-12-04 聚跑(广东)科技有限公司 Block chain-based available resource exchange system and method
CN112581178A (en) * 2020-12-24 2021-03-30 广州华多网络科技有限公司 Rights and interests issuing method and device, electronic equipment and computer readable medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017224129A (en) * 2016-06-15 2017-12-21 株式会社日本ブレインウェア Information processing system, information processing method, and program
CN107330720A (en) * 2017-06-12 2017-11-07 中国联合网络通信集团有限公司 Integration processing method and system based on block chain
CN108549965A (en) * 2018-03-02 2018-09-18 深圳市元征科技股份有限公司 Data processing method and data processing platform (DPP), server
CN109146573A (en) * 2018-09-05 2019-01-04 深圳正品创想科技有限公司 Commodity integration method and its device, block chain node based on block chain
CN110348882A (en) * 2019-06-19 2019-10-18 阿里巴巴集团控股有限公司 Integration method, system, device and equipment based on intelligent contract
CN111626835A (en) * 2020-04-27 2020-09-04 口碑(上海)信息技术有限公司 Task configuration method, device, system, storage medium and computer equipment
CN112036946A (en) * 2020-08-31 2020-12-04 聚跑(广东)科技有限公司 Block chain-based available resource exchange system and method
CN112581178A (en) * 2020-12-24 2021-03-30 广州华多网络科技有限公司 Rights and interests issuing method and device, electronic equipment and computer readable medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王松奇: "智能风控与反欺诈 体系算法与实践", 机械工业出版社, pages: 323 - 327 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113744418A (en) * 2021-11-01 2021-12-03 环球数科集团有限公司 Ticket business verification system based on edge cloud integrated environment
CN116308522A (en) * 2023-03-03 2023-06-23 深圳市优讯信息技术有限公司 Realization method and system for rapidly calculating integral
CN116911919A (en) * 2023-07-14 2023-10-20 浪潮智慧科技有限公司 Integration system and method
CN116911919B (en) * 2023-07-14 2024-02-13 浪潮智慧科技有限公司 Integration system and method
CN116846980A (en) * 2023-08-31 2023-10-03 苏州盈天地资讯科技有限公司 Integral issuing and using method, system and equipment
CN116846980B (en) * 2023-08-31 2024-02-13 苏州盈天地资讯科技有限公司 Integral issuing and using method, system and equipment

Similar Documents

Publication Publication Date Title
US20220263671A1 (en) Data processing method, apparatus, and device, blockchain system, and computer-readable storage medium
US10692086B2 (en) Distributed ledger based identity and origins of supply chain application enabling financial inclusion and sustainability
CN110914857B (en) Product promotions using intelligent contracts in blockchain networks
CN113409078A (en) Point issuing method, device, equipment and storage medium
US20230214792A1 (en) Computer implemented systems and methods
CN111444209B (en) Data processing method, device, equipment and medium based on block chain
CN110728494B (en) Real estate business handling method, real property information system and device
CN111260488B (en) Data processing method and device and readable storage medium
CN102271040B (en) Identity verifying system and method
US20220188815A1 (en) Distributed ledger systems, methods and devices
CN112819466A (en) Digital certificate processing method and device, terminal equipment and storage medium
CN111416709B (en) Voting method, device, equipment and storage medium based on block chain system
CN111402033A (en) Asset information management method and device based on block chain
CN111340628A (en) Asset information management method and device based on block chain
CN114219342A (en) Carbon asset management method and device based on non-homogeneous evidence
CN110941840B (en) Data processing method, system and terminal
Dash et al. Artificial intelligence models for blockchain-based intelligent networks systems: Concepts, methodologies, tools, and applications
US11367094B2 (en) Method for validating a voucher
CN113890739A (en) Cross-block-chain authentication method and device, electronic equipment and medium
CN110598459B (en) Block chain-based data storage card management method and device
CN110727735B (en) Method, device and equipment for cooperatively completing task event based on block chain technology
Wang et al. Blockchain-based diversion-point system for balancing customer flow in shopping mall
CN113409075A (en) Point issuing method, device, equipment and storage medium
CN112734455B (en) Method, device and equipment for generating prize exchanging result and readable storage medium
KR102116559B1 (en) Method for providing block-chain based verified customer review sharing service

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: 20210917