A cloud desktop management method and system, and a storage medium
By utilizing the cloud desktop execution module, decision-making module, and resource management module in the cloud desktop management system, and leveraging smart contracts and blockchain technology, the system addresses the issues of insufficient resource sharing and security in existing cloud desktop technologies, achieving seamless connection and secure management of multiple cloud desktops.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA MOBILEHANGZHOUINFORMATION TECH CO LTD
- Filing Date
- 2022-07-06
- Publication Date
- 2026-05-05
AI Technical Summary
Existing cloud desktop technologies cannot achieve resource sharing and seamless connection among multiple cloud desktops, and resource management security is not high.
By utilizing the cloud desktop execution module, decision-making module, and resource management module in the cloud desktop management system, and employing smart contracts and blockchain technology for two-way verification of devices and resources, resource sharing and seamless connection among multiple cloud desktops are achieved, while also improving data storage security.
It enables resource sharing and seamless connection among multiple cloud desktops, improving the security of cloud desktop resource management and data storage.
Smart Images

Figure CN116961953B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of cloud desktop technology, and in particular to a cloud desktop management method and system, as well as a storage medium. Background Technology
[0002] With the continuous innovation of science and technology, the Internet has been widely used in various industries, creating numerous values. Cloud desktop technology is the most important part of the modern mobile office service process. Cloud desktop is a distributed cloud computing storage technology that enables rapid deployment and efficient operation and maintenance of desktops, significantly reducing the operating costs of office desktops and meeting the business needs of daily office work, human resources management, financial management and other tasks.
[0003] Currently, cloud desktop-related technical solutions are relatively simple. Typically, a single cloud desktop only transmits data to the user using the client via a desktop transmission protocol. Users cannot achieve resource sharing and seamless connection among multiple cloud desktops. Furthermore, the security of cloud desktop resource management is not high. Summary of the Invention
[0004] This application provides a cloud desktop management method and system, as well as a storage medium, which can realize resource sharing and seamless connection of multiple cloud desktops, while improving the security of cloud desktop resource management and data storage.
[0005] The technical solution of this application embodiment is implemented as follows:
[0006] In a first aspect, embodiments of this application provide a cloud desktop management and control method, the cloud desktop management and control method comprising:
[0007] After receiving an access request from a cloud desktop device, the cloud desktop execution module forwards the access request to the cloud desktop decision module.
[0008] Based on the access request, the cloud desktop decision module calls the cloud desktop resource management module to obtain cloud desktop inventory information. At the same time, the cloud desktop decision module calls the user information module to obtain the allocatable cloud desktop resources corresponding to the cloud desktop device.
[0009] The cloud desktop decision module determines whether the smart contract is satisfied based on the cloud desktop inventory information and the allocable cloud desktop resources; wherein, the smart contract is used to verify the device and resources.
[0010] If the smart contract is satisfied, the cloud desktop decision module sends an access permission instruction to the cloud desktop execution module.
[0011] Based on the access permission instruction, the cloud desktop execution module establishes the open virtual capabilities of the cloud desktop and sends the access permissions of the open virtual capabilities of the cloud desktop to the cloud desktop device, so that the cloud desktop device can access the target cloud desktop in the blockchain based on the access permissions of the open virtual capabilities of the cloud desktop.
[0012] Secondly, this application provides a cloud desktop management system, which includes: a user information module, a cloud desktop resource management module, a cloud desktop execution module, and a cloud desktop decision module.
[0013] The cloud desktop execution module is used to forward the access request to the cloud desktop decision module after receiving the access request sent by the cloud desktop device.
[0014] The cloud desktop decision module is used to call the cloud desktop resource management module based on the access request to obtain cloud desktop inventory information. At the same time, the cloud desktop decision module calls the user information module to obtain the allocable cloud desktop resources corresponding to the cloud desktop device. Based on the cloud desktop inventory information and the allocable cloud desktop resources, it determines whether the smart contract is satisfied. If the smart contract is satisfied, the cloud desktop decision module sends an access permission instruction to the cloud desktop execution module.
[0015] The cloud desktop execution module is further configured to establish open virtual capabilities of the cloud desktop based on the allowed access instruction, and to send the access permissions of the open virtual capabilities of the cloud desktop to the cloud desktop device, so that the cloud desktop device can access the target cloud desktop based on the access permissions of the open virtual capabilities of the cloud desktop.
[0016] Thirdly, this application provides a cloud desktop management system, which includes: a sending unit, a calling unit, a judging unit, and an establishing unit;
[0017] The sending unit is used to forward the access request to the cloud desktop decision module after receiving the access request sent by the cloud desktop device.
[0018] The calling unit is used to call the cloud desktop resource management module based on the access request to obtain cloud desktop inventory information, and at the same time call the user information module to obtain the allocatable cloud desktop resources corresponding to the cloud desktop device.
[0019] The judgment unit is used to determine whether the smart contract is satisfied based on the cloud desktop inventory information and the allocable cloud desktop resources.
[0020] The sending unit is further configured to send an access permission instruction to the cloud desktop execution module if the smart contract is satisfied.
[0021] The establishment unit is used to establish open virtual capabilities for the cloud desktop based on the access permission instruction;
[0022] The sending unit is further configured to send access permissions for the open virtual capabilities of the cloud desktop to the cloud desktop device, so that the cloud desktop device can access the target cloud desktop based on the access permissions for the open virtual capabilities of the cloud desktop.
[0023] Fourthly, embodiments of this application provide a cloud desktop management system, which includes: a processor and a memory; wherein,
[0024] The memory is used to store computer programs that can run on the processor;
[0025] The processor is used to execute the cloud desktop management method described above when running the computer program.
[0026] Fifthly, embodiments of this application provide a computer-readable storage medium, characterized in that the storage medium stores computer program code, and when the computer program code is executed by a computer, it implements the cloud desktop management method as described above. Attached Figure Description
[0027] Figure 1 This is a schematic diagram of the cloud desktop management method proposed in the embodiments of this application. Figure 1 ;
[0028] Figure 2 This is a schematic diagram illustrating the addition of a network to the cloud desktop proposed in the embodiments of this application;
[0029] Figure 3 This is a schematic diagram of cloud desktop discovery proposed in an embodiment of this application;
[0030] Figure 4 This is a schematic diagram of cloud desktop operation data storage proposed in an embodiment of this application;
[0031] Figure 5 This is a schematic diagram illustrating the cloud desktop operation data retrieval method proposed in an embodiment of this application;
[0032] Figure 6 This is a schematic diagram of virtual capability resource mapping proposed in an embodiment of this application;
[0033] Figure 7 This is a schematic diagram illustrating the cloud desktop related attribute configuration proposed in an embodiment of this application;
[0034] Figure 8 This is a schematic diagram of the cloud desktop management method proposed in the embodiments of this application. Figure 2 ;
[0035] Figure 9 This is a schematic diagram of the cloud desktop management method proposed in the embodiments of this application. Figure 3 ;
[0036] Figure 10 This is a schematic diagram of the cloud desktop response proposed in an embodiment of this application;
[0037] Figure 11 This is a schematic diagram illustrating the cloud desktop exiting the network as proposed in an embodiment of this application;
[0038] Figure 12 This is a schematic diagram of the composition structure of the cloud desktop management system proposed in the embodiments of this application. Figure 1 ;
[0039] Figure 13 This is a schematic diagram of the composition structure of the cloud desktop management system proposed in the embodiments of this application. Figure 2 ;
[0040] Figure 14 This is a schematic diagram of the composition structure of the cloud desktop management system proposed in the embodiments of this application. Figure 3 ; Detailed Implementation
[0041] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are only for explaining the relevant application and not for limiting the application. Furthermore, it should be noted that, for ease of description, only the parts related to the relevant application are shown in the accompanying drawings.
[0042] With continuous innovation in science and technology, the internet has been widely applied across various industries, creating immense value. Cloud desktop technology, as a crucial component of modern mobile office services, is an indispensable element directly impacting the quality and efficiency of mobile work and maximizing resource utilization. Based on distributed cloud computing storage technology, cloud desktops have become a mature computer service product, providing convenient, personalized, and secure services to users at different levels of the internet market, meeting their various operational needs. The application of cloud desktop technology can help improve data transmission levels, reduce overall computer desktop maintenance costs, and help businesses generate greater economic benefits.
[0043] In recent years, cloud desktop technology has matured significantly, replacing PCs in many scenarios. However, the key considerations for cloud desktops vary across different domains. Currently, cloud desktops on the market are all domain-specific; if these domain-specific issues are not addressed, the adaptability of cloud desktop products will be greatly reduced. The management of traditional distributed desktops becomes exceptionally complex and cumbersome as enterprises expand. Maintenance personnel are forced to dedicate considerable time to constantly repairing terminals, updating applications, and backing up data. Due to the heavy workload, many user devices' operating systems and applications cannot be updated in a timely manner, potentially leading to decreased work efficiency and increased system risks.
[0044] Existing technical solutions achieve the effect of projecting a cloud desktop onto the same client through data sharing between containers by constructing a data exchange intermediary component and a screen switcher, giving the user the perception of a shared screen. However, this method consumes a lot of resources and incurs significant costs. Meanwhile, some patents utilize the main control chip to achieve multi-system multi-screen switching, enabling seamless multi-screen display switching for the user. This greatly enhances the human-computer interaction experience through seamless focus switching and data exchange. However, this approach does not specify the overall scalability of the system and does not implement switching based on relevant capabilities.
[0045] Cloud desktops offer numerous scenario-based solutions, enabling rapid deployment and efficient operation and maintenance of desktops, significantly reducing office desktop operating costs and meeting business needs such as daily office work, human resources management, and financial management. However, under the current technological background, cloud desktop-related technical solutions are still relatively simple. Typically, a single cloud desktop only transmits data to the user using the client via a desktop transmission protocol, and users cannot achieve resource sharing and seamless connection between multiple cloud desktops. In various real-world scenarios, cloud desktop vendors need to provide this capability while ensuring user convenience and mobility, and ensuring that there are no conflicts when switching between multiple cloud desktop resources. Furthermore, existing technologies do not offer high security for the management of cloud desktop resources.
[0046] To address the current problems with cloud desktops, this application provides a cloud desktop management method, system, and storage medium. The method includes: after receiving an access request from a cloud desktop device, the cloud desktop execution module forwards the access request to the cloud desktop decision module; based on the access request, the cloud desktop decision module calls the cloud desktop resource management module to obtain cloud desktop inventory information, and simultaneously calls the user information module to obtain the allocatable cloud desktop resources corresponding to the cloud desktop device; the cloud desktop decision module determines whether a smart contract is satisfied based on the cloud desktop inventory information and allocatable cloud desktop resources; if the smart contract is satisfied, the cloud desktop decision module sends an access permission instruction to the cloud desktop execution module; based on the access permission instruction, the cloud desktop execution module establishes open virtual capabilities for the cloud desktop and distributes the access permissions of the open virtual capabilities to the cloud desktop device, enabling the cloud desktop device to access the target cloud desktop based on the access permissions of the open virtual capabilities. In the embodiments of this application, the cloud desktop management system can perform two-way verification of devices and resources according to the permission scope set by the smart contract. At the same time, the cloud desktop management system can store and manage cloud desktop resources on the blockchain. Therefore, under the premise of satisfying the smart contract, cloud desktop devices can be allowed to directly access the target cloud desktop in the blockchain, realize resource sharing and seamless connection of multiple cloud desktops, and improve the security of cloud desktop resource management and data storage.
[0047] The technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings.
[0048] Example 1
[0049] This application provides a cloud desktop management method, which is applied to a cloud desktop management system. The cloud desktop management system includes: a user information module, a cloud desktop resource management module, a cloud desktop execution module, and a cloud desktop decision module. Figure 1 This is a schematic diagram of the cloud desktop management method proposed in the embodiments of this application. Figure 1 ,like Figure 1 As shown, the method for managing cloud desktops by the cloud desktop management system may include the following steps:
[0050] Step 101: After receiving the access request sent by the cloud desktop device, the cloud desktop execution module forwards the access request to the cloud desktop decision module.
[0051] In the embodiments of this application, the cloud desktop device can first initiate an access request to the cloud desktop through the cloud desktop execution module. After receiving the access request sent by the cloud desktop device, the cloud desktop execution module will forward the access request to the cloud desktop decision module.
[0052] It should be noted that, in the embodiments of this application, the cloud desktop device can be a variety of types of devices, including but not limited to personal computers (PCs), tablets, mobile phones, etc.
[0053] It should be noted that, in the embodiments of this application, the cloud desktop management system stores the login information of different types of cloud desktop devices in the user information module, and at the same time, the cloud desktop management system stores the allocatable cloud desktop resources corresponding to different types of cloud desktop devices in the cloud desktop resource management module. This enables the cloud desktop management system to uniformly schedule and allocate cloud desktop resources after a cloud desktop device initiates an access request to the cloud desktop.
[0054] It should be noted that, in the embodiments of this application, blockchain is a novel application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanisms, and encryption algorithms. Essentially, a blockchain is a decentralized database, a chain of data blocks linked together using cryptographic methods. Each data block contains information about a batch of network transactions, used to verify the validity of the information (anti-counterfeiting) and to generate the next block.
[0055] It should be noted that in the embodiments of this application, the cloud desktop management system stores user information and cloud desktop resources based on blockchain storage. The blockchain adopts a chain structure and is encrypted using encryption algorithms. The current data block stores the data from the previous block. This improves the reliability of data storage.
[0056] It should be noted that, in the embodiments of this application, the cloud desktop device can first initiate an access request to the cloud desktop through the cloud desktop execution module. After receiving the access request sent by the cloud desktop device, the cloud desktop execution module will then forward the access request to the cloud desktop decision module.
[0057] It should be noted that, in the embodiments of this application, before the cloud desktop device initiates an access request to the cloud desktop through the cloud desktop execution module, the cloud desktop execution module authorizes and confirms the cloud desktop device. Only the cloud desktop device that has been authorized and confirmed can send an access request to the cloud desktop to the cloud desktop execution module.
[0058] Furthermore, the specific process of the cloud desktop execution module authorizing and confirming cloud desktop devices is as follows: the cloud desktop execution module verifies the key of the cloud desktop device and determines whether the key of the cloud desktop device matches the public key of the cloud desktop resource. If the key of the cloud desktop device matches the public key of the cloud desktop resource, the cloud desktop device can be allowed to access the cloud desktop through the cloud desktop execution module. After the cloud desktop execution module receives the access request sent by the cloud desktop device, it will forward the access request to the cloud desktop decision module.
[0059] Step 102: Based on the access request, the cloud desktop decision module calls the cloud desktop resource management module to obtain cloud desktop inventory information. At the same time, the cloud desktop decision module calls the user information module to obtain the allocatable cloud desktop resources corresponding to the cloud desktop device.
[0060] In the embodiments of this application, after the cloud desktop execution module receives an access request sent by the cloud desktop device and forwards the access request to the cloud desktop decision module, the cloud desktop decision module can call the cloud desktop resource management module to obtain cloud desktop inventory information based on the access request of the cloud desktop device. At the same time, the cloud desktop decision module can also call the user information module to obtain the allocatable cloud desktop resources corresponding to the cloud desktop device.
[0061] It should be noted that, in the embodiments of this application, the cloud desktop decision module can call the cloud desktop resource management module to obtain cloud desktop inventory information based on the access request of the cloud desktop device.
[0062] Furthermore, in the embodiments of this application, after the cloud desktop management system obtains the addition instruction for the cloud desktop to be added, the cloud desktop resource management module can obtain the cloud desktop resources of the cloud desktop to be added based on the UPnP protocol; and construct cloud desktop inventory information based on the cloud desktop resources of the cloud desktop to be added.
[0063] It should be noted that in the embodiments of this application, the cloud desktop resources are virtual cloud hosts under the UPnP protocol, which can be regarded as a "container" associated with services and containing conventional devices, including a series of system applications and various services. These cloud desktop resources can be distributed across multiple network units, or they can be implemented in the form of hardware plus software functional units.
[0064] It should be noted that, in the embodiments of this application, the Universal Plug and Play (UPnP) protocol is developed by the Universal Plug and Play Forum (UPnP). TMUPnP is a set of network protocols promoted by the Internet Protocol (IPP). The goal of this protocol is to enable seamless interconnection of various devices in home networks (data sharing, communication, and entertainment) and corporate networks, and to simplify the implementation of related networks. UPnP achieves this goal by defining and publishing the UPnP device control protocol, based on open, Internet communication network protocol standards. The first step in a UPnP network is discovery. When a device is added to the network, the UPnP detection protocol allows the device to broadcast its services to the control point. Similarly, when a control point joins the network, it can also search for information about devices of interest present in the network. The next step in the UPnP protocol is description. When a control point detects a device, it still knows very little about it. To allow the control point to learn more about the device or interact with it, the control point must obtain more information from the Uniform Resource Locator (URL) contained in the detection information sent by the device. A device's UPnP description is written in Extensible Markup Language (XML) and includes brand and manufacturer information such as model name and serial number, manufacturer name, and brand-related URLs. The next step in a UPnP network is control. Once a control point obtains the device description information, it can send commands to the device. The control point sends an appropriate control message to the service-related control URL (enclosed in the device description). Control messages are also described in XML using the Simple Object Access Protocol (SOAP). Similar to function calls, services respond to control messages by returning action-related values.
[0065] It should be noted that, in the embodiments of this application, Figure 2 This is a schematic diagram illustrating the connection of the cloud desktop to the network in this embodiment. Figure 3 This is a diagram illustrating cloud desktop discovery. For example... Figure 2 , Figure 3 As shown, after the cloud desktop management system receives the add command for a cloud desktop to be added, the cloud desktop resource management module can discover and control the cloud desktop resources through the UPnP protocol. The UPnP protocol is a standard protocol with automatic discovery and control. The cloud desktop management system can use the data center as a universal UPnP control point. The UPnP protocol enables zero-configuration for cloud desktops. When the cloud desktop management system adds a cloud desktop to the blockchain, the UPnP discovery protocol allows it to multicast an announcement to the cloud desktop management system indicating its online status and describing its functionality. Through the attribute description file provided by the cloud desktop, detailed information about the cloud desktop and its related virtual capabilities is obtained, and this information can be recorded through the cloud desktop resource module. This allows the acquisition of cloud desktop inventory information.
[0066] Furthermore, in the embodiments of this application, after the cloud desktop device has been verified and obtained the relevant cloud desktop usage permission, the cloud desktop management system will select the operation to be performed according to the description of the cloud desktop and know the services provided by the cloud desktop, transmit the control behavior request to the designated cloud desktop node, request the corresponding cloud desktop to start the service and listen to the status of the cloud desktop, and take corresponding processing actions when the status changes. At the same time, the cloud desktop will feed back relevant information to the management system after executing the command.
[0067] Furthermore, in the embodiments of this application, when the cloud desktop management system receives an instruction to add a cloud desktop, the cloud desktop resource management module obtains the cloud desktop resources of the cloud desktop to be added based on the UPnP protocol; and constructs cloud desktop inventory information based on the cloud desktop resources of the cloud desktop to be added. Simultaneously, the cloud desktop management system stores the cloud desktop resources of the cloud desktop to be added and the corresponding authentication unit on a block.
[0068] It should be noted that, in the embodiments of this application, the cloud desktop management system can store the public key of the cloud desktop resource and the access control policy of the cloud desktop together in a block of the blockchain as an authentication unit to verify the legitimacy of the cloud desktop providing virtual capability resources. In the blockchain, except for the initial block, each block will sequentially store the stored content of the previous block, and perform hash operations on the authentication unit data in a chain structure. Because the blockchain adopts a blockchain structure and performs trusted data signature processing through encryption algorithms, specifically through Message-Digest Algorithm (MD5), Secure Hash 15 Algorithm (SHA), etc., the hash value of the previous block's data will be stored in the current data block. Therefore, the cost for a third party to add malicious cloud desktop resources to the blockchain will be very high, thereby improving the effectiveness and reliability of the overall cloud desktop management process.
[0069] In the embodiments of this application, the cloud desktop decision module can call the cloud desktop resource management module to obtain cloud desktop inventory information based on the access request of the cloud desktop device. At the same time, the cloud desktop decision module can also call the user information module to obtain the allocatable cloud desktop resources corresponding to the cloud desktop device.
[0070] It should be noted that, in the embodiments of this application, the cloud desktop decision module can also call the user information module to obtain the allocatable cloud desktop resources corresponding to the cloud desktop device based on the access request of the cloud desktop device.
[0071] Furthermore, in the embodiments of this application, the cloud desktop decision module can also call the user information module to obtain the allocatable cloud desktop resources corresponding to the cloud desktop device based on the access request of the cloud desktop device. The user information module can pre-store the login information of at least one device and the allocatable cloud desktop resources of at least one device.
[0072] For example, in the embodiments of this application, the user information module can pre-store login information of at least one device, such as login information of a personal computer, tablet computer, mobile phone, etc., without being specifically limited to storing login information of other devices. At the same time, the user information module can pre-store at least one allocatable cloud desktop resource corresponding to the device. For example, for different devices, the user information module can store PC cloud desktop suitable for personal computers, tablet computer cloud desktop suitable for tablet computers, and mobile phone cloud desktop suitable for mobile phones. Thus, the user information module can pre-store login information of at least one device and at least one allocatable cloud desktop resource of the device.
[0073] In the embodiments of this application, the cloud desktop decision module can call the cloud desktop resource management module to obtain cloud desktop inventory information based on the access request of the cloud desktop device. At the same time, the cloud desktop decision module can also call the user information module to obtain the allocatable cloud desktop resources corresponding to the cloud desktop device.
[0074] It should be noted that, in the embodiments of this application, the cloud desktop decision module, based on the access request of the cloud desktop device, can also call the user information module to obtain the allocatable cloud desktop resources corresponding to the cloud desktop device. The user information module can pre-store the login information of at least one device and the allocatable cloud desktop resources of at least one device. The cloud desktop decision module can then call the user information module based on the identification information of the cloud desktop device carried in the access request, thereby obtaining the allocatable cloud desktop resources corresponding to the cloud desktop device.
[0075] Furthermore, in the embodiments of this application, the cloud desktop decision module can call the user information module based on the identification information of the cloud desktop device carried in the access request, thereby obtaining the allocatable cloud desktop resources corresponding to the cloud desktop device. For example, if a mobile device initiates an access request to the cloud desktop, the access request will carry the identification information of the mobile device. The cloud desktop decision module calls the user information module based on the identification information corresponding to the device. The user information module pre-stores the login information of at least one device and the allocatable cloud desktop resources of at least one device, thereby obtaining the allocatable mobile cloud desktop resources corresponding to the mobile device.
[0076] Furthermore, in the embodiments of this application, the cloud desktop management system stores the interaction data, device information, and resource information between the user information module, the cloud desktop resource management module, the cloud desktop execution module, and the cloud desktop decision module based on the IPFS protocol.
[0077] It should be noted that in the embodiments of this application, the InterPlanetary File System (IPFS) protocol is used. IPFS is a blockchain-based, permanent, decentralized method for storing and sharing files. It is a peer-to-peer distributed protocol designed to create a network transmission protocol for persistent and distributed storage and sharing of files. It is a content-addressable peer-to-peer hypermedia distribution protocol, and nodes in the IPFS network will constitute a distributed file system.
[0078] It should be noted that, in the embodiments of this application, the user information module can pre-store login information of at least one device and allocable cloud desktop resources of at least one device. The storage method is encrypted storage through the IPFS protocol. At the same time, the cloud desktop management system can also use the IPFS protocol to distribute the data, device information, and resource information generated by the interaction between the user information module, cloud desktop resource management module, cloud desktop execution module, and cloud desktop decision module to ensure the privacy and security of the data.
[0079] Furthermore, in the embodiments of this application, Figure 4 This is a schematic diagram of cloud desktop operation data storage proposed in an embodiment of this application, such as... Figure 4 As shown, when storing data in IPFS, the cloud desktop management system can classify users based on their different identities, thereby differentiating the permissions of different target users. The permission control policy can be encrypted using signatures, for example, through message digest algorithms or secure hash algorithms. The cloud desktop management system can then store the encrypted permission control policy in at least one block of the blockchain, and store different levels of user operation logs according to the permission control policy.
[0080] Furthermore, in the embodiments of this application, Figure 5 This is a schematic diagram illustrating the cloud desktop operation data retrieval method proposed in an embodiment of this application, such as... Figure 5 As shown, when the cloud desktop management system needs to obtain the uploaded cloud desktop operation data, it can search for it based on the corresponding hash value.
[0081] For example, when cloud desktop devices have a greater preference for immediacy, the cloud desktop management system can provide second-level access control and can save important data of user operations in real time for subsequent processing and recovery.
[0082] Furthermore, because the cloud desktop resource management module pre-stores cloud desktop inventory information and the user information module pre-stores the allocatable cloud desktop resources corresponding to the cloud desktop device, the cloud desktop decision module can obtain the cloud desktop inventory information by calling the cloud desktop resource management module after receiving the access request from the cloud desktop device. At the same time, the cloud desktop decision module calls the user information module to obtain the allocatable cloud desktop resources corresponding to the cloud desktop device, thereby realizing the unified management and scheduling of cloud desktop resources.
[0083] Step 103: The cloud desktop decision module determines whether the smart contract is satisfied based on the cloud desktop inventory information and the available cloud desktop resources; wherein, the smart contract is used to verify the devices and resources.
[0084] In the embodiments of this application, based on the access request, the cloud desktop decision module calls the cloud desktop resource management module to obtain cloud desktop inventory information. At the same time, the cloud desktop decision module calls the user information module to obtain the allocatable cloud desktop resources corresponding to the cloud desktop device. Then, the cloud desktop decision module can further determine whether the smart contract is satisfied based on the cloud desktop inventory information and the allocatable cloud desktop resources. The smart contract can be used to verify the device and resources.
[0085] It should be noted that, in the embodiments of this application, the cloud desktop decision module first determines whether the smart contract is satisfied based on the cloud desktop inventory information and the available cloud desktop resources.
[0086] Furthermore, in the embodiments of this application, when the cloud desktop decision module determines whether a smart contract is satisfied based on the cloud desktop inventory information and the available cloud desktop resources, the cloud desktop decision module can compare and process the available cloud desktop resources and the cloud desktop inventory information to obtain a comparison result; if the comparison result is that the cloud desktop device is allowed to access and there are available cloud desktop resources in the cloud desktop inventory information, then it is determined that the smart contract is satisfied.
[0087] Furthermore, in the embodiments of this application, smart contracts can enhance the privacy of authorized access to user identity information storage based on blockchain. Simultaneously, according to the permission scope set by the smart contract, information management can be exercised over cloud desktop resources on the blockchain, sending access permission instructions to controlled and compliant cloud desktop resources, further improving the security of cloud desktop resource information storage and access control. In addition, the cloud desktop management system can store and manage cloud desktop resources on the blockchain, allowing cloud desktop devices to directly access target cloud desktops in the blockchain, provided the smart contract is satisfied, thus achieving resource sharing and seamless connection among multiple cloud desktops.
[0088] It should be noted that, in the embodiments of this application, the cloud desktop decision module determines whether the smart contract is satisfied based on the cloud desktop inventory information and the available cloud desktop resources. During the comparison process, the cloud desktop resource attribute information and the available cloud desktop resources in the cloud desktop inventory information can be compared. If there is available inventory in the cloud desktop inventory information and the cloud desktop device is allowed to access at the same time, then it can be determined that the smart contract is satisfied. If the comparison result is that the cloud desktop device is not allowed to access or there is no available cloud desktop resource in the cloud desktop inventory information, then it is determined that the smart contract is not satisfied.
[0089] Step 104: If the smart contract is satisfied, the cloud desktop decision module sends an access permission instruction to the cloud desktop execution module.
[0090] In the embodiments of this application, after the cloud desktop decision module determines whether the smart contract is satisfied based on the cloud desktop inventory information and the available cloud desktop resources, if the smart contract is satisfied, the cloud desktop decision module can send an access permission instruction to the cloud desktop execution module.
[0091] It should be noted that, in the embodiments of this application, the cloud desktop decision module first determines whether the smart contract is satisfied based on the cloud desktop inventory information and the available cloud desktop resources. If the smart contract is satisfied, it is determined that the cloud desktop device is allowed to access the cloud desktop. At the same time, there is available inventory in the cloud desktop inventory information. Then, the cloud desktop decision module sends an access permission instruction to the cloud desktop execution module.
[0092] Step 105: Based on the access permission instruction, the cloud desktop execution module establishes the open virtual capabilities of the cloud desktop and sends the access permissions of the open virtual capabilities of the cloud desktop to the cloud desktop device, so that the cloud desktop device can access the target cloud desktop based on the access permissions of the open virtual capabilities of the cloud desktop.
[0093] In the embodiments of this application, after the smart contract is satisfied, the cloud desktop decision module sends an access permission instruction to the cloud desktop execution module. Based on the access permission instruction, the cloud desktop execution module establishes the open virtual capabilities of the cloud desktop and distributes the access permissions of the open virtual capabilities of the cloud desktop to the cloud desktop device, so that the cloud desktop device can access the target cloud desktop based on the access permissions of the open virtual capabilities of the cloud desktop.
[0094] It should be noted that, in the embodiments of this application, the cloud desktop execution module can establish the open virtual capabilities of the cloud desktop based on the permission access instruction, and send the access permissions of the open virtual capabilities of the cloud desktop to the cloud desktop device, so that the cloud desktop device can access the target cloud desktop based on the access permissions of the open virtual capabilities of the cloud desktop.
[0095] It should be noted that the cloud desktop execution module can establish open virtual capabilities of the cloud desktop based on the access permission command, and issue the access permissions of the open virtual capabilities of the cloud desktop to the cloud desktop device, so that the cloud desktop device can access the target cloud desktop based on the access permissions of the open virtual capabilities of the cloud desktop. In this regard, the cloud desktop execution module can establish the open virtual capabilities of the cloud desktop.
[0096] It should be noted that, in the embodiments of this application, Figure 6 This is a schematic diagram of virtual capability resource mapping in an embodiment of this application, such as... Figure 6 As shown, the method by which the cloud desktop execution module establishes open virtual capabilities for cloud desktops can include: after obtaining detailed descriptions of cloud desktops and corresponding services, the cloud desktop management system can invoke corresponding service actions to control and operate cloud desktops providing relevant functions. This allows for rapid switching between cloud desktops within a home or company network and provides related services. The cloud desktop management system can obtain the most suitable cloud desktop for our use within the local area network. For example, when a cloud desktop device needs to play online games, a cloud desktop with better CPU and graphics card configurations can be selected to meet the device's needs. Simultaneously, the cloud desktop management system can divide cloud desktops and build virtual capability resource pools to correspond to different cloud desktops, thereby enabling managed cloud desktops to provide optimal configurations.
[0097] Furthermore, in the embodiments of this application, the method by which the cloud desktop execution module can establish the open virtual capabilities of the cloud desktop may include, after the cloud desktop management system obtains detailed description information related to the cloud desktop and corresponding services, it can invoke corresponding service actions to control and operate the cloud desktop providing the relevant functions. In this way, cloud desktops within a home or company network can be quickly switched and related services provided. The cloud desktop management system can be used to obtain the most suitable cloud desktop for our use within the local area network. The detailed description information related to the cloud desktop and corresponding services obtained by the cloud desktop management system may include some attributes related to the cloud desktop.
[0098] It should be noted that, in the embodiments of this application, Figure 7 This is a schematic diagram illustrating the cloud desktop related attribute configuration in an embodiment of this application, such as... Figure 7As shown, the cloud desktop management system obtains detailed descriptions of cloud desktops and corresponding services, including attributes related to the cloud desktop. Detailed information about the cloud desktop and virtual capabilities can be recorded in XML description files. These description files are typically processed by the cloud desktop vendor and include attributes such as CPU, memory, graphics card, disk, cloud disk, and bandwidth to adapt to various cloud desktop usage scenarios. Different services are provided to specific cloud desktop devices based on different cloud desktop types. For example, collaborative desktops require larger disk spaces; professional production requires better graphics card resources for 3D production and film rendering; and cloud desktops with high-configuration CPUs and memory can provide high-speed transmission for users to enjoy popular games, live video streaming, and other entertainment activities.
[0099] Furthermore, in the embodiments of this application, the cloud desktop execution module receives a usage request corresponding to the access permission sent by the cloud desktop device, and sends the usage request to the cloud desktop decision module; based on the usage request, the cloud desktop decision module performs search processing to obtain search results; if the search results indicate the existence of a target cloud desktop that satisfies the usage request, the cloud desktop decision module sends an allow-to-use instruction to the cloud desktop execution module; based on the allow-to-use instruction, the cloud desktop execution module returns response information to the cloud desktop device allowing access to the target cloud desktop, and sends an invocation instruction to the target cloud desktop to enable the cloud desktop device to access the target cloud desktop.
[0100] It should be noted that, in the embodiments of this application, Figure 8 This is a schematic diagram of the cloud desktop management method proposed in the embodiments of this application. Figure 2 ,like Figure 8 As shown, the method for managing cloud desktops by the cloud desktop management system may include the following steps:
[0101] Step 201: The cloud desktop execution module receives the access permission request sent by the cloud desktop device and sends the access request to the cloud desktop decision module.
[0102] In the embodiments of this application, based on an access permission instruction, the cloud desktop execution module establishes open virtual capabilities for the cloud desktop and distributes access permissions for these open virtual capabilities to the cloud desktop device. After the cloud desktop device accesses the target cloud desktop based on these access permissions, the cloud desktop execution module receives a usage request corresponding to the access permissions sent by the cloud desktop device and sends the usage request to the cloud desktop decision module. For example, the usage request corresponding to the access permissions sent by the cloud desktop device may be, but is not limited to, a request for the cloud desktop device to use the target cloud desktop for online gaming, office work, or other similar activities.
[0103] Step 202: Based on the usage request, the cloud desktop decision module performs search processing to obtain search results.
[0104] In the embodiments of this application, after the cloud desktop execution module receives the access permission request sent by the cloud desktop device and sends the access request to the cloud desktop decision module, the cloud desktop decision module performs search processing based on the access request to obtain search results.
[0105] Step 203: If the search results show that a target cloud desktop exists that meets the usage request, the cloud desktop decision module sends a permission instruction to the cloud desktop execution module.
[0106] In the embodiments of this application, after the cloud desktop decision module performs search processing based on the usage request and obtains the search results, if the search results indicate that there is a target cloud desktop that meets the usage request, the cloud desktop decision module sends a permission instruction to the cloud desktop execution module.
[0107] For example, if the cloud desktop execution module receives a usage request corresponding to the cloud desktop device access permission, which is to play online games through the target cloud desktop, the cloud desktop execution module forwards the usage request corresponding to the cloud desktop device access permission to the cloud desktop decision module. Then, the cloud desktop decision module can search the blockchain for cloud desktops with good CPU and graphics card configurations based on the request content. If a cloud desktop that meets the usage request exists, the cloud desktop decision module can send a permission instruction to the cloud desktop execution module.
[0108] Step 204: Based on the permission instruction, the cloud desktop execution module returns response information to the cloud desktop device, allowing access to the target cloud desktop, and sends an instruction to the target cloud desktop so that the cloud desktop device can access the target cloud desktop.
[0109] In the embodiments of this application, when the search results indicate the existence of a target cloud desktop that meets the usage request, the cloud desktop decision module sends an allow-to-use instruction to the cloud desktop execution module. Based on the allow-to-use instruction, the cloud desktop execution module returns response information to the cloud desktop device allowing the invocation of the target cloud desktop, and sends an invocation instruction to the target cloud desktop so that the cloud desktop device can access the target cloud desktop.
[0110] Furthermore, in the embodiments of this application, the cloud desktop execution module receives a usage request corresponding to the access permission sent by the cloud desktop device. The usage request carries the request content and is sent to the cloud desktop decision module. The cloud desktop decision module performs a search in the blockchain according to the request content to obtain the search results. If the search results show that there is no cloud desktop that meets the usage request, the cloud desktop decision module sends a prohibition instruction to the cloud desktop execution module; the cloud desktop execution module returns the prohibition instruction to the cloud desktop device.
[0111] This application provides a cloud desktop management method. After receiving an access request from a cloud desktop device, the cloud desktop execution module forwards the request to the cloud desktop decision module. Based on the access request, the cloud desktop decision module calls the cloud desktop resource management module to obtain cloud desktop inventory information. Simultaneously, the cloud desktop decision module calls the user information module to obtain the allocatable cloud desktop resources corresponding to the cloud desktop device. The cloud desktop decision module determines whether a smart contract is satisfied based on the cloud desktop inventory information and allocatable cloud desktop resources. If the smart contract is satisfied, the cloud desktop decision module sends an access permission instruction to the cloud desktop execution module. Based on the access permission instruction, the cloud desktop execution module establishes open virtual capabilities for the cloud desktop and distributes the access permissions for these open virtual capabilities to the cloud desktop device, enabling the cloud desktop device to access the target cloud desktop in the blockchain based on these access permissions. In the embodiments of this application, the UPnP protocol enables the discovery and sharing of various cloud desktop virtual capabilities without requiring extensive user intervention. Detailed information about each cloud desktop virtual capability is recorded through the cloud desktop resource module, thereby obtaining cloud desktop inventory information. This facilitates unified processing and scheduling of requests. Simultaneously, the cloud desktop management system can perform two-way verification of devices and resources based on the permission scope set by the smart contract. Furthermore, the cloud desktop management system can store and manage cloud desktop resources on the blockchain. Therefore, under the premise of satisfying the smart contract, cloud desktop devices can directly access target cloud desktops in the blockchain, achieving resource sharing and seamless connection among multiple cloud desktops. This also improves the security of cloud desktop resource management and data storage.
[0112] Example 2
[0113] Based on the above embodiments, Figure 9 This is a schematic diagram of the cloud desktop management method proposed in the embodiments of this application. Figure 3 ,like Figure 9 As shown, the cloud desktop management system includes a user information module, a cloud desktop resource management module, a cloud desktop execution module, and a cloud desktop decision-making module; the method for the cloud desktop management system to manage cloud desktops may include the following steps:
[0114] Step 301: The cloud desktop management system stores cloud desktop inventory information through the cloud desktop resource management module, and stores the allocable cloud desktop resources corresponding to the cloud desktop devices through the user information module.
[0115] Step 302: The cloud desktop execution module receives the access request sent by the cloud desktop device.
[0116] In the embodiments of this application, the cloud desktop device can first initiate an access request to the cloud desktop through the cloud desktop execution module.
[0117] It should be noted that, in the embodiments of this application, before the cloud desktop device initiates an access request to the cloud desktop through the cloud desktop execution module, the cloud desktop execution module authorizes and confirms the cloud desktop device. Only the cloud desktop device that has been authorized and confirmed can send an access request to the cloud desktop to the cloud desktop execution module.
[0118] Furthermore, the specific process of the cloud desktop execution module authorizing and confirming the cloud desktop device is as follows: the cloud desktop execution module verifies the key of the cloud desktop device and determines whether the key of the cloud desktop device matches the public key of the cloud desktop resource. If the key of the cloud desktop device matches the public key of the cloud desktop resource, the cloud desktop device can be allowed to access the cloud desktop through the cloud desktop execution module.
[0119] Step 303: The cloud desktop execution module forwards the access request to the cloud desktop decision module.
[0120] In the embodiments of this application, after the cloud desktop execution module receives the access request sent by the cloud desktop device, the cloud desktop execution forwards the access request to the cloud desktop decision module.
[0121] Step 304: Based on the access request, the cloud desktop decision module calls the cloud desktop resource management module to obtain cloud desktop inventory information. At the same time, the cloud desktop decision module calls the user information module to obtain the allocable cloud desktop resources corresponding to the cloud desktop device.
[0122] In the embodiments of this application, after the cloud desktop execution module receives an access request sent by the cloud desktop device and forwards the access request to the cloud desktop decision module, the cloud desktop decision module can call the cloud desktop resource management module to obtain cloud desktop inventory information based on the access request of the cloud desktop device. At the same time, the cloud desktop decision module can also call the user information module to obtain the allocatable cloud desktop resources corresponding to the cloud desktop device.
[0123] It should be noted that, in the embodiments of this application, the cloud desktop decision module can call the cloud desktop resource management module to obtain cloud desktop inventory information based on the access request of the cloud desktop device.
[0124] Furthermore, in the embodiments of this application, after the cloud desktop management system obtains the addition instruction for the cloud desktop to be added, the cloud desktop resource management module can obtain the cloud desktop resources of the cloud desktop to be added based on the UPnP protocol; and construct cloud desktop inventory information based on the cloud desktop resources of the cloud desktop to be added.
[0125] It should be noted that in the embodiments of this application, the cloud desktop resources are virtual cloud hosts under the UPnP protocol, which can be regarded as a "container" associated with services and containing conventional devices, including a series of system applications and various services. These cloud desktop resources can be distributed across multiple network units, or they can be implemented in the form of hardware plus software functional units.
[0126] It should be noted that in the embodiments of this application, the UPnP protocol is a set of network protocols promoted by the "General Plug and Play Forum". The goal of this protocol is to enable seamless interconnection of various devices in home networks (data sharing, communication, and entertainment) and corporate networks, and to simplify the implementation of related networks. UPnP achieves this goal by defining and publishing the UPnP device control protocol based on open, Internet communication network protocol standards. The first step in a UPnP network is discovery. When a device is added to the network, the UPnP detection protocol allows the device to broadcast its services to the control point. Similarly, when a control point joins the network, it can also search for information about devices of interest present in the network. The next step in the UPnP protocol is description. When a control point detects a device, it still knows very little about it. To enable the control point to learn more about the device or interact with it, the control point must obtain more information from the Uniform Resource Locators (URLs) contained in the detection information emitted by the device. A device's UPnP description is written in Extensible Markup Language (XML) and includes brand and manufacturer information such as model name and serial number, manufacturer name, and brand-related URLs. The next step in a UPnP network is control. Once a control point obtains the device description information, it can send commands to the device. The control point sends an appropriate control message to the service-related control URL (enclosed in the device description). Control messages are also described using XML via the SOAP protocol. Similar to function calls, services respond to control messages by returning action-related values.
[0127] It should be noted that, in the embodiments of this application, as... Figure 2 , Figure 3As shown, after the cloud desktop management system receives the add command for a cloud desktop to be added, the cloud desktop resource management module can discover and control the cloud desktop resources through the UPnP protocol. The UPnP protocol is a standard protocol with automatic discovery and control. The cloud desktop management system can use the data center as a universal UPnP control point. The UPnP protocol enables zero-configuration for cloud desktops. When the cloud desktop management system adds a cloud desktop to the blockchain, the UPnP discovery protocol allows it to multicast an announcement to the cloud desktop management system indicating its online status and describing its functionality. Through the attribute description file provided by the cloud desktop, detailed information about the cloud desktop and its related virtual capabilities is obtained, and this information can be recorded through the cloud desktop resource module. This allows the acquisition of cloud desktop inventory information.
[0128] Furthermore, in the embodiments of this application, after the cloud desktop device has been verified and obtained the relevant cloud desktop usage permission, the cloud desktop management system will select the operation to be performed according to the description of the cloud desktop and know the services provided by the cloud desktop, transmit the control behavior request to the designated cloud desktop node, request the corresponding cloud desktop to start the service and listen to the status of the cloud desktop, and take corresponding processing actions when the status changes. At the same time, the cloud desktop will feed back relevant information to the management system after executing the command.
[0129] Furthermore, in the embodiments of this application, when the cloud desktop management system receives an instruction to add a cloud desktop, the cloud desktop resource management module obtains the cloud desktop resources of the cloud desktop to be added based on the UPnP protocol; and constructs cloud desktop inventory information based on the cloud desktop resources of the cloud desktop to be added. Simultaneously, the cloud desktop management system stores the cloud desktop resources of the cloud desktop to be added and the corresponding authentication unit on a block.
[0130] It should be noted that, in the embodiments of this application, the cloud desktop management system can store the public key of the cloud desktop resource and the access control policy of the cloud desktop together in a block of the blockchain as an authentication unit to verify the legitimacy of the cloud desktop providing virtual capability resources. In the blockchain, except for the initial block, each block will sequentially store the stored content of the previous block, and perform hash calculations on the authentication unit data in a chain structure. Because the blockchain adopts a blockchain structure and performs trusted data signature processing through encryption algorithms, such as message digest algorithms and secure hash algorithms, the hash value of the previous block is stored in the current data block. Therefore, the cost for a third party to add malicious cloud desktop resources to the blockchain will be very high, thereby improving the effectiveness and reliability of the overall cloud desktop management process.
[0131] In the embodiments of this application, the cloud desktop decision module can call the cloud desktop resource management module to obtain cloud desktop inventory information based on the access request of the cloud desktop device. At the same time, the cloud desktop decision module can also call the user information module to obtain the allocatable cloud desktop resources corresponding to the cloud desktop device.
[0132] It should be noted that, in the embodiments of this application, the cloud desktop decision module can also call the user information module to obtain the allocatable cloud desktop resources corresponding to the cloud desktop device based on the access request of the cloud desktop device.
[0133] Furthermore, in the embodiments of this application, the cloud desktop decision module can also call the user information module to obtain the allocatable cloud desktop resources corresponding to the cloud desktop device based on the access request of the cloud desktop device. The user information module can pre-store the login information of at least one device and the allocatable cloud desktop resources of at least one device.
[0134] For example, in the embodiments of this application, the user information module can pre-store login information of at least one device, such as login information of a personal computer, tablet computer, mobile phone, etc., without being specifically limited to storing login information of other devices. At the same time, the user information module can pre-store at least one allocatable cloud desktop resource corresponding to the device. For example, for different devices, the user information module can store PC cloud desktop suitable for personal computers, tablet computer cloud desktop suitable for tablet computers, and mobile phone cloud desktop suitable for mobile phones. Thus, the user information module can pre-store login information of at least one device and at least one allocatable cloud desktop resource of the device.
[0135] In the embodiments of this application, the cloud desktop decision module can call the cloud desktop resource management module to obtain cloud desktop inventory information based on the access request of the cloud desktop device. At the same time, the cloud desktop decision module can also call the user information module to obtain the allocatable cloud desktop resources corresponding to the cloud desktop device.
[0136] It should be noted that, in the embodiments of this application, the cloud desktop decision module, based on the access request of the cloud desktop device, can also call the user information module to obtain the allocatable cloud desktop resources corresponding to the cloud desktop device. The user information module can pre-store the login information of at least one device and the allocatable cloud desktop resources of at least one device. The cloud desktop decision module can then call the user information module based on the identification information of the cloud desktop device carried in the access request, thereby obtaining the allocatable cloud desktop resources corresponding to the cloud desktop device.
[0137] Furthermore, in the embodiments of this application, the cloud desktop decision module can call the user information module based on the identification information of the cloud desktop device carried in the access request, thereby obtaining the allocatable cloud desktop resources corresponding to the cloud desktop device. For example, if a mobile device initiates an access request to the cloud desktop, the access request will carry the identification information of the mobile device. The cloud desktop decision module calls the user information module based on the identification information corresponding to the device. The user information module pre-stores the login information of at least one device and the allocatable cloud desktop resources of at least one device, thereby obtaining the allocatable mobile cloud desktop resources corresponding to the mobile device.
[0138] Furthermore, in the embodiments of this application, the cloud desktop management system stores the interaction data, device information, and resource information between the user information module, the cloud desktop resource management module, the cloud desktop execution module, and the cloud desktop decision module based on the IPFS protocol.
[0139] It should be noted that, in the embodiments of this application, the InterPlanetary File System (IPFS) protocol is a blockchain-based, permanent, decentralized method for storing and sharing files. It is a peer-to-peer distributed protocol designed to create a network transmission protocol for persistent and distributed storage and sharing of files. It is a content-addressable peer-to-peer hypermedia distribution protocol, and nodes in the IPFS network will constitute a distributed file system.
[0140] It should be noted that, in the embodiments of this application, the user information module can pre-store login information of at least one device and allocable cloud desktop resources of at least one device. The storage method is encrypted storage through the IPFS protocol. At the same time, the cloud desktop management system can also use the IPFS protocol to distribute the data, device information, and resource information generated by the interaction between the user information module, cloud desktop resource management module, cloud desktop execution module, and cloud desktop decision module to ensure the privacy and security of the data.
[0141] Furthermore, in the embodiments of this application, such as Figure 4 As shown, when storing data in IPFS, the cloud desktop management system can classify users based on their different identities, thereby differentiating the permissions of different target users. The permission control policy can be encrypted using signatures, for example, through message digest algorithms or secure hash algorithms. The cloud desktop management system can then store the encrypted permission control policy in at least one block of the blockchain, and store different levels of user operation logs according to the permission control policy.
[0142] Furthermore, in the embodiments of this application, such as Figure 5As shown, when the cloud desktop management system needs to obtain the uploaded cloud desktop operation data, it can search for it based on the corresponding hash value.
[0143] For example, when cloud desktop devices have a greater preference for immediacy, the cloud desktop management system can provide second-level access control and can save important data of user operations in real time for subsequent processing and recovery.
[0144] Furthermore, because the cloud desktop resource management module pre-stores cloud desktop inventory information and the user information module pre-stores the allocatable cloud desktop resources corresponding to the cloud desktop device, the cloud desktop decision module can obtain the cloud desktop inventory information by calling the cloud desktop resource management module after receiving the access request from the cloud desktop device. At the same time, the cloud desktop decision module calls the user information module to obtain the allocatable cloud desktop resources corresponding to the cloud desktop device, thereby realizing the unified management and scheduling of cloud desktop resources.
[0145] Step 305: The cloud desktop decision module determines whether the smart contract is satisfied based on the cloud desktop inventory information and the available cloud desktop resources; wherein, the smart contract is used to verify the devices and resources.
[0146] In the embodiments of this application, based on the access request, the cloud desktop decision module calls the cloud desktop resource management module to obtain cloud desktop inventory information. At the same time, the cloud desktop decision module calls the user information module to obtain the allocatable cloud desktop resources corresponding to the cloud desktop device. Then, the cloud desktop decision module can further determine whether the smart contract is satisfied based on the cloud desktop inventory information and the allocatable cloud desktop resources. The smart contract can be used to verify the device and resources.
[0147] It should be noted that, in the embodiments of this application, the cloud desktop decision module first determines whether the smart contract is satisfied based on the cloud desktop inventory information and the available cloud desktop resources.
[0148] Furthermore, in the embodiments of this application, when the cloud desktop decision module determines whether a smart contract is satisfied based on the cloud desktop inventory information and the available cloud desktop resources, the cloud desktop decision module can compare and process the available cloud desktop resources and the cloud desktop inventory information to obtain a comparison result; if the comparison result is that the cloud desktop device is allowed to access and there are available cloud desktop resources in the cloud desktop inventory information, then it is determined that the smart contract is satisfied.
[0149] Furthermore, in the embodiments of this application, smart contracts can enhance the privacy of authorized access to user identity information storage based on blockchain. Simultaneously, according to the permission scope set by the smart contract, information management can be exercised over cloud desktop resources on the blockchain, sending access permission instructions to controlled and compliant cloud desktop resources, further improving the security of cloud desktop resource information storage and access control. In addition, the cloud desktop management system can store and manage cloud desktop resources on the blockchain, allowing cloud desktop devices to directly access target cloud desktops in the blockchain, provided the smart contract is satisfied, thus achieving resource sharing and seamless connection among multiple cloud desktops.
[0150] It should be noted that, in the embodiments of this application, the cloud desktop decision module determines whether the smart contract is satisfied based on the cloud desktop inventory information and the available cloud desktop resources. During the comparison process, the cloud desktop resource attribute information and the available cloud desktop resources in the cloud desktop inventory information can be compared. If there is available inventory in the cloud desktop inventory information and the cloud desktop device is allowed to access at the same time, then it can be determined that the smart contract is satisfied. If the comparison result is that the cloud desktop device is not allowed to access or there is no available cloud desktop resource in the cloud desktop inventory information, then it is determined that the smart contract is not satisfied.
[0151] Step 306: If the smart contract is satisfied, the cloud desktop decision module sends an access permission instruction to the cloud desktop execution module.
[0152] In the embodiments of this application, after the cloud desktop decision module determines whether the smart contract is satisfied based on the cloud desktop inventory information and the available cloud desktop resources, if the smart contract is satisfied, the cloud desktop decision module can send an access permission instruction to the cloud desktop execution module.
[0153] It should be noted that, in the embodiments of this application, the cloud desktop decision module first determines whether the smart contract is satisfied based on the cloud desktop inventory information and the available cloud desktop resources. If the smart contract is satisfied, it is determined that the cloud desktop device is allowed to access the cloud desktop. At the same time, there is available inventory in the cloud desktop inventory information. Then, the cloud desktop decision module sends an access permission instruction to the cloud desktop execution module.
[0154] Step 307: Based on the access permission instruction, the cloud desktop execution module establishes the open virtual capabilities of the cloud desktop and sends the access permissions of the open virtual capabilities of the cloud desktop to the cloud desktop device, so that the cloud desktop device can access the target cloud desktop in the blockchain based on the access permissions of the open virtual capabilities of the cloud desktop.
[0155] In the embodiments of this application, after the smart contract is satisfied, the cloud desktop decision module sends an access permission instruction to the cloud desktop execution module. Based on the access permission instruction, the cloud desktop execution module establishes the open virtual capabilities of the cloud desktop and distributes the access permissions of the open virtual capabilities of the cloud desktop to the cloud desktop device, so that the cloud desktop device can access the target cloud desktop based on the access permissions of the open virtual capabilities of the cloud desktop.
[0156] It should be noted that, in the embodiments of this application, the cloud desktop execution module can establish the open virtual capabilities of the cloud desktop based on the permission access instruction, and send the access permissions of the open virtual capabilities of the cloud desktop to the cloud desktop device, so that the cloud desktop device can access the target cloud desktop based on the access permissions of the open virtual capabilities of the cloud desktop.
[0157] It should be noted that the cloud desktop execution module can establish open virtual capabilities of the cloud desktop based on the access permission command, and issue the access permissions of the open virtual capabilities of the cloud desktop to the cloud desktop device, so that the cloud desktop device can access the target cloud desktop based on the access permissions of the open virtual capabilities of the cloud desktop. In this regard, the cloud desktop execution module can establish the open virtual capabilities of the cloud desktop.
[0158] It should be noted that, in the embodiments of this application, as... Figure 6 As shown, the method by which the cloud desktop execution module establishes open virtual capabilities for cloud desktops can include: after obtaining detailed descriptions of cloud desktops and corresponding services, the cloud desktop management system can invoke corresponding service actions to control and operate cloud desktops providing relevant functions. This allows for rapid switching between cloud desktops within a home or company network and provides related services. The cloud desktop management system can obtain the most suitable cloud desktop for our use within the local area network. For example, when a cloud desktop device needs to play online games, a cloud desktop with better CPU and graphics card configurations can be selected to meet the device's needs. Simultaneously, the cloud desktop management system can divide cloud desktops and build virtual capability resource pools to correspond to different cloud desktops, thereby enabling managed cloud desktops to provide optimal configurations.
[0159] Furthermore, in the embodiments of this application, the method by which the cloud desktop execution module can establish the open virtual capabilities of the cloud desktop may include, after the cloud desktop management system obtains detailed description information related to the cloud desktop and corresponding services, it can invoke corresponding service actions to control and operate the cloud desktop providing the relevant functions. In this way, cloud desktops within a home or company network can be quickly switched and related services provided. The cloud desktop management system can be used to obtain the most suitable cloud desktop for our use within the local area network. The detailed description information related to the cloud desktop and corresponding services obtained by the cloud desktop management system may include some attributes related to the cloud desktop.
[0160] It should be noted that, in the embodiments of this application, as... Figure 7 As shown, the cloud desktop management system obtains detailed descriptions of cloud desktops and corresponding services, including attributes related to the cloud desktop. Detailed information about the cloud desktop and virtual capabilities can be recorded in XML description files. These description files are typically processed by the cloud desktop vendor and include attributes such as CPU, memory, graphics card, disk, cloud disk, and bandwidth to adapt to various cloud desktop usage scenarios. Different services are provided to specific cloud desktop devices based on different cloud desktop types. For example, collaborative desktops require larger disk spaces; professional production requires better graphics card resources for 3D production and film rendering; and cloud desktops with high-configuration CPUs and memory can provide high-speed transmission for users to enjoy popular games, live video streaming, and other entertainment activities.
[0161] Step 308: The cloud desktop execution module receives the access permission request sent by the cloud desktop device.
[0162] In the embodiments of this application, based on the permission access instruction, the cloud desktop execution module establishes the open virtual capabilities of the cloud desktop and sends the access permissions of the open virtual capabilities of the cloud desktop to the cloud desktop device. After the cloud desktop device accesses the target cloud desktop based on the access permissions of the open virtual capabilities of the cloud desktop, the cloud desktop execution module receives the usage request corresponding to the access permissions sent by the cloud desktop device. For example, the usage request corresponding to the access permissions sent by the cloud desktop device may be, but is not limited to, the usage request for the cloud desktop device to use the target cloud desktop for online games, office work, etc.
[0163] Step 309: The cloud desktop execution module will send a request to the cloud desktop decision module.
[0164] In the embodiments of this application, the cloud desktop execution module receives a usage request corresponding to the access permission sent by the cloud desktop device, and then sends the usage request to the cloud desktop decision module.
[0165] Step 310: Based on the usage request, the cloud desktop decision module performs search processing to obtain search results.
[0166] In the embodiments of this application, after the cloud desktop execution module receives the access permission request sent by the cloud desktop device and sends the access request to the cloud desktop decision module, the cloud desktop decision module performs search processing based on the access request to obtain search results.
[0167] Step 311: If the search results show that a target cloud desktop exists that meets the usage request, the cloud desktop decision module sends a permission instruction to the cloud desktop execution module.
[0168] In the embodiments of this application, after the cloud desktop decision module performs search processing based on the usage request and obtains the search results, if the search results indicate that there is a target cloud desktop that meets the usage request, the cloud desktop decision module sends a permission instruction to the cloud desktop execution module.
[0169] For example, if the cloud desktop execution module receives a usage request corresponding to the cloud desktop device access permission, which is to play online games through the target cloud desktop, the cloud desktop execution module forwards the usage request corresponding to the cloud desktop device access permission to the cloud desktop decision module. Then, the cloud desktop decision module can search the blockchain for cloud desktops with good CPU and graphics card configurations based on the request content. If a cloud desktop that meets the usage request exists, the cloud desktop decision module can send a permission instruction to the cloud desktop execution module.
[0170] Step 312: Based on the permission instruction, the cloud desktop execution module returns a response message to the cloud desktop device allowing access to the target cloud desktop, and sends an invocation instruction to the target cloud desktop to enable the cloud desktop device to access the target cloud desktop.
[0171] In the embodiments of this application, when the search results indicate the existence of a target cloud desktop that meets the usage request, the cloud desktop decision module sends an allow-to-use instruction to the cloud desktop execution module. Based on the allow-to-use instruction, the cloud desktop execution module returns response information to the cloud desktop device allowing the invocation of the target cloud desktop, and sends an invocation instruction to the target cloud desktop so that the cloud desktop device can access the target cloud desktop.
[0172] Furthermore, in the embodiments of this application, the cloud desktop execution module receives a usage request corresponding to the access permission sent by the cloud desktop device. The usage request carries the request content and is sent to the cloud desktop decision module. The cloud desktop decision module performs a search in the blockchain according to the request content to obtain the search results. If the search results show that there is no cloud desktop that meets the usage request, the cloud desktop decision module sends a prohibition instruction to the cloud desktop execution module; the cloud desktop execution module returns the prohibition instruction to the cloud desktop device.
[0173] This application provides a cloud desktop management method. After receiving an access request from a cloud desktop device, the cloud desktop execution module forwards the request to the cloud desktop decision module. Based on the access request, the cloud desktop decision module calls the cloud desktop resource management module to obtain cloud desktop inventory information. Simultaneously, the cloud desktop decision module calls the user information module to obtain the allocatable cloud desktop resources corresponding to the cloud desktop device. The cloud desktop decision module determines whether a smart contract is satisfied based on the cloud desktop inventory information and allocatable cloud desktop resources. If the smart contract is satisfied, the cloud desktop decision module sends an access permission instruction to the cloud desktop execution module. Based on the access permission instruction, the cloud desktop execution module establishes open virtual capabilities for the cloud desktop and distributes the access permissions for these open virtual capabilities to the cloud desktop device, enabling the cloud desktop device to access the target cloud desktop in the blockchain based on these access permissions. In the embodiments of this application, the UPnP protocol enables the discovery and sharing of various cloud desktop virtual capabilities without requiring extensive user intervention. Detailed information about each cloud desktop virtual capability is recorded through the cloud desktop resource module, thereby obtaining cloud desktop inventory information. This facilitates unified processing and scheduling of requests. Simultaneously, the cloud desktop management system can perform two-way verification of devices and resources based on the permission scope set by the smart contract. Furthermore, the cloud desktop management system can store and manage cloud desktop resources on the blockchain. Therefore, under the premise of satisfying the smart contract, cloud desktop devices can directly access target cloud desktops in the blockchain, achieving resource sharing and seamless connection among multiple cloud desktops. This also improves the security of cloud desktop resource management and data storage.
[0174] Example 3
[0175] The embodiments of this application are based on blockchain to perform two-way authentication of users and cloud desktop resources in a cloud desktop operation scenario, and use the UPnP protocol to realize the discovery and control of cloud desktop resources.
[0176] The following provides a specific example to describe how a user uses cloud desktop resources.
[0177] The core process involves allocating and controlling resources through four modules: user information module, cloud desktop resource management module, cloud desktop execution module, and cloud desktop decision module, and consists of nine steps.
[0178] Step 1: Cloud desktop operators store available cloud desktop resources and corresponding authentication units in the relevant blocks. Simultaneously, they maintain a user information module within the blocks, uploading user login information and their allocable resources to the cloud desktop decision module.
[0179] Step 2: After authorization and confirmation, the cloud desktop user initiates an access request to the cloud desktop through the cloud desktop execution module;
[0180] Step 3: The cloud desktop decision module calls the cloud desktop resource management module to obtain the cloud desktop resources that the user can allocate and the existing cloud desktop inventory information in the data center;
[0181] Step 4: The cloud desktop decision module will compare the allocable cloud desktop resource information configured by the user with the existing resource attribute information in the data center. If the determination result shows that the cloud desktop user is allowed and there is inventory in the cloud desktop data center, the smart contract determination result is satisfied, and the controllable instruction will be transmitted to the cloud desktop execution module.
[0182] Step 5: The cloud desktop execution module receives the decision results sent by the cloud desktop decision module, organizes the open virtual capabilities of the cloud desktop, and returns these permissions to the cloud desktop user, who can then obtain access to the open virtual capabilities.
[0183] Step Six: Cloud desktop users apply for access to open virtual capabilities through the cloud desktop execution module;
[0184] Step 7: The cloud desktop execution module transmits the cloud desktop user's request to the cloud desktop decision module;
[0185] Step 8: The cloud desktop decision module searches for cloud desktops with relevant virtual capabilities on the blockchain, compares them with the cloud desktop user's list of acquired resources, determines whether they are within the permitted range and confirms them, and returns the confirmation information to the cloud desktop execution module.
[0186] Step Nine: The cloud desktop execution module returns a response indicating permission to access the cloud desktop to the user, and sends control commands to invoke the relevant cloud desktop. Upon receiving feedback, the user can then use the authorized cloud desktop, and the process ends. The cloud desktop management method is as follows: Figure 8 As shown.
[0187] In this embodiment of the invention, blockchain is used to restrict the addition of third-party cloud desktop resources. The public key of the cloud desktop resource and the access control policy of the cloud desktop are jointly stored in a block of the blockchain as an authentication unit to verify the legitimacy of the cloud desktop providing virtual capability resources. In the blockchain, except for the initial block, each block sequentially stores the contents of the previous block. The authentication unit data is hashed using a chain structure. Because the blockchain adopts a block-chain structure and performs trusted data signature processing through encryption algorithms, the hash of the previous block is stored in the current data block. Therefore, the cost for a third party to add malicious cloud desktop resources to the blockchain is very high, greatly improving the effectiveness and reliability of the overall process.
[0188] In one embodiment, the data center serves as a general UPnP control point. UPnP, with its standard protocol for automatic discovery and control, enables zero-configuration for cloud desktops. After authentication, cloud desktop users use the UPnP protocol to discover and control cloud desktop resources. When cloud desktop operators add a cloud desktop to the blockchain, the UPnP discovery protocol allows it to multicast an announcement to the cloud desktop management system, indicating its online status and describing its capabilities. Simultaneously, the data center monitors the fixed addresses and ports used by devices to send messages, thereby identifying the necessary cloud desktop resources with relevant virtual capabilities within the network. Detailed information about the cloud desktop and its related virtual capabilities is obtained through the attribute description file provided by the cloud desktop, and this information is recorded in the cloud desktop resource information module. After a cloud desktop user is authenticated and granted permission to use the relevant cloud desktop, the cloud desktop management system selects the desired operation based on the cloud desktop's description, learns about the services provided by the cloud desktop, and sends a control request to the designated cloud desktop node, requiring the corresponding cloud desktop to start its service and monitor its status. When the status changes, appropriate actions are taken, and the cloud desktop returns relevant information to the management system after executing the command. Cloud desktops joining the network are as follows: Figure 2 Discovery of cloud desktops, such as Figure 3 The cloud desktop response process is as follows: Figure 10 Cloud desktop disconnects from the network, such as Figure 11 .
[0189] For example, cloud desktop resources are virtual cloud hosts under the UPnP protocol. They can be viewed as a "container" associated with services and containing conventional devices, including a series of system applications and various services. These cloud desktop resources can be distributed across multiple network units or implemented using a combination of hardware and software functional units. Typically, detailed information about cloud desktops and virtual capabilities is recorded in XML description files. These description files are generally processed by cloud desktop vendors and contain cloud desktop-related attributes such as CPU, memory, graphics card, disk, cloud disk, and bandwidth to adapt to various cloud desktop usage scenarios. Different cloud desktop types provide different services to specific cloud desktop users. For example, collaborative desktops require larger disk spaces; professional production requires better graphics card resources for 3D production and film rendering; and cloud desktops with high-configuration CPUs and memory can provide high-speed transmission for cloud desktop users to enjoy popular games, live video streaming, and other entertainment activities. Cloud desktop-related attribute configurations are as follows: Figure 7 As shown.
[0190] Furthermore, after obtaining detailed descriptions of cloud desktops and corresponding services, the cloud desktop management system can invoke relevant service actions to control and operate cloud desktops providing related functions. This allows for rapid switching between cloud desktops within a home or company network, providing relevant services. We can use the cloud desktop management system to obtain the most suitable cloud desktop for our needs within the local area network. For example, when we need to play online games via a cloud desktop, we can select a cloud desktop with better CPU and graphics card configurations to meet the user's needs. Simultaneously, we divide cloud desktops and build virtual capability resource pools to correspond to different cloud desktops, ensuring that managed cloud desktops can provide optimal configurations. The matching of cloud desktops and virtual capabilities can be achieved as follows: Figure 6 As shown.
[0191] Furthermore, in the embodiments of this application, to ensure the security of cloud desktop user information and operation data, it is proposed to encrypt and store cloud desktop operation data and user data using the IPFS protocol. The large amount of operation data that may be output during cloud desktop use is distributed and stored using IPFS, ensuring the privacy and security of the data.
[0192] Furthermore, in the embodiments of this application, the cloud desktop management system classifies permissions based on the different identities of cloud desktop users when storing data in IPFS, thereby differentiating the permissions of different target users. The permission control policy is signed and encrypted, for example, using a Message-Digest Algorithm (MD5) or a Secure Hash 15 Algorithm (SHA). The encrypted permission control policy is stored in at least one block of the blockchain, and different levels of user operation logs are stored according to the policy. For example, when a cloud desktop user's purchased cloud desktop has a greater preference for immediacy, second-level permission control should be provided to save important user operation data in real time for subsequent processing and recovery. Figure 4 This is a diagram illustrating data storage for cloud desktop operations. Figure 5 This is a diagram illustrating how to retrieve data for cloud desktop operations.
[0193] This application provides a cloud desktop management method. After receiving an access request from a cloud desktop device, the cloud desktop execution module forwards the request to the cloud desktop decision module. Based on the access request, the cloud desktop decision module calls the cloud desktop resource management module to obtain cloud desktop inventory information. Simultaneously, the cloud desktop decision module calls the user information module to obtain the allocatable cloud desktop resources corresponding to the cloud desktop device. The cloud desktop decision module determines whether a smart contract is satisfied based on the cloud desktop inventory information and allocatable cloud desktop resources. If the smart contract is satisfied, the cloud desktop decision module sends an access permission instruction to the cloud desktop execution module. Based on the access permission instruction, the cloud desktop execution module establishes open virtual capabilities for the cloud desktop and distributes the access permissions for these open virtual capabilities to the cloud desktop device, enabling the cloud desktop device to access the target cloud desktop in the blockchain based on these access permissions. In the embodiments of this application, the UPnP protocol enables the discovery and sharing of various cloud desktop virtual capabilities without requiring extensive user intervention. Detailed information about each cloud desktop virtual capability is recorded through the cloud desktop resource module, thereby obtaining cloud desktop inventory information. This facilitates unified processing and scheduling of requests. Simultaneously, the cloud desktop management system can perform two-way verification of devices and resources based on the permission scope set by the smart contract. Furthermore, the cloud desktop management system can store and manage cloud desktop resources on the blockchain. Therefore, under the premise of satisfying the smart contract, cloud desktop devices can directly access target cloud desktops in the blockchain, achieving resource sharing and seamless connection among multiple cloud desktops. This also improves the security of cloud desktop resource management and data storage.
[0194] Example 4
[0195] Based on the above embodiments, this application provides a cloud desktop management system. Figure 12 A schematic diagram of the composition structure of a cloud desktop management system. Figure 1 ,like Figure 12 As shown, the cloud desktop management system 10 includes: a user information module 11, a cloud desktop resource management module 12, a cloud desktop execution module 13, and a cloud desktop decision module 14.
[0196] The cloud desktop execution module 13 is used to forward the access request to the cloud desktop decision module after receiving the access request sent by the cloud desktop device.
[0197] The cloud desktop decision module 14 is used to call the cloud desktop resource management module 12 based on the access request to obtain cloud desktop inventory information. At the same time, the cloud desktop decision module calls the user information module 11 to obtain the allocatable cloud desktop resources corresponding to the cloud desktop device. Based on the cloud desktop inventory information and the allocatable cloud desktop resources, it determines whether the smart contract is satisfied. If the smart contract is satisfied, the cloud desktop decision module sends an access permission instruction to the cloud desktop execution module.
[0198] The cloud desktop execution module 13 is further configured to establish open virtual capabilities of the cloud desktop based on the allowed access instruction, and to send the access permissions of the open virtual capabilities of the cloud desktop to the cloud desktop device, so that the cloud desktop device can access the target cloud desktop based on the access permissions of the open virtual capabilities of the cloud desktop.
[0199] In the embodiments of this application, further, Figure 13 A schematic diagram of the components of a cloud desktop management system. Figure 2 ,like Figure 13 As shown, the cloud desktop management system 10 also includes a sending unit 15, a calling unit 16, a judging unit 17, and a creation unit 18;
[0200] The sending order 15 yuan is used to forward the access request to the cloud desktop decision module after receiving the access request sent by the cloud desktop device.
[0201] The calling unit 16 is used to call the cloud desktop resource management module based on the access request to obtain cloud desktop inventory information, and at the same time call the user information module to obtain the allocatable cloud desktop resources corresponding to the cloud desktop device.
[0202] The judgment unit 17 is used to determine whether the smart contract is satisfied based on the cloud desktop inventory information and the allocable cloud desktop resources.
[0203] The sending unit 15 is further configured to send an access permission instruction to the cloud desktop execution module if the smart contract is satisfied.
[0204] The establishment unit 18 is used to establish open virtual capabilities for the cloud desktop based on the access permission instruction;
[0205] The sending unit 15 is further configured to send the access permissions of the open virtual capabilities of the cloud desktop to the cloud desktop device, so that the cloud desktop device can access the target cloud desktop based on the access permissions of the open virtual capabilities of the cloud desktop.
[0206] In the embodiments of this application, further, Figure 14 A schematic diagram of the composition structure of a cloud desktop management system. Figure 3,like Figure 14 As shown, the cloud desktop management system 10 proposed in this application embodiment may further include a processor 19, a memory 110 storing instructions executable by the processor 19, and further, the cloud desktop management system 10 may further include a communication interface 111 and a bus 112 for connecting the processor 19, the memory 110 and the communication interface 111.
[0207] In the embodiments of this application, the processor 19 can be at least one of the following: Application-Specific Integrated Circuit (ASIC), Digital Signal Processor (DSP), Digital Signal Processing Device (DSPD), Programmable Logic Device (PLD), Field Programmable Gate Array (FPGA), Central Processing Unit (CPU), Controller, Microcontroller, and Microprocessor. It is understood that for different devices, the electronic device used to implement the above-mentioned processor function can also be other types, and this application embodiment does not specifically limit this. The cloud desktop management system 10 may also include a memory 110, which can be connected to the processor 19. The memory 110 is used to store executable program code, which includes computer operation instructions. The memory 110 may include high-speed RAM memory and may also include non-volatile memory, such as at least two disk drives.
[0208] In embodiments of this application, bus 112 is used to connect communication interface 111, processor 19, and memory 110, as well as the mutual communication between these devices.
[0209] In embodiments of this application, memory 110 is used to store instructions and data.
[0210] Further, in the embodiments of this application, the processor 19 is configured to, after receiving an access request from a cloud desktop device, forward the access request to a cloud desktop decision module; based on the access request, the cloud desktop decision module calls the cloud desktop resource management module to obtain cloud desktop inventory information, and simultaneously calls the user information module to obtain the allocatable cloud desktop resources corresponding to the cloud desktop device; the cloud desktop decision module determines whether the smart contract is satisfied based on the cloud desktop inventory information and the allocatable cloud desktop resources; if the smart contract is satisfied, the cloud desktop decision module sends an access permission instruction to the cloud desktop execution module; based on the access permission instruction, the cloud desktop execution module establishes the open virtual capabilities of the cloud desktop and distributes the access permissions of the open virtual capabilities of the cloud desktop to the cloud desktop device, so that the cloud desktop device can access the target cloud desktop based on the access permissions of the open virtual capabilities of the cloud desktop.
[0211] In practical applications, the aforementioned memory 110 can be volatile memory, such as random-access memory (RAM); or non-volatile memory, such as read-only memory (ROM), flash memory, hard disk drive (HDD), or solid-state drive (SSD); or a combination of the above types of memory, and provides instructions and data to the processor 19.
[0212] This application provides a cloud desktop management and control system. In this system, the cloud desktop execution module, upon receiving an access request from a cloud desktop device, forwards the request to the cloud desktop decision module. Based on the access request, the cloud desktop decision module calls the cloud desktop resource management module to obtain cloud desktop inventory information. Simultaneously, the cloud desktop decision module calls the user information module to obtain the allocatable cloud desktop resources corresponding to the cloud desktop device. The cloud desktop decision module determines whether a smart contract is satisfied based on the cloud desktop inventory information and allocatable cloud desktop resources. If the smart contract is satisfied, the cloud desktop decision module sends an access permission instruction to the cloud desktop execution module. Based on the access permission instruction, the cloud desktop execution module establishes open virtual capabilities for the cloud desktop and distributes the access permissions for these open virtual capabilities to the cloud desktop device, enabling the cloud desktop device to access the target cloud desktop in the blockchain based on these access permissions. In the embodiments of this application, the UPnP protocol enables the discovery and sharing of various cloud desktop virtual capabilities without requiring extensive user intervention. Detailed information about each cloud desktop virtual capability is recorded through the cloud desktop resource module, thereby obtaining cloud desktop inventory information. This facilitates unified processing and scheduling of requests. Simultaneously, the cloud desktop management system can perform two-way verification of devices and resources based on the permission scope set by the smart contract. Furthermore, the cloud desktop management system can store and manage cloud desktop resources on the blockchain. Therefore, under the premise of satisfying the smart contract, cloud desktop devices can directly access target cloud desktops in the blockchain, achieving resource sharing and seamless connection among multiple cloud desktops. This also improves the security of cloud desktop resource management and data storage.
[0213] This application provides a computer-readable storage medium storing a program thereon, which, when executed by a processor, implements the cloud desktop management method described above.
[0214] Specifically, the program instructions corresponding to a cloud desktop management method in this embodiment can be stored on storage media such as optical discs, hard disks, and USB flash drives. When the program instructions corresponding to a cloud desktop management method in the storage media are read or executed by an electronic device, the following steps are included:
[0215] After receiving an access request from the cloud desktop device, the cloud desktop execution module forwards the access request to the cloud desktop decision module.
[0216] Based on the access request, the cloud desktop decision module calls the cloud desktop resource management module to obtain cloud desktop inventory information. At the same time, the cloud desktop decision module calls the user information module to obtain the allocatable cloud desktop resources corresponding to the cloud desktop device.
[0217] The cloud desktop decision module determines whether the smart contract is satisfied based on the cloud desktop inventory information and the allocable cloud desktop resources; wherein, the smart contract is used to verify the device and resources.
[0218] If the smart contract is satisfied, the cloud desktop decision module sends an access permission instruction to the cloud desktop execution module.
[0219] Based on the access permission instruction, the cloud desktop execution module establishes the open virtual capabilities of the cloud desktop and sends the access permissions of the open virtual capabilities of the cloud desktop to the cloud desktop device, so that the cloud desktop device can access the target cloud desktop in the blockchain based on the access permissions of the open virtual capabilities of the cloud desktop.
[0220] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of hardware embodiments, software embodiments, or embodiments combining software and hardware aspects. Furthermore, this application can take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage and optical storage) containing computer-usable program code.
[0221] This application is described with reference to schematic and / or block diagrams of implementations of methods, apparatus (systems), and computer program products according to embodiments of this application. It should be understood that each block of the schematic and / or block diagrams can be implemented by computer program instructions, and combinations of blocks in the schematic and / or block diagrams can be implemented. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create a machine for implementing the schematic and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0222] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in the implementation flow diagram. Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0223] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0224] The above description is merely a preferred embodiment of this application and is not intended to limit the scope of protection of this application.
Claims
1. A cloud desktop management method, characterized in that, The cloud desktop management method is applied to a cloud desktop management system, which includes: a user information module, a cloud desktop resource management module, a cloud desktop execution module, and a cloud desktop decision-making module; the method includes: After receiving an access request from a cloud desktop device, the cloud desktop execution module forwards the access request to the cloud desktop decision module. Based on the access request, the cloud desktop decision module calls the cloud desktop resource management module to obtain cloud desktop inventory information. At the same time, the cloud desktop decision module calls the user information module to obtain the allocatable cloud desktop resources corresponding to the cloud desktop device. The cloud desktop decision module determines whether the smart contract is satisfied based on the cloud desktop inventory information and the allocable cloud desktop resources; wherein, the smart contract is used to verify the device and resources. If the smart contract is satisfied, the cloud desktop decision module sends an access permission instruction to the cloud desktop execution module. Based on the access permission instruction, the cloud desktop execution module establishes the open virtual capabilities of the cloud desktop and sends the access permissions of the open virtual capabilities of the cloud desktop to the cloud desktop device, so that the cloud desktop device can access the target cloud desktop in the blockchain based on the access permissions of the open virtual capabilities of the cloud desktop.
2. The method according to claim 1, characterized in that, The method further includes: After receiving the add command for the cloud desktop to be added, the cloud desktop resource management module obtains the cloud desktop resources of the cloud desktop to be added based on the Universal Plug and Play (UPnP) protocol. The cloud desktop inventory information is constructed based on the cloud desktop resources to be added to the cloud desktop.
3. The method according to claim 2, characterized in that, The method further includes: Based on the addition instruction, the cloud desktop resources of the cloud desktop to be added and the corresponding authentication unit are stored on a block in the blockchain.
4. The method according to claim 1, characterized in that, The method further includes: The user information module pre-stores login information for at least one device and the allocatable cloud desktop resources for the at least one device.
5. The method according to claim 1, characterized in that, The method further includes: The cloud desktop execution module receives the usage request corresponding to the access permission sent by the cloud desktop device, and sends the usage request to the cloud desktop decision module; Based on the usage request, the cloud desktop decision module performs search processing to obtain search results; If the search result indicates that the target cloud desktop meets the usage request, the cloud desktop decision module sends a permission instruction to the cloud desktop execution module. Based on the permission instruction, the cloud desktop execution module returns a response message to the cloud desktop device allowing access to the target cloud desktop, and sends an invocation instruction to the target cloud desktop so that the cloud desktop device can access the target cloud desktop.
6. The method according to claim 5, characterized in that, The usage request carries request content. Based on the usage request, the cloud desktop decision module performs search processing to obtain search results, including: The cloud desktop decision module performs a search on the blockchain based on the requested content to obtain the search results.
7. The method according to claim 5 or 6, characterized in that, The method further includes: If the search results show that there is no cloud desktop that meets the usage request, the cloud desktop decision module sends a prohibition instruction to the cloud desktop execution module. The cloud desktop execution module returns the prohibition instruction to the cloud desktop device.
8. The method according to claim 1, characterized in that, The access request carries the identification information corresponding to the cloud desktop device. The cloud desktop decision module calls the user information module to obtain the allocatable cloud desktop resources corresponding to the cloud desktop device, including: The cloud desktop decision module obtains the allocatable cloud desktop resources corresponding to the cloud desktop device from the user information module based on the identification information.
9. The method according to claim 8, characterized in that, The method further includes: Upon receiving the access request, the cloud desktop execution module authorizes and confirms the cloud desktop device based on the identification information, and obtains the authorization result; If the authorization result is confirmed as approved, the cloud desktop execution module will forward the access request to the cloud desktop decision module.
10. The method according to claim 1, characterized in that, The cloud desktop decision module determines whether the smart contract is satisfied based on the cloud desktop inventory information and the available cloud desktop resources, including: The cloud desktop decision module compares the allocable cloud desktop resources and the cloud desktop inventory information to obtain a comparison result. If the comparison result indicates that the cloud desktop device is allowed to access and there are available cloud desktop resources in the cloud desktop inventory information, then the smart contract is deemed to be satisfied.
11. The method according to any one of claims 1-6, 8-10, characterized in that, The method further includes: The cloud desktop management system stores the interaction data, device information, and resource information between the user information module, the cloud desktop resource management module, the cloud desktop execution module, and the cloud desktop decision module based on the InterPlanetary File System (IPFS) protocol.
12. A cloud desktop management system, characterized in that, The cloud desktop management system includes: a user information module, a cloud desktop resource management module, a cloud desktop execution module, and a cloud desktop decision-making module; The cloud desktop execution module is used to forward the access request to the cloud desktop decision module after receiving the access request sent by the cloud desktop device. The cloud desktop decision module is used to call the cloud desktop resource management module based on the access request to obtain cloud desktop inventory information. At the same time, the cloud desktop decision module calls the user information module to obtain the allocable cloud desktop resources corresponding to the cloud desktop device. Based on the cloud desktop inventory information and the allocable cloud desktop resources, it determines whether the smart contract is satisfied. If the smart contract is satisfied, the cloud desktop decision module sends an access permission instruction to the cloud desktop execution module. The cloud desktop execution module is further configured to establish open virtual capabilities of the cloud desktop based on the allowed access instruction, and to issue access permissions of the open virtual capabilities of the cloud desktop to the cloud desktop device, so that the cloud desktop device can access the target cloud desktop in the blockchain based on the access permissions of the open virtual capabilities of the cloud desktop.
13. A cloud desktop management system, characterized in that, The cloud desktop management system includes: a sending unit, a calling unit, a judgment unit, and a creation unit; The sending unit is used to forward the access request to the cloud desktop decision module after receiving the access request sent by the cloud desktop device. The calling unit is used to call the cloud desktop resource management module to obtain cloud desktop inventory information based on the access request, and at the same time call the user information module to obtain the allocatable cloud desktop resources corresponding to the cloud desktop device. The judgment unit is used to determine whether the smart contract is satisfied based on the cloud desktop inventory information and the allocable cloud desktop resources. The sending unit is further configured to send an access permission instruction to the cloud desktop execution module if the smart contract is satisfied. The establishment unit is used to establish open virtual capabilities for the cloud desktop based on the access permission instruction; The sending unit is further configured to send access permissions for the open virtual capabilities of the cloud desktop to the cloud desktop device, so that the cloud desktop device can access the target cloud desktop in the blockchain based on the access permissions for the open virtual capabilities of the cloud desktop.
14. A cloud desktop management system, characterized in that, The cloud desktop management system includes: a processor and a memory; wherein... The memory is used to store computer programs that can run on the processor; The processor is configured to perform the method as described in any one of claims 1-11 when running the computer program.
15. A computer-readable storage medium, characterized in that, The storage medium stores computer program code, which, when executed by a computer, performs the method described in any one of claims 1-11.
Citation Information
Patent Citations
Method and system for self-adaptively connecting cloud desktop
CN105681454A
Mixed cloud desktop system and management method
CN105872078A