Startup method, data processing method, computing device and computer storage medium
By associating network storage objects in cloud computing products to store product data, the data loss problem of cloud computing products during the reconstruction or update of the operating system is solved, and the durability of product data and the effective operation of cloud computing products are achieved.
Patent Information
- Application Number
- CN202211160553.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-22
- Publication Date
- 2025-08-26
- Estimated Expiration
- 2042-09-22
AI Technical Summary
When cloud computing products are rebuilt or updated in the operating system, product data is easily lost, affecting the effective operation of cloud computing products.
By obtaining the user startup request, the corresponding network storage object is determined based on the user identification information, the target storage path of the cloud computing product is associated with the network storage object, and the cloud computing product is started to store the generated product data in the network storage object.
Ensure that product data is not lost when the operating system is rebuilt or revoked. Cloud computing products can access and update product status simultaneously to ensure effective operation.
Smart Images

Figure CN115766712B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of cloud computing technology, and in particular to a startup method, a data processing method, a computing device, and a computer storage medium. Background Art
[0002] With the development of cloud computing technology, configuring program products originally running on terminal devices on the server side to achieve slimming down of terminal devices has become the current mainstream development trend. As a result, many cloud computing products have been derived, such as cloud desktops and cloud applications.
[0003] Cloud computing products built by users with cloud computing providers generate various data during operation, such as product configuration data, cached data, and other product data. Because cloud computing products rely on the operating system provided by the cloud computing provider, this product data will be lost if the operating system is rebuilt or updated. Consequently, the cloud computing product will be unable to access this data, which will affect its effective operation. Summary of the Invention
[0004] The embodiments of the present application provide a startup method, a data processing method, a computing device, and a computer storage medium to solve the technical problem in the prior art of product data loss affecting the effective operation of cloud computing products.
[0005] In a first aspect, an embodiment of the present application provides a startup method, comprising:
[0006] Obtaining user-triggered startup requests for cloud computing products;
[0007] Determining a corresponding first network storage object based on the user identification information;
[0008] Associating the target storage path of the cloud computing product with the first network storage object;
[0009] The cloud computing product is started; the cloud computing product is used to store the generated first product data in the first network storage object associated with the target storage path.
[0010] In a second aspect, an embodiment of the present application provides a data processing method, comprising:
[0011] Acquire the generated first product data;
[0012] The first product data is stored in a first network storage object associated with a target storage path; wherein the first network storage object is determined based on user identification information in response to a startup request triggered by a user for a cloud computing product, and is associated with the target storage path.
[0013] In a third aspect, an embodiment of the present application provides a computing device, comprising a processing component and a storage component; the storage component stores one or more computer instructions; the one or more computer instructions are used to be called and executed by the processing component to implement the startup method described in the first aspect above or to implement the data processing method described in the second aspect above.
[0014] In a fourth aspect, an embodiment of the present application provides a computer storage medium storing a computer program, which, when executed by a computer, implements the startup method as described in the first aspect or the data processing method as described in the second aspect.
[0015] In an embodiment of the present application, based on a startup request triggered by a user for a cloud computing product, a corresponding first network storage object can be determined based on user identification information, and the target storage path of the cloud computing product is first associated with the first network storage object; thereafter, when the cloud computing product is started, the cloud computing product can store the generated first product data in the first network storage object. By storing the product data in the first network storage object corresponding to the user, the product data will not be lost, and the cloud computing product can access and obtain the product data from the first network storage object, thereby ensuring the effective operation of the cloud computing product.
[0016] These and other aspects of the present application will become more readily apparent from the description of the following embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0018] Figure 1 A schematic diagram showing the structure of an embodiment of a cloud computing system provided by the present application is shown;
[0019] Figure 2 A flowchart of an embodiment of a startup method provided by the present application is shown;
[0020] Figure 3 A flow chart showing an embodiment of a data processing method provided by the present application is shown;
[0021] Figure 4 A schematic diagram showing the interaction of the technical solution of the embodiment of the present application in a practical application is shown;
[0022] Figure 5A schematic structural diagram of an embodiment of a starting device provided by the present application is shown;
[0023] Figure 6 A schematic structural diagram of an embodiment of a data processing device provided by the present application is shown;
[0024] Figure 7 A schematic structural diagram of an embodiment of a computing device provided by the present application is shown. DETAILED DESCRIPTION
[0025] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0026] In some of the processes described in the specification and claims of this application and the above-mentioned figures, multiple operations that appear in a specific order are included, but it should be clearly understood that these operations may not be executed in the order in which they appear in this document or may be executed in parallel. The serial numbers of the operations, such as 101, 102, etc., are only used to distinguish between different operations, and the serial numbers themselves do not represent any order of execution. In addition, these processes may include more or fewer operations, and these operations may be executed in sequence or in parallel. It should be noted that the descriptions of "first", "second", etc. in this document are used to distinguish different messages, devices, modules, etc., and do not represent a sequential order, nor do they limit "first" and "second" to being different types.
[0027] The technical solutions of the embodiments of the present application can be applied to cloud computing products in cloud computing scenarios to achieve effective operation of cloud computing products.
[0028] Cloud computing is one of the fastest-growing trends in computer technology. It involves providing hosted services over the internet. Cloud computing environments offer computing and storage resources as services to end users. End users can request processing from the provided services. The processing capacity of the services is often limited by the configured resources.
[0029] It should be understood that although this application includes detailed descriptions about cloud computing, the implementation of the teachings described herein is not limited to cloud computing environments. Instead, the embodiments of this application can be implemented in conjunction with any other type of computing environment now known or later developed.
[0030] Cloud computing is a service delivery model that enables on-demand network access to a shared pool of configurable computing resources (e.g., networks, network bandwidth, servers, processing, memory, storage, applications, virtual machines, and services) that can be rapidly provisioned and released with minimal management effort or interaction with the service provider.
[0031] Cloud computing products are a type of cloud computing service provided by cloud computing providers, which are used to achieve the slimming down of terminal devices. Program products that originally ran on terminal devices and mainly relied on the computing power of terminal devices are implemented by cloud computing products configured on the server side. The cloud computing products involved in the embodiments of this application may include cloud desktops or cloud applications, etc.
[0032] Among them, cloud desktop, also known as desktop virtualization and cloud computer, is a new model to replace traditional computers. After adopting cloud desktop, users no longer need to purchase a computer host. The CPU, memory, hard disk and other components contained in the host are all virtualized in the back-end server. A thin client (also known as the host side) can be used on the terminal device to connect to the display, keyboard and / or mouse. After the user installs the thin client, he accesses the cloud desktop on the server through a unique communication protocol to realize interactive operations and achieve the same experience as the computer. At the same time, cloud desktop not only supports the replacement of traditional computers, but also supports other smart devices such as mobile phones and tablets to access on the Internet. It is the latest solution for mobile office.
[0033] Cloud applications are the application layer embodiment of cloud computing technology. Compared to locally installed applications, cloud applications offer advantages such as no download or installation required, immediate use, minimal device requirements, and cross-platform functionality. Cloud-based applications are becoming a future trend. Cloud applications stream multimedia content to end devices in real time, enabling smooth use of cloud applications. These devices only need to display the multimedia content, and the cloud applications also handle user interaction with the end device.
[0034] Cloud computing products can be created for users based on their requests, and users can also revoke or recreate similar cloud computing products. A user is a tenant. Users can purchase resources from a cloud computing provider to build cloud computing products that meet their needs. Users register user accounts with cloud computing providers, which are used to distinguish between different users.
[0035] As described in the background technology, since cloud computing products rely on the operating system provided by the cloud computing provider to run, these product data will be lost when the operating system is rebuilt or updated. In addition, users can cancel cloud computing products with the cloud computing provider, and the product data at this time will also be deleted. If users want to rebuild the cloud computing product later, they will not be able to obtain the original product data. They can only reconfigure or repeat previous operations, which will affect the effective operation of the cloud computing product and affect the user experience.
[0036] To achieve the effective operation of cloud computing products, the inventors, after a series of studies, proposed the technical solution of this application. In an embodiment of this application, after receiving a user-triggered startup request for a cloud computing product, the corresponding first network storage object can be determined based on user identification information; the target storage path of the cloud computing product can be associated with the first network storage object; the cloud computing product can be started; and the cloud computing product can then store the generated first product data in the first network storage object associated with the target storage path. Storing product data in the first network storage object corresponding to the user ensures that product data is not lost in situations such as system reconstruction or cloud computing product revocation. The cloud computing product can access the product data from the first network storage object and synchronously update the product status accordingly, thereby ensuring the effective operation of the cloud computing product.
[0037] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without making creative efforts are within the scope of protection of this application.
[0038] The technical solutions of the embodiments of the present application can be applied to Figure 1 In the cloud computing system shown, the cloud computing system may include a server 10 and a terminal device 20 .
[0039] The server 10 may be a single physical server, which may include one or more processing components, storage components, and a bus that couples other system components, including the storage components, to the processing components. Of course, the server 10 may also be a cloud-based server array, or a virtual machine (VM) built within a cloud-based server array. Of course, the server 10 may also refer to other computing devices with corresponding service capabilities, which is not limited in this application. For ease of understanding, the server 10 is represented in the figure as a general server.
[0040] The terminal device 20 may refer to a local computing device used by a user that has the computing, Internet access, communication and other functions required by the user, such as a personal digital assistant (PDA) or a cellular phone 2, a desktop computer, a laptop computer or a car computer system, a wearable device, etc.
[0041] The user can use the terminal device 20 to connect to the server 10 via a wired or wireless connection, or communicate with the server 10 via the control device 30. The server 10 and the control device 30 can communicate with each other, and they can be physically or virtually grouped in one or more networks (not shown), such as private, community, public or hybrid clouds or a combination thereof. This allows the cloud computing system to provide infrastructure, platforms and / or software as a service, and users do not need to maintain resources on the terminal device. It should be understood that Figure 1 The terminal device types shown in FIG are for illustration only, and the server 10 can communicate with any type of terminal device through any type of network and / or network addressable connection.
[0042] The terminal device 20 may be configured with a host terminal corresponding to the cloud computing product, i.e., a thin client, which only has basic computing, processing, input and output capabilities, and can connect to the cloud computing product and display the multimedia content generated by the cloud computing product.
[0043] The server 10 can deploy one or more cloud computing products, which is not limited in this application. The server 10 also provides the operating system that the cloud computing products rely on. The operating system is also known as the operating system or operating environment. This operating system can be, for example, Linux, Windows, Android, or iOS. The operating system of the terminal device 20 can be different from the operating system running the cloud computing products, thereby achieving system decoupling between the cloud computing products and the terminal device 20. If the server 10 is a virtual machine, the operating system of the physical server where it is located can be different from the operating system of the server 10.
[0044] In addition, in the embodiment of the present application, the cloud computing system may further include a first network storage object 40, and may further include a second network storage object 50, etc. The network storage object may be a network storage medium provided by a network storage system and provided to the user as a network disk.
[0045] It should be noted that the startup method provided in the embodiments of the present application is generally executed by the server 10, and the data storage method is generally executed by a cloud computing product configured in the server 10. Of course, in other embodiments of the present application, the data storage method can also be jointly executed by the cloud computing product and the host configured in the terminal device.
[0046] The implementation details of the technical solution of the embodiment of the present application are described in detail below.
[0047] Figure 2 This is a flowchart of an embodiment of a startup method provided in an embodiment of the present application. The technical solution of this embodiment is executed by the server. The method may include the following steps:
[0048] 201: Get the startup request triggered by the user for the cloud computing product.
[0049] The startup request may be sent by a host end where the cloud computing product is deployed on a terminal device, and the startup request may be generated by the host end in response to a user's startup operation on the cloud computing product.
[0050] The host side corresponding to the cloud computing product can provide and display the icon of the cloud computing product for the user to view and operate. The host side can sense the user's startup operation on the icon, such as a click operation, and thus generate the startup request.
[0051] The start request can be sent to the server via the control device. The control device can be responsible for scheduling the connection between the terminal device and the server. Of course, the terminal device can also connect directly to the server, thereby sending the start request directly to the server.
[0052] 202: Determine a corresponding first network storage object based on the user identification information.
[0053] The start request may include user identification information, etc., for logging into the cloud computing product, etc. The user identification information may include, for example, user account information, which may be obtained through pre-registration.
[0054] Of course, the user identification information can also be stored in the Session, and after receiving the start request, the user identification information can be read therefrom. The start request can include device identification information, and the corresponding user identification information can be found from the session through the device identification information.
[0055] In the embodiment of the present application, each user may be configured with a corresponding first network storage object, and the correspondence between user identification information and object identification information may be pre-saved, so that the first network storage object corresponding to the user may be searched and determined based on the user identification information.
[0056] 203: Associate the target storage path of the cloud computing product with the first network storage object.
[0057] The target storage path may refer to an original storage path used by the cloud computing product to store product data, which may be a local storage path of the server where the cloud computing product is located.
[0058] In an embodiment of the present application, after receiving a startup request and determining the first network storage object, an association relationship can be established between the target storage path and the first network storage object. Optionally, a redirection method can be used to redirect the target storage path to the first network storage object, so that the cloud computing product's access operation to the target storage path will be redirected to the first network storage object.
[0059] The first network storage object can be implemented using any network storage service, such as a file storage service, such as NAS (Network Attached Storage), an object storage service, or a block storage service. To further improve startup speed, the first network storage object can optionally be implemented using NAS. NAS is a file system that offers shared access, elastic scalability, high reliability, and high performance.
[0060] 204: Launch cloud computing products.
[0061] After associating the target storage path with the first network storage object, the cloud computing product process is started to start the cloud computing product.
[0062] After the target storage path is associated with the first network storage object, the server may generate a startup instruction and send the startup instruction to the cloud computing product.
[0063] The cloud computing product may store the generated first product data in a first network storage object associated with the target storage path.
[0064] In addition, in response to the startup instruction, the cloud computing product can also search the first network storage object associated with the target storage path for the presence of second product data. If so, the second product data can be obtained synchronously and its product status can be updated based on the second product data.
[0065] The second product data may be product data generated historically by the cloud computing product, or when the cloud computing product is rebuilt, the second product data may be product data generated by the original cloud computing product corresponding to the user, etc.
[0066] The product data referred to in the embodiments of the present application may refer to data generated by the product itself, such as product configuration data and / or product cache data. Product configuration data may refer to data pre-configured by a cloud computing product or generated based on user configuration operations. Product configuration data may include, for example, display configuration data of the cloud computing product, such as interface size and layout, connection configuration data, and product configuration at various stages of the product lifecycle.
[0067] In this embodiment, by storing product data in the first network storage object corresponding to the user, the product data will not be lost even when the operating system is rebuilt or the cloud computing product is revoked. The cloud computing product can access the product data from the first network storage object and can synchronously update the product status based on it, thereby ensuring the effective operation of the cloud computing product.
[0068] In some embodiments, associating the target storage path of the cloud computing product to the first network storage object may include: mounting the first network storage object; and in response to successful mounting of the first network storage object, associating the first product data storage path of the cloud computing product to the first network storage object.
[0069] In order to achieve fast access to the first network storage object, the first network storage object can be mounted first. Optionally, the first network storage object can be mounted to the operating system of the cloud computing product. For different types of operating systems, mounting the first network storage object to the operating system of the cloud computing product can be, for example, assigning a drive letter to the first network storage object in the operating system so that the first network storage object is mounted to the drive letter. The drive letter can be an existing drive letter or a newly created drive letter, etc. The user's access to the existing drive letter will actually be redirected to the first network storage object to achieve access to the first network storage object; or mounting the first network storage object to the operating system of the cloud computing product can be establishing a mapping relationship between the first network storage object and the local directory of the operating system so as to mount the first network storage object to the local directory. By mounting the first network storage object to an existing drive letter, the purpose of hiding the first network storage object from the user can be achieved.
[0070] The first network storage object can be implemented by using NAS. Using NAS to implement the first network storage object can increase the mounting speed of the first network storage object, thereby helping to increase the startup speed.
[0071] In some embodiments, associating the target storage path of the cloud computing product with the first network storage object may be: associating the target storage path of the cloud computing product with a target directory in the first network storage object; and the cloud computing product obtains the stored product data from the target directory.
[0072] The target directory may be a pre-configured directory, etc.
[0073] In some embodiments, the cloud computing product may also store user-provided data in the first network storage object. User-provided data may refer to data provided and perceived by the user, such as personal data uploaded or downloaded by the user, including personal files, pictures, videos, and the like.
[0074] Furthermore, to further improve startup speed and storage performance, particularly when the first network storage object is implemented as a NAS, due to the limited storage capacity and high cost of NAS, in order to improve storage performance, in some embodiments, the method may further include: determining a corresponding second network storage object based on the user identification information; and mounting the second network storage object. The cloud computing product is used to store user-provided data in the second network storage object.
[0075] In order to increase the mounting speed of the second network storage object and not affect the user's use of the second network storage object, in some embodiments, mounting the second network storage object may include: mounting the second network storage object asynchronously while mounting the first network storage object.
[0076] That is, after receiving the startup request, the first network storage object and the second network storage object can be mounted simultaneously. To avoid affecting the startup speed, different threads can be used to mount the first network storage object and the second network storage object respectively, thereby achieving the purpose of asynchronous mounting. This asynchronous method means starting different threads to mount the second network storage object.
[0077] The second network storage object can be implemented using any network storage service, such as NAS, object storage service, or block storage service, and this application is not limited thereto. Optionally, to meet storage requirements, the second network storage object can be implemented using an object storage service. Although network storage objects implemented using an object storage service have a slower mounting speed, they offer unlimited storage space and are low-cost, making them suitable for storing user-provided data.
[0078] The second network storage object may be mounted to the operating system of the cloud computing product.
[0079] To facilitate user selection, in some embodiments, mounting the second network storage object in an asynchronous manner may include:
[0080] The second network storage object is mounted to the operating system of the cloud computing product in an asynchronous manner, and a corresponding target drive letter is allocated to the second network storage object in the operating system; the cloud computing product is used to store the user-provided data in the second network storage object based on the storage request operation for the target drive letter.
[0081] In addition, the cloud computing product can generate storage prompt information corresponding to the target drive letter. The storage prompt information can, for example, be an icon corresponding to the target drive letter, etc., so that the host can display it and perceive the user's storage request operation based on the target judgment. The storage request operation can, for example, be a selection operation for the icon, etc.
[0082] The target drive letter can be an existing drive letter in the running system or a newly created drive letter. When the second network storage object is mounted to the existing drive letter, the original data of the existing drive letter will be unavailable, and access to the existing drive letter will be redirected to the second network storage object.
[0083] Figure 3 This is a flowchart of an embodiment of a data processing method provided in an embodiment of the present application. The technical solution of this embodiment is performed by a cloud computing product. The method may include the following steps:
[0084] 301: Acquire the generated first product data.
[0085] The first product data may be generated or generated during the operation of the cloud computing product. It may include product configuration data and cached product data. This data is inherent to the product and is not noticeable to the user. The user may perceive changes in the product status brought about by the first product data. The product status may include, for example, the interface display status and the processing status of objects provided by the cloud computing product. The objects may be videos or documents, and the processing status may include, for example, playback progress and modification history.
[0086] 302: Store the first product data in the first network storage object associated with the target storage path.
[0087] The first network storage object is determined based on user identification information in response to a startup request triggered by a user for a cloud computing product, and is associated with a target storage path.
[0088] The cloud computing product may be started after the target storage path is associated with the first network storage object.
[0089] It should be noted that the association between the target storage path and the first network storage object and the startup of the cloud computing product are Figure 2 The illustrated embodiment has been described in detail and will not be repeated here.
[0090] In this embodiment, by storing product data in the first network storage object corresponding to the user, the product data will not be lost even when the operating system is rebuilt or the cloud computing product is revoked. The cloud computing product can access the product data from the first network storage object and synchronize the product status accordingly, thereby ensuring the effective operation of the cloud computing product.
[0091] In some embodiments, the method may further include:
[0092] In response to the start instruction, second product data is obtained from the first network storage object associated with the target storage path; and the product status is updated based on the second product data.
[0093] The startup instruction is generated after the target storage path is associated with the first network storage object. During the startup of the cloud computing product, second product data can be obtained from the first network storage object associated with the target storage path, and the product status can be updated accordingly. The second product data can be historical product data generated by the cloud computing product, or, in the case of a cloud computing product reconstruction, the second product data can be product data generated by the user's original cloud computing product. This allows the cloud computing product to be restored to its original state after a system update or reconstruction, ensuring the effective operation of the cloud computing product and improving the user experience.
[0094] In some embodiments, the method may further include: determining user-provided data that the user requests to store; and saving the user-provided data to a second network storage object.
[0095] The second network storage object is determined based on the user identification information and can be mounted to the operating system of the cloud computing product for access by the cloud computing product.
[0096] The second network storage object may be mounted to the operating system of the cloud computing product in an asynchronous manner while the first network storage object is mounted on the server.
[0097] The specific mounting method of the second network storage object can be found in the above corresponding embodiments, which will not be repeated here.
[0098] In some embodiments, determining the user-provided data requested to be stored by the user may include: generating a display screen including storage prompt information corresponding to the second network storage object; sending the display screen to the host end for display; and determining the user-provided data requested to be stored by the user based on a data storage operation triggered by the user in response to the storage prompt information.
[0099] When mounting the second network storage object involves assigning a corresponding target drive letter to the second network storage object in the running system, the storage prompt information can include an icon corresponding to the target drive letter. The cloud computing product can send a display screen containing the storage prompt information corresponding to the second network storage object to the host terminal for display on the host terminal, thereby prompting the user about the second network storage object. The host terminal can detect data storage operations triggered by the user in response to the storage prompt information and notify the cloud computing product. This data storage operation can include user-provided data requested for storage by the user, so that the cloud computing product can determine the user-provided data.
[0100] In some embodiments, the method may further include:
[0101] Based on a data acquisition operation triggered by the user in response to the storage prompt information, corresponding user-provided data is acquired from the second network storage object.
[0102] That is, the user can also perform a data acquisition operation for the storage prompt information. The host side detects the data acquisition operation and can inform the cloud computing product, and the cloud computing product can obtain the corresponding user-provided data from the second network storage object.
[0103] The cloud computing product can send the user-provided data obtained from the second network storage object to the host end for display by the host end. The user can view the data or download the data locally.
[0104] In an actual application, the cloud computing product involved in the embodiment of the present application may refer to a cloud desktop / (or) cloud application. Therefore, the embodiment of the present application also provides a startup method, which may include:
[0105] Get the startup request triggered by the user for the cloud desktop / cloud application;
[0106] Determining a corresponding first network storage object based on the user identification information;
[0107] Associating the target storage path of the cloud desktop / cloud application with the first network storage object;
[0108] Start the cloud desktop / cloud application; wherein the cloud desktop / cloud application cloud is used to store the generated first cloud desktop data / first cloud application data to the first network storage object associated with the target storage path.
[0109] In some embodiments, obtaining the startup request triggered by the user for the cloud desktop / cloud application can be: obtaining the startup request sent by the host end deployed on the terminal device for the cloud desktop or / cloud application; the startup request is generated by the host end in response to the user startup operation.
[0110] In some embodiments, starting a cloud desktop / cloud application may include starting a cloud desktop process / cloud application process to run the cloud desktop / cloud application.
[0111] In some embodiments, associating the target storage path of the cloud desktop / cloud application to the first network storage object can be: mounting the first network storage object; in response to successful mounting of the first network storage object, redirecting the target storage path of the cloud desktop / cloud application to the first network storage object.
[0112] In some embodiments, the method may further include: determining a corresponding second network storage object based on user identification information; mounting the second network storage object asynchronously while mounting the first network storage object; and the cloud desktop / cloud application is used to save the user-provided data to the second network storage object.
[0113] For ease of understanding, the following uses cloud desktop / cloud application as an example to introduce the technical solution of this application. Figure 4 As shown in FIG, a flowchart of another embodiment of the data processing method provided by the embodiment of the present application is shown, and the method may include the following steps:
[0114] 401: The server 10 obtains a startup request triggered by the user for the cloud desktop / cloud application 60.
[0115] The startup request may be generated and sent by the host terminal deployed on the terminal device 20 in response to the user's startup operation for the cloud desktop / cloud application.
[0116] 402: The server 10 determines the first network storage object 40 and the second network storage object 50 allocated to the user.
[0117] The corresponding first network storage object 40 and second network storage object 50 may be searched based on the user identification information in the start request.
[0118] 403: The server 10 mounts the first network storage object 40 and the second network storage object 50 simultaneously in an asynchronous manner.
[0119] Optionally, the first thread may be used to execute the mounting operation of the first network storage object and subsequent association operations and startup operations, etc. The second thread may be used to execute the mounting operation of the second network storage object.
[0120] The first network storage object may be implemented using NAS, also known as a NAS network disk, and the second network storage object may be implemented using an object storage service, for example.
[0121] 404 : In response to the first network storage object 40 being mounted successfully, the server 10 associates the target storage path corresponding to the cloud desktop / cloud application with the first network storage object.
[0122] The target storage path of the cloud desktop / cloud application may be redirected to the first network storage object.
[0123] The target storage path includes the storage path of cloud desktop data / cloud application data, and may also include some user personal data storage paths, etc.
[0124] Taking the Windows operating system as an example, the target storage path may include:
[0125] C:\Users\${User}\AppData (cloud application data storage path);
[0126] C:\Users\${User}\Desktop (cloud desktop data storage path);
[0127] C:\Users\${User}\Videos (video storage path);
[0128] C:\Users\${User}\Contacts (contact storage path);
[0129] C:\Users\${User}\Links (link storage path);
[0130] C:\Users\${User}\Favorites (Favorites storage path);
[0131] C:\Users\${User}\Searches (search file storage path);
[0132] C:\Users\${User}\Pictures (picture storage path);
[0133] C:\Users\${User}\Documents (document storage path);
[0134] C:\Users\${User}\Downloads (download data storage path);
[0135] C:\Users\${User}\Music (audio storage path).
[0136] 405: Start the cloud desktop / cloud application.
[0137] On the server side, the cloud desktop / cloud application has a corresponding process. By starting the process, the cloud desktop / cloud application can be run.
[0138] After the cloud desktop / cloud application is started, it can connect and communicate with the host.
[0139] 406: In response to the start instruction, the cloud desktop / cloud application obtains the second cloud desktop data / second cloud application data from the first network storage object associated with the target storage path.
[0140] During the startup of the cloud desktop / cloud application, the target storage path will be accessed. Since the target storage path is redirected to the first network storage object, access to the target storage path will be redirected to the first network storage object to obtain the second cloud desktop data / second cloud application data from the first network storage object.
[0141] 407: Update the cloud desktop status based on the second cloud desktop data or update the cloud application status based on the second cloud application data.
[0142] The second desktop data / second cloud application data may be historical data generated by the cloud desktop / cloud application, or, if the cloud desktop / cloud application is a rebuilt product, may be historical data generated by the original cloud desktop / cloud application.
[0143] By obtaining the second cloud desktop data / second cloud application data from the first network storage object, access to historical data can be achieved to synchronously obtain the cloud desktop status or cloud application status.
[0144] 408: The cloud desktop acquires first cloud desktop data or the cloud application acquires first cloud application data.
[0145] 409: Store the first cloud desktop data / first cloud application data in the first network storage object.
[0146] The first cloud desktop data / first cloud application data will be stored in the target storage path. Since the target storage path is associated with the first network storage object, access to the target storage path will be redirected to the first network storage object, so that the first cloud desktop data / first cloud application data will actually be stored in the first network storage object.
[0147] 410: The cloud desktop / cloud application determines the user personal data requested to be stored by the user.
[0148] 411: Store the user's personal data in the second network storage object.
[0149] The user's personal data may be sent by the user to the second network storage, thereby storing the user's personal data in the second network storage object. The host end of the terminal device 20 may display storage prompt information of the second network storage object, and the cloud desktop / cloud application may generate a display screen including the storage prompt information corresponding to the second network storage object. The display screen may be generated after receiving a storage trigger request and sent to the host end for display, so that the user can trigger a data storage operation for the second network storage object based on the storage prompt information, and the data storage operation may include the user's personal data.
[0150] In an embodiment of the present application, a first network storage object is used to store cloud desktop data / cloud application data, and a second network storage object is used to store user personal data, thereby ensuring startup speed and ensuring that various types of data are stored in the network storage object along with the user, without the problem of data loss. In any case, the cloud desktop / cloud application can still access the data with the user's determination, ensuring the effective operation of the cloud desktop / cloud application without the need for the user to repeat operations, thereby improving the user experience.
[0151] Figure 5 This is a schematic structural diagram of an embodiment of a starting device provided in an embodiment of the present application. The device may include:
[0152] The request acquisition module 501 is used to obtain a startup request triggered by a user for a cloud computing product;
[0153] A first determining module 502 is configured to determine a corresponding first network storage object based on user identification information;
[0154] An association module 503 is configured to associate a target storage path of the cloud computing product with the first network storage object;
[0155] The startup module 504 is used to start the cloud computing product; the cloud computing product is used to store the generated first product data in the first network storage object associated with the target storage path.
[0156] In some embodiments, the apparatus may further include:
[0157] A mounting module, configured to mount the first network storage object;
[0158] The associating module may specifically associate the first product data storage path of the cloud computing product with the first network storage object in response to the first network storage object being successfully mounted.
[0159] In some embodiments, the apparatus may further include:
[0160] A second determining module, configured to determine a corresponding second network storage object based on the user identification information;
[0161] The mounting module is also used to determine the corresponding second network storage object based on user identification information; while mounting the first network storage object, the second network storage object is mounted asynchronously; and the cloud computing product is used to save the user-provided data to the second network storage object.
[0162] In some embodiments, the mounting module mounting the first network storage object may include: mounting the first network storage object to an operating system of a cloud computing product.
[0163] In some embodiments, the association module may specifically associate the target storage path of the cloud computing product with the target directory in the first network storage object; the cloud computing product is used to store the first product data in the target directory.
[0164] In some embodiments, the mounting module may mount the second network storage object in an asynchronous manner, which may include: mounting the second network storage object to the operating system of the cloud computing product in an asynchronous manner, and allocating a corresponding target drive letter to the second network storage object in the operating system; the cloud computing product stores the user-provided data in the second network storage object based on the storage request operation for the target drive letter.
[0165] In some embodiments, the cloud computing product is a cloud desktop / cloud application;
[0166] The request acquisition module may specifically acquire a startup request sent by a host end deployed on a terminal device by a cloud desktop / cloud application; the startup request is generated by the host end in response to a user startup operation.
[0167] In some embodiments, the startup module may specifically start a cloud desktop process / cloud application process to run the cloud desktop / cloud application.
[0168] In some embodiments, the association module may specifically mount the first network storage object; in response to successful mounting of the first network storage object, redirect the target storage path of the cloud desktop / cloud application to the first network storage object.
[0169] Figure 5 The startup device can execute Figure 2 The implementation principle and technical effects of the startup method described in the embodiment are not described in detail. The specific manner in which each module and unit performs operations in the startup device in the above embodiment has been described in detail in the embodiment of the method, and will not be elaborated here.
[0170] Figure 6 A schematic structural diagram of an embodiment of a data processing device provided in an embodiment of the present application, the device may include:
[0171] A first acquisition module 601 is used to acquire the generated first product data;
[0172] The data storage module 602 is used to store the first product data in the first network storage object associated with the target storage path; wherein the first network storage object is determined based on the user identification information in response to the startup request triggered by the user for the cloud computing product and is associated with the target storage path.
[0173] In some embodiments, the apparatus may further include:
[0174] a second acquisition module, configured to acquire, in response to a start instruction, second product data from the first network storage object associated with the target storage path; wherein the start instruction is generated after the target storage path is associated with the first network storage object;
[0175] The status updating module is used to update the product status based on the second product data.
[0176] In some embodiments, the first acquisition module is further configured to determine the user-provided data requested to be stored by the user.
[0177] The data storage module is further used to save the user-provided data to a second network storage object; wherein the second network storage object is determined based on the user identification information.
[0178] In some embodiments, the first acquisition module can specifically generate a display screen containing storage prompt information corresponding to the second network storage object; send the display screen to the host end for display; and determine the user-provided data requested to be stored by the user based on the data storage operation triggered by the user in response to the storage prompt information.
[0179] In some embodiments, the first acquisition module may also be configured to acquire corresponding user-provided data from the second network storage object based on a data acquisition operation triggered by the user in response to storage prompt information.
[0180] Figure 6 The data processing device can execute Figure 3 The implementation principle and technical effects of the data processing method described in the illustrated embodiment will not be described in detail. The specific manner in which each module and unit performs operations in the data processing device in the above embodiment has been described in detail in the embodiment of the method, and will not be elaborated here.
[0181] In addition, the present application also provides a computing device, such as Figure 7 As shown, the computing device may include a storage component 701 and a processing component 702;
[0182] The storage component 702 stores one or more computer instructions, wherein the one or more computer instructions are called and executed by the processing component 702 to implement the following Figure 2 The startup method shown or Figure 3 The data processing method shown.
[0183] Of course, a computing device may also include other components, such as input / output interfaces, display components, communication components, etc.
[0184] The input / output interface provides an interface between the processing component and peripheral interface modules, which may be output devices, input devices, etc. The communication component is configured to facilitate wired or wireless communication between the computing device and other devices.
[0185] The processing component may include one or more processors to execute computer instructions to complete all or part of the steps in the above method. Of course, the processing component may also be implemented as one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above method.
[0186] The storage component is configured to store various types of data to support operations at the terminal. The storage component can be implemented by any type of volatile or non-volatile memory device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.
[0187] It should be noted that the computing device can be a physical device or an elastic computing host provided by a cloud computing platform, etc. It can be implemented as a distributed cluster consisting of multiple servers or terminal devices, or as a single server or a single terminal device.
[0188] The present application also provides a computer-readable storage medium storing a computer program, which can achieve the above-mentioned Figure 2 The starting method described in the embodiment shown or Figure 3 The data processing method described in the illustrated embodiment. The computer-readable medium may be included in the electronic device described in the above embodiment, or may exist independently without being assembled into the electronic device.
[0189] The embodiment of the present application also provides a computer program product, which includes a computer program carried on a computer-readable storage medium, and when the computer program is executed by a computer, it can achieve the above-mentioned Figure 2 The starting method of the embodiment shown or Figure 3 The data processing method described in the illustrated embodiment. In such an embodiment, the computer program can be downloaded and installed from a network and / or installed from a removable medium. When the computer program is executed by the processor, the various functions defined in the system of the present application are performed.
[0190] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0191] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they may be located in one location or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of the present embodiment. Persons of ordinary skill in the art will be able to understand and implement the present invention without inventive effort.
[0192] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, or of course, by hardware. Based on this understanding, the essence of the above technical solution or the part that contributes to the existing technology can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or certain parts of the embodiments.
[0193] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A startup method, characterized in that: include: Obtaining user-triggered startup requests for cloud computing products; Determining a corresponding first network storage object based on the user identification information; Associating the target storage path of the cloud computing product with the first network storage object; The cloud computing product is started; the cloud computing product is used to store the generated first product data in the first network storage object associated with the target storage path; The associating the target storage path of the cloud computing product with the first network storage object includes: Mounting the first network storage object; in response to successful mounting of the first network storage object, associating a first product data storage path of the cloud computing product with the first network storage object; the first product data is generated during the operation of the cloud computing product, and the first product data includes product configuration data and product cache data; Determining a corresponding second network storage object based on the user identification information; The second network storage object is mounted asynchronously while the first network storage object is mounted; the cloud computing product is used to save user-provided data to the second network storage object; the user-provided data refers to data provided and perceived by the user, including personal data uploaded by the user or data downloaded by the user; The step of mounting the second network storage object asynchronously while mounting the first network storage object includes mounting the first network storage object and the second network storage object respectively using different threads.
2. The method according to claim 1, characterized in that Associating the target storage path of the cloud computing product with the first network storage object includes: The target storage path of the cloud computing product is associated with the target directory in the first network storage object; the cloud computing product is used to store the first product data in the target directory.
3. The method according to claim 1, characterized in that The step of mounting the second network storage object in an asynchronous manner includes: The second network storage object is mounted to the operating system of the cloud computing product in an asynchronous manner, and a corresponding target drive letter is allocated to the second network storage object in the operating system; the cloud computing product is used to store the user-provided data in the second network storage object based on the storage request operation for the target drive letter.
4. The method according to claim 1, wherein The cloud computing product is a cloud desktop / cloud application; The obtaining of a user-triggered startup request for a cloud computing product includes: Obtaining a startup request sent by a host terminal deployed with the cloud desktop / cloud application on a terminal device; the startup request is generated by the host terminal in response to a user startup operation; Said starting of said cloud computing product comprises: Start the cloud desktop process / cloud application process to run the cloud desktop / cloud application.
5. The method according to claim 4, characterized in that Associating the target storage path of the cloud computing product with the first network storage object includes: Mounting the first network storage object; In response to successful mounting of the first network storage object, the target storage path of the cloud desktop / cloud application is redirected to the first network storage object.
6. A data processing method, characterized in that: include: Obtaining generated first product data; the first product data is generated during the operation of the cloud computing product, and the first product data includes product configuration data and product cache data; Storing the first product data in a first network storage object associated with the target storage path; wherein the first network storage object is determined based on user identification information in response to a user-triggered startup request for the cloud computing product and is associated with the target storage path; Determining user-provided data requested to be stored by the user; the user-provided data refers to data provided and perceived by the user, and the user-provided data includes personal data uploaded by the user or data downloaded by the user; Saving the user-provided data to a second network storage object; wherein the second network storage object is determined based on user identification information; The first network storage object and the second network storage object are mounted respectively using different threads in response to the start request.
7. The method according to claim 6, characterized in that Also includes: In response to a start instruction, obtaining second product data from the first network storage object associated with the target storage path; wherein the start instruction is generated after the target storage path is associated with the first network storage object; The product status is updated based on the second product data.
8. The method according to claim 6, characterized in that Determining the user-provided data requested to be stored by the user includes: generating a display screen including storage prompt information corresponding to the second network storage object; Sending the display image to the host terminal for display; Based on the data storage operation triggered by the user in response to the storage prompt information, the user-provided data requested to be stored by the user is determined.
9. The method according to claim 8, characterized in that Also includes: Based on a data acquisition operation triggered by the user in response to the storage prompt information, corresponding user-provided data is acquired from the second network storage object.
10. A computing device, characterized in that It comprises a processing component and a storage component; the storage component stores one or more computer instructions; the one or more computer instructions are used to be called and executed by the processing component to implement the startup method as described in any one of claims 1 to 5 or the data processing method as described in any one of claims 6 to 9.
11. A computer storage medium, characterized in that A computer program is stored, and when the computer program is executed by a computer, the startup method according to any one of claims 1 to 5 or the data processing method according to any one of claims 6 to 9 is implemented.
Citation Information
Patent Citations
Object storage method and device based on cloud computing and storage medium
CN114265563A
Cloud application processing method and system
CN114979114A