Engineering mode encryption method and device of electronic equipment, electronic equipment and storage medium

By receiving authentication from production tools and decryption tools, and using pre-agreed decryption methods to encrypt and decrypt electronic devices, the engineering model solves the problems of low security and low operability in existing technologies, and achieves more secure and reliable engineering model management.

CN113987548BActive Publication Date: 2026-01-23SHANGHAI WINGTECH ELECTRONICS TECH
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202111320585.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-09
Publication Date
2026-01-23
Estimated Expiration
2041-11-09

AI Technical Summary

Technical Problem

In existing technologies, the engineering mode encryption process of electronic devices is not very secure, and the decryption process is cumbersome and has low operability.

Method used

By receiving encryption instructions sent by the production tool, the identity information is decrypted using a pre-agreed decryption method. After successful decryption, the engineering mode of the electronic device is encrypted. At the same time, the authentication information of the decryption tool is received, and the engineering mode is decrypted after authentication using a pre-agreed authentication method.

Benefits of technology

It achieves secure and reliable encryption and decryption in the engineering mode of electronic devices, avoiding arbitrary encryption and decryption, and improving the security and reliability of the devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113987548B_ABST
    Figure CN113987548B_ABST
Patent Text Reader

Abstract

The present disclosure relates to an engineering mode encryption method and device of an electronic device, the electronic device and a storage medium. The engineering mode encryption method of the electronic device comprises: the electronic device enters a boot mode based on a control instruction; an encryption instruction sent by a production tool is received, wherein the encryption instruction comprises identity information of the production tool, and the identity information is pre-encrypted by the production tool through a first encryption mode; the identity information is decrypted based on a pre-agreed first decryption mode, and after successful decryption, the engineering mode of the electronic device is encrypted based on the encryption instruction. Only the production tool that passes the authorized verification has the right to encrypt the engineering mode of the electronic device, effectively avoiding the arbitrary encryption of the engineering mode of the electronic device, making the encryption process more secure and reliable, and ensuring the security and reliability of the electronic device.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the technical field of electronic devices, and particularly relates to an engineering mode encryption method and device of an electronic device, an electronic device and a storage medium. BACKGROUND

[0002] In related technologies, for electronic devices such as smart phones and the like installed with an Android system, sometimes it is necessary to enter an engineering mode to realize functions such as maintenance of the electronic device through functions opened in the engineering mode. However, these functions and the engineering mode are usually not open to users, and in order to avoid users entering the engineering mode, the usual practice is to encrypt the engineering mode, and when personnel such as after-sales personnel need to use some functions of the engineering mode, the engineering mode is decrypted and then operated. Thus, the use of the engineering mode by users can be avoided.

[0003] However, for the encryption and decryption of the above-mentioned power supply mode, the current practice is usually that encryption is implemented through instructions, and decryption is implemented through flashing of an image partition. However, the instructions of the encryption process can be used at will, and the security is not high, the image decryption is relatively cumbersome to make, has a high requirement for version uniqueness, and has low operability. SUMMARY

[0004] Therefore, it is necessary to provide an engineering mode encryption method and device of an electronic device, an electronic device and a storage medium in view of the above technical problems.

[0005] Embodiments of the first aspect of the present application provide an engineering mode encryption method of an electronic device, comprising:

[0006] The electronic device enters a boot mode based on a control instruction;

[0007] An encryption instruction sent by a production tool is received, wherein the encryption instruction comprises identity information of the production tool, and the identity information is pre-encrypted by the production tool through a first encryption method;

[0008] The identity information is decrypted based on a pre-agreed first decryption method, and the engineering mode of the electronic device is encrypted based on the encryption instruction after successful decryption.

[0009] In some examples, before the electronic device enters the boot mode based on the control instruction, the method further comprises:

[0010] The first public key of the production tool sent by the production tool is received to obtain the first decryption method based on the first public key.

[0011] In some examples, the identity information is pre-encrypted by the production tool through a first private key in the production tool that matches the first public key.

[0012] Embodiments of the second aspect of the application provide an engineering mode decryption method of an electronic device, comprising:

[0013] receiving a decryption request sent by a decryption tool;

[0014] sending authentication information to the decryption tool, wherein the authentication information is encrypted by the electronic device through a second encryption manner, and the authentication information is used to identify the identity of the decryption tool;

[0015] decrypting the engineering mode of the electronic device based on the input of the decryption tool after the decryption tool decrypts the authentication information through a second decryption manner and completes authentication.

[0016] In some examples, the electronic device pre-stores a second public key of the decryption tool to encrypt the authentication information through the second public key, and the decryption tool decrypts the authentication information through a second private key of the decryption tool matched with the second public key.

[0017] Embodiments of the third aspect of the application provide an engineering mode encryption system of an electronic device, comprising:

[0018] a control module configured to control the electronic device to enter a boot mode based on a control instruction;

[0019] a first receiving module configured to receive an encryption instruction sent by a production tool, wherein the encryption instruction comprises identity information of the production tool, and the identity information is pre-encrypted by the production tool through a first encryption manner;

[0020] an engineering mode encryption module configured to decrypt the identity information based on a pre-agreed first decryption manner, and encrypt the engineering mode of the electronic device based on the encryption instruction after successful decryption.

[0021] Embodiments of the fourth aspect of the application provide an engineering mode decryption apparatus of an electronic device, comprising:

[0022] a second receiving module configured to receive a decryption request sent by a decryption tool;

[0023] a sending module configured to send authentication information to the decryption tool, wherein the authentication information is encrypted by the electronic device through a second encryption manner, and the authentication information is used to identify the identity of the decryption tool;

[0024] an engineering mode decryption module configured to decrypt the engineering mode of the electronic device based on the input of the decryption tool after the decryption tool decrypts the authentication information through a second decryption manner and completes authentication.

[0025] The embodiment of the fifth aspect of the present application provides an electronic device, comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the processor loads and executes the instruction, the program, the code set or the instruction set to implement the steps of the engineering mode encryption method of the electronic device provided by the embodiment of the first aspect of the present application and / or the steps of the engineering mode decryption method of the electronic device provided by the embodiment of the second aspect of the present application.

[0026] The embodiment of the sixth aspect of the present application provides a non-transitory computer readable storage medium, when the instructions in the storage medium are executed by the processor of the mobile terminal, the mobile terminal can execute the steps of the engineering mode encryption method of the electronic device provided by the embodiment of the first aspect of the present application and / or the steps of the engineering mode decryption method of the electronic device provided by the embodiment of the second aspect of the present application.

[0027] The embodiment of the seventh aspect of the present application provides a computer program product, when the instructions in the computer program product are executed by the processor of the mobile terminal, the mobile terminal can execute the steps of the engineering mode encryption method of the electronic device provided by the embodiment of the first aspect of the present application and / or the steps of the engineering mode decryption method of the electronic device provided by the embodiment of the second aspect of the present application.

[0028] The engineering mode encryption method, device, electronic device and storage medium provided by the embodiment of the present application first control the electronic device to enter the boot mode, then receive the encryption instruction sent by the production tool, and decrypt the identity information of the production tool according to the first decryption mode agreed in advance, and encrypt the engineering mode of the electronic device after successful decryption. Therefore, only the production tool that passes the authorized verification has the right to encrypt the engineering mode of the electronic device, effectively avoiding the random encryption of the engineering mode of the electronic device, making the encryption process more secure and reliable, and ensuring the security and reliability of the electronic device. BRIEF DESCRIPTION OF DRAWINGS

[0029] The accompanying drawings, which are incorporated into and form part of the specification, illustrate embodiments consistent with the present application and, together with the specification, serve to explain the principles of the present application.

[0030] Figure 1 It is a flowchart of the engineering mode encryption method of the electronic device in an embodiment;

[0031] Figure 2 It is a flowchart of the engineering mode decryption method of the electronic device in an embodiment;

[0032] Figure 3 It is a structural block diagram of the engineering mode encryption device of the electronic device in an embodiment;

[0033] Figure 4 Structure block diagram of the engineering mode decryption device of the electronic device in one embodiment

[0034] Figure 5 Internal structure diagram of the electronic device in one embodiment. DETAILED DESCRIPTION

[0035] The exemplary embodiments will be described in detail herein below with reference to the drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of apparatuses and methods consistent with some aspects of the present application as detailed in the appended claims.

[0036] The engineering mode encryption method and device of an electronic device, the electronic device and the storage medium according to an embodiment of the present application are described below in conjunction with the accompanying drawings.

[0037] Figure 1 is a flow chart of the engineering mode encryption method of an electronic device according to one embodiment of the present application. As shown in Figure 1 The engineering mode encryption method of an electronic device according to one embodiment of the present application includes the following steps:

[0038] S101: The electronic device enters the boot mode based on a control instruction.

[0039] The electronic device is, but not limited to, a smart phone, a tablet computer, an e-book, etc.

[0040] For example, a smart phone installed with an Android system can be controlled to enter the boot mode, i.e., the fastboot mode, by sending an instruction (i.e., a control instruction) to the smart phone.

[0041] In a specific example, the instruction can be sent to the smart phone by an external tool, such as a production tool used in the production of the smart phone, to make the smart phone enter the fastboot mode. Of course, in other examples, the smart phone can also be made to enter the fastboot mode by means of a combination of keys on the smart phone.

[0042] S102: Receive the encryption instruction sent by the production tool, wherein the encryption instruction includes the identity information of the production tool, and the identity information is pre-encrypted by the production tool through a first encryption method.

[0043] Specifically, after the smart phone enters the fastboot mode, the smart phone can be sent an encryption instruction in the fastboot mode, and the encryption instruction is used to encrypt the engineering mode of the smart phone.

[0044] In a specific example, the encryption instruction includes, but is not limited to, identity information of the production tool, and the identity information is encrypted by the production tool in advance by a first encryption method. The identity information is used to identify the production tool, that is, through the identity information, it can be determined that only the production tool with a specific identity can encrypt the engineering mode of the electronic device. The identity information can be a serial number of the production tool, and of course, it can also be a specific identifier agreed in advance.

[0045] In this example, the first encryption method can be encryption by a private key of the production tool. Specifically, the identity information can be encrypted by the first private key of the production tool in advance. In this case, the production tool can give the public key matching the first private key, that is, the first public key, to the electronic device. Then, the electronic device can complete decryption of the identity information through the first public key.

[0046] S103: decrypt the identity information based on a pre-agreed first decryption method, and encrypt the engineering mode of the electronic device based on the encryption instruction after successful decryption.

[0047] Specifically, before the electronic device enters the boot mode based on the control instruction, it also includes receiving the first public key of the production tool sent by the production tool to obtain the first decryption method based on the first public key. After obtaining the identity information of the production tool, it can be determined whether the production tool has the right to implement the encryption of the engineering mode of the electronic device.

[0048] In the above example, assuming that a production tool A has the right to implement the encryption of the engineering mode of the electronic device, the production tool A can pre-inform the electronic device of its first public key. Thus, after receiving the encryption instruction sent by the production tool, the production tool A can decrypt the identity information decrypted by the first private key of the production tool A, and then determine that the production tool A has the right to implement the encryption of the engineering mode of the electronic device according to the identity information of the production tool A. Thus, the encryption of the engineering mode of the electronic device can be completed according to the operation of the production tool A, which includes but is not limited to encryption of the dialer module, encryption of the bsp module port, and encryption of other modules that can be implemented through the engineering mode. Therefore, when the engineering mode of the electronic device is needed, it needs to be decrypted before it can be used.

[0049] In a specific application, for example, some secret codes, AT port and other functions are needed in the production line of the electronic device, which cannot be opened to the customer in the customer version, but in the after-sales or some special scenarios, the functions need to be used, therefore, it is needed to return to the engineering mode state, due to the engineering mode state, some basic performance of the electronic device is changed, such as NV, IMEI, sensor calibration information, therefore, the engineering mode is encrypted in the embodiment of the application, and the customer is not allowed or not opened to operate at will. Therefore, the safety and reliability of the electronic device are improved. For example, when the after-sales maintenance enters the engineering mode for function test, it is needed to first decrypt, and then perform the related work of after-sales service.

[0050] According to the engineering mode encryption method of the electronic device, the electronic device is controlled to enter the boot mode, then the encryption instruction sent by the production tool is received, the identity information of the production tool is decrypted according to the first decryption mode agreed in advance, and the engineering mode of the electronic device is encrypted after the decryption is successful. Therefore, only the production tool authorized and verified has the right to encrypt the engineering mode of the electronic device, the random encryption of the engineering mode of the electronic device is effectively avoided, the encryption process is more secure and reliable, and the safety and reliability of the electronic device are ensured.

[0051] Figure 2 It is a flow chart of the engineering mode decryption method of the electronic device according to an embodiment of the application. As shown in Figure 2 the engineering mode decryption method of the electronic device according to an embodiment of the application includes:

[0052] S201: receiving the decryption request sent by the decryption tool.

[0053] The decryption tool is an external tool, which can be some after-sales detection equipment.

[0054] S202: sending the authentication information to the decryption tool, wherein the authentication information is encrypted by the second encryption mode by the electronic device, and the authentication information is used to identify the identity of the decryption tool.

[0055] Specifically, the electronic device pre-stores a second public key of the decryption tool to encrypt the authentication information by the second public key, and the decryption tool decrypts the authentication information by a second private key of the decryption tool matched with the second public key. That is, the authorized decryption tool pre-informs the electronic device of its second public key, so that when the decryption tool needs to decrypt the engineering mode of the electronic device, the electronic device sends the authentication information to the decryption tool, which is encrypted by the electronic device according to the second public key of the authorized decryption tool. Thus, when the decryption tool receives the authentication information, if it can be decrypted by its second private key, it means that the decryption tool has the right to decrypt the engineering mode of the electronic device.

[0056] S203: After the decryption tool decrypts the authentication information by the second decryption method and completes the authentication, the engineering mode of the electronic device is decrypted based on the input of the decryption tool. That is, if the decryption tool can decrypt, it means that the decryption tool has the right to decrypt the engineering mode of the electronic device, and then the decryption of the engineering mode of the electronic device can be completed, and then some functions such as the secret code and the AT port in the engineering mode can be used smoothly.

[0057] According to the engineering mode decryption method of the electronic device, the decryption request sent by the decryption tool is received, and the authentication information is sent to the decryption tool. After the decryption tool decrypts the authentication information by the second decryption method and completes the authentication, the engineering mode of the electronic device is decrypted according to the input of the decryption tool. Thus, only the authorized decryption tool has the right to decrypt the engineering mode of the electronic device and use some functions of the engineering mode, and the complexity of the decryption of the engineering mode of the electronic device is effectively avoided, so that the decryption process is simple and safe and reliable, and the security and reliability of the electronic device are ensured.

[0058] Figure 3 is a structural block diagram of an engineering mode encryption device of an electronic device according to an embodiment of the present application. As shown in Figure 3 The engineering mode encryption device of the electronic device according to an embodiment of the present application comprises a control module 310, a first receiving module 320 and an engineering mode encryption module 330.

[0059] The control module 310 is configured to control the electronic device to enter the boot mode based on a control instruction.

[0060] The first receiving module 320 is configured to receive an encryption instruction sent by a production tool, wherein the encryption instruction comprises identity information of the production tool, and the identity information is pre-encrypted by the production tool by a first encryption method.

[0061] The engineering mode encryption module 330 is configured to decrypt the identity information based on a first decryption manner agreed in advance, and encrypt the engineering mode of the electronic device based on the encryption instruction after successful decryption.

[0062] The engineering mode decryption device of the electronic device according to the embodiment of the present application first controls the electronic device to enter the boot mode, then receives the encryption instruction sent by the production tool, and decrypts the identity information of the production tool according to the first decryption manner agreed in advance, and encrypts the engineering mode of the electronic device after successful decryption. Thus, only the production tool that passes the authorized verification has the right to encrypt the engineering mode of the electronic device, effectively avoiding the random encryption of the engineering mode of the electronic device, making the encryption process more secure and reliable, and ensuring the security and reliability of the electronic device.

[0063] The specific limitation of the engineering mode decryption device of the electronic device can be referred to the limitation of the engineering mode encryption method of the electronic device in the above, which will not be repeated here. Each module in the engineering mode decryption device of the electronic device can be realized by software, hardware and their combination in whole or in part. Each module can be embedded in or independent of the processor in the computer device in hardware form, or stored in the memory in the computer device in software form, so as to be called and executed by the processor to perform the operation corresponding to each module.

[0064] Figure 4 is a structural block diagram of the engineering mode decryption device of the electronic device according to an embodiment of the present application. As shown in Figure 4 The engineering mode decryption device of the electronic device according to an embodiment of the present application includes a second receiving module 410, a sending module 420 and an engineering mode decryption module 430, wherein:

[0065] The second receiving module 410 is configured to receive the decryption request sent by the decryption tool;

[0066] The sending module 420 is configured to send the authentication information to the decryption tool, wherein the authentication information is encrypted by the electronic device through a second encryption manner, and the authentication information is used to identify the identity of the decryption tool;

[0067] The engineering mode decryption module 430 is configured to decrypt the engineering mode of the electronic device based on the input of the decryption tool after the decryption tool decrypts the authentication information through a second decryption manner and completes the authentication.

[0068] The engineering mode decryption method of the electronic device according to the embodiment of the present application receives a decryption request sent by a decryption tool, and sends authentication information to the decryption tool. After the decryption tool decrypts the authentication information by a second decryption mode and completes authentication, the engineering mode of the electronic device is decrypted according to input of the decryption tool. Thus, only the decryption tool authorized to pass has the right to decrypt the engineering mode of the electronic device and use some functions of the engineering mode, and further, the complexity of decryption of the engineering mode of the electronic device is effectively avoided, the decryption process is simple and safe and reliable, and the safety and reliability of the electronic device are ensured.

[0069] The specific limitation of the engineering mode decryption apparatus of the electronic device can refer to the limitation of the engineering mode decryption method of the electronic device in the foregoing, and will not be described here. Each module in the engineering mode encryption apparatus of the electronic device can be realized by software, hardware and a combination thereof in whole or in part. Each module can be embedded in or independent of the processor in the computer device in hardware form, or can be stored in the memory in the computer device in software form, so as to be called and executed by the processor to perform the operation corresponding to each module.

[0070] In one embodiment, an electronic device, which can be a terminal, has an internal structure diagram as shown in Figure 5 The electronic device includes a processor, a memory, a communication interface, a display screen and an input device connected by a system bus. The processor of the electronic device is used to provide computing and control capability. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operating system and the computer program in the non-volatile storage medium to run. The communication interface of the computer device is used to communicate with external terminals in wired or wireless mode. The wireless mode can be realized by WIFI, operator network, near field communication (NFC) or other technologies. The computer program is executed by the processor to realize an engineering mode encryption method of an electronic device. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer overlaid on the display screen, or a key, trackball or touchpad arranged on the shell of the computer device, or an external keyboard, touchpad or mouse, etc.

[0071] Those skilled in the art can understand that Figure 5 The structure shown in the figure is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. The specific computer device can include more or fewer components than those shown in the figure, or combine certain components, or have a different component arrangement.

[0072] The memory in the electronic device stores at least one instruction, at least one program, a code set or an instruction set, which are loaded and executed by the processor to implement the engineering mode encryption method of the electronic device and / or the engineering mode decryption method of the electronic device according to any one of the above embodiments.

[0073] In one embodiment, a computer readable storage medium is provided, and the computer program is stored on the computer readable storage medium. The computer program is executed by the processor to implement the following steps: controlling the electronic device to enter a boot mode; receiving an encrypted instruction sent by a production tool, wherein the encrypted instruction includes identity information of the production tool, and the identity information is encrypted by the production tool in advance by a first encryption method; decrypting the identity information based on a first decryption method agreed in advance, and after successful decryption, encrypting an engineering mode of the electronic device based on the encrypted instruction, and / or receiving a decryption request sent by a decryption tool; sending authentication information to the decryption tool, wherein the authentication information is encrypted by the electronic device by a second encryption method, and the authentication information is used to identify the identity of the decryption tool; and after the decryption tool decrypts the authentication information by a second decryption method and completes authentication, decrypting the engineering mode of the electronic device based on input of the decryption tool.

[0074] In one embodiment, a computer program product is provided, and when the instructions in the computer program product are executed by the processor of the mobile terminal, the mobile terminal can perform the following steps: controlling the electronic device to enter a boot mode; receiving an encrypted instruction sent by a production tool, wherein the encrypted instruction includes identity information of the production tool, and the identity information is encrypted by the production tool in advance by a first encryption method; decrypting the identity information based on a first decryption method agreed in advance, and after successful decryption, encrypting an engineering mode of the electronic device based on the encrypted instruction, and / or receiving a decryption request sent by a decryption tool; sending authentication information to the decryption tool, wherein the authentication information is encrypted by the electronic device by a second encryption method, and the authentication information is used to identify the identity of the decryption tool; and after the decryption tool decrypts the authentication information by a second decryption method and completes authentication, decrypting the engineering mode of the electronic device based on input of the decryption tool.

[0075] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by a computer program instructing relevant hardware. The computer program can be stored in a non-volatile computer readable storage medium, and when executed, can include the processes of the above-mentioned embodiments. Any reference to memory, database or other medium used in the embodiments provided by the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration but not limitation, RAM is available in various forms, such as static random access memory (SRAM) and dynamic random access memory (DRAM).

[0076] Any combination of the technical features of the above embodiments can be made. In order to make the description simple, all possible combinations of the technical features of the above embodiments are not described, however, as long as the combination of the technical features does not exist, it should be considered as the scope of the present application.

[0077] The above embodiments only express several implementation manners of the present application, and the description is more specific and detailed, but it should not be understood as a limitation on the scope of the patent. It should be pointed out that for those skilled in the art, without departing from the concept of the present application, some modifications and improvements can be made, which are all within the protection scope of the present application. Therefore, the protection scope of the patent of the present application should be subject to the appended claims.

Claims

1. An engineering mode encryption method for electronic devices, characterized in that, include: Electronic devices enter boot mode based on control commands; The device receives an encryption instruction sent by a production tool, wherein the encryption instruction is sent to the electronic device after the electronic device is controlled to enter the boot mode, the encryption instruction includes the identity information of the production tool, the encryption instruction is used to encrypt the engineering mode of the electronic device, the identity information is pre-encrypted by the production tool using a first encryption method, the identity information is used to identify the production tool, the first encryption method is encrypted using the first private key of the production tool, and the production tool is a tool for producing the electronic device; The identity information is decrypted based on a pre-agreed first decryption method, and after successful decryption, the engineering mode of the electronic device is encrypted based on the encryption instruction; the first decryption method is to decrypt using a first public key that matches the first private key of the production tool; the encryption of the engineering mode of the electronic device includes encrypting the dialer module cipher and encrypting the bsp module port; Before the electronic device enters the boot mode based on control commands, it also includes: Receive the first public key of the production tool sent by the production tool, and obtain the first decryption method based on the first public key.

2. A method for decrypting the engineering mode of an electronic device, characterized in that, include: Receive decryption requests sent by the decryption tool; The electronic device sends authentication information to the decryption tool, wherein the authentication information is encrypted by the electronic device using a second encryption method, and the authentication information is used to identify the identity of the decryption tool; the electronic device pre-stores a second public key of the authorized decryption tool to encrypt the authentication information using the second public key, and the decryption tool decrypts the authentication information using its second private key that matches the second public key; the second encryption method is encryption based on the second public key of the authorized decryption tool; After the decryption tool decrypts the authentication information and completes authentication using the second decryption method, the engineering mode of the electronic device is decrypted based on the input of the decryption tool. Successful decryption indicates that the decryption tool has the authority to decrypt the engineering mode of the electronic device.

3. An engineering mode encryption system for electronic devices, characterized in that, include: The control module is used to control electronic devices to enter boot mode based on control commands; The first receiving module is used to receive encryption instructions sent by the production tool. The encryption instructions are sent to the electronic device after the electronic device is controlled to enter the boot mode. The encryption instructions include the identity information of the production tool. The encryption instructions are used to encrypt the engineering mode of the electronic device. The identity information is encrypted in advance by the production tool using a first encryption method. The identity information is used to identify the production tool. The first encryption method is encrypted using the first private key of the production tool. The production tool is a tool for producing the electronic device. An engineering mode encryption module is used to decrypt the identity information based on a pre-agreed first decryption method, and after successful decryption, to encrypt the engineering mode of the electronic device based on the encryption instruction; the first decryption method is to decrypt using a first public key that matches the first private key of the production tool; the encryption of the engineering mode of the electronic device includes encrypting the dialer module cipher and encrypting the bsp module port; Before the electronic device enters the boot mode based on control commands, it also includes: Receive the first public key of the production tool sent by the production tool, and obtain the first decryption method based on the first public key.

4. An engineering mode decryption device for an electronic device, characterized in that, include: The second receiving module is used to receive decryption requests sent by the decryption tool; A sending module is used to send authentication information to the decryption tool, wherein the authentication information is encrypted by the electronic device using a second encryption method, and the authentication information is used to identify the identity of the decryption tool; the electronic device pre-stores a second public key of an authorized decryption tool to encrypt the authentication information using the second public key, and the decryption tool decrypts the authentication information using its second private key that matches the second public key; the second encryption method is encryption based on the second public key of the authorized decryption tool; The engineering mode decryption module is used to decrypt the engineering mode of the electronic device based on the input of the decryption tool after the decryption tool has decrypted the authentication information and completed the authentication through the second decryption method; wherein successful decryption indicates that the decryption tool has the authority to decrypt the engineering mode of the electronic device.

5. An electronic device, characterized in that, The device includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set, or an instruction set, and the instruction, program, code set, or instruction set is loaded and executed by the processor to implement the engineering mode encryption method of the electronic device according to claim 1, and / or the engineering mode decryption method of the electronic device according to claim 2.

6. A non-transitory computer-readable storage medium, characterized in that, When the instructions in the storage medium are executed by the processor of the mobile terminal, the mobile terminal is able to execute the engineering mode encryption method of the electronic device according to claim 1, and / or the engineering mode decryption method of the electronic device according to claim 2.

7. A computer program product, characterized in that, When the instructions in the computer program product are executed by the processor of the mobile terminal, the mobile terminal is able to execute the engineering mode encryption method of the electronic device according to claim 1, and / or the engineering mode decryption method of the electronic device according to claim 2.

Citation Information

Patent Citations

  • Control method, device and system of interaction intelligent equipment

    CN108920919A

  • File encryption method and device and file decryption method and device

    CN110502909A

  • Authentication method and equipment

    CN113055340A

  • Data management method and device, equipment and storage medium

    CN113268752A