CN111488387A - Information recording and data inquiry method - Google Patents

Information recording and data inquiry method Download PDF

Info

Publication number
CN111488387A
CN111488387A CN201910079803.3A CN201910079803A CN111488387A CN 111488387 A CN111488387 A CN 111488387A CN 201910079803 A CN201910079803 A CN 201910079803A CN 111488387 A CN111488387 A CN 111488387A
Authority
CN
China
Prior art keywords
resource
user
account
change information
content object
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.)
Granted
Application number
CN201910079803.3A
Other languages
Chinese (zh)
Other versions
CN111488387B (en
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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201910079803.3A priority Critical patent/CN111488387B/en
Publication of CN111488387A publication Critical patent/CN111488387A/en
Application granted granted Critical
Publication of CN111488387B publication Critical patent/CN111488387B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2471Distributed queries
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Computational Linguistics (AREA)
  • Software Systems (AREA)
  • Probability & Statistics with Applications (AREA)
  • Fuzzy Systems (AREA)
  • Computing Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The specification provides an information recording and data inquiring method. The method may include: receiving an access request aiming at a content object sent by a client; wherein the content object belongs to a set of content objects, the set of content objects corresponding to an author account; sending the content object to the client; allocating resources to the user account of the client based on the access request, and correspondingly forming resource change information; broadcasting the resource change information to nodes in a node cluster in which the nodes are located; and recording the resource change information under the condition that the nodes in the node cluster agree on the resource change information.

Description

Information recording and data inquiry method
Technical Field
The specification relates to the field of computer internet, in particular to an information recording and data query method.
Background
In real life, with the development of computer network technology, people are more and more accustomed to browsing information, shopping and the like on the internet. Computer networks bring convenience to people's lives.
Disclosure of Invention
The embodiment of the specification provides an information recording and data inquiring method. The information can be made more transparent and reliable.
The embodiment of the specification provides a resource change information recording method, which is applied to a node; the method comprises the following steps: receiving an access request aiming at a content object sent by a client; wherein the content object belongs to a set of content objects, the set of content objects corresponding to an author account; sending the content object to the client; allocating resources to the user account of the client based on the access request, and correspondingly forming resource change information; broadcasting the resource change information to nodes in a node cluster in which the nodes are located; and recording the resource change information under the condition that the nodes in the node cluster agree on the resource change information.
The embodiment of the specification provides a resource change information recording method, which is applied to a node; the method comprises the following steps: receiving a resource payment request aiming at a content object sent by a user; wherein the resource payment request is accompanied by a resource amount; wherein the content object belongs to a set of content objects, the set of content objects corresponding to an author account; based on the resource payment request, transferring the resource represented by the resource amount from the user account of the user to the author account, and correspondingly forming resource change information; broadcasting the resource change information to nodes in a node cluster in which the nodes are located; and recording the resource change information under the condition that the nodes in the node cluster agree on the resource change information.
An embodiment of the present specification provides a resource change information recording method, which is applied to a node, and includes: issuing a content object introduced for the product object; wherein the content object belongs to a set of content objects; the set of content objects corresponds to an author; receiving an access request of a user for the content object; sending the content object to the user; under the condition that the user accesses a product object introduced by the content object based on the content object, a first resource amount is transferred from a merchant account of a provider of the product object to the creator account, and resource change information is correspondingly formed; broadcasting the resource change information to nodes in a node cluster in which the nodes are located; and recording the resource change information under the condition that the nodes in the node cluster agree on the resource change information.
An embodiment of the present specification provides a behavior data query method, including: receiving a data query request; wherein, the data inquiry request is attached with an inquiry condition; querying the stored behavior data in the blocks of the block chain based on the query request to obtain a result set; wherein, the blocks of the block chain have stored therein: behavior data of a merchant account, behavior data of a creator account, and behavior data of a user account; and sending the behavior data included in the result set to the electronic equipment sending the data query request.
The method provided by the implementation mode of the specification can be used for comprehensively recording behavior data and the like related to the operation process of the system. The resource change information is stored by employing a block chaining technique. Therefore, the allocation and the change of the resources are more transparent and reliable.
Drawings
The accompanying drawings, which are included to provide a further understanding of embodiments of the specification, are incorporated in and constitute a part of this specification, illustrate embodiments of the specification and together with the description serve to explain the principles of the specification. It is obvious that the drawings in the following description are only some embodiments of the present description, and that for a person skilled in the art, other drawings can be derived from them without inventive exercise. In the drawings:
FIG. 1 is a schematic view of a scene interaction of a content service system provided in an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of resource flow provided by embodiments of the present specification;
fig. 3 is a flowchart of a resource change information recording method according to an embodiment of the present disclosure;
fig. 4 is a block diagram of a node provided in an embodiment of the present specification;
fig. 5 is a flowchart of a resource change information recording method according to an embodiment of the present disclosure;
fig. 6 is a block diagram of a node according to an embodiment of the present disclosure;
fig. 7 is a flowchart of a resource change information recording method according to an embodiment of the present disclosure;
fig. 8 is a block diagram of a node provided in an embodiment of the present specification;
FIG. 9 is a flow chart of a behavior data query method provided in an embodiment of the present specification;
fig. 10 is a block diagram of a node according to an embodiment of the present disclosure.
Detailed Description
In order to make the technical solutions in the present specification better understood, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only a part of the embodiments of the present specification, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art without any inventive work based on the embodiments in the present specification shall fall within the protection scope of the present specification.
Please refer to fig. 1 and fig. 2. In one example scenario, a content service system is provided. The user may browse the content object through a client provided by the content service system. The author may author a content object through the content service system and publish the content object. Further, the author may author content objects for products offered by the merchant according to the merchant's offer.
In this scenario example, the content service system may award virtual resources to the user account of the user that meets the specified conditions. Specifically, for example, the resource may be a virtual coin, and the user operates the client to log in the system every day to check in, or read a specified number of content objects, and the like. The platform side of the content service system can transfer certain virtual coins to the user account of the user aiming at the user reward meeting specified conditions. In this way, the user can enjoy the read content object or pay for the content object for which reading is paid by using the virtual coin. Alternatively, the user may use the virtual coin for deduction when purchasing a commodity represented by a product object introduced by the content object.
In this scenario example, the author may independently author content objects to attract the user to read and enjoy. Further, the author may accept the offer of the merchant, author a content object for a specified product of the merchant, and may also receive the resource paid by the merchant via the author account. Furthermore, the author may purchase access traffic using virtual coins from the platform side of the content service system in order to allow the content objects he/she creates to be viewed by more users. The merchant account may purchase virtual coins from the platform side of the content services system, which may in turn be used to pay the author an authoring reward, and further, the merchant may give the user some reward, i.e., some virtual coins, when the user purchases the product represented by the product object. Thus, the purchasing enthusiasm of the user is improved.
In this scenario example, the content services system may record behavioral data for users, authors, and merchants, as well as change data for resources. The content service system may include a node cluster formed of a plurality of nodes. Specifically, for example, a service node for receiving an access request from a user operation client, a content node for receiving an access request from an author operation client, and a merchant node for receiving an access request from a merchant operation client. The plurality of nodes can carry out data communication, and realize the relevant functions of the content service system. Of course, the plurality of nodes in the node cluster may not be explicitly divided, and may all respond to the access request of the user, the author, and the merchant.
In this scenario example, the content node system may employ a blockchain technique to record the behavior data and the change data of the resource. Specifically, when the user operates the client to browse the content object introduced for the automobile, the user clicks the collection button to collect the content object. At this time, the service node may receive a collection request of the user and notify the content node, so that the content node records the object identifier of the content object corresponding to the user account of the user. Furthermore, the service node generates corresponding collection behavior data according to the collection request of the user, wherein the collection behavior data is used for carrying out collection operation on the content object. Behavioral data may include, but is not limited to: behavior data of user's access behavior, behavior data of reward behavior, behavior data of purchase behavior, behavior data of creator's behavior of publishing content object, behavior data of purchase access flow behavior, and behavior data of merchant publishing product object, etc., are not listed.
In this scenario example, the service node may send the collection behavior data to the content node, so that the content node may determine whether there is a user account corresponding to the collection behavior data in the user accounts corresponding to the recorded content objects. When present, the content node may send acknowledgement information to the service node. After receiving the confirmation information, the service node may broadcast the behavior data to the node cluster where the service node is located, so as to record the behavior data after the nodes in the node cluster agree on the behavior data. Consensus algorithms employed between nodes may include, but are not limited to, POW (Proof of work), POS (Proof of stamp), DPOS (left Proof of stamp), or Ripple, among others. In each node, a private chain of block chains may be formed, and a public chain formed in the public storage area. Similarly, changed data for the resource may also be recorded. In this way, by the blockchain technology, behavior data of behaviors of the user such as browsing, collecting, enjoying or purchasing and behavior data of the creator on the release behavior of the content object can be recorded, and a relevant record of commodity sales of the merchant can be recorded.
In the present scenario example, the blockchain technique is used for recording, so that each user can refer to the data information recorded in the content service system, and the transparency of the data is increased.
Please refer to fig. 3. The embodiment of the specification provides a resource change information recording method. The method is applied to the nodes. The resource change information recording method may include the following steps.
Step S10: receiving an access request aiming at a content object sent by a client; wherein the content object belongs to a set of content objects, the set of content objects corresponding to an author account.
In this embodiment, the content object may be a resource capable of expressing meaning content. The content object may include text, pictures, audio, video, or any combination thereof. The author account may be an account of the author. The author may publish the content object, thus making the user accessible through the client. The creator may create the content object and then publish it, or may publish an existing content object.
In this embodiment, the content objects that the author may publish may form a set of content objects. The set of content objects may include at least one content object. Each author may correspond to a set of content objects. So that all content objects published by the author can be in the set of content objects.
Step S12: and sending the content object to the client for the client display.
In this embodiment, the client may present the content object. Specifically, the manner of displaying the content object by the client may include displaying text or pictures of the content object, or playing video or audio of the content object.
Step S14: and allocating resources to the user account of the client based on the access request, and correspondingly forming resource change information.
In this embodiment, the resource may be a virtual coin that circulates in a specified business system. Specifically, for example, a virtual coin circulated in the content service system. A user using a client may have a user account. Resources are allocated to the user account, i.e., the user is allowed to obtain the resources.
In this embodiment, the resource may be allocated to the user account based on the access request, and the content object may be associated with a resource allocation rule. In some embodiments, when the user accesses the content object through the client and reaches a specified condition, the resource is allocated to the resource account of the user, and the resource change information is formed accordingly. The specified condition includes at least one of: the number of the content objects accessed by the user reaches a specified number; or the user performs access action aiming at the product object shown in the content object; or, the user continues to access the content object for a period of time. Therefore, the allocation rule of the resources is more open and transparent and more reasonable by setting the specified conditions.
In this embodiment, the resource change information may be used to record information on resource income and expenditure of the user account. Specifically, for example, the resource change information may include "account: zhang three, virtual coin +10, read article for 3 consecutive days, award virtual coin 10 ".
Step S16: and broadcasting the resource change information to nodes in the node cluster in which the nodes are located.
Step S18: and recording the resource change information under the condition that the nodes in the node cluster agree on the resource change information.
In this embodiment, the node receiving the access request may send the resource change information to the nodes in the node cluster. In this way, the nodes in the node cluster are notified that the resource change occurs in the user account corresponding to the access request, and the resource change information needs to be recorded. The node broadcasts resource change information, which may conform to network communication protocols, and a consensus algorithm. Consensus algorithms employed between nodes may include, but are not limited to, POW (Proof of work), POS (Proof of stamp), DPOS (left Proof of stamp), or Ripple, among others. Certainly, when the node broadcasts the resource change information, the resource change information can be broadcasted after being encrypted by the private key, and the received node is decrypted by the public key, so that the data security is improved.
In this embodiment, the nodes in the node cluster agree on the resource change information, and the nodes in the node cluster can consider that the resource change information is real and can record the resource change information. The node cluster may employ a blockchain storage mechanism to store the resource change information. Private chains can be arranged in each node, and public chains are arranged in the node clusters. Therefore, each node stores the private chain aiming at the resource change information achieving consensus, and when a certain data volume or a certain time length is reached, a certain node uploads the current block of the private chain to the public chain for storage. Of course, only a private chain of each node may be provided, and a public chain may not be provided.
The resource change information recording method according to the present embodiment can realize that a user who accesses a content object is rewarded with a certain resource. And, the resource change information is stored using a block chain technique. Therefore, the allocation and the change of the resources are more transparent and reliable.
Please refer to fig. 4. The embodiment of the specification provides a node. The node may comprise the following modules.
The receiving module is used for receiving an access request aiming at the content object sent by the client; wherein the content object belongs to a set of content objects, the set of content objects corresponding to an author account.
And the sending module is used for sending the content object to the client.
And the allocation module is used for allocating resources to the user account of the client based on the access request and correspondingly forming resource change information.
A broadcasting module, configured to broadcast the resource change information to nodes in a node cluster where the nodes are located.
A recording module, configured to record the resource change information when a node in the node cluster agrees with the resource change information.
In this embodiment, the node may include an electronic device with strong operation processing capability and strong storage capability, which may have a network communication unit, a processor, a memory, and the like. The node may be a distributed node, may be a system with multiple processors, memory, and network communication modules operating in coordination, or may be software running in the electronic device. Of course, the node may also employ cloud computing technology, so as to implement the functions of the node in a cloud computing manner.
The functions and effects of the module implementation of the node provided in this embodiment may refer to the comparison and explanation of other embodiments, and are not described again.
The present specification embodiments provide a computer storage medium having computer program instructions stored therein. The computer program instructions when executed may implement: receiving an access request aiming at a content object sent by a client, wherein the content object belongs to a content object set, and the content object set corresponds to an author account; sending the content object to the client; allocating resources to the user account of the client based on the access request, and correspondingly forming resource change information; broadcasting the resource change information to nodes in a node cluster in which the nodes are located; and recording the resource change information under the condition that the nodes in the node cluster agree on the resource change information.
In this embodiment, the computer storage medium includes, but is not limited to, a Random Access Memory (RAM), a Read-Only Memory (ROM), a Cache (Cache), a Hard Disk Drive (HDD), or a Memory Card (Memory Card).
In this embodiment, specific functions implemented by the computer program instructions in the computer storage medium can be explained with reference to other embodiments.
Please refer to fig. 5. The embodiment of the specification provides a resource change information recording method. The resource change information recording method can be applied to nodes; the method may include the following steps.
Step S20: receiving a resource payment request aiming at a content object sent by a user; wherein the resource payment request is accompanied by a resource amount; wherein the content object belongs to a set of content objects, the set of content objects corresponding to an author account.
Step S22: and based on the resource payment request, transferring the resources represented by the resource amount from the user account of the user to the author account, and correspondingly forming resource change information.
Step S24: and broadcasting the resource change information to nodes in the node cluster in which the nodes are located.
Step S26: and recording the resource change information under the condition that the nodes in the node cluster agree on the resource change information.
In this embodiment, after the user presents the content object through the client, the user can enjoy the content object to reward the creator. The user may operate the client to issue a resource payment request, thus indicating a reward to the author, and specifying a corresponding amount of resources. In this manner, resources may be transferred from the user account to the author account. Thus, the resource change information can be formed correspondingly. Specifically, for example, an account: zhang three, pay 10 resources, Lian four, earn 10 resources.
In the present embodiment, the resource change data created by the user for the viewing behavior of the creator is recorded separately when a plurality of nodes agree. In this way, each node may first store the private chain for the resource change information that achieves the consensus, and when a certain data size or a certain time length is reached, it may be determined that a certain node uploads the current block of the private chain to the public chain for storage. Therefore, the resource change information about the reward is stored by adopting the block chain technology, so that the data is more transparent.
In one embodiment, the transferring the resource represented by the resource amount from the user account of the user to the author account based on the resource payment request may include: determining whether the amount of the resource in the user's resource account is greater than or equal to the amount of the resource attendant to the resource payment request; and when the resource amount in the resource account of the user is larger than or equal to the resource amount attached to the resource payment request, transferring the resource represented by the resource amount from the resource account of the user to the resource account of the author.
In this embodiment, before allocating resources from a user account of a user, it may be determined whether the amount of resources in the user account is sufficient to allocate. If the amount of resources in the user account is less than the amount of resources attendant to the resource payment request. At this time, the resource allocation operation is not performed, so that the program execution error is avoided. If the resource amount in the user account is larger than the resource amount needing to be transferred, the corresponding resource is transferred from the user account to the author account. Therefore, stability in the application execution process is improved.
Please refer to fig. 6. The embodiment of the specification also provides a node, which can comprise the following modules.
The receiving module is used for receiving a resource payment request aiming at the content object sent by a user; wherein the resource payment request is accompanied by a resource amount; wherein the content object belongs to a set of content objects, the set of content objects corresponding to an author account.
And the transfer module is used for transferring the resources represented by the resource amount from the user account of the user to the author account based on the resource payment request, and correspondingly forming resource change information.
A broadcasting module, configured to broadcast the resource change information to nodes in a node cluster where the nodes are located.
A recording module, configured to record the resource change information when a node in the node cluster agrees with the resource change information.
The functions and effects of the module implementation of the node provided in this embodiment may refer to the comparison and explanation of other embodiments, and are not described again.
Embodiments of the present description also provide a computer storage medium storing computer program instructions that, when executed, may implement: receiving a resource payment request sent by a user and aiming at a content object, wherein the resource payment request is accompanied by a resource amount, the content object belongs to a content object set, and the content object set corresponds to an account of a creator; based on the resource payment request, transferring the resource represented by the resource amount from the user account of the user to the author account, and correspondingly forming resource change information; broadcasting the resource change information to nodes in a node cluster in which the nodes are located; and recording the resource change information under the condition that the nodes in the node cluster agree on the resource change information.
In this embodiment, specific functions implemented by the computer program instructions in the computer storage medium can be explained with reference to other embodiments.
Please refer to fig. 7. The embodiment of the specification provides a resource change information recording method. The resource change information recording method may be applied to a node. The resource change information recording method may include the following steps.
Step S30: issuing a content object introduced for the product object; wherein the content object belongs to a set of content objects; the set of content objects corresponds to an author.
In this embodiment, the content objects that the author can author may introduce for the product objects. Therefore, when the user displays the content object through the client, the user can more deeply know the product object. In case that the user has a shopping need, a more suitable product can be purchased by referring to the content object. The product object may be product information for representing a product. After the author completes the authoring of the content object, the content object may be published so that the content object may be accessed by the user using the client.
Step S32: and receiving an access request of a user for the content object.
Step S34: and sending the content object to the user.
Step S36: and under the condition that the user accesses the product object introduced by the content object based on the content object, a first resource amount is transferred from a merchant account of a provider of the product object to the creator account, and resource change information is correspondingly formed.
Step S38: and broadcasting the resource change information to nodes in the node cluster in which the nodes are located.
Step S40: and recording the resource change information under the condition that the nodes in the node cluster agree on the resource change information.
In this embodiment, the user has accessed the details page for the product object via the content object. Such that the introduction of the content object brings access traffic to the product object. At this point, the merchant offering the product object may pay the author certain resources to reward the author for his creation. Specifically, for example, the content object has an access address of the product object, and an access request for the user to access the product object through the access address in the content object is received.
In this embodiment, the differences from the other embodiments are mainly discussed, and the rest can be explained by comparing with the other embodiments, and thus, the description is omitted.
In some embodiments, in a case where the user accesses a product object introduced by the content object based on the content object, a first resource amount is allocated from a resource account of a provider of the product object to a resource account of the creator, and resource change information is accordingly formed, further including: under the condition that an order request of the user for the product object is received, transferring a second resource amount from a merchant account of a provider of the product object to the author account, and correspondingly forming resource change information; wherein the second amount of resources is greater than the first amount of resources.
In this embodiment, after the user knows the product object by the content object, an order is placed for the product object to purchase the product represented by the product object. Therefore, the content object of the creator brings traffic to the product object of the merchant, and enables the user to place an order to purchase the product represented by the product object, thereby bringing sales volume to the merchant. So that the merchant rewards the author. A second amount of resource is transferred from the merchant account of the merchant to the originator account, the second amount of resource being greater than the first amount of resource, such that more rewards are given for the originator of the content object that can facilitate the transaction. Thus, the creator can create more content objects with better content.
Please refer to fig. 8. The embodiment of the specification also provides a node. The node may comprise the following modules.
The release module is used for releasing the content object introduced aiming at the product object; wherein the content object belongs to a set of content objects; the set of content objects corresponds to an author.
And the receiving module is used for receiving an access request of a user for the content object.
And the sending module is used for sending the content object to the user.
And the transfer module is used for transferring a first resource amount from a merchant account of a provider of the product object to the author account under the condition that the user accesses the product object introduced by the content object based on the content object, and correspondingly forming resource change information.
A broadcasting module, configured to broadcast the resource change information to nodes in a node cluster where the nodes are located.
A recording module, configured to record the resource change information when a node in the node cluster agrees with the resource change information.
The functions and effects of the module implementation of the node provided in this embodiment may refer to the comparison and explanation of other embodiments, and are not described again.
Embodiments of the present description also provide a computer storage medium storing computer program instructions that, when executed, may implement: issuing a content object introduced for the product object; wherein the content object belongs to a set of content objects; the set of content objects corresponds to an author; receiving an access request of a user for the content object; sending the content object to the user; under the condition that the user accesses a product object introduced by the content object based on the content object, a first resource amount is transferred from a merchant account of a provider of the product object to the creator account, and resource change information is correspondingly formed; broadcasting the resource change information to nodes in a node cluster in which the nodes are located; and recording the resource change information under the condition that the nodes in the node cluster agree on the resource change information.
In this embodiment, specific functions implemented by the computer program instructions in the computer storage medium can be explained with reference to other embodiments.
Please refer to fig. 9. The implementation mode of the specification also provides a behavior data query method. The behavioral data query method may be applied to a node. The behavior data query method may include the following steps.
Step S50: receiving a data query request; wherein the data query request is accompanied by a query condition.
Step S52: querying the stored behavior data in the blocks of the block chain based on the query request to obtain a result set; wherein, the blocks of the block chain have stored therein: behavior data of a merchant account, behavior data of a creator account, and behavior data of a user account.
Step S54: and sending the behavior data included in the result set to the electronic equipment sending the data query request.
In this embodiment, the behavior data of the content service system accessed by users with different accounts can be recorded. Therefore, users of different accounts can query the behavior data recorded in the content service system. Specifically, for example, the user may query the behavior data of the user of the creator account in the content service system through the client, or the behavior data of the user of the merchant account in the content service system. Similarly, the creator account or the user of the merchant account may also query the behavior data of the user of the other account in the content service system. Therefore, the data recorded in the content service system is very transparent, and a user can look up behavior data corresponding to different accounts of the content service system. Furthermore, the content service system can use the block chain technology to store the behavior data in the content service system, so that the stored behavior data has higher credibility.
In this embodiment, the behavior data corresponding to the merchant account may include: purchasing behavior data of resources, paying behavior data of resources to an author account, and paying behavior data of resources to a user account. Specifically, for example, the resource may be a virtual coin. The merchant may purchase the virtual currency from the platform side of the content services system and may then reserve the content object to the author so that the author's content object may be introduced to the merchant's product object and pay the virtual currency to the author's account. Furthermore, when the user purchases the product introduced by the content object, the merchant may award the user a certain virtual coin, i.e. pay the user a certain virtual coin from the merchant account of the merchant. In this way, promotion of merchandise sales by merchants is achieved.
In this embodiment, the behavior data of the author account may include: content object publishing behavior data, purchasing traffic behavior data, and the like. Specifically, for example, after the author completes the authoring of the content object, the content object may be published in the content service system, and in order to allow more users to browse the content object, the author may purchase traffic from the platform side of the content service system. Thus, the popularization of the content object is facilitated.
In this embodiment, the behavior data of the user may include: behavior data accessed, behavior data reviewed, behavior data collected, and behavior data purchased, etc. Specifically, for example, the user may operate the client to access the content object for display and reading, and may comment to issue a view of the user, which may be considered as a good content object by some users, and the user may enjoy a certain amount of data of the virtual coin. And, the user may collect content objects of interest and purchase products introduced by the content objects.
In this embodiment, the user is not required to set the query condition arbitrarily to query different behavior data stored in the block chain. And the account corresponding to at least part of the behavior data included in the result set is different from the account sending the data query request. Specifically, for example, the user may query behavior data of merchants or creators through the query condition, or query behavior data of other users. Similarly, the author or the merchant can also query the behavior data of different users, merchants and authors through the query condition. Therefore, the behavior data stored by the block chain has better data transparency and is convenient for a user to inquire.
Please refer to fig. 10. The embodiment of the specification provides a node. The node may comprise the following modules.
The receiving module is used for receiving a data query request; wherein the data query request is accompanied by a query condition.
The query module is used for querying the stored behavior data in the blocks of the block chain based on the query request to obtain a result set; wherein, the blocks of the block chain have stored therein: behavior data of a merchant account, behavior data of a creator account, and behavior data of a user account.
And the sending module is used for sending the behavior data included in the result set to the electronic equipment sending the data query request.
The functions and effects of the module implementation of the node provided in this embodiment may refer to the comparison and explanation of other embodiments, and are not described again.
Embodiments of the present description also provide a computer storage medium storing computer program instructions that, when executed, may implement: receiving a data query request; wherein, the data inquiry request is attached with an inquiry condition; querying the stored behavior data in the blocks of the block chain based on the query request to obtain a result set; wherein, the blocks of the block chain have stored therein: behavior data of a merchant account, behavior data of a creator account, and behavior data of a user account; and sending the behavior data included in the result set to the electronic equipment sending the data query request.
In this embodiment, specific functions implemented by the computer program instructions in the computer storage medium can be explained with reference to other embodiments.
In the 90 th generation of 20 th century, it is obvious that improvements in Hardware (for example, improvements in Circuit structures such as diodes, transistors and switches) or software (for improvement in method flow) can be distinguished for a technical improvement, however, as technology develops, many of the improvements in method flow today can be regarded as direct improvements in Hardware Circuit structures, designers almost all obtain corresponding Hardware Circuit structures by Programming the improved method flow into Hardware circuits, and therefore, it cannot be said that an improvement in method flow cannot be realized by Hardware entity modules, for example, Programmable logic devices (Programmable logic devices L organic devices, P L D) (for example, Field Programmable Gate Arrays (FPGAs) are integrated circuits whose logic functions are determined by user Programming of devices), and a digital system is "integrated" on a P L D "by self Programming of designers without requiring many kinds of integrated circuits manufactured and manufactured by dedicated chips, and integrated circuits 2 are written by Hardware programs such as software programs, such as Hardware programs, software programs, Hardware programs, software programs, Hardware programs, software, Hardware programs, software programs, Hardware programs, software, Hardware, software, Hardware, software, Hardware, software, Hardware, software, Hardware, software, Hardware, software, Hardware, software, Hardware, software, Hardware, software, Hardware, software.
Those skilled in the art will also appreciate that, in addition to implementing the clients, nodes in pure computer readable program code, the same functionality can be implemented entirely by logically programming method steps such that the clients, nodes are in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a client, a node may thus be considered as a hardware component, and the means included therein for performing the various functions may also be considered as structures within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
From the above description of the embodiments, it is clear to those skilled in the art that the present application can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present application may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the embodiments or some parts of the embodiments of the present application.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments can be referred to each other, and each embodiment focuses on the differences from the other embodiments.
The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
Although the present application has been described in terms of embodiments, those of ordinary skill in the art will recognize that there are numerous variations and permutations of the present application without departing from the spirit of the application, and it is intended that the appended claims encompass such variations and permutations without departing from the spirit of the application.

Claims (10)

1. A resource change information recording method applied to a node, the method comprising:
receiving an access request aiming at a content object sent by a client; wherein the content object belongs to a set of content objects, the set of content objects corresponding to an author account;
sending the content object to the client;
allocating resources to the user account of the client based on the access request, and correspondingly forming resource change information;
broadcasting the resource change information to nodes in a node cluster in which the nodes are located;
and recording the resource change information under the condition that the nodes in the node cluster agree on the resource change information.
2. The method of claim 1, wherein allocating resources to the resource account of the user based on the access request, and wherein correspondingly forming resource change information, comprises:
and when the user accesses the content object through the client and reaches the specified condition, allocating resources to the resource account of the user, and correspondingly forming resource change information.
3. The method of claim 2, wherein the specified condition comprises at least one of:
the number of the content objects accessed by the user reaches a specified number; alternatively, the first and second electrodes may be,
the user performs access action aiming at the product object shown in the content object; alternatively, the first and second electrodes may be,
the user continues the time of access to the content object.
4. A resource change information recording method is characterized in that the resource change information recording method is applied to a node; the method comprises the following steps:
receiving a resource payment request aiming at a content object sent by a user; wherein the resource payment request is accompanied by a resource amount; wherein the content object belongs to a set of content objects, the set of content objects corresponding to an author account;
based on the resource payment request, transferring the resource represented by the resource amount from the user account of the user to the author account, and correspondingly forming resource change information;
broadcasting the resource change information to nodes in a node cluster in which the nodes are located;
and recording the resource change information under the condition that the nodes in the node cluster agree on the resource change information.
5. The method of claim 4, wherein transferring the resource represented by the resource amount from the resource account of the user to the resource account of the author based on the resource payment request comprises:
determining whether the amount of the resource in the user account of the user is greater than or equal to the amount of the resource attendant to the resource payment request;
and in the case that the resource amount in the user account is greater than or equal to the resource amount attached to the resource payment request, transferring the resource represented by the resource amount from the user account to the author account.
6. A resource change information recording method applied to a node, the method comprising:
issuing a content object introduced for the product object; wherein the content object belongs to a set of content objects; the set of content objects corresponds to an author;
receiving an access request of a user for the content object;
sending the content object to the user;
under the condition that the user accesses a product object introduced by the content object based on the content object, a first resource amount is transferred from a merchant account of a provider of the product object to the creator account, and resource change information is correspondingly formed;
broadcasting the resource change information to nodes in a node cluster in which the nodes are located;
and recording the resource change information under the condition that the nodes in the node cluster agree on the resource change information.
7. The method of claim 6, wherein the user obtains a product object introduced by the content object based on the content object, comprising:
having an access address for the product object in the content object;
and receiving an access request of the user for accessing the product object through the access address in the content object.
8. The method of claim 7, wherein in a case where the user accesses a product object introduced by the content object based on the content object, a first resource amount is allocated from a resource account of a provider of the product object to a resource account of the author, and resource change information is accordingly formed, further comprising:
under the condition that an order request of the user for the product object is received, transferring a second resource amount from a resource account of a provider of the product object to a resource account of the creator, and correspondingly forming resource change information; wherein the second amount of resources is greater than the first amount of resources.
9. A method for querying behavioral data, the method comprising:
receiving a data query request; wherein, the data inquiry request is attached with an inquiry condition;
querying the stored behavior data in the blocks of the block chain based on the query request to obtain a result set; wherein, the blocks of the block chain have stored therein: behavior data of a merchant account, behavior data of a creator account, and behavior data of a user account;
and sending the behavior data included in the result set to the electronic equipment sending the data query request.
10. The method of claim 9, wherein at least some of the behavior data included in the result set corresponds to an account that is different from an account from which the data query request was issued.
CN201910079803.3A 2019-01-28 2019-01-28 Information recording and data query method Active CN111488387B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910079803.3A CN111488387B (en) 2019-01-28 2019-01-28 Information recording and data query method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910079803.3A CN111488387B (en) 2019-01-28 2019-01-28 Information recording and data query method

Publications (2)

Publication Number Publication Date
CN111488387A true CN111488387A (en) 2020-08-04
CN111488387B CN111488387B (en) 2024-03-01

Family

ID=71812312

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910079803.3A Active CN111488387B (en) 2019-01-28 2019-01-28 Information recording and data query method

Country Status (1)

Country Link
CN (1) CN111488387B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103414589A (en) * 2013-08-13 2013-11-27 华为技术有限公司 Method and device for managing resource information
CN103841129A (en) * 2012-11-21 2014-06-04 华为技术有限公司 Cloud computing resource information acquisition server, cloud computing resource information acquisition client and information processing method
WO2015062480A1 (en) * 2013-10-28 2015-05-07 Tencent Technology (Shenzhen) Company Limited Online payment processing method, apparatus and system
CN106897872A (en) * 2016-12-08 2017-06-27 阿里巴巴集团控股有限公司 Resource regulating method and device, method of payment and device
CN107301536A (en) * 2017-06-12 2017-10-27 腾讯科技(深圳)有限公司 Resource transfers method and device
US10019711B1 (en) * 2012-09-12 2018-07-10 Edward Adam Lerner Processing of online payment transactions
CN108365993A (en) * 2018-03-09 2018-08-03 深圳前海微众银行股份有限公司 Block chain link point dynamic altering method, system and computer readable storage medium
CN108776929A (en) * 2018-04-02 2018-11-09 成都云创智融科技有限公司 Bill processing method, system based on block chain database and readable storage medium storing program for executing
CN108989019A (en) * 2018-06-27 2018-12-11 天闻数媒科技(湖南)有限公司 Content resource safety system based on block chain technology
CN109146100A (en) * 2018-07-04 2019-01-04 重庆邮电大学 Open source reserving method based on block chain technology

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10019711B1 (en) * 2012-09-12 2018-07-10 Edward Adam Lerner Processing of online payment transactions
CN103841129A (en) * 2012-11-21 2014-06-04 华为技术有限公司 Cloud computing resource information acquisition server, cloud computing resource information acquisition client and information processing method
CN103414589A (en) * 2013-08-13 2013-11-27 华为技术有限公司 Method and device for managing resource information
WO2015062480A1 (en) * 2013-10-28 2015-05-07 Tencent Technology (Shenzhen) Company Limited Online payment processing method, apparatus and system
CN106897872A (en) * 2016-12-08 2017-06-27 阿里巴巴集团控股有限公司 Resource regulating method and device, method of payment and device
CN107301536A (en) * 2017-06-12 2017-10-27 腾讯科技(深圳)有限公司 Resource transfers method and device
CN108365993A (en) * 2018-03-09 2018-08-03 深圳前海微众银行股份有限公司 Block chain link point dynamic altering method, system and computer readable storage medium
CN108776929A (en) * 2018-04-02 2018-11-09 成都云创智融科技有限公司 Bill processing method, system based on block chain database and readable storage medium storing program for executing
CN108989019A (en) * 2018-06-27 2018-12-11 天闻数媒科技(湖南)有限公司 Content resource safety system based on block chain technology
CN109146100A (en) * 2018-07-04 2019-01-04 重庆邮电大学 Open source reserving method based on block chain technology

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
李彬;张洁;祁兵;李德智;石坤;崔高颖;: "区块链:需求侧资源参与电网互动的支撑技术", 电力建设, no. 03, 1 March 2017 (2017-03-01) *
毕娅;周贝;冷凯君;王存法;: "基于双链架构的医药商业资源公有区块链", 计算机科学, no. 02, 15 February 2018 (2018-02-15) *

Also Published As

Publication number Publication date
CN111488387B (en) 2024-03-01

Similar Documents

Publication Publication Date Title
Zhang et al. A design of digital rights management mechanism based on blockchain technology
US10748205B2 (en) Method, system, and graphic user interface for enabling a customer to access an artist profile and associated media file
US7930347B2 (en) Responsible peer-to-peer (P2P) digital content distribution
US8560840B2 (en) Method and system for authenticating a widget
CN110971652A (en) Block chain based digital data exchange
US9311647B2 (en) Method and system for providing a widget usable in financial transactions
CN103443781A (en) Data delivery
JP2009500700A (en) Collaborative video through distributed storage and blogs
CN104487964A (en) Methods and apparatus to monitor media presentations
US9367861B2 (en) Timer-based ad placement in content retrieval applications
CN112492533B (en) 5G rich media message pushing method and device based on block chain technology
CN102792309A (en) End user license agreement on demand
WO2023028462A1 (en) Systems and methods for reporting token interactions
US20080288371A1 (en) Internet based method and process for facilitating the presentation, sale, purchase, development and management of creative ideas concepts and content
US20240062169A1 (en) Nonfungible token path synthesis with social sharing
WO2022269989A1 (en) Information processing device, information processing method, and program
US20150074268A1 (en) Mediacard systems and methods
CN111488387A (en) Information recording and data inquiry method
CN105531708A (en) System and method for discovery moment monetization of media
KR20170007159A (en) Central server and method for trading personal data
KR102540478B1 (en) Method for minting collection non-transferable token corresponding to digital content and collection minting server for using same
KR20220020372A (en) Systems and methods for providing authenticity, integrity and non-repudiation to advertising technology
US20230259981A1 (en) Smart contract system and method for managing digital user engagement
KR20170027327A (en) Method for Exchanging Data Except for Communication Load
CN107770157B (en) Method and equipment for managing resources of live broadcast platform

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
GR01 Patent grant
GR01 Patent grant