CN105183558B - The management method of intelligent terminal and its containment system - Google Patents

The management method of intelligent terminal and its containment system Download PDF

Info

Publication number
CN105183558B
CN105183558B CN201510531091.6A CN201510531091A CN105183558B CN 105183558 B CN105183558 B CN 105183558B CN 201510531091 A CN201510531091 A CN 201510531091A CN 105183558 B CN105183558 B CN 105183558B
Authority
CN
China
Prior art keywords
module
containment system
css
cms
containment
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
CN201510531091.6A
Other languages
Chinese (zh)
Other versions
CN105183558A (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.)
Yuanxin Information Technology Group Co.,Ltd.
Original Assignee
Beijing Yuanxin Science and Technology Co 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 Beijing Yuanxin Science and Technology Co Ltd filed Critical Beijing Yuanxin Science and Technology Co Ltd
Priority to CN201510531091.6A priority Critical patent/CN105183558B/en
Publication of CN105183558A publication Critical patent/CN105183558A/en
Application granted granted Critical
Publication of CN105183558B publication Critical patent/CN105183558B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention provides the management methods of a kind of intelligent terminal and its containment system, wherein this method includes:After the slave management service CSS module being set in containment system receives the switching request of user's input, the switching request is sent to the container management service CMS module being set in main system;After CMS module receives the switching request that the CSS module is sent, according to the running state information and system resource occupied information of the CSS module said container system, determine that transmission front and back converts signal after executing switching;After the CSS module receives front and back transformation signal, the state of a process in its said container system is adjusted.With the application of the invention, the front and back management of containment system can be provided, the utilization rate of system resource is improved, and enhance functionality, flexibility and the safety of containment system management.

Description

The management method of intelligent terminal and its containment system
Technical field
The present invention relates to operation system of smart phone technical fields, specifically, the present invention relates to a kind of intelligent terminal and The management method of its containment system.
Background technique
LXC is the abbreviation of Linux Container (linux container), is a kind of operating system level based on container Kernel virtualization technology.Using NameSpace (namespace) characteristic of linux kernel, multiple containers system can be formed, with Process and resource is isolated in this.For example, can be added in the process descriptors of the process in the process of creation corresponding Label shows NameSpace belonging to the process (containment system belonging to i.e.).Then, resource management in linux kernel System (cgroups) can be the process distributing system resource in containment system.
Currently, LXC, which usually can use the order in tool set, carries out basic management to containment system, for example, lxc- Create is used for for creating a container, lxc-execute in a container executing application, and lxc-start is used for Given order is executed in container, lxc-stop is used to destroy container for stopping process all in container, lxc-destroy, Lxc-cgroup is for obtaining or adjusting parameter relevant to Resource Manager Subsystem cgroups.
With the development of virtualization technology, LXC is widely used on server and the equipment end of user.In practical application, In server end, when multiple containers system is run simultaneously, there is no the differentiations of front and back between containment system;And setting in user Standby end, multiple containers system are run simultaneously, usually there is the differentiation of front and back, for example, before the containment system interacted with user is Platform;It otherwise is backstage.Moreover, in the equipment end of user, multiple containers system is run simultaneously, in equipment compared to server More stringent requirements are proposed for the use of limited system resource, needs to carry out reasonable distribution to system resource.
For example, for the containment system for operating in foreground, being interacted with user, it can be more aobvious for containment system distribution The system resources such as show and input, and the containment system for operating in backstage, then it can discharge the part of containment system occupancy System resource, so as to improve the utilization rate of system resource.
However, it was found by the inventors of the present invention that in practical application, LXC is usually passed through by professional basic command Control is managed to containment system.And the management by the basic command of LXC to containment system, containment system is not related to Front and back management, the distribution of system resource can not be effectively performed.Moreover, ordinary user can not be allowed to answer as installation and management The containment system for equally installing and managing user equipment end with program, has that ease for use is inadequate.
Therefore, it is necessary to provide a kind of management method of containment system, the flexibility to containment system management can be enhanced And functionality, and the front and back management of containment system is provided, improve the utilization rate of system resource.
Summary of the invention
In view of the above-mentioned drawbacks of the prior art, the present invention provides the management of a kind of intelligent terminal and its containment system Method enhances functionality, flexibility and the safety of containment system management, mentions to provide the front and back management of containment system The utilization rate of high system resource.
The present invention program provides a kind of management method of containment system, including:
It, will be described after the slave management service CSS module being set in containment system receives the switching request of user's input Switching request is sent to the container management service CMS module being set in main system;
After the CMS module receives the switching request that the CSS module is sent, according to the CSS module said container The running state information and system resource occupied information of system determine to send front and back transformation signal after executing switching;
After the CSS module receives front and back transformation signal, the state of a process in its said container system is carried out Adjustment.
According to another aspect of the present invention, a kind of intelligent terminal is additionally provided, including:Kernel, at least one containment system, And it is set to the main system in kernel, further include:The container management service CMS module and setting being set in main system Slave management service CSS module in containment system, wherein
After the CSS module is used to receive the switching request of user's input, the switching request is sent to the CMS Module;And signal is converted for the front and back that the switching request returns according to the CMS module, in its said container system State of a process be adjusted;
After the CMS module is used to receive the switching request that the CSS module is sent, according to belonging to the CSS module The running state information and system resource occupied information of containment system determine to send front and back transformation signal after executing switching.
In the scheme of the present embodiment, CSS module in containment system, can be with after the switching request for receiving user's input Switching request is sent to the container management service CMS module being set in main system;Then, CMS module decision executes switching Front and back is sent afterwards converts signal;After CSS module receives front and back transformation signal, to the process in its said container system State is adjusted.In this way, according to the switching request of user's input, it can be achieved that the front and back of Related Container Systems switches;Moreover, Further the state of a process in Related Container Systems can be adjusted.In this way, the being adapted to property of KCM module in kernel The system resource occupancy situation of process in containment system and containment system is updated, the utilization of system resource is improved Rate;By installation, cancellation and the closing to containment system, functionality, the flexibility of containment system management are enhanced;And it is logical The reasonable distribution for being conducive to carry out system resource to the adjustment of state in containment system is crossed, while containment system pipe can also be enhanced The safety of reason.
The additional aspect of the present invention and advantage will be set forth in part in the description, these will become from the following description Obviously, or practice through the invention is recognized.
Detailed description of the invention
Fig. 1 is the schematic diagram of internal structure of intelligent terminal in the embodiment of the present invention;
Fig. 2 is the installation register method flow diagram of containment system in the embodiment of the present invention;
Fig. 3 a, 3b are the management method flow diagram of containment system in the embodiment of the present invention;
Fig. 4 is the cancellation management method flow diagram of containment system in the embodiment of the present invention;
Fig. 5 is the closing management method flow diagram of containment system in the embodiment of the present invention;
Fig. 6 is the schematic diagram of internal structure of CMS module in main system in the embodiment of the present invention.
Specific embodiment
Clear, complete description is carried out to technical solution of the present invention below with reference to attached drawing, it is clear that described implementation Example is only a part of the embodiments of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, this field is general Logical technical staff obtained all other embodiment without making creative work belongs to the present invention and is protected The range of shield.
In practical application, when containment system operates in foreground, the process in containment system often can be direct with user Interaction, generally takes up the relevant system resource such as display, input;And after containment system is switched to backstage, in containment system Process often no longer need to occupy the relevant system resource such as display, input at this time.
However, it was found by the inventors of the present invention that existing only neither relate to the management of containment system by the basic command of LXC And the front and back management of containment system, it is even more impossible to adjustment container systems timely when the front and back state of containment system changes Interior state of a process also just can not timely and effectively adjust the distribution of system resource.
Therefore, the present inventor considers, CMS module (Container can be preset in main system Manager Service, container management service), CSS module (Container Slave is preset in each containment system Service, from management service).
In this way, switching request can be sent to after the switching request for receiving user's input and be set to master by CSS module Container management service CMS module in system;Then, CMS module is believed according to the operating status of CSS module said container system Breath and system resource occupied information determine that transmission front and back converts signal after executing switching;CSS module receives front and back After converting signal, the state of a process in its said container system is adjusted.In this way, being asked according to the switching that user inputs It asks, it can be achieved that the front and back of Related Container Systems switches;Furthermore, it is possible to further to the state of a process in Related Container Systems It is adjusted, improves the utilization rate of system resource.
The technical solution that the invention will now be described in detail with reference to the accompanying drawings.
The present invention provides a kind of intelligent terminals, including:Kernel, at least one containment system, and be set in kernel Main system, further, as shown in Figure 1, can also include:The CMS module that is set in main system and it is set to container CSS module in system.
Wherein, CMS module is overall control center, can be provided by CMS module and be cut to the installation of containment system, front and back It changes, unload, the service such as the inquiry of container relevant information.
In practical application, the upper layer application in main system can pass through API (Application preset in main system Program Interface, application programming interface) CMS module is called, start the phase in installed containment system Put journey into.And the CSS module in containment system can be interacted by API preset in containment system with user, for example, Receive the switching request etc. of user's input.
For ease of description, API preset in main system can be known as to M-API, and by API preset in containment system Referred to as C-API.
In the embodiment of the present invention, after CSS module is used to receive the switching request of user's input, switching request is sent to CMS module.Then, after CMS module is used to receive the switching request of CSS module transmission, according to CSS module said container system Running state information and system resource occupied information, determine execute switching after send front and back convert signal.In this way, CSS After module receives the front and back transformation signal that CMS module is returned for switching request, it can be asked according to CMS module for switching It asks the front and back of return to convert signal, the state of a process in its said container system is adjusted.
Further, can also include in intelligent terminal provided by the invention:The KCM module being pre-set in kernel (Kernel Container Manager, inner core managing service).KCM module is used to be each containment system distributing system resource, Record the system resource occupied information of each containment system;After receiving front and back transformation signal, to CSS module said container The system resource occupied information of system is updated, and updated system resource occupied information is fed back to CMS module.
It, can be in the solution of the present invention compared to the existing only basic management by the base command of bottom to containment system The front and back handover management for the multiple containers system realized while run by adding CMS module, CSS module, and can be real The adjustment of the state of a process in containment system now switched, the system resource for being conducive to subsequent timely adjustment process occupy feelings Condition improves resource utilization ratio.
In the embodiment of the present invention, before containment system is managed in intelligent terminal, containment system can be carried out Installation registration, improves the flexibility and safety of containment system management.Therefore, container in intelligent terminal in technical solution of the present invention In the management service method of system, the detailed process of the installation register method of containment system, as shown in Fig. 2, may include as follows Step:
S201:The installation image file for the containment system that CMS module is inputted according to user carries out the installation note of containment system Volume;After containment system starting, start the CSS module being set in the containment system automatically, sends distribution instruction to KCM module.
Specifically, the CMS module in main system can pass through the installation mirror image of the M-API containment system inputted according to user File carries out the installation registration of containment system.Then, after containment system starting, it can start automatically and be set to the container system CSS module in system.In this way, CMS module can be to the KCM module in kernel after containment system and its starting of CSS module Send the distribution instruction for the containment system distributing system resource for installation.
In practical application, user by the installation image file of the M-API containment system inputted be by encapsulation, signature, The operations such as compression, encryption;Therefore, CMS module from M-API receive installation image file after, need to received installation Image file carries out corresponding reverse operating, to obtain the file that can be mounted directly registration, completes the installation registration of containment system.
In this way, the installation image file for the containment system that the CMS module in main system is inputted according to user, achievable container The installation of system is registered, and functionality, the flexibility of containment system management are enhanced.
S202:After KCM module receives distribution instruction, corresponding system resource is distributed for the containment system, and by the appearance The system resource occupied information of device system feeds back to CMS module.
It specifically, can be containment system point after the distribution that the KCM module in kernel receives the transmission of CMS module instructs It is fed back in main system with corresponding system resource, and by the system resource occupied information of the containment system formed after distribution CMS module.
S203:CMS module records the installation registration information and system resource occupied information of the containment system.
Specifically, the CMS module in main system receives the system resource occupied information of the containment system of KCM module feedback Later, the installation registration information of the containment system and system resource occupied information can be subjected to corresponding record.
In this way, service can be managed to containment system after completing the installation registration of containment system.The technology of the present invention The detailed process of the management method of containment system may include steps of as shown in Figure 3a in intelligent terminal in scheme:
S301:After CSS module receives the switching request of user's input, the switching request is sent to CMS module.
Specifically, the CSS module being set in containment system receives use by the C-API being preset in the containment system After the switching request of family input, the switching request received can be sent to Master Control Center CMS module.
In practical application, the purpose of the switching request of user's input is mainly to make the generation of the front and back state of containment system Switching, for example, making containment system be switched to backstage from current foreground, or before being switched to containment system from current backstage Platform.May include in switching request:Switch the ginseng such as switching direction of containment system and to be switched containment system being related to Number.
S302:After CMS module receives the switching request of CSS module transmission, according to the fortune of CSS module said container system Row status information and system resource occupied information determine to send front and back transformation signal after executing switching.
Specifically, after CMS module receives the switching request that CSS module is sent, CSS module said container can be determined The running state information and system resource occupied information of system and CSS module said container system.
Then, CMS module can according to preset switchover policy, the running state information of CSS module said container system, And system resource occupied information, decide whether the handover operation for executing the front and back of CSS module said container system.
If executed, after the front and back state of CSS module said container system converts, CMS module can be produced Raw corresponding front and back converts signal, and sends the CSS module in the so far secondary containment system for switching and being related to.
For example, the purpose in received switching request is the situation for making containment system be switched to from current foreground backstage Under, after according to switching request corresponding front and back switching occurs for containment system A, the containment system B that this switching is related to, than Such as, containment system A is switched to backstage from foreground, and containment system B is after being switched to foreground from the background, CMS module can respectively to Respective CSS module sends front and back and converts signal in containment system A, containment system B.
S303:After CSS module receives front and back transformation signal, the state of a process in its said container system is carried out Adjustment.
Specifically, it after the front and back that CSS module receives the transmission of CMS module converts signal, can be converted according to front and back Signal is adjusted the state of a process in its said container system, for example, in the past by the state of a process in containment system Platform state of activation is adjusted to backstage state of activation.It further, can also be according to appearance after receiving front and back transformation signal Front and back state after the switching of device system, adjusts the behavior of process, for example, can close just when containment system is switched to backstage In the media file of broadcasting;When containment system is switched to foreground, the broadcasting etc. of media file can be restored.
In practical application, in the solution of the present invention in containment system process management, need by the containment system The dual-license of CMS module in CSS module and main system, this improves the safeties of containment system management.
More preferably, in technical solution of the present invention in intelligent terminal in the detailed process of the management service method of containment system, As shown in Figure 3b, CSS module of the CMS module into this containment system for being related to of switching send front and back transformation signal it It afterwards, further include following steps:
S304:After KCM module receives front and back transformation signal, the system resource of CSS module said container system is accounted for It is updated with information, and updated system resource occupied information is fed back into CMS module.
It specifically, can be with after the KCM module being set in kernel receives the front and back transformation signal of CMS module transmission It determines and receives containment system involved in front and back transformation signal, later, KCM module can cutting according to Related Container Systems Change event, change the service condition of the system resource of Related Container Systems, i.e., to the system resource occupied information of containment system into Row updates.For example, the data that will be sent to from the background display equipment, are placed into virtual video memory, will be switched to the container on foreground The display data of system are assigned in actual video memory, and the occupation condition of the process in adjustment container system.
Further, updated system resource occupied information can also be fed back to the CMS mould in main system by KCM module Block realizes that CMS module and KCM module in kernel are synchronous to the utilization power of system resource in main system.
In the embodiment of the present invention, after completing the installation registration of containment system, pipe can also be unregistered to containment system Reason.Specifically, CMS module receive user input containment system removal request after, if confirmation containment system be in close State, then remove the installation registration information of the containment system, and deletes the number generated when image file and the operation of containment system According to.
It, can also be to the note of containment system in order to improve functionality and the flexibility of containment system management in practical application Pin is managed;And it to nullify containment system and need first to close containment system, and then delete the installation registration of the containment system Information.Therefore, in technical solution of the present invention in intelligent terminal in the management service method of containment system to the cancellation of containment system The detailed process of management method, as shown in figure 4, may include steps of:
S401:After CMS module receives the removal request of the containment system of user's input, confirmation containment system, which is in, is closed State then removes the installation registration information of the containment system, and sends delete command to KCM module.
Specifically, the CMS module in main system receives user and passes through the removal request of the M-API containment system inputted Afterwards, it can be determined that containment system is in operating status, is in closed state.
If containment system is in close state, the installation registration information of the containment system is removed, and deletes containment system Image file and the data that generate of when operation.Meanwhile delete command can be sent to the KCM module in kernel.
If containment system is in operating status, CMS module can send shutdown command to containment system, to close setting In the containment system and the CSS module being set in the containment system.After closing containment system, the containment system is removed Installation registration information, and delete the data generated when image file and the operation of containment system.
S402:After KCM module receives delete command, system resource shared by the containment system is discharged.
Specifically, after the KCM module in kernel receives the delete command that CMS module is sent, deletion life can be determined The containment system being directed to is enabled, and discharges the containment system currently occupied system resource.In practical application, after release, KCM Module can be current to CMS module feedback kernel system resource occupancy situation, and return to deleting for the containment system to CMS module Except situation, so that CMS module can be directed to the deletion result of removal request to user feedback in time.
In the embodiment of the present invention, in order to improve functionality and the flexibility of containment system management, containment system is completed After installation registration, closing management can also be carried out to containment system, containment system in intelligent terminal in technical solution of the present invention To the detailed process of the closing management method of containment system in management service method, as shown in figure 5, may include steps of:
S501:After CMS module receives the shutdown command of the containment system of user's input, shutdown command is sent to KCM Module and the CSS module being set in the containment system.
Specifically, the CMS module in main system receive user by the shutdown command of the M-API containment system inputted it Afterwards, the CSS mould in containment system that the KCM module and the shutdown command that can be sent shutdown command in kernel are related to Block.Further, information when CMS module can also remove the operation for the containment system that the shutdown command is related to.
S502:The shutdown command based on the received of CSS module executes corresponding close to the process in its said container system Operation.
Specifically, the CSS module in containment system that shutdown command is related to receives the shutdown command of CMS module transmission Afterwards, received shutdown command can be responded, relevant closing flow path is executed, corresponding close is executed to the process in the containment system Closed operation.
S503:The shutdown command based on the received of KCM module, it is corresponding to system resource relevant with containment system execution Release operation.
Specifically, after the KCM module in kernel receives the shutdown command that CMS module is sent, received pass can be responded Order is closed, determines containment system involved in shutdown command, it is corresponding to system resource relevant with containment system execution to release Put operation;Later, the system resource occupied information of containment system can be returned to CMS module.
In practical application, it is contemplated that, in the case where multiple containers system, before only one containment system may operate at Platform can monopolize display screen and obtain the touch screen of user, press key lamp input.Other peripheral equipments, can according to user select or Scheduled side rate is run and occupies in the containment system occupancy on foreground or appointed containment system, or by multiple containers system Altogether enjoy use.
Therefore, when the containment system that the process in the containment system for operating in foreground needs access to be running in backstage is monopolized Peripheral equipment when, operate in CSS module in the containment system on foreground can the CMS module into main system send request, It allows the containment system for operating in backstage to discharge its exclusive peripheral equipment, with this reasonable distribution system resource, system can be improved The utilization rate of resource.
Further, in practical application, when a containment system collapses, the CMS module in main system can be closed temporarily The containment system is closed, and after receiving the recovery order of containment system of user's input, restores the containment system, improves container The functionality of system administration and flexibility.
Based on the management service method of said vesse system, of the invention provides the internal junction of CMS module in main system Structure, as shown in fig. 6, CMS module may include:Unloading unit 601, information recording unit 602, management control unit 603 are installed.
Wherein, installation unloading unit 601 is used to receive the containment system of user's input of the forwarding of management control unit 603 Installation image file after, received installation image file is unziped it, and is held based on the file after decompression The installation of device system is registered.
Information recording unit 602, which is used to record information, the operating status of containment system after containment system installation registration, to be believed Breath, system resource occupied information of containment system etc..
Management control unit 603 is used to receive the request (such as switching request, removal request etc.) of CSS module transmission, can To send order (such as delete command, shutdown command etc.) to CSS module and KCM module;It obtains and holds from information recording unit 602 The system resource occupied information of device system, running state information etc..
Specifically, the management control unit 603 in CMS module receive CSS module transmission switching request after, according to The running state information and system resource occupied information of CSS module said container system determine to send front and back after executing switching Platform converts signal.
Management control unit 603 in CMS module can also be in the removal request for the containment system for receiving user's input Afterwards, if confirmation containment system is in close state, delete command is sent to KCM module;And it is sent to information recording unit 602 Clearance order so that information recording unit 602 removes the installation registration information of the containment system, and deletes the mirror of containment system As the data generated when file and operation.
After management control unit 603 in CMS module can also receive the shutdown command of the containment system of user's input, The CSS module that shutdown command is sent to KCM module and is set in the containment system, so that shutdown command was related to CSS module in containment system executes corresponding shutoff operation to the process in the containment system, and make KCM module pair with The relevant system resource of the containment system executes corresponding release operation.
In technical solution of the present invention, the CSS module in containment system, can after the switching request for receiving user's input Switching request to be sent to the container management service CMS module being set in main system;Then, CMS module is determined to execute and be cut Front and back is sent after changing converts signal;After CSS module receives front and back transformation signal, to the process in its said container system State be adjusted.In this way, according to the switching request of user's input, it can be achieved that the front and back of Related Container Systems switches;And And further the state of a process in Related Container Systems can be adjusted.In this way, the KCM module in kernel can fit Answering property is updated the system resource occupancy situation of the process in containment system and containment system, improves the benefit of system resource With rate;By installation, cancellation and the closing to containment system, functionality, the flexibility of containment system management are enhanced;And Be conducive to carry out the reasonable distribution of system resource by the adjustment to state in containment system, while containment system can also be enhanced The safety of management.
The terms such as " module " used in this application, " system " be intended to include with computer-related entity, such as it is but unlimited In hardware, firmware, combination thereof, software or software in execution.For example, module can be, it is not limited to:Processing Process, processor, object, executable program, the thread of execution, program and/or the computer run on device.For example, it counts Calculating the application program run in equipment and this calculating equipment can be module.One or more modules can be located in execution In one process and/or thread, a module can also be located on a computer and/or be distributed in two or more calculating Between machine.
Those skilled in the art of the present technique are appreciated that the present invention includes being related to for executing in operation described herein One or more equipment.These equipment can specially design and manufacture for required purpose, or also may include general Known device in computer.These equipment have the computer program being stored in it, these computer programs are selectively Activation or reconstruct.Such computer program can be stored in equipment (for example, computer) readable medium or be stored in It e-command and is coupled in any kind of medium of bus respectively suitable for storage, the computer-readable medium includes but not Be limited to any kind of disk (including floppy disk, hard disk, CD, CD-ROM and magneto-optic disk), ROM (Read-Only Memory, only Read memory), RAM (Random Access Memory, immediately memory), EPROM (Erasable Programmable Read-Only Memory, Erarable Programmable Read only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory, Electrically Erasable Programmable Read-Only Memory), flash memory, magnetic card or light card Piece.It is, readable medium includes by equipment (for example, computer) with any Jie for the form storage or transmission information that can be read Matter.
Those skilled in the art of the present technique be appreciated that can be realized with computer program instructions these structure charts and/or The combination of each frame and these structure charts and/or the frame in block diagram and/or flow graph in block diagram and/or flow graph.This technology neck Field technique personnel be appreciated that these computer program instructions can be supplied to general purpose computer, special purpose computer or other The processor of programmable data processing method is realized, to pass through the processing of computer or other programmable data processing methods The scheme specified in frame or multiple frames of the device to execute structure chart and/or block diagram and/or flow graph disclosed by the invention.
Those skilled in the art of the present technique have been appreciated that in the present invention the various operations crossed by discussion, method, in process Steps, measures, and schemes can be replaced, changed, combined or be deleted.Further, each with having been crossed by discussion in the present invention Kind of operation, method, other steps, measures, and schemes in process may also be alternated, changed, rearranged, decomposed, combined or deleted. Further, in the prior art to have and the step in various operations, method disclosed in the present invention, process, measure, scheme It may also be alternated, changed, rearranged, decomposed, combined or deleted.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, without departing from the principle of the present invention, it can also make several improvements and retouch, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (10)

1. a kind of management method of containment system, which is characterized in that including:
After the slave management service CSS module being set in containment system receives the switching request of user's input, by the switching Request is sent to the container management service CMS module being set in main system;
After the CMS module receives the switching request that the CSS module is sent, according to the CSS module said container system Running state information and system resource occupied information, determine execute switching after send front and back convert signal;
After the CSS module receives front and back transformation signal, the state of a process in its said container system is adjusted.
2. the method as described in claim 1, which is characterized in that after the transmission front and back converts signal, further include:
After the inner core managing service KCM module being set in kernel receives the front and back transformation signal, to the CSS module The system resource occupied information of said container system is updated, and updated system resource occupied information is fed back to described CMS module.
3. method according to claim 2, which is characterized in that the CSS module receive user input switching request it Before, further include:
The installation image file for the containment system that the CMS module is inputted according to user carries out the installation registration of containment system;
After containment system starting, start the CSS module being set in the containment system automatically, sends and distribute to the KCM module Instruction;
After the KCM module receives distribution instruction, corresponding system resource is distributed for the containment system, and by the container The system resource occupied information of system feeds back to the CMS module;
The CMS module records the installation registration information and system resource occupied information of the containment system.
4. method as claimed in claim 3, which is characterized in that the CMS module records the registration installation letter of the containment system After breath and system resource occupied information, further include:
After the CMS module receives the removal request of the containment system of user's input, if confirmation containment system, which is in, is closed shape State, then remove the installation registration information of the containment system, and deletes the data generated when image file and the operation of containment system.
5. method according to claim 2, which is characterized in that the CSS module receive user input switching request it Before, further include:
After the CMS module receives the shutdown command of the containment system of user's input, the shutdown command is sent to described KCM module and the CSS module being set in the containment system;
The CSS module shutdown command based on the received executes corresponding shutoff operation to the process in its said container system;
The KCM module shutdown command based on the received, release corresponding to system resource relevant with containment system execution Operation.
6. a kind of intelligent terminal, including:Kernel, at least one containment system, and the main system being set in kernel, feature It is, further includes:The container management service CMS module that is set in main system and be set in containment system from management Service CSS module, wherein
After the CSS module is used to receive the switching request of user's input, the switching request is sent to the CMS mould Block;And signal is converted for the front and back that the switching request returns according to the CMS module, in its said container system State of a process is adjusted;
After the CMS module is used to receive the switching request that the CSS module is sent, according to the CSS module said container The running state information and system resource occupied information of system determine to send front and back transformation signal after executing switching.
7. intelligent terminal as claimed in claim 6, which is characterized in that further include:
The inner core managing service KCM module being set in kernel, after receiving front and back transformation signal, to the CSS mould The system resource occupied information of block said container system is updated, and updated system resource occupied information is fed back to institute State CMS module.
8. intelligent terminal as claimed in claim 7, which is characterized in that
The installation image file for the containment system that the CMS module is also used to be inputted according to user, carries out the installation of containment system Registration;After the CSS module starting in containment system and the containment system, distribution instruction is sent to the KCM module; And the registration mount message for recording the containment system and the KCM module are for the system resource for distributing instruction feedback Occupied information;And
After the KCM module is also used to receive the distribution instruction, corresponding system resource is distributed for the containment system, and will The system resource occupied information of the containment system feeds back to the CMS module.
9. intelligent terminal as claimed in claim 8, which is characterized in that
After the CMS module is also used to receive the removal request of the containment system of user's input, if confirmation containment system is in Closed state, then generation when removing the installation registration information of the containment system, and deleting image file and the operation of containment system Data.
10. intelligent terminal as claimed in claim 7, which is characterized in that
After the CMS module is also used to receive the shutdown command of the containment system of user's input, the shutdown command is sent To the KCM module and the CSS module being set in the containment system;And
The CSS module is also used to shutdown command based on the received, executes corresponding close to the process in its said container system Closed operation;
The KCM module is also used to shutdown command based on the received, executes to system resource relevant to the containment system corresponding Release operation.
CN201510531091.6A 2015-08-26 2015-08-26 The management method of intelligent terminal and its containment system Active CN105183558B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510531091.6A CN105183558B (en) 2015-08-26 2015-08-26 The management method of intelligent terminal and its containment system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510531091.6A CN105183558B (en) 2015-08-26 2015-08-26 The management method of intelligent terminal and its containment system

Publications (2)

Publication Number Publication Date
CN105183558A CN105183558A (en) 2015-12-23
CN105183558B true CN105183558B (en) 2018-11-16

Family

ID=54905653

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510531091.6A Active CN105183558B (en) 2015-08-26 2015-08-26 The management method of intelligent terminal and its containment system

Country Status (1)

Country Link
CN (1) CN105183558B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106557690B (en) * 2016-11-29 2019-10-22 北京元心科技有限公司 Method and apparatus for managing multi-container system
CN106796531A (en) * 2016-12-27 2017-05-31 深圳前海达闼云端智能科技有限公司 The management method of kernel setup information, device and electronic equipment
CN108089925B (en) * 2017-12-29 2021-12-31 北京元心科技有限公司 Method and device for controlling resource occupation of process
CN108880898B (en) * 2018-06-29 2020-09-08 新华三技术有限公司 Main and standby container system switching method and device
CN110955510B (en) * 2019-12-11 2021-03-02 腾讯科技(上海)有限公司 Isolation processing method and related device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102789392A (en) * 2012-06-21 2012-11-21 中国电力科学研究院 Method for constructing power system distributed platform
CN103593185A (en) * 2013-11-04 2014-02-19 浙江大学 Single-Linux-inner-core-based method for multiple Android systems to share input equipment and display equipment
CN103927227A (en) * 2014-04-16 2014-07-16 乐视致新电子科技(天津)有限公司 Method and device for switching multiple operating systems and smart television
CN104516760A (en) * 2014-12-12 2015-04-15 华为技术有限公司 Operating system hot-switching method and device and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8713566B2 (en) * 2011-01-31 2014-04-29 International Business Machines Corporation Method and system for delivering and executing virtual container on logical partition of target computing device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102789392A (en) * 2012-06-21 2012-11-21 中国电力科学研究院 Method for constructing power system distributed platform
CN103593185A (en) * 2013-11-04 2014-02-19 浙江大学 Single-Linux-inner-core-based method for multiple Android systems to share input equipment and display equipment
CN103927227A (en) * 2014-04-16 2014-07-16 乐视致新电子科技(天津)有限公司 Method and device for switching multiple operating systems and smart television
CN104516760A (en) * 2014-12-12 2015-04-15 华为技术有限公司 Operating system hot-switching method and device and mobile terminal

Also Published As

Publication number Publication date
CN105183558A (en) 2015-12-23

Similar Documents

Publication Publication Date Title
CN105183558B (en) The management method of intelligent terminal and its containment system
US20180322024A1 (en) Storage apparatus, storage system, and control method of storage system
CN103473142B (en) Virtual machine migration method under a kind of cloud computing operating system and device
CN100471134C (en) Method, device for upgrading telecommunication equipment and upgrading engine unit
CN104601680B (en) A kind of method for managing resource and device
CN104572287A (en) Application state maintaining method, device and terminal for use in system switching
KR20170118165A (en) Method and apparatus for updating a network service technician
AU2015410318A1 (en) Data write method, apparatus, and system
CN108173724A (en) A kind of sharing method of the smart home device based on mobile terminal
CN106446159A (en) Method for storing files, first virtual machine and name node
CN109471546A (en) A kind of method, system and the storage medium of KVM command scheduling
EP3299954A1 (en) Method for communicating between views in android system
EP3267323A1 (en) Thin client system, connection management device, virtual machine operating device, method, and storage medium
CN106293934A (en) A kind of cluster system management optimization method and platform
CN107678923A (en) A kind of optimization method of distributed file system Message Processing
CN106022108A (en) Synchronous management method and terminal device
CN104283970A (en) Cloud computing service device and system and cloud computing method
CN110018883A (en) A kind of virtual machine delet method, device, equipment and storage medium
CN112583625A (en) Network resource management method, system, network device and readable storage medium
CN105045669A (en) Management service method of container system, and intelligent terminal
CN111045802A (en) Redis cluster component scheduling system and method and platform device
CN107943423A (en) The management method and computer-readable recording medium of storage resource in cloud system
US11252121B2 (en) Message sending method and terminal device
CN105072193A (en) Cloud sea OS (Operating System) deployment method under multi-data centre
CN103873516A (en) HA method and system for improving usage rate of physical servers in cloud computing resource pool

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
TR01 Transfer of patent right

Effective date of registration: 20210129

Address after: 101300 room 153, 1 / F, building 17, 16 Caixiang East Road, Nancai Town, Shunyi District, Beijing

Patentee after: Yuanxin Information Technology Group Co.,Ltd.

Address before: Room 408-27, building 8, No.1, Disheng North Street, Beijing Economic and Technological Development Zone, Beijing

Patentee before: BEIJING YUANXIN SCIENCE & TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20151223

Assignee: Beijing Yuanxin Junsheng Technology Co.,Ltd.

Assignor: Yuanxin Information Technology Group Co.,Ltd.

Contract record no.: X2021110000018

Denomination of invention: Management method of intelligent terminal and its container system

Granted publication date: 20181116

License type: Common License

Record date: 20210531

EE01 Entry into force of recordation of patent licensing contract