Pirate video positioning method, equipment and program product
By generating and embedding watermark signals on the video playback end, the problems of difficult and cost of tracing pirated video sources in the existing technology are solved, and rapid and accurate source positioning and copyright protection are improved.
Patent Information
- Application Number
- CN202411497634.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-25
- Publication Date
- 2025-02-11
AI Technical Summary
It is difficult to quickly find the source of pirated videos in the existing technology, which makes traceability difficult and costly, and increases the cost of video copyright protection.
On the video playback end, by generating a watermark signal and embedding it into the video, the pirated detection end can extract the watermark signal to determine the source of the video.
It achieves rapid and accurate acquisition of the source of pirated videos, reduces the difficulty of traceability and copyright protection costs, and improves the copyright protection effect.
Smart Images

Figure CN119421019A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of digital copyright protection, and in particular to a method, device and program product for locating pirated videos. Background Art
[0002] At present, with the increase of video content, various video Internet streaming media platforms are increasing, and people watch videos online for entertainment and information. The needs of Internet streaming platform operators for user interaction and management are increasing. First of all, there is a need for management of pirated broadcasts of copyrighted program content. With the rise of various live broadcast websites, users can broadcast wonderful videos to the public through screen recording on unauthorized live broadcast platforms or buy, sell or share recorded videos on the Internet. This is bound to cause certain losses to operators with copyrights.
[0003] At present, in order to protect their own rights and interests, copyright holders usually adopt the method of adding logo information to images and videos to identify copyright. However, this method can only mark the copyright of the video. When a pirated video appears, it is difficult to quickly find the source of the pirated video. It is necessary to query the transmission path and transmission method of the pirated video to trace the source. Tracing is difficult and takes a lot of time and cost, which increases the cost of copyright protection of the video. Summary of the invention
[0004] The embodiments of the present application provide a method, device and program product for locating pirated videos, which can solve the problem that the existing marking information only marks the copyright ownership, making it difficult to trace the source of pirated videos, requiring a lot of time and cost, and increasing the cost of video copyright protection. To achieve this purpose, the embodiments of the present application provide the following solutions.
[0005] According to one aspect of an embodiment of the present application, a method for locating pirated videos is provided, the method being used at a video playback end, comprising:
[0006] In response to a video acquisition instruction, acquiring a target object and a video corresponding to the video acquisition instruction;
[0007] If it is determined that the target object is legal, a watermark signal is generated according to the identification information of the target object, and the watermark signal is embedded in the video to form a target video so that after the piracy detection end obtains the target video, the watermark signal in the target video is used to determine the source of the target video.
[0008] In a possible implementation, the watermark signal includes an audio watermark signal, and generating the watermark signal according to the identification information of the target object includes:
[0009] Converting the identification information of the target object into a predetermined format, wherein the predetermined format includes a digital format or a character format;
[0010] The identification information in a predetermined format is encoded into an audio watermark signal using a preset encoding method, wherein the preset encoding method includes spread spectrum.
[0011] In a possible implementation, the target video includes a target audio signal, and embedding the watermark signal into the video to form the target video includes:
[0012] An audio signal in the video is acquired, and the audio watermark signal is embedded into the audio signal according to a preset condition to obtain the target audio signal, wherein the preset condition includes at least one of a power spectrum density, a masking threshold, a perceptual coding rule, and a distortion degree of the audio signal.
[0013] In a possible implementation manner, embedding the audio watermark signal into the audio signal according to a preset condition includes:
[0014] The tag information corresponding to the audio watermark signal is obtained, and the tag signal and the audio watermark signal are embedded into the audio signal according to the preset condition and the tag information, wherein the tag information includes at least one of a predefined signal mode and a predetermined signal sequence.
[0015] In a possible implementation manner, embedding the watermark signal into the video to form a target video includes:
[0016] Determine a playback object corresponding to the target video, use the playback object to play the audio signal embedded with the audio watermark signal, and extract the audio watermark signal;
[0017] If it is determined according to the extraction result that the compatibility test passes, the audio signal is determined to be a target audio signal.
[0018] According to one aspect of an embodiment of the present application, a method for locating pirated videos is provided, which is used in a piracy detection terminal. The method includes:
[0019] A target video is obtained, and a watermark signal embedded in the target video is extracted, wherein the watermark signal is generated according to identification information of the target object after the video playback end obtains the target object and the target video corresponding to the video acquisition instruction and determines that the target object is legal;
[0020] The source of the target video is determined according to the watermark signal.
[0021] In a possible implementation, extracting the watermark signal embedded in the target video includes:
[0022] Acquire information of the target video, the information including at least one of a source, authorization information, name, and content;
[0023] If it is determined according to the information that the target video may be pirated, an audio signal in the target video is extracted, and the watermark signal is extracted using the audio signal.
[0024] In a possible implementation, the audio signal includes an audio stream, and extracting the watermark signal by using the audio signal includes:
[0025] Decoding the audio stream into an original audio signal, and locating the audio watermark signal in the original audio signal according to the marker signal in the original audio signal, wherein the locating includes at least one of pattern matching, feature detection, spectrum analysis, and phase locking;
[0026] The audio watermark signal is extracted according to the positioning result.
[0027] According to one aspect of an embodiment of the present application, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps of the method described above.
[0028] According to one aspect of an embodiment of the present application, a computer program product is provided, including a computer program, wherein when the computer program is executed by a processor, the steps of the above method are implemented. The technical solution provided in the embodiment of the present application has the following beneficial effects:
[0029] The pirated video locating method provided by the present application responds to the video acquisition instruction to acquire the target object and video corresponding to the video acquisition instruction; if it is determined that the target object is legal, a watermark signal is generated according to the identification information of the target object, and the watermark signal is embedded in the video to form a target video so that after the piracy detection end acquires the target video, the source of the target video is determined by using the watermark signal in the target video. The embodiment of the present application can add watermark information containing the identification information of the target object to the video when playing the video, so that when the piracy detection end acquires the target video, it can determine the object that initially played the target video according to the watermark signal in the target video, thereby facilitating the rapid and accurate acquisition of the source of the pirated video, reducing the time and cost of locating the source of piracy, effectively reducing the difficulty of tracing and the cost of copyright protection, and improving the copyright protection effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following is a brief introduction to the drawings required for use in describing the embodiments of the present application.
[0031] Figure 1 A flowchart of a pirated video location method provided in an embodiment of the present application;
[0032] Figure 2 Another flow chart of the method for locating pirated videos provided in an embodiment of the present application;
[0033] Figure 3 A structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0034] The embodiments of the present application are described below in conjunction with the drawings in the present application. It should be understood that the implementation methods described below in conjunction with the drawings are exemplary descriptions for explaining the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions of the embodiments of the present application.
[0035] It will be understood by those skilled in the art that, unless specifically stated, the singular forms "one", "said", and "the" used herein may also include plural forms. It should be further understood that the terms "including" and "comprising" used in the embodiments of the present application refer to that the corresponding features can be implemented as the presented features, information, data, steps, operations, elements and / or components, but do not exclude the implementation of other features, information, data, steps, operations, elements, components and / or combinations thereof supported by the present technical field. It should be understood that when we say that an element is "connected" or "coupled" to another element, the one element may be directly connected or coupled to the other element, or it may refer to that the one element and the other element establish a connection relationship through an intermediate element. In addition, the "connection" or "coupling" used herein may include wireless connection or wireless coupling. The term "and / or" used herein indicates at least one of the items defined by the term, for example, "A and / or B" indicates that it is implemented as "A", or is implemented as "A", or is implemented as "A and B".
[0036] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below in conjunction with the accompanying drawings.
[0037] The following describes several exemplary embodiments to illustrate the technical solutions of the embodiments of the present application and the technical effects produced by the technical solutions of the present application. It should be noted that the following embodiments can refer to, draw on or combine with each other, and the same terms, similar features and similar implementation steps in different embodiments will not be described repeatedly.
[0038] The pirated video locating method, device and program product provided in this application are intended to solve at least one technical problem existing in the prior art.
[0039] A method for locating pirated videos is provided in an embodiment of the present application. The method is used at a video playback terminal, which may be a mobile phone, a computer, or other terminal capable of playing videos.
[0040] Alternatively, if Figure 1 As shown, the pirated video positioning method of the present application includes:
[0041] S101: In response to a video acquisition instruction, acquire a target object and a video corresponding to the video acquisition instruction.
[0042] Optionally, the video acquisition instruction may be a video play instruction, a video download instruction, or other instructions that require acquiring the video from the copyright holder or an object that owns the video.
[0043] Optionally, the terminal may obtain the video acquisition instruction through an external device such as a keyboard, a mouse, etc., or may obtain the video acquisition instruction through a microphone, a camera, or other self-loaded device capable of acquiring instructions.
[0044] Optionally, the video acquisition instruction may include information about the video to be played and the target object, and the target object and the video corresponding to the video acquisition instruction are determined according to the information.
[0045] Optionally, the terminal may also determine the video corresponding to the video acquisition instruction according to the position of the video acquisition instruction triggered on the current interface, and may also determine the target object corresponding to the video acquisition instruction according to the account information of the application associated with the video acquisition instruction or the user of the terminal.
[0046] Optionally, after determining the target object and video corresponding to the video acquisition instruction, it is also possible to detect whether the target object is a legal object. Among them, it can be determined that the target object is a legal object by detecting whether the target object has the authority to process (such as play, download, screen record, etc. corresponding to the video acquisition instruction) the video. If so, the target object is determined to be a legal object.
[0047] S102: If the target object is determined to be legitimate, a watermark signal is generated according to the identification information of the target object, and the watermark signal is embedded into the video to form the target video so that after the piracy detection end obtains the target video, the source of the target video is determined using the watermark signal in the target video.
[0048] Optionally, the watermark signal may be embedded in an audio signal in the video, or in a video signal in the video, or in both the video signal and the audio signal.
[0049] Optionally, the watermark signal includes an audio watermark signal, and generating the watermark signal according to identification information of the target object includes: converting the identification information of the target object into a predetermined format, the predetermined format includes a digital format or a character format; encoding the identification information in the predetermined format into an audio watermark signal using a preset encoding method, the preset encoding method includes spread spectrum.
[0050] Optionally, the identification information may include the target object's ID, mobile phone number, account number of the video playback tool used, and other information that can be used to identify the target object. It may also include the copyright of the video, the type of playback tool used, the target object's personal information, the time when the watermark signal was generated, and other identification information.
[0051] Optionally, the predetermined format is a format that can be used to generate an audio watermark signal, wherein the identification information can be converted into the predetermined format by encoding methods such as binary encoding, ASCII encoding, hash encoding, etc.
[0052] In one embodiment, the identification information can be converted into a binary string using binary coding, or each character of the identification information can be converted into its corresponding ASCII value using ASCII coding. The identification information can also be converted into a hash value using a hash algorithm (such as MD5, SHA-256) corresponding to the hash coding.
[0053] Optionally, when encoding the identification information converted into a predetermined format into an audio watermark signal, the identification information may be encoded into data indicating parameters such as frequency, phase, amplitude, etc. of the audio.
[0054] Optionally, when the watermark signal is a video watermark signal, the identification information of the target object can be converted into a format that can be used to generate a video watermark signal, and the converted identification information is encoded to obtain a video watermark signal. The video watermark signal can be data indicating parameters such as brightness, color, and pixel arrangement at a specific position in the video screen.
[0055] Optionally, the target video includes a target audio signal, and embedding the watermark signal into the video to form the target video includes: acquiring an audio signal in the video, embedding the audio watermark signal into the audio signal according to preset conditions, and obtaining the target audio signal, wherein the preset conditions include at least one of the power spectral density, masking threshold, perceptual coding rule, and distortion of the audio signal.
[0056] Optionally, the preset condition may be determined based on the similarity of the statistical characteristics of the audio signal before and after the audio watermark signal is embedded. If a condition for determining the embedding method can make the similarity greater than a predetermined similarity threshold, the condition may be determined as the preset condition.
[0057] Optionally, the statistical characteristics include a series of statistical parameters of the audio signal, which describe the characteristics of the audio signal. The statistical parameters include 1. Power Spectral Density (PSD): describes the distribution of signal power in the frequency domain; 2. Mean: the average value of the signal, reflecting the average level of the signal; 3. Variance: the dispersion of the signal value, describing the stability of the signal; 4. Standard Deviation: indicates the degree to which the signal value deviates from the mean; 5. Peak: the maximum value of the signal, which is related to the amplitude of the signal; 6. Distribution: the distribution of the signal value, such as normal distribution, uniform distribution, etc.; 7. Modulation characteristics: the modulation characteristics of the signal, such as the change pattern of frequency, phase, and amplitude. By ensuring the similarity of these statistical parameters, it is ensured that the audio signal after the audio watermark signal is embedded is almost indistinguishable from the audio signal without the audio watermark signal, thereby meeting the transparency requirement.
[0058] In one embodiment, when embedding an audio watermark signal, the power spectral density of the audio watermark signal can be adjusted so that the adjusted power spectral density is similar to the power spectral density of the original audio signal (the audio signal without the audio watermark signal embedded) (the similarity is greater than a preset value) to maintain auditory consistency. It is also possible to embed the watermark into those frequency bands that are auditorily unimportant based on the masking effect of the human auditory system, that is, embed the watermark in areas with a high masking threshold (higher than a predetermined masking threshold). It is also possible to adjust the amplitude and frequency changes of the audio watermark signal during embedding so that the amplitude and frequency changes are not within the range that the human ear can detect. It is also possible to use a coding rule generated based on human auditory characteristics when encoding the identification information into the audio watermark signal so that the amplitude and frequency changes of the obtained audio watermark signal are not within the range that the human ear can detect. It is also possible to obtain auditory sensitive areas and auditory insensitive areas in the audio signal based on the purpose of minimizing distortion, and embed the audio watermark signal into the auditory insensitive area to reduce interference with the original audio signal. The above method reduces the difference between the target audio signal and the original audio signal after the audio watermark signal is embedded.
[0059] Optionally, the embedding algorithm used to embed the audio watermark signal can be determined based on preset conditions, and the embedding algorithm can be a method based on LSB (least significant bit), a time domain method, a frequency domain method (such as DCT (Discrete Cosine Transform, discrete cosine transform), DFT (Discrete Fourier Transform), DWT (Discrete Wavelet Transform), etc.). The audio watermark signal can also be embedded into the audio signal through a preset modulation technology such as (PSK, QAM, CDMA, etc.). The modulation process should ensure that the fusion of the watermark information and the original audio signal is as seamless as possible.
[0060] Optionally, the audio watermark signal may be embedded in different domains of the audio signal, such as time domain, frequency domain or other perceptible domains.
[0061] Optionally, to ensure the robustness of the embedded audio watermark signal and its ability to withstand certain levels of processing and attacks (such as filtering attacks: removing the watermark by applying a filter in a specific frequency range. Noise addition: adding noise to the audio to cover up or destroy the watermark. Geometric transformations: such as speed changes (fast forward or slow down), pitch shifting, etc., may affect the detection of the watermark. Clipping and splicing: editing audio files, deleting or rearranging parts of the content to destroy the integrity of the watermark. Watermark estimation and removal: using statistical or machine learning methods to estimate the presence of a watermark and try to remove it), the power level or amplitude of the audio watermark signal can also be adjusted (increasing the strength of the audio watermark signal without being heard by the human ear) to ensure that it is auditorily imperceptible and strong enough in the audio signal to be detected.
[0062] In one embodiment, the embedding position of the audio watermark signal in the audio signal can be obtained, the masking threshold corresponding to the embedding position can be obtained, and the strength of the audio watermark signal can be adjusted based on the masking threshold (so that the strength is lower than the masking threshold). In addition, the masking threshold corresponding to the audio signal at different frequencies and different time points can be obtained by frequency domain analysis and time domain analysis, and the strength of the audio watermark signal embedded corresponding to the frequency or time point can be dynamically adjusted. The psychoacoustic model (such as ABR or BS.1770) can also be used to predict the perception of the human auditory system to the target audio signal embedded with the audio watermark signal, and the strength of the audio watermark signal can be adjusted accordingly. Among them, the frequency domain analysis is to perform frequency domain analysis on the audio signal to determine which frequency components are important and which frequencies can be used to embed the watermark without causing auditory interference, and the change of the audio signal in the time domain is obtained by time domain analysis, so as to determine the part that can be used to embed the audio watermark signal according to the change (such as the frequency of the signal change in a predetermined length time period is lower than a preset value or the signal strength in a predetermined length time period is lower than a preset length).
[0063] Optionally, the content of the audio signal (such as music, speech or sound effects) can also be obtained, the masking threshold corresponding to the content can be obtained (the masking threshold corresponding to different contents can be preset), and the strength of the audio watermark signal can be adjusted based on the masking threshold.
[0064] Optionally, after acquiring the target audio signal, the target audio signal is associated with the video signal in the video, and operations such as video playback and downloading are performed based on the target audio signal, so that when the target object or other objects use the video to make a pirated video, the pirated video can contain an embedded audio watermark signal.
[0065] Optionally, in order to facilitate the piracy detection end to quickly and accurately detect the watermark signal, the audio watermark signal is embedded in the audio signal according to preset conditions, including: obtaining marking information corresponding to the audio watermark signal, embedding the audio watermark signal into the video according to the preset conditions and the marking information, the marking information including at least one of a predefined signal pattern and a predetermined signal sequence.
[0066] Optionally, indication information indicating the start point or end point of the audio watermark signal may be set in the target audio signal through the marking information, so as to use the indication information to indicate the embedded audio watermark signal.
[0067] Optionally, a specific signal sequence can be embedded in the beginning part of the audio watermark signal according to a predefined signal pattern. The signal sequence can be a specific bit stream, a signal of a specific frequency or a specific signal waveform. A synchronization word used to mark the starting position of the audio watermark signal in the target audio signal can also be embedded according to the predefined signal pattern. The same signal sequence or waveform can also be periodically embedded according to the predefined signal pattern. The signal sequence can be used to indicate the position of the embedded audio watermark signal, so that the audio watermark signal can be synchronized and located by detecting the signal sequence.
[0068] Optionally, the predetermined signal sequence may include at least one of a synchronization sequence, a pseudo-random sequence, a time domain or frequency domain mark, a frame structure, a checksum or a CRC. The synchronization sequence includes a predefined bit sequence or signal for achieving synchronization during the watermark extraction process. Pseudo-random sequence: A pseudo-random sequence is used as a synchronization sequence. This sequence has a certain regularity but is not easy to be predicted, which helps to achieve accurate synchronization during extraction. Time domain or frequency domain mark: Specific marks are embedded in the time domain or frequency domain of the audio signal. These marks can be specific amplitude changes, frequency changes or phase changes. Frame structure: The audio watermark signal is divided into multiple frames, and a synchronization sequence is embedded in each frame, so that even if there is interference between frames, frame synchronization can be achieved through the synchronization sequence. Checksum / CRC: A checksum or cyclic redundancy check (CRC) sequence is embedded in the audio watermark signal to detect and correct errors that may occur during the extraction process.
[0069] Correspondingly, the piracy detection end can achieve synchronization and positioning of the audio watermark signal through at least one of pattern matching, feature detection, spectrum analysis, and phase locking. Among them, pattern matching: during the extraction process, a pattern matching algorithm can be used to detect and identify the embedded marker signal. Feature detection: Statistical methods or signal processing techniques are used to detect features related to the embedded known synchronization sequence, and the synchronization sequence is determined based on the features, and then the audio watermark signal is extracted using the synchronization sequence. Phase locking: Signal processing techniques such as PLL can be used to lock and track the embedded synchronization sequence. Spectrum analysis: Spectrum analysis is performed on the extracted audio signal to identify and locate the embedded frequency domain watermark signal. Through these synchronization and positioning mechanisms, the watermark signal can be accurately extracted even after the audio signal has been processed and transmitted in various ways, thereby verifying the copyright and source of the content.
[0070] Optionally, to ensure that the embedded audio watermark signal can be read on a playback device or platform, embedding the watermark signal into a video to form a target video includes: determining a playback object corresponding to the target video, using the playback object to play an audio signal embedded with the audio watermark signal, and extracting the audio watermark signal; if the compatibility test is determined to be passed according to the extraction result, the audio signal is determined to be a target audio signal.
[0071] In one embodiment, the playback devices and platforms to be tested are determined, including but not limited to various operating systems. The playback devices include devices such as smartphones, tablets, personal computers, audio players, and car audio systems. The platform may include popular audio playback software and applications, such as VLC, Windows Media Player, QuickTime, Spotify, Apple Music, etc. The target audio signal can be converted into different audio formats (such as MP3, AAC, WAV, FLAC, etc.). The target audio signal is played on different playback devices or platforms, and the audio watermark signal is extracted, and the success rate, stability, and any abnormal behavior of the watermark extraction are recorded. The accuracy of the watermark extraction is evaluated based on the recorded results. If it is determined that the accuracy meets the preset compatibility conditions (such as being able to be extracted by more than 80% of the devices or platforms), the compatibility is determined to be passed. In addition, when it is determined that the preset compatibility conditions are not met, it can be detected on which devices or platforms the audio watermark signal cannot be read correctly, or the reading effect is poor (such as only part of the audio watermark signal can be extracted). Based on the recorded data, possible problems are identified, such as format compatibility problems, performance limitations, or differences in decoding algorithms for specific devices. The way the audio watermark signal is embedded is adjusted according to the identified problems to improve compatibility. After adjusting the embedding method, the test process is repeated until the extraction of the audio watermark signal meets the preset compatibility condition.
[0072] Optionally, all test structures, identified problems and solutions of the compatibility test can be recorded, and a compatibility test report can be generated based on the recorded data for future reference. It is also possible to obtain feedback from the target user group after the video is played, and adjust the way the audio watermark signal is embedded next time based on the feedback.
[0073] The pirated video locating method provided by the present application responds to the video acquisition instruction to acquire the target object and video corresponding to the video acquisition instruction; if it is determined that the target object is legal, a watermark signal is generated according to the identification information of the target object, and the watermark signal is embedded in the video to form a target video so that after the piracy detection end acquires the target video, the source of the target video is determined by using the watermark signal in the target video. The embodiment of the present application can add watermark information containing the identification information of the target object to the video when playing the video, so that when the piracy detection end acquires the target video, it can determine the object that initially played the target video according to the watermark signal in the target video, thereby facilitating the rapid and accurate acquisition of the source of the pirated video, reducing the time and cost of locating the source of piracy, effectively reducing the difficulty of tracing and the cost of copyright protection, and improving the copyright protection effect.
[0074] Based on the same inventive concept, the present application also proposes a method for locating pirated videos, such as Figure 2 As shown, the method is used for a piracy detection terminal, which can be various video playback devices or audio playback devices, or an application or platform for playing video or audio.
[0075] Optionally, the pirated video locating method includes:
[0076] S201: Acquire a target video and extract a watermark signal embedded in the target video.
[0077] Optionally, the watermark signal is generated according to identification information of the target object after the video playback end obtains the target object and target video corresponding to the video acquisition instruction and determines that the target object is legal.
[0078] Optionally, extracting the watermark signal embedded in the target video includes: obtaining information of the target video, the information including at least one of source, authorization information, name, and content; if it is determined based on the information that the target video is likely to be pirated, extracting an audio signal from the target video, and using the audio signal to extract the watermark signal.
[0079] Optionally, legal information of different videos may be pre-stored, and after the target video is acquired, it is detected whether the information of the target video matches the pre-stored legal information. If it is determined that there is no match, it is determined that the target video may be pirated.
[0080] Optionally, the audio signal includes an audio stream, and extracting the watermark signal using the audio signal includes: decoding the audio stream into an original audio signal, locating the audio watermark signal in the original audio signal according to a marker signal in the original audio signal, wherein the positioning includes at least one of pattern matching, feature detection, spectrum analysis, and phase locking; and extracting the audio watermark signal according to the positioning result.
[0081] In one embodiment, after acquiring the target video, the location and encoding method of the target audio signal are determined according to the file format of the target video. The audio stream corresponding to the target audio signal is extracted based on the location, and the audio stream is decoded into the original audio signal according to the encoding method. The decoded original audio signal is scanned by a watermark detection algorithm related to the embedding method of the audio watermark signal, the marker signal in the original audio signal is identified, and then the audio watermark signal is extracted according to the marker signal.
[0082] Optionally, when extracting the audio watermark signal through the watermark detection algorithm, the original audio signal is preprocessed first, and the preprocessing includes processing steps such as noise reduction and standardization. After preprocessing, the embedded audio is located according to the marker signal in the original audio signal, and the audio watermark signal can also be extracted by feature extraction (the audio watermark signal has a specific frequency component or amplitude change).
[0083] Optionally, after acquiring the audio watermark signal, the integrity and accuracy of the audio watermark signal may also be verified. If it is determined that the audio watermark signal is incomplete and inaccurate, error detection and correction may be performed on the audio watermark signal.
[0084] S202: Determine the source of the target video according to the watermark signal.
[0085] Optionally, the watermark signal includes an audio watermark signal, which may include identification information of an object that initially plays, downloads, or obtains the target video in other ways, and the source of the target video is determined based on the identification information.
[0086] Optionally, after obtaining the identification information, the identification information may be matched with legal identification information stored in a database, and the source or distribution chain of the target video may be determined based on the matching result.
[0087] Optionally, the legal identification information stored in the database may be updated regularly, or the identification information may be updated according to a user registration request. Expired identification information may also be removed during regular updates (such as when a user cancels an account).
[0088] Optionally, after extracting the audio watermark signal, the type, strength, source and other information of the audio watermark signal may also be obtained, and a detection report may be generated based on the obtained information, and the detection report may include information such as the existence, type, strength, source and other information of the watermark.
[0089] Optionally, after the test report is generated, the test report is saved and sent to a predetermined recipient. The test report received by the recipient may be a printed version or an electronic version.
[0090] Optionally, before sending the test report to the recipient, the test report can also be sent to a predetermined audit object or compared with the test report stored in the database, and audited and verified based on the audit results or comparison results to ensure that the information in the test report is accurate.
[0091] Optionally, the detection report may include the report generation date, the name of the piracy detection terminal, the version of the detection tool used, the information of the report recipient and the report generator, the file information of the target video, the file path, the hash value of the target video, the size and duration of the target video, the encoding format of the target video, and the detection result. The detection result may include whether the audio watermark signal is detected, the location, type, strength, confidence of the detection structure, the comparison result with the identification information in the database, the source judgment of the target video obtained based on the comparison result, and other information.
[0092] Optionally, to improve data security, the video playback end and the piracy detection end can also encrypt sensitive data involved in pirated video positioning. The sensitive data includes: user personal information, audio watermark information, operation log, configuration data, audit information, audio file, target audio file, access record, detection report, database access information, etc. Among them, user personal information includes: user's name, contact information, address, user ID, password hash, etc. Audio watermark information is the data included in the audio watermark signal embedded in the audio signal, including the user's unique identifier, watermark sequence, etc. Operation log is a log file that records system operations, including user behavior, system changes, abnormal events, etc. Configuration data includes system configuration settings, such as algorithm parameters, encryption keys, access control lists, etc. Audit information includes audit tracking records for compliance and security checks. The source audio file is the file corresponding to the original audio information that has not been watermarked. The target audio file is the audio file or video file corresponding to the target audio signal that has been embedded with a watermark. User access records include the behavior and time of user access to the system. The detection report contains a report of analysis results and sensitive information. Database access information includes database access records, including read, write, and delete operations.
[0093] Optionally, the data exchange process in the pirated video location can also be completed in an encrypted manner to prevent the data from being intercepted. The data exchange process includes watermark generation, watermark embedding, target video transmission, watermark signal extraction, extraction of identification information in the watermark signal, detection report generation, and detection report transmission.
[0094] Optionally, the encryption method may include asymmetric encryption, symmetric encryption and other encryption methods.
[0095] In an optional embodiment, an electronic device is provided, such as Figure 3 As shown, Figure 3 The electronic device 4000 shown includes: a processor 4001 and a memory 4003. The processor 4001 and the memory 4003 are connected, such as through a bus 4002. Optionally, the electronic device 4000 may also include a transceiver 4004, which may be used for data interaction between the electronic device and other electronic devices, such as data transmission and / or data reception. It should be noted that in actual applications, the transceiver 4004 is not limited to one, and the structure of the electronic device 4000 does not constitute a limitation on the embodiments of the present application.
[0096] Processor 4001 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. Processor 4001 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.
[0097] The bus 4002 may include a path to transmit information between the above components. The bus 4002 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus 4002 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0098] Memory 4003 can be ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or it can be EEPROM (Electrically Erasable Programmable Read Only Memory), CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disk storage (including compressed optical disk, laser disc, optical disk, digital versatile disc, Blu-ray disc, etc.), magnetic disk storage medium, other magnetic storage devices or any other medium that can be used to carry or store computer programs and can be read by a computer, without limitation here.
[0099] The memory 4003 is used to store the computer program for executing the embodiment of the present application, and the execution is controlled by the processor 4001. The processor 4001 is used to execute the computer program stored in the memory 4003 to implement the steps shown in the above method embodiment.
[0100] Among them, the electronic device can be any electronic product that can interact with an object, such as a personal computer, a tablet computer, a smart phone, a personal digital assistant (PDA), a game console, an interactive network television (IPTV), a smart wearable device, etc.
[0101] The electronic device may also include a network device and / or an object device, wherein the network device includes, but is not limited to, a single network server, a server group consisting of multiple network servers, or a cloud consisting of a large number of hosts or network servers based on cloud computing.
[0102] The network where the electronic device is located includes but is not limited to the Internet, a wide area network, a metropolitan area network, a local area network, a virtual private network (Virtual Private Network, VPN), etc.
[0103] An embodiment of the present application provides a computer-readable storage medium, which includes a computer program. When the computer program is executed by a processor, the steps and corresponding contents of the aforementioned method embodiment can be implemented.
[0104] An embodiment of the present application provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps and corresponding contents of the aforementioned method embodiment can be implemented.
[0105] The terms "first", "second", "third", "fourth", "1", "2", etc. (if any) in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than that shown or described in the drawings.
[0106] It should be understood that, although each operation step is indicated by arrows in the flowchart of the embodiment of the present application, the implementation order of these steps is not limited to the order indicated by the arrows. Unless clearly stated herein, in some implementation scenarios of the embodiment of the present application, the implementation steps in each flowchart can be performed in other orders according to demand. In addition, some or all of the steps in each flowchart may include multiple sub-steps or multiple stages based on actual implementation scenarios. Some or all of these sub-steps or stages may be executed at the same time, and each sub-step or stage in these sub-steps or stages may also be executed at different times respectively. In different scenarios of execution time, the execution order of these sub-steps or stages may be flexibly configured according to demand, and the embodiment of the present application does not limit this.
[0107] The above is only an optional implementation method for some implementation scenarios of the present application. It should be pointed out that for ordinary technicians in this technical field, without departing from the technical concept of the solution of the present application, other similar implementation methods based on the technical ideas of the present application are also within the protection scope of the embodiments of the present application.
Claims
1. A method for locating pirated videos, characterized in that: The method is used at a video playback end and includes: In response to a video acquisition instruction, acquiring a target object and a video corresponding to the video acquisition instruction; If it is determined that the target object is legal, a watermark signal is generated according to the identification information of the target object, and the watermark signal is embedded in the video to form a target video so that after the piracy detection end obtains the target video, the watermark signal in the target video is used to determine the source of the target video.
2. The method for locating pirated videos according to claim 1, characterized in that: The watermark signal includes an audio watermark signal, and the step of generating the watermark signal according to the identification information of the target object includes: Converting the identification information of the target object into a predetermined format, wherein the predetermined format includes a digital format or a character format; The identification information in a predetermined format is encoded into an audio watermark signal using a preset encoding method, wherein the preset encoding method includes spread spectrum.
3. The method for locating pirated videos according to claim 2, characterized in that: The target video includes a target audio signal, and embedding the watermark signal into the video to form the target video includes: An audio signal in the video is acquired, and the audio watermark signal is embedded into the audio signal according to a preset condition to obtain the target audio signal, wherein the preset condition includes at least one of a power spectrum density, a masking threshold, a perceptual coding rule, and a distortion degree of the audio signal.
4. The method for locating pirated videos according to claim 3, characterized in that: The step of embedding the audio watermark signal into the audio signal according to a preset condition comprises: The tag information corresponding to the audio watermark signal is obtained, and the tag signal and the audio watermark signal are embedded into the audio signal according to the preset condition and the tag information, wherein the tag information includes at least one of a predefined signal mode and a predetermined signal sequence.
5. The method for locating pirated videos according to claim 2, characterized in that: The step of embedding the watermark signal into the video to form a target video comprises: Determine a playback object corresponding to the target video, use the playback object to play the audio signal embedded with the audio watermark signal, and extract the audio watermark signal; If it is determined according to the extraction result that the compatibility test passes, the audio signal is determined to be a target audio signal.
6. A method for locating pirated videos, characterized in that: For use in a piracy detection terminal, the method comprises: A target video is obtained, and a watermark signal embedded in the target video is extracted, wherein the watermark signal is generated according to identification information of the target object after the video playback end obtains the target object and the target video corresponding to the video acquisition instruction and determines that the target object is legal; The source of the target video is determined according to the watermark signal.
7. The method for locating pirated videos according to claim 6, characterized in that: The extracting of the watermark signal embedded in the target video comprises: Acquire information of the target video, the information including at least one of a source, authorization information, name, and content; If it is determined according to the information that the target video may be pirated, an audio signal in the target video is extracted, and the watermark signal is extracted using the audio signal.
8. The method for locating pirated videos according to claim 7, characterized in that: The audio signal includes an audio stream, and the step of extracting the watermark signal by using the audio signal includes: Decoding the audio stream into an original audio signal, and locating the audio watermark signal in the original audio signal according to the marker signal in the original audio signal, wherein the locating includes at least one of pattern matching, feature detection, spectrum analysis, and phase locking; The audio watermark signal is extracted according to the positioning result.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory, characterized in that: The processor executes the computer program to implement the method according to any one of claims 1 to 8.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.