CN112148903A - Data processing method and device for content auditing - Google Patents

Data processing method and device for content auditing Download PDF

Info

Publication number
CN112148903A
CN112148903A CN202010968831.3A CN202010968831A CN112148903A CN 112148903 A CN112148903 A CN 112148903A CN 202010968831 A CN202010968831 A CN 202010968831A CN 112148903 A CN112148903 A CN 112148903A
Authority
CN
China
Prior art keywords
information
multimedia data
monitored object
characteristic information
block
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
CN202010968831.3A
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.)
JD Digital Technology Holdings Co Ltd
Original Assignee
JD Digital Technology Holdings 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 JD Digital Technology Holdings Co Ltd filed Critical JD Digital Technology Holdings Co Ltd
Priority to CN202010968831.3A priority Critical patent/CN112148903A/en
Publication of CN112148903A publication Critical patent/CN112148903A/en
Pending legal-status Critical Current

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/48Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/483Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Security & Cryptography (AREA)
  • Library & Information Science (AREA)
  • Computing Systems (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Storage Device Security (AREA)

Abstract

The application relates to a data processing method and a data processing device for content auditing, wherein the method comprises the following steps: acquiring first characteristic information corresponding to first multimedia data played by a monitored object; acquiring second characteristic information corresponding to the monitored object in a preset block chain; comparing the first characteristic information with the second characteristic information to obtain a consistency relation between the first multimedia data and the second multimedia data; and determining an auditing result corresponding to the monitored object according to the consistency relation. According to the method and the device, the content played by the monitored object is verified through the second multimedia information in the block chain, and the verification result is obtained, so that the characteristics of non-tampering and traceability can be achieved, and the follow-up maintenance and inspection work is facilitated; compared with manual inspection, the efficiency can be effectively improved; and the multimedia data monitoring is carried out without investing in additional monitoring equipment, so that the cost can be effectively reduced.

Description

Data processing method and device for content auditing
Technical Field
The present application relates to the field of intelligent monitoring technologies, and in particular, to a data processing method and apparatus for performing content auditing.
Background
In the prior art, the content played on the outdoor media terminal is previously checked by the auditor and then put on each screen. But this scheme can only guarantee compliance of the audited content. As for the actual played content of the outdoor media terminal, the actual played content cannot be known, and in the prior art, there is a method for auditing the played content through personnel inspection or installation of a camera, but the method increases the manpower expenditure or hardware investment expenditure, and along with the increase of the layout of the outdoor media terminal, the cost can be synchronously increased, and the cost control and development of media enterprises are seriously affected.
In addition, the existing inspection method has extremely low efficiency, errors of artificial subjective factors exist, and all correctness, instantaneity and efficiency cannot be guaranteed.
In view of the technical problems in the related art, no effective solution is provided at present.
Disclosure of Invention
In order to solve the technical problem or at least partially solve the technical problem, the present application provides a data processing method and apparatus for content auditing.
In a first aspect, an embodiment of the present application provides a data processing method for performing content auditing, including:
acquiring first characteristic information corresponding to first multimedia data played by a monitored object; wherein the first feature information is information for characterizing uniqueness of the first multimedia data;
acquiring second characteristic information corresponding to the monitored object in a preset block chain; the second characteristic information is information used for representing uniqueness of second multimedia data delivered to the monitored object;
comparing the first characteristic information with the second characteristic information to obtain a consistency relation between the first multimedia data and the second multimedia data;
and determining an auditing result corresponding to the monitored object according to the consistency relation.
Optionally, as in the foregoing data processing method, the method further includes:
acquiring all second multimedia data needing to be delivered to the monitored object;
determining second characteristic information corresponding to each second multimedia data;
determining block information of a block storing the second feature information; the block chain comprises a plurality of blocks;
and establishing a corresponding relation between the block information and the monitored object.
Optionally, as in the foregoing data processing method, the obtaining second feature information corresponding to the monitored object in a preset block chain includes:
inquiring according to the corresponding relation to obtain all block information corresponding to the monitored object;
and calling and obtaining all the second characteristic information in the corresponding block according to the block information.
Optionally, as in the foregoing data processing method, the obtaining first feature information corresponding to first multimedia data played by the monitored object includes:
receiving and obtaining encrypted information for encrypting the third characteristic information through a private key and signature information for digitally signing the encrypted information;
and after the signature information is verified and passes the verification, decrypting the encrypted information by using a public key corresponding to the private key to obtain the first characteristic information.
Optionally, as in the foregoing data processing method, after obtaining the consistency relationship between the first multimedia data and the second multimedia data, the method further includes:
when the consistency relation represents that the first characteristic information is inconsistent with the second characteristic information, generating an alarm instruction;
and sending the alarm instruction to the monitoring object so that the monitoring object stops playing the first multimedia data according to the alarm instruction.
Optionally, as in the foregoing data processing method, after sending the alarm instruction to the monitored object, the method further includes:
after a preset time period, acquiring third multimedia data played by the monitoring object;
when the third multimedia data is inconsistent with the second multimedia data, a shutdown instruction is generated;
and sending the shutdown instruction to the monitored object so as to forcibly shut down the monitored object.
Optionally, as in the foregoing data processing method, before determining the second feature information corresponding to each of the second multimedia data, the method further includes:
acquiring at least one frame of image information in the second multimedia data;
inputting the image information into a preset image recognition model to obtain a corresponding recognition result;
and when the recognition result meets the preset requirement, executing the next step.
In a second aspect, an embodiment of the present application provides a data processing apparatus for performing content auditing, including:
wherein the first feature information is information for characterizing uniqueness of the first multimedia data;
the second acquisition module is used for acquiring second characteristic information corresponding to the monitored object in a preset block chain; the second characteristic information is information used for representing uniqueness of second multimedia data delivered to the monitored object;
the comparison module is used for comparing the first characteristic information with the second characteristic information to obtain a consistency relation between the first multimedia data and the second multimedia data;
and the determining module is used for determining an auditing result corresponding to the monitored object according to the consistency relation.
Optionally, as in the foregoing data processing apparatus, the data processing apparatus further includes:
the third acquisition module is used for acquiring all the second multimedia data needing to be delivered to the monitored object;
a second determining module, configured to determine second feature information corresponding to each of the second multimedia data;
a third determining module, configured to determine block information of a block in which the second feature information is stored; the block chain comprises a plurality of blocks;
and the corresponding relation module is used for establishing the corresponding relation between the block information and the monitored object.
Optionally, as in the foregoing data processing apparatus, the second obtaining module includes:
the query unit is used for querying and obtaining all block information corresponding to the monitored object according to the corresponding relation;
and the calling unit is used for calling and obtaining all the second characteristic information in the corresponding block according to the block information.
Optionally, as in the foregoing data processing apparatus, the first obtaining module includes:
a receiving unit, configured to receive encrypted information obtained by encrypting third feature information with a private key and signature information obtained by digitally signing the encrypted information;
and the decryption unit is used for decrypting the encrypted information through a public key corresponding to the private key after the signature information is verified and passes the verification, so as to obtain the first characteristic information.
Optionally, as in the foregoing data processing apparatus, the data processing apparatus further includes:
the alarm instruction module is used for generating an alarm instruction when the consistency relationship represents that the first characteristic information is inconsistent with the second characteristic information;
and the alarm instruction sending module is used for sending the alarm instruction to the monitoring object so that the monitoring object stops playing the first multimedia data according to the alarm instruction.
Optionally, as in the foregoing data processing apparatus, the data processing apparatus further includes:
the fourth obtaining module is used for obtaining third multimedia data played by the monitoring object after a preset time period;
a shutdown instruction generating module, configured to generate a shutdown instruction when the third multimedia data is inconsistent with the second multimedia data;
and the shutdown instruction sending module is used for sending the shutdown instruction to the monitored object so as to forcibly shut down the monitored object.
In a third aspect, an embodiment of the present application provides an electronic device, including: the system comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
the memory is used for storing a computer program;
the processor is configured to implement the processing method according to any one of the preceding claims when executing the computer program.
In a fourth aspect, embodiments of the present application provide a non-transitory computer-readable storage medium storing computer instructions that cause a computer to perform a processing method according to any one of the preceding claims.
The embodiment of the application provides a data processing method and a data processing device for content auditing, wherein the method comprises the following steps: acquiring first characteristic information corresponding to first multimedia data played by a monitored object; acquiring second characteristic information corresponding to the monitored object in a preset block chain; the second characteristic information is characteristic information corresponding to second multimedia data delivered to the monitored object; comparing the first characteristic information with the second characteristic information to obtain a consistency relation between the first multimedia data and the second multimedia data; and determining an auditing result corresponding to the monitored object according to the consistency relation. Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages: the multimedia data played by the monitored object can be verified through the block chain, and an auditing result is obtained; compared with manual inspection, the efficiency can be effectively improved, and the time and the labor cost are saved; the multimedia data monitoring is carried out without adding extra monitoring equipment, the cost can be effectively reduced, the second multimedia information is stored in the block chain, the anti-counterfeiting, non-repudiation and traceability characteristics can be given to the historical records, and the follow-up maintenance and inspection work is guaranteed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
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 for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic flowchart of a data processing method for performing content auditing according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a data processing method for content auditing according to another embodiment of the present application;
fig. 3 is a schematic flowchart of a data processing method for content auditing according to another embodiment of the present application;
fig. 4 is a block diagram of a data processing apparatus for performing content auditing according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an 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 clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all 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 application.
Fig. 1 provides a data processing method for performing content auditing according to an embodiment of the present application, and includes the following steps S1 to S4:
s1, acquiring first characteristic information corresponding to first multimedia data played by a monitored object; wherein the first characteristic information is information for characterizing uniqueness of the first multimedia data.
Specifically, the first feature information may be non-modifiable unique information corresponding to the first multimedia data. Alternatively, the hash value may be calculated by an encryption means such as MD 5.
The multimedia data may be: one or more of video data, audio data, or image data.
The hash value functions as follows: the primary use of HASH values, i.e., HASH values, is for file verification or signing. It is because of this feature that it is often used to determine whether two files are identical.
For example, when two files exist, the hash values of the two files are compared, and if the two files are the same, the two files are completely consistent; and if not, it indicates that the two files are not identical.
Further, the first characteristic information may be obtained by performing hash value calculation on a full file of the first multimedia data; when the first multimedia data is video data or image data, the first feature information may also be obtained by performing hash value calculation on one or more captured pictures of the first multimedia data according to a preset image frame capture strategy (for example, capturing one frame every 10 frames, or capturing one frame every second, etc.); when the first multimedia data is audio data, the first feature information may also be obtained by performing a hash value calculation on one or more audio segments of the audio data obtained by intercepting the audio data at preset time intervals (for example, obtaining an audio segment with a duration of one second every 15 seconds, and the like).
S2, acquiring second characteristic information corresponding to the monitored object in a preset block chain; the second characteristic information is information for representing uniqueness of second multimedia data delivered to the monitored object.
Specifically, the second multimedia data is multimedia data delivered to the monitoring object in advance according to a preset plan, so that the monitoring object plays the second multimedia data. Optionally, the second multimedia data may include one or more second multimedia data, and the second multimedia data is stored in different blocks according to the distribution time when the second multimedia data is stored in the block chain; when a plurality of multimedia data are simultaneously distributed, hash values respectively corresponding to each multimedia data may be stored in the same tile.
The establishment of one optional block chain can adopt linux system deployment, the kernel is more than 2.7x, the dominant frequency is more than 2.0GHz, the single-node memory is 64G, the hard disk capacity is more than 200G, the property is distributed nodes, and the node specification is 2f +1 fault-tolerant deployment; the configuration of each block link point may adopt: each main participant corresponds to a cluster; and the project deployment can be completed by logging in a blockchain server in sequence, starting a deployment script, establishing three-way communication of an agent, a gateway and a consensus node, establishing communication between the node and a local rocksDB database (an embeddable and durable key-value storage database), backing up encrypted information such as public and private keys and testing an interface.
And S3, comparing the first characteristic information with the second characteristic information to obtain a consistency relation between the first multimedia data and the second multimedia data.
Specifically, on the basis of the example given in the foregoing step, the first feature information and the second feature information are both hash values as an example; since the hash value is a binary value with a specific length (e.g., 128 bits), the first characteristic information and the second characteristic information can be compared character by character to obtain a consistency relationship between the first characteristic information and the second characteristic information.
The consistency relation is used for representing whether the first characteristic information is consistent with the second characteristic information; for example, to facilitate computer identification; when the first feature information and the second feature information are consistent, the obtained consistency relationship may be information indicating that both are consistent, such as "0", and when both are not consistent, the obtained consistency relationship may be "1".
Further, when there is only one second feature information delivered to the monitored object, the consistency relationship may be whether the first feature information and the second feature information are completely consistent. When the second feature information includes a plurality of pieces, the first feature information may be compared with each piece of second feature information one by one to obtain a consistency relationship with each piece of second feature information, and optionally, when the first feature information is consistent with one piece of second feature information, it is determined that the first feature information satisfies the consistency relationship; and when the first characteristic information is inconsistent with any second characteristic information, judging that the first characteristic information and the second characteristic information do not meet the consistency relation.
And S4, determining an auditing result corresponding to the monitored object according to the consistency relation.
Specifically, the monitoring object is monitored to determine whether multimedia data played by the monitoring object is consistent with the multimedia data requested to be played.
The auditing result can be used for judging whether the playing behavior of the monitored object meets the preset requirement.
Therefore, determining the auditing result corresponding to the monitored object according to the consistency relationship may be: after the consistency relationship is obtained, whether the multimedia data played by the monitoring object is consistent with the preset playing is determined according to the consistency relationship, and then an auditing result corresponding to the monitoring object can be obtained.
By the method in the embodiment, the multimedia data played by the monitored object can be verified through the block chain, and the auditing result is obtained; compared with manual inspection, the efficiency can be effectively improved, and the time and the labor cost are saved; the multimedia data monitoring is carried out without adding extra monitoring equipment, the cost can be effectively reduced, the second multimedia information is stored in the block chain, the anti-counterfeiting, non-repudiation and traceability characteristics can be given to the historical records, and the follow-up maintenance and inspection work is guaranteed.
As shown in fig. 2, in some embodiments, the data processing method further includes steps P1 to P4 as follows:
and P1, acquiring all second multimedia data needing to be delivered to the monitored object.
And P2, determining second characteristic information corresponding to each second multimedia data.
Step P3, determining the block information of the block written with the second characteristic information; the block chain comprises a plurality of blocks.
And P4, establishing a corresponding relation between the block information and the monitored object.
Specifically, all the second multimedia data delivered to the monitored object can be obtained by uploading multimedia data to a device for implementing the method of the present application by an initiator having a delivery requirement; and the associated second multimedia data may be stored in a specific database or cache. And then, carrying out hash value calculation on the second multimedia data to obtain second characteristic information.
In addition, the initiator can also directly send the second feature information to the terminal, and then the second feature information obtained by calculation is uploaded to a device for implementing the method of the present application and stored in a cache.
In particular, the block information may be height information of the block, i.e. information characterizing the order in which the block is written into the block chain. And typically, in a blockchain, one block is generated for each transaction and then synchronized to other blockchain nodes after consensus is achieved. Therefore, each time the multimedia information is released (i.e. the multimedia information is sent to the playing terminal (including the monitoring object)), a corresponding block is generated.
Further, each block may store related information corresponding to the release behavior, including at least: identification information of the monitoring object (for example, ID of the monitoring object, address of the monitoring object, etc.) and characteristic information corresponding to the multimedia information.
After the identification information of the monitoring object is written in the block, the corresponding relation between the height information of the block and the identification information of the monitoring object can be established and written in a specific data table, so that the purpose of establishing the corresponding relation between the block information and the monitoring object is achieved.
By the method in the embodiment, the block can be conveniently positioned in the later stage, and the second characteristic information corresponding to the monitored object can be quickly inquired to improve the verification efficiency.
In some embodiments, as in the foregoing data processing method, the step S2 of obtaining the second feature information corresponding to the monitored object in the preset block chain includes the following steps S21 and S22:
and S21, inquiring all block information corresponding to the monitored object according to the corresponding relation.
Specifically, on the basis of the example given in the foregoing embodiment, when the corresponding relationship is the corresponding relationship between the height information of the block and the identification information of the monitoring object established in the specific data table; the method comprises the steps of acquiring first characteristic information corresponding to first multimedia data played by a monitored object and acquiring identification information of the monitored object; and further, the identification information of the monitored object can be inquired in the data table to obtain all block information in which the relevant information of the monitored object is stored, so that the corresponding block can be positioned in the block chain according to the block information.
And S22, calling and obtaining all second characteristic information in the corresponding block according to the block information.
Specifically, after the block information is obtained, the block storing the related information of the monitored object can be located and obtained; and then, second characteristic information of all multimedia data sent to the monitored object can be obtained from the block.
Furthermore, since the blocks are generated in sequence according to the transaction time, when a plurality of multimedia data are sent to the monitoring object through a plurality of operations, a plurality of blocks need to be obtained according to the block information positioning, and the second characteristic information is obtained from the plurality of blocks respectively.
In some embodiments, as in the foregoing data processing method, the step S1 of obtaining the first feature information corresponding to the first multimedia data played by the monitored object includes the following steps S11 and S12:
and S11, receiving encryption information for encrypting the third characteristic information through a private key and signature information for digitally signing the encryption information.
Specifically, the third characteristic information may be characteristic information that is directly obtained by the monitoring object and corresponds to the played multimedia data.
The receiving of the information sent by the monitored object end includes: encryption information encrypted by a private key and signature information digitally signed on the encryption information.
In general, the encryption information may be: and encrypting the third characteristic information through a private key to obtain the information.
Optionally, the method for performing digital signature may be: and signing the encrypted information by using a SHA1 signing method to obtain signed information. The received information may be information obtained by packaging signature information and encrypted information.
And S12, after the signature information is verified and passes the verification, decrypting the encrypted information through a public key corresponding to the private key to obtain first characteristic information.
Specifically, the signature information is verified, that is, the signature information is used for verifying whether the identity of the sender of the encrypted information is a specified object; further, the public key and the private key are a key pair obtained by an algorithm, so that the public key and the private key can be decrypted with each other.
After the signature information is verified, the description information is not tampered, and therefore the encrypted information is decrypted through the corresponding public key to obtain the first characteristic information. When the signature information is not verified, the sender is not the specified object, so that the hash value is checked without continuously decrypting.
Furthermore, the third verification information may be information obtained by encoding the hash value, and the encoded information may have good robustness, security and legibility in view of an EXtensible Markup Language (XML), which is a Markup Language and can conveniently implement common functions such as data exchange, system configuration, content management, and the like; the XML encoding mode may be selected to encode the hash value.
Therefore, in step S12, it is also necessary to decode the decrypted information by using the corresponding XML decoding method to obtain the first feature information.
In addition, because the size of each data packet is limited when data is sent, and in order to avoid ensuring the efficiency of data communication, the monitoring object end can inject encryption information and signature information into a protocol (i.e., protocol buffers, which is a method for language-independent, platform-independent and extensible serialized structured data, and can be used for communication protocols, data storage and the like) to obtain a data packet to be sent; a preset splitting strategy is adopted to perform sub-packaging and packing operations on data to be sent; and packaging the data packets into a plurality of data packets to be sent and then sending the data packets. The packet body of the protobuf protocol is small, light and more suitable for communication among services.
Correspondingly, in step S11, the received data packet needs to be processed (generally, including packetizing and depacketizing) to obtain the encryption information and the signature information.
One of the optional implementations may be: a terminal is implanted with a specific SDK (for obtaining the currently played content of a monitored object), and establishes MQTT (Message Queuing Telemetry Transport protocol), which is a Message protocol based on a publish/subscribe paradigm under ISO standard (ISO/IEC PRF 20922), long-link communication with a monitoring server (a server implementing the method of this embodiment), so that, in view of the fact that XML-encoded information can have good robustness, security and legibility, broadcast control data is encoded through XML, then private key signatures are sequentially performed after SHA1 signatures (for obtaining hash values) are performed, and the private key signatures are injected into protobuf codes to be converted into a binary format, and then binary components are packaged into data packets to be sent through packetizing and packaging operations, and the data packets are directly sent to the network monitoring server through MQTT long-link.
The monitoring server receives the data packet in real time, converts the data packet into a normalized character array through packet unpacking, decodes the normalized character array through protobuf, and decrypts the data packet through an encryption public key after the signature verification is successful; and then, carrying out secondary decoding on the decrypted information through XML to obtain final data to be verified (namely first characteristic information).
The third characteristic information is encrypted through a private key, so that data leakage can be effectively prevented; meanwhile, digital signature is carried out, so that illegal personnel such as hackers can be prevented from tampering information uploaded by the monitored object; and the data security can be guaranteed from multiple aspects. In some embodiments, as the foregoing data processing method, after obtaining the consistency relationship between the first multimedia data and the second multimedia data in step S3, the method further includes steps S5 and S6 as follows:
and S5, generating an alarm instruction when the consistency relationship represents that the first characteristic information is inconsistent with the second characteristic information.
And S6, sending the alarm instruction to the monitored object so that the monitored object stops playing the first multimedia data according to the alarm instruction.
That is to say, when the first characteristic information is inconsistent with the second characteristic information, the first multimedia data representing the playing of the monitoring object is not the multimedia data whose playing is controlled in advance.
Generating the corresponding alarm instruction may include: the instruction executes the content (e.g., stops playing) and issues the address (i.e., the address of the monitored object).
After the alarm instruction is sent to the monitoring object according to the issued address, the alarm instruction can be analyzed through the SDK arranged at the local end of the monitoring object to obtain instruction execution content, and the playing of the first multimedia data is stopped.
In addition, the alert instruction may further include: platform alarm instructions (e.g., push information or sound and light alarm); the method and the device are used for pushing alarm information to a related management end according to a platform alarm instruction, so that management end personnel know that the first multimedia data played by the monitored object violates the rule, and further can perform manual processing under the condition that the terminal cannot automatically process the data.
As shown in fig. 3, in some embodiments, after the alarm instruction is sent to the monitoring object, the data processing method further includes steps S7 to S9 as follows:
and S7, after a preset time period, acquiring third multimedia data played by the monitored object.
And S8, generating a shutdown instruction when the third multimedia data is inconsistent with the second multimedia data.
And S9, sending a shutdown instruction to the monitored object so as to forcibly shut down the monitored object.
The length of the preset time period can be adaptively adjusted according to factors such as the execution time required for switching videos or stopping playing videos in practical application.
The third multimedia data is multimedia data which is generated by issuing the generated alarm instruction to the monitoring object and is played by the monitoring object after a preset time period; therefore, the third multimedia data may or may not be identical to the first multimedia data.
That is to say, on the basis that the first multimedia data does not meet the requirement and the alarm instruction has been issued, after the preset time period, the third multimedia data played by the monitoring object still does not play the second multimedia data according to the requirement, the alarm instruction is not issued any more, the generated shutdown instruction is sent to the monitoring object, and the monitoring object is directly controlled to shutdown.
By the method in the embodiment, the monitored object can be directly controlled to be shut down, and the content played by the terminal is further effectively managed; and the method in the former embodiment is combined, the purpose of hierarchical management and control can be achieved, and the purpose of executing different management and control measures according to different illegal playing conditions is achieved.
In some embodiments, as the aforementioned data processing method, before the step P2 of determining the second feature information corresponding to each second multimedia data, the method further includes the following steps Q1 to Q3:
step Q1. obtains at least one frame of image information in the second multimedia data. Specifically, when the second multimedia data is video information, an image frame acquisition policy (for example, acquiring one image frame every N frames, or acquiring one image frame every fixed time duration, etc.) may be preset to acquire at least one frame of image information.
And step Q2, inputting the image information into a preset image recognition model to obtain a corresponding recognition result.
Specifically, the image recognition model may be trained in advance to be used for recognizing an object that does not meet requirements in the image, for example: concerning yellow, concerning poison, concerning gambling and the like. Further, the image recognition model may be one or a plurality of models to recognize different kinds of objects.
The recognition result may be for characterizing whether an unsatisfactory object is included in the image information.
When the recognition result meets the preset requirement, step Q3. executes the next step.
Specifically, the preset requirement may be that no object that does not meet the requirement exists in the image information.
Therefore, when the recognition result meets the preset requirement, the step P2 may be continuously performed to determine the second feature information corresponding to each second multimedia data.
By the method in the embodiment, the legality of the multimedia data needing to be sent to the terminal for playing can be automatically detected; need not artificial spot check, can effectively improve detection efficiency, reduce the personnel selection cost.
As shown in fig. 4, according to an embodiment of another aspect of the present application, there is also provided a data processing apparatus for content auditing, including:
the first obtaining module 1 is used for obtaining first characteristic information corresponding to first multimedia data played by a monitored object; wherein the first characteristic information is information for characterizing uniqueness of the first multimedia data;
the second obtaining module 2 is configured to obtain second feature information corresponding to the monitored object in a preset block chain; the second characteristic information is used for representing uniqueness of second multimedia data delivered to the monitored object;
a comparison module 3, configured to compare the first characteristic information with second characteristic information to obtain a consistency relationship between the first multimedia data and the second multimedia data;
and the determining module 4 is used for determining an auditing result corresponding to the monitored object according to the consistency relation. Specifically, the specific process of implementing the functions of each module in the apparatus according to the embodiment of the present invention may refer to the related description in the method embodiment, and is not described herein again.
According to another embodiment of the present application, there is also provided an electronic apparatus including: as shown in fig. 5, the electronic device may include: the system comprises a processor 1501, a communication interface 1502, a memory 1503 and a communication bus 1504, wherein the processor 1501, the communication interface 1502 and the memory 1503 complete communication with each other through the communication bus 1504.
A memory 1503 for storing a computer program;
the processor 1501 is configured to implement the steps of the above-described method embodiments when executing the program stored in the memory 1503.
The bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component.
Embodiments of the present application also provide a non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the steps of the above-described method embodiments.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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 an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (15)

1. A data processing method for content auditing is characterized by comprising the following steps:
acquiring first characteristic information corresponding to first multimedia data played by a monitored object; wherein the first feature information is information for characterizing uniqueness of the first multimedia data;
acquiring second characteristic information corresponding to the monitored object in a preset block chain; the second characteristic information is information used for representing uniqueness of second multimedia data delivered to the monitored object;
comparing the first characteristic information with the second characteristic information to obtain a consistency relation between the first multimedia data and the second multimedia data;
and determining an auditing result corresponding to the monitored object according to the consistency relation.
2. The data processing method of claim 1, further comprising:
acquiring all second multimedia data needing to be delivered to the monitored object;
determining second characteristic information corresponding to each second multimedia data;
determining block information of a block storing the second feature information; the block chain comprises a plurality of blocks;
and establishing a corresponding relation between the block information and the monitored object.
3. The data processing method according to claim 2, wherein the obtaining of the second feature information corresponding to the monitored object in the preset block chain includes:
inquiring according to the corresponding relation to obtain all block information corresponding to the monitored object;
and calling and obtaining all the second characteristic information in the corresponding block according to the block information.
4. The data processing method according to claim 1, wherein the obtaining of the first feature information corresponding to the first multimedia data played by the monitored object comprises:
receiving and obtaining encrypted information for encrypting the third characteristic information through a private key and signature information for digitally signing the encrypted information;
and after the signature information is verified and passes the verification, decrypting the encrypted information by using a public key corresponding to the private key to obtain the first characteristic information.
5. The data processing method according to claim 1, wherein after obtaining the consistency relationship between the first multimedia data and the second multimedia data, the method further comprises:
when the consistency relation represents that the first characteristic information is inconsistent with the second characteristic information, generating an alarm instruction;
and sending the alarm instruction to the monitoring object so that the monitoring object stops playing the first multimedia data according to the alarm instruction.
6. The data processing method of claim 5, further comprising, after sending the alarm instruction to the monitored object:
after a preset time period, acquiring third multimedia data played by the monitoring object;
when the third multimedia data is inconsistent with the second multimedia data, a shutdown instruction is generated;
and sending the shutdown instruction to the monitored object so as to forcibly shut down the monitored object.
7. The data processing method according to claim 2, further comprising, before determining second feature information corresponding to each of the second multimedia data:
acquiring at least one frame of image information in the second multimedia data;
inputting the image information into a preset image recognition model to obtain a corresponding recognition result;
and when the recognition result meets the preset requirement, executing the next step.
8. A data processing apparatus that performs content audit, comprising:
the first acquisition module is used for acquiring first characteristic information corresponding to first multimedia data played by a monitored object; wherein the first feature information is information for characterizing uniqueness of the first multimedia data;
the second acquisition module is used for acquiring second characteristic information corresponding to the monitored object in a preset block chain; the second characteristic information is information used for representing uniqueness of second multimedia data delivered to the monitored object;
the comparison module is used for comparing the first characteristic information with the second characteristic information to obtain a consistency relation between the first multimedia data and the second multimedia data;
and the first determining module is used for determining an auditing result corresponding to the monitored object according to the consistency relation.
9. The data processing apparatus of claim 1, further comprising:
the third acquisition module is used for acquiring all the second multimedia data needing to be delivered to the monitored object;
a second determining module, configured to determine second feature information corresponding to each of the second multimedia data;
a third determining module, configured to determine block information of a block in which the second feature information is stored; the block chain comprises a plurality of blocks;
and the corresponding relation module is used for establishing the corresponding relation between the block information and the monitored object.
10. The data processing apparatus of claim 9, wherein the second obtaining module comprises:
the query unit is used for querying and obtaining all block information corresponding to the monitored object according to the corresponding relation;
and the calling unit is used for calling and obtaining all the second characteristic information in the corresponding block according to the block information.
11. The data processing apparatus of claim 8, wherein the first obtaining module comprises:
a receiving unit, configured to receive encrypted information obtained by encrypting third feature information with a private key and signature information obtained by digitally signing the encrypted information;
and the decryption unit is used for decrypting the encrypted information through a public key corresponding to the private key after the signature information is verified and passes the verification, so as to obtain the first characteristic information.
12. The data processing apparatus of claim 8, further comprising:
the alarm instruction module is used for generating an alarm instruction when the consistency relationship represents that the first characteristic information is inconsistent with the second characteristic information;
and the alarm instruction sending module is used for sending the alarm instruction to the monitoring object so that the monitoring object stops playing the first multimedia data according to the alarm instruction.
13. The data processing apparatus of claim 12, further comprising:
the fourth obtaining module is used for obtaining third multimedia data played by the monitoring object after a preset time period;
a shutdown instruction generating module, configured to generate a shutdown instruction when the third multimedia data is inconsistent with the second multimedia data;
and the shutdown instruction sending module is used for sending the shutdown instruction to the monitored object so as to forcibly shut down the monitored object.
14. An electronic device, comprising: the system comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
the memory is used for storing a computer program;
the processor, when executing the computer program, implementing the processing method of any one of claims 1-7.
15. A non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the processing method of any one of claims 1 to 7.
CN202010968831.3A 2020-09-15 2020-09-15 Data processing method and device for content auditing Pending CN112148903A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010968831.3A CN112148903A (en) 2020-09-15 2020-09-15 Data processing method and device for content auditing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010968831.3A CN112148903A (en) 2020-09-15 2020-09-15 Data processing method and device for content auditing

Publications (1)

Publication Number Publication Date
CN112148903A true CN112148903A (en) 2020-12-29

Family

ID=73892767

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010968831.3A Pending CN112148903A (en) 2020-09-15 2020-09-15 Data processing method and device for content auditing

Country Status (1)

Country Link
CN (1) CN112148903A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114205645A (en) * 2021-12-10 2022-03-18 北京凯视达信息技术有限公司 Distributed video content auditing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110046649A (en) * 2019-03-12 2019-07-23 阿里巴巴集团控股有限公司 A kind of multimedia messages prison broadcasting method, apparatus and system based on block chain
CN110335089A (en) * 2019-07-11 2019-10-15 中国联合网络通信集团有限公司 A kind of processing method of media file, apparatus and system
CN111160997A (en) * 2020-04-02 2020-05-15 支付宝(杭州)信息技术有限公司 Advertisement supervision method and device based on block chain and advertisement delivery system
WO2020114114A1 (en) * 2018-12-05 2020-06-11 阿里巴巴集团控股有限公司 Method and apparatus for confirming content of multimedia protocol, and electronic device
CN111460525A (en) * 2020-03-31 2020-07-28 腾讯科技(深圳)有限公司 Data processing method and device based on block chain and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020114114A1 (en) * 2018-12-05 2020-06-11 阿里巴巴集团控股有限公司 Method and apparatus for confirming content of multimedia protocol, and electronic device
CN110046649A (en) * 2019-03-12 2019-07-23 阿里巴巴集团控股有限公司 A kind of multimedia messages prison broadcasting method, apparatus and system based on block chain
CN110335089A (en) * 2019-07-11 2019-10-15 中国联合网络通信集团有限公司 A kind of processing method of media file, apparatus and system
CN111460525A (en) * 2020-03-31 2020-07-28 腾讯科技(深圳)有限公司 Data processing method and device based on block chain and storage medium
CN111160997A (en) * 2020-04-02 2020-05-15 支付宝(杭州)信息技术有限公司 Advertisement supervision method and device based on block chain and advertisement delivery system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114205645A (en) * 2021-12-10 2022-03-18 北京凯视达信息技术有限公司 Distributed video content auditing method and device

Similar Documents

Publication Publication Date Title
CN110113167B (en) Information protection method and system of intelligent terminal and readable storage medium
WO2020259629A1 (en) Block chain-based data inspection method and apparatus
US20200372158A1 (en) Blockchain-based software version data management system and establishing method thereof
WO2022095244A1 (en) Cross-chain transaction method, system and apparatus, device, and storage medium
CN111353180A (en) Block chain evidence storing method, evidence obtaining method and system
CN110708164B (en) Control method and device for Internet of things equipment, storage medium and electronic device
WO2017193949A1 (en) Code stream tampering monitoring method and device and communication system
WO2019214714A1 (en) Method, system, node, and computer storage medium for controlling video playback
CN110866265A (en) Data storage method, device and storage medium based on block chain
CN110598377A (en) Software serial number management method and device based on block chain
US11374933B2 (en) Securing digital data transmission in a communication network
CN112148903A (en) Data processing method and device for content auditing
CN110929230A (en) Work management method, device, equipment and storage medium
CN113129002A (en) Data processing method and equipment
CN110381114B (en) Interface request parameter processing method and device, terminal equipment and medium
CN111817859A (en) Data sharing method, device, equipment and storage medium based on zero knowledge proof
CN113259384B (en) Mechanism model call information processing method, server and system based on block chain
CN113536372A (en) Data processing method and device and electronic equipment
CN112214464A (en) Evidence preservation method and system based on block chain
CN109960924A (en) One subsystem login method, device, system and electronic equipment
CN111328077A (en) Pseudo base station short message identification method, base station short message encryption method and system
CN113743932B (en) Data processing method, device, electronic equipment and computer storage medium
CN112615690B (en) Method, device and equipment for preventing emergency broadcast data from being lost
CN113742697B (en) Equipment ownership change method, device, equipment and medium
CN112822144B (en) Program tamper-proof verification method and device

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
CB02 Change of applicant information

Address after: Room 221, 2 / F, block C, 18 Kechuang 11th Street, Daxing District, Beijing, 100176

Applicant after: Jingdong Technology Holding Co.,Ltd.

Address before: Room 221, 2 / F, block C, 18 Kechuang 11th Street, Daxing District, Beijing, 100176

Applicant before: Jingdong Digital Technology Holding Co., Ltd

CB02 Change of applicant information