Character display method, device, electronic device and computer readable storage medium
By generating temporary keys in the security chip to encrypt and decrypt font library characters, the display error problem caused by low font library security is solved, and the security and accuracy of character transmission and display are achieved.
Patent Information
- Application Number
- CN202010774508.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-04
- Publication Date
- 2024-12-13
- Estimated Expiration
- 2040-08-04
AI Technical Summary
In the prior art, the security of font libraries is low and easy to be tampered with, resulting in the problem of character displaying incorrect information.
By extracting data from the data storage space of the security chip to generate a temporary key, encrypting the characters in the font library, obtaining encrypted character information, and decrypting and verifying it when displaying to ensure the accuracy of the displayed characters.
Improves the security of the font library, prevents tampering and error information, and ensures character security and accuracy during transmission and display.
Smart Images

Figure CN112307491B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of network security technology. Specifically, the present application relates to a character display method, device, electronic device and computer-readable storage medium. Background Art
[0002] At present, in order to ensure the security of customer transactions in the banking system, transaction information is usually verified and displayed through Youdun.
[0003] The hardware structure of Youdun mainly includes: security chip and independent external chip; the security chip is mainly used to store confidential files such as codes and algorithms. The security chip is not easily damaged by the outside world, so its safety factor is very high; the independent external chip stores the font library, which includes multiple font information, and each font information represents the dot matrix structure of a character. When Youdun needs to display a character, the font information of the character is extracted from the font library and displayed on the display screen for the user to check.
[0004] However, the inventors have found that there are certain security risks in the prior art of storing the character library in an independent external chip; because the safety factor of the independent external chip is low, the character library is more likely to be tampered with. For example, when the actual information to be displayed is "transfer 200,000 yuan to Zhang San", due to the tampering of the character library, the original storage positions of "Zhang" and "San" are tampered with to "Li" and "Si". Although "Zhang San" is still displayed on the display screen, the actual transfer object has been changed to "Li Si", which will cause economic losses to customers; it can be seen that in the prior art, due to the low security of the character library, the character library is easily tampered with, resulting in the problem of displaying wrong information. Summary of the invention
[0005] The present application provides a character display method, device, electronic device and computer-readable storage medium, which can solve the problem of displaying wrong information due to the low security of the character library, which is easy to be tampered with. The technical solution is as follows:
[0006] In a first aspect, a character display method is provided, the method comprising:
[0007] Finding target encrypted information corresponding to the target character from the character library; wherein the character library includes encrypted character information corresponding to at least one character, the encrypted character information is the encryption result of the corresponding character, and the target encrypted information is encrypted character information corresponding to the target character in the character library;
[0008] Display the target characters according to the target encrypted information.
[0009] Specifically, each encrypted character information in the character library is obtained in the following manner:
[0010] For each character of the at least one character, the character is encrypted using a pre-stored secret key to obtain encrypted character information corresponding to the character.
[0011] Specifically, this method is applied to a display device with a security chip, and each encrypted character information in the character library is obtained in the following manner:
[0012] Generate a temporary key using data extracted from the data storage space of the security chip;
[0013] For each character of the at least one character, the character is encrypted using the generated secret key to obtain encrypted character information corresponding to the character.
[0014] Specifically, the data storage space is a flash memory sector of the security chip.
[0015] Specifically, the temporary key is generated using data extracted from the data storage space of the security chip, including:
[0016] Extracting data of a preset length from the start position of the data storage space of the security chip, and generating a temporary key using the extracted data;
[0017] The starting position is a preset position in the data storage space, or the starting position is a position randomly selected from the data storage space.
[0018] Specifically, after obtaining the encrypted character information in the character library, the following steps are also included:
[0019] The generated secret key is stored so that before the step of searching the target encrypted information corresponding to the target character from the character library is performed, the step of encrypting each character in the at least one character using the generated secret key is performed;
[0020] Alternatively, the generated key is deleted so that before executing the step of searching the target encrypted information corresponding to the target character from the character library, the step of generating a temporary key using the data extracted from the data storage space of the security chip is executed.
[0021] Specifically, according to the target encrypted information, the target characters are displayed, including:
[0022] The target encrypted information is decrypted and the position and content correctness of the target encrypted information is verified. When the verification is successful, the target characters are displayed.
[0023] In a second aspect, a display device is provided, the display device comprising:
[0024] A search module is used to search for target encrypted information corresponding to a target character from a character library; wherein the character library includes encrypted character information corresponding to at least one character, the encrypted character information is an encryption result of the corresponding character, and the target encrypted information is encrypted character information corresponding to the target character in the character library;
[0025] The display module is used to display target characters according to target encrypted information.
[0026] The display device also includes:
[0027] The first encryption module is used to encrypt each character of at least one character using a pre-stored secret key to obtain encrypted character information corresponding to the character.
[0028] Specifically, the display device includes a security chip, and the display device also includes:
[0029] A key generation module, used to generate a temporary key using data extracted from the data storage space of the security chip;
[0030] The second encryption module is used to encrypt each character of the at least one character using the generated secret key to obtain encrypted character information corresponding to the character.
[0031] Specifically, the data storage space is a flash memory sector of the security chip.
[0032] Specifically, the key generation module is used to:
[0033] Extracting data of a preset length from the start position of the data storage space of the security chip, and generating a temporary key using the extracted data;
[0034] The starting position is a preset position in the data storage space, or the starting position is a position randomly selected from the data storage space.
[0035] Specifically, the display device further includes an operation module, which is used to:
[0036] The generated secret key is stored so that before the search module is used to search for the target encrypted information corresponding to the target character from the character library, the second encryption module is used to implement the function of encrypting each character of the at least one character using the generated secret key;
[0037] Alternatively, the generated key is deleted so that before the search module is used to find the target encrypted information corresponding to the target character from the character library, the key generation module is used to realize the function of generating a temporary key using the data extracted from the data storage space of the security chip.
[0038] In a third aspect, an electronic device is provided, the electronic device comprising:
[0039] one or more processors;
[0040] Memory;
[0041] One or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by one or more processors, and the one or more programs are configured to: execute the above-mentioned character display method.
[0042] In a fourth aspect, a computer-readable storage medium is provided, and when the program is executed by a processor, the above-mentioned character display method is implemented.
[0043] The beneficial effects of the technical solution provided by this application are:
[0044] The technical solution provided by the present application can realize the encryption of each character in the character library to obtain encrypted character information. It can be seen that the security of the character library is also improved; when the characters in the character library need to be transmitted, since the transmitted characters are all encrypted character information, the security of the characters during the transmission process can be guaranteed to avoid being tampered with or destroyed by a third party. Using the technical solution provided by the present application, when the display device needs to display the characters in the character library, since the security of the character library and the transmission process are improved, it can be guaranteed that the characters to be displayed by the display device are accurate and have not been tampered with. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in describing the embodiments of the present application are briefly introduced below.
[0046] Figure 1 A flowchart of a character display method provided in an embodiment of the present application;
[0047] Figure 2 A flowchart of a character encryption method provided in an embodiment of the present application;
[0048] Figure 3 A structural schematic diagram of a character display device provided in an embodiment of the present application;
[0049] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0050] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be interpreted as limiting the present invention.
[0051] It will be understood by those skilled in the art that, unless expressly stated, the singular forms "one", "said", and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present application refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof. It should be understood that when we refer to an element as being "connected" or "coupled" to another element, it may be directly connected or coupled to the other element, or there may be an intermediate element. In addition, the "connection" or "coupling" used herein may include wireless connection or wireless coupling. The term "and / or" used herein includes all or any unit and all combinations of one or more associated listed items.
[0052] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0053] The character display method, device, electronic device and computer-readable storage medium provided in the present application are intended to solve the above technical problems in the prior art.
[0054] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0055] The present application provides a character display method, such as Figure 1 As shown, the method includes:
[0056] Step S11, searching the character library for target encrypted information corresponding to the target character;
[0057] The character library includes encrypted character information corresponding to at least one character, the encrypted character information is the encryption result of the corresponding character, and the target encrypted information is encrypted character information corresponding to the target character in the character library;
[0058] Step S12, displaying target characters according to the target encrypted information; specifically, this step includes:
[0059] The target encrypted information is decrypted and the position and content correctness of the target encrypted information is verified. When the verification is successful, the target characters are displayed. The verification operation of the position information includes the following process:
[0060] During the encryption process, the position information of the target character in the character library can be encrypted at the same time. Before the target character is displayed, the target encrypted information is first decrypted, and the position information is decrypted at the same time. When the decrypted position information is consistent with the pre-saved position information, the verification result is determined to be successful, and the target character is displayed. This process further verifies the position of the target character, and on the basis of preventing the target character from being tampered with, further avoids the possibility of displaying erroneous information on the screen due to the replacement of the target character position.
[0061] Verification of content correctness refers to encrypting the encrypted character information in the font library where the target character is located, for example, performing encryption calculations in various ways such as MAC and Hash. After finding the encrypted character information corresponding to the target character, it is compared with the verification value preset in the security chip. If they are consistent, it means that the content is correct and the target character is displayed.
[0062] Specifically, each encrypted character information in the above character library is obtained in one of the following two ways:
[0063] The first method is to encrypt each character of at least one character using a pre-stored secret key to obtain encrypted character information corresponding to the character.
[0064] Second, since the technical solution provided by this application can be applied to the Youdun with a security chip, the security chip is not easily destroyed or tampered with, therefore, a temporary key can be generated using data extracted from the data storage space of the security chip; for each character in at least one character, the character is encrypted using the generated key to obtain the encrypted character information corresponding to the character. The data storage space is a flash memory sector of the security chip or other area where data is stored.
[0065] In the second method described above, the specific method of generating a temporary key using data extracted from the data storage space of the security chip includes:
[0066] Extracting data of a preset length from the start position of the data storage space of the security chip, and generating a temporary key using the extracted data;
[0067] The starting position is a preset position in the data storage space, or the starting position is a position randomly selected from the data storage space.
[0068] Specifically, after obtaining the encrypted character information in the character library, the following steps are also included:
[0069] The generated secret key is stored so that before the step of searching the target encrypted information corresponding to the target character from the character library is performed, the step of encrypting each character in the at least one character using the generated secret key is performed;
[0070] Alternatively, the generated secret key is deleted so that before the step of searching the target encrypted information corresponding to the target character from the character library is performed, the step of generating a temporary secret key using the data extracted from the data storage space of the security chip is performed;
[0071] The generated secret key is stored so that before executing the step of searching the target encrypted information corresponding to the target character from the character library, the step of encrypting each character in at least one character using the generated secret key is executed.
[0072] It can be seen that the above method can realize the encryption of each character in the character library to obtain encrypted character information, and it can be seen that the security of the character library is also improved; when the characters in the character library need to be transmitted, since the transmitted character information is encrypted, the security of the characters during the transmission process can be guaranteed to avoid being tampered with or destroyed by a third party. Using the technical solution provided by the present application, when the display device needs to display the characters in the character library, since the security of the character library and the transmission process are improved, it can be guaranteed that the characters to be displayed by the display device are accurate and have not been tampered with.
[0073] Two operation methods for encrypting characters are provided in the present application. The first method is to use a stored secret key for encryption. This method is relatively simple and quick, but the secret key is pre-stored, so there is also a risk of the secret key being stolen. In order to avoid this possibility, the present application provides a second encryption method: extracting part of the data from the flash memory sector of the security chip, using the part of the data to generate a temporary secret key, and using the generated secret key to encrypt the characters. The advantage of this method is that the security chip itself has a high security factor and is not easily damaged or stolen. Therefore, the data extracted from the flash memory sector of the security chip is safe data, and the secret key generated using these data is also highly secure. The generated secret key is then used to encrypt the characters, and the security of the encrypted characters will be higher.
[0074] In an embodiment of the present application, a possible specific implementation method is provided, which is used to encrypt characters in a character library. The encryption methods include the following two methods:
[0075] The first method is to encrypt the characters in the font library using a pre-stored secret key to obtain the encrypted character information corresponding to the character;
[0076] For example, encrypt the character "Li" in the font library using a pre-stored secret key, and the encrypted character information obtained is "xx";
[0077] The pre-stored secret key can be set according to the actual situation;
[0078] Second, generate a temporary secret key using the data in the security chip, as Figure 2 shown, the specific process is as follows:
[0079] Step S21, extract data from the data storage space of the security chip;
[0080] In this step, the data extraction can be selected from one of the following methods:
[0081] Extract data of a preset length starting from the starting position of the data storage space of the security chip. The preset length can be set according to the actual situation; among them, the starting position is a preset position in the data storage space, and this preset position can also be selected according to the actual situation;
[0082] Or, the starting position is a randomly selected position from the data storage space, and the length of the extracted data can also be randomly set.
[0083] The data storage space can be the flash memory sector in the security chip.
[0084] Step S22, use the extracted data to encrypt the character and generate encrypted character information;
[0085] For example, encrypt the character "Li" in the font library using a pre-stored secret key, and the encrypted character information obtained is "YY";
[0086] The advantage of using the second method for encryption is that: the security chip itself has a very high security factor and is not easily damaged or stolen. Therefore, the data extracted from the flash memory sector of the security chip is secure data, and the security factor of the secret key generated using these data is also very high. Then, use the generated secret key to encrypt the character, and the security of the encrypted character will be higher.
[0087] After completing the above process of encrypting the characters in the font library, the generated secret key can be stored for direct access when used next time; or the generated secret key can be deleted, that is, cleared from the cache. If a secret key is needed next time, a new secret key can be generated. This method can prevent the secret key from being tampered with.
[0088] When it is necessary to search for the target character "Li" in the font library, first search for the target encrypted information "YY" corresponding to the target character "Li" in the font library, then decrypt the target encrypted information "YY", and display the decrypted target character.
[0089] The operation of encrypting the characters in the character library may be to encrypt all the characters in the character library in advance, or to encrypt the obtained characters when a certain character needs to be obtained.
[0090] The present application embodiment provides a display device, such as Figure 3 As shown, the display device includes:
[0091] The search module 31 is used to search for target encrypted information corresponding to the target character from the character library; wherein the character library includes encrypted character information corresponding to at least one character, the encrypted character information is the encryption result of the corresponding character, and the target encrypted information is encrypted character information corresponding to the target character in the character library;
[0092] The display module 32 is used to display target characters according to the target encrypted information.
[0093] The display device also includes:
[0094] The first encryption module 33 is used to encrypt each character of the at least one character using a pre-stored secret key to obtain encrypted character information corresponding to the character.
[0095] The display device includes a security chip, and the display device also includes:
[0096] A key generation module 34, used to generate a temporary key using data extracted from the data storage space of the security chip;
[0097] The second encryption module 35 is used to encrypt each character of the at least one character using the generated secret key to obtain encrypted character information corresponding to the character.
[0098] The data storage space is the flash memory sector of the security chip.
[0099] The key generation module 34 is specifically used for:
[0100] Extracting data of a preset length from the start position of the data storage space of the security chip, and generating a temporary key using the extracted data;
[0101] The starting position is a preset position in the data storage space, or the starting position is a position randomly selected from the data storage space.
[0102] The display device further includes an operating module 36, which is used to:
[0103] The generated secret key is stored so that before the search module 31 searches for the target encrypted information corresponding to the target character from the character library, the second encryption module 35 is used to implement the function of encrypting each character of the at least one character using the generated secret key;
[0104] Alternatively, the generated key is deleted so that before the search module 31 is used to find the target encrypted information corresponding to the target character from the character library, the key generation module 34 is used to realize the function of generating a temporary key using the data extracted from the data storage space of the security chip.
[0105] The display module 32 is also used to perform a decryption operation on the target encrypted information and to verify the correctness of the position and content of the target encrypted information. When it is determined that the verification is successful, the target characters are displayed.
[0106] The technical solution provided by the present application can realize the encryption of each character in the character library to obtain encrypted character information. It can be seen that the security of the character library is also improved; when the characters in the character library need to be transmitted, since the transmitted characters are all encrypted character information, the security of the characters during the transmission process can be guaranteed to avoid being tampered with or destroyed by a third party. Using the technical solution provided by the present application, when the display device needs to display the characters in the character library, since the security of the character library and the transmission process are improved, it can be guaranteed that the characters to be displayed by the display device are accurate and have not been tampered with. Two operation methods for encrypting characters are provided in the present application. The first method is to use a stored secret key for encryption. This method is relatively simple and quick, but the secret key is pre-stored, so there is also a risk of the secret key being stolen. In order to avoid this possibility, the present application provides a second encryption method: extracting part of the data from the flash memory sector of the security chip, using the part of the data to generate a temporary secret key, and using the generated secret key to encrypt the characters. The advantage of this method is that the security chip itself has a high security factor and is not easily damaged or stolen. Therefore, the data extracted from the flash memory sector of the security chip is safe data, and the secret key generated using these data is also highly secure. The generated secret key is then used to encrypt the characters, and the security of the encrypted characters will be higher.
[0107] An electronic device is provided in an embodiment of the present application, the electronic device comprising: a memory and a processor; at least one program stored in the memory, which can be used to implement the character display method in the above embodiment when executed by the processor. The electronic device can be Youdun.
[0108] In an alternative embodiment, an electronic device is provided, such as Figure 4 As shown, Figure 4The electronic device 4000 shown includes: a processor 4001 and a memory 4003. The processor 4001 and the memory 4003 are connected, such as through a bus 4002. Optionally, the electronic device 4000 may also include a transceiver 4004. It should be noted that in actual applications, the transceiver 4004 is not limited to one, and the structure of the electronic device 4000 does not constitute a limitation on the embodiments of the present application.
[0109] Processor 4001 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. Processor 4001 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.
[0110] The bus 4002 may include a path for transmitting information between the above components. The bus 4002 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus 4002 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0111] The memory 4003 can be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disk storage (including compressed optical disk, laser disk, optical disk, digital versatile disk, Blu-ray disk, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to this.
[0112] The memory 4003 is used to store the application code for executing the solution of the present application, and the execution is controlled by the processor 4001. The processor 4001 is used to execute the application code stored in the memory 4003 to implement the contents shown in the above method embodiment.
[0113] The embodiment of the present application provides a computer-readable storage medium, which stores a computer program, and when the computer-readable storage medium is run on a computer, the computer can execute the corresponding content in the above method embodiment, and can be used to implement the character display method in the above embodiment.
[0114] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
[0115] The above descriptions are only some embodiments of the present invention. It should be pointed out that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A character display method, characterized in that: include: Finding target encrypted information corresponding to a target character from a character library; wherein the character library includes encrypted character information corresponding to at least one character, the encrypted character information is an encrypted result of the corresponding character, and the target encrypted information is encrypted character information corresponding to the target character in the character library; the encrypted character information is obtained by encrypting with a secret key when obtaining the corresponding target character; The target encrypted information is decrypted, and the position and content correctness of the target encrypted information are verified. If the verification is successful, the target character is displayed; the target encrypted information includes the position information of the target character; wherein the position verification includes: decrypting the position information, and if the decrypted position information is consistent with the pre-saved position information, the position verification is successful.
2. The method according to claim 1, characterized in that Each encrypted character information in the character library is obtained in the following manner: For each character of the at least one character, the character is encrypted using a pre-stored secret key to obtain encrypted character information corresponding to the character.
3. The method according to claim 1, characterized in that: The method is applied to a display device with a security chip, and each encrypted character information in the character library is obtained in the following manner: generating a temporary key using data extracted from the data storage space of the security chip; For each character of the at least one character, the character is encrypted using the generated secret key to obtain encrypted character information corresponding to the character.
4. The method according to claim 3, characterized in that The data storage space is a flash memory sector of the security chip.
5. The method according to claim 3 or 4, characterized in that: The step of generating a temporary key by using data extracted from the data storage space of the security chip comprises: Extracting data of a preset length from the starting position of the data storage space of the security chip, and generating a temporary key using the extracted data; The starting position is a preset position in the data storage space, or the starting position is an unused position randomly selected from the data storage space.
6. The method according to claim 3 or 4, characterized in that: After obtaining each encrypted character information in the character library, the method further includes: The generated secret key is stored so that before the step of searching the target encrypted information corresponding to the target character from the character library is performed, the step of encrypting each character of the at least one character using the generated secret key is performed; Alternatively, the generated key is deleted so that before executing the step of searching the target encrypted information corresponding to the target character from the character library, the step of generating a temporary key using the data extracted from the data storage space of the security chip is executed.
7. A display device, characterized in that: include: A search module, used to search for target encrypted information corresponding to a target character from a character library; wherein the character library includes encrypted character information corresponding to at least one character, the encrypted character information is an encrypted result of the corresponding character, and the target encrypted information is encrypted character information corresponding to the target character in the character library; the encrypted character information is obtained by encrypting with a secret key when obtaining the corresponding target character; The display module is used to decrypt the target encrypted information and verify the position and content correctness of the target encrypted information. If the verification is successful, the target character is displayed; the target encrypted information includes the position information of the target character; wherein the position verification includes: decrypting the position information, and if the decrypted position information is consistent with the pre-saved position information, the position verification is successful.
8. The display device according to claim 7, characterized in that The display device further includes: The first encryption module is used to encrypt each character of the at least one character using a pre-stored secret key to obtain encrypted character information corresponding to the character.
9. The display device according to claim 8, characterized in that The display device includes a security chip, and the display device further includes: A key generation module, used to generate a temporary key using data extracted from the data storage space of the security chip; The second encryption module is used to encrypt each character of the at least one character using the generated secret key to obtain encrypted character information corresponding to the character.
10. The display device according to claim 9, characterized in that The data storage space is a flash memory sector of the security chip.
11. The display device according to claim 9 or 10, characterized in that: The key generation module is specifically used for: Extracting data of a preset length from the starting position of the data storage space of the security chip, and generating a temporary key using the extracted data; The starting position is a preset position in the data storage space, or the starting position is a position randomly selected from the data storage space.
12. The display device according to claim 9 or 10, characterized in that: The display device further includes an operating module, which is used for: The generated secret key is stored so that before the search module is used to search for target encrypted information corresponding to the target character from the character library, the second encryption module is used to implement a function of encrypting each character of the at least one character using the generated secret key; Alternatively, the generated key is deleted so that before the search module is used to find the target encrypted information corresponding to the target character from the character library, the key generation module is used to realize the function of generating a temporary key using the data extracted from the data storage space of the security chip.
13. An electronic device, characterized in that: It includes: one or more processors; Memory; One or more application programs, wherein the one or more application programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs are configured to: execute the character display method according to any one of claims 1 to 6.
14. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the character display method described in any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Data encryption method and apparatus thereof
CN106685922A
Information security device and information security method using accessibility
US20180083773A1
