Cloud computer distribution method and device, server, terminal equipment and storage medium

By requesting the allocation of non-exclusive cloud computer resources on the cloud terminal, and supporting multiple cloud terminals to use the same cloud computer at the same time, the problem of low cloud computer resource utilization is solved, and the full utilization of resources and efficiency is achieved.

CN119922184APending Publication Date: 2025-05-02TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311438237.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-31
Publication Date
2025-05-02

AI Technical Summary

Technical Problem

The resource utilization rate of cloud computers is low because a cloud terminal can only utilize a small part of the resources of cloud computers, resulting in a large number of resources not being fully utilized.

Method used

By selecting the non-exclusive cloud computer resources when the cloud terminal requests to allocate cloud computer resources, it supports multiple cloud terminals to use the same cloud computer at the same time.

Benefits of technology

It realizes the allocation of resources of a cloud computer to multiple users, making full use of resources of cloud computers, reducing the vacancy of resources, and improving resource utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119922184A_ABST
    Figure CN119922184A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a cloud computer distribution method and device, a server, terminal equipment and a storage medium, and relates to the technical field of cloud computers. The method comprises the steps that a first distribution request from a first cloud terminal is received, the first distribution request is used for requesting to distribute a non-exclusive cloud computer to the first cloud terminal, and the non-exclusive cloud computer is a use mode supporting multiple cloud terminals to use the same cloud computer at the same time; based on the first distribution request, a first cloud computer distributed to the first cloud terminal is determined, and the first cloud computer is a non-exclusive cloud computer; receiving sound and picture data from the first cloud computer; and forwarding the sound and picture data from the first cloud computer to the first cloud terminal. According to the technical scheme provided by the embodiment of the invention, the resource utilization rate of the cloud computer can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of cloud computing technology, and in particular to a method, apparatus, server, terminal device, and storage medium for allocating a cloud computer. Background Art

[0002] Cloud computing is a new IT (Internet Technology) service, which can also be called cloud computing service.

[0003] In the related art, a cloud computer only supports the occupancy of one cloud terminal, and a cloud terminal can usually only utilize a small part of the resources of the cloud computer. Many resources of the cloud computer are not fully utilized, and the resource utilization rate of the cloud computer is low. Summary of the invention

[0004] The embodiment of the present application provides a cloud computer allocation method, device, server, terminal device and storage medium, which can improve the resource utilization of the cloud computer. The technical solution is as follows:

[0005] According to one aspect of an embodiment of the present application, a method for allocating a cloud computer is provided, the method comprising:

[0006] Receiving a first allocation request from a first cloud terminal, the first allocation request being used to request allocation of a non-exclusive cloud computer to the first cloud terminal, wherein the non-exclusive refers to a usage mode that supports multiple cloud terminals to use the same cloud computer at the same time;

[0007] Based on the first allocation request, determining a first cloud computer allocated to the first cloud terminal, the first cloud computer being the non-exclusive cloud computer;

[0008] Receiving audio and video data from the first cloud computer;

[0009] The audio and video data from the first cloud computer are forwarded to the first cloud terminal.

[0010] According to one aspect of an embodiment of the present application, a method for allocating a cloud computer is provided, the method comprising:

[0011] Displaying a mode selection interface of the cloud computer, the mode selection interface including a non-exclusive option, wherein the non-exclusive option refers to a usage mode that supports multiple cloud terminals to use the same cloud computer at the same time;

[0012] In response to an operation on the non-exclusive option, sending a first allocation request to a server, wherein the first allocation request is used to request allocation of a non-exclusive cloud computer to the first cloud terminal;

[0013] Receiving audio and video data sent by the server from a first cloud computer, where the first cloud computer is a non-exclusive cloud computer assigned by the server to the first cloud terminal;

[0014] Display the audio and video data from the first cloud computer.

[0015] According to one aspect of an embodiment of the present application, a cloud computer allocation device is provided, the device comprising:

[0016] a request receiving module, configured to receive a first allocation request from a first cloud terminal, wherein the first allocation request is used to request allocation of a non-exclusive cloud computer to the first cloud terminal, wherein the non-exclusive mode refers to a usage mode that supports multiple cloud terminals to use the same cloud computer at the same time;

[0017] a cloud computer allocation module, configured to determine, based on the first allocation request, a first cloud computer allocated to the first cloud terminal, wherein the first cloud computer is the non-exclusive cloud computer;

[0018] A data receiving module, used for receiving audio and video data from the first cloud computer;

[0019] The data sending module is used to forward the audio and video data from the first cloud computer to the first cloud terminal.

[0020] According to one aspect of an embodiment of the present application, a cloud computer allocation device is provided, the device comprising:

[0021] An interface display module, used to display a mode selection interface of the cloud computer, wherein the mode selection interface includes a non-exclusive option, wherein the non-exclusive option refers to a usage mode that supports multiple cloud terminals to use the same cloud computer at the same time;

[0022] a request sending module, configured to send a first allocation request to a server in response to an operation on the non-exclusive option, wherein the first allocation request is used to request allocation of a non-exclusive cloud computer to the first cloud terminal;

[0023] A data receiving module, used for receiving audio and video data sent by the server from a first cloud computer, where the first cloud computer is a non-exclusive cloud computer assigned by the server to the first cloud terminal;

[0024] The data display module is used to display the audio and video data from the first cloud computer.

[0025] According to one aspect of an embodiment of the present application, a server is provided, comprising a processor and a memory, wherein a computer program is stored in the memory, and the computer program is loaded and executed by the processor to implement the above-mentioned method of allocating a cloud computer on the server side.

[0026] According to one aspect of an embodiment of the present application, a terminal device is provided, which includes a processor and a memory, wherein a computer program is stored in the memory, and the computer program is loaded and executed by the processor to implement the above-mentioned cloud computer allocation method on the terminal device side.

[0027] According to one aspect of an embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored. The computer program is loaded and executed by a processor to implement the above-mentioned method for allocating a cloud computer on the server side, or to implement the above-mentioned method for allocating a cloud computer on the terminal device side.

[0028] According to one aspect of the embodiments of the present application, a computer program product is provided, the computer program product comprising a computer program, the computer program being stored in a computer-readable storage medium. A processor of a terminal device reads the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the terminal device executes the above-mentioned method for allocating a cloud computer on the server side, or executes the above-mentioned method for allocating a cloud computer on the terminal device side.

[0029] The technical solution provided by the embodiments of the present application may have the following beneficial effects:

[0030] When requesting allocation of cloud computer resources on a cloud terminal, you can choose to request allocation of non-exclusive cloud computer resources, thereby allocating the resources of a cloud computer to multiple users. Compared with a cloud computer that only supports one user, the embodiment of the present application fully utilizes the resources of the cloud computer, reduces the idle resources of the cloud computer, and improves the resource utilization rate of the cloud computer.

[0031] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 is a flow chart of a cloud computer allocation method provided by an embodiment of the present application;

[0033] Figure 2 This is a schematic diagram of an interface of a cloud terminal provided by an embodiment of the present application;

[0034] Figure 3 It is a schematic diagram of a real-time environment of a solution provided by an embodiment of the present application;

[0035] Figure 4 is a flow chart of a cloud computer allocation method provided by another embodiment of the present application;

[0036] Figure 5is a flow chart of a cloud computer allocation method provided by another embodiment of the present application;

[0037] Figure 6 is a schematic diagram of an interface of a cloud terminal provided by another embodiment of the present application;

[0038] Figure 7 is a block diagram of a cloud computer distribution device provided by an embodiment of the present application;

[0039] Figure 8 is a block diagram of a cloud computer distribution device provided by another embodiment of the present application;

[0040] Fig. 9 is a block diagram of a server provided by an embodiment of the present application;

[0041] Fig.10 This is a block diagram of a terminal device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0042] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of methods consistent with some aspects of the present application as detailed in the appended claims.

[0043] The present application provides a cloud computer allocation method that can improve the resource utilization of cloud computers. In some embodiments, Figure 1 As shown, when the user requests allocation of cloud computer resources through the first cloud terminal, the first cloud terminal may display an exclusive option 14 and a non-exclusive option 15; after the user selects the non-exclusive option 15 (such as triggering the non-exclusive option 15 by clicking, touching, long pressing, etc.), the first cloud terminal may display a prompt message 16 (such as a pop-up message) to prompt the user that he will be allocated to a non-exclusive cloud computer; the first cloud terminal displays audio and video data provided by the allocated first cloud computer, such as displaying a desktop screen 17 provided by the first cloud computer.

[0044] In some embodiments, after the user selects the non-exclusive option 15, appreciation effects such as likes are displayed, and the user is informed of the cost saved and the reward (such as a virtual medal) obtained at this time. The virtual medal can be displayed in the friend list.

[0045] In some embodiments, if the second cloud terminal and the first cloud terminal use the first cloud computer simultaneously, the images displayed by the first cloud terminal and the second cloud terminal are different. Figure 2As shown, the first cloud terminal can display the screen 18 of the video application A, while the second cloud terminal can display the screen 19 of the video application B. Obviously, the screens displayed in the first cloud terminal and the second cloud terminal are different. It can be seen that the screens displayed by different cloud terminals using the same cloud computer are independent of each other and do not interfere with each other.

[0046] Please refer to Figure 3 , which shows a schematic diagram of an implementation environment provided by an embodiment of the present application, and the implementation environment can be implemented as a cloud computer distribution system. Figure 3 As shown, the system 30 may include: a first cloud terminal 11 , a server 12 and a first cloud computer 13 .

[0047] A cloud computer client, such as a first client, having a target application installed and running in the first cloud terminal 11. Optionally, a first user account is logged in to the first client. A cloud terminal is an electronic device with data calculation, processing and storage capabilities. A cloud terminal may be a smart phone, a tablet computer, a PC (Personal Computer), a wearable device, etc., which is not limited in the embodiments of the present application. In some embodiments, the first cloud terminal may be any terminal device. The target application may be a cloud game application, such as a shooting cloud game application, a multiplayer gun battle survival cloud game application, a battle royale survival cloud game application, an LBS (Location Based Service, location-based service) game application, a MOBA (Multiplayer Online Battle Arena, multiplayer online tactical competition) cloud game application, etc., which is not limited in the embodiments of the present application. The target application may also be a cloud computer service application, a social application, a payment application, a video application, a music application, a shopping application, a news application, or any other application with a cloud computer distribution function. In the cloud computer distribution method on the terminal device side provided in the embodiment of the present application, the execution subject of each step may be the first cloud terminal 11, such as the first client running in the first terminal device cloud terminal 11.

[0048] The server 12 establishes a communication connection (such as a network connection) with the first cloud terminal 11, and the server 12 is used to provide background services for the target application. The server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides cloud computing services. In the method for allocating cloud computers on the server side provided in the embodiment of the present application, the execution subject of each step can be the server 12.

[0049] The first cloud computer 13 is one of the multiple cloud computers managed by the server 12. The first cloud computer 13 supports multiple cloud terminals to use the first cloud computer 13 at the same time in a non-exclusive manner. The server has established communication connections with the multiple cloud computers respectively. The first cloud computer 13 can be allocated to the first cloud terminal for use. The first cloud computer 13 and the first cloud terminal can communicate through the server 12. The first cloud terminal can use the resources of the first cloud computer 13 through the server 12.

[0050] In some embodiments, all instructions sent by the cloud terminal are uniformly collected by the server 12 into a background queue, and the head instruction in the background queue is taken out according to the first-in-first-out principle and forwarded to the corresponding cloud computer; the cloud computer executes the received instructions and renders the image data and obtains the audio data (i.e., audio and video data), and then pushes the audio and video data to the cloud terminal for decoding and display. In some embodiments, the server 12 will open two threads, one for receiving instructions and the other for sending instructions. The thread for receiving instructions is used to execute the operation of putting in instructions, and the thread for sending instructions is used to execute the operation of taking out instructions.

[0051] The embodiments of the present application can be applied to technical fields such as cloud gaming and autonomous driving. Below, the technical solution of the present application is introduced and explained through several embodiments.

[0052] Please refer to Figure 4 , which shows a flow chart of a method for allocating cloud computers provided by an embodiment of the present application. In this embodiment, the method is applied to the server introduced above as an example. The method may include the following steps (410-440):

[0053] Step 410, receiving a first allocation request from a first cloud terminal, the first allocation request is used to request allocation of a non-exclusive cloud computer to the first cloud terminal, where non-exclusive refers to a usage mode that supports multiple cloud terminals to use the same cloud computer at the same time.

[0054] In some embodiments, cloud computing is an overall service solution, including cloud resources, transmission protocols and cloud terminals (such as cloud computers). Use an open cloud terminal to provide users with desktops, applications, hardware and other resources in service modes such as on-demand services and elastic allocation through transmission protocols. Users can use the above resources without having to consider building complex IT. Cloud computing is a new IT service, which can also be called cloud computing service. In some embodiments, the embodiments of the present application can be applied to the field of cloud gaming technology, that is, the server is used to render the game screen, and the cloud terminal is only used to display the game screen.

[0055] In some embodiments, the non-exclusive cloud computer supports allocation to multiple cloud terminals for simultaneous use. That is, even if only one cloud terminal is currently using the non-exclusive cloud computer, the non-exclusive cloud computer can be connected to other cloud terminals. In some embodiments, the server receives a first allocation request, indicating that the first cloud terminal requests that a non-exclusive computer be allocated to the first cloud terminal.

[0056] Step 420 , based on the first allocation request, determining a first cloud computer allocated to the first cloud terminal, wherein the first cloud computer is a non-exclusive cloud computer.

[0057] In some embodiments, after obtaining the first allocation request, the server learns through parsing the first allocation request that the first cloud terminal needs to be allocated resources of a non-exclusive computer, and then selects the first cloud computer from the cloud computers controlled by the server as the cloud computer allocated to the first cloud terminal, and the first cloud computer is a non-exclusive cloud computer. That is, the first cloud terminal may use the first cloud computer at the same time as other cloud terminals.

[0058] In some embodiments, the server corresponds to a resource list of non-exclusive cloud computers, and the list is used to store the identifiers of non-exclusive cloud computers. The server can select a non-exclusive cloud computer (i.e., the first cloud computer) from the list to allocate to the first cloud terminal, and establish a mapping relationship between the first cloud computer and the first cloud terminal, which is used to indicate that the first cloud terminal can use the resources of the first cloud computer.

[0059] Step 430, receiving audio and video data from the first cloud computer.

[0060] In some embodiments, after determining the first cloud computer assigned to the first cloud terminal, the backend server sends information about the cloud computer assigned to the first cloud terminal. Afterwards, the first cloud computer sends the screen data (such as the desktop screen) provided to the first cloud terminal to the server, and the backend server forwards the screen data to the first cloud terminal, which is displayed by the first cloud terminal.

[0061] In some embodiments, the audio and video data may include picture data, video stream data, and audio data stream, which is not specifically limited in the embodiments of the present application. In some embodiments, the audio and video data is a data stream, rather than a data packet that stops after being sent once. In some embodiments, the audio and video data may be compressed data, thereby saving data transmission resources.

[0062] Step 440: forward the audio and video data from the first cloud computer to the first cloud terminal.

[0063] In some embodiments, the server forwards the audio and video data from the first cloud computer to the first cloud terminal, and the first cloud terminal displays the picture content in the audio and video data, and / or the first cloud terminal plays the audio content in the audio and video data.

[0064] In some embodiments, the first cloud computer is used to provide audio and video data to multiple cloud terminals at the same time, and the audio and video data provided to each of the multiple cloud terminals are independent of each other. In other words, although multiple cloud terminals use the first cloud computer at the same time, the resources of the first cloud computer occupied by each of them are independent, and the audio and video data received and the displayed content by the multiple cloud terminals do not affect each other. In other words, even if the same cloud computer is used, each cloud terminal will not display the content displayed in other cloud terminals, that is, users cannot understand how other users use the cloud computer or what they do with the cloud computer, thereby ensuring the privacy and efficiency of different cloud terminals using the cloud computer, and also improving the user experience of using the cloud computer.

[0065] In some embodiments, a cloud computer (such as the first cloud computer) supports running multiple applications, such as running clients corresponding to multiple applications, but when running a certain application, an application can only run one client of the application at the same time. Therefore, when a cloud terminal is using an application through a non-exclusive cloud computer, other cloud terminals corresponding to the cloud computer (i.e., cloud terminals that are also assigned the cloud computer) cannot use the application.

[0066] To summarize, the embodiment of the present application can choose to request the allocation of non-exclusive cloud computer resources when the cloud terminal requests the allocation of cloud computer resources, thereby allocating the resources of a cloud computer to multiple users. Compared with a cloud computer that only supports one user, the embodiment of the present application fully utilizes the resources of the cloud computer, reduces the idle resources of the cloud computer, and improves the resource utilization rate of the cloud computer.

[0067] In some possible implementations, the method further includes the following steps:

[0068] 1. Receive network status information from the first cloud computer, where the network status information is used to indicate real-time network resources occupied by each cloud terminal using the first cloud computer;

[0069] 2. Sending the corresponding network status information to each cloud terminal using the first cloud computer.

[0070] In some embodiments, the first cloud terminal uses the network resources, storage resources, computing resources, etc. of the first cloud computer during the use of the first cloud computer. In some embodiments, the network resources occupied by the first cloud terminal are not always constant, but can be constantly changing, which can be represented by network status information. For example, the network status information of the first cloud terminal may include the network speed, network bandwidth, network delay, network channel, etc. of the first cloud computer used by the first cloud terminal. In some embodiments, the network speed includes the uplink speed and downlink speed of the network transmission, the network bandwidth refers to the time used for data transmission in the network transmission, and the network channel refers to the WiFi network channel and the data network channel.

[0071] In some embodiments, the changes in network resources used by the first cloud terminal over time can be determined through real-time network status information. Therefore, the server can send the network status information corresponding to the first cloud terminal from the first cloud computer to the first cloud terminal, which helps to analyze whether the current network status corresponding to the first cloud terminal is good and whether the occupied network resources are sufficient, thereby helping to timely optimize the network status of the first cloud terminal, or helping to balance the network resources occupied by each cloud terminal corresponding to the first cloud computer, thereby improving the efficiency of using the network resources of the first cloud computer and improving the balance of network resource allocation.

[0072] In some embodiments, when the real-time network resources of the first cloud computer occupied by the first cloud terminal meet the first condition, a first switching prompt message is sent to the first cloud terminal, and the first switching prompt message is used to prompt the first cloud terminal to switch from the first cloud computer to use other non-exclusive cloud computers.

[0073] In some embodiments, when the network status information corresponding to the first cloud terminal satisfies a first condition, such as when the network status corresponding to the first cloud terminal is poor, the server can send a first switching prompt message to the first cloud terminal to prompt the user corresponding to the first cloud terminal to switch to other non-exclusive cloud computers in an attempt to improve the network status corresponding to the first cloud terminal.

[0074] In some embodiments, the first condition may include: within a preset period of time before the current moment, the average network delay of the first cloud terminal is greater than or equal to a third threshold. For example, the preset period is 1 minute and the third threshold is 300 milliseconds. If within 1 minute before the current moment, the average network delay of the first cloud terminal is 500 milliseconds, it means that the network status corresponding to the first cloud terminal is not good, then the first cloud computer or server can generate a first switching prompt message, and the server sends the first switching prompt message to the first cloud terminal. Thereby reducing the situation where the cloud terminal has a poor network during the use of the cloud computer, optimizing the network status of the user during the use of the cloud computer, and also improving the user's experience of using the cloud computer.

[0075] In some embodiments, after sending the first switching prompt information to the first cloud terminal, the method further includes:

[0076] 1. Receive a second allocation request from the first cloud terminal, where the second allocation request is used to request allocation of other non-exclusive cloud computers to the first cloud terminal;

[0077] 2. Based on the second allocation request, determine a second cloud computer allocated to the first cloud terminal, where the second cloud computer is a non-exclusive cloud computer and is different from the first cloud computer;

[0078] 3. Receive audio and video data from the second cloud computer;

[0079] 4. Forward the audio and video data from the second cloud computer to the first cloud terminal.

[0080] In some embodiments, after the server sends a first switching prompt message to the first cloud terminal, if the server receives a second allocation request from the first cloud terminal, indicating that the user corresponding to the first cloud terminal wants to switch from the first cloud computer to other non-exclusive cloud computers, then other non-exclusive cloud computers, such as the second cloud computer, can be allocated to the first cloud terminal, and the audio and video data generated by the second cloud computer can be forwarded to the first cloud terminal, thereby helping to optimize the network status corresponding to the first cloud terminal and enhance the user experience of using the cloud computer.

[0081] In some embodiments, after the first cloud terminal switches from the first cloud computer to the second cloud computer, the first cloud computer sends the archived data about the first cloud terminal to the second cloud computer. For example, if the user is in the process of playing a game, the first cloud computer can send the game data corresponding to the first cloud terminal to the second cloud computer, and the second cloud computer continues to render the game screen from the game progress corresponding to the first cloud terminal when the cloud computer is switched, and sends the screen data to the first cloud terminal through the server. In other words, in the process of switching cloud computers, the game progress corresponding to the first cloud terminal can be kept uninterrupted, avoiding the need to restart the game after switching cloud computers, thereby reducing the inconvenience caused by switching cloud computers and improving the switching efficiency and user experience of cloud computers.

[0082] In some embodiments, when the real-time network resources of the first cloud computer occupied by the first cloud terminal meet the second condition, a second switching prompt message is sent to the first cloud terminal, and the second switching prompt message is used to prompt the first cloud terminal to switch from using a non-exclusive cloud computer to using an exclusive cloud computer, where exclusive means a usage mode that only supports one cloud terminal occupying one cloud computer.

[0083] In some embodiments, when the network status information corresponding to the first cloud terminal satisfies the second condition, such as when the network status corresponding to the first cloud terminal is poor, the server can send a second switching prompt information to the first cloud terminal to prompt the user corresponding to the first cloud terminal to switch to the exclusive cloud computer in an attempt to improve the network status corresponding to the first cloud terminal.

[0084] In some embodiments, the second condition can be set with reference to the first condition, which will not be repeated here.

[0085] In some embodiments, the first cloud computer or server can generate a second switching prompt message, and the server can send the second switching prompt message to the first cloud terminal, prompting the user to switch to the cloud terminal as soon as possible, thereby reducing the situation where the cloud terminal has poor network during the use of the cloud computer, optimizing the user's network status during the use of the cloud computer, and also improving the user's experience of using the cloud computer.

[0086] In some embodiments, after sending the second switching prompt information to the first cloud terminal, the method further includes:

[0087] 1. Receive a third allocation request from the first cloud terminal, where the third allocation request is used to request allocation of an exclusive cloud computer to the first cloud terminal;

[0088] 2. Based on the third allocation request, determine a third cloud computer allocated to the first cloud terminal, where the third cloud computer is an exclusive cloud computer;

[0089] 3. Receive audio and video data from a third-party cloud computer;

[0090] 4. Forward the audio and video data from the third cloud computer to the first cloud terminal.

[0091] In some embodiments, after the server sends a second switching prompt message to the first cloud terminal, if the server receives a third allocation request from the first cloud terminal, indicating that the user corresponding to the first cloud terminal wants to switch from the first cloud computer to an exclusive cloud computer, then an exclusive cloud computer, such as a third cloud computer, can be allocated to the first cloud terminal, and the audio and video data generated by the third cloud computer can be forwarded to the first cloud terminal, thereby helping to optimize the network status corresponding to the first cloud terminal and enhance the user experience of using the cloud computer.

[0092] In some embodiments, after the first cloud terminal switches from the first cloud computer to the third cloud computer, the first cloud computer sends the archived data about the first cloud terminal to the third cloud computer. For example, if the user is in the process of playing a game, the first cloud computer can send the game data corresponding to the first cloud terminal to the third cloud computer, and the third cloud computer continues to render the game screen from the game progress corresponding to the first cloud terminal when the cloud computer is switched, and sends the screen data to the first cloud terminal through the server. In other words, in the process of switching cloud computers, the game progress corresponding to the first cloud terminal can be kept uninterrupted, avoiding the need to restart the game after switching cloud computers, thereby reducing the inconvenience caused by switching cloud computers and improving the switching efficiency and user experience of cloud computers.

[0093] In some embodiments, the unit price of a non-exclusive cloud computer used by a cloud terminal is lower than the unit price of an exclusive cloud computer. In some embodiments, the server will count the time each cloud terminal uses the cloud computer and deduct the time or the fee. For example, if an exclusive cloud computer is used, X yuan will be deducted every hour; if a non-exclusive cloud computer is used, Y yuan will be deducted every hour, where X>Y. For a cloud computer, it can be achieved: from the previous maximum revenue of X yuan per hour to the revenue of Y yuan×a per hour, where a is the number of people using it at the same time per hour. In this way, in the same time, the more people use it (that is, the larger a is), the higher the hourly revenue will be, and it is possible that Y yuan×a>X yuan will occur, which will help to increase the revenue of a single cloud computer.

[0094] In some embodiments, only designated cloud terminals, such as cloud terminals logged in with VIP (Very Important Person) or SVIP (Super Very Important Person) user accounts, can apply for allocation of non-exclusive cloud computers, thereby increasing the attractiveness of becoming a VIP or SVIP user, which in turn helps to increase the revenue of cloud computers.

[0095] In the above implementation, by obtaining the network status information of the cloud terminal when using the cloud computer in real time and prompting the user to switch the cloud computer, the efficiency of the user's use of the cloud computer is guaranteed as much as possible, and the user's experience of using the cloud computer is improved.

[0096] In some possible implementations, determining the first cloud computer allocated to the first cloud terminal based on the first allocation request includes:

[0097] 1. Based on the first allocation request, if there is at least one non-exclusive cloud computer, select a cloud computer whose remaining resources meet a third condition from the at least one non-exclusive cloud computer and determine it as the first cloud computer;

[0098] 2. In the absence of a cloud computer with remaining resources satisfying the third condition, a cloud computer with idle resources is selected from at least one non-exclusive cloud computer and determined as the first cloud computer.

[0099] In some embodiments, when there is at least one non-exclusive cloud computer, if the remaining resources of the non-exclusive cloud computer are sufficient (such as satisfying the third condition), one cloud computer can be randomly selected from them as the first cloud computer, or the first cloud computer in the list of cloud computers whose remaining resources satisfy the third condition can be selected from at least one non-exclusive cloud computer and determined as the first cloud computer.

[0100] In the case where there is no cloud computer with remaining resources that meets the third condition, such as there is no non-exclusive cloud computer, or there is a non-exclusive cloud computer but none of the non-exclusive cloud computers meet the third condition, a new cloud computer can be selected from the idle cloud computer resource list as the first cloud computer and assigned to the first cloud terminal, and a mapping relationship between the first cloud terminal and the first cloud computer can be established. At this time, the first cloud terminal is the first and only cloud terminal of the first cloud computer. If other cloud terminals are also connected to the first cloud computer in the future, the other cloud terminals will be added to the mapping table of the first cloud computer. That is, the non-exclusive first cloud computer has a one-to-many mapping relationship with the cloud terminal.

[0101] In some embodiments, the remaining resources satisfying the third condition means that the remaining CPU resources are greater than a fourth threshold.

[0102] In some embodiments, the remaining resources satisfy the third condition, which means that the number of cloud terminals using the non-exclusive cloud computer at the same time is less than the first threshold. In some embodiments, according to the resources of the cloud computer, the upper limit of the cloud terminals that a cloud computer can serve, that is, the first threshold, can be determined. If the number of cloud terminals connected to the non-exclusive cloud computer is less than the first threshold, it means that the remaining resources of the non-exclusive cloud computer meet the third condition, and its remaining resources are sufficient to support new cloud terminals; if the number of cloud terminals connected to the non-exclusive cloud computer is equal to or greater than the first threshold, it means that the remaining resources of the non-exclusive cloud computer do not meet the third condition, and its remaining resources are not enough to support a new cloud terminal. In some embodiments, the first threshold can be calculated based on the performance of the cloud computer, such as CPU (Central Processing Unit, central processing unit), GPU, graphics card resources, etc., to calculate how many cloud terminals a cloud computer can support at the same time, that is, to obtain the first threshold. In some embodiments, the first threshold can be 2, 3, 4, 5, etc., and the specific value of the first threshold can be set by relevant technical personnel according to actual conditions, and the embodiments of the present application do not make specific limitations on this.

[0103] In some embodiments, a cloud computer whose remaining resources satisfy a third condition is selected from at least one non-exclusive cloud computer and determined as the first cloud computer, including: among the cloud computers whose remaining resources satisfy the third condition, a cloud computer whose remaining CPU resource change degree is less than a second threshold is selected and determined as the first cloud computer.

[0104] In some embodiments, if the remaining CPU resources are greater than the fourth threshold and the degree of change in the remaining CPU resources is less than the second threshold, it means that the remaining CPU resources are sufficient and relatively stable, and the probability of a rapid increase in the CPU resources occupied by the existing connected cloud terminals is small. Therefore, it is conditional to connect to a new cloud terminal to fully utilize the resources of the cloud computer.

[0105] In the above implementation, by acquiring the remaining resources of the cloud computer, the cloud terminal is preferentially connected to an existing non-exclusive cloud computer with sufficient remaining resources as much as possible, thereby improving the resource utilization of the cloud computer as much as possible.

[0106] Please refer to Figure 5 , which shows a flow chart of a method for allocating cloud computers provided by an embodiment of the present application. In this embodiment, the method is applied to the cloud terminal introduced above as an example. The method may include the following steps (510-540):

[0107] Step 510, displaying a mode selection interface of the cloud computer, the mode selection interface including a non-exclusive option, where the non-exclusive option refers to a usage mode that supports multiple cloud terminals to use the same cloud computer at the same time.

[0108] In some embodiments, Figure 1 As shown, the first cloud terminal in the first terminal device displays a mode selection interface of the cloud computer, which includes a non-exclusive option 15 and an exclusive option 14. If the user corresponding to the first cloud terminal selects the exclusive option 14, a prompt message 20 is displayed to prompt that the first cloud terminal is about to be assigned to the exclusive cloud computer.

[0109] In some embodiments, the method also includes: displaying billing reminder information; wherein the billing reminder information is used to prompt the first cloud terminal that the cost of using a non-exclusive cloud computer is lower than the cost of using an exclusive cloud computer, and exclusive refers to a usage mode that only supports one cloud terminal occupying one cloud computer.

[0110] In some embodiments, within the same usage period, the cost of a non-exclusive cloud computer selected by the user should obviously be lower than the cost of an exclusive cloud computer. Billing prompt information can be displayed in the cloud computer mode selection interface to help users choose an exclusive or non-exclusive cloud computer according to their needs.

[0111] In some embodiments, the mode selection interface of the cloud computer can display the billing methods of the non-exclusive cloud computer and the exclusive cloud computer respectively. For example, the mode selection interface of the cloud computer can display that the billing rule of the non-exclusive cloud computer is 0.5 yuan / hour and the billing rule of the exclusive cloud computer is 2 yuan / hour. By comparison, the user can easily and quickly see that the cost of using the non-exclusive cloud computer is relatively low and more cost-effective.

[0112] In some embodiments, the cloud computer mode selection interface can directly display the cost of non-exclusive cloud computers and exclusive cloud computers, and the difference between the cost of exclusive cloud computers and exclusive cloud computers in the same period of time. For example, the cloud computer mode selection interface can display: using a non-exclusive cloud computer saves 1.5 yuan per hour compared to an exclusive cloud computer.

[0113] In some embodiments, the billing reminder information can be displayed in the mode selection interface of the cloud computer, or it can be displayed when the first cloud terminal settles the fees after using the cloud computer. For example, each time the first cloud terminal uses the cloud computer and disconnects from the cloud computer, the billing reminder information is displayed when the fees for using the cloud computer need to be settled. For example, when settling fees once, while displaying the total fee "2 yuan" that needs to be settled this time, the billing reminder information "This time using a non-exclusive cloud computer saves 6 yuan" is also displayed, which is used to remind the user of the fees saved this time compared to using an exclusive cloud computer, thereby encouraging the user to choose to use a non-exclusive cloud computer in the future.

[0114] In some embodiments, billing reminder information can be displayed during the use of a non-exclusive cloud computer. For example, during the use of a non-exclusive cloud computer, if the user uses it for a set period of time, such as 2 hours, a billing reminder message "3 yuan saved" can be displayed to encourage the user to continue using the non-exclusive cloud computer. In this embodiment, the user can easily and quickly see how much money can be saved by using a non-exclusive cloud computer, thereby encouraging the user to choose a non-exclusive cloud computer and thereby maximize the resource utilization of the cloud computer.

[0115] Step 520: In response to the operation on the non-exclusive option, a first allocation request is sent to the server, where the first allocation request is used to request allocation of a non-exclusive cloud computer to the first cloud terminal.

[0116] In some embodiments, Figure 1 As shown, in response to the operation for the non-exclusive option 15, the first cloud terminal generates a first allocation request and sends the first allocation request to the server.

[0117] Step 530, receiving audio and video data sent by the server from the first cloud computer, where the first cloud computer is a non-exclusive cloud computer assigned by the server to the first cloud terminal.

[0118] In some embodiments, after the first cloud terminal is allocated to the non-exclusive first cloud computer, the audio and video data from the first cloud computer sent by the receiving server is received.

[0119] Step 540, display the audio and video data from the first cloud computer.

[0120] In some embodiments, the first terminal device where the first cloud terminal is located can be a personal computer or a smart phone. In some embodiments, the first terminal device is a personal computer, and the user can input and operate the command sent to the first cloud computer through input and operation tools such as a mouse and a keyboard.

[0121] Part of the contents of steps 510 to 540 can be found in the above Figure 4 The embodiments are not described in detail here.

[0122] To summarize, the embodiment of the present application can choose to request the allocation of non-exclusive cloud computer resources when the cloud terminal requests the allocation of cloud computer resources, thereby allocating the resources of a cloud computer to multiple users. Compared with a cloud computer that only supports one user, the embodiment of the present application fully utilizes the resources of the cloud computer, reduces the idle resources of the cloud computer, and improves the resource utilization rate of the cloud computer.

[0123] In some possible implementations, the method further includes the following steps:

[0124] 1. Receive first network status information from the first cloud computer sent by the server, where the first network status information is used to indicate real-time network resources occupied by the first cloud terminal;

[0125] 2. Display the first network status information.

[0126] In some embodiments, the first cloud terminal can only receive the network resources occupied by the first cloud terminal, that is, the first network status information, so the first cloud terminal can only display the first network status information related to itself, and will not display the network status information corresponding to other cloud terminals. Figure 2 As shown, the first cloud terminal displays real-time first network status information 22 of the first cloud terminal using the first cloud computer, and the second cloud terminal displays real-time second network status information 23 of the second cloud terminal using the first cloud computer. Obviously, the first network status information 22 and the second network status information 23 both display the real-time network speed corresponding to their respective cloud terminals.

[0127] In some embodiments, when the real-time network resources of the first cloud computer occupied by the first cloud terminal meet the first condition, a first switching prompt message sent by the server is received, and the first switching prompt message is used to prompt the first cloud terminal to switch from the first cloud computer to use other non-exclusive cloud computers; the first switching prompt message is displayed.

[0128] In some embodiments, when the network status information corresponding to the first cloud terminal satisfies a first condition, such as when the network status corresponding to the first cloud terminal is poor, the server may send a first switching prompt message to the first cloud terminal, and the first cloud terminal may display the first switching prompt message to prompt the user corresponding to the first cloud terminal to switch to other non-exclusive cloud computers in an attempt to improve the network status corresponding to the first cloud terminal.

[0129] In some embodiments, the first condition may include: within a preset period of time before the current moment, the average network delay of the first cloud terminal is greater than or equal to a third threshold. For example, the preset period is 1 minute and the third threshold is 300 milliseconds. If within 1 minute before the current moment, the average network delay of the first cloud terminal is 500 milliseconds, it means that the network status corresponding to the first cloud terminal is not good, then the first cloud computer or server can generate a first switching prompt message, and the server sends the first switching prompt message to the first cloud terminal. Thereby reducing the total duration of poor network during the use of the cloud computer by the cloud terminal, optimizing the network status of the user during the use of the cloud computer, and also improving the user's experience of using the cloud computer.

[0130] In some embodiments, after receiving the first switching prompt information sent by the server, the method further includes:

[0131] 1. Sending a second allocation request to the server, where the second allocation request is used to request allocation of other non-exclusive cloud computers to the first cloud terminal;

[0132] 2. Receive audio and video data from a second cloud computer, where the second cloud computer is a non-exclusive cloud computer and is different from the first cloud computer.

[0133] In some embodiments, after receiving the first switching prompt information sent by the server, the user corresponding to the first cloud terminal can operate to switch to the cloud computer, and the first cloud terminal generates a second allocation request; after reallocation to the second cloud computer, the first cloud terminal will switch from receiving audio and video data from the first cloud computer to receiving audio and video data from the second cloud computer. This helps to optimize the network status corresponding to the first cloud terminal and improve the user experience of using the cloud computer.

[0134] In some embodiments, while displaying the first switching prompt information, the first cloud terminal will also display the first quick switching control. By triggering the first quick switching control, you can quickly switch from the first cloud computer to other non-exclusive cloud computers (such as the second cloud computer), thereby reducing the operating steps of switching cloud computers and improving the switching efficiency of cloud computers.

[0135] In some embodiments, when the real-time network resources of the first cloud computer occupied by the first cloud terminal meet the second condition, a second switching prompt information sent by the server is received, and the second switching prompt information is used to prompt the first cloud terminal to switch from using a non-exclusive cloud computer to using an exclusive cloud computer, where exclusive means a usage mode that only supports one cloud terminal occupying one cloud computer; the second switching prompt information is displayed.

[0136] In some embodiments, when the network status information corresponding to the first cloud terminal satisfies the second condition, such as when the network status corresponding to the first cloud terminal is poor, the server can send a second switching prompt message to the first cloud terminal, and the first cloud terminal can display the second switching prompt message to prompt the user corresponding to the first cloud terminal to switch to the exclusive cloud computer in an attempt to improve the network status corresponding to the first cloud terminal.

[0137] In some embodiments, after receiving the second switching prompt information sent by the server, the method further includes:

[0138] 1. Sending a third allocation request to the server, where the third allocation request is used to request allocation of an exclusive cloud computer to the first cloud terminal;

[0139] 2. Receive audio and video data from a third-party cloud computer, which is an exclusive cloud computer;

[0140] 3. Display the audio and video data from the third-party cloud computer.

[0141] In some embodiments, after receiving the second switching prompt information sent by the server, the user corresponding to the first cloud terminal can operate to switch to the cloud computer, and the first cloud terminal generates a third allocation request; after reallocation to the third cloud computer, the first cloud terminal will switch from receiving audio and video data from the first cloud computer to receiving audio and video data from the third cloud computer. This helps to optimize the network status corresponding to the first cloud terminal and improve the user experience of using the cloud computer.

[0142] In some embodiments, while displaying the second switching prompt information, the first cloud terminal will also display a second quick switching control. By triggering the second quick switching control, you can quickly switch from the first cloud computer to an exclusive cloud computer (such as a third cloud computer), thereby reducing the operating steps for switching cloud computers and improving the switching efficiency of cloud computers.

[0143] In the above implementation, by displaying the network status information corresponding to the cloud terminal, it helps the user to determine whether to switch to the cloud computer, thereby improving the accuracy of the user's judgment; thereby ensuring the efficiency of the user's use of the cloud computer as much as possible and improving the user's experience of using the cloud computer.

[0144] In some possible implementations, multiple cloud terminals including the first cloud terminal use the first cloud computer at the same time, and the audio and video data provided to each of the multiple cloud terminals are independent of each other.

[0145] In some embodiments, the audio and video data received by different cloud terminals using the same cloud computer are independent of each other and do not interfere with each other. For example, one cloud terminal can display the audio and video data of one application, and another cloud terminal can display the audio and video data of another application. The two cloud terminals do not know the audio and video data received by each other. Figure 6 As shown, while a first cloud terminal among the multiple cloud terminals displays a desktop screen 17 , a second cloud terminal among the multiple cloud terminals can display a setting interface 21 provided by the first cloud terminal.

[0146] In some embodiments, the first cloud computer supports running the first application; the method also includes: when the first cloud computer provides audio and video data of the first application to other cloud terminals other than the first cloud terminal, displaying program occupation prompt information; wherein the program occupation prompt information is used to prompt that the first application has been occupied by other cloud terminals.

[0147] In some embodiments, a cloud computer (such as the first cloud computer) supports running multiple applications, such as running clients corresponding to multiple applications, but when running a certain application, an application can only run one client of the application at the same time. Therefore, when a cloud terminal is using an application through a non-exclusive cloud computer, other cloud terminals corresponding to the cloud computer (i.e., cloud terminals that are also assigned the cloud computer) cannot use the application.

[0148] In some embodiments, after the first cloud terminal is connected to the first cloud computer, an application selection interface may be displayed, in which multiple application logos may be displayed for selection by the user corresponding to the first cloud terminal. In some embodiments, if among the applications installed in the first cloud computer, there are applications that have been occupied (used) by other cloud terminals, then during the process of other cloud terminals occupying the applications, the first cloud terminal can no longer use the applications that have been occupied by other cloud terminals on the first cloud computer. In this case, a prompt message may be displayed in the program selection interface corresponding to the first cloud terminal, prompting the user corresponding to the first cloud terminal that this or these applications have been occupied and the user corresponding to the first cloud terminal cannot use them through the first cloud computer temporarily. This makes it easier for users to change cloud computers or select other applications in a timely manner, thereby improving the efficiency and convenience of users using cloud computers.

[0149] In some embodiments, in some embodiments, displaying the program occupation prompt information may include displaying the program occupation prompt information in text form. For example, if application A has been occupied by other cloud terminals, a prompt information in text form such as "application A has been occupied" may be displayed in the program selection interface of the first cloud terminal. In some embodiments, the program selection interface of the first cloud terminal displays the logos corresponding to multiple applications, and a prompt information in text form such as "occupied" may be displayed in the logo corresponding to the application that has been occupied by other cloud terminals or near the logo corresponding to the application that has been occupied by other cloud terminals.

[0150] In some embodiments, an identifier corresponding to the first application is displayed separately from an identifier of the second application; wherein the second application refers to an application supported by the first cloud computer and not occupied by other cloud terminals.

[0151] In some embodiments, if the first application is occupied by other cloud terminals, then in the program selection interface corresponding to the first cloud terminal, the identification of applications (i.e., the second application) that have been occupied by other cloud terminals, including the first application, can be grayed out, darkened, added with a symbol used to indicate prohibition (such as a slash symbol), added with an outer frame, etc., relative to the identification of the second application, so as to distinguish the first application from the second application, making it easier for the user corresponding to the first cloud terminal to clearly and intuitively understand which applications are occupied by other cloud terminals and which are unoccupied applications.

[0152] In some embodiments, in the program selection interface, the first application and the second application are displayed in partitions. In some embodiments, for the first cloud terminal, the logo of the first application and the logo of the second application can be displayed in different areas of the program selection interface, so that the logo of the second application can be displayed in a centralized manner, which is convenient for the user to select the desired application.

[0153] In some embodiments, the identification of the application program that has been occupied by other cloud terminals may not be displayed, thereby preventing the user from mistakenly selecting the application program that has been occupied by other cloud terminals.

[0154] In the above implementation, the audio and video data received by the cloud terminals corresponding to the same cloud computer are independent of each other and do not interfere with each other, which helps to protect the privacy of users.

[0155] In addition, in the above implementation, program occupancy prompt information is used to prompt users which applications are occupied and which are not occupied, which helps users to easily and quickly select the required applications from the unoccupied applications, thereby improving the convenience and efficiency of users in using cloud computers.

[0156] In some embodiments, multiple openings or clones of applications are implemented through virtualization and other technologies, so that multiple different cloud terminals can use the same application on the same cloud computer. Virtualization is a technology that virtualizes physical resources into multiple logical resources, allowing multiple applications to run simultaneously on the same device, and each application has its own independent operating environment. For example, for application A on the first cloud computer, through multiple openings or clones of applications, multiple different cloud terminals can use application A at the same time, thereby reducing the situation where the required applications are occupied and cannot be used, further improving the efficiency of users using cloud computers, while also ensuring the user experience.

[0157] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.

[0158] Please refer to Figure 7 , which shows a block diagram of a cloud computer allocation device provided by an embodiment of the present application. The device has the function of implementing the above-mentioned cloud computer allocation method example, and the function can be implemented by hardware, or by hardware executing corresponding software. The device can be the server introduced above, or it can be set on a server. The device 700 may include: a request receiving module 710, a cloud computer allocation module 720, a data receiving module 730 and a data sending module 740.

[0159] The request receiving module 710 is used to receive a first allocation request from a first cloud terminal, wherein the first allocation request is used to request allocation of a non-exclusive cloud computer to the first cloud terminal, wherein the non-exclusive refers to a usage mode that supports multiple cloud terminals to use the same cloud computer at the same time.

[0160] The cloud computer allocation module 720 is used to determine a first cloud computer allocated to the first cloud terminal based on the first allocation request, where the first cloud computer is the non-exclusive cloud computer.

[0161] The data receiving module 730 is used to receive audio and video data from the first cloud computer.

[0162] The data sending module 740 is used to forward the audio and video data from the first cloud computer to the first cloud terminal.

[0163] In some embodiments, the apparatus 700 further includes:

[0164] An information receiving module, used to receive network status information from the first cloud computer, wherein the network status information is used to indicate real-time network resources occupied by each cloud terminal using the first cloud computer;

[0165] The information sending module is used to send the corresponding network status information to each cloud terminal using the first cloud computer.

[0166] In some embodiments, the information receiving module is also used to send a first switching prompt message to the first cloud terminal when the real-time network resources of the first cloud computer occupied by the first cloud terminal meet a first condition, and the first switching prompt message is used to prompt the first cloud terminal to switch from the first cloud computer to use other non-exclusive cloud computers.

[0167] The information receiving module is also used to send a second switching prompt information to the first cloud terminal when the real-time network resources of the first cloud computer occupied by the first cloud terminal meet a second condition. The second switching prompt information is used to prompt the first cloud terminal to switch from using the non-exclusive cloud computer to using the exclusive cloud computer. The exclusive mode refers to a usage mode that only supports one cloud terminal occupying one cloud computer.

[0168] In some embodiments, the request receiving module 710 is further used to receive a second allocation request from the first cloud terminal, where the second allocation request is used to request allocation of the other non-exclusive cloud computer to the first cloud terminal.

[0169] The cloud computer allocation module 720 is further used to determine a second cloud computer allocated to the first cloud terminal based on the second allocation request, where the second cloud computer is the non-exclusive cloud computer and is different from the first cloud computer.

[0170] The data receiving module 730 is also used to receive audio and video data from the second cloud computer.

[0171] The data sending module 740 is further used to forward the audio and video data from the second cloud computer to the first cloud terminal.

[0172] In some embodiments, the cloud computer allocation module 720 is further used to receive a third allocation request from the first cloud terminal, and the third allocation request is used to request allocation of the exclusive cloud computer to the first cloud terminal.

[0173] The cloud computer allocation module 720 is further used to determine a third cloud computer allocated to the first cloud terminal based on the third allocation request, where the third cloud computer is the exclusive cloud computer.

[0174] The data receiving module 730 is also used to receive audio and video data from the third cloud computer.

[0175] The data sending module 740 is further used to forward the audio and video data from the third cloud computer to the first cloud terminal.

[0176] In some embodiments, the first cloud computer is used to provide audio and video data to multiple cloud terminals at the same time, and the audio and video data provided to each of the multiple cloud terminals are independent of each other.

[0177] In some embodiments, the cloud computer allocation module 720 is used to:

[0178] Based on the first allocation request, if there is at least one non-exclusive cloud computer, select a cloud computer whose remaining resources meet a third condition from the at least one non-exclusive cloud computer and determine it as the first cloud computer;

[0179] In the case that there is no cloud computer whose remaining resources satisfy the third condition, a cloud computer with idle resources is selected from the at least one non-exclusive cloud computer and determined as the first cloud computer.

[0180] In some embodiments, the remaining resources satisfying the third condition means that the number of cloud terminals simultaneously using the non-exclusive cloud computer is less than a first threshold.

[0181] In some embodiments, the cloud computer allocation module 720 is used to select a cloud computer whose remaining central processing unit (CPU) resource change degree is less than a second threshold from among the cloud computers whose remaining resources meet the third condition, and determine it as the first cloud computer.

[0182] To summarize, the embodiment of the present application can choose to request the allocation of non-exclusive cloud computer resources when the cloud terminal requests the allocation of cloud computer resources, thereby allocating the resources of a cloud computer to multiple users. Compared with a cloud computer that only supports one user, the embodiment of the present application fully utilizes the resources of the cloud computer, reduces the idle resources of the cloud computer, and improves the resource utilization rate of the cloud computer.

[0183] Please refer to Figure 8 , which shows a block diagram of a cloud computer allocation device provided by another embodiment of the present application. The device has the function of implementing the above-mentioned cloud computer allocation method example, and the function can be implemented by hardware, or by hardware executing corresponding software. The device can be the terminal device introduced above, or it can be set on the terminal device. The device 800 may include:

[0184] The interface display module 810 is used to display the mode selection interface of the cloud computer, wherein the mode selection interface includes a non-exclusive option, wherein the non-exclusive option refers to a usage mode that supports multiple cloud terminals to use the same cloud computer at the same time;

[0185] A request sending module 820, configured to send a first allocation request to a server in response to an operation on the non-exclusive option, wherein the first allocation request is used to request allocation of a non-exclusive cloud computer to the first cloud terminal;

[0186] The data receiving module 830 is used to receive the audio and video data sent by the server from the first cloud computer, where the first cloud computer is a non-exclusive cloud computer allocated by the server to the first cloud terminal;

[0187] The data display module 840 is used to display the audio and video data from the first cloud computer.

[0188] In some embodiments, the apparatus 800 is further configured to:

[0189] When the real-time network resources of the first cloud computer occupied by the first cloud terminal meet a first condition, receiving first switching prompt information sent by the server, the first switching prompt information being used to prompt the first cloud terminal to switch from the first cloud computer to another non-exclusive cloud computer; and displaying the first switching prompt information;

[0190] Alternatively, when the real-time network resources of the first cloud computer occupied by the first cloud terminal meet the second condition, a second switching prompt information sent by the server is received, and the second switching prompt information is used to prompt the first cloud terminal to switch from using the non-exclusive cloud computer to using the exclusive cloud computer, and the exclusive type refers to a usage mode that only supports one cloud terminal occupying one cloud computer; the second switching prompt information is displayed.

[0191] In some embodiments, the request sending module 820 is further used to send a second allocation request to the server, where the second allocation request is used to request allocation of the other non-exclusive cloud computer to the first cloud terminal.

[0192] The data receiving module 830 is further used to receive audio and video data from a second cloud computer, where the second cloud computer is the non-exclusive cloud computer and is different from the first cloud computer;

[0193] The data display module 840 is also used to display the audio and video data from the second cloud computer.

[0194] In some embodiments, the apparatus 800 is further configured to:

[0195] The request sending module 820 is further used to send a third allocation request to the server, wherein the third allocation request is used to request allocation of the exclusive cloud computer to the first cloud terminal.

[0196] The data receiving module 830 is also used to receive audio and video data from a third cloud computer, and the third cloud computer is the exclusive cloud computer.

[0197] The data display module 840 is also used to display the audio and video data from the third cloud computer.

[0198] In some embodiments, multiple cloud terminals including the first cloud terminal use the first cloud computer at the same time, and the audio and video data provided to each of the multiple cloud terminals are independent of each other.

[0199] In some embodiments, the first cloud computer supports running a first application. The device 800 further includes:

[0200] The information display module is used to display program occupation prompt information when the first cloud computer provides audio and video data of the first application to other cloud terminals other than the first cloud terminal; wherein the program occupation prompt information is used to prompt that the first application has been occupied by the other cloud terminals.

[0201] In some embodiments, the display of program occupation prompt information includes at least one of the following: displaying the program occupation prompt information in text form; displaying the identifier corresponding to the first application and the identifier of the second application separately; wherein the second application refers to an application supported by the first cloud computer and not occupied by the other cloud terminals.

[0202] In some embodiments, the interface display module 810 is also used to display billing reminder information; wherein, the billing reminder information is used to prompt the first cloud terminal that the cost of using the non-exclusive cloud computer is lower than the cost of using the exclusive cloud computer, and the exclusive refers to a usage mode that only supports one cloud terminal occupying one cloud computer.

[0203] To summarize, the embodiment of the present application can choose to request the allocation of non-exclusive cloud computer resources when the cloud terminal requests the allocation of cloud computer resources, thereby allocating the resources of a cloud computer to multiple users. Compared with a cloud computer that only supports one user, the embodiment of the present application fully utilizes the resources of the cloud computer, reduces the idle resources of the cloud computer, and improves the resource utilization rate of the cloud computer.

[0204] It should be noted that the device provided in the above embodiment, when implementing its functions, is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0205] Please refer to Fig. 9 , which shows a structural block diagram of a server provided in one embodiment of the present application. The server is used to implement the cloud computer allocation method provided in the above embodiment. Specifically:

[0206] The server 900 includes a CPU (Central Processing Unit) 901, a system memory 904 including a RAM (Random Access Memory) 902 and a ROM (Read-Only Memory) 903, and a system bus 905 connecting the system memory 904 and the central processing unit 901. The server 900 also includes a basic I / O (Input / Output) system 906 for facilitating information transmission between various components in the computer, and a large-capacity storage device 907 for storing an operating system 913, application programs 914, and other program modules 915.

[0207] The basic input / output system 906 includes a display 908 for displaying information and an input device 909 such as a mouse and a keyboard for user inputting information. The display 908 and the input device 909 are connected to the central processing unit 901 through an input / output controller 910 connected to the system bus 905. The basic input / output system 906 may also include an input / output controller 910 for receiving and processing inputs from a plurality of other devices such as a keyboard, a mouse, or an electronic stylus. Similarly, the input / output controller 910 also provides output to a display screen, a printer, or other types of output devices.

[0208] The mass storage device 907 is connected to the central processing unit 901 via a mass storage controller (not shown) connected to the system bus 905. The mass storage device 907 and its associated computer-readable medium provide non-volatile storage for the server 900. That is, the mass storage device 907 may include a computer-readable medium (not shown) such as a hard disk or a CD-ROM (Compact Disc Read-Only Memory) drive.

[0209] Without loss of generality, the computer-readable medium may include computer storage media and communication media. Computer storage media include volatile and non-volatile, removable and non-removable media implemented by any method or technology for storing information such as computer-readable instructions, data structures, program modules or other data. Computer storage media include RAM, ROM, EPROM (Erasable Programmable Read Only Memory), EEPROM (Electrically Erasable Programmable Read Only Memory), flash memory or other solid-state memory, CD-ROM, DVD (Digital Video Disc) or other optical storage, cassettes, tapes, disk storage or other magnetic storage devices. Of course, those skilled in the art will know that the computer storage medium is not limited to the above. The above-mentioned system memory 904 and mass storage device 907 can be collectively referred to as memory.

[0210] According to various embodiments of the present application, the server 900 may also be connected to a remote computer on a network through a network such as the Internet. That is, the server 900 may be connected to a network 912 through a network interface unit 911 connected to the system bus 905, or the network interface unit 911 may be used to connect to other types of networks or remote computer systems (not shown).

[0211] Please refer to Fig.10 , which shows a block diagram of a terminal device 1000 provided in one embodiment of the present application. The terminal device 1000 may be an electronic device such as a mobile phone, a tablet computer, a game console, an e-book reader, a multimedia player, a wearable device, a PC, etc. The terminal device is used to implement the cloud computer allocation method provided in the above embodiment. The terminal device may be Figure 3 The first terminal device in the implementation environment shown. Specifically:

[0212] Typically, the terminal device 1000 includes: a processor 1001 and a memory 1002 .

[0213] The processor 1001 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1001 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field Programmable Gate Array), and PLA (Programmable Logic Array). The processor 1001 may also include a main processor and a coprocessor. The main processor is a processor for processing data in an awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 1001 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1001 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.

[0214] The memory 1002 may include one or more computer-readable storage media, which may be non-transitory. The memory 1002 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1002 is used to store a computer program and is configured to be executed by one or more processors to implement the above-mentioned cloud computer allocation method.

[0215] In some embodiments, the terminal device 1000 may further optionally include: a peripheral device interface 1003 and at least one peripheral device. The processor 1001, the memory 1002 and the peripheral device interface 1003 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 1003 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1004, a display screen 1005, an audio circuit 1006 and a power supply 1007.

[0216] Those skilled in the art will understand that Fig.10 The structure shown in the figure does not constitute a limitation on the terminal device 1000, and may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.

[0217] In an exemplary embodiment, a computer-readable storage medium is also provided, in which a computer program is stored. When the computer program is executed by a processor, the above-mentioned cloud computer allocation method is implemented.

[0218] Optionally, the computer readable storage medium may include: ROM (Read-Only Memory), RAM (Random-Access Memory), SSD (Solid State Drives) or optical disks, etc. Among them, the random access memory may include ReRAM (Resistance Random Access Memory) and DRAM (Dynamic Random Access Memory).

[0219] In an exemplary embodiment, a computer program product is also provided, the computer program product comprising a computer program, the computer program being stored in a computer-readable storage medium. A processor of a computer device reads the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the computer device executes the above-mentioned cloud computer allocation method.

[0220] It should be noted that before collecting relevant data of users and during the process of collecting relevant data of users, this application can display a prompt interface, pop-up window or output voice prompt information, and the prompt interface, pop-up window or voice prompt information is used to prompt the user that its relevant data is currently being collected, so that this application only starts to execute the relevant steps of obtaining relevant data of users after obtaining the confirmation operation issued by the user to the prompt interface or pop-up window, otherwise (that is, when the confirmation operation issued by the user to the prompt interface or pop-up window is not obtained), the relevant steps of obtaining relevant data of users are terminated, that is, the relevant data of users are not obtained. In other words, all user data collected by this application are collected with the consent and authorization of the user, and the collection, use and processing of relevant user data need to comply with the relevant laws, regulations and standards of relevant countries and regions.

[0221] It should be understood that the "plurality" mentioned in this article refers to two or more. "And / or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship.

[0222] The above description is only an exemplary embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A method for allocating cloud computers, characterized in that: The method comprises: Receiving a first allocation request from a first cloud terminal, the first allocation request being used to request allocation of a non-exclusive cloud computer to the first cloud terminal, wherein the non-exclusive refers to a usage mode that supports multiple cloud terminals to use the same cloud computer at the same time; Based on the first allocation request, determining a first cloud computer allocated to the first cloud terminal, the first cloud computer being the non-exclusive cloud computer; Receiving audio and video data from the first cloud computer; The audio and video data from the first cloud computer are forwarded to the first cloud terminal.

2. The method according to claim 1, characterized in that The method further comprises: receiving network status information from the first cloud computer, wherein the network status information is used to indicate real-time network resources occupied by each cloud terminal using the first cloud computer; Sending corresponding network status information to each cloud terminal using the first cloud computer.

3. The method according to claim 2, characterized in that The method further comprises: When the real-time network resources of the first cloud computer occupied by the first cloud terminal meet a first condition, sending first switching prompt information to the first cloud terminal, wherein the first switching prompt information is used to prompt the first cloud terminal to switch from the first cloud computer to another non-exclusive cloud computer; or, When the real-time network resources of the first cloud computer occupied by the first cloud terminal meet the second condition, a second switching prompt message is sent to the first cloud terminal, and the second switching prompt message is used to prompt the first cloud terminal to switch from using the non-exclusive cloud computer to using the exclusive cloud computer, where the exclusive mode refers to a usage mode that only supports one cloud terminal occupying one cloud computer.

4. The method according to claim 3, characterized in that After sending the first switching prompt information to the first cloud terminal, the method further includes: receiving a second allocation request from the first cloud terminal, wherein the second allocation request is used to request allocation of the other non-exclusive cloud computer to the first cloud terminal; Based on the second allocation request, determining a second cloud computer allocated to the first cloud terminal, wherein the second cloud computer is the non-exclusive cloud computer and is different from the first cloud computer; receiving audio and video data from the second cloud computer; Forward the audio and video data from the second cloud computer to the first cloud terminal.

5. The method according to claim 3, characterized in that: After sending the second switching prompt information to the first cloud terminal, the method further includes: receiving a third allocation request from the first cloud terminal, wherein the third allocation request is used to request allocation of the exclusive cloud computer to the first cloud terminal; Based on the third allocation request, determining a third cloud computer allocated to the first cloud terminal, the third cloud computer being the exclusive cloud computer; Receiving audio and video data from the third cloud computer; The audio and video data from the third cloud computer are forwarded to the first cloud terminal.

6. The method according to claim 1, characterized in that The first cloud computer is used to provide audio and video data to multiple cloud terminals at the same time, and the audio and video data provided to each of the multiple cloud terminals are independent of each other.

7. The method according to claim 1, characterized in that The determining, based on the first allocation request, the first cloud computer allocated to the first cloud terminal comprises: Based on the first allocation request, if there is at least one non-exclusive cloud computer, select a cloud computer whose remaining resources meet a third condition from the at least one non-exclusive cloud computer and determine it as the first cloud computer; In the case that there is no cloud computer whose remaining resources satisfy the third condition, a cloud computer with idle resources is selected from the at least one non-exclusive cloud computer and determined as the first cloud computer.

8. The method according to claim 7, characterized in that The remaining resources satisfying the third condition means that the number of cloud terminals simultaneously using the non-exclusive cloud computer is less than a first threshold.

9. The method according to claim 7, characterized in that: The step of selecting a cloud computer whose remaining resources satisfy a third condition from the at least one non-exclusive cloud computer and determining the cloud computer as the first cloud computer includes: Among the cloud computers whose remaining resources satisfy the third condition, a cloud computer whose remaining central processing unit (CPU) resource change degree is less than a second threshold is selected and determined as the first cloud computer.

10. A method for allocating cloud computers, characterized in that: The method comprises: Displaying a mode selection interface of the cloud computer, the mode selection interface including a non-exclusive option, wherein the non-exclusive option refers to a usage mode that supports multiple cloud terminals to use the same cloud computer at the same time; In response to an operation on the non-exclusive option, sending a first allocation request to a server, wherein the first allocation request is used to request allocation of a non-exclusive cloud computer to the first cloud terminal; Receiving audio and video data sent by the server from a first cloud computer, where the first cloud computer is a non-exclusive cloud computer assigned by the server to the first cloud terminal; Display the audio and video data from the first cloud computer.

11. The method according to claim 10, characterized in that The method further comprises: Receiving first network status information from the first cloud computer sent by the server, the first network status information being used to indicate real-time network resources occupied by the first cloud terminal; The first network status information is displayed.

12. The method according to claim 11, characterized in that The method further comprises: When the real-time network resources of the first cloud computer occupied by the first cloud terminal meet a first condition, receiving first switching prompt information sent by the server, the first switching prompt information being used to prompt the first cloud terminal to switch from the first cloud computer to another non-exclusive cloud computer; and displaying the first switching prompt information; or, When the real-time network resources of the first cloud computer occupied by the first cloud terminal meet the second condition, receive the second switching prompt information sent by the server, the second switching prompt information is used to prompt the first cloud terminal to switch from using the non-exclusive cloud computer to using the exclusive cloud computer, the exclusive refers to a usage mode that only supports one cloud terminal occupying one cloud computer; display the second switching prompt information.

13. The method according to claim 12, characterized in that After receiving the first switching prompt information sent by the server, the method further includes: Sending a second allocation request to the server, wherein the second allocation request is used to request allocation of the other non-exclusive cloud computer to the first cloud terminal; Receiving audio and video data from a second cloud computer, where the second cloud computer is the non-exclusive cloud computer and the second cloud computer is different from the first cloud computer; Display the audio and video data from the second cloud computer.

14. The method according to claim 12, characterized in that After receiving the second switching prompt information sent by the server, the method further includes: Sending a third allocation request to the server, wherein the third allocation request is used to request allocation of the exclusive cloud computer to the first cloud terminal; Receiving audio and video data from a third cloud computer, the third cloud computer being the exclusive cloud computer; Display the audio and video data from the third cloud computer.

15. The method according to claim 10, characterized in that A plurality of cloud terminals including the first cloud terminal use the first cloud computer at the same time, and the audio and video data provided to each of the plurality of cloud terminals are independent of each other.

16. The method according to claim 15, characterized in that The first cloud computer supports running a first application program; The method further comprises: When the first cloud computer provides the audio and video data of the first application to other cloud terminals other than the first cloud terminal, displaying a program occupation prompt message; The program occupation prompt information is used to prompt that the first application has been occupied by the other cloud terminal.

17. The method according to claim 16, characterized in that The display of program occupancy prompt information includes at least one of the following: Displaying the program occupancy prompt information in text form; The identifier corresponding to the first application is displayed separately from the identifier of the second application; wherein the second application refers to an application supported by the first cloud computer and not occupied by the other cloud terminals.

18. The method according to claim 10, characterized in that The method further comprises: Display billing reminder information; wherein, the billing reminder information is used to prompt the first cloud terminal that the cost of using the non-exclusive cloud computer is lower than the cost of using the exclusive cloud computer, and the exclusive refers to a usage mode that only supports one cloud terminal occupying one cloud computer.

19. A cloud computer distribution device, characterized in that: The device comprises: a request receiving module, configured to receive a first allocation request from a first cloud terminal, wherein the first allocation request is used to request allocation of a non-exclusive cloud computer to the first cloud terminal, wherein the non-exclusive mode refers to a usage mode that supports multiple cloud terminals to use the same cloud computer at the same time; a cloud computer allocation module, configured to determine, based on the first allocation request, a first cloud computer allocated to the first cloud terminal, wherein the first cloud computer is the non-exclusive cloud computer; A data receiving module, used for receiving audio and video data from the first cloud computer; The data sending module is used to forward the audio and video data from the first cloud computer to the first cloud terminal.

20. A cloud computer distribution device, characterized in that: The device comprises: An interface display module, used to display a mode selection interface of the cloud computer, wherein the mode selection interface includes a non-exclusive option, wherein the non-exclusive option refers to a usage mode that supports multiple cloud terminals to use the same cloud computer at the same time; a request sending module, configured to send a first allocation request to a server in response to an operation on the non-exclusive option, wherein the first allocation request is used to request allocation of a non-exclusive cloud computer to the first cloud terminal; A data receiving module, used for receiving audio and video data sent by the server from a first cloud computer, where the first cloud computer is a non-exclusive cloud computer assigned by the server to the first cloud terminal; The data display module is used to display the audio and video data from the first cloud computer.

21. A server, characterized in that: The server includes a processor and a memory, wherein a computer program is stored in the memory, and the computer program is loaded and executed by the processor to implement the cloud computer allocation method as described in any one of claims 1 to 9 above.

22. A terminal device, characterized in that: The terminal device includes a processor and a memory, wherein a computer program is stored in the memory, and the computer program is loaded and executed by the processor to implement the cloud computer allocation method as described in any one of claims 10 to 18 above.

23. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which is loaded and executed by a processor to implement the cloud computer allocation method as described in any one of claims 1 to 9 above, or to implement the cloud computer allocation method as described in any one of claims 10 to 18 above.