CN111047318A - Transaction record storage method and device and computer equipment - Google Patents
Transaction record storage method and device and computer equipment Download PDFInfo
- Publication number
- CN111047318A CN111047318A CN201911268474.3A CN201911268474A CN111047318A CN 111047318 A CN111047318 A CN 111047318A CN 201911268474 A CN201911268474 A CN 201911268474A CN 111047318 A CN111047318 A CN 111047318A
- Authority
- CN
- China
- Prior art keywords
- target
- transaction record
- transaction
- node device
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0631—Item recommendations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/389—Keeping log of transactions for guaranteeing non-repudiation of a transaction
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0623—Item investigation
- G06Q30/0625—Directed, with specific intent or strategy
- G06Q30/0627—Directed, with specific intent or strategy using item specifications
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The application discloses a transaction record storage method and device and computer equipment, and belongs to the technical field of network live broadcast. According to the method, whether target transaction data corresponding to a selling identifier is stored on a block chain of a block chain system is inquired based on a witness request, when the target transaction data corresponding to the selling identifier is not stored on the block chain, node equipment stores a transaction record in at least one storage node equipment and outputs a signature of the node equipment, otherwise, the witness request is not responded, and therefore the node equipment does an authenticity proof for the transaction record in the witness request through outputting the signature to indicate that the transaction record is the transaction record of real transaction.
Description
The application is a divisional application with the application date of 2019, 09 and 16, and the application number of 201910872463.X, and the invention name of 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 transaction record storage method, an apparatus, 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.
Disclosure of Invention
The embodiment of the application provides a transaction record storage method and device, computer equipment and a computer readable storage medium. The technical scheme is as follows:
in one 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 witness request, wherein the witness request carries a transaction record of a target commodity and a sale identifier corresponding to the transaction record;
inquiring whether target transaction data corresponding to the sold identification is stored on a block chain of the block chain system;
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 of the node device, otherwise, not responding to the witness request.
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 witness request, and the witness request carries a transaction record of a target commodity and a sale identifier corresponding to the transaction record;
the query module is used for querying whether the block chain stores target transaction data corresponding to the sold identifier;
and the sending module is used for storing the transaction record in at least one storage node device when the target transaction data corresponding to the sold identifier is not stored in the block chain, and outputting the signature of the device, otherwise, the witness request is not responded.
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:
the node device verifies the authenticity of the transaction record in the witness request through the output signature, so that the transaction record is the transaction record of the real transaction. .
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 transaction record storage method applied to a node device in a blockchain system, the method comprising:
receiving a witness request, wherein the witness request carries a transaction record of a target commodity and a sale identifier corresponding to the transaction record;
inquiring whether target transaction data corresponding to the sold identification is stored on a block chain of the block chain system;
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 of the node device, otherwise, not responding to the witness request.
2. The method of claim 1, 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.
3. The method of claim 1, wherein storing the transaction record at least one storage node device, after outputting a signature of the node device, the method comprises:
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, generating target transaction data based on the transaction record carried by the transaction record storage request, wherein the transaction record is carried by the target transaction data;
storing the target transaction data on a blockchain of the blockchain system.
4. The method of claim 3, 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.
5. The method of any one of claims 1-4, wherein the one transaction record includes a price, a sales volume, and a user rating of the target item in one transaction.
6. The method of claim 1, wherein the sale identifier comprises at least one of an item identifier of any item under the target item category and a sale receipt of the any item.
7. The method of claim 1, wherein the querying whether target transaction data corresponding to the sale identifier is stored on a blockchain of the blockchain system comprises:
and inquiring each block on the block chain, wherein when the selling identification carried by any target transaction data in any block is consistent with the selling identification in the witness request, the any target transaction data is the target transaction data corresponding to the selling identification in the witness request.
8. The method of claim 1, wherein the signature of the node device is a signature of a private key of the node device on the witness request.
9. A transaction record storage device, applied to a blockchain system, the device comprising:
the receiving module is used for receiving a witness request, and the witness request carries a transaction record of a target commodity and a sale identifier corresponding to the transaction record;
the query module is used for querying whether the block chain stores target transaction data corresponding to the sold identifier;
and the sending module is used for storing the transaction record in at least one storage node device when the target transaction data corresponding to the sold identifier is not stored in the block chain, and outputting the signature of the device, otherwise, the witness request is not responded.
10. The apparatus of claim 9, wherein the apparatus is further configured to:
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.
11. The apparatus of claim 9, further comprising a generation module and a storage module;
the receiving module is further configured to receive a transaction record storage request, where 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 the 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 transaction record is carried by the target transaction data;
the storage module is used for storing the target transaction data on a blockchain of the blockchain system.
12. The apparatus according to claim 11, wherein 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 further configured to query the target transaction data on a blockchain of the blockchain system to obtain one or more pieces of target transaction data;
the sending module is further configured to send one or more transaction records of the target commodity to a live broadcast server based on the one or more target transaction data.
13. The apparatus of any one of claims 9-12, wherein said one transaction record comprises a price, a sales volume, and a user rating of said target item in one transaction.
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 8.
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 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911268474.3A CN111047318B (en) | 2019-09-16 | 2019-09-16 | Transaction record storage method and device and computer equipment |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911268474.3A CN111047318B (en) | 2019-09-16 | 2019-09-16 | Transaction record storage method and device and computer equipment |
CN201910872463.XA CN110599306B (en) | 2019-09-16 | 2019-09-16 | Commodity recommendation method, transaction record storage method and device and computer equipment |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910872463.XA Division CN110599306B (en) | 2019-09-16 | 2019-09-16 | Commodity recommendation method, transaction record storage method and device and computer equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111047318A true CN111047318A (en) | 2020-04-21 |
CN111047318B CN111047318B (en) | 2021-01-19 |
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 After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910872463.XA Active CN110599306B (en) | 2019-09-16 | 2019-09-16 | Commodity recommendation method, transaction record storage method and device and computer equipment |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN111047318B (en) |
Cited By (2)
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 |
Families Citing this family (17)
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 |
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 |
CN111918075B (en) * | 2020-07-15 | 2021-12-07 | 腾讯科技(深圳)有限公司 | Display object related information output method, device, medium and electronic equipment |
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 |
CN111985997A (en) * | 2020-08-19 | 2020-11-24 | 济南浪潮高新科技投资发展有限公司 | Intelligent off-line retail commodity recommendation method and tool based on block chain technology |
CN111815372B (en) * | 2020-09-01 | 2021-01-15 | 腾讯科技(深圳)有限公司 | 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 |
CN112905898B (en) * | 2021-03-31 | 2024-03-15 | 北京达佳互联信息技术有限公司 | Information recommendation method and device and electronic equipment |
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 |
CN113436023B (en) * | 2021-07-06 | 2024-10-15 | 中国银行股份有限公司 | Financial product recommendation method and device based on block chain |
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 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180096349A1 (en) * | 2016-10-05 | 2018-04-05 | The Toronto-Dominion Bank | Distributed electronic ledger with metadata |
CN109615096A (en) * | 2018-12-20 | 2019-04-12 | 北京比新科技有限公司 | A kind of Nonexpendable Item source tracing method based on block chain |
CN109727039A (en) * | 2019-01-16 | 2019-05-07 | 深圳信链区块链有限公司 | Transaction Information recording method and device, node, storage medium |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108462889A (en) * | 2017-02-17 | 2018-08-28 | 阿里巴巴集团控股有限公司 | Information recommendation method during live streaming and device |
CN108491377B (en) * | 2018-03-06 | 2021-10-08 | 中国计量大学 | E-commerce product comprehensive scoring method based on multi-dimensional 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 |
-
2019
- 2019-09-16 CN CN201911268474.3A patent/CN111047318B/en active Active
- 2019-09-16 CN CN201910872463.XA patent/CN110599306B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180096349A1 (en) * | 2016-10-05 | 2018-04-05 | The Toronto-Dominion Bank | Distributed electronic ledger with metadata |
CN109615096A (en) * | 2018-12-20 | 2019-04-12 | 北京比新科技有限公司 | A kind of Nonexpendable Item source tracing method based on block chain |
CN109727039A (en) * | 2019-01-16 | 2019-05-07 | 深圳信链区块链有限公司 | Transaction Information recording method and device, node, storage medium |
Cited By (3)
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 |
CN115002104B (en) * | 2021-02-20 | 2024-10-11 | 花瓣云科技有限公司 | Data transaction method, device and system |
Also Published As
Publication number | Publication date |
---|---|
CN111047318B (en) | 2021-01-19 |
CN110599306A (en) | 2019-12-20 |
CN110599306B (en) | 2021-10-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111047318B (en) | Transaction record storage method and device and computer equipment | |
CN108805656B (en) | Supply and demand matching method, platform, system and computer readable storage medium | |
CN112712420B (en) | Green certificate transaction system based on block chain | |
US7472074B1 (en) | Method and apparatus for a commercial network system designed to facilitate buyer-driven conditional purchase offers | |
US20190378162A1 (en) | Systems and methods for enforcing advertising standards and digital advertisement measurements | |
WO2018222797A1 (en) | Systems and methods for product review management with distributed database | |
TWI389046B (en) | Trusted third party clearing house for lead tracking | |
US11379462B2 (en) | Systems and methods for a reputation-based consensus protocol | |
KR101517966B1 (en) | Method for providing analysis-service of bid joining | |
US12032526B2 (en) | Systems and methods for data distillation | |
CN111325581B (en) | Data processing method and device, electronic equipment and computer readable storage medium | |
CN116743768A (en) | Method, apparatus, device and computer readable storage medium for trading computing power resources | |
CN112613948A (en) | Commodity push management method based on strict selection strategy | |
CN112905898B (en) | Information recommendation method and device and electronic equipment | |
CN114708049A (en) | Order confirmation method, equipment and medium based on prepayment | |
KR20170136380A (en) | Creator support method and server performing the same | |
KR20150126465A (en) | Knowledge information dealing system through on-line | |
CN115147197A (en) | Intelligent bid inviting management system | |
CN110807684B (en) | Block chain technology-based sales document storage method, device, server and medium | |
US20220084026A1 (en) | Secure transactions | |
CA3024718C (en) | Data exchange processing method, terminal, and system | |
KR20200046655A (en) | Authentication System for Providing Used Article Trading Service using Authentication Certificate | |
CA3024716C (en) | Data exchange processing method, terminal, and system | |
CN109388527A (en) | A kind of method, data processing method, device and the equipment of confirmation operation legitimacy | |
KR102058240B1 (en) | System of sale and management for motorcycle components |
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 | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 40019333 Country of ref document: HK |
|
GR01 | Patent grant | ||
GR01 | Patent grant |