CN117311849A - Method, system and mobile terminal capable of realizing customization based on cloud computer - Google Patents
Method, system and mobile terminal capable of realizing customization based on cloud computer Download PDFInfo
- Publication number
- CN117311849A CN117311849A CN202311288924.1A CN202311288924A CN117311849A CN 117311849 A CN117311849 A CN 117311849A CN 202311288924 A CN202311288924 A CN 202311288924A CN 117311849 A CN117311849 A CN 117311849A
- Authority
- CN
- China
- Prior art keywords
- client
- cloud server
- cloud
- cloud computer
- resources
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 33
- 230000005540 biological transmission Effects 0.000 claims abstract description 12
- 230000003993 interaction Effects 0.000 claims abstract description 8
- 238000007726 management method Methods 0.000 claims description 5
- 230000007246 mechanism Effects 0.000 claims description 5
- 238000012544 monitoring process Methods 0.000 claims description 5
- 238000012545 processing Methods 0.000 claims description 4
- 238000013468 resource allocation Methods 0.000 claims description 4
- 230000008713 feedback mechanism Effects 0.000 claims description 3
- 230000002159 abnormal effect Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
- G06F9/4451—User profiles; Roaming
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5011—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
- G06F9/5016—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5061—Partitioning or combining of resources
- G06F9/5072—Grid computing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5061—Partitioning or combining of resources
- G06F9/5077—Logical partitioning of resources; Management or configuration of virtualized resources
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/45595—Network integration; Enabling network access in virtual machine instances
Abstract
The invention provides a method, a system and a mobile terminal for realizing user customization based on a cloud computer, wherein the method for realizing user customization based on the cloud computer comprises the following steps: establishing network connection with a client; receiving a configuration request selected by a client through a user interaction interface; allocating corresponding resources for the configuration request; creating a virtual machine and transmitting the allocated resources to a client through a transmission protocol; the user can select the required cloud computer configuration according to different use scenes, and the problems of insufficient cloud computer configuration or resource redundancy are effectively solved.
Description
Technical Field
The invention relates to the technical field of cloud computers, in particular to a method, a system and a mobile terminal capable of realizing customization based on a cloud computer.
Background
Virtualization technology is a technology that utilizes software to simulate computer hardware, and computing elements run on a virtual basis rather than a real basis, so that limited fixed resources can be re-planned according to different requirements, and the maximum resource utilization rate is achieved.
The cloud computer desktop virtualization technology is characterized in that a desktop environment is deployed on a cloud computer server, desktop images are transmitted to a client, the client only adopts an application mode of a cloud terminal, namely only installs a basic operating system, receives a virtual desktop transmitted by the cloud computer server, and the user can see the virtual desktop just like a local real environment, and is used for operating the desktop on the cloud computer server. At present, a client of the cloud computer cannot select corresponding configuration according to own requirements, and the conditions of insufficient configuration or resource redundancy are easy to occur.
Therefore, there is a need to design a method, system and mobile terminal for realizing user customization based on cloud computer to solve the above problems.
Disclosure of Invention
The invention provides a cloud computer-based method, a cloud computer-based system and a mobile terminal capable of realizing user customization, which are used for solving the technical problems in the background art.
In order to solve the problems, the invention provides the following technical scheme:
in one aspect, an embodiment of the present invention includes a method for customizing a user based on a cloud computer, which is executed by a cloud server, and includes the following steps:
step S1, establishing network connection with a client;
step S2, receiving a configuration request selected by a client through a user interaction interface, wherein the configuration request comprises an operating system type, a CPU core number, a memory capacity, a storage space and a display card type;
step S3, inquiring the residual configuration information of the existing cloud server, and distributing corresponding resources for the configuration request;
and S4, creating a virtual machine and transmitting the allocated resources to the client through a transmission protocol to enable the virtual machine to be used by the client.
Further, in step S1, the cloud server provides an API interface, and the client uses a corresponding HTTP request access to communicate with the cloud server.
Further, in step S2, the client may create multiple cloud computers simultaneously through the API interface.
Further, in step S2, after the customer completes the configuration selection, a corresponding price is calculated according to the customer' S selection.
Further, in step S3, the cloud server performs resource management and monitoring at regular time, including tracking the resource usage of the cloud server, detecting the load and performance of the server, and dynamically adjusting the allocation of resources when the resources are insufficient.
Further, in step S4, the transmission protocol includes a TCP or UDP or WebSocket transmission protocol.
Further, step S5 is further included, where the cloud server backs up information of the virtual machine at regular time.
Furthermore, in the whole processing process, the cloud server is also provided with an exception handling mechanism, can identify and handle errors and exception conditions, and sends error information through a feedback mechanism.
On the other hand, the embodiment of the invention comprises a system capable of realizing user customization based on a cloud computer, which comprises the following steps:
the cloud server is used for providing computing power, storage and application programs;
the receiving module is used for receiving a configuration request selected by the client through the user interaction interface, wherein the configuration request comprises an operating system type, a CPU core number, a memory capacity, a storage space and a display card type;
a resource allocation module: the cloud server is used for inquiring the residual configuration information of the existing cloud server and distributing resources corresponding to the configuration request;
virtual machine creation module: the method is used for creating the allocated resources into virtual machines, and transmitting the virtual machine pictures to the client through a transmission protocol for the client to use.
On the other hand, the embodiment of the invention also comprises a mobile terminal, wherein the mobile terminal is a client side based on a cloud computer and capable of realizing a user customization method, and the mobile terminal also comprises
One or more processors;
a memory for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement a method that enables customization based on cloud computing.
Compared with the prior art, the invention has at least the following beneficial effects:
according to the cloud computer-based method for realizing customization, resources corresponding to the configuration requests can be allocated according to the configuration requests selected by the client through the user interaction interface, and a user can select required cloud computer configuration according to different use scenes, so that the problem that the cloud computer configuration is not enough or resources are redundant is effectively solved.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for customizing a user based on a cloud computer according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a system for customizing a user based on a cloud computer according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to fall within the scope of the invention. It is to be understood that the drawings are designed solely for the purposes of illustration and not as a definition of the limits of the invention. The connection relationships shown in the drawings are for convenience of clarity of description only and are not limiting on the manner of connection.
Referring to figure 1 of the drawings in which,
a method for realizing user customization based on a cloud computer comprises the following steps:
step S1, establishing network connection with a client side: the cloud server provides an API interface, and the client establishes connection with the cloud server through the network by using a corresponding HTTP request.
Step S2, receiving a client configuration request: the cloud server receives a configuration request selected by the client through a user interaction interface, wherein the configuration request comprises an operating system type, a CPU core number, a memory capacity, a storage space, a display card type and the like.
Step S3, inquiring the remaining configuration information and allocating resources: the cloud server inquires the residual configuration information of the existing cloud server, and allocates corresponding resources for the cloud server according to the configuration request of the client, so that the requirements of the client are met.
Step S4, creating a virtual machine and transmitting a virtual machine picture: the cloud server creates a virtual machine by using a virtualization technology, and transmits the allocated resources to the client through a transmission protocol (such as TCP, UDP or WebSocket), so that the client can use the cloud computer.
In this embodiment, the creation support of multiple cloud computers may be implemented: the client can simultaneously establish a plurality of cloud computers through the API interface, so as to meet the requirements of users.
Calculating the price: after the customer completes the configuration selection, the corresponding price is calculated according to the customer selection, so that the customer can know and decide whether to continue using the cloud computer service.
In the present invention, timing resource management and monitoring are also included: the cloud server performs resource management and monitoring at regular time, tracks the resource use condition of the cloud server, detects the load and the performance of the server, and dynamically adjusts the allocation of the resources when the resources are insufficient so as to ensure reasonable utilization of the resources and optimization of the performance.
Timing backup virtual machine information: the cloud server periodically backs up information of the virtual machine, including configuration, data, state and the like, so as to ensure the safety and restorability of the data.
Assuming that the configuration required by the user is high at the time of playing the game and low at the time of working, the following is a specific embodiment to explain the case:
configuration request when user plays game:
operating system type: windows 10
CPU core number: 8 cores
Memory capacity: 16GB
Storage space: 512GB SSD
Display card type: NVIDIA GeForce RTX 3080
Configuration request at user office:
operating system type: windows 10
CPU core number: 4 cores
Memory capacity: 8GB
Storage space: 256GB SSD
Display card type: integrated display card (e.g. Intel UHD Graphics)
In the implementation process, the client establishes network connection with the cloud server and sends a corresponding configuration request.
After receiving the configuration request of the client, the cloud server allocates resources according to the type of the request:
when a user selects to play a game, the cloud server can inquire the residual resource condition of the existing cloud server and allocate high-configuration resources for the user. For example, the cloud server may allocate a virtual machine with an 8-core CPU, 16GB memory, 512GB memory space, and NVIDIA GeForce RTX 3080 graphics cards.
When the user selects to work, the cloud server allocates corresponding resources according to the low configuration requirements of the user. For example, the cloud server may allocate a virtual machine with a 4-core CPU, 8GB memory, 256GB memory space, and an integrated graphics card.
After the cloud server creates the virtual machine and completes configuration, the virtual machine screen is transmitted to the client using a reliable transmission protocol (such as TCP). After receiving the virtual machine, the client can start to play the game or office operation by using the configuration suitable for the current scene requirement.
Meanwhile, the cloud server performs resource management and monitoring at regular time, so that sufficient resources are distributed when a user plays a game, and smooth game experience is provided. When a user works, the cloud server can release redundant resources for other users through dynamic resource adjustment so as to improve the utilization rate of the resources.
In addition, the cloud server periodically backs up virtual machine information, so that the safety and restorability of data are ensured. When abnormal conditions (such as network faults, resource allocation errors and the like) occur, the cloud server is provided with an abnormal processing mechanism, and timely feeds error information back to the client so as to help solve the problems.
According to different configuration requests of the user demands, the cloud server can flexibly provide customized cloud computer services for the user, and the demands of the user in different scenes are met.
Exception handling mechanism: the cloud server has an exception handling mechanism capable of identifying and handling errors and exception conditions. In the whole processing process, the cloud server sends error information to the client through a feedback mechanism, so that the problem is solved, and good user experience is provided.
The method and the device are specific processes of the embodiment of the invention, and effectively solve the problem that a user cannot select corresponding configuration according to actual use requirements in the prior art.
Referring to figure 2 of the drawings in which,
the invention also provides a system for realizing user customization based on the cloud computer, which comprises:
cloud server 100 for providing computing power, storage, and applications;
a receiving module 101, configured to receive a configuration request selected by a client through a user interaction interface, where the configuration request includes an operating system type, a CPU core number, a memory capacity, a storage space, and a graphics card type;
the resource allocation module 102: the cloud server is used for inquiring the residual configuration information of the existing cloud server and distributing resources corresponding to the configuration request;
virtual machine creation module 103: the method is used for creating the allocated resources into virtual machines, and transmitting the virtual machine pictures to the client through a transmission protocol for the client to use.
Referring to figure 3 of the drawings in which,
on the other hand, the embodiment of the invention also provides a mobile terminal 200, which is a client terminal based on a method that can realize user customization by cloud computer, and the mobile terminal can be a cloud box, and further comprises
One or more processors 201;
a memory 202 for storing one or more programs;
the one or more programs, when executed by the one or more processors 201, cause the one or more processors 201 to implement a method that is customizable based on cloud computing.
In the description and claims of this application, the words "comprise/comprising" and the words "have/include" and variations thereof are used to specify the presence of stated features, values, steps, or components, but do not preclude the presence or addition of one or more other features, values, steps, components, or groups thereof.
Some features of the invention, which are, for clarity of illustration, described in the context of separate embodiments, may also be provided in combination in a single embodiment. Conversely, some features of the invention, which are, for brevity, described in the context of a single embodiment, may also be provided separately or in any suitable combination in different embodiments.
The foregoing description of the preferred embodiment of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, and alternatives falling within the spirit and principles of the invention.
Claims (10)
1. The method for realizing user customization based on the cloud computer is executed by a cloud server and is characterized by comprising the following steps:
step S1, establishing network connection with a client;
step S2, receiving a configuration request selected by a client through a user interaction interface, wherein the configuration request comprises an operating system type, a CPU core number, a memory capacity, a storage space and a display card type;
step S3, inquiring the residual configuration information of the existing cloud server, and distributing corresponding resources for the configuration request;
and S4, creating a virtual machine and transmitting the allocated resources to the client through a transmission protocol to enable the virtual machine to be used by the client.
2. The method according to claim 1, wherein in step S1, the cloud server provides an API interface, and the client communicates with the cloud server using a corresponding HTTP request access.
3. The method for customizing a cloud computer as claimed in claim 2, wherein in step S2, the client can simultaneously create a plurality of cloud computers through the API interface.
4. The method for customizing a cloud computer as claimed in claim 3, wherein in step S2, after the customer completes the configuration selection, a corresponding price is calculated according to the customer' S selection.
5. The method for customizing a cloud computer as claimed in claim 4, wherein in step S3, the cloud server performs resource management and monitoring at regular time, including tracking the resource usage of the cloud server, detecting the server load and performance, and dynamically adjusting the allocation of resources when the resources are insufficient.
6. The method according to claim 1, wherein in step S4, the transmission protocol includes TCP or UDP or WebSocket transmission protocol.
7. The method for customizing a cloud computer-based system as claimed in claim 1, further comprising step S5, wherein the cloud server periodically backs up information of the virtual machine.
8. The method for customizing a cloud computer according to any one of claims 1 to 7, wherein the cloud server further has an exception handling mechanism capable of recognizing and handling errors and exceptions during the whole processing process, and sending error information through a feedback mechanism.
9. A system for enabling customization based on a cloud computer, comprising:
the cloud server is used for providing computing power, storage and application programs;
the receiving module is used for receiving a configuration request selected by the client through the user interaction interface, wherein the configuration request comprises an operating system type, a CPU core number, a memory capacity, a storage space and a display card type;
a resource allocation module: the cloud server is used for inquiring the residual configuration information of the existing cloud server and distributing resources corresponding to the configuration request;
virtual machine creation module: the method is used for creating the allocated resources into virtual machines, and transmitting the virtual machine pictures to the client through a transmission protocol for the client to use.
10. A mobile terminal, wherein the mobile terminal is the client of any one of claims 1 to 8, and further comprising
One or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, causes the one or more processors to implement the method of any of claims 1-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311288924.1A CN117311849A (en) | 2023-09-28 | 2023-09-28 | Method, system and mobile terminal capable of realizing customization based on cloud computer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311288924.1A CN117311849A (en) | 2023-09-28 | 2023-09-28 | Method, system and mobile terminal capable of realizing customization based on cloud computer |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117311849A true CN117311849A (en) | 2023-12-29 |
Family
ID=89242252
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311288924.1A Pending CN117311849A (en) | 2023-09-28 | 2023-09-28 | Method, system and mobile terminal capable of realizing customization based on cloud computer |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117311849A (en) |
-
2023
- 2023-09-28 CN CN202311288924.1A patent/CN117311849A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109949111B (en) | Electronic bill identification distribution method, electronic bill generation method, device and system | |
US11100605B2 (en) | Virtual machine graphics resource usage | |
CN104937584A (en) | Providing optimized quality of service to prioritized virtual machines and applications based on quality of shared resources | |
CN104813309A (en) | Method and system for cloud based virtualized graphics processing for remote displays | |
CN103365713A (en) | Resource dispatch and management method and device | |
CN102196033B (en) | A kind ofly transmit and receive the long-range method and system presenting data | |
CN106354559A (en) | Method and device for processing cloud desktop resources | |
CN112825042A (en) | Resource management method and device, electronic equipment and storage medium | |
WO2021159831A1 (en) | Programming platform user code running method, platform, node, device and medium | |
CN109151028A (en) | A kind of distributed memory system disaster recovery method and device | |
CN109446062B (en) | Method and device for debugging software in cloud computing service | |
CN113938516A (en) | Method and system for synchronously realizing transaction processing of heterogeneous system | |
CN113849312A (en) | Data processing task allocation method and device, electronic equipment and storage medium | |
GB2604965A (en) | Shared enterprise cloud | |
CN110442389B (en) | Method for sharing GPU (graphics processing Unit) in multi-desktop environment | |
CN110008050A (en) | Method and apparatus for handling information | |
CN114296953A (en) | Multi-cloud heterogeneous system and task processing method | |
WO2021243972A1 (en) | Method and system for generating printing file, and readable storage medium | |
CN110113176B (en) | Information synchronization method and device for configuration server | |
US20030126244A1 (en) | Apparatus for scheduled service of network requests and a method therefor | |
CN111625344B (en) | Resource scheduling system, method and device in application system | |
US20220413933A1 (en) | Liaison System and Method for Cloud Computing Environment | |
CN113254160B (en) | IO resource request method and device | |
CN117311849A (en) | Method, system and mobile terminal capable of realizing customization based on cloud computer | |
CN115098272A (en) | GPU resource scheduling method, scheduler, electronic device and storage medium |
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 |