CN110599306A - Commodity recommendation method, transaction record storage method and device and computer equipment - Google Patents

Commodity recommendation method, transaction record storage method and device and computer equipment Download PDF

Info

Publication number
CN110599306A
CN110599306A CN201910872463.XA CN201910872463A CN110599306A CN 110599306 A CN110599306 A CN 110599306A CN 201910872463 A CN201910872463 A CN 201910872463A CN 110599306 A CN110599306 A CN 110599306A
Authority
CN
China
Prior art keywords
target
transaction
score
transaction record
commodity
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
CN201910872463.XA
Other languages
Chinese (zh)
Other versions
CN110599306B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910872463.XA priority Critical patent/CN110599306B/en
Priority to CN201911268474.3A priority patent/CN111047318B/en
Publication of CN110599306A publication Critical patent/CN110599306A/en
Application granted granted Critical
Publication of CN110599306B publication Critical patent/CN110599306B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0631Item recommendations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/389Keeping log of transactions for guaranteeing non-repudiation of a transaction
    • 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/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0623Item investigation
    • G06Q30/0625Directed, with specific intent or strategy
    • G06Q30/0627Directed, with specific intent or strategy using item specifications

Abstract

The application discloses a commodity recommendation method, a transaction record storage method and device and computer equipment, and belongs to the technical field of network live broadcast. The method comprises the steps of obtaining a target score of a target commodity through a transaction record stored in a blockchain system, and recommending the target commodity to audience users based on the target score. Because the transaction records stored on the blockchain are not easy to change and have traceable records, the transaction records stored on the blockchain are effective transaction records, and therefore the commodity scores obtained based on the effective transaction records are real and effective.

Description

Commodity recommendation method, transaction record storage method and device and computer equipment
Technical Field
The present application relates to the field of network technologies, and in particular, to a method and an apparatus for recommending a commodity, a method and an apparatus for storing a transaction record, a computer device, and a computer-readable storage medium.
Background
With the development of the live webcasting technology, more and more people concern about live webcasting, some live webcasting rooms can recommend commodities to users through live webcasting, specifically, live webcasting clients can display the live webcasting rooms, scores obtained according to historical sales of the commodities and user evaluation can be displayed in the live webcasting rooms, and live webcasting users can recommend the commodities to audience users watching the live webcasting according to the scores.
However, since the historical sales of the goods and the user evaluation may be false, the scores obtained from the displayed historical sales of the goods and the user evaluation may lack authenticity.
Disclosure of Invention
The embodiment of the application provides a commodity recommendation method, a transaction record storage method, a device, computer equipment and a computer readable storage medium, and can solve the problem that the grading of commodities is lack of authenticity in the commodity recommendation process. The technical scheme is as follows:
in one aspect, a method for recommending goods is provided, the method comprising:
in the network live broadcast process, a transaction record acquisition request is sent to any node device in a blockchain system, wherein the transaction record acquisition request is used for indicating to acquire a transaction record of a target commodity stored in the blockchain system;
receiving one or more transaction records of the target commodity;
obtaining a target score of the target commodity based on the one or more transaction records, wherein the target score is used for indicating the satisfaction degree of the user who purchased the target commodity on the target commodity;
and recommending the target commodity to the audience user watching the network live broadcast based on the target score.
In another aspect, a transaction record storage method is provided, which is applied to a node device in a blockchain system, and the method includes:
receiving a transaction record storage request, wherein the transaction record storage request carries a transaction record of the target commodity and a signature of at least one witness node device;
when the number of the at least one witness node device is larger than the target number, target transaction data are generated based on the transaction records carried by the transaction record storage request, and the transaction records are carried by the target transaction data;
storing the target transaction data on a blockchain of the blockchain system.
In another aspect, there is provided an article recommendation apparatus, the apparatus including:
the system comprises a sending module, a receiving module and a processing module, wherein the sending module is used for sending a transaction record obtaining request to any node device in a blockchain system in the network live broadcast process, and the transaction record obtaining request is used for indicating to obtain a transaction record of a target commodity stored in the blockchain system;
the receiving module is used for receiving one or more transaction records of the target commodity;
the acquisition module is used for acquiring a target score of the target commodity based on the one or more transaction records, wherein the target score is used for indicating the satisfaction degree of a user who has purchased the target commodity on the target commodity;
and recommending the target commodity to the audience user watching the network live broadcast based on the target score.
In another aspect, a transaction record storage device is provided, which is applied to a blockchain system, and comprises:
the receiving module is used for receiving a transaction record storage request, wherein the transaction record storage request carries a transaction record of the target commodity and a signature of at least one witness node device;
the generation module is used for generating target transaction data based on the transaction record carried by the transaction record storage request when the number of the at least one witness node device is larger than the target number, wherein the target transaction data carries the transaction record;
a storage module to store the target transaction data on a blockchain of the blockchain system.
In another aspect, a computer device is provided that includes one or more processors and one or more memories having at least one instruction stored therein, the instruction being loaded and executed by the one or more processors to implement the operations performed by any of the methods described above.
In another aspect, a computer-readable storage medium is provided, in which at least one instruction is stored, the instruction being loaded and executed by a processor to implement the operations performed by any of the above methods.
The technical scheme provided by the embodiment of the application has the following beneficial effects:
and acquiring a target score of the target commodity through the transaction records stored in the blockchain based on the blockchain system, and recommending the target commodity to the audience user based on the target score. Because the transaction records stored on the blockchain are not easy to change and have traceable records, the transaction records stored on the blockchain are effective transaction records, and therefore the commodity scores obtained based on the effective transaction records are real and effective.
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 diagram of a product recommendation system provided in an embodiment of the present application;
FIG. 2 is a flow chart of a transaction record storage method provided by an embodiment of the present application;
FIG. 3 is a flow chart of a transaction record storage method provided by an embodiment of the present application;
fig. 4 is a flowchart of a commodity recommendation method according to an embodiment of the present application;
fig. 5 is a schematic view of a live broadcast room interface provided in an embodiment of the present application;
fig. 6 is a schematic diagram of a live broadcast room interface provided in an embodiment of the present application;
FIG. 7 is a diagram illustrating a merchandise recommendation process according to an embodiment of the present application;
FIG. 8 is a diagram of a live broadcast room interface provided by an embodiment of the present application;
FIG. 9 is a diagram illustrating a merchandise recommendation process according to an embodiment of the present application;
FIG. 10 is a schematic structural diagram of a computer device according to an embodiment of the present disclosure;
fig. 11 is a schematic structural diagram of a commodity recommending device according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of a transaction record storage device according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of a product recommendation system according to an embodiment of the present application. Referring to fig. 1, the scoring commodity recommendation system 100 includes a client 101, a transaction server 102, a blockchain system 103, and a live server 104.
The client 101 may include at least one of a live broadcast client 11 and a commodity trading platform 12, where the live broadcast client 11 is used for performing live broadcast, and the commodity trading platform 12 is used for displaying various commodities, selling various commodities, and performing commodity trading. The live broadcast client 11 and the commodity transaction platform 12 may be installed in one user device, or may be installed in different user devices, where the user devices may be a mobile phone, a notebook computer, and the like, and the user devices are not specifically limited in this embodiment of the present application. It should be noted that, in some embodiments, the commodity transaction platform 12 may also implement the function of the live client 11.
The transaction server 102 is used to provide a vending service for the commodity transaction platform 12, so that consumers can transact commodities with the transaction server 102 through the commodity transaction platform 12. It should be noted that the transaction server 102 and the commodity transaction platform 12 may belong to the same company, or may belong to different companies, and the transaction server 102 and the commodity transaction platform 12 are not specifically limited in this embodiment.
The blockchain system 103 is used for storing transaction records of sold commodities, and the blockchain system 103 comprises a plurality of node devices 31 and one or more storage node devices 32. Wherein the storage node device is not shown in fig. 1. The plurality of node devices 31 may refer to respective clients in the blockchain system 103, and each node device 31 may generate target transaction data based on the transaction record uploaded by the transaction server, and broadcast the generated target transaction data among the plurality of node devices 31, so that the target transaction data may be stored on a blockchain (blockchain) commonly maintained by the plurality of node devices 31. Any node device in the node devices 31 may generate transaction data, or may receive transaction data broadcast by other node devices, package the generated transaction data and the received transaction data into a block, and broadcast the block in the node devices 31, and after the block is commonly identified and passed by the node devices 31, each node device 31 may store the block in a local block chain, so that the node devices maintain one block chain. One or more storage nodes 32 are used to store a copy of the transaction record in the target transaction data on the blockchain, and any node device 31 may store the copy of the transaction record in the target transaction data in the storage node device 32 before generating the target transaction data, so as to provide a basis for the transaction record in the target transaction data on the blockchain.
The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism and an encryption algorithm. The blockchain is essentially a decentralized database, which is a string of data blocks associated by using cryptography, each data block contains information of a batch of network transactions, and the information is used for verifying the validity (anti-counterfeiting) of the information and generating the next block. The blockchain may include a blockchain underlying platform, a platform product services layer, and an application services layer.
The block chain underlying platform can comprise processing modules such as user management, basic service, intelligent contract and operation monitoring. The user management module is responsible for identity information management of all blockchain participants, and comprises public and private key generation maintenance (account management), key management, user real identity and blockchain address corresponding relation maintenance (authority management) and the like, and under the authorization condition, the user management module supervises and audits the transaction condition of certain real identities and provides rule configuration (wind control audit) of risk control; the basic service module is deployed on all block chain node equipment and used for verifying the validity of the service request, recording the service request to storage after consensus on the valid request is completed, for a new service request, the basic service firstly performs interface adaptation analysis and authentication processing (interface adaptation), then encrypts service information (consensus management) through a consensus algorithm, transmits the service information to a shared account (network communication) completely and consistently after encryption, and performs recording and storage; the intelligent contract module is responsible for registering and issuing contracts, triggering the contracts and executing the contracts, developers can define contract logics through a certain programming language, issue the contract logics to a block chain (contract registration), call keys or other event triggering and executing according to the logics of contract clauses, complete the contract logics and simultaneously provide the function of upgrading and canceling the contracts; the operation monitoring module is mainly responsible for deployment, configuration modification, contract setting, cloud adaptation in the product release process and visual output of real-time states in product operation, such as: alarm, monitoring network conditions, monitoring node equipment health status, and the like.
The platform product service layer provides basic capability and an implementation framework of typical application, and developers can complete block chain implementation of business logic based on the basic capability and the characteristics of the superposed business. The application service layer provides the application service based on the block chain scheme for the business participants to use.
The live broadcast server 104 is configured to provide live broadcast data for the live broadcast client 11, where the live broadcast data is used to display a live webcast room and live webcast in the live webcast room at the live broadcast client 11, the live broadcast server 104 is further configured to obtain a transaction record of a recommended commodity from the blockchain system 104, generate a score according to the transaction record of the recommended commodity, send the generated score to the live broadcast client 11 in the form of live broadcast data, determine a recommendation level according to the received score by the live broadcast client 11, and display the score of the recommended commodity and a recommendation suggestion corresponding to the recommendation level in the live webcast room, so that a live broadcast user in the live webcast room recommends commodities for an audience user.
In order to make the score finally obtained by the live broadcast server 105 be true and valid, it is necessary to ensure that the transaction record stored in the blockchain system is true and valid, that is, the transaction record uploaded to the blockchain system by the transaction server 104 must be true and valid, and in order to make each transaction record stored in the blockchain system be true and valid, the node device in the blockchain system 103 may first verify the transaction record uploaded by the live broadcast server, and after the verification is passed, generate target transaction data carrying the verified transaction record, and store the target transaction data in the blockchain. To further illustrate this process, refer to a flowchart of a transaction record storage method provided in the embodiment of the present application shown in fig. 2, where the flow of the method specifically includes the following steps 201 and 205.
201. And the transaction server sends a witness request to witness node equipment in the blockchain system, wherein the witness request carries a transaction record of the target commodity and a sale identifier corresponding to the transaction record.
The witness node device is any node device in the blockchain system, the trading server is any trading server in at least one trading server in the commodity recommendation system, and the target commodity is any commodity traded by the trading server. After the transaction server completes the transaction of any commodity under the target commodity, the transaction server may obtain the sale identifier of the any commodity and the transaction record corresponding to the sale identifier from the commodity transaction platform that transacts the any commodity.
The selling identifier is used for uniquely indicating that any commodity is sold, the selling identifiers of the sold commodities under the category of the target commodity are different, the selling identifiers can comprise at least one of a commodity identifier and a selling receipt of the commodity, the commodity identifier can be a two-dimensional code of the commodity, a production source of the commodity and a product serial number of the commodity are stored in the two-dimensional code of the commodity, and the two-dimensional code of the commodity is used for proving that the commodity is not a counterfeit commodity. The sales slip may include a transaction amount, such as an invoice, for any of the items.
A transaction record may include at least one of a price, an amount of sales, and a user rating of the target good in a transaction. For example, in one transaction, the price of the target product is 40 dollars, the sales volume is 2, and the user is rated as "good, worth owning".
After the selling identification of any commodity under the target commodity and the transaction record corresponding to the selling identification are obtained, the transaction server sends a witness request to any node device in the block chain system, so that the transaction record can be verified by any node device.
It should be noted that the transaction record may further include a sale identifier, so that the transaction record corresponds to the sale identifier.
202. The witness node device receives a witness request.
203. The witness node device queries whether the block chain stores target transaction data corresponding to the sold identifier.
The target transaction data is transaction data used for storing transaction records on the blockchain. The node device may query each block in the block chain, and when the sale identifier carried by any target transaction data in any block is consistent with the sale identifier in the witness request, any target transaction data is the target transaction data corresponding to the sale identifier in the witness request.
204. And when the block chain does not store the target transaction data corresponding to the sold identifier, the witness node equipment stores the transaction record in at least one storage node equipment and outputs the signature of the node equipment, otherwise, the witness request is not responded.
The signature of the node device may be a signature of the witness request by the witness node device using its own private key, and after the node device outputs its own signature to the transaction server, it indicates that the witness node device can make an authenticity certificate for the transaction record.
For some order-brushing commodities used for brushing orders, although the transaction records of the order-brushing commodities may exist, since the merchant does not actually sell the order-brushing commodities, the selling identifications corresponding to the transaction records of the order-brushing commodities do not exist. When the target transaction data carries the sale identifier corresponding to the transaction record, the transaction record is the transaction record of the real transaction instead of the transaction record for billing.
When the block chain does not store the target transaction data corresponding to the sale identifier, it indicates that the commodity indicated by the sale identifier is sold for the first time, and the transaction record corresponding to the sale identifier is the transaction record of the real transaction, and the node device can prove that the transaction record is the real transaction record. When the block chain stores the target transaction data corresponding to the sale identification, the commodity indicated by the sale identification is sold for the second time, and the transaction record sold for the second time may be subjected to form brushing, so that the witness node device does not prove the transaction record sold for the second time, and the witness node device does not respond to the witness request sent by the transaction server.
When the node device is certifying the transaction record, the node device may store the transaction record in at least one storage node device for later review in order to provide evidence.
Wherein the process of the node device storing the transaction record in at least one storage node device may be implemented by the process shown in steps 41-42 below.
And step 41, the witness node device segments the transaction record to obtain a price segment, a sales volume segment and a user evaluation segment, wherein the price segment comprises the price in the transaction record, the sales volume segment comprises the sales volume in the transaction record, and the user evaluation segment comprises the user evaluation in the transaction record.
The node device can analyze the transaction record to obtain the price, the sales volume and the user evaluation in the transaction record, the obtained price is formed into price fragments, the obtained sales volume is formed into price fragments, the obtained user evaluation is formed into user evaluation fragments, and therefore the node device can obtain the price fragments, the sales volume fragments and the user evaluation fragments. The embodiment of the present application does not specifically limit the ways of composing the price shards, the sales shards and the user evaluation shards.
And 42, storing the price fragments, the sales volume fragments and the user evaluation fragments in at least one storage node device by the witness node device according to a preset storage algorithm.
The preset algorithm may be a hash algorithm, the witness node device maps the storage space on the at least one storage node device into an annular storage space, each storage space is uniformly distributed on the annular storage space, and each storage space corresponds to a storage address on one storage node device and corresponds to a hash value.
The witness node device may perform hash calculation on the price segment based on a hash algorithm to obtain a first hash value, perform hash calculation on the sales segment to obtain a second hash value, and perform hash calculation on the user evaluation to obtain a third hash value; the witness node equipment determines a first storage address corresponding to a first hash value, a second storage address corresponding to a second hash value and a third storage address corresponding to a third hash value from the annular storage space; the witness node device stores the price fragment in a storage space indicated by a first storage address, stores the sales fragment in a storage space indicated by a second storage address, and stores the user evaluation fragment in a storage space indicated by a third storage address, so that the witness node device can store the price fragment, the sales fragment and the user evaluation fragment in at least one storage node device.
After the witness node device stores the transaction record on at least one storage node device, the witness node device can also store the sale identifier and the storage address of the transaction record in an associated manner, so that specific content of the transaction record can be quickly and accurately found out based on the association relationship between the sale identifier and the storage address of the transaction record during subsequent checking.
The witness node device may store the sale identifier and the storage address of the transaction record in an association table to implement association storage, for example, the association table shown in table 1, a price fragment in the transaction record corresponding to the sale identifier 1 is stored in a storage space indicated by a storage address x in the storage node device 1, a sales volume fragment is stored in a storage space indicated by a storage address y in the storage node device 2, and a user evaluates a storage space indicated by a storage address z in the fragment stored in a storage node device N, where the storage node device N is an nth storage node device in the at least one storage node device, and N is a positive integer.
TABLE 1
When goods indicated by the sold identifier are returned, the node device may further delete information related to the sold identifier of the returned goods in the association table, and delete the transaction record of the returned goods stored in the storage node device.
In some embodiments, when the witness node device verifies the transaction record in the witness request, it may also first search the association table, when the association table stores the selling identifier carried in the witness request, it may directly perform this step 204, and when the association table does not store the selling identifier carried in the witness request, the witness node device verifies the transaction record in the witness request by searching the target transaction data on the blockchain.
It should be noted that, after receiving the witness request, the witness node device may broadcast the witness request in the blockchain system, so that the node device that receives the witness request may all execute the process shown in step 202 and step 204, so that more node devices may serve as witness node devices for the transaction record, and after any witness node device executes step 204, the transaction server may all receive the signature output by any witness node device.
205. The transaction server receives the signature output by the witness node device.
According to the method provided by the embodiment of the application, the witness node equipment can ensure that the verified transaction record is a real and effective transaction record by verifying the transaction record in the witness request. And storing the transaction record in at least one storage node device may provide a proof of authenticity for the validated transaction record.
After the signature of the witness node device is obtained, the transaction record is true and valid, the transaction server can store the transaction record on a block chain of a block chain system, and the transaction data stored on the block chain is public and transparent and cannot be tampered, so that all the transaction records stored on the block chain are true and valid transaction records. For further explaining the process of storing transaction records on the blockchain, refer to a flowchart of a transaction record storage method provided by the embodiment of the present application shown in fig. 3, the method is applied to a node device in a blockchain system, and the flow of the method includes the following steps 301 and 308.
301. The transaction server sends a transaction record storage request to any node device in the blockchain system, wherein the transaction record storage request carries a transaction record of the target commodity and the signature of at least one witness node device.
After receiving a signature returned by at least one witness node device based on a witness request carrying the transaction record, the transaction server may obtain the signature of at least one witness node device, so that the node device may compose the transaction record and the signature of at least one witness node device into a transaction record storage request, and send the transaction record storage request to any node device. Of course, the transaction record storage request may also carry a sale identifier corresponding to the transaction record, so as to indicate which commodity transaction record under the target commodity is the transaction record.
302. The node device receives a transaction record storage request.
303. And when the number of the at least one witness node device is larger than the target number, the node device generates target transaction data based on the transaction records carried by the transaction record storage request, wherein the target transaction data carries the transaction records.
When the number of the at least one witness node device is greater than the target number, it is indicated that the witness node device with the at least target number can prove that the transaction record is a real and effective transaction record, and then the node device can generate the target transaction data carrying the transaction record according to a transaction data generation rule in the blockchain system, wherein the transaction data generation rule and the form of the target transaction data are not specifically limited in the embodiment of the present application.
It should be noted that, when the transaction record storage request carries a sale identifier corresponding to the transaction record, the target transaction data may also carry the sale identifier so as to correspond to the transaction record in the target transaction data.
304. The node device broadcasts the target transaction data in a blockchain system.
305. The target node device receives the target transaction data.
The target node device may be any node device of the blockchain system other than the node device, or may be the node device. The target transaction data received by the target node device may be broadcast by the node device, or may be received target transaction data broadcast by another node device in the blockchain system after the target transaction data broadcast by the node device is received by the other node device.
306. The target node equipment generates a target block based on the target transaction data, and the target block carries the target transaction data.
The node device can receive or generate other transaction data besides the target transaction data, and the node device can pack the received target transaction data and the received or generated other transaction data into a block to obtain a target block. The process of generating the target block is not specifically limited in the embodiments of the present application.
The target chunk may include a chunk header and a chunk body, wherein the chunk header may include a chunk hash and a parent hash, wherein the parent hash is the chunk hash of the last chunk on the current blockchain within the blockchain system. The block may include all transaction data within the target block.
307. The target node apparatus broadcasts the target block in a block chain system.
The target node device may broadcast the target block so that other node devices than the target node device can receive the target block.
308. When the target block passes through the block chain system, the node device in the block chain system stores the target block on the block chain.
After any node equipment receives the target block, verifying the target block; when the target block passes the verification, the target block is added to a block chain configured by the node equipment, and the target block is broadcasted in a block chain system, so that other node equipment can verify and store the target block; when a plurality of node devices in the blockchain system verify the target block and store the target block, the node devices in the blockchain system agree on the target block, that is, the target block agrees with the target block in the blockchain system, and all the node devices in the blockchain system store the block to a local blockchain in the blockchain system as a last block in the local blockchain.
When the target block meets the following 2 verification conditions, namely verification is passed, the target block can be added to the block chain of the node equipment configuration, otherwise, verification is not passed, and the target block cannot be added to the block chain of the node equipment configuration.
The 2 validation conditions were:
1. the block height of the target block is 1 greater than the height of the last block in the local blockchain.
2. The head hash of the target block is equal to the block hash of the last block in the local blockchain.
When all node devices in the blockchain system store the target block on the local blockchain, the target transaction data is stored on the blockchain of the blockchain system, and therefore, the process shown in 304-308 is also a process of storing the target transaction data on the blockchain of the blockchain system.
After the transaction records of each sold commodity under the target commodity are stored in the blockchain, all the transaction records of the target commodity are stored in the blockchain, and the transaction records stored in the blockchain are real and effective transaction records, so that the target commodity is scored based on the transaction records on the blockchain, namely real scoring, so that the target commodity recommended to the audience user based on the real scoring is credible, and the credibility of the recommended commodity can be improved. For further explanation of the process of recommending commodities based on the transaction records on the blockchain, refer to the flowchart of a commodity recommendation method provided in the embodiment of the present application shown in fig. 4, where the flowchart of the method includes the following steps 401 and 409.
401. In the network live broadcast process, a client sends a score obtaining request to a live broadcast server, wherein the score obtaining request is used for indicating to obtain the score of a recommended target commodity.
The client can display a live broadcast room interface and display a live broadcast video which is live broadcast in the live broadcast room interface, wherein the live broadcast video can be a commodity recommendation video, the live broadcast room interface can comprise a live broadcast area, a discussion area and a commodity recommendation area, the live broadcast area is used for displaying live broadcast users, and the live broadcast users are also live broadcast users in the live broadcast room; the discussion area is used for displaying the interaction among users in the live broadcast process, and the users can comprise live broadcast users and audience users watching the live broadcast; the commodity recommendation area is used for displaying relevant information of commodities to be recommended or recommended, and the relevant information of the commodities can include commodity pictures, commodity names and commodity prices. The commodity recommendation area may be in the form of a bubble or a pop-up window, and when a live broadcast user introduces a certain commodity, the commodity recommendation area may pop up and display on a live broadcast interface and display on an upper layer of another area, so that an audience user can view related information of the commodity in the live broadcast interface, for example, a schematic view of the live broadcast interface provided in the embodiment of the present application shown in fig. 5 is shown, a live broadcast user a who is live broadcasting is displayed in the live broadcast area in the live broadcast interface in fig. 5, interactive information performed by an audience user B and an audience user C is displayed in a comment area, and a price of a commodity D currently recommended by the live broadcast user a are displayed in the commodity recommendation area in the form of a bubble.
Various commodities can be displayed in the commodity recommendation area, the commodities are recommended by live users in live broadcast, the commodities can be displayed in a sequencing mode according to a preset sequence, the preset sequence can be the recommendation sequence of the live users or the order of the scores of the commodities, and the preset sequence is not specifically limited in the embodiment of the application. For example, in the live broadcast room interface diagram provided in the embodiment of the present application shown in fig. 6, three items, namely, an item a (score 9.7), an item B (score 9.5), and an item C (score 6.8), are displayed in the item recommendation area in the order of the scores.
The score obtaining request can be triggered by the operation of the audience user, and when the client detects that the audience user clicks the commodity recommending area or clicks the target commodity displayed in the commodity recommending area, the client is triggered to send the score obtaining request to the live broadcast server. For example, in fig. 7, after an anchor (live broadcast user) starts live broadcast in a live broadcast room, the anchor starts to introduce recommended commodities, when the anchor introduces a target commodity, a commodity recommendation area in an interface of the live broadcast room displays related information of the target commodity, a viewer user clicks the commodity recommendation area to check details of the target commodity, and when a click operation of the viewer user is detected, a client requests rating data of the target commodity from a live broadcast server.
When the audience user wants to buy a certain recommended commodity, the user can double click the certain recommended commodity displayed in the commodity recommending area, and when the client detects that the audience user double clicks the certain recommended commodity, the client directly jumps to a selling page of the certain recommended commodity, so that the audience user can buy the certain recommended commodity on the selling page, wherein the selling page is a page provided by the commodity trading platform and used for selling the certain recommended commodity.
402. And the live broadcast server receives a grading acquisition request.
403. And the live broadcast server sends a transaction record acquisition request to any node device in the blockchain system based on the grading acquisition request, wherein the transaction record acquisition request is used for indicating to acquire a transaction record of the target commodity stored in the blockchain system.
After the live broadcast server obtains the request based on the score, in order to obtain the current score of the target product, the live broadcast server may execute step 403, so that any node device receives the transaction record obtaining request. For example, in fig. 7, when receiving that the client (live client) sends (live server) the score data of the commodity to the background, the background is linked to obtain the transaction record stored in the block chain, that is, the process shown in step 403 and step 407.
In some embodiments, when the latest score of the target product is stored in the live server, the live server may recommend the target product to the viewer user viewing the live webcast directly based on the latest score of the target product, that is, directly perform the process shown in the following step 408 and step 410, otherwise, the live server may perform this step 403.
404. The node device receives a transaction record acquisition request.
405. The node device queries the target transaction data on the blockchain of the blockchain system to obtain one or more pieces of target transaction data.
When the node device queries the target transaction data on the blockchain for the first time, or when the node device does not store the query result when querying the target transaction data on the blockchain each time, the node device may sequentially traverse the transaction data in each blockchain according to a sequence from front to back or from back to front, and when any transaction data in any blockchain carries the transaction record of the target commodity, the node device may use the any transaction data as a piece of target transaction data. When the node device has finished querying the transaction data in all blocks of the block chain, one or more pieces of target transaction data can be obtained.
When the node device stores the query result each time the node device queries the target transaction data on the blockchain, the node device may start querying the target transaction data from a next block of the first target block until a last block on the current blockchain is queried, where the first target block is a last block on the blockchain of the time zone where the node device queries the target transaction data last time. Therefore, the node equipment can take the stored target transaction data inquired last time and the target transaction data inquired this time as the inquiry result of this time and store the inquiry result.
It should be noted that, in some embodiments, the node device may not perform this step 405 when receiving the transaction record obtaining request, but periodically query the target transaction data stored in the blockchain system, and perform the following step 406 after each query is finished. The query period for querying the target transaction data is not particularly limited in the embodiments of the present application.
406. The node device sends one or more transaction records of the target commodity to the live broadcast server based on the one or more pieces of target transaction data.
The node equipment can acquire the transaction record of the target commodity carried by each piece of target transaction data from each piece of inquired target transaction data, and send all the acquired transaction records of the target commodity to the live broadcast server, so that the live broadcast server can receive all the transaction records of the target commodity.
407. The live broadcast server receives one or more transaction records of the target commodity.
408. The live broadcast server obtains a target score of the target commodity based on one or more transaction records, wherein the target score is used for indicating the satisfaction degree of a user who purchases the target commodity on the target commodity.
Because the transaction record of the target commodity comprises at least one of price, sales volume and user evaluation, the live broadcast server can obtain a target score based on the price in the transaction record, can also obtain the target score based on the sales volume in the transaction record, can also obtain the target score based on the user evaluation in the transaction record, can also obtain the price, the sales volume and the user evaluation of the target commodity for independent scoring first, and then synthesizes the results of the independent scoring to obtain the target score. This step 408 may be implemented by any of the steps shown in steps 81-84 described below.
And step 81, the live broadcast server determines a first score according to the price of the target commodity in one or more transaction records, and the first score is used as a target score.
The first score is used for indicating the acceptance degree of the user who purchases the target commodity on the price of the target commodity, and the live broadcast server can acquire one or more prices of the target commodity from one or more transaction records and acquire the first score according to the acquired one or more prices.
In a possible implementation manner, the live broadcast server subtracts the lowest price from the highest price in the prices of one or more target commodities and adds 1 to the lowest price to obtain the total number of the prices of the target commodities, averagely divides the target scoring interval into first sub-scoring intervals of first target numbers, wherein the first target numbers are equal to the total number of the prices of the target commodities, each first sub-scoring interval corresponds to one price in the prices of one or more target commodities, the live broadcast server takes the middle score in each first sub-scoring interval as the score of the price corresponding to each scoring interval, so that the score of each price can be obtained, and finally, the scores of one or more prices are averaged to obtain the first score.
For example, if the price of the target item acquired by the live server includes 4-and 5-dollars, the total number of prices of the target item is 5-4+1 ═ 2, and if the target scoring interval is [0,10], the live server divides the target scoring interval into a first scoring subinterval 1[0,5] and a first scoring subinterval 2[6,10], where the first scoring subinterval 1 corresponds to a price of 4-dollars, the first scoring subinterval 2 corresponds to a price of 5-dollars, the price of 4-dollars is 2.5 points, and the price of 5-dollars is 7.5, and the first scoring is (2.5+7.5)/2 ═ 5 points.
It should be noted that, in the embodiment of the present application, the target scoring interval is not specifically limited.
And step 82, the live broadcast server determines a second score according to the sales volume of the target commodity in one or more transaction records, and the second score is used as a target score.
And the live broadcast server counts the sales of the target commodity in one or more transaction records to obtain the total sales of the target commodity, and then obtains a second score according to the total sales.
In a possible implementation manner, the live broadcast server equally divides the target scoring interval into second sub-scoring intervals with a second target number, each second sub-scoring interval corresponds to one sales volume interval, and the larger the maximum score in the second sub-scoring intervals is, the larger the maximum sales volume value of the corresponding sales volume interval is; and the live broadcast server takes the maximum score in a second sub-score interval corresponding to the sales interval in which the total sales of the target commodity are located as a second score.
For example, the target scoring interval [0,10] includes a second sub-scoring interval 1-10, where the second sub-scoring interval i is [ i-1, i ], the sales interval corresponding to the second sub-scoring interval i is [ (i-1) × 100,100 × i ], and if the total sales of the target product is 100, in the sales interval [0,100], the second score is 1.
And step 83, the live broadcast server determines a third score according to the user evaluation of the target commodity in one or more transaction records, and the third score is used as a target score.
The live broadcast server may obtain all user ratings in one or more transaction records, and then obtain the third score based on all user ratings.
In a possible implementation manner, for any user evaluation, when the user evaluation includes a forward evaluation keyword, the live broadcast server counts the number of the forward evaluation keyword to obtain a first number, and increases the first number on the basis of the first target score to obtain a fourth score of any user evaluation; when the user evaluation comprises the keywords with negative evaluation, the live broadcast server counts the number of the keywords with negative evaluation to obtain a second number, and the second number is added on the basis of the second target score to obtain a fourth score of any user evaluation; the live broadcast server carries out weighted summation on the fourth score and the total word number of the user evaluation to obtain the score of any user evaluation, wherein the score of any user evaluation is in a target scoring interval; and the live broadcast server averages all user evaluations of the target commodity to obtain a third score. It should be noted that, the first target score may be a maximum score in a target scoring interval, and the second target score may be a minimum score in the target scoring interval, and the first target score and the second target score are not specifically limited in this embodiment of the application.
And 84, the live broadcast server averages the first score, the second score and the third score to obtain a target score.
The process shown in this step 84 is a process of obtaining the target score based on the first score, the second score and the third score, before executing this step 84, the live server may first obtain the first score according to step 81, obtain the second score according to step 82 and obtain the third score according to step 83, and then execute this step 84 based on the obtained first score, the obtained second score and the obtained third score.
409. And the live broadcast server recommends the target commodity to the audience user watching the network live broadcast based on the target score.
The live broadcast server can distribute the target scores to the client side, and the client side recommends the target commodities to audience users watching the network live broadcast based on the target scores. In one possible implementation manner, the live broadcast server sends the target score to a client of the audience user, and the client displays recommendation information corresponding to the target score based on the target score, wherein the recommendation information is used for recommending the target commodity to the audience user. The recommendation information comprises at least one item of target score, recommendation level corresponding to the target score, recommendation opinion corresponding to the recommendation level and score credit information, and the score credit information is used for indicating the credibility degree of the target score.
It should be noted that the recommendation level and the recommendation suggestion corresponding to the recommendation level in the recommendation information may be determined by the live broadcast server based on the target score, or may be determined by the client based on the target score sent by the live broadcast server, and when the recommendation level and the recommendation suggestion corresponding to the recommendation level are determined by the live broadcast server, the live broadcast server sends the determined recommendation level and the recommendation information corresponding to the recommendation level to the client, so that the client may receive and display the recommendation level and the recommendation suggestion corresponding to the recommendation level.
For convenience of description, the live broadcast server and the client are collectively referred to as target devices, and a target scoring interval is stored in the target device, where the target scoring interval may be composed of at least one third sub-scoring interval, each third sub-scoring interval corresponds to a recommendation level and a recommendation opinion, the recommendation level is used to indicate recommendation strength, and the recommendation level corresponding to the scoring higher evaluation interval is higher, and the recommendation strength is higher, for example, the target scoring interval includes a third sub-scoring interval 1[0,6], a third sub-scoring interval 2(6,8] and a third sub-scoring interval 3(8,10], where the recommendation level S corresponding to the third sub-scoring interval 1[0,6] is a recommendation level S corresponding to the recommendation level S, and the recommendation level SS corresponding to the third sub-scoring interval 2(6, 8) is a recommendation level SS corresponding to the recommendation level SS, the recommendation level SSS corresponding to the third sub-score interval 3(8, 10) is considered as recommendation, and the representation manner of the third sub-score interval and the recommendation level is not determined in the embodiment of the present application.
After the target device obtains the target score, a third sub-score interval where the target score is located can be determined through the stored target score interval, then the recommendation grade corresponding to the third sub-score interval is determined as the recommendation grade corresponding to the target score, namely the recommendation grade of the target commodity, and the process is the process of determining the recommendation grade corresponding to the target score based on the target score.
The client can display the recommendation information of the target commodity in the commodity recommendation area in the live webcast room interface, so that the live webcast user can recommend the target commodity for the live webcast user based on the recommendation information of the target commodity displayed in the live webcast room interface.
Specifically, the client may display the score of each commodity and the recommendation opinion corresponding to the recommendation level at the display area of each commodity in the commodity recommendation area, for example, the score of the commodity a shown in fig. 6 is 9.7 points, and the recommendation opinion corresponding to the recommendation level is the recommendation initiation.
The process shown in this step 409 is also a process of calculating the score of the vertical and horizontal comprehensive sales volume, price and evaluation in fig. 7, and returning the comprehensive score (target score) of the commodity to the client, where the client displays the purchase opinion (recommendation opinion) according to the set gear (recommendation level), and the user determines whether to purchase the commodity.
In order to reflect the real and effective scoring of the target commodity and the scoring mechanism of the target commodity, the live broadcast server can generate scoring information and send the generated scoring information to the client so that the client can receive and display the scoring information. The scoring credit information comprises a scoring source, a scoring decision factor and a corresponding relation between a scoring interval and the recommendation opinion, the scoring source can be used for indicating a storage mode of the transaction record and obtaining a score according to the historical transaction record, and the scoring decision factor can comprise at least one of price, sales volume and user evaluation. The correspondence between the scoring interval and the recommendation level may be a correspondence between the third sub-scoring interval and the recommendation level, or a correspondence between the third sub-scoring interval and the recommendation opinion corresponding to the recommendation level.
The client may set a score credit information shortcut button in a commodity recommendation area of the webcast interface, and the user may click the score credit information shortcut button to view specific content of the score credit information, for example, a button corresponding to a score source in fig. 6 is also a score credit information shortcut button, and when the client detects that the user clicks the score credit information shortcut button, the client may display the specific content of the score credit information on the webcast interface. For example, as shown in fig. 8, in an exemplary view of a webcast interface provided by the embodiment of the present application, specific content of the scoring credit information in fig. 8 includes a scoring component (i.e., a scoring decision factor), a scoring source, and a scoring level (i.e., a corresponding relationship between a scoring interval and a recommendation level), where the scoring component includes: this score is composed of three major components: sales, price, and user ratings; the content of the scoring sources is: the scoring is based on a block chain technology and obtained by integrating past transaction data of the commodity; the contents of the grading level are as follows: the score is 8-10 points, the recommended starting point, the score is 6-8 points, the purchase is worth, and the score is 0-6 points, and the consideration is given.
The method provided by the embodiment of the application obtains the target score of the target commodity based on the transaction record stored in the block chain system, and recommends the target commodity to the audience user based on the target score. Because the transaction records stored in the blockchain are not easy to change and can be found, the transaction records stored in the blockchain are effective transaction records, and the scores of the commodities obtained based on the effective transaction records are real and effective, so that the target commodities recommended to the audience users based on the real scores are credible, and the credibility of the recommended commodities can be improved.
Further illustrating the processes shown in fig. 2-4, refer to fig. 9 for a schematic diagram of a merchandise recommendation process provided by the embodiment of the present application, where the recommendation process includes the following steps 901-904.
901. For any commodity, after the production equipment produces the commodity, the two-dimensional code of the commodity is added on the cover of the commodity.
902. And after the transaction server sells the commodity, the transaction server acquires a transaction record corresponding to the two-dimensional code of the commodity and uploads the transaction record to the block chain system.
903. The node equipment in the blockchain system stores the transaction record on the blockchain and performs distributed storage on specific contents in the transaction record;
in particular each time the particular content within the transaction record is stored within at least one storage node device, for example the storage node device of the a-subscriber.
904. And the live broadcast server acquires the scores of the commodities based on the transaction records of the commodities in any commodity category stored in the blockchain system, and displays the scores and recommendation opinions of the commodities on the client side so as to facilitate the purchase of the user.
The server and the node device in this application may be computing devices, referring to fig. 10, fig. 10 is a schematic structural diagram of a computer device provided in this application embodiment, and the computer device 1000 may generate a relatively large difference due to different configurations or performances, and may include one or more CPUs (processors) 1001 and one or more memories 1002, where the memory 202 stores at least one instruction, and the at least one instruction is loaded and executed by the processor 1001 to implement the methods provided by the above-mentioned method embodiments. Certainly, the computer device 1000 may further have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input and output, and the computer device 1000 may further include other components for implementing device functions, which are not described herein again.
In an exemplary embodiment, a computer-readable storage medium, such as a memory, is also provided that includes instructions executable by a processor in a terminal to perform the methods of the embodiments described above. For example, the computer-readable storage medium may be a ROM (read-only memory), a RAM (random access memory), a CD-ROM (compact disc read-only memory), a magnetic tape, a floppy disk, an optical data storage device, and the like.
Fig. 11 is a schematic structural diagram of a product recommendation device according to an embodiment of the present application, where the device includes:
a sending module 1101, configured to send a transaction record obtaining request to any node device in a blockchain system in a live webcasting process, where the transaction record obtaining request is used to instruct to obtain a transaction record of a target commodity stored in the blockchain system;
a receiving module 1102, configured to receive one or more transaction records of the target product;
an obtaining module 1103, configured to obtain a target score of the target product based on the one or more transaction records, where the target score is used to indicate a degree of satisfaction of a user who purchased the target product with the target product;
and the recommending module 1104 is used for recommending the target commodity to the audience user who watches the network live broadcast based on the target score.
Optionally, the one transaction record includes at least one of a price, a sales volume, and a user rating of the target good in one transaction.
Optionally, the obtaining module 1103 includes at least one of a first determining sub-module, a second determining sub-module, a third determining sub-module, and an averaging sub-module;
the first determining submodule is used for determining a first score according to the price of the target commodity in the one or more transaction records, and the first score is used as the target score;
the second determining submodule is used for determining a second score according to the sales volume of the target commodity in the one or more transaction records, and the second score is used as the target score;
the third determining submodule is used for determining a third score according to the user evaluation of the target commodity in the one or more transaction records, and the third score is used as the target score;
the average submodule is used for averaging the first score, the second score and the third score to obtain the target score.
Optionally, the recommending module 1104 is configured to send the target score to a client of the audience user, and display, by the client, recommendation information corresponding to the target score based on the target score, where the recommendation information is used to recommend the target product to the audience user.
Optionally, the recommendation information includes at least one of the target score, a recommendation level corresponding to the target score, a recommendation opinion corresponding to the recommendation level, and score credit information indicating a trustworthiness of the target score.
Fig. 12 is a schematic structural diagram of a transaction record storage device according to an embodiment of the present application, applied to a blockchain system, the device including:
a receiving module 1201, configured to receive a transaction record storage request, where the transaction record storage request carries a transaction record of the target product and a signature of at least one witness node device;
a generating module 1202, configured to generate target transaction data based on the transaction record carried by the transaction record storage request when the number of the at least one witness node device is greater than a target number, where the target transaction data carries the transaction record;
a storage module 1203, configured to store the target transaction data on a blockchain of the blockchain system.
Optionally, the apparatus further comprises: the system comprises a query module and a sending module;
the receiving module is further configured to receive a transaction record obtaining request, where the transaction record obtaining request is used to instruct to obtain a transaction record of a target commodity stored in the blockchain system;
the query module is used for querying the target transaction data on the block chain of the block chain system to obtain one or more pieces of target transaction data;
and the sending module is used for sending one or more transaction records of the target commodity to a live broadcast server based on the one or more target transaction data.
Optionally, the receiving module is further configured to receive a witness request, where the witness request carries a transaction record of the target product and a sale identifier corresponding to the transaction record;
the query module is further configured to query whether the block chain stores target transaction data corresponding to the sold identifier;
the sending module is further configured to store the transaction record in at least one storage node device when the block chain does not store the target transaction data corresponding to the sold identifier, and output the signature, otherwise, the witness request is not responded.
Optionally, the one transaction record includes a price, a sales volume, and a user rating of the target item in one transaction.
All the above optional technical solutions may be combined arbitrarily to form the optional embodiments of the present disclosure, and are not described herein again.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (15)

1. A method for recommending an article, the method comprising:
in the network live broadcast process, a transaction record acquisition request is sent to any node device in a blockchain system, wherein the transaction record acquisition request is used for indicating to acquire a transaction record of a target commodity stored in the blockchain system;
receiving one or more transaction records of the target commodity;
obtaining a target score of the target commodity based on the one or more transaction records, wherein the target score is used for indicating the satisfaction degree of the user who purchased the target commodity on the target commodity;
and recommending the target commodity to the audience user watching the network live broadcast based on the target score.
2. The method of claim 1, wherein the one transaction record includes at least one of a price, an amount sold, and a user rating of the target good in one transaction.
3. The method of claim 2, wherein obtaining a target score for the target good based on the one or more transaction records comprises at least one of:
determining a first score according to the price of the target commodity in the one or more transaction records, and taking the first score as the target score;
determining a second score according to the sales volume of the target commodity in the one or more transaction records, and taking the second score as the target score;
determining a third score according to the user evaluation of the target commodity in the one or more transaction records, and taking the third score as the target score;
and averaging the first score, the second score and the third score to obtain the target score.
4. The method of claim 1, wherein recommending the target item to a viewer user viewing the webcast based on the target rating comprises:
and sending the target score to a client of the audience user, and displaying recommendation information corresponding to the target score by the client based on the target score, wherein the recommendation information is used for recommending the target commodity to the audience user.
5. The method of claim 4, wherein the recommendation information comprises at least one of the goal score, a recommendation level corresponding to the goal score, a recommendation opinion corresponding to the recommendation level, and scoring credit information indicating a level of trustworthiness of the goal score.
6. A transaction record storage method applied to a node device in a blockchain system, the method comprising:
receiving a transaction record storage request, wherein the transaction record storage request carries a transaction record of the target commodity and a signature of at least one witness node device;
when the number of the at least one witness node device is larger than the target number, target transaction data are generated based on the transaction records carried by the transaction record storage request, and the transaction records are carried by the target transaction data;
storing the target transaction data on a blockchain of the blockchain system.
7. The method of claim 6, wherein after storing the target transaction data on a blockchain of the blockchain system, the method further comprises:
receiving a transaction record acquisition request, wherein the transaction record acquisition request is used for indicating to acquire the transaction record of the target commodity stored in the blockchain system;
inquiring the target transaction data on a block chain of the block chain system to obtain one or more pieces of target transaction data;
and sending one or more transaction records of the target commodity to a live broadcast server based on the one or more target transaction data.
8. The method of claim 7, wherein prior to receiving the transaction record storage request, the method further comprises:
receiving a witness request, wherein the witness request carries a transaction record of the target commodity and a sale identifier corresponding to the transaction record;
inquiring whether the block chain stores target transaction data corresponding to the sold identification;
and when the target transaction data corresponding to the sold identifier is not stored in the block chain, storing the transaction record in at least one storage node device, and outputting the signature, otherwise, not responding to the witness request.
9. The method of claim 8, wherein storing the transaction record at least one storage node device comprises:
slicing the transaction record to obtain a price slice, a sales volume slice and a user evaluation slice, wherein the price slice comprises the price in the transaction record, the sales volume slice comprises the sales volume in the transaction record, and the user evaluation slice comprises the user evaluation in the transaction record;
and storing the price fragments, the sales volume fragments and the user evaluation fragments in the at least one storage node device according to a preset storage algorithm.
10. The method of any of claims 6-9, wherein the one transaction record includes a price, a sales volume, and a user rating of the target item in one transaction.
11. An article recommendation device, the device comprising:
the system comprises a sending module, a receiving module and a processing module, wherein the sending module is used for sending a transaction record obtaining request to any node device in a blockchain system in the network live broadcast process, and the transaction record obtaining request is used for indicating to obtain a transaction record of a target commodity stored in the blockchain system;
the receiving module is used for receiving one or more transaction records of the target commodity;
the acquisition module is used for acquiring a target score of the target commodity based on the one or more transaction records, wherein the target score is used for indicating the satisfaction degree of a user who has purchased the target commodity on the target commodity;
and the recommending module is used for recommending the target commodity to the audience user watching the network live broadcast based on the target score.
12. The apparatus of claim 11, wherein the one transaction record comprises at least one of a price, an amount sold, and a user rating of the target item in one transaction.
13. A transaction record storage device, applied to a blockchain system, the device comprising:
the receiving module is used for receiving a transaction record storage request, wherein the transaction record storage request carries a transaction record of the target commodity and a signature of at least one witness node device;
the generation module is used for generating target transaction data based on the transaction record carried by the transaction record storage request when the number of the at least one witness node device is larger than the target number, wherein the target transaction data carries the transaction record;
a storage module to store the target transaction data on a blockchain of the blockchain system.
14. A computer device comprising one or more processors and one or more memories having stored therein at least one instruction that is loaded and executed by the one or more processors to perform an operation performed by the method of any one of claims 1 to 10.
15. A computer-readable storage medium having stored therein at least one instruction which is loaded and executed by a processor to perform operations performed by a method according to any one of claims 1 to 10.
CN201910872463.XA 2019-09-16 2019-09-16 Commodity recommendation method, transaction record storage method and device and computer equipment Active CN110599306B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910872463.XA CN110599306B (en) 2019-09-16 2019-09-16 Commodity recommendation method, transaction record storage method and device and computer equipment
CN201911268474.3A CN111047318B (en) 2019-09-16 2019-09-16 Transaction record storage method and device and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910872463.XA CN110599306B (en) 2019-09-16 2019-09-16 Commodity recommendation method, transaction record storage method and device and computer equipment

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN201911268474.3A Division CN111047318B (en) 2019-09-16 2019-09-16 Transaction record storage method and device and computer equipment

Publications (2)

Publication Number Publication Date
CN110599306A true CN110599306A (en) 2019-12-20
CN110599306B CN110599306B (en) 2021-10-15

Family

ID=68859868

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201911268474.3A Active CN111047318B (en) 2019-09-16 2019-09-16 Transaction record storage method and device and computer equipment
CN201910872463.XA Active CN110599306B (en) 2019-09-16 2019-09-16 Commodity recommendation method, transaction record storage method and device and computer equipment

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201911268474.3A Active CN111047318B (en) 2019-09-16 2019-09-16 Transaction record storage method and device and computer equipment

Country Status (1)

Country Link
CN (2) CN111047318B (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111080322A (en) * 2019-12-24 2020-04-28 上海擎感智能科技有限公司 Product evaluation management method, system and server
CN111784462A (en) * 2020-06-30 2020-10-16 北京海益同展信息科技有限公司 Transaction processing method, client, processing terminal and system based on block chain
CN111815372A (en) * 2020-09-01 2020-10-23 腾讯科技(深圳)有限公司 Live broadcast processing method and device based on block chain, electronic equipment and storage medium
CN111918075A (en) * 2020-07-15 2020-11-10 腾讯科技(深圳)有限公司 Display object related information output method, device, medium and electronic equipment
CN112055226A (en) * 2020-08-14 2020-12-08 河南天眸网络科技有限公司 Live broadcast room recommendation method and device based on sales data quantiles and computer equipment
CN112070524A (en) * 2020-07-24 2020-12-11 广州阿凡提电子科技有限公司 Advertisement service recommendation method and device
CN112417039A (en) * 2020-11-12 2021-02-26 北京五八信息技术有限公司 Information processing method and device
CN112750016A (en) * 2021-01-26 2021-05-04 拉扎斯网络科技(上海)有限公司 Information display method and device and electronic equipment
CN112905898A (en) * 2021-03-31 2021-06-04 北京达佳互联信息技术有限公司 Information recommendation method and device and electronic equipment
CN113259773A (en) * 2021-05-25 2021-08-13 北京达佳互联信息技术有限公司 Live broadcast data processing method and device, terminal, server and readable storage medium
CN113271471A (en) * 2020-02-14 2021-08-17 阿里巴巴集团控股有限公司 Information display method, equipment and system
CN113393290A (en) * 2021-06-01 2021-09-14 北京达佳互联信息技术有限公司 Live broadcast data processing method and device, computer equipment and medium
CN113506154A (en) * 2021-07-16 2021-10-15 杭州时趣信息技术有限公司 Commodity recommendation method and system, electronic equipment and related components
CN113763072A (en) * 2020-07-01 2021-12-07 北京京东振世信息技术有限公司 Method and apparatus for analyzing information
CN116308655A (en) * 2023-03-17 2023-06-23 北京未来链技术有限公司 Intelligent community commodity big data intelligent bill spelling and settlement system based on blockchain

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112148790A (en) * 2020-09-07 2020-12-29 西安纸贵互联网科技有限公司 Digital space directory chain and block chain platform
CN115002104A (en) * 2021-02-20 2022-09-02 花瓣云科技有限公司 Data transaction method, equipment and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108462889A (en) * 2017-02-17 2018-08-28 阿里巴巴集团控股有限公司 Information recommendation method during live streaming and device
CN108491377A (en) * 2018-03-06 2018-09-04 中国计量大学 A kind of electric business product comprehensive score method based on multi-dimension information fusion
CN108510375A (en) * 2018-04-20 2018-09-07 重庆凯务电子商务有限公司 Online commodity shopping analysis system
CN109146645A (en) * 2018-09-05 2019-01-04 深圳正品创想科技有限公司 Method of Commodity Recommendation, block chain node and system based on block chain
CN109391480A (en) * 2018-10-19 2019-02-26 微梦创科网络科技(中国)有限公司 A kind of date storage method, device and electronic equipment
CN109727039A (en) * 2019-01-16 2019-05-07 深圳信链区块链有限公司 Transaction Information recording method and device, node, storage medium
US20190279240A1 (en) * 2018-03-12 2019-09-12 Joseph DiTomaso Web content generation and storage via blockchain

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11651359B2 (en) * 2016-10-05 2023-05-16 The Toronto-Dominion Bank Distributed electronic ledger with metadata
CN109615096B (en) * 2018-12-20 2021-02-19 王春峰 Recyclable article tracing method based on block chain

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108462889A (en) * 2017-02-17 2018-08-28 阿里巴巴集团控股有限公司 Information recommendation method during live streaming and device
CN108491377A (en) * 2018-03-06 2018-09-04 中国计量大学 A kind of electric business product comprehensive score method based on multi-dimension information fusion
US20190279240A1 (en) * 2018-03-12 2019-09-12 Joseph DiTomaso Web content generation and storage via blockchain
CN108510375A (en) * 2018-04-20 2018-09-07 重庆凯务电子商务有限公司 Online commodity shopping analysis system
CN109146645A (en) * 2018-09-05 2019-01-04 深圳正品创想科技有限公司 Method of Commodity Recommendation, block chain node and system based on block chain
CN109391480A (en) * 2018-10-19 2019-02-26 微梦创科网络科技(中国)有限公司 A kind of date storage method, device and electronic equipment
CN109727039A (en) * 2019-01-16 2019-05-07 深圳信链区块链有限公司 Transaction Information recording method and device, node, storage medium

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111080322A (en) * 2019-12-24 2020-04-28 上海擎感智能科技有限公司 Product evaluation management method, system and server
CN113271471A (en) * 2020-02-14 2021-08-17 阿里巴巴集团控股有限公司 Information display method, equipment and system
CN111784462A (en) * 2020-06-30 2020-10-16 北京海益同展信息科技有限公司 Transaction processing method, client, processing terminal and system based on block chain
CN111784462B (en) * 2020-06-30 2024-03-05 京东科技信息技术有限公司 Transaction processing method, client, processing terminal and system based on blockchain
CN113763072B (en) * 2020-07-01 2023-09-22 北京京东振世信息技术有限公司 Method and device for analyzing information
CN113763072A (en) * 2020-07-01 2021-12-07 北京京东振世信息技术有限公司 Method and apparatus for analyzing information
CN111918075A (en) * 2020-07-15 2020-11-10 腾讯科技(深圳)有限公司 Display object related information output method, device, medium and electronic equipment
CN111918075B (en) * 2020-07-15 2021-12-07 腾讯科技(深圳)有限公司 Display object related information output method, device, medium and electronic equipment
CN112070524A (en) * 2020-07-24 2020-12-11 广州阿凡提电子科技有限公司 Advertisement service recommendation method and device
CN112070524B (en) * 2020-07-24 2024-02-13 广州阿凡提电子科技有限公司 Advertisement service recommendation method and device
CN112055226A (en) * 2020-08-14 2020-12-08 河南天眸网络科技有限公司 Live broadcast room recommendation method and device based on sales data quantiles and computer equipment
CN111815372B (en) * 2020-09-01 2021-01-15 腾讯科技(深圳)有限公司 Live broadcast processing method and device based on block chain, electronic equipment and storage medium
CN111815372A (en) * 2020-09-01 2020-10-23 腾讯科技(深圳)有限公司 Live broadcast processing method and device based on block chain, electronic equipment and storage medium
CN112417039A (en) * 2020-11-12 2021-02-26 北京五八信息技术有限公司 Information processing method and device
CN112750016A (en) * 2021-01-26 2021-05-04 拉扎斯网络科技(上海)有限公司 Information display method and device and electronic equipment
CN112905898A (en) * 2021-03-31 2021-06-04 北京达佳互联信息技术有限公司 Information recommendation method and device and electronic equipment
CN112905898B (en) * 2021-03-31 2024-03-15 北京达佳互联信息技术有限公司 Information recommendation method and device and electronic equipment
CN113259773A (en) * 2021-05-25 2021-08-13 北京达佳互联信息技术有限公司 Live broadcast data processing method and device, terminal, server and readable storage medium
CN113259773B (en) * 2021-05-25 2022-06-03 北京达佳互联信息技术有限公司 Live broadcast data processing method and device, terminal, server and readable storage medium
CN113393290A (en) * 2021-06-01 2021-09-14 北京达佳互联信息技术有限公司 Live broadcast data processing method and device, computer equipment and medium
CN113506154A (en) * 2021-07-16 2021-10-15 杭州时趣信息技术有限公司 Commodity recommendation method and system, electronic equipment and related components
CN116308655B (en) * 2023-03-17 2023-09-15 北京未来链技术有限公司 Intelligent community commodity big data intelligent bill spelling and settlement system based on blockchain
CN116308655A (en) * 2023-03-17 2023-06-23 北京未来链技术有限公司 Intelligent community commodity big data intelligent bill spelling and settlement system based on blockchain

Also Published As

Publication number Publication date
CN110599306B (en) 2021-10-15
CN111047318B (en) 2021-01-19
CN111047318A (en) 2020-04-21

Similar Documents

Publication Publication Date Title
CN110599306B (en) Commodity recommendation method, transaction record storage method and device and computer equipment
US11238403B2 (en) Distributed ledger certification
CN108805656B (en) Supply and demand matching method, platform, system and computer readable storage medium
CN108701325B (en) Self-adjusting transaction system and method therefor
WO2018222797A1 (en) Systems and methods for product review management with distributed database
TWI389046B (en) Trusted third party clearing house for lead tracking
CN112712420B (en) Green certificate transaction system based on block chain
CN111325581B (en) Data processing method and device, electronic equipment and computer readable storage medium
US20200320056A1 (en) Systems and methods for a reputation-based consensus protocol
WO2019236925A1 (en) Systems and methods for enforcing advertising standards and digital advertisement measurements
CN111488616A (en) Method and device for realizing preplan machine of service data block chain
US20150269591A1 (en) Online auctions with collectible authenticity insurance systems and methods
CA3077824A1 (en) Systems and methods for data distillation
CN112613948A (en) Commodity push management method based on strict selection strategy
CN116743768B (en) Method, apparatus, device and computer readable storage medium for trading computing power resources
CN112905898B (en) Information recommendation method and device and electronic equipment
CN117240605B (en) Data transaction method, device, equipment and storage medium
CN115147197A (en) Intelligent bid inviting management system
CN110807684B (en) Block chain technology-based sales document storage method, device, server and medium
KR20150126465A (en) Knowledge information dealing system through on-line
CN109388527B (en) Method for confirming operation validity, data processing method, device and equipment
CN112615933A (en) Block chain-based target object transaction control method and device
WO2020145964A1 (en) Secure transactions
CA3024718C (en) Data exchange processing method, terminal, and system
CA3024716C (en) Data exchange processing method, terminal, and system

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