CN111240805A - Cloud operating system user switching processing method and device - Google Patents

Cloud operating system user switching processing method and device Download PDF

Info

Publication number
CN111240805A
CN111240805A CN202010033489.8A CN202010033489A CN111240805A CN 111240805 A CN111240805 A CN 111240805A CN 202010033489 A CN202010033489 A CN 202010033489A CN 111240805 A CN111240805 A CN 111240805A
Authority
CN
China
Prior art keywords
user
cloud
virtual machine
data
service
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.)
Pending
Application number
CN202010033489.8A
Other languages
Chinese (zh)
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.)
Qianxin Technology Group Co Ltd
Secworld Information Technology Beijing Co Ltd
Original Assignee
Qianxin Technology Group Co Ltd
Secworld Information Technology Beijing 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 Qianxin Technology Group Co Ltd, Secworld Information Technology Beijing Co Ltd filed Critical Qianxin Technology Group Co Ltd
Priority to CN202010033489.8A priority Critical patent/CN111240805A/en
Publication of CN111240805A publication Critical patent/CN111240805A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45575Starting, stopping, suspending or resuming virtual machine instances

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention provides a method and a device for switching and processing users of a cloud operating system, wherein the method comprises the following steps: when detecting that a first user exits from a cloud intelligent device, not closing a virtual machine instance corresponding to the first user in a cloud operating system; and when detecting that the second user logs in the cloud intelligent equipment, providing cloud intelligent equipment service for the second user by using the virtual machine instance which is not closed. Therefore, when the embodiment of the invention detects that the old user exits from the cloud intelligent device, the virtual machine instance corresponding to the old user in the cloud operating system is not closed, and when the new user logs in the cloud intelligent device, the new virtual machine instance is not restarted, but the un-closed virtual machine instance is used for providing the cloud intelligent device service for the new user, so that the quick switching of the new user and the old user can be realized.

Description

Cloud operating system user switching processing method and device
Technical Field
The invention relates to the technical field of cloud intelligent equipment, in particular to a method and a device for switching and processing users of a cloud operating system.
Background
Together, cloud computing and mobile devices constitute a powerful user tool. Cloud computing provides access to storage resources at large processing power and large locations, while mobile devices provide the ability to access and interact with cloud computing resources from anywhere at any time. Based on the theoretical basis, the concept of the cloud mobile phone is proposed. As the name suggests, the cloud mobile phone is a mobile phone virtualized in a cloud server, and is not a mobile phone in a real physical sense. The building principle of the cloud mobile phone is as follows: the android mobile phone system is installed on the cloud server, similar to the installation of a windows system on a desktop computer, the cloud mobile phone is virtualized and called as a virtual machine, and then a user can log in the cloud mobile phone through a client installed on the remote equipment to operate and process the cloud mobile phone.
To fully utilize the cloud server resources, the cloud server may support the over-configured users, for example, the cloud server may support 100 concurrent virtual machine instances, but only 50% of the online rate of the users. At this time, 200 users may be created on one cloud server. When the user is not online, the virtual machine is closed. When the user logs in, the virtual machine is started.
However, in the super-distributed mode, when a user logs in, a complete virtual machine starting process is required, including loading a mirror image from a system storage and initializing through a user data area, and the whole process is relatively long.
Disclosure of Invention
Aiming at the problems in the prior art, the embodiment of the invention provides a method and a device for switching and processing a cloud operating system user.
Specifically, the embodiment of the invention provides the following technical scheme:
in a first aspect, an embodiment of the present invention provides a method for processing user switching in a cloud operating system, where the method includes:
when detecting that a first user exits from a cloud intelligent device, not closing a virtual machine instance corresponding to the first user in a cloud operating system;
and when detecting that the second user logs in the cloud intelligent equipment, providing cloud intelligent equipment service for the second user by using the virtual machine instance which is not closed.
Further, when it is detected that the second user logs in the cloud-end smart device, the cloud-end smart device service is provided for the second user by using the virtual machine instance which is not closed, and the method specifically includes:
when detecting that a second user logs in the cloud intelligent device, initializing second user data in the data area of the virtual machine instance which is not closed, so that the virtual machine instance after the data area is initialized provides cloud intelligent device service for the second user.
Further, when it is detected that a second user logs in the cloud-end smart device, initializing second user data in a data area of the virtual machine instance that is not closed, so that the virtual machine instance after the data area initialization provides cloud-end smart device services for the second user, specifically including:
when a second user is detected to log in the cloud intelligent equipment, screening out a first type of data service in a data area of an unclosed virtual machine instance, and initializing second user data for the first type of data service in the data area, so that the virtual machine instance after the data area initialization provides the cloud intelligent equipment service for the second user;
the first type of data service refers to a service which is registered in advance and needs to be initialized every time login occurs.
Further, the first type of data service includes: one or more of a data service of an installed application, a data service of a historical storage, and a data service of a historical operation.
Further, before the initialization of the second user data for the first type data service in the data area, the method further includes:
deleting first user data corresponding to the first type data service in the data area;
correspondingly, initializing the second user data for the first type data service in the data area specifically includes:
and carrying out loading operation of second user data on the first type data service in the data area.
In a second aspect, an embodiment of the present invention further provides a device for switching and processing a cloud operating system user, where the device includes: the cloud operating system comprises a first processing module, a second processing module and a third processing module, wherein the first processing module is used for not closing a virtual machine instance corresponding to a first user in the cloud operating system when the first user is detected to quit a cloud intelligent device;
and the second processing module is used for providing cloud intelligent equipment service for the second user by using the virtual machine instance which is not closed when the second user is detected to log in the cloud intelligent equipment.
Further, the second processing module is specifically configured to:
when detecting that a second user logs in the cloud intelligent device, initializing second user data in the data area of the virtual machine instance which is not closed, so that the virtual machine instance after the data area is initialized provides cloud intelligent device service for the second user.
In a third aspect, an embodiment of the present invention further provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the cloud operating system user switching processing method according to the first aspect when executing the program.
In a fourth aspect, an embodiment of the present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the cloud operating system user switching processing method according to the first aspect.
In a fifth aspect, an embodiment of the present invention further provides a computer program product, where executable instructions are stored on the computer program product, and when executed by a processor, the instructions cause the processor to implement the steps of the cloud operating system user switching processing method according to the first aspect.
According to the technical scheme, when the first user is detected to exit the cloud intelligent device, the method and the device for processing the user switching of the cloud operating system do not close the virtual machine instance corresponding to the first user in the cloud operating system, and when the second user is detected to log in the cloud intelligent device, the virtual machine instance is not restarted, but the virtual machine instance which is not closed is used for providing the cloud intelligent device service for the second user, so that the quick switching of the new user and the old user can be realized.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a flowchart of a method for processing user switching in a cloud operating system according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a device for switching between users of a cloud operating system according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Before describing the cloud operating system user switching processing method provided by this embodiment, a concept of the cloud intelligent device is introduced first. It should be noted that cloud computing, which provides access to significant processing power and storage resources in a large number of locations, and mobile devices, which provide the ability to access and interact with cloud computing resources from anywhere at any time, together constitute a powerful user tool. Based on the theoretical basis, the concept of the cloud intelligent device is provided. Cloud-end intelligent equipment is intelligent equipment which is virtualized in a cloud server as the name suggests, and is not intelligent equipment in a real physical sense. The construction principle of the cloud intelligent equipment is as follows: the android mobile phone system is installed on the cloud server, the method is similar to that of installing a windows system on a desktop computer, then cloud intelligent equipment is virtualized, then a user can log in the cloud intelligent equipment through a client installed on the remote equipment, and operation processing is conducted on the cloud intelligent equipment. The cloud intelligent device can be an intelligent device such as a cloud mobile phone, a cloud computer and a cloud watch, and the remote device can be an intelligent mobile phone, an automobile, a personal computer, a tablet computer, a personal digital assistant and the like. It should be noted that, when the android mobile phone system is installed in the cloud server and the cloud intelligent device is virtualized, in order to fully utilize the cloud server resources, the concept of user super-configuration is improved, that is, the cloud server can support a super-configured user, for example, the cloud server can support 100 concurrent virtual machine instances, but the user online rate is only 50%. At this time, 200 users may be created on one cloud server (which is a concept with the cloud operating system in the following embodiment). When the user is not online, the virtual machine is closed. When the user logs in, the virtual machine is started. However, in the super-distribution mode, when a user logs in, a complete virtual machine starting process is required, including loading a mirror image from a system storage and initializing through a user data area, the whole process is long, the time consumed for logging in the user is long, and therefore the user experience is poor. In order to solve the problem, embodiments of the present invention provide a method and an apparatus for processing user switching in a cloud operating system, where when an old user exits, a corresponding virtual machine instance is not closed, and when a new user logs in, the new virtual machine instance does not need to be restarted, and only the original virtual machine instance needs to be used, so that fast switching between the old user and the new user can be achieved. The following describes in detail a method and an apparatus for processing user switching in a cloud operating system according to an embodiment of the present invention.
Fig. 1 shows a flowchart of a cloud operating system user switching processing method according to an embodiment of the present invention. As shown in fig. 1, a method for switching users of a cloud operating system according to an embodiment of the present invention includes the following steps:
step 101: when detecting that a first user exits from a cloud intelligent device, not closing a virtual machine instance corresponding to the first user in a cloud operating system;
step 102: and when detecting that the second user logs in the cloud intelligent equipment, providing cloud intelligent equipment service for the second user by using the virtual machine instance which is not closed.
In this embodiment, it should be noted that the virtual machine instance on the cloud operating system refers to a virtual machine in an open state on the cloud operating system.
In this embodiment, the first user may be understood as an old user who wants to quit the cloud-end smart device, and the second user may be understood as a new user who wants to log in the cloud-end smart device, that is, in this embodiment, when it is detected that the old user quits the cloud-end smart device, the virtual machine instance corresponding to the old user in the cloud operating system is not closed, and when it is detected that the new user logs in the cloud-end smart device, the virtual machine instance which is not closed is used for providing the cloud-end smart device service for the new user, so that the login time of the new user can be saved, and the fast switching between the new user and the old user can be.
In this embodiment, it should be noted that, the providing, by using the virtual machine instance that is not closed, cloud-end smart device services for the second user refers to: and establishing cloud intelligent equipment for the second user to operate by using the virtual machine instance which is not closed, so that the second user can use related services on the established cloud intelligent equipment. For example, services such as cloud computing services, cloud gaming services, cloud telephony services, cloud video services, cloud storage services, and the like on the cloud-side smart device may be used.
In this embodiment, it should be noted that the operating system generally includes a system partition and a data partition, and the former stores the executable programs of the system service. The latter stores system service initialization data as well as installed application data. The data area needs to be mounted during the system boot process and the core service instance is initialized during the boot phase. On a cloud server, typically each user's virtual machine instance is launched by separate system storage and data storage. For homogeneous systems, that is, operating systems of virtual machines are completely consistent, currently, for homogeneous systems, an optimization scheme is adopted in which all users share the same system storage, when virtual machines of all users are started, virtual machine instances are started through a mirror image in the shared system storage, and after the virtual machines are started, respective data partitions of all users are loaded.
In order to fully utilize the resources of the cloud server, the cloud server can generally support the over-configured users at present, for example, the cloud server can support 100 concurrent virtual machine instances, but the online rate of the users is only 50%. At this time, 200 users may be created on one cloud server. When the user is not online, the virtual machine is closed. When the user logs in, the virtual machine is started. However, in the super-distribution mode of the cloud server, when each user logs in, a complete virtual machine starting process is required, including loading a mirror image from a system storage, and the starting process is initialized through a user data area, so that the whole process is relatively long. In order to solve the problem, according to the above theoretical description, for a homogeneous system, all users share the same system storage, that is, the contents of the system partitions corresponding to all users are completely consistent, so that when a user logs in, the starting process of the system partition does not need to be performed again. Based on this, the present embodiment provides a processing method for switching users of a cloud operating system, and the processing method adopted in the present embodiment is as follows: when the old user logs out, the corresponding virtual machine instance is not closed, when the new user logs in, the new virtual machine instance does not need to be restarted, and only the original virtual machine instance is used, so that the quick switching of the old user and the new user can be realized. Here, the use of the original virtual machine instance without restarting a new virtual machine instance means: the system partition of the original virtual machine instance is utilized, and the system partition does not need to be reloaded. Therefore, by adopting the processing mode of the embodiment, the processing process of loading the mirror image from the system storage when a new user logs in is omitted, so that the quick switching of the new user and the old user can be realized.
As can be seen from the foregoing technical solutions, in the method for processing user switching in a cloud operating system provided in the embodiments of the present invention, when it is detected that a first user exits from a cloud-end smart device, a virtual machine instance corresponding to the first user in the cloud operating system is not closed, and when it is detected that a second user logs in the cloud-end smart device, a new virtual machine instance is not restarted, but an unclosed virtual machine instance is used to provide cloud-end smart device services for the second user, so that quick switching between new and old users can be implemented.
Based on the content of the foregoing embodiment, in this embodiment, when it is detected that the second user logs in the cloud-end smart device, the step 102 provides the cloud-end smart device service for the second user by using the instance of the virtual machine that is not closed, specifically including:
when the fact that the second user logs in the cloud intelligent device is detected, the data area is initialized in the instance of the virtual machine which is not closed, and the cloud intelligent device service is provided for the second user after initialization.
In this embodiment, it should be noted that, in the virtual machine instance, information related to the user is mainly determined by content of the data area, so when it is detected that the second user logs in the cloud-end smart device, the cloud-end smart device service is provided for the second user directly by using the virtual machine instance that is not closed, and when the cloud-end smart device service is provided for the second user by using the virtual machine instance that is not closed, it is only necessary to initialize the second user data in the data area of the virtual machine instance that is not closed without performing any data loading operation on the system partition of the virtual machine instance that is not closed, so that the virtual machine instance after the data area initialization provides the cloud-end smart device service for the second user.
In this embodiment, when a new user logs in, it is only necessary to load a data partition corresponding to the new user without reloading the system partition, which means that a processing procedure of loading a mirror image from a system storage is omitted when the new user logs in, and therefore, the embodiment can realize quick switching between the new user and the old user.
Based on the content of the foregoing embodiment, in this embodiment, when it is detected that the second user logs in the cloud-end smart device, the initializing of the second user data is performed in the data area of the virtual machine instance that is not closed, so that the virtual machine instance after the data area initialization provides the cloud-end smart device service for the second user, specifically including:
when a second user is detected to log in the cloud intelligent equipment, screening out a first type of data service in a data area of an unclosed virtual machine instance, and initializing second user data for the first type of data service in the data area, so that the virtual machine instance after the data area initialization provides the cloud intelligent equipment service for the second user;
the first type of data service refers to a service which is registered in advance and needs to be initialized every time login occurs.
In this embodiment, it should be noted that when a new user logs in, not all the contents in the data area need to be reloaded, and actually, only a part of the services need to be initialized every time of logging in, and the rest of the services do not need to be restarted when the data area is replaced. Therefore, for the service which needs to be restarted every time of login, the service is registered in the user switching management module in advance, and then when a new user logs in, the service registered in the user switching management module only needs to be reloaded, and other services in the data area do not need to be reloaded. Therefore, when the second user is detected to log in the cloud intelligent device, the first type data service is screened out from the data area of the unclosed virtual machine instance when the second user is detected to log in the cloud intelligent device, and the second user data is initialized for the first type data service in the data area, so that the virtual machine instance after the data area initialization provides the cloud intelligent device service for the second user. Therefore, in the embodiment, in the instance of the virtual machine which is not closed, only the first type data service in the data area is initialized, but not all the services in the data area, so that the login time of the new user is further saved, and the switching efficiency of the new user and the old user is improved. It should be noted that the first type of data service refers to a service that is registered in the subscriber switching management module in advance and needs to be initialized every login. For example, a first type of data service includes: one or more of a data service of an installed application, a data service of a historical storage, and a data service of a historical operation. It should be noted that, since the applications installed by each user may be different, when the user switches, the data service of the corresponding installed application needs to be updated. In addition, since the proprietary data of each user is different (which can be understood as data on an internal memory card or an external SD card on a mobile phone, for example), when a user switch is performed, the corresponding data service of the history storage and the data service of the history operation need to be updated.
In this embodiment, as can be seen from the above description, when switching users, it is not necessary to close an old virtual machine instance and start a new virtual machine instance, and only user switching processing is performed on a specific service in a data area of an un-closed virtual machine instance, and it is not necessary to restart the service in the entire virtual machine.
Based on the content of the foregoing embodiment, in this embodiment, before performing initialization of the second user data on the first type data service in the data area, the method further includes:
deleting first user data corresponding to the first type data service in the data area;
correspondingly, initializing the second user data for the first type data service in the data area specifically includes:
and carrying out loading operation of second user data on the first type data service in the data area. In this embodiment, in order to ensure that the new user smoothly restarts or loads the first type data service in the data area, in the instance of the virtual machine that is not closed, the first type data service belonging to the old user in the data area needs to be closed, the old user data corresponding to the first type data service in the data area is deleted, and thus the first type data service of the new user in the data area can be smoothly restarted, and accordingly, the first type data service in the data area is loaded with the new user data.
In this embodiment, when a new user or an old user is replaced, the data area is triggered to be mounted again, when the data area of the old user is unloaded, the relevant service is notified to perform processing, such as closing and the like, and after the data area of the new user is mounted, the relevant service is notified and triggered to perform processing, such as starting and the like. Therefore, in the embodiment, the virtual machine instance can be always on line, can be separated from the data area to the maximum extent, and can realize the quick switching of the operating environment.
Fig. 2 is a schematic structural diagram illustrating a cloud operating system user switching processing apparatus according to an embodiment of the present invention. As shown in fig. 2, a device for switching and processing a user of a cloud operating system according to an embodiment of the present invention includes: a first processing module 21 and a second processing module 22, wherein:
the first processing module 21 is configured to, when it is detected that a first user exits from the cloud-end smart device, not close a virtual machine instance corresponding to the first user in the cloud operating system;
the second processing module 22 is configured to, when it is detected that the second user logs in the cloud-end smart device, provide cloud-end smart device services for the second user by using the virtual machine instance that is not closed.
Based on the content of the foregoing embodiment, in this embodiment, the second processing module 22 is specifically configured to:
when detecting that a second user logs in the cloud intelligent device, initializing second user data in the data area of the virtual machine instance which is not closed, so that the virtual machine instance after the data area is initialized provides cloud intelligent device service for the second user.
Based on the content of the foregoing embodiment, in this embodiment, the second processing module 22 is specifically configured to:
when a second user is detected to log in the cloud intelligent equipment, screening out a first type of data service in a data area of an unclosed virtual machine instance, and initializing second user data for the first type of data service in the data area, so that the virtual machine instance after the data area initialization provides the cloud intelligent equipment service for the second user;
the first type of data service refers to a service which is registered in advance and needs to be initialized every time login occurs.
Based on the content of the foregoing embodiment, in this embodiment, the first type data service includes: one or more of a data service of an installed application, a data service of a historical storage, and a data service of a historical operation.
Based on the content of the foregoing embodiment, in this embodiment, the second processing module 22 is specifically configured to:
deleting first user data corresponding to the first type data service in the data area;
and carrying out loading operation of second user data on the first type data service in the data area.
Since the cloud operating system user switching processing apparatus provided in the embodiment of the present invention can be used to execute the cloud operating system user switching processing method described in the above embodiment, the working principle and the beneficial effect are similar, so detailed descriptions are omitted here, and specific contents may be referred to the description of the above embodiment.
Based on the same inventive concept, another embodiment of the present invention provides an electronic device, which specifically includes the following components, with reference to fig. 3: a processor 301, a memory 302, a communication interface 303, and a communication bus 304;
the processor 301, the memory 302 and the communication interface 303 complete mutual communication through the communication bus 304;
the processor 301 is configured to call a computer program in the memory 302, and when the processor executes the computer program, the processor implements all the steps of the above processing method for switching the cloud operating system user, for example, when the processor executes the computer program, the processor implements the following processes: when detecting that the first user exits from the cloud intelligent device, not closing a virtual machine instance corresponding to the first user in the cloud operating system; and when detecting that the second user logs in the cloud intelligent equipment, providing cloud intelligent equipment service for the second user by using the virtual machine instance which is not closed.
It will be appreciated that the detailed functions and extended functions that the computer program may perform may be as described with reference to the above embodiments.
Based on the same inventive concept, another embodiment of the present invention provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements all the steps of the above cloud operating system user switching processing method, for example, when the processor executes the computer program, the processor implements the following processes: when detecting that the first user exits from the cloud intelligent device, not closing a virtual machine instance corresponding to the first user in the cloud operating system; and when detecting that the second user logs in the cloud intelligent equipment, providing cloud intelligent equipment service for the second user by using the virtual machine instance which is not closed.
It will be appreciated that the detailed functions and extended functions that the computer program may perform may be as described with reference to the above embodiments.
Based on the same inventive concept, yet another embodiment of the present invention provides a computer program product having stored thereon executable instructions, which when executed by a processor, cause the processor to implement all the steps of the above-mentioned cloud operating system user switching processing method, for example, the instructions when executed by the processor cause the processor to implement: when detecting that a first user exits from a cloud intelligent device, not closing a virtual machine instance corresponding to the first user in a cloud operating system; and when detecting that the second user logs in the cloud intelligent equipment, providing cloud intelligent equipment service for the second user by using the virtual machine instance which is not closed.
In addition, the logic instructions in the memory may be implemented in the form of software functional units and may be stored in a computer readable storage medium when sold or used as a stand-alone product. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. Based on such understanding, the foregoing technical solutions may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, or the like, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the cloud operating system user switching processing method according to the embodiments or some parts of the embodiments.
Moreover, in the present invention, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Furthermore, in the present disclosure, reference to the description of the terms "one embodiment," "some embodiments," "an example," "a specific example," or "some examples" or the like means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present disclosure. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A cloud operating system user switching processing method is characterized by comprising the following steps:
when detecting that a first user exits from a cloud intelligent device, not closing a virtual machine instance corresponding to the first user in a cloud operating system;
and when detecting that the second user logs in the cloud intelligent equipment, providing cloud intelligent equipment service for the second user by using the virtual machine instance which is not closed.
2. The method for processing user switching in a cloud operating system according to claim 1, wherein when it is detected that a second user logs in a cloud-end smart device, providing a cloud-end smart device service for the second user by using the virtual machine instance that is not closed includes:
when detecting that a second user logs in the cloud intelligent device, initializing second user data in the data area of the virtual machine instance which is not closed, so that the virtual machine instance after the data area is initialized provides cloud intelligent device service for the second user.
3. The method for switching the users of the cloud operating system according to claim 2, wherein when it is detected that a second user logs in the cloud-end smart device, initializing second user data in a data area of the virtual machine instance that is not closed, so that the virtual machine instance after the data area initialization provides the cloud-end smart device service for the second user, specifically comprising:
when a second user is detected to log in the cloud intelligent equipment, screening out a first type of data service in a data area of an unclosed virtual machine instance, and initializing second user data for the first type of data service in the data area, so that the virtual machine instance after the data area initialization provides the cloud intelligent equipment service for the second user;
the first type of data service refers to a service which is registered in advance and needs to be initialized every time login occurs.
4. The cloud operating system user switching processing method according to claim 3, wherein the first type data service includes: one or more of a data service of an installed application, a data service of a historical storage, and a data service of a historical operation.
5. The cloud operating system user switching processing method according to claim 3, wherein before initializing the second user data for the first type data service in the data area, the method further comprises:
deleting first user data corresponding to the first type data service in the data area;
correspondingly, initializing the second user data for the first type data service in the data area specifically includes:
and carrying out loading operation of second user data on the first type data service in the data area.
6. A cloud operating system user switching processing device is characterized by comprising: the cloud operating system comprises a first processing module, a second processing module and a third processing module, wherein the first processing module is used for not closing a virtual machine instance corresponding to a first user in the cloud operating system when the first user is detected to quit a cloud intelligent device;
and the second processing module is used for providing cloud intelligent equipment service for the second user by using the virtual machine instance which is not closed when the second user is detected to log in the cloud intelligent equipment.
7. The cloud operating system user switching processing apparatus according to claim 6, wherein the second processing module is specifically configured to:
when detecting that a second user logs in the cloud intelligent device, initializing second user data in the data area of the virtual machine instance which is not closed, so that the virtual machine instance after the data area is initialized provides cloud intelligent device service for the second user.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the cloud operating system user switching processing method according to any one of claims 1 to 5 when executing the program.
9. A non-transitory computer readable storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the steps of the cloud operating system user switching processing method according to any one of claims 1 to 5.
10. A computer program product having executable instructions stored thereon, which when executed by a processor cause the processor to carry out the steps of the cloud operating system user switching processing method according to any one of claims 1 to 5.
CN202010033489.8A 2020-01-13 2020-01-13 Cloud operating system user switching processing method and device Pending CN111240805A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010033489.8A CN111240805A (en) 2020-01-13 2020-01-13 Cloud operating system user switching processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010033489.8A CN111240805A (en) 2020-01-13 2020-01-13 Cloud operating system user switching processing method and device

Publications (1)

Publication Number Publication Date
CN111240805A true CN111240805A (en) 2020-06-05

Family

ID=70874489

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010033489.8A Pending CN111240805A (en) 2020-01-13 2020-01-13 Cloud operating system user switching processing method and device

Country Status (1)

Country Link
CN (1) CN111240805A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113392394A (en) * 2021-07-01 2021-09-14 西安交通大学 Intelligent equipment assisted using method, system, terminal and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150261561A1 (en) * 2014-03-14 2015-09-17 International Business Machines Corporation Returning terminated virtual machines to a pool of available virtual machines to be reused thereby optimizing cloud resource usage and workload deployment time
CN105245606A (en) * 2015-10-22 2016-01-13 中国铁路总公司 Cloud office platform

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150261561A1 (en) * 2014-03-14 2015-09-17 International Business Machines Corporation Returning terminated virtual machines to a pool of available virtual machines to be reused thereby optimizing cloud resource usage and workload deployment time
CN105245606A (en) * 2015-10-22 2016-01-13 中国铁路总公司 Cloud office platform

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李亚奇;: "虚拟化云计算中资源管理的研究" *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113392394A (en) * 2021-07-01 2021-09-14 西安交通大学 Intelligent equipment assisted using method, system, terminal and storage medium
CN113392394B (en) * 2021-07-01 2023-05-02 西安交通大学 Intelligent equipment assisted use method, system, terminal and storage medium

Similar Documents

Publication Publication Date Title
CN107203419B (en) Method, device and system for calling among modules in application program
CN104978231A (en) Multisystem device based on internal storage partitions and loading and switching method thereof
CN109725950B (en) Method, device and storage medium for realizing single-instance operation of client
US20210271491A1 (en) Application processing method, device, electronic device and storage medium
CN111343236A (en) Method, device and communication system for communication between server and client
US20170163787A1 (en) Method and electronic device for upgrading or downgrading system
CN108563472B (en) Service plug-in loading method and device based on multi-open application
CN114116056A (en) Page display method and device
CN104765624B (en) Method and device for updating application program of virtual machine
CN107682389B (en) Method, terminal and computer readable storage medium for executing network request
CN113297031A (en) Container group protection method and device in container cluster
CN110083366B (en) Application running environment generation method and device, computing equipment and storage medium
CN111240805A (en) Cloud operating system user switching processing method and device
CN114281555A (en) Application state synchronization method and device, electronic equipment and storage medium
CN113242309A (en) Cloud computing method, system, device and medium
CN113419814B (en) Virtual machine creating method, device, equipment and storage medium in cloud platform
CN112328297B (en) Method and device for upgrading Android system running compatibly on Linux
WO2014102301A1 (en) Method to provide connectivity capabilities to a computing device
CN114281491A (en) Application stack management method and device, electronic equipment and storage medium
CN113434234A (en) Page jump method, device, computer readable storage medium and processor
CN110286956B (en) Plug-in operation method and device and electronic equipment
CN114047933A (en) Method, device, equipment and medium for multi-open Android application
CN105138380A (en) Method and device for starting Linux system
CN113064693B (en) Cloud desktop starting method, device and system and storage medium
CN111597021A (en) Method, device and system for realizing application program operation and related equipment

Legal Events

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