CN110598010B - Grading processing method, system and storage medium of media content - Google Patents

Grading processing method, system and storage medium of media content Download PDF

Info

Publication number
CN110598010B
CN110598010B CN201910875874.4A CN201910875874A CN110598010B CN 110598010 B CN110598010 B CN 110598010B CN 201910875874 A CN201910875874 A CN 201910875874A CN 110598010 B CN110598010 B CN 110598010B
Authority
CN
China
Prior art keywords
score
node
scoring
media content
blockchain network
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.)
Active
Application number
CN201910875874.4A
Other languages
Chinese (zh)
Other versions
CN110598010A (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 CN201910875874.4A priority Critical patent/CN110598010B/en
Publication of CN110598010A publication Critical patent/CN110598010A/en
Application granted granted Critical
Publication of CN110598010B publication Critical patent/CN110598010B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/43Querying
    • G06F16/435Filtering based on additional data, e.g. user or group profiles

Abstract

The application discloses a scoring processing method of media content, which comprises the following steps: a first client receives scoring operation of a user on media content, and sends a first score of the media content to a block chain network, wherein the block chain network comprises a plurality of nodes, and a second score of the media content is stored in each node; the block chain network stores the first score in a block chain maintained by each node, and each node determines a comprehensive score of the media content according to the first score and the second score; and the second client sends a score acquisition request to the blockchain network, receives the comprehensive score of the requested media content from the blockchain network, and displays the comprehensive score. The application also provides a corresponding system and a storage medium.

Description

Grading processing method, system and storage medium of media content
The application is a divisional application of a Chinese patent application with the application number of 201810819815.0, which is filed on 24.7.8.2018 and is named as a data processing method, a data processing device and a storage medium based on a block chain.
Technical Field
The present application relates to the field of computer technologies, and in particular, to a data processing method and apparatus based on a block chain, and a storage medium.
Background
With the development of internet technology, a great amount of multimedia contents such as animation, movies, drama, art programs, articles, news and the like are generated every day, and a more convenient way is provided for people to watch a huge amount of multimedia contents. For example, YouTube, youku, etc. video websites have a large number of video clips uploaded at each moment. The problem of information overload of multimedia content becomes more and more obvious, resulting in that people cannot quickly obtain the required multimedia content from the multimedia content. In order to facilitate a user to quickly acquire required media content, the user watching the media content scores the media content, and the user determines whether to watch the media content by referring to scores given by other users for the media content. For example, the current video scoring is mainly based on several large platforms, such as bean score, cat eye, IMDb (Internet Movie Database), etc., and each large video website has its own independent scoring system.
Disclosure of Invention
The embodiment of the application provides a scoring method, a scoring system and a storage medium for media content, which can solve the technical problem that the scoring mechanism of a plurality of scoring platforms is different, so that the scoring of the same media content on the plurality of scoring platforms is different.
The embodiment of the application provides a scoring processing method of media content, which comprises the following steps:
a first client receives scoring operation of a user on media content, and sends a first score of the media content to a block chain network, wherein the block chain network comprises a plurality of nodes, and a second score of the media content is stored in each node;
the block chain network stores the first score in a block chain maintained by each node, and each node determines a comprehensive score of the media content according to the first score and the second score; and a process for the preparation of a coating,
the second client sends a score acquisition request to the blockchain network, receives a composite score of the requested media content from the blockchain network, and displays the composite score.
The embodiment of the present application further provides a system for processing scores of media contents, which includes a first client, a second client, and a blockchain network, wherein,
the first client is used for receiving scoring operation of a user on the media content and sending a first score of the media content to a block chain network, wherein the block chain network comprises a plurality of nodes, and a second score of the media content is stored in each node;
the block chain network is used for storing the first score in a block chain maintained by each node, and each node determines a comprehensive score of the media content according to the first score and the second score;
the second client is configured to send a score acquisition request to the blockchain network, receive a composite score of the requested media content from the blockchain network, and display the composite score.
Embodiments of the present application also provide a computer-readable storage medium storing computer-readable instructions, which can cause at least one processor to execute the method described above.
By adopting the scheme provided by the application, different clients correspond to different scoring platforms, and after the scores of the same media content are uploaded to the blockchain network by each client, the same comprehensive score of the media content can be obtained from the blockchain network, so that the scores of the media content obtained by different scoring platforms are consistent, and the technical problem that the scores of the media content are different when a user watches the same media content on different scoring platforms is solved. In addition, the scores of the media contents are stored based on the blockchain network, so that the scores of the stored media contents are safer and more effective.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a diagrammatic illustration of a system architecture to which some examples of the present application relate;
FIG. 2 is a block diagram illustrating the structure of some embodiments of the present application;
fig. 3 is a schematic flow chart of a data processing method based on a blockchain network according to some embodiments of the present application;
fig. 4A is a schematic flow chart of a data processing method based on a blockchain network according to some embodiments of the present application;
FIG. 4B is a flowchart illustrating a data processing method based on a blockchain network according to another embodiment of the present disclosure
FIG. 5 is a message interaction diagram of a data processing method based on a blockchain network according to some embodiments of the present application;
FIG. 6 is a block chain network based data processing apparatus according to some embodiments of the present application;
FIG. 7 is a schematic diagram of a computing device in an embodiment of the present application;
FIG. 8 is a message interaction diagram of a scoring method for media content according to some embodiments of the present application; and
fig. 9 is a schematic structural diagram of a scoring system for media content according to some embodiments of the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In some examples, each scoring platform has its own scoring system, and provides scoring of the multimedia content according to its own scoring system. But in this example, the scoring system once triggered the trust crisis, e.g., the same movie on a different scoring platform, the score appeared to be bipolar. The fundamental reason is that there is no uniform scoring mechanism, which results in different scoring performances of the same video on different scoring platforms.
The application provides a data processing method and device based on a block chain and a storage medium. The block chain technology, bt (block chain technology) for short, also called distributed book technology, is an internet database technology, and is characterized by decentralization and public transparency, so that everyone can participate in database recording. According to the method and the system, uniqueness authentication is carried out on video scoring based on a block chain technology, scoring is carried out on different scoring platforms based on the same scoring mechanism, the technical problem that scoring is different due to different multi-platform scoring mechanisms is solved, and a good guiding effect is achieved in the aspect of watching media contents by a user.
The present application provides a data processing method, an apparatus and a storage medium based on a block chain, which can be applied to the block chain system 100 shown in fig. 1. As shown in fig. 1, the system 100 includes a blockchain network 101, the blockchain network 101 providing scoring services for media content to a plurality of users operating their respective user devices 104 (e.g., user devices 104a-c) via one or more networks 106.
In some embodiments, each user connects to the blockchain network 101 through a client application 108 (e.g., client applications 108a-c) executing on the user device 104. The client application 108 may be a multimedia application, such as a video client, a news client, a microblog client, and the like. When a user views multimedia content through the client application 108, the viewed multimedia content may be scored, and the client 108 on the user device 104 sends the score of the multimedia content to the blockchain network 101, specifically, to the corresponding node 102 in the blockchain network, in which case the corresponding node 102 may be assumed by the corresponding scoring platform. The client 108 on the user device 104 may also send the scores of the multimedia content to the corresponding scoring platform 105, and the scoring platform 105 sends the scores of the multimedia content to the corresponding node 102 in the blockchain network.
Blockchain network 101 includes a plurality of blockchain nodes 102 distributed in various regions, where the nodes 102 form a blockchain network, each node 102 may be a computing device with peer-to-peer communication function, such as a desktop computer, a notebook computer, a tablet computer, etc., and the blockchain nodes 102 form a peer-to-peer (P2P) network, and each node 102 stores the complete data of a blockchain 110. The network 103 is used for realizing communication among the nodes 102, and encapsulates a P2P networking mechanism, a data propagation mechanism, a verification mechanism and the like among the nodes 102. Blockchain network 101 is essentially a P2P network, where each node 102 both receives and generates information, and a common blockchain is maintained between nodes 102 to maintain communications. In a blockchain network, each node 102 may create a new block, and after the new block is created, notify other nodes in a broadcast manner, and the other nodes may verify the new block, and when more than 51% of the nodes in the entire blockchain network verify, the new block may be added to the blockchain. As shown in fig. 1, a block chain 110 is formed by linking a plurality of blocks (block 0 to block n). The first established block 0 is a 'created block', and then the blocks with the same data structure established under a certain rule are sequentially connected through a chain structure to form a main chain. As the running time is longer, new blocks are continuously added to the main chain after being verified, and the main chain is also continuously prolonged.
In practical applications, the blockchain network further encapsulates a consensus mechanism, which enables highly distributed nodes 102 to efficiently achieve consensus on the validity of the blockchain data in the decentralized system, i.e., to agree on how to achieve consensus among all nodes 102, and to determine the validity of the data (e.g., scoring on the media content), which is both a determination means and a tamper-proof means. The common consensus mechanisms are mainly as follows: proof of workload (Proof of Work), Proof of rights (Proof of stamp), Proof of authorized shares (released Proof of stamp).
In a Block chain system, data is permanently recorded in the form of files, which may be referred to as blocks (blocks). A tile may contain a score for media content that is not recorded by previous tiles, each tile recording all events that occurred before it was created. The blocks created are linked in sequence, and typically a new block is loaded at the end of the chain of blocks and linked to the previous block. The block records the scores of the media contents submitted by the user, and the scores are a common consensus of the current block chain state; the Chain (Chain) is formed by connecting blocks in series according to the creation time sequence.
A tile is a data structure that records scores. Each block consists of a block head and a block body, the block body is responsible for recording scores, and the block head records information for linking father blocks, mining competition and transaction data verification. Fig. 2 shows a data structure diagram of a block 200. As shown in fig. 2, the block 200 includes a block head 21 and a block body 22. The block 22 records scores for media content. The block header 21 records the following pieces of information:
1. the version number is used for identifying the relevant version information of the software and the protocol;
2. the parent block hash value is a block head hash value of a parent block of the block 200, and blocks can be connected end to form a block chain through the value, and the value plays an important role in the safety of the block chain;
3. merkle root, which is a hash value of the scores stored in chunk 22;
4. a timestamp recording the time of creation of the block 200, which may be accurate to seconds;
5. a difficulty value, which is a difficulty target value of the mathematical problem associated with the block 200;
6. random number (Nonce), which records the value of the answer to decrypt the mathematical question associated with the block 200.
After the block 200 joins the blockchain, all miners (i.e., individual blockchain nodes 102) begin the next blockchain generation, including:
1. recording the scores for the media content in the local memory into a block;
2. generating a hash value of the score in the block, and storing the hash value of the score (namely, Merkle root) in the block header;
3. generating a hash value by using the SHA256 algorithm on the data of the block head of the parent block of the block 200 which is added into the block chain recently, and filling the hash value into the hash value of the parent block of the current block;
4. saving the current time in a timestamp field;
5. the difficulty value field is adjusted according to the average generation time of the blocks in a previous period of time to deal with the overall calculation total quantity which changes continuously in the whole network, if the calculation total quantity is increased, the system can increase the difficulty value of the mathematical problem, and the time for expecting to finish the next block is still in a certain time.
For a chunk, the chunk header hash value may identify only one chunk, and any node 102 may independently obtain the chunk header hash value by hashing the chunk header. The chunk header hash value is not actually included in the data structure of the chunk, and the chunk header hash value is calculated by a node 102 when the chunk is received by the node 102 from the blockchain network 101. The chunk header hash value may be stored as part of the chunk metadata in a separate database table to facilitate indexing and faster retrieval of the chunk from disk.
The present application proposes a data processing method based on a blockchain network, which may be executed by a blockchain node 102 (a first node) in a blockchain network 101, where the blockchain network includes a plurality of nodes, and each node stores a first score for media content, as shown in fig. 3, where the method includes the following steps:
s301: a first node of the plurality of nodes obtains a second score for the media content.
In some examples, when the first node obtains the second score for the media content, the method comprises the steps of:
receiving a grading message aiming at the media content, wherein the grading message carries a second grade encrypted by a private key of a user account corresponding to the second grade;
and decrypting the encrypted second score by using the public key of the user account to obtain the second score.
In some examples, the scoring message further carries an identifier of an end user, and before performing the following step S302, the data processing method based on a blockchain network provided by the present application further includes the following steps:
acquiring the number of scoring messages carrying the identification of the terminal user in the received scoring messages within preset time;
and when the number of the grading messages does not exceed a threshold value, sending the second grading to each second node except the first node in the plurality of nodes.
S302: and sending the second scores to each second node except the first node in the plurality of nodes, so that each second node verifies the second scores respectively, and sending a first verification passing message to each node except the first node in the plurality of nodes after the second nodes pass the verification.
In some examples, when sending the second score to each second node of the plurality of nodes other than the first node, the method comprises the steps of:
performing hash calculation on the second score to obtain a hash value;
encrypting the hash value through a private key of the first node to obtain a signature;
and sending the signature and the second scores to each second node.
In some examples, after the second score is sent to each second node, the method for processing data based on the blockchain network provided by the application may further include the following steps:
and receiving the first verification passing messages sent by the second nodes, wherein when one second node determines that the second score comes from the first node according to the signature and the second score is not tampered in the transmission process, the first verification passing messages are sent.
In some examples, each second node maintains an average score for the media content, each second node further determines a difference between the second score and the average score prior to sending the first verification-passed message, and performs the sending the first verification-passed message when the difference does not exceed a threshold.
S303: for any node in the plurality of nodes, saving the second score when the number of received first verification-passed messages reaches a threshold.
In some examples, saving the second score includes the steps of:
and saving the second score and the characteristic value of the last block in the blockchain of the first node into a new block, and adding the new block into the blockchain of the first node, wherein the characteristic value represents the data stored in the last block.
S304: and determining a comprehensive score of the media content according to the stored first score and the second score, and storing the comprehensive score and the media content identifier of the media content in the first node in an associated manner.
In some examples, after determining the composite score of the media content at the first node and storing the composite score of the media content in association with the media content identifier, the block chain-based data processing method provided by the present application may further include the following steps:
receiving a score acquisition request sent by a media content platform or terminal equipment (user equipment 104), wherein the score acquisition request carries a media content identifier;
and determining a comprehensive score corresponding to the media content identifier according to the media content identifier, and sending the comprehensive score to the corresponding media content platform or terminal equipment.
In some examples, each node in the blockchain network stores data of a scoring option, and the method for processing data based on the blockchain network further includes the following steps:
responding to a grading request message of terminal equipment, the first node sends the data of the grading option to the terminal equipment, so that the terminal equipment displays the grading option according to the data of the grading option.
In some examples, the data processing method based on the blockchain network provided by the present application further includes the following steps:
when the first node receives new scoring option data sent by corresponding terminal equipment or a media content platform, the new scoring option data is sent to the second nodes, so that the second nodes respectively verify the new scoring option data, and send second verification passing messages to each node except the first node after the verification passes;
for any node in the plurality of nodes, saving data of the new scoring option when the number of received second verification pass messages reaches a threshold.
In some examples, wherein the scoring options include a professional scoring option and a general scoring option,
wherein, the scoring request carries an identifier of a terminal user, and sending the data of the scoring option to the terminal device in executing the first node comprises:
when the identification of the terminal user indicates that the terminal user is a professional, sending the data of the professional scoring option to the terminal equipment so that the terminal user provides professional scoring according to the professional scoring option;
and when the identification of the terminal user indicates that the terminal user is a common person, sending the data of the common scoring option to the terminal equipment so that the terminal user provides common scoring according to the common scoring option.
In some examples, the composite score comprises a first composite score, a second composite score, and a third composite score, the determining a composite score for the media content from the saved first score and the saved second score comprises:
determining the first composite score according to the stored one or more common scores;
determining the second composite score according to the saved one or more professional scores;
and determining the third composite score according to the first composite score and the second composite score.
By adopting the data processing method based on the blockchain network, the scores and the comprehensive scores of the media contents are stored by using the blockchain network, the scores of the media contents stored by each node in the blockchain network are consistent, and the comprehensive scores of the media contents determined by each node based on the stored scores of the media contents are also consistent, so that the comprehensive scores (second scores) of the media contents acquired from each node in the blockchain network are consistent. In addition, the scores and the comprehensive scores of the media contents are stored on the basis of the blockchain network, so that the stored scores and the comprehensive scores of the media contents are safer and more effective.
Fig. 4A is a flowchart illustrating a data processing method based on a blockchain network provided in the present application, which may be performed by a blockchain node 102 (a first node) in the blockchain network 101. As shown in fig. 4A, the method mainly includes the following steps:
s401: a first node of the plurality of nodes obtains a second score for the media content.
Nodes 102 (blockchain nodes) in the blockchain network 101 may be assumed by the multimedia platform, e.g., when the multimedia content is a video, some of the nodes 102 in the blockchain network may be (assumed by) scoring platforms, e.g., a bean scoring platform, a cat eye scoring platform, an IMDb scoring platform, etc. A plurality of scoring platforms may be used as part of the nodes in the blockchain network 110. When one scoring platform serves as one node 102 in the blockchain network 101, the terminal device directly uploads the score of the user for the media content to the corresponding scoring platform in the blockchain network 101, that is, to the corresponding node 102. The scoring platform 105 may not act as a node in the blockchain network 101, in which case, the terminal device sends the score of the user for the media content to the corresponding scoring platform 105, and the scoring platform 105 sends the score to the corresponding node 102 in the blockchain network 101. Different scoring platform nodes 102 may correspond to different scoring platforms. Different scoring platforms store scores for the media content based on the same blockchain network 101, and scores for the media content maintained by the different platforms are the same, unique and effective, so that scores for the media content displayed on terminal devices corresponding to the different platforms are also consistent, and the technical problem that the scores of the media content are different when a user watches the same media content on the different platforms is solved. The media content in step S401 refers to a media content, and a first score of a media content is stored in the blockchain 110 of each node 102 in the blockchain network 101, where the first score is one or more scores of media contents that have been stored before. In addition, the blockchain 110 of each node 102 in the blockchain network 101 may also store the first scores of other media contents. In some examples, the first score may also be a composite score of media content previously stored by the first node.
The first node in the blockchain network may include the following steps when acquiring a new score (i.e. the second score) of the media content in step S401:
s4001: receiving a grading message aiming at the media content, wherein the grading message carries a second grade encrypted by a private key of a user account corresponding to the second grade; and decrypting the encrypted second score by using the public key of the user account to obtain the second score.
When the terminal device (i.e., the user device 104) or the scoring platform corresponding to the terminal device uploads the second score to the first node, the second score is encrypted to prevent the second score from being tampered in the uploading process. When a user scores watched media content on the terminal equipment, the user account needs to be logged in, and when the terminal equipment or a corresponding scoring platform uploads the score, the second score is encrypted through a private key corresponding to the user account. And after receiving the scoring message, the first node decrypts the encrypted second score through the public key of the user account to acquire the second score. Wherein the public key of the user account is disclosed to the node 102 in the corresponding blockchain network.
S402: and sending the second scores to each second node except the first node in the plurality of nodes, so that each second node verifies the second scores respectively, and sending a first verification passing message to each node except the first node in the plurality of nodes after the second nodes pass the verification.
In step S401, after the first node acquires the second score, before the second score is sent to another second node in the blockchain network 101, the second score is further verified in order to prevent the user of the terminal device from swiping the score. The nodes 102 in the blockchain network 101 except the first node are referred to as second nodes.
When the second score is verified, the method comprises the following steps:
s4021: the scoring message also carries the identification of the terminal user, and the number of scoring messages which carry the identification of the terminal user in the scoring message received within the preset time is obtained; and when the number of the grading messages does not exceed a threshold value, sending the second grading to each second node except the first node in the plurality of nodes.
The scoring message received by the first node also carries an identifier of the end user, as shown in fig. 2, when the first node stores the second score in the block 22, the scored user identifier may be stored in the block 22 at the same time, and meanwhile, a timestamp is also stored in the block, and the timestamp is a time for generating the block. Therefore, in the block chain 110 maintained by the first node, according to the preset time in step S4021 and the timestamp in the block header of each block, a plurality of blocks may be determined, and the number of scores carrying the user identifier is searched in the block 22 of the determined plurality of blocks, so as to serve as the number of score messages carrying the identifier of the end user in the score messages received within the preset time. The average user score for the media content over a predetermined period of time, e.g., a week, may have an average value from which the threshold value may be determined. When the number of scores corresponding to one user identifier within a preset time exceeds the threshold, it is determined that a user corresponding to the user identifier has a score-swiping relationship, the second score is determined to be invalid, the second score is not transmitted to other nodes in the block chain network 101, and the second score is not stored in the block chain 110 maintained by each node.
When sending the second score to the second node in the blockchain network 101, the method comprises the following steps:
s4022: performing hash calculation on the second score to obtain a hash value; encrypting the hash value through a private key of the first node to obtain a signature; and sending the signature and the second scores to each second node.
After acquiring the second score, the first node records the second score in the block 22 of the block 200 as shown in fig. 2. Meanwhile, the hash value of the second score is calculated, and the hash value is recorded in the chunk header 21, in this example, one score is stored in the chunk, and the hash value of the second score is stored in the chunk header 21 as a Merkle root. The first node searches the last block in the block chain 110 maintained by itself, performs hash calculation on data in the block header of the last block to obtain the hash value of the last block, and stores the hash value of the last block in the block header 21 as the parent block hash value of the newly generated block. At the same time, the time (time stamp), random number, and difficulty value for generating the new block are recorded in the block header 21.
After generating a new block, the first node broadcasts the newly generated block to other nodes in the blockchain network 101, that is, data such as a score in the block, a parent block hash value in the block header, a Merkle root, a timestamp, a random number, a difficulty value, and the like are packed and sent to other nodes in the blockchain network. Meanwhile, the first node encrypts the second scored hash value through the private key of the first node to obtain a signature, and sends the obtained signature to other nodes in the block chain network 101.
S403: and receiving the first verification passing messages sent by the second nodes, wherein when one second node determines that the second score comes from the first node according to the signature and the second score is not tampered in the transmission process, the first verification passing messages are sent.
Each node in the blockchain network 101 stores the private key of its own node and the public keys of other nodes, and when the second node receives the signature and the second score and the data in the block header mentioned in step S4022, hash calculation is performed on the second score, the calculated result is compared with the Merkle root in the block header, and when the comparison result is consistent, it indicates that the second score is not tampered in the transmission process. Further, the second node decodes the received signature by using the stored public key of the first node, compares the decrypted result with the hash value of the second score, and determines that the score is from the first node when the comparison result is consistent. And when the second node determines that the second score is not tampered and the score is originated from the first node, sending a first verification passing message to the first node and other second nodes. Each second node performs the above-described authentication operation and transmits the authentication result to the first node and the other second nodes.
In some examples, after performing the two-step authentication, a second node further comprises the following steps before sending the first authentication pass message to the first node and other second nodes:
s4031: and each second node stores the average score of the media content, further determines the difference between the second score and the average score before sending the first verification passing message, and executes the operation of sending the first verification passing message when the difference does not exceed a threshold value.
The second node determines the average score of the media content according to the first score of the media content stored in the self-maintained blockchain 110, and further verifies the validity of the second score. And when the difference value of the second score and the average score does not exceed a threshold value, determining that the second score is effective, otherwise, determining that the second score is ineffective. And sending the first verification passing message when the second score is further determined to be valid.
S404: for any node in the plurality of nodes, saving the second score when the number of received first verification-passed messages reaches a threshold.
And each second node sends a first verification passing message to the first node after the verification passes, and when the number of the first verification passing messages received by the first node reaches a threshold value, the second score is stored. The threshold may be the number of the second nodes, that is, when the received verification result of each second node is verified, the second score is saved. The threshold may also be 51% or some other value. Meanwhile, one second node also receives the verification results fed back by other second nodes, and when the number of the first verification passing messages received by one second node reaches a threshold value, the second score is also stored. After the first node and each second node store the second scores, the comprehensive scores of the media contents are determined according to the stored first scores and the stored second scores of the media contents. In this example, each node receives the verification results of other nodes before saving a score, including verification of the source of the data (e.g., whether the second score originates from the first node), integrity verification (whether the score was tampered during transmission is verified by hashing), and validity verification (whether the second score deviates too much from the average score of the media content), and saves the data after the verification passes (saving the second score). Thus, the scores of the media content in blockchain 110 maintained by each node in blockchain network 101 are the same, unique, and efficient. The comprehensive scores of the media contents determined by the nodes according to the scores of the stored media contents are the same, unique and effective. The scoring obtained by different terminal devices or scoring platforms is the same no matter which node requests scoring data. The technical problem that the scores of the media contents displayed by the existing scoring platforms are different when the media contents are logged in is solved. In addition, the score data of the media content is stored based on the blockchain network 101, the stored score cannot be modified, the safety of the score data is guaranteed, meanwhile, the score is validated before being stored, and the effectiveness of the score data is guaranteed.
S4041: and saving the second score and the characteristic value of the last block in the blockchain of the first node into a new block, and adding the new block into the blockchain of the first node, wherein the characteristic value represents the data stored in the last block.
When saving the second score, the block in which the second score is recorded is added to the chain of blocks 110 maintained by the first node. In addition, each second node also adds the block to the block chain 110 maintained by the second node, specifically, the last block is found in the block chain 110 maintained by the second node according to the hash value of the parent block in the block, and the block is added to the back of the last block.
S405: and determining a comprehensive score of the media content according to the stored first score and the second score, and storing the comprehensive score and the media content identifier of the media content in the first node in an associated manner.
The first score may be a score of the media content stored in each block in the block chain 110 maintained by the first node, or may be a composite score of the previously stored media content, or may determine a composite score according to each stored first score and second score, or may update the composite score according to the previously determined composite score and second score of the media content.
S406: receiving a score obtaining request sent by a media content platform or terminal equipment, wherein the score obtaining request carries a media content identifier; and determining a comprehensive score corresponding to the media content identifier according to the media content identifier, and sending the comprehensive score to the corresponding media content platform or terminal equipment.
Each node 102 in the blockchain network 101 may correspond to a different terminal device or scoring platform (also referred to as a media content platform) that requests scoring of media content from the corresponding node 102. The scores of the media content determined by each node 102 are all the same, unique, and valid, and thus the scores of the media content obtained from different nodes are all the same, unique, and valid.
In some examples, each node in the blockchain network stores data of a scoring option, and the method for processing data based on the blockchain network, as shown in fig. 4B, further includes the following steps:
s407: responding to a grading request message of terminal equipment, the first node sends the data of the grading option to the terminal equipment, so that the terminal equipment displays the grading option according to the data of the grading option.
In this example, each node in the blockchain network 101 stores the same scoring option data, where the scoring request may be a scoring request sent to the corresponding node when a user opens a scoring page. The scoring option data of the terminal devices corresponding to the nodes 102 are the same, so that the scoring items displayed on the terminal devices (user devices 104) are also the same, so that the terminal device users corresponding to different scoring platforms (media content platforms) score according to the same scoring option.
In some examples, wherein the scoring options include a professional scoring option and a general scoring option,
wherein, the scoring request carries an identifier of a terminal user, and when the first node is executed to send the data of the scoring option to the terminal device, the method includes the following steps:
s4071, when the terminal user is indicated by the terminal user identifier as a professional, sending the data of the professional scoring option to the terminal device, so that the terminal user provides professional scoring according to the professional scoring option; and when the identification of the terminal user indicates that the terminal user is a common person, sending the data of the common scoring option to the terminal equipment so that the terminal user provides common scoring according to the common scoring option.
When the scores uploaded to the blockchain network 101 by the terminal device include a common score and a professional score, the composite score includes a first composite score, a second composite score and a third composite score, and when the composite score of the media content is determined according to the stored first score and the stored second score, the method includes the following steps:
determining the first composite score according to the stored one or more common scores; determining the second composite score according to the saved one or more professional scores; and determining the third composite score according to the first composite score and the second composite score.
The first composite score may be an average score of the common scores, or a score obtained by the common scores through a certain algorithm. The second composite score can be an average score of professional scores, or can be a score obtained by a professional score through a certain algorithm. The third composite score may be determined according to the first composite score, a preset weight of the first composite score, the second composite score, and a preset weight of the second composite score. The third composite score is obtained, for example, by weighted summation. When the node 102 in the blockchain network 101 sends the composite score of the media content to the terminal device (directly sends the composite score to the terminal device or forwards the composite score through a scoring platform), the first composite score, the second composite score and the third composite score are sent.
In some examples, the data processing method based on the blockchain network provided by the present application further includes the following steps:
s408: when the first node receives new scoring option data sent by corresponding terminal equipment or a media content platform, the new scoring option data is sent to the second nodes, so that the second nodes respectively verify the new scoring option data, and send second verification passing messages to each node except the first node after the verification passes; for any node in the plurality of nodes, saving data of the new scoring option when the number of received second verification pass messages reaches a threshold.
In this example, the end device user may feedback the scoring rule, and the user may feedback data of a new scoring option through the end device (user device 104), for example, the new scoring option may be: the color values, clothing, etc. of the main actors in the video. When a node of the blockchain network 101 receives data of a new scoring option, verification storage is performed in each node of the blockchain network, and the verification storage mode is the same as the mode for storing scoring data, which is not described herein again. In addition, after one node in the blockchain network receives the data of the new scoring option, background maintenance personnel of the blockchain network can verify the reasonability of the scoring option, and after the reasonability of the scoring option is verified and stored in each node in the blockchain network.
In the embodiment shown in fig. 4A and 4B, after receiving the second score for the media content, the first node broadcasts the second score to other second nodes in the blockchain network. Before the first node stores the second score in the self-maintained block chain, other second nodes are required to verify the second score respectively, verify whether the second score comes from the first node or not, verify whether the second score is tampered in the transmission process or not, and send a first verification passing message to the first node after the second node passes the verification. And when the number of the first verification passing messages received by the first node reaches a threshold value, storing the second score into a block chain maintained by the first node. Through the technical means, the scores of the media contents stored by the nodes in the block chain network are consistent, and the comprehensive scores of the media contents determined based on the scores of the stored media contents are also consistent, so that the scores of the media contents acquired on the nodes are consistent. When the scoring platform is used as a node in the blockchain network, the scores of the same item of media content acquired on different scoring platforms are consistent, and when the scoring platform is not used as a node in the blockchain network, the different scoring platforms acquire the scores of the media content from the corresponding nodes in the blockchain network, and the scores of the same item of media content acquired on different scoring platforms are also consistent. In addition, the scores of the media contents are stored by using the blockchain network, so that the scores of the stored media contents are safer and more effective.
In the message interaction diagram of the data processing method based on the blockchain network, the user equipment may be the user equipment 104 in fig. 1, the scoring platform may be the scoring platform 105 in fig. 1, and the blockchain network may be the blockchain network 101 in fig. 1. In this example, the user equipment sends the score to the corresponding scoring platform 105, and the scoring platform 105 sends the score to the corresponding node in the blockchain network 101, so that the score is stored in the blockchain network 101. As shown in fig. 5, the method comprises the following steps:
s501: and the user equipment uploads a grading request to the grading platform.
S502: the scoring platform forwards the scoring request to a corresponding node (first node) in the blockchain network.
S503: and feeding back the scoring option data by the corresponding node in the block chain network.
S504: and the scoring platform forwards the scoring option data to the user equipment.
S505: and the user equipment displays the grading options according to the grading option data.
S506: the user scores through the scoring option.
S507: and uploading the scores to a scoring platform.
S508: and the scoring platform forwards the score to a first node in the block chain network.
S509: the block chain network stores the scores in the block chains maintained by the nodes in the block chain network, specifically, the first node sends the scores to other nodes in the block chain network for verification, and when the number of first verification passing messages fed back by the other second nodes and received by the first node meets a preset condition, the scores are stored in the block chains maintained by the first node. The operation of storing scores by each of the other second nodes is similar to that of the first node, and is not described herein again.
S510: and each node in the block chain network determines the comprehensive score of the media content.
S511: the user device requests a rating of the media content from a rating platform.
S512: and the scoring platform forwards the request to the corresponding node in the block chain network.
S513: and returning the comprehensive scores of the corresponding media contents by the corresponding nodes in the block chain network.
S514: and the scoring platform returns the corresponding comprehensive score to the user equipment.
S515: and the user equipment displays the comprehensive score.
In addition, the user equipment can also feed back data of a new scoring option to the blockchain network through the scoring platform so as to update the scoring rule. In fig. 5, a scoring platform may not exist, and the user equipment directly interacts with a corresponding node in the blockchain network. In this case, one scoring platform may act as one node in the blockchain network.
The application also provides a data processing device 600 based on a blockchain network, wherein the blockchain network comprises a plurality of nodes, and each node is stored with a first score aiming at media content; as shown in fig. 6, the apparatus includes:
an obtaining unit 601, configured to obtain, by a first node in the plurality of nodes, a second score for the media content;
a sending unit 602, configured to send the second score to each second node, except the first node, in the multiple nodes, so that each second node verifies the second score respectively, and sends a first verification passing message to each node, except the first node, in the multiple nodes after the second node passes the verification;
a saving unit 603 configured to, for any node in the plurality of nodes, save the second score when the number of received first verification pass messages reaches a threshold;
and a comprehensive score determining unit 604, configured to determine a comprehensive score of the media content according to the first score and the second score stored in the comprehensive score determining unit, and store the comprehensive score and a media content identifier of the media content in an associated manner.
In some examples, the sending unit 602 is further configured to:
performing hash calculation on the second score to obtain a hash value;
encrypting the hash value through a private key of the first node to obtain a signature;
and sending the signature and the second scores to each second node.
In some examples, the saving unit 603 is further configured to:
and receiving the first verification passing messages sent by the second nodes, wherein when one second node determines that the second score comes from the first node according to the signature and the second score is not tampered in the transmission process, the first verification passing messages are sent.
In some instances, wherein each second node maintains an average score for the media content,
the method further comprises: and each second node determines the difference between the second score and the average score before sending the first verification passing message, and executes the operation of sending the first verification passing message when the difference does not exceed a threshold value.
In some examples, the saving unit 603 is further configured to:
and saving the second score and the characteristic value of the last block in the blockchain of the first node into a new block, and adding the new block into the blockchain of the first node, wherein the characteristic value represents the data stored in the last block.
In some examples, the sending unit 602 is further configured to:
receiving a score obtaining request sent by a media content platform or terminal equipment, wherein the score obtaining request carries a media content identifier;
and determining a comprehensive score corresponding to the media content identifier according to the media content identifier, and sending the comprehensive score to the corresponding media content platform or terminal equipment.
In some examples, the obtaining unit 601 is further configured to:
receiving a grading message aiming at the media content, wherein the grading message carries a second grade encrypted by a private key of a user account corresponding to the second grade;
and decrypting the encrypted second score by using the public key of the user account to obtain the second score.
In some examples, where the scoring message also carries an identifier of an end user, the sending unit 602 is further configured to:
acquiring the number of scoring messages carrying the identification of the terminal user in the received scoring messages within preset time;
and when the number of the grading messages does not exceed a threshold value, sending the second grading to each second node except the first node in the plurality of nodes.
In some examples, each node in the blockchain network has data of a rating option stored therein, and the sending unit 602 is further configured to:
responding to a grading request message of terminal equipment, the first node sends the data of the grading option to the terminal equipment, so that the terminal equipment displays the grading option according to the data of the grading option.
In some examples, the sending unit 602 is further configured to: when the first node receives the data of the new scoring option sent by the corresponding terminal device or the media content platform, the data of the new scoring option is sent to the second nodes, so that the second nodes respectively verify the data of the new scoring option, and after the verification is passed, a second verification passing message is sent to each node except the first node.
The saving unit 603 is further configured to: for any node in the plurality of nodes, saving data of the new scoring option when the number of received second verification pass messages reaches a threshold.
In some examples, the scoring options include a professional scoring option and a general scoring option,
wherein the sending unit 602 is further configured to:
when the identification of the terminal user indicates that the terminal user is a professional, sending the data of the professional scoring option to the terminal equipment so that the terminal user provides professional scoring according to the professional scoring option;
and when the identification of the terminal user indicates that the terminal user is a common person, sending the data of the common scoring option to the terminal equipment so that the terminal user provides common scoring according to the common scoring option.
In some examples, wherein the composite score includes a first composite score, a second composite score, and a third composite score, the composite scoring unit 604 is further configured to:
determining the first composite score according to the stored one or more common scores;
determining the second composite score according to the saved one or more professional scores;
and determining the third composite score according to the first composite score and the second composite score.
The present application also provides a computer-readable storage medium storing computer-readable instructions that can cause at least one processor to perform the method as described above.
Fig. 7 shows a block diagram of a computing device in which the data processing apparatus 600 based on the blockchain network is located. As shown in fig. 7, the computing device includes one or more processors (CPUs) 702, a communication module 704, a memory 706, a user interface 710, and a communication bus 708 for interconnecting these components.
The processor 702 may receive and transmit data via the communication module 704 to enable network communications and/or local communications.
User interface 710 includes one or more output devices 712, including one or more speakers and/or one or more visual displays. The user interface 710 also includes one or more input devices 714, including, for example, a keyboard, a mouse, a voice command input unit or microphone, a touch screen display, a touch sensitive tablet, a gesture capture camera or other input buttons or controls, and the like.
The memory 706 may be a high-speed random access memory such as DRAM, SRAM, DDR RAM, or other random access solid state memory devices; or non-volatile memory, such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, or other non-volatile solid-state storage devices.
The memory 706 stores a set of instructions executable by the processor 702, including:
an operating system 716 including programs for handling various basic system services and for performing hardware related tasks;
the application 718 includes some or all of the units or modules of the data processing apparatus 600 based on the blockchain network. At least one unit in the blockchain network based data processing apparatus 600 may store machine executable instructions. The processor 702 may be capable of performing the functions of at least one of the units or modules described above by executing machine-executable instructions in at least one of the units in the memory 706.
It should be noted that not all steps and modules in the above flows and structures are necessary, and some steps or modules may be omitted according to actual needs. The execution order of the steps is not fixed and can be adjusted as required. The division of each module is only for convenience of describing adopted functional division, and in actual implementation, one module may be divided into multiple modules, and the functions of multiple modules may also be implemented by the same module, and these modules may be located in the same device or in different devices.
The hardware modules in the embodiments may be implemented in hardware or a hardware platform plus software. The software includes machine-readable instructions stored on a non-volatile storage medium. Thus, embodiments may also be embodied as software products.
In various examples, the hardware may be implemented by specialized hardware or hardware executing machine-readable instructions. For example, the hardware may be specially designed permanent circuits or logic devices (e.g., special purpose processors, such as FPGAs or ASICs) for performing the specified operations. Hardware may also include programmable logic devices or circuits temporarily configured by software (e.g., including a general purpose processor or other programmable processor) to perform certain operations.
In addition, each example of the present application can be realized by a data processing program executed by a data processing apparatus such as a computer. It is clear that a data processing program constitutes the present application. Further, the data processing program, which is generally stored in one storage medium, is executed by directly reading the program out of the storage medium or by installing or copying the program into a storage device (such as a hard disk and/or a memory) of the data processing device. Such a storage medium therefore also constitutes the present application, which also provides a non-volatile storage medium in which a data processing program is stored, which data processing program can be used to carry out any one of the above-mentioned method examples of the present application.
The corresponding machine-readable instructions of the modules of fig. 7 may cause an operating system or the like operating on the computer to perform some or all of the operations described herein. The nonvolatile computer-readable storage medium may be a memory provided in an expansion board inserted into the computer or written to a memory provided in an expansion unit connected to the computer. A CPU or the like mounted on the expansion board or the expansion unit may perform part or all of the actual operations according to the instructions.
Fig. 8 is a message interaction diagram of a scoring processing method for media content according to some embodiments of the present application. As shown in fig. 8, the method includes a first client, a blockchain network, and a second client, and includes the following steps:
s801, the first client receives scoring operation of the user on the media content.
As shown in FIG. 1, the first client is a client application 108a-c executing on the user device 104, such as a multimedia application, e.g., a video client, a news client, a micro-blogging client, etc.
S802, the first client sends the first score of the media content to the blockchain network.
The blockchain network comprises a plurality of nodes, and each node stores the second scores of the media contents.
And S803, the block chain network stores the first score in the block chain maintained by each node, and each node determines the comprehensive score of the media content according to the first score and the second score.
S804, the second client sends a score obtaining request to the block chain network.
S805, the second client receives the composite score of the requested media content from the blockchain network.
And S806, the second client displays the comprehensive scores.
In step S803, the block chain network stores the first score in the block chain maintained by each node, which specifically includes:
each node acquires a first score;
verifying the first score for each node, and sending a first verification passing message to other nodes except the node after the verification passes;
and receiving first verification passing messages fed back by other nodes aiming at each node, and storing the first scores in a block chain maintained by the node when the number of the received first verification passing messages meets a preset condition.
In some examples, each client application corresponds to its own node in the blockchain network, each node being assumed by a corresponding scoring platform. The sending the first score of the media content to the blockchain network specifically includes: and sending the first score to a first node corresponding to the first client in the blockchain network. For example, the first node corresponding to the microblog client is a microblog scoring platform.
The obtaining of the first score by each node includes: the first node sends the first score to each second node except the first node in the blockchain network. In some examples, further specifically include:
and the first node performs Hash calculation on the first score to obtain a Hash value, encrypts the Hash value through a private key of the first node to obtain a signature, and sends the signature and the first score to each second node.
In some examples, the receiving the first verification passing message fed back by each of the other nodes specifically includes:
and for each second node, determining that the first score comes from the first node according to the signature and the first score, and feeding back a first verification passing message to the first node when the first score is not tampered in the transmission process.
In some examples, each node stores the average score of the media content, and in step 803, the method further includes:
and for each node, before feeding back the first verification passing message to other nodes, determining the difference value between the first score and the average score, and feeding back the first verification passing message when the difference value does not exceed a threshold value.
In some examples, the storing, by the blockchain network, the first score in the blockchain maintained by each node specifically includes:
and for each node, saving the first score and the characteristic value of the last block in the blockchain of the node into a new block, and adding the new block into the blockchain of the node, wherein the characteristic value represents the data stored in the last block.
In some examples, prior to step S801, the method further comprises:
a first client sends a scoring request message to a blockchain network;
the block chain network responds to the scoring request message and sends the data of the scoring option to the first client;
and the first client displays the grading options according to the data of the grading options so as to receive the grading operation of the user.
In some examples, the scoring options include a professional scoring option and a general scoring option, the scoring request message carries a user identifier of the first client, and the sending of the data of the scoring options to the first client specifically includes:
when the user identification indicates that the user is a professional, a first node corresponding to a first client in the block chain network sends data of professional scoring options to the first client so that the user provides professional scoring according to the professional scoring options;
when the user identification indicates that the user is a common person, a first node corresponding to a first client in the block chain network sends data of a common scoring option to the first client, so that the user provides common scoring according to the common scoring option.
In some examples, the composite score includes a first composite score, a second composite score and a third composite score, and in step S803, each node determines the composite score of the media content according to the first score and the second score, which specifically includes:
determining a first comprehensive score according to one or more stored common scores;
determining a second composite score according to the stored one or more professional scores;
and determining a third comprehensive score according to the first comprehensive score and the second comprehensive score.
In some examples, the method further comprises:
the third client sends the data of the new scoring option to the blockchain network;
the blockchain network stores the data of the new scoring option in the blockchain maintained by each node. In some examples, this includes in particular:
each node acquires data of a new grading option;
verifying the data of the new grading option aiming at each node, and sending a second verification passing message to other nodes except the node after the verification passes;
and receiving second verification passing messages fed back by other nodes aiming at each node, and saving the data of the new scoring option when the number of the received second verification passing messages reaches a threshold value.
Fig. 9 is a schematic structural diagram of a scoring system for media content according to some embodiments of the present application. As shown in fig. 9, the scoring processing system 900 for media content includes: a first client 901, a blockchain network 902, and a second client 903, where the blockchain network 902 includes the structure shown in fig. 1, and includes a plurality of blockchain nodes 102 distributed in various regions, and each node 102 may be a computing device with a peer-to-peer communication function, such as a desktop computer, a notebook computer, a tablet computer, and the like; network 103 is used to enable communication between nodes 102, encapsulating P2P networking mechanisms, data propagation mechanisms, authentication mechanisms, and the like, between nodes 102.
According to the embodiment of the present application, the first client 901 is configured to receive a scoring operation performed by a user for media content, and send a first score of the media content to the blockchain network 902, where the blockchain network 902 includes a plurality of nodes 102, and each node 102 stores a second score of the media content;
the blockchain network 902 is configured to store the first score in a blockchain maintained by each node, and each node determines a composite score of the media content according to the first score and the second score;
the second client 903 is configured to send a score obtaining request to the blockchain network 902, receive a composite score of the requested media content from the blockchain network 902, and display the composite score.
In some examples, each node 102 in the blockchain network 902 stores therein data of a scoring option, and the first client 901 is further configured to send a scoring request message to the blockchain network 902;
the blockchain network 902 is further configured to send data of the scoring option to the first client 901 in response to the scoring request message;
the first client 901 is further configured to present a scoring option according to data of the scoring option, so as to receive a scoring operation of the user.
Based on the embodiment, different clients correspond to different scoring platforms, and after the scores of the same media content are uploaded to the blockchain network by each client, the same comprehensive score of the media content can be obtained from the blockchain network, so that the scores of the media content obtained by the different scoring platforms are consistent, and the technical problem that the scores of the media content are different when a user watches the same media content on the different scoring platforms is solved. In addition, the scores of the media contents are stored based on the blockchain network, so that the scores of the stored media contents are safer and more effective.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (15)

1. A method for scoring media content, comprising:
a first client receives scoring operation of a user on media content, and sends a first score of the media content to a first node corresponding to the first client in a block chain network, wherein the block chain network comprises the first node and at least one second node, a second score of the media content is stored in each node, and each node is assumed by a corresponding scoring platform;
the first node performs Hash calculation on the first score to obtain a first Hash value; encrypting the first hash value to obtain a signature; recording the first hash value in a new block; sending the signature, the first score and the new block to each second node;
each second node determines that the first score comes from the first node according to the signature and the first score, performs hash calculation on the first score, compares a calculated result with the first hash value recorded in the new block, and sends a first verification passing message to the first node and other second nodes when the comparison results are consistent;
for each node, when the number of the received first verification passing messages meets a preset condition, saving the first score, and determining a comprehensive score of the media content according to the first score and the second score; and a process for the preparation of a coating,
the second client sends a score acquisition request to the blockchain network, receives a composite score of the requested media content from the blockchain network, and displays the received composite score.
2. The method of claim 1, wherein said recording the first hash value in a new chunk comprises: storing the first hash value as a merkle root in a chunk header.
3. The method of claim 1, wherein the encrypting the first hash value to obtain a signature comprises:
and encrypting the first hash value through a private key of the first node to obtain the signature.
4. The method of claim 1, further comprising:
and when the comparison result is consistent, determining that the first score is not tampered in the transmission process.
5. The method of claim 1, wherein each node has stored therein an average score for the media content, the method further comprising:
for each node, before feeding back the first verification passing message to other nodes, determining a difference value between the first score and the average score, and feeding back the first verification passing message when the difference value does not exceed a threshold value.
6. The method of claim 1, wherein said saving said first score comprises:
and saving the first score and the characteristic value of the last block in the blockchain of the first node into the new block, and adding the new block into the blockchain of the node, wherein the characteristic value represents the data stored in the last block.
7. The method of claim 1, wherein each node in the blockchain network has stored therein data for a scoring option, the method further comprising:
the first client sends a grading request message to the blockchain network;
the blockchain network responds to the grading request message and sends the data of the grading option to the first client;
and the first client displays the grading options according to the data of the grading options so as to receive grading operation of the user.
8. The method according to claim 7, wherein the scoring options include professional scoring options and general scoring options, the scoring request message carries a user identifier of the first client,
the sending the data of the scoring options to the first client comprises:
when the user identification indicates that the user is a professional, the first node sends data of the professional scoring option to the first client so that the user can provide professional scoring according to the professional scoring option;
and when the user identification indicates that the user is a common person, the first node sends the data of the common scoring option to the first client so that the user provides common scoring according to the common scoring option.
9. The method of claim 8, wherein the composite score comprises a first composite score, a second composite score, and a third composite score, and wherein determining the composite score for the media content based on the first score and the second score comprises:
determining the first composite score according to the stored one or more common scores;
determining the second composite score according to the stored one or more professional scores;
and determining the third comprehensive score according to the first comprehensive score and the second comprehensive score.
10. The method of claim 1, further comprising:
the third client sends the data of the new grading option to the blockchain network;
and the blockchain network stores the data of the new scoring option in a blockchain maintained by each node.
11. The method of claim 10, wherein the blockchain network storing data of the new scoring option in blockchains maintained by each node comprises:
each node acquires the data of the new grading option;
verifying the data of the new grading option aiming at each node, and sending a second verification passing message to other nodes except the node after the verification passes;
and receiving the second verification passing messages fed back by other nodes aiming at each node, and saving the data of the new scoring option when the number of the received second verification passing messages reaches a threshold value.
12. A grading processing system of media content is characterized by comprising a first client, a second client and a block chain network, wherein,
the first client is used for receiving scoring operation of a user on media content, and sending a first score of the media content to a first node corresponding to the first client in the blockchain network, wherein the blockchain network comprises the first node and at least one second node, a second score of the media content is stored in each node, and each node is assumed by a corresponding scoring platform;
the block chain network is configured to perform hash calculation on the first score by the first node to obtain a first hash value; encrypting the first hash value to obtain a signature; recording the first hash value in a new block; sending the signature, the first score and the new block to each second node; each second node determines that the first score comes from the first node according to the signature and the first score, performs hash calculation on the first score, compares a calculated result with the first hash value recorded in the new block, and sends a first verification passing message to the first node and other second nodes when the comparison results are consistent; for each node, when the number of the received first verification passing messages meets a preset condition, saving the first score, and determining a comprehensive score of the media content according to the first score and the second score;
the second client is configured to send a score acquisition request to the blockchain network, receive a composite score of the requested media content from the blockchain network, and display the received composite score.
13. The system of claim 12, wherein each node in the blockchain network has stored therein data for a scoring option,
the first client is further configured to send a scoring request message to the blockchain network;
the blockchain network is further used for responding to the grading request message and sending the data of the grading option to the first client;
the first client is further used for displaying the grading options according to the data of the grading options so as to receive grading operation of the user.
14. A computer-readable storage medium having computer-readable instructions stored thereon for causing at least one processor to perform the method of any one of claims 1-11.
15. A computing device comprising a memory and a processor, the memory having stored therein computer-readable instructions that, when executed by the processor, implement the method of any of claims 1 to 11.
CN201910875874.4A 2018-07-24 2018-07-24 Grading processing method, system and storage medium of media content Active CN110598010B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910875874.4A CN110598010B (en) 2018-07-24 2018-07-24 Grading processing method, system and storage medium of media content

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810819815.0A CN110309325B (en) 2018-07-24 2018-07-24 Data processing method and device based on block chain and storage medium
CN201910875874.4A CN110598010B (en) 2018-07-24 2018-07-24 Grading processing method, system and storage medium of media content

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201810819815.0A Division CN110309325B (en) 2018-07-24 2018-07-24 Data processing method and device based on block chain and storage medium

Publications (2)

Publication Number Publication Date
CN110598010A CN110598010A (en) 2019-12-20
CN110598010B true CN110598010B (en) 2021-04-30

Family

ID=68074033

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201810819815.0A Active CN110309325B (en) 2018-07-24 2018-07-24 Data processing method and device based on block chain and storage medium
CN201910875874.4A Active CN110598010B (en) 2018-07-24 2018-07-24 Grading processing method, system and storage medium of media content

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201810819815.0A Active CN110309325B (en) 2018-07-24 2018-07-24 Data processing method and device based on block chain and storage medium

Country Status (1)

Country Link
CN (2) CN110309325B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111209540B (en) * 2020-01-03 2021-06-01 腾讯科技(深圳)有限公司 Information verification method, device and storage medium
CN111314151B (en) * 2020-02-27 2023-08-08 腾讯科技(深圳)有限公司 Node management method, node management device, electronic equipment and computer readable storage medium
CN113938702A (en) 2020-07-13 2022-01-14 富泰华工业(深圳)有限公司 Multimedia data stream tamper-proof device, method and medium based on block chain system
CN113051085A (en) * 2020-12-28 2021-06-29 北京达佳互联信息技术有限公司 Service calling method, device, server and storage medium
CN113242131B (en) * 2021-04-22 2023-10-24 卓尔智联(武汉)研究院有限公司 Block chain crossing method and device, electronic equipment and storage medium
CN113656405B (en) * 2021-08-10 2023-08-18 湖南天河国云科技有限公司 Method and device for sharing on-chain radar map co-construction based on block chain

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102693242A (en) * 2011-03-25 2012-09-26 开心人网络科技(北京)有限公司 Network comment information sharing method and system
CN103678626A (en) * 2013-12-18 2014-03-26 北京奇虎科技有限公司 Website commenting method and device
CN103731685A (en) * 2013-12-27 2014-04-16 乐视网信息技术(北京)股份有限公司 Method and system for synchronous communication with video played on client side
CN104599274A (en) * 2015-01-23 2015-05-06 宇龙计算机通信科技(深圳)有限公司 Image quality evaluation method and device
CN106303715A (en) * 2016-08-25 2017-01-04 乐视控股(北京)有限公司 barrage storage processing method and device
CA2938519A1 (en) * 2015-08-13 2017-02-13 Perry Aaron Jones Haldenby Secure real-time product ownership tracking using distributed electronic ledgers
CN108154400A (en) * 2018-01-11 2018-06-12 杭州秘猿科技有限公司 The evaluation method and system of e-commerce based on block chain

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015135018A1 (en) * 2014-03-11 2015-09-17 Faithhill Ventures Ltd Computer implemented frameworks and methods configured to create and manage a virtual currency
CN106788987A (en) * 2016-11-28 2017-05-31 树读(上海)信息科技有限公司 A kind of collage-credit data based on block chain is shared and transaction system
CN106650494B (en) * 2016-12-16 2019-07-16 杭州嘉楠耘智信息科技有限公司 A kind of data processing method and device
CN107516245A (en) * 2017-08-25 2017-12-26 苏州点阵信息科技有限公司 The information processing method of resource content evaluation platform based on block chain technology
CN108304486A (en) * 2017-12-29 2018-07-20 北京欧链科技有限公司 A kind of data processing method and device based on block chain
CN108256965A (en) * 2018-01-11 2018-07-06 杭州秘猿科技有限公司 A kind of distributed electronic business plateform system based on block chain

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102693242A (en) * 2011-03-25 2012-09-26 开心人网络科技(北京)有限公司 Network comment information sharing method and system
CN103678626A (en) * 2013-12-18 2014-03-26 北京奇虎科技有限公司 Website commenting method and device
CN103731685A (en) * 2013-12-27 2014-04-16 乐视网信息技术(北京)股份有限公司 Method and system for synchronous communication with video played on client side
CN104599274A (en) * 2015-01-23 2015-05-06 宇龙计算机通信科技(深圳)有限公司 Image quality evaluation method and device
CA2938519A1 (en) * 2015-08-13 2017-02-13 Perry Aaron Jones Haldenby Secure real-time product ownership tracking using distributed electronic ledgers
CN106303715A (en) * 2016-08-25 2017-01-04 乐视控股(北京)有限公司 barrage storage processing method and device
CN108154400A (en) * 2018-01-11 2018-06-12 杭州秘猿科技有限公司 The evaluation method and system of e-commerce based on block chain

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
"BlockChain Technology";Michael Crosby ET AL.;《https://scet.berkeley.edu/wp-content/uploads/BlockchainPaper.pdf》;20151016;第1-35页 *
"去中心化的分布式存储模型";郝琨 等;《计算机工程与应用》;20171215(第24期);第1-7页 *
"基于区块链的可信学位查询系统的关键技术实现";方兴书;《中国优秀硕士学位论文全文数据库 信息科技辑》;20180115(第01期);I138-822 *

Also Published As

Publication number Publication date
CN110309325B (en) 2021-07-16
CN110598010A (en) 2019-12-20
CN110309325A (en) 2019-10-08

Similar Documents

Publication Publication Date Title
CN110598010B (en) Grading processing method, system and storage medium of media content
US11153290B2 (en) Advanced security protocol for broadcasting and synchronizing shared folders over local area network
CN110400221B (en) Data processing method, system, storage medium and computer equipment
US10645430B2 (en) Reducing time to first encrypted frame in a content stream
EP3404891B1 (en) Method and system for distributing digital content in peer-to-peer network
US10764047B2 (en) Synchronizable hardware security module
CN109361734B (en) Data processing method, device, equipment and medium for block chain
JP6779389B2 (en) Processing and storage of blockchain data in a reliable execution environment
TWI732620B (en) Method, system and apparatus for managing blockchain-based centralized ledger systems
US11343081B2 (en) Synchronizable hardware security module
CN108040065B (en) Login-free method and device after webpage skipping, computer equipment and storage medium
JP6980131B2 (en) Asynchronous processing of blockchain blocks
CN112581126A (en) Block chain-based platform data management method and device and storage medium
US8995669B1 (en) Updating shared keys
US10887294B2 (en) Synchronizable hardware security module
US20230262126A1 (en) Blockchain-based data processing method and apparatus, device, and readable storage medium
TWI736349B (en) Method, system and apparatus for managing blockchain-based centralized ledger systems
CN111183427A (en) Centralized account book system based on block chain management
EP3627361B1 (en) Media content control
US11695546B2 (en) Decoupled custom event system based on ephemeral tokens for enabling secure custom services on a digital audio stream
CN110012319B (en) Authentication method and device for video stream address

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40015521

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant