CN112764876A - Virtual mobile phone resource allocation method and device - Google Patents

Virtual mobile phone resource allocation method and device Download PDF

Info

Publication number
CN112764876A
CN112764876A CN202011633504.9A CN202011633504A CN112764876A CN 112764876 A CN112764876 A CN 112764876A CN 202011633504 A CN202011633504 A CN 202011633504A CN 112764876 A CN112764876 A CN 112764876A
Authority
CN
China
Prior art keywords
mobile phone
virtual
cloud
cloud mobile
resource allocation
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
CN202011633504.9A
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.)
Xian Wanxiang Electronics Technology Co Ltd
Original Assignee
Xian Wanxiang Electronics Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xian Wanxiang Electronics Technology Co Ltd filed Critical Xian Wanxiang Electronics Technology Co Ltd
Priority to CN202011633504.9A priority Critical patent/CN112764876A/en
Publication of CN112764876A publication Critical patent/CN112764876A/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/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention provides a virtual mobile phone resource allocation method and device, relates to the technical field of mobile terminals, and can solve the problem that virtual mobile phone resources cannot be flexibly used in the prior art. The specific technical scheme is as follows: firstly, acquiring resource allocation information, wherein the resource allocation information at least comprises the number of virtual machines and configuration information of each virtual machine; then, establishing corresponding M virtual mobile phones based on the resource allocation information, wherein M is more than or equal to 1; creating N user accounts, wherein the N user accounts correspond to the N cloud mobile phones one by one, and N is more than or equal to 1; and finally, establishing communication connection between the N cloud mobile phones and the M virtual mobile phones according to the N user accounts. The method and the device are used for virtual mobile phone resource allocation.

Description

Virtual mobile phone resource allocation method and device
Technical Field
The present disclosure relates to the field of mobile terminal technologies, and in particular, to a virtual mobile phone resource allocation method and apparatus.
Background
With the development of cloud computing technology application, in recent years, cloud mobile phones are also applied to specific industries, a virtual mobile phone system is deployed on a cloud server, and a user can access the cloud server through the internet to use a preset mobile phone system.
In the prior art, one cloud mobile phone corresponds to one virtual mobile phone or a plurality of bound mobile phones share one virtual mobile phone. Generally, the configuration of the virtual handset is generally fixed, and needs to be set by a user in advance, and when the virtual handset configured by the user is idle, the virtual handset cannot be used by other users because resources are occupied by the user.
Disclosure of Invention
The embodiment of the disclosure provides a virtual mobile phone resource allocation method and device, which can solve the problem that the virtual mobile phone resource cannot be flexibly used in the prior art. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, a method for allocating virtual mobile phone resources is provided, where the method includes:
acquiring resource allocation information, wherein the resource allocation information at least comprises the number of virtual machines and configuration information of each virtual machine;
establishing corresponding M virtual mobile phones based on the resource allocation information, wherein M is more than or equal to 1;
creating N user accounts which correspond to N cloud mobile phones one by one, wherein N is more than or equal to 1;
and establishing communication connection between the N cloud mobile phones and the M virtual mobile phones according to the N user accounts.
The virtual mobile phone resource allocation method provided by the embodiment of the disclosure includes the steps of firstly, obtaining resource allocation information, wherein the resource allocation information at least comprises the number of virtual machines and configuration information of each virtual machine; then, establishing corresponding M virtual mobile phones based on the resource allocation information, wherein M is more than or equal to 1; creating N user accounts, wherein the N user accounts correspond to the N cloud mobile phones one by one, and N is more than or equal to 1; and finally, establishing communication connection between the N cloud mobile phones and the M virtual mobile phones according to the N user accounts. The method and the device can enable the plurality of cloud mobile phones to share a series of configured virtual mobile phones, reduce the cost and reasonably utilize resources.
In one embodiment, establishing the communication connection between the N cloud handsets and the M virtual handsets includes:
receiving a request for logging in a first virtual mobile phone, wherein the request comprises user account information corresponding to the first cloud mobile phone, an equipment identifier of the first cloud mobile phone and information of the first virtual mobile phone;
and establishing communication connection between the first cloud mobile phone and the first virtual mobile phone.
In one embodiment, prior to the establishing the communication connection of the first cloud handset with the first virtual handset, the method further comprises:
judging whether the first virtual mobile phone is logged in by a second cloud mobile phone;
if not, establishing communication connection between the first cloud mobile phone and the first virtual mobile phone.
In one embodiment, the method further comprises:
if so, sending a prompt message to the second cloud mobile phone, wherein the prompt message comprises the equipment identifier of the first cloud mobile phone, and the prompt message is used for indicating the first cloud mobile phone to log in the first virtual mobile phone in advance;
receiving an exit agreement message sent by the second cloud mobile phone;
and establishing communication connection between the first cloud mobile phone and the first virtual mobile phone.
In one embodiment, the method further comprises:
sending a first confirmation picture to the second cloud mobile phone, wherein the first confirmation picture comprises exit login and login of the second virtual mobile phone;
receiving a login quitting notification sent by the second cloud mobile phone;
calling a second storage space corresponding to the second cloud mobile phone to store the operating data of the second cloud mobile phone; or
Receiving a request for logging in a second virtual mobile phone sent by the second cloud mobile phone;
establishing a communication connection between the second cloud mobile phone and the second virtual mobile phone;
and calling a second storage space corresponding to the second cloud mobile phone to store the operation data of the second cloud mobile phone, and pushing the current operation data of the second cloud mobile phone to the second virtual mobile phone so as to enable the second virtual mobile phone to operate the current operation data.
In one embodiment, the method further comprises:
receiving a quit rejection message sent by the second cloud mobile phone;
sending a second confirmation picture to the first cloud mobile phone, wherein the second confirmation picture comprises log-out and switching to a second virtual mobile phone;
receiving a login quitting notification sent by the first cloud mobile phone; or
Receiving a request for logging in the second virtual mobile phone, which is sent by the first cloud mobile phone, wherein the request comprises user account information corresponding to the first cloud mobile phone, an equipment identifier of the first cloud mobile phone and information of the second virtual mobile phone;
and establishing communication connection between the first cloud mobile phone and the second virtual mobile phone.
In one embodiment, the method further comprises:
acquiring resource allocation change information, wherein the resource allocation change information comprises the number of the changed virtual machines and configuration information corresponding to each changed virtual machine;
the establishing of the corresponding M virtual mobile phones based on the resource allocation information comprises:
and establishing corresponding M virtual mobile phones based on the resource allocation change information.
In one embodiment, when M < N, the method further comprises:
when a login request sent by an M +1 cloud mobile phone is received, a login prohibition message is sent to the M +1 cloud mobile phone; or
And sending a cloud mobile phone replacement reminding message to the (M + 1) th cloud mobile phone.
In one embodiment, the method further comprises:
and dividing the storage space corresponding to each virtual machine into at least one area, so that the at least one area stores the corresponding running data of at least one cloud mobile phone.
According to a second aspect of the embodiments of the present disclosure, there is provided a virtual phone resource allocating device, including: the system comprises an acquisition module, a first creation module, a second creation module and a connection module;
the acquiring module is configured to acquire resource allocation information, where the resource allocation information at least includes the number of virtual machines and configuration information of each virtual machine;
the first establishing module is used for establishing M corresponding virtual mobile phones based on the resource allocation information, wherein M is more than or equal to 1;
the second creating module is used for creating N user accounts, wherein the N user accounts correspond to the N cloud mobile phones one by one, and N is more than or equal to 1;
the connection module is used for establishing communication connection between the N cloud mobile phones and the M virtual mobile phones according to the N user accounts.
The device provided by the embodiment of the disclosure comprises an acquisition module, a first creation module, a second creation module and a connection module. The acquisition module acquires resource allocation information, wherein the resource allocation information at least comprises the number of virtual machines and configuration information of each virtual machine; the first establishing module establishes corresponding M virtual mobile phones based on the resource allocation information, wherein M is more than or equal to 1; the second creating module creates N user accounts, wherein the N user accounts correspond to the N cloud mobile phones one by one, and N is more than or equal to 1; the connection module establishes communication connection between the N cloud mobile phones and the M virtual mobile phones according to the N user accounts. The method and the device can enable the plurality of cloud mobile phones to share a series of configured virtual mobile phones, reduce the cost and reasonably utilize resources.
According to a third aspect of the embodiments of the present disclosure, a virtual mobile phone resource allocating device is provided, where the virtual mobile phone resource allocating device includes a processor and a memory, where the memory stores at least one computer instruction, and the instruction is loaded and executed by the processor to implement the steps executed in any one of the virtual mobile phone resource allocating methods.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, where at least one computer instruction is stored, where the instruction is loaded and executed by a processor to implement the steps performed in the virtual phone resource allocation method described in any one of the above.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a structural diagram of a virtual mobile phone resource allocation system according to an embodiment of the present disclosure;
fig. 2 is a flowchart of a virtual mobile phone resource allocation method according to an embodiment of the present disclosure;
fig. 3 is a flowchart of a virtual phone resource allocation method according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a virtual phone resource allocating device according to an embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
In the resource allocation system structure provided by the present disclosure, as shown in fig. 1, a user presets a package, where the package includes a high-configuration virtual mobile phone, a medium-configuration virtual mobile phone, and a low-configuration virtual mobile phone. The system includes three cloud handsets A, B, C and a server. The server comprises a first virtual mobile phone VM1 configured in A, a second virtual mobile phone VM2 configured in B and a third virtual mobile phone VM3 configured in C, the management center is used for account switching management of package, and 3 pairs of account passwords correspond to 3 virtual mobile phones. And at least 3 storage spaces are opened in the server, such as a first storage space DATA-1, a second storage space DATA-2 and a third storage space DATA-3 in the figure, which are respectively used for independently storing DATA of the same cloud mobile phone. That is, no matter which virtual machine the cloud cell phone a logs in, the DATA thereof is stored in the same place, i.e., the space corresponding to DATA-1. Specifically, as shown in tables 1 and 2.
Account name Corresponding virtual mobile phone
USER1 VM1
USER2 VM2
USER3 VM3
TABLE 1
Device identification Corresponding storage space
A DATA1
B DATA2
C DATA3
TABLE 2
Among them, User1, User2, and User3 share (cannot be used simultaneously) three virtual machines VM1, VM2, and VM 3.
In the prior art, for example, a family package, the virtual mobile phone operator including the configuration a may charge 50 yuan, the virtual mobile phone operator of the configuration B may charge 80 yuan, and the virtual mobile phone operator of the configuration C may charge 100 yuan. Wherein the C configuration is higher than the B configuration, and the B configuration is higher than the A configuration. The family member A can log in the virtual mobile phone configured by C, the family member B can log in the virtual mobile phone configured by B, and the family member C can log in the virtual mobile phone configured by A. By the method in the embodiment of the disclosure, a series of binding numbers can be set, and family members can log in the virtual mobile phone configured by C, the virtual mobile phone configured by B and the virtual mobile phone configured by A alternately, so that resource sharing is realized. Based on this, an embodiment of the present disclosure provides a virtual mobile phone resource allocation method, as shown in fig. 2, the virtual mobile phone resource allocation method includes the following steps:
step 101, acquiring resource allocation information, wherein the resource allocation information at least comprises the number of virtual machines and configuration information of each virtual machine;
specifically, the resource allocation information of the operator terminal is obtained, and the resource allocation information may further include the maximum number of terminals allowed to access. For example, if the resource allocation information includes 3 virtual machines VM, the maximum number of cloud mobile phone terminals allowed to be accessed is set to 3, and if there is a new terminal device to be accessed to the VM, re-binding is required.
In the actual application process, a user generally goes to an operator business hall or an online business hall to handle the family package service of the virtual mobile phone, based on the service, the operator uploads the virtual mobile phone and configuration corresponding to the package, the maximum terminal number and the like through an operator server, and the server allocates resources based on the parameters.
The configuration information of the virtual machine includes, but is not limited to: operating system information (e.g., android version), IMEI encoding, run memory, and the like.
102, establishing corresponding M virtual mobile phones based on resource allocation information, wherein M is more than or equal to 1;
in actual use, for example, a virtual mobile phone runs an Android system, the system is preset with a plurality of running software, and each software is assigned with a number, which is APP _01, APP _02, and APP _03 respectively.
103, creating N user accounts, wherein the N user accounts correspond to the N cloud mobile phones one by one, and N is more than or equal to 1;
specifically, the cloud mobile phone has own body configuration and hardware information, IMEI code, android ID, WIFIMAC, serial number and the like, and the body information of each cloud mobile phone is unique and is also unique identification information. In addition, the cloud mobile phone also has the android version of the cloud mobile phone, and a CPU, an operation memory and a body memory of the body.
In the embodiment of the present disclosure, the USER accounts are created, for example, the created accounts are USER1, USER2, and USER3, and these three accounts may access any one virtual handset established in step 102 non-simultaneously.
In the embodiment of the disclosure, M virtual mobile phone VMs can be configured for N cloud mobile phone accounts, wherein if N is smaller than M, part of the virtual mobile phones may not be logged in and are in an idle state, and if N is larger than M, part of the cloud mobile phones may not be able to log in the VMs. If the number of N is equal to the number of M, exactly one virtual handset VM may be configured for each cloud handset. The M VMs may contain differently configured virtual machines, such as two high configured VMs and one low configured VM, or a VM configured in two bits and one high configured VM.
And step 104, establishing communication connection between the N cloud mobile phones and the M virtual mobile phones according to the N user accounts.
In one embodiment, establishing communication connections between the N cloud handsets and the M virtual handsets includes:
receiving a request for logging in a first virtual mobile phone, wherein the request comprises user account information corresponding to the first cloud mobile phone, equipment identification of the first cloud mobile phone and information of the first virtual mobile phone;
and establishing communication connection between the first cloud mobile phone and the first virtual mobile phone.
Specifically, the device identifier of the first cloud mobile phone may be a hardware identifier, and the device identifier may uniquely identify the terminal device.
In one embodiment, before establishing the communication connection between the first cloud handset and the first virtual handset, the method further includes:
judging whether the first virtual mobile phone is logged in by a second cloud mobile phone;
if not, establishing communication connection between the first cloud mobile phone and the first virtual mobile phone.
In one embodiment, the method further comprises:
if so, sending a prompt message to the second cloud mobile phone, wherein the prompt message comprises the equipment identifier of the first cloud mobile phone and is used for indicating the first cloud mobile phone to pre-log in the first virtual mobile phone;
receiving an exit agreement message sent by a second cloud mobile phone;
and establishing communication connection between the first cloud mobile phone and the first virtual mobile phone.
Specifically, the prompt message may appear in a dialog box form or a voice form, which is not limited in this disclosure. If voice, the first cloud handset may play the message, with an operable option such as approval or denial.
In one embodiment, the method further comprises:
sending a first confirmation picture to the second cloud mobile phone, wherein the first confirmation picture comprises exit login and login of the second virtual mobile phone;
receiving a login quitting notification sent by a second cloud mobile phone;
calling a second storage space corresponding to the second cloud mobile phone to store the operating data of the second cloud mobile phone; or
Receiving a request for logging in a second virtual mobile phone sent by a second cloud mobile phone;
establishing communication connection between a second cloud mobile phone and a second virtual mobile phone;
and calling a second storage space corresponding to the second cloud mobile phone to store the operation data of the second cloud mobile phone, and pushing the current operation data of the second cloud mobile phone to the second virtual mobile phone so as to enable the second virtual mobile phone to operate the current operation data.
In actual use, the second virtual mobile phone obtains the device identifier of the second cloud mobile phone, calls the data of the storage space corresponding to the device identifier of the second cloud mobile phone, and continues to operate. The data includes running APP data.
For example, if the second cloud mobile phone is running a panning APP before exiting the first virtual mobile phone and displays a certain interface, the data corresponding to the storage space should store the running panning APP data, and the panning APP is started in the operating system and jumps to the corresponding interface and is pushed to the second cloud mobile phone.
In one embodiment, the method further comprises:
receiving a quit rejection message sent by a second cloud mobile phone;
sending a second confirmation picture to the first cloud mobile phone, wherein the second confirmation picture comprises log-out and switching to a second virtual mobile phone;
receiving a login quitting notification sent by a first cloud mobile phone; or
Receiving a request for logging in a second virtual mobile phone sent by a first cloud mobile phone, wherein the request comprises user account information corresponding to the first cloud mobile phone, equipment identification of the first cloud mobile phone and information of the second virtual mobile phone;
and establishing communication connection between the first cloud mobile phone and the second virtual mobile phone.
In one embodiment, in the process of logging in the first virtual mobile phone, the first cloud mobile phone stores all the processing data in the first storage space corresponding to the first cloud mobile phone.
Optionally, the first storage space may be further divided into a plurality of regions, and each region corresponds to an APP of a virtual mobile phone logged in by the first cloud mobile phone and is convenient for data call. For example, if the first cloud mobile phone logs in three virtual mobile phones respectively, the first storage space may be divided into 3 regions, and the three regions store the APPs that the first cloud mobile phone logs in the three virtual mobile phones to operate respectively.
In one embodiment, the method further comprises:
acquiring resource allocation change information, wherein the resource allocation change information comprises the number of the changed virtual machines and the configuration information corresponding to each changed virtual machine;
based on the resource allocation information, establishing corresponding M virtual handsets includes:
and establishing corresponding M virtual mobile phones based on the resource allocation change information.
In one embodiment, when M < N, the method further comprises:
when a login request sent by the M +1 th cloud mobile phone is received, a login prohibition message is sent to the M +1 th cloud mobile phone; or
And sending a cloud mobile phone replacement reminding message to the M +1 cloud mobile phone.
Specifically, if the replacement is performed, the replacement can be performed after the preset authentication. And the server management center records the updated corresponding relation.
In one embodiment, the method further comprises:
the storage space corresponding to each virtual machine is divided into at least one area, so that the at least one area stores the corresponding running data of the at least one cloud mobile phone.
In practical use, for example, a package originally ordered by a family user includes 3 virtual mobile phones with different configurations, the maximum access number is agreed to be 3, family members are added later or the existing configuration is not enough to meet family requirements, and then the family members can go to an operator business hall or an online business hall to handle corresponding package changes. In addition, upgrading may also be performed, for example, to change 3 virtual handsets with different configurations into two high-configuration and one medium-configuration virtual handsets, or to add a new virtual handset, and the like, which is not limited in this disclosure.
The virtual mobile phone resource allocation method provided by the embodiment of the disclosure includes the steps of firstly, obtaining resource allocation information, wherein the resource allocation information at least comprises the number of virtual machines and configuration information of each virtual machine; then, establishing corresponding M virtual mobile phones based on the resource allocation information, wherein M is more than or equal to 1; creating N user accounts, wherein the N user accounts correspond to the N cloud mobile phones one by one, and N is more than or equal to 1; and finally, establishing communication connection between the N cloud mobile phones and the M virtual mobile phones according to the N user accounts. The method and the device can enable the plurality of cloud mobile phones to share a series of configured virtual mobile phones, reduce the cost and reasonably utilize resources.
Based on the virtual mobile phone resource allocation method provided in the embodiment corresponding to fig. 2, another embodiment of the present disclosure provides a virtual mobile phone resource allocation method, as shown in fig. 3.
Step 201, acquiring resource allocation information of an operator terminal;
the resource allocation information at least comprises virtual machine configuration information and corresponding quantity;
the virtual machine configuration information includes, but is not limited to: operating system information (e.g., android version), IMEI encoding, run memory, and the like.
Optionally, the resource allocation information further includes a maximum number of terminals allowed to access.
For example, if the resource allocation information includes 3 VMs, the maximum number of terminals allowed to be accessed is set to 3, and if there is a new terminal device to be accessed to the VM, re-binding is required.
In the actual application process, a user generally goes to an operator business hall or an online business hall to handle the family package service of the virtual mobile phone, based on the service, the operator uploads the virtual mobile phone and configuration corresponding to the package, the maximum access number and the like through an operator server, and the server allocates resources based on the parameters.
Step 202, establishing a corresponding virtual mobile phone based on the resource allocation information;
for example, the virtual mobile phone runs an Android system, the system is preset with multiple running software, and each software is assigned with a number, which is APP _01, APP _02, APP _03 respectively.
Step 203, creating USER accounts which are USER1, USER2 and USER3 respectively, wherein the three accounts can access any virtual mobile phone established in the step 202 non-simultaneously;
specifically, the process may include the steps of:
s1, the cloud mobile phone 1 sends a login request to a server;
the login request carries account information and a device identifier of the terminal, wherein the device identifier may be a hardware identifier, and the device identifier can uniquely identify the terminal device.
S2, the server management center may establish a communication connection between the corresponding VM1 and the cloud cell phone 1 based on the login request sent by the cloud cell phone 1;
optionally, before the VM and the cloud mobile phone establish the communication connection, the method further includes:
and judging whether the VM1 is logged in and used by other terminal equipment, and if so, sending a notification message to the used terminal equipment 2, wherein the notification message comprises the equipment identification of the cloud mobile phone 1.
The notification message is used to instruct the terminal device 2 to be notified that the cloud handset 1 is to log in the VM 2.
VM1 includes a notification message in the display interface sent to terminal device 2 and provides the user with actionable options. For example, the notification message may appear in the form of a dialog box or in the form of voice, which is not limited by the present disclosure. If it is voice, the cloud handset 1 may play the message. An actionable option such as consent or denial.
If the user selects agreement, the terminal device 2 transmits the agreement notification to the VM1, and if the user selects rejection, the terminal device transmits the rejection notification to the VM 1.
Further, after receiving the approval notification, the VM pushes a first confirmation screen to the terminal device 2, where the first confirmation screen includes an option of exiting or switching to another VM;
if the log-out is yes, logging out directly and storing the running data. If the connection is switched to the VM2, the management center establishes connection between the VM2 and the terminal device 2, and informs the cloud mobile phone 1 of establishing connection.
The VM2 acquires the device identifier of the terminal device 2, and calls the data of the storage space corresponding to the device identifier to continue the operation. The data includes running APP data.
For example, if VM1 is running a panning APP before exiting and displays a certain interface, the data corresponding to the storage space should store the running panning APP data, and the panning APP is started in the operating system and jumps to the corresponding interface, and is pushed to terminal device 2.
After receiving the rejection notification, the VM pushes a second confirmation screen to the cloud mobile phone 1, where the second confirmation screen includes an option to log out or switch to another VM.
If the user chooses to switch to VM2, the process of logging in is re-executed.
Optionally, if a login request of the cloud mobile phone C is received and the number of the device identifiers stored in the management center is less than 3, the cloud mobile phone logs in the VM corresponding to the server according to the login method.
S3, the user saves all the processing DATA in DATA1 while logging in to VM 1.
Optionally, the DATA1 may be further divided into a plurality of regions, where each region corresponds to an APP run by the virtual phone, so as to facilitate DATA call.
And S4, if the user selects to switch to the VM2, and if the user can switch, the VM2 directly calls the data corresponding to the terminal identifier A to operate.
Optionally, if a login request of the cloud mobile phone D is received and the number of the device identifiers stored in the management center is greater than 3, entering the VM is prohibited or the user is prompted to replace the device.
If the user needs to replace the mobile terminal, the mobile terminal can be replaced after preset identity authentication. And the server management center records the updated corresponding relation.
Further, the method may further include:
acquiring resource allocation change information of an operator terminal;
the resource allocation update information at least comprises changed virtual machine configuration information and a changed corresponding quantity;
for example, a package originally ordered by the Family user Family1 includes 3 virtual mobile phones with different configurations, the maximum access number is agreed to be 3, a Family member is added later or the existing configuration is not enough to meet the Family requirement, and then the Family member can go to the operator business hall or the online business hall to handle corresponding package changes, such as upgrading.
The 3 virtual mobile phones with different configurations are changed into two high-configuration virtual mobile phones and one medium-configuration virtual mobile phone, or a new virtual mobile phone is added, and the like, which is not limited in any way by the disclosure.
If the virtual machine is newly added, the flow of the executed steps is the same as that described above in the present invention, and is not described again.
The virtual mobile phone resource allocation method provided by the embodiment of the disclosure includes the steps of firstly, obtaining resource allocation information, wherein the resource allocation information at least comprises the number of virtual machines and configuration information of each virtual machine; then, establishing corresponding M virtual mobile phones based on the resource allocation information, wherein M is more than or equal to 1; creating N user accounts, wherein the N user accounts correspond to the N cloud mobile phones one by one, and N is more than or equal to 1; and finally, establishing communication connection between the N cloud mobile phones and the M virtual mobile phones according to the N user accounts. The method and the device can enable the plurality of cloud mobile phones to share a series of configured virtual mobile phones, reduce the cost and reasonably utilize resources.
Based on the virtual phone resource allocation method described in the embodiments corresponding to fig. 2 and fig. 3, the following is an embodiment of the apparatus of the present disclosure, and the method may be implemented in the embodiments of the method of the present disclosure.
The disclosed embodiment provides an apparatus, as shown in fig. 4, the apparatus 30 includes an obtaining module 301, a first creating module 302, a second creating module 303, and a connecting module 304;
an obtaining module 301, configured to obtain resource allocation information, where the resource allocation information at least includes the number of virtual machines and configuration information of each virtual machine;
a first creating module 302, configured to create, based on the resource allocation information, corresponding M virtual handsets, where M is greater than or equal to 1;
the second creating module 303 is configured to create N user accounts, where the N user accounts correspond to the N cloud handsets one to one, and N is greater than or equal to 1;
the connection module 304 is configured to establish communication connections between the N cloud handsets and the M virtual handsets according to the N user accounts.
The apparatus provided by the embodiment of the present disclosure includes an obtaining module 301, a first creating module 302, a second creating module 303, and a connecting module 304. The obtaining module 301 obtains resource allocation information, where the resource allocation information at least includes the number of virtual machines and configuration information of each virtual machine; the first creating module 302 creates corresponding M virtual mobile phones based on the resource allocation information, wherein M is greater than or equal to 1; the second creating module 303 creates N user accounts, where the N user accounts correspond to the N cloud handsets one to one, where N is greater than or equal to 1; the connection module 304 establishes communication connections between the N cloud handsets and the M virtual handsets according to the N user accounts. The method and the device can enable the plurality of cloud mobile phones to share a series of configured virtual mobile phones, reduce the cost and reasonably utilize resources.
Based on the virtual mobile phone resource allocation method described in the embodiment corresponding to fig. 2 and fig. 3, another embodiment of the present disclosure further provides a virtual mobile phone resource allocation device, where the virtual mobile phone resource allocation device includes a processor and a memory, and the memory stores at least one computer instruction, and the instruction is loaded and executed by the processor to implement the virtual mobile phone resource allocation method described in the embodiment corresponding to fig. 2 and fig. 3.
Based on the virtual phone resource allocation method described in the embodiment corresponding to fig. 2 and fig. 3, an embodiment of the present disclosure further provides a computer-readable storage medium, for example, the non-transitory computer-readable storage medium may be a Read Only Memory (ROM), a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like. The storage medium stores at least one computer instruction for executing the virtual mobile phone resource allocation method described in the embodiment corresponding to fig. 2 and fig. 3, which is not described herein again.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A virtual mobile phone resource allocation method is characterized by comprising the following steps:
acquiring resource allocation information, wherein the resource allocation information at least comprises the number of virtual machines and configuration information of each virtual machine;
establishing corresponding M virtual mobile phones based on the resource allocation information, wherein M is more than or equal to 1;
creating N user accounts which correspond to N cloud mobile phones one by one, wherein N is more than or equal to 1;
and establishing communication connection between the N cloud mobile phones and the M virtual mobile phones according to the N user accounts.
2. The method for allocating resources of a virtual handset according to claim 1, wherein the establishing the communication connection between the N cloud handsets and the M virtual handsets includes:
receiving a request for logging in a first virtual mobile phone, wherein the request comprises user account information corresponding to the first cloud mobile phone, an equipment identifier of the first cloud mobile phone and information of the first virtual mobile phone;
and establishing communication connection between the first cloud mobile phone and the first virtual mobile phone.
3. The method for allocating resources of a virtual handset as claimed in claim 2, wherein before the establishing the communication connection between the first cloud handset and the first virtual handset, the method further comprises:
judging whether the first virtual mobile phone is logged in by a second cloud mobile phone;
if not, establishing communication connection between the first cloud mobile phone and the first virtual mobile phone.
4. The method for allocating virtual mobile phone resources according to claim 3, further comprising:
if so, sending a prompt message to the second cloud mobile phone, wherein the prompt message comprises the equipment identifier of the first cloud mobile phone, and the prompt message is used for indicating the first cloud mobile phone to log in the first virtual mobile phone in advance;
receiving an exit agreement message sent by the second cloud mobile phone;
and establishing communication connection between the first cloud mobile phone and the first virtual mobile phone.
5. The method for allocating virtual handset resources according to claim 4, wherein the method further comprises:
sending a first confirmation picture to the second cloud mobile phone, wherein the first confirmation picture comprises exit login and login of the second virtual mobile phone;
receiving a login quitting notification sent by the second cloud mobile phone;
calling a second storage space corresponding to the second cloud mobile phone to store the operating data of the second cloud mobile phone; or
Receiving a request for logging in a second virtual mobile phone sent by the second cloud mobile phone;
establishing a communication connection between the second cloud mobile phone and the second virtual mobile phone;
and calling a second storage space corresponding to the second cloud mobile phone to store the operation data of the second cloud mobile phone, and pushing the current operation data of the second cloud mobile phone to the second virtual mobile phone so as to enable the second virtual mobile phone to operate the current operation data.
6. The method for allocating virtual handset resources according to claim 4, wherein the method further comprises:
receiving a quit rejection message sent by the second cloud mobile phone;
sending a second confirmation picture to the first cloud mobile phone, wherein the second confirmation picture comprises log-out and switching to a second virtual mobile phone;
receiving a login quitting notification sent by the first cloud mobile phone; or
Receiving a request for logging in the second virtual mobile phone, which is sent by the first cloud mobile phone, wherein the request comprises user account information corresponding to the first cloud mobile phone, an equipment identifier of the first cloud mobile phone and information of the second virtual mobile phone;
and establishing communication connection between the first cloud mobile phone and the second virtual mobile phone.
7. The method for allocating virtual handset resources according to claim 1, wherein the method further comprises:
acquiring resource allocation change information, wherein the resource allocation change information comprises the number of the changed virtual machines and configuration information corresponding to each changed virtual machine;
the establishing of the corresponding M virtual mobile phones based on the resource allocation information comprises:
and establishing corresponding M virtual mobile phones based on the resource allocation change information.
8. The method for allocating virtual mobile phone resources according to claim 1, wherein when M < N, the method further comprises:
when a login request sent by an M +1 cloud mobile phone is received, a login prohibition message is sent to the M +1 cloud mobile phone; or
And sending a cloud mobile phone replacement reminding message to the (M + 1) th cloud mobile phone.
9. The method for allocating resources of a virtual handset according to any one of claims 1 to 8, wherein the method further comprises:
and dividing the storage space corresponding to each virtual machine into at least one area, so that the at least one area stores the corresponding running data of at least one cloud mobile phone.
10. A virtual mobile phone resource allocating device is characterized by comprising: the system comprises an acquisition module, a first creation module, a second creation module and a connection module;
the acquiring module is configured to acquire resource allocation information, where the resource allocation information at least includes the number of virtual machines and configuration information of each virtual machine;
the first establishing module is used for establishing M corresponding virtual mobile phones based on the resource allocation information, wherein M is more than or equal to 1;
the second creating module is used for creating N user accounts, wherein the N user accounts correspond to the N cloud mobile phones one by one, and N is more than or equal to 1;
the connection module is used for establishing communication connection between the N cloud mobile phones and the M virtual mobile phones according to the N user accounts.
CN202011633504.9A 2020-12-31 2020-12-31 Virtual mobile phone resource allocation method and device Pending CN112764876A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011633504.9A CN112764876A (en) 2020-12-31 2020-12-31 Virtual mobile phone resource allocation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011633504.9A CN112764876A (en) 2020-12-31 2020-12-31 Virtual mobile phone resource allocation method and device

Publications (1)

Publication Number Publication Date
CN112764876A true CN112764876A (en) 2021-05-07

Family

ID=75697961

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011633504.9A Pending CN112764876A (en) 2020-12-31 2020-12-31 Virtual mobile phone resource allocation method and device

Country Status (1)

Country Link
CN (1) CN112764876A (en)

Similar Documents

Publication Publication Date Title
JP6622394B2 (en) Managing multiple active subscriber identity module profiles
US9918219B2 (en) Call management method and apparatus for multi-SIM multi-active terminal
EP2965553B1 (en) Method and apparatus for multisim devices with embedded sim functionality
US11115810B1 (en) Bootstrap electronic subscriber identity module configuration
US10178238B2 (en) Method and system for dynamic cellular networking activation for virtual SIM service
CN108616869B (en) Multi-card multi-standby system, method, device, communication device and computer readable storage medium
CN109600769B (en) Communication method and device
CN101442747A (en) Method and system for automatically judging user identification by terminal
CN110891266B (en) Network roaming method, device, terminal equipment and storage medium
EP3793225B1 (en) Methods for sharing a virtual sim card
JP2018506761A (en) Implicit file generation in APDU script
CN110944319A (en) 5G communication identity authentication method, equipment and storage medium
CN111093160B (en) Calling method, equipment and system
WO2020253242A1 (en) Sim card resource management scheduling apparatus, communication terminal, and system
JP7332802B2 (en) Method and Apparatus for Manual Network Selection
CN106162573B (en) Cluster group call processing method, related equipment and system
EP3099007A1 (en) Transition of applications to a second cellular data networking interface for splitting of data billing for a virtual sim service
CN112764876A (en) Virtual mobile phone resource allocation method and device
CN112616143B (en) Method and device for distributing communication numbers, electronic equipment and storage medium
CN113242543B (en) USIM-based application control method, USIM, terminal and medium
CN115280809B (en) Dynamic change of access and mobility policies
CN111436028B (en) Service access method, system and communication open platform
US8615269B2 (en) Managing method and device for configuring base stations
CN108141761B (en) Wireless resource determination method and device and service server
CN114710789B (en) Network slice determining method and device and electronic 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