Electronic equipment, encryption and decryption key management method thereof and data access control method
By dynamically generating and temporarily storing encryption and decryption keys when the electronic device is powered on, the problem that the data is easily cracked after the data storage module is removed is solved, and effective protection of data privacy and security is achieved.
Patent Information
- Application Number
- CN202310418180.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-17
- Publication Date
- 2024-10-29
AI Technical Summary
Existing technology cannot effectively protect data privacy and security in electronic devices, especially after the data storage module is removed, it is easy to crack and obtain the stored data.
By dynamically generating encryption and decryption keys when the electronic device is powered on, and sending them to or generated by the data storage system, the encryption and decryption keys are only temporarily stored in RAM and cleared after power off, ensuring that the keys are not lost. Long-term preservation.
Even if the data storage module of the data storage system is removed, the stored data cannot be cracked, thus effectively protecting data privacy and security.
Smart Images

Figure CN118862099A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data storage access of electronic devices, and in particular to an electronic device and an encryption and decryption key management method and a data access control method thereof. Background Art
[0002] refer to Figure 1 , the electronic device (such as a computer, a smart mobile storage device, NAS storage, etc.) is internally integrated with a main control system 100 and a data storage system 200. The main control system 100 is responsible for the operation of the electronic device, such as the CPU of a computer and the MCU of a smart mobile storage device. The data storage system 200 is specifically used to store data of the electronic device, such as an SSD or hard disk or Flash memory.
[0003] The data storage module (specifically, a non-volatile memory) inside the data storage system 200 is used to store a large amount of data. These data are generally encrypted and stored. This is due to the consideration of the life of the data storage module. If the data is directly stored without encryption, the life of the data storage module will be affected. Therefore, the data storage system 200 needs to use encryption and decryption keys to encrypt and decrypt data when storing and retrieving data, and the encryption and decryption keys are stored in the data storage module. The traditional method is mainly to perform authentication and authorization access control of data through host-side passwords or fingerprints, so authentication can be avoided by removing the data storage module, and it is easy to crack and obtain the stored data, which cannot well protect data privacy, confidentiality and security. For example, normal access to the data in the hard disk A of a computer A requires identity authentication. If the identity authentication fails, the hard disk data cannot be accessed. If the hard disk A of computer A is removed and hung in computer B, the authentication of computer A can be avoided. As long as computer B can be opened, the data in hard disk A can be cracked and obtained, so data privacy, confidentiality and security are not enough. Summary of the invention
[0004] The technical problem to be solved by the present invention is to provide an electronic device and its encryption and decryption key management method, and a data access control method in view of the above-mentioned defects of the prior art that cannot well protect data privacy, confidentiality and security.
[0005] The technical solution adopted by the present invention to solve its technical problem is:
[0006] On the one hand, a method for managing encryption and decryption keys is constructed and applied to an electronic device, wherein a main control system and a data storage system are integrated inside the electronic device, a wired communication connection and a wired data connection are established between the main control system and the data storage system, and the encryption and decryption keys are required for storing and retrieving data inside the data storage system. The method comprises:
[0007] The main control system obtains device fingerprint information that uniquely identifies the electronic device as key basic information when the electronic device is powered on;
[0008] The main control system dynamically generates an encryption and decryption key using the key basic information, and sends the encryption and decryption key to the data storage system via a wired communication connection; or sends the key basic information to the data storage system via a wired communication connection;
[0009] The data storage system stores the obtained encryption and decryption key in the local RAM; or generates the encryption and decryption key using the received key basic information and stores it in the local RAM.
[0010] Furthermore, in the encryption and decryption key management method described in the present invention, the device fingerprint information includes any one of the following information or any combination of information: device MAC address, SN number, and chip ID of the electronic device.
[0011] Furthermore, in the encryption and decryption key management method described in the present invention, the method also includes: when the electronic device is powered on, the main control system uses pre-stored user identity information to authenticate the user identity, and generates the encryption and decryption key only after the authentication is passed.
[0012] Furthermore, in the encryption and decryption key management method described in the present invention, the key basic information for generating the encryption and decryption key includes not only the device fingerprint information but also the user identity information.
[0013] Furthermore, in the encryption and decryption key management method described in the present invention, the method also includes: after the main control system generates the encryption and decryption key, it converts it into a pseudo key using a preset algorithm, and when the data storage system receives the pseudo key, it restores the pseudo key to the encryption and decryption key by an algorithm matching the preset algorithm.
[0014] Furthermore, in the encryption and decryption key management method of the present invention, the method further includes: when the main control system communicates with the data storage system via a wired communication connection, encrypting and transmitting the communication information.
[0015] Second, construct a data access control method, including:
[0016] Execute the encryption and decryption key management method;
[0017] When the data storage system obtains the data sent by the main control system through the wired data connection, it obtains the encryption and decryption key from the local RAM, and uses the encryption and decryption key to encrypt the data before storing it;
[0018] When the data storage system needs to send data to the main control system, it reads the encrypted stored data and obtains the encryption and decryption key from the local RAM, decrypts the read data using the encryption and decryption key, and sends the data to the main control system through the wired data connection.
[0019] In a third aspect, an electronic device is constructed, wherein a main control system and a data storage system are integrated therein, a wired communication connection and a wired data connection are established between the main control system and the data storage system, and the electronic device implements encryption and decryption key management by using an encryption and decryption key management method based on any of the preceding items.
[0020] In a fourth aspect, an electronic device is constructed, wherein a main control system and a data storage system are integrated inside the electronic device, wherein the main control system includes a key management module, a first communication module, and a first data transmission module, and the data storage system includes a second communication module, an encryption and decryption module, a data storage module, and a second data transmission module, wherein a wired communication connection is established between the first communication module and the second communication module, and a wired data connection is established between the first data transmission module and the second data transmission module;
[0021] The key management module is used to obtain device fingerprint information that uniquely identifies the electronic device as key basic information when the electronic device is powered on, or obtain device fingerprint information that uniquely identifies the electronic device as key basic information and dynamically generate an encryption and decryption key using the key basic information;
[0022] The first communication module is configured to send the encryption and decryption key to the second communication module via a wired communication connection; or send the key basic information to the second communication module via a wired communication connection;
[0023] The encryption and decryption module is used to store the encryption and decryption key obtained by the second communication module in the local RAM; or to generate the encryption and decryption key using the received key basic information and store it in the local RAM.
[0024] The encryption and decryption module is also used to obtain the encryption and decryption key from the local RAM, and use the encryption and decryption key to encrypt the data received by the second data transmission module and then store it in the data storage module;
[0025] The encryption and decryption module is also used to read data from the data storage module and obtain the encryption and decryption key from the local RAM, and use the encryption and decryption key to decrypt the read data and then send it out through the second data transmission module.
[0026] Furthermore, in the electronic device described in the present invention, the main control system also includes a security authentication module, which is used to authenticate the user identity using pre-stored user identity information when the electronic device is powered on, and trigger the key management module to work only after the authentication is passed.
[0027] The electronic device and its encryption / decryption key management method and data access control method of the present invention have the following beneficial effects: the data storage system no longer stores encryption / decryption keys, but when powered on, the main control system dynamically generates an encryption / decryption key and sends it to the data storage system, or the main control system dynamically sends key basic information to the data storage system, and the data storage system generates encryption / decryption keys based on the received key basic information. The encryption / decryption keys received or generated by the data storage system are stored in RAM and deleted when power is off. Therefore, even if the data storage module of the data storage system is removed, the stored data cannot be cracked, thereby protecting data privacy, confidentiality and security. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art are briefly introduced below. Obviously, the drawings in the following description are only embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on the provided drawings without creative work:
[0029] Figure 1 It is a schematic diagram of the structure of an electronic device;
[0030] Figure 2 is a flow chart of a method for managing encryption and decryption keys according to a first embodiment of the present invention;
[0031] Figure 3 is a flow chart of a method for managing encryption and decryption keys according to a second embodiment of the present invention;
[0032] Figure 4 is a flow chart of a data access control method according to a third embodiment of the present invention;
[0033] Figure 5 It is a schematic diagram of the structure of an electronic device according to a fourth embodiment of the present invention. DETAILED DESCRIPTION
[0034] Aiming at the defects of the prior art that the data storage module can be removed and the stored data can be easily cracked and obtained, and the data privacy, confidentiality and security cannot be well protected, the present invention proposes an electronic device and its encryption and decryption key management method, and a data access control method, combined with Figure 1The main idea is: the data storage system 200 no longer stores encryption and decryption keys, but when powered on, the main control system 100 dynamically generates an encryption and decryption key and sends it to the data storage system 200, or the main control system 100 dynamically sends the key basic information to the data storage system 200, and the data storage system 200 generates encryption and decryption keys based on the received key basic information. The encryption and decryption keys received or generated by the data storage system 200 are stored in the RAM and deleted when the power is off. Therefore, even if the data storage module of the data storage system 200 is removed, the stored data cannot be cracked, thereby protecting data privacy, confidentiality and security.
[0035] In order to facilitate the understanding of the present invention, the present invention will be described more fully below with reference to the relevant drawings. Typical embodiments of the present invention are shown in the drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present invention more thorough and comprehensive. It should be understood that the embodiments of the present invention and the specific features in the embodiments are detailed descriptions of the technical solutions of the present application, rather than limitations on the technical solutions of the present application. In the absence of conflict, the embodiments of the present invention and the technical features in the embodiments can be combined with each other.
[0036] Embodiment 1
[0037] This embodiment is an encryption and decryption key management method, which is applied to electronic devices, including but not limited to computers, mobile storage devices, NAS, etc. Figure 1, the electronic device integrates a main control system 100 and a data storage system 200. The main control system 100 is responsible for the operation of the electronic device, such as the CPU of a computer and the MCU of an intelligent mobile storage device. The data storage system 200 is specifically used to store data of the electronic device, such as an SSD or a hard disk or a Flash memory. A wired communication connection and a wired data connection are established between the main control system 100 and the data storage system 200. The wired communication connection includes but is not limited to I2C and UART, and the wired data connection includes but is not limited to PCIe, SATA, and USB. The main control system 100 sends the data to the data storage system 200 for encrypted storage via a wired data connection. Similarly, the data storage system 200 takes out the data and decrypts it and sends it to the main control system 100 via a wired data connection. The encryption and decryption key management method of the present embodiment is to manage the encryption and decryption keys required for storing and retrieving data in the data storage system 200. In the prior art, the encryption and decryption keys are directly stored in the data storage system 200. Therefore, by disassembling the data storage system 200 and mounting it on other electronic devices, the data in the data storage system 200 can be cracked, and the security and privacy are not enough. For this reason, the encryption and decryption key management method of the present invention proposes not to store the encryption and decryption keys in the data storage system 200, but to dynamically generate an encryption and decryption key each time the electronic device is powered on.
[0038] refer to Figure 2 The encryption and decryption key management method of the present invention includes:
[0039] S101: the main control system 100 uses pre-stored user identity information to authenticate the user identity when the electronic device is powered on;
[0040] Specifically, the identity authentication method includes but is not limited to security authentication methods such as fingerprint recognition, password or face recognition, iris recognition, etc., that is, the pre-stored user identity information can be fingerprint information, password, face information, iris recognition. Only when the input identity information matches the pre-stored user identity information is the identity authentication considered to be passed, and only when the identity authentication is passed can the user obtain the right to use the electronic device. Of course, different electronic devices may have different authentication methods. For example, smart mobile storage devices are generally equipped with fingerprint recognition authentication methods, while computers are generally equipped with passwords or face recognition.
[0041] S102: After the authentication is passed, the device fingerprint information that uniquely identifies the electronic device is obtained as key basic information, and an encryption and decryption key is dynamically generated using the key basic information;
[0042] The device fingerprint information includes but is not limited to any one of the following information or any combination of information: the device MAC address, SN number, and chip ID of the electronic device.
[0043] All the information listed above can uniquely identify an electronic device, that is, the dynamically generated encryption and decryption keys are dependent on the device fingerprint information and are dependent on this electronic device. Therefore, even if the data storage system 200 of electronic device A is disassembled and mounted on the main control system 100 of another electronic device B, even if the identity authentication of the electronic device can be avoided, because the device fingerprint information of electronic device B is different from the device fingerprint information of electronic device A, it cannot provide the correct encryption and decryption keys to the data storage system 200 and cannot crack the data therein.
[0044] Preferably, the key basic information for generating the encryption and decryption key includes not only the device fingerprint information but also the user identity information, which can further enhance the security of data access.
[0045] It should be noted that there is no restriction on the algorithm for generating the secret key. For example, the AES encryption and decryption key can be generated through MD5 / SHA, etc., or other custom algorithms can be used.
[0046] S103: sending the encryption and decryption key to the data storage system 200 via a wired communication connection;
[0047] As a preferred method, after generating the encryption and decryption key, the main control system 100 can also use a preset algorithm to convert the encryption and decryption key into a pseudo key. When the data storage system 200 receives the pseudo key, it restores the pseudo key to the encryption and decryption key through an algorithm matching the preset algorithm.
[0048] Further preferably, when the main control system 100 communicates with the data storage system 200 via a wired communication connection, the communication information is encrypted for transmission, and the data storage system 200 needs to decrypt the communication information when receiving it.
[0049] In short, the encryption / decryption key may be sent in plain text or encrypted, or may be sent directly in plain text or encrypted in the form of a pseudo-secret key.
[0050] S104: The data storage system 200 stores the obtained encryption and decryption key in the local RAM;
[0051] The encryption and decryption keys are only temporarily stored in the local RAM. Once the power is turned off, the data in the RAM will be cleared. Therefore, the data storage system 200 will not store the encryption and decryption keys for a long time. They are only stored for a short time after power-on and will be cleared when the power is turned off. Therefore, this embodiment will only dynamically generate the encryption and decryption keys and transmit them to the data storage system 200 when powered on, thereby improving the confidentiality of the key information.
[0052] The advantage of this embodiment is that even if the data storage system 200 is dismantled and the identity authentication of the electronic device can be bypassed, since the device fingerprint information of each device is unique, the encryption and decryption keys dynamically generated by each electronic device are different, so the data in the data storage system 200 cannot be cracked. This can well protect data privacy and improve the data security of electronic devices.
[0053] Embodiment 2
[0054] refer to Figure 3 This embodiment provides an encryption and decryption key management method, including:
[0055] S201: the main control system 100 uses the pre-stored user identity information to authenticate the user identity when the electronic device is powered on;
[0056] For details, please refer to the embodiment part, which will not be described here.
[0057] S202: the main control system 100 obtains device fingerprint information that uniquely identifies the electronic device as key basic information when the electronic device is powered on and started;
[0058] The difference between this step and the first embodiment is that the main control system 100 does not generate a secret key.
[0059] S203: The main control system 100 sends the key basic information to the data storage system 200 via a wired communication connection;
[0060] Compared with the first embodiment, the main control system 100 in this embodiment does not generate a secret key, but only sends the basic information of the secret key to the data storage system 200, allowing the data storage system 200 to generate encryption and decryption keys by itself.
[0061] The content and transmission method of the key basic information can refer to the part of the embodiment, which can be sent in plain text or encrypted, or directly sent in plain text or encrypted in a pseudo-key manner. It can be understood that this embodiment is equivalent to replacing the encryption and decryption key sent in the first embodiment with the key basic information.
[0062] S204: The data storage system 200 generates the encryption and decryption key using the received key basic information and stores it in the local RAM.
[0063] The method for generating the encryption and decryption key is the same as in the first embodiment, which can be to generate the AES encryption and decryption key through MD5 / SHA, etc., or other custom algorithms. Similarly, the generated encryption and decryption key is only temporarily stored in the RAM.
[0064] Embodiment 3
[0065] refer to Figure 4 This embodiment provides a data access control method, including:
[0066] S301: Execute the encryption and decryption key management method. If data needs to be stored, execute step S302; if data needs to be retrieved, execute step S303;
[0067] S302: the data storage system 200 obtains the encryption and decryption key from the local RAM, encrypts the data sent by the main control system 100 obtained through the wired data connection by using the encryption and decryption key, and then stores the data;
[0068] The encrypted data is specifically stored in the data storage module of the data storage system 200. This module is a non-volatile memory, so the data stored therein will not be cleared even if the power is off, and is permanent storage.
[0069] S303: the data storage system 200 obtains the encryption and decryption key from the local RAM, decrypts the encrypted and stored data using the encryption and decryption key, and sends the decrypted data to the main control system 100 through the wired data connection.
[0070] Similarly, the encrypted data is taken out from the data storage module, decrypted using the encryption and decryption key, and then sent out.
[0071] Preferably, in this embodiment, data encryption and decryption are specifically AES hardware encryption and decryption to increase the encryption and decryption speed.
[0072] Embodiment 4
[0073] refer to Figure 5 This embodiment provides an electronic device, in which a main control system 100 and a data storage system 200 are integrated. The main control system 100 includes a security authentication module 101, a key management module 102, a first communication module 103, and a first data transmission module 104. The data storage system 200 includes a second communication module 201, an encryption and decryption module 202, a data storage module 203, and a second data transmission module 204.
[0074] A wired communication connection is established between the first communication module and the second communication module 201, including but not limited to I2C and UART, which is mainly responsible for the communication between the main control system 100 and the data storage system 200, including the transmission of the encryption and decryption keys in the present invention.
[0075] A wired data connection is established between the first data transmission module 104 and the second data transmission module 204, including but not limited to PCIe, SATA, USB, which is mainly responsible for data transmission between the main control system 100 and the data storage system 200, including data to be stored and data to be retrieved.
[0076] The security authentication module 101 is used to authenticate the user identity using the pre-stored user identity information when the electronic device is powered on, and trigger the key management module 102 to work only after the authentication is passed. For details, please refer to steps S101 and S201 in the first and second embodiments.
[0077] The key management module 102 is used to obtain device fingerprint information that uniquely identifies the electronic device as key basic information when the electronic device is powered on, or obtain device fingerprint information that uniquely identifies the electronic device as key basic information and dynamically generate an encryption and decryption key using the key basic information. For details, please refer to steps S102 and S202 in Example 1 and Example 2.
[0078] The first communication module 103 is used to send the encryption and decryption key to the second communication module 201 through a wired communication connection; or send the key basic information to the second communication module 201 through a wired communication connection. For details, please refer to steps S103 and S203 in the first and second embodiments.
[0079] The encryption and decryption module 202 is used to store the encryption and decryption key obtained by the second communication module 201 in the local RAM; or to generate the encryption and decryption key using the received key basic information and store it in the local RAM. For details, please refer to steps S104 and S204 in the first and second embodiments.
[0080] The encryption / decryption module 202 is further used to obtain the encryption / decryption key from the local RAM, and use the encryption / decryption key to encrypt the data received by the second data transmission module 204 and then store it in the data storage module 203. For details, please refer to step S302 in embodiment 3.
[0081] The encryption / decryption module 202 is also used to read data from the data storage module 203 and obtain the encryption / decryption key from the local RAM, and use the encryption / decryption key to decrypt the read data and send it out through the second data transmission module 204. For details, please refer to step S303 in Example 3.
[0082] The functions of the functional modules of the electronic device described in the embodiment of the present invention can be specifically implemented according to the method in the above method embodiment. The specific implementation process can refer to the relevant description of the above method embodiment, which will not be repeated here.
[0083] The above description relates to various modules. These modules generally include hardware and / or a combination of hardware and software (e.g., firmware). These modules may also include a computer-readable medium (e.g., a permanent medium) containing instructions (e.g., software instructions), and when the processor executes these instructions, various functional features of the present invention can be executed. Accordingly, unless explicitly required, the scope of the present invention is not limited by the specific hardware and / or software features in the modules explicitly mentioned in the embodiments. As a non-limiting example, the present invention can be executed by one or more processors in the embodiments. It should be noted that in the description of various modules above, the modules are divided into these modules for the purpose of clarity. However, in actual implementation, the boundaries of various modules may be vague. For example, any or all functional modules herein may share various hardware and / or software elements. For another example, any and / or all functional modules herein may be implemented in whole or in part by a common processor executing software instructions. In addition, various software submodules executed by one or more processors may be shared between various software modules. Accordingly, unless explicitly required, the scope of the present invention is not limited by the mandatory boundaries between various hardware and / or software elements.
[0084] To sum up, the electronic device and its encryption and decryption key management method and data access control method of the present invention have the following beneficial effects: the data storage system no longer stores encryption and decryption keys, but when powered on, the main control system dynamically generates an encryption and decryption key and sends it to the data storage system, or the main control system dynamically sends key basic information to the data storage system, and the data storage system generates encryption and decryption keys based on the received key basic information. The encryption and decryption keys received or generated by the data storage system are stored in RAM and deleted when power is off. Therefore, even if the data storage module of the data storage system is removed, the stored data cannot be cracked, thereby protecting data privacy, confidentiality and security.
[0085] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention.
[0086] Terms including ordinal numbers such as "first" and "second" used in this specification may be used to describe various components, but these components are not limited by these terms. The purpose of using these terms is only to distinguish one component from other components. For example, without departing from the scope of the present invention, the first component may be named as the second component, and similarly, the second component may also be named as the first component.
[0087] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.
Claims
1. A method for managing encryption and decryption keys, applied to electronic equipment, characterized in that: The electronic device is internally integrated with a main control system and a data storage system, a wired communication connection and a wired data connection are established between the main control system and the data storage system, the encryption and decryption key is required for storing and retrieving data in the data storage system, and the method includes: The main control system obtains device fingerprint information that uniquely identifies the electronic device as key basic information when the electronic device is powered on; The main control system dynamically generates an encryption and decryption key using the key basic information, and sends the encryption and decryption key to the data storage system via a wired communication connection; or sends the key basic information to the data storage system via a wired communication connection; The data storage system stores the obtained encryption and decryption key in the local RAM; or generates the encryption and decryption key using the received key basic information and stores it in the local RAM.
2. The encryption and decryption key management method according to claim 1, characterized in that: The device fingerprint information includes any one of the following information or any combination of information: device MAC address, SN number, and chip ID of the electronic device.
3. The encryption and decryption key management method according to claim 1, characterized in that: The method further includes: when the electronic device is powered on, the main control system uses pre-stored user identity information to authenticate the user identity, and generates the encryption and decryption key only after the authentication is passed.
4. The encryption and decryption key management method according to claim 3, characterized in that: The key basic information for generating the encryption and decryption key includes not only the device fingerprint information but also the user identity information.
5. The encryption and decryption key management method according to claim 1, characterized in that: The method also includes: after the main control system generates the encryption and decryption key, it converts it into a pseudo key using a preset algorithm, and when the data storage system receives the pseudo key, it restores the pseudo key to the encryption and decryption key using an algorithm matching the preset algorithm.
6. The encryption and decryption key management method according to claim 1, characterized in that: The method further includes: when the main control system communicates with the data storage system via a wired communication connection, encrypting and transmitting the communication information.
7. A data access control method, characterized in that: include: Execute the encryption and decryption key management method according to any one of claims 1 to 6; When the data storage system obtains the data sent by the main control system through the wired data connection, it obtains the encryption and decryption key from the local RAM, and uses the encryption and decryption key to encrypt the data before storing it; When the data storage system needs to send data to the main control system, it reads the encrypted stored data and obtains the encryption and decryption key from the local RAM, decrypts the read data using the encryption and decryption key, and sends the data to the main control system through the wired data connection.
8. An electronic device, characterized in that: The electronic device integrates a main control system and a data storage system, and a wired communication connection and a wired data connection are established between the main control system and the data storage system. The electronic device implements encryption and decryption key management based on the encryption and decryption key management method according to any one of claims 1-6.
9. An electronic device, characterized in that: The electronic device is internally integrated with a main control system and a data storage system, the main control system includes a key management module, a first communication module, and a first data transmission module, the data storage system includes a second communication module, an encryption and decryption module, a data storage module, and a second data transmission module, a wired communication connection is established between the first communication module and the second communication module, and a wired data connection is established between the first data transmission module and the second data transmission module; The key management module is used to obtain device fingerprint information that uniquely identifies the electronic device as key basic information when the electronic device is powered on, or obtain device fingerprint information that uniquely identifies the electronic device as key basic information and dynamically generate an encryption and decryption key using the key basic information; The first communication module is configured to send the encryption and decryption key to the second communication module via a wired communication connection; or send the key basic information to the second communication module via a wired communication connection; The encryption and decryption module is used to store the encryption and decryption key obtained by the second communication module in the local RAM; or to generate the encryption and decryption key using the received key basic information and store it in the local RAM. The encryption and decryption module is also used to obtain the encryption and decryption key from the local RAM, and use the encryption and decryption key to encrypt the data received by the second data transmission module and then store it in the data storage module; The encryption and decryption module is also used to read data from the data storage module and obtain the encryption and decryption key from the local RAM, and use the encryption and decryption key to decrypt the read data and then send it out through the second data transmission module.
10. The electronic device according to claim 9, characterized in that: The main control system also includes a security authentication module, which is used to authenticate the user identity using pre-stored user identity information when the electronic device is powered on, and trigger the key management module to work only after the authentication is passed.
