CN111510776A - Method and system for inserting and extracting watermark identification - Google Patents

Method and system for inserting and extracting watermark identification Download PDF

Info

Publication number
CN111510776A
CN111510776A CN202010392979.7A CN202010392979A CN111510776A CN 111510776 A CN111510776 A CN 111510776A CN 202010392979 A CN202010392979 A CN 202010392979A CN 111510776 A CN111510776 A CN 111510776A
Authority
CN
China
Prior art keywords
watermark
top box
frame image
set top
watermark identification
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
CN202010392979.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.)
Zhian Entertainment Nanjing Technology Co ltd
Original Assignee
Zhian Entertainment Nanjing 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 Zhian Entertainment Nanjing Technology Co ltd filed Critical Zhian Entertainment Nanjing Technology Co ltd
Priority to CN202010392979.7A priority Critical patent/CN111510776A/en
Publication of CN111510776A publication Critical patent/CN111510776A/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/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/440227Processing 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 by decomposing into layers, e.g. base layer and one or more enhancement layers
    • 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

Abstract

The embodiment of the application discloses a method and a system for inserting and extracting watermark identification, wherein the method comprises the following steps: decoding the video stream output by the set top box frame by frame in real time to obtain an original frame image to be processed; generating a watermark identification uniquely corresponding to the set top box information according to the set top box information; and displaying the original frame image to be processed containing the watermark identification. By adding the watermark identification into the video stream output by the client (namely, the set-top box) and displaying the original frame image to be processed containing the watermark identification, once a pirated video event occurs, a copyright owner or a pay television operator can determine the set-top box information corresponding to the watermark identification according to the watermark identification, and further can determine the source of the unauthorized pirated video, so that the copyright owner or the pay television operator can recover the loss of the copyright owner or the pay television operator by taking the watermark identification as evidence.

Description

Method and system for inserting and extracting watermark identification
Technical Field
The present application relates to the field of digital copyright protection technologies, and in particular, to a method and a system for inserting and extracting a watermark identifier.
Background
The IPTV, i.e. the interactive network television, is a brand-new technology that integrates various technologies such as internet, multimedia, communication, etc. into a whole by using a broadband cable television network, and provides various interactive services including digital television for home users. Adding sufficient copyright protection in their networks is a necessary means for copyright owners and pay tv operators to maintain their own interests.
In the prior art, when IPTV digital copyright protection is performed based on a digital watermark technology, a server inserts a watermark into a video, and then sends the video with the watermark to a set-top box of a client, and thereafter, an operator can monitor whether video content played by other set-top boxes is legal or not by tracking the watermark of a user, but cannot determine the source of unauthorized pirated video, so that corresponding legal responsibility cannot be followed, and losses of copyright owners and pay television operators cannot be recovered.
Disclosure of Invention
The method and the device aim to solve the problems that in the prior art, watermarks are inserted into the video at a server side, when an illegal video rebroadcasting event is found, the rebroadcasting source of the illegal video cannot be determined, and therefore corresponding legal responsibility cannot be followed.
In a first aspect, the present application provides a method for inserting a watermark identifier, where the method includes: decoding the video stream output by the set top box frame by frame in real time to obtain an original frame image to be processed; generating a watermark identification uniquely corresponding to the set top box information according to the set top box information; and displaying the original frame image to be processed containing the watermark identification.
Preferably, displaying the original frame image to be processed including the watermark identifier includes: determining the insertion position of the watermark identifier in the original frame image to be processed; determining a pixel corresponding to the insertion position; and in a frame buffer area, adjusting the three-primary-color parameter values of the pixels corresponding to the insertion positions according to the watermark identification.
Preferably, the method comprises: and generating a watermark identifier uniquely corresponding to the information of the set top box according to the information of the set top box and the information of the original frame image to be processed.
Preferably, the amplitude is adjusted to increase or decrease at least one of the three primary color parameter values of each of said pixels according to a preset three primary color parameter value.
Preferably, the displaying the original frame image to be processed including the watermark identifier includes: generating an OSD covering layer with the watermark identification through an OSD interface; displaying the OSD overlay; and displaying an image layer with the original frame image to be processed, wherein the OSD covering layer covers in front of the image layer.
Preferably, the method further comprises: and adjusting the alpha value of the pixel corresponding to the watermark identifier on the OSD covering layer to ensure that the watermark identifier is displayed in the OSD covering layer in a semi-transparent manner.
Preferably, the method comprises: and generating a watermark identifier uniquely corresponding to the information of the set top box according to the information of the video stream and the information of the set top box.
In a second aspect, the present application provides a method for extracting a watermark identifier, where the method includes: acquiring suspected pirate videos;
extracting watermark marks in the suspected pirate videos; and comparing the watermark identification with a database, and determining the set top box information corresponding to the watermark identification, wherein the watermark identification and the set top box information uniquely corresponding to the watermark identification are stored in the database.
Preferably, the extracting the watermark identifier in the suspected pirate video includes: decoding the suspected pirate video frame by frame to obtain a frame image; comparing the three-primary-color parameter values of pixels at corresponding positions of the frame image and an original frame image, wherein the original frame image is a frame decoding image of an original video which is stored at a server and corresponds to the suspected pirate video; determining abnormal pixels in the frame image, which are different from the three-primary-color parameter values of the original frame image; determining the position of each abnormal pixel in the frame image; and extracting the watermark identification according to the abnormal pixel and the position of the abnormal pixel in the frame image.
In a third aspect, the present application provides a system for inserting and extracting a watermark identifier, where the system includes a server and a client;
the client is used for decoding the video stream output by the set top box frame by frame in real time to obtain an original frame image to be processed; generating a watermark identification uniquely corresponding to the set top box information according to the set top box information; displaying the original frame image to be processed containing the watermark identification;
the server is used for acquiring suspected pirated videos; extracting watermark marks in the suspected pirate videos; and comparing the watermark identification with a database, and determining the set top box information corresponding to the watermark identification, wherein the watermark identification and the set top box information uniquely corresponding to the watermark identification are stored in the database.
According to the method and the system for inserting and extracting the watermark identifier, the watermark identifier is added into a video stream output by a client (namely a set top box), the original frame image to be processed containing the watermark identifier is displayed, once a pirated video event occurs, a copyright owner or a pay television operator can determine the set top box information corresponding to the watermark identifier according to the watermark identifier, and further can determine the source of unauthorized pirated video, so that the copyright owner or the pay television operator can recover own loss by taking the source as evidence.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a schematic workflow diagram of a method for inserting a watermark identifier according to an embodiment of the present application;
fig. 2 is a schematic workflow diagram of another watermark identifier insertion method provided in an embodiment of the present application;
fig. 3 is a schematic workflow diagram of another watermark identifier insertion method provided in an embodiment of the present application;
fig. 4 is a schematic workflow diagram of a method for extracting a watermark identifier according to an embodiment of the present application;
fig. 5 is a schematic workflow diagram of another watermark identifier extraction method provided in an embodiment of the present application;
fig. 6 is a schematic data interaction diagram of a watermark identifier insertion and extraction system according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention.
In some of the flows described in the present specification and claims and in the above figures, a number of operations are included that occur in a particular order, but it should be clearly understood that these operations may be performed out of order or in parallel as they occur herein, with the order of the operations being indicated as 101, 102, etc. merely to distinguish between the various operations, and the order of the operations by themselves does not represent any order of performance. Additionally, the flows may include more or fewer operations, and the operations may be performed sequentially or in parallel.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
Fig. 1 is a schematic workflow diagram of a method for inserting a watermark identifier according to an embodiment of the present application.
As shown in fig. 1, the method is performed by a client set-top box, and the method includes the following steps:
step 101, decoding the video stream output by the set-top box frame by frame in real time to obtain an original frame image to be processed.
In the embodiment of the application, the video stream output from the set top box is unprocessed, that is, the server side directly sends the unprocessed video content to the set top box, and the video content may be video content on demand or live broadcast.
And 102, generating a watermark identification uniquely corresponding to the set top box information according to the set top box information.
The set-top box information may include a unique device identifier, such as a MAC address of the set-top box device, a factory number of the set-top box device, and the like, and may also include some user information, such as personal information of a user who purchased the set-top box, for example, a mobile phone number, and the like.
Each piece of information of the set-top box can correspond to a pattern, the patterns corresponding to all pieces of information can form a watermark identification, and the watermark identification is uniquely corresponding to the set-top box, that is, different watermark identifications necessarily correspond to different pieces of information of the set-top box.
And 103, displaying the original frame image to be processed containing the watermark identification.
And after processing, the original frame image to be processed displayed on the display equipment of the user comprises the watermark identification.
The method for inserting the watermark identifier comprises the steps of firstly, decoding a video stream output by a set top box frame by frame in real time to obtain an original frame image to be processed; then, generating a watermark identification uniquely corresponding to the set-top box information according to the set-top box information; and finally, displaying the original frame image to be processed containing the watermark identification. According to the method and the device, the watermark identification is added into the video stream output by the client (namely, the set top box), the original frame image to be processed containing the watermark identification is displayed, once a pirated video event occurs, a copyright owner or a pay television operator can determine the set top box information corresponding to the watermark identification according to the watermark identification, and further can determine the source of the unauthorized pirated video, so that the copyright owner or the pay television operator can recover the loss of the copyright owner or the pay television operator by taking the watermark identification as evidence.
In step 103, there are various ways to display the original frame image to be processed including the watermark identifier, which are not limited in this application, and for example, the following two realizable ways may be adopted.
In a first implementation, as shown in fig. 2, the method includes the following steps:
step 201, determining the insertion position of the watermark identifier in the original frame image to be processed.
In this embodiment of the present application, the insertion positions in different original frame images to be processed may be the same, for example, the insertion positions of the watermark markers in the original frame images to be processed may be determined according to the resolution of the original frame images to be processed, that is, the width and the height of the original frame images to be processed, and for original frame images to be processed with the same resolution, the corresponding watermark insertion positions may be the same. The insertion positions in different original frame images to be processed may also be different, for example, an insertion position may be randomly generated through a random function, that is, the insertion positions of the watermark markers in different original frame images to be processed are random and irregular, which may effectively prevent an illegal user from intentionally blocking the watermark markers and other operations. The embodiment of the present application does not limit the implementation manner of determining the insertion position.
Step 202, determining a pixel corresponding to the insertion position.
It should be noted that each original frame image to be processed is composed of one pixel, and the color displayed by each pixel is realized by adjusting the parameter values of the three primary colors (red, green, and blue) corresponding to the pixel.
Step 203, in a frame buffer area, adjusting the three-primary-color parameter value of the pixel corresponding to the insertion position according to the watermark identification.
In the embodiment of the application, the watermark identification can be understood as a pattern, and then the three-primary-color parameter values of corresponding pixels are adjusted on the basis of the pixels at the insertion positions of the original frame image to be processed according to the pattern of the watermark identification.
Adjusting the magnitude to increase or decrease at least one three primary color parameter value per said pixel according to the preset three primary color parameter values. On the basis of the three-primary-color parameter values of the pixels at the insertion positions of the original frame image to be processed, at least one three-primary-color parameter value of each pixel is increased or decreased, namely, at least one three-primary-color parameter value of the pixel at the insertion position is modified. For example: the original three-primary-color parameter values of a pixel inserted into a position in the original frame image to be processed are respectively as follows: if the parameter value corresponding to green is 100, the parameter value corresponding to red is 80, and the parameter value corresponding to blue is 120, then after the pixel is adjusted according to the preset three-primary-color parameter value adjustment range, the three-primary-color parameter values corresponding to the pixel may be: the green corresponds to a parameter value of 103, the red corresponds to a parameter value of 80, and the blue corresponds to a parameter value of 120.
Further, in order not to affect the display effect of the video, the user may not perceive the watermark identifier in the video, and when adjusting the three-primary-color parameter value of the pixel corresponding to the insertion position, the frame buffer organization and the color depth may be considered, so that the color of the modified pixel is as less noticeable as possible. For example, the adjustment range of each parameter value is 1-20, that is, each parameter value can be increased or decreased by 1-20 based on the original parameter value of the pixel at the insertion position of the original frame image to be processed.
Corresponding to the first implementation manner, the method for generating the watermark identifier may generate the watermark identifier uniquely corresponding to the information of the set top box according to the information of the set top box and the information of the original frame image to be processed.
The information of the original frame image to be processed may include a width and a height of the original frame image to be processed, video coding, and the like, which is not limited in this application. That is to say, the watermark identification can not only reflect the information of the set top box, but also reflect the information of the video itself, so that different watermark identifications in different videos output by the same set top box can be realized, and effective information of watermark identification load is enriched. The video coding means that each video corresponds to a unique code at a server, and a user can obtain the video code corresponding to the video after purchasing the video. In addition, the operator providing the video can be further determined through video coding.
The first implementation manner provided by the embodiment of the application inserts the watermark identifier into the video by modifying the three-primary-color parameter value of the pixel corresponding to the insertion position of the original frame image to be processed, and the image displayed on the user display device is the modified original frame image to be processed with the watermark identifier.
In a second implementation, as shown in fig. 3, the method includes the following steps:
step 301, generating an OSD overlay with the watermark identifier through an OSD (On Screen Display) interface.
The OSD is mainly applied to a CRT/L CD display, and generates some special fonts or graphics on the screen of the display, so that a user can obtain some information, for example, the OSD can be used to adjust various operation indexes of the display, including color, mode, geometric shape, and the like, so as to achieve an optimal use state.
In the embodiment of the application, the original OSD application mechanism in the set-top box equipment is utilized, and the OSD covering layer with the watermark identification is generated through the existing OSD interface. In order not to affect the display of elements in the original OSD overlay, such as icons (e.g., audio bars, luminance bars, etc.), subtitles, etc., it is preferable that the location of the watermark marker in the OSD overlay does not overlap the location of elements in the original OSD overlay.
Step 302, displaying the OSD cover layer.
The generated OSD cover layer with the watermark identification is always displayed in front of the screen of the display device.
And 303, displaying an image layer with the original frame image to be processed, wherein the OSD covering layer covers the image layer.
The display effect of each frame of image played by a user is composed of an OSD covering layer and an image layer of an original frame image to be processed, wherein the OSD covering layer with the watermark identification is always positioned in front of the image layer, namely the OSD covering layer with the watermark identification is always positioned between the image layer and a screen of display equipment.
In the second implementation manner provided by the embodiment of the application, the OSD cover layer with the watermark identifier is generated by using the existing OSD application mechanism, and then the OSD cover layer with the watermark identifier is always displayed between the image layer and the screen of the display device, so that the finally displayed video picture has the watermark identifier. By adopting the second implementation mode, excessive processing of the video is not required, and compared with the first implementation mode, the processing requirement is obviously reduced.
Furthermore, in order not to affect the viewing effect of the user, the alpha value of the pixel corresponding to the watermark identifier on the OSD cover layer is adjusted, so that the watermark identifier is displayed in the OSD cover layer in a semi-transparent manner.
The transparency and opacity of each pixel may be specified by the alpha channel, with a value of 0 for alpha indicating transparency and 255 for alpha indicating opacity, with values in between this range indicating translucency.
Corresponding to the second implementation manner, the method for generating the watermark identifier may generate the watermark identifier uniquely corresponding to the information of the set top box according to the information of the set top box and the information of the video stream.
The information of the video stream may include video coding, video resolution, etc., which is not limited in this application. That is to say, the watermark identification can not only reflect the information of the set top box, but also reflect the information of the video itself, so that different watermark identifications in different videos output by the same set top box can be realized, and effective information of watermark identification load is enriched.
Example two
Fig. 4 is a schematic workflow diagram of a method for extracting a watermark identifier according to an embodiment of the present application.
As shown in fig. 4, the method is executed by a server, and the method includes the following steps:
step 401, a suspected pirate video is obtained.
The suspected pirated video may be a video resource obtained by an illegal user through recording or rebroadcasting and the like, the server can identify the rebroadcasting link at the online flow suspected of having the pirated event through a network crawler crawling and the like, and then further obtain the suspected pirated video.
Step 402, extracting watermark identification in the suspected pirate video.
Step 403, comparing the watermark identification with a database, and determining the set top box information corresponding to the watermark identification, wherein the database stores the watermark identification and the set top box information uniquely corresponding to the watermark identification.
The method for extracting the watermark identification provided by the embodiment of the application can acquire the video suspected of having the pirate event by monitoring the internet rebroadcasting source, extract the watermark identification from the suspected pirate video, compare the extracted watermark identification with the database of the server side, store the watermark identification in the database, and the set top box information uniquely corresponding to the watermark identification, and further determine the set top box information corresponding to the watermark identification through the watermark identification, so that the source of the suspected pirate video, a copyright owner or a pay television operator can be determined, and the loss can be recovered by taking the source as evidence.
Further, as shown in fig. 5, the extracting the watermark identifier in the suspected pirate video in step 402 may specifically include the following steps:
step 501, decoding suspected pirate videos frame by frame to obtain frame images.
Step 502, comparing the three primary color parameter values of the pixels at the corresponding positions of the frame image and the original frame image, wherein the original frame image is a frame decoding image of an original video which is stored in a server and corresponds to the suspected pirate video.
It should be noted that the original frame image described in step 502 refers to a frame decoded image corresponding to the original video that does not contain the watermark. The server stores original video resources before the watermark identification is inserted, and the original video resources can be used for comparing with suspected pirate videos.
Step 503, determining an abnormal pixel in the frame image, which is different from the three-primary-color parameter value of the original frame image.
When the watermark identifier is inserted at the set-top box end, the three primary color parameter values of the pixels corresponding to the original frame image to be processed output from the set-top box are adjusted, so that for the above watermark insertion manner, in steps 502 and 503, the three primary color parameter values of the pixels at the positions corresponding to the frame image and the original frame image can be compared, and the abnormal pixels different from the three primary color parameter values of the original frame image in the frame image are determined. The abnormal pixel refers to a pixel with different three primary color parameter values of the frame image and the original frame image at the same position.
And step 504, determining the position of each abnormal pixel in the frame image.
After all abnormal pixels in the frame image are determined, the position of each abnormal pixel in the frame image is determined.
And 505, extracting the watermark identifier according to the abnormal pixel and the position of the abnormal pixel in the frame image.
And drawing a pattern according to the abnormal pixel and the position of the abnormal pixel in the frame image, wherein the pattern is the corresponding watermark identification.
The method for extracting the watermark identifier in the suspected pirated video provided by the embodiment of the application is mainly directed to a mode for displaying the original frame image to be processed containing the watermark identifier provided by a first realizable mode in the first embodiment.
If the watermark identifier is inserted into the video at the set-top box end in a manner of modifying three-primary-color parameter values of pixels corresponding to the insertion positions of the original frame images to be processed, when the watermark identifier is extracted, firstly, the three-primary-color parameter values of the pixels at the positions corresponding to the frame images and the original frame images need to be compared, abnormal pixels different from the three-primary-color parameter values of the original frame images in the frame images are determined, then, the positions of all the abnormal pixels in the frame images are determined, and finally, the watermark identifier can be extracted according to the abnormal pixels and the positions of the abnormal pixels in the frame images.
In another embodiment, if the original frame image to be processed containing the watermark identifier is displayed at the set-top box end in the mode of displaying the OSD overlay layer, since the position of the watermark identifier in the video can be seen, the server can directly intercept the watermark identifier when extracting the watermark identifier, and a complex processing process is not needed to extract the watermark identifier.
EXAMPLE III
Fig. 6 is a schematic data interaction diagram of a watermark identification insertion and extraction system according to an embodiment of the present application.
As shown in fig. 6, the system includes a server and a client; the client is used for decoding the video stream output by the set top box frame by frame in real time to obtain an original frame image to be processed; generating a watermark identification uniquely corresponding to the information of the set top box according to the information of the set top box; displaying the original frame image to be processed containing the watermark identification; the server is used for acquiring suspected pirated videos; extracting watermark marks in the suspected pirate videos; and comparing the watermark identification with a database, and determining the set top box information corresponding to the watermark identification, wherein the watermark identification and the set top box information uniquely corresponding to the watermark identification are stored in the database.
The system for inserting and extracting the watermark identifier provided by the embodiment of the application adds the watermark identifier into the video stream output by the client set top box, wherein the watermark identifier corresponding to each set top box is unique, and displays the original frame image to be processed containing the watermark identifier. The server side can identify the rebroadcasting link connection stream suspected of having the pirate event through the modes of crawling by a web crawler and the like, once the pirate video event is found, the server side can obtain the suspected pirate video, then extract the watermark identification in the suspected pirate video, and then compare the extracted watermark identification with the watermark identification which is stored in the database and corresponds to the set-top box one by one to determine a rebroadcasting source. The system provided by the embodiment of the application can establish a virtual 'supervision chain' for the ultra-high-definition video content to accurately identify the unauthorized copy source, thereby providing valuable evidence for legal actions of a criminal.
The ultra-high definition refers to a formal name of information display of '4K resolution (3840 × 2160 pixels)' newly approved by the International telecommunication Union, and is also suitable for '8K resolution (7680 × 4320 pixels)'.
It should be further noted that the set top box in the embodiment of the present application may be an inventory set top box, which is not limited in the present application.
With regard to the system in the above embodiment, the specific manner in which the server and the client perform operations has been described in detail in the embodiment of the related method, and will not be elaborated here. The embodiments of the present application may be referred to one another.
In one possible design, the server includes a processor and a memory, where the memory is configured to store one or more computer instructions, where the one or more computer instructions are invoked for execution by the processor; the processor is configured to: acquiring suspected pirate videos; extracting watermark marks in the suspected pirate videos; and comparing the watermark identification with a database, and determining the set top box information corresponding to the watermark identification, wherein the watermark identification and the set top box information uniquely corresponding to the watermark identification are stored in the database.
Embodiments of the present invention provide a computer storage medium having one or more computer instructions stored thereon, which, when executed, implement a video content encryption method.
In one possible design, a client includes a processor and a memory, where the memory is to store one or more computer instructions, where the one or more computer instructions are for the processor to invoke execution; the processor is used for decoding the video stream output by the set top box frame by frame in real time to obtain an original frame image to be processed; generating a watermark identification uniquely corresponding to the information of the set top box according to the information of the set top box; and displaying the original frame image to be processed containing the watermark identification.
An embodiment of the present invention further provides a computer storage medium, where one or more computer instructions are stored, and when executed, the computer instructions implement a video content decryption method.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (10)

1. A method for inserting a watermark, the method comprising:
decoding the video stream output by the set top box frame by frame in real time to obtain an original frame image to be processed;
generating a watermark identification uniquely corresponding to the set top box information according to the set top box information;
and displaying the original frame image to be processed containing the watermark identification.
2. The method according to claim 1, wherein displaying the original frame image to be processed containing the watermark identification comprises:
determining the insertion position of the watermark identifier in the original frame image to be processed;
determining a pixel corresponding to the insertion position;
and in a frame buffer area, adjusting the three-primary-color parameter values of the pixels corresponding to the insertion positions according to the watermark identification.
3. The method of claim 2, wherein the method comprises:
and generating a watermark identifier uniquely corresponding to the information of the set top box according to the information of the set top box and the information of the original frame image to be processed.
4. The method of claim 2,
adjusting the magnitude to increase or decrease at least one of the three primary color parameter values of each of the pixels according to a preset three primary color parameter value.
5. The method according to claim 1, wherein the displaying the original frame image to be processed containing the watermark identifier comprises:
generating an OSD covering layer with the watermark identification through an OSD interface;
displaying the OSD overlay;
and displaying an image layer with the original frame image to be processed, wherein the OSD covering layer covers in front of the image layer.
6. The method of claim 5, further comprising:
and adjusting the alpha value of the pixel corresponding to the watermark identifier on the OSD covering layer to ensure that the watermark identifier is displayed in the OSD covering layer in a semi-transparent manner.
7. The method of claim 5, wherein the method comprises:
and generating a watermark identifier uniquely corresponding to the information of the set top box according to the information of the video stream and the information of the set top box.
8. A method for extracting watermark identification, the method comprising:
acquiring suspected pirate videos;
extracting watermark marks in the suspected pirate videos;
and comparing the watermark identification with a database, and determining the set top box information corresponding to the watermark identification, wherein the watermark identification and the set top box information uniquely corresponding to the watermark identification are stored in the database.
9. The method of claim 8, wherein the extracting the watermark identifier in the suspected pirated video comprises:
decoding the suspected pirate video frame by frame to obtain a frame image;
comparing the three-primary-color parameter values of pixels at corresponding positions of the frame image and an original frame image, wherein the original frame image is a frame decoding image of an original video which is stored at a server and corresponds to the suspected pirate video;
determining abnormal pixels in the frame image, which are different from the three-primary-color parameter values of the original frame image;
determining the position of each abnormal pixel in the frame image;
and extracting the watermark identification according to the abnormal pixel and the position of the abnormal pixel in the frame image.
10. A watermark identification insertion and extraction system is characterized by comprising a server side and a client side;
the client is used for decoding the video stream output by the set top box frame by frame in real time to obtain an original frame image to be processed; generating a watermark identification uniquely corresponding to the set top box information according to the set top box information; displaying the original frame image to be processed containing the watermark identification;
the server is used for acquiring suspected pirated videos; extracting watermark marks in the suspected pirate videos; and comparing the watermark identification with a database, and determining the set top box information corresponding to the watermark identification, wherein the watermark identification and the set top box information uniquely corresponding to the watermark identification are stored in the database.
CN202010392979.7A 2020-05-11 2020-05-11 Method and system for inserting and extracting watermark identification Pending CN111510776A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010392979.7A CN111510776A (en) 2020-05-11 2020-05-11 Method and system for inserting and extracting watermark identification

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010392979.7A CN111510776A (en) 2020-05-11 2020-05-11 Method and system for inserting and extracting watermark identification

Publications (1)

Publication Number Publication Date
CN111510776A true CN111510776A (en) 2020-08-07

Family

ID=71871858

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010392979.7A Pending CN111510776A (en) 2020-05-11 2020-05-11 Method and system for inserting and extracting watermark identification

Country Status (1)

Country Link
CN (1) CN111510776A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022033485A1 (en) * 2020-08-13 2022-02-17 北京达佳互联信息技术有限公司 Video processing method and electronic device

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101491078A (en) * 2006-07-24 2009-07-22 汤姆森许可贸易公司 Method, apparatus and system for secure distribution of content
CN101742235A (en) * 2009-12-31 2010-06-16 成都东银信息技术股份有限公司 Pirate examination method of digital television program
CN102647635A (en) * 2012-04-20 2012-08-22 北京视博数字电视科技有限公司 Method, device and system for preventing video fingerprint attacks
CN102740137A (en) * 2012-07-18 2012-10-17 西安科技大学 Digital television timing charging and copyright protecting method based on watermarks
CN103458320A (en) * 2013-08-29 2013-12-18 上海美琦浦悦通讯科技有限公司 Copyright control system based on watermark technology and method for adding digital watermarks to video
US20140325550A1 (en) * 2013-04-25 2014-10-30 Verance Corporation Real-time anti-piracy for broadcast streams
CN105913362A (en) * 2016-04-08 2016-08-31 四川省亚丁胡杨人力资源集团有限公司 Mobile Internet service application-based worker protecting system
CN105979196A (en) * 2016-06-07 2016-09-28 华为技术有限公司 Method and device for controlling camera shooting device
CN108242041A (en) * 2016-12-26 2018-07-03 天津职业技术师范大学 A kind of non-blind watermark implementing method of random order based on chaos
CN110796582A (en) * 2019-09-26 2020-02-14 北京大学 Reversible plain watermark method and device based on vector graphic compression

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101491078A (en) * 2006-07-24 2009-07-22 汤姆森许可贸易公司 Method, apparatus and system for secure distribution of content
CN101742235A (en) * 2009-12-31 2010-06-16 成都东银信息技术股份有限公司 Pirate examination method of digital television program
CN102647635A (en) * 2012-04-20 2012-08-22 北京视博数字电视科技有限公司 Method, device and system for preventing video fingerprint attacks
CN102740137A (en) * 2012-07-18 2012-10-17 西安科技大学 Digital television timing charging and copyright protecting method based on watermarks
US20140325550A1 (en) * 2013-04-25 2014-10-30 Verance Corporation Real-time anti-piracy for broadcast streams
CN103458320A (en) * 2013-08-29 2013-12-18 上海美琦浦悦通讯科技有限公司 Copyright control system based on watermark technology and method for adding digital watermarks to video
CN105913362A (en) * 2016-04-08 2016-08-31 四川省亚丁胡杨人力资源集团有限公司 Mobile Internet service application-based worker protecting system
CN105979196A (en) * 2016-06-07 2016-09-28 华为技术有限公司 Method and device for controlling camera shooting device
CN108242041A (en) * 2016-12-26 2018-07-03 天津职业技术师范大学 A kind of non-blind watermark implementing method of random order based on chaos
CN110796582A (en) * 2019-09-26 2020-02-14 北京大学 Reversible plain watermark method and device based on vector graphic compression

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陶秋丰: "《互联网创业成功之道 网站策划、建设、推广、盈利实战攻略》", 31 March 2010 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022033485A1 (en) * 2020-08-13 2022-02-17 北京达佳互联信息技术有限公司 Video processing method and electronic device

Similar Documents

Publication Publication Date Title
US7526650B1 (en) Personal identifiers for protecting video content
KR101529082B1 (en) Apparatus for watermarking by dividing off tracking information and method therefor
Doerr et al. A guide tour of video watermarking
US6490355B1 (en) Method and apparatus for use of a time-dependent watermark for the purpose of copy protection
US9094733B2 (en) Methods and systems for cryptographic access control of video
US20100064305A1 (en) System and method of detecting unauthorized content usage
US10477284B2 (en) Watermark embedding method and apparatus, and system
JP2004533143A (en) Spatio-temporal channel of image
US20170318358A1 (en) Processing and providing an image in which a plurality of symbols are encoded
CN110896484A (en) Video watermark adding and extracting method and device, video playing end and storage medium
EP3198879B1 (en) Receiver-side marking of content for unique identification
WO2008073077A1 (en) Text-based anti-piracy system and method for digital cinema
US7574004B2 (en) Image display method and image display processor
US10834158B1 (en) Encoding identifiers into customized manifest data
CN111510776A (en) Method and system for inserting and extracting watermark identification
US9959906B2 (en) Method and a receiver device configured to mark digital media content
US10834457B1 (en) Client-side watermarking of video content
US10698988B2 (en) Difference attack protection
CN111510775B (en) Digital copyright management and watermark tracking method and system for set top box video in IPTV
CN109474830B (en) Embedding and extracting method of digital video steel seal
US20220046332A1 (en) System and method for automatic detection and reporting of group watermarking data
CN114339449A (en) Copyright protection method for embedding watermark in display system
KR101153262B1 (en) System and method for inserting/extracting watermark in video contents by piling on each other
US11284169B2 (en) Method of and a device for rendering content data of a content data stream based on a level of toxicity of the content data stream
Lin et al. Video and image watermark synchronization

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200807

RJ01 Rejection of invention patent application after publication