CN105721951A - Video watermark processing method and device - Google Patents

Video watermark processing method and device Download PDF

Info

Publication number
CN105721951A
CN105721951A CN201610058788.0A CN201610058788A CN105721951A CN 105721951 A CN105721951 A CN 105721951A CN 201610058788 A CN201610058788 A CN 201610058788A CN 105721951 A CN105721951 A CN 105721951A
Authority
CN
China
Prior art keywords
watermark
strategy
circuit
module
video flowing
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.)
Granted
Application number
CN201610058788.0A
Other languages
Chinese (zh)
Other versions
CN105721951B (en
Inventor
陈尚松
吴迪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201610058788.0A priority Critical patent/CN105721951B/en
Publication of CN105721951A publication Critical patent/CN105721951A/en
Priority to PCT/CN2016/091568 priority patent/WO2017128655A1/en
Application granted granted Critical
Publication of CN105721951B publication Critical patent/CN105721951B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • 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 invention discloses a video watermark processing method, applied to a processor of a video terminal device. The processor comprises a dependable trusted execution environment TEE; N watermark marking circuits in the TEE are used for receiving N video streams respectively, wherein N is an integer more than 1. Aiming at the watermark marking circuit in the N watermark marking circuits, the video watermark processing method comprises the steps that the watermark marking circuit receives one video stream in the N video streams, wherein each video stream in the N video streams comprises different watermark strategies, and watermark information corresponding to the watermark strategy in the received the video stream is determined according to pre-established correspondence between the watermark strategies and the watermark information; and the watermark information corresponding to the video stream is marked on the video stream. The embodiment of the invention also provides a corresponding video watermark processing method, which can be used for adding different kinds of watermark information into different video streams, thus the types of the watermark information is increased, and the safety is enhanced.

Description

The method of a kind of video watermark process and device
Technical field
The present invention relates to technical field of video processing, be specifically related to method and device that a kind of video watermark processes.
Background technology
Evolution and the people's continuous pursuit to more high-quality visual along with video coding and decoding technology, high definition (High-Definition, HD), full HD (FullHigh-Definition, FHD) come into the public visual field gradually with the high-resolution video such as ultra high-definition (UltraHigh-Definition, UHD) and promoted rapidly.Owing to the video production of high-quality is with high costs, copyright protection has formed industry common recognition and has constantly strengthened.Corresponding safety standard has been made with the tissue that film laboratories (MovieLabs) is representative; the video frequency output of terminal unit wherein must adopt HDCP (High-bandwidthDigitalContentProtection, HDCP) technology protect.
In HDCP technology, digital watermarking is a kind of conventional resist technology.Digital watermarking is to data multimedia, for instance: image, sound and video flowing add some digital information to reach the functions such as file real and fake discrimination, copyright protection.
Global platform (GlobalPlatform) ANSI is for digital copyright management (DigitalRightsManagement, DRM) solution defines secure operating environment (TrustedExecutionEnvironment trusty within a processor, and abundant two running environment of running open environment (RichExecutionEnvironment, REE) of application TEE).TEE is a secure operating environment trusty, and it is all safe and reliable for running software and hardware resources therein, and operates in the application in TEE and be called trusted application (TrustedApplication, TA).REE is abundant application system running environment, runs that software and hardware resources therein is very many and application programs open, thus is also unsafe.
Consult Fig. 1, in existing video playback watermarking techniques, include video playback application module in REE side, be responsible for obtaining video code flow, and transmit the watermark strategy of whether watermark and video code flow to TEE side.TEE side includes digital copyright management (DigitalRightsManagement, DRM) module, driver module, watermark circuit and video display circuit.Wherein, DRM module is used for deciphering watermark strategy, and by driver module, watermark strategy is allocated to watermark circuit, when watermark strategy is watermark, DRM module controls watermark circuit by driver module and opens watermark switch, when watermark strategy is not watermark, DRM module controls watermark circuit by driver module and closes watermark switch.DRM module is additionally operable to receive video flowing, and video flowing is transferred to video display circuit.Driver module, when video display circuit receives video flowing, performs display driving software, it is ensured that the video flowing output of video display circuit.After the video flowing of video display circuit output arrives watermark circuit, watermark circuit configures watermark according to the watermark strategy of DRM module.When watermark switch is opened, then watermark circuit is after receiving video flowing, will stamp watermark for this video flowing.When watermark switch cuts out, watermark circuit, after receiving video flowing, will not be this video flowing watermark, and wherein, the module that TEE includes is TA.
In the watermark processing flow process that above-mentioned prior art provides, DRM module controls multiple watermark circuit and opens or closes watermark switch, when watermark switch is in open mode, the video flowing received is stamped same watermark by each watermark circuit, and watermark processing mode is single.
Summary of the invention
The problem single in order to solve watermark processing in prior art, the embodiment of the present invention provides a kind of method that video watermark processes, it is possible to stamp different watermark informations for different video flowings, thus improve safety.The embodiment of the present invention additionally provides corresponding device.
First aspect present invention provides a kind of method that video watermark processes, it is applied to the processor of video frequency terminal apparatus, this video frequency terminal apparatus can be the terminal units such as Set Top Box, DTV, personal computer and mobile phone, this processor includes secure operating environment TEE, N number of watermark circuit in this TEE is for receiving N road video flowing respectively, N is the integer more than 1, and for a watermark circuit in N number of watermark circuit, the method that video watermark processes includes:
One watermark circuit receives video flowing Zhong mono-road, N road video flowing, and video flowing Zhong Ge road, N road video flowing comprises different watermark strategy respectively;Such as: video flowing 0 comprises watermark strategy A, video flowing 1 comprise in watermark strategy B and video flowing 2 and comprise watermark strategy C;
One marking note circuit corresponding relation according to the watermark strategy pre-build Yu watermark information, it is determined that watermark information corresponding to watermark strategy in this road video flowing received
One watermark circuit is that this road video flowing stamps the watermark information that this road video flowing is corresponding.
The method that a kind of video watermark that first aspect present invention provides processes, watermark information is determined for this video flowing for the watermark strategy in video flowing, such that it is able to the video flowing being different adds different watermark informations, add the kind of watermark information, improve safety.
In conjunction with first aspect, in the implementation that the first is possible, running open environment REE, REE that processor also includes application abundant include video playback application module, also include N number of DRM module for digital copyright management DRM and video marker module in TEE,
Before a watermark circuit receives video flowing Zhong mono-road, N road video flowing, the first possible implementation also includes:
Each DRM module receives the single channel video flowing in the N road video flowing that the transmission of video playback application module comes respectively;
The corresponding relation of the video marker module mark according to the DRM module pre-build and watermark strategy, for watermark strategy corresponding with the mark of each DRM module on the single channel video flowing labelling that comes from the transmission of each DRM module, obtains N road video flowing.
This optional implementation, the video flowing that DRM module receives is not comprise watermark strategy, video marker module is that each single video stream stamps watermark strategy according to the mark of the DRM module pre-build and the corresponding relation of watermark strategy, it is achieved thereby that different video flowings can have different watermark strategy, thus adding the kind of watermark strategy.
In conjunction with the first possible implementation of first aspect, in the implementation that the second is possible, before each DRM module receives the single channel video flowing that the transmission of video playback application module comes respectively, the possible implementation of the second also includes:
Each DRM module receives the different watermark strategy that the transmission of video playback application module comes respectively;
The watermark strategy that video marker module is come according to the transmission of each DRM module, sets up the mark of DRM module and the corresponding relation of watermark strategy.
This optional implementation, DRM module is before receiving video flowing, first receive watermark strategy, ensure that video marker module can set up the mark of DRM module and the corresponding relation of watermark strategy, and then ensure that video marker module can for watermark strategy different on different video flowing labellings.
In conjunction with the implementation that first aspect the first or the second are possible, in the implementation that the third is possible, also including the watermark Watermark module for watermark strategy configuration in TEE, the third possible implementation also includes:
Watermark module obtains different watermark strategy from each DRM module, and the watermark strategy set different watermark strategy formed is respectively configured the every watermark circuit in N number of watermark circuit;
Each watermark circuit is the watermark information that each watermark strategy configuration in watermark strategy set is corresponding, sets up the corresponding relation of watermark strategy and watermark information.
This optional implementation, watermark strategy set is respectively configured each watermark circuit by Watermark module, so that each watermark circuit could set up the corresponding relation of each watermark strategy and watermark information in watermark strategy set, not only ensure that each video flowing can stamp different watermark informations, and when video flowing occurs suddenly watermark circuit to switch, correct watermark information can also be stamped according to the corresponding relation of each watermark strategy and watermark information in print strategy set according on watermark circuit after handover, ensure that when switching suddenly, the accuracy of watermark information.
In conjunction with the third possible implementation of first aspect, in the 4th kind of possible implementation, before every watermark circuit that the watermark strategy set different watermark strategy formed in Watermark module is respectively configured in N number of watermark circuit, the 4th kind of possible implementation also includes:
Watermark module is that each watermark strategy arranges priority;
The watermark strategy set that different watermark strategy is formed by Watermark module is respectively configured the every watermark circuit in N number of watermark circuit, specifically includes:
The watermark strategy set that the different watermark strategy being provided with priority forms is respectively configured the every watermark circuit in N number of watermark circuit by Watermark module;
One watermark circuit is that this road video flowing stamps the watermark information that this road video flowing is corresponding, including:
When comprising at least two watermark strategy in this road video flowing, a watermark circuit determines the watermark strategy that at least two watermark strategy medium priority is the highest, and Bing Weizhe road video flowing stamps the watermark information that the highest watermark strategy of priority is corresponding.
This optional implementation, when comprising at least two watermark strategy in video flowing, it can be ensured that stamps the watermark information that the highest watermark strategy of priority is corresponding in video flowing, thus improve the degree of safety of watermark protection.
In conjunction with first aspect the first or the third possible implementation, in the 5th kind of possible implementation, also including driver module in TEE, the watermark strategy set that different watermark strategy is formed by Watermark module is respectively configured each watermark circuit, including:
The watermark strategy set that different watermark strategy is consisted of by Watermark module driver module is respectively configured each watermark circuit.
Second aspect present invention provides a kind of method that video watermark processes, it is applied to the processor of video frequency terminal apparatus, processor includes application abundant running open environment REE and secure operating environment TEE trusty, EE includes video playback application module, TEE also includes multiple DRM module for digital copyright management DRM, for watermark strategy configuration watermark Watermark module and multiple watermark circuit;
Each DRM module receives the multiple different watermark strategy that video playback application module sends;
Watermark module determines the watermark strategy that multiple different watermark strategy medium priority is the highest, and watermark strategy the highest for priority is allocated to each watermark circuit;
Watermark circuit is the watermark information that the video flowing received stamps that the highest watermark strategy of priority is corresponding.
The method that the video watermark that second aspect present invention provides processes, stamps, for each video flowing, the watermark information that the highest watermark strategy of priority is corresponding, substantially increases the safety of watermark protection.
Third aspect present invention provides the device that a kind of video watermark processes, and the device that this video watermark processes is configured to realize the function of the method that above-mentioned first aspect provides, hardware/software realize, and its hardware/software includes unit corresponding with above-mentioned functions.
Fourth aspect present invention provides a kind of computer-readable storage medium, and this computer-readable storage medium storage has the program that the video watermark of above-mentioned first aspect or the arbitrary optional implementation of first aspect processes.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme in the embodiment of the present invention, below the accompanying drawing used required during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those skilled in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is an embodiment schematic diagram of watermark processing framework in processor in prior art;
Fig. 2 is an embodiment schematic diagram of watermark processing framework in the processor of video frequency terminal apparatus in the embodiment of the present invention;
Fig. 3 is another embodiment schematic diagram of watermark processing framework in the processor of video frequency terminal apparatus in the embodiment of the present invention;
Fig. 4 is another embodiment schematic diagram of watermark processing framework in the processor of video frequency terminal apparatus in the embodiment of the present invention.
Detailed description of the invention
The embodiment of the present invention provides the embodiment of the present invention to provide a kind of method that video watermark processes, it is possible to add different watermark informations for different video flowings, thus improve safety.The embodiment of the present invention additionally provides corresponding device.It is described in detail individually below.
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those skilled in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention.
The video frequency terminal apparatus that the embodiment of the present invention provides can be the terminal units such as Set Top Box, DTV, personal computer and mobile phone.
The device processed for embodiment of the present invention video watermark in the embodiment of the present invention can be the processor in video frequency terminal apparatus.
Consulting Fig. 2, what the embodiment of the present invention provided includes for processor one embodiment in the video frequency terminal apparatus of embodiment of the present invention video watermark process:
Secure operating environment (TrustedExecutionEnvironment trusty, and the abundant running open environment (RichExecutionEnvironment of application TEE), REE), REE includes video playback application (Player) module, TEE includes watermark (Watermark) module for watermark strategy configuration, video marker (Videomark) module, multiple for digital copyright management (DigitalRightsManagement, DRM) DRM module and multiple watermark (Watermark) labelling circuit, such as: Fig. 2 has DRM module (A), DRM module (B) and three DRM module of DRM module (C), there is Watermark0 circuit, Watermark1 circuit, Watermark2 circuit and four Watermark circuit of Watermark3 circuit, and, may also include display in TEE drives (DisplayDriver) module and multiple video to show (VideoDisplay) circuit, such as: the VideoDisplay0 circuit corresponding with Watermark0 circuit, the VideoDisplay1 circuit corresponding with Watermark1 circuit, the VideoDisplay2 circuit corresponding with Watermark2 circuit, the VideoDisplay3 circuit corresponding with Watermark3 circuit, each Watermark circuit can a corresponding VideoDisplay circuit, VideoDisplay circuit output video flowing to correspondence Watermark circuit watermark.Wherein, Player module, each DRM module, Videomark module, DisplayDriver module and Watermark module can rely on program to realize.Watermark circuit and VideoDisplay circuit realize such as through hardware logic electric circuit.
The illustration that three above-mentioned DRM module and four Watermark circuit simply do in conjunction with the scene shown in Fig. 2, it practice, Watermark circuit can have M, DRM module can have N number of, and M and N is greater than the integer of 1, and M is not less than N.
It should be noted that, Watermark circuit and VideoDisplay circuit are by hard-wired, multiple Watermark circuit and VideoDisplay circuit can be set during production, DRM module realizes by software program, DRM module can be dynamically configured according to the quantity demand of actual video flowing, the corresponding Watermark circuit of each DRM module meeting and VideoDisplay, so, 4 tunnels are had from Fig. 2 Watermark circuit and VideoDisplay circuit, DRM module has 3, video flowing has 3, watermark1 circuit and VideoDisplay1 circuit can when there being newly-increased DRM module, watermark service is provided for this newly-increased DRM module.
Watermark circuit carries out in the process of watermark processing at video flowing, and N number of Watermark circuit, for receiving video flowing Zhong mono-road, N road video flowing respectively, comprises different watermark strategy in the video flowing of each road respectively;
For any one the Watermark circuit in N number of Watermark circuit, can carry out following process:
Watermark circuit is for the corresponding relation according to the watermark strategy that pre-builds with watermark information, it is determined that watermark information corresponding to watermark strategy in this road video flowing received;
Watermark circuit is for stamping, for this road video flowing described, the watermark information that this road video flowing described is corresponding.
Actually; each DRM module is before receiving video flowing from Player module; the Preservation tactics of corresponding video flowing can be first received from Player module; Preservation tactics can comprise watermark strategy; other Preservation tactics can certainly be included; such as key and certificate etc., the embodiment of the present invention stresses the process to watermark, so pertaining only to watermark strategy.
Watermark strategy can include the size of watermark and the description information etc. of watermark recovery.
The watermark strategy that each DRM module receives can be identical, it is also possible to different, the watermark strategy of each DRM module is different under normal circumstances.Each DRM module would generally receive a watermark strategy, but is also possible to receive two or more watermark strategy.
After each DRM module receives watermark strategy, the watermark strategy received can be transferred to Watermark module.
Watermark module is for obtaining described different watermark strategy from described each DRM module, and the watermark strategy set that described different watermark strategy forms is respectively configured each watermark circuit;
Each Watermark circuit, for configuring corresponding watermark information for each watermark strategy in described watermark strategy set, sets up the corresponding relation of described watermark strategy and watermark information.
That is, it is possible to all watermark strategy Watermark module got are not understood as a watermark strategy set, this watermark strategy set is respectively configured each Watermark circuit by Watermark module.In Fig. 2, there are three DRM module, then watermark strategy set can have at least three watermark strategy, for instance watermark strategy set can include watermark strategy A, watermark strategy B and tri-watermark strategy of watermark strategy C.
Each Watermark circuit can be that in watermark strategy set, each watermark strategy configures corresponding watermark information, namely sets up the corresponding relation of watermark strategy and watermark information.Setting up watermark strategy with the process of the corresponding relation of watermark information can be that the description information according to watermark strategy goes to mate the watermark information that Watermark circuit pre-sets, such as: watermark strategy is Flos Nelumbinis pattern, the square length of side 2 millimeters, then can match the watermark information of the square Flos Nelumbinis pattern of the length of side 2 millimeters from the multiple watermark informations prestored, then set up both corresponding relations.
Each Watermark circuit can set up the corresponding relation of each watermark strategy and corresponding watermark information in watermark strategy set.The corresponding relation of watermark strategy and corresponding watermark information can be consulted table 1 and understand.Certainly, table 1 simply illustrates for watermark strategy A, watermark strategy B and tri-watermark strategy of watermark strategy C, when comprising more watermark strategy or other watermark strategy in watermark strategy set, each Watermark circuit can set up corresponding relation in form as shown in table 1 according to the watermark strategy comprised actual in watermark strategy set.
Table 1: the corresponding relation of watermark strategy and watermark information
It addition, described each DRM module is additionally operable to, before receiving the single channel video flowing that the transmission of described video playback application module comes respectively, receive the different watermark strategy that the transmission of described video playback application module comes respectively;
Described Videomark module, for carrying out watermark strategy according to the transmission of described each DRM module, sets up the mark of described DRM module and the corresponding relation of watermark strategy.
That is, Videomark module also can obtain watermark strategy from each DRM module, and set up the mark of DRM module and the corresponding relation of corresponding watermark strategy, such as: get watermark strategy A, watermark strategy B and watermark strategy C respectively from DRM module (A), DRM module (B) and DRM module (C), then the corresponding relation of the mark of watermark strategy as shown in table 2 and corresponding DRM module can be set up.
Table 2: the corresponding relation of the mark of watermark strategy and DRM module
Watermark strategy The mark of DRM module
Watermark strategy A DRM(A)
Watermark strategy B DRM(B)
Watermark strategy C DRM(C)
Certain table 2 simply enumerates explanation in conjunction with what the scene shown in Fig. 2 was done, when TEE comprises more DRM module or each DRM module comprise multiple watermark strategy time, then can set up the corresponding relation of the mark of watermark strategy in form as shown in table 2 and DRM module according to actual scene.
Each DRM module is for receiving the single channel video flowing that the transmission of described video playback application module comes respectively;
Described video marker module is for the corresponding relation of the mark according to the DRM module pre-build and watermark strategy, for transmitting watermark strategy corresponding with the mark of described each DRM module on the described single channel video flowing labelling come from described each DRM module, obtain described multi-path video stream.
That is, each DRM module is additionally operable to receive the video flowing that Player module transfer comes, if the video flowing of each DRM module being not understood as a road video flowing, then as shown in Figure 2, there are DRM module (A), DRM module (B) and three DRM module of DRM module (C), then represent that Player module have sent three road video flowings, this three roads video flowing can be that Player module sends simultaneously, it can be the different video content in picture-in-picture (PictureInPicture, PIP) screen in same screen.
Three road video flowings flow into Videomark module from DRM module (A), DRM module (B) and three DRM module of DRM module (C), Videomark module can according to the corresponding relation of the watermark strategy of above-mentioned foundation and the mark of DRM module, for watermark strategy corresponding on the video flowing labelling of every road.
Such as: when DRM module (A) transmission come be time-frequency stream 0, DRM module (B) transmission come be time-frequency stream 1, and DRM module (C) transmission comes is video flowing 2, then Videomark module can in video flowing 0 watermark strategy A on labelling, in video flowing 1 on labelling watermark strategy B and in video flowing 2 watermark strategy C on labelling.
Watermark3 circuit receives video flowing 0, determine that watermark strategy therein is watermark strategy A, then can determine that watermark information corresponding for watermark strategy A is 2 millimeters of Flos Nelumbinis patterns from the such as watermark strategy shown in table 1 and the corresponding relation of watermark information, then Watermark3 circuit block is the watermark information that video flowing 0 stamps 2 millimeters of Flos Nelumbinis patterns.
Watermark0 circuit receives video flowing 1, determine that watermark strategy therein is watermark strategy B, then can determine that watermark information corresponding for watermark strategy B is 3 millimeters of rabbit patterns from the such as watermark strategy shown in table 1 and the corresponding relation of watermark information, then Watermark0 circuit is the watermark information that video flowing 1 stamps 3 millimeters of rabbit patterns.
Watermark2 circuit receives video flowing 2, determine that watermark strategy therein is watermark strategy C, then can determine from the corresponding relation of the such as watermark strategy shown in table 1 and watermark information that corresponding watermark information is 4 millimeters of personage's head portrait patterns, then Watermark2 circuit block is the watermark information that video flowing 2 stamps 4 millimeters of personage's head portrait patterns.
Watermark strategy on labelling in video streaming, is possible not only to ensure each road video flowing to stamp corresponding watermark information, have switched suddenly watermark circuit misplay the situation of watermark information moreover, it is also possible to avoid working as video flowing.
Such as: screen has 3 different video contents simultaneously, if what main window was play is video flowing 0, then Watermark3 circuit is 2 millimeters of Flos Nelumbinis patterns to the watermark information that video flowing 0 prints always, if the video content on screen there occurs windows exchange, the video content of main window has switched to the content of video flowing 1, then as shown in Figure 3, video flowing 1 needs to be printed watermark information by Watermark3 circuit, the watermark information printed for video flowing 0 before Watermark3 circuit is always up 2 millimeters of Flos Nelumbinis patterns, if when reading the watermark strategy of video flowing 1, find that watermark strategy becomes watermark strategy B, then determine the rabbit pattern that new watermark information is 3 millimeters, the watermark information of the rabbit pattern of 3 millimeters is then stamped for video flowing 1, avoid the situation of watermark of misplaying.
Watermark module is additionally operable to before the watermark strategy set that described different watermark strategy forms is respectively configured described each watermark circuit, for described each watermark strategy, priority is set, and specifically for the watermark strategy set that the described different watermark strategy being provided with priority forms being respectively configured described each watermark circuit;
When this road video flowing described comprises at least two watermark strategy, it is determined that the watermark strategy that described at least two watermark strategy medium priority is the highest, and stamp, for this road video flowing described, the watermark information that the highest watermark strategy of described priority is corresponding.
Such as: the priority of watermark strategy A is the highest, the priority of watermark strategy B is taken second place, and the priority of watermark strategy C is minimum.
So, each Watermark circuit is when the video flowing watermark information for receiving, can be that the video flowing received determines the watermark strategy that priority is the highest, and the described video flowing for receiving stamps the watermark information that the highest watermark strategy of described priority is corresponding.
That is, when the priority of watermark strategy A is the highest, regardless of what the watermark strategy in video flowing is, the watermark information that watermark strategy A is corresponding is stamped in capital, such as: the watermark strategy in video flowing 2 is watermark strategy C, but Watermark2 module still can be video flowing 2 stamp the watermark information of corresponding for watermark strategy A 2 millimeter Flos Nelumbinis pattern.
The operational version of another priority is: when comprising at least two watermark strategy in the video flowing that Watermark circuit receives, video flowing for receiving determines the watermark strategy that the described watermark strategy medium priority containing at least two is the highest, and the described video flowing for receiving stamps the watermark information that the highest watermark strategy of described priority is corresponding.
Such as: when comprising watermark strategy A and watermark strategy B in video flowing 0, Watermark circuit determines that the priority of watermark strategy A is higher than watermark strategy B, then Watermark circuit is that the described video flowing received stamps watermark information corresponding to described watermark strategy A.If comprise watermark strategy B and watermark strategy C in video flowing 0, Watermark circuit determines that the priority of watermark strategy B is higher than watermark strategy C, then Watermark circuit is that the described video flowing received stamps watermark information corresponding to described watermark strategy B.
Described Watermark module is specifically for being respectively configured each watermark circuit by described driver module by the watermark strategy set that described each watermark strategy forms.
The embodiment of the present invention writes watermark strategy in video streaming, it is possible to provided diverse ways by different DRM manufacturers, and corresponding function reading is provided.So each DRM manufacturer can also accomplish isolation from each other.
The video frequency terminal apparatus of the watermark processing that the embodiment of the present invention provides can well support the complex scenes such as PIP; accomplish that multi-path video stream has different watermark strategy; and ensure one-to-one relationship; the safety that improve video flowing is high; each watermark strategy and video flowing binding; can ensure that watermark strategy is accurate, meet content protecting manufacturer interests.
Consult Fig. 4, one embodiment of the method that the video watermark that the embodiment of the present invention provides processes is applied to the processor of video frequency terminal apparatus, processor includes TEE and REE, described REE includes Player module, described TEE includes for the Watermark module of watermark strategy configuration, Videomark module, N number of DRM module and N number of Watermark circuit, having N number of DRM module namely can receive at least N number of video flowing, N is the integer more than 1.Such as: Fig. 4 has DRM module (1), DRM module (...) and DRM module (N), N number of DRM module, there are Watermark0 circuit, Watermark1 circuit, Watermark (...) circuit and WatermarkN circuit, N number of Watermark circuit, and, TEE may also include DisplayDriver module and multiple VideoDisplay circuit, each Watermark circuit can a corresponding VideoDisplay circuit, video flowing show at VideoDisplay circuit will at the Watermark circuit watermark of correspondence.Wherein, Player module, each DRM module, Videomark module, DisplayDriver module and Watermark module can rely on program to realize, and namely called the program stored in memorizer to realize the function of these modules by processor.Watermark circuit and VideoDisplay circuit realize such as through hardware logic electric circuit.
For a watermark circuit in described N number of watermark circuit;
One watermark circuit is used for receiving video flowing Zhong mono-road, described N road video flowing, and video flowing Zhong Ge road, described N road video flowing comprises different watermark strategy respectively;
One marking note circuit is for the corresponding relation according to the watermark strategy pre-build with watermark information, it is determined that watermark information corresponding to watermark strategy in this road video flowing received;
One watermark circuit is for stamping, for this road video flowing described, the watermark information that this road video flowing described is corresponding.
Actually, the video flowing received in Watermark circuit is that Videomark module transfer comes, but the video playback application module that the source of N road video flowing is in REE is transferred to each DRM module, each DRM module receives the single channel video flowing that the transmission of described video playback application module comes respectively, then each single channel video flowing is transferred to Videomark module by each DRM module, the corresponding relation of the Videomark module mark according to the DRM module pre-build and watermark strategy, for watermark strategy corresponding with the mark of described each DRM module on the described single channel video flowing labelling next from the transmission of described each DRM module, obtain the N road video flowing that described N number of Watermark circuit receives.
It is referred to two corresponding relations in the foregoing description, one is the corresponding relation of watermark strategy and watermark information, another is the corresponding relation of the mark of DRM module and watermark strategy, actually, the two corresponding relation is not be stored in advance in Watermark circuit and Videomark module, but receiving before video flowing by Watermark circuit and what Videomark module was set up.
The process setting up the mark of DRM module and the corresponding relation of watermark strategy is as follows:
Before each DRM module receives the single channel video flowing that the transmission of described video playback application module comes respectively, the different watermark strategy that the transmission of described video playback application module comes can be received respectively;Videomark module carrys out watermark strategy according to the transmission of described each DRM module, sets up the mark of described DRM module and the corresponding relation of watermark strategy.
Set up watermark strategy as follows with the process of the corresponding relation of watermark information:
Watermark module obtains described different watermark strategy from described each DRM module, and the watermark strategy set that described different watermark strategy forms is respectively configured each watermark circuit;Each watermark circuit described is the watermark information that each watermark strategy configuration in described watermark strategy set is corresponding, sets up the corresponding relation of described watermark strategy and watermark information.
Additionally, the watermark strategy set that described different watermark strategy forms is respectively configured before described each watermark circuit by Watermark module, priority can also be set for described each watermark strategy, then, the watermark strategy set that the described different watermark strategy being provided with priority forms is respectively configured described each watermark circuit by Watermark module;When this road video flowing described comprises at least two watermark strategy, the described watermark circuit receiving video flowing determines the watermark strategy that described at least two watermark strategy medium priority is the highest, and stamps, for this road video flowing described, the watermark information that the highest watermark strategy of described priority is corresponding.
The description of the device that the method that the video watermark that the embodiment of the present invention provides processes can consult Fig. 2 and Fig. 3 partial video watermark processing is understood, and it is no longer repeated at this place.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment can be by the hardware that program carrys out instruction relevant and completes, this program can be stored in a computer-readable recording medium, and storage medium may include that ROM, RAM, disk or CD etc..
The method of the video watermark the process above embodiment of the present invention provided and device, it is described in detail, principles of the invention and embodiment are set forth by specific case used herein, and the explanation of above example is only intended to help to understand method and the core concept thereof of the present invention;Simultaneously for one of ordinary skill in the art, according to the thought of the present invention, all will change in specific embodiments and applications, in sum, this specification content should not be construed as limitation of the present invention.

Claims (10)

1. the method that a video watermark processes, it is characterized in that, described method is applied to the processor of video frequency terminal apparatus, described processor includes secure operating environment TEE trusty, N number of watermark circuit in described TEE is for receiving N road video flowing respectively, described N is the integer more than 1, and for a watermark circuit in described N number of watermark circuit, described method includes:
One watermark circuit receives video flowing Zhong mono-road, described N road video flowing, and video flowing Zhong Ge road, described N road video flowing comprises different watermark strategy respectively;
The one marking note circuit corresponding relation according to the watermark strategy pre-build Yu watermark information, it is determined that watermark information corresponding to watermark strategy in this road video flowing received;
One watermark circuit is the watermark information that this road video flowing described stamps that this road video flowing described is corresponding.
2. method according to claim 1, it is characterized in that, described processor also includes the running open environment REE that application is abundant, and described REE includes video playback application module, described TEE also includes N number of DRM module for digital copyright management DRM and video marker module
Before one watermark circuit receives video flowing Zhong mono-road, described N road video flowing, described method also includes:
Each DRM module receives the single channel video flowing in the described N road video flowing that the transmission of described video playback application module comes respectively;
The corresponding relation of the described video marker module mark according to the DRM module pre-build and watermark strategy, for transmitting watermark strategy corresponding with the mark of described each DRM module on the described single channel video flowing labelling come from described each DRM module, obtain described N road video flowing.
3. method according to claim 2, it is characterised in that before described each DRM module receives the single channel video flowing that the transmission of described video playback application module comes respectively, described method also includes:
Described each DRM module receives the different watermark strategy that the transmission of described video playback application module comes respectively;
The watermark strategy that described video marker module is come according to the transmission of described each DRM module, sets up the mark of described DRM module and the corresponding relation of watermark strategy.
4. according to the method in claim 2 or 3, it is characterised in that also including the watermark Watermark module for watermark strategy configuration in described TEE, described method also includes:
Described Watermark module obtains described different watermark strategy from described each DRM module, and the watermark strategy set that described different watermark strategy forms is respectively configured the every watermark circuit in described N number of watermark circuit;
Described each watermark circuit is the watermark information that each watermark strategy configuration in described watermark strategy set is corresponding, sets up the corresponding relation of described watermark strategy and watermark information.
5. method according to claim 4, it is characterized in that, before the watermark strategy set that described different watermark strategy forms is respectively configured the every watermark circuit in described N number of watermark circuit by described Watermark module, described method also includes:
Described Watermark module is that described each watermark strategy arranges priority;
The watermark strategy set that described different watermark strategy forms is respectively configured the every watermark circuit in described N number of watermark circuit by described Watermark module, specifically includes:
The watermark strategy set that the described different watermark strategy being provided with priority forms is respectively configured the every watermark circuit in described N number of watermark circuit by described Watermark module;
One watermark circuit is the watermark information that this road video flowing described stamps that this road video flowing described is corresponding, including:
When this road video flowing described comprises at least two watermark strategy, one watermark circuit determines the watermark strategy that described at least two watermark strategy medium priority is the highest, and stamps, for this road video flowing described, the watermark information that the highest watermark strategy of described priority is corresponding.
6. the device that a video watermark processes, it is characterized in that, described device includes secure operating environment TEE trusty, N number of watermark circuit in described TEE is for receiving N road video flowing respectively, described N is the integer more than 1, for a watermark circuit in described N number of watermark circuit, described device includes:
One watermark circuit is used for receiving video flowing Zhong mono-road, described N road video flowing, and video flowing Zhong Ge road, described N road video flowing comprises different watermark strategy respectively;
One marking note circuit is for the corresponding relation according to the watermark strategy that pre-builds with watermark information, it is determined that watermark information corresponding to watermark strategy in this road video flowing received;
One watermark circuit is for stamping, for this road video flowing described, the watermark information that this road video flowing described is corresponding.
7. device according to claim 6, it is characterized in that, described device also includes the running open environment REE that application is abundant, and described REE includes video playback application module, described TEE also includes N number of DRM module for digital copyright management DRM and video marker module
Each DRM module is for receiving the single channel video flowing in the described N road video flowing that the transmission of described video playback application module comes respectively;
Described video marker module is for the corresponding relation of the mark according to the DRM module pre-build and watermark strategy, for transmitting watermark strategy corresponding with the mark of described each DRM module on the described single channel video flowing labelling come from described each DRM module, obtain described N road video flowing.
8. device according to claim 7, it is characterised in that
Described each DRM module is additionally operable to, before receiving the single channel video flowing that the transmission of described video playback application module comes respectively, receive the different watermark strategy that the transmission of described video playback application module comes respectively;
Described video marker module, for the watermark strategy come according to the transmission of described each DRM module, sets up the mark of described DRM module and the corresponding relation of watermark strategy.
9. the device according to claim 7 or 8, it is characterised in that also include the watermark Watermark module for watermark strategy configuration in described TEE,
Described Watermark module is for obtaining described different watermark strategy from described each DRM module, and the watermark strategy set that described different watermark strategy forms is respectively configured the every watermark circuit in described N number of watermark circuit;
Described each watermark circuit, for configuring corresponding watermark information for each watermark strategy in described watermark strategy set, sets up the corresponding relation of described watermark strategy and watermark information.
10. device according to claim 9, it is characterised in that
Described Watermark module is additionally operable to before the every watermark circuit watermark strategy set that described different watermark strategy forms being respectively configured in described N number of watermark circuit, for described each watermark strategy, priority is set, and specifically for the watermark strategy set that the described different watermark strategy being provided with priority forms being respectively configured the every watermark circuit in described N number of watermark circuit;
One watermark circuit is specifically for when comprising at least two watermark strategy in this road video flowing described, determine the watermark strategy that described at least two watermark strategy medium priority is the highest, and stamp, for this road video flowing described, the watermark information that the highest watermark strategy of described priority is corresponding.
CN201610058788.0A 2016-01-28 2016-01-28 A kind of method and device of video watermark processing Active CN105721951B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610058788.0A CN105721951B (en) 2016-01-28 2016-01-28 A kind of method and device of video watermark processing
PCT/CN2016/091568 WO2017128655A1 (en) 2016-01-28 2016-07-25 Method and device for video watermarking

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610058788.0A CN105721951B (en) 2016-01-28 2016-01-28 A kind of method and device of video watermark processing

Publications (2)

Publication Number Publication Date
CN105721951A true CN105721951A (en) 2016-06-29
CN105721951B CN105721951B (en) 2018-12-25

Family

ID=56154401

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610058788.0A Active CN105721951B (en) 2016-01-28 2016-01-28 A kind of method and device of video watermark processing

Country Status (2)

Country Link
CN (1) CN105721951B (en)
WO (1) WO2017128655A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106454182A (en) * 2016-10-26 2017-02-22 维沃移动通信有限公司 Video generation method and mobile terminal
WO2017128655A1 (en) * 2016-01-28 2017-08-03 华为技术有限公司 Method and device for video watermarking

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2569547B (en) 2017-12-19 2021-05-12 Samsung Electronics Co Ltd Reconstruction of original images from modified images

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0860997A2 (en) * 1997-02-24 1998-08-26 Nec Corporation Digital data encode system
CN1262510A (en) * 1999-01-19 2000-08-09 日本电气株式会社 Method and device for inserting electronic watermark into digital image and testing electronic watermark
CN1338087A (en) * 1999-11-23 2002-02-27 皇家菲利浦电子有限公司 Watermark embedding and detection
CN105191332A (en) * 2013-04-26 2015-12-23 耐瑞唯信有限公司 Method and device to embed watermark in uncompressed video data

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102008014311A1 (en) * 2008-03-14 2009-09-17 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. An embedder for embedding a watermark in an information representation, a detector for detecting a watermark in an information representation, method, computer program and information signal
US20150294122A1 (en) * 2014-04-14 2015-10-15 Samsung Electronics Co., Ltd. Method and apparatus for downloadable drm in a trusted execution environment
CN104079952B (en) * 2014-07-09 2017-09-08 上海佰贝科技发展有限公司 The audio video transmission stream and its monitoring method of a kind of embedded label watermark
CN105208462B (en) * 2015-09-23 2018-02-16 中国传媒大学 Video digital watermark processing method and the video digital watermark system for performing this method
CN105721951B (en) * 2016-01-28 2018-12-25 华为技术有限公司 A kind of method and device of video watermark processing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0860997A2 (en) * 1997-02-24 1998-08-26 Nec Corporation Digital data encode system
CN1262510A (en) * 1999-01-19 2000-08-09 日本电气株式会社 Method and device for inserting electronic watermark into digital image and testing electronic watermark
CN1338087A (en) * 1999-11-23 2002-02-27 皇家菲利浦电子有限公司 Watermark embedding and detection
CN105191332A (en) * 2013-04-26 2015-12-23 耐瑞唯信有限公司 Method and device to embed watermark in uncompressed video data

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017128655A1 (en) * 2016-01-28 2017-08-03 华为技术有限公司 Method and device for video watermarking
CN106454182A (en) * 2016-10-26 2017-02-22 维沃移动通信有限公司 Video generation method and mobile terminal

Also Published As

Publication number Publication date
CN105721951B (en) 2018-12-25
WO2017128655A1 (en) 2017-08-03

Similar Documents

Publication Publication Date Title
CN103875230B (en) Mark and processing using the preamble of coding to data flow
CN103841389B (en) A kind of video broadcasting method and player
WO2017118078A1 (en) Image processing method, playing method and related device and system
WO2006055333A3 (en) Film grain sei message insertion for bit-accurate simulation in a video system
TW200513091A (en) Method of granting DRMlicense to support plural devices
CN105721951A (en) Video watermark processing method and device
US10728562B2 (en) Video transmitting device and video playing device
CN103888832A (en) Processing method and device for switching of data sources to which to player terminal has access
CN105898614A (en) Screen menu transparency setting method and device and chip
TW201320001A (en) Methods and apparatus for transmitting and for receiving multimedia contents
ATE359667T1 (en) PLAYBACK CONTROL, AUTHENTICATION AND DECODING FOR OBJECT-ORIENTED DATA STREAMS
CN104391960A (en) Video annotation method and system
CN106416283A (en) Reception apparatus, transmission apparatus, and data processing method
CN104081762A (en) Presentation control device, presentation control method, presentation system, presentation control program, recording medium and metadata
CN105094824A (en) Display method for notification messages on intelligent watch and intelligent watch
JP2016028472A (en) Text content generation apparatus, transmission apparatus, reception apparatus, and program
CN105898558B (en) A kind of video broadcasting method and device
CN111836054B (en) Video anti-piracy method, electronic device and computer readable storage medium
CN102714691A (en) Information display device, integrated circuit for display control, display control program, and display control method
US20160373685A1 (en) Video Controller, Playback Controller and Display System
CN104067252B (en) Multi-channel high-speed interface for high-speed synchronous serial line interface (HSI) and related system and method
US20140254638A1 (en) Relay device and relay method
JP2010061468A (en) Identification information output apparatus, program thereof, program transmission apparatus, and ic card
CN105812958A (en) Video playing method and device
EP3637734B1 (en) Video data display method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant