Cloud workstation AI resource use and resource synchronization method and system

By building an AI service resource model and resource synchronization model, extracting user task characteristics and performing parallel decoding to predict combined resources, the problem of cloud desktop resource matching degree fluctuations is solved, cloud desktop usage efficiency and resource scheduling efficiency are improved, and personalization is achieved. Resource mix.

CN118626256APending Publication Date: 2024-09-10JIANGSU CUDATEC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410712145.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-04
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

Existing technology cannot provide an accurately segmented combination of traditional resources and AI resources, resulting in reduced cloud desktop task processing efficiency, waste of computing resources, and serious fluctuations in resource matching.

Method used

By building an AI service resource model and resource synchronization model, we extract user task characteristics for position coding, generate task information matrix parallel decoding, predict combined resources, optimize resource combination through energy consumption ratio and cost-effective calculation model, and establish a user feedback mechanism to improve resources. Synchronization accuracy and scheduling efficiency.

Benefits of technology

It has improved the intelligence and efficiency of cloud desktop use, improved resource synchronization accuracy and scheduling efficiency, provided personalized combination of resources, and reduced resource waste.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118626256A
    Figure CN118626256A
Patent Text Reader

Abstract

The invention provides a cloud workstation AI resource use and resource synchronization method and system, and belongs to the field of cloud workstations. The method comprises the following steps: inputting a user task; extracting task features of the user tasks, performing position coding, inputting the position codes, and generating a task information matrix; performing parallel decoding processing on the task information matrix, and predicting and outputting required combined resources; and synchronously aligning the preheated combined resources with the process of the user task through a resource synchronization model, and calling the matched combined resources to perform task processing. According to the scheme provided by the invention, through the AI model, precise and subdivided personalized combined resources can be provided for a user use scene, the intelligent degree and the use efficiency of cloud desktop use can be improved, and the synchronization accuracy and the high efficiency of resource scheduling are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of cloud workstations, and in particular to a cloud workstation AI resource usage and resource synchronization method and system. Background Art

[0002] Cloud workstation is a comprehensive SaaS service platform integrating cloud design, cloud office, and cloud rendering. It deploys computing, storage, network and other resources in the cloud, provides computing resource services that best meet user needs in the form of computing power flow, and finally delivers them to the user's desktop to meet the needs of different application scenarios. In the process of cloud work, since the diversified scene elements continue to evolve with the planning and design and time sequence, in order to achieve an immersive user experience, it is necessary to ensure the synchronization of the changes in the diversified scene elements. Therefore, it is necessary to ensure the synchronization of business links and demand resources.

[0003] With the rise of AI technology, integrating AI technology into cloud workstations has become a mainstream trend. AI technology can achieve personalized experience and automate task processing through its intelligent assistance function, greatly improving work efficiency. However, the use of AI technology increases the difficulty of synchronous delivery of traditional service resources and AI service resources.

[0004] However, in the current existing technology, for example, the Chinese patent application with application number 202310975009.3 proposes a synchronous delivery method based on computing power streaming, adds a synchronization middle platform in the Paas layer for synchronous splicing, and adds a software tool for processing synchronization to achieve synchronous matching.

[0005] The inventors of the present invention have found that the above technology has at least the following technical problems:

[0006] This approach cannot provide personalized combination resources formed by precisely segmented traditional resources and AI resources to meet user needs. When there are differences in task progress, the matching degree fluctuates significantly, and it is easy for the computing power, storage, software and other resource calls to be out of sync with the user's task type, stage, and scenario, resulting in reduced cloud desktop task processing efficiency and waste of computing power resources. Summary of the invention

[0007] The purpose of the present invention is to overcome the defects of the prior art and provide a cloud workstation AI resource usage and resource synchronization method and system, which can provide users with personalized combination resources formed by AI service resources and traditional resource services, improve the intelligence and efficiency of cloud desktop use; by utilizing the AI ​​resource synchronization method, improve the accuracy of resource synchronization and the efficiency of resource scheduling.

[0008] In order to achieve the above objectives and other objectives, the present invention is implemented by including the following technical solutions: As a first aspect, the present invention proposes a cloud workstation AI resource usage and resource synchronization method, characterized in that the method includes:

[0009] Input the user task; extract the task features of the user task and perform position encoding, input the position encoding, and generate a task information matrix; perform parallel decoding processing on the task information matrix, predict and output the required combined resources; synchronize and align the preheated combined resources with the process of the user task through the resource synchronization model, and call the matched combined resources for task processing.

[0010] Furthermore, the combined resources include AI service resources and traditional service resources, which are generated through prediction of an AI service resource model.

[0011] Furthermore, the construction process of the AI ​​service resource model is as follows:

[0012] Extract multi-dimensional information data of the traditional service resources; train and generate AI service resources based on the multi-dimensional information data; construct an energy consumption ratio calculation model and a cost-effectiveness calculation model, and obtain the combined resources with the best energy consumption ratio and cost-effectiveness through model calculation; extract a new round of resource usage data through the combined use of the AI ​​service resources and the traditional service resources, and update and iterate the AI ​​service resources.

[0013] Furthermore, the energy consumption ratio calculation model is: Where EA is energy consumption, CA is computing efficiency, and TA is task completion time; the cost performance calculation model is: Among them, PA is performance, COSTA is resource cost, and UA is utilization rate.

[0014] Furthermore, the "parallel decoding processing of the task information matrix, prediction and output of the required combined resources" is completed by a decoder, which includes multiple decoding modules. The decoding module adopts a Masked operation, and considers the output result of the previous decoding module and the output result of the encoder at the same time, and inputs the previous prediction result and the task information matrix into the decoder at the same time for cyclic prediction.

[0015] Furthermore, after "parallel decoding processing is performed on the task information matrix, and the required combined resources are predicted and outputted", inter-group encoding is performed through a resource connection network.

[0016] Furthermore, the method also includes establishing a user feedback mechanism in the resource synchronization model to collect user usage data, usage habits, and problems that arise.

[0017] As a second aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements any method described in the first aspect.

[0018] One or more technical solutions provided in the embodiments of the present invention have at least the following technical effects or advantages:

[0019] The solution proposed in the present invention can provide precisely segmented personalized combined resources according to user usage scenarios through the AI ​​model, which can improve the intelligence and efficiency of cloud desktop use, and improve synchronization accuracy and efficiency of resource scheduling. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 Shown is a system architecture diagram of a cloud workstation AI resource usage and resource synchronization system of the present invention.

[0021] Figure 2 It shows a schematic diagram of selecting resources through energy consumption ratio and cost performance ratio curve of the present invention.

[0022] Figure 3 Shown is a schematic diagram of the encoding and decoding process of the resource synchronization model of the present invention.

[0023] Figure 4 Shown is a flow chart of a cloud workstation AI resource usage and resource synchronization method of the present invention. DETAILED DESCRIPTION

[0024] The embodiments of the present invention solve the problems of reduced cloud desktop task processing efficiency and waste of computing resources in the prior art by providing a cloud workstation AI resource usage and resource synchronization method and system.

[0025] Below, the technical solutions in the embodiments of the present invention will be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments of the present invention. It should be understood that the present invention is not limited to the example embodiments described herein. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention. It should also be noted that, for the convenience of description, only the parts related to the present invention are shown in the accompanying drawings, rather than all of them.

[0026] The overall idea of ​​the technical solution provided by the present invention is as follows: a cloud workstation AI resource usage and resource synchronization method, the method comprising: inputting user tasks; extracting task features of user tasks and performing position encoding, inputting the position encoding, and generating a task information matrix; performing parallel decoding processing on the task information matrix, predicting and outputting the required combined resources; aligning the preheated combined resources with the process of the user task through a resource synchronization model, and calling the matching combined resources for task processing.

[0027] The main idea is to change the previous inefficient way of synchronizing and splicing a single traditional service resource by adding a synchronization middleware in the Paas layer. By building an AI service resource model and a resource synchronization model, users are provided with precise and segmented personalized combination resources of AI service resources and traditional service resources according to user usage scenarios. This can improve the intelligence and efficiency of cloud desktop use. At the same time, when there are differences in task processes, it can achieve synchronization of combined resources and task links, and synchronization between different resources, thereby improving synchronization accuracy and efficiency of resource scheduling.

[0028] After introducing the basic principles of the present invention, various non-limiting implementation methods of the present invention will be specifically described below in conjunction with the accompanying drawings.

[0029] Embodiment 1

[0030] Please refer to the attached Figure 1-4 , an embodiment of the present invention provides a method for using and synchronizing AI resources in a cloud workstation, the method comprising the steps of:

[0031] S1: Build an intelligent synchronization platform between the user end and the resource end, build an AI service resource model in the intelligent synchronization platform, and realize the combined resources required for training and generating AI service resources and predicting user tasks;

[0032] The specific process of building the AI ​​service resource model is as follows:

[0033] (1) Extracting multi-dimensional information data of traditional service resources, that is, selectively extracting multi-dimensional information data such as task processing capabilities, data computing capabilities, and problem-solving capabilities of traditional service resources. The dimensions can be increased or decreased according to the actual application scenarios. The traditional service resources include computing resources (including GPUs, servers, cloud computing, data centers, etc.), algorithm resources (including underlying algorithms, general algorithms, and development platforms, etc.), network resources (bandwidth and IP addresses, etc.), storage resources (storage media, storage devices, storage systems, storage software, and storage services, etc.), and software resources.

[0034] (2) Based on the multi-dimensional information data, train and generate AI service resources; the AI ​​service resources are composed of hardware resources and software resources, including computing power, algorithms, data sets, models, etc. The AI ​​service resources have a high degree of automation and can quickly and automatically provide personalized services based on user behavior and preferences, and can specifically achieve: AI design materials, AI scene generation, AI data processing, AI accelerated processing, AI rendering, etc.

[0035] (3) Construct an energy consumption ratio and cost-effectiveness calculation model, and obtain the combined resources with the best energy consumption ratio and cost-effectiveness through model calculation; specifically, the higher the energy efficiency ratio of a resource, the shorter the time required to complete a task under a given energy consumption; the higher the cost-effectiveness of a resource, the higher the performance can be achieved under a given cost, and the greater the degree of full utilization; if only the energy efficiency ratio is considered, the task processing cost may be too high, and if only the cost-effectiveness is considered, the task processing time may be too long; therefore, by comprehensively judging factors such as energy consumption, completion efficiency, usage time, and resource usage price, the combination of AI service resources and traditional service resources with the highest cost-effectiveness and energy consumption ratio can be selected, which can improve user usage efficiency and reduce user usage costs.

[0036] Specifically, the energy consumption ratio calculation model: Where E A is energy consumption, C A is the computational efficiency, T A The time for task completion;

[0037] Specifically, the cost-performance calculation model: Where P A For performance, COST A is the resource cost, U A For utilization rate.

[0038] Different resources may have different suppliers, performance, computing energy consumption, computing time and other factors. For example, there are three types of resources available for a task, A, B, and C. The energy consumption ratio and cost performance of the three resources are calculated. Resource A has the lowest cost for processing the task but takes a long time. Resource C processes the task quickly but requires a very high cost. Resource B has a reasonable processing time at a moderate cost. Therefore, resource B is the most appropriate resource after comprehensive consideration (e.g. Figure 2 As shown, the intersection of the energy consumption ratio curve and the cost performance ratio curve is the optimal resource).

[0039] (4) By combining the AI ​​service resources and the traditional service resources, a new round of resource usage data is extracted to update and iterate the AI ​​service resources.

[0040] S2: building a resource synchronization model in the intelligent synchronization center to achieve synchronization between predicted combined resources and user task links, synchronization alignment between different resources, and calling matching combined resources for task processing;

[0041] Specifically, the working process of the resource synchronization model is as follows:

[0042] (1) Extraction: Based on the input user tasks, user task features are extracted and position-encoded; user task features include task type, task stage, usage scenario, relative order of task processing, etc.

[0043] (2) Task encoding: After the input position is encoded, a multi-head self-attention mechanism and a fully connected neural network structure are used to generate a representation vector matrix through the encoder; a multi-head self-attention mechanism is used to extract multi-dimensional task information; and the task information is encoded through the encoding module to obtain a task information matrix containing all user task features.

[0044] (3) Resource decoding: The task information matrix is ​​input into the decoder, and parallel decoding processing is performed in sequence to predict the combined resources required for the user task; the decoder includes multiple decoding modules, which use Masked operation to mask the information after the i+1th resource when predicting the i-th resource to ensure the accuracy of the resource prediction output; the decoding module simultaneously considers the output result of the previous decoding module and the output result of the encoder, and inputs the previous prediction result and the task information matrix into the decoder for cyclic prediction to ensure that all encoded information is used in the decoding process; the decoder outputs the combined resources required for the user task, and calculates the resource demand weight according to the multi-head self-attention model, predicts the resource amount and the processing order of each resource task, and performs hot preparation for the predicted combined resources.

[0045] (4) Inter-group coding: The previous output prediction result is passed to the resource connection network, and the learning results are inherited through the resource network. The nodes that can be intervened are increased to achieve synchronous resource intervention from different processes and different nodes. When predicting new resources, there is no need to start learning from scratch. Inter-group coding of resources is achieved, resource prediction is carried out quickly, the efficiency of model learning is improved, the number of waiting subjects in the task processing process is reduced, and the accuracy of resource intervention is improved.

[0046] (5) Resource synchronization: The predicted combined resources in hot preparation are obtained synchronously according to the process stage of the user task, and are called to the user end for task processing, thereby improving the accuracy of resource synchronization and the efficiency of resource scheduling.

[0047] S3: Establish a user feedback mechanism to collect user usage data, usage habits, problems encountered, etc., further train the resource synchronization model, improve service intelligence, and respond to user needs more accurately.

[0048] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention belong to the scope of the same technology of the present invention, the present invention is also intended to include these modifications and variations.

Claims

1. A cloud workstation AI resource usage and resource synchronization method, characterized in that: The method comprises: Input the user task; extract the task features of the user task and perform position encoding, input the position encoding, and generate a task information matrix; perform parallel decoding processing on the task information matrix, predict and output the required combined resources; synchronize and align the preheated combined resources with the process of the user task through the resource synchronization model, and call the matched combined resources for task processing.

2. The cloud workstation AI resource usage and resource synchronization method according to claim 1, characterized in that: The combined resources include AI service resources and traditional service resources, which are generated through prediction of the AI ​​service resource model.

3. The cloud workstation AI resource usage and resource synchronization method according to claim 2, characterized in that: The construction process of the AI ​​service resource model is as follows: Extract multi-dimensional information data of the traditional service resources; train and generate AI service resources based on the multi-dimensional information data; construct an energy consumption ratio calculation model and a cost-effectiveness calculation model, and obtain the combined resources with the best energy consumption ratio and cost-effectiveness through model calculation; extract a new round of resource usage data through the combined use of the AI ​​service resources and the traditional service resources, and update and iterate the AI ​​service resources.

4. The cloud workstation AI resource usage and resource synchronization method according to claim 3, characterized in that: The energy consumption ratio calculation model is: Where E A is energy consumption, C A is the computational efficiency, T A The time for task completion; The cost performance calculation model is: Where P A For performance, COST A is the resource cost, U A For utilization rate.

5. The cloud workstation AI resource usage and resource synchronization method according to claim 1, characterized in that: The "parallel decoding of the task information matrix, prediction and output of the required combined resources" is completed by a decoder, which includes multiple decoding modules. The decoding module adopts a Masked operation, and considers the output result of the previous decoding module and the output result of the encoder at the same time, and inputs the previous prediction result and the task information matrix into the decoder for cyclic prediction.

6. The cloud workstation AI resource usage and resource synchronization method according to claim 1, characterized in that: The "parallel decoding processing of the task information matrix, prediction and output of the required combined resources" is then performed through the resource connection network for inter-group encoding.

7. The cloud workstation AI resource usage and resource synchronization method according to claim 1, characterized in that: It also includes establishing a user feedback mechanism in the resource synchronization model to collect user usage data, usage habits, and problems that arise.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.