A quantum audio encryption and decryption method, device and computer equipment
By performing quantum state processing and encryption on the digital audio information to be encrypted, and by using a preset key and scrambling algorithm to upgrade and scramble the quantum audio data, the problem of low security in quantum audio transmission is solved, and a higher level of encryption and security is achieved.
Patent Information
- Application Number
- CN202310317873.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-28
- Publication Date
- 2026-02-10
- Estimated Expiration
- 2043-03-28
AI Technical Summary
The current technology for quantum audio has low security during transmission, mainly due to the low level of encryption.
By performing quantum state processing on the encrypted digital audio information, and using a preset key and scrambling algorithm to encrypt the encrypted quantum audio data, including dimensionality enhancement and scrambling, the encryption level is improved.
This improves the security of quantum audio during transmission and enhances the encryption level of the data.
Smart Images

Figure CN116318679B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present specification relates to the technical field of audio encryption and decryption, and particularly relates to a quantum audio encryption and decryption method and device and computer equipment. BACKGROUND
[0002] Quantum state processing is performed on digital audio to obtain quantum audio data for audio transmission, thereby improving the transmission efficiency and resource utilization of audio. However, there are certain security problems in the transmission process. At present, quantum audio data encryption only involves encrypting the entire quantum audio data based on a key, which has a low encryption level, resulting in low security of quantum audio in the transmission process.
[0003] How to improve the security of quantum audio in the transmission process is a problem that needs to be solved in the prior art. SUMMARY
[0004] To solve the problems in the prior art, the embodiments of the present specification provide a quantum audio encryption and decryption method, device and computer equipment. When receiving to-be-encrypted digital audio information, quantum state processing is performed on the to-be-encrypted digital audio information to obtain to-be-encrypted quantum audio data. Then, a preset key and a scrambling algorithm are used to encrypt the to-be-encrypted quantum audio data to obtain target encrypted quantum audio data. The encryption process of the to-be-encrypted quantum audio data is completed, and the security of quantum audio in the transmission process is improved.
[0005] To solve the above technical problems, the specific technical solutions of the present specification are as follows:
[0006] On the one hand, the embodiments of the present specification provide a quantum audio encryption method, comprising,
[0007] Quantum state processing is performed on to-be-encrypted digital audio information to obtain to-be-encrypted quantum audio data.
[0008] A preset key is used to encrypt the to-be-encrypted quantum audio data to obtain first encrypted quantum audio data.
[0009] Dimensional processing is performed on time quantum audio data in the first encrypted quantum audio data to obtain target dimensional time quantum audio data.
[0010] A scrambling algorithm is used to process the target dimensional time quantum audio data to obtain encrypted time quantum audio data; and
[0011] Based on the encrypted time quantum audio data and sub-encrypted quantum audio data other than the time quantum audio data in the first encrypted quantum audio data, target encrypted quantum audio data is determined.
[0012] Further, the encryption processing of the to-be-encrypted quantum audio data by using the preset key further comprises:
[0013] Determining the most significant bit to-be-encrypted data corresponding to the most significant bit from the to-be-encrypted quantum audio data;
[0014] Processing the preset key and the most significant bit to-be-encrypted data by using a preset encryption operation function to obtain candidate encrypted quantum audio data; and
[0015] Replacing the most significant bit to-be-encrypted data in the to-be-encrypted quantum audio data with the candidate encrypted quantum audio data to obtain the first encrypted quantum audio data.
[0016] Further, the processing of the preset key and the most significant bit to-be-encrypted data by using a preset encryption operation function to obtain candidate encrypted quantum audio data further comprises,
[0017] Converting the preset key and the most significant bit to-be-encrypted data into a target base to obtain a target base preset key and a target base most significant bit to-be-encrypted data; and
[0018] Processing the target base preset key and the target base most significant bit to-be-encrypted data by using a preset encryption operation function to obtain the candidate encrypted quantum audio data.
[0019] Further, the dimension upgrading processing of the time quantum audio data in the first encrypted quantum audio data to obtain target dimension time quantum audio data further comprises:
[0020] Equal-data-amount cutting the time quantum audio data to obtain a plurality of sub-time quantum audio data, the number of the plurality of sub-time quantum audio data being equal to the number of the target dimension; and
[0021] According to the order of each of the sub-time quantum audio data in the time quantum audio data, constructing the target dimension time quantum audio data.
[0022] Further, the constructing of the target dimension time quantum audio data according to the order of each of the sub-time quantum audio data in the time quantum audio data further comprises,
[0023] According to the order of each of the sub-time quantum audio data in the time quantum audio data, determining position information corresponding to each of the sub-time quantum audio data;
[0024] Based on the position information, dimensionality-up concatenation is performed on the plurality of sub-time quantum audio data to obtain the target-dimension time quantum audio data.
[0025] Further, the scrambling algorithm includes a cat face scrambling algorithm.
[0026] In another aspect, the embodiments of the present specification also provide a quantum audio decryption method, including,
[0027] From the target encrypted quantum audio data to be decrypted, encrypted time quantum audio data and other encrypted quantum audio data are determined;
[0028] The encrypted time quantum audio data is processed by using an inverse scrambling algorithm to obtain decrypted time quantum audio data;
[0029] The decrypted time quantum audio data is processed by dimensionality reduction to obtain target-dimension decrypted time quantum audio data;
[0030] The decrypted quantum audio data composed of the other encrypted quantum audio data and the target-dimension decrypted time quantum audio data is decrypted by using a preset key to obtain target decrypted quantum audio data; and
[0031] The target decrypted quantum audio data is processed by inverse quantum state processing to obtain decrypted digital audio information,
[0032] The target encrypted quantum audio data is determined by using the quantum audio encryption method described above.
[0033] Further, the target-dimension decrypted time quantum audio data obtained by processing the decrypted time quantum audio data by dimensionality reduction further includes,
[0034] The decrypted time quantum audio data is divided by dimension level to obtain a plurality of sub-decrypted time quantum audio data, and the number of the plurality is equal to the number of the dimension level; and
[0035] According to the dimension level corresponding to each of the sub-decrypted time quantum audio data, the target-dimension decrypted time quantum audio data is obtained by concatenation in sequence.
[0036] Further, the target decrypted quantum audio data obtained by decrypting the decrypted quantum audio data composed of the other encrypted quantum audio data and the target-dimension decrypted time quantum audio data by using a preset key includes,
[0037] From the decrypted quantum audio data, the most significant bit to be decrypted data corresponding to the most significant bit is determined;
[0038] The preset decryption operation function is used to process the preset key and the most significant bit to-be-decrypted data, to obtain candidate decrypted quantum audio data; and
[0039] The candidate decrypted quantum audio data is used to replace the most significant bit to-be-decrypted data in the decrypted quantum audio data, to obtain the target decrypted quantum audio data.
[0040] Further, the preset decryption operation function is used to process the preset key and the most significant bit to-be-decrypted data, to obtain candidate decrypted quantum audio data, including,
[0041] The preset key and the most significant bit to-be-decrypted data are converted into a target base preset key and a target base most significant bit to-be-decrypted data; and
[0042] The preset decryption operation function is used to process the target base preset key and the target base most significant bit to-be-decrypted data, to obtain the candidate decrypted quantum audio data.
[0043] In another aspect, the embodiments of the present specification also provide a quantum audio encryption device, including,
[0044] A first processing unit is configured to perform quantum state processing on to-be-encrypted digital audio information, to obtain to-be-encrypted quantum audio data;
[0045] An encryption unit is configured to perform encryption processing on the to-be-encrypted quantum audio data by using a preset key, to obtain first encrypted quantum audio data;
[0046] A dimension upgrading unit is configured to perform dimension upgrading processing on time quantum audio data in the first encrypted quantum audio data, to obtain target dimension time quantum audio data;
[0047] A second processing unit is configured to process the target dimension time quantum audio data by using a scrambling algorithm, to obtain encrypted time quantum audio data; and
[0048] A first determination unit is configured to determine target encrypted quantum audio data based on the encrypted time quantum audio data and sub-encrypted quantum audio data other than the time quantum audio data in the first encrypted quantum audio data.
[0049] In another aspect, the embodiments of the present specification also provide a quantum audio decryption device, including,
[0050] A second determination unit is configured to determine encrypted time quantum audio data and other encrypted quantum audio data from target encrypted quantum audio data to-be-decrypted;
[0051] The third processing unit is configured to process the encrypted time quantum audio data by using an inverse scrambling algorithm to obtain decrypted time quantum audio data.
[0052] The dimension reduction unit is configured to perform dimension reduction processing on the decrypted time quantum audio data to obtain target-dimension decrypted time quantum audio data.
[0053] The decryption unit is configured to perform decryption processing on decrypted quantum audio data composed of the other encrypted quantum audio data and the target-dimension decrypted time quantum audio data by using a preset key to obtain target decrypted quantum audio data.
[0054] The fourth processing unit is configured to perform inverse quantum state processing on the target decrypted quantum audio data to obtain decrypted digital audio information.
[0055] The target encrypted quantum audio data is determined by using the quantum audio encryption device.
[0056] In another aspect, the embodiments of the present specification also provide a computer device, which comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the above method when executing the computer program.
[0057] In another aspect, the embodiments of the present specification also provide a computer readable storage medium, which stores computer instructions, and the computer instructions are executed by a processor to implement the above method.
[0058] In another aspect, the embodiments of the present specification also provide a computer program product, which comprises computer programs / instructions, and the computer programs / instructions are executed by a processor to implement the above method.
[0059] With the embodiments of the present specification, when receiving to-be-encrypted digital audio information, quantum state processing is performed on the to-be-encrypted digital audio information to obtain to-be-encrypted quantum audio data; the to-be-encrypted quantum audio data is encrypted by using a preset key to obtain first encrypted quantum audio data; the time quantum audio data in the first encrypted quantum audio data is processed by dimension increasing to obtain target dimension time quantum audio data; the target dimension time quantum audio data is processed by using a scrambling algorithm to obtain encrypted time quantum audio data; and based on the encrypted time quantum audio data and the sub-encrypted quantum audio data in the first encrypted quantum audio data except the time quantum audio data, target encrypted quantum audio data is determined. Thus, the first encrypted quantum audio data obtained by encrypting the to-be-encrypted quantum audio data by using the preset key is dimension-increased to obtain target dimension time quantum audio data which can be scrambled by the scrambling algorithm. Further, the target dimension time quantum audio data is scrambled by using the scrambling algorithm, so that the encrypted data is reprocessed, the encryption level is improved, and thus the security of quantum audio in the transmission process is improved. BRIEF DESCRIPTION OF DRAWINGS
[0060] In order to more clearly illustrate the technical solutions of the embodiments of the present specification or the prior art, the drawings needed to be used in the embodiments or the prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present specification, and other drawings can be obtained by those skilled in the art without creative labor.
[0061] Figure 1 An implementation system schematic diagram of a quantum audio encryption and decryption method according to an embodiment of the present specification is shown.
[0062] Figure 2 A flowchart of a quantum audio encryption method according to an embodiment of the present specification is shown.
[0063] Figure 3A A flowchart of a first encrypted quantum audio data determination method according to an embodiment of the present specification is shown.
[0064] Figure 3B A flowchart of a candidate encrypted quantum audio data determination method according to an embodiment of the present specification is shown.
[0065] Figure 4A A flowchart of a target dimension time quantum audio data determination method according to an embodiment of the present specification is shown.
[0066] Figure 4B A schematic diagram of a dimension increasing method according to an embodiment of the present specification is shown.
[0067] Figure 5 Fig. 1 shows a flow chart of a quantum audio decryption method according to an embodiment of the present specification;
[0068] Figure 6 Fig. 2 shows a flow chart of a target dimension decryption time quantum audio data determination method according to an embodiment of the present specification;
[0069] Figure 7A Fig. 3 shows a flow chart of a target decryption quantum audio data determination method according to an embodiment of the present specification;
[0070] Figure 7B Fig. 4 shows a flow chart of a candidate decryption quantum audio data determination method according to an embodiment of the present specification;
[0071] Figure 7C Fig. 5 shows a schematic diagram of digital audio information to be encrypted according to an embodiment of the present specification;
[0072] Figure 7D Fig. 6 shows a schematic diagram of target encrypted quantum audio data according to an embodiment of the present specification;
[0073] Figure 7E Fig. 7 shows a schematic diagram of decrypted digital audio information according to an embodiment of the present specification;
[0074] Figure 8 Fig. 8 shows a structural schematic diagram of a quantum audio encryption device according to an embodiment of the present specification;
[0075] Figure 9 Fig. 9 shows a structural schematic diagram of a quantum audio decryption device according to an embodiment of the present specification;
[0076] Figure 10 Fig. 10 shows a structural schematic diagram of a computer device according to an embodiment of the present specification.
[0077]
Explanation of reference numerals
[0078] 101, user terminal;
[0079] 102, server;
[0080] 810, first processing unit;
[0081] 820, encryption unit;
[0082] 830, dimension increasing unit;
[0083] 840, second processing unit;
[0084] 850, first determination unit;
[0085] 910, second determination unit;
[0086] 920, third processing unit;
[0087] 930. Dimensionality Reduction Unit;
[0088] 940. Decryption Unit;
[0089] 950. Fourth processing unit;
[0090] 1002. Computer equipment;
[0091] 1004. Processing equipment;
[0092] 1006. Storage resources;
[0093] 1008. Drive mechanism;
[0094] 1010. Input / Output Module;
[0095] 1012. Input devices;
[0096] 1014. Output devices;
[0097] 1016. Presentation device;
[0098] 1018. Graphical User Interface;
[0099] 1020. Network interface;
[0100] 1022. Communication link;
[0101] 1024. Communication bus. Detailed Implementation
[0102] The technical solutions in the embodiments of this specification will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this specification, and not all embodiments. Based on the embodiments in this specification, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this specification.
[0103] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, apparatus, product, or device that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or devices.
[0104] It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases the steps shown or described may be executed in a different order than that shown here.
[0105] Figure 1 The diagram illustrates an implementation system for a quantum audio encryption and decryption method according to an embodiment of this specification. The system may include a user terminal 101 and a server 102, which communicate via a network. This network may include a Local Area Network (LAN), a Wide Area Network (WAN), the Internet, or a combination thereof, and is connected to a website, user equipment (e.g., a computing device), and a backend system. The user can send digital audio information to be encrypted to the server 102 via the user terminal 101. Upon receiving the digital audio information, the server 102 performs quantum state processing on the digital audio information to obtain quantum audio data to be encrypted; encrypts the quantum audio data using a preset key to obtain first encrypted quantum audio data; performs dimensionality-upgrading processing on the temporal quantum audio data in the first encrypted quantum audio data to obtain target-dimensional temporal quantum audio data; processes the target-dimensional temporal quantum audio data using a scrambling algorithm to obtain encrypted temporal quantum audio data; and determines the target encrypted quantum audio data based on the encrypted temporal quantum audio data and the sub-encrypted quantum audio data other than the temporal quantum audio data in the first encrypted quantum audio data. Then, the target encrypted quantum audio data is sent to user terminal 101, or the target encrypted quantum audio data is sent to a target terminal, which is the terminal to which the digital audio information to be encrypted is sent, as specified by user terminal 101.
[0106] Furthermore, server 102 can also receive target encrypted quantum audio information to be decrypted sent by user terminal 101. After receiving the target encrypted quantum audio data to be decrypted, server 102 determines encrypted time quantum audio data and other encrypted quantum audio data from the target encrypted quantum audio data; processes the encrypted time quantum audio data using an inverse scrambling algorithm to obtain decrypted time quantum audio data; performs dimensionality reduction processing on the decrypted time quantum audio data to obtain target-dimensional decrypted time quantum audio data; decrypts the decrypted quantum audio data composed of other encrypted quantum audio data and target-dimensional decrypted time quantum audio data using a preset key to obtain target decrypted quantum audio data; and performs inverse quantum state processing on the target decrypted quantum audio data to obtain decrypted digital audio information. The decrypted digital audio information is then sent to user terminal 101 for use.
[0107] Alternatively, server 102 may be a node of a cloud computing system (not shown in the figure), or each server 102 may be a separate cloud computing system comprising multiple computers interconnected by a network and operating as a distributed processing system.
[0108] In an optional embodiment, the user terminal 101 may include electronic devices, including but not limited to smartphones, data acquisition devices, desktop computers, tablets, laptops, smart speakers, digital assistants, augmented reality (AR) / virtual reality (VR) devices, smart wearable devices, and other similar electronic devices. Optionally, the operating system running on the electronic device may include, but is not limited to, Android, iOS, Linux, Windows, etc.
[0109] In addition, it should be noted that, Figure 1 The example shown is merely one application environment provided in this manual. In actual applications, it may include multiple user terminals 101, and this manual does not impose any restrictions.
[0110] like Figure 2 The diagram shows a flowchart of a quantum audio encryption method according to an embodiment of this specification. The process of quantum audio encryption is depicted in this figure, but based on conventional or non-creative labor, it may include more or fewer operational steps. The order of steps listed in the embodiment is merely one possible execution order among many and does not represent the only possible execution order. In actual system or device products, the method can be executed sequentially or in parallel according to the embodiment or the accompanying drawings. Specifically, as shown... Figure 2 As shown, the method may include:
[0111] S210, perform quantum state processing on the digital audio information to be encrypted to obtain quantum audio data to be encrypted;
[0112] S220, use a preset key to encrypt the quantum audio data to be encrypted to obtain the first encrypted quantum audio data;
[0113] S230, perform dimensionality upscaling on the time quantum audio data in the first encrypted quantum audio data to obtain the target dimension time quantum audio data;
[0114] S240, the scrambling algorithm is used to process the target dimension time quantum audio data to obtain encrypted time quantum audio data;
[0115] S250, based on encrypted time quantum audio data and sub-encrypted quantum audio data other than time quantum audio data in the first encrypted quantum audio data, determine the target encrypted quantum audio data.
[0116] Using the embodiments of this specification, upon receiving digital audio information to be encrypted, quantum state processing is performed on the digital audio information to be encrypted to obtain quantum audio data to be encrypted; the quantum audio data to be encrypted is encrypted using a preset key to obtain first encrypted quantum audio data; the time quantum audio data in the first encrypted quantum audio data is upgraded in dimensionality to obtain target-dimensional time quantum audio data; the target-dimensional time quantum audio data is processed using a scrambling algorithm to obtain encrypted time quantum audio data; and the target encrypted quantum audio data is determined based on the encrypted time quantum audio data and the sub-encrypted quantum audio data other than the time quantum audio data in the first encrypted quantum audio data. This achieves the upgrading of the first encrypted quantum audio data obtained by encrypting the quantum audio data to be encrypted using a preset key to obtain target-dimensional time quantum audio data that can be scrambled by the scrambling algorithm. Furthermore, the scrambling algorithm is used to scramble the target-dimensional time quantum audio data, thereby reprocessing the encrypted data, improving the encryption level, and thus enhancing the security of quantum audio during transmission.
[0117] According to one embodiment of this specification, the quantum state transformation model is a model for converting digital data into quantum data, such as the quantum audio representation model (QRDA model). This quantum audio representation model uses two entangled qubits to store audio amplitude information and time information, and the sequence of the two qubits is either in the ground state or a non-ground state.
[0118] The digital audio information to be encrypted is audio information represented by digital states. This digital audio information is data obtained by extracting audio features from the audio to be encrypted, such as amplitude and time information. The quantum audio data to be encrypted is audio information represented by quantum states. Specifically, quantum state processing of the digital audio information to be encrypted can be performed based on a quantum state transformation model to obtain the quantum audio data to be encrypted.
[0119] A quantum state transition model may include, for example, the following formula (1).
[0120]
[0121] |T>=|t0t1…t l-1 >,t i ∈{0,1}
[0122]
[0123] in, |S T The binary value representing the amplitude information included in the digital audio information to be encrypted, |T> representing the binary value of the time information corresponding to the amplitude information, |S> representing the quantum audio data to be encrypted, L representing the duration information, which is the total duration of the time information, T representing the set of time information, and t i It represents the information at the i-th time moment.
[0124] After obtaining the quantum audio data to be encrypted, a preset key is determined. This preset key is pre-configured key information, known to both the encryptor and decryptor. The preset key can, for example, include any number. Encrypting the quantum audio data to be encrypted using the preset key to obtain the first encrypted quantum audio data can specifically involve obtaining a preset encryption operation function, and then using this preset encryption operation function to process the key and the quantum audio data to be encrypted to obtain the first encrypted quantum audio data. This preset encryption operation function includes, but is not limited to, basic operations such as XOR or encryption algorithms based on XOR, meaning that the preset encryption operation function has an inverse operation function, and this inverse operation function is used as the preset decryption operation function. In other words, processing A with the preset encryption operation function yields B, and processing B with the preset decryption operation function yields A.
[0125] The preset encryption function is used to process the key and the quantum audio data to be encrypted to obtain the first encrypted quantum audio data. For example, the preset encryption function can be used to process each sub-quantum audio data to be encrypted and the preset key in the quantum audio data to be encrypted, resulting in multiple sub-first encrypted quantum audio data. These multiple sub-first encrypted quantum audio data are then aggregated to obtain the first encrypted quantum audio data. Specifically, the process of the preset encryption function processing each sub-quantum audio data to be encrypted and the preset key in the quantum audio data to be encrypted is the same as the current process for encrypting digital data.
[0126] After determining the first encrypted quantum audio data, it is split into time quantum audio data representing time and sub-encrypted quantum audio data. The sub-encrypted quantum audio data consists of all data in the first encrypted quantum audio data except for the time quantum audio data. The sub-encrypted quantum audio data represents the amplitude information of the quantum state.
[0127] To increase the dimensionality of temporal quantum audio data and obtain target-dimensional temporal quantum audio data, a dimensionality-increasing model can be used. This target dimension can be consistent with the dimension processed by the scrambling algorithm; for example, if the scrambling algorithm processes two-dimensional data, the target dimension will also be two-dimensional. Since temporal quantum audio data is one-dimensional, but current scrambling algorithms for quantum state data are mostly for processing high-dimensional data, such as scrambling algorithms in the quantum imaging field, the dimensionality-increasing algorithm can be any algorithm capable of dimensionality increase, such as regression trees, neural networks, or constrained algorithms.
[0128] After upscaling the temporal quantum audio data, target-dimensional temporal quantum audio data is obtained. A scrambling algorithm capable of processing target-dimensional data is then used to scramble this target-dimensional temporal quantum audio data, resulting in encrypted temporal quantum audio data.
[0129] The encrypted time quantum audio data and the sub-encrypted quantum audio data are merged according to the order of the time quantum audio data and the sub-encrypted quantum audio data in the first encrypted quantum audio data to obtain the target encrypted quantum audio data.
[0130] According to another embodiment of this specification, the scrambling algorithm includes a cat face scrambling algorithm. In this embodiment, since the cat face scrambling algorithm can only handle two-dimensional processing, and the time quantum audio data in the first encrypted quantum audio data is one-dimensional, the cat face scrambling algorithm cannot be directly used to scramble the first encrypted quantum audio data. It is necessary to perform dimensionality-upgrading processing on the first encrypted quantum audio data, with the target dimension being two dimensions, thereby realizing the application of the cat face scrambling algorithm in the field of quantum audio.
[0131] Figure 3A The diagram shows a flowchart of a method for determining first encrypted quantum audio data according to an embodiment of this specification. This diagram depicts a process for determining first encrypted quantum audio data, but based on conventional or non-inventive labor, it may include more or fewer operational steps. Specifically, as shown... Figure 3A As shown, the method may include:
[0132] S321, Determine the most significant bit data to be encrypted from the quantum audio data to be encrypted, corresponding to the most significant bit;
[0133] S322, using a preset encryption operation function to process the preset key and the most significant bit of the data to be encrypted, to obtain candidate encrypted quantum audio data;
[0134] S323, replace the highest significant bit of the quantum audio data to be encrypted with the candidate encrypted quantum audio data to obtain the first encrypted quantum audio data.
[0135] According to another embodiment of this specification, the most significant bit (MSB) is the most significant bit of the quantized representation of a signal, and is often used for information hiding and information encryption.
[0136] From the quantum audio data to be encrypted, determine the most significant bit, and then determine the most significant bit of data to be encrypted corresponding to the most significant bit.
[0137] By using a preset encryption operation function, encryption is performed only on the preset key and the most significant bit of the data to be encrypted, resulting in candidate encrypted quantum audio data. Since only one bit of the data to be encrypted is encrypted, the encryption level is improved while the efficiency of the encryption process is also improved.
[0138] The first encrypted quantum audio data is obtained by replacing the most significant bit of the quantum audio data to be encrypted with the determined candidate encrypted quantum audio data.
[0139] Figure 3B The diagram shows a flowchart of a method for determining candidate encrypted quantum audio data according to an embodiment of this specification. This figure depicts a process for determining candidate encrypted quantum audio data, but based on conventional or non-inventive labor, it may include more or fewer operational steps. Specifically, as shown... Figure 3B As shown, the method may include:
[0140] S3221, Convert the preset key and the most significant bit of the data to be encrypted into a number system to obtain the preset key in the target number system and the most significant bit of the data to be encrypted in the target number system;
[0141] S3222 uses a preset encryption operation function to process the target base preset key and the target base most significant bit of the data to be encrypted to obtain candidate encrypted quantum audio data.
[0142] According to another embodiment of this specification, the preset encryption operation function is a decimal arithmetic rule. Then, the preset key and the most significant bit of the data to be encrypted are both converted into decimal data, resulting in the target base preset key and the target base most significant bit of the data to be encrypted. It should be noted that the target base is decimal.
[0143] Before the base conversion, determine the base of the preset key. If the base is not decimal, convert the preset key to the target base. If the base is decimal, use the preset key as the target base preset key.
[0144] The candidate encrypted quantum audio data is obtained by processing the target base preset key and the most significant bit of the target base data to be encrypted using a preset encryption function. Specifically, the target base preset key and the most significant bit of the target base data to be encrypted are summed. During the summation process, the decimal data can be converted to binary data for computer computation. It should be noted that the candidate encrypted quantum audio data is binary data. If the decimal summation results in encrypted decimal data, this encrypted data needs to be converted to binary to obtain the candidate encrypted quantum audio data.
[0145] The first encrypted quantum audio data can be obtained as shown in the following formula (2).
[0146]
[0147] in, Let K represent the preset encryption operation function, M represent the most significant bit of the target base data to be encrypted, and |S> represent the quantum audio data to be encrypted. i = 0, 1, ..., q-1 represents the value of the i-th qubit corresponding to the audio amplitude (identified by q qubits) at time T, U represents the quantum phase gate, and I represents the identity gate. |M> represents the most significant bit of the data to be encrypted, and |M> represents the first encrypted quantum audio data. L represents duration information.
[0148] Figure 4A The diagram shown is a flowchart of a method for determining target dimension time quantum audio data according to an embodiment of this specification; Figure 4B The diagram shown is a schematic representation of a dimensionality-upgrading method according to an embodiment of this specification. Figure 4AThe process of determining the target dimension of time quantum audio data is described, but based on conventional or non-creative labor, it may include more or fewer operational steps. Specifically, as... Figure 4A As shown, the method may include:
[0149] S431, the time quantum audio data is divided into equal data volumes to obtain multiple sub-time quantum audio data;
[0150] S432, construct the target dimension time quantum audio data according to the order of each sub-time quantum audio data in the time quantum audio data.
[0151] Using the embodiments in this specification, time quantum audio data is divided into multiple sub-time quantum audio data by equal data volume. Based on the order of each sub-time quantum audio data within the time quantum audio data, a target-dimensional time quantum audio data is constructed. Because this target-dimensional time quantum audio data is arranged sequentially, it facilitates the decryption process in a quantum entangled representation.
[0152] According to another embodiment of this specification, equal data volume is divided into equal storage space. For example, in the case where time quantum audio data is stored sequentially by four qubits, the first two qubits and the last two qubits are separated to achieve equal data volume division.
[0153] Therefore, when the temporal quantum audio data is stored sequentially by four qubits, after equal data division, two sub-temporal quantum audio data are obtained. Each sub-temporal quantum audio data is stored by two qubits.
[0154] The number of sub-time quantum audio data points is equal to the target dimension. That is, if the dimensionality is increased to two dimensions, two sub-time quantum audio data points are generated; if the dimensionality is increased to three dimensions, three sub-time quantum audio data points are generated. This target dimension also matches the dimension of data that the scrambling algorithm can process. In other words, when the scrambling algorithm processes two-dimensional data, after equally dividing the time quantum audio data, two sub-time quantum audio data points are obtained.
[0155] Since temporal quantum audio data is one-dimensional, it is represented as a vector. After obtaining multiple sub-temporal quantum audio data, based on the order of each sub-temporal quantum audio data in the temporal quantum audio data, the temporal quantum audio data is updated to a matrix representation, and this matrix representation is used as the target-dimensional temporal quantum audio data.
[0156] According to another embodiment of this specification, constructing target-dimensional time quantum audio data based on the order of each sub-time quantum audio data in the time quantum audio data includes: determining the position information corresponding to each sub-time quantum audio data according to the order of each sub-time quantum audio data in the time quantum audio data; and performing dimensionality-upgrading splicing on multiple sub-time quantum audio data based on the position information to obtain target-dimensional time quantum audio data.
[0157] For example, if there are two sequential sub-temporal quantum audio data, the first sub-temporal quantum audio data is used as the first row of the matrix, and the second sub-temporal quantum audio data is used as the second row of the matrix to obtain data in the form of a matrix. This data in the form of a matrix is then used as the target dimension temporal quantum audio data.
[0158] like Figure 4B As shown, when the temporal quantum audio data is 0123, in a target dimension of two dimensions, 01 is taken as the first sub-temporal quantum audio data, and 23 is taken as the second sub-temporal quantum audio data. Since the first sub-temporal quantum audio data precedes the second sub-temporal quantum audio data, 01 is placed in the first row of the matrix, and 23 is placed in the second row of the matrix, resulting in data in a matrix format. This matrix format is then used as the target dimension temporal quantum audio data.
[0159] Figure 5 The diagram shows a flowchart of a quantum audio decryption method according to an embodiment of this specification. The process of quantum audio decryption is depicted in this figure, but it may include more or fewer steps based on conventional or non-creative labor. Specifically, as shown... Figure 5 As shown, the method may include:
[0160] S510, from the target encrypted quantum audio data to be decrypted, determine the encrypted time quantum audio data and other encrypted quantum audio data;
[0161] S520 uses an inverse scrambling algorithm to process encrypted time quantum audio data to obtain decrypted time quantum audio data;
[0162] S530 performs dimensionality reduction on the decrypted time quantum audio data to obtain the target dimension decrypted time quantum audio data.
[0163] S540 uses a preset key to decrypt the decrypted quantum audio data composed of other encrypted quantum audio data and target dimension decryption time quantum audio data to obtain the target decrypted quantum audio data.
[0164] The S550 performs inverse quantum state processing on the target decrypted quantum audio data to obtain decrypted digital audio information.
[0165] According to another embodiment of this specification, the other encrypted quantum audio data is all the data in the target encrypted quantum audio data except for the encrypted time quantum audio data.
[0166] The reverse scrambling algorithm is Figure 2 The inverse operation in the scrambling algorithm described herein. In the case of a cat-face scrambling algorithm, the inverse scrambling algorithm is the inverse cat-face scrambling algorithm.
[0167] The encrypted temporal quantum audio data is decrypted using an inverse scrambling algorithm. The dimensionality of this temporal quantum audio data is consistent with the dimensions that both the inverse and scrambling algorithms can handle. Since the desired final temporal quantum audio data is one-dimensional, but the inverse scrambling algorithm can handle higher dimensions, dimensionality reduction is necessary to obtain decrypted temporal quantum audio data of the target dimension. This dimensionality reduction can employ any dimensionality reduction model that performs dimensionality reduction at any time, such as principal component analysis or embedded dimensionality reduction. It should be noted that the target dimension in the decrypted temporal quantum audio data is one-dimensional.
[0168] The process of decrypting quantum audio data consists of other encrypted quantum audio data and target dimension decryption time quantum audio data. For example, it can be obtained by splicing other encrypted quantum audio data and encrypted time quantum audio data according to the order of the target encrypted quantum audio data.
[0169] The decryption process, using a preset key, decrypts the decrypted quantum audio data composed of other encrypted quantum audio data and the target dimension decryption time quantum audio data. Specifically, this involves processing the preset key and the decrypted quantum audio data using a preset decryption operation function. The preset decryption operation function is the inverse operation of the preset encryption operation function.
[0170] The preset decryption function is used to process the key and the decrypted quantum audio data to obtain the target decrypted quantum audio data. For example, the preset decryption function can process each sub-decrypted quantum audio data and the preset key within the decrypted quantum audio data to obtain multiple sub-target decrypted quantum audio data. These multiple sub-target decrypted quantum audio data are then aggregated to obtain the target decrypted quantum audio data. Specifically, the process of the preset decryption function processing each sub-decrypted quantum audio data and the preset key within the decrypted quantum audio data is the same as the current process for encrypting digital data.
[0171] After obtaining the target decryption quantum audio data, inverse quantum state processing is performed on the target decryption quantum audio data to obtain the decrypted digital audio information. This inverse quantum state processing can be implemented using any model that can convert quantum state data into digital state data. For example, a quantum measurement model. Specifically, multiple copies of the qubits can be made, and then these multiple copies of the qubits can be measured using a measuring device. After the measurement, the data will randomly collapse to a certain value rather than a superposition state, and then statistical analysis can be performed to extract the true audio information. For example, assuming that the target decryption quantum audio data consists of 3 qubits, with 2 qubits representing the audio amplitude and 1 qubit representing time, if 1000 copies of the target decryption quantum audio data are copied and measured, the statistical results will only show 010 and 111, indicating that the amplitude of the audio at the first moment is 1 and the amplitude at the second moment is 3.
[0172] Figure 6 The diagram shows a flowchart of a method for determining target-dimensional decrypted temporal quantum audio data according to an embodiment of this specification. This diagram illustrates the process of determining target-dimensional decrypted temporal quantum audio data, but based on conventional or non-creative labor, it may include more or fewer operational steps. Specifically, as shown... Figure 6 As shown, the method may include:
[0173] S631, the decryption time quantum audio data is segmented at the dimensional level to obtain multiple sub-decryption time quantum audio data;
[0174] S632, according to the dimension level corresponding to each sub-decryption time quantum audio data, is spliced sequentially to obtain the target dimension decryption time quantum audio data.
[0175] According to another embodiment of this specification, the segmentation of decryption time quantum audio data by dimension level can be specifically performed by segmenting the data in matrix form according to the number of rows to obtain multiple rows of data, and using each row of data as a sub-decryption time quantum audio data to obtain multiple sub-decryption time quantum audio data.
[0176] When the inverse scrambling algorithm is the inverse cat face scrambling algorithm, the encrypted time quantum audio data is two-dimensional. Therefore, dimensionality reduction involves reducing the two-dimensional data to one-dimensional data. The matrix used for segmentation here is a matrix containing two rows of data, resulting in two sub-decrypted time quantum audio data sets after segmentation.
[0177] The target dimension decryption time quantum audio data is obtained by sequentially concatenating data according to the dimensional level corresponding to each sub-decryption time quantum audio data. Specifically, the data is concatenated according to the row number of the matrix containing each sub-decryption time quantum audio data, resulting in data represented as a vector. This vector data is then used as the target dimension decryption time quantum audio data. For example, if the encrypted time quantum audio data is two-dimensional, after segmentation, two sub-decryption time quantum audio data can be obtained. The sub-decryption time quantum audio data from the first row is placed first, and the sub-decryption time quantum audio data from the second row is placed last, resulting in data represented as a vector. This vector data is then used as the target dimension decryption time quantum audio data.
[0178] Figure 7A The diagram shows a flowchart of a method for determining target decryption quantum audio data according to an embodiment of this specification. This diagram illustrates the process of determining target-dimensional decryption time quantum audio data, but based on conventional or non-creative labor, it may include more or fewer operational steps. Specifically, as shown... Figure 7A As shown, the method may include:
[0179] S741, Determine the most significant bit data to be decrypted from the decrypted quantum audio data, corresponding to the most significant bit;
[0180] S742 uses a preset decryption operation function to process the preset key and the most significant bit of the data to be decrypted to obtain candidate decryptable quantum audio data;
[0181] S743, replace the highest effective bit of the data to be decrypted in the decrypted quantum audio data with the candidate decrypted quantum audio data to obtain the target decrypted quantum audio data.
[0182] According to another embodiment of this specification, from the decrypted quantum audio data, the most significant bit to be decrypted data corresponding to the most significant bit is determined. Figure 3A The method for determining the most significant bit of the data to be encrypted from the quantum audio data to be encrypted is similar and will not be described in detail here.
[0183] By using a preset decryption function, encryption is performed only on the preset key and the most significant bit of the data to be decrypted, resulting in candidate decryptable quantum audio data. Since only one bit of the data to be decrypted is encrypted, the efficiency of the decryption process is improved.
[0184] The most significant bit to be decrypted in the decrypted quantum audio data is replaced with the most significant bit corresponding to the most significant bit in the decrypted quantum audio data by using the determined candidate decrypted quantum audio data, and the target decrypted quantum audio data is obtained.
[0185] Figure 7BThe diagram shows a flowchart of a method for determining candidate decryptable quantum audio data according to an embodiment of this specification. The process of determining candidate decryptable quantum audio data is described in this figure, but it may include more or fewer operational steps based on conventional or non-inventive labor. Specifically, as shown... Figure 7B As shown, the method may include:
[0186] S7421 performs a number system conversion on the preset key and the most significant bit of the data to be decrypted to obtain the preset key in the target number system and the most significant bit of the data to be decrypted in the target number system.
[0187] S7422 uses a preset decryption operation function to process the target base preset key and the target base most significant bit of the data to be decrypted, and obtains candidate decryptable quantum audio data.
[0188] According to another embodiment of this specification, the preset decryption operation function is a decimal arithmetic algorithm. Therefore, both the preset key and the most significant bit of the data to be decrypted are converted into decimal data, resulting in the target base preset key and the target base most significant bit of the data to be decrypted. It should be noted that the target base is decimal.
[0189] Before the base conversion, determine the base of the preset key. If the base is not decimal, convert the preset key to the target base. If the base is decimal, use the preset key as the target base preset key.
[0190] The process of processing the target base preset key and the most significant bit of the target base data to be decrypted using a preset decryption function yields candidate decryptable quantum audio data. Specifically, this involves subtracting the target base preset key and the most significant bit of the target base data to be encrypted. During the subtraction process, the decimal data can be converted to binary data for computer computation. It should be noted that after performing the decimal subtraction, the resulting decimal decrypted data is then converted to binary to obtain the candidate decryptable quantum audio data; that is, the candidate decryptable quantum audio data is binary data.
[0191] Figure 7C The diagram shown is a schematic representation of a digital audio information to be encrypted according to an embodiment of this specification. Figure 7D The diagram shown is a schematic representation of a target encrypted quantum audio data according to an embodiment of this specification. Figure 7E The diagram shown is a schematic representation of an embodiment of this specification for decrypting digital audio information.
[0192] For example Figure 7CThe digital audio information to be encrypted shown is subjected to quantum state processing to obtain quantum audio data to be encrypted; the quantum audio data to be encrypted is encrypted using a preset key to obtain first encrypted quantum audio data; the time quantum audio data in the first encrypted quantum audio data is subjected to dimensionality-upgrading processing to obtain target-dimensional time quantum audio data; the target-dimensional time quantum audio data is processed using a scrambling algorithm to obtain encrypted time quantum audio data; and based on the encrypted time quantum audio data and the sub-encrypted quantum audio data other than the time quantum audio data in the first encrypted quantum audio data, the following is determined: Figure 7D The target encrypted quantum audio data is shown. (By...) Figure 7C and Figure 7D The difference shows that after encryption, the target encrypted quantum audio data is completely different from the digital audio information to be encrypted.
[0193] Furthermore, in response to such Figure 7D The target encrypted quantum audio data is identified by determining encrypted time quantum audio data and other encrypted quantum audio data. The encrypted time quantum audio data is then processed using an inverse scrambling algorithm to obtain decrypted time quantum audio data. The decrypted time quantum audio data is then subjected to dimensionality reduction processing to obtain target-dimensional decrypted time quantum audio data. The decrypted quantum audio data, composed of other encrypted quantum audio data and target-dimensional decrypted time quantum audio data, is then decrypted using a preset key to obtain the target decrypted quantum audio data. Finally, the target decrypted quantum audio data undergoes inverse quantum state processing to obtain... Figure 7E The decrypted digital audio information shown. (By...) Figure 7E and Figure 7C The differences between them show that, in terms of such Figure 7D After the target encrypted quantum audio data shown is decrypted, the digital audio information to be encrypted can be obtained, thus proving the feasibility of the embodiments in this specification.
[0194] Figure 8 The diagram shown is a structural schematic of a quantum audio encryption device according to an embodiment of this specification. Figure 8 As shown, including,
[0195] The first processing unit 810 is used to perform quantum state processing on the digital audio information to be encrypted to obtain quantum audio data to be encrypted.
[0196] The encryption unit 820 is used to encrypt the quantum audio data to be encrypted using a preset key to obtain the first encrypted quantum audio data.
[0197] The dimension-upgrading unit 830 is used to perform dimension-upgrading processing on the time quantum audio data in the first encrypted quantum audio data to obtain the target dimension time quantum audio data.
[0198] The second processing unit 840 is used to process the target-dimensional temporal quantum audio data using a scrambling algorithm to obtain encrypted temporal quantum audio data; and
[0199] The first determining unit 850 is used to determine the target encrypted quantum audio data based on the encrypted time quantum audio data and the sub-encrypted quantum audio data other than the time quantum audio data in the first encrypted quantum audio data.
[0200] Since the principle of the above-mentioned device in solving the problem is similar to that of the above-mentioned method, the implementation of the above-mentioned device can refer to the implementation of the above-mentioned method, and the repeated parts will not be described again.
[0201] Figure 9 The diagram shown is a structural schematic of a quantum audio encryption device according to an embodiment of this specification. Figure 9 As shown, including,
[0202] The second determining unit 910 is used to determine encrypted time quantum audio data and other encrypted quantum audio data from the target encrypted quantum audio data to be decrypted;
[0203] The third processing unit 920 is used to process the encrypted time quantum audio data using the inverse scrambling algorithm to obtain the decrypted time quantum audio data.
[0204] Dimensionality reduction unit 930 is used to reduce the dimensionality of the decrypted time quantum audio data to obtain the target dimension decrypted time quantum audio data;
[0205] Decryption unit 940 is used to decrypt decryption quantum audio data composed of other encrypted quantum audio data and target dimension decryption time quantum audio data using a preset key, to obtain the target decrypted quantum audio data; and
[0206] The fourth processing unit 950 is used to perform inverse quantum state processing on the target decrypted quantum audio data to obtain decrypted digital audio information.
[0207] Since the principle of the above-mentioned device in solving the problem is similar to that of the above-mentioned method, the implementation of the above-mentioned device can refer to the implementation of the above-mentioned method, and the repeated parts will not be described again.
[0208] like Figure 10The diagram illustrates the structure of a computer device according to an embodiment of this specification. The apparatus described in this specification can be the computer device in this embodiment, executing the methods described above. The computer device 1002 may include one or more processing devices 1004, such as one or more central processing units (CPUs), each of which can implement one or more hardware threads. The computer device 1002 may also include any storage resource 1006 for storing information of any kind, such as code, settings, data, etc. Without limitation, for example, the storage resource 1006 may include any one or more combinations of the following: any type of RAM, any type of ROM, flash memory, hard disk, optical disk, etc. More generally, any storage resource can use any technology to store information. Furthermore, any storage resource can provide volatile or non-volatile retention of information. Further, any storage resource may represent a fixed or removable component of the computer device 1002. In one case, when the processing device 1004 executes associated instructions stored in any storage resource or combination of storage resources, the computer device 1002 can perform any operation of the associated instructions. The computer device 1002 also includes one or more drive mechanisms 1008 for interacting with any storage resource, such as hard disk drive mechanism, optical disk drive mechanism, etc.
[0209] Computer device 1002 may also include an input / output module 1010 (I / O) for receiving various inputs (via input device 1012) and providing various outputs (via output device 1014). A specific output mechanism may include a presentation device 1016 and an associated graphical user interface (GUI) 1018. In other embodiments, the input / output module 1010 (I / O), input device 1012, and output device 1014 may be omitted, and the device may function solely as a computer device within a network. Computer device 1002 may also include one or more network interfaces 1020 for exchanging data with other devices via one or more communication links 1022. One or more communication buses 1024 couple the components described above together.
[0210] The communication link 1022 can be implemented in any way, such as via a local area network, a wide area network (e.g., the Internet), a point-to-point connection, or any combination thereof. The communication link 1022 may include any combination of hardwired links, wireless links, routers, gateway functions, name servers, etc., governed by any protocol or combination of protocols.
[0211] This specification also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described method.
[0212] This specification also provides a computer program product, which includes a computer program that, when executed by a processor, implements the above-described method.
[0213] Those skilled in the art will understand that embodiments of this specification can be provided as methods, systems, or computer program products. Therefore, this specification may take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this specification may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0214] This specification is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this specification. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create a machine for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0215] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0216] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0217] The above specific embodiments further illustrate the purpose, technical solutions, and beneficial effects of this specification. It should be understood that the above are merely specific embodiments of this specification and are not intended to limit the scope of protection of this specification. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this specification should be included within the scope of protection of this specification.
Claims
1. A quantum audio encryption method, characterized in that, include: Quantum state processing is performed on the digital audio information to be encrypted to obtain quantum audio data to be encrypted; From the quantum audio data to be encrypted, determine the most significant bit data to be encrypted corresponding to the most significant bit; By using a preset encryption operation function to process the preset key and the most significant bit of the data to be encrypted, candidate encrypted quantum audio data is obtained; as well as The candidate encrypted quantum audio data is used to replace the most significant bit of the quantum audio data to be encrypted, thereby obtaining the first encrypted quantum audio data. The temporal quantum audio data in the first encrypted quantum audio data is subjected to dimensionality upscaling to obtain the target dimension temporal quantum audio data. The target dimension time quantum audio data is processed using a scrambling algorithm to obtain encrypted time quantum audio data; as well as The target encrypted quantum audio data is determined based on the encrypted time quantum audio data and the sub-encrypted quantum audio data other than the time quantum audio data in the first encrypted quantum audio data.
2. The method according to claim 1, characterized in that, The process of using a preset encryption operation function to process the preset key and the most significant bit of the data to be encrypted to obtain candidate encrypted quantum audio data includes: Convert the preset key and the most significant bit of the data to be encrypted by performing a base conversion to obtain the target base preset key and the target base most significant bit of the data to be encrypted; and The candidate encrypted quantum audio data is obtained by processing the target base preset key and the most significant bit of the target base data to be encrypted using a preset encryption operation function.
3. The method according to claim 1, characterized in that, The step of performing dimensionality-upgrading processing on the temporal quantum audio data in the first encrypted quantum audio data to obtain the target dimension temporal quantum audio data includes: The temporal quantum audio data is divided into multiple sub-temporal quantum audio data segments with equal data volume, the number of which is equal to the number of the target dimension; and The target dimension time quantum audio data is constructed based on the order of each of the sub-time quantum audio data in the time quantum audio data.
4. The method according to claim 3, characterized in that, The step of constructing the target-dimensional time quantum audio data based on the order of each of the sub-time quantum audio data in the time quantum audio data includes: Based on the order of each of the sub-time quantum audio data in the time quantum audio data, determine the position information corresponding to each of the sub-time quantum audio data; Based on the location information, the multiple sub-time quantum audio data are spliced together to obtain the target dimension time quantum audio data.
5. The method according to claim 1, characterized in that, The scrambling algorithm includes the cat face scrambling algorithm.
6. A quantum audio decryption method, characterized in that, include: From the target encrypted quantum audio data to be decrypted, determine the encrypted time quantum audio data and other encrypted quantum audio data; The encrypted time quantum audio data is processed using an inverse scrambling algorithm to obtain decrypted time quantum audio data; The decryption time quantum audio data is subjected to dimensionality reduction processing to obtain the target dimension decryption time quantum audio data; Using a preset key, the decrypted quantum audio data, which consists of the other encrypted quantum audio data and the target dimension decryption time quantum audio data, is decrypted to obtain the target decrypted quantum audio data. as well as The target decrypted quantum audio data is processed using inverse quantum state processing to obtain decrypted digital audio information. The target encrypted quantum audio data is determined using the quantum audio encryption method according to any one of claims 1-5.
7. The method according to claim 6, characterized in that, The dimensionality reduction processing of the decryption time quantum audio data to obtain the target dimension decryption time quantum audio data includes: The decryption time quantum audio data is segmented at the dimensional level to obtain multiple sub-decryption time quantum audio data, the number of which is equal to the number of dimensions; and The target dimension decryption time quantum audio data is obtained by sequentially concatenating the data according to the dimension level corresponding to each of the sub-decryption time quantum audio data.
8. The method according to claim 6, characterized in that, The process of decrypting the decrypted quantum audio data, composed of the other encrypted quantum audio data and the target dimension decryption time quantum audio data, using a preset key to obtain the target decrypted quantum audio data includes: From the decrypted quantum audio data, determine the most significant bit (LSB) data to be decrypted corresponding to the LSB; By processing the preset key and the most significant bit of the data to be decrypted using a preset decryption function, candidate decryptable quantum audio data is obtained; and The highest significant bit of the data to be decrypted in the decrypted quantum audio data is replaced with the candidate decrypted quantum audio data to obtain the target decrypted quantum audio data.
9. The method according to claim 8, characterized in that, The process of using a preset decryption operation function to process the preset key and the most significant bit of the data to be decrypted to obtain candidate decryptable quantum audio data includes: The preset key and the most significant bit of the data to be decrypted are converted into their respective bases to obtain the target base preset key and the target base most significant bit of the data to be decrypted; and The candidate decryption quantum audio data is obtained by processing the target base preset key and the target base most significant bit of the data to be decrypted using a preset decryption operation function.
10. A quantum audio encryption device, characterized in that, include: The first processing unit is used to perform quantum state processing on the digital audio information to be encrypted, and obtain quantum audio data to be encrypted. An encryption unit is used to determine the most significant bit data to be encrypted from the quantum audio data to be encrypted, corresponding to the most significant bit; and to process the preset key and the most significant bit data to be encrypted using a preset encryption operation function to obtain candidate encrypted quantum audio data. as well as The candidate encrypted quantum audio data is used to replace the most significant bit of the quantum audio data to be encrypted, thereby obtaining the first encrypted quantum audio data. The dimension-upgrading unit is used to perform dimension-upgrading processing on the temporal quantum audio data in the first encrypted quantum audio data to obtain the target dimension temporal quantum audio data. The second processing unit is used to process the target dimension time quantum audio data using a scrambling algorithm to obtain encrypted time quantum audio data. as well as The first determining unit is used to determine the target encrypted quantum audio data based on the encrypted time quantum audio data and the sub-encrypted quantum audio data other than the time quantum audio data in the first encrypted quantum audio data.
11. A quantum audio decryption device, characterized in that, include: The second determining unit is used to determine encrypted time quantum audio data and other encrypted quantum audio data from the target encrypted quantum audio data to be decrypted; The third processing unit is used to process the encrypted time quantum audio data using an inverse scrambling algorithm to obtain decrypted time quantum audio data. The dimensionality reduction unit is used to perform dimensionality reduction processing on the decrypted time quantum audio data to obtain target dimension decrypted time quantum audio data. The decryption unit is used to decrypt the decrypted quantum audio data composed of the other encrypted quantum audio data and the target dimension decryption time quantum audio data using a preset key, so as to obtain the target decrypted quantum audio data. as well as The fourth processing unit is used to perform inverse quantum state processing on the target decrypted quantum audio data to obtain decrypted digital audio information. The target encrypted quantum audio data is determined using the quantum audio encryption device according to claim 10.
12. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method of any one of claims 1-9.
13. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, performs the method of any one of claims 1-9.
14. A computer program product comprising a computer program / instructions, characterized in that, When the computer program / instructions are executed by the processor, they implement the method according to any one of claims 1-9.
Citation Information
Patent Citations
Digital audio signal encryption / decryption method based on quanta
CN103916238A
Chaos-based multi-audio high-dimensional encryption method
CN111682931A