A multi-chip driving method, device, equipment and computer-readable storage medium

By selecting the single-chip driving mode when the terminal is started and switching to the multi-chip driving mode during operation, the problem of inefficiency in single-chip processing of multiple processes is solved, and more efficient CPU resource utilization and lower power consumption is achieved.

CN114461285BActive Publication Date: 2025-01-17POWER IDEA TECH (SHENZHEN) CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210066553.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-20
Publication Date
2025-01-17
Estimated Expiration
2042-01-20

Smart Images

  • Figure CN114461285B_ABST
    Figure CN114461285B_ABST
Patent Text Reader

Abstract

According to the method, device, equipment and computer-readable storage medium provided by the scheme of the present application, when the single-chip driving mode is triggered according to the terminal startup instruction, the corresponding operating system of the corresponding single-chip driver is selected in response to the driver chip selection instruction; during the operation of the operating system, the corresponding operating system of other single-chip drivers is selected in response to the mode switching instruction, or the multi-chip driving mode is triggered in response to the mode switching instruction, and the corresponding operating system of the multi-chip driver is selected. Through the implementation of the scheme of the present application, the operating system corresponding to the single-chip driver is selected when the terminal is started, and when the system is running, the chip is switched in response to the corresponding mode switching instruction based on the actual task requirements, which can effectively improve the processing efficiency of processing multiple processes, reduce the load of the driver chip, and reduce power consumption.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electronic technology, and in particular to a multi-chip driving method, device, equipment and computer-readable storage medium. Background Art

[0002] With the development of computer technology, people are willing to use computers to complete what they want to do, whether it is work or life. At present, most terminals in the existing technology adopt a single-chip driving single-system operation mode. However, as user needs increase, computer terminals may process multiple processes at the same time, and the efficiency of single-chip processing is often too low. When there are too many processes to be processed or the processes being processed occupy too much memory, the chip load is usually too high, resulting in heat, thereby increasing power consumption. Summary of the invention

[0003] The embodiments of the present application provide a multi-chip driving method, device, equipment and computer-readable storage medium, which can at least solve the problem in the related art that a single chip is inefficient when processing multiple processes, and excessive load causes heat, thereby increasing power consumption.

[0004] A first aspect of an embodiment of the present application provides a multi-chip driving method, including:

[0005] When the single-chip driving mode is triggered according to the terminal startup instruction, the corresponding single-chip driving corresponding operating system is selected in response to the driving chip selection instruction;

[0006] During the operation of the operation system, other single chips are selected to drive the corresponding operation system in response to the in-mode switching instruction, or the multi-chip driving mode is triggered in response to the out-mode switching instruction, and the multi-chip driving corresponding operation system is selected.

[0007] A second aspect of an embodiment of the present application provides a multi-chip driving device, including:

[0008] A selection module, for selecting a corresponding single chip drive corresponding to an operating system in response to a driver chip selection instruction when a single chip drive mode is triggered according to a terminal startup instruction;

[0009] The switching module is used to select other single-chip drivers to drive corresponding operating systems in response to in-mode switching instructions during the operation of the operating system, or to trigger multi-chip driving mode in response to out-mode switching instructions and select multi-chip drivers to drive corresponding operating systems.

[0010] A third aspect of an embodiment of the present application provides an electronic device, characterized in that it includes a memory and a processor, wherein the processor is used to execute a computer program stored in the memory, and when the processor executes the computer program, the steps in the multi-chip driving method provided in the first aspect of the embodiment of the present application are performed.

[0011] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, each step of the multi-chip driving method provided in the first aspect of the embodiment of the present application is implemented.

[0012] As can be seen from the above, according to the method, device, equipment and computer-readable storage medium provided by the scheme of the present application, when the single-chip driving mode is triggered according to the terminal startup instruction, the corresponding operating system of the corresponding single-chip driver is selected in response to the driver chip selection instruction; during the operation of the operating system, the corresponding operating system of other single-chip drivers is selected in response to the mode switching instruction, or the multi-chip driving mode is triggered in response to the mode switching instruction, and the corresponding operating system of the multi-chip driver is selected. Through the implementation of the scheme of the present application, the operating system corresponding to the single-chip driver is selected when the terminal is started, and when the system is running, the chip is switched in response to the corresponding mode switching instruction based on the actual task requirements, which can effectively improve the processing efficiency of processing multiple processes, reduce the load of the driver chip, and reduce power consumption. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 A schematic diagram of the basic flow of the multi-chip driving method provided in the first embodiment of the present application;

[0014] Figure 2 A detailed flowchart of a multi-chip driving method provided in the second embodiment of the present application;

[0015] Figure 3 A schematic diagram of a program module of a multi-chip driving device provided in a third embodiment of the present application;

[0016] Figure 4 A schematic diagram of the structure of an electronic device provided in the fourth embodiment of the present application.

[0017] Specific implementation content

[0018] In order to make the purpose, features, and advantages of the invention of this application more obvious and easy to understand, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.

[0019] In order to solve the problem in the related art that a single chip drives a single system to process multiple processes inefficiently, and excessive load causes heat, thereby increasing power consumption, the first embodiment of the present application provides a multi-chip driving method, such as Figure 1 This is a basic flow chart of the multi-chip driving method provided in this embodiment. The multi-chip driving method includes the following steps:

[0020] Step 101 : when a single chip driving mode is triggered according to a terminal startup instruction, a corresponding single chip driving corresponding operating system is selected in response to a driving chip selection instruction.

[0021] Specifically, in the prior art, after the terminal is started, a single-chip, single-system terminal will skip the selection process and directly start the system, and a dual-system terminal will display a selection interface to select the operating system instead of the driver chip. In this embodiment, the terminal defaults to the single-chip drive mode, which is triggered when the terminal is started, and provides multiple chip drive options. The user selects the corresponding single chip according to his or her actual needs. The terminal responds to the user's driver chip selection instruction to select the corresponding single chip to drive the corresponding operating system. When the user selects the most suitable chip drive system, the user's work efficiency can be effectively improved.

[0022] In an optional implementation of this embodiment, after the step of selecting the corresponding single chip to drive the corresponding operating system in response to the driver chip selection instruction, it also includes: controlling other unselected single chips to enter a sleep state, and prohibiting the operating system driven by the selected single chip from accessing the database of other single chips.

[0023] Specifically, in this embodiment, after the terminal determines the single chip that needs to be run, it controls the other single chips that are not selected to enter the dormant state, and allocates all CPU resources to the selected single chip as much as possible when the running system is running, thereby improving the chip operation efficiency and reducing the system power consumption. In addition, when the running system is running, the running system is prohibited from accessing the database of the undriven running system. The databases between the running systems are independent of each other, which can effectively prevent the other databases from being damaged when the running system is hacked.

[0024] Step 102 : During the operation of the operation system, in response to the in-mode switching instruction, select other single-chip drivers to drive the corresponding operation system, or in response to the out-mode switching instruction, trigger the multi-chip driving mode and select the multi-chip drivers to drive the corresponding operation system.

[0025] Specifically, in the prior art, during the operation of the operating system, the chip switching is usually to switch the running driver chip to another driver chip, that is, only one driver chip can be running at the same time. In this embodiment, during the operation of the operating system, not only can the single chip be switched, but also the chip driving mode can be switched to control the simultaneous operation of multiple chips, wherein, in response to the in-mode switching instruction, other single chips are selected to drive the corresponding operating system, or in response to the out-mode switching instruction, the multi-chip driving mode is triggered, and multiple chips are selected to drive the corresponding operating system at the same time. Multiple chips drive multiple operating systems to run at the same time, which effectively improves the user's work efficiency and allows the user to switch to the operating system that needs to be operated in the first time.

[0026] Optionally, in this embodiment, the user can input the driver chip switching instruction through a physical button, and switch to the required driver chip with one click according to the driver chip switching instruction and drive the corresponding operating system, or display the driver chip configuration interface on the terminal display interface according to the preset operation instruction, load the corresponding driver chip selection or switching option, select other driver chips in the single-chip driving mode according to the driver chip selection or switching option, or switch to the multi-chip driving mode, so as to make the selection or switching process simpler and improve the user's work efficiency.

[0027] In an optional implementation of the present embodiment, before the step of selecting other single chips to drive the corresponding operating system in response to the mode switching instruction, it also includes: encrypting other single chips that are not selected; the step of selecting other single chips to drive the corresponding operating system in response to the mode switching instruction includes: when selecting other single chips in response to the mode switching instruction, decrypting the selected single chip according to a preset decryption private key; if the decryption is successful, releasing the sleep state of the selected single chip and driving the corresponding operating system.

[0028] Specifically, in this embodiment, in the single-chip driving mode, after the user determines the single chip that needs to be run, other unselected single chips will be encrypted. When it is necessary to switch other single chips to drive the corresponding operating system, after the user switches the instruction in the input mode to determine the selected other single chips, the user is prompted that the current single chip is in an encrypted state. The user needs to decrypt the selected single chip using a preset decryption private key. If the decryption is successful, it is determined that the user himself is operating, and the driving chip is allowed to switch to the selected single chip, and the sleep state of the selected single chip is released to drive the corresponding operating system. By encrypting other unselected single chips, the data privacy in the operating system corresponding to other single chips can be effectively protected.

[0029] In an optional implementation of the present embodiment, after the step of triggering the multi-chip driving mode in response to the out-of-mode switching instruction and selecting the multi-chip driving corresponding operating system, it also includes: determining the corresponding priorities of different driving chips in the multi-chip for the programs executed by different operating systems; and allocating CPU resources to different operating systems according to the priorities.

[0030] Specifically, in actual applications, in a multi-chip driving mode, even if each operating system only runs one program, the accumulated CPU resource consumption is also very huge. Moreover, different operating programs have different operating memories. The larger the operating memory, the greater the CPU occupancy rate, resulting in the running program being unimportant but occupying a large amount of resources. In this embodiment, the priority of the corresponding driver chip is determined according to the importance of the program currently executed by different operating systems, and then CPU resources are allocated to the operating system that is executing the program according to the priority. The priority can be determined by the user according to the actual task requirements, that is, the CPU resource allocation is no longer affected by the operating memory, which can effectively improve the operating efficiency of the operating system.

[0031] Optionally, in this embodiment, the terminal with multiple chips can be a terminal with dual driver chips, wherein the dual driver chips include a first driver chip and a second driver chip, the first driver chip drives the first operating system and creates a first database, and the second driver chip drives the second operating system and creates a second database.

[0032] Furthermore, in an optional implementation of the present embodiment, after the step of triggering the multi-chip driving mode in response to the out-of-mode switching instruction and selecting the multi-chip driving corresponding operating system, it also includes: when the first driving chip is the main driving chip, controlling the second database to back up the first database according to a preset backup interval; if the power consumption ratio of the first driving chip is higher than the first power consumption ratio threshold and the power consumption ratio of the second driving chip is lower than the second power consumption ratio threshold, detecting whether the second database has completely backed up the first database; if the second database has completely backed up the first database, switching the second driving chip to the main driving chip, and controlling the first database to back up the second database according to the preset backup interval.

[0033] Specifically, in the present embodiment, although the dual chips are running at the same time, there is a difference between the main and the secondary chips. When the first driver chip is the main driver chip, most system resources are mainly inclined to the first driver chip, and important programs of the running system are executed on the first driver chip. During the running process, the second database is controlled to back up the first database according to the preset backup interval time to ensure data synchronization between the second database and the first database. When the power consumption ratio of the first driver chip is higher than the first power consumption ratio threshold, that is, higher than the safety power consumption, and the power consumption ratio of the second driver chip is lower than the second power consumption ratio threshold, that is, in a normal power consumption state, it is detected whether the second database of the second driver chip has completed the backup of the first database. If the backup is completed, the second driver chip is switched to the main driver chip, and the first database is controlled to back up the second database according to the preset backup interval time. It should be understood that such a switching process will not affect the program being executed, and too high a power consumption ratio will cause the chip temperature to rise. Switching the chip with too high a temperature to a chip with normal temperature can effectively reduce the power consumption of the terminal.

[0034] In an optional implementation of the present embodiment, after the step of triggering the multi-chip drive mode in response to the out-of-mode switching instruction and selecting the multi-chip drive corresponding operating system, it also includes: when the first operating system accesses the second database, performing security verification on the first operating system; based on the security verification, verifying the user identity information and detecting whether there is a malicious plug-in in the first operating system; if the security verification passes, allowing the first operating system to access the second database.

[0035] Specifically, in the present embodiment, it should be noted that in the single-chip driving mode, the running operating system is prohibited from accessing the database of other single chips in the sleep state. This is because in the single-chip driving mode, there is no interaction between the operating systems. However, in the multi-chip driving mode, multiple operating systems run at the same time, so the interaction between the operating systems is inevitable. When the first operating system accesses the second database, the present embodiment verifies the first operating system in a security verification manner, including but not limited to verifying the user identity information and detecting whether there are malicious plug-ins in the first operating system, to prevent illegal users from stealing database information or damaging other operating systems through the interaction between the operating systems. If the security verification is passed, the first operating system is allowed to access the second database.

[0036] Based on the embodiment scheme of the above application, when the single-chip driving mode is triggered according to the terminal startup instruction, the corresponding operating system of the corresponding single-chip driver is selected in response to the driver chip selection instruction; during the operation of the operating system, the corresponding operating system of other single-chip drivers is selected in response to the mode switching instruction, or the multi-chip driving mode is triggered in response to the mode switching instruction, and the corresponding operating system of the multi-chip driver is selected. Through the implementation of the scheme of this application, the operating system corresponding to the single-chip driver is selected when the terminal is started, and when the system is running, the chip is switched in response to the corresponding mode switching instruction based on the actual task requirements, which can effectively improve the processing efficiency of processing multiple processes, reduce the load of the driver chip, and reduce power consumption.

[0037] Figure 2 The method in is a refined multi-chip driving method provided in the second embodiment of the present application, and the multi-chip driving method includes:

[0038] Step 201 : when a single chip driving mode is triggered according to a terminal startup instruction, a corresponding single chip driving corresponding operating system is selected in response to a driving chip selection instruction.

[0039] Step 202 , triggering a dual-chip driving mode in response to an out-of-mode switching instruction, and driving a first operating system through a first driving chip and creating a first database, and driving a second operating system through a second driving chip and creating a second database.

[0040] Step 203: When the first driving chip is the main driving chip, control the second database to back up the first database according to a preset backup interval.

[0041] Step 204 : if the power consumption ratio of the first driver chip is higher than the first power consumption ratio threshold and the power consumption ratio of the second driver chip is lower than the second power consumption ratio threshold, then detect whether the second database completely backs up the first database.

[0042] Step 205: If the second database completely backs up the first database, the second driving chip is switched to the main driving chip, and the first database is controlled to back up the second database according to a preset backup interval.

[0043] It should be understood that the size of the serial number of each step in this embodiment does not mean the order of execution of the steps. The execution order of each step should be determined by its function and internal logic, and should not constitute a sole limitation on the implementation process of the embodiment of this application.

[0044] According to the multi-chip driving method provided by the scheme of the present application, when the single-chip driving mode is triggered according to the terminal startup instruction, the corresponding single-chip driving corresponding operating system is selected in response to the driver chip selection instruction; during the operation of the operating system, the dual-chip driving mode is triggered in response to the out-of-mode switching instruction, and the first operating system is driven by the first driver chip and the first database is created, and the second operating system is driven by the second driver chip and the second database is created; when the first driver chip is the main driver chip, the second database is controlled to back up the first database according to the preset backup interval; if the power consumption ratio of the first driver chip is higher than the first power consumption ratio threshold and the power consumption ratio of the second driver chip is lower than the second power consumption ratio threshold, it is detected whether the second database fully backs up the first database; if the second database fully backs up the first database, the second driver chip is switched to the main driver chip, and the first database is controlled to back up the second database according to the preset backup interval. Through the implementation of the scheme of the present application, in the dual-chip driving mode, the driver chip with a large power consumption ratio is switched to the driver chip with normal power consumption, which can effectively reduce the power consumption of the terminal, and the driver chip is switched without affecting the normal operation of the program being executed, which can effectively improve the work efficiency of the user.

[0045] Figure 3 A multi-chip driving device is provided in the third embodiment of the present application. The multi-chip driving device can be used to implement the multi-chip driving method in the above-mentioned embodiment. Figure 3 As shown, the multi-chip driving device mainly includes:

[0046] The selection module 301 is used to select a corresponding single chip to drive a corresponding operating system in response to a driver chip selection instruction when the single chip driving mode is triggered according to a terminal startup instruction;

[0047] The switching module 302 is used to select other single-chip drivers to drive corresponding operating systems in response to an in-mode switching instruction during the operation of the operating system, or to trigger a multi-chip driving mode in response to an out-mode switching instruction and select a multi-chip driver to drive corresponding operating systems.

[0048] In an optional implementation of this embodiment, the multi-chip driving device further includes a control module, which is used to control other unselected single chips to enter a dormant state and prohibit the operating system driven by the selected single chip from accessing the database of other single chips.

[0049] In an optional implementation of this embodiment, the multi-chip driver further includes: an encryption module. The encryption module is used to: encrypt other single chips that are not selected. When the switching module executes the function of selecting other single chips to drive the corresponding operating system in response to the mode switching instruction, it is specifically used to: when selecting other single chips in response to the mode switching instruction, decrypt the selected single chip according to the preset decryption private key; if the decryption is successful, release the dormant state of the selected single chip and drive the corresponding operating system.

[0050] In an optional implementation of this embodiment, the multi-chip driver device further includes: a determination module and an allocation module. The determination module is used to determine the corresponding priorities of different driver chips in the multi-chip for programs executed by different operating systems. The allocation module is used to allocate CPU resources to different operating systems according to the priorities.

[0051] In an optional implementation of the present embodiment, the multi-chip driver device further includes: a backup module and a detection module. The backup module is used to: when the first driver chip is the main driver chip, control the second database to back up the first database according to a preset backup interval; wherein the first database corresponds to the first operating system, and the second database corresponds to the second operating system. The detection module is used to: if the power consumption ratio of the first driver chip is higher than the first power consumption ratio threshold and the power consumption ratio of the second driver chip is lower than the second power consumption ratio threshold, then detect whether the second database has fully backed up the first database. The switching module is also specifically used to: if the second database has fully backed up the first database, switch the second driver chip to the main driver chip, and control the first database to back up the second database according to the preset backup interval.

[0052] In an optional implementation of this embodiment, the multi-chip driver further includes: a verification module. The verification module is used to: when the first operating system accesses the second database, perform security verification on the first operating system; based on the security verification, verify the user identity information and detect whether there is a malicious plug-in in the first operating system; if the security verification passes, allow the first operating system to access the second database.

[0053] It should be noted that the multi-chip driving methods in the first and second embodiments can be implemented based on the multi-chip driving device provided in this embodiment. Ordinary technicians in the relevant field can clearly understand that for the convenience and simplicity of description, the specific working process of the multi-chip driving device described in this embodiment can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0054] According to the multi-chip driver provided by the scheme of the present application, when the single-chip driver mode is triggered according to the terminal startup instruction, the corresponding operating system of the corresponding single-chip driver is selected in response to the driver chip selection instruction; during the operation of the operating system, the corresponding operating system of other single-chip drivers is selected in response to the mode switching instruction, or the multi-chip driver mode is triggered in response to the mode switching instruction, and the corresponding operating system of the multi-chip driver is selected. Through the implementation of the scheme of the present application, the operating system corresponding to the single-chip driver is selected when the terminal is started, and when the system is running, the chip is switched based on the actual task requirements in response to the corresponding mode switching instruction, which can effectively improve the processing efficiency of processing multiple processes, reduce the load of the driver chip, and reduce power consumption.

[0055] Figure 4 This is an electronic device provided in the fourth embodiment of the present application. The electronic device can be used to implement the multi-chip driving method in the above-mentioned embodiment. Figure 4 As shown, the electronic device mainly includes:

[0056] The memory 401, the processor 402, and the computer program 403 stored in the memory 401 and executable on the processor 402 are connected by communication. When the processor 402 executes the computer program 403, the network device management method in the above-mentioned embodiment is implemented. The number of processors can be one or more.

[0057] The memory 401 may be a high-speed random access memory (RAM) memory, or a non-volatile memory, such as a disk memory. The memory 401 is used to store executable program codes, and the processor 402 is coupled to the memory 401 .

[0058] Furthermore, the present application also provides a computer-readable storage medium, which may be provided in the electronic device in the above embodiments. Figure 4 Memory in the illustrated embodiment.

[0059] The computer readable storage medium stores a computer program, and when the program is executed by the processor, the multi-chip driving method in the aforementioned embodiment is implemented. Furthermore, the computer storable medium can also be a U disk, a mobile hard disk, a read-only memory (ROM), a RAM, a magnetic disk or an optical disk, and other media that can store program codes.

[0060] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.

[0061] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0062] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.

[0063] If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a readable storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned readable storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard drives, ROM, RAM, magnetic disks, or optical disks.

[0064] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described action sequence, because according to the present application, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0065] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0066] The above is a description of the multi-chip driving method, device, equipment and computer-readable storage medium provided in the present application. For technicians in this field, according to the ideas of the embodiments of the present application, there may be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A multi-chip driving method, applied to a terminal having multiple chips, characterized in that: include: When the single-chip driving mode is triggered according to the terminal startup instruction, the corresponding single-chip driving corresponding operating system is selected in response to the driving chip selection instruction; During the operation of the operation system, in response to the out-of-mode switching instruction, the multi-chip driving mode is triggered, and the corresponding operation system of the multi-chip driving is selected; Wherein, the terminal having multiple chips is a terminal having dual driving chips, and the dual driving chips include a first driving chip driving the first operating system and a second driving chip driving the second operating system; When the first driving chip is the main driving chip, the second database is controlled to back up the first database according to a preset backup interval; wherein the first database corresponds to the first operating system, and the second database corresponds to the second operating system; If the power consumption ratio of the first driver chip is higher than a first power consumption ratio threshold and the power consumption ratio of the second driver chip is lower than a second power consumption ratio threshold, detecting whether the second database fully backs up the first database; If the second database completely backs up the first database, the second driving chip is switched to the main driving chip, and the first database is controlled to back up the second database according to the preset backup interval.

2. The multi-chip driving method according to claim 1, characterized in that: After the step of selecting the corresponding single chip to drive the corresponding operating system in response to the driver chip selection instruction, the method further includes: The other unselected single chips are controlled to enter a dormant state, and the operating system driven by the selected single chip is prohibited from accessing the database of the other single chips.

3. The multi-chip driving method according to claim 1, characterized in that: After the step of triggering the multi-chip driving mode in response to the out-of-mode switching instruction and selecting the multi-chip driving corresponding operating system, the method further includes: Determining the corresponding priorities of different driver chips in the multi-chips according to the programs executed by different operating systems; CPU resources are allocated to different operating systems according to the priorities.

4. The multi-chip driving method according to claim 1, characterized in that: After the step of triggering the multi-chip driving mode in response to the out-of-mode switching instruction and selecting the multi-chip driving corresponding operating system, the method further includes: When the first operating system accesses the second database, performing security verification on the first operating system; According to the security verification, verify the user identity information and detect whether the first operating system has malicious plug-ins; If the security verification is passed, the first operating system is allowed to access the second database.

5. A multi-chip driving device, applied to a terminal having multiple chips, characterized in that: include: A selection module, for selecting a corresponding single chip drive corresponding to an operating system in response to a driver chip selection instruction when a single chip drive mode is triggered according to a terminal startup instruction; A switching module, used for triggering a multi-chip driving mode in response to an out-of-mode switching instruction during the operation of the operation system, and selecting a corresponding operation system for the multi-chip drive; Wherein, the terminal having multiple chips is a terminal having dual driving chips, and the dual driving chips include a first driving chip driving the first operating system and a second driving chip driving the second operating system; A backup module, used for controlling the second database to back up the first database according to a preset backup interval when the first driver chip is the main driver chip; wherein the first database corresponds to the first operating system, and the second database corresponds to the second operating system; A detection module, configured to detect whether the second database fully backs up the first database if the power consumption ratio of the first driver chip is higher than a first power consumption ratio threshold and the power consumption ratio of the second driver chip is lower than a second power consumption ratio threshold; The switching module is also specifically used to: if the second database completely backs up the first database, switch the second driving chip to the main driving chip, and control the first database to back up the second database according to a preset backup interval.

6. An electronic device, characterized in that: The invention comprises a memory and a processor, wherein: The processor is used to execute the computer program stored in the memory; When the processor executes the computer program, the steps in the method according to any one of claims 1 to 4 are implemented.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps in the method according to any one of claims 1 to 4 are implemented.

Citation Information

Patent Citations

  • Low-power consumption intelligent Bluetooth watch

    CN106707735A

  • Low power consumption power supply circuit and electronic device

    CN110289758A

  • Dual-system working mode switching method and device and readable storage medium

    CN111258663A