CN115348472A - Video identification method and device, readable medium and electronic equipment - Google Patents

Video identification method and device, readable medium and electronic equipment Download PDF

Info

Publication number
CN115348472A
CN115348472A CN202110507600.7A CN202110507600A CN115348472A CN 115348472 A CN115348472 A CN 115348472A CN 202110507600 A CN202110507600 A CN 202110507600A CN 115348472 A CN115348472 A CN 115348472A
Authority
CN
China
Prior art keywords
video
published
original
key frame
determining
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
CN202110507600.7A
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.)
Beijing Youzhuju Network Technology Co Ltd
Original Assignee
Beijing Youzhuju Network 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 Beijing Youzhuju Network Technology Co Ltd filed Critical Beijing Youzhuju Network Technology Co Ltd
Priority to CN202110507600.7A priority Critical patent/CN115348472A/en
Publication of CN115348472A publication Critical patent/CN115348472A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/44008Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
    • 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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440245Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display the reformatting operation being performed only on part of the stream, e.g. a region of the image or a time segment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/835Generation of protective data, e.g. certificates
    • H04N21/8358Generation of protective data, e.g. certificates involving watermark

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

The disclosure relates to a video identification method, a video identification device, a readable medium and an electronic device, wherein the method comprises the following steps: in response to a publishing request aiming at a video to be published, carrying out blind watermark extraction operation on key frames in the video to be published; identifying a first unique identification code in the blind watermark information aiming at the key frame extracted with the blind watermark information, and determining whether a video segment corresponding to the key frame is an original video segment or not according to the first unique identification code; and determining the originality characteristic information of the video to be released according to the determination result of whether the video clip corresponding to the key frame is the original video clip, wherein the originality characteristic information is used for indicating whether the video to be released is a complete original video, a non-original video or a partial original video. Through the technical scheme, the original originators of the video segments can be accurately traced according to the first unique identification code in the blind watermark information, and partial plagiarism behaviors can also be accurately identified, so that the accuracy of verifying the originality of the video is improved.

Description

Video identification method and device, readable medium and electronic equipment
Technical Field
The present disclosure relates to the field of video processing technologies, and in particular, to a video identification method, an apparatus, a readable medium, and an electronic device.
Background
With the development and wide application of digital media, the number of videos released on a video platform is increasing, especially the user scale of short videos is increasing, and the short videos, i.e. short videos, are an internet content transmission mode, and generally are videos which are transmitted on new internet media within five minutes in length. The short video has relatively short video duration and is rapidly transmitted, so that the short video is easy to acquire and copy, is easy to be tampered and copied, and how to backtrack an original person of the video and verify the originality of the video so as to deal with the copy phenomenon of the video is an important problem.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
In a first aspect, the present disclosure provides a video identification method, including: in response to a publishing request aiming at a video to be published, carrying out blind watermark extraction operation on a key frame in the video to be published; identifying a first unique identification code in the blind watermark information aiming at the key frame extracted with the blind watermark information, and determining whether a video segment corresponding to the key frame is an original video segment or not according to the first unique identification code; and determining the originality characteristic information of the video to be published according to the determination result of whether the video clip corresponding to the key frame is the original video clip, wherein the originality characteristic information is used for indicating whether the video to be published is a complete original video, a non-original video or a partial original video.
In a second aspect, the present disclosure provides a video recognition apparatus, the apparatus comprising: the extraction module is used for responding to a publishing request aiming at a video to be published and carrying out blind watermark extraction operation on key frames in the video to be published; the first determining module is used for identifying a first unique identification code in the blind watermark information aiming at the key frame extracted with the blind watermark information, and determining whether a video segment corresponding to the key frame is an original video segment or not according to the first unique identification code; and a second determining module, configured to determine, according to a determination result of whether a video clip corresponding to the key frame is an original video clip, originality feature information of the video to be distributed, where the originality feature information is used to indicate whether the video to be distributed is a completely original video, a non-original video, or a partially original video.
In a third aspect, the present disclosure provides a computer readable medium having stored thereon a computer program which, when executed by a processing apparatus, performs the steps of the method provided by the first aspect of the present disclosure.
In a fourth aspect, the present disclosure provides an electronic device comprising: a storage device having a computer program stored thereon; processing means for executing the computer program in the storage means to implement the steps of the method provided by the first aspect of the present disclosure.
According to the technical scheme, the first unique identification code in the blind watermark information can be identified for the key frame from which the blind watermark information is extracted, and the identification information of the creator of the video segment corresponding to the key frame can be determined according to the first unique identification code, so that whether the video segment corresponding to the key frame is the original video segment can be determined according to whether the identification information is consistent with the identification information of the user who wants to publish the video to be published. And the blind watermark is not easy to be tampered and removed, and the original originator of the video segment can be accurately traced according to the identification information of the originator corresponding to the first unique identification code in the blind watermark information. In addition, the originality characteristic information of the video to be released is determined according to the determination result of whether the video clip is the original video clip, which video clips in the video to be released are original and which video clips are non-original can be judged, partial plagiarism behaviors can be accurately identified, and the accuracy of verifying the originality of the video is improved.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and components are not necessarily drawn to scale. In the drawings:
fig. 1 is a flow chart illustrating a video recognition method according to an example embodiment.
Fig. 2 is a flowchart illustrating a method for determining whether a video clip corresponding to a key frame is an original video clip according to a first unique identification code, according to an exemplary embodiment.
Fig. 3 is a flow chart illustrating a video recognition method according to an example embodiment.
Fig. 4 is a block diagram illustrating a video recognition device according to an example embodiment.
Fig. 5 is a schematic structural diagram of an electronic device shown in accordance with an example embodiment.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a" or "an" in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will appreciate that references to "one or more" are intended to be exemplary and not limiting unless the context clearly indicates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
Fig. 1 is a flowchart illustrating a video recognition method according to an exemplary embodiment, which may be applied to an electronic device having a processing capability, such as a server, and may include S101 to S103, as illustrated in fig. 1.
In S101, in response to a publishing request for a video to be published, a blind watermark extraction operation is performed on a key frame in the video to be published.
The video to be published can be a video that the user wants to publish, and the user can input a publishing request for the video to be published through the terminal, for example, clicking a publishing button, and the terminal can send the publishing request to the server. And the server can acquire the key frame in the video to be published and extract the blind watermark from the key frame under the condition of receiving the publishing request.
The key frame refers to a frame where a key action is located in the change of a character or a moving object. For example, there are 10 key frames in a 1-minute video, and each key frame may correspond to a video clip, i.e., the video includes 10 video clips. The number of key frames in the video to be distributed is not specifically limited in the present disclosure, and there may be one or more key frames, and if there are multiple key frames in the video to be distributed, blind watermark extraction operation may be performed on each key frame. The blind watermark is also called as invisible watermark, and a user cannot directly see the embedded blind watermark when watching a video, so that the video browsing experience of the user cannot be influenced. Illustratively, the blind watermark information may be embedded in the RGB channel of the key frame.
In S102, for the key frame from which the blind watermark information is extracted, a first unique identification code in the blind watermark information is identified, and whether a video segment corresponding to the key frame is an original video segment is determined according to the first unique identification code.
Before the video is published, if the key frame corresponding to the original video segment is not added with the blind watermark, the video platform can embed the blind watermark information into the key frame. In order to facilitate backtracking of the video originator, blind watermark information can be generated according to the unique identification code, the corresponding relation between the unique identification code and the identification information of the video originator is stored in a database in a correlation mode, and the blind watermark is not easy to be tampered and removed, so that the original originator of the video segment can be backtracked according to the unique identification code in the blind watermark information.
For the key frame extracted with the blind watermark information, the fact that the video segment corresponding to the key frame is published before can be represented, the blind watermark information is embedded in the key frame, and the first unique identification code in the blind watermark information can be identified. According to the first unique identification code, the identification information of the creator of the video clip can be determined from the corresponding relation stored in the database, and according to whether the identification information is consistent with the identification information of the user who wants to release the video to be released, whether the video clip corresponding to the key frame is the original video clip is determined, that is, whether the user who wants to release the video to be released is the originator of the video clip is determined.
In S103, according to the determination result of whether the video clip corresponding to the key frame is the original video clip, the originality characteristic information of the video to be released is determined.
The video to be published is composed of a plurality of video clips, and according to the determination result of whether the video clips are original video clips or not, the originality characteristic information of the video to be published can be determined, and the originality characteristic information can be used for indicating whether the video to be published is a complete original video, a non-original video or a partial original video.
The method for judging the originality of the video in the related technology mainly comprises the steps of comparing the similarity of the video to be published with the published video, and judging that the video to be published is not original if the similarity of the video to be published with the published video is high.
According to the method and the device, the originators of the video segments can be accurately traced according to the unique identification codes in the identified blind watermark information, the originality characteristic information of the video to be published is determined according to the determination result of whether the video segments are the original video segments, which video segments in the video to be published are original and which video segments are non-original can be judged, partial plagiarism behaviors can be accurately identified, and the accuracy of verifying the originality of the video is improved.
According to the technical scheme, the first unique identification code in the blind watermark information can be identified for the key frame from which the blind watermark information is extracted, and the identification information of the creator of the video segment corresponding to the key frame can be determined according to the first unique identification code, so that whether the video segment corresponding to the key frame is the original video segment can be determined according to whether the identification information is consistent with the identification information of the user who wants to publish the video to be published. And the blind watermark is not easy to be tampered and removed, and the original originator of the video segment can be accurately traced according to the identification information of the originator corresponding to the first unique identification code in the blind watermark information. In addition, the originality characteristic information of the video to be released is determined according to the determination result of whether the video clip is the original video clip, which video clips in the video to be released are original and which video clips are non-original can be judged, partial plagiarism behaviors can be accurately identified, and the accuracy of verifying the originality of the video is improved.
Fig. 2 is a flowchart illustrating a method for determining whether a video clip corresponding to a key frame is an original video clip according to a first unique identifier, according to an exemplary embodiment, as shown in fig. 2, S102 may include S201 to S203.
In S201, the target creator identification information of the video clip corresponding to the key frame is determined according to the first unique identification code and the corresponding relationship.
The correspondence may include a correspondence between the unique identifier and the creator identifier, which may be represented in the form of a mapping table, for example, and according to the first unique identifier, by querying the correspondence, the target creator identifier of the video segment corresponding to the key frame may be determined, where the target creator identifier is identifier of an originator of the video segment.
In S202, under the condition that the target creator identification information is consistent with the identification information of the user who initiated the publishing request, the video clip corresponding to the key frame is determined to be the original video clip.
In S203, in a case that the target creator identification information is inconsistent with the identification information of the user who initiated the publishing request, it is determined that the video clip corresponding to the key frame is a non-original video clip.
If the identification information of the target creator is consistent with the identification information of the user who initiates the publishing request for the video to be published, the user who initiates the publishing request for the video to be published can be represented, namely the creator of the video clip corresponding to the key frame, and the video clip can be determined to be the original video clip. If the identification information of the target creator is inconsistent with the identification information of the user who initiates the publishing request aiming at the video to be published, the originator of the video clip corresponding to the key frame can be represented, and the video clip is not the user who initiates the publishing request aiming at the video to be published, so that the video clip can be determined to be a non-original video clip.
Therefore, according to the first unique identification code in the blind watermark information, the target creator identification information of the video segment corresponding to the key frame can be determined from the corresponding relation, and the target creator identification information is the identification information of the originator of the video segment, so that the originator of the video segment can be accurately traced, and whether the video segment is the original video segment can be accurately judged according to whether the target creator identification information is consistent with the identification information of the user who initiates the release request.
Optionally, the video recognition method may further include:
and determining whether the video segment corresponding to the key frame is the original video segment or not according to the image characteristic information of the key frame aiming at the key frame from which the blind watermark information can not be extracted.
For a key frame from which blind watermark information cannot be extracted, it cannot be directly determined that a video segment corresponding to the key frame is an original video segment that is released for the first time, for example, the video segment may be a reproduced video or a video that has been released but to which blind watermark information is not added. Because the key frames can represent the corresponding video segments to a certain extent, for the key frames with blind watermark information not extracted, whether the video segments are original video segments or not can be determined according to the image characteristic information of the key frames. For example, according to the image feature information of the key frame, the key frame is compared with the key frame of the published video in terms of similarity, and if the similarity between the key frame of the published video and the key frame is high, for example, higher than a preset similarity threshold, the video clip corresponding to the key frame can be characterized as a non-original video clip.
In this disclosure, determining the originality feature information of the video to be published according to the determination result of whether the video clip corresponding to the key frame is the original video clip in S103 may include:
determining that the video to be published is a completely original video under the condition that video clips corresponding to all key frames in the video to be published are original video clips; under the condition that video clips corresponding to all key frames in the video to be published are non-original video clips, determining the video to be published as the non-original video; and under the condition that the video clips corresponding to part of the key frames in the video to be published are original video clips, determining that the video to be published is part of original videos.
For example, the video to be published has 10 video clips, and if the 10 video clips are all original video clips, the video to be published is a completely original video; if the 10 video clips are all non-original video clips, the video to be published is a non-original video; if a part of the 10 video segments, for example, 8 video segments are original video segments, the video to be distributed is a part of original video.
Therefore, the originality characteristic information of the video to be released is determined according to the determination result of whether the video clip is the original video clip, which parts in the video to be released are original and which parts are non-original can be judged, and the behavior of partial plagiarism can be accurately identified.
Optionally, the video identification method may further include:
under the condition that the video to be released is determined to be part of original video, determining the original degree of the video to be released according to the number of original video clips in the video to be released and the number of non-original video clips; and determining to release the video to be released under the condition that the originality degree is greater than a preset threshold value.
In the method and the device, whether the video to be published is published can be determined according to the original characteristic information of the video to be published. And if the video to be published is a completely original video, determining to publish the video to be published, if the video to be published is a non-original video, determining not to publish the video to be published, and if the video to be published is a partial original video, further determining whether to publish the video to be published according to the original degree of the video to be published.
The degree of originality of the video to be distributed can be determined according to the number of original video clips and the number of non-original video clips in the video to be distributed, for example, the ratio between the number of original video clips and the number of non-original video clips is used as the degree of originality. And if the originality degree is less than or equal to the preset threshold value, the video to be published can be characterized to have less originality parts and most of the video to be published is plagiarized, and the video to be published can be determined not to be published.
Fig. 3 is a flowchart illustrating a video recognition method according to an exemplary embodiment, which may include S301 to S306 in addition to S101 to S103, as shown in fig. 3.
In S301, whether to publish the video to be published is determined according to the original feature information of the video to be published. Embodiments of this step are described above.
In S302, in the case where it is determined that the video to be distributed is distributed, a second unique identification code is generated.
In S303, blind watermark information is generated based on the second unique identification code.
In S304, the blind watermark information generated according to the second unique identification code is embedded into the target key frame of the video to be distributed, so as to obtain a new video to be distributed.
The target key frames may include key frames in which blind watermark information is not extracted during the blind watermark extraction operation, and the corresponding video segments are original video segments, that is, key frames in which blind watermark information is not added and the corresponding video segments are original video segments. The number of the target key frames may be one or more.
When a target key frame in a video to be published is embedded with a blind watermark, a second unique identification code can be generated firstly, blind watermark information is generated according to the second unique identification code, and the blind watermark information is embedded into the target key frame to obtain a new video to be published. Illustratively, the blind watermark information may include, in addition to the second unique identification code, video characteristic information (e.g., video format, duration, etc.), a timestamp of a user requesting to publish a video, and the like.
An exemplary embodiment of embedding blind watermark information into a target key frame is described below. When the blind watermark information is embedded into the target key frame, the watermark matrix of the blind watermark information can be extracted, and the watermark matrix is subjected to symmetrical random transformation according to a preset secret key to obtain a transformed watermark matrix. Acquiring an R channel element matrix, a G channel element matrix, and a B channel element matrix of the target key frame, and performing Discrete Transform, such as Discrete Cosine Transform (DCT) or Discrete Wavelet Transform (Discrete Wavelet Transform), on the R channel element matrix, the G channel element matrix, and the B channel element matrix, respectively. Taking the R channel as an example, the R channel element matrix after discrete transform and the watermark matrix after transform are superimposed, and inverse discrete transform is performed on the matrix obtained by the superimposition to obtain the R channel element matrix after inverse discrete transform. The G channel and the B channel are similar to each other, and a G channel element matrix and a B channel element matrix after inverse discrete transformation can be obtained respectively. And then, recombining the R channel element matrix, the G channel element matrix and the B channel element matrix after inverse discrete transformation to obtain the target key frame embedded with the watermark.
Therefore, the symmetric random transformation is carried out on the watermark matrix according to the preset secret key, and the confidentiality and the safety of the watermark are ensured. Moreover, the blind watermark information is embedded in the RGB channel of the key frame, so that the blind watermark information is invisible to the user, the browsing experience of the user is improved, and certain modification resistance is achieved.
Accordingly, exemplary embodiments of the above-mentioned blind watermark extraction operation may be as follows. Firstly, an RGB three-channel element matrix of a key frame is obtained, the channel element matrix is subjected to discrete transformation, a watermark matrix superposed when the watermark is embedded is extracted from the channel element matrix, the watermark matrix is subjected to inverse symmetry random transformation according to a preset secret key to obtain blind watermark information, and a unique identification code in the blind watermark information is identified.
In S305, a new video to be distributed is distributed. The new video to be released is the video added with the blind watermark information.
In S306, the second unique identification code and the identification information of the user who initiated the issue request are stored in the corresponding relationship.
The corresponding relationship includes a corresponding relationship between the unique identification code and the creator identification information, and may further include a timestamp when the video is published and video feature information of the video to be published, for example. The corresponding relation can be continuously updated according to the new unique identification code and the user identification information, so that when the video clip corresponding to the key frame is determined to be the original video clip, the target creator identification information of the video clip corresponding to the key frame can be determined from the corresponding relation, and whether the video clip is the original video clip is judged.
It is worth mentioning that the execution sequence of S305 and S306 is not limited in the present disclosure, and fig. 3 is only an exemplary embodiment, for example, S305 and S306 may be executed in parallel, or S306 may be executed before S305.
By the scheme, whether the video to be published is published can be determined according to the original characteristic information of the video to be published, and the blind watermark information is embedded into the target key frame when the video to be published is determined to be published, so that the blind watermark can be added to the original part of the video to be published, the watermark protection can be performed on the video, and the video browsing experience of a user is not influenced due to the invisibility of the blind watermark.
Based on the same inventive concept, the present disclosure also provides a video recognition apparatus, and fig. 4 is a block diagram of a video recognition apparatus according to an exemplary embodiment, as shown in fig. 4, the apparatus 400 may include:
an extracting module 401, configured to perform blind watermark extraction operation on a key frame in a video to be published in response to a publishing request for the video to be published;
a first determining module 402, configured to identify, for a key frame from which blind watermark information is extracted, a first unique identifier in the blind watermark information, and determine, according to the first unique identifier, whether a video segment corresponding to the key frame is an original video segment;
a second determining module 403, configured to determine, according to a determination result of whether a video segment corresponding to the key frame is an original video segment, originality feature information of the video to be distributed, where the originality feature information is used to indicate whether the video to be distributed is a completely original video, a non-original video, or a partially original video.
Optionally, the first determining module 402 includes:
the first determining submodule is used for determining target author identification information of the video clip corresponding to the key frame according to the first unique identification code and a corresponding relation, wherein the corresponding relation comprises the corresponding relation between the unique identification code and the author identification information;
a second determining submodule, configured to determine, when the target creator identification information is consistent with identification information of a user who initiated the release request, that a video segment corresponding to the key frame is an original video segment;
and a third determining sub-module, configured to determine, when the identification information of the target creator is inconsistent with the identification information of the user who initiated the publishing request, that the video segment corresponding to the key frame is a non-original video segment.
Optionally, the apparatus 400 further comprises:
and the third determining module is used for determining whether the video segment corresponding to the key frame is the original video segment or not according to the image characteristic information of the key frame aiming at the key frame from which the blind watermark information is not extracted.
Optionally, the second determining module 403 includes:
the complete original video determining submodule is used for determining that the video to be published is the complete original video under the condition that the video clips corresponding to all the key frames in the video to be published are original video clips;
the non-original video determining submodule is used for determining that the video to be published is a non-original video under the condition that the video clips corresponding to all the key frames in the video to be published are non-original video clips;
and the partial original video determining submodule is used for determining that the video to be published is a partial original video under the condition that the video clips corresponding to partial key frames in the video to be published are original video clips.
Optionally, the apparatus 400 further comprises:
the system comprises an original degree determining module, a video publishing module and a video publishing module, wherein the original degree determining module is used for determining the original degree of a video to be published according to the number of original video fragments and the number of non-original video fragments in the video to be published under the condition that the video to be published is determined to be a part of original video;
and the fourth determining module is used for determining to release the video to be released under the condition that the originality degree is greater than a preset threshold value.
Optionally, the apparatus 400 further comprises:
a fifth determining module, configured to determine whether to publish the video to be published according to the original feature information of the video to be published;
the first generating module is used for generating a second unique identification code under the condition that the video to be published is determined to be published;
the second generating module is used for generating blind watermark information according to the second unique identification code;
the embedding module is used for embedding the blind watermark information generated according to the second unique identification code into a target key frame of the video to be published to obtain a new video to be published, wherein the target key frame comprises a key frame which is not extracted with the blind watermark information when the blind watermark extraction operation is carried out and a corresponding video segment is an original video segment;
and the publishing module is used for publishing the new video to be published.
Optionally, the apparatus 400 further comprises:
and the storage module is used for storing the second unique identification code and the identification information of the user initiating the issuing request into a corresponding relation, wherein the corresponding relation comprises the corresponding relation between the unique identification code and the identification information of the creator.
Referring now to FIG. 5, a block diagram of an electronic device 600 suitable for use in implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a fixed terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 5, the electronic device 600 may include a processing means (e.g., central processing unit, graphics processor, etc.) 601 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM) 602 or a program loaded from a storage means 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for the operation of the electronic apparatus 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Generally, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, magnetic tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. While fig. 5 illustrates an electronic device 600 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 609, or may be installed from the storage means 608, or may be installed from the ROM 602. The computer program, when executed by the processing device 601, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: responding to a publishing request aiming at a video to be published, and carrying out blind watermark extraction operation on key frames in the video to be published; identifying a first unique identification code in the blind watermark information aiming at the key frame extracted with the blind watermark information, and determining whether a video segment corresponding to the key frame is an original video segment or not according to the first unique identification code; and determining the originality characteristic information of the video to be published according to the determination result of whether the video clip corresponding to the key frame is the original video clip, wherein the originality characteristic information is used for indicating whether the video to be published is a complete original video, a non-original video or a partial original video.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of a module does not in some cases constitute a limitation of the module itself, for example, the extraction module may also be described as a "blind watermark extraction module".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems on a chip (SOCs), complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
Example 1 provides, in accordance with one or more embodiments of the present disclosure, a video recognition method, the method comprising: in response to a publishing request aiming at a video to be published, carrying out blind watermark extraction operation on a key frame in the video to be published; identifying a first unique identification code in the blind watermark information aiming at the key frame extracted with the blind watermark information, and determining whether a video segment corresponding to the key frame is an original video segment or not according to the first unique identification code; and determining the originality characteristic information of the video to be published according to the determination result of whether the video clip corresponding to the key frame is the original video clip, wherein the originality characteristic information is used for indicating whether the video to be published is a complete original video, a non-original video or a partial original video.
In accordance with one or more embodiments of the present disclosure, example 2 provides the method of example 1, wherein determining whether the video clip corresponding to the key frame is an original video clip according to the first unique identification code includes: determining target author identification information of the video clip corresponding to the key frame according to the first unique identification code and a corresponding relation, wherein the corresponding relation comprises the corresponding relation between the unique identification code and the author identification information; under the condition that the identification information of the target creator is consistent with the identification information of the user who initiates the release request, determining the video clip corresponding to the key frame as an original video clip; and under the condition that the identification information of the target creator is inconsistent with the identification information of the user who initiates the issuing request, determining that the video clip corresponding to the key frame is a non-original video clip.
Example 3 provides the method of example 1, further comprising, in accordance with one or more embodiments of the present disclosure: and determining whether the video segment corresponding to the key frame is an original video segment or not according to the image characteristic information of the key frame aiming at the key frame from which the blind watermark information cannot be extracted.
According to one or more embodiments of the present disclosure, example 4 provides the method of example 1, wherein determining, according to a determination result of whether a video clip corresponding to the key frame is an original video clip, original feature information of the video to be published includes: under the condition that video clips corresponding to all key frames in the video to be published are original video clips, determining that the video to be published is a complete original video; determining that the video to be published is a non-original video under the condition that video clips corresponding to all key frames in the video to be published are non-original video clips; and under the condition that the video clips corresponding to part of the key frames in the video to be published are original video clips, determining that the video to be published is part of the original video.
Example 5 provides the method of example 1, further including, in accordance with one or more embodiments of the present disclosure: under the condition that the video to be published is determined to be a part of original video, determining the original degree of the video to be published according to the number of original video fragments and the number of non-original video fragments in the video to be published; and determining to release the video to be released under the condition that the originality degree is greater than a preset threshold value.
Example 6 provides the method of any of examples 1 to 5, further comprising, in accordance with one or more embodiments of the present disclosure: determining whether to release the video to be released or not according to the original characteristic information of the video to be released; generating a second unique identification code under the condition of determining to publish the video to be published; generating blind watermark information according to the second unique identification code; embedding blind watermark information generated according to the second unique identification code into a target key frame of the video to be published to obtain a new video to be published, wherein the target key frame comprises key frames which have no blind watermark information extracted during the blind watermark extraction operation and have corresponding video segments as original video segments; and releasing the new video to be released.
Example 7 provides the method of example 6, further comprising, in accordance with one or more embodiments of the present disclosure: and storing the second unique identification code and the identification information of the user initiating the issuing request into a corresponding relation, wherein the corresponding relation comprises the corresponding relation between the unique identification code and the identification information of the creator.
Example 8 provides, in accordance with one or more embodiments of the present disclosure, a video recognition apparatus, the apparatus comprising: the extraction module is used for responding to a publishing request aiming at a video to be published and carrying out blind watermark extraction operation on key frames in the video to be published; the first determining module is used for identifying a first unique identification code in the blind watermark information aiming at the key frame extracted with the blind watermark information, and determining whether a video segment corresponding to the key frame is an original video segment or not according to the first unique identification code; and a second determining module, configured to determine, according to a determination result of whether a video clip corresponding to the key frame is an original video clip, originality feature information of the video to be distributed, where the originality feature information is used to indicate whether the video to be distributed is a completely original video, a non-original video, or a partially original video.
Example 9 provides, in accordance with one or more embodiments of the present disclosure, a computer-readable medium having stored thereon a computer program that, when executed by a processing device, performs the steps of the method of any of examples 1-7.
Example 10 provides, in accordance with one or more embodiments of the present disclosure, an electronic device comprising: a storage device having a computer program stored thereon; processing means for executing the computer program in the storage means to carry out the steps of the method of any of examples 1-7.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims. With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.

Claims (10)

1. A method for video recognition, the method comprising:
in response to a publishing request aiming at a video to be published, carrying out blind watermark extraction operation on a key frame in the video to be published;
identifying a first unique identification code in the blind watermark information aiming at the key frame extracted with the blind watermark information, and determining whether a video segment corresponding to the key frame is an original video segment or not according to the first unique identification code;
and determining the originality characteristic information of the video to be published according to the determination result of whether the video clip corresponding to the key frame is the original video clip, wherein the originality characteristic information is used for indicating whether the video to be published is a complete original video, a non-original video or a partial original video.
2. The method of claim 1, wherein the determining whether the video segment corresponding to the key frame is an original video segment according to the first unique identification code comprises:
determining target author identification information of the video clip corresponding to the key frame according to the first unique identification code and a corresponding relation, wherein the corresponding relation comprises the corresponding relation between the unique identification code and the author identification information;
under the condition that the identification information of the target creator is consistent with the identification information of the user who initiates the release request, determining the video clip corresponding to the key frame as an original video clip;
and under the condition that the identification information of the target creator is inconsistent with the identification information of the user initiating the issuing request, determining that the video clip corresponding to the key frame is a non-original video clip.
3. The method of claim 1, further comprising:
and determining whether the video segment corresponding to the key frame is an original video segment or not according to the image characteristic information of the key frame aiming at the key frame from which the blind watermark information cannot be extracted.
4. The method according to claim 1, wherein the determining the originality feature information of the video to be distributed according to the determination result of whether the video clip corresponding to the key frame is an original video clip comprises:
under the condition that video clips corresponding to all key frames in the video to be published are original video clips, determining that the video to be published is a complete original video;
determining that the video to be published is a non-original video under the condition that video clips corresponding to all key frames in the video to be published are non-original video clips;
and under the condition that the video clips corresponding to part of the key frames in the video to be published are original video clips, determining that the video to be published is part of the original video.
5. The method of claim 1, further comprising:
under the condition that the video to be published is determined to be a part of original video, determining the original degree of the video to be published according to the number of original video fragments and the number of non-original video fragments in the video to be published;
and determining to release the video to be released under the condition that the originality degree is greater than a preset threshold value.
6. The method according to any one of claims 1-5, further comprising:
determining whether to release the video to be released or not according to the original characteristic information of the video to be released;
generating a second unique identification code under the condition of determining to publish the video to be published;
generating blind watermark information according to the second unique identification code;
embedding blind watermark information generated according to the second unique identification code into a target key frame of the video to be published to obtain a new video to be published, wherein the target key frame comprises key frames which have no blind watermark information extracted during the blind watermark extraction operation and have corresponding video segments as original video segments;
and releasing the new video to be released.
7. The method of claim 6, further comprising:
and storing the second unique identification code and the identification information of the user initiating the issuing request into a corresponding relation, wherein the corresponding relation comprises the corresponding relation between the unique identification code and the identification information of the creator.
8. A video recognition apparatus, the apparatus comprising:
the extraction module is used for responding to a publishing request aiming at a video to be published and carrying out blind watermark extraction operation on key frames in the video to be published;
the first determining module is used for identifying a first unique identification code in the blind watermark information aiming at the key frame extracted with the blind watermark information, and determining whether a video segment corresponding to the key frame is an original video segment or not according to the first unique identification code;
and a second determining module, configured to determine, according to a determination result of whether a video clip corresponding to the key frame is an original video clip, originality feature information of the video to be distributed, where the originality feature information is used to indicate whether the video to be distributed is a completely original video, a non-original video, or a partially original video.
9. A computer-readable medium, on which a computer program is stored which, when being executed by a processing means, carries out the steps of the method according to any one of claims 1 to 7.
10. An electronic device, comprising:
a storage device having a computer program stored thereon;
processing means for executing the computer program in the storage means to carry out the steps of the method according to any one of claims 1 to 7.
CN202110507600.7A 2021-05-10 2021-05-10 Video identification method and device, readable medium and electronic equipment Pending CN115348472A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110507600.7A CN115348472A (en) 2021-05-10 2021-05-10 Video identification method and device, readable medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110507600.7A CN115348472A (en) 2021-05-10 2021-05-10 Video identification method and device, readable medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN115348472A true CN115348472A (en) 2022-11-15

Family

ID=83947008

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110507600.7A Pending CN115348472A (en) 2021-05-10 2021-05-10 Video identification method and device, readable medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN115348472A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115640422A (en) * 2022-11-29 2023-01-24 苏州琅日晴传媒科技有限公司 Network media video data analysis and supervision system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012106245A2 (en) * 2011-02-04 2012-08-09 Bickmore Jesse Unique watermarking for digital media
CN103123673A (en) * 2013-03-12 2013-05-29 山东省计算中心 Effective protective method of digital media copyright in web environment
CN110334181A (en) * 2019-06-05 2019-10-15 上海易点时空网络有限公司 Original content based on similarity detection declares method and device
CN110365973A (en) * 2019-08-06 2019-10-22 北京字节跳动网络技术有限公司 Detection method, device, electronic equipment and the computer readable storage medium of video
CN111601115A (en) * 2020-05-12 2020-08-28 腾讯科技(深圳)有限公司 Video detection method, related device, equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012106245A2 (en) * 2011-02-04 2012-08-09 Bickmore Jesse Unique watermarking for digital media
CN103123673A (en) * 2013-03-12 2013-05-29 山东省计算中心 Effective protective method of digital media copyright in web environment
CN110334181A (en) * 2019-06-05 2019-10-15 上海易点时空网络有限公司 Original content based on similarity detection declares method and device
CN110365973A (en) * 2019-08-06 2019-10-22 北京字节跳动网络技术有限公司 Detection method, device, electronic equipment and the computer readable storage medium of video
CN111601115A (en) * 2020-05-12 2020-08-28 腾讯科技(深圳)有限公司 Video detection method, related device, equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115640422A (en) * 2022-11-29 2023-01-24 苏州琅日晴传媒科技有限公司 Network media video data analysis and supervision system
CN115640422B (en) * 2022-11-29 2023-12-22 深圳有影传媒有限公司 Network media video data analysis and supervision system

Similar Documents

Publication Publication Date Title
CN110879903A (en) Evidence storage method, evidence verification method, evidence storage device, evidence verification device, evidence storage equipment and evidence verification medium
CN110365973B (en) Video detection method and device, electronic equipment and computer readable storage medium
CN110222775B (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
US11184174B2 (en) System and method for decentralized digital structured data storage, management, and authentication using blockchain
US11800201B2 (en) Method and apparatus for outputting information
CN111343146B (en) Data auditing method, system, computer readable medium and electronic equipment
CN109684589B (en) Client comment data processing method and device and computer storage medium
CN111459364B (en) Icon updating method and device and electronic equipment
CN112395560A (en) Copyright data processing method and device
CN108038172B (en) Search method and device based on artificial intelligence
CN110781437A (en) Method and device for acquiring webpage image loading duration and electronic equipment
CN110188782B (en) Image similarity determining method and device, electronic equipment and readable storage medium
CN110634173A (en) Picture mark information adding method and device, electronic equipment and readable medium
CN110688667A (en) Picture file processing method and device, terminal equipment and medium
CN115348472A (en) Video identification method and device, readable medium and electronic equipment
CN111756953A (en) Video processing method, device, equipment and computer readable medium
CN112612919A (en) Video resource association method, device, equipment and medium
CN110414625B (en) Method and device for determining similar data, electronic equipment and storage medium
CN116881896A (en) Method and device for generating device fingerprint library
CN111669476A (en) Watermark processing method, device, electronic equipment and medium
CN111314351A (en) Anti-crawler data processing method and device, electronic equipment and storage medium
CN112084441A (en) Information retrieval method and device and electronic equipment
CN114499893A (en) Bidding file encryption and evidence storage method and system based on block chain
CN114626968A (en) Watermark embedding method, watermark extracting method and device
CN111708680A (en) Error reporting information analysis method and device, electronic equipment and storage medium

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