Data encryption method, data decryption method and apparatus

By fusing initial encrypted data with audio data and utilizing the characteristics and rules of audio data to generate fused encrypted data, the security deficiencies of existing data encryption methods are resolved, achieving higher data security and format conversion security.

CN115720166BActive Publication Date: 2026-05-15INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
INDUSTRIAL AND COMMERCIAL BANK OF CHINA
Filing Date
2022-11-15
Publication Date
2026-05-15

AI Technical Summary

Technical Problem

Existing data encryption methods are insufficient in improving data security, especially public-key and private-key encryption methods, which still have room for improvement.

Method used

By fusing the initial encrypted data with the target audio data, and taking advantage of the characteristics of the audio data, the system generates fused encrypted data using extraction and fusion rules. This includes extracting the target audio segment from the audio data, converting it into a binary data stream, and performing operations such as calculation, replacement, or addition/deletion. Security is enhanced by combining audio track selection parameters.

Benefits of technology

It improves the security of data encryption and format conversion, and enhances the concealment and security of data, especially in the process of audio format conversion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115720166B_ABST
    Figure CN115720166B_ABST
Patent Text Reader

Abstract

The present disclosure provides a data encryption method, a data decryption method, an apparatus, a device, a medium and a program product, relates to the technical field of computers, in particular to the technical field of data processing and information security, and can be applied to the technical field of finance. The data encryption method comprises: encrypting target data to obtain initial encrypted data; determining target audio data from reference audio data; fusing the initial encrypted data and the target audio data to determine fused encrypted data; and determining target encrypted data according to the reference audio data and the fused encrypted data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of computer technology, specifically to the fields of data processing and information security technology, and more specifically to a data encryption method, data decryption method, apparatus, device, medium, and program product. Background Technology

[0002] With the development of computer and internet technologies, improving information security has become an important technical issue.

[0003] Regarding data security, data encryption is commonly used to improve data security, such as using public-key and private-key encryption. However, there is still room for improvement in data encryption security. Summary of the Invention

[0004] In view of the above problems, this disclosure provides a data encryption method, a data decryption method, an apparatus, a device, a medium, and a program product.

[0005] According to one aspect of this disclosure, a data encryption method is provided, comprising: encrypting target data to obtain initial encrypted data; determining target audio data from reference audio data; fusing the initial encrypted data with the target audio data to determine fused encrypted data; and determining target encrypted data based on the reference audio data and the fused encrypted data.

[0006] According to embodiments of this disclosure, fusing initial encrypted data with target audio data to determine fused encrypted data includes: extracting a target audio segment from the target audio data to obtain target audio segment audio data, wherein the target audio segment audio data has the same data length as the initial encrypted data; converting the initial encrypted data and the target audio segment audio data into binary data streams to obtain a first data stream and a second data stream, respectively; and determining fused encrypted data based on the first data stream and the second data stream.

[0007] According to embodiments of this disclosure, extracting a target audio segment from target audio data to obtain target audio segment audio data includes: determining a corresponding target spectrogram based on the target audio data; extracting a target spectrum segment from the target spectrogram according to extraction rules, wherein the extraction rules target at least one of the following: maximum and minimum amplitude values, maximum and minimum amplitude increment values, and average amplitude values; and determining the corresponding target audio segment audio data based on the target spectrum segment.

[0008] According to embodiments of this disclosure, determining the fused encrypted data based on the first data stream and the second data stream includes: fusing the first data stream and the second data stream according to fusion rules to obtain fused encrypted data. The fusion rules include at least one of the following: operation rules, replacement rules, and addition / deletion rules.

[0009] According to embodiments of this disclosure, the reference audio data has at least one audio track, and the target audio data has at least one target audio track; determining the target audio data from the reference audio data includes: for each audio track of the reference audio data, determining a corresponding audio track selection evaluation value based on audio track selection parameters; and determining the target audio track from multiple audio tracks of the reference audio data based on the audio track selection evaluation value to obtain the target audio data.

[0010] According to embodiments of this disclosure, the audio track selection parameters include pitch; for each audio track of the reference audio data, determining the corresponding audio track selection evaluation value based on the audio track selection parameters includes: segmenting each audio track of the reference audio data to obtain multiple audio track segments, wherein each audio track segment has an initial pitch evaluation value; detecting the pitch of each audio track segment to obtain a target audio track segment, wherein the target audio track segment has a target pitch; and determining the audio track selection evaluation value of each audio track based on the number of target audio track segments for each audio track.

[0011] The data encryption method according to the embodiments of this disclosure further includes: determining at least one target monophonic audio data from a monophonic audio data set; and fusing the at least one target monophonic audio data to obtain reference audio data.

[0012] According to another aspect of this disclosure, a data decryption method is also provided, comprising: receiving target encrypted data, wherein the target encrypted data is obtained according to the data encryption method described above; parsing the target encrypted data to obtain initial encrypted data; and decrypting the initial encrypted data to obtain the target data.

[0013] According to another aspect of this disclosure, a data encryption device is also provided, comprising: an initial encrypted data determining module, a target audio data determining module, a fused encrypted data determining module, and a target encrypted data determining module. The initial encrypted data determining module is used to encrypt the target data to obtain initial encrypted data; the target audio data determining module is used to determine the target audio data from reference audio data; the fused encrypted data determining module is used to fuse the initial encrypted data and the target audio data to determine fused encrypted data; and the target encrypted data determining module is used to determine the target encrypted data based on the reference audio data and the fused encrypted data.

[0014] According to another aspect of this disclosure, a data decryption apparatus is also provided, comprising: a target encrypted data receiving module, a target encrypted data parsing module, and an initial encrypted data decryption module. The target encrypted data receiving module is used to receive target encrypted data, wherein the target encrypted data is obtained according to the aforementioned data encryption method; the target encrypted data parsing module is used to parse the target encrypted data to obtain initial encrypted data; and the initial encrypted data decryption module is used to decrypt the initial encrypted data to obtain the target data.

[0015] Another aspect of this disclosure provides an electronic device, including: one or more processors; and a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors cause the one or more processors to perform the above-described data encryption method and data decryption method.

[0016] Another aspect of this disclosure provides a computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, cause the processor to perform the aforementioned data encryption method and data decryption method.

[0017] Another aspect of this disclosure provides a computer program product, including a computer program that, when executed by a processor, implements the aforementioned data encryption method and data decryption method. Attached Figure Description

[0018] The foregoing contents, as well as other objects, features, and advantages of this disclosure, will become clearer from the following description of embodiments with reference to the accompanying drawings, in which:

[0019] Figure 1 The diagram schematically illustrates a system architecture of a data encryption method, data decryption method, apparatus, device, medium, and program product according to embodiments of the present disclosure.

[0020] Figure 2 A flowchart illustrating a data encryption method according to an embodiment of the present disclosure is shown schematically.

[0021] Figure 3 A flowchart illustrating the determination of fused encrypted data according to another embodiment of the data encryption method of this disclosure is shown schematically;

[0022] Figure 4 This schematically illustrates a flowchart of a data encryption method for obtaining audio data of a target audio segment according to yet another embodiment of the present disclosure;

[0023] Figure 5 A flowchart illustrating the determination of fused encrypted data in a data encryption method according to yet another embodiment of the present disclosure is shown.

[0024] Figure 6A flowchart illustrating the determination of target audio data in a data encryption method according to yet another embodiment of the present disclosure is shown.

[0025] Figure 7 A flowchart illustrating a data encryption method according to yet another embodiment of the present disclosure is shown schematically;

[0026] Figure 8 A flowchart illustrating a data decryption method according to an embodiment of the present disclosure is shown schematically.

[0027] Figure 9 A schematic block diagram of a data encryption device according to an embodiment of the present disclosure is shown.

[0028] Figure 10 A schematic block diagram of a data decryption apparatus according to an embodiment of the present disclosure is shown; and

[0029] Figure 11 A block diagram schematically illustrates an electronic device suitable for implementing a data encryption method and a data decryption method according to embodiments of the present disclosure. Detailed Implementation

[0030] The embodiments of the present disclosure will now be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the disclosure. In the following detailed description, numerous specific details are set forth to provide a thorough understanding of the embodiments of the present disclosure for ease of explanation. However, it will be apparent that one or more embodiments may be practiced without these specific details. Furthermore, descriptions of well-known structures and techniques are omitted in the following description to avoid unnecessarily obscuring the concepts of the present disclosure.

[0031] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit this disclosure. The terms “comprising,” “including,” etc., as used herein indicate the presence of features, steps, operations, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, or components.

[0032] All terms used herein (including technical and scientific terms) have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein are to be interpreted in a manner consistent with the context of this specification, and not in an idealized or overly rigid way.

[0033] When using expressions such as "at least one of A, B, and C", they should generally be interpreted in accordance with the meaning that is commonly understood by a person skilled in the art (e.g., "a system having at least one of A, B, and C" should include, but is not limited to, a system having A alone, a system having B alone, a system having C alone, a system having A and B, a system having A and C, a system having B and C, and / or a system having A, B, and C, etc.).

[0034] Embodiments of this disclosure provide a data encryption method, including: encrypting target data to obtain initial encrypted data; determining target audio data from reference audio data; fusing the initial encrypted data and the target audio data to determine fused encrypted data; and determining target encrypted data based on the reference audio data and the fused encrypted data.

[0035] It should be noted that the data encryption method, data decryption method, and apparatus of this disclosure can be used in the financial field, or in any field other than the financial field. This disclosure does not limit the application field of the data encryption method, data decryption method, and apparatus.

[0036] In the technical solution disclosed herein, the collection, storage, use, processing, transmission, provision, disclosure, and application of user personal information comply with the provisions of relevant laws and regulations, necessary confidentiality measures have been taken, and there is no violation of public order and good morals.

[0037] In the technical solution disclosed herein, the user's authorization or consent is obtained before acquiring or collecting the user's personal information.

[0038] Figure 1 The diagram illustrates a system architecture of a data encryption method, data decryption method, apparatus, device, medium, and program product according to embodiments of the present disclosure.

[0039] like Figure 1 As shown, the system architecture 100 according to this embodiment may include a first server 101, a second server 102, a third server 103, and a network 104. The network 104 is used as a medium to provide a communication link between the first server 101, the second server 102, and the third server 103. The network 104 may include various connection types, such as wired or wireless communication links or fiber optic cables, etc.

[0040] The first server 101, the second server 102, and the third server 103 can be servers that provide various services.

[0041] The first server 101 may be, for example, a server that generates and stores target data. The second server 102 may be, for example, a server that can obtain target data from the first server 101 and encrypt the target data. The third server 102 may be, for example, a server that receives fused encrypted data sent by the second server 102 and decrypts the fused encrypted data.

[0042] It should be noted that the data encryption method provided in this embodiment can generally be executed by the second server 102. Correspondingly, the data encryption device provided in this embodiment can generally be located in the second server 102. The data encryption method provided in this embodiment can also be executed by a server or server cluster that is different from the second server 102 and capable of communicating with the first server 101 and / or the third server 103. Correspondingly, the data encryption device provided in this embodiment can also be located in a server or server cluster that is different from the second server 102 and capable of communicating with the first server 101 and / or the third server 103. The data decryption method provided in this embodiment can generally be executed by the third server 103. Correspondingly, the data decryption device provided in this embodiment can generally be located in the third server 103. The data decryption method provided in this embodiment can also be executed by a server or server cluster that is different from the third server 103 and capable of communicating with the first server 101 and / or the second server 102. Accordingly, the data decryption device provided in this embodiment of the present disclosure may also be set in a server or server cluster that is different from the third server 103 and is able to communicate with the first server 101 and / or the second server 102.

[0043] It should be understood that Figure 1 The number of first, second, and third servers shown is merely illustrative. Depending on implementation needs, there can be any number of first, second, and third servers.

[0044] The following will be based on Figure 1 The described scene, through Figures 2-7 The data encryption method of the present disclosure embodiments will be described in detail, through Figure 8 The data decryption method of the present disclosure embodiments will be described in detail.

[0045] Figure 2 A flowchart illustrating a data encryption method according to an embodiment of the present disclosure is shown schematically.

[0046] like Figure 2 As shown, the data encryption method 200 of this embodiment includes operations S210 to S230.

[0047] In operation S210, the target data is encrypted to obtain the initial encrypted data.

[0048] For example, the target data that needs to be encrypted can be predetermined. The target data could be, for example, business data.

[0049] For example, the target data can be encrypted using an encryption key to obtain the initial encrypted data.

[0050] In operation S220, the target audio data is determined from the reference audio data.

[0051] For example, reference audio data can be predetermined.

[0052] In operation S230, the initial encrypted data is fused with the target audio data to determine the fused encrypted data.

[0053] In operation S240, the target encrypted data is determined based on the reference audio data and the fused encrypted data.

[0054] For example, the target audio data in the reference audio data can be replaced with fused encrypted data to obtain the target encrypted data. It can be understood that the target encrypted data and the reference audio data are both audio data.

[0055] According to the data encryption method of this disclosure, after encrypting the target data to obtain initial encrypted data, target audio data is determined from reference audio data, and the initial encrypted data and the target audio data are fused. The determined fused encrypted data is similar to concealing the initial encrypted data, and has higher security than the initial encrypted data. Even when the target data is not in an audio format, since the target encrypted data determined from the reference audio data and the fused encrypted data is in an audio format, it is similar to a format conversion of the target data, also providing higher security.

[0056] It should be noted that the execution order of operation S210 and operation S220 can be interchanged.

[0057] Figure 3 A flowchart illustrating the determination of fused encrypted data according to another embodiment of the data encryption method of this disclosure is shown.

[0058] like Figure 3 As shown, for example, the operation S330 of fusing the initial encrypted data with the target audio data can be implemented using the following embodiment to determine a specific example of fusing the encrypted data.

[0059] In operation S331, a target audio segment is extracted from the target audio data to obtain the target audio segment audio data.

[0060] The target audio segment has the same length as the initial encrypted data.

[0061] In operation S332, the initial encrypted data and the target audio segment audio data are converted into binary data streams, resulting in the first data stream and the second data stream, respectively.

[0062] The operation S332, "converting the initial encrypted data and the target audio segment audio data into binary data streams to obtain the first data stream and the second data stream respectively," can be understood as: converting the initial encrypted data into a binary data stream to obtain the first data stream; and converting the target audio segment audio data into a binary data stream to obtain the second data stream.

[0063] If the target audio segment audio data has the same data length as the initial encrypted data, the first data stream and the second data stream also have the same data length.

[0064] In operation S333, the merged encrypted data is determined based on the first data stream and the second data stream.

[0065] According to the data encryption method of this disclosure, a target audio segment with the same data length as the initial encrypted data can be extracted from the target audio data. The target audio segment and the initial encrypted data are then converted into binary data streams. The identical data format (both the first and second data streams are binary data streams) and consistent data length facilitate the fusion of the first and second data streams to obtain fused encrypted data. Furthermore, when the fused encrypted data is determined using operations such as addition, subtraction, multiplication, and division, the binary data stream also facilitates computation.

[0066] For example, operations S331 to S333 can be performed after operation S220 or before operation S240. Operation S330 is similar to operation S230 and will not be described again here.

[0067] Figure 4 The flowchart illustrating the process of obtaining audio data of a target audio segment according to another embodiment of the data encryption method of the present disclosure is shown.

[0068] like Figure 4 As shown, for example, the specific example of how to extract a target audio segment from the target audio data to obtain the target audio segment audio data can be implemented using the following embodiment.

[0069] In operation S411, the corresponding target spectrogram is determined based on the target audio data.

[0070] For example, the Mel-Cepstral Coefficients of the target audio data can be determined based on the target audio data, and the corresponding Mel-Cepstral plot can be obtained as the target spectrogram.

[0071] Mel-scale frequency cepstral coefficients, or MFCCs for short, are used to determine parameters that exhibit better robustness, better match the auditory characteristics of the human ear, and maintain good recognition performance even when the signal-to-noise ratio decreases.

[0072] For example, this can be achieved through: pre-emphasis → framing → windowing → Fast Fourier Transform → triangular bandpass filter → Mel-frequency filter bank → calculating the logarithmic energy of each filter bank's output → obtaining MFCC via discrete cosine transform. Pre-emphasis can be implemented by passing the target speech data through a high-pass filter. Pre-emphasis can boost the high-frequency components, flattening the signal spectrum and maintaining the signal across the entire frequency band from low to high frequencies. Pre-emphasis can also eliminate the effects of the vocal cords and lips during phonation, compensating for the high-frequency components of the speech signal suppressed by the vocal system and highlighting high-frequency formants.

[0073] In operation S412, a target spectrum segment is extracted from the target spectrum map according to the extraction rules.

[0074] The truncation rule applies to at least one of the following: maximum and minimum amplitude, maximum and minimum amplitude increment, and average amplitude.

[0075] For example, when the truncation rule targets the maximum amplitude, the target spectrum segment can be truncated from the target spectrum with the maximum amplitude as the center, extending to both sides of the maximum amplitude.

[0076] For example, the maximum and minimum amplitude values ​​can include the maximum amplitude value and the minimum amplitude value, and the maximum amplitude value can be selected as the maximum amplitude value.

[0077] For example, when the truncation rule targets the maximum and minimum amplitude increment, the target spectrum segment can be truncated from the target spectrum with the maximum and minimum amplitude increment as the center position, extending to both sides of the maximum and minimum amplitude increment.

[0078] For example, the maximum and minimum amplitude increments can include the maximum amplitude increment (corresponding to the maximum slope) and the minimum amplitude increment (corresponding to the minimum slope). For instance, the maximum amplitude increment can be selected as the maximum amplitude increment.

[0079] For example, when the truncation rule is applied to the amplitude average, the target spectrum segment can be truncated from the target spectrum plot with the amplitude average as the center position, extending to both sides of the amplitude average.

[0080] In operation S413, the corresponding target audio segment audio data is determined based on the target spectrum segment.

[0081] According to the data encryption method of this disclosure, for target audio data, by determining the corresponding target spectrogram, the audio data can be converted into a spectral form that is easy to process. Furthermore, according to specific truncation rules, a target spectrum segment can be extracted from the target spectrogram. Compared to directly encrypting the target data to obtain initial encrypted data, this method adds the step of extracting a target spectrum segment from the target spectrogram according to truncation rules, which can improve data security. In addition, since the target audio segment is determined according to truncation rules, data security can be improved whether the truncation rules can be set or agreed upon only by the data sender and data receiver.

[0082] For example, operations S411 to S413 can be performed before operation S332. Operation S410 is similar to operation S331 and will not be described again here.

[0083] Figure 5 The flowchart illustrating the determination of fused encrypted data in a data encryption method according to yet another embodiment of the present disclosure is shown.

[0084] like Figure 5 As shown, for example, the specific example of determining the fused encrypted data based on the first data stream and the second data stream in operation S530 can be implemented using the following embodiment.

[0085] In operation S531, according to the fusion rules, the first data stream and the second data stream are fused to obtain fused encrypted data.

[0086] The fusion rules include at least one of the following: operation rules, replacement rules, and addition / deletion rules.

[0087] For example, the operation rule can represent the rule of performing operations such as addition, subtraction, multiplication, and division on the first data stream and the second data stream; the replacement rule can represent the rule of replacing values ​​on the first data stream and the second data stream; and the addition / deletion rule can represent the rule of adding or deleting values ​​on the first data stream and the second data stream.

[0088] According to the data encryption method of this disclosure, a first data stream and a second data stream can be merged according to fusion rules to obtain merged encrypted data. Compared with directly encrypting the target data to obtain initial encrypted data, the method adds a step of merging the first data stream and the second data stream according to fusion rules, which can improve data security. In addition, since the merged encrypted data is determined according to fusion rules, data security can be improved whether the fusion rules can be set or agreed upon only by the data sender and the data receiver.

[0089] For example, operation S531 can be performed after operation S332. Operation S530 is similar to operation S333 and will not be described again here.

[0090] Figure 6 The flowchart illustrating the determination of target audio data in a data encryption method according to yet another embodiment of the present disclosure is shown schematically.

[0091] like Figure 6 As shown, for example, the specific example of determining target audio data from reference audio data in operation S620 can be implemented using the following embodiment.

[0092] The reference audio data has at least one audio track, and the target audio data has at least one target audio track.

[0093] For example, the reference audio data may have multiple audio tracks, and the target audio data may have one target audio track.

[0094] For example, when the target audio data has multiple target audio tracks, the multiple target audio tracks can be superimposed to make the multiple target audio tracks become a single audio track.

[0095] For example, when the target audio track data has multiple target audio tracks, a spectrogram corresponding to each target audio track can be obtained, and a portion can be extracted from the spectrogram corresponding to each target audio track. The extracted portions can then be spliced ​​together to obtain the target spectrum segment.

[0096] In operation S621, for each track of the reference audio data, the corresponding track selection evaluation value is determined based on the track selection parameters.

[0097] An audio track can be understood as a track containing audio information. Each audio track has specific audio attributes, such as different timbres.

[0098] In operation S622, the target audio track is determined from multiple audio tracks of the reference audio data based on the audio track selection evaluation value, and the target audio data is obtained.

[0099] According to the data encryption method of this disclosure, a specific target audio data can be determined from the reference audio data based on the audio tracks of the reference audio data and the target audio data. When the reference audio data includes multiple audio tracks and the target audio data corresponds to some of the audio tracks, an additional step is added to identify the audio track where the target audio data is located from the multiple audio tracks, which can improve data security.

[0100] For example, operations S621 to S622 can be performed before operation S230. Operation S620 is similar to operation S220 and will not be described again here.

[0101] According to another embodiment of the data encryption method of this disclosure, the audio track selection parameters include pitch.

[0102] For example, the following embodiment can be used to determine the corresponding track selection evaluation value for each track of the reference audio data based on the track selection parameters: Segment each track of the reference audio data to obtain multiple track segments; detect the pitch of each track segment to obtain the target track segment, which has a target pitch; determine the track selection evaluation value for each track based on the number of target track segments for each track.

[0103] Each audio track segment has an initial pitch evaluation value. For example, the initial pitch evaluation value can be set to 0.

[0104] For example, each track of the reference audio can be segmented over a predetermined time period to obtain multiple track segments.

[0105] For example, the target pitch can be predetermined, or the target pitch can be determined by sorting the pitches after detecting the pitch of each audio track segment, and using the pitch value ranked in the nth position as the target pitch.

[0106] For example, the value of the target audio track segment can be determined based on the number of timestamps that reach the target pitch.

[0107] For example, for each audio track, the track selection evaluation value can be calculated by multiplying the number of target audio tracks by a certain numerical value.

[0108] According to the data encryption method of this disclosure, the pitch parameter of the audio can be used as the basis for selecting the target audio track, making full use of the audio parameters and improving the security of data encryption.

[0109] For example, the track selection evaluation values ​​of each audio track can be sorted, and the audio tracks with the highest track selection evaluation values ​​among the multiple audio tracks of the reference audio data can be identified as the target audio data.

[0110] For example, other parameters such as frequency can also be used as the basis for selecting the target audio track, which will not be elaborated here.

[0111] Figure 7 A flowchart illustrating a data encryption method according to yet another embodiment of the present disclosure is shown.

[0112] like Figure 7 As shown, the data encryption method 700 according to another embodiment of the present disclosure may include, for example, operations S750 to S760.

[0113] In operation S750, at least one target mono audio track is determined from the mono audio track data set.

[0114] A mono audio data set includes at least one mono audio track. Each mono audio track consists of audio data from a single track.

[0115] For example, a set of single-track audio data can be predetermined. This set of single-track audio data can also be updated periodically by relevant personnel.

[0116] During operation of S760, at least one target mono audio track is fused to obtain reference audio data.

[0117] For example, at least one target monotrack audio data can be superimposed to obtain reference audio data.

[0118] According to the data encryption method of this disclosure, at least one target monophonic audio data can be determined from a monophonic audio data set to obtain reference audio data. The reference audio data, as part of the fusion with the initial encrypted data, adds the step of determining the reference audio data based on the monophonic audio data set, which can also improve data security.

[0119] In summary, the data encryption method according to the embodiments of this disclosure, compared with the prior art of encrypting target data to obtain initial encrypted data, adds a step of fusing the initial encrypted data with the target audio data. Furthermore, it considers the characteristics of the audio format, using audio tracks as the basis for fusion, and extracts a specific audio segment according to truncation rules. Based on this, it performs fusion according to specific fusion rules to obtain fused encrypted data. Regarding the step of obtaining the target audio data, each audio track of the reference audio data is evaluated according to audio track selection parameters. The obtained audio track selection evaluation value can be used to determine the target audio track from multiple audio tracks of the reference audio data, thus obtaining the target audio data. Regarding the step of obtaining the reference audio data, at least one target single-track audio data can be determined based on the single-track audio data set and fused to obtain the reference audio data. All of the above-mentioned added steps can improve data security. In some steps, such as truncation rules and fusion rules, they can be set according to needs or agreed upon by the data sender and data receiver, thereby improving data security.

[0120] This disclosure also provides a data decryption method.

[0121] Figure 8 A flowchart of a data decryption method 800 according to an embodiment of the present disclosure is illustrated schematically.

[0122] like Figure 8 As shown, the data decryption method 800 according to an embodiment of this disclosure includes operations S810 to S830.

[0123] The S810 is in operation, receiving target encrypted data.

[0124] The target encrypted data is obtained by the data encryption method described in the above embodiments.

[0125] The S820 is used to parse the target encrypted data and obtain the initial encrypted data.

[0126] It is understood that the parsing rules for the target encrypted data correspond to the process of obtaining the target encrypted data from the initial encrypted data in the data encryption method of the above embodiments. For example, the parsing rules include the above-mentioned fusion rules, truncation rules, etc., which will not be elaborated here.

[0127] The S830 is used to decrypt the initial encrypted data to obtain the target data.

[0128] Since the target encrypted data has higher data security, the data decryption method according to the embodiments of this disclosure can also improve data security by parsing the target encrypted data and matching it with the above-mentioned data encryption process after receiving the target encrypted data.

[0129] It should be noted that the data encryption and decryption methods according to the embodiments of this disclosure can be applied to financial industries such as banking, and the target data can be important business data or transaction data. The data encryption and decryption methods according to the embodiments of this disclosure can improve data security.

[0130] For example, taking the target data as business data, the data decryption method according to the embodiments of this disclosure can perform business logic processing on the obtained target data if the data decryption is successful, and record the decryption failure or reject subsequent processing if the data decryption fails, thereby strengthening data security supervision and improving data security.

[0131] Based on the above data encryption method, this disclosure also provides a data encryption device. The following will be combined with... Figure 9 The device is described in detail.

[0132] Figure 9 A schematic block diagram of a data encryption device according to an embodiment of the present disclosure is shown.

[0133] like Figure 9 As shown, the data encryption device 900 of this embodiment includes an initial encrypted data determination module 910, a target audio data determination module 920, a fused encrypted data determination module 930, and a fused encrypted data determination module 940.

[0134] The initial encrypted data determination module 910 is used to encrypt the target data to obtain the initial encrypted data.

[0135] The target audio data determination module 920 is used to determine the target audio data from the reference audio data.

[0136] The fused encrypted data determination module 930 is used to fuse the initial encrypted data with the target audio data to determine the fused encrypted data.

[0137] The target encrypted data determination module 940 is used to determine the target encrypted data based on the reference audio data and the fused encrypted data.

[0138] According to an embodiment of this disclosure, the fused encrypted data determination module includes: a target audio segment audio data determination submodule, a binary data stream conversion submodule, and a fused encrypted data determination submodule.

[0139] The target audio segment audio data determination submodule is used to extract a target audio segment from the target audio data to obtain the target audio segment audio data.

[0140] The target audio segment has the same length as the initial encrypted data.

[0141] The binary data stream conversion submodule is used to convert the initial encrypted data and the target audio segment audio data into binary data streams, resulting in the first data stream and the second data stream, respectively.

[0142] The merged encrypted data determination submodule is used to determine the merged encrypted data based on the first data stream and the second data stream.

[0143] According to an embodiment of this disclosure, the target audio segment audio data determination submodule includes: a target spectrogram determination unit, a target spectrum segment extraction unit, and a target audio segment audio data determination unit.

[0144] The target spectrogram determination unit is used to determine the corresponding target spectrogram based on the target audio data.

[0145] The target spectrum segment extraction unit is used to extract a target spectrum segment from the target spectrum map according to the extraction rules.

[0146] The truncation rule applies to at least one of the following: maximum and minimum amplitude, maximum and minimum amplitude increment, and average amplitude.

[0147] The target audio segment audio data determination unit is used to determine the corresponding target audio segment audio data based on the target spectrum segment.

[0148] According to an embodiment of this disclosure, the fused encrypted data determination module includes: a fusion submodule, used to fuse a first data stream and a second data stream according to fusion rules to obtain fused encrypted data, wherein the fusion rules include at least one of the following: operation rules, replacement rules, and addition / deletion rules.

[0149] According to an embodiment of this disclosure, the reference audio data has at least one audio track, and the target audio data has at least one target audio track; the target audio data determination module includes: an audio track selection evaluation value determination submodule and a target audio data determination submodule.

[0150] The Track Selection Evaluation Value Determination Submodule is used to determine the corresponding track selection evaluation value for each track of the reference audio data, based on the track selection parameters.

[0151] The target audio data determination submodule is used to select an evaluation value based on the audio track, determine the target audio track from multiple audio tracks of the reference audio data, and obtain the target audio data.

[0152] According to an embodiment of this disclosure, the audio track selection parameters include pitch; the audio track selection evaluation value determination submodule includes: a segmentation unit, a pitch detection unit, and an audio track selection evaluation value determination unit.

[0153] The segmentation unit is used to segment each track of the reference audio data to obtain multiple track segments.

[0154] Each audio track has an initial pitch evaluation value.

[0155] The pitch detection unit is used to detect the pitch of each audio track segment to obtain the target audio track segment.

[0156] The target audio track has the target pitch.

[0157] The track selection evaluation value determination unit is used to determine the track selection evaluation value for each track based on the number of target track segments for each track.

[0158] The data encryption device according to an embodiment of the present disclosure further includes: a target single-track audio data determination module and a reference audio data determination module.

[0159] The target monotrack audio data determination module is used to determine at least one target monotrack audio data from a set of monotrack audio data.

[0160] The reference audio data determination module is used to fuse at least one target monotrack audio data to obtain reference audio data.

[0161] Based on the above data decryption method, this disclosure also provides a data decryption apparatus. The following will be combined with... Figure 10 The device is described in detail.

[0162] Figure 10 A schematic block diagram of a data decryption apparatus according to an embodiment of the present disclosure is shown.

[0163] like Figure 10 As shown, the data decryption device 1000 of this embodiment includes an initial encrypted data target encrypted data receiving module 1010, a target encrypted data parsing module 1020, and an initial encrypted data decryption module 1030.

[0164] The target encrypted data receiving module 1010 is used to receive target encrypted data.

[0165] The target encrypted data is obtained using the data encryption method described above.

[0166] The target encrypted data parsing module 1020 is used to parse the target encrypted data to obtain the initial encrypted data.

[0167] The initial encrypted data decryption module 1030 is used to decrypt the initial encrypted data to obtain the target data.

[0168] According to embodiments of this disclosure, any multiple modules from the initial encrypted data determination module 910, the target audio data determination module 920, the fused encrypted data determination module 930, and the fused encrypted data determination module 940, or any multiple modules from the initial encrypted data and target encrypted data receiving module 1010, the target encrypted data parsing module 1020, and the initial encrypted data decryption module 1030, can be combined into one module, or any one of these modules can be split into multiple modules. Alternatively, at least some of the functions of one or more of these modules can be combined with at least some of the functions of other modules and implemented in one module. According to embodiments of this disclosure, at least one of the initial encrypted data determination module 910, target audio data determination module 920, fused encrypted data determination module 930, and fused encrypted data determination module 940, or the initial encrypted data and target encrypted data receiving module 1010, target encrypted data parsing module 1020, and initial encrypted data decryption module 1030, can be at least partially implemented as hardware circuits, such as field-programmable gate arrays (FPGAs), programmable logic arrays (PLAs), systems-on-a-chip, systems-on-a-substrate, systems-on-package, application-specific integrated circuits (ASICs), or can be implemented in hardware or firmware by any other reasonable means of integrating or packaging the circuit, or implemented in any one of the three methods of software, hardware, and firmware, or in a suitable combination of any of them. Alternatively, at least one of the initial encrypted data determination module 910, target audio data determination module 920, fused encrypted data determination module 930, and fused encrypted data determination module 940, or the initial encrypted data and target encrypted data receiving module 1010, target encrypted data parsing module 1020, and initial encrypted data decryption module 1030, can be at least partially implemented as a computer program module, which can perform corresponding functions when the computer program module is run.

[0169] It should be understood that the embodiments of the apparatus portion of this disclosure correspond to the same or similar embodiments of the method portion of this disclosure, and the technical problems solved and the technical effects achieved are also the same or similar. This disclosure will not repeat them here.

[0170] Figure 11 A block diagram schematically illustrates an electronic device suitable for implementing a data encryption method and a data decryption method according to embodiments of the present disclosure.

[0171] like Figure 11As shown, an electronic device 1100 according to an embodiment of the present disclosure includes a processor 1101, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1102 or a program loaded from a storage portion 1108 into a random access memory (RAM) 1103. The processor 1101 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or an associated chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 1101 may also include onboard memory for caching purposes. The processor 1101 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.

[0172] RAM 1103 stores various programs and data required for the operation of electronic device 1100. Processor 1101, ROM 1102, and RAM 1103 are interconnected via bus 1104. Processor 1101 performs various operations of the method flow according to embodiments of the present disclosure by executing programs in ROM 1102 and / or RAM 1103. It should be noted that programs may also be stored in one or more memories other than ROM 1102 and RAM 1103. Processor 1101 may also perform various operations of the method flow according to embodiments of the present disclosure by executing programs stored in one or more memories.

[0173] According to embodiments of this disclosure, the electronic device 1100 may further include an input / output (I / O) interface 1105, which is also connected to a bus 1104. The electronic device 1100 may also include one or more of the following components connected to the I / O interface 1105: an input section 1106 including a keyboard, mouse, etc.; an output section 1107 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1108 including a hard disk, etc.; and a communication section 1109 including a network interface card such as a LAN card, modem, etc. The communication section 1109 performs communication processing via a network such as the Internet. A drive 1110 is also connected to the I / O interface 1105 as needed. A removable medium 1111, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on the drive 1110 as needed so that computer programs read from it can be installed into the storage section 1108 as needed.

[0174] This disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or it may exist independently and not assembled into the device / apparatus / system. The computer-readable storage medium carries one or more programs that, when executed, implement the method according to the embodiments of this disclosure.

[0175] According to embodiments of this disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, such as including, but not limited to: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this disclosure, the computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. For example, according to embodiments of this disclosure, the computer-readable storage medium may include ROM 1102 and / or RAM 1103 and / or one or more memories other than ROM 1102 and RAM 1103 described above.

[0176] Embodiments of this disclosure also include a computer program product comprising a computer program containing program code for performing the methods shown in the flowchart. When the computer program product is run on a computer system, the program code is used to cause the computer system to implement the methods provided in the embodiments of this disclosure.

[0177] When the computer program is executed by the processor 1101, it performs the functions defined in the system / apparatus of this disclosure embodiments. According to embodiments of this disclosure, the systems, apparatuses, modules, units, etc., described above can be implemented by computer program modules.

[0178] In one embodiment, the computer program may rely on a tangible storage medium such as an optical storage device or a magnetic storage device. In another embodiment, the computer program may also be transmitted and distributed in the form of signals over a network medium, and may be downloaded and installed via the communication section 1109, and / or installed from the removable medium 1111. The program code contained in the computer program can be transmitted using any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination thereof.

[0179] In such an embodiment, the computer program can be downloaded and installed from a network via communication section 1109, and / or installed from removable medium 1111. When the computer program is executed by processor 1101, it performs the functions defined in the system of this disclosure embodiment. According to embodiments of this disclosure, the systems, devices, apparatuses, modules, units, etc., described above can be implemented by computer program modules.

[0180] According to embodiments of this disclosure, program code for executing the computer programs provided in embodiments of this disclosure can be written in any combination of one or more programming languages. Specifically, these computational programs can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages ​​include, but are not limited to, languages ​​such as Java, C++, Python, "C", or similar programming languages. The program code can execute entirely on the user's computing device, partially on the user's device, partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via the Internet using an Internet service provider).

[0181] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0182] Those skilled in the art will understand that the features described in the various embodiments and / or claims of this disclosure can be combined or combined in various ways, even if such combinations or combinations are not explicitly described in this disclosure. In particular, the features described in the various embodiments and / or claims of this disclosure can be combined or combined in various ways without departing from the spirit and teachings of this disclosure. All such combinations and / or combinations fall within the scope of this disclosure.

[0183] The embodiments of this disclosure have been described above. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of this disclosure. Although various embodiments have been described above, this does not mean that the measures in the various embodiments cannot be used advantageously in combination. The scope of this disclosure is defined by the appended claims and their equivalents. Various substitutions and modifications can be made by those skilled in the art without departing from the scope of this disclosure, and all such substitutions and modifications should fall within the scope of this disclosure.

Claims

1. A data encryption method, comprising: Encrypt the target data that is not in an audio format to obtain the initial encrypted data; Target audio data is determined from reference audio data, the reference audio data having at least one audio track, and the target audio data having at least one target audio track; The process of determining the target audio data from the reference audio data includes: For each track of the reference audio data, a corresponding track selection evaluation value is determined based on the track selection parameters; The audio track selection parameters include pitch; determining the corresponding audio track selection evaluation value for each audio track of the reference audio data based on the audio track selection parameters includes: Each track of the reference audio data is segmented to obtain multiple track segments, wherein each track segment has an initial pitch evaluation value; The pitch of each of the audio track segments is detected to obtain a target audio track segment, wherein the target audio track segment has a target pitch; and Based on the number of target audio segments for each audio track, determine the track selection evaluation value for each audio track; Based on the track selection evaluation value, the target track is determined from multiple tracks of the reference audio data to obtain the target audio data; The initial encrypted data is fused with the target audio data to determine the fused encrypted data; and Based on the reference audio data and the fused encrypted data, the target encrypted data is determined, specifically including: Replace the target audio data in the reference audio data with the fused encrypted data to generate audio data in the same format as the reference audio data as the target encrypted data.

2. The method according to claim 1, wherein, The step of fusing the initial encrypted data with the target audio data to determine the fused encrypted data includes: A target audio segment is extracted from the target audio data to obtain target audio segment audio data, wherein the target audio segment audio data has the same data length as the initial encrypted data; The initial encrypted data and the target audio segment audio data are converted into binary data streams to obtain the first data stream and the second data stream, respectively. The fused encrypted data is determined based on the first data stream and the second data stream.

3. The method according to claim 2, wherein, The step of extracting a target audio segment from the target audio data to obtain the target audio segment audio data includes: Based on the target audio data, determine the corresponding target spectrogram; According to the truncation rules, a target spectrum segment is truncated from the target spectrum diagram, wherein the truncation rules target at least one of the following: maximum and minimum amplitude, maximum and minimum amplitude increment, and average amplitude. Based on the target spectrum band, determine the corresponding audio data of the target audio band.

4. The method according to claim 2, wherein, Determining the fused encrypted data based on the first data stream and the second data stream includes: According to the fusion rules, the first data stream and the second data stream are fused to obtain the fused encrypted data. The fusion rules include at least one of the following: operation rules, replacement rules, and addition / deletion rules.

5. The method according to any one of claims 1-4, further comprising: Identify at least one target mono audio track from a mono audio track dataset; The reference audio data is obtained by fusing at least one of the target mono audio tracks.

6. A data decryption method, comprising: Receive target encrypted data in an audio format, wherein the target encrypted data is obtained by the data encryption method according to any one of claims 1-5; Parse the target encrypted data to obtain the initial encrypted data; and The initial encrypted data is decrypted to obtain target data in a non-audio format.

7. A data encryption device, comprising: The initial encrypted data determination module is used to encrypt target data in non-audio format to obtain initial encrypted data; A target audio data determination module is used to determine target audio data from reference audio data, wherein the reference audio data has at least one audio track and the target audio data has at least one target audio track; The process of determining the target audio data from the reference audio data includes: For each track of the reference audio data, a corresponding track selection evaluation value is determined based on the track selection parameters; The audio track selection parameters include pitch; determining the corresponding audio track selection evaluation value for each audio track of the reference audio data based on the audio track selection parameters includes: Each track of the reference audio data is segmented to obtain multiple track segments, wherein each track segment has an initial pitch evaluation value; The pitch of each of the audio track segments is detected to obtain a target audio track segment, wherein the target audio track segment has a target pitch; and Based on the number of target audio segments for each audio track, determine the track selection evaluation value for each audio track; Based on the track selection evaluation value, the target track is determined from multiple tracks of the reference audio data to obtain the target audio data; A fused encrypted data determination module is used to fuse the initial encrypted data with the target audio data to determine the fused encrypted data; and The target encrypted data determination module is used to determine the target encrypted data based on the reference audio data and the fused encrypted data. Specifically, it includes replacing the target audio data in the reference audio data with the fused encrypted data and generating audio data in the same format as the reference audio data as the target encrypted data.

8. A data decryption device, comprising: A target encrypted data receiving module is used to receive target encrypted data in an audio format, wherein the target encrypted data is obtained by the data encryption method according to any one of claims 1-5; The target encrypted data parsing module is used to parse the target encrypted data to obtain initial encrypted data; and The initial encrypted data decryption module is used to decrypt the initial encrypted data to obtain target data in a non-audio format.

9. An electronic device, comprising: One or more processors; Storage device for storing one or more programs. Wherein, when the one or more programs are executed by the one or more processors, the one or more processors perform the method according to any one of claims 1 to 5 or 6.

10. A computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, cause the processor to perform the method according to any one of claims 1 to 5 or 6.

11. A computer program product comprising a computer program stored on at least one of a readable storage medium and an electronic device, wherein the computer program, when executed by a processor, implements the method according to any one of claims 1 to 5 or 6.