Method and application of dynamic adjustment of cloud phone performance
By obtaining and analyzing the online behavior, performance and login behavior data of cloud mobile phones, and dynamically adjusting the performance of cloud mobile phones with the load level of the physical server, the problem of the inability to maximize resource utilization when cloud mobile phone resources are adjusted in the existing technology is solved, and efficient resource utilization and user experience optimization are achieved.
Patent Information
- Application Number
- CN202111604129.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-24
- Publication Date
- 2025-03-21
- Estimated Expiration
- 2041-12-24
AI Technical Summary
The existing technology cannot maximize resource utilization when cloud mobile phone resources are adjusted, resulting in the normal operation of user-hosted APPs.
By obtaining online behavior data, performance data and login behavior data of cloud mobile phones, determine the idle level of cloud mobile phones, and dynamically adjust the performance of cloud mobile phones in combination with the load level of physical servers.
It realizes dynamic adjustment of cloud mobile phone performance, reduces the impact on user use and hosting APP, ensures the rational use of resources on cloud mobile phone physical server, avoids resource competition and instability, and improves the overall utilization rate of resources.
Smart Images

Figure CN114327022B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of cloud computing, and in particular to a method and application for dynamically adjusting the performance of a cloud phone. Background Art
[0002] In the prior art, for cloud phones with a single board, the performance of the cloud phone is reduced when the user is not controlling the cloud phone, and it is restored to full speed when the user is controlling the cloud phone. This method only determines whether the user has a basis for performance adjustment in controlling the cloud phone, and cannot meet many scenarios. Because the cloud phone user client does not control the cloud phone, it does not mean that the user does not need to use the resources in the cloud phone, because the user will host and run the APP on the cloud phone, which is running automatically. At this time, if the performance of the cloud phone is directly reduced to low power consumption mode, it will affect the normal operation of the user-hosted APP, which is not conducive to the normal use of the user.
[0003] The information disclosed in this background technology section is only intended to enhance the understanding of the overall background of the invention and should not be regarded as an acknowledgment or any form of suggestion that the information constitutes the prior art already known to a person skilled in the art. Summary of the invention
[0004] The purpose of the present invention is to provide a method and application for dynamically adjusting the performance of a cloud phone, so as to solve the problem that when adjusting the resources of the cloud phone, it is impossible to maximize the utilization of resources.
[0005] To achieve the above objectives, an embodiment of the present invention provides a method for dynamically adjusting the performance of a cloud phone.
[0006] In one or more embodiments of the present invention, the method includes: obtaining cloud phone online behavior data, cloud phone performance data, and cloud phone login behavior data to determine the idle level of the cloud phone; obtaining performance data of the cloud phone physical server to determine the load level of the cloud phone physical server; and dynamically adjusting the performance of the cloud phone based on the idle level of the cloud phone and the load level of the cloud phone physical server.
[0007] In one or more embodiments of the present invention, the cloud phone online behavior data includes historical data of users connecting and disconnecting from the cloud phone and the disconnection duration of the cloud phone in the current disconnected state; the acquisition of the cloud phone online behavior data, cloud phone performance data and cloud phone login behavior data to determine the idle level of the cloud phone includes: acquiring historical data of users connecting and disconnecting from the cloud phone control, and filtering out the effective interval time data from the user disconnecting to reconnecting to the cloud phone; based on the effective interval time data, determining the user's habitual interval time of using the cloud phone; and adjusting the idle level of the cloud phone according to the user's habitual interval time of using the cloud phone and the disconnection duration of the cloud phone in the current disconnected state.
[0008] In one or more embodiments of the present invention, historical data of users connecting and disconnecting from cloud phone control is obtained, and effective interval time data of users from disconnection to reconnection to the cloud phone is screened out, specifically including: recording data in which the interval time from the user disconnecting to reconnecting to the cloud phone is greater than a preset time length, and determining it as the effective interval time data.
[0009] In one or more embodiments of the present invention, the idle level of the cloud phone is adjusted according to the user's habitual interval time of using the cloud phone and the disconnection time of the cloud phone in the current disconnected state, specifically including: raising the idle level of the cloud phone whose disconnection time is greater than the user's habitual interval time of using the cloud phone.
[0010] In one or more embodiments of the present invention, cloud phone online behavior data, cloud phone performance data, and cloud phone login behavior data are obtained to determine the idle level of the cloud phone, and also include: determining whether the cloud phone is currently in a connected state based on the historical data of the user connecting and disconnecting the cloud phone; if so, adjusting the idle level of the cloud phone to the lowest level.
[0011] In one or more embodiments of the present invention, cloud phone online behavior data, cloud phone performance data, and cloud phone login behavior data are obtained to determine the idle level of the cloud phone, and also include: determining the load level of the cloud phone based on the cloud phone performance data; and adjusting the idle level of the cloud phone based on the load level.
[0012] In one or more embodiments of the present invention, cloud phone online behavior data, cloud phone performance data, and cloud phone login behavior data are obtained to determine the idle level of the cloud phone, and also include: determining whether the user is currently in a logged out state based on the cloud phone login behavior data; if so, raising the idle level of the cloud phone; and / or, determining whether the user switches from a logged out state to a logged in state based on the cloud phone login behavior data; if so, lowering the idle level of the cloud phone.
[0013] In one or more embodiments of the present invention, the performance of the cloud phone is dynamically adjusted based on the idle level of the cloud phone and the load level of the cloud phone physical server, including: if the idle level of the cloud phone is greater than a set value, reducing the performance of the cloud phone according to a set performance reduction ratio; and / or, based on the load level of the cloud phone physical server, determining a baseline idle level for adjusting the performance of the cloud phone; and adjusting the performance of the cloud phone according to the baseline idle level.
[0014] In another aspect of the present invention, a device for dynamically adjusting the performance of a cloud phone is provided, which includes a level determination module and an adjustment module.
[0015] The level determination module is used to obtain cloud phone online behavior data, cloud phone performance data and cloud phone login behavior data to determine the idle level of the cloud phone, and to obtain performance data of the cloud phone physical server to determine the load level of the cloud phone physical server.
[0016] The adjustment module is used to dynamically adjust the performance of the cloud phone based on the idle level of the cloud phone and the load level of the cloud phone physical server.
[0017] In one or more embodiments of the present invention, the cloud phone online behavior data includes historical data of users connecting and disconnecting from the cloud phone and the disconnection time of the cloud phone in the current disconnected state; the level determination module is also used to: obtain historical data of users connecting and disconnecting from the cloud phone control, and filter out the effective interval time data from the user's disconnection to reconnecting to the cloud phone; based on the effective interval time data, determine the user's habitual interval time of using the cloud phone; and adjust the idle level of the cloud phone according to the user's habitual interval time of using the cloud phone and the disconnection time of the cloud phone in the current disconnected state.
[0018] In one or more embodiments of the present invention, the level determination module is further used to: determine recorded data in which the interval time from the user's disconnection to the reconnection to the cloud phone is greater than a preset time length as the effective interval time data.
[0019] In one or more embodiments of the present invention, the level determination module is further used to: increase the idle level of the cloud phone whose disconnection time is longer than the user's usual interval time of using the cloud phone.
[0020] In one or more embodiments of the present invention, the level determination module is also used to: determine whether the cloud phone is currently in a connected state based on the historical data of the user connecting and disconnecting the cloud phone; if so, adjust the idle level of the cloud phone to the lowest level.
[0021] In one or more embodiments of the present invention, the level determination module is further used to: determine the load level of the cloud phone according to the cloud phone performance data; and adjust the idle level of the cloud phone based on the load level.
[0022] In one or more embodiments of the present invention, the level determination module is also used to: determine whether the user is currently in a logged out state based on the cloud phone login behavior data; if so, increase the idle level of the cloud phone; and / or determine whether the user switches from a logged out state to a logged in state based on the cloud phone login behavior data; if so, lower the idle level of the cloud phone.
[0023] In one or more embodiments of the present invention, the adjustment module is also used to: if the idle level of the cloud phone is greater than a set value, reduce the performance of the cloud phone according to a set performance reduction ratio; and / or, based on the load level of the cloud phone physical server, determine the baseline idle level for cloud phone performance adjustment; and adjust the performance of the cloud phone according to the baseline idle level.
[0024] In another aspect of the present invention, an electronic device is provided, comprising: at least one processor; and a memory, wherein the memory stores instructions, and when the instructions are executed by the at least one processor, the at least one processor executes the method for dynamically adjusting the performance of a cloud phone as described above.
[0025] In another aspect of the present invention, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method for dynamically adjusting the performance of a cloud phone are implemented.
[0026] Compared with the prior art, the method and application of dynamic adjustment of cloud phone performance according to the implementation mode of the present invention can monitor the performance data of the cloud phone physical server where the cloud phone is located, the cloud phone performance data and the idle level corresponding to the user's habit of controlling the cloud phone, and make adjustments to various parameters of the cloud phone according to the idle level to achieve dynamic adjustment of the cloud phone performance, thereby reducing the impact on user use and hosted APP, and ensuring that all cloud phones on the cloud phone physical server can reasonably utilize resources, avoiding resource competition that causes instability or abnormality in the cloud phone, and maximizing the overall utilization of resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 is a flow chart of a method for dynamically adjusting cloud phone performance according to an embodiment of the present invention;
[0028] Figure 2is a specific flow chart of a method for dynamically adjusting cloud phone performance according to an embodiment of the present invention;
[0029] Figure 3 is a structural diagram of a device for dynamically adjusting cloud phone performance according to an embodiment of the present invention;
[0030] Figure 4 It is a hardware structure diagram of a computing device for dynamically adjusting the performance of a cloud phone according to an embodiment of the present invention. DETAILED DESCRIPTION
[0031] The specific implementation modes of the present invention are described in detail below in conjunction with the accompanying drawings, but it should be understood that the protection scope of the present invention is not limited by the specific implementation modes.
[0032] Unless explicitly stated otherwise, throughout the specification and claims, the term “comprise” or variations such as “include” or “comprising”, etc., will be understood to include the stated elements or components but not to exclude other elements or components.
[0033] The technical solutions provided by various embodiments of the present invention are described in detail below in conjunction with the accompanying drawings.
[0034] Example 1
[0035] like Figure 1 As shown, a method for dynamically adjusting the performance of a cloud phone in an embodiment of the present invention is introduced, and the method includes the following steps.
[0036] In step S101, cloud phone online behavior data, cloud phone performance data, and cloud phone login behavior data are obtained to determine the idle level of the cloud phone.
[0037] The collection modules include: physical server monitoring module, cloud phone monitoring module and platform monitoring module. The physical server monitoring module is responsible for collecting various performance data of the cloud phone physical server. The cloud phone monitoring module is responsible for collecting various performance data of the cloud phone. The platform monitoring module is responsible for collecting the behavior data of users using the cloud phone, collecting user login and logout records and user connection and disconnection records of the cloud phone control from the cloud platform; user connection means that the cloud phone is being used by the user, and user disconnection means that the cloud phone is not being used by the user.
[0038] For example, the physical server monitoring module collects the system's average load data L1 within 15 minutes on the cloud phone physical server every 5 minutes, and converts it into percentage L2. The conversion formula is L2=L1 / number of CPU cores*100.
[0039] The cloud phone monitoring module collects the average load data d1 of the system within 15 minutes on each cloud phone every 5 minutes, and converts it into a percentage d2. The conversion formula is d2=d1 / number of CPU cores*100.
[0040] The platform monitoring module collects user login and logout records as well as user connection and disconnection records of cloud phone control from the cloud platform. The records include the time points of user login, logout, connection to cloud phone, and disconnection from cloud phone.
[0041] Establish a cloud phone idle level system. The idle level can be divided into 1 to n levels. The higher the level, the higher the idleness. When adjusting performance, prioritize cloud phones with high idleness. The initial idle level of all cloud phones is 1.
[0042] Obtain the records of users connecting and disconnecting from the cloud phone, and find the data where the interval time from disconnection to reconnection is less than the preset time. Take the average of the interval time from disconnection to reconnection of the user as the habitual interval time t of the user using the cloud phone. That is, when the time the user disconnects from the cloud phone is less than t, the user is likely to connect to the cloud phone again; when the time the user disconnects from the cloud phone is greater than t, the probability of the user connecting to the cloud phone again is greatly reduced; if a user has no relevant data, the user's habitual interval time t is set to a fixed value t1.
[0043] In this embodiment, the preset time is 30 minutes. When the interval from disconnection to reconnection exceeds 30 minutes, the user continues to use the cloud phone, and it is necessary for the cloud phone to dynamically adjust the performance to reduce performance usage. When the interval from disconnection to reconnection is less than 30 minutes, there is too much dynamic adjustment data, which increases the amount of data to be processed by the decision-making, which is not conducive to rapid adjustment.
[0044] When the cloud phone is currently in a disconnected state, the current disconnection time of the cloud phone is compared with the usual interval time t. If the current disconnection time is greater than the usual interval time t, the idle level of the cloud phone is increased by 1, and the change of the idle level is recorded at the same time. The idle level will not be increased repeatedly in the same situation.
[0045] When the user is currently logged out, the idle level of all cloud phones under the user name will increase by 1. When the user enters the logged in state from the logged out state, the idle level of all cloud phones under the user name will decrease by 1. The idle level can only be reduced to 1 at the lowest. At the same time, the change is recorded, and the idle level will not be reduced repeatedly in the same situation.
[0046] Get various performance data of the cloud phone and determine the load level of the cloud phone. The cloud phone load range is 0 to 100, and the load levels are divided into: idle, medium and low load, and full load. Set two thresholds f1 and f2 for the cloud phone load. The load level of the cloud phone with a load between 0-f1 is idle, the load level of the cloud phone with a load between f1-f2 is medium and low load, and the load level of the cloud phone with a load between f2 and 100 is full load. When the cloud phone load level is idle, increase the idle level of the cloud phone by 2; when the cloud phone load level is medium and low load, increase the idle level of the cloud phone by 1, and record the change at the same time. Do not increase the idle level repeatedly in the same situation.
[0047] When the cloud phone is currently in a connected state, the idle level of the cloud phone is reset to 1, and the idle level change record of the cloud phone is cleared.
[0048] In step S102, performance data of the cloud phone physical server is obtained to determine the load level of the cloud phone physical server.
[0049] Obtain the 15-minute average load data L2 of the cloud phone physical server, and determine the cloud phone physical server load level based on the 15-minute average load data. The cloud phone physical server load range is 0-100, and the load levels are divided into: idle, low load, medium load and full load. Set three thresholds k1, k2 and k3 for the cloud phone physical server load. The cloud phone physical server load level between 0-k1 is idle, the cloud phone physical server load level between k1-k2 is low load, the cloud phone physical server load level between k2-k3 is medium load, and the cloud phone physical server load level between k3-100 is full load.
[0050] In step S103, the performance of the cloud phone is dynamically adjusted based on the idle level of the cloud phone and the load level of the physical server of the cloud phone.
[0051] In this embodiment, when the idle level of the cloud phone reaches 5 or above, the cloud phone performance reduction operation is performed, and the performance reduction ratio is set based on experience. When the idle level of the cloud phone drops below 5, the cloud phone performance recovery operation is performed;
[0052] The performance degradation and recovery of cloud phones involve the number of CPU cores used, storage IO, storage IOPS, cloud phone resolution, cloud phone DPI, cloud phone FPS, etc. If the performance of the cloud phone is degraded, the above configurations will be reduced, and if the performance of the cloud phone is recovered, the above configurations will be restored to the initial values.
[0053] If the load level of the cloud phone's cloud phone physical server is idle, and the idle level of the cloud phone is 3 or below, a performance recovery operation is performed on the cloud phone. If the load level of the cloud phone's cloud phone physical server is underloaded, and the idle level of the cloud phone reaches 4 or above, a performance reduction operation is performed on the cloud phone. If the load level of the cloud phone's cloud phone physical server is medium load, and the idle level of the cloud phone reaches 3 or above, a performance reduction operation is performed on the cloud phone. If the load level of the cloud phone's cloud phone physical server is fully loaded, and the idle level of the cloud phone reaches 2 or above, a performance reduction operation is performed on the cloud phone.
[0054] According to the method and application of dynamically adjusting the performance of a cloud phone according to the implementation mode of the present invention, the cloud phone will dynamically adjust the performance of the cloud phone as the load of the physical server changes, the resource usage of the cloud phone and the user behavior, ensuring that the overall utilization of resources is maximized while reducing the impact on users.
[0055] Example 2
[0056] like Figure 2 As shown, a method for dynamically adjusting the performance of a cloud phone in an embodiment of the present invention is introduced, and the method includes the following steps.
[0057] In step S201, cloud phone online behavior data, cloud phone performance data, and cloud phone login behavior data are obtained.
[0058] The collection modules include: physical server monitoring module, cloud phone monitoring module and platform monitoring module. The physical server monitoring module is responsible for collecting various performance data of the cloud phone physical server. The cloud phone monitoring module is responsible for collecting various performance data of the cloud phone. The platform monitoring module is responsible for collecting the behavior data of users using the cloud phone, collecting user login and logout records and user connection and disconnection records of the cloud phone control from the cloud platform; user connection means that the cloud phone is being used by the user, and user disconnection means that the cloud phone is not being used by the user.
[0059] For example, the physical server monitoring module collects the system's average load data L1 within 15 minutes on the cloud phone physical server every 5 minutes, and converts it into percentage L2. The conversion formula is L2=L1 / number of CPU cores*100.
[0060] The cloud phone monitoring module collects the average load data d1 of the system within 15 minutes on each cloud phone every 5 minutes, and converts it into a percentage d2. The conversion formula is d2=d1 / number of CPU cores*100.
[0061] The platform monitoring module collects user login and logout records as well as user connection and disconnection records of cloud phone control from the cloud platform. The records include the time points of user login, logout, connection to cloud phone, and disconnection from cloud phone.
[0062] In step S202, the user's usual interval time for using the cloud phone is determined.
[0063] Obtain the records of users connecting and disconnecting from the cloud phone, and find the data where the interval time from disconnection to reconnection is less than the preset time. Take the average of the interval time from disconnection to reconnection of the user as the habitual interval time t of the user using the cloud phone. That is, when the time the user disconnects from the cloud phone is less than t, the user is likely to connect to the cloud phone again; when the time the user disconnects from the cloud phone is greater than t, the probability of the user connecting to the cloud phone again is greatly reduced; if a user has no relevant data, the user's habitual interval time t is set to a fixed value t1.
[0064] Specifically, the decision module obtains the time points when the user connects and disconnects the cloud phone from the platform monitoring module, calculates the time interval from each disconnection to each connection in chronological order, filters out data with a time interval less than 30 minutes, takes the average of the data, and uses it as the user's habitual interval time t for using the cloud phone.
[0065] In step S203, the idle level of the cloud phone is determined.
[0066] The decision module obtains the user's latest disconnection time for each of his or her cloud phones from the platform monitoring module, subtracts the latest disconnection time from the current time to obtain the disconnection time d of each cloud phone, and compares the disconnection time d of each cloud phone with the user's habitual interval time t. If the disconnection time d is greater than t, it is determined that the user will not use the cloud phone again. The idle level of the corresponding cloud phone is increased by 1, and the idle level of the cloud phone is recorded because the user is idle. The next time the decision module detects that the cloud phone is idle, it will not increase the idle level again.
[0067] The decision module obtains the user's most recent login and logout records from the platform monitoring module. If the latest record is a logout record, the user is determined to be in a logout state, and the idle level of all cloud phones under the user's name is increased by 1. At the same time, it is recorded that the idle level of the cloud phone has increased due to the user's logout. The next time the decision module detects the user's logout, the idle level will not be increased repeatedly. At the same time, monitor whether the user has re-entered the login state. If the user logs in again, the idle level of the cloud phone under the user's name will be reduced by 1. The idle level can only be reduced to 1 at the lowest. At the same time, it is recorded that the idle level of the cloud phone has decreased due to the user's re-login. The idle level will not be reduced repeatedly in the same case.
[0068] The decision module obtains the latest record of user controlling the cloud phone from the platform monitoring module. If the latest record is a record of connecting to the cloud phone, it is determined that the cloud phone is currently in a user connection state, and the idle level of the corresponding cloud phone is reset to 1. At the same time, the idle level change record of the corresponding cloud phone is cleared. When the decision system repeats the above steps, the cloud phone will adjust the idle level again according to the rules, and the idle level will not change due to the existence of relevant records.
[0069] The decision module obtains the 15-minute average load data d2 of the cloud phone from the cloud phone monitoring module and determines the cloud phone load level. The cloud phone load range is 0 to 100, and the load levels are divided into: idle, medium and low load, and full load. Two thresholds f1 and f2 are set for the cloud phone load. The load level of the cloud phone with a load between 0 and f1 is idle, the load level of the cloud phone with a load between f1 and f2 is medium and low load, and the load level of the cloud phone with a load between f2 and 100 is full load. When the cloud phone load level is idle, the cloud phone idle level is increased by 2; when the cloud phone load level is medium and low load, the cloud phone idle level is increased by 1. At the same time, it is recorded that the cloud phone has increased its idle level because the load is at a certain level, and the idle level is not increased repeatedly in the same situation.
[0070] In step S204, the load level of the cloud phone physical server is determined.
[0071] Obtain the 15-minute average load data L2 of the cloud phone physical server, and determine the cloud phone physical server load level based on the 15-minute average load data. The cloud phone physical server load range is 0-100, and the load levels are divided into: idle, low load, medium load and full load. Set three thresholds k1, k2 and k3 for the cloud phone physical server load. The cloud phone physical server load level between 0-k1 is idle, the cloud phone physical server load level between k1-k2 is low load, the cloud phone physical server load level between k2-k3 is medium load, and the cloud phone physical server load level between k3-100 is full load.
[0072] In step S205, the performance of the cloud phone is dynamically adjusted based on the idle level of the cloud phone and the load level of the cloud phone physical server.
[0073] In this embodiment, when the idle level of the cloud phone reaches 5 or above, the cloud phone performance reduction operation is performed, and the performance reduction ratio is set based on experience. When the idle level of the cloud phone drops below 5, the cloud phone performance recovery operation is performed;
[0074] The performance degradation and recovery of cloud phones involve the number of CPU cores used, storage IO, storage IOPS, cloud phone resolution, cloud phone DPI, cloud phone FPS, etc. If the performance of the cloud phone is degraded, the above configurations will be reduced, and if the performance of the cloud phone is recovered, the above configurations will be restored to the initial values.
[0075] If the load level of the cloud phone's cloud phone physical server is idle, and the idle level of the cloud phone is 3 or below, a performance recovery operation is performed on the cloud phone. If the load level of the cloud phone's cloud phone physical server is underloaded, and the idle level of the cloud phone reaches 4 or above, a performance reduction operation is performed on the cloud phone. If the load level of the cloud phone's cloud phone physical server is medium load, and the idle level of the cloud phone reaches 3 or above, a performance reduction operation is performed on the cloud phone. If the load level of the cloud phone's cloud phone physical server is fully loaded, and the idle level of the cloud phone reaches 2 or above, a performance reduction operation is performed on the cloud phone.
[0076] According to the method and application of dynamic adjustment of cloud phone performance in the implementation mode of the present invention, the system load of the physical server and the cloud phone is used as the basis for performance adjustment, and the current resource usage is fully considered to avoid direct impact on the APP hosted by the user in the cloud phone; the user behavior is fully combined, and the performance of the cloud phone can also be adjusted when the user is not using the cloud phone, so as to avoid the impact of the decline in cloud phone performance on user use, and to avoid insufficient judgment leading to rapid reduction and recovery of cloud phone performance in a short time; the performance parameters such as the number of cores used by the cloud phone CPU, storage IO, storage IOPS, cloud phone resolution, cloud phone DPI, cloud phone FPS, etc. are adjusted, and performance adjustments are made in CPU calculation, storage reading and writing, GPU calculation and other aspects, which can reduce overall performance consumption, effectively reduce the load of physical servers, and ensure the smooth use of active cloud phones.
[0077] like Figure 3 As shown, a device for dynamically adjusting the performance of a cloud phone according to a specific implementation of the present invention is introduced.
[0078] In an embodiment of the present invention, the device for dynamically adjusting the performance of a cloud phone includes a level determination module 301 and an adjustment module 302 .
[0079] The level determination module 301 is used to obtain the cloud phone online behavior data, cloud phone performance data and cloud phone login behavior data to determine the idle level of the cloud phone, and obtain the performance data of the cloud phone physical server to determine the load level of the cloud phone physical server.
[0080] The adjustment module 302 is used to dynamically adjust the performance of the cloud phone based on the idle level of the cloud phone and the load level of the cloud phone physical server.
[0081] The level determination module 301 is also used to: obtain historical data of users connecting and disconnecting from cloud phone control, and filter out the effective interval time data from the user's disconnection to reconnecting to the cloud phone; based on the effective interval time data, determine the user's habitual interval time for using the cloud phone; and adjust the idle level of the cloud phone according to the user's habitual interval time for using the cloud phone and the disconnection time of the cloud phone in the current disconnected state.
[0082] The level determination module 301 is also used to determine the recorded data in which the interval time from the user disconnecting to reconnecting to the cloud phone is greater than the preset time length as the valid interval time data.
[0083] The level determination module 301 is also used to increase the idle level of a cloud phone whose disconnection time is longer than the user's usual interval time of using the cloud phone.
[0084] The level determination module 301 is also used to: determine whether the cloud phone is currently in a connected state based on historical data of users connecting and disconnecting from the cloud phone; if so, adjust the idle level of the cloud phone to the lowest level.
[0085] The level determination module 301 is also used to: determine the load level of the cloud phone according to the cloud phone performance data; and adjust the idle level of the cloud phone based on the load level.
[0086] The level determination module 301 is also used to: determine whether the user is currently in a logged out state based on the cloud phone login behavior data; if so, increase the idle level of the cloud phone; and / or determine whether the user has switched from a logged out state to a logged in state based on the cloud phone login behavior data; if so, lower the idle level of the cloud phone.
[0087] The adjustment module 302 is also used to: if the idle level of the cloud phone is greater than a set value, reduce the performance of the cloud phone according to the set performance reduction ratio; and / or, based on the load level of the cloud phone's physical server, determine the baseline idle level for adjusting the cloud phone's performance; and adjust the performance of the cloud phone according to the baseline idle level.
[0088] Figure 4 FIG. 4 shows a hardware structure diagram of a computing device 40 for dynamically adjusting the performance of a cloud phone according to an embodiment of the present specification. Figure 4 As shown, the computing device 40 may include at least one processor 401, a memory 402 (e.g., a non-volatile memory), a memory 403, and a communication interface 404, and the at least one processor 401, the memory 402, the memory 403, and the communication interface 404 are connected together via a bus 405. At least one processor 401 executes at least one computer-readable instruction stored or encoded in the memory 402.
[0089] It should be understood that the computer executable instructions stored in the memory 402, when executed, cause at least one processor 401 to perform the above combined operations in various embodiments of the present specification. Figure 1-4 Describes the various operations and functions.
[0090] In the embodiments of the present specification, the computing device 40 may include, but is not limited to, a personal computer, a server computer, a workstation, a desktop computer, a laptop computer, a notebook computer, a mobile computing device, a smart phone, a tablet computer, a cellular phone, a personal digital assistant (PDA), a handheld device, a messaging device, a wearable computing device, a consumer electronic device, and the like.
[0091] According to one embodiment, a program product such as a machine-readable medium is provided. The machine-readable medium may have instructions (i.e., the above-mentioned elements implemented in the form of software), which, when executed by a machine, causes the machine to perform the above-mentioned combination of various embodiments of this specification. Figure 1-4 Specifically, a system or device equipped with a readable storage medium may be provided, on which a software program code implementing the functions of any of the above-mentioned embodiments is stored, and a computer or processor of the system or device reads and executes the instructions stored in the readable storage medium.
[0092] According to the method and application of dynamic adjustment of cloud phone performance according to the implementation mode of the present invention, it can monitor the performance data of the cloud phone physical server where the cloud phone is located, the cloud phone performance data and the idle level corresponding to the user's habit of controlling the cloud phone, and make adjustments to various parameters of the cloud phone according to the idle level, so as to realize dynamic adjustment of the cloud phone performance, thereby reducing the impact on user use and hosted APP, and ensuring that all cloud phones on the cloud phone physical server can reasonably use resources, avoiding resource competition that causes instability or abnormality in the cloud phone, and maximizing the overall utilization of resources.
[0093] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0094] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0095] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0096] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0097] The foregoing description of specific exemplary embodiments of the present invention is for the purpose of illustration and demonstration. These descriptions are not intended to limit the present invention to the precise form disclosed, and it is clear that many changes and variations can be made based on the above teachings. The purpose of selecting and describing the exemplary embodiments is to explain the specific principles of the present invention and its practical application, so that those skilled in the art can realize and utilize various different exemplary embodiments of the present invention and various different selections and changes. The scope of the present invention is intended to be limited by the claims and their equivalents.
Claims
1. A method for dynamically adjusting the performance of a cloud phone, characterized in that: The method comprises: Obtaining cloud phone online behavior data, cloud phone performance data, and cloud phone login behavior data to determine the idle level of the cloud phone; Obtaining performance data of a cloud phone physical server to determine a load level of the cloud phone physical server; and Dynamically adjust the performance of the cloud phone based on the idle level of the cloud phone and the load level of the cloud phone physical server; The cloud phone online behavior data includes historical data of users connecting and disconnecting from the cloud phone and the disconnection time of the cloud phone in the current disconnection state; The cloud phone login behavior data includes records of users logging in and out of the cloud phone; The method for adjusting the performance of the cloud phone is specifically as follows: adjusting the number of cores used by the cloud phone's CPU, storage IO, storage IOPS, cloud phone resolution, cloud phone DPI, and cloud phone FPS parameters to adjust the performance of the cloud phone.
2. The method for dynamically adjusting the performance of a cloud phone according to claim 1, characterized in that: The obtaining of the cloud phone online behavior data, the cloud phone performance data, and the cloud phone login behavior data to determine the idle level of the cloud phone includes: Obtain historical data on users connecting and disconnecting from cloud phone control, and filter out the effective interval time data from when users disconnect to when they reconnect to the cloud phone; Based on the effective interval time data, determining the user's habitual interval time for using the cloud phone; and The idle level of the cloud phone is adjusted according to the user's habitual interval time of using the cloud phone and the disconnection time of the cloud phone in the current disconnected state.
3. The method for dynamically adjusting the performance of a cloud phone as claimed in claim 2, characterized in that: Obtain historical data on user connection and disconnection from cloud phone control, and filter out the effective interval time data from user disconnection to reconnection to cloud phone, including: The recorded data in which the interval time from the user disconnecting to reconnecting to the cloud phone is longer than the preset time is determined as the effective interval time data.
4. The method for dynamically adjusting the performance of a cloud phone as claimed in claim 2, characterized in that: According to the habitual interval time of the user using the cloud phone and the disconnection time of the cloud phone in the current disconnected state, the idle level of the cloud phone is adjusted, specifically including: Raise the idle level of the cloud phone whose disconnection duration is greater than the user's habitual interval of using the cloud phone.
5. The method for dynamically adjusting the performance of a cloud phone as described in any one of claims 2 to 4, characterized in that: Obtaining cloud phone online behavior data, cloud phone performance data, and cloud phone login behavior data to determine the idle level of the cloud phone, further comprising: According to the historical data of the user connecting and disconnecting the cloud phone, determine whether the cloud phone is currently in a connected state; if so, The idle level of the cloud phone is adjusted to the lowest level.
6. The method for dynamically adjusting the performance of a cloud phone according to claim 1, characterized in that: Obtaining cloud phone online behavior data, cloud phone performance data, and cloud phone login behavior data to determine the idle level of the cloud phone, further comprising: Determining the load level of the cloud phone according to the cloud phone performance data; Based on the load level, the idle level of the cloud phone is adjusted.
7. The method for dynamically adjusting the performance of a cloud phone according to claim 1, characterized in that: Obtaining cloud phone online behavior data, cloud phone performance data, and cloud phone login behavior data to determine the idle level of the cloud phone, further comprising: According to the cloud phone login behavior data, determine whether the user is currently in a logged out state; if so, Raising the idle level of the cloud phone; and / or, According to the cloud phone login behavior data, determine whether the user switches from the logged-out state to the logged-in state; if so, Lower the idle level of the cloud phone.
8. The method for dynamically adjusting the performance of a cloud phone according to claim 1, characterized in that: Also includes: If the idle level of the cloud phone is greater than a set value, the performance of the cloud phone is reduced according to the set performance reduction ratio.
9. A device for dynamically adjusting the performance of a cloud phone, characterized in that: The device comprises: A level determination module, used to obtain cloud phone online behavior data, cloud phone performance data, and cloud phone login behavior data to determine the idle level of the cloud phone, and obtain performance data of the cloud phone physical server to determine the load level of the cloud phone physical server; and An adjustment module, for dynamically adjusting the performance of the cloud phone based on the idle level of the cloud phone and the load level of the cloud phone physical server; The cloud phone online behavior data includes historical data of users connecting and disconnecting from the cloud phone and the disconnection time of the cloud phone in the current disconnection state; The cloud phone login behavior data includes records of users logging in and out of the cloud phone; The method for adjusting the performance of the cloud phone is specifically as follows: adjusting the number of cores used by the cloud phone's CPU, storage IO, storage IOPS, cloud phone resolution, cloud phone DPI, and cloud phone FPS parameters to adjust the performance of the cloud phone.
10. An electronic device, characterized in that: include: at least one processor; as well as A memory storing instructions, which, when executed by the at least one processor, enables the at least one processor to execute the method for dynamically adjusting the performance of a cloud phone as described in any one of claims 1 to 8.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, the steps of the method for dynamically adjusting the performance of a cloud phone as described in any one of claims 1 to 8 are implemented.
Citation Information
Patent Citations
System and method achieving optimum performance in comprehensive work load environment
CN104714849A
Cloud mobile phone management method and device
CN113472956A