CN116962759A - Method and device for linking playing equipment, equipment and storage medium - Google Patents

Method and device for linking playing equipment, equipment and storage medium Download PDF

Info

Publication number
CN116962759A
CN116962759A CN202210933672.2A CN202210933672A CN116962759A CN 116962759 A CN116962759 A CN 116962759A CN 202210933672 A CN202210933672 A CN 202210933672A CN 116962759 A CN116962759 A CN 116962759A
Authority
CN
China
Prior art keywords
playing
data
program
blockchain
condition
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210933672.2A
Other languages
Chinese (zh)
Inventor
程剑
陈维
姜晓
陈红良
刘静
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Hangzhou Information Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Hangzhou Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Hangzhou Information Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202210933672.2A priority Critical patent/CN116962759A/en
Publication of CN116962759A publication Critical patent/CN116962759A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • H04N21/2407Monitoring of transmitted content, e.g. distribution time, number of downloads
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/251Learning process for intelligent management, e.g. learning user preferences for recommending movies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44213Monitoring of end-user related data
    • H04N21/44222Analytics of user selections, e.g. selection of programs or purchase activity
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • Databases & Information Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Social Psychology (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The application provides a method and a device for linking playing equipment, equipment and a storage medium; wherein the method comprises the following steps: collecting play data of at least one first program; acquiring reference data corresponding to the play data from a blockchain according to the play data; under the condition that the similarity between the playing data and the reference data meets a first condition, adding the playing data and the reference data into the blockchain according to a DAG rule; therefore, the link-in speed of the first playing device is improved, and the efficiency of carrying out audience statistics by using the block chain subsequently is improved.

Description

Method and device for linking playing equipment, equipment and storage medium
Technical Field
The application relates to electronic technology, in particular to a method and a device for linking playing equipment, equipment and a storage medium.
Background
Viewing data is an important reference for program production, arrangement and adjustment in different market segments such as traditional digital televisions, internet broadband televisions, video websites and the like. The existing audience data statistical method includes diary card method, measuring instrument method, etc. the two methods are to select sampling users from small-scale samples, to record audience information manually or to collect audience data through observation instrument, to report to server for processing in preset time via telephone or wideband network, etc. the audience data statistical method has limited covered samples and the statistical data is easy to be tampered. Therefore, in recent years, a blockchain-based audience statistics method has been proposed, in which audience data is added to a blockchain, and the accuracy of audience statistics is improved by the characteristic that the data on the blockchain is not easy to tamper with, but the method also has the problem of low audience statistics efficiency.
Disclosure of Invention
In view of this, the method, apparatus, device and storage medium for linking in a playback device according to the present application add the playback device to the blockchain according to the directed acyclic graph (Directed Acyclic Graph, DAG) rule, thereby improving the linking speed of the playback device and improving the efficiency of performing audience statistics by using the blockchain subsequently.
According to an aspect of an embodiment of the present application, there is provided a method for linking a playback device, where the method is applied to a first playback device to be linked, and includes: collecting play data of at least one first program; acquiring reference data corresponding to the play data from a blockchain according to the play data; and adding the play data to the blockchain according to the DAG rule under the condition that the similarity between the play data and the reference data meets a first condition.
According to an aspect of an embodiment of the present application, there is provided a viewing statistics method, including: a fourth playing device for determining that the first program has been played on the pre-generated blockchain; the topological structure of the blockchain is a DAG, and the nodes of the DAG at least comprise the fourth playing device; acquiring the playing data of the first program recorded by the fourth playing device; and counting the viewing parameters of the first program at least according to the playing data of the first program.
According to an aspect of an embodiment of the present application, there is provided a play device in-link apparatus, including: the acquisition module is used for acquiring play data of at least one first program; the first acquisition module is used for acquiring reference data corresponding to the play data from a blockchain according to the play data; and the chaining module is used for adding the playing data to the blockchain according to the DAG rule under the condition that the similarity between the playing data and the reference data meets a first condition.
According to an aspect of an embodiment of the present application, there is provided a viewing statistics apparatus comprising: a determining module, configured to determine a fourth playback device that has played the first program on the pre-generated blockchain; the topological structure of the blockchain is a DAG, and the nodes of the DAG at least comprise the fourth playing device; the second acquisition module is used for acquiring the playing data of the first program recorded by the fourth playing device; and the statistics module is used for counting the viewing parameters of the first program at least according to the playing data of the first program.
According to an aspect of an embodiment of the present application, there is provided an electronic device including a memory and a processor, the memory storing a computer program executable on the processor, the processor implementing the method according to the embodiment of the present application when executing the program.
According to an aspect of an embodiment of the present application, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method provided by the embodiment of the present application.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application. It is evident that the drawings in the following description are only some embodiments of the present application and that other drawings may be obtained from these drawings without inventive effort for a person of ordinary skill in the art.
The flow diagrams depicted in the figures are exemplary only, and do not necessarily include all of the elements and operations/steps, nor must they be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the order of actual execution may be changed according to actual situations.
Fig. 1 is a schematic implementation flow chart of a linking method of a playing device according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a topology of a DAG blockchain network according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a topology of another DAG blockchain network provided by an embodiment of the present application;
fig. 4 is a schematic implementation flow chart of a linking method of a playback device according to an embodiment of the present application;
fig. 5 is a schematic view of viewing data information according to an embodiment of the present application;
fig. 6 is a schematic diagram of a viewing data information processing flow provided in an embodiment of the present application;
FIG. 7 is a schematic diagram of a blockchain network topology according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a linking device of a playing device according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of an audience statistics apparatus according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of still another electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application more apparent, the specific technical solutions of the present application will be described in further detail below with reference to the accompanying drawings in the embodiments of the present application. The following examples are illustrative of the application and are not intended to limit the scope of the application.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of the application only and is not intended to be limiting of the application.
In the following description reference is made to "some embodiments," "this embodiment," "an embodiment of the application," and examples, etc., which describe a subset of all possible embodiments, but it is to be understood that "some embodiments" may be the same subset or different subsets of all possible embodiments and may be combined with one another without conflict.
The network architecture and the service scenario described in the embodiments of the present application are for more clearly describing the technical solution of the embodiments of the present application, and do not constitute a limitation on the technical solution provided by the embodiments of the present application. As can be known to those skilled in the art, with the evolution of the network architecture and the appearance of new service scenarios, the technical solution provided by the embodiment of the present application is also applicable to similar technical problems.
The embodiment of the application provides a method for linking a playing device, which is applied to a first playing device to be linked, wherein the first playing device at least has data processing capability in the implementation process, and can be various types of devices with playing capability such as video, voice, characters or pictures, and the like, for example, the first playing device can comprise a mobile phone, a tablet personal computer, a notebook personal computer, a desktop personal computer, an intelligent television and the like. The functions performed by the method may be performed by a processor in a first playback device, which comprises at least the processor and the storage medium, invoking program code, which of course may be stored in a computer storage medium.
Fig. 1 is a schematic implementation flow chart of a linking method of a playing device according to an embodiment of the present application, as shown in fig. 1, the method may include the following steps 101 to 103:
step 101, collecting play data of at least one first program.
In some embodiments, the first playback device includes a data acquisition module; the first playing device may collect the playing data of the at least one first program through the data collection module.
In some embodiments, the first playing device may automatically trigger the viewing data statistics program in the data acquisition module when playing the first program, where the viewing data statistics program records at least the playing data of the first program.
In some embodiments, the playing data of the first program includes at least one frame of playing image of the first program; the at least one frame of playing image can be a video frame image with or including key information selected from playing fragments of the first program; the key information may include a director of a man or woman, etc. The format of the play images in the data acquisition module can be bmp, jpg, png, or the like.
In some embodiments, the playback data of the first program further includes time location information of the at least one frame of playback image in the first program.
In some embodiments, the data collection module may also record program information for the first program based on the viewing data statistics program; the program information comprises program names, program time lengths, program staff members and the like.
In some embodiments, the data collection module may further record device information for the first playback device based on the viewing data statistics program; the device information includes a device type and a media access control address (Media Access Control Address, MAC) and the like; the device types comprise intelligent televisions, mobile phones, tablet computers, notebook computers, desktops and the like, and the device types can be used for knowing the program viewing paths of audiences; the MAC address may be used as a unique identifier for the first playback device.
In some embodiments, the first playing device further includes a storage module, and the playing data of the first program, the program information of the first program, and the device information of the first playing device collected by the data collection module may be used as viewing data information of the first program, where the storage module packages and compresses the viewing data information and stores the viewing data information.
Step 102, according to the play data, obtaining the reference data corresponding to the play data from the blockchain.
In some embodiments, the first playback device further comprises a data processing module. The storage module of the playing device marks the audience data information acquired by the data acquisition module as unprocessed data, sends the unprocessed data to the data processing module, requests the data processing module to process, and marks the audience data information processed by the data processing module as processed data.
In some embodiments, the data processing module hashes at least one frame of play image in the play data of the first program in the viewing data information to obtain at least one first hash value; the first playing device broadcasts the program name of the first program and the time position information of each playing image in the first program, and at least one third playing device on a request block chain provides the second hash value of the reference image corresponding to each playing image in the first program to the first playing device according to the broadcast content.
In some embodiments, the third playback device may be a playback device that plays back the first program on the blockchain, or may be another playback device that does not play back the first program on the blockchain, i.e., the third playback device may be any playback device on the blockchain. It can be understood that, after the first program is on-line on the relevant platform, any playback device on the blockchain has the authority to view and retrieve the first program, so that the third playback device can obtain the reference image corresponding to the playback image in the first program according to the program name of the first program broadcasted by the first playback device and the time position of each playback image in the first program, and then send the second hash value of each reference image to the first playback device.
In the embodiment of the present application, the hash algorithm used for performing the hash processing on the playing image may be an average hash algorithm, a perceptual hash algorithm, or a difference hash algorithm, which is not limited in the embodiment of the present application; after processing the playing image by using a hash algorithm, a binary value with a fixed length, namely a first hash value, can be obtained; the first hash value obtained according to the hash algorithm has uniqueness and unpredictability, and if the played image is changed or tampered, the generated hash value is far from the previous hash value, so that whether the played image is a tampered image can be judged relatively easily, and the accuracy of viewing data is ensured.
In some embodiments, the data processing module may determine the similarity of the playback image and the reference image according to the similarity of the first hash value and the second hash value.
As can be appreciated, after receiving the second hash value of the reference image sent by the at least one third playing device, the data processing module performs similarity calculation with the corresponding first hash value; for example, the data processing module may calculate the similarity between the first hash value and the second hash value according to the hamming distance calculation method, where the calculation method is as shown in the following formula (1):
Wherein d (x, y) represents the similarity between the ith playing image and the corresponding reference image; x [ i ] represents a first hash value of an ith play image; y [ i ] represents a second hash value of the reference image corresponding to the i-th play picture.
And step 103, adding the play data to the blockchain according to the DAG rule under the condition that the similarity between the play data and the reference data meets a first condition.
It can be appreciated that in the embodiment of the present application, the first playing device is directly added to the blockchain, and the miners are not required to package the playing data into blocks, and the blocks are added to the blockchain; the block chain of the embodiment of the application has no concept of 'blocks', and does not need miner packing, so that the handling cost is saved, and the data processing speed is improved.
In some embodiments, in a case that the similarity between the M frames of the play image and the corresponding reference image is greater than or equal to a first threshold, determining that the similarity between the play data and the reference data satisfies a first condition; wherein M is greater than or equal to 1 and less than or equal to the number of the played images, namely, M is greater than or equal to 1 and less than or equal to the number of the played images; the first threshold value can be preset according to actual requirements.
In some embodiments, if the similarity between the play data and the reference data meets a first condition, that is, when the similarity between the M-frame play image and the reference image corresponding to the M-frame play image is greater than or equal to a first threshold, requesting consensus verification from N second play devices on the blockchain; wherein N is greater than or equal to 1 and less than or equal to the number of playback devices on the blockchain; i.e., 1.ltoreq.N.ltoreq.the number of playback devices on the blockchain. And under the condition that the first playing device passes the common identification verification of the N second playing devices, connecting the first playing device with the N second playing devices according to a first direction.
In some embodiments, the first direction is from a first playback device to a second playback device.
In some embodiments, the data processing module notifies the in-link module of the first playing device to add the first playing device to the blockchain after confirming that the similarity between the playing data and the reference data meets the first condition, so as to avoid tampering of the viewing data in the first playing device when the viewing parameters are counted.
In some embodiments, before a first playing device to be first in-linked enters the chain, the blockchain comprises at least one creating playing device, when the first playing device is added to the blockchain, the first playing device performs consensus verification with part or all of the creating playing devices, and after the verification passes, the first playing device and the part or all of the creating playing devices are respectively connected in the same direction, namely, the first playing device enters the chain; when other subsequent first playing devices enter the chain, according to the same method, connecting the first playing device with N second playing devices on the block chain for common identification verification, wherein the second playing devices comprise creating playing devices; after the consensus verification is passed, the first playing device is respectively connected with the N second playing devices; wherein N is more than or equal to 1 and less than or equal to the number of playing devices on the blockchain, namely N second playing devices are part of playing devices on the blockchain; and the like, finally, each first playing device is chained into a chain to generate a blockchain with a DAG topological structure.
It should be noted that, in the embodiment of the present application, a playback device to be linked is referred to as a first playback device; after the first playing device enters the chain, the first playing device after entering the chain can be regarded as a second playing device on the block chain.
In the embodiment of the present application, the first playing device and N second playing devices on the blockchain are subjected to consensus verification, and after the consensus verification is passed, the first playing device is respectively connected with the corresponding N second playing devices, which may also be described as: the first playback device confirms the transaction with the N second playback devices. The embodiment of the present application is not limited thereto.
In some embodiments, when the first playback device is in-chain, the transaction may be confirmed with the first N second playback devices; fig. 2 is a schematic topological structure diagram of a DAG blockchain network according to an embodiment of the present application, as shown in fig. 3, when a first playback device 1 enters a chain, the first playback device 1 confirms a transaction with an originating playback device 1 and/or an originating playback device 2; when the first playing device 2 enters the chain, the first playing device 2 confirms the transaction with the creating playing device 2 and the first playing device node 1 after entering the chain; and by analogy, when the first playing device q enters the chain, the first playing device q and the first playing devices after the first two entering the chain confirm the transaction.
It will be appreciated that N is greater than or equal to 1 and less than the number of playback devices on the blockchain, i.e., the first playback device acknowledges the transaction with a portion of the playback devices on the blockchain when it enters the chain. Compared with the conventional blockchain, which needs to confirm transactions with all playing devices on the blockchain, the method improves the in-chain speed of the first playing device.
In other embodiments, the first playback device may acknowledge the transaction with any N second playback devices on the blockchain when it comes in-chain; fig. 3 is a schematic diagram of a topology of yet another DAG blockchain network according to an embodiment of the present application; when the first playing device 1 is in chain, the first playing device 1 can confirm the transaction with the creating playing device 1 and/or the creating playing device 2; when the first playing device 2 is in-chain, the first playing device 2 can confirm the transaction with the originating playing device 2 and the playing device node 1; when the first playing device 3 is in-chain, the first playing device 3 can confirm the transaction … with the originating playing device 1; and by analogy, confirming the transaction between the rest first playing devices and N arbitrary second playing devices corresponding to the rest first playing devices respectively, and generating a blockchain with a DAG topological structure.
It will be appreciated that in the above example, since the first playback device can confirm transactions with any N second playback devices, there is no need to confirm transactions in the in-chain order and the first N in-chain playback devices; therefore, a plurality of first playback devices can be supported to simultaneously and concurrently confirm transactions with N arbitrary second playback devices corresponding thereto. I.e. the playback device 1 acknowledges the transaction with the originating playback device and/or the originating playback device 2 and the playback device 3 acknowledges the transaction with the originating playback device 1 can be performed simultaneously, thus increasing the in-link speed of the first playback device.
In the embodiment of the present application, the playing device may also be described as a playing device node, and the originating device may also be described as an originating device node, an originating node, etc., which is not limited in this embodiment of the present application.
An embodiment of the present application provides a viewing statistics method, applied to an electronic device, and fig. 4 is a schematic diagram of an implementation flow of the viewing statistics method provided by the embodiment of the present application, as shown in fig. 4, where the method includes steps 401 to 403:
step 401, determining a fourth playing device on the pre-generated blockchain, which has played the first program; the topological structure of the blockchain is a DAG, and the nodes of the DAG at least comprise the fourth playing device;
Step 402, obtaining playing data of the first program recorded by the fourth playing device;
step 403, counting viewing parameters of the first program at least according to the playing data of the first program.
In some embodiments, the viewing parameters may include a rating and/or a click through rate. The viewing parameter of the first program during a time period may be determined based on a ratio of a number of fourth playback devices that played the first program over the blockchain over the time period to a number of all playback devices. The duration of the time period is not limited in the embodiment of the application.
It will be appreciated that the blockchain used to make the audience statistics is generated based on directed acyclic graph rules, thus increasing the transaction speed of the blockchain used to make the audience statistics and thus increasing the audience statistics speed.
Viewing data statistics refers to statistics of the audience rating or click rate of video programs, which refers to the percentage of the total number of viewers that watch a certain program in a period of time. In different market segments such as traditional digital televisions, internet broadband televisions, video websites and the like, audience rating and click rate are main indexes for evaluating program production effects and popularity, and are important references for program production, arrangement and adjustment.
Related audience data statistics methods, such as diary card method and measuring instrument method, are to select sampling users from small-scale samples, to collect audience data by manual recording audience information or by observation instrument, and to report to server for processing at preset time through telephone or broadband network. With the development of the blockchain technology, the characteristic that the blockchain cannot be tampered is also applied to the audience rating statistical method so as to improve the accuracy of audience ratings.
In the related audience data statistics method, the problems of limited number of covered samples, high data statistics cost, easy falsification of the counted data, low data accuracy and the like exist.
In some embodiments, a chain-based audience share statistics method employs a chain-based public blockchain. The method has the problems of low processing speed, high cost and the like, and particularly, along with the burst of the current massive short video content, how to accelerate the data processing speed and reduce the data processing cost is a new subject for viewing data statistics on the premise that the statistical sample size is not limited and the statistical data is not easy to tamper.
The embodiment of the application provides a viewing data statistics method and a viewing data statistics system based on a directed acyclic graph, which solve the problems in the viewing data statistics process by utilizing the characteristics of high processing speed, strong expansibility and high safety of the directed acyclic graph.
Video programs such as broadcast digital television, internet broadband television, mobile phone short video and the like show a hundred flowers and a complete state, and the quality of the video program production determines the popularity of the program. In some embodiments, a plurality of playing device nodes exist in a directed acyclic graph block chain, and the playing device nodes can form a directed acyclic graph block chain topological structure, and each playing device node at least comprises a data acquisition module, a data storage module, a data processing module and a link entering module, and is respectively responsible for acquiring, storing, processing and linking the playing device.
Based on this, an exemplary application of the embodiment of the present application in one practical application scenario will be described below.
Fig. 5 is a schematic view of viewing data information provided in an embodiment of the present application, where as shown in fig. 5, a data acquisition module obtains device information of a first playback device, where the device information includes a device type and a MAC address, a timestamp of each first program, and program information of the first program. The program information contains the program name, the program duration, the program author (an example of a staff member) and key video frame fragments of the program, wherein the video frame fragments are saved in the form of pictures.
In some embodiments, the data collection module stores the viewing data information in the data storage module after it has been collected.
In some embodiments, the data processing module is responsible for processing the viewing data of the first program, and determining whether the viewing data meets the statistical requirement according to a preset condition;
in some embodiments, the in-link module performs an in-link operation according to a processing result of the data processing module on the viewing data, after the viewing data is verified successfully (for example, a similarity between the playing data of the first program and the reference data meets a first threshold), and synchronizes the viewing data information of the first program to other playing device nodes on the blockchain for accounting, so as to prevent the viewing data information from being tampered.
Fig. 6 is a schematic view of a viewing data information processing flow provided in an embodiment of the present application, where, as shown in fig. 6, the acquisition module packages and compresses the viewing data information of the first program, and stores the compressed viewing data information in the data storage module. The data storage module is responsible for storing the audience data information written by the acquisition module, marking the audience data information, dividing the audience data information into processed data and unprocessed data, marking the audience data information just written by the data acquisition module as unprocessed data, marking the audience data information processed by the data processing module as processed data, and sending a data processing request signal to the data processing module by the data storage module when unprocessed data is stored, and requesting the data processing module to process the audience data information. The data processing module processes the unprocessed data and then stores the processed data in the data storage module, and the data processing module notifies the linking module to carry out linking operation after the audience data information is successfully checked and accepted.
In some embodiments, the viewing data is processed, that is, at least one frame of playing image in the playing data of the first program is hashed, and whether the similarity between the playing image and the corresponding reference image meets a first threshold is determined.
In some embodiments, after receiving a data processing request signal sent by the storage module, the data processing module reads playing data of the first program from the storage module, and performs Hash (Hash) processing on a playing image in the playing data to obtain a first Hash value. The first playback device node sends the program name of the first program and the time position information of the played image in a broadcast mode, and a third playback device node on the request block chain assists in providing the Hash value of the reference image at the corresponding time in the first program so as to carry out audience data acceptance. After receiving the second Hash value of the reference image, the data processing module performs image similarity calculation on the second Hash value and the first Hash value of the corresponding playing image, and a Hamming distance meter can be used for calculating the similarity of the two Hash values. And presetting a threshold mu in the data processing module, and if d (x, y) is less than or equal to mu, indicating that the similarity between the playing data and the reference data meets a first condition, namely successful acceptance of the viewing data.
In some embodiments, the data processing module calculates a Hash value of the played image and the corresponding reference image through the hamming distance, and notifies the chaining module to execute the chaining operation in the blockchain after the successful acceptance of the viewing data is determined, so that the first playing device is added into the directed acyclic graph blockchain network.
In some embodiments, as shown in fig. 2, when the first playback device node 1 is in the chain, the transactions with the originating device node 1 and the originating device node 2 are confirmed, and when the 2 nd first playback device node 2 is in the chain, the transactions with the originating device node 2 and the first playback node 1 are confirmed; and so on until the qth first playback device node joins the directed acyclic graph.
In some embodiments, the nodes in the directed acyclic blockchain topology may be other device types, such as program servers and the like.
The embodiment of the application provides a viewing data statistics method and a system based on a directed acyclic graph, which use the directed acyclic graph technology in viewing data statistics such as audience rating and the like, divide playing equipment into an acquisition module, a storage module, a processing module and a chaining module, and package the viewing data into a directed acyclic graph blockchain network after the processing module successfully accepts the viewing data.
The embodiment of the application improves the number of the statistical samples, increases the correctness and safety of the statistical data and prevents the viewing data from being tampered.
FIG. 7 is a schematic diagram of a network topology of a blockchain according to an embodiment of the present application, in the blockchain of the directed acyclic graph used in the embodiment, no labor is required, no handling fee is required, and the playback device node performs a transaction with a part of the device nodes on the blockchain, and no transaction is required for all the nodes like the blockchain shown in FIG. 7, thereby increasing the processing speed; because a large number of transactions among all the nodes are avoided and no commission is available, the power consumption in the process of acquiring the accounting rights by the equipment nodes can be reduced to a large extent.
It will be appreciated that in the embodiments of the present application, related data such as user information is involved, when the embodiments of the present application are applied to specific product technologies, user permissions or agreements need to be obtained, and the collection, use and processing of related data need to comply with related laws and regulations and standards of related countries and regions.
It should be noted that although the steps of the methods of the present application are depicted in the accompanying drawings in a particular order, this does not require or imply that the steps must be performed in that particular order, or that all illustrated steps be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step to be performed, and/or one step decomposed into multiple steps to be performed, etc.; or, the steps in different embodiments are combined into a new technical scheme.
Based on the foregoing embodiments, the embodiments of the present application provide a linking device for a playback device, where the linking device includes each module included, and each unit included in each module may be implemented by a processor; of course, the method can also be realized by a specific logic circuit; in an implementation, the processor may be a Central Processing Unit (CPU), a Microprocessor (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like.
Fig. 8 is a schematic structural diagram of a linking device of a playing device according to an embodiment of the present application, as shown in fig. 8, where, the device 80 includes an acquisition module 81, a first acquisition module 82, and a linking module 83, where:
an acquisition module 81 for acquiring play data of at least one first program;
a first obtaining module 82, configured to obtain, according to the play data, reference data corresponding to the play data from a blockchain;
and the chaining module 83 is configured to add itself to the blockchain according to a DAG rule when the similarity between the play data and the reference data satisfies a first condition.
In some embodiments, the in-link module 83 is configured to request consensus verification from N second playback devices on the blockchain if the similarity between the playback data and the reference data satisfies a first condition; wherein N is greater than or equal to 1 and less than the number of playback devices on the blockchain; and under the condition that the first playing device passes the common identification verification of the N second playing devices, connecting the first playing device with the N second playing devices according to a first direction.
In some embodiments, the playing data includes at least one frame of playing image of the first program, and the apparatus 80 further includes a determining module, configured to determine that the similarity between the playing data and the reference data satisfies a first condition when the similarity between the playing image of M frames and the corresponding reference image is greater than or equal to a first threshold; wherein M is greater than or equal to 1 and less than or equal to the number of play images.
In some embodiments, the apparatus 80 further includes a processing module and a broadcasting module, where the processing module is configured to perform hash processing on the playing image to obtain a first hash value; the broadcasting module is used for broadcasting at least time position information of the playing image in the first program so that at least one third playing device on the blockchain provides a second hash value of a reference image corresponding to the playing image in the first program for the first playing device according to broadcasting content; the determining module is configured to determine, according to the similarity between the first hash value and the second hash value, the similarity between the playing image and the reference image.
Based on the foregoing embodiments, the embodiments of the present application provide a viewing statistics apparatus, where the apparatus includes each module included, and each unit included in each module may be implemented by a processor; of course, the method can also be realized by a specific logic circuit; in an implementation, the processor may be a Central Processing Unit (CPU), a Microprocessor (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like.
Fig. 9 is a schematic structural diagram of an audience statistics apparatus provided in an embodiment of the present application, as shown in fig. 9, the apparatus 90 includes a determining module 91, a second obtaining module 92, and a statistics module 93, where:
a determining module 91, configured to determine a fourth playback device that has played back the first program on the pre-generated blockchain; the topological structure of the blockchain is a DAG, and the nodes of the DAG at least comprise the fourth playing device;
a second obtaining module 92, configured to obtain playing data of the first program recorded by the fourth playing device;
and the statistics module 93 is configured to count viewing parameters of the first program at least according to the playing data of the first program.
In some embodiments, the viewing parameters include a rating and/or a click through rate.
The description of the apparatus embodiments above is similar to that of the method embodiments above, with similar advantageous effects as the method embodiments. For technical details not disclosed in the embodiments of the apparatus of the present application, please refer to the description of the embodiments of the method of the present application.
It should be noted that, in the embodiment of the present application, the module division by the linking device of the playing device shown in fig. 8 and the viewing statistics device shown in fig. 9 is schematic, and only one logic function division may be implemented in another division manner. In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units. Or in a combination of software and hardware.
It should be noted that, in the embodiment of the present application, if the method is implemented in the form of a software functional module, and sold or used as a separate product, the method may also be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partly contributing to the related art, embodied in the form of a software product stored in a storage medium, including several instructions for causing an electronic device to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read Only Memory (ROM), a magnetic disk, an optical disk, or other various media capable of storing program codes. Thus, embodiments of the application are not limited to any specific combination of hardware and software.
An embodiment of the present application provides an electronic device, fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application, as shown in fig. 10, where the electronic device 100 includes a memory 101 and a processor 102, and the memory 101 stores a computer program that can be run on the processor 102, and the processor 102 implements steps in the method provided in the foregoing embodiment when executing the program.
It should be noted that, the memory 101 is configured to store instructions and applications executable by the processor 102, and may also be implemented by a FLASH memory (FLASH) or a random access memory (Random Access Memory, RAM), and may also cache data (e.g., image data, audio data, voice communication data, and video communication data) to be processed or already processed by each module in the processor 102 and the electronic device 100.
An embodiment of the present application provides an electronic device, and fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present application, as shown in fig. 11, where the electronic device 110 includes a memory 111 and a processor 112, and the memory 111 stores a computer program that can be run on the processor 112, and the processor 112 implements steps in the method provided in the foregoing embodiment when executing the program.
It should be noted that, the memory 111 is configured to store instructions and applications executable by the processor 112, and may also cache data (such as image data, audio data, voice communication data, and video communication data) to be processed or already processed by each module in the processor 112 and the electronic device 110, which may be implemented by a FLASH memory (FLASH) or a random access memory (Random Access Memory, RAM).
An embodiment of the present application provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method provided in the above-described embodiment.
Embodiments of the present application provide a computer program product comprising instructions which, when run on a computer, cause the computer to perform the steps of the method provided by the method embodiments described above.
It should be noted here that: the description of the storage medium and apparatus embodiments above is similar to that of the method embodiments described above, with similar benefits as the method embodiments. For technical details not disclosed in the storage medium, the storage medium and the device embodiments of the present application, please refer to the description of the method embodiments of the present application.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" or "some embodiments" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" or "in some embodiments" in various places throughout this specification are not necessarily referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in various embodiments of the present application, the sequence numbers of the foregoing processes do not mean the order of execution, and the order of execution of the processes should be determined by the functions and internal logic thereof, and should not constitute any limitation on the implementation process of the embodiments of the present application. The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments. The foregoing description of various embodiments is intended to highlight differences between the various embodiments, which may be the same or similar to each other by reference, and is not repeated herein for the sake of brevity.
The term "and/or" is herein merely an association relation describing associated objects, meaning that there may be three relations, e.g. object a and/or object B, may represent: there are three cases where object a alone exists, object a and object B together, and object B alone exists.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments are merely illustrative, and the division of the modules is merely a logical function division, and other divisions may be implemented in practice, such as: multiple modules or components may be combined, or may be integrated into another system, or some features may be omitted, or not performed. In addition, the various components shown or discussed may be coupled or directly coupled or communicatively coupled to each other via some interface, whether indirectly coupled or communicatively coupled to devices or modules, whether electrically, mechanically, or otherwise.
The modules described above as separate components may or may not be physically separate, and components shown as modules may or may not be physical modules; can be located in one place or distributed to a plurality of network units; some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional module in each embodiment of the present application may be integrated in one processing unit, or each module may be separately used as one unit, or two or more modules may be integrated in one unit; the integrated modules may be implemented in hardware or in hardware plus software functional units.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the above method embodiments may be implemented by hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, where the program, when executed, performs steps including the above method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read Only Memory (ROM), a magnetic disk or an optical disk, or the like, which can store program codes.
Alternatively, the above-described integrated units of the present application may be stored in a computer-readable storage medium if implemented in the form of software functional modules and sold or used as separate products. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partly contributing to the related art, embodied in the form of a software product stored in a storage medium, including several instructions for causing an electronic device to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a removable storage device, a ROM, a magnetic disk, or an optical disk.
The methods disclosed in the method embodiments provided by the application can be arbitrarily combined under the condition of no conflict to obtain a new method embodiment.
The features disclosed in the several product embodiments provided by the application can be combined arbitrarily under the condition of no conflict to obtain new product embodiments.
The features disclosed in the embodiments of the method or the apparatus provided by the application can be arbitrarily combined without conflict to obtain new embodiments of the method or the apparatus.
The foregoing is merely an embodiment of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A method for linking a playback device to a first playback device to be linked, the method comprising:
collecting play data of at least one first program;
acquiring reference data corresponding to the play data from a blockchain according to the play data;
and adding the play data to the blockchain according to the DAG rule under the condition that the similarity between the play data and the reference data meets a first condition.
2. The method according to claim 1, wherein, in the case where the similarity between the play data and the reference data satisfies the first condition, the method includes:
under the condition that the similarity between the playing data and the reference data meets a first condition, requesting consensus verification from N second playing devices on the blockchain; wherein N is greater than or equal to 1 and less than the number of playback devices on the blockchain;
And under the condition that the first playing device passes the common identification verification of the N second playing devices, connecting the first playing device with the N second playing devices according to a first direction.
3. The method according to claim 1 or 2, wherein the play data comprises at least one frame of a play image of the first program;
under the condition that the similarity between the playing image of the M frames and the corresponding reference image is larger than or equal to a first threshold value, determining that the similarity between the playing data and the reference data meets a first condition; wherein M is greater than or equal to 1 and less than or equal to the number of play images.
4. The method of claim 3, wherein the step of,
carrying out hash processing on the playing image to obtain a first hash value;
broadcasting at least time position information of the playing image in the first program so that at least one third playing device on the blockchain provides a second hash value of a reference image corresponding to the playing image in the first program for the first playing device according to broadcast content;
and determining the similarity of the playing image and the reference image according to the similarity of the first hash value and the second hash value.
5. A viewing statistics method, comprising:
a fourth playing device for determining that the first program has been played on the pre-generated blockchain; the topological structure of the blockchain is a DAG, and the nodes of the DAG at least comprise the fourth playing device;
acquiring the playing data of the first program recorded by the fourth playing device;
and counting the viewing parameters of the first program at least according to the playing data of the first program.
6. The method of claim 5, wherein the viewing parameters include a rating and/or a click through rate.
7. A playback device chaining apparatus, comprising:
the acquisition module is used for acquiring play data of at least one first program;
the first acquisition module is used for acquiring reference data corresponding to the play data from a blockchain according to the play data;
and the chaining module is used for adding the playing data to the blockchain according to the DAG rule under the condition that the similarity between the playing data and the reference data meets a first condition.
8. A viewing statistics apparatus, comprising:
a determining module, configured to determine a fourth playback device that has played the first program on the pre-generated blockchain; the topological structure of the blockchain is a DAG, and the nodes of the DAG at least comprise the fourth playing device;
The second acquisition module is used for acquiring the playing data of the first program recorded by the fourth playing device;
and the statistics module is used for counting the viewing parameters of the first program at least according to the playing data of the first program.
9. An electronic device comprising a memory and a processor, the memory storing a computer program executable on the processor, wherein the processor implements the method of any one of claims 1 to 4 when executing the program or the processor implements the method of claim 5 when executing the program.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the method according to any one of claims 1 to 4, or the computer program, when being executed by a processor, implements the method according to claim 5.
CN202210933672.2A 2022-08-04 2022-08-04 Method and device for linking playing equipment, equipment and storage medium Pending CN116962759A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210933672.2A CN116962759A (en) 2022-08-04 2022-08-04 Method and device for linking playing equipment, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210933672.2A CN116962759A (en) 2022-08-04 2022-08-04 Method and device for linking playing equipment, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116962759A true CN116962759A (en) 2023-10-27

Family

ID=88455309

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210933672.2A Pending CN116962759A (en) 2022-08-04 2022-08-04 Method and device for linking playing equipment, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116962759A (en)

Similar Documents

Publication Publication Date Title
US8959202B2 (en) Generating statistics of popular content
US20220408151A1 (en) Methods and apparatus to measure exposure to streaming media
CN105814901B (en) The method and apparatus for measuring and monitoring the exposure of Streaming Media
US8503991B2 (en) Methods and apparatus to monitor mobile devices
AU2012272876B2 (en) Methods and apparatus to measure exposure to streaming media
US20160073148A1 (en) Media customization based on environmental sensing
US11689769B2 (en) Methods and apparatus to measure exposure to streaming media
US20130291001A1 (en) Methods and apparatus to measure exposure to streaming media
US20040049681A1 (en) Time stamping and time stamp validity verification system, method and device in a digital broadcasting environment
WO2022052630A1 (en) Method and apparatus for processing multimedia information, and electronic device and storage medium
TW200939067A (en) A method and a system for identifying elementary content portions from an edited content
US20170185675A1 (en) Fingerprinting and matching of content of a multi-media file
CN112804574A (en) Multimedia content transmission and playing method and device
CN109963174B (en) Flow related index estimation method and device and computer readable storage medium
CN116962759A (en) Method and device for linking playing equipment, equipment and storage medium
CN111694986A (en) Video recommendation method and device, electronic equipment and storage medium
CN113569719B (en) Video infringement judging method and device, storage medium and electronic equipment
CN113873278B (en) Broadcast content auditing method and device and electronic equipment
CN112235592B (en) Live broadcast method, live broadcast processing method, device and computer equipment
CN113268690A (en) Method and system for safely filtering website short video playing information
CN114827731B (en) Advertisement delivery system and advertisement delivery method
CN114285611B (en) Content service system based on two-stage block chain
WO2017197817A1 (en) Data processing method and apparatus, electronic device and server
CN116844512A (en) Sound effect data structure generation method and device, electronic equipment and storage medium
CN114285611A (en) Content service system based on two-stage block chain

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