Method and device for identifying video source, electronic equipment and storage medium

By performing frame extraction, encoding, and encryption on video information, hidden information is embedded into the video to generate a composite video. The hidden information is then decrypted to restore the video, thus solving the problem of information leakage in traditional video processing technology and achieving secure transmission and accurate acquisition of information.

CN121098997APending Publication Date: 2025-12-09SHANGHAI HIME TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410732171.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-06
Publication Date
2025-12-09

AI Technical Summary

Technical Problem

Traditional video processing techniques cannot hide information without affecting video playback, making it difficult to discover or extract information, which may lead to information leakage or being ignored.

Method used

By extracting frames from video information, encoding, encrypting, and embedding hidden information, a synthetic video is generated, and the hidden information is restored by comparing and decrypting the extracted frames.

Benefits of technology

It enables secure transmission of hidden information during video playback, preventing information leakage and ensuring that information can be accurately obtained when needed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121098997A_ABST
    Figure CN121098997A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of video processing, and discloses a method and device for identifying a video source, electronic equipment and a storage medium, and the method comprises the steps: obtaining video information; processing the video information to obtain a synthesized video; and analyzing the synthesized video, restoring the hidden information, and hiding the hidden information in the video, so that information exposure can be avoided.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of video processing, in particular to a method and device for identifying the source of a video, an electronic device and a storage medium. BACKGROUND

[0002] Video processing technology refers to a series of operations such as processing, compression, editing and transmission of video signals. The application fields of these technologies are wide, including video editing, video compression, video analysis, video live streaming, etc.

[0003] However, the traditional video processing technology cannot hide video information and does not affect video playback during playback, nor can it obtain hidden information and locate its position. This makes it difficult to find or extract information in the video, which may lead to information leakage or being ignored. SUMMARY

[0004] Therefore, it is necessary to provide a method and device for identifying the source of a video, an electronic device and a storage medium to avoid information leakage.

[0005] In a first aspect, the embodiments of the present application provide a method for identifying the source of a video, which comprises:

[0006] obtaining video information;

[0007] processing the video information to obtain a synthesized video;

[0008] analyzing the synthesized video to restore hidden information.

[0009] In some embodiments, the processing of the video information to obtain a synthesized video comprises:

[0010] frame extraction processing is performed on the video information to obtain a frame-extracted picture;

[0011] the frame-extracted picture is encoded to obtain binary data;

[0012] the binary data is encrypted to obtain encrypted binary data;

[0013] the encrypted binary data and hidden information are embedded in the frame-extracted picture to obtain a synthesized video.

[0014] In some embodiments, the analysis of the synthesized video to restore hidden information comprises:

[0015] frame extraction comparison is performed on the synthesized video to obtain a frame-extracted picture;

[0016] the frame-extracted picture is decrypted to restore hidden information.

[0017] In some embodiments, the encoding the frame-extracted picture to obtain binary data comprises:

[0018] Converting pixel values in the frame-extracted picture into binary data.

[0019] In some embodiments, after the frame-extracting the video information to obtain the frame-extracted picture, the method further comprises:

[0020] De-noising, adjusting brightness, and adjusting contrast of the frame-extracted picture.

[0021] In a second aspect, the embodiments of the present application further provide a device for identifying a video source, comprising:

[0022] An acquisition module configured to acquire video information.

[0023] A processing module configured to process the video information to obtain a synthesized video.

[0024] An analysis module configured to analyze the synthesized video to restore hidden information.

[0025] In some embodiments, the processing module is specifically configured to:

[0026] Frame-extract the video information to obtain a frame-extracted picture.

[0027] Encode the frame-extracted picture to obtain binary data.

[0028] Encrypt the binary data to obtain encrypted binary data.

[0029] Embed the encrypted binary data and hidden information into the frame-extracted picture to obtain the synthesized video.

[0030] In some embodiments, the analysis module is specifically configured to:

[0031] Frame-extract the synthesized video to obtain a frame-extracted picture.

[0032] Decrypt the frame-extracted picture to restore the hidden information.

[0033] In a third aspect, the embodiments of the present application further provide an electronic device, comprising:

[0034] at least one processor; and

[0035] a memory communicatively connected to the at least one processor; wherein

[0036] The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method of the first aspect.

[0037] In a fourth aspect, the embodiments of the present application further provide a non-volatile computer readable storage medium, which stores computer executable instructions, and the computer executable instructions, when executed by a processor, enable the processor to perform the method of the first aspect.

[0038] Compared with the prior art, the beneficial effects of the present application are: different from the prior art, the method for identifying the source of the video provided by the embodiments of the present application can obtain video information, then process the video information, obtain a synthetic video, and finally analyze the synthetic video to restore hidden information, thereby avoiding information leakage. BRIEF DESCRIPTION OF DRAWINGS

[0039] One or more embodiments are illustrated by way of example in the drawings, which are not limiting of the embodiments and thus do not constitute a limitation of the present application, and wherein elements having the same reference numeral designations represent like elements throughout the drawings, and wherein the drawings are not necessarily to scale, unless otherwise explicitly indicated herein.

[0040] Figure 1 is a flowchart of a method for identifying the source of a video provided by an embodiment of the present application;

[0041] Figure 2 is a flowchart of processing video information provided by an embodiment of the present application;

[0042] Figure 3 is a structural diagram of a device for identifying the source of a video provided by an embodiment of the present application;

[0043] Figure 4 is a structural diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0044] To make the objectives, technical solutions, and superiorities of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described below in connection with the drawings in the embodiments of the present application. Obviously, the described embodiments are only some, but not all of the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the scope of the present application.

[0045] It should be noted that the various features of the embodiments of the present application can be combined with each other, and all within the protection scope of the present application, if there is no conflict. In addition, although the functional modules are divided in the device schematic diagram, and the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order from the module division in the device or the order in the flowchart. Furthermore, the "first", "second", "third" and the like used in the present application do not limit the data and execution order, but only distinguish the same items or similar items with basically the same function and effect.

[0046] As shown in Figure 1 The embodiments of the present application provide a method for identifying the source of a video, which comprises:

[0047] Step 110, obtaining video information.

[0048] In the embodiments of the present application, the ways to obtain video information include but are not limited to obtaining video information from a database, or obtaining a video taken at the moment, or using web crawler technology to capture video links on a webpage by writing a specific script or program. Or directly obtaining video information from a video sharing platform, a social media platform, etc.

[0049] Step 120, processing the video to obtain a composite video.

[0050] In order to improve the quality of the video, the obtained video information needs to be processed. The processing includes but is not limited to frame extraction processing, noise reduction processing, brightness adjustment, and contrast adjustment processing, etc. Specifically, video frame extraction is used to reduce the size of video data. The purpose of noise reduction is to reduce or eliminate noise in the video, which may come from electronic interference of the shooting device, compression artifacts or other sources. Noise reduction can improve the clarity of the video. In the embodiments of the present application, noise reduction processing adopts spatial noise reduction or temporal noise reduction. Adjusting brightness is to change the overall light and dark level of the video, so that it is more suitable for watching. Adjusting contrast can make the light and dark contrast of the video more vivid, enhance the visual impact, and make the picture look more lively and layered.

[0051] In some embodiments, as a specific implementation of step 120, as shown in Figure 2 The method comprises:

[0052] Step 210, frame extraction processing is performed on the video information to obtain frame extraction pictures.

[0053] The video content can be converted into static pictures that are easy to view and analyze by frame extraction processing. A suitable tool can be selected according to actual needs to perform frame extraction operation on the video. For example, video editing software (such as Adobe Premiere, Final Cut Pro), command line tools (such as ffmpeg), online services or programming libraries (such as OpenCV), etc.

[0054] In step 220, the frame-extracted picture is encoded to obtain binary data.

[0055] The purpose of encoding the frame-extracted picture into binary data is to better manage, transmit and process image information while meeting the requirements of storage efficiency, performance and security. Specifically, the pixel values in the frame-extracted picture can be converted into binary data by using MATLAB image processing toolbox, or by using OpenCV library, or by using histogram algorithm, or by using Python standard library combined with NumPy library, etc.

[0056] In step 230, the binary data is encrypted to obtain encrypted binary data.

[0057] In the embodiments of the present application, in order to ensure that the hidden information is not easily discovered and stolen, the binary data needs to be encrypted. Specifically, the binary data can be encrypted by using MD5 encryption, AES / DES encryption, RSA encryption or digital signature, etc., so as to obtain encrypted binary data.

[0058] In step 240, the encrypted binary data and the hidden information are embedded into the frame-extracted picture to obtain a synthetic video.

[0059] The synthetic video is obtained by embedding the encrypted binary data and the hidden information into the frame-extracted picture. By hiding the hidden information in the video itself, it is not easy to be detected, and special software is needed to obtain the data, thereby avoiding information exposure.

[0060] In step 130, the hidden information is restored by analyzing the synthetic video.

[0061] The synthetic video is a video that needs to be parsed. By comparing the frame-extracted pictures obtained by frame extraction of the synthetic video, the hidden information is restored by decrypting the frame-extracted pictures.

[0062] The method for identifying the source of the video provided in the embodiments of the present application obtains video information, processes the video information to obtain a synthetic video, and then analyzes the synthetic video to restore the hidden information. By hiding the hidden information in the video itself, information exposure can be avoided.

[0063] Accordingly, the embodiment of the present application further provides a device 300 for identifying the source of a video, as shown in the figure, the device 300 comprises: Figure 3

[0064] a obtaining module 310, configured to obtain video information;

[0065] a processing module 320, configured to process the video information to obtain a synthesized video;

[0066] an analyzing module 330, configured to analyze the synthesized video to restore hidden information.

[0067] In the embodiment of the present application, the video information is obtained by the obtaining module, then the video is processed by the processing module to obtain a synthesized video, and finally the synthesized video is analyzed by the analyzing module to restore hidden information, which can avoid information exposure by hiding the hidden information in the video itself.

[0068] Optionally, in other embodiments of the device, the processing module 320 is specifically configured to:

[0069] frame extraction processing is performed on the video information to obtain a frame-extracted picture;

[0070] the frame-extracted picture is encoded to obtain binary data;

[0071] the binary data is encrypted to obtain encrypted binary data;

[0072] the encrypted binary data and hidden information are embedded in the frame-extracted picture to obtain a synthesized video.

[0073] Optionally, in other embodiments of the device, the analyzing module 330 is specifically configured to:

[0074] frame extraction comparison is performed on the synthesized video to obtain a frame-extracted picture;

[0075] the frame-extracted picture is decrypted to restore hidden information.

[0076] Optionally, in other embodiments of the device, the pixel value in the frame-extracted picture is converted into binary data.

[0077] Optionally, in other embodiments of the device, the frame-extracted picture is denoised, the brightness is adjusted, and the contrast is adjusted.

[0078] ​It should be noted that the apparatus for identifying video sources described above can execute the method for identifying video sources provided by the embodiments of the present application, and has the corresponding function modules and beneficial effects of the method. Technical details not described in the apparatus for identifying video sources embodiments can be referred to the method for identifying video sources provided by the embodiments of the present application.

[0079] Figure 4 FIG. 4 is a schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present application, as shown in the figure, the electronic device 400 includes: Figure 4

[0080] one or more processors 410 and a memory 420, Figure 4 In an embodiment, the processor is taken as an example.

[0081] The processor 410 and the memory 420 can be connected through a bus or other means, Figure 4 In an embodiment, the connection through the bus is taken as an example.

[0082] The memory 420, as a kind of non-volatile computer readable storage medium, can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as instructions / modules corresponding to the method for identifying video sources in the embodiments of the present application. The processor 410 executes various functions of the electronic device and data processing by running the non-volatile software programs, instructions and modules stored in the memory 420, that is, implements the method for identifying video sources in the above method embodiments.

[0083] The memory 420 can include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required by a function; the data storage area can store data created according to the use of the apparatus for identifying video sources, etc. In addition, the memory 420 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state memory device. In some embodiments, these memories 420 can optionally include a memory remotely arranged with respect to the processor 410, which can be connected to the apparatus for identifying video sources through a network. Examples of the above network include but are not limited to the Internet, an intranet, a local area network, mobile communication and a combination thereof.

[0084] The embodiments of the present application also provide a non-volatile computer readable storage medium, the computer readable storage medium stores computer executable instructions, when the computer executable instructions are executed by one or more processors, the one or more processors can execute the method for identifying video sources in any of the above embodiments.

[0085] ​The device embodiments described above are merely illustrative, wherein the units described as separated components can or can not be physically separated, and the components displayed as units can or can not be physical units, i.e., can be located in one place, or can be distributed on multiple network units. Part or all of the modules can be selected according to actual needs to achieve the purpose of the embodiment scheme.

[0086] Through the above description of the embodiments, those skilled in the art can clearly understand that the embodiments can be implemented by means of software plus a general hardware platform, and of course, can also be implemented by hardware. Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by a computer program instructing related hardware, and the program can be stored in a computer readable storage medium. When the program is executed, it can include the processes of the above-mentioned embodiment methods. The storage medium can be a magnetic disc, an optical disc, a read-only memory (ROM) or a random access memory (RAM), etc.

[0087] Finally, it should be noted that: the above examples are only used to illustrate the technical solutions of the present application, and not to limit them; under the idea of the present application, the technical features in the above examples or different embodiments can also be combined, the steps can be implemented in any order, and there are many other changes of the different aspects of the present application as described above. In order to be brief, they are not provided in detail; although the present application has been described in detail with reference to the foregoing examples, those skilled in the art should understand that: it can still modify the technical solutions recorded in the foregoing examples, or make equivalent replacement for part of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A method of authenticating a source of a video, the method comprising: The method comprises: acquiring video information; processing the video information to obtain a synthesized video; analyzing the synthesized video to restore hidden information.

2. The method of claim 1, wherein, The processing of the video information to obtain a synthesized video comprises: frame extraction processing of the video information to obtain a frame-extracted picture; encoding of the frame-extracted picture to obtain binary data; encryption of the binary data to obtain encrypted binary data; embedding of the encrypted binary data and hidden information into the frame-extracted picture to obtain a synthesized video.

3. The method of claim 2, wherein, The analysis of the synthesized video to restore hidden information comprises: frame extraction comparison of the synthesized video to obtain a frame-extracted picture; decryption of the frame-extracted picture to restore hidden information.

4. The method of claim 2, wherein, The encoding of the frame-extracted picture to obtain binary data comprises: conversion of pixel values in the frame-extracted picture into binary data.

5. The method of claim 2, wherein, After the frame extraction processing of the video information to obtain a frame-extracted picture, the method further comprises: de-noising, brightness adjustment, and contrast adjustment of the frame-extracted picture.

6. An apparatus for authenticating a source of a video, the apparatus comprising: Comprise: an acquisition module configured to acquire video information; a processing module configured to process the video information to obtain a synthesized video; an analysis module configured to analyze the synthesized video to restore hidden information.

7. The apparatus of claim 6, wherein, The processing module is specifically configured to: frame extraction processing of the video information to obtain a frame-extracted picture; encoding of the frame-extracted picture to obtain binary data; encryption of the binary data to obtain encrypted binary data; embedding of the encrypted binary data and hidden information into the frame-extracted picture to obtain a synthesized video.

8. The apparatus of claim 7, wherein, The analysis module is specifically configured to: frame extraction comparison of the synthesized video to obtain a frame-extracted picture; decryption of the frame-extracted picture to restore hidden information.

9. An electronic device, comprising: Comprise: at least one processor; and a memory in communication with the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-5.

10. A non-transitory computer readable storage medium, comprising: The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, the processor performs the method of any one of claims 1-5.