Key generation system, method, electronic device, and storage medium
By collecting biological sonar information at different ocean depths to generate dynamic keys, the problem of easy key cracking caused by the monotony of traditional data encryption algorithms is solved, achieving more secure and random key generation and improving the security of data encryption.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-04
- Publication Date
- 2026-04-07
AI Technical Summary
Traditional data encryption algorithms are monotonous and their keys are easily cracked, leading to data leaks and affecting the security of user privacy and corporate trade secrets.
Sonar information of organisms is collected by sonar sensors at different ocean depths to generate an audio array. A dynamic key is generated using a key generation formula and random bit selection. The complexity and security of the key are improved by taking into account the richness and randomness of the marine environment.
The generated keys are more random and secure, improving the security of data encryption and meeting the periodic key maintenance requirements of the system.
Smart Images

Figure CN115913533B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of data security, in particular to a key generation system, a dynamic key generation method, an electronic device and a computer readable storage medium. BACKGROUND
[0002] With the development of network data transmission, big data analysis and other technologies, how to ensure the security of data has become an important demand for protecting user privacy, enterprise trade secrets and the like. In the traditional data security protection process, the traditional algorithm used is too monotonous, and is rarely maintained, so the same key is often used for a long time to encrypt data, which leads to the key being easily cracked, and thus leads to data leakage, seriously affecting user privacy and enterprise trade secrets. SUMMARY
[0003] The embodiments of the present application provide a key generation system, method, electronic device and computer readable storage medium to solve or partially solve the problem of too monotonous data encryption, poor variability and low security in data processing.
[0004] The embodiments of the present application disclose a key generation system, which comprises a data processing device, a data acquisition device connected with the data processing device, and a plurality of sonar acquisition sensors connected with the data acquisition device, each of the sonar acquisition sensors is located at a different ocean depth, and is used for sonar acquisition of organisms in the ocean area corresponding to the ocean depth; wherein,
[0005] The sonar acquisition sensor is used for acquiring a data acquisition signal sent by the data acquisition device, and acquiring sonar information corresponding to organisms in the ocean area based on the data acquisition signal, the sonar information at least comprising audio frequencies of sound emitted by different organisms at different ocean depths and collection time stamps, the collection time stamp being used for marking the current collection operation;
[0006] The data acquisition device is used for acquiring the sonar information collected by each sonar acquisition sensor at the same time point, and mixing processing the sound emitted according to the audio frequencies, to obtain an audio array corresponding to different organisms at different sea areas, the audio array comprising audio frequencies and audio wavelengths corresponding to each organism; then a key generation formula is acquired, the audio array is substituted into the key generation formula, a number sequence corresponding to the sonar information is obtained, and random bit taking is performed on the number sequence to generate a dynamic key used for data encryption;
[0007] The data processing device is used for performing corresponding data encryption operation according to the dynamic key.
[0008] Optionally, the data acquisition device is specifically configured to acquire audio sound waves, and calculate audio wavelengths corresponding to the vocal audio of each of the organisms by using the audio hertz corresponding to each of the organisms and the audio sound waves; and sequentially store the audio hertz and the audio wavelengths corresponding to each of the organisms into an array to obtain an audio array corresponding to different organisms in different sea areas.
[0009] Optionally, the data acquisition device is specifically configured to substitute the audio hertz and the audio wavelengths corresponding to each of the organisms into a key generation formula to obtain a number sequence corresponding to the sonar information.
[0010] ×cos(y1)+ ×cos(y2)+ ×cos(y3)+…+ ×cos(yN)=α,
[0011] Wherein, xn is used to represent the audio hertz, and yn is used to represent the audio wavelength.
[0012] Optionally, the data acquisition device is specifically configured to acquire a key length corresponding to the data acquisition instruction; and randomly take positions from the number sequence by using the key length to obtain a random number sequence corresponding to the key length and used for data encryption, and take the random number sequence as a dynamic key.
[0013] The embodiment of the application further discloses a dynamic key generation method applied to a data acquisition device, wherein the data acquisition device comprises sonar collection sensors located at different sea depths, and the method comprises the following steps:
[0014] Acquire sonar information collected by each of the sonar collection sensors at the same time point, wherein the sonar information at least comprises audio hertz of vocal audio of different organisms located at different sea depths and a collection time stamp, and the collection time stamp is used to mark the current collection operation;
[0015] According to the audio hertz, perform mixing processing on the vocal audio to obtain an audio array corresponding to different organisms in different sea areas, wherein the audio array comprises audio hertz and audio wavelengths corresponding to each of the organisms;
[0016] Acquire a key generation formula, and substitute the audio array into the key generation formula to obtain a number sequence corresponding to the sonar information;
[0017] Randomly take positions from the number sequence to generate a dynamic key used for data encryption.
[0018] Optionally, the mixing the audio frequency according to the audio hertz to obtain the audio array corresponding to different organisms in different sea areas comprises:
[0019] The audio sound wave is acquired, and the audio hertz corresponding to each organism and the audio sound wave are used to calculate the audio wavelength corresponding to the sound emission frequency of each organism.
[0020] The audio hertz and the audio wavelength corresponding to each organism are sequentially stored in an array to obtain the audio array corresponding to different organisms in different sea areas.
[0021] Optionally, the audio array is substituted into the key generation formula to obtain a number sequence corresponding to the sonar information, and the number sequence comprises:
[0022] The audio hertz and the audio wavelength corresponding to each organism are substituted into the following key generation formula to obtain a number sequence corresponding to the sonar information:
[0023] ×cos(y1)+ ×cos(y2)+ ×cos(y3)+…+ ×cos(yN)=α,
[0024] Wherein, xn is used to represent the audio hertz, and yn is used to represent the audio wavelength.
[0025] Optionally, the number sequence is randomly taken to generate a dynamic key used for data encryption, and the number sequence comprises:
[0026] The key length corresponding to the data acquisition instruction is acquired.
[0027] The key length is used to randomly take the number sequence to obtain a random number sequence corresponding to the key length and used for data encryption, and the random number sequence is used as the dynamic key.
[0028] The embodiment of the application further discloses an electronic device comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete communication with each other through the communication bus.
[0029] The memory is used to store a computer program.
[0030] The processor is used to execute the program stored on the memory to realize the method as described in the embodiment of the application.
[0031] The embodiment of the present application also discloses a computer readable storage medium, which stores instructions, and when the instructions are executed by one or more processors, the processors execute the method according to the embodiment of the present application.
[0032] The embodiment of the present application has the following advantages:
[0033] In the embodiment of the present application, the key generation system can be applied to, which can include a data processing device, a data acquisition device connected with the data processing device, and a plurality of sonar acquisition sensors connected with the data acquisition device, each sonar acquisition sensor is located at a different ocean depth, and is used for acquiring sonar of organisms in an ocean area corresponding to the ocean depth, in the process of generating a key, the sonar acquisition sensor can acquire a data acquisition signal sent by the data acquisition device, and acquire sonar information corresponding to organisms in the ocean area based on the data acquisition signal, the sonar information at least includes audio frequencies of different organisms located at different ocean depths and a collection timestamp, the collection timestamp is used for marking the current collection operation, then the data acquisition device can acquire the sonar information collected by each sonar acquisition sensor at the same time point, and mix the audio frequencies according to the audio frequencies, to obtain an audio array corresponding to different organisms located in different ocean areas, the audio array includes audio frequencies and audio wavelengths corresponding to each organism; then a key generation formula is acquired, and the audio array is substituted into the key generation formula to obtain a sequence corresponding to the sonar information, and a dynamic key used for data encryption is generated by randomly taking bits of the sequence, and the data processing device is used for performing a corresponding data encryption operation according to the dynamic key, so that on the one hand, the sonar information corresponding to organisms located at different ocean depths is acquired by the sonar acquisition sensors located at different ocean depths, the richness and uncertainty of data acquisition are ensured, the key is generated based on the data, the randomness of the generated key is improved, and the security of the key is improved, on the other hand, the sonar information corresponding to different ocean areas is mixed and summarized, and a corresponding key is generated through the key generation formula, and the complexity of the key is further increased, and the security of data encryption based on the key is improved. BRIEF DESCRIPTION OF DRAWINGS
[0034] Figure 1 FIG. 1 is a structural block diagram of a key generation system provided in the embodiment of the present application;
[0035] Figure 2 FIG. 2 is a setting schematic diagram of a sonar acquisition sensor provided in the embodiment of the present application;
[0036] Figure 3 FIG. 3 is a flowchart of key generation provided in the embodiment of the present application;
[0037] Figure 4is a step flow chart of a dynamic key generation method provided in an embodiment of the present application.
[0038] Figure 5 is a block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0039] In order to make the above-mentioned purposes, features and advantages of the present application more obvious and easy to understand, the present application will be further described in detail below with reference to the drawings and specific embodiments.
[0040] As an example, with the development of network data transmission, big data analysis and other technologies, how to ensure the security of data has become an important demand for protecting user privacy, enterprise trade secrets and the like. In the traditional data security protection process, the traditional algorithm used is too monotonous and is rarely maintained, and the same key is often used for a long time to encrypt data, which leads to the key being easily cracked, and in turn leads to data leakage, seriously affecting user privacy and enterprise trade secrets.
[0041] To this end, one of the core points of the application is to construct a key generation system that cooperates with the natural environment, reasonably utilize the physical conditions formed in nature, obtain corresponding biological signals through the richness and randomness of nature, and generate corresponding keys based on the biological signals, thereby achieving more secure, random and convenient key generation. Specifically, the application can be applied to a key generation system, which can include a data processing device, a data acquisition device connected to the data processing device, and a plurality of sonar collection sensors connected to the data acquisition device. Each sonar collection sensor is located at a different ocean depth and is used to collect sonar from organisms in the corresponding ocean area. In the process of generating a key, the sonar collection sensor can obtain a data collection signal sent by the data acquisition device and collect sonar information corresponding to the organisms in the ocean area based on the data collection signal. The sonar information includes at least the audio frequency of different organisms at different ocean depths and the collection timestamp, which is used to mark the current collection operation. Then, the data acquisition device can obtain the sonar information collected by each sonar collection sensor at the same time point, mix the audio frequency according to the audio frequency, and obtain an audio array corresponding to different organisms in different ocean areas. The audio array includes the audio frequency and the audio wavelength of each organism. Then, a key generation formula is obtained, and the audio array is substituted into the key generation formula to obtain a sequence corresponding to the sonar information. The sequence is randomly taken, and a dynamic key for data encryption is generated. The data processing device is used to perform corresponding data encryption operations according to the dynamic key, thereby ensuring the richness and uncertainty of data collection through the sonar collection sensors at different ocean depths, generating a key based on these data, making the generated key more random, and improving the security of the key. On the other hand, the sonar information corresponding to different ocean areas is mixed and summarized, and a corresponding key is generated through the key generation formula, further increasing the complexity of the key and improving the security of data encryption based on the key.
[0042] Reference Figure 1 , a structure block diagram of a key generation system provided in an embodiment of the application is shown, which can specifically include a data processing device, a data acquisition device connected to the data processing device, and a plurality of sonar collection sensors connected to the data acquisition device. Each sonar collection sensor is located at a different ocean depth and is used to collect sonar from organisms in the corresponding ocean area. Wherein,
[0043] The sonar collection sensor is used for acquiring a data collection signal sent by the data collection device, and collecting sonar information corresponding to organisms in the marine area based on the data collection signal, wherein the sonar information at least includes audio frequencies of different organisms located in different marine depths and a collection timestamp, and the collection timestamp is used for marking the current collection operation;
[0044] The data collection device is used for acquiring the sonar information collected by each sonar collection sensor at the same time point, mixing the audio frequencies according to the audio frequencies, obtaining an audio array corresponding to different organisms located in different marine areas, and the audio array includes the audio frequencies and audio wavelengths of each organism; then a key generation formula is acquired, the audio array is substituted into the key generation formula, a number sequence corresponding to the sonar information is obtained, and a dynamic key used for data encryption is generated by randomly taking positions of the number sequence;
[0045] The data processing device is used for performing corresponding data encryption operation according to the dynamic key.
[0046] Optionally, the data processing device can be a mobile terminal, a PC terminal, a server or the like, and can be used for performing corresponding data processing operation, such as data storage and data transmission; the data collection device can be used for generating a corresponding key according to an organism signal; and different sonar collection sensors can be located in different marine depths, and are used for collecting sonar information of organisms in a marine area in a preset range of the marine depth. Figure 2 In an example, FIG. 1 shows a setting schematic diagram of a sonar collection sensor provided in an embodiment of the present application, and the sonar collection sensor is deployed in a marine area. For the sonar collection sensor, corresponding sonar collection sensors can be respectively deployed in different marine depths, for example, can be deployed in a marine depth of 500 meters, 1000 meters or the like away from a horizontal plane, and sonar information of organisms near the depth is collected, including sonar information of corresponding fish, so as to reasonably utilize physical generation conditions in nature, and the diversity of source data generation is ensured by the richness of marine organisms (audio frequencies of different species are greatly different), and the security of a subsequently generated key is fundamentally ensured, and marine ecological environments of each depth of the marine are different, audio of multiple environments is listened to and collected, the generation process is difficult to be copied, and the periodic maintenance of the key in the system can be met due to the richness of marine species.
[0047] It should be noted that the data processing device can also be a software program that can run on the data acquisition device to control the data acquisition device to send corresponding data acquisition signals to each sonar collection sensor through the data acquisition device, and obtain sonar information collected by each sonar collection sensor, and the like, and the present application does not limit this.
[0048] In the embodiment of the present application, when the user needs to encrypt the data on the data processing device by performing corresponding operations, the data processing device can respond to the user operation and generate a corresponding data acquisition instruction, and then send the data acquisition instruction to the data acquisition device, so that the data acquisition device converts the data acquisition instruction into a corresponding data acquisition signal, and sends the data acquisition signal to each sonar collection sensor located at different ocean depths, so as to collect corresponding sonar information through the sonar collection sensor. Optionally, for the encryption required scene, it can include data transmission, data storage, digital signature, permission token generation, and the like, and the present application does not limit this.
[0049] In a specific implementation, each sonar collection sensor can perform a corresponding information collection operation at the same time point after receiving the data acquisition signal, so as to collect the audio frequency corresponding to the sound emitted by different organisms at different ocean depths at the same time point through different sonar collection sensors and the corresponding collection timestamp. Wherein, for the collection timestamp, it can be used to mark the current collection operation, and at the same time, the collection timestamp can be associated with the subsequently generated key. On the one hand, the key is generated by collecting corresponding sonar information, which not only ensures the diversity and security of the source data generation, but also ensures the randomness of the key generation. On the other hand, the key is marked by the collection timestamp, which ensures the uniqueness of the key and facilitates subsequent data tracing.
[0050] After the multiple sonar collection sensors collect the sonar information of the organisms in different layers of sea areas at the same time point, the collected sonar information can be transmitted to the data acquisition device. The data acquisition device can effectively extract the data of the sonar information to obtain the audio frequency of the sound emitted by different organisms at different ocean depths and the collection timestamp, and then mix the sound frequency according to the audio frequency to obtain the corresponding audio array of different organisms in different sea areas.
[0051] Specifically, the data acquisition device can obtain audio sound waves, and calculate the audio wavelengths corresponding to the sound emitted by each organism by using the audio hertz corresponding to each organism and the audio sound waves. Then, the audio hertz and the audio wavelengths corresponding to each organism are sequentially stored in an array to obtain an audio array corresponding to different organisms in different sea areas. Thus, a set of audio arrays containing different organisms in each sea area can be obtained through the above process, improving the complexity and uncertainty of the data, further improving the security of the initial data, and the audio arrays collected in different deep sea areas do not need to be disposed separately. For example, {x1, y1; x2, y2; x3, y3; …; x N , y N}, the former of each set of values can be audio hertz, and the latter can be audio wavelength.
[0052] When the data acquisition device generates the corresponding audio array, a key generation formula for generating a key can be further obtained, and the audio array is substituted into the key generation formula to obtain a sequence corresponding to the sonar information, and the sequence is randomly taken to generate a dynamic key for data encryption. Thus, on the one hand, the sonar information corresponding to organisms located at different ocean depths is obtained by the sonar collection sensor located at different ocean depths, which ensures the richness and uncertainty of data collection. The generation of the key based on these data makes the generated key more random, improving the security of the key. On the other hand, the sonar information corresponding to different ocean regions is mixed and processed, and the corresponding key is generated by the key generation formula, further increasing the complexity of the key and improving the security of the data encryption based on the key.
[0053] In an optional embodiment, the data acquisition device can substitute the audio hertz and the audio wavelengths corresponding to each organism into the following key generation formula to obtain a sequence corresponding to the sonar information:
[0054] ×cos(y1)+ ×cos(y2)+ ×cos(y3)+…+ ×cos(y N )=α,
[0055] wherein x n represents audio hertz, and y n represents audio wavelength.
[0056] After the corresponding sequence is obtained through the above process, the data acquisition device can generate a dynamic key for data encryption based on the sequence by randomly taking bits. Specifically, the data acquisition device can obtain a key length corresponding to the data acquisition instruction; randomly take bits from the sequence using the key length to obtain a random sequence corresponding to the key length and used for data encryption, and then send the dynamic key to the data processing device, so that the data processing device can perform corresponding data encryption operations based on the dynamic key, thereby constructing a key generation system that cooperates with the natural environment, reasonably utilizing the physical conditions in nature, obtaining corresponding biological signals through the richness and randomness of nature, and generating a corresponding key based on the biological signals to achieve a more secure, random and convenient key generation.
[0057] In the embodiments of the present application, the key generation system can be applied, which can include a data processing device, a data acquisition device connected to the data processing device, and a plurality of sonar collection sensors connected to the data acquisition device, each sonar collection sensor being located at a different ocean depth for collecting sonar of organisms in the corresponding ocean area. In the process of generating a key, the sonar collection sensor can obtain a data acquisition signal sent by the data acquisition device and collect sonar information corresponding to the organisms in the ocean area based on the data acquisition signal. The sonar information at least includes the audio frequency of the sound emitted by different organisms at different ocean depths and the collection timestamp, which is used to mark the current collection operation. Then the data acquisition device can obtain the sonar information collected by each sonar collection sensor at the same time point, and mix the sound frequency according to the audio frequency to obtain an audio array corresponding to different organisms in different ocean areas, the audio array including the audio frequency and the audio wavelength of each organism. Then the key generation formula is obtained, and the audio array is substituted into the key generation formula to obtain a sequence corresponding to the sonar information, and the sequence is randomly taken to generate a dynamic key for data encryption. The data processing device is used to perform corresponding data encryption operations according to the dynamic key, so that on the one hand, the sonar collection sensors located at different ocean depths obtain the sonar information corresponding to the organisms located at different ocean depths, ensuring the richness and uncertainty of data collection, and the key is generated based on these data, making the generated key more random and improving the security of the key. On the other hand, the sonar information corresponding to different ocean areas is mixed and summarized, and the corresponding key is generated through the key generation formula, further increasing the complexity of the key and improving the security of the data encryption based on the key.
[0058] In order for those skilled in the art to better understand the technical solutions in the embodiments of the present application, the following will be exemplarily described by an example:
[0059] Referring to Figure 3 , a flowchart of key generation provided in an embodiment of the application is shown, which can specifically include: when a data processing device needs to maintain operation, it can actively request a data collection device to obtain a corresponding key, the data collection device can generate a key through periodic sonar data on one hand, and can also send a corresponding data collection signal to each sonar collection sensor in real time to collect real-time sonar information. Specifically, each sonar collection sensor can collect sound frequency of organisms in the sea area to which it belongs at the same time point, and determine the corresponding audio wavelength and audio hertz based on the sound frequency, and then the data collection device can further merge the audio arrays of different sea areas to obtain an audio array in which audio hertz and audio wavelength are stored, and then substitute the audio array into the following formula to obtain a corresponding sequence:
[0060] ×cos(y1)+ ×cos(y2)+ ×cos(y3)+…+ ×cos(y N )=α
[0061] After obtaining the sequence through the above process, the sequence can be randomly taken to generate a corresponding dynamic key, and then the dynamic key can be returned to the data processing device so that it can complete corresponding data encryption operation.
[0062] Referring to Figure 4 , a step flowchart of a dynamic key generation method provided in an embodiment of the application is shown, which is applied to a data collection device including sonar collection sensors located at different sea depths, and can specifically include the following steps:
[0063] Step 401, obtaining sonar information collected by each sonar collection sensor at the same time point, the sonar information at least including audio hertz of sound frequency of different organisms located at different sea depths and a collection timestamp, the collection timestamp being used for marking the current collection operation;
[0064] Step 402, mixing processing the sound frequency according to the audio hertz to obtain an audio array corresponding to different organisms located at different sea areas, the audio array including audio hertz and audio wavelength corresponding to each organism;
[0065] Step 403, obtaining a key generation formula and substituting the audio array into the key generation formula to obtain a sequence corresponding to the sonar information;
[0066] Step 404, randomly taking positions of the sequence to generate a dynamic key for data encryption.
[0067] In an optional embodiment, the mixing processing of the audio frequency according to the audio hertz obtains an audio array corresponding to different organisms in different sea areas, including:
[0068] Obtaining audio sound waves, and using the audio hertz corresponding to each organism and the audio sound waves to calculate the audio wavelength corresponding to the sound frequency of each organism;
[0069] Storing the audio hertz and the audio wavelength corresponding to each organism in the array in sequence to obtain an audio array corresponding to different organisms in different sea areas.
[0070] In an optional embodiment, the audio array is substituted into the key generation formula to obtain a sequence corresponding to the sonar information, including:
[0071] Substituting the audio hertz and the audio wavelength corresponding to each organism into the following key generation formula to obtain a sequence corresponding to the sonar information:
[0072] ×cos(y1)+ ×cos(y2)+ ×cos(y3)+…+ ×cos(y N )=α,
[0073] Wherein, x n is used to represent the audio hertz, y n is used to represent the audio wavelength.
[0074] In an optional embodiment, the sequence is randomly taken to generate a dynamic key for data encryption, including:
[0075] Obtaining a key length corresponding to the data acquisition instruction;
[0076] Randomly taking positions from the sequence using the key length to obtain a random sequence corresponding to the key length and used for data encryption, and taking the random sequence as a dynamic key.
[0077] In the embodiment of the present application, it can be applied to a key generation system, which can include a data processing device, a data acquisition device connected with the data processing device, and a plurality of sonar acquisition sensors connected with the data acquisition device, each sonar acquisition sensor is located at a different ocean depth, and is used to collect sonar of organisms in the ocean area corresponding to the ocean depth. In the process of generating the key, the sonar acquisition sensor can obtain the data acquisition signal sent by the data acquisition device, and collect the sonar information corresponding to the organisms in the ocean area based on the data acquisition signal. The sonar information at least includes the audio frequency of the sound emitted by different organisms at different ocean depths and the collection timestamp, which is used to mark the current collection operation. Then the data acquisition device can obtain the sonar information collected by each sonar acquisition sensor at the same time point, and mix the sound frequency according to the audio frequency, to obtain an audio array corresponding to different organisms in different ocean areas, which includes the audio frequency and the audio wavelength of each organism. Then the key generation formula is obtained, and the audio array is substituted into the key generation formula to obtain a sequence corresponding to the sonar information, and the sequence is randomly taken to generate a dynamic key for data encryption. The data processing device is used to perform corresponding data encryption operation according to the dynamic key, so as to obtain the sonar information corresponding to the organisms at different ocean depths through the sonar acquisition sensors at different ocean depths, which ensures the richness and uncertainty of data acquisition. The key is generated based on these data, so that the generated key is more random, and the security of the key is improved. On the other hand, the sonar information corresponding to different ocean areas is mixed and summarized, and the corresponding key is generated through the key generation formula, which further increases the complexity of the key and improves the security of the data encryption based on the key.
[0078] It should be noted that for the method embodiment, in order to simply describe, it is expressed as a series of action combinations, but those skilled in the art should know that the embodiment of the present application is not limited by the order of the described actions, because according to the embodiment of the present application, some steps can be performed in other order or simultaneously. Secondly, those skilled in the art should know that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily necessary for the embodiment of the present application.
[0079] For the method embodiment, since it is basically similar to the system embodiment, the description is relatively simple, and the related parts can refer to the part of the system embodiment.
[0080] In addition, the embodiment of the present application further provides an electronic device, comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, which, when executed by the processor, implements each process of the embodiment of the method for generating a dynamic key and achieves the same technical effects. To avoid repetition, details are not described herein.
[0081] The embodiment of the present application further provides a computer readable storage medium, which stores a computer program, and the computer program, when executed by a processor, implements each process of the embodiment of the method for generating a dynamic key and achieves the same technical effects. To avoid repetition, details are not described herein. The computer readable storage medium includes a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, etc.
[0082] Figure 5 A hardware structure diagram of an electronic device for implementing the embodiments of the present application.
[0083] The electronic device 500 includes, but is not limited to, a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and a power supply 511, etc. Those skilled in the art can understand that the electronic device structure involved in the embodiments of the present application does not constitute a limitation on the electronic device, and the electronic device can include more or fewer components than the diagram, or combine certain components, or different component arrangements. In the embodiments of the present application, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle terminal, a wearable device, and a pedometer, etc.
[0084] It should be understood that, in the embodiments of the present application, the radio frequency unit 501 can be used for receiving and sending signals in the process of information or call. Specifically, after receiving the downlink data from the base station, the processor 510 processes it. In addition, the uplink data is sent to the base station. Generally, the radio frequency unit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc. In addition, the radio frequency unit 501 can also communicate with the network and other devices through a wireless communication system.
[0085] The electronic device provides wireless broadband Internet access for users through the network module 502, such as helping users to send and receive emails, browse web pages, and access streaming media, etc.
[0086] The audio output unit 503 can convert an audio signal, which is received by the radio frequency unit 501 or the network module 502 or stored in the memory 509, into an audio array and output as sound. Also, the audio output unit 503 can provide an audio output related to a particular function performed by the electronic device 500 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, etc.
[0087] The input unit 504 is configured to receive audio or video signals. The input unit 504 can include a graphics processing unit (GPU) 5041 and a microphone 5042. The graphics processing unit 5041 processes image data of a still picture or a video obtained by an image capture device (e.g., a camera) in a video call mode or an image call mode. Processed image frames can be displayed on the display unit 506. The image frames processed by the graphics processing unit 5041 can be stored in the memory 509 (or other storage medium) or transmitted via the radio frequency unit 501 or the network module 502. The microphone 5042 can receive sound and can process such sound into an audio array. The processed audio array can be converted into a format transmittable to a mobile communication base station via the radio frequency unit 501 in a telephone call mode.
[0088] The electronic device 500 further includes at least one sensor 505, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 5061 according to the brightness of ambient light, and the proximity sensor can turn off the display panel 5061 and / or the backlight when the electronic device 500 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), and when at rest, can detect the magnitude and direction of gravity, and can be used to identify the electronic device posture (such as screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, knock), etc. The sensor 505 can also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be described here.
[0089] The display unit 506 is configured to display information input by a user or information provided to the user. The display unit 506 can include a display panel 5061, which can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
[0090] The user input unit 507 can be used to receive inputted numerical or character information, and to generate key signal inputs related to user settings and function controls of the electronic device. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072. The touch panel 5071, also called a touch screen, can collect touch operations of a user thereon or adjacent thereto (such as operations of a user using a finger, a stylus, or any suitable object or accessory on or adjacent to the touch panel 5071). The touch panel 5071 can include two parts, a touch detection device and a touch controller. The touch detection device detects a user's touch position and detects a signal caused by a touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, and converts it into touch coordinates, and then sends it to the processor 510, and receives commands from the processor 510 and executes them. In addition, the touch panel 5071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 5071, the user input unit 507 can also include other input devices 5072. Specifically, the other input devices 5072 can include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, on / off buttons, etc.), trackballs, mice, joysticks, and the like, which will not be described here.
[0091] Further, the touch panel 5071 can be overlaid on the display panel 5061, and when the touch panel 5071 detects a touch operation thereon or adjacent thereto, it transmits to the processor 510 to determine the type of touch event, and then the processor 510 provides corresponding visual output on the display panel 5061 according to the type of touch event. It can be understood that in one embodiment, the touch panel 5071 and the display panel 5061 are implemented as two independent components to realize the input and output functions of the electronic device, but in some embodiments, the touch panel 5071 and the display panel 5061 can be integrated to realize the input and output functions of the electronic device, which is not limited here.
[0092] The interface unit 508 is an interface for connecting external devices to the electronic device 500. For example, the external devices can include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input / output (I / O) port, a video I / O port, an earphone port, and the like. The interface unit 508 can be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the electronic device 500, or can be used to transmit data between the electronic device 500 and external devices.
[0093] The memory 509 can be used to store software programs and various data. The memory 509 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, application programs required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; and the data storage area can store data created according to the use of the mobile phone (such as an audio array, a phone book, etc.), and the like. In addition, the memory 509 can include a high-speed random access memory, and can also include a nonvolatile memory, for example, at least one magnetic disk storage device, a flash memory device, or other volatile solid-state memory device.
[0094] The processor 510 is a control center of the electronic device, connects all parts of the electronic device through various interfaces and lines, executes various functions of the electronic device and processes data by running or executing software programs and / or modules stored in the memory 509 and calling data stored in the memory 509, and thus monitors the whole electronic device. The processor 510 can include one or more processing units; preferably, the processor 510 can integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication. It can be understood that the above-mentioned modem processor can also not be integrated into the processor 510.
[0095] The electronic device 500 can further include a power supply 511 (such as a battery) for supplying power to various components; preferably, the power supply 511 can be logically connected to the processor 510 through a power management system, so as to realize the functions of managing charging, discharging, and power consumption management, etc. through the power management system.
[0096] In addition, the electronic device 500 includes some functional modules which are not shown and will not be described here.
[0097] It should be noted that in this document, the term "comprising" or "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article, or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or further includes elements inherent to such a process, method, article, or device. Without more limitations, the element defined by the statement "including a" does not exclude the presence of additional identical elements in the process, method, article, or device including the element.
[0098] Those skilled in the art can clearly understand that the above-mentioned embodiment method can be realized by means of software and necessary general hardware platform, of course, it can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present application can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes a plurality of instructions for making a terminal (which can be a mobile phone, computer, server, air conditioner, or network device) execute the method described in each embodiment of the present application.
[0099] The embodiments of the present application are described above with reference to the accompanying drawings, but the present application is not limited to the above-mentioned specific embodiments, and the above-mentioned specific embodiments are only illustrative, not restrictive. Those skilled in the art can make many forms without departing from the purpose of the present application and the scope protected by the claims under the inspiration of the present application, which all belong to the protection of the present application.
[0100] Those skilled in the art can realize that the units and algorithm steps of each example described in combination with the embodiments disclosed in the embodiments of the present application can be realized by electronic hardware or a combination of computer software and electronic hardware. Whether the functions are realized in hardware or software depends on the specific application and design constraints of the technical solutions. Those skilled in the art can use different methods to realize the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0101] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-mentioned system, device and unit can refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.
[0102] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative, for example, the division of the units is only a logical function division, and actual implementation can have another division manner, for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the displayed or discussed units can be indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0103] The units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment scheme.
[0104] In addition, each functional unit in each embodiment of the present application can be integrated in one processing unit, or each unit can be physically present alone, or two or more units can be integrated in one unit.
[0105] The functions, if realized in the form of software functional units and sold or used as independent products, can be stored in a computer readable storage medium. Based on such understanding, the technical scheme of the present application or the part of the present application that essentially contributes to the prior art or the part of the technical scheme can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes various storage media that can store program codes, such as a U disk, a mobile hard disk, a ROM, a RAM, a magnetic disk or an optical disk.
[0106] The above is only a specific embodiment of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of changes or replacements within the technical range disclosed by the present application, which should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A key generation system, characterized in that, The key generation system includes a data processing device, a data acquisition device connected to the data processing device, and a plurality of sonar acquisition sensors connected to the data acquisition device. Each of the sonar acquisition sensors is located at a different ocean depth and is used to perform sonar acquisition of organisms in the ocean area corresponding to its respective ocean depth. The sonar acquisition sensor is used to acquire the data acquisition signal sent by the data acquisition device, and to acquire the sonar information corresponding to organisms in the ocean area based on the data acquisition signal. The sonar information includes at least the audio Hertz of the sound frequencies of different organisms located at different ocean depths and the acquisition timestamp. The acquisition timestamp is used to mark the current acquisition operation. The data acquisition device is used to acquire the sonar information collected by each of the sonar acquisition sensors at the same time point, and to mix the emitted audio according to the audio hertz to obtain an audio array corresponding to different organisms in different sea areas. The audio array includes the audio hertz and audio wavelength corresponding to each organism. Then, a key generation formula is obtained, and the audio array is substituted into the key generation formula to obtain a sequence corresponding to the sonar information. The sequence is then randomly selected to generate a dynamic key for data encryption. The data processing device is used to perform corresponding data encryption operations based on the dynamic key; Specifically, the data acquisition device is used to substitute the audio Hertz and audio wavelength corresponding to each of the organisms into the following key generation formula to obtain a sequence of numbers corresponding to the sonar information: ×cos(y1)+ ×cos(y2)+ ×cos(y3)+…+ ×cos(y N )=α, in, x 1. x 2. x 3… x n Used to characterize audio frequency Hertz y 1. y 2. y 3… y N Used to characterize audio wavelengths.
2. The key generation system according to claim 1, characterized in that, The data acquisition device is specifically used to acquire audio sound waves, and to calculate the audio wavelength corresponding to the vocal audio of each organism by using the audio hertz corresponding to each organism and the audio sound waves; the audio hertz and audio wavelength corresponding to each organism are stored sequentially into an array to obtain an audio array corresponding to different organisms located in different sea areas.
3. The key generation system according to claim 1, characterized in that, The data processing device is used to respond to user operations and generate corresponding data acquisition instructions; The data acquisition device is specifically used to obtain the key length corresponding to the data acquisition command; to randomly select a position from the sequence using the key length to obtain a random sequence corresponding to the key length and used for data encryption, and to use the random sequence as a dynamic key.
4. A method for generating a dynamic key, characterized in that, Applied to a data acquisition device, the data acquisition device including sonar acquisition sensors located at different ocean depths, the method includes: Acquire sonar information collected by each of the sonar acquisition sensors at the same time point. The sonar information includes at least the audio Hertz of the sound emitted by different organisms at different ocean depths and the acquisition timestamp. The acquisition timestamp is used to mark the current acquisition operation. The audio frequencies are mixed to obtain audio arrays corresponding to different organisms in different sea areas. The audio arrays include the audio frequencies and wavelengths corresponding to each organism. Obtain the key generation formula, and substitute the audio array into the key generation formula to obtain the sequence corresponding to the sonar information; Randomly select positions from the sequence to generate a dynamic key for data encryption; The step of substituting the audio array into the key generation formula to obtain the sequence corresponding to the sonar information includes: Substituting the audio Hertz and audio wavelength corresponding to each of the aforementioned organisms into the following key generation formula, a sequence corresponding to the sonar information is obtained: ×cos(y1)+ ×cos(y2)+ ×cos(y3)+…+ ×cos(y N )=α, in, x 1. x 2. x 3… x n Used to characterize audio frequency Hertz y 1. y 2. y 3… y N Used to characterize audio wavelengths.
5. The method according to claim 4, characterized in that, The step of mixing the emitted audio based on the audio hertz to obtain audio arrays corresponding to different organisms in different sea areas includes: Acquire audio sound waves, and use the audio Hertz corresponding to each of the organisms and the audio sound waves to calculate the audio wavelength corresponding to the vocal audio of each organism; The audio hertz and audio wavelength corresponding to each of the organisms are stored sequentially into an array to obtain the audio arrays corresponding to different organisms located in different sea areas.
6. The method according to claim 4, characterized in that, The step of randomly selecting bits from the sequence to generate a dynamic key for data encryption includes: Responding to user actions and generating corresponding data acquisition commands; Obtain the key length corresponding to the data acquisition command; Random positions are randomly selected from the sequence using the key length to obtain a random sequence corresponding to the key length and used for data encryption, and the random sequence is used as a dynamic key.
7. An electronic device, characterized in that, It includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; The memory is used to store computer programs; When the processor executes a program stored in the memory, it implements the method as described in any one of claims 4-6.
8. A computer-readable storage medium having instructions stored thereon that, when executed by one or more processors, cause the processors to perform the method as described in any one of claims 4-6.
Citation Information
Patent Citations
Key generation from an imaging sensor
CN109698742A
Methods and systems for secure biometric authentication
CN110390191A