CN114201221B - System closing method, equipment and storage medium based on dual systems - Google Patents

System closing method, equipment and storage medium based on dual systems Download PDF

Info

Publication number
CN114201221B
CN114201221B CN202010909765.2A CN202010909765A CN114201221B CN 114201221 B CN114201221 B CN 114201221B CN 202010909765 A CN202010909765 A CN 202010909765A CN 114201221 B CN114201221 B CN 114201221B
Authority
CN
China
Prior art keywords
identifier
closed
kernel
attribute value
rootns
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010909765.2A
Other languages
Chinese (zh)
Other versions
CN114201221A (en
Inventor
林超
谢远东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu TD Tech Ltd
Original Assignee
Chengdu TD Tech Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu TD Tech Ltd filed Critical Chengdu TD Tech Ltd
Priority to CN202010909765.2A priority Critical patent/CN114201221B/en
Publication of CN114201221A publication Critical patent/CN114201221A/en
Application granted granted Critical
Publication of CN114201221B publication Critical patent/CN114201221B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/442Shutdown
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4406Loading of operating system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45575Starting, stopping, suspending or resuming virtual machine instances

Abstract

The application provides a system closing method, equipment and storage medium based on dual systems. The method comprises the following steps: the kernel acquires a closing instruction, the system closing instruction comprises an identifier of a system to be closed, and the closing instruction is sent to a roots domain. The Rootns field associates the attribute value with the identifier of the system to be closed, and sends indication information to the kernel, wherein the indication information comprises the attribute value associated with the identifier of the system to be closed. And if the system monitors that the identifier of the system to be closed, which is associated with the attribute value, is the identifier of the system, modifying the init process so as to stop the data processing process of the system and close the system after storing the data. The method can timely store the program and the data in the system to be closed, ensure that the disk can normally run when being opened next time, and shorten the starting time.

Description

System closing method, equipment and storage medium based on dual systems
Technical Field
The present application relates to terminal technologies, and in particular, to a method, a device, and a storage medium for system shutdown based on dual systems.
Background
The electronic equipment can be provided with double systems, and when the double systems need to be used, the double systems can be selectively started; one of the dual systems may be selected to be turned off when only one of the systems is needed.
In the prior art, each system in a dual system is provided with a respective container; when one system needs to be closed, a closing instruction (for example, the closing instruction is an lxc-stop instruction) is initiated through a Rootns domain, and then the container corresponding to the system is directly closed; with the container closed, the system can be shut down.
However, in the prior art, the above process is to directly close the container, and this action may result in some running programs or data in the system not being saved, and may result in data being damaged or not being saved; and the operation of accessing the disk can be directly terminated, thereby causing disk abnormity and prolonging the next startup time. In addition, the hardware device shared by the two containers cannot be normally used in the system that needs to be closed because the hardware device is not normally closed in the system that needs to be closed (for example, the shared hardware device includes camera module hardware camera hardware and the like).
Disclosure of Invention
The application provides a system closing method, equipment and a storage medium based on a dual system, which are used for solving the problem that data is damaged or can not be stored when the system is closed, and disk abnormity is caused.
In a first aspect, the present application provides a system shutdown method based on dual systems, which is applied to an electronic device in which a kernel, a root namespace Rootns domain, a first system and a second system operate; the method comprises the following steps:
the kernel acquires a closing instruction, wherein the system closing instruction comprises an identifier of a system to be closed, and sends the closing instruction to the roots domain;
the Rootns field associates an attribute value with an identifier of a system to be closed and sends indication information to the kernel, wherein the indication information comprises the attribute value associated with the identifier of the system to be closed;
when monitoring that the identifier of the system to be closed associated with the attribute value is the identifier of the first system, the first system modifies the init process so as to enable the init process to stop the data processing process of the first system and to close the first system after storing the data;
and when monitoring that the identifier of the system to be closed associated with the attribute value is the identifier of the second system, the second system modifies the init process so as to stop the data processing process of the second system and close the second system after storing the data.
Before the first system modifies the init process, the method further comprises the following steps:
the first system modifies first preset attribute information in the first system according to an identifier of a system to be closed, which is associated with an attribute value, wherein the modified first preset attribute information comprises the identifier of the system to be closed;
before the second system modifies the init process, the method further comprises the following steps:
and the second system modifies second preset attribute information in the second system according to the identifier of the system to be closed, which is associated with the attribute value, wherein the modified second preset attribute information comprises the identifier of the system to be closed.
If the second system monitors that the identifier of the system to be closed associated with the attribute value is the identifier of the second system, the method comprises the following steps:
and the first system modifies first preset attribute information in the first system according to the identifier of the second system, wherein the modified first preset attribute information comprises the identifier of the second system.
If the first system monitors that the identifier of the system to be closed associated with the attribute value is the identifier of the first system, the method comprises the following steps:
and the second system modifies second preset attribute information in the second system according to the identifier of the first system, wherein the modified second preset attribute information comprises the identifier of the first system.
Before the first system shuts down after monitoring that the identifier of the system to be shut down associated with the attribute value is the identifier of the first system, modifying an init process so that the init process stops the data processing process of the first system and saves data, the method further includes:
the Rootns domain receives third preset attribute information fed back by the first system through the kernel, wherein the third preset attribute information represents that the first system is to be closed;
the Rootns domain sends a first closing request to the kernel and receives a first closing command fed back by the kernel;
the method further comprises the following steps: and the roots field closes the container corresponding to the first system after preset time according to the first closing command.
Before the second system closes the second system after monitoring that the identifier of the system to be closed associated with the attribute value is the identifier of the second system, modifying the init process so that the init process stops the data processing process of the second system and stores the data, the method further includes:
the Rootns domain receives fourth preset attribute information fed back by the second system through the kernel, wherein the fourth preset attribute information represents that the second system is to be closed;
the Rootns domain sends a second closing request to the kernel and receives a second closing command fed back by the kernel;
the method further comprises the following steps: and the roots field closes the container corresponding to the second system after preset time according to the second closing command.
The roots field associates attribute values with an identification of a system to be shutdown, including:
and the Rootns field modifies the attribute value into the identifier of the system to be closed.
The method further comprises the following steps:
the kernel acquires an opening instruction, wherein the system closing instruction comprises an identifier of a system to be opened, and sends the opening instruction to the roots domain;
the Rootns field calls an opening command, wherein the opening command is used for indicating to open a container corresponding to the identification of the system to be opened.
In a second aspect, the present application provides an electronic device, where a kernel, a root namespace Rootns domain, a first system, and a second system run in the electronic device; the electronic device includes:
the kernel is configured to obtain a close instruction, where the system close instruction includes an identifier of a system to be closed, and send the close instruction to the roots domain;
the Rootns domain is used for associating the attribute value with the identifier of the system to be closed and sending indication information to the kernel, wherein the indication information comprises the attribute value associated with the identifier of the system to be closed;
the first system is used for modifying the init process when monitoring that the identifier of the system to be closed, which is associated with the attribute value, is the identifier of the first system, so that the init process stops the data processing process of the first system and closes the first system after storing data;
and the second system is used for modifying the init process when monitoring that the identifier of the system to be closed, which is associated with the attribute value, is the identifier of the second system, so that the init process stops the data processing process of the second system and closes the second system after storing the data.
The first system is further configured to modify first preset attribute information in the first system according to an identifier of a system to be closed, which is associated with an attribute value, before modifying the init process, where the modified first preset attribute information includes the identifier of the system to be closed;
and the second system is further configured to modify second preset attribute information in the second system according to the identifier of the system to be closed, which is associated with the attribute value, before modifying the init process, wherein the modified second preset attribute information includes the identifier of the system to be closed.
If the second system monitors that the identifier of the system to be closed associated with the attribute value is the identifier of the second system, the first system is further configured to:
and modifying the first preset attribute information in the first system according to the identifier of the second system, wherein the modified first preset attribute information comprises the identifier of the second system.
If the first system monitors that the identifier of the system to be closed associated with the attribute value is the identifier of the first system, the second system is further configured to:
and modifying second preset attribute information in the second system according to the identifier of the first system, wherein the modified second preset attribute information comprises the identifier of the first system.
The Rootns domain, further for: when the first system monitors that the identifier of the system to be closed, which is associated with the attribute value, is the identifier of the first system, modifying an init process so as to enable the init process to stop a data processing process of the first system and store data before closing the first system, and then receiving third preset attribute information fed back by the first system through the kernel, wherein the third preset attribute information represents that the first system is to be closed; sending a first closing request to the kernel, and receiving a first closing command fed back by the kernel;
the Rootns field is further configured to close the container corresponding to the first system after a preset time according to the first close command.
The Rootns domain, further for: when the second system monitors that the identifier of the system to be closed, which is associated with the attribute value, is the identifier of the second system, modifying the init process so that the init process receives fourth preset attribute information fed back by the second system through the kernel before closing the second system after stopping the data processing process of the second system and storing data, wherein the fourth preset attribute information represents that the second system is to be closed; sending a second closing request to the kernel, and receiving a second closing command fed back by the kernel;
and the Rootns field is also used for closing the container corresponding to the second system after preset time according to the second closing command.
When associating the attribute value with the identifier of the system to be closed, the Rootns field is specifically configured to:
and the Rootns field modifies the attribute value into the identifier of the system to be closed.
The kernel is further configured to obtain an opening instruction, where the system closing indication includes an identifier of a system to be opened, and send the opening instruction to the roots domain;
the Rootns field is further configured to invoke an open command, where the open command is used to instruct to open a container corresponding to the identifier of the system to be opened.
In a third aspect, the present application provides an electronic device, comprising: a processor and a memory;
wherein the memory stores instructions executable by the processor, which when executed by the processor, cause the processor to perform the method provided by any one of the first aspects.
In a fourth aspect, the present application provides a computer-readable storage medium having stored thereon computer-executable instructions for implementing the method provided by any one of the first aspect when executed by a processor.
In a fifth aspect, the present application provides a processing chip comprising the electronic device as provided in the third aspect.
According to the method, the device and the storage medium for closing the system based on the dual systems, the attribute value of the system is associated with the identifier of the system to be closed, so that when the identifier of the system to be closed is monitored to be the identifier of the system, the init process is modified, the init process stops the data processing process of the system, and the system is closed after the data is stored. Data loss in the system is avoided. In addition, the hardware equipment closes the system to be closed after sequentially releasing the memory occupied in the kernel, so that disk abnormity caused by sudden access stop can not occur in the disk, and the phenomenon of prolonging the next starting time is avoided.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
Fig. 1 is an interaction diagram of a system shutdown method according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a system shutdown method based on dual systems according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of another dual-system-based system shutdown method according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of another electronic device according to an embodiment of the present application.
With the above figures, there are shown specific embodiments of the present application, which will be described in more detail below. These drawings and written description are not intended to limit the scope of the inventive concepts in any manner, but rather to illustrate the inventive concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The electronic equipment can be provided with double systems, the systems are respectively arranged in respective containers, the two containers are mutually independent, and users can carry out different operations in different systems according to own preferences. When the dual system is needed, the dual system can be selected to be started; when only one system needs to be used or the system needing to be used occupies more memory space, the other system in the dual systems can be selected to be closed, so that the system needing to be used can be ensured to run more smoothly. The shut down system may be restarted when it is desired to reuse the shut down system.
In one example, the electronic device configures a respective container for each of the dual systems; fig. 1 is an interaction diagram of a system shutdown method provided in this embodiment. As shown in fig. 1, when one of the systems needs to be closed, a close instruction is initiated through a Rootns field (for example, the close instruction is an lxc-stop instruction), and then a container corresponding to the system is directly closed (where container 1 is a container corresponding to a first system, and container 2 is a container corresponding to a second system); as the container is closed, the system in the container is directly closed. For example, as shown in fig. 1, the roots field sends an lxc-stop instruction to the container 1 corresponding to the first system that needs to be closed, and then the container 1 is closed according to the lxc-stop instruction, and the first system in the container 1 is closed due to the direct closing of the corresponding container 1.
However, in the above process, the container corresponding to the system to be closed is directly closed, so that the system in the container is closed, which may cause some running programs or data in the system to be unable to be stored, and may cause data to be damaged or unable to be stored, thereby causing data loss; and the operation of accessing the disk in the system can be directly terminated, thereby causing disk abnormity and prolonging the next startup time. In addition, a hardware device (e.g., camera hardware) shared in the dual system may not be normally used in the system that is not closed because of the operation of directly closing the container.
The application provides a system shutdown method, equipment and storage medium based on dual systems, which aim to solve the above technical problems in the prior art.
The following describes the technical solutions of the present application and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Fig. 2 is a schematic flowchart of a system shutdown method based on dual systems according to an embodiment of the present disclosure, where the method is applied to an electronic device, and a kernel, a root namespace (roots) domain, a first system, and a second system run in the electronic device. As shown in fig. 2, the method includes:
101. the kernel acquires a closing instruction, wherein the system closing instruction comprises an identifier of a system to be closed, and sends the closing instruction to a Roots domain.
Exemplarily, two Android systems, namely a first system and a second system, are installed in the electronic device; and, a kernel and a Rootns domain run in the electronic device. The Rootns domain, the first system and the second system can mutually listen to each other through the kernel. When a user needs to close a certain temporarily unneeded system, a system closing instruction can be sent to the kernel through a system closing button in the currently used system, and the system closing instruction comprises an identifier of the system to be closed. And after the kernel acquires the closing instruction, sending the closing instruction to the Rootns domain. For example, when a first system in the electronic device needs to be turned off, a button for turning off the background system is provided on the operation interface of a second system of the electronic device. After clicking a button of 'closing the background system', the user sends a closing instruction to the kernel. The close instruction includes a shutdown instruction (shutdown) and an attribute identifier (vp 1) of the first system. The kernel sends a close indication to the Rootns field after receiving the close command.
For example, when the second system in the electronic device needs to be turned off, there is a button for turning off the background system on the operation interface of the first system of the electronic device. After clicking a button of 'closing the background system', the user sends a closing instruction to the kernel. The close instruction includes a shutdown instruction (shutdown) and an attribute identifier (vp 2) of the second system. The kernel sends a close indication to the Rootns field after receiving the close command.
102. The Rootns field associates the attribute value with the identifier of the system to be closed, and sends indication information to the kernel, wherein the indication information comprises the attribute value associated with the identifier of the system to be closed.
Illustratively, when a first system in the electronic device needs to be closed, after the shutdown instruction sent by the core is received by the Rootns domain, the attribute value in the Rootns domain is associated with the identifier in the system to be closed in the shutdown instruction, that is, the attribute value of sys. Wherein the indication information contains an attribute value (vp 1) of the system identification to be shut down.
Illustratively, when a second system in the electronic device needs to be closed, after the shutdown instruction sent by the core is received by the Rootns domain, the attribute value in the Rootns domain is associated with the identifier in the system to be closed in the shutdown instruction, that is, the attribute value of sys. Wherein the indication information contains an attribute value (vp 2) with a system identification of shutdown.
103. When the first system monitors that the identifier of the system to be closed, which is associated with the attribute value, is the identifier of the first system, the init process is modified, so that the init process stops the data processing process of the first system and closes the first system after storing the data.
Exemplarily, when a first system in the electronic device needs to be closed, the first system monitors a change in the kernel through a poll mechanism, and waits for a readable event to occur in the kernel, where the readable event includes indication information sent by a roots field to the kernel, and the indication information includes an attribute value of a system identifier to be closed. After the Rootns domain sends the associated indication information to the kernel, the first system monitors the indication information sent by the Rootns in the kernel, and a poll mechanism in the first system reads the indication information sent by the Rootns from the kernel. And if the identifier of the system to be closed in the indication information is the identifier of the first system (vp 1), the first system modifies the init process. And the first system sequentially saves the data processing process in the first system by executing the modified init process, sequentially releases the memory of the hardware on the kernel, and closes the first system after saving the data.
104. And when the second system monitors that the identifier of the system to be closed, which is associated with the attribute value, is the identifier of the second system, modifying the init process so as to enable the init process to stop the data processing process of the second system and close the second system after storing the data.
Illustratively, when a second system in the electronic device needs to be closed, the second system monitors a change in the kernel through a poll mechanism, and waits for a readable event to occur in the kernel, where the readable event includes indication information sent by a Rootns field to the kernel, and the indication information includes an attribute value of a system identifier to be closed. After the Rootns domain sends the associated indication information to the kernel, the second system monitors the indication information sent by the Rootns in the kernel, and the poll mechanism in the second system reads the indication information sent by the Rootns from the kernel. And if the identifier of the system to be closed in the indication information is the identifier of the second system (vp 2), the second system modifies the init process. And the second system sequentially saves the data processing process in the first system by executing the modified init process, sequentially releases the memory of the hardware on the kernel, and closes the second system after saving the data.
In this embodiment, after the kernel obtains the instruction to close the system, the kernel sends the instruction to close the system to the Rootns domain, where the instruction to close the system and the instruction to close the system sent by the background both include the attribute value of the identifier of the system to be closed. After receiving the instruction sent by the kernel to close the system, the Rootns field associates the attribute value of the Rootns field with the identifier of the system to be closed, and sends indication information to the kernel, wherein the indication information comprises the attribute value associated with the identifier of the system to be closed. The first system monitors the change information in the kernel, after monitoring and reading the indication information sent to the kernel by the Roots domain, if the system identifier to be closed in the indication information is found to be the identifier of the first system, the init process is modified, so that the init process stops the data processing process of the first system and closes the first system after storing the data, and the Roots domain and the second system do not execute the modified init process. And if the second system monitors and reads the change information in the kernel, when the identifier of the system to be closed in the indication information sent to the kernel by the Roots domain is the identifier of the second system, modifying the init process so as to stop the data processing process of the second system and close the second system after storing the data by the init process, wherein the modified init process is not executed by the Roots domain and the first system. When the system in the dual system is closed by using the method, the system to be closed executes a normal shutdown process, namely, closing information is broadcasted to the system to be closed, processes such as a data processing process and the like in the system are stopped in sequence, data is stored in sequence, and in addition, the hardware equipment closes the system to be closed after releasing the memory occupied in the kernel in sequence. The method has the advantages that the process in the system to be closed can be stopped in sequence, the disk is not abnormal due to sudden access stop, and the phenomenon that the next startup time is prolonged is avoided. The data in the system to be closed is written into the disk in time and stored, the shared hardware in the two systems releases the memory occupied by the kernel in sequence, so that the hardware can be normally closed in the system to be closed, and the unclosed system can normally use the shared hardware in the two systems.
Fig. 3 is a schematic flowchart of another dual-system-based system shutdown method according to an embodiment of the present disclosure, where the method is applied to an electronic device, and a kernel, a root namespace (roots) domain, a first system, and a second system run in the electronic device. As shown in fig. 3, the method includes:
201. the kernel acquires a closing instruction, wherein the system closing instruction comprises an identifier of a system to be closed, and sends the closing instruction to a Roots domain.
Exemplarily, a dual system, a first system and a second system, respectively, is installed in the electronic device; and, a kernel and a Rootns domain run in the electronic device.
This step can be referred to as step 101 in fig. 2, and is not described again.
202. And the Rootns field modifies the attribute value into an identifier of the system to be closed and sends indication information to the kernel, wherein the indication information comprises the attribute value associated with the identifier of the system to be closed.
For example, in an electronic device with two systems installed therein, if a first system in the electronic device needs to be closed, after the Rootns domain receives a close instruction sent by the core, an attribute value in the Rootns domain is modified to an identifier of a system to be closed, that is, a sys. Wherein the indication information contains an attribute value (vp 1) associated with the system identification to be shut down.
For example, in an electronic device with two systems installed, if a second system in the electronic device needs to be closed, after the Rootns domain receives a close instruction sent by the core, an attribute value in the Rootns domain is modified to an identifier of a system to be closed, that is, a sys. Wherein the indication information comprises an attribute value (vp 2) associated with the system identification with shutdown.
203a, when monitoring that the identifier of the system to be closed associated with the attribute value is the identifier of the first system, the first system modifies first preset attribute information in the first system according to the identifier of the system to be closed associated with the attribute value, wherein the modified first preset attribute information includes the identifier of the system to be closed.
Illustratively, the first system may listen for information changes stored in the kernel through the poll mechanism. When the Rootns domain sends the indication information of the attribute modification information to the kernel (wherein the indication information includes attribute value information associated with the identifier of the system to be closed), after monitoring the indication information sent by the Rootns domain in the kernel by a poll mechanism in the first system, the first system reads the indication information sent by the Rootns domain to the kernel through the poll mechanism, at this time, if the identifier of the system to be closed is the identifier vp1 of the first system, the first preset attribute information of the first system is modified according to the read indication information, and the first preset attribute information of the first system is modified into (shutdown, vp 1).
204a, the second system modifies second preset attribute information in the second system according to the identifier of the first system, wherein the modified second preset attribute information comprises the identifier of the first system.
Illustratively, the second system may listen for information changes stored in the kernel through the poll mechanism. When the Rootns domain sends the indication information of the attribute modification information to the kernel (wherein the indication information comprises attribute value information associated with the identifier of the system to be closed), after a poll mechanism in the second system monitors the indication information sent by the Rootns domain in the kernel, the second system can read the indication information sent by the Rootns domain to the kernel through the poll mechanism, at this time, if the identifier of the system to be closed is the identifier vp1 of the first system, the second preset attribute information of the second system is modified according to the read indication information, that is, the second preset attribute information of the second system is modified into (shutdown, vp 1).
205a, the Rootns domain receives third preset attribute information fed back by the first system through the kernel, wherein the third preset attribute information represents that the first system is to be closed; the Rootns field sends a first closing request to the kernel and receives a first closing command fed back by the kernel.
Illustratively, after the first system modifies the attribute of the first system according to the indication information in the kernel, the first system modifies third preset attribute information in the first system (wherein the third preset attribute information indicates that the first system is to be closed), that is, the attribute value of "sys. After the third preset attribute information is modified, the first system sends the third preset attribute information to the kernel; after monitoring third preset attribute information sent by the first system in the kernel, a poll mechanism in the Rootns domain acquires an attribute value represented by the third preset attribute information from the kernel ("sys. Upon receiving the attribute "sys. Vp1.Shutdown = ready", trigger in the Rootns domain sends a first shutdown request to the kernel, where the first shutdown request represents a request to close the container 1 in which the first system is located. After receiving the first close request, the kernel sends a first close command to the celld service in the Rootns domain, where the first close command represents a command to close the container 1 where the first system is located.
206a, the first system modifies the init process so that the init process stops the data processing process of the first system and closes the first system after the data is stored.
Illustratively, the init process is modified after the first system modifies the attribute of the first system according to the indication information in the kernel. And the first system closes the processes in the first system in sequence by executing the modified init process, writes the data into a disk, and closes the first system after the data is stored in sequence.
The execution order of the steps 206a and 205a is not limited.
207a, the Rootns field closes the container corresponding to the first system after a preset time according to the first close command.
Illustratively, after the celld service in the Rootns domain receives the first close command sent by the kernel, and waits for the set preset time, the celld service in the Rootns domain calls an instruction lxc-stop to close the container 1 in which the first system is located. Wherein waiting a preset time period ensures that the vessel 1 in which the first system is located is not closed until the first system is completely closed.
203b, when monitoring that the identifier of the system to be closed associated with the attribute value is the identifier of the second system, the second system modifies second preset attribute information in the second system according to the identifier of the system to be closed associated with the attribute value, wherein the modified second preset attribute information comprises the identifier of the system to be closed.
Illustratively, the second system may listen for information changes stored in the kernel through the poll mechanism. When the Rootns domain sends the indication information of the attribute modification information to the kernel (wherein the indication information includes attribute value information associated with the identifier of the system to be closed), after monitoring the indication information sent by the Rootns domain in the kernel, the poll mechanism in the second system can read the indication information sent by the Rootns domain to the kernel, at this time, if the identifier of the system to be closed is the identifier vp2 of the second system, the second preset attribute information of the second system is modified according to the read indication information, and the second preset attribute information of the second system is modified into (shutdown, vp 2).
204b, the first system modifies the first preset attribute information in the first system according to the identifier of the second system, wherein the modified first preset attribute information comprises the identifier of the second system.
Illustratively, the first system may listen for information changes stored in the kernel through the poll mechanism. When the Rootns domain sends the indication information of the attribute modification information to the kernel (wherein the indication information includes attribute value information associated with the identifier of the system to be closed), after a poll mechanism in the first system monitors the indication information sent by the Rootns domain in the kernel, the first system can read the indication information sent by the Rootns domain to the kernel through the poll mechanism, at this time, if the identifier of the system to be closed is an identifier vp2 of the second system, the first preset attribute information of the first system is modified according to the read indication information, that is, the first preset attribute information of the first system is modified into (shutdown, vp 2).
205b, the Rootns domain receives fourth preset attribute information fed back by the second system through the kernel, wherein the fourth preset attribute information represents that the second system is to be closed; the Rootns domain sends a second closing request to the kernel and receives a second closing command fed back by the kernel;
illustratively, after the second system modifies the attribute of the second system according to the indication information in the kernel, the second system modifies fourth preset attribute information in the second system (where the fourth preset attribute information indicates that the second system is to be shut down), that is, the attribute value of "sys. After the fourth preset attribute information is modified, the second system sends the fourth preset attribute information to the kernel; after monitoring fourth preset attribute information sent by the second system in the kernel, a poll mechanism in the Rootns domain acquires an attribute value represented by the fourth preset attribute information from the kernel ("sys. Upon receiving the attribute "sys. Vp2.Shutdown = ready", trigger in the Rootns domain sends a second shutdown request to the kernel, where the second shutdown request represents a request to close the container 2 in which the second system is located. After receiving the second close request, the kernel sends a second close command to the celld service in the Rootns domain, where the second close command represents a command to close the container 2 where the second system is located.
206b, the second system modifies the init process so that the init process stops the data processing process of the second system and closes the second system after the data is stored.
Illustratively, the init process is modified after the second system modifies the attribute of the second system according to the indication information in the kernel. And the second system closes the processes in the second system in sequence by executing the modified init process, writes the data into the disk, and closes the second system after the data are stored in sequence.
The execution order of step 206b and step 205b is not limited.
207b, the roots field closes the container corresponding to the second system after the preset time according to the second close command.
Illustratively, after the celld service in the Rootns domain receives the second close command sent by the kernel and waits for the set preset time, the celld service in the Rootns domain calls the instruction lxc-stop to close the container 2 in which the second system is located. Wherein waiting a preset time period ensures that the vessel 2 in which the second system is located is not closed until the second system is completely closed.
208. The kernel acquires an opening instruction, wherein the system opening instruction comprises an identifier of a system to be opened, and sends the opening instruction to a Roots domain.
For example, after step 207a or step 207b, if the closed system needs to be turned on again, an instruction to turn on the system may be sent to the kernel through a button "turn on another system" in the system that is not turned off, and after receiving the turn-on instruction, the kernel sends the turn-on instruction to the Rootns domain, where the turn-on instruction includes an identifier of the system to be turned on (where the identifier of the first system is vp1 and the identifier of the second system is vp 2).
209. The Rootns field calls an opening command, wherein the opening command is used for indicating to open a container corresponding to the identification of the system to be opened.
Illustratively, after step 208, the celld service in the Rootns domain will call the instruction lxc-start to open the container where the system to be opened is located.
In this embodiment, on the basis of the above embodiment, the kernel sends the obtained system shutdown instruction to the roots domain, where the instruction to shutdown the system includes the attribute value of the system identifier to be shutdown. After receiving the close command, the Rootns domain modifies the attribute value in the Rootns domain into the attribute value related to the system identifier to be closed, and sends the modified indication information of the attribute value of sys. The method comprises the steps that a first system and a second system monitor change information in a kernel through a poll mechanism in respective systems, after indication information which is sent by a Roots domain and carries an identification of a system to be closed is monitored, the indication information in the kernel is read through the poll mechanism, the first system and the second system respectively modify first preset attribute information and second preset attribute information according to the read indication information, and the modified first preset attribute information and second preset attribute information comprise the identification of the system to be closed. If the system matches that the identifier of the system to be closed is the identifier of the system, modifying the init process, executing the modified initi process, starting to sequentially stop processes in the system to store data, and simultaneously sending attribute information representing an instruction to be shut down to the kernel; after receiving the attribute information from the kernel, the Rootns domain sends a request for closing the container where the system to be closed is located to the kernel, and after receiving the instruction for closing the container, the Rootns domain calls lxc-stop to close the container where the system is closed after a preset time (i.e. after ensuring that the system is completely closed). And if the system is matched with the identifier of the system to be closed and is not the identifier of the system, continuing to operate the system. When a previously closed system needs to be opened, an open instruction may be obtained by the kernel and sent to the Rootns domain. And calling an opening command by the Rootns field to open the container where the system to be opened is positioned. By the method, the shutdown operation is performed on the systems in the dual systems, so that the processes in the systems to be shutdown are ensured to be sequentially closed, the abnormality of a disk is avoided, and a memory space is provided for the operation of the other system. Meanwhile, data can be written into the disk in sequence and stored, and the data can not be lost due to sudden shutdown. In addition, the hardware in the system can also sequentially release the memory on the kernel when the system is shut down, and the normal use of the hardware by the system which is not shut down can not be influenced. Moreover, after one system in the dual systems is closed, the container where the closed system is located is closed, so that the memory occupied by the container can be further released, more memory space is provided for the other system, and the system which is not closed is ensured to run more smoothly.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application, and as shown in fig. 4, the electronic device runs a kernel 41, a root namespace roots field 42, a first system 43, and a second system 44; the electronic device includes:
the kernel 41 is configured to obtain a close instruction, where the system close instruction includes an identifier of a system to be closed, and send the close instruction to a Rootns domain;
a roots field 42, configured to associate the attribute value with the identifier of the system to be closed, and send indication information to the kernel, where the indication information includes the attribute value associated with the identifier of the system to be closed;
the first system 43 is configured to modify the init process when it is monitored that the identifier of the system to be closed, which is associated with the attribute value, is the identifier of the first system, so that the init process stops a data processing process of the first system and closes the first system after storing the data;
and the second system 44 is configured to modify the init process when the identifier of the system to be closed associated with the attribute value is monitored to be the identifier of the second system, so that the init process stops the data processing process of the second system and closes the second system after storing the data.
In an example, the first system 43 is further configured to modify, before modifying the init process, first preset attribute information in the first system according to an identifier of the system to be closed, where the identifier of the system to be closed is associated with the attribute value, and the modified first preset attribute information includes the identifier of the system to be closed.
The second system 44 is further configured to modify, before modifying the init process, second preset attribute information in the second system according to the identifier of the system to be closed, where the identifier of the system to be closed is associated with the attribute value, and the modified second preset attribute information includes the identifier of the system to be closed.
In one example, if the second system monitors that the identifier of the system to be shut down associated with the attribute value is the identifier of the second system, the first system 43 is further configured to: and modifying the first preset attribute information in the first system according to the identifier of the second system, wherein the modified first preset attribute information comprises the identifier of the second system.
In one example, if the first system monitors that the identifier of the system to be shut down associated with the attribute value is the identifier of the first system, the second system 44 is further configured to: and modifying second preset attribute information in the second system according to the identifier of the first system, wherein the modified second preset attribute information comprises the identifier of the first system.
In one example, the roots field 42, is also used to: when the first system monitors that the identifier of the system to be closed, which is associated with the attribute value, is the identifier of the first system, modifying the init process so that the init process receives third preset attribute information fed back by the first system through the kernel before closing the first system after stopping the data processing process of the first system and storing the data, wherein the third preset attribute information represents that the first system is to be closed; and sending a first closing request to the kernel and receiving a first closing command fed back by the kernel.
And a roots field 42, further configured to close the container corresponding to the first system after a preset time according to the first close command.
In one example, the roots field 42, is also used to: when the second system monitors that the identifier of the system to be closed, which is associated with the attribute value, is the identifier of the second system, modifying the init process so that the init process receives fourth preset attribute information fed back by the second system through the kernel before closing the second system after stopping the data processing process of the second system and storing the data, wherein the fourth preset attribute information represents that the second system is to be closed; and sending a second closing request to the kernel and receiving a second closing command fed back by the kernel.
And a roots field 42, further configured to close the corresponding container of the second system after a preset time according to the second close command.
In one example, the roots field 42, when associating the attribute value with the identity of the system to be shut down, is specifically configured to: and modifying the attribute value into an identifier of the system to be closed.
In an example, the core 41 is further configured to obtain an open instruction, where the system shutdown indication includes an identifier of a system to be opened, and send the open instruction to a Rootns domain.
The Rootns field 42 is also used for invoking an open command, wherein the open command is used for instructing to open a container corresponding to the identification of the system to be opened.
The electronic device provided by this embodiment is used for implementing the technical solution provided by the above method, and the implementation principle and technical effect are similar, which are not described again.
Fig. 5 is a schematic structural diagram of another electronic device provided in an embodiment of the present application, and as shown in fig. 5, the electronic device includes:
a processor (processor) 291, the electronic device further including a memory (memory) 292; a Communication Interface 293 and bus 294 may also be included. The processor 291, the memory 292, and the communication interface 293 may communicate with each other via the bus 294. Communication interface 293 may be used for the transmission of information. Processor 291 may call logic instructions in memory 294 to perform the methods of the embodiments described above.
Further, the logic instructions in the memory 292 may be implemented in software functional units and stored in a computer readable storage medium when sold or used as a stand-alone product.
The memory 292 is a computer-readable storage medium for storing software programs, computer-executable programs, such as program instructions/modules corresponding to the methods in the embodiments of the present application. The processor 291 executes the functional application and data processing by executing the software program, instructions and modules stored in the memory 292, so as to implement the method in the above method embodiments.
The memory 292 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal device, and the like. Further, the memory 292 may include a high speed random access memory and may also include a non-volatile memory.
The embodiment of the application provides a computer-readable storage medium, in which computer-executable instructions are stored, and the computer-executable instructions are executed by a processor to implement the method provided by the above embodiment.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (18)

1. A system closing method based on dual systems is characterized in that the method is applied to electronic equipment, wherein a kernel, a root namespace Roots domain, a first system and a second system run in the electronic equipment; the method comprises the following steps:
the kernel acquires a closing instruction, wherein the system closing instruction comprises an identifier of a system to be closed, and sends the closing instruction to the roots domain;
the Rootns field associates an attribute value with an identifier of a system to be closed and sends indication information to the kernel, wherein the indication information comprises the attribute value associated with the identifier of the system to be closed;
when monitoring that the identifier of the system to be closed associated with the attribute value is the identifier of the first system, the first system modifies the init process so as to enable the init process to stop the data processing process of the first system and to close the first system after storing the data;
and when monitoring that the identifier of the system to be closed associated with the attribute value is the identifier of the second system, the second system modifies the init process so as to stop the data processing process of the second system and close the second system after storing the data.
2. The method of claim 1, prior to the first system modifying the init process, further comprising:
the first system modifies first preset attribute information in the first system according to an identifier of a system to be closed, which is associated with an attribute value, wherein the modified first preset attribute information comprises the identifier of the system to be closed;
before the second system modifies the init process, the method further comprises the following steps:
and the second system modifies second preset attribute information in the second system according to the identifier of the system to be closed, which is associated with the attribute value, wherein the modified second preset attribute information comprises the identifier of the system to be closed.
3. The method according to claim 1, wherein if the second system monitors that the identifier of the system to be shut down associated with the attribute value is the identifier of the second system, the method comprises:
and the first system modifies first preset attribute information in the first system according to the identifier of the second system, wherein the modified first preset attribute information comprises the identifier of the second system.
4. The method according to claim 1, wherein if the first system monitors that the identifier of the system to be shut down associated with the attribute value is the identifier of the first system, the method comprises:
and the second system modifies second preset attribute information in the second system according to the identifier of the first system, wherein the modified second preset attribute information comprises the identifier of the first system.
5. The method according to claim 1, wherein before the first system shuts down the first system after monitoring that the identifier of the system to be shut down associated with the attribute value is the identifier of the first system, the method further comprises:
the Rootns domain receives third preset attribute information fed back by the first system through the kernel, wherein the third preset attribute information represents that the first system is to be closed;
the Rootns domain sends a first closing request to the kernel and receives a first closing command fed back by the kernel;
the method further comprises the following steps: and the roots field closes the container corresponding to the first system after preset time according to the first closing command.
6. The method according to claim 1, wherein before the second system shuts down the second system after monitoring that the identifier of the system to be shut down associated with the attribute value is the identifier of the second system, modifying the init process so that the init process stops the data processing process of the second system and saves data, further comprising:
the Rootns domain receives fourth preset attribute information fed back by the second system through the kernel, wherein the fourth preset attribute information represents that the second system is to be closed;
the Rootns domain sends a second closing request to the kernel and receives a second closing command fed back by the kernel;
the method further comprises the following steps: and the roots field closes the container corresponding to the second system after preset time according to the second closing command.
7. The method of any of claims 1-6, wherein the Roots field associates an attribute value with an identification of a system to be shut down, comprising:
and the Rootns field modifies the attribute value into the identifier of the system to be closed.
8. The method according to any one of claims 1-6, further comprising:
the kernel acquires a starting instruction, wherein the system starting instruction comprises an identifier of a system to be started, and sends the starting instruction to the Roots domain;
and calling an opening command by the Rootns field, wherein the opening command is used for indicating to open a container corresponding to the identifier of the system to be opened.
9. An electronic device is characterized in that a kernel, a root namespace Rootns domain, a first system and a second system run in the electronic device; the electronic device includes:
the kernel is configured to obtain a close instruction, where the system close instruction includes an identifier of a system to be closed, and send the close instruction to the roots domain;
the Rootns domain is used for associating the attribute value with the identifier of the system to be closed and sending indication information to the kernel, wherein the indication information comprises the attribute value associated with the identifier of the system to be closed;
the first system is used for modifying the init process when monitoring that the identifier of the system to be closed, which is associated with the attribute value, is the identifier of the first system, so that the init process stops the data processing process of the first system and closes the first system after storing data;
and the second system is used for modifying the init process when monitoring that the identifier of the system to be closed, which is associated with the attribute value, is the identifier of the second system, so that the init process stops the data processing process of the second system and closes the second system after storing the data.
10. The electronic device according to claim 9, wherein the first system is further configured to modify, before modifying the init process, first preset attribute information in the first system according to an identifier of a system to be closed associated with the attribute value, where the modified first preset attribute information includes the identifier of the system to be closed;
and the second system is further configured to modify second preset attribute information in the second system according to the identifier of the system to be closed, which is associated with the attribute value, before modifying the init process, where the modified second preset attribute information includes the identifier of the system to be closed.
11. The electronic device of claim 9, wherein if the second system monitors that the identifier of the system to be shut down associated with the attribute value is the identifier of the second system, the first system is further configured to:
and modifying the first preset attribute information in the first system according to the identifier of the second system, wherein the modified first preset attribute information comprises the identifier of the second system.
12. The electronic device of claim 9, wherein if the first system monitors that the identifier of the system to be shut down associated with the attribute value is the identifier of the first system, the second system is further configured to:
and modifying second preset attribute information in the second system according to the identifier of the first system, wherein the modified second preset attribute information comprises the identifier of the first system.
13. The electronic device of claim 9, wherein the roots field is further configured to: when the first system monitors that the identifier of the system to be closed, which is associated with the attribute value, is the identifier of the first system, modifying an init process so as to enable the init process to stop a data processing process of the first system and store data before closing the first system, and then receiving third preset attribute information fed back by the first system through the kernel, wherein the third preset attribute information represents that the first system is to be closed; sending a first closing request to the kernel, and receiving a first closing command fed back by the kernel;
the Rootns field is further configured to close the container corresponding to the first system after a preset time according to the first close command.
14. The electronic device of claim 9, wherein the roots field is further configured to: when the second system monitors that the identifier of the system to be closed, which is associated with the attribute value, is the identifier of the second system, modifying the init process so that the init process receives fourth preset attribute information fed back by the second system through the kernel before closing the second system after stopping the data processing process of the second system and storing data, wherein the fourth preset attribute information represents that the second system is to be closed; sending a second closing request to the kernel, and receiving a second closing command fed back by the kernel;
and the Rootns field is also used for closing the container corresponding to the second system after preset time according to the second closing command.
15. Electronic device according to any of claims 9-14, wherein the Rootns field, when associating the attribute value with the identity of the system to be shut down, is specifically configured to:
and the Rootns field modifies the attribute value into the identifier of the system to be closed.
16. The electronic device according to any of claims 9-14, wherein the core is further configured to obtain an open instruction, where the system shutdown indication includes an identifier of a system to be opened, and send the open instruction to the Rootns domain;
the Rootns field is further configured to invoke an open command, where the open command is used to instruct to open a container corresponding to the identifier of the system to be opened.
17. An electronic device, comprising: a processor and a memory;
wherein the memory stores instructions executable by the processor, which when executed by the processor, cause the processor to perform the method of any of claims 1-8.
18. A computer-readable storage medium having computer-executable instructions stored thereon, which when executed by a processor, perform the method of any one of claims 1-8.
CN202010909765.2A 2020-09-02 2020-09-02 System closing method, equipment and storage medium based on dual systems Active CN114201221B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010909765.2A CN114201221B (en) 2020-09-02 2020-09-02 System closing method, equipment and storage medium based on dual systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010909765.2A CN114201221B (en) 2020-09-02 2020-09-02 System closing method, equipment and storage medium based on dual systems

Publications (2)

Publication Number Publication Date
CN114201221A CN114201221A (en) 2022-03-18
CN114201221B true CN114201221B (en) 2023-03-21

Family

ID=80644349

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010909765.2A Active CN114201221B (en) 2020-09-02 2020-09-02 System closing method, equipment and storage medium based on dual systems

Country Status (1)

Country Link
CN (1) CN114201221B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103514038A (en) * 2012-06-26 2014-01-15 中兴通讯股份有限公司 Method and system for smoothly shutting down virtual system
KR20140119607A (en) * 2013-04-01 2014-10-10 삼성전자주식회사 Method and apparatus for location registration of terminal in mobile communication system
CN105786607A (en) * 2016-03-24 2016-07-20 宇龙计算机通信科技(深圳)有限公司 Multi-system freezing and awakening method and device
CN106095530A (en) * 2016-06-08 2016-11-09 电子科技大学 The container of a kind of many android system automatically creates and startup method
CN106127034A (en) * 2016-06-17 2016-11-16 北京金山安全软件有限公司 Method and device for preventing system from being closed maliciously and electronic equipment
CN106502735A (en) * 2016-10-18 2017-03-15 北京珠穆朗玛移动通信有限公司 The moving method that applies in dual system and its mobile terminal
CN106547628A (en) * 2016-11-29 2017-03-29 北京元心科技有限公司 Multi-system resource release method and device
CN107608785A (en) * 2017-08-15 2018-01-19 深圳天珑无线科技有限公司 Process management method, mobile terminal and readable storage medium
CN108833979A (en) * 2018-05-04 2018-11-16 烽火通信科技股份有限公司 The provisioning file introduction method and dual system convergent terminal of dual system convergent terminal
CN108984212A (en) * 2017-05-31 2018-12-11 腾讯科技(深圳)有限公司 A kind of method and electronic equipment of closing process
CN110502881A (en) * 2019-07-31 2019-11-26 广州微算互联信息技术有限公司 Dynamic modifies method, system and the storage medium of Android system read only attribute
CN111290859A (en) * 2018-12-07 2020-06-16 成都鼎桥通信技术有限公司 Method and terminal for synchronizing initialization attributes of dual-system terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180011714A1 (en) * 2016-07-08 2018-01-11 Super Micro Computer, Inc. Graceful shutdown with asynchronous dram refresh of non-volatile dual in-line memory module

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103514038A (en) * 2012-06-26 2014-01-15 中兴通讯股份有限公司 Method and system for smoothly shutting down virtual system
KR20140119607A (en) * 2013-04-01 2014-10-10 삼성전자주식회사 Method and apparatus for location registration of terminal in mobile communication system
CN105786607A (en) * 2016-03-24 2016-07-20 宇龙计算机通信科技(深圳)有限公司 Multi-system freezing and awakening method and device
CN106095530A (en) * 2016-06-08 2016-11-09 电子科技大学 The container of a kind of many android system automatically creates and startup method
CN106127034A (en) * 2016-06-17 2016-11-16 北京金山安全软件有限公司 Method and device for preventing system from being closed maliciously and electronic equipment
CN106502735A (en) * 2016-10-18 2017-03-15 北京珠穆朗玛移动通信有限公司 The moving method that applies in dual system and its mobile terminal
CN106547628A (en) * 2016-11-29 2017-03-29 北京元心科技有限公司 Multi-system resource release method and device
CN108984212A (en) * 2017-05-31 2018-12-11 腾讯科技(深圳)有限公司 A kind of method and electronic equipment of closing process
CN107608785A (en) * 2017-08-15 2018-01-19 深圳天珑无线科技有限公司 Process management method, mobile terminal and readable storage medium
CN108833979A (en) * 2018-05-04 2018-11-16 烽火通信科技股份有限公司 The provisioning file introduction method and dual system convergent terminal of dual system convergent terminal
CN111290859A (en) * 2018-12-07 2020-06-16 成都鼎桥通信技术有限公司 Method and terminal for synchronizing initialization attributes of dual-system terminal
CN110502881A (en) * 2019-07-31 2019-11-26 广州微算互联信息技术有限公司 Dynamic modifies method, system and the storage medium of Android system read only attribute

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
计算机与网络创新生活.双系统中快速卸载删除Windows 7的技巧.2010,(01),第32页. *
高启飞."基于MTK平台的双卡双待双蓝牙手机硬件设计与实现".2010,第I136-180页. *

Also Published As

Publication number Publication date
CN114201221A (en) 2022-03-18

Similar Documents

Publication Publication Date Title
US9558016B2 (en) Platform system, method for changing support hardware configuration of universal extensible firmware interface basic input output system and computer program product
JP5119686B2 (en) Information processing apparatus and setting method
US8782643B2 (en) Device and method for controlling communication between BIOS and BMC
TWI612439B (en) Computing device, method and machine readable storage media for detecting unauthorized memory access
EP2816467A2 (en) Method and device for checkpoint and restart of container state
US20120151231A1 (en) Power supply switching device, a power supply switching device control method and a power supply control program
US20160188243A1 (en) Memory access protection using processor transactional memory support
US20020049897A1 (en) Method for adding processor
US8117574B2 (en) Implementing a serialization construct within an environment of parallel data flow graphs
CN114201221B (en) System closing method, equipment and storage medium based on dual systems
US6502176B1 (en) Computer system and methods for loading and modifying a control program without stopping the computer system using reserve areas
US9395987B2 (en) Method and device for detecting a race condition
US9348667B2 (en) Apparatus for managing application program and method therefor
CN114816662A (en) Container arrangement method and system applied to Kubernetes
JPH0320832A (en) Information processing system
US10936357B2 (en) Semiconductor device
CN109634721B (en) Method and related device for starting communication between virtual machine and host
CN112988353A (en) Operation control method and device for application program
US8490105B2 (en) Pluggable component interface
CN112148376A (en) Terminal starting method and device
KR101420026B1 (en) A method, apparatus and computer program for loading files during a boot-up process
US7191443B2 (en) Digital device, task management method and program therefor
JPH02161523A (en) Resident module correcting system
JPH11134204A (en) Stack protecting device
JPH0588933A (en) Parallel processing system with debugging function

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant