CN104980591B - A kind of multisystem switching method for mobile terminal - Google Patents
A kind of multisystem switching method for mobile terminal Download PDFInfo
- Publication number
- CN104980591B CN104980591B CN201510404935.0A CN201510404935A CN104980591B CN 104980591 B CN104980591 B CN 104980591B CN 201510404935 A CN201510404935 A CN 201510404935A CN 104980591 B CN104980591 B CN 104980591B
- Authority
- CN
- China
- Prior art keywords
- module
- nucleus module
- subprocess
- nucleus
- scheduler
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 54
- 238000005192 partition Methods 0.000 claims abstract description 16
- 230000008569 process Effects 0.000 claims description 12
- 238000004891 communication Methods 0.000 claims description 7
- 238000011112 process operation Methods 0.000 claims description 6
- 238000012544 monitoring process Methods 0.000 claims description 2
- 230000009897 systematic effect Effects 0.000 claims description 2
- 230000001960 triggered effect Effects 0.000 claims description 2
- 230000008859 change Effects 0.000 description 2
- 238000010367 cloning Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000005457 optimization Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a kind of multisystem switching method for mobile terminal, the switching method includes, and performs high I/O operation task by nucleus module in advance;Scheduler module is received after system switching command, and nucleus module subprocess is cloned by the nucleus module for performing too high I/O operation task;The nucleus module subprocess that clones starts the target of switching from system;Wherein, in the main partition corresponding to the main system of scheduler module, nucleus module and nucleus module subprocess all in mobile terminal.The present invention can be used in the mobile terminal with the multisystem designed based on multi partition, it is to avoid the switch speed between high I/O operation influence multisystem.
Description
Technical field
The present invention relates to moving communicating field, more particularly to a kind of multisystem switching method for mobile terminal.
Background technology
With the fast development of smart mobile phone, mobile terminal turns into interaction and the means of communication that people are commonly used, and has greatly
Replace the gesture of desktop computer, however, cutting between the mobile terminal for using the multiple operating system designed based on multi partition, system
Change and be frequently necessary to long period completion, have impact on Consumer's Experience effect.
It is of the prior art that desktop computer is mostly directed to based on the multiple operating system startup method that multi partition is designed, and not
It is related to the optimization for restarting speed, because the structural difference of desktop computer and mobile terminal is larger, the startup method of desktop computer is difficult to move
Plant on mobile terminal.
It is then desired to which a kind of mobile terminal for the multiple operating system that can be designed dedicated for use based on multi partition is
System switching time optimization method, optimizes system architecture, shortens system switching time, system response speed is improved, so that more square
Just the use of user.
The content of the invention
It is longer for the system switching time of the existing mobile terminal using the multiple operating system designed based on multi partition
Technical problem, the invention provides a kind of multisystem switching method for mobile terminal, the special system by designing, by height
I/O operation is previously positioned in nucleus module process and handled, and solves the problems, such as long delay caused by high I/O operation, so as to accelerate movement
The system switch speed of terminal.
To achieve these goals, it is described to cut the invention provides a kind of multisystem switching method for mobile terminal
The method of changing includes:High I/O operation task is performed by nucleus module in advance;Scheduler module is received after system switching command, by performing
The nucleus module of too high I/O operation task clones nucleus module subprocess;The nucleus module subprocess cloned starts switching
Target is from system;Wherein, three modules, i.e. scheduler module, nucleus module and nucleus module subprocess are included in main partition.
Alternatively, the switching method also includes:After mobile terminal-opening, the corresponding main partition of main system starts;Main point
Area starts its scheduler module;Scheduler module starts nucleus module;High I/O operation task, nucleus module are performed by nucleus module in advance
Enter after the high I/O operation task has been performed and wait coomand mode;Scheduler module sends the first time cloning life to nucleus module
Order;Nucleus module is in coomand mode is waited, when receiving the first time clone's order that scheduler module is sent to nucleus module,
Nucleus module clones nucleus module subprocess, and the process number of the nucleus module subprocess cloned is sent into scheduling mould
Block;The nucleus module subprocess cloned starts first from system;Wherein, it is current from systematic procedure in running of mobile terminal
In, scheduler module monitoring system switching command then terminates current core module subprocess when receiving system switching command, exited
Current core module subprocess is corresponding currently to send clone's order again from system, and to nucleus module, with control core mould
Block clones nucleus module subprocess, the process number of the nucleus module subprocess cloned again is sent into scheduling mould again
Block, the nucleus module subprocess cloned again start the target of switching from system;When scheduler module exits current core module
Subprocess is corresponding currently to be sent after clone's order again from system and not to nucleus module, and nucleus module, which is again introduced into, etc. awaits orders
Writ state;Nucleus module subprocess starts to be included from system:Loading starts from being from the corresponding configuration information from subregion of system
System is corresponding from subregion.
Alternatively, in the switching method:System switching command is triggered by user's click switching system button.
Alternatively, in the switching method:Include users personal data out of subregion, the users personal data includes the
Tripartite's application, wallpaper, theme, user file and user picture.
Alternatively, in the switching method:The loading starts from system from the corresponding configuration information from subregion of system
It is corresponding to include from subregion:Load from the corresponding users personal data from subregion of system.
Alternatively, in the switching method:The loading includes from system is corresponding from the users personal data of subregion:Plus
Carry and start from the corresponding third-party application, wallpaper and theme from subregion of system.
Alternatively, in the switching method:Scheduler module, which starts nucleus module, to be included:Scheduler module performs fork operations
Create process operation and start nucleus module.
Alternatively, in the switching method:It is executive process file operation that scheduler module, which performs execute operations, is started
High I/O operation task is performed by nucleus module in advance.
Alternatively, in the switching method:Scheduler module uses socket or property communication modes to nucleus module
The clone's order of transmission.
Alternatively, in the switching method:Scheduler module performs kill operations and terminates process operation to terminate to work as pronucleus
Core module subprocess.
The present invention is by adopting the above-described technical solution, so as to advantages below:The present invention's is used for mobile terminal
Multisystem switching method, has transformed long delay problem caused by high I/O operation in the prior art, in system boot and each system
Avoid growing wait during system switching, so that accelerate multisystem restarts speed.
Brief description of the drawings
Fig. 1 is a kind of method flow diagram of multisystem switching method for mobile terminal of the invention.
Embodiment
The embodiment to the present invention is described in detail below in conjunction with the accompanying drawings.
First, Fig. 1 is refer to, Fig. 1 is a kind of method flow of multisystem switching method for mobile terminal of the invention
Figure, the switching method comprises the following steps:
Step 101:High I/O operation task is performed by nucleus module in advance;
Step 102:Scheduler module is received after system switching command, by the nucleus module gram for performing too high I/O operation task
It is grand go out nucleus module subprocess;
Step 103:The nucleus module subprocess that clones starts the target of switching from system;
Wherein, three modules, i.e. scheduler module, nucleus module and nucleus module subprocess are included in main partition.
Specifically, in the switching method, the mode of operation of the scheduler module has two kinds:Power on mode and switching mould
Block.
Mobile terminal is in power on mode, and the switching method includes:After mobile terminal-opening, the corresponding master point of main system
Area starts;Main partition starts its scheduler module;Scheduler module starts nucleus module;High I/O operation is performed by nucleus module in advance to appoint
Business, nucleus module enters after the high I/O operation task has been performed waits coomand mode;Scheduler module is sent to nucleus module
First time clone's order;Nucleus module is in coomand mode is waited, when receiving scheduler module is sent to nucleus module first
During time cloning order, nucleus module clones nucleus module subprocess, and by the process number of the nucleus module subprocess cloned
It is sent to scheduler module;The nucleus module subprocess cloned starts first from system.
Mobile terminal is in switch mode, and the switching method includes:Running of mobile terminal it is current from system when, scheduling
Module monitors system switching command, then terminates current core module subprocess when receiving system switching command, exits and work as pronucleus
Core module subprocess is corresponding currently to send clone's order again from system, and to nucleus module, with control core module again
Clone nucleus module subprocess, the process number of the nucleus module subprocess cloned again be sent to scheduler module, again
The nucleus module subprocess that clones starts the target of switching from system;Wherein, when scheduler module exits current core module
Process is corresponding currently to be sent after clone's order again from system and not to nucleus module, the Wait Order such as nucleus module is again introduced into
State.
Wherein, nucleus module subprocess starts and included from system:Loading is opened from the corresponding configuration information from subregion of system
It is dynamic corresponding from subregion from system.
Wherein, system switching command can be clicked on switching system button to trigger by user;It can include using out of subregion
Family personal data, the users personal data can include third-party application, wallpaper, theme, user file and user picture;Institute
Loading is stated from the corresponding configuration information from subregion of system, startup can include from system is corresponding from subregion:Load from system
The corresponding users personal data from subregion;The loading can include from the corresponding users personal data from subregion of system:
Loading starts from the corresponding third-party application, wallpaper and theme from subregion of system;Scheduler module, which starts nucleus module, to wrap
Include:Scheduler module performs fork operations and creates process operation startup nucleus module;Scheduler module performs execute operations and held
Traveling journey file operation, startup performs high I/O operation task by nucleus module in advance;Scheduler module using socket or
The clone's order that property communication modes are sent to nucleus module;Scheduler module perform kill operation i.e. terminate process operation with
Terminate current core module subprocess.
In addition, socket English original meaning is " hole " or " socket ".As BSD UNIX Interprocess Communication Mechanism, take latter
Plant the meaning.Commonly referred to as " socket ", it is the handle of a communication chain for describing IP address and port, can be for reality
Communication between existing different virtual machine or different computers.Main frame on internet has typically run multiple service softwares,
There is provided several services simultaneously.A socket is all opened in every kind of service, and is tied in a port, and different ports correspond to
Different services.Socket is as its English original meaning, as a porous socket.One main frame is just as being covered with various sockets
Room, each socket has a numbering, and some sockets provide 220 volts of alternating currents, some 110 volts of alternating currents of offer, and what is had then carries
For cable television program.Plug is inserted into the socket of different numberings by client software, it is possible to obtain different services.
The present invention in order to avoid in net system switching process due to long delay problem caused by high I/O operation, using preloading
High I/O operation is pre-placed in nucleus module process before handover and handled by technology, so as to construct dedicated for tool
There is the switch mode of the mobile terminal of multisystem, improve the switch speed between the multisystem designed based on multi partition, especially
It is suitable for the Android system of customization.
One skilled in the art would recognize that above-mentioned embodiment is exemplary, it is in order that ability
Field technique personnel can be better understood from this patent content, should not be understood as the limitation to this patent protection domain, as long as
Any equivalent change or modification that the spirit according to disclosed in this patent is made, each fall within this patent protection domain.
Claims (9)
1. a kind of multisystem switching method for mobile terminal, the multisystem is designed based on multi partition, the multisystem bag
Include a main system and multiple from system, main system corresponds to a main partition, each corresponds to one from subregion from system, and it is special
Levy and be, the switching method includes:
High I/O operation task is performed by nucleus module in advance;
Scheduler module is received after system switching command, and nucleus module is cloned by the nucleus module for performing too high I/O operation task
Subprocess;
The nucleus module subprocess that clones starts the target of switching from system;
Wherein, three modules, i.e. scheduler module, nucleus module and nucleus module subprocess are included in main partition;
After mobile terminal-opening, the corresponding main partition of main system starts;
Main partition starts its scheduler module;
Scheduler module starts nucleus module;
High I/O operation task is performed by nucleus module in advance, nucleus module enters after the high I/O operation task has been performed to be waited
Coomand mode;
Scheduler module sends first time clone's order to nucleus module;
Nucleus module is in coomand mode is waited, when receiving the first time clone's order that scheduler module is sent to nucleus module
When, nucleus module clones nucleus module subprocess, and the process number of the nucleus module subprocess cloned is sent into scheduling
Module;
The nucleus module subprocess cloned starts first from system;
Wherein, it is current from systematic procedure in running of mobile terminal, scheduler module monitoring system switching command, when the system of receiving is cut
Then terminate current core module subprocess when changing order, it is corresponding current from system to exit current core module subprocess, and to
Nucleus module sends clone's order again, clones nucleus module subprocess again with control core module, will clone again
Nucleus module subprocess process number be sent to scheduler module, the nucleus module subprocess that clones again starts the mesh of switching
Mark from system;
Wherein, when scheduler module is exited, current core module subprocess is corresponding currently to be sent out again from system and not to nucleus module
Send after clone's order, nucleus module is again introduced into wait coomand mode;
Wherein, nucleus module subprocess starts and included from system:Loading from the corresponding configuration information from subregion of system, start from
System is corresponding from subregion.
2. switching method according to claim 1, it is characterised in that:
System switching command is triggered by user's click switching system button.
3. switching method according to claim 1, it is characterised in that:
Include users personal data out of subregion, the users personal data includes third-party application, wallpaper, theme, Yong Huwen
Part and user picture.
4. switching method according to claim 3, it is characterised in that:
The loading includes from the corresponding configuration information from subregion of system, startup from system is corresponding from subregion:Loading is from being
The corresponding users personal data from subregion of system.
5. switching method according to claim 4, it is characterised in that:
The loading includes from system is corresponding from the users personal data of subregion:Loading starts corresponding from subregion from system
Third-party application, wallpaper and theme.
6. according to any described switching methods of claim 1-4, it is characterised in that:
Scheduler module, which starts nucleus module, to be included:Scheduler module performs fork operations and creates process operation startup nucleus module.
7. according to any described switching methods of claim 1-4, it is characterised in that:
It is executive process file operation that scheduler module, which performs execute operations, and startup performs high I/O operation by nucleus module in advance
Task.
8. according to any described switching methods of claim 1-4, it is characterised in that:
Scheduler module uses the clone's order that socket or property communication modes are sent to nucleus module.
9. according to any described switching methods of claim 1-4, it is characterised in that:
Scheduler module performs kill operations and terminates process operation to terminate current core module subprocess.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510404935.0A CN104980591B (en) | 2015-07-10 | 2015-07-10 | A kind of multisystem switching method for mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510404935.0A CN104980591B (en) | 2015-07-10 | 2015-07-10 | A kind of multisystem switching method for mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104980591A CN104980591A (en) | 2015-10-14 |
CN104980591B true CN104980591B (en) | 2017-08-29 |
Family
ID=54276673
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510404935.0A Active CN104980591B (en) | 2015-07-10 | 2015-07-10 | A kind of multisystem switching method for mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104980591B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112068918A (en) * | 2020-09-14 | 2020-12-11 | 上海商米科技集团股份有限公司 | Method for starting electronic equipment and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103309737A (en) * | 2012-03-07 | 2013-09-18 | 联想(北京)有限公司 | Method and device for switching operating system |
CN103425527A (en) * | 2012-05-23 | 2013-12-04 | 腾讯科技(深圳)有限公司 | Multi-system switching method and switching device |
CN104536820A (en) * | 2014-12-29 | 2015-04-22 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for operating multiple systems and terminal |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8738570B2 (en) * | 2010-11-22 | 2014-05-27 | Hitachi Data Systems Engineering UK Limited | File cloning and de-cloning in a data storage system |
CN102135910B (en) * | 2011-03-03 | 2014-05-14 | 威盛电子股份有限公司 | Method for switching operating systems and electronic device using same |
-
2015
- 2015-07-10 CN CN201510404935.0A patent/CN104980591B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103309737A (en) * | 2012-03-07 | 2013-09-18 | 联想(北京)有限公司 | Method and device for switching operating system |
CN103425527A (en) * | 2012-05-23 | 2013-12-04 | 腾讯科技(深圳)有限公司 | Multi-system switching method and switching device |
CN104536820A (en) * | 2014-12-29 | 2015-04-22 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for operating multiple systems and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN104980591A (en) | 2015-10-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103797460A (en) | Application control in electronic devices | |
JP2017520853A (en) | Numerical control system based on virtual host device | |
CN107391736B (en) | Page display method and device | |
CN105306225B (en) | A kind of physical machine remote power-off method based on Openstack | |
CN102298491B (en) | Embedded graphical interface system and image generation method thereof | |
CN102421028A (en) | Control method for intelligent television (TV), intelligent TV, remote control device and intelligent TV control system | |
CN105138302A (en) | Screen splitting display method and device | |
US20200059498A1 (en) | Minimizing productivity loss in a collaborative sharing environment | |
CN104468826A (en) | Distributed rendering method, device and system | |
WO2015117445A1 (en) | Method and device for processing task window | |
CN104881307B (en) | Method and device for realizing downloading | |
CN113572822A (en) | Cloud terminal simulation control method and device, storage medium and electronic equipment | |
CN110480633B (en) | Method and device for controlling equipment and storage medium | |
CN103299289B (en) | A collaboration management system | |
CN104333650A (en) | Screen sharing method, system and mobile terminal | |
CN104980591B (en) | A kind of multisystem switching method for mobile terminal | |
CN113242244B (en) | Data transmission method, device and system | |
CN106209423B (en) | Virtual desktop distribution method and device | |
CN105262604A (en) | Virtual machine migration method and equipment | |
CN110687921A (en) | Unmanned aerial vehicle flight control method and device, electronic equipment and storage medium | |
CN114124697A (en) | Network switching method, network switching device and storage medium | |
EP3439249B1 (en) | Network system, management method and device for same, and server | |
CN106331863A (en) | Turn-off control method and device for Android system television, and the Android system television | |
CN115268951A (en) | Installation method, device, equipment and storage medium of operating system | |
JP2010244470A (en) | Distributed processing system and distributed processing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
PP01 | Preservation of patent right |
Effective date of registration: 20180313 Granted publication date: 20170829 |
|
PP01 | Preservation of patent right | ||
PD01 | Discharge of preservation of patent | ||
PD01 | Discharge of preservation of patent |
Date of cancellation: 20210313 Granted publication date: 20170829 |
|
PP01 | Preservation of patent right | ||
PP01 | Preservation of patent right |
Effective date of registration: 20210313 Granted publication date: 20170829 |
|
PD01 | Discharge of preservation of patent | ||
PD01 | Discharge of preservation of patent |
Date of cancellation: 20240313 Granted publication date: 20170829 |