CN114500718A - Cloud mobile phone management method and device - Google Patents
Cloud mobile phone management method and device Download PDFInfo
- Publication number
- CN114500718A CN114500718A CN202111617249.3A CN202111617249A CN114500718A CN 114500718 A CN114500718 A CN 114500718A CN 202111617249 A CN202111617249 A CN 202111617249A CN 114500718 A CN114500718 A CN 114500718A
- Authority
- CN
- China
- Prior art keywords
- mobile phone
- cloud mobile
- information
- interface
- instruction
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000007726 management method Methods 0.000 title claims abstract description 60
- 238000000034 method Methods 0.000 claims abstract description 41
- 238000012545 processing Methods 0.000 claims description 16
- 230000008859 change Effects 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 14
- 238000005516 engineering process Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 8
- 238000004590 computer program Methods 0.000 description 7
- 230000000694 effects Effects 0.000 description 5
- 230000001360 synchronised effect Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000012217 deletion Methods 0.000 description 2
- 230000037430 deletion Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 244000166124 Eucalyptus globulus Species 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000013508 migration Methods 0.000 description 1
- 230000005012 migration Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72409—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
Abstract
The application provides a cloud mobile phone management method and device, which are used for solving the problem that an existing cloud computing platform lacks effective management on a cloud mobile phone. The method specifically comprises the following steps: acquiring first information, wherein the first information comprises an operation type, and the operation type is used for indicating the operation on the cloud mobile phone; and calling a first interface provided by a virtual machine management tool libvirt according to the first information so as to execute the operation on the cloud mobile phone. In the application, by adding a corresponding interface (first interface) related to the cloud mobile phone in libvirt, the cloud computing platform can call the first interface according to the first information, so that management of the cloud mobile phone is completed. The method for reasonably and effectively managing the cloud mobile phone is provided.
Description
Technical Field
The application relates to the technical field of computers, in particular to a cloud mobile phone management method and device.
Background
Cloud computing is a new computing mode based on the internet, and provides computing which is taken as required for individual and enterprise users through heterogeneous and autonomous services on the internet. The cloud computing removes the restriction between software and hardware in a certain sense, and does not limit the necessary relation between an application program and the hardware; the cloud computing enables one application program to be executed on different hardware through a parallel operation mode, and the fixed corresponding relation between the application service and the hardware resources is completely removed.
The virtualization technology is a foundation for supporting the parallel operation and releasing necessary connection between hardware and a program, and is also a necessary link for supporting cloud computing. The virtualization technology is a technology that a plurality of operating systems are simultaneously operated on a physical computer, the operating systems are mostly Windows systems or Linux systems, and application programs can be operated in the independent operating systems without mutual influence. A logical server virtualized on a physical machine by using a virtualization technology is called a virtual machine, and generally one physical machine can virtualize one or more virtual machines; each virtual machine has its own set of virtual hardware, such as memory, CPU, network card, etc.; the virtual machine may load an operating system and applications in these virtual hardware. The cloud mobile phone is similar to the virtual machine, except that the virtual operating system is a mobile phone system (mainly an android system).
The existing cloud computing platform can schedule and manage the virtual machine through a virtual machine management tool (libvirt). With the progress of science and technology, more and more demands are made on cloud mobile phones, but the existing cloud computing platform lacks a method for effectively managing the cloud mobile phones.
Disclosure of Invention
The application provides a cloud mobile phone management method and device, which are used for solving the problem that an existing cloud computing platform lacks effective management on a cloud mobile phone.
In a first aspect, the present application provides a cloud mobile phone management method, which specifically includes: acquiring first information, wherein the first information comprises an operation type, and the operation type is used for indicating the operation on the cloud mobile phone; and calling a first interface provided by a virtual machine management tool libvirt according to the first information so as to execute the operation on the cloud mobile phone.
In the method, by adding a corresponding interface (first interface) related to the cloud mobile phone in libvirt, the cloud computing platform can call the first interface according to the first information, so that the management of the cloud mobile phone is completed. Therefore, the user can manage the cloud mobile phone only by calling the corresponding interface in the libvirt and through the function provided in the libvirt, and the management of the cloud mobile phone is more efficient and convenient. In addition, the method enables libvirt to complete management of the virtual machine and cloud mobile phones, and meets different use requirements, so that the scheme has strong flexibility.
Optionally, the calling a first interface provided by libvirt according to the first information to perform the operation on the cloud mobile phone includes: calling the first interface by using the operation type as a first parameter so that the first interface outputs a first instruction; and transmitting the first instruction to an AVD driver of an android simulator, so that the AVD driver executes the operation according to the first instruction.
In the method, the first interface converts the first parameter into the first instruction which can be recognized by the AVD driver, so that the AVD driver can complete operation according to the requirement, and the reliability of the scheme is improved.
Optionally, the operation types include: one or more of create, start, stop, delete, migrate, specification change.
In the method, the operation types comprise most of operations in the life cycle management of the cloud mobile phone, and the applicability and the practicability of the method are improved.
Optionally, the operation type is during creation; the calling a first interface provided by libvirt according to the first information to execute the operation on the cloud mobile phone further includes: acquiring attribute information of the cloud mobile phone from the configuration file of the first interface; and calling the first interface by taking the attribute information of the cloud mobile phone as a second parameter.
In the method, the attribute information specific to the cloud mobile phone is acquired when the cloud mobile phone is created, so that the correct creation of the cloud mobile phone is ensured, and the reliability of the scheme is improved.
Optionally, the attribute information includes one or more of the following items: the device model, the operating system version, the ARM instruction set version, the interface information and the storage information.
In the method, the specific content of the attribute information of the cloud mobile phone is limited, and the reliability of the scheme is improved.
In a second aspect, the present application provides a cloud mobile phone management apparatus, including: the cloud mobile phone comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring first information, the first information comprises an operation type, and the operation type is used for indicating the operation on the cloud mobile phone; and the processing module is used for calling a first interface provided by libvirt according to the first information so as to execute the operation on the cloud mobile phone.
Optionally, the processing module is configured to call a first interface provided by libvirt according to the first information, so as to perform the operation on the cloud mobile phone, and specifically configured to: calling the first interface by using the operation type as a first parameter so that the first interface outputs a first instruction; and transmitting the first instruction to an AVD driver of an android simulator, so that the AVD driver executes the operation according to the first instruction.
Optionally, the operation types include: one or more of create, start, stop, delete, migrate, specification change.
Optionally, the operation type is creation; the processing module is configured to call a first interface provided by libvirt according to the first information, so as to perform the operation on the cloud mobile phone, and further configured to: acquiring attribute information of the cloud mobile phone from the configuration file of the first interface; and calling the first interface by taking the attribute information of the cloud mobile phone as a second parameter.
Optionally, the attribute information includes one or more of the following items: the device model, the operating system version, the ARM instruction set version, the interface information and the storage information.
In a third aspect, an electronic device is provided, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the at least one processor causes the apparatus to perform the method of the first aspect or any one of the alternative embodiments of the first aspect by executing the instructions stored by the memory.
In a fourth aspect, there is provided a computer-readable storage medium for storing instructions that, when executed, cause a method as in the first aspect or any one of the optional embodiments of the first aspect to be implemented.
The technical effects or advantages of one or more of the technical solutions provided in the second, third, and fourth aspects of the embodiments of the present application may be correspondingly explained by the technical effects or advantages of the corresponding one or more of the technical solutions provided in the first aspect.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
FIG. 1 is a management architecture for implementing virtual machine management in the prior art;
FIG. 2 is a diagram illustrating the start-up and use of a virtual machine according to the prior art;
FIG. 3 is a schematic view of a display effect of a cloud mobile phone on a computer;
fig. 4 is a management architecture for implementing cloud mobile phone management according to an embodiment of the present disclosure;
fig. 5 is a flowchart of a cloud mobile phone management method according to an embodiment of the present application;
fig. 6 is a flowchart of another cloud mobile phone management method according to an embodiment of the present application;
fig. 7 is a structural diagram of an apparatus for cloud mobile phone management according to an embodiment of the present application;
fig. 8 is a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions of the present application are described in detail below with reference to the drawings and specific embodiments, and it should be understood that the specific features in the embodiments and examples of the present application are detailed descriptions of the technical solutions of the present application, and are not limitations of the technical solutions of the present application, and the technical features in the embodiments and examples of the present application may be combined with each other without conflict.
It should be understood that the terms first, second, etc. in the description of the embodiments of the present application are used for distinguishing between the descriptions and not for indicating or implying relative importance or order. In the description of the embodiments of the present application, "a plurality" means two or more.
The term "and/or" in the embodiment of the present application is only one kind of association relationship describing an associated object, and means that three kinds of relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
At present, in an existing cloud computing platform, a management cloud host mainly implements scheduling management of a virtual machine through libvirt. Referring to fig. 1, a management architecture for implementing virtual machine management in the prior art is shown. In the architecture shown in fig. 1, the top layer is an Openstack cloud computing management service or other virtual machine management tools or services (e.g., OpenNebula, Eucalyptus, etc.), through the management service of this layer, a user can input a requirement into the management service to obtain a corresponding operation instruction, the management service transmits the operation instruction to libvirt, invokes a corresponding interface in libvirt, and implements management of a virtual machine through the interface and driving of each virtual machine technology encapsulated in libvirt.
However, with the development of science and technology, the user needs to be not only limited to the management of the virtual machine, but also to implement similar management on the cloud mobile phone. The cloud mobile phone is a technical means which comes with the progress of modern science and technology, and is similar to a virtual machine, and a mobile phone operating system (mostly an android system) is operated on a computer in a physical sense, so that a mobile phone application can be operated in the mobile phone operating system operated on the computer.
Referring to fig. 2, a schematic diagram of starting and using a virtual machine in the prior art is shown, in the diagram, a user can obtain a desired virtual machine interface by clicking a corresponding icon with a mouse. Similarly, the user's demand for the cloud mobile phone also hopes that the mobile phone interface can be acquired in the computer desktop after clicking the icon, so as to run the mobile phone application. Referring to fig. 3, a schematic diagram of a display effect of a cloud mobile phone on a computer is shown. Nowadays, more and more users need to realize the application of the mobile phone to the computer desktop presentation, for example, in the live broadcast industry, many users need to use the cloud mobile phone function when needing the interface of the live broadcast mobile phone. The existing cloud mobile phone management method is poor in use experience, and a user urgently needs a more efficient and convenient cloud mobile phone management method. In addition, many users need to display the mobile phone interface and the computer interface simultaneously in one live broadcast, and the existing management method cannot conveniently meet the requirements of the users.
Therefore, in order to solve the above problems, the present application provides a cloud mobile phone management method to meet the requirement of a user for managing a cloud mobile phone.
Referring to fig. 4, a management architecture for implementing cloud mobile phone management is provided in an embodiment of the present application. In fig. 4, a driver of an Android simulator (AVD) is packaged in an original libvirt, so that the libvirt calls the AVD, and a related interface is correspondingly added to complete management of the cloud mobile phone.
Referring to fig. 5, a flowchart of a cloud mobile phone management method provided in an embodiment of the present application is implemented by a management framework shown in fig. 4, and the method can be specifically executed by an electronic device bearing the management framework, where the electronic device may be an electronic device with a computing function, such as a computer and a server, and the present application is not limited thereto. The method comprises the following implementation steps:
s501: the method comprises the steps of obtaining first information, wherein the first information comprises an operation type, and the operation type is used for indicating operation on the cloud mobile phone.
For example, a user may determine an operation that the user needs to perform in an interface displayed by the Openstack cloud computing management service for the user, so that the electronic device obtains first information, where the first information includes an operation type used for indicating to operate a cloud mobile phone. It should be understood that the user may also complete the step in other cloud computing management services, and the application is not limited thereto, or the input of the first information may be completed in other manners, and the application is also not limited thereto.
Optionally, the operation types include one or more of creation, start, stop, deletion, migration, and specification change.
In the method, the operation types comprise most of operations in the life cycle management of the cloud mobile phone, and the applicability and the practicability of the method are improved.
S502: and calling a first interface provided by libvirt according to the first information to execute the operation on the cloud mobile phone.
The first Interface may be one of Application Programming Interfaces (APIs) in libvirt.
Optionally, the electronic device calls a first interface in libvirt by using the operation type in the first information as a first parameter, so that the first interface outputs a first instruction; and transmitting the first instruction to the AVD driver, so that the AVD driver can execute the operation according to the first instruction.
Specifically, when the AVD driver executes the operation, the AVD driver transmits the instruction to the AVD driver, and further executes the operation on the cloud mobile phone existing in the AVD driver.
In the method, the first interface converts the first parameter into the first instruction which can be recognized by the AVD driver, so that the AVD driver can complete operation according to the requirement, and the reliability of the scheme is improved.
For example, the steps S501 and S502 are described by taking an example that a user needs to start a target cloud mobile phone.
First, a user may input an instruction to start a target cloud mobile phone in an interface displayed by the Openstack cloud computing management service. And then, the electronic equipment acquires the operation type of 'start' in the instruction as first information, and calls an interface corresponding to the cloud mobile phone, namely the first interface.
After a first interface needing to be called is determined, information in the operation type operation is converted into simulator (emulator) command parameters (namely, first parameters) and input into the first interface, so that the first interface outputs corresponding call emulator commands (namely, first commands). And transmitting the command to the AVD driver, and starting the corresponding target cloud mobile phone.
In the method, by adding a corresponding interface (first interface) related to the cloud mobile phone in libvirt, the cloud computing platform can call the first interface according to the first information, so that the management of the cloud mobile phone is completed. Therefore, the user can manage the cloud mobile phone only by calling the corresponding interface in the libvirt and through the function provided in the libvirt, and the management of the cloud mobile phone is more efficient and convenient. In addition, the method enables libvirt to complete management of the virtual machine and cloud mobile phones, and meets different use requirements, so that the scheme has strong flexibility.
Optionally, referring to fig. 6, when the operation type in the first information is creation, the method for managing the cloud mobile phone is as follows:
s601: acquiring first information, and determining the operation type in the first information as creation;
s602: acquiring attribute information of the cloud mobile phone from a configuration file of the first interface;
s603: taking the operation type as a first parameter and the attribute information of the cloud mobile phone as a second parameter, and calling a first interface to enable the first interface to output a second instruction;
s604: and transmitting the second instruction to the AVD driver so that the AVD driver executes the creating operation according to the first instruction.
Specifically, after the AVD driver acquires the second instruction, the second instruction may be converted into an AVD-related instruction (android instruction, emulator instruction) and a parameter, and the instruction and the parameter are issued to the AVD to control the AVD to complete the operation on the cloud mobile phone, for example, call an android create command to create the AVD.
Optionally, the attribute information of the cloud mobile phone may be input into the Openstack cloud computing management service when the user inputs a creation instruction in an interface displayed by the Openstack cloud computing management service; in this approach, a user can create a cloud handset that he needs.
Optionally, the attribute information of the cloud mobile phone may also be attribute information of a certain cloud mobile phone that is pre-stored locally. When the user does not specify the attribute information of the cloud mobile phone to be created when the user inputs a creation instruction, a new cloud mobile phone can be directly generated.
Optionally, the attribute information of the cloud mobile phone includes one or more of the following items: the device model, the operating system version, the ARM instruction set version, the interface information and the storage information. For example, the device model may be a device model of a mobile phone to be simulated by a cloud mobile phone, the operating system version includes android 13, android 14, and the like, and the storage information may be Secure Digital (SD) card information and the like.
In the method, the specific content of the attribute information of the cloud mobile phone is limited, and the reliability of the scheme is improved.
The format of the configuration file for storing the attribute information may be an Extensible Markup Language (XML) file. By limiting the format of the attribute information, the attribute information of the cloud mobile phone can be correctly analyzed, and the reliability of the scheme is effectively improved.
It will be appreciated that the above described embodiments may be combined with each other to achieve different technical effects.
In the following, several possible combinations are presented by means of several specific examples.
Example one, stop target cloud Mobile
When a user desires to stop running the target cloud mobile phone, a stop instruction can be input in an interface displayed by the Openstack cloud computing management service to instruct to stop running the target cloud mobile phone.
At this time, the electronic device calls the first interface by using the operation type of "stop" as the first parameter, so that the first interface can output the second instruction, where the second instruction is used to instruct the AVD driver to close the cloud mobile phone through the daemon process guest agent, and the virtualization process is ended. And if no other running cloud mobile phones exist at the moment, stopping AVD at the same time.
Example two, delete target cloud Mobile
When a user desires to delete a target cloud mobile phone, a deletion instruction can be input in an interface displayed by the Openstack cloud computing management service to instruct to delete the target cloud mobile phone.
At this time, the electronic device may use the operation type of "stop" as the first parameter, and call the first interface, so that the first interface may output the second instruction, where the second instruction is used to instruct the AVD to drive to call the android delete command to delete the target cloud mobile phone, and correspondingly delete the AVD, the attribute information file of the target cloud mobile phone in the configuration file, and other records related to the target cloud mobile phone, for example, a cache file generated by running the cloud mobile phone, or a file stored by the target cloud mobile phone.
The method provided by the embodiment of the application is introduced above, and the device provided by the embodiment of the application is introduced below.
Referring to fig. 7, the present application provides a data processing apparatus, which may be the electronic device or a chip or an integrated circuit in the electronic device, and includes a module/unit/technical means for executing the method executed by the electronic device in the method embodiment.
Illustratively, the apparatus 700 may include:
an obtaining module 701, configured to obtain first information, where the first information includes an operation type, and the operation type is used to indicate an operation on a cloud mobile phone;
the processing module 702 is configured to call a first interface provided by libvirt according to the first information, so as to execute the operation on the cloud mobile phone.
It should be understood that all relevant contents of each step related to the above method embodiments may be referred to the functional description of the corresponding functional module, and are not described herein again.
Referring to fig. 8, as a possible product form of the above apparatus, an embodiment of the present application further provides an electronic device 800, including:
at least one processor 801; and a communication interface 803 communicatively coupled to the at least one processor 801; the at least one processor 801, by executing instructions stored by the memory 802, causes the electronic device 800 to perform the method steps performed by any of the above-described method embodiments via the communication interface 803.
Optionally, the memory 802 is located outside the electronic device 800.
Optionally, the electronic device 800 includes the memory 802, the memory 802 is connected to the at least one processor 801, and the memory 802 stores instructions executable by the at least one processor 801. Fig. 8 shows in dashed lines that the memory 802 is optional for the electronic device 800.
The processor 801 and the memory 802 may be coupled by an interface circuit, or may be integrated together, which is not limited herein.
The specific connection medium between the processor 801, the memory 802 and the communication interface 803 is not limited in the embodiment of the present application. In fig. 8, the processor 801, the memory 802, and the communication interface 803 are connected by a bus 804, the bus is shown by a thick line in fig. 8, and the connection manner among other components is only schematically illustrated and not limited. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 8, but this is not intended to represent only one bus or type of bus.
It should be understood that the processors mentioned in the embodiments of the present application may be implemented by hardware or may be implemented by software. When implemented in hardware, the processor may be a logic circuit, an integrated circuit, or the like. When implemented in software, the processor may be a general-purpose processor implemented by reading software code stored in a memory.
The Processor may be, for example, a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It will be appreciated that the memory referred to in the embodiments of the application may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of example, but not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), Double Data rate Synchronous Dynamic random access memory (DDR SDRAM), Enhanced Synchronous SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and Direct Rambus RAM (DR RAM).
It should be noted that when the processor is a general-purpose processor, a DSP, an ASIC, an FPGA or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, the memory (memory module) may be integrated into the processor.
It should be noted that the memory described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
As another possible product form, the present application further provides a computer-readable storage medium for storing instructions that, when executed, cause a computer to perform the method steps performed by any one of the above-mentioned method examples.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.
Claims (9)
1. A cloud mobile phone management method is characterized by comprising the following steps:
acquiring first information, wherein the first information comprises an operation type, and the operation type is used for indicating the operation on the cloud mobile phone;
and calling a first interface provided by a virtual machine management tool libvirt according to the first information so as to execute the operation on the cloud mobile phone.
2. The method of claim 1, wherein the calling a first interface provided by libvirt according to the first information to perform the operation on the cloud handset comprises:
calling the first interface by using the operation type as a first parameter so that the first interface outputs a first instruction;
and transmitting the first instruction to an AVD driver of an android simulator, so that the AVD driver executes the operation according to the first instruction.
3. The method of claim 1 or 2, wherein the operation type comprises: one or more of create, start, stop, delete, migrate, specification change.
4. The method of claim 2, wherein the operation type is create;
the calling a first interface provided by libvirt according to the first information to execute the operation on the cloud mobile phone further includes:
acquiring attribute information of the cloud mobile phone from the configuration file of the first interface;
and calling the first interface by taking the attribute information of the cloud mobile phone as a second parameter.
5. The method of claim 4, wherein the attribute information includes one or more of: the device model, the operating system version, the ARM instruction set version, the interface information and the storage information.
6. A cloud mobile phone management device is characterized by comprising:
the cloud mobile phone comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring first information, the first information comprises an operation type, and the operation type is used for indicating the operation on the cloud mobile phone;
and the processing module is used for calling a first interface provided by libvirt according to the first information so as to execute the operation on the cloud mobile phone.
7. The apparatus according to claim 6, wherein the processing module is configured to call a first interface provided by libvirt according to the first information, so as to perform the operation on the cloud mobile phone, and is specifically configured to:
calling the first interface by using the operation type as a first parameter so that the first interface outputs a first instruction;
and transmitting the first instruction to an AVD driver of an android simulator, so that the AVD driver executes the operation according to the first instruction.
8. An electronic device, comprising:
at least one processor; and a memory communicatively coupled to the at least one processor;
wherein the memory stores instructions executable by the at least one processor, the at least one processor causing the apparatus to perform the method of any one of claims 1-5 by executing the instructions stored by the memory.
9. A computer-readable storage medium for storing instructions that, when executed, cause the method of any one of claims 1-5 to be implemented.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111617249.3A CN114500718B (en) | 2021-12-27 | 2021-12-27 | Cloud mobile phone management method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111617249.3A CN114500718B (en) | 2021-12-27 | 2021-12-27 | Cloud mobile phone management method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114500718A true CN114500718A (en) | 2022-05-13 |
CN114500718B CN114500718B (en) | 2023-11-03 |
Family
ID=81496945
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111617249.3A Active CN114500718B (en) | 2021-12-27 | 2021-12-27 | Cloud mobile phone management method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114500718B (en) |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102262557A (en) * | 2010-05-25 | 2011-11-30 | 运软网络科技(上海)有限公司 | Method for constructing virtual machine monitor by bus architecture and performance service framework |
WO2015039181A1 (en) * | 2013-09-23 | 2015-03-26 | Gopc Pty Ltd | Virtual computing systems and methods |
US9697629B1 (en) * | 2013-01-22 | 2017-07-04 | Hypori, Inc. | System, method and computer product for user performance and device resolution settings |
CN107203397A (en) * | 2017-05-24 | 2017-09-26 | 广州四三九九信息科技有限公司 | The operation method and device of Mobile solution |
CN107741877A (en) * | 2017-11-06 | 2018-02-27 | 湖南红手指信息技术有限公司 | A kind of method, storage medium and the processor of cloud handset starting virtual opetrating system |
US20190340098A1 (en) * | 2018-05-03 | 2019-11-07 | Alteros, Inc. | System and method for providing audio processing and inventory tracking and management in a cloud environment |
CN112256241A (en) * | 2020-11-03 | 2021-01-22 | 深圳市哈哈丫丫互联网有限公司 | Framework and interface design scheme of cloud suite |
KR20210028176A (en) * | 2019-02-28 | 2021-03-11 | 에스케이브로드밴드주식회사 | Virtual desktop system using container and method thereof |
CN113360249A (en) * | 2021-07-02 | 2021-09-07 | 深圳市瑞驰信息技术有限公司 | Qemu virtual machine operation method based on ARM64 |
CN113452830A (en) * | 2021-06-15 | 2021-09-28 | 华云数据控股集团有限公司 | Batch control method of android cloud mobile phone, computer readable medium and electronic device |
CN113497945A (en) * | 2020-03-20 | 2021-10-12 | 华为技术有限公司 | Live broadcast and configuration method based on cloud mobile phone and related device and system |
WO2021218751A1 (en) * | 2020-04-30 | 2021-11-04 | 华为技术有限公司 | Cloud phone-based media data processing method and terminal device |
WO2021223744A1 (en) * | 2020-05-07 | 2021-11-11 | 中科寒武纪科技股份有限公司 | Method for realizing live migration, chip, board, and storage medium |
-
2021
- 2021-12-27 CN CN202111617249.3A patent/CN114500718B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102262557A (en) * | 2010-05-25 | 2011-11-30 | 运软网络科技(上海)有限公司 | Method for constructing virtual machine monitor by bus architecture and performance service framework |
US9697629B1 (en) * | 2013-01-22 | 2017-07-04 | Hypori, Inc. | System, method and computer product for user performance and device resolution settings |
WO2015039181A1 (en) * | 2013-09-23 | 2015-03-26 | Gopc Pty Ltd | Virtual computing systems and methods |
CN107203397A (en) * | 2017-05-24 | 2017-09-26 | 广州四三九九信息科技有限公司 | The operation method and device of Mobile solution |
CN107741877A (en) * | 2017-11-06 | 2018-02-27 | 湖南红手指信息技术有限公司 | A kind of method, storage medium and the processor of cloud handset starting virtual opetrating system |
US20190340098A1 (en) * | 2018-05-03 | 2019-11-07 | Alteros, Inc. | System and method for providing audio processing and inventory tracking and management in a cloud environment |
KR20210028176A (en) * | 2019-02-28 | 2021-03-11 | 에스케이브로드밴드주식회사 | Virtual desktop system using container and method thereof |
CN113497945A (en) * | 2020-03-20 | 2021-10-12 | 华为技术有限公司 | Live broadcast and configuration method based on cloud mobile phone and related device and system |
WO2021218751A1 (en) * | 2020-04-30 | 2021-11-04 | 华为技术有限公司 | Cloud phone-based media data processing method and terminal device |
WO2021223744A1 (en) * | 2020-05-07 | 2021-11-11 | 中科寒武纪科技股份有限公司 | Method for realizing live migration, chip, board, and storage medium |
CN112256241A (en) * | 2020-11-03 | 2021-01-22 | 深圳市哈哈丫丫互联网有限公司 | Framework and interface design scheme of cloud suite |
CN113452830A (en) * | 2021-06-15 | 2021-09-28 | 华云数据控股集团有限公司 | Batch control method of android cloud mobile phone, computer readable medium and electronic device |
CN113360249A (en) * | 2021-07-02 | 2021-09-07 | 深圳市瑞驰信息技术有限公司 | Qemu virtual machine operation method based on ARM64 |
Non-Patent Citations (3)
Title |
---|
MYDRIVERC2: ""libvirt简介"", 《HTTPS://BLOG.CSDN.NET/MYDRIVERC2/ARTICLE/DETAILS/107575076》 * |
时钰森: ""面向桌面云的Android虚拟机设备虚拟化的研究与实现"", 《中国优秀硕士学位论文全文数据库》, no. 5, pages 58 * |
李贵贵: ""基于OpenStack虚拟云桌面***的研究与实现"", 《中国优秀硕士学位论文全文数据库》, no. 12 * |
Also Published As
Publication number | Publication date |
---|---|
CN114500718B (en) | 2023-11-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9952819B2 (en) | Method and system of automated generation of user form interface | |
US9116680B2 (en) | Dynamically building locale objects or subsections of locale objects based on historical data | |
US8407717B2 (en) | Parallel processing method for dual operating system | |
US20150186129A1 (en) | Method and system for deploying a program module | |
CN109918055B (en) | Application program generation method and device | |
CN107733985B (en) | Method and device for deploying functional components of cloud computing system | |
CN110691136A (en) | Data interaction method and device, electronic equipment and storage medium | |
US11520606B2 (en) | Dynamic generation of user interface components based on hierarchical component factories | |
WO2017096065A1 (en) | Running applications using pre-generated components | |
WO2018036342A1 (en) | Csar-based template design visualization method and device | |
CN112861057A (en) | Page rendering method, device and equipment based on small program and storage medium | |
US11747973B2 (en) | Rule-based user interface layout rearrangement | |
KR20150080567A (en) | Multi-platform mobile and other computing devices and methods | |
CN111068328A (en) | Game advertisement configuration table generation method, terminal device and medium | |
CN104881318A (en) | Interface calling method and device and terminal | |
CN110780930A (en) | Method and device for starting Android system, electronic equipment and storage medium | |
US20180203726A1 (en) | Virtual machine migration method and apparatus | |
US9141353B2 (en) | Dynamically building locale objects at run-time | |
US20240078072A1 (en) | Method and apparatus for displaying message box, terminal device and non-transitory computer-readable storage medium | |
US10997269B1 (en) | Using web application components with different web application frameworks in a web application | |
CN110837446A (en) | Equipment management method and device applied to embedded system, medium and embedded equipment | |
CN112948102B (en) | Virtual machine event processing method, device and system | |
CN112286633A (en) | Virtual machine creating method, device, equipment and storage medium based on CloudStack platform | |
CN112235132A (en) | Method, device, medium and server for dynamically configuring service | |
CN112068879A (en) | Method and device for constructing client application development framework based on configuration |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |