CN104980591A - Multi-system switching method for mobile terminal - Google Patents
Multi-system switching method for mobile terminal Download PDFInfo
- Publication number
- CN104980591A CN104980591A CN201510404935.0A CN201510404935A CN104980591A CN 104980591 A CN104980591 A CN 104980591A CN 201510404935 A CN201510404935 A CN 201510404935A CN 104980591 A CN104980591 A CN 104980591A
- Authority
- CN
- China
- Prior art keywords
- module
- nucleus module
- subprocess
- nucleus
- changing method
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 59
- 238000005192 partition Methods 0.000 claims description 16
- 230000009897 systematic effect Effects 0.000 claims description 16
- 238000011156 evaluation Methods 0.000 claims description 14
- 230000008569 process Effects 0.000 claims description 14
- 238000004891 communication Methods 0.000 claims description 7
- 238000011112 process operation Methods 0.000 claims description 6
- 238000013461 design Methods 0.000 claims description 5
- 238000010367 cloning Methods 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000005457 optimization Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects 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 multi-system switching method for a mobile terminal. The switching method includes that a core module executes high IO operation task in advance; the core module executed the high IO operation task clones a subprocess of the core module after a scheduling module receives a switching instruction of the system, the cloned subprocess of the core module starts to a switched object subsystem. The scheduling module, the core module and the subprocess of the core module are in the corresponding main division of the main system of the mobile terminal. The method is applicable to a multi-system mobile terminal based on multiple divisions, and the influence on speed of switching between multiple systems due to high IO operation can be prevented.
Description
Technical field
The present invention relates to moving communicating field, particularly relate to a kind of multisystem changing method for mobile terminal.
Background technology
Along with the fast development of smart mobile phone, mobile terminal becomes the mutual and means of communication that people often use, there is greatly the gesture replacing desktop computer, but, for the mobile terminal of the multiple operating system adopted based on multi partition design, switching between system often needs the long period to complete, and have impact on Consumer's Experience effect.
Multiple operating system starting method based on multi partition design of the prior art is mostly directed to desktop computer, and do not relate to the optimization of restarting speed, because the structural difference of desktop computer and mobile terminal is comparatively large, the starting method of desktop computer is difficult to be transplanted on mobile terminal.
Thus, need a kind of time-optimized method of systematic evaluation that can be specifically designed to the mobile terminal of the multiple operating system adopted based on multi partition design, optimization system structure, shortens the systematic evaluation time, improves system response speed, thus the use of convenient user.
Summary of the invention
The technical problem that systematic evaluation time of the mobile terminal of the multiple operating system designed based on multi partition for existing employing is longer, the invention provides a kind of multisystem changing method for mobile terminal, by designing special system, high I/O operation is placed in nucleus module process in advance and processes, solve the long delay problem that high I/O operation causes, thus accelerate the systematic evaluation speed of mobile terminal.
To achieve these goals, the invention provides a kind of multisystem changing method for mobile terminal, described changing method comprises: perform high I/O operation task by nucleus module in advance; After scheduler module receives systematic evaluation order, clone nucleus module subprocess by the nucleus module performing too high I/O operation task; The nucleus module subprocess cloned starts the target of switching from system; Wherein, in main partition, comprise three modules, i.e. scheduler module, nucleus module and nucleus module subprocess.
Alternatively, described changing method also comprises: after mobile terminal-opening, the main partition startup that main system is corresponding; Main partition starts its scheduler module; Scheduler module starts nucleus module; Perform high I/O operation task by nucleus module in advance, nucleus module enters wait command state after executing described high I/O operation task; Scheduler module sends to nucleus module and clones order for the first time; Nucleus module is in wait command state, and when receiving scheduler module to the first time clone order that nucleus module sends, nucleus module clones nucleus module subprocess, and the process number of the nucleus module subprocess cloned is sent to scheduler module; The nucleus module subprocess cloned starts first from system; Wherein, current from systematic procedure at running of mobile terminal, scheduler module surveillance switching command, current core module subprocess is then terminated when receiving systematic evaluation order, exit corresponding current from system of current core module subprocess, and again sending clone's order to nucleus module, the nucleus module subprocess again clone nucleus module subprocess with control core module, the process number of the nucleus module subprocess again cloned is sent to scheduler module, again cloning starts the target of switching from system; When scheduler module exits corresponding current of current core module subprocess from system and again do not send clone's order to nucleus module after, nucleus module enters wait command state again; Nucleus module subprocess start comprise from system: load from the configuration information from subregion corresponding to system, start from system corresponding from subregion.
Alternatively, in described changing method: systematic evaluation order is clicked switched system button to trigger by user.
Alternatively, in described changing method: comprise users personal data in subregion, described users personal data comprises third-party application, wallpaper, theme, user file and user picture.
Alternatively, in described changing method: described loading, from the configuration information from subregion corresponding to system, starts from corresponding the comprising from subregion of system: load from the users personal data from subregion corresponding to system.
Alternatively, in described changing method: described loading is from corresponding the comprising from the users personal data of subregion of system: load and start from the corresponding third-party application from subregion, wallpaper and the theme of system.
Alternatively, in described changing method: scheduler module starts nucleus module and comprises: scheduler module performs fork operation and namely creates process operation startup nucleus module.
Alternatively, in described changing method: scheduler module performs execute operation and executive process file operation, start and perform high I/O operation task by nucleus module in advance.
Alternatively, in described changing method: clone's order that scheduler module adopts socket or property communication mode to send to nucleus module.
Alternatively, in described changing method: scheduler module performs kill operation and namely terminates process operation to terminate current core module subprocess.
The present invention is owing to have employed technique scheme, thus have the following advantages: the multisystem changing method for mobile terminal of the present invention, transform the long delay problem that high I/O operation in prior art causes, in the process of system boot and each systematic evaluation, avoid long wait, thus accelerate multisystem restart speed.
Accompanying drawing explanation
Fig. 1 is the method flow diagram of a kind of multisystem changing method for mobile terminal of the present invention.
Embodiment
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described in detail.
First, please refer to Fig. 1, Fig. 1 is the method flow diagram of a kind of multisystem changing method for mobile terminal of the present invention, and described changing method comprises the following steps:
Step 101: perform high I/O operation task by nucleus module in advance;
Step 102: after scheduler module receives systematic evaluation order, clones nucleus module subprocess by the nucleus module performing too high I/O operation task;
Step 103: the nucleus module subprocess cloned starts the target of switching from system;
Wherein, in main partition, comprise three modules, i.e. scheduler module, nucleus module and nucleus module subprocess.
Particularly, in described changing method, the mode of operation of described scheduler module has two kinds: power on mode and handover module.
Mobile terminal is in power on mode, and described changing method comprises: after mobile terminal-opening, the main partition startup that main system is corresponding; Main partition starts its scheduler module; Scheduler module starts nucleus module; Perform high I/O operation task by nucleus module in advance, nucleus module enters wait command state after executing described high I/O operation task; Scheduler module sends to nucleus module and clones order for the first time; Nucleus module is in wait command state, and when receiving scheduler module to the first time clone order that nucleus module sends, nucleus module clones nucleus module subprocess, and the process number of the nucleus module subprocess cloned is sent to scheduler module; The nucleus module subprocess cloned starts first from system.
Mobile terminal is in switch mode, described changing method comprises: running of mobile terminal current from system time, scheduler module surveillance switching command, current core module subprocess is then terminated when receiving systematic evaluation order, exit corresponding current from system of current core module subprocess, and again send clone's order to nucleus module, nucleus module subprocess is again cloned with control core module, the process number of the nucleus module subprocess again cloned is sent to scheduler module, the nucleus module subprocess again cloned starts the target of switching from system, wherein, when scheduler module exits corresponding current of current core module subprocess from system and again do not send clone's order to nucleus module after, nucleus module enters wait command state again.
Wherein, nucleus module subprocess start comprise from system: load from the configuration information from subregion corresponding to system, start from system corresponding from subregion.
Wherein, systematic evaluation order can be clicked switched system button to trigger by user; Can comprise users personal data in subregion, described users personal data can comprise third-party application, wallpaper, theme, user file and user picture; Described loading, from the configuration information from subregion corresponding to system, starts from corresponding can the comprising from subregion of system: load from the users personal data from subregion corresponding to system; Described loading can comprise from the users personal data from subregion that system is corresponding: load and start from the corresponding third-party application from subregion, wallpaper and the theme of system; Scheduler module starts nucleus module and can comprise: scheduler module performs fork operation and namely creates process operation startup nucleus module; Scheduler module performs execute operation and executive process file operation, starts and performs high I/O operation task by nucleus module in advance; Clone's order that scheduler module adopts socket or property communication mode to send to nucleus module; Scheduler module performs kill operation and namely terminates process operation to terminate current core module subprocess.
In addition, the English original meaning of socket is " hole " or " socket ".As the Interprocess Communication Mechanism of BSD UNIX, get the rear one meaning.Usually also referred to as " socket ", for describing IP address and port, being the handle of a communication chain, can being used for realizing the communication between different virtual machine or different computer.Main frame on internet has generally run multiple service software, provides several service simultaneously.A socket is all opened in often kind of service, and is tied on a port, and different ports corresponds to different services.Socket as its English original meaning, as a porous socket.A main frame is just as being covered with the room of various socket, and each socket has a numbering, and some sockets provide 220 volts of alternating currents, and what have provides 110 volts of alternating currents, and what have then provides cable television program.Plug is inserted into the socket of different numbering by client software, just can obtain different services.
The present invention in order to avoid in net system switching process due to long delay problem that high I/O operation causes, high I/O operation is placed in nucleus module process before handover and is processed by employing prestrain technology in advance, thus construct the switch mode being specifically designed to the mobile terminal with multisystem, improve based on multi partition design multisystem between switch speed, be particularly suitable for customize Android system.
Those skilled in the art will recognize that; above-mentioned embodiment is exemplary; to enable those skilled in the art better understand this patent content; should not be understood as the restriction to this patent protection range; as long as according to this patent disclose any equivalent change done of spirit or modification, all fall into this patent protection range.
Claims (10)
1. for a multisystem changing method for mobile terminal, described multisystem designs based on multi partition, and described multisystem comprises a main system and multiple from system, the corresponding main partition of main system, each is characterized in that from corresponding one of system from subregion, and described changing method comprises:
High I/O operation task is performed in advance by nucleus module;
After scheduler module receives systematic evaluation order, clone nucleus module subprocess by the nucleus module performing too high I/O operation task;
The nucleus module subprocess cloned starts the target of switching from system;
Wherein, in main partition, comprise three modules, i.e. scheduler module, nucleus module and nucleus module subprocess.
2. changing method according to claim 1, is characterized in that, described changing method also comprises:
After mobile terminal-opening, the main partition startup that main system is corresponding;
Main partition starts its scheduler module;
Scheduler module starts nucleus module;
Perform high I/O operation task by nucleus module in advance, nucleus module enters wait command state after executing described high I/O operation task;
Scheduler module sends to nucleus module and clones order for the first time;
Nucleus module is in wait command state, and when receiving scheduler module to the first time clone order that nucleus module sends, nucleus module clones nucleus module subprocess, and the process number of the nucleus module subprocess cloned is sent to scheduler module;
The nucleus module subprocess cloned starts first from system;
Wherein, current from systematic procedure at running of mobile terminal, scheduler module surveillance switching command, current core module subprocess is then terminated when receiving systematic evaluation order, exit corresponding current from system of current core module subprocess, and again sending clone's order to nucleus module, the nucleus module subprocess again clone nucleus module subprocess with control core module, the process number of the nucleus module subprocess again cloned is sent to scheduler module, again cloning starts the target of switching from system;
Wherein, when scheduler module exits corresponding current of current core module subprocess from system and again do not send clone's order to nucleus module after, nucleus module enters wait command state again;
Wherein, nucleus module subprocess start comprise from system: load from the configuration information from subregion corresponding to system, start from system corresponding from subregion.
3. changing method according to claim 2, is characterized in that:
Systematic evaluation order is clicked switched system button to trigger by user.
4. changing method according to claim 2, is characterized in that:
In subregion, comprise users personal data, described users personal data comprises third-party application, wallpaper, theme, user file and user picture.
5. changing method according to claim 4, is characterized in that:
Described loading, from the configuration information from subregion corresponding to system, starts from corresponding the comprising from subregion of system: load from the users personal data from subregion corresponding to system.
6. changing method according to claim 5, is characterized in that:
Described loading is from corresponding the comprising from the users personal data of subregion of system: load and start from the corresponding third-party application from subregion, wallpaper and the theme of system.
7., according to the arbitrary described changing method of claim 1-5, it is characterized in that:
Scheduler module starts nucleus module and comprises: scheduler module performs fork operation and namely creates process operation startup nucleus module.
8., according to the arbitrary described changing method of claim 1-5, it is characterized in that:
Scheduler module performs execute operation and executive process file operation, starts and performs high I/O operation task by nucleus module in advance.
9., according to the arbitrary described changing method of claim 1-5, it is characterized in that:
Clone's order that scheduler module adopts socket or property communication mode to send to nucleus module.
10., according to the arbitrary described changing method of claim 1-5, it is characterized in that:
Scheduler module performs kill operation and namely 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 true CN104980591A (en) | 2015-10-14 |
CN104980591B CN104980591B (en) | 2017-08-29 |
Family
ID=54276673
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510404935.0A Expired - Fee Related 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) |
Cited By (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 (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120130949A1 (en) * | 2010-11-22 | 2012-05-24 | Bluearc Uk Limited | File Cloning and De-Cloning in a Data Storage System |
US20120226925A1 (en) * | 2011-03-03 | 2012-09-06 | Via Technologies, Inc. | Method for switching operating system and electronic apparatus using the same |
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 |
-
2015
- 2015-07-10 CN CN201510404935.0A patent/CN104980591B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120130949A1 (en) * | 2010-11-22 | 2012-05-24 | Bluearc Uk Limited | File Cloning and De-Cloning in a Data Storage System |
US20120226925A1 (en) * | 2011-03-03 | 2012-09-06 | Via Technologies, Inc. | Method for switching operating system and electronic apparatus using the same |
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 |
Cited By (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 |
Also Published As
Publication number | Publication date |
---|---|
CN104980591B (en) | 2017-08-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101222709B (en) | Fast starting method of mobile phone application program | |
US20120246370A1 (en) | Method and apparatus for managing operating systems in embedded system | |
US20160095047A1 (en) | Bluetooth low energy beacon device and advertising method | |
CN110659246B (en) | Container-based file mounting method and device and electronic equipment | |
CN110955499B (en) | Processor core configuration method, device, terminal and storage medium | |
CN102421028A (en) | Control method for intelligent television (TV), intelligent TV, remote control device and intelligent TV control system | |
WO2015117445A1 (en) | Method and device for processing task window | |
WO2016179913A1 (en) | Home gateway and operation method thereof | |
CN107306230B (en) | Method, device, controller and core network equipment for network resource deployment | |
CN104954855A (en) | Intelligent television control method based on Android system | |
CN113656164A (en) | Task execution method, system, electronic device and computer storage medium | |
US10478731B2 (en) | Method and apparatus for storing user data | |
CN104702534A (en) | Method and device for processing data of multi-process sharing port | |
CN107222618A (en) | Terminal screenshotss method and device | |
CN108595195B (en) | Application program updating method, device, terminal and storage medium | |
CN105933160B (en) | Method for realizing rapid connection of wired network on Android smart television | |
CN104980591A (en) | Multi-system switching method for mobile terminal | |
CN110086676B (en) | Configuration method of distributed router and related equipment | |
CN106209480B (en) | The method and device of synchronous configuration information | |
CN105138345B (en) | A kind of multisystem activation system and method based on mobile terminal | |
CN115268951A (en) | Installation method, device, equipment and storage medium of operating system | |
KR102174979B1 (en) | Method for controlling transsion of packet in virtual switch | |
CN109462841B (en) | Bluetooth communication method and device based on shared channel | |
CN113296900A (en) | Task switching method and device | |
JP5651778B2 (en) | Personal computer system for mobile device users and operation method of the personal computer system |
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 | ||
PP01 | Preservation of patent right |
Effective date of registration: 20180313 Granted publication date: 20170829 |
|
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 |
|
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170829 |