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

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

Info

Publication number
CN113409075A
CN113409075A CN202110650051.9A CN202110650051A CN113409075A CN 113409075 A CN113409075 A CN 113409075A CN 202110650051 A CN202110650051 A CN 202110650051A CN 113409075 A CN113409075 A CN 113409075A
Authority
CN
China
Prior art keywords
user identifier
user
behavior
blockchain
resource
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
CN202110650051.9A
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 CN202110650051.9A priority Critical patent/CN113409075A/en
Publication of CN113409075A publication Critical patent/CN113409075A/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
    • 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
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0639Performance analysis of employees; Performance analysis of enterprise or organisation operations
    • G06Q10/06393Score-carding, benchmarking or key performance indicator [KPI] analysis
    • 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/0212Chance discounts or incentives

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Strategic Management (AREA)
  • Human Resources & Organizations (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Finance (AREA)
  • Economics (AREA)
  • Physics & Mathematics (AREA)
  • Game Theory and Decision Science (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Educational Administration (AREA)
  • Databases & Information Systems (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (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. The method comprises the following steps: acquiring at least one behavior data of each user identifier in a plurality of user identifiers every other first time length; determining the behavior value degree of each user identifier according to at least one behavior data of each user identifier in the plurality of user identifiers; multiplying the behavior value degree of each user identifier by a first preset number to obtain a first integral number corresponding to each user identifier; sending a credit issuance request to a first blockchain system to instruct the first blockchain system to add a corresponding first number of credits to each user-identified blockchain account. According to the method and the system, the user can be stimulated to execute the behavior in the service system by periodically carrying out point distribution according to the behavior value degree, and the activity and the enthusiasm of the user are maintained. Meanwhile, the safety and the reliability of the point issuing can be ensured.

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
The content published by the user in the platform can bring extra benefits to the platform, such as: users issue a use of a product, which can increase the sales volume of the product, thereby increasing the profit for the platform. Thus, the platform desires to increase the user's output in the content by way of rewards.
In the related art, the platform issues different tasks each day, and each task corresponds to a different reward. After a user completes a certain task, the user can obtain rewards such as coupons, rebate packages and the like issued by the platform. For example: the reward mechanism established by the platform is as follows: ten coupons are issued for each article issued. In this case, after a user issues an article, the user gets ten coupons issued by the platform.
However, the way of obtaining the reward by completing the task cannot maintain the liveness and enthusiasm of the user for a long time, and cannot ensure the safety and reliability of the reward when being issued.
Disclosure of Invention
The application provides a point issuing method, a point issuing device and a storage medium, which can stimulate a user to execute behaviors in a service system, maintain the activity and the enthusiasm of the user and ensure the safety and the reliability of point issuing. The technical scheme is as follows:
in a first aspect, a point issuing method is provided, the method including:
acquiring at least one behavior data of each user identifier in a plurality of user identifiers every other first time length, wherein the at least one behavior data of each user identifier is related to at least one specified behavior executed by each user identifier in the first time length;
determining the behavior value degree of each user identifier according to at least one behavior data of each user identifier in the plurality of user identifiers;
respectively multiplying the behavior value degree of each user identifier in the plurality of user identifiers by a first preset number to obtain a first integral number corresponding to each user identifier;
and sending a point issuing request to a first blockchain system, wherein the point issuing request carries the multiple user identifications and the first point number corresponding to each user identification so as to indicate the first blockchain system to add the points of the corresponding first point number to the blockchain account of each user identification.
In the application, the service system acquires at least one behavior data of each user identifier in the plurality of user identifiers every first time length. Then, the service system determines the behavior value degree of each user identifier according to at least one behavior data of each user identifier in the plurality of user identifiers, and then multiplies the behavior value degree of each user identifier by a first preset number to obtain a first integral number corresponding to each user identifier. Finally, the business system instructs the first blockchain system to add a corresponding first number of points to the blockchain account for each user identification. Therefore, the method of periodically performing point distribution according to the behavior value degree can stimulate the user to execute the behavior in the service system and maintain the activity and the enthusiasm of the user. Meanwhile, the points are issued for the user identification through the first block chain system, and the safety and the reliability of the points during issuing can be guaranteed.
Optionally, the method further comprises:
after a first user identifier executes the specified behavior, acquiring behavior data of the first user identifier, wherein the behavior data of the first user identifier is related to the specified behavior executed by the first user identifier;
and storing the first user identification and the behavior data of the first user identification to a blockchain in a second blockchain system.
Optionally, the determining, according to at least one behavior data of each of the plurality of user identifiers, a behavior value degree of each user identifier includes:
determining a behavior score of a target user identifier according to at least one behavior data of the target user identifier, wherein the target user identifier is one of the plurality of user identifiers;
and dividing the behavior score of the target user identifier by a total behavior score to obtain a behavior value degree of the target user identifier, wherein the total behavior score is the sum of the behavior scores of the plurality of user identifiers.
Optionally, the determining a behavior score of the target user identifier according to at least one behavior data of the target user identifier includes:
acquiring a behavior score corresponding to the target behavior data from a corresponding relation between the behavior type and the behavior score according to the behavior type in the target behavior data of the target user identifier, wherein the target behavior data is one behavior data in at least one behavior data of the target user identifier;
and accumulating the behavior scores corresponding to at least one behavior data of the target user identifier to obtain the behavior score of the target user identifier.
Optionally, the method further comprises:
storing the target user identifier, at least one behavior data of the target user identifier, and the behavior score of the target user identifier to a blockchain in a second blockchain system.
Optionally, the method further comprises:
receiving a resource issuing request sent by the first block chain system, wherein the resource issuing request carries a second user identifier and a resource issuing quantity corresponding to the second user identifier, and the resource issuing quantity corresponding to the second user identifier is determined according to the quantity of points in a block chain account of the second user identifier;
and adding the corresponding resource of the resource distribution quantity to the resource account of the second user identification.
Optionally, the method further comprises:
receiving a point exchange request, wherein the point exchange request carries a third user identifier, a target resource to be exchanged and a second point quantity required by the target resource, and the third user identifier;
sending a credit reduction request to the first blockchain system, the credit reduction request carrying the third user identification and the second credit amount to instruct the first blockchain system to reduce credits of the second credit amount from blockchain accounts of the third user identification;
and after receiving an operation success message returned by the first blockchain system, issuing the target resource to the third user identifier.
Optionally, the method further comprises:
receiving the first preset quantity sent by the first blockchain system, where the first preset quantity is set by the first blockchain system according to a decreasing rule, where the decreasing rule is: and reducing the first preset quantity every second time length.
In a second aspect, there is provided a credit issuing method applied to a first blockchain system, the method including:
optionally, receiving a credit issue request sent by a service system, where the credit issue request carries a plurality of user identifiers and a first credit amount corresponding to each user identifier, where the first credit amount corresponding to each user identifier is obtained by multiplying a behavior value of each user identifier by a first preset amount, the behavior value of each user identifier is determined according to at least one behavior data of each user identifier in the plurality of user identifiers, and the at least one behavior data of each user identifier is related data of at least one specified behavior executed by each user identifier within a first time period;
adding a corresponding first number of credits to a blockchain account of each of the plurality of user identifications.
In the application, the service system acquires at least one behavior data of each user identifier in the plurality of user identifiers every first time length. Then, the service system determines the behavior value degree of each user identifier according to at least one behavior data of each user identifier in the plurality of user identifiers, and then multiplies the behavior value degree of each user identifier by a first preset number to obtain a first integral number corresponding to each user identifier. And finally, the service system sends a credit issue request to the first block chain system. And after receiving the point issuing request, the first blockchain system instructs the first blockchain system to add corresponding points of the first point number to the blockchain account of each user identifier. Therefore, the method of periodically performing point distribution according to the behavior value degree can stimulate the user to execute the behavior in the service system and maintain the activity and the enthusiasm of the user. Meanwhile, the points are issued for the user identification through the first block chain system, and the safety and the reliability of the points during issuing can be guaranteed.
Optionally, the method further comprises:
setting the first preset number according to a decreasing rule, wherein the decreasing rule is as follows: reducing the first preset number every second duration;
and after resetting the first preset quantity each time, sending the first preset quantity to the service system.
Optionally, after adding the corresponding first number of credits to the blockchain account of each of the plurality of user identities, further comprising:
and storing the plurality of user identifications and the first integral quantity corresponding to each user identification to a block chain.
Optionally, the adding a corresponding first number of credits to the blockchain account of each of the plurality of user identities comprises:
and transferring the integral of a first integral quantity corresponding to the target user identifier to a block chain account of the target user identifier from an integral pool, wherein the target user identifier is one user identifier in the plurality of user identifiers, the quantity of the integral initially set in the integral pool is a second preset quantity, and the second preset quantity is greater than the first preset quantity.
Optionally, the method further comprises:
receiving a point reduction request sent by the service system, wherein the point reduction request carries a third user identifier and a second point number;
transferring the second number of points in the third user-identified blockchain account to the pool of points.
Optionally, the method further comprises:
every third time length, acquiring the resource increase quantity of the organization to which the service system belongs in the third time length;
multiplying the resource increase quantity by a preset proportion to obtain a resource distribution total quantity;
determining the resource issuing quantity corresponding to each user identifier in all the user identifiers according to the resource issuing total quantity and the quantity of the points in the block chain accounts of all the user identifiers;
and sending a resource issuing request to the service system, wherein the resource issuing request carries a second user identifier and a resource issuing quantity corresponding to the second user identifier so as to indicate the service system to add a resource of the corresponding resource issuing quantity to a resource account of the second user identifier, and the second user identifier is one user identifier of all the user identifiers.
In a third aspect, there is provided a credit issuing apparatus, the apparatus comprising:
the device comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring at least one behavior data of each user identifier in a plurality of user identifiers every other first time length, and the at least one behavior data of each user identifier is related to at least one specified behavior executed by each user identifier in the first time length;
the first determining module is used for determining the behavior value degree of each user identifier according to at least one behavior data of each user identifier in the plurality of user identifiers;
the second obtaining module is used for multiplying the behavior value degree of each user identifier in the plurality of user identifiers by a first preset number respectively to obtain a first integral number corresponding to each user identifier;
a first sending module, configured to send a credit issue request to a first blockchain system, where the credit issue request carries the multiple user identifiers and a first credit amount corresponding to each user identifier, so as to indicate that the first blockchain system adds credits corresponding to the first credit amount to a blockchain account of each user identifier.
Optionally, the apparatus further comprises:
the acquisition module is used for acquiring behavior data of a first user identifier after the first user identifier executes the specified behavior, wherein the behavior data of the first user identifier is related to the specified behavior executed by the first user identifier;
and the first storage module is used for storing the first user identifier and the behavior data of the first user identifier to a block chain in a second block chain system.
Optionally, the first determining module includes:
the determining unit is used for determining the behavior score of a target user identifier according to at least one behavior data of the target user identifier, wherein the target user identifier is one of the user identifiers;
and the obtaining unit is used for dividing the behavior score of the target user identifier by the total behavior score to obtain the behavior value degree of the target user identifier, wherein the total behavior score is the sum of the behavior scores of the plurality of user identifiers.
Optionally, the determining unit is configured to:
acquiring a behavior score corresponding to the target behavior data from a corresponding relation between the behavior type and the behavior score according to the behavior type in the target behavior data of the target user identifier, wherein the target behavior data is one behavior data in at least one behavior data of the target user identifier;
and accumulating the behavior scores corresponding to at least one behavior data of the target user identifier to obtain the behavior score of the target user identifier.
Optionally, the apparatus further comprises:
a second storage module, configured to store the target user identifier, the at least one behavior data of the target user identifier, and the behavior score of the target user identifier in a blockchain in a second blockchain system.
Optionally, the apparatus further comprises:
a first receiving module, configured to receive a resource allocation request sent by the first blockchain system, where the resource allocation request carries a second user identifier and a resource allocation number corresponding to the second user identifier, and the resource allocation number corresponding to the second user identifier is determined according to the number of points in a blockchain account of the second user identifier;
and the first adding module is used for adding the corresponding resources with the resource distribution quantity to the resource account of the second user identifier.
Optionally, the apparatus further comprises:
the second receiving module is used for receiving a point redemption request, and the point redemption request carries a third user identifier, target resources to be redeemed by the third user identifier and a second point quantity required by the target resources;
a second sending module, configured to send a credit reduction request to the first blockchain system, where the credit reduction request carries the third user identifier and the second credit amount, so as to instruct the first blockchain system to reduce credits of the second credit amount from a blockchain account of the third user identifier;
and the issuing module is used for issuing the target resource to the third user identifier after receiving the operation success message returned by the first blockchain system.
Optionally, the apparatus further comprises:
a third receiving module, configured to receive the first preset number sent by the first blockchain system, where the first preset number is set by the first blockchain system according to a decreasing rule, and the decreasing rule is: and reducing the first preset quantity every second time length.
In a fourth aspect, there is provided an integration distribution apparatus, the apparatus comprising:
a fourth receiving module, configured to receive a credit issue request sent by a service system, where the credit issue request carries multiple user identifiers and a first credit amount corresponding to each user identifier, where the first credit amount corresponding to each user identifier is obtained by multiplying a behavior value of each user identifier by a first preset amount, the behavior value of each user identifier is determined according to at least one behavior data of each user identifier in the multiple user identifiers, and the at least one behavior data of each user identifier is related to at least one specified behavior executed by each user identifier within a first duration;
a second adding module, configured to add a corresponding first number of credits to the blockchain account of each of the plurality of user identities.
Optionally, the apparatus further comprises:
a setting module, configured to set the first preset number according to a decreasing rule, where the decreasing rule is: reducing the first preset number every second duration;
and the third sending module is used for sending the first preset quantity to the service system after resetting the first preset quantity every time.
Optionally, the apparatus further comprises:
and the third storage module is used for storing the plurality of user identifications and the first integral quantity corresponding to each user identification to the block chain.
Optionally, the second adding module is configured to:
and transferring the integral of a first integral quantity corresponding to the target user identifier to a block chain account of the target user identifier from an integral pool, wherein the target user identifier is one user identifier in the plurality of user identifiers, the quantity of the integral initially set in the integral pool is a second preset quantity, and the second preset quantity is greater than the first preset quantity.
Optionally, the apparatus further comprises:
a fourth receiving module, configured to receive a point reduction request sent by the service system, where the point reduction request carries a third user identifier and a second point number;
a transfer module to transfer the points of the second number of points in the blockchain account identified by the third user to the points pool.
Optionally, the apparatus further comprises:
a third obtaining module, configured to obtain, every third duration, a resource increase amount of an organization to which the service system belongs within the third duration;
the fourth acquisition module is used for multiplying the resource increase quantity by a preset proportion to obtain a resource distribution total quantity;
a second determining module, configured to determine, according to the total resource issuance amount and the number of points in the blockchain accounts of all the user identifiers, a resource issuance amount corresponding to each user identifier in all the user identifiers;
a fourth sending module, configured to send a resource allocation request to the service system, where the resource allocation request carries a second user identifier and a resource allocation amount corresponding to the second user identifier, so as to indicate that the service system adds a resource of the corresponding resource allocation amount to a resource account of the second user identifier, where the second user identifier is one of all the user identifiers.
In a fifth aspect, there is provided a 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 dispensing method of the first aspect.
A sixth aspect provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the credit issuing method of the first aspect.
In a seventh aspect, there is provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the steps of the credit dispensing method of the first aspect described above.
It is to be understood that, for the beneficial effects of the third, fifth, sixth and seventh aspects, reference may be made to the description of the first aspect, and details are not described herein again.
In an eighth aspect, there is provided a 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 dispensing method of the second aspect.
In a ninth aspect, there is provided a computer-readable storage medium storing a computer program which, when executed by a processor, implements the credit issuing method of the second aspect described above.
In a tenth aspect, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the steps of the credit dispensing method of the second aspect described above.
It is to be understood that, for the beneficial effects of the fourth, eighth, ninth and tenth aspects, reference may be made to the description of the second aspect, and further description is omitted here.
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 flowchart of a second point issuing method according to an embodiment of the present application;
fig. 6 is a flowchart of a third 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 another credit issue apparatus according to an embodiment of the present application;
FIG. 9 is a schematic structural diagram of a computer device according to an embodiment of the present disclosure;
fig. 10 is a schematic structural diagram of another computer device provided in the 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 flowchart of a point issuing system according to an embodiment of the present application. Referring to fig. 3, the credit issue system includes a business system 301, a first blockchain system 302, and a second blockchain system 303.
Both the first blockchain system 302 and the second blockchain system 303 may be the blockchain system 100 described above in the embodiments of fig. 1-2. Both the first blockchain system 302 and the second blockchain system 303 may communicate with the service system 301 through a wired network or a wireless network. That is, the business system 301 can access the first blockchain system 302 and can also access the second blockchain system 303. Optionally, the first blockchain system 302 and the second blockchain system 303 may be the same blockchain system or different blockchain systems, which is not limited in this embodiment of the present invention.
The user may perform a specified action at business system 301. After the user performs the specified behavior, the business system 301 may obtain the behavior data of the user and store the behavior data of the user to the second blockchain system 303. Also, the user may obtain points in the first blockchain system 302 by performing specified actions at the business system 301. The designated behavior is a predefined behavior for obtaining points, such as purchasing items, filling out questionnaires, checking in, posting articles, and the like.
The user may register a user account with business system 301. 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 may be redeemed for physical objects, gift certificates, services, and the like.
The user may use the user id to perform a specified action at the service system 301, and the user may use the user id to generate corresponding action data after the service system 301 performs the specified action. The behavior data may include a behavior type and behavior attributes, which may include a behavior data source, a behavior occurrence time, and the like. The behavior data source is a source of corresponding behavior data acquired by the service system 301 after the user identifier executes the specified behavior, and for example, the behavior data source may be a mobile phone APP, a web page, an applet, or the like, which is not limited in this embodiment of the present application.
A blockchain account may be disposed on the first blockchain system 302. Business system 301 may register a blockchain account for the user identification at first blockchain system 302. Specifically, the service system 301 sends a blockchain account registration request to the first blockchain system 302, where the blockchain account registration request carries a user identifier; after receiving the blockchain account registration request, the first blockchain system 302 may register a corresponding blockchain account for the user identifier. The account data of the blockchain account may include an account address, a balance, a state variable, and the like, where the balance of the blockchain account indicates the number of tokens (tokens) owned by the blockchain account. In this embodiment, the balance of the blockchain account may be the points obtained by the user.
The second blockchain system 303 is configured to store the user identifier sent by the service system 301 and the behavior data of the user identifier. The first blockchain system 302 is configured to issue a point for the blockchain account of the user identifier according to the behavior data of the user identifier collected by the service system 301, and store a point change condition of the blockchain account to the blockchain.
Business system 301, first blockchain system 302, and second blockchain system 303 may implement the point issuing method described in the embodiment of fig. 4 below to implement issuing points for users.
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: every first time interval, the service system acquires at least one behavior data of each user identifier in the plurality of user identifiers.
The at least one behavior data for each user identification is data related to at least one specified behavior performed by each user identification for a first duration. That is, during the first time period, each of the plurality of subscriber identities may perform one or more specified actions, such that one or more action data may be generated.
The first time period may be set in advance. The first duration is an integral settlement period, that is, when each integral settlement period is ended, the service system issues an integral for the user identifier once according to the behavior data of the user identifier in the integral settlement period. The first time length may be set to be shorter, for example, the first time length may be set to be one day, and at this time, the service system acquires, every other day, data related to at least one specified behavior executed by each of the plurality of user identifiers in the previous day to obtain at least one behavior data of each user identifier. The first time period may be set by the service system according to actual service requirements, which is not limited in this embodiment of the present application.
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. The method comprises the following steps: after a user registers a user account in the service system by using the mobile phone number, the user identifier in the account data of the user account can be the mobile phone number.
The designated behavior is a behavior preset by the business system for obtaining points, and the designated behavior can be behaviors of purchasing goods, filling in questionnaires, checking in, publishing articles and the like. The user id generates corresponding behavior data after the business system 301 executes the specified behavior. The behavior data may include a behavior type and behavior attributes, which may include a behavior data source, a behavior occurrence time, and the like. The behavior data source is the source of corresponding behavior data acquired by the service system after the user identifier executes the specified behavior. For example, a user logs in a user identifier on a mobile phone APP, and then executes a specified behavior by using the user identifier, the service system acquires, from the mobile phone APP, data related to the specified behavior executed by the user identifier as behavior data, where the source of the behavior data is the mobile phone APP. For another example, the user logs in the user identifier on the web page, and then executes the specified behavior using the user identifier, the business system obtains data related to the specified behavior executed by the user identifier from the web page as behavior data, and the source of the behavior data is the web page. For another example, the user logs in the user identifier on the applet and then executes the specified behavior by using the user identifier, the service system obtains the data related to the specified behavior executed by the user identifier from the applet as the behavior data, and the source of the behavior data is the applet.
Optionally, after the service system executes the specified behavior, the service system may collect behavior data of each of the plurality of user identifiers and store the behavior data in its own memory. Thus, every first time period, the service system can obtain at least one piece of behavior data of each of the plurality of user identifiers in the first time period from the memory of the service system.
In some embodiments, each time a user identifier performs a specified action, the business system may collect data related to the specified action performed by the user identifier as action data. In this case, step 4011 and step 4012 may be performed. Step 4011: and the service system acquires the behavior data of the first user identifier after the first user identifier executes the specified behavior. Step 4012: the first user identification and the behavior data of the first user identification are stored to a blockchain in a second blockchain system.
The first subscriber identity is any one of all subscriber identities registered in the service system. The behavior data of the first subscriber identity is data related to a specified behavior performed by the first subscriber identity.
The operation of the service system for storing the first subscriber identity and the behavior data of the first subscriber identity in the block chain configured in the second block chain system may be: the business system sends a uplink request carrying the first user identification and the behavior data of the first user identification to a second block chain system; after receiving the uplink request, the second blockchain system may generate a block according to the first ue and the behavior data of the first ue, and add the block to the configured blockchain.
The second blockchain system may link the first subscriber identity and the behavior data of the first subscriber identity according to the intelligent contract, that is, generate a block in which the behavior data of the first subscriber identity and the first subscriber identity are stored according to the intelligent contract, and add the block to the shared blockchain. Therefore, the first user identification and the behavior data of the first user identification cannot be tampered, authenticity of records is guaranteed, and a user can conveniently inquire the behavior data subsequently.
Step 402: and the service system determines the behavior value degree of each user identifier according to at least one behavior data of each user identifier in the plurality of user identifiers.
For convenience of description, for any one of the plurality of user identities, this user identity is referred to as a target user identity. The behavior value degree of the target user identifier is used for reflecting the proportion of the value brought to the organization to which the service system belongs after the target user identifier executes the specified behavior in the total value brought to the organization to which the service system belongs after the plurality of user identifiers execute the specified behavior.
Specifically, the operation of step 402 may be: the service system determines the behavior score of the target user identifier according to at least one behavior data of the target user identifier; and dividing the behavior score of the target user identifier by the total behavior score to obtain the behavior value degree of the target user identifier, wherein the total behavior score is the sum of the behavior scores of the plurality of user identifiers.
The behavior score of the target user identifier is used for reflecting the value brought to the organization to which the service system belongs after the target user identifier executes the specified behavior. Therefore, the behavior score of the target user identifier is divided by the total behavior score to obtain the behavior value degree of the target user identifier, that is, the proportion of the value brought by the target user identifier in the total value brought by the plurality of user identifiers is obtained.
The operation of the service system determining the behavior score of the target user identifier according to the at least one behavior data of the target user identifier may be: the service system acquires a behavior score corresponding to each behavior data in at least one behavior data of the target user identification; and accumulating the behavior scores corresponding to at least one behavior data of the target user identifier to obtain the behavior score of the target user identifier.
The behavior score corresponding to certain behavior data is used for reflecting the value which can be brought to the organization to which the business system belongs by the specified behavior corresponding to the behavior data. Therefore, the behavior scores corresponding to the at least one behavior data of the target user identifier are accumulated, so that the behavior score of the target user identifier can be obtained, that is, the value brought to the organization to which the service system belongs after the target user identifier executes the at least one specified behavior is obtained.
For convenience of description, for any one of the at least one behavior data identified by the target user, this behavior data is referred to as target behavior data. The operation of the service system for acquiring the behavior score corresponding to the target behavior data of the target user identifier can be realized by the following modes:
the first mode is as follows: and the service system acquires the behavior score corresponding to the target behavior data from the corresponding relation between the behavior type and the behavior score according to the behavior type in the target behavior data identified by the target user.
The business system can preset the corresponding relation between the behavior types and the behavior scores, and the corresponding relation is used for reflecting the value which can be brought to the organization to which the business system belongs by the appointed behaviors of various behavior types. Thus, after a certain user identifier executes a certain specified behavior, the service system may determine a corresponding behavior score from the preset corresponding relationship between the behavior type and the behavior score according to the behavior type of the specified behavior (i.e., the behavior type in the behavior data).
For example, if the behavior type in the target behavior data identified by the target user is "published article", the behavior score corresponding to the behavior type "published article" may be obtained as 3 in the correspondence between the behavior type and the behavior score shown in table 1.
TABLE 1
Type of behavior Behavior scoring
Purchasing items 5
Filling out questionnaire survey 3
Sign-in 1
Published articles 3
…… ……
In the embodiment of the present application, only the correspondence between the behavior type and the behavior score shown in table 1 above is used as an example for description, and table 1 above does not limit the embodiment of the present application.
The second mode is as follows: and the service system acquires the behavior score corresponding to the target behavior data from the corresponding relation among the behavior type, the behavior attribute and the behavior score according to the behavior type and the behavior attribute in the target behavior data identified by the target user.
The business system can preset the corresponding relation among the behavior types, the behavior attributes and the behavior scores, and the corresponding relation is used for reflecting the value of the assigned behaviors of various behavior types and behavior attributes, which can be brought to the organization to which the business system belongs. Thus, after a certain user identifier executes a certain specified behavior, the service system may determine a corresponding behavior score from the preset correspondence between the behavior type, the behavior attribute, and the behavior score according to the behavior type and the behavior attribute of the specified behavior (i.e., the behavior type and the behavior attribute in the behavior data).
For example, if the behavior type in the target behavior data identified by the target user is "purchase item" and the behavior attribute is "transaction amount 100", the behavior score corresponding to the behavior type "published article" and the behavior attribute "transaction amount 100" may be obtained as 10 from the correspondence among the behavior type, the behavior attribute, and the behavior score shown in table 2. In table 2, for the behavior type of purchasing an item, the behavior score is divided into a plurality of levels according to the transaction amount to encourage the user to purchase the item; regarding the behavior type of filling out the questionnaire, the behavior score is divided into a plurality of levels according to the content quality to encourage the user to carefully fill out the questionnaire.
TABLE 2
Figure BDA0003110786430000161
In the embodiment of the present application, only the correspondence among the behavior types, the behavior attributes, and the behavior scores shown in table 2 is taken as an example for description, and table 2 does not limit the embodiment of the present application.
Optionally, after acquiring the behavior score of the target user identifier, the service system may further execute step 4021: and the business system stores the target user identifier, at least one behavior data of the target user identifier and the behavior score of the target user identifier to the block chain in the second block chain system.
The operation of storing the target user identifier, the at least one behavior data of the target user identifier, and the behavior score of the target user identifier in the block chain in the second block chain system is similar to the operation of storing the behavior data of the first user identifier and the first user identifier in the block chain in the second block chain system in step 401, which is not described in detail herein.
In this case, the target user identifier, the at least one behavior data of the target user identifier, and the behavior score of the target user identifier are stored in the blockchain in the second blockchain system, so that the target user identifier, the at least one behavior data of the target user identifier, and the behavior score of the target user identifier cannot be tampered, authenticity of records is guaranteed, and a user can conveniently inquire the behavior score subsequently.
Step 403: and the service system respectively multiplies the behavior value degree of each user identifier in the plurality of user identifiers by a first preset number to obtain a first integral number corresponding to each user identifier.
That is, the business system multiplies the behavior value degree of the target user identifier by the first preset number to obtain a first integral number corresponding to the target user identifier. The first integral quantity corresponding to the target user identifier is the quantity of the integral which is obtained after the target user identifier executes at least one specified action in the first time length.
The first preset number may be preset, and the first preset number is a total number of points that can be issued for all the user identifiers performing the specified behavior within the first duration. The first preset number may be set according to a decreasing rule. The decrement rule is: the first predetermined amount tends to decrease with time. Thus, over time, the total number of points that can be delivered per time tends to decrease. In this case, since the first preset number is continuously decreased, the user may be encouraged to perform the designated action as soon as possible so as to obtain more points, thereby improving the enthusiasm of the user and further ensuring the ecological value of the service system.
The service system and the first block chain system both store a first preset quantity, and the first preset quantity stored by the service system is the same as the first preset quantity stored by the first block chain system.
Alternatively, the first predetermined number may be sent to the service system by the first blockchain system, that is, the first blockchain system may set the first predetermined number according to a decreasing rule, and send the first predetermined number to the service system after resetting the first predetermined number each time. Of course, the first preset number may also be generated by the service system itself, that is, the service system may set the first preset number according to a decreasing rule, and send the first preset number to the first block chain system after resetting the first preset number each time.
The decrement rule may be preset. By way of example, the decrementing rule can be: and reducing the first preset number every second time length. Of course, the decreasing rule may also be other rules that can make the first preset number decrease with time, and this is not limited in the embodiment of the present application.
The second period of time may be set in advance, for example, the second period of time may be set to one year. The degree of each reduction of the first preset number may also be set in advance, for example, may be set to be reduced by half each time. That is, the decreasing rule is to decrease the first preset number by half every other year. Assuming that the initial value of the first preset quantity is 100, the first preset quantity is 100 in the first year; within the second year, the first preset number is 50; in the third year, the first preset number is 25, and so on.
Step 404: and the service system sends a credit issuing request to the first block chain system.
The point issuing request carries the plurality of user identifications and the first point number corresponding to each user identification so as to indicate the first block chain system to add the points of the corresponding first point number to the block chain account of each user identification.
Step 405: and after receiving the credit issuing request sent by the service system, the first blockchain system adds corresponding credits of the first credit number to the blockchain account of each user identifier in the plurality of user identifiers.
Specifically, the first blockchain system may transfer the first number of credits corresponding to the target user identifier from the credit pool to the blockchain account of the target user identifier, that is, add the corresponding first number of credits to the blockchain account of the target user identifier.
The point pool is used for storing points, and the first blockchain system can transfer the points in the point pool to a blockchain account of the target user identifier so as to realize point issuing of the target user identifier. The number of the points initially set in the point pool is a second preset number, that is, the total amount of the points that can be issued by the first blockchain system for the user identifier is a certain number, which is the second preset number. The second preset number may be preset, and the second preset number is greater than the first preset number, and the second preset number may be set to be larger, for example, the second preset number may be set to 200000, and the first block chain system may set the second preset number according to an actual service requirement, which is not limited in this embodiment of the application.
Optionally, before the first blockchain system adds the corresponding first point number of points to the blockchain account of each user identifier in the plurality of user identifiers, the first point number corresponding to each user identifier carried in the point issuance request may be verified, and in a case that the verification is passed, the corresponding first point number of points is added to the blockchain account of each user identifier. Thus, the safety and reliability of the point issuing can be ensured.
In this case, the credit issue request sent by the service system to the first blockchain system may further carry at least one behavior data of each of the multiple user identifiers, that is, carry related data of at least one specified behavior executed by each user identifier within the first time duration.
In this way, the operation of the first blockchain system for verifying the first credit number corresponding to each user identifier carried in the credit issuing request may be: the first block chain system determines the behavior value degree of each user identifier according to at least one behavior data of each user identifier in the plurality of user identifiers carried by the point issuing request, and then multiplies the behavior value degree of each user identifier by a first preset number to obtain the point number corresponding to each user identifier; if the number of the points calculated by the first block chain system is the same as the first number of the points carried in the point issuing request, determining that the verification is passed; and if the number of the points calculated by the first block chain system is different from the first number of the points carried in the point issuing request, determining that the verification fails.
The operation of determining the behavior value degree of each user identifier by the first blockchain system according to the at least one piece of behavior data of each user identifier in the plurality of user identifiers carried by the credit issuing request is similar to the operation of determining the behavior value degree of each user identifier by the service system according to the at least one piece of behavior data of each user identifier in the plurality of user identifiers in step 402, which is not described in detail herein.
After verifying the first integral quantity corresponding to each user identifier carried in the integral issuing request, the first blockchain system can also send the verification result to the service system. The first blockchain system may return a verification result indicating that the verification is passed to the business system and add a corresponding first number of points to the blockchain account of each of the plurality of user identities when the verification is passed. The first blockchain system may return a verification result indicating that the verification fails to the service system in case of a verification failure, so as to indicate the service system to recalculate the first number of points corresponding to each of the plurality of user identifiers; and after receiving the verification result for indicating the verification failure, the service system recalculates the first credit quantity corresponding to each user identifier in the plurality of user identifiers, and then sends the credit issuing request to the first block chain system again.
Optionally, after receiving the verification result sent by the first blockchain system, the service system may further store the verification result in a blockchain in the second blockchain system, so as to facilitate a subsequent user or an administrator of the service system to query the verification result in the credit issuing process.
The operation of the service system storing the verification result in the second blockchain system is similar to the operation of the service system storing the first user identifier and the behavior data of the first user identifier in the second blockchain system in step 401, which is not described in detail herein.
Further, after the first blockchain system adds the corresponding first integral number of points to the blockchain account of each user identifier in the plurality of user identifiers, the first blockchain system may further store the plurality of user identifiers and the corresponding first integral number of each user identifier in the blockchain.
The first block chain system may link the plurality of user identifiers and the first number of credits corresponding to each user identifier according to an intelligent contract, that is, generate a block in which the plurality of user identifiers and the first number of credits corresponding to each user identifier are stored according to the intelligent contract, and add the block to the shared block chain. Therefore, the plurality of user identifications and the first integral number corresponding to each user identification cannot be tampered, authenticity of records is guaranteed, and users can conveniently inquire integral information subsequently.
Optionally, after the first blockchain system adds the corresponding first number of points to the blockchain account of each of the plurality of user identifiers, point variation information of each of the plurality of user identifiers may also be obtained, where the point variation information includes the number of points in the blockchain account of the user identifier and historical increase and decrease information of the points. The first blockchain system sends the credit change information of each user identifier in the plurality of user identifiers to the service system so as to instruct the service system to update the credit amount in the account data of the user account of each user identifier.
After receiving the point change information of each user identifier in the plurality of user identifiers, the service system updates the number of points in the account data of the user account according to the number of points in the blockchain account of each user identifier, and stores the historical increase and decrease information of the points in the blockchain account of each user identifier, so that the user can conveniently check the point change condition.
Step 406: and the first block chain system sends a resource distribution request to the service system every third time length.
The resource issuing request carries the second user identifier and the resource issuing quantity corresponding to the second user identifier so as to indicate the service system to add the resource of the corresponding resource issuing quantity to the resource account of the second user identifier.
The second user identifier is any one of all user identifiers registered in the blockchain account in the first blockchain system. The resource account of the second user identification is an account for enabling access to a resource, which may be a resource having a value for circulation. For example, the resource may be currency, in which case the resource account may be a bank account. For another example, the resource may be a common score set by the business system, the common score is different from the score in the blockchain account, and the resource account may be a user account.
And the resource issuing quantity corresponding to the second user identification is determined according to the quantity of the points in the blockchain account of the second user identification. The first blockchain system may determine the resource release number corresponding to the second user identifier every third duration. Specifically, the operation of determining, by the first blockchain system, the resource issuance number corresponding to the second user identifier every third duration may be: the first block chain system acquires the resource increase quantity of the organization to which the service system belongs within a third time interval; multiplying the resource increase quantity by a preset proportion to obtain a resource distribution total quantity; and determining the resource issuing quantity corresponding to each user identifier in all the user identifiers according to the resource issuing total quantity and the quantity of the points in the block chain accounts of all the user identifiers.
The third time period may be set in advance, for example, the third time period may be set to one day, one month, one year, or the like. The third duration is a resource settlement period, that is, at the end of each resource settlement period, the first blockchain system issues resources for the user identifier according to the number of credits in the blockchain account of the user identifier.
The increased amount of resources of the organization to which the business system belongs during the third duration is indicative of a profit that the organization to which the business system belongs made during the third duration, the profit being closely related to the specified action performed by the subscriber identity. For example, the profit may be expressed as an increase in the market value of the organization to which the business system belongs, that is, the total value of the stock obtained by multiplying the market price of each stock of the organization to which the business system belongs by the total number of issued stocks, and of course, the profit may also be expressed as an increase in resources in other aspects, which is not limited in this embodiment of the present application.
The preset ratio may be set in advance, for example, the preset ratio may be set to 10%.
In this case, a part of the profit obtained by the organization to which the business system belongs in the third time period is distributed to all the user identifiers with the integral, so that the user can enjoy the bonus brought by the growth of the ecological value of the business system, and the adhesion degree between the user and the business system is increased.
Optionally, the operation of the first blockchain system determining, according to the total resource issuance amount and the number of credits in the blockchain accounts of all the user identifiers, the resource issuance number corresponding to each user identifier in all the user identifiers may be: dividing the total resource issuing amount by the total amount of points in the blockchain accounts of all the user identifications to obtain a target amount, and multiplying the amount of the points in the blockchain accounts of the user identifications by the target amount to obtain the resource issuing amount corresponding to the user identifications for each user identification in all the user identifications.
Step 407: and after receiving the resource distribution request sent by the first blockchain system, the service system adds the corresponding resource distribution quantity of resources to the resource account of the second user identifier.
After the service system adds the resources of the corresponding resource distribution quantity to the resource account of the second user identifier, the second user identifier and the resource distribution quantity corresponding to the second user identifier may also be stored in the blockchain in the second blockchain system.
The operation of the service system storing the second user identifier and the resource allocation amount corresponding to the second user identifier in the block chain in the second block chain system is similar to the operation of the service system storing the first user identifier and the behavior data of the first user identifier in the step 401 in the block chain in the second block chain system, and details of this operation are not repeated in this embodiment of the present application.
In this case, since the second user identifier and the resource issuance amount corresponding to the second user identifier are stored in the block chain in the second block chain system, the resource issuance amount corresponding to the second user identifier and the second user identifier cannot be tampered, so that the authenticity of the record is ensured, and the user can conveniently inquire the resource issuance information subsequently.
In some embodiments, the method may further redeem points already owned by the user, and specifically may include the following steps (1) to (4):
(1) the business system receives a credit redemption request.
The point exchange request carries a third user identification and a target resource to be exchanged identified by the third user identification and a second point quantity required by the target resource.
The third subscriber identity is any one of all subscriber identities registered in the service system. The target resource may be an item voucher, service, gift voucher, etc. The second number of points is the number of points required to redeem the target resource. The number of second points required for exchanging the target resource can be set by the business system according to the value of the target resource.
Optionally, the business system may receive a credit exchange request sent by a terminal logged with a third user identifier. The terminal can send the point exchange request to a service system through a mobile phone APP, a webpage, an applet and the like.
(2) The traffic system sends a credit reduction request to the first blockchain system.
The point reduction request carries a third user identification and a second number of points to instruct the first blockchain system to reduce the points of the second number of points from the blockchain account of the third user identification.
(3) And after receiving the point reduction request sent by the service system, the first blockchain system transfers the points of the second point number in the blockchain account identified by the third user to the point pool, and sends an operation success message to the service system.
The first blockchain system transfers the second point number of points in the blockchain account of the second user identifier to the point pool, so that the number of points in the point pool can be kept stable, and points can be issued for the user identifier through the point pool in the following process.
Optionally, after the first blockchain system transfers the second number of points in the blockchain account of the third user identification to the pool of points, the third user identification and the second number of points may also be stored to the blockchain.
The first blockchain system may link the third user id and the second point number according to the smart contract, that is, generate a block storing the third user id and the second point number according to the smart contract, and add the block to the shared blockchain. Therefore, the third user identification and the second point number cannot be tampered, the authenticity of the record is guaranteed, and the user can conveniently inquire the point information subsequently.
Optionally, after the first blockchain system transfers the second number of points in the third user-identified blockchain account to the point pool, point change information of the third user identification may be further obtained, where the point change information includes the number of points in the third user-identified blockchain account and historical increase and decrease information of the points. And the first blockchain system sends the point change information of the third user identification to the business system so as to indicate the business system to update the point quantity in the account data of the user account of the third user identification.
And after receiving the point change information of the third user identifier, the business system updates the point number in the account data of the user account of the third user identifier according to the point number in the blockchain account of the third user identifier, and stores the historical increase and decrease information of the points in the blockchain account of the third user identifier, so that the user can conveniently check the point change condition.
(4) And after receiving the operation success message returned by the first blockchain system, the service system issues the target resource to the third user identifier.
Therefore, the user can be encouraged to execute the specified action to obtain the points in a point exchange mode, and the enthusiasm of the user is improved.
In the embodiment of the application, the service system acquires at least one behavior data of each user identifier in the plurality of user identifiers every first time period. Then, the service system determines the behavior value degree of each user identifier according to at least one behavior data of each user identifier in the plurality of user identifiers, and then multiplies the behavior value degree of each user identifier by a first preset number to obtain a first integral number corresponding to each user identifier. Finally, the business system instructs the first blockchain system to add a corresponding first number of points to the blockchain account for each user identification. Therefore, the method of periodically performing point distribution according to the behavior value degree can stimulate the user to execute the behavior in the service system and maintain the activity and the enthusiasm of the user. Meanwhile, the points are issued for the user identification through the first block chain system, and the safety and the reliability of the points during issuing can be guaranteed.
Fig. 5 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. 5, the method may include the following steps:
step 501: and acquiring at least one behavior data of each user identifier in the plurality of user identifiers every first time.
The at least one behavior data for each user identification is data related to at least one specified behavior performed by each user identification for a first duration.
The related content of step 501 has already been explained in step 401, and this is not described again in this embodiment of the present application.
Step 502: and determining the behavior value degree of each user identifier according to at least one behavior data of each user identifier in the plurality of user identifiers.
The related content of step 502 is already explained in step 402, and is not described again in this embodiment of the present application.
Step 503: and respectively multiplying the behavior value degree of each user identifier in the plurality of user identifiers by a first preset number to obtain a first integral number corresponding to each user identifier.
The relevant content of step 503 has already been explained in step 403, and this is not described again in this embodiment of the present application.
Step 504: and sending a credit issue request to the first blockchain system.
The point issuing request carries a plurality of user identifications and a first point number corresponding to each user identification so as to indicate the first blockchain system to add points of the corresponding first point number to the blockchain account of each user identification.
The related content of step 504 is already explained in step 404, and is not described again in this embodiment of the present application.
In the embodiment of the application, the service system acquires at least one behavior data of each user identifier in the plurality of user identifiers every first time period. Then, the service system determines the behavior value degree of each user identifier according to at least one behavior data of each user identifier in the plurality of user identifiers, and then multiplies the behavior value degree of each user identifier by a first preset number to obtain a first integral number corresponding to each user identifier. Finally, the business system instructs the first blockchain system to add a corresponding first number of points to the blockchain account for each user identification. Therefore, the method of periodically performing point distribution according to the behavior value degree can stimulate the user to execute the behavior in the service system and maintain the activity and the enthusiasm of the user. Meanwhile, the points are issued for the user identification through the first block chain system, and the safety and the reliability of the points during issuing can be guaranteed.
Fig. 6 is a flowchart of a point issuing method according to an embodiment of the present application. The method is applied to the first blockchain system, and referring to fig. 6, the method may include the following steps:
step 601: and receiving a credit issuing request sent by a service system.
The point issuing request carries a plurality of user identifications and a first point number corresponding to each user identification. The first integral quantity corresponding to each user identifier is obtained by multiplying the behavior value degree of each user identifier by a first preset quantity. The behavioral merit degree of each user identifier is determined based on at least one behavior data of each user identifier of the plurality of user identifiers. The at least one behavior data for each user identification is data related to at least one specified behavior performed by each user identification for a first duration.
Step 602: a corresponding first number of credits is added to the blockchain account for each of the plurality of user identifications.
The related content of step 602 is already explained in step 405 above, and the embodiment of the present application is not described herein again.
In the embodiment of the application, the service system acquires at least one behavior data of each user identifier in the plurality of user identifiers every first time period. Then, the service system determines the behavior value degree of each user identifier according to at least one behavior data of each user identifier in the plurality of user identifiers, and then multiplies the behavior value degree of each user identifier by a first preset number to obtain a first integral number corresponding to each user identifier. And finally, the service system sends a credit issue request to the first block chain system. And after receiving the point issuing request, the first blockchain system instructs the first blockchain system to add corresponding points of the first point number to the blockchain account of each user identifier. Therefore, the method of periodically performing point distribution according to the behavior value degree can stimulate the user to execute the behavior in the service system and maintain the activity and the enthusiasm of the user. Meanwhile, the points are issued for the user identification through the first block chain system, and the safety and the reliability of the points during issuing can be guaranteed.
Fig. 7 is a schematic structural diagram of a point issuing device according to an embodiment of the present application, which is applied to a service system. The apparatus may be implemented as part or all of a computer device, which may be the computer device shown in fig. 9 below, by software, hardware, or a combination of both. Referring to fig. 7, the apparatus includes: a first obtaining module 701, a first determining module 702, a second obtaining module 703 and a first sending module 704.
A first obtaining module 701, configured to obtain, every first duration, at least one piece of behavior data of each user identifier in the multiple user identifiers, where the at least one piece of behavior data of each user identifier is related to at least one specified behavior executed by each user identifier within the first duration;
a first determining module 702, configured to determine a behavior value degree of each user identifier according to at least one behavior data of each user identifier in a plurality of user identifiers;
the second obtaining module 703 is configured to multiply the behavior value degree of each of the multiple user identifiers by a first preset number, respectively, to obtain a first integral number corresponding to each user identifier;
a first sending module 704, configured to send a credit issuing request to the first blockchain system, where the credit issuing request carries multiple user identifiers and a first credit amount corresponding to each user identifier, so as to instruct the first blockchain system to add credits corresponding to the first credit amount to a blockchain account of each user identifier.
Optionally, the apparatus further comprises:
the acquisition module is used for acquiring the behavior data of the first user identifier after the first user identifier executes the specified behavior, wherein the behavior data of the first user identifier is the related data of the specified behavior executed by the first user identifier;
and the first storage module is used for storing the first user identifier and the behavior data of the first user identifier to the block chain in the second block chain system.
Optionally, the first determining module 702 includes:
the determining unit is used for determining the behavior score of the target user identifier according to at least one behavior data of the target user identifier, wherein the target user identifier is one of a plurality of user identifiers;
and the obtaining unit is used for dividing the behavior score of the target user identifier by the total behavior score to obtain the behavior value degree of the target user identifier, wherein the total behavior score is the sum of the behavior scores of the plurality of user identifiers.
Optionally, the determining unit is configured to:
acquiring a behavior score corresponding to target behavior data from a corresponding relation between the behavior type and the behavior score according to the behavior type in the target behavior data of the target user identifier, wherein the target behavior data is one behavior data in at least one behavior data of the target user identifier;
and accumulating the behavior scores corresponding to at least one behavior data of the target user identifier to obtain the behavior score of the target user identifier.
Optionally, the apparatus further comprises:
and the second storage module is used for storing the target user identifier, at least one behavior data of the target user identifier and the behavior score of the target user identifier into the block chain in the second block chain system.
Optionally, the apparatus further comprises:
the first receiving module is used for receiving a resource issuing request sent by the first block chain system, wherein the resource issuing request carries a second user identifier and a resource issuing quantity corresponding to the second user identifier, and the resource issuing quantity corresponding to the second user identifier is determined according to the quantity of points in a block chain account of the second user identifier;
and the first adding module is used for adding the corresponding resources with the resource distribution quantity to the resource account of the second user identifier.
Optionally, the apparatus further comprises:
the second receiving module is used for receiving a point exchange request, and the point exchange request carries a third user identifier, a target resource to be exchanged and a second point quantity required by the target resource by the third user identifier;
a second sending module, configured to send a credit reduction request to the first blockchain system, where the credit reduction request carries a third user identifier and a second credit amount, so as to instruct the first blockchain system to reduce credits of the second credit amount from blockchain accounts of the third user identifier;
and the issuing module is used for issuing the target resource to the third user identification after receiving the operation success message returned by the first block chain system.
Optionally, the apparatus further comprises:
a third receiving module, configured to receive a first preset number sent by the first blockchain system, where the first preset number is set by the first blockchain system according to a decreasing rule, where the decreasing rule is: and reducing the first preset number every second time length.
In the embodiment of the application, the service system acquires at least one behavior data of each user identifier in the plurality of user identifiers every first time period. Then, the service system determines the behavior value degree of each user identifier according to at least one behavior data of each user identifier in the plurality of user identifiers, and then multiplies the behavior value degree of each user identifier by a first preset number to obtain a first integral number corresponding to each user identifier. Finally, the business system instructs the first blockchain system to add a corresponding first number of points to the blockchain account for each user identification. Therefore, the method of periodically performing point distribution according to the behavior value degree can stimulate the user to execute the behavior in the service system and maintain the activity and the enthusiasm of the user. Meanwhile, the points are issued for the user identification through the first block chain system, and the safety and the reliability of the points during issuing can be guaranteed.
Fig. 8 is a schematic structural diagram of an integration distribution apparatus according to an embodiment of the present application, applied to a first block chain system. The apparatus may be implemented as part or all of a computer device, which may be the computer device shown in fig. 10 below, by software, hardware, or a combination of both. Referring to fig. 8, the apparatus includes: a fourth receiving module 801 and a second adding module 802.
A fourth receiving module 801, configured to receive a credit issue request sent by a service system, where the credit issue request carries multiple user identifiers and a first credit amount corresponding to each user identifier, where the first credit amount corresponding to each user identifier is obtained by multiplying a behavior value of each user identifier by a first preset amount, the behavior value of each user identifier is determined according to at least one behavior data of each user identifier in the multiple user identifiers, and the at least one behavior data of each user identifier is related to at least one specified behavior executed by each user identifier within a first duration;
a second adding module 802 for adding a corresponding first number of credits to the blockchain account of each of the plurality of user identities.
Optionally, the apparatus further comprises:
a setting module, configured to set a first preset number according to a decreasing rule, where the decreasing rule is: reducing the first preset number every second time length;
and the third sending module is used for sending the first preset quantity to the service system after resetting the first preset quantity every time.
Optionally, the apparatus further comprises:
and the third storage module is used for storing the plurality of user identifications and the first integral quantity corresponding to each user identification to the block chain.
Optionally, the second adding module 802 is configured to:
and transferring the integral of a first integral quantity corresponding to the target user identifier to a block chain account of the target user identifier from the integral pool, wherein the target user identifier is one user identifier in a plurality of user identifiers, the quantity of the initially set integral in the integral pool is a second preset quantity, and the second preset quantity is greater than the first preset quantity.
Optionally, the apparatus further comprises:
a fourth receiving module, configured to receive a point reduction request sent by a service system, where the point reduction request carries a third user identifier and a second point number;
a transfer module to transfer the points of the second number of points in the blockchain account identified by the third user to the point pool.
Optionally, the apparatus further comprises:
the third acquisition module is used for acquiring the resource increase quantity of the organization to which the service system belongs within the third duration every other third duration;
the fourth acquisition module is used for multiplying the resource increase quantity by a preset proportion to obtain the total resource distribution quantity;
a second determining module, configured to determine, according to the total resource issuance amount and the number of points in the blockchain accounts of all the user identifiers, a resource issuance amount corresponding to each user identifier in all the user identifiers;
and the fourth sending module is used for sending a resource issuing request to the service system, wherein the resource issuing request carries a second user identifier and a resource issuing quantity corresponding to the second user identifier so as to indicate the service system to add a resource of the corresponding resource issuing quantity to a resource account of the second user identifier, and the second user identifier is one of all the user identifiers.
In the embodiment of the application, the service system acquires at least one behavior data of each user identifier in the plurality of user identifiers every first time period. Then, the service system determines the behavior value degree of each user identifier according to at least one behavior data of each user identifier in the plurality of user identifiers, and then multiplies the behavior value degree of each user identifier by a first preset number to obtain a first integral number corresponding to each user identifier. And finally, the service system sends a credit issue request to the first block chain system. And after receiving the point issuing request, the first blockchain system instructs the first blockchain system to add corresponding points of the first point number to the blockchain account of each user identifier. Therefore, the method of periodically performing point distribution according to the behavior value degree can stimulate the user to execute the behavior in the service system and maintain the activity and the enthusiasm of the user. Meanwhile, the points are issued for the user identification through the first block chain system, and the safety and the reliability of the points during issuing can be guaranteed.
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. 9 is a schematic structural diagram of a computer device according to an embodiment of the present application. As shown in fig. 9, the computer device 9 includes: a processor 90, a memory 91 and a computer program 92 stored in the memory 91 and executable on the processor 90, the steps performed by the service system in the credit issuing method in the above embodiments being implemented when the processor 90 executes the computer program 92.
The computer device 9 may be a general purpose computer device or a special purpose computer device. In a specific implementation, the computer device 9 may be a server. Those skilled in the art will appreciate that fig. 9 is only an example of the computer device 9, and does not constitute a limitation of the computer device 9, and may include more or less components than those shown, or combine some components, or different components, such as input and output devices, network access devices, etc.
The Processor 90 may be a Central Processing Unit (CPU), and the Processor 90 may 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 91 may in some embodiments be an internal storage unit of the computer device 9, such as a hard disk or a memory of the computer device 9. The memory 91 may also be an external storage device of the computer device 9 in other embodiments, such as a plug-in hard disk provided on the computer device 9, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like. Further, the memory 91 may also include both an internal storage unit of the computer device 9 and an external storage device. The memory 91 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 91 may also be used to temporarily store data that has been output or is to be output.
Fig. 10 is a schematic structural diagram of a computer device according to an embodiment of the present application. As shown in fig. 10, the computer apparatus 10 includes: a processor 100, a memory 101 and a computer program 102 stored in the memory 101 and operable on the processor 100, wherein the processor 100 executes the computer program 102 to implement the steps performed by the first blockchain system in the point issuing method in the above embodiments.
Computer device 10 may be a general purpose computer device or a special purpose computer device. In particular implementations, computer device 10 may be a server cluster comprised of multiple servers. Those skilled in the art will appreciate that fig. 10 is merely an example of the computer device 10 and is not intended to limit the computer device 10 and may include more or less components than those shown, or some components may be combined, or different components may be included, such as input output devices, network access devices, etc.
Processor 100 may be a CPU, and processor 100 may also be other general purpose processors, DSPs, ASICs, FPGAs, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or any conventional processor.
The storage 101 may be an internal storage unit of the computer device 10 in some embodiments, such as a hard disk or a memory of the computer device 10. The memory 101 may also be an external storage device of the computer device 10 in other embodiments, such as a plug-in hard disk, SMC, SD card, flash memory card, etc. provided on the computer device 10. Further, the memory 101 may also include both an internal storage unit and an external storage device of the computer device 10. The memory 101 is used for storing an operating system, application programs, a boot loader, data, and other programs, such as program codes of computer programs, and the like. The memory 101 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-mentioned 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; 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 (18)

1. A credit issuing method is applied to a service system, and the method comprises the following steps:
acquiring at least one behavior data of each user identifier in a plurality of user identifiers every other first time length, wherein the at least one behavior data of each user identifier is related to at least one specified behavior executed by each user identifier in the first time length;
determining the behavior value degree of each user identifier according to at least one behavior data of each user identifier in the plurality of user identifiers;
respectively multiplying the behavior value degree of each user identifier in the plurality of user identifiers by a first preset number to obtain a first integral number corresponding to each user identifier;
and sending a point issuing request to a first blockchain system, wherein the point issuing request carries the multiple user identifications and the first point number corresponding to each user identification so as to indicate the first blockchain system to add the points of the corresponding first point number to the blockchain account of each user identification.
2. The method of claim 1, wherein the method further comprises:
after a first user identifier executes the specified behavior, acquiring behavior data of the first user identifier, wherein the behavior data of the first user identifier is related to the specified behavior executed by the first user identifier;
and storing the first user identification and the behavior data of the first user identification to a blockchain in a second blockchain system.
3. The method of claim 1, wherein determining a behavioral merit metric for each subscriber identity based on at least one behavioral datum for each subscriber identity of the plurality of subscriber identities comprises:
determining a behavior score of a target user identifier according to at least one behavior data of the target user identifier, wherein the target user identifier is one of the plurality of user identifiers;
and dividing the behavior score of the target user identifier by a total behavior score to obtain a behavior value degree of the target user identifier, wherein the total behavior score is the sum of the behavior scores of the plurality of user identifiers.
4. The method of claim 3, wherein determining a behavior score for a target user identification from at least one behavior data for the target user identification comprises:
acquiring a behavior score corresponding to the target behavior data from a corresponding relation between the behavior type and the behavior score according to the behavior type in the target behavior data of the target user identifier, wherein the target behavior data is one behavior data in at least one behavior data of the target user identifier;
and accumulating the behavior scores corresponding to at least one behavior data of the target user identifier to obtain the behavior score of the target user identifier.
5. The method of claim 3 or 4, further comprising:
storing the target user identifier, at least one behavior data of the target user identifier, and the behavior score of the target user identifier to a blockchain in a second blockchain system.
6. The method of any of claims 1-4, wherein the method further comprises:
receiving a resource issuing request sent by the first block chain system, wherein the resource issuing request carries a second user identifier and a resource issuing quantity corresponding to the second user identifier, and the resource issuing quantity corresponding to the second user identifier is determined according to the quantity of points in a block chain account of the second user identifier;
and adding the corresponding resource of the resource distribution quantity to the resource account of the second user identification.
7. The method of any of claims 1-4, wherein the method further comprises:
receiving a point exchange request, wherein the point exchange request carries a third user identifier, a target resource to be exchanged and a second point quantity required by the target resource, and the third user identifier;
sending a credit reduction request to the first blockchain system, the credit reduction request carrying the third user identification and the second credit amount to instruct the first blockchain system to reduce credits of the second credit amount from blockchain accounts of the third user identification;
and after receiving an operation success message returned by the first blockchain system, issuing the target resource to the third user identifier.
8. The method of any of claims 1-4, wherein the method further comprises:
receiving the first preset quantity sent by the first blockchain system, where the first preset quantity is set by the first blockchain system according to a decreasing rule, where the decreasing rule is: and reducing the first preset quantity every second time length.
9. A credit issuing method applied to a first blockchain system, the method comprising:
receiving a credit issuing request sent by a service system, wherein the credit issuing request carries a plurality of user identifiers and a first credit number corresponding to each user identifier, the first credit number corresponding to each user identifier is obtained by multiplying the behavior value of each user identifier by a first preset number, the behavior value of each user identifier is determined according to at least one behavior data of each user identifier in the plurality of user identifiers, and the at least one behavior data of each user identifier is related data of at least one designated behavior executed by each user identifier within a first time length;
adding a corresponding first number of credits to a blockchain account of each of the plurality of user identifications.
10. The method of claim 9, wherein the method further comprises:
setting the first preset number according to a decreasing rule, wherein the decreasing rule is as follows: reducing the first preset number every second duration;
and after resetting the first preset quantity each time, sending the first preset quantity to the service system.
11. The method of claim 9, wherein after adding a corresponding first number of credits to the blockchain account for each of the plurality of user identities, further comprising:
and storing the plurality of user identifications and the first integral quantity corresponding to each user identification to a block chain.
12. The method of claim 9, wherein adding a corresponding first number of credits to a blockchain account for each of the plurality of user identities comprises:
and transferring the integral of a first integral quantity corresponding to the target user identifier to a block chain account of the target user identifier from an integral pool, wherein the target user identifier is one user identifier in the plurality of user identifiers, the quantity of the integral initially set in the integral pool is a second preset quantity, and the second preset quantity is greater than the first preset quantity.
13. The method of claim 12, wherein the method further comprises:
receiving a point reduction request sent by the service system, wherein the point reduction request carries a third user identifier and a second point number;
transferring the second number of points in the third user-identified blockchain account to the pool of points.
14. The method of any of claims 9-13, further comprising:
every third time length, acquiring the resource increase quantity of the organization to which the service system belongs in the third time length;
multiplying the resource increase quantity by a preset proportion to obtain a resource distribution total quantity;
determining the resource issuing quantity corresponding to each user identifier in all the user identifiers according to the resource issuing total quantity and the quantity of the points in the block chain accounts of all the user identifiers;
and sending a resource issuing request to the service system, wherein the resource issuing request carries a second user identifier and a resource issuing quantity corresponding to the second user identifier so as to indicate the service system to add a resource of the corresponding resource issuing quantity to a resource account of the second user identifier, and the second user identifier is one user identifier of all the user identifiers.
15. A credit dispensing apparatus, comprising:
the device comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring at least one behavior data of each user identifier in a plurality of user identifiers every other first time length, and the at least one behavior data of each user identifier is related to at least one specified behavior executed by each user identifier in the first time length;
the first determining module is used for determining the behavior value degree of each user identifier according to at least one behavior data of each user identifier in the plurality of user identifiers;
the second obtaining module is used for multiplying the behavior value degree of each user identifier in the plurality of user identifiers by a first preset number respectively to obtain a first integral number corresponding to each user identifier;
a first sending module, configured to send a credit issue request to a first blockchain system, where the credit issue request carries the multiple user identifiers and a first credit amount corresponding to each user identifier, so as to indicate that the first blockchain system adds credits corresponding to the first credit amount to a blockchain account of each user identifier.
16. A credit dispensing apparatus, comprising:
a fourth receiving module, configured to receive a credit issue request sent by a service system, where the credit issue request carries multiple user identifiers and a first credit amount corresponding to each user identifier, where the first credit amount corresponding to each user identifier is obtained by multiplying a behavior value of each user identifier by a first preset amount, the behavior value of each user identifier is determined according to at least one behavior data of each user identifier in the multiple user identifiers, and the at least one behavior data of each user identifier is related to at least one specified behavior executed by each user identifier within a first duration;
a second adding module, configured to add a corresponding first number of credits to the blockchain account of each of the plurality of user identities.
17. 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 14.
18. 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 14.
CN202110650051.9A 2021-06-10 2021-06-10 Point issuing method, device, equipment and storage medium Pending CN113409075A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110650051.9A CN113409075A (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
CN202110650051.9A CN113409075A (en) 2021-06-10 2021-06-10 Point issuing method, device, equipment and storage medium

Publications (1)

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

Family

ID=77683473

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN113409075A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114973632A (en) * 2022-04-06 2022-08-30 宁波小遛共享信息科技有限公司 Shared vehicle parking method and device, computer equipment and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015079460A1 (en) * 2013-11-28 2015-06-04 Gupta Lucky System for computing contribution and providing appropriate incentives
CN108241970A (en) * 2018-01-09 2018-07-03 重庆金窝窝网络科技有限公司 Digging ore deposit method, apparatus and computer readable storage medium based on block chain
CN109101838A (en) * 2018-08-13 2018-12-28 百度在线网络技术(北京)有限公司 Content motivational techniques and device based on block chain
CN110458702A (en) * 2019-07-15 2019-11-15 阿里巴巴集团控股有限公司 Based on the virtual resource allocation method and device of block chain, electronic equipment
CN112200604A (en) * 2020-09-30 2021-01-08 北交金科金融信息服务有限公司 Point management and transaction system based on block chain technology

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015079460A1 (en) * 2013-11-28 2015-06-04 Gupta Lucky System for computing contribution and providing appropriate incentives
CN108241970A (en) * 2018-01-09 2018-07-03 重庆金窝窝网络科技有限公司 Digging ore deposit method, apparatus and computer readable storage medium based on block chain
CN109101838A (en) * 2018-08-13 2018-12-28 百度在线网络技术(北京)有限公司 Content motivational techniques and device based on block chain
CN110458702A (en) * 2019-07-15 2019-11-15 阿里巴巴集团控股有限公司 Based on the virtual resource allocation method and device of block chain, electronic equipment
CN112200604A (en) * 2020-09-30 2021-01-08 北交金科金融信息服务有限公司 Point management and transaction system based on block chain technology

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114973632A (en) * 2022-04-06 2022-08-30 宁波小遛共享信息科技有限公司 Shared vehicle parking method and device, computer equipment and readable storage medium

Similar Documents

Publication Publication Date Title
JP7108057B2 (en) Personal data processing method and system based on blockchain
CN111444209B (en) Data processing method, device, equipment and medium based on block chain
US11455694B2 (en) System and methods for building a digital asset based social media application and reward platform
JP2021517324A (en) Media resource allocation method, equipment, system, computer program and computer equipment
CN101183455A (en) Method and system for exchange feedback in electronic commerce transaction system
KR102293877B1 (en) System and method for processing tour event via block chain
CN112200568B (en) Block chain based account creation method and device and electronic equipment
CN113409078A (en) Point issuing method, device, equipment and storage medium
CN112200567A (en) Resource management method and device based on block chain and electronic equipment
KR102136976B1 (en) Service method for tokenization mobile gift card and service provider thereof
CN113409075A (en) Point issuing method, device, equipment and storage medium
KR20190130827A (en) Method for providing block-chain based verified customer review sharing service
CN109829759B (en) Block chain-based Internet advertisement alliance system
US20170017978A1 (en) Computer platform for managing third party interactions and generating analytics therefore
CN108876339B (en) E-pet transaction method and device based on certificate
CN101246571A (en) Account server, account system, account management method
CN108696587B (en) Network service implementation method, server and storage medium
CN110598459A (en) Block chain-based data storage card management method and device
CN111047248A (en) Resource transfer method, device, server and storage medium
CN113344610B (en) Block chain-based virtual object allocation method, device and readable storage medium
US20240086901A1 (en) Method and system for secure exchange of user cookie-data and user interactions for cryptocurrency
CN112308563B (en) Guest-obtaining data processing method and node
CN113421178B (en) Integrating circulation method, device, equipment and storage medium
CN113409077A (en) Point issuing method, device, equipment and storage medium
CN113723952A (en) Resource state information processing method and device and electronic equipment

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

Application publication date: 20210917

RJ01 Rejection of invention patent application after publication