Quantum encryption video image processing method, acquisition device and server
By using unpredictable quantum random numbers and initialization vectors generated by a quantum random number chip, combined with advanced encryption algorithms to generate streaming keys, video data is encrypted, thus solving the security risks of existing video image acquisition devices and achieving highly secure data transmission.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-29
- Publication Date
- 2026-03-13
AI Technical Summary
Existing video image acquisition devices have security vulnerabilities during information transmission, such as the ease with which wireless signals can be eavesdropped or hijacked, the ease with which traditional encryption algorithms can be cracked by quantum computing, and the lack of a two-way authentication mechanism, making it difficult to cope with future threats.
The system uses a quantum random number chip to generate unpredictable quantum random numbers and initialization vectors, combines them with advanced encryption algorithms to generate stream keys, encrypts video data, and uses the platform server's public key to encrypt the quantum random numbers, ensuring secure data transmission.
It achieves highly secure transmission of video data, prevents sensitive information from being intercepted and cracked, improves the confidentiality and security of information transmission, and meets the encryption requirements of the quantum computing era.
Smart Images

Figure CN121665074A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of image processing technology and related technical fields, specifically to a quantum-encrypted video image processing method, acquisition device, server, equipment, and medium. Background Technology
[0002] Traditional wired or wireless video image acquisition devices are widely used in various fields such as public safety, production safety, and personal safety.
[0003] In existing technologies, the following security risks exist during the information transmission process between video image acquisition devices and platform servers: 1. Wireless signals are highly open and easily monitored or hijacked by third parties. Traditional encryption algorithms (such as AES and RSA) may be cracked by quantum computing, making it difficult to cope with future threats. Some devices still use low-strength or fixed keys, which are easily cracked by brute force. 2. The lack of a two-way authentication mechanism allows spoofed base stations to induce devices to connect to malicious networks. Especially in hostile environments, these base stations may use advanced interception and cracking techniques to obtain our sensitive information.
[0004] Given the problems with existing technologies, there is an urgent need for a quantum-encrypted video image processing method between a quantum-encrypted video image acquisition device and a platform server. Summary of the Invention
[0005] The embodiments described herein provide a quantum-encrypted video image processing method, acquisition device, server, equipment, and medium, which solve the problems existing in the prior art.
[0006] In a first aspect, according to the present disclosure, a quantum-encrypted video image processing method is provided, applied to a quantum-encrypted video image acquisition device, the quantum-encrypted video image acquisition device including a quantum random number chip, comprising: Receive video data, and based on the video data, obtain the quantum random number and initialization vector corresponding to each image group; The stream key is determined based on the quantum random number and the initialization vector; In response to receiving the public key sent by the platform server, the quantum random number is encrypted to obtain an encrypted quantum random number; Each image group of the video data is encoded to obtain encoded data, and the encoded data is encrypted based on the stream key to obtain encrypted encoded data; The initialization vector, the encrypted quantum random number, and the encrypted encoded data are sent to the platform server.
[0007] In some embodiments of this disclosure, determining the stream key based on the quantum random number and the initialization vector includes: Based on the block cipher algorithm, the quantum random number and initialization vector are processed to obtain the stream key.
[0008] In some embodiments of this disclosure, encoding each image group of the video data to obtain encoded data, and encrypting the encoded data based on the stream key to obtain encrypted encoded data, includes: Encode each group of images in the video data to obtain encoded data; Based on the stream key and the encoded data, an XOR operation is performed on the stream key and the encoded data to obtain encrypted encoded data.
[0009] Secondly, based on the content of this disclosure, another quantum-encrypted video image processing method is provided, applied to a platform server, including: Receive the initialization vector, encrypted quantum random number and encrypted encoded data sent by the quantum encrypted video image acquisition device, and determine the quantum random number and stream key based on the initialization vector, encrypted quantum random number and encrypted encoded data; Based on the stream key and the encrypted encoded data, the encoded data corresponding to each image group of the video data is determined.
[0010] In some embodiments of this disclosure, determining the quantum random number and stream key based on the initialization vector, the encrypted quantum random number, and the encrypted encoded data includes: The encrypted quantum random number is decrypted using the platform server's private key to obtain the quantum random number; The stream key is determined based on the quantum random number and the initialization vector.
[0011] In some embodiments of this disclosure, determining the encoded data corresponding to each image group of the video data based on the stream key and the encrypted encoded data includes: The encrypted encoded data is decrypted based on the stream key to obtain the encoded data corresponding to each image group of the video data.
[0012] Thirdly, according to the present disclosure, a quantum-encrypted video image acquisition device is provided, including a quantum random number chip, and also including an image acquisition module, a control module, an encoding module and a communication module; The image acquisition module is configured to receive video data and, based on the video data, obtain the quantum random number and initialization vector corresponding to each image group. The control module is configured to determine a stream key based on the quantum random number and the initialization vector, and in response to receiving a public key sent by the platform server, encrypt the quantum random number to obtain an encrypted quantum random number. The encoding module is configured to encode each image group of the video data to obtain encoded data, and to encrypt the encoded data based on the stream key to obtain encrypted encoded data; The communication module is configured to send the initialization vector, the encrypted quantum random number, and the encrypted encoded data to the platform server.
[0013] Fourthly, according to the present disclosure, a platform server is provided, including: an information processing module and an encoded data determination module; The information processing module is configured to receive an initialization vector, an encrypted quantum random number, and encrypted encoded data sent by the quantum encrypted video image acquisition device, and determine the quantum random number and the stream key based on the initialization vector, the encrypted quantum random number, and the encrypted encoded data; The encoding data determination module is configured to determine the encoding data corresponding to each image group of the video data based on the stream key and the encrypted encoding data.
[0014] Fifthly, according to the present disclosure, a computer device is provided, comprising: One or more processors; Storage device for storing one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors perform the method as described in either the first aspect or the second aspect.
[0015] Sixthly, according to the present disclosure, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the method as described in either the first or second aspect.
[0016] The quantum-encrypted video image processing method, acquisition device, platform server, equipment, and medium provided in this disclosure first receive video data and, based on the video data, obtain the quantum random number and initialization vector corresponding to each image group; then, determine the stream key based on the quantum random number and initialization vector; and, in response to receiving the public key sent by the platform server, encrypt the quantum random number to obtain an encrypted quantum random number; furthermore, encode each image group of the video data to obtain encoded data, and encrypt the encoded data based on the stream key to obtain encrypted encoded data; finally, send the initialization vector, encrypted quantum random number, and encrypted encoded data to the platform server. Since the encrypted encoded data sent by the quantum-encrypted video image acquisition device is obtained by encrypting the encoded data of each image group based on the stream key, and the stream key is generated based on the quantum random number and initialization vector, and the quantum random number is randomly generated based on a quantum random number chip, the quantum random number corresponding to each image group is different, ensuring that the stream key corresponding to each image group is different. The stream key is generated based on a high-level encryption algorithm, providing a certain level of security. Furthermore, the encrypted quantum random numbers sent by the quantum encrypted video image acquisition device are encrypted based on the public key of the platform server. Even if the public key is decrypted during the process of the quantum encrypted video image acquisition device sending the encrypted quantum random numbers to the platform server, the encrypted quantum random numbers cannot be decrypted, thus ensuring the data security of the quantum random numbers corresponding to each image group during the transmission process.
[0017] The above description is merely an overview of the technical solutions of the embodiments of this application. In order to better understand the technical means of the embodiments of this application and to implement them in accordance with the contents of the specification, and to make the above and other objects, features and advantages of the embodiments of this application more obvious and understandable, specific implementation methods of this application are described below. Attached Figure Description
[0018] To more clearly illustrate the technical solutions of the embodiments of this disclosure, the accompanying drawings of the embodiments will be briefly described below. It should be understood that the drawings described below only relate to some embodiments of this disclosure and are not intended to limit this disclosure, wherein: Figure 1 This is a schematic flowchart of a quantum-encrypted video image processing method provided in an embodiment of this disclosure; Figure 2 This is a schematic flowchart of another quantum-encrypted video image processing method provided in this embodiment of the disclosure; Figure 3 This is a schematic diagram of the structure of a quantum-encrypted video image acquisition device provided in an embodiment of this disclosure; Figure 4 This is a schematic diagram of the structure of a platform server provided in an embodiment of this disclosure; Figure 5This is a schematic diagram of the structure of a computer device provided in an embodiment of this disclosure.
[0019] In the accompanying diagram, markers with the same last two digits correspond to the same elements. It should be noted that the elements in the diagram are schematic and not drawn to scale. Detailed Implementation
[0020] To make the objectives, technical solutions, and advantages of the embodiments of this disclosure clearer, the technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this disclosure. All other embodiments obtained by those skilled in the art based on the described embodiments of this disclosure without creative effort are also within the scope of protection of this disclosure.
[0021] Unless otherwise defined, all terms used herein (including technical and scientific terms) shall have the same meaning as commonly understood by one of ordinary skill in the art to which this subject matter pertains. It will be further understood that terms such as those defined in commonly used dictionaries shall be interpreted as having the meaning consistent with their meaning in the context of the specification and in the relevant art, and shall not be interpreted in an idealized or overly formal form unless otherwise explicitly defined herein. As used herein, the statement of “connecting” or “coupling” two or more parts together shall mean that these parts are directly joined together or joined through one or more intermediate components.
[0022] The term "embodiment" as used herein means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of the phrase "embodiment" in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0023] In this article, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists, A and B exist simultaneously, or B exists. Additionally, the character " / " in this article generally indicates that the preceding and following related objects have an "or" relationship.
[0024] Furthermore, in all embodiments of this disclosure, terms such as “first” and “second” are used only to distinguish one component (or part of a component) from another component (or another part of a component).
[0025] In the description of this application, unless otherwise stated, "multiple" means two or more (including two), and similarly, "multiple groups" means two or more (including two groups).
[0026] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings.
[0027] In view of the problems existing in the prior art, this disclosure provides a quantum encrypted video image processing method, which is applied to a quantum encrypted video image acquisition device. Figure 1 This is a flowchart illustrating a quantum-encrypted video image processing method provided in an embodiment of this disclosure, as shown below. Figure 1 As shown, the specific process of the quantum encryption video image processing method includes: S110. Receive video data and, based on the video data, obtain the quantum random number and initialization vector corresponding to each image group.
[0028] A GOP (Group of Pictures) is a group of consecutive frames in video coding. It starts with an I-frame and includes P-frames and B-frames. Efficient data storage and transmission are achieved through inter-frame compression.
[0029] Specifically, the quantum-encrypted video image acquisition device first receives video data, then determines multiple image groups based on the received video data, and randomly obtains the quantum random number and initialization vector for each image group.
[0030] Specifically, the quantum encrypted video image acquisition device includes a quantum random number chip, which can randomly generate quantum random numbers and initialization vectors. After receiving video data, the quantum encrypted video image acquisition device's quantum random number chip will randomly generate a quantum random number and an initialization vector corresponding to each image group. The quantum random numbers and initialization vectors corresponding to different image groups are different.
[0031] Among them, the Quantum Random Number Chip (QRNG Chip) is the core hardware for generating truly random numbers based on the principles of quantum mechanics. It utilizes the collapse of a quantum superposition state through a semi-transparent mirror to generate a random sequence, detects random fluctuations in the quantum vacuum (such as laser phase noise), and extracts unpredictable data through joint measurements of entangled photon pairs. The quantum physics mechanism ensures that the output is unpredictable and cannot be copied, thus addressing the predictability shortcomings of traditional pseudo-random number algorithms and improving the security of encryption systems. Since each image group corresponds to a different quantum random number, the stream key determined based on the quantum random number and the initialization vector corresponding to the quantum random number is also different. In other words, the stream key corresponding to each image group is different, which ensures the privacy of the encrypted encoded data obtained by encrypting the encoded data of each image group based on the stream key. This effectively improves the confidentiality of information transmission of the quantum encrypted video image acquisition device, avoids the interception and cracking of sensitive information, and is independent of whether the transmission method is wired or wireless.
[0032] As a specific example, the quantum random number and initialization vector corresponding to each generated image group are 128 bits. As for other possible implementations, the number of bytes of the quantum random number and initialization vector corresponding to each generated image group is not specifically limited in this embodiment of the disclosure.
[0033] Furthermore, the quantum random number chip can achieve a gigabits-level random number generation rate per second, meeting the requirements of efficient encryption and enabling each image group to use a different stream key.
[0034] S120. Determine the stream key based on the quantum random number and the initialization vector.
[0035] After determining the quantum random number and initialization vector corresponding to each image group in step S110, the quantum random number and initialization vector are encrypted in blocks based on the block encryption algorithm to obtain the stream key.
[0036] Among these, block cipher algorithms include AES (Advanced Encryption Standard), which is currently the most popular and widely used symmetric-key encryption algorithm in the world. It replaced the original DES (Data Encryption Standard) and became the next-generation encryption standard.
[0037] S130. In response to receiving the public key sent by the platform server, encrypt the quantum random number to obtain an encrypted quantum random number.
[0038] In addition, the quantum encrypted video image acquisition device communicates with the platform server. After receiving the public key sent by the platform server, the quantum encrypted video image acquisition device encrypts the quantum random number based on the public key sent by the platform server to obtain the encrypted quantum random number.
[0039] Because the quantum-encrypted video image acquisition device encrypts the quantum random number corresponding to each image group using the public key sent by the platform server, even if the encrypted quantum random number is intercepted by a third party during information transmission and the public key is decrypted, the encrypted quantum random number cannot be decrypted, thus ensuring the data security of the quantum random number corresponding to each image group during transmission.
[0040] S140. Encode each image group of the video data to obtain encoded data, and encrypt the encoded data based on the stream key to obtain encrypted encoded data.
[0041] In the specific implementation process, each image group of the video data is encoded to obtain encoded data, and the encoded data is encrypted based on the stream key to obtain encrypted encoded data. This includes: encoding each image group of the video data to obtain encoded data; and performing an XOR operation on the stream key and the encoded data to obtain encrypted encoded data.
[0042] Specifically, the encoded data is obtained by encoding the images of each group of images acquired, and then the encoded data is aligned bit by bit with the stream key and XORed to obtain encrypted encoded data.
[0043] Since each image group corresponds to a different quantum random number, the stream key determined based on the quantum random number and the initialization vector corresponding to the quantum random number is also different. In other words, the stream key corresponding to each image group is different, which ensures the privacy of the encrypted encoded data obtained by encrypting the encoded data of each image group based on the stream key. This effectively improves the confidentiality of information transmission of the quantum encrypted video image acquisition device and avoids the interception and cracking of sensitive information.
[0044] S150. Send the initialization vector, encrypted quantum random number, and encrypted encoded data to the platform server.
[0045] After determining the encrypted quantum random number and encrypted encoded data, the initialization vector, encrypted encoded data, and encrypted quantum random number are sent to the platform server.
[0046] It should be noted that the quantum encrypted video image acquisition device transmits the initialization vector, encrypted quantum random number, and encrypted encoded data to the platform server in NAL network transmission unit format via 4G / 5G, WIFI, and other signals in the wireless communication module.
[0047] Because the encrypted encoded data sent by the quantum encryption video image acquisition device is obtained by encrypting the encoded data of each image group based on the stream key, and the stream key is generated based on quantum random numbers and initialization vectors, the quantum random numbers are randomly generated based on quantum random number chips, and the quantum random numbers corresponding to each image group are different, ensuring that the stream key corresponding to each image group is different. The stream key is generated based on high-level encryption algorithms, which has a certain degree of security.
[0048] Furthermore, the encrypted quantum random numbers sent by the quantum encrypted video image acquisition device are encrypted based on the public key of the platform server. Even if the public key is decrypted during the process of the quantum encrypted video image acquisition device sending the encrypted quantum random numbers to the platform server, the encrypted quantum random numbers cannot be decrypted, thus ensuring the data security of the quantum random numbers corresponding to each image group during the transmission process.
[0049] The quantum-encrypted video image processing method provided in this disclosure first receives video data and, based on the video data, obtains a quantum random number and an initialization vector corresponding to each image group. Then, based on the quantum random number and the initialization vector, a stream key is determined. In response to receiving a public key from a platform server, the quantum random number is encrypted to obtain an encrypted quantum random number. Next, each image group of the video data is encoded to obtain encoded data, and the encoded data is encrypted based on the stream key to obtain encrypted encoded data. Finally, the initialization vector, the encrypted quantum random number, and the encrypted encoded data are sent to the platform server. Since the encrypted encoded data sent by the quantum-encrypted video image acquisition device is obtained by encrypting the encoded data of each image group based on the stream key, and the stream key is generated based on the quantum random number and the initialization vector, and the quantum random number is randomly generated based on a quantum random number chip, the quantum random number corresponding to each image group is different, ensuring that the stream key corresponding to each image group is different. The stream key is generated based on a high-level encryption algorithm, providing a certain level of security. Furthermore, the encrypted quantum random numbers sent by the quantum encrypted video image acquisition device are encrypted based on the public key of the platform server. Even if the public key is decrypted during the process of the quantum encrypted video image acquisition device sending the encrypted quantum random numbers to the platform server, the encrypted quantum random numbers cannot be decrypted, thus ensuring the data security of the quantum random numbers corresponding to each image group during the transmission process.
[0050] Based on the above embodiments, Figure 2 This is another quantum-encrypted video image processing method provided in this disclosure embodiment. The quantum-encrypted video image processing method provided in this disclosure embodiment is applied to a platform server, and the platform server receives... Figure 1 In the corresponding embodiment, the initialization vector, encrypted quantum random number, and encrypted encoded data sent by the quantum encrypted video image acquisition device are as follows: Figure 2As shown, the quantum-encrypted video image processing method includes: S210: Receive the initialization vector, encrypted quantum random number and encrypted encoded data sent by the quantum encrypted video image acquisition device, and determine the quantum random number and stream key based on the initialization vector, encrypted quantum random number and encrypted encoded data.
[0051] In the specific implementation, the quantum random number and stream key are determined based on the initialization vector, the encrypted quantum random number, and the encrypted encoded data. This includes: decrypting the encrypted quantum random number using the platform server's private key to obtain the quantum random number; and determining the stream key based on the quantum random number and the initialization vector.
[0052] The platform server first reads the encrypted quantum random number and initialization vector from the secure dataset. Then, it decrypts the encrypted quantum random number based on the platform server's private key to obtain the quantum random number. Subsequently, based on the quantum random number and initialization vector, it determines the stream key. That is, based on the block cipher algorithm, it processes the quantum random number and initialization vector to obtain the stream key.
[0053] S220. Based on the stream key and the encrypted encoding data, determine the encoded data corresponding to each image group of the video data.
[0054] After determining the stream key in step S210, the encoded data corresponding to each image group of the video data can be decoded by XORing the stream key and the encrypted encoded data. The encoded data corresponding to the decrypted video data can be played normally on the platform server.
[0055] The quantum-encrypted video image processing method provided in this disclosure, after receiving the initialization vector, encrypted quantum random number, and encrypted encoded data sent by the quantum-encrypted video image acquisition device, first determines the quantum random number and stream key based on the initialization vector, encrypted quantum random number, and encrypted encoded data; then, based on the stream key and encrypted encoded data, determines the encoded data corresponding to each image group of the video data. This enables the decryption of the encrypted encoded data on the platform server, resulting in the obtained video data.
[0056] Based on the above embodiments, this disclosure also provides a quantum-encrypted video image acquisition device. Figure 3 This is a schematic diagram of the structure of a quantum-encrypted video image acquisition device provided in an embodiment of this disclosure, as shown below. Figure 3 As shown, the quantum encrypted video image acquisition device includes: a quantum random number chip, and also includes an image acquisition module, a control module, an encoding module and a communication module; The image acquisition module 310 is configured to receive video data and, based on the video data, obtain the quantum random number and initialization vector corresponding to each image group; The control module 320 is configured to determine the stream key based on the quantum random number and the initialization vector, and in response to receiving the public key sent by the platform server, encrypt the quantum random number to obtain an encrypted quantum random number; The encoding module 330 is configured to encode each image group of the video data to obtain encoded data, and to encrypt the encoded data based on the stream key to obtain encrypted encoded data; The communication module 340 is configured to send an initialization vector, a cryptographic quantum random number, and cryptographic encoded data to the platform server.
[0057] The quantum-encrypted video image acquisition device provided in this embodiment first receives video data and, based on the video data, obtains the quantum random number and initialization vector corresponding to each image group. Then, it determines the stream key based on the quantum random number and initialization vector. In response to receiving the public key sent by the platform server, it encrypts the quantum random number to obtain an encrypted quantum random number. Next, it encodes each image group of the video data to obtain encoded data, and encrypts the encoded data based on the stream key to obtain encrypted encoded data. Finally, it sends the initialization vector, encrypted quantum random number, and encrypted encoded data to the platform server. Since the encrypted encoded data sent by the quantum-encrypted video image acquisition device is obtained by encrypting the encoded data of each image group based on the stream key, and the stream key is generated based on the quantum random number and initialization vector, and the quantum random number is randomly generated based on a quantum random number chip, the quantum random number corresponding to each image group is different, ensuring that the stream key corresponding to each image group is different. The stream key is generated based on a high-level encryption algorithm, providing a certain level of security. Furthermore, the encrypted quantum random numbers sent by the quantum encrypted video image acquisition device are encrypted based on the public key of the platform server. Even if the public key is decrypted during the process of the quantum encrypted video image acquisition device sending the encrypted quantum random numbers to the platform server, the encrypted quantum random numbers cannot be decrypted, thus ensuring the data security of the quantum random numbers corresponding to each image group during the transmission process.
[0058] In a specific implementation, determining the stream key based on the quantum random number and the initialization vector includes: Based on the block cipher algorithm, the quantum random number and initialization vector are processed to obtain the stream key.
[0059] In a specific implementation, encoding each image group of the video data to obtain encoded data, and encrypting the encoded data based on the stream key to obtain encrypted encoded data, includes: Encode each group of images in the video data to obtain encoded data; Based on the stream key and the encoded data, an XOR operation is performed on the stream key and the encoded data to obtain encrypted encoded data.
[0060] Based on the above embodiments, this disclosure also provides a platform server. Figure 4 This is a schematic diagram of the structure of a platform server provided in an embodiment of this disclosure, as shown below. Figure 4 As shown, the platform server includes: an information processing module and an encoded data determination module; The information processing module 410 is configured to receive the initialization vector, encrypted quantum random number and encrypted encoded data sent by the quantum encrypted video image acquisition device, and determine the quantum random number and stream key based on the initialization vector, encrypted quantum random number and encrypted encoded data; The encoding data determination module 420 is configured to determine the encoding data corresponding to each image group of the video data based on the stream key and the encrypted encoding data.
[0061] The platform server provided in this embodiment, after receiving the initialization vector, encrypted quantum random number, and encrypted encoded data sent by the quantum encrypted video image acquisition device, first determines the quantum random number and stream key based on the initialization vector, encrypted quantum random number, and encrypted encoded data; then, based on the stream key and encrypted encoded data, it determines the encoded data corresponding to each image group of the video data. This enables the platform server to decrypt the encrypted encoded data, obtaining the final video data.
[0062] In a specific implementation, determining the quantum random number and stream key based on the initialization vector, the encrypted quantum random number, and the encrypted encoded data includes: The encrypted quantum random number is decrypted using the platform server's private key to obtain the quantum random number; The stream key is determined based on the quantum random number and the initialization vector.
[0063] In a specific implementation, determining the encoded data corresponding to each image group of the video data based on the stream key and the encrypted encoded data includes: The encrypted encoded data is decrypted based on the stream key to obtain the encoded data corresponding to each image group of the video data.
[0064] This application also provides a computer device, please refer to the following for details. Figure 5 , Figure 5 This is a basic structural block diagram of the computer device in this embodiment.
[0065] The computer device includes a memory 510 and a processor 520 that are interconnected via a system bus. It should be noted that only a computer device with components 510-520 is shown in the figure; however, it should be understood that it is not required to implement all the shown components, and more or fewer components may be implemented alternatively. Those skilled in the art will understand that the computer device described herein is a device capable of automatically performing numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes, but is not limited to, microprocessors, application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), digital signal processors (DSPs), embedded devices, etc.
[0066] Computer devices can include desktop computers, laptops, handheld computers, and cloud servers. These devices allow for human-computer interaction with users through keyboards, mice, remote controls, touchpads, or voice-activated devices.
[0067] The memory 510 includes at least one type of readable storage medium, including non-volatile memory or volatile memory, such as flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory), random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. RAM may include static RAM or dynamic RAM. In some embodiments, the memory 510 may be an internal storage unit of a computer device, such as the hard disk or memory of the computer device. In other embodiments, the memory 510 may also be an external storage device of the computer device, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, or flash card equipped on the computer device. Of course, the memory 510 may include both internal storage units and external storage devices of the computer device. In this embodiment, the memory 510 is typically used to store the operating system and various application software installed on the computer device, such as the program code of the method described above. In addition, the memory 510 may also be used to temporarily store various types of data that have been output or will be output.
[0068] The processor 520 is typically used to perform the overall operation of a computer device. In this embodiment, the memory 510 is used to store program code or instructions, including computer operation instructions. The processor 520 is used to execute the program code or instructions stored in the memory 510 or to process data, such as program code that runs the methods described above.
[0069] In this article, the bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. This bus system can be divided into address bus, data bus, control bus, etc. For ease of illustration, only one thick line is used to represent it in the diagram, but this does not mean that there is only one bus or one type of bus.
[0070] Another embodiment of this application also provides a computer-readable medium, which may be a computer-readable signal medium or a computer-readable medium. A processor in a computer reads computer-readable program code stored in the computer-readable medium, enabling the processor to execute the functional actions specified in each step or combination of steps in the above method; and to generate means for implementing the functional actions specified in each block or combination of blocks in the block diagram.
[0071] Computer-readable media include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared memory or semiconductor systems, devices or apparatuses, or any suitable combination thereof, wherein the memory is used to store program code or instructions, the program code including computer operation instructions, and the processor is used to execute the program code or instructions of the above-described methods stored in the memory.
[0072] The definitions of memory and processor can be found in the description of the foregoing computer device embodiments, and will not be repeated here.
[0073] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0074] In the various embodiments of this application, the functional units or modules can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0075] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0076] Unless otherwise expressly indicated by the context, the singular form of words used herein and in the appended claims includes the plural form, and vice versa. Thus, when referring to the singular, the plural form of the corresponding term is generally included. Similarly, the terms “comprising” and “including” shall be interpreted as including rather than exclusively. Likewise, the terms “including” and “or” shall be interpreted as including unless such interpretation is expressly prohibited herein. Where the term “example” is used herein, particularly when it follows a set of terms, the “example” is merely exemplary and illustrative and should not be considered exclusive or extensive.
[0077] Further aspects and scope of adaptation become apparent from the description provided herein. It should be understood that various aspects of this application may be implemented individually or in combination with one or more other aspects. It should also be understood that the descriptions and specific embodiments herein are for illustrative purposes only and are not intended to limit the scope of this application.
[0078] Several embodiments of this disclosure have been described in detail above. However, it is obvious that those skilled in the art can make various modifications and variations to the embodiments of this disclosure without departing from the spirit and scope of this disclosure. The scope of protection of this disclosure is defined by the appended claims.
Claims
1. A quantum-encrypted video image processing method, applied to a quantum-encrypted video image acquisition device, wherein the quantum-encrypted video image acquisition device includes a quantum random number chip, characterized in that, include: Receive video data, and based on the video data, obtain the quantum random number and initialization vector corresponding to each image group; The stream key is determined based on the quantum random number and the initialization vector; In response to receiving the public key sent by the platform server, the quantum random number is encrypted to obtain an encrypted quantum random number; Each image group of the video data is encoded to obtain encoded data, and the encoded data is encrypted based on the stream key to obtain encrypted encoded data; The initialization vector, the encrypted quantum random number, and the encrypted encoded data are sent to the platform server.
2. The method according to claim 1, characterized in that, The step of determining the stream key based on the quantum random number and the initialization vector includes: Based on the block cipher algorithm, the quantum random number and initialization vector are processed to obtain the stream key.
3. The method according to claim 1, characterized in that, The process of encoding each image group of the video data to obtain encoded data, and encrypting the encoded data based on the stream key to obtain encrypted encoded data, includes: Encode each group of images in the video data to obtain encoded data; Based on the stream key and the encoded data, an XOR operation is performed on the stream key and the encoded data to obtain encrypted encoded data.
4. A quantum-encrypted video image processing method, applied to a platform server, characterized in that, include: The platform server receives the initialization vector, encrypted quantum random number and encrypted encoded data sent by the quantum encrypted video image acquisition device, and determines the quantum random number and stream key based on the initialization vector, encrypted quantum random number and encrypted encoded data; Based on the stream key and the encrypted encoded data, the encoded data corresponding to each image group of the video data is determined.
5. The method according to claim 4, characterized in that, The step of determining the quantum random number and stream key based on the initialization vector, the encrypted quantum random number, and the encrypted encoded data includes: The encrypted quantum random number is decrypted using the platform server's private key to obtain the quantum random number; The stream key is determined based on the quantum random number and the initialization vector.
6. The method according to claim 4, characterized in that, The step of determining the encoded data corresponding to each image group of the video data based on the stream key and the encrypted encoded data includes: The encrypted encoded data is decrypted based on the stream key to obtain the encoded data corresponding to each image group of the video data.
7. A quantum-encrypted video image acquisition device, characterized in that, It includes a quantum random number chip, as well as an image acquisition module, a control module, an encoding module, and a communication module; The image acquisition module is configured to receive video data and, based on the video data, obtain the quantum random number and initialization vector corresponding to each image group. The control module is configured to determine a stream key based on the quantum random number and the initialization vector, and in response to receiving a public key sent by the platform server, encrypt the quantum random number to obtain an encrypted quantum random number. The encoding module is configured to encode each image group of the video data to obtain encoded data, and to encrypt the encoded data based on the stream key to obtain encrypted encoded data; The communication module is configured to send the initialization vector, the encrypted quantum random number, and the encrypted encoded data to the platform server.
8. A platform server, characterized in that, include: Information processing module and encoded data determination module; The information processing module is configured to receive an initialization vector, an encrypted quantum random number, and encrypted encoded data sent by the quantum encrypted video image acquisition device, and determine the quantum random number and the stream key based on the initialization vector, the encrypted quantum random number, and the encrypted encoded data; The encoding data determination module is configured to determine the encoding data corresponding to each image group of the video data based on the stream key and the encrypted encoding data.
9. A computer device, characterized in that, include: One or more processors; Storage device for storing one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of claims 1 to 3 or 4 to 6.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method as described in any one of claims 1 to 3 or 4 to 6.
Citation Information
Patent Citations
Quantum security communication system for multimedia data stream and communication method
CN109474426A
Encryption and decryption method and device
CN115459984A
Face data transmission method and device, equipment, storage medium and program product
CN116896459A
Video data encryption and decryption method, computing device and computer readable storage medium
CN118158343A
Encryption camera based on quantum random number chip and video processing system
CN213426286U