Communication method and device and storage medium

By creating cloud terminal instances in advance based on historical behavior information on the cloud platform, the problem of long waiting times for users is solved, the user experience is improved, and access efficiency is improved through efficient storage media.

CN118740831APending Publication Date: 2024-10-01HUAWEI CLOUD COMPUTING TECHNOLOGIES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310330699.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-30
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

In cloud terminal technology, it takes a long time to create a cloud terminal instance after the user starts the terminal, which results in a long waiting time for the user and affects the user experience.

Method used

By determining the first time period in advance based on historical behavior information, pre-creating cloud terminal instances, including desktop data and user data, and receiving and sending login responses within this time period, reducing user waiting time.

Benefits of technology

By creating cloud terminal instances in advance, user waiting time is significantly shortened and user experience is improved. Especially for frequent access users, efficient storage media can be allocated to improve access efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118740831A_ABST
    Figure CN118740831A_ABST
Patent Text Reader

Abstract

The invention discloses a communication method and device and a storage medium, and belongs to the field of communication. The method comprises the steps that a cloud platform determines a first time period based on historical behavior information, the historical behavior information is used for recording the behavior that a user uses the terminal historically, the first time period is after the current behavior, and the user uses the terminal to log in the cloud platform in the first time period; a cloud terminal instance is created before the first time period, the cloud terminal instance comprises desktop data and user data of the user, and the desktop data is used for describing an entrance for accessing the user data; receiving a login request sent by the terminal in the first time period; and sending a login response to the terminal, the login response including the desktop data, and the login response being used for indicating the terminal to access the user data included in the cloud terminal instance based on the desktop data. The method can reduce the waiting time of the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communications, and in particular to a communication method, device and storage medium. Background Art

[0002] Cloud terminal technology is an integrated virtualization technology of terminal and cloud. Cloud terminal technology places the data computing and data storage functions of the terminal on the cloud platform, and retains the data display function on the terminal. The terminal requests the cloud platform to perform data computing or data reading through the network, and the terminal displays the results of data computing or the read data.

[0003] In the related art, when a user starts a terminal, the terminal sends a login request to the cloud platform. After receiving the login request, the cloud platform creates a cloud terminal instance, which includes computing resources and storage resources. The storage resources are used to store desktop data and the user data of the user. The desktop data is used to describe the entrance to access the user data. The cloud platform sends a login response to the terminal, which includes the desktop data. The terminal receives the login response and displays the desktop data included in the login response. The user uses the desktop data to enable the terminal to request the cloud platform to calculate or read the user data.

[0004] In the related art, it takes a long time to create a cloud terminal instance, so it takes a long time for the terminal to receive desktop data after the user starts the terminal, resulting in a long waiting time for the user. Summary of the invention

[0005] The present application provides a communication method, device and storage medium to reduce user waiting time. The technical solution is as follows:

[0006] In a first aspect, the present application provides a communication method, which is applied to a cloud platform. In the method, the cloud platform determines a first time period based on historical behavior information, the historical behavior information is used to record the user's historical behavior of using the terminal, the first time period is located after the current time period, and the user uses the terminal to log in to the cloud platform in the first time period. The cloud platform creates a cloud terminal instance before the first time period, and the cloud terminal instance includes desktop data and user data of the user, and the desktop data is used to describe the entrance to access the user data. The cloud platform receives a login request sent by the terminal within the first time period. The cloud platform sends a login response to the terminal, the login response includes the desktop data, and the login response is used to instruct the terminal to access the user data included in the cloud terminal instance based on the desktop data.

[0007] Since the historical behavior information is used to record the user's historical behavior of using the terminal, the first time period for using the terminal to access the cloud platform can be determined based on the historical behavior information, and a cloud terminal instance is created before the first time period. In this way, within the first time period, upon receiving a login response sent by the terminal, a login response can be immediately sent to the terminal, and the login response includes the desktop data in the cloud terminal instance. The terminal receives the login response, but can display the desktop data included in the login response, thereby reducing the user's waiting time.

[0008] In a possible implementation, the historical behavior information is used to record the login time of the user using the terminal to log in to the cloud platform in multiple historical statistical periods. The cloud platform obtains the login time in the specified time period of the multiple statistical periods from the historical behavior information. The cloud platform counts the login frequency of the specified time period based on the login time in the multiple specified time periods. When the login frequency of the cloud platform in the specified time period exceeds the frequency threshold, the specified time period in the current statistical period is determined as the first time period. This can improve the accuracy of predicting the time period in which the user logs in to the cloud platform.

[0009] In another possible implementation, the cloud terminal instance includes computing resources and storage resources, the storage resources are used to store the desktop data and the user data, the cloud terminal instance corresponds to the user account of the user, and the login request includes the user account. The cloud platform obtains the cloud terminal instance corresponding to the user account. The cloud platform obtains the desktop data stored in the storage resource through the computing resources included in the cloud terminal instance.

[0010] In another possible implementation, the historical behavior information is used to record one or more of the following: the login time when the user uses the terminal to log in to the cloud platform within multiple statistical periods in history, or the logout time when the user uses the terminal to log out of the cloud platform within multiple statistical periods. The cloud platform obtains statistical information based on the login time and logout time within the multiple statistical periods, and the statistical information is used to reflect the user's use of the terminal to access the storage resources included in the cloud terminal instance. The cloud platform determines the storage medium of the storage resource based on the statistical information. In this way, a hard disk with a higher read and write rate can be allocated to users who frequently access the cloud terminal instance, thereby improving the efficiency of users using the terminal to access the cloud terminal instance.

[0011] In another possible implementation, the statistical information includes one or more of the following: the average login frequency of the terminal within the multiple statistical periods, the average online time of the terminal within the multiple statistical periods, or the average login interval of the terminal within the multiple statistical periods, and the storage resource includes a hard disk, and the hard disk is used to store the user data. The cloud platform performs a weighted calculation on the average login frequency, the average online time and / or the average login interval to obtain a first access coefficient, and the first access coefficient is used to reflect the user's use of the terminal to access the hard disk included in the cloud terminal instance. When the first access coefficient exceeds the coefficient threshold, the cloud platform determines that the storage medium of the hard disk is an ultra-high-speed hard disk, so that ultra-high-speed hard disks with higher read and write rates can be allocated to users who frequently access the cloud terminal instance, thereby improving the efficiency of users using the terminal to access the cloud terminal instance. Or,

[0012] When the first access coefficient does not exceed the coefficient threshold, the cloud platform determines that the storage medium of the hard disk is a high-speed hard disk, so that high-speed hard disks are allocated to users who do not frequently access the cloud terminal instance, which can save costs.

[0013] In another possible implementation, the cloud terminal instance is a cloud phone instance.

[0014] In a second aspect, the present application provides a communication device, configured to execute the method in the first aspect or any possible implementation of the first aspect. Specifically, the device includes a unit configured to execute the method in the first aspect or any possible implementation of the first aspect.

[0015] In a third aspect, the present application provides a cluster, comprising at least one computing device, each of the at least one computing device comprising at least one processor and at least one memory, wherein computer-readable instructions are stored in the at least one memory; the at least one processor executes the computer-readable instructions so that the cluster implements the method in the first aspect or any possible implementation manner of the first aspect.

[0016] In a fourth aspect, the present application provides a computer program product, which includes a computer program stored in a computer-readable storage medium, and the computer program is loaded by a processor to implement the method of the above-mentioned first aspect or any possible implementation method of the first aspect.

[0017] In a fifth aspect, the present application provides a computer-readable storage medium for storing a computer program, wherein the computer program is loaded by a processor to execute the method of the above-mentioned first aspect or any possible implementation manner of the first aspect.

[0018] In a sixth aspect, the present application provides a chip comprising a memory and a processor, wherein the memory is used to store computer instructions, and the processor is used to call and run the computer instructions from the memory to execute the method of the above-mentioned first aspect or any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 This is a schematic diagram of a network architecture provided by an embodiment of the present application;

[0020] Figure 2 This is another network architecture diagram provided by an embodiment of the present application;

[0021] Figure 3 This is another network architecture diagram provided by an embodiment of the present application;

[0022] Figure 4 is a flow chart of a communication method provided by an embodiment of the present application;

[0023] Figure 5 It is a schematic diagram of the structure of a communication device provided in an embodiment of the present application;

[0024] Figure 6 is a schematic diagram of the structure of a computing device provided in an embodiment of the present application;

[0025] Figure 7 It is a schematic diagram of the structure of a cluster provided in an embodiment of the present application;

[0026] Figure 8 It is a schematic diagram of the structure of another cluster provided in an embodiment of the present application. DETAILED DESCRIPTION

[0027] The implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0028] See also Figure 1 An embodiment of the present application provides a network architecture 100, which includes a cloud platform 101 and a terminal 102. The cloud platform 101 can communicate with the terminal 102, wherein the number of terminals 102 included in the network architecture 100 can be multiple.

[0029] For any terminal 102 included in the network architecture 100 , the terminal 102 has a communication function and a data display function, and the data calculation function and the data storage display function of the terminal 102 are located in the cloud platform 101 .

[0030] In this way, the terminal 102 can send a data calculation request to the cloud platform 101. The cloud platform 101 receives the data calculation request, performs data calculation based on the data calculation request, and sends a data calculation response to the terminal 102. The data calculation response includes the result of the data calculation. The terminal 102 receives the data calculation response and displays the result included in the data calculation response. Or,

[0031] The terminal 102 may send a data read request to the cloud platform 101. The cloud platform 101 receives the data read request, reads data based on the data read request, and sends a data read response to the terminal 102. The data read response includes the read data. The terminal 102 receives the data read response and displays the read data included in the data read response.

[0032] In some embodiments, see Figure 2 The cloud platform 101 includes computing resources 1011, storage resources 1012, and a file storage system 1013. The computing resources 1011 include at least one processor, and the storage resources 1012 include a memory and a hard disk. The read and write speed of the memory and the hard disk are both higher than the read and write speed of the file storage system 1013.

[0033] In some embodiments, the storage resource 1012 includes hard disks of different storage media. Optionally, the storage resource 1012 includes an ultra-high-speed hard disk and a high-speed hard disk, and the read and write rate of the ultra-high-speed hard disk is greater than the read and write rate of the high-speed hard disk.

[0034] In some embodiments, the file storage system 1013 may be an object file storage system or a network disk, etc. The processor may be a central processing unit (CPU) and / or a graphics processing unit (GPU), etc.

[0035] See also Figure 3 The cloud platform 101 includes a cloud terminal instance corresponding to the terminal 102, and the data computing function and data storage function of the terminal 102 are located in the cloud terminal instance.

[0036] The cloud terminal instance includes computing resources and storage resources. The computing resources included in the cloud terminal instance are part of the computing resources included in the cloud platform 101, and the storage resources included in the cloud terminal instance are part of the storage resources included in the cloud platform 101.

[0037] The computing resources included in the cloud terminal instance are computing resources allocated by the cloud platform 101 to the terminal 102, and the storage resources included in the cloud terminal instance are storage resources allocated by the cloud platform 101 to the terminal 102. The computing resources are used to implement the data computing function of the terminal 102, and the storage resources are used to implement the data storage function of the terminal 102.

[0038] The storage resources in the cloud terminal instance include memory and hard disk. The memory included in the cloud terminal instance is part of the memory included in the cloud platform 101 , and the hard disk included in the cloud terminal instance is part of the hard disk included in the cloud platform 101 .

[0039] For example, it is assumed that the computing resources in the cloud platform 101 include 128 processors, 256G memory and 1024G hard disk. It is assumed that each cloud terminal instance created on the cloud platform 101 includes 4 processors, 8G memory and 32G hard disk, so 30 cloud terminal instances can be created on the cloud platform 101. Optionally, the processor is a CPU and / or a GPU, etc.

[0040] In some embodiments, the file storage system 1013 of the cloud platform 101 is used to store the correspondence between the user account, the configuration information of the cloud terminal instance, and the user data, and any record in the correspondence includes the user account of any user, the configuration information of the cloud terminal instance corresponding to the terminal of any user, and the user data of any user. The configuration information is used to configure the computing resources and / or storage resources included in the cloud terminal instance corresponding to the terminal of any user. The user data of any user includes the applications installed by any user in the cloud terminal instance.

[0041] In some embodiments, the configuration information includes the number of processors, memory size and / or hard disk size, and the configuration information is used to configure the number of processors, memory size and / or hard disk size included in the cloud terminal instance corresponding to any user's terminal.

[0042] After the user starts the terminal 102 , the user uses the terminal 102 to log in to the cloud platform 101 and requests the cloud platform 101 to create a cloud terminal instance corresponding to the terminal 102 .

[0043] In implementation, after startup, terminal 102 sends a login request to cloud platform 101, and the login request includes the user account of the user. Cloud platform 101 receives the login request, and based on the user account of the user included in the login request, obtains the configuration information of the cloud terminal instance corresponding to the user's terminal 102 and the user information of the user from file storage system 103. The cloud terminal instance is created based on the configuration information of the cloud terminal instance, and the cloud terminal instance includes desktop data and the user data of the user, and the desktop data is used to describe the entry to access the user data. Cloud platform 101 sends a login response to terminal 102, and the login response includes the desktop data. Terminal 102 receives the login response and displays the desktop data included in the login response.

[0044] In some embodiments, the process of the cloud platform 101 creating the cloud terminal instance based on the configuration information of the cloud terminal instance may be:

[0045] Based on the number of processors included in the configuration information, the processor of the cloud terminal instance is allocated from the processors included in the cloud platform 101, based on the memory size included in the configuration information, the memory of the cloud terminal instance is allocated from the memory included in the cloud platform 101, and based on the hard disk size included in the configuration information, the hard disk of the cloud terminal instance is allocated from the hard disk included in the cloud platform 101. The user data of the user is saved to the hard disk of the cloud terminal instance, and the desktop data for accessing the user data is obtained and saved to the memory of the cloud terminal instance, so as to achieve the creation of the cloud terminal instance.

[0046] In some embodiments, the user data includes at least one application, and the desktop data includes an icon of the at least one application. Thus, when the terminal 102 displays the desktop data, the user can operate an icon of an application to start the application.

[0047] For example, assuming that the at least one application is a photo album, the user can click on the photo album icon displayed by the terminal 102, so that the terminal 102 sends a data read request to the cloud platform 101, and the data read request includes the application identifier of the photo album. The cloud platform 101 receives the data read request, and based on the application identifier of the photo album included in the data read request, reads the pictures included in the photo album from the hard disk included in the cloud terminal instance through the processor included in the cloud terminal instance, and sends a data read response to the terminal 102, and the data read response includes the read pictures. The terminal 102 receives the data read response, displays the pictures included in the data read response, and realizes opening the photo album on the terminal 102.

[0048] For example, assuming that the at least one application is a browser, the user can click on the browser icon displayed by the terminal 102, so that the terminal 102 sends a browser startup request to the cloud platform 101, and the browser startup request includes the application identifier of the browser. The cloud platform 101 receives the browser startup request, and based on the application identifier of the browser included in the browser startup request, reads the browser from the hard disk included in the cloud terminal instance through the processor included in the cloud terminal instance, runs the browser in the memory included in the cloud terminal instance, and sends a browser startup response to the terminal 102, and the browser startup response includes the display interface of the browser. The terminal 102 receives the browser startup response and displays the display interface of the browser included in the browser startup response.

[0049] The user can enter the uniform resource locator (URL) of the page to be visited in the display interface of the browser, and the terminal 102 sends a page access request to the cloud platform 101, and the page access request includes the URL of the page to be visited. For the cloud terminal instance located in the cloud platform 101, the processor included in the cloud terminal instance receives the page access request, obtains the page to be visited through the browser based on the URL of the page to be visited included in the page access request, and sends a page access response to the terminal 102, and the page access response includes the page to be visited. The terminal 102 receives the page access response and displays the page to be visited included in the page access response.

[0050] For the browser in the hard disk included in the cloud terminal instance, the processor included in the cloud terminal instance records the user's access record in the browser, and the access record includes information such as the URL of the page to be accessed and the access time.

[0051] In some embodiments, when the user turns off the terminal 102, the communication between the terminal 102 and the cloud platform 101 is disconnected. Upon detecting the disconnection of the communication, the cloud platform 101 detects that the terminal 102 has exited the online state.

[0052] In some embodiments, after the terminal 102 exits the online state, the cloud platform 101 updates the user data corresponding to the user account of the user stored in the file storage system 1013 to the user data included in the cloud terminal instance, and then releases the computing resources and storage resources included in the cloud terminal instance.

[0053] In some embodiments, if the cloud platform 101 does not receive a login request sent by the terminal 102 within a period of time after the terminal 102 exits the online state, the user data corresponding to the user account of the user stored in the file storage system 1013 will be updated to the user data included in the cloud terminal instance at the end of the period, and then the computing resources and storage resources included in the cloud terminal instance will be released.

[0054] After the cloud platform 101 releases the cloud terminal instance including computing resources and storage resources, if there are other terminals logging into the cloud platform, the released computing resources and storage resources are allocated to the cloud terminal instance corresponding to the other terminal.

[0055] In some embodiments, the cloud terminal instance is a cloud phone instance, etc. The cloud platform 101 may be a cluster including at least one computing device, which may be a server, etc. For example, the computing device may be an advanced reduced instruction set computer machines (ARM) server.

[0056] Among them, the cloud platform 101 has a low rate of reading the file storage system 1013. Each time a user uses the terminal 102 to log in to the cloud platform 101, the cloud platform 101 needs a long time to read the user's user data from the file storage system 1013. In addition, it also takes a long time for the cloud platform 101 to allocate computing resources and storage resources, which causes the user to wait for a long time before the terminal 102 receives the login response sent by the cloud platform 101. For example, the user may need to wait for 2 to 3 minutes or longer before the terminal 102 receives the login response sent by the cloud platform 101, which seriously affects the user experience.

[0057] See also Figure 4 The present application embodiment provides a communication method 400, the communication method 400 is applied to Figure 1 , Figure 2 or Figure 3 In the network architecture 100 shown, the communication method 400 includes the following process from step 401 to step 404.

[0058] Step 401: The cloud platform determines a first time period based on historical behavior information, where the historical behavior information is used to record the user's historical behavior of using the terminal. The first time period is after the current time period, and the user uses the terminal to log in to the cloud platform during the first time period.

[0059] In some embodiments, the historical behavior information is used to record one or more of the following: the login time of the user using the terminal to log into the cloud platform within multiple historical statistical periods, or the logout time of the user using the terminal to log out of the cloud platform within the multiple statistical periods.

[0060] In some embodiments, the cloud platform 101 may use the first correspondence and / or the second correspondence to save the historical behavior information. The first correspondence is used to save the correspondence between the user account, the statistical period and the login time, and the second correspondence is used to save the correspondence between the user account, the statistical period and the logout time.

[0061] Before executing step 401, when the cloud platform receives a login request sent by the terminal, it obtains the reception time of the login request in the current statistical period, uses the reception time as the login time when the user uses the terminal to log in to the cloud platform in the current statistical period, obtains the user account of the user from the login request, and stores the user account of the user, the current statistical period, and the login time in a first corresponding relationship. When the cloud platform detects that the communication connection between the cloud platform and the terminal is disconnected, it obtains the disconnection time when the communication connection is disconnected in the current statistical period, uses the disconnection time as the exit time when the user uses the terminal to exit the cloud platform, and stores the user account of the user, the current statistical period, and the exit time in a second corresponding relationship.

[0062] In some embodiments, the statistical period may be one day, one week, one month, etc.

[0063] For example, assuming that the statistical cycle is one day, when the cloud platform receives a login request sent by a terminal at "8:30" on Monday, it obtains the receiving time "8:30" of receiving the login request on Monday, and uses the receiving time "8:30" as the login time when the user uses the terminal to log in to the cloud platform on Monday, obtains the user account "ID1" of the user from the login request, and stores the user account "ID1" of the user, the current statistical cycle "Monday" and the login time "8:30" in the first corresponding relationship shown in Table 1 below. Assuming that the user also uses the terminal to log in to the cloud platform at "8:50" and "8:55" on Monday, the cloud platform also stores the login times "8:50" and "8:55" in the first corresponding relationship shown in Table 1 below.

[0064] When the cloud platform receives a login request sent by the terminal at "8:45" on Tuesday, it obtains the receiving time "8:45" of the login request received on Tuesday, and uses the receiving time "8:45" as the login time when the user uses the terminal to log in to the cloud platform on Tuesday, obtains the user account "ID1" of the user from the login request, and stores the user account "ID1" of the user, the current statistical period "Tuesday" and the login time "8:45" in the first corresponding relationship shown in Table 1 below. Assuming that the user uses the terminal to log in to the cloud platform at "8:50" and "8:55" on Tuesday, the cloud platform also stores the login times "8:52" and "8:56" in the first corresponding relationship shown in Table 1 below.

[0065] When the cloud platform receives the login request sent by the terminal at "8:39" on Wednesday, it obtains the receiving time "8:39" of receiving the login request on Wednesday, and uses the receiving time "8:39" as the login time when the user uses the terminal to log in to the cloud platform on Wednesday, obtains the user account "ID1" of the user from the login request, and stores the user account "ID1" of the user, the current statistical period "Wednesday" and the login time "8:39" in the first corresponding relationship shown in Table 1 below. Assuming that the user logs in to the cloud platform at "8:54" and "8:59" on Wednesday, the cloud platform also stores the login times "8:54" and "8:59" in the first corresponding relationship shown in Table 1 below.

[0066] Table 1

[0067] User Account Statistical period Login time ID1 on Monday "8:30”,"8:50”,"8:55” ID1 Tuesday "8:45”,"8:52”,"8:56” ID1 Wednesday "8:39”,"8:54”,"8:59” …… …… ……

[0068] When the cloud platform detects that the communication connection between the cloud platform and the terminal is disconnected, it obtains the disconnection time of the communication connection within the current statistical period, uses the disconnection time as the exit time of the user using the terminal to exit the cloud platform, and saves the user account, current statistical period and exit time in a second corresponding relationship.

[0069] For example, assuming that the statistical cycle is one day, the cloud platform detects that the communication connection with the terminal is disconnected at "8:40" on Monday, obtains the disconnection time "8:40" when the communication connection is disconnected on Monday, uses the disconnection time "8:40" as the exit time when the user uses the terminal to exit the cloud platform on Monday, and stores the user account "ID1" of the user, the current statistical cycle "Monday" and the exit time "8:40" in the second corresponding relationship shown in Table 2 below. Assuming that the user also uses the terminal to exit the cloud platform at "8:53" and "8:59" on Monday, the cloud platform also stores the exit times "8:53" and "8:59" in the second corresponding relationship shown in Table 2 below.

[0070] The cloud platform detects that the communication connection with the terminal is disconnected at "8:50" on Tuesday, obtains the disconnection time "8:50" when the communication connection is disconnected on Tuesday, uses the disconnection time "8:50" as the exit time when the user uses the terminal to exit the cloud platform on Tuesday, and stores the user account "ID1" of the user, the current statistical cycle "Tuesday" and the exit time "8:50" in the second corresponding relationship shown in Table 2 below. Assuming that the user also uses the terminal to exit the cloud platform at "8:54" and "8:58" on Tuesday, the cloud platform also stores the exit times "8:54" and "8:58" in the second corresponding relationship shown in Table 2 below.

[0071] The cloud platform detects that the communication connection with the terminal is disconnected at "8:50" on Wednesday, obtains the disconnection time "8:50" when the communication connection is disconnected on Wednesday, uses the disconnection time "8:50" as the exit time when the user uses the terminal to exit the cloud platform on Wednesday, and stores the user account "ID1" of the user, the current statistical cycle "Wednesday" and the exit time "8:50" in the second corresponding relationship shown in Table 2 below. Assuming that the user also uses the terminal to exit the cloud platform at "8:57" and "9:45" on Wednesday, the cloud platform also stores the exit times "8:57" and "9:45" in the second corresponding relationship shown in Table 2 below.

[0072] Table 2

[0073] User Account Statistical period Exit time ID1 on Monday "8:40”,"8:53”,"8:59” ID1 Tuesday "8:50”,"8:54”,"8:58” ID1 Wednesday "8:50”,"8:57”,"9:45” …… …… ……

[0074] In step 401 , the first time period may be determined through the following operations 4011 to 4013 .

[0075] 4011: Obtain login times within a specified time period of multiple statistical periods in historical behavior information.

[0076] In 4011, for any user, the cloud platform obtains the login time of the user in each statistical period from the first corresponding relationship included in the historical behavior information based on the user account of the user, and obtains multiple login times. A specified time period is determined based on the multiple login times, and multiple login times are concentrated in the specified time period of each statistical period.

[0077] For example, assuming that the user account of the user is "ID1", based on "ID1", the login time of each statistical period is obtained from the first corresponding relationship shown in Table 1, and these login times include "8:30", "8:50", "8:55", "8:45", "8:52", "8:56", "8:39", "8:54", and "8:59". Based on these login times, the specified time period is determined to be "8:30 to 8:59", and multiple login times are concentrated in "8:30 to 8:59" every day.

[0078] In 4011, the multiple statistical periods include a first statistical period, and the cloud platform obtains the login time in a specified time period of the first statistical period from the first corresponding relationship based on the user account of the user and the first statistical period. The login time in the specified time period of other statistical periods is obtained in the same manner as above.

[0079] 4012: Based on multiple login times within the specified time period, count the user's login frequency to the cloud platform within the specified time period.

[0080] In 4012, based on the login time within the specified time period of each statistical period, the number of times the user logs in to the cloud platform using the terminal is counted, and the login frequency of the user using the terminal to log in to the cloud platform within the specified time period is calculated based on the number of logins and the number of multiple statistical periods.

[0081] For example, the login times within the specified time periods of the three statistical cycles are obtained from the first corresponding relationship shown in Table 1, and these login times include "8:30", "8:50", "8:55", "8:45", "8:52", "8:56", "8:39", "8:54", and "8:59". The specified time period is "8:30 to 8:59", and the number of times the user logs in to the cloud platform using the terminal is 9 based on these login times. Based on the number of logins 9 and the number of statistical cycles 3, the login frequency of the user using the terminal to log in to the cloud platform within the specified time period "8:30 to 8:59" is calculated to be 3.

[0082] 4013: When the login frequency in the specified time period exceeds the frequency threshold, the specified time period in the current statistical period is determined as the first time period.

[0083] For example, the current statistical period is Thursday, and the login frequency 3 of the specified time period "8:30 to 8:59" exceeds the specified frequency threshold 2, that is, "8:30 to 8:59" on Thursday is taken as the first time period.

[0084] Step 402: the cloud platform creates a cloud terminal instance before the first time period, the cloud terminal instance includes desktop data and user data, the desktop data is used to describe the entrance to access the user data.

[0085] The cloud terminal instance corresponds to the user account of the user.

[0086] In some embodiments, the user data includes at least one application installed by the user and other contents, and the desktop data includes an icon of the at least one application and other contents.

[0087] In step 402, the cloud platform starts to create a cloud terminal instance at a first moment, the cloud terminal instance corresponds to the user account of the user, and the time difference between the first moment and the start time of the first time period is a specified time difference.

[0088] In step 402, the cloud platform obtains the configuration information of the cloud terminal instance corresponding to the user's terminal and the user information of the user from the file storage system of the cloud platform based on the user account of the user. The cloud terminal instance is created based on the configuration information of the cloud terminal instance, and the cloud terminal instance includes desktop data and the user data of the user.

[0089] The configuration information of the cloud terminal instance includes the number of processors, memory size and / or hard disk size of the cloud terminal instance.

[0090] In some embodiments, the process of the cloud platform creating the cloud terminal instance based on the configuration information of the cloud terminal instance may be:

[0091] The cloud platform allocates the processor of the cloud terminal instance from the processors included in the cloud platform based on the number of processors included in the configuration information, allocates the memory of the cloud terminal instance from the memory included in the cloud platform based on the memory size included in the configuration information, and allocates the hard disk of the cloud terminal instance from the hard disk included in the cloud platform based on the hard disk size included in the configuration information. The user data of the user is saved to the hard disk of the cloud terminal instance, and the desktop data for accessing the user data is obtained and saved to the memory of the cloud terminal instance, thereby creating the cloud terminal instance.

[0092] In some embodiments, the hard disks included in the cloud platform include ultra-high-speed hard disks and high-speed hard disks. The operation of allocating the hard disk of the cloud terminal instance among the hard disks included in the cloud platform is:

[0093] The cloud platform obtains statistical information based on the login time and logout time within the multiple statistical periods, and the statistical information is used to reflect the situation of the user using the terminal to access the storage resources included in the cloud terminal instance; the cloud platform determines the storage medium of the storage resource based on the statistical information, and allocates the hard disk of the cloud terminal instance in the hard disk corresponding to the storage medium included in the cloud platform.

[0094] In some embodiments, the statistical information includes one or more of the following: an average login frequency of the terminal in multiple statistical periods, an average online duration of the terminal in multiple statistical periods, or an average login interval of the terminal in multiple statistical periods.

[0095] In some embodiments, for any statistical period in the multiple statistical periods, based on the user account of the user and the any statistical period, each login time in the any statistical period is obtained from the first corresponding relationship, and based on the user account of the user and the any statistical period, each logout time in the any statistical period is obtained from the second corresponding relationship. Based on each login time and each logout time in the any statistical period, the number of logins in the any statistical period, the login interval between any two adjacent logins, and the total online time are counted.

[0096] Based on the number of logins in each statistical period within the multiple statistical periods, the login interval between any two adjacent logins and the total online time, calculate the average login frequency of the terminal within the multiple statistical periods, the average online time of the terminal within the multiple statistical periods, or the average login interval of the terminal within the multiple statistical periods.

[0097] The cloud platform determines the storage medium of the storage resource based on the statistical information, including:

[0098] The cloud platform performs weighted calculation on the average login frequency, the average online time and / or the average login interval to obtain a first access coefficient, which is used to reflect the user's use of the terminal to access the hard disk included in the cloud terminal instance. When the first access coefficient exceeds the coefficient threshold, the cloud platform determines that the storage medium of the hard disk is an ultra-high-speed hard disk; or, when the first access coefficient does not exceed the coefficient threshold, the cloud platform determines that the storage medium of the hard disk is a high-speed hard disk.

[0099] A higher first access coefficient indicates that a user uses the terminal to access the hard disk of the cloud terminal instance more frequently.

[0100] When the first access coefficient exceeds the coefficient threshold, it means that after the cloud terminal instance corresponding to the user's terminal is created, the user frequently uses the terminal to access the hard disk of the cloud terminal instance. Therefore, when the first access coefficient exceeds the coefficient threshold, it is determined that the storage medium of the hard disk is an ultra-high-speed hard disk, and the cloud platform allocates the hard disk of the cloud terminal instance in the ultra-high-speed hard disk included in the cloud platform based on the hard disk size included in the configuration information. This can improve the efficiency of accessing the hard disk and increase the user experience.

[0101] When the first access coefficient does not exceed the coefficient threshold, it means that after the cloud terminal instance corresponding to the user's terminal is created, the frequency of the user using the terminal to access the hard disk of the cloud terminal instance is relatively low. Therefore, when the first access coefficient does not exceed the coefficient threshold, it is determined that the storage medium of the hard disk is a high-speed hard disk, and the cloud platform allocates the hard disk of the cloud terminal instance from the high-speed hard disks included in the cloud platform based on the hard disk size included in the configuration information. This can save costs and allocate ultra-high-speed hard disks to users who access frequently.

[0102] In the first time period, the user may start the terminal. After the terminal is started, the terminal sends a login request to the cloud platform, and the login request includes the user account of the user.

[0103] Step 403: The cloud platform receives a login request sent by the terminal within the first time period, where the login request includes the user account of the user.

[0104] In step 403, after receiving the login request, the cloud platform reads the user account included in the login request and obtains the cloud terminal instance corresponding to the user account. The cloud platform obtains the desktop data stored in the storage resources (memory) of the cloud terminal instance through the computing resources included in the cloud terminal instance.

[0105] Step 404: the cloud platform sends a login response to the terminal, where the login response includes the desktop data, and the login response is used to instruct the terminal to access user data included in the cloud terminal instance based on the desktop data.

[0106] After receiving the login response, the terminal displays the desktop data.

[0107] After receiving the login request, the cloud platform obtains the time of receiving the login request, uses the time of receiving as the time of the user logging into the cloud platform using the terminal, and saves the user account, current statistical period and the login time in the first corresponding relationship.

[0108] In an embodiment of the present application, when a user uses a terminal to log in to the cloud platform, the login time of the cloud platform is obtained, and the user account, current statistical period and the login time of the user are saved in the historical behavior information. When the user's terminal exits the cloud platform, the exit time of the cloud platform is obtained, and the user account, current statistical period and the exit time of the user are saved in the historical behavior information, so that the historical behavior information is used to record the user's historical behavior of using the terminal. In this way, based on the historical behavior information, the time period in which the user frequently logs in to the cloud platform using the terminal in each statistical period can be determined, that is, the first time period is determined. The cloud platform first creates a cloud terminal instance before the first time period. In this way, within the first time period, the cloud platform receives the login response sent by the terminal, and can immediately send a login response to the terminal, and the login response includes the desktop data in the cloud terminal instance. The terminal receives the login response, but can display the desktop data included in the login response, thereby reducing the user's waiting time.

[0109] See also Figure 5 The present application embodiment provides a communication device 500, wherein the device 500 is deployed in Figure 1 , Figure 2 or Figure 3 The network architecture 100 shown in FIG. 1 includes a cloud platform 101, or the device 500 is deployed on Figure 5 The cloud platform in the method 500 is shown. The device 500 includes:

[0110] A processing unit 501 is used to determine a first time period based on historical behavior information, where the historical behavior information is used to record the user's historical behavior of using the terminal, the first time period is after the current time period, and the user uses the terminal to log in to the device 500 in the first time period;

[0111] The processing unit 501 is further configured to create a cloud terminal instance before the first time period, the cloud terminal instance including desktop data and user data of the user, the desktop data being used to describe an entry for accessing the user data;

[0112] The receiving unit 502 is used to receive a login request sent by a terminal within a first time period;

[0113] The sending unit 503 is used to send a login response to the terminal, where the login response includes the desktop data, and the login response is used to instruct the terminal to access the user data included in the cloud terminal instance based on the desktop data.

[0114] Optionally, the detailed implementation process of the processing unit 501 determining the first time period is shown in Figure 4 The relevant contents of step 401 of the method 400 are not described in detail here.

[0115] Optionally, the detailed implementation process of the processing unit 501 creating a cloud terminal instance can be found in Figure 4 The relevant contents of step 402 of the method 400 are not described in detail here.

[0116] Optionally, the detailed implementation process of receiving the login request by the receiving unit 502 is shown in Figure 4 The relevant contents of step 403 of the method 400 are not described in detail here.

[0117] Optionally, the detailed implementation process of sending the login response by the sending unit 503 is shown in Figure 4 The relevant contents of step 404 of the method 400 are not described in detail here.

[0118] Optionally, the historical behavior information is used to record the login time of the user using the terminal to log in to the device 500 in multiple historical statistical periods;

[0119] The processing unit 501 is configured to:

[0120] Obtaining the login time within the specified time period of the multiple statistical periods in the historical behavior information;

[0121] Based on multiple login times within the specified time period, counting the login frequency of the specified time period;

[0122] When the login frequency in the specified time period exceeds the frequency threshold, the specified time period in the current statistical period is determined as the first time period.

[0123] Optionally, the detailed implementation process of the processing unit 501 obtaining the login time within the specified time period of the multiple statistical cycles can be found in Figure 4 The relevant contents of step 401 of the method 400 are not described in detail here.

[0124] Optionally, the detailed implementation process of the processing unit 501 counting the login frequency in the specified time period can be found in Figure 4 The relevant contents of step 402 of the method 400 are not described in detail here.

[0125] Optionally, the processing unit 50 determines the specified time period in the current statistical period as the first time period for a detailed implementation process. Figure 4 The relevant contents of step 402 of the method 400 are not described in detail here.

[0126] Optionally, the cloud terminal instance includes computing resources and storage resources, the storage resources are used to store the desktop data and the user data, the cloud terminal instance corresponds to a user account of the user, the login request includes the user account, and the processing unit 501 is further used to:

[0127] Get the cloud terminal instance corresponding to the user account;

[0128] The desktop data stored in the storage resource is obtained through the computing resources included in the cloud terminal instance.

[0129] Optionally, the detailed implementation process of the processing unit 501 obtaining the cloud terminal instance corresponding to the user account can be found in Figure 4 The relevant contents of step 403 of the method 400 are not described in detail here.

[0130] Optionally, the detailed implementation process of the processing unit 501 obtaining the desktop data stored in the storage resource can be found in Figure 4 The relevant contents of step 403 of the method 400 are not described in detail here.

[0131] Optionally, the historical behavior information is used to record one or more of the following: the login time when the user uses the terminal to log in to the device 500 in multiple historical statistical periods, or the logout time when the user uses the terminal to log out of the device 500 in multiple statistical periods. The processing unit 501 is further used to:

[0132] Obtaining statistical information based on login time and logout time within the multiple statistical periods, the statistical information is used to reflect the situation of the user using the terminal to access the storage resources included in the cloud terminal instance;

[0133] A storage medium of the storage resource is determined based on the statistical information.

[0134] Optionally, the detailed implementation process of the processing unit 501 obtaining statistical information can be found in Figure 4 The relevant contents of step 402 of the method 400 are not described in detail here.

[0135] Optionally, the detailed implementation process of the processing unit 501 determining the storage medium of the storage resource is shown in Figure 4 The relevant contents of step 402 of the method 400 are not described in detail here.

[0136] Optionally, the statistical information includes one or more of the following: an average login frequency of the terminal in the multiple statistical periods, an average online duration of the terminal in the multiple statistical periods, or an average login interval of the terminal in the multiple statistical periods, and the storage resource includes a hard disk, and the hard disk is used to store the user data;

[0137] The processing unit 501 is configured to:

[0138] Performing weighted calculation on the average login frequency, the average online duration and / or the average login interval to obtain a first access coefficient, where the first access coefficient is used to reflect the situation in which the user uses the terminal to access the hard disk included in the cloud terminal instance;

[0139] When the first access coefficient exceeds the coefficient threshold, determining that the storage medium of the hard disk is an ultra-high-speed hard disk; or,

[0140] When the first access coefficient does not exceed the coefficient threshold, it is determined that the storage medium of the hard disk is a high-speed hard disk.

[0141] Optionally, the detailed implementation process of the processing unit 501 obtaining the first access coefficient is shown in Figure 4 The relevant contents of step 402 of the method 400 are not described in detail here.

[0142] Optionally, the detailed implementation process of the processing unit 501 determining that the storage medium of the hard disk is an ultra-high-speed hard disk is shown in Figure 4 The relevant contents of step 402 of the method 400 are not described in detail here.

[0143] Optionally, the detailed implementation process of the processing unit 501 determining that the storage medium of the hard disk is a high-speed hard disk is shown in Figure 4 The relevant contents of step 402 of the method 400 are not described in detail here.

[0144] Optionally, the cloud terminal instance is a cloud phone instance.

[0145] Among them, the processing unit 501, the receiving unit 502 and the sending unit 503 can all be implemented by software, or can be implemented by hardware. Exemplarily, the implementation of the processing unit 501 is introduced below by taking the processing unit 501 as an example. Similarly, the implementation of the receiving unit 502 and the sending unit 503 can refer to the implementation of the processing unit 501.

[0146] As an example of a software functional unit, the processing unit 501 may include code running on a computing instance. Among them, the computing instance may include at least one of a physical host (computing device), a virtual machine, and a container. Further, the above-mentioned computing instance may be one or more. For example, the processing unit 501 may include code running on multiple hosts / virtual machines / containers. It should be noted that the multiple hosts / virtual machines / containers used to run the code may be distributed in the same region (region) or in different regions. Furthermore, the multiple hosts / virtual machines / containers used to run the code may be distributed in the same availability zone (AZ) or in different AZs, each AZ including one data center or multiple data centers with similar geographical locations. Among them, usually a region may include multiple AZs.

[0147] Similarly, multiple hosts / virtual machines / containers used to run the code can be distributed in the same virtual private cloud (VPC) or in multiple VPCs. Usually, a VPC is set up in a region. For cross-region communication between two VPCs in the same region and between VPCs in different regions, a communication gateway needs to be set up in each VPC to achieve interconnection between VPCs through the communication gateway.

[0148] As an example of a hardware functional unit, the processing unit 501 may include at least one computing device, such as a server, etc. Alternatively, the processing unit 501 may also be a device implemented using an application-specific integrated circuit (ASIC) or a programmable logic device (PLD). The PLD may be a complex programmable logical device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.

[0149] The multiple computing devices included in the processing unit 501 can be distributed in the same region or in different regions. The multiple computing devices included in the processing unit 501 can be distributed in the same AZ or in different AZs. Similarly, the multiple computing devices included in the processing unit 501 can be distributed in the same VPC or in multiple VPCs. The multiple computing devices can be any combination of computing devices such as servers, ASICs, PLDs, CPLDs, FPGAs, and GALs.

[0150] It should be noted that, in other embodiments, the processing unit 501 may be used to execute any step in the method provided in any of the above embodiments, the receiving unit 502 may be used to execute any receiving step in the method provided in any of the above embodiments, and the sending unit 503 may be used to execute any sending step in the method provided in any of the above embodiments. The steps that the processing unit 501, the receiving unit 502, and the sending unit 503 are responsible for implementing may be specified as needed, and the processing unit 501, the receiving unit 502, and the sending unit 503 respectively implement different steps in the method provided in any of the above embodiments to implement all functions of the communication device 500.

[0151] In the embodiment of the present application, since the historical behavior information is used to record the user's historical behavior of using the terminal, the processing unit can determine the first time period for using the terminal to access the cloud platform based on the historical behavior information, and create a cloud terminal instance before the first time period. In this way, within the first time period, the receiving unit receives the login response sent by the terminal, and the sending unit can immediately send the login response to the terminal, and the login response includes the desktop data in the cloud terminal instance. The terminal receives the login response, but can display the desktop data included in the login response, thereby reducing the user's waiting time.

[0152] See also Figure 6 , the present application embodiment provides a computing device 600. For example, the computing device 600 may be Figure 1 , Figure 2 or Figure 3 The cloud platform 101 in the network architecture shown, or Figure 4 A cloud platform for the method 400 is shown.

[0153] like Figure 6 As shown, computing device 600 includes: bus 602, processor 604, memory 606 and communication interface 608. Processor 604, memory 606 and communication interface 608 communicate through bus 602. Computing device 600 can be a server or a terminal device. It should be understood that the present application does not limit the number of processors and memories in computing device 600.

[0154] The bus 602 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 The bus 602 may include a path for transmitting information between various components of the computing device 600 (eg, the memory 606, the processor 604, and the communication interface 608).

[0155] The processor 604 may include any one or more of a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), or a digital signal processor (DSP).

[0156] The memory 606 may include a volatile memory, such as a random access memory (RAM). The processor 604 may also include a non-volatile memory, such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD), or a solid state drive (SSD).

[0157] See also Figure 6 , the memory 606 stores executable program codes, and the processor 604 executes the executable program codes to respectively implement Figure 5 The functions of the processing unit 501, the receiving unit 502 and the sending unit 503 in the device 5000 shown in the figure are implemented to realize the method provided by any of the above embodiments. That is, the memory 606 stores instructions for executing the method provided by any of the above embodiments. Or,

[0158] The communication interface 608 uses a transceiver module such as, but not limited to, a network interface card or a transceiver to implement communication between the computing device 600 and other devices or communication networks.

[0159] The embodiment of the present application also provides a cluster. The cluster includes at least one computing device. The computing device can be a server, such as a central server, an edge server, or a local server in a local data center. In some embodiments, the computing device can also be a terminal device such as a desktop computer, a laptop computer, or a smart phone.

[0160] like Figure 7 As shown, the cluster includes at least one computing device 600. The memory 606 in one or more computing devices 600 in the cluster may store the same instructions for executing the method provided in any of the above embodiments.

[0161] In some possible implementations, the memory 606 of one or more computing devices 600 in the cluster may also store some instructions for executing the above communication method. In other words, the combination of one or more computing devices 600 can jointly execute instructions for executing the method provided in any of the above embodiments.

[0162] In some possible implementations, one or more computing devices in the cluster may be connected via a network, which may be a wide area network or a local area network. Figure 8 A possible implementation is shown. Figure 8 As shown, two computing devices 600A and 600B are connected via a network. Specifically, they are connected to the network via a communication interface in each computing device.

[0163] In this type of possible implementation, the memory 606 in the computing device 600A stores the execution Figure 5 Instructions for the functions of the processing unit 501 in the illustrated embodiment. Meanwhile, the memory 606 in the computing device 600B stores instructions for executing the functions of the processing unit 501 in the illustrated embodiment. Figure 5 Instructions for the functions of the receiving unit 502 and the sending unit 503 in the illustrated embodiment.

[0164] It should be understood that Figure 8 The functions of the computing device 600A shown in FIG. 6A may also be completed by multiple computing devices 600. Similarly, the functions of the computing device 600B may also be completed by multiple computing devices 600.

[0165] The present application embodiment also provides another cluster. The connection relationship between the computing devices in the cluster can be similar to that of Figure 8 The connection mode of the cluster of the acquisition function is different in that the memory 606 in one or more computing devices 600 in the cluster may store the same instructions for executing the method provided by any of the above embodiments.

[0166] In some possible implementations, the memory 606 of one or more computing devices 600 in the cluster may also store partial instructions for executing the method provided in any of the above embodiments. In other words, the combination of one or more computing devices 600 may jointly execute instructions for executing the method provided in any of the above embodiments.

[0167] The present application also provides a computer program product including instructions. The computer program product may be software or a program product including instructions that can be run on a computing device or stored in any available medium. When the computer program product is run on at least one computing device, the at least one computing device executes the method provided in any of the above embodiments.

[0168] The embodiment of the present application also provides a computer-readable storage medium. The computer-readable storage medium can be any available medium that can be stored by a computing device or a data storage device such as a data center containing one or more available media. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk). The computer-readable storage medium includes instructions that instruct the computing device to execute the method provided in any of the above embodiments.

[0169] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

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

Claims

1. A communication method, It is characterized in that The method is applied to a cloud platform and includes: The cloud platform determines a first time period based on historical behavior information, the historical behavior information is used to record the user's historical behavior of using the terminal, the first time period is after the current time period, and the user uses the terminal to log in to the cloud platform during the first time period; The cloud platform creates a cloud terminal instance before the first time period, the cloud terminal instance includes desktop data and user data of the user, the desktop data is used to describe an entry to access the user data; The cloud platform receives a login request sent by the terminal within the first time period; The cloud platform sends a login response to the terminal, the login response includes the desktop data, and the login response is used to instruct the terminal to access the user data included in the cloud terminal instance based on the desktop data.

2. The method according to claim 1, It is characterized in that The historical behavior information is used to record the login time of the user using the terminal to log in to the cloud platform in multiple historical statistical periods; The cloud platform determines the first time period based on the historical behavior information, including: The cloud platform obtains the login time within the specified time period of the multiple statistical periods from the historical behavior information; The cloud platform counts the login frequency of the specified time period based on the login moments within the specified time period; When the login frequency of the cloud platform in the specified time period exceeds a frequency threshold, the specified time period in the current statistical period is determined as the first time period.

3. The method according to claim 1 or 2, It is characterized in that The cloud terminal instance includes computing resources and storage resources, the storage resources are used to store the desktop data and the user data, the cloud terminal instance corresponds to the user account of the user, the login request includes the user account, and the method further includes: The cloud platform obtains a cloud terminal instance corresponding to the user account; The cloud platform obtains the desktop data stored in the storage resource through the computing resource included in the cloud terminal instance.

4. The method according to claim 3, It is characterized in that The historical behavior information is used to record one or more of the following: the login time of the user using the terminal to log in to the cloud platform within multiple historical statistical periods, or the logout time of the user using the terminal to log out of the cloud platform within the multiple statistical periods, and the method further includes: The cloud platform obtains statistical information based on the login time and the logout time in the multiple statistical periods, and the statistical information is used to reflect the situation that the user uses the terminal to access the storage resources included in the cloud terminal instance; The cloud platform determines the storage medium of the storage resource based on the statistical information.

5. The method according to claim 4, It is characterized in that The statistical information includes one or more of the following: an average login frequency of the terminal in the multiple statistical periods, an average online duration of the terminal in the multiple statistical periods, or an average login interval of the terminal in the multiple statistical periods, and the storage resource includes a hard disk, and the hard disk is used to store the user data; The cloud platform determines the storage medium of the storage resource based on the statistical information, including: The cloud platform performs weighted calculation on the average login frequency, the average online duration and / or the average login interval to obtain a first access coefficient, where the first access coefficient is used to reflect the user's use of the terminal to access the hard disk included in the cloud terminal instance; When the first access coefficient exceeds a coefficient threshold, the cloud platform determines that the storage medium of the hard disk is an ultra-high-speed hard disk; or, When the first access coefficient does not exceed a coefficient threshold, the cloud platform determines that the storage medium of the hard disk is a high-speed hard disk.

6. The method according to any one of claims 1 to 5, It is characterized in that The cloud terminal instance is a cloud phone instance.

7. A communication device, It is characterized in that include: a processing unit, configured to determine a first time period based on historical behavior information, the historical behavior information being used to record the user's historical behavior of using the terminal, the first time period being after a current time period, and the user using the terminal to log in to the device during the first time period; The processing unit is further used to create a cloud terminal instance before the first time period, the cloud terminal instance including desktop data and user data of the user, the desktop data being used to describe an entry for accessing the user data; A receiving unit, configured to receive a login request sent by the terminal within the first time period; A sending unit is used to send a login response to the terminal, wherein the login response includes the desktop data, and the login response is used to instruct the terminal to access the user data included in the cloud terminal instance based on the desktop data.

8. The device according to claim 7, It is characterized in that The historical behavior information is used to record the login time of the user using the terminal to log in to the device in multiple historical statistical periods; The processing unit is used for: Acquire the login time within the specified time period of the plurality of statistical periods from the historical behavior information; Based on the login moments within the specified time period, counting the login frequency in the specified time period; When the login frequency in the specified time period exceeds a frequency threshold, the specified time period in the current statistical period is determined as the first time period.

9. The device according to claim 7 or 8, It is characterized in that The cloud terminal instance includes computing resources and storage resources, the storage resources are used to store the desktop data and the user data, the cloud terminal instance corresponds to the user account of the user, the login request includes the user account, and the processing unit is further used to: Obtaining a cloud terminal instance corresponding to the user account; The desktop data stored in the storage resource is acquired through the computing resource included in the cloud terminal instance.

10. The device according to claim 9, It is characterized in that The historical behavior information is used to record one or more of the following: the login time when the user uses the terminal to log in to the device within multiple historical statistical periods, or the logout time when the user uses the terminal to log out of the device within the multiple statistical periods. The processing unit is further used to: Acquire statistical information based on login time and logout time within the multiple statistical periods, the statistical information being used to reflect the situation in which the user uses the terminal to access the storage resources included in the cloud terminal instance; A storage medium of the storage resource is determined based on the statistical information.

11. The device according to claim 10, It is characterized in that The statistical information includes one or more of the following: an average login frequency of the terminal in the multiple statistical periods, an average online duration of the terminal in the multiple statistical periods, or an average login interval of the terminal in the multiple statistical periods, and the storage resource includes a hard disk, and the hard disk is used to store the user data; The processing unit is used for: Performing weighted calculation on the average login frequency, the average online duration and / or the average login interval to obtain a first access coefficient, where the first access coefficient is used to reflect the situation in which the user uses the terminal to access the hard disk included in the cloud terminal instance; When the first access coefficient exceeds a coefficient threshold, determining that the storage medium of the hard disk is an ultra-high-speed hard disk; or, When the first access coefficient does not exceed the coefficient threshold, it is determined that the storage medium of the hard disk is a high-speed hard disk.

12. The device according to any one of claims 7 to 11, It is characterized in that The cloud terminal instance is a cloud phone instance.

13. A communication cluster, It is characterized in that The cluster includes at least one computing device, each of the at least one computing device includes at least one processor and at least one memory, and the at least one memory stores computer-readable instructions; the at least one processor executes the computer-readable instructions so that the cluster executes the method according to any one of claims 1 to 6.

14. A computer storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.

15. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.