Computing power scheduling method for cloud application, file processing method for cloud application, and cloud computing platform

By automatically obtaining file characteristic information and scheduling cloud applications to matching computing nodes, the problem of low resource utilization rate of cloud applications when processing different files is solved, and file processing efficiency and user experience are improved.

WO2025001292A1PCT designated stage expired Publication Date: 2025-01-02HANGZHOU ALICLOUD FEITIAN INFORMATION TECH CO LTD

Patent Information

Application Number
PCT/CN2024/080642
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-06-28
Filing Date
2024-03-07
Publication Date
2025-01-02

AI Technical Summary

Technical Problem

When cloud applications process different types of files, the cloud computing resources consumed are inconsistent, resulting in low resource utilization, low file processing efficiency and poor user experience.

Method used

By automatically obtaining file characteristic information of pending files, reasonably assessing the computing resource requirements required by cloud applications when processing files based on file characteristic information, and scheduling cloud applications to matching computing nodes for file processing, improving resource utilization and File processing efficiency.

Benefits of technology

It effectively improves the resource utilization rate of cloud computing resources and the file processing efficiency of cloud applications, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024080642_02012025_PF_FP_ABST
    Figure CN2024080642_02012025_PF_FP_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a computing power scheduling method for a cloud application, a file processing method for a cloud application, and a cloud computing platform. In the embodiments of the present application, it is considered that the cloud application consumes different cloud computing resources for processing different files. Therefore, for a file processing scenario of the cloud application, the file characteristic information of a file to be processed is automatically acquired, computing power resource demand information required when the cloud application processes the file is rationally evaluated on the basis of the file characteristic information of the file to be processed, and the cloud application is scheduled to a computing node in a cloud computing platform matched with the computing power resource demand information. Furthermore, computing power resources can be rationally scheduled for the cloud application, thereby improving the resource utilization rate of the cloud computing resources. Therefore, in the subsequent file processing stage, the cloud application is started on the computing node matched with the file characteristic information of the file that needs to be processed, thereby effectively improving the file processing efficiency of the cloud application, and improving the experience of using the cloud application by users.
Need to check novelty before this filing date? Find Prior Art

Description

Computing power scheduling for cloud applications, file processing method for cloud applications, and cloud computing platform

[0001] This application claims priority to the Chinese patent application filed with the Patent Office of China on June 28, 2023, with application number 202310780810.2 and invention name “Computing power scheduling for cloud applications and file processing method for cloud applications and cloud computing platform”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of cloud computing technology, and in particular to a method for scheduling computing power for cloud applications, a method for processing files for cloud applications, and a cloud computing platform. Background Art

[0003] With the rapid development of cloud computing technology, more and more businesses and individuals are deploying applications on cloud computing platforms. Leveraging the cloud computing resources provided by these platforms, they are expanding the computing power of their devices, enabling more efficient data processing and application execution. Applications deployed on cloud computing platforms are also called cloud applications. Users can use cloud applications for a variety of file processing tasks, such as file browsing, image processing, video editing, video compression, and video transcoding. In practice, cloud applications consume varying amounts of cloud computing resources when processing different files. In cloud application file processing scenarios, optimizing the allocation of cloud computing resources for these applications has been a hot topic of research.

[0004] Summary of the Invention

[0005] Multiple aspects of the present application provide a cloud application computing power scheduling and cloud application file processing method and cloud computing platform, which are used to reasonably schedule computing power resources for cloud applications and improve the resource utilization of cloud computing resources. In this way, in the subsequent file processing stage, the file processing efficiency of cloud applications can be effectively improved, and the user experience of cloud applications can be improved.

[0006] An embodiment of the present application provides a file processing method for a cloud application, comprising: in response to a file processing request including a target file identifier sent by a user through a cloud application client, obtaining file characteristic information of a target file corresponding to the target file identifier; determining computing power resource demand information of the cloud application based on the file characteristic information of the target file; screening out a target computing node that meets the computing power resource demand information from various computing nodes of the cloud computing platform; scheduling the cloud application to the target computing node, and starting the cloud application scheduled to the target computing node to process the target file.

[0007] An embodiment of the present application also provides a computing power scheduling method for cloud applications, including: obtaining a target file identifier sent by a user through a cloud application client, and obtaining file characteristic information of a target file corresponding to the target file identifier; determining computing power resource demand information of the cloud application based on the file characteristic information of the target file; screening out target computing nodes that meet the computing power resource demand information from various computing nodes of the cloud computing platform; and scheduling the cloud application to the target computing node.

[0008] An embodiment of the present application also provides a cloud computing platform, including: a cloud application management and control device, a cloud storage system and a computing power resource pool, the computing power resource pool including multiple computing nodes; a cloud application management and control device, used to respond to a file processing request including a target file identifier sent by a user through a cloud application client, obtain file characteristic information of a target file corresponding to the target file identifier; determine the computing power resource demand information of the cloud application based on the file characteristic information of the target file; send a resource application request including resource demand information to the computing power resource pool, and receive resource application response information returned by the computing power resource pool, and schedule the cloud application to the target computing node according to the node identifier of the target computing node in the resource application response information, and start the cloud application scheduled to the target computing node, after which the cloud application loads the file data of the target file from the cloud storage system and performs file processing on the file data of the target file; the computing power resource pool, used to respond to the resource application request, screen out the target computing node that meets the computing power resource demand information from each computing node, and return the resource application response information to the cloud application management and control device.

[0009] An embodiment of the present application also provides a computer device, comprising: a memory and a processor; the memory is used to store a computer program; the processor is coupled to the memory, and is used to execute the computer program to execute the steps in the file processing method of the cloud application.

[0010] An embodiment of the present application also provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the processor is enabled to implement the steps in the file processing method of the cloud application.

[0011] In the embodiment of the present application, it is taken into account that the cloud computing resources consumed by cloud applications are different when processing different files. To this end, for the file processing scenario of the cloud application, the file characteristic information of the file to be processed is automatically obtained, and the computing resource demand information required by the cloud application when processing the file is reasonably evaluated based on the file characteristic information of the file to be processed, and the cloud application is scheduled to the computing node in the cloud computing platform that matches the computing resource demand information. In this way, computing resources can be reasonably scheduled for the cloud application, thereby improving the resource utilization rate of cloud computing resources. In this way, in the subsequent file processing stage, by starting the cloud application on the computing node that is adapted to the file characteristic information of the file to be processed for file processing, the file processing efficiency of the cloud application is effectively improved, and the user experience of the cloud application is improved.

[0012] The above summary is for illustrative purposes only and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments and features described above, further aspects, embodiments and features of the present application will be readily apparent by reference to the accompanying drawings and the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] In the accompanying drawings, unless otherwise specified, the same reference numerals throughout the multiple drawings represent the same or similar components or elements. These drawings are not necessarily drawn to scale. It should be understood that these drawings only depict some embodiments disclosed in this application and should not be construed as limiting the scope of this application.

[0014] FIG1 is a diagram of an exemplary application scenario provided by an embodiment of the present application;

[0015] FIG2 is a flow chart of a file processing method for a cloud application provided in an embodiment of the present application;

[0016] FIG3 is a flow chart of a computing power scheduling method for cloud applications provided in an embodiment of the present application;

[0017] FIG4 is a schematic diagram of an exemplary scenario of computing power scheduling and file processing for a cloud application provided in an embodiment of the present application;

[0018] FIG5 is a schematic diagram of the structure of a cloud computing platform provided in an embodiment of the present application;

[0019] FIG6 is a schematic diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0020] To make the purpose, technical solutions, and advantages of this application more clear, the technical solutions of this application will be clearly and completely described below in conjunction with the specific embodiments of this application and the corresponding drawings. Obviously, the embodiments described are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0021] In the embodiments of the present application, "at least one" refers to one or more, and "more" may refer to two or more. "And / or" describes the access relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent three situations: A exists alone, A and B exist at the same time, and B exists alone, where A and B may be singular or plural. In the textual description of the present application, the character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship. In addition, in the embodiments of the present application, "first", "second", "third", etc. are only used to distinguish the contents of different objects and have no other special meanings.

[0022] The following is an introduction to some terms involved in the embodiments of this application:

[0023] Cloud applications (also known as cloud apps) transform the traditional "local installation and local computing" model of software into a "drop-in, ready-to-use" service. These applications connect to and control remote service clusters via the internet to complete technical logic or computational tasks. Cloud applications do not require installation on local devices; instead, they are installed on a cloud computing platform, significantly reducing the computing power and storage pressure on local devices. Examples of cloud applications include, but are not limited to, instant messaging cloud applications, cloud gaming applications, cloud rendering applications, cloud desktop applications, live streaming cloud applications, and video playback cloud applications.

[0024] Cloud application client: refers to the client of the cloud application, responsible for interacting with users and requesting access to cloud applications, etc.

[0025] A cloud computing platform (also known as the cloud) is an information system that integrates various hardware and software resources based on cloud computing technology. Hardware resources include, but are not limited to, servers, storage devices, and network equipment. Software resources include, but are not limited to, operating systems, integrated development environments, middleware, and application software. Cloud computing platforms are characterized by high concurrency and a large user base. End users can use cloud computing platforms to meet their application computing, storage, and other infrastructure needs.

[0026] A cloud storage system refers to a storage system deployed in a cloud computing platform, including but not limited to a distributed file storage system deployed in a cloud computing platform.

[0027] Cloud application management and control device: provides full life cycle management capabilities for cloud application development, release, deployment, etc., full life cycle management capabilities for cloud resources such as purchase and creation, elastic expansion and contraction, dynamic scheduling, as well as security monitoring and management capabilities such as access control.

[0028] Computing resource pool: refers to a shared pool of centralized cloud computing resources, which facilitates efficient resource allocation and can improve resource utilization and scheduling performance.

[0029] Distributed file storage system: It can store files in multiple nodes in a dispersed manner, can handle the needs of large-scale data storage and access, and provides a high degree of data redundancy and fault tolerance mechanism to ensure data security.

[0030] In practical applications, cloud applications consume different amounts of cloud computing resources when processing different files. In the file processing scenario of cloud applications, rationally allocating cloud computing resources for cloud applications has always been a research hotspot.

[0031] To this end, the embodiment of the present application provides a cloud application computing power scheduling and cloud application file processing method and cloud computing platform. In the embodiment of the present application, it is taken into account that the cloud computing resources consumed by cloud applications are different when processing different files. To this end, for the file processing scenario of cloud applications, the file characteristic information of the files to be processed is automatically obtained, and the computing power resource demand information required for the cloud application to process the files is reasonably evaluated based on the file characteristic information of the files to be processed, and the cloud application is scheduled to the computing node in the cloud computing platform that matches the computing power resource demand information. Thus, computing power resources can be reasonably scheduled for the cloud application, thereby improving the resource utilization rate of cloud computing resources. In this way, in the subsequent file processing stage, by starting the cloud application on the computing node that is adapted to the file characteristic information of the file to be processed for file processing, the file processing efficiency of the cloud application is effectively improved, and the user experience of the cloud application is improved.

[0032] Figure 1 illustrates an exemplary application scenario provided by an embodiment of the present application. Referring to Figure 1 , a user can access a cloud application on a cloud computing platform through a cloud application client on a terminal device. For example, a user can request a cloud application to perform file processing through the cloud application client. Referring to Figure 1 , the cloud computing platform may include a cloud application management and control device, a cloud storage system (e.g., a distributed file storage system), and a computing resource pool.

[0033] In actual applications, as shown in ① in Figure 1, the file data of the files stored locally on the terminal device can be synchronized to the cloud storage system, so that the cloud application can access the file data of the files to be processed nearby when performing file processing. That is, the file data of the files to be processed can be obtained by accessing the cloud storage system, without having to access the file data of the files to be processed in the terminal device, which speeds up the file processing efficiency of the cloud application. Here, the files stored locally on the terminal device are referred to as user local files, and the files in the cloud storage system are referred to as user cloud files. In actual applications, there is no requirement for the time when the file data in the user's local files is synchronized to the user's cloud files. For example, the synchronization time can be before the user requests the cloud application to process the file through the application client, during the file processing, or after the file processing. There is no restriction on this.

[0034] As shown in FIG1 ②, when a user needs to use a cloud application to process a file, the user triggers the cloud application client to send a file processing request to the cloud computing platform. The file processing request includes the file identifier of the file to be processed. The cloud application management and control device in the cloud computing platform searches for the pre-stored file characteristic information of each file based on the file identifier of the file to be processed. If the file characteristic information of the file to be processed is found, the computing resource scheduling operation is performed. If the file characteristic information of the file to be processed is not found, the file characteristic information of the file to be processed is first extracted by the file characteristic extraction module in the cloud application management and control device, and then the computing resource scheduling operation is performed. Specifically, as shown in FIG1 ③, the file characteristic extraction module obtains the file metadata of the file to be processed from the cloud storage system based on the file identifier of the file to be processed; as shown in FIG1 ④, the file characteristic extraction module performs feature extraction on the file data of the file to be processed in the cloud storage system to obtain the key file characteristic information of the file to be processed. As shown in FIG1 ⑤, the file characteristic extraction module saves the file metadata and key file characteristic information of the file to be processed as the file characteristic information of the file to be processed.

[0035] As shown in ⑥ in FIG1 , when the file characteristic information of the file to be processed is obtained, the cloud application management and control device calls the computing resource scheduling module to analyze the file characteristic information of the file to be processed, and determines the computing resource demand information of the cloud application program for processing the file to be processed. The computing resource demand information includes, but is not limited to: the utilization rate of the central processing unit (CPU) of the required computing node, the utilization rate of the graphics processing unit (GPU), the remaining space of the memory, and the remaining space of the disk. It is understandable that the utilization rate of the central processing unit, the utilization rate of the graphics processing unit, the remaining space of the memory, or the remaining space of the disk of the computing node is different, and the specifications of the corresponding computing node are different.

[0036] As shown in ⑦ in Figure 1, the computing resource scheduling module sends a resource application request including resource demand information to the algorithm resource pool. In response to the resource application request, the computing resource scheduling module allocates computing nodes that match the resource demand information to the cloud application.

[0037] After resource allocation is complete, as shown in Figure 1 (8), the computing resource scheduling module sends a cloud application distribution instruction to the cloud application distribution module in the cloud application management and control device. The cloud application distribution module is responsible for tasks such as cloud application image distribution, application deployment, configuration, and startup and shutdown. As shown in Figure 1 (9), the cloud application distribution module responds to the application distribution instruction, distributes the cloud application to the computing nodes that match the resource requirement information, and launches the cloud application on the corresponding computing nodes.

[0038] In the file processing phase, as shown in FIG1 ⑩, the cloud application after startup loads the file data of the file to be processed from the cloud storage system and performs file processing on the file data of the file to be processed. As shown, the data generated during the cloud application file processing process is collected and encapsulated using cloud application protocols such as ASP (Adaptive Streaming Protocol), resulting in streaming data for the cloud application protocol. This streaming data is then transmitted to the cloud application client via the Gateway service. The ASP protocol runs on the TCP (Transmission Control Protocol) / UDP (User Datagram Protocol) network protocol and, leveraging current efficient encoding and decoding technologies, encodes the graphical interactive interface on the cloud and streams it to the client. The client then decodes the data and displays the graphical interface.

[0039] See Figure 1 As shown, the cloud application client parses the streaming data of the cloud application protocol to obtain the screen of the cloud application file processing process and updates the displayed file process screen in real time. At this point, the entire file processing process is completed.

[0040] It should be noted that the application scenario shown in Figure 1 is only an exemplary application scenario, and the present embodiment does not limit the application scenario. The present embodiment does not limit the devices included in Figure 1, nor does it limit the positional relationship between the devices in Figure 1.

[0041] In an embodiment of the present application, the terminal device can interact with the cloud computing platform through a wired network or a wireless network. For example, the wired network may include a coaxial cable, a twisted pair, and an optical fiber, and the wireless network may be a 2G (2 Generation, 2 Generation) network, a 3G (3 Generation, 3 Generation) network, a 4G (4 Generation, 4 Generation) network, or a 5G (5 Generation, 5 Generation) network, a Wireless Fidelity (Wireless Fidelity, referred to as WIFI) network, etc. The present application does not limit the specific type or form of interaction, as long as it can realize the function of interaction between the terminal device and the cloud computing platform. In addition, the terminal device can be hardware or software. When the terminal device is hardware, the terminal device is, for example, a mobile phone, a tablet computer, a desktop computer, a wearable smart device, a smart home device, etc. When the terminal device is software, it can be installed in the hardware devices listed above. In this case, the user device is, for example, multiple software modules or a single software module, etc., and the embodiments of the present application are not limited.

[0042] The technical solutions provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0043] FIG2 is a flow chart of a file processing method for a cloud application provided in an embodiment of the present application. The method is applied to a cloud computing platform. Referring to FIG2 , the method may include the following steps:

[0044] 201. In response to a file processing request including a target file identifier sent by a user through a cloud application client, obtain file characteristic information of a target file corresponding to the target file identifier.

[0045] 202. Determine computing resource demand information of the cloud application based on file characteristic information of the target file.

[0046] 203. Filter out target computing nodes that meet computing resource demand information from various computing nodes of the cloud computing platform.

[0047] 204. Schedule the cloud application to the target computing node, and start the cloud application scheduled to the target computing node to process the target file.

[0048] In this embodiment, a user can request a cloud application to perform file processing through a cloud application client. Here, the file to be processed is referred to as a target file. The target file can be a plain text file or a rich text file, without limitation. In the case where the target file is a rich text file, the target file includes, but is not limited to, video format files, image format files, PDF (Portable Document Format) format files, and PPT (Power Point) format files, where a PPT format file is a presentation document.

[0049] When a user needs to process a file, they can trigger a file processing request through the cloud application client. The file processing request is used to request the cloud application to process the target file. The file processing request includes the target file identifier (i.e., the file identifier of the target file). In some scenarios, the cloud computing platform may have multiple cloud applications. In such cases, the file processing request can include the application identifier of the cloud application to clearly indicate which cloud application should be used for file processing.

[0050] In this embodiment, the cloud computing platform responds to a file processing request sent by a user through a cloud application client and obtains file characteristic information of a target file corresponding to a target file identifier. This file characteristic information can depict a profile of the file, including, but not limited to, file metadata describing the file's characteristics and key file feature information extracted from the file data. File metadata includes, but is not limited to, file type, file size, image dimensions, image resolution, encoding format, bitrate, or frame rate, etc.

[0051] In this embodiment, when the cloud computing platform obtains the file characteristic information of the target file corresponding to the target file identifier, the cloud computing platform may obtain the file metadata information of the target file from the cloud storage system and use the file metadata information of the target file as the file characteristic information of the target file. Alternatively, the cloud computing platform may perform feature extraction on the file data of the target file cached in the cloud storage system to obtain key file characteristic information of the target file, and use the key file characteristic information as the file characteristic information of the target file. Alternatively, to further characterize the profile information of the file, the cloud computing platform may use the file metadata information and key file characteristic information of the target file as the file characteristic information of the target file.

[0052] In practical applications, various feature extraction algorithms can be used to extract features from file data. Examples of these algorithms include, but are not limited to, the LBP (Local Binary Pattern) feature extraction algorithm, the SIFT (Scale Invariant Feature Transform) feature extraction algorithm, the TF-IDF (Term Frequency–Inverse Document Frequency) feature extraction algorithm, and mutual information-based feature extraction algorithms.

[0053] In this embodiment, multiple feature extraction algorithms with different algorithmic performance can be provided, and algorithmic performance includes, but is not limited to, accuracy, extraction efficiency, and the like. Furthermore, optionally, in order to better perform feature extraction, feature extraction is performed on the file data of a target file cached in the cloud storage system to obtain key file feature information of the target file. One optional implementation method is to select a target feature extraction algorithm from multiple feature extraction algorithms whose algorithmic performance matches the file metadata information of the target file; and use the target feature extraction algorithm to perform feature extraction on the file data of the target file cached in the cloud storage system to obtain key file feature information of the target file.

[0054] Specifically, the file metadata information applicable to the algorithm performance of each feature extraction algorithm can be flexibly set in advance as needed. In this way, during the algorithm selection stage, the feature extraction algorithm that matches the file metadata information of the target file is selected as the target feature extraction algorithm, and feature extraction is performed using the target feature extraction algorithm. Alternatively, during the algorithm selection stage, the algorithm performance adapted to the target file can be estimated based on the file metadata of the target file, and the feature extraction algorithm corresponding to the algorithm performance adapted to the target file can be selected for feature extraction. For example, plain text files have lower requirements for accuracy and feature extraction efficiency than rich text files, or large files have higher requirements for accuracy and feature extraction efficiency than small files, and so on.

[0055] Further optionally, in order to improve file processing efficiency, after obtaining the file characteristic information of the file, the cloud computing platform can save the file characteristic information of the file in the cloud computing platform, so as to facilitate the subsequent rapid acquisition of the file characteristic information of the required file from the file characteristic information of each saved file.

[0056] Based on the above, as an example, when the cloud computing platform obtains the file characteristic information of the target file corresponding to the target file identifier, it can search for the file characteristic information of the target file from the file characteristic information of each file already stored on the cloud computing platform based on the target file identifier; if the file characteristic information of the target file is not found in the cloud computing platform, it can obtain the file metadata information of the target file from the cloud storage system; use the file metadata information of the target file as the file characteristic information of the target file, and associate the target file identifier and file characteristic information of the target file saved in the cloud computing platform. Of course, if the file characteristic information of the target file is found in the cloud computing platform, the subsequent steps of determining the computing resource demand information can be performed.

[0057] As another example, when the cloud computing platform obtains the file characteristic information of the target file corresponding to the target file identifier, it can search for the file characteristic information of the target file from the file characteristic information of each file already stored in the cloud computing platform based on the target file identifier; if the file characteristic information of the target file is not found in the cloud computing platform, the file metadata information of the target file is obtained from the cloud storage system, and the file data of the target file cached in the cloud storage system is subjected to feature extraction to obtain the key file characteristic information of the target file; the file metadata information and key file characteristic information of the target file are used as the file characteristic information of the target file, and the target file identifier and file characteristic information of the target file are associated and saved in the cloud computing platform. Of course, if the file characteristic information of the target file is found in the cloud computing platform, the subsequent steps of determining the computing resource demand information can be executed.

[0058] In this embodiment, the computing resource requirements of a cloud application are determined based on the file characteristics of the target file. This computing resource requirement information describes the resource information of the computing nodes required by the cloud application to process the target file. For example, this computing resource requirement information includes, but is not limited to, the CPU usage, GPU usage, remaining memory space, and remaining disk space of the required computing node. Optionally, the computing resource requirement information may also indicate whether the required computing node is a graphics computing node with a GPU or a standard computing node without a GPU. Graphics computing nodes refer to computing nodes with GPUs, while standard computing nodes refer to computing nodes without GPUs. For example, if the target file type is rich text, and the file characteristics of the target file include at least one of the following: file size, image dimensions, image resolution, encoding format, bitrate, frame rate, and key file characteristics, the computing resource requirement information indicates that a graphics computing node with a GPU is the target computing node. If the target file type is plain text, and the file characteristics of the target file include at least one of the following: file size and key file characteristics, the computing resource requirement information indicates that a standard computing node without a GPU is the target computing node.

[0059] In practical applications, the computing power resource requirements corresponding to each feature data in the file characteristic information can be analyzed based on expert experience. This can be done by performing a weighted summation of the computing power resource requirements corresponding to each feature data in the file characteristic information to determine the computing power resource requirements corresponding to the target file being processed by the cloud application. For example, file characteristic information includes: file type, file size, image size, image resolution, encoding format, bit rate, frame rate, and key file feature information extracted from the file data. Based on expert experience, the computing power resource requirements corresponding to each feature data, such as file type, file size, image size, image resolution, encoding format, bit rate, frame rate, and key file feature information, can be analyzed. A weighted summation of the computing power resource requirements corresponding to each feature data can be performed to obtain the computing power resource requirements corresponding to the target file being processed by the cloud application.

[0060] In practical applications, it is also possible to collect the characteristic information of multiple files that have already been processed and the computing resource information annotated with them, and use this information to train a model to obtain a machine learning model that can determine the computing resource requirements. In this way, the machine learning model can be used to determine the computing resource requirements corresponding to the target file processed by the cloud application.

[0061] Of course, in actual applications, the computing power resource demand information of the cloud application can be flexibly determined based on the file characteristic information of the target file, and there is no restriction on this. For example, for rich text type files, the computing power resource demand information of the cloud application is determined based on one or more characteristic information such as file size, image size, image resolution, encoding format, bit rate, frame rate and key file characteristic information. For example, for plain text type files, the computing power resource demand information of the cloud application is determined based on one or more characteristic information such as file size and key file characteristic information. Further optionally, in order to efficiently and accurately determine the computing power resource demand information, an optional implementation method for determining the computing power resource demand information of the cloud application based on the file characteristic information of the target file is: determining the computational complexity of the target file based on the file characteristic information of the target file; determining the computing power resource demand information of the cloud application based on the computational complexity of the target file.

[0062] In practical applications, the computational complexity corresponding to each feature data in the file feature information can be analyzed based on expert experience, and the computational complexity corresponding to each feature data in the file feature information can be weighted summed to obtain the computational complexity of the target file.

[0063] In practical applications, we can collect multiple file feature information and their annotated computational complexity, and use this information to train a model, thereby obtaining a machine learning model with computational complexity determination capabilities. This machine learning model can then be used to determine the computational complexity of the target file.

[0064] Further optionally, in order to efficiently and accurately determine the computational complexity of a file, an optional implementation method for determining the computational complexity of a target file based on the file characteristic information of the target file is: based on the file type in the file characteristic information of the target file, determine a target computational complexity determination method that matches the file type of the target file from the computational complexity determination methods corresponding to each file type; and use the target computational complexity determination method to process the file characteristic information of the target file to determine the computational complexity of the target file.

[0065] In practical applications, the computational complexity determination method for each file type can be flexibly set as needed. For example, for plain text files, the computational complexity determination method is as follows: the computational complexity corresponding to the file size and the computational complexity corresponding to key file feature information are determined separately; the computational complexity corresponding to the file size and the computational complexity corresponding to key file feature information are weighted summed to obtain the overall computational complexity of the file. The larger the file size, the greater the computational complexity; the richer the key file feature information, the greater the computational complexity.

[0066] For example, for rich text type files, the computational complexity is determined by: determining the computational complexity corresponding to one or more characteristic information such as file size, image size, image resolution, encoding format, bit rate, frame rate and key file characteristic information; performing weighted summation of the computational complexity corresponding to each characteristic information to obtain the computational complexity of the entire file.

[0067] For example, for plain text files, the computational complexity is determined by separately determining the computational complexity corresponding to one or more feature information such as file size and key file feature information; performing weighted summation of the computational complexity corresponding to each feature information to obtain the computational complexity of the entire file.

[0068] It's worth noting that file types can be flexibly categorized as needed. For example, file types can be divided into plain text and rich text. Another example is file size, which can be divided into large files and small files. Another example is encoding format, which can be divided into H.264 and H.265. H.264 is a new video compression standard that elevates motion image compression technology to a higher level, providing high-quality image transmission at lower bandwidths. H.264 encoding is more efficient and error-resistant, making it suitable for video transmission over wireless channels with high packet loss rates and severe interference, thereby achieving smooth image quality. H.265 is a new video compression standard. Based on the H.264 video encoding standard, H.265 retains some of the original technologies while using new technologies to improve and optimize certain aspects, such as bitrate, encoding quality, and latency. This improves compression efficiency, enhances robustness and error resilience, reduces real-time latency, and reduces complexity.

[0069] In this embodiment, the target file's file characteristic information is processed using a target computational complexity determination method that matches the target file's file type to determine the target file's computational complexity. After determining the target file's computational complexity, the computing power resource requirements of the cloud application are determined based on the target file's computational complexity.

[0070] In practical applications, expert experience can be used to analyze the computing power resource requirements required by the computational complexity of the target file. Alternatively, the computational complexity and annotated computing power resource information of multiple previously processed files can be collected and used to train a model, resulting in a machine learning model capable of determining computing power resource requirements. This machine learning model can then be used to determine the computing power resource requirements corresponding to the target file being processed by the cloud application.

[0071] Furthermore, in order to efficiently and accurately determine the computing resource demand information, a computational complexity range corresponding to each computational complexity level can be pre-set, and a corresponding relationship between the computational complexity level and the computing resource demand information can be established. In this way, when determining the computing resource demand information corresponding to the target file processed by the cloud application, the computational complexity level of the target file can be determined based on the computational complexity range within which the computational complexity of the target file falls. Based on the computational complexity level of the target file, the corresponding relationship between the computational complexity level and the computing resource demand information can be queried to determine the computing resource demand information corresponding to the cloud application processing the target file.

[0072] Further optionally, in order to efficiently and accurately determine the computing power resource demand information of the cloud application, an optional implementation method for determining the computing power resource demand information of the cloud application based on the computational complexity of the target file is: determining the computing power resource demand information of the cloud application based on the computational complexity of the target file and the node information of each computing node of the cloud computing platform, wherein the node information includes load pressure and / or remaining resource information. For example, the CPU load pressure, GPU load pressure, memory load pressure or disk load pressure of the computing node, the remaining CPU usage, the remaining GPU usage, the remaining memory space, the remaining disk space, etc.

[0073] In practical applications, the computing power resource requirements of a cloud application can be determined by comprehensively analyzing the computational complexity of the target file and the node information of each computing node on the cloud computing platform. Alternatively, initial computing power resource requirements can be determined based on the computational complexity of the target file, and then optimized using the node information of each computing node to obtain the final computing power resource requirements of the cloud application. Alternatively, multiple training data sets can be collected, including the computational complexity of the file, the node information of each computing node on the cloud computing platform, and the annotated computing power resource information. This data can then be used to train a model, resulting in a machine learning model capable of determining computing power resource requirements. In this way, the machine learning model can be used to determine the computing power resource requirements corresponding to the target file processed by the cloud application. Of course, in practical applications, the computing power resource requirements of the cloud application can be determined flexibly based on the computational complexity of the target file and the node information of each computing node on the cloud computing platform, without limitation.

[0074] In this embodiment, after determining the computing power resource demand information required for the cloud application to process the target file, the target computing node that meets the computing power resource demand information is screened out from the various computing nodes of the cloud computing platform; the cloud application is scheduled to the target computing node, and the cloud application scheduled to the target computing node is started to process the target file.

[0075] As an example, target computing nodes that meet computing power resource demand information are screened out from various computing nodes of a cloud computing platform, including: if the file type of the target file is a rich text type, the file characteristic information of the target file includes at least one of the following: file size, image size, image resolution, encoding format, bit rate, frame rate and key file characteristic information, and the computing power resource demand information indicates that a graphics computing node with a GPU is used as the target computing node required, then graphics computing nodes with a GPU that meet the computing power resource demand information are screened out from various computing nodes of the cloud computing platform as the target computing node; if the file type of the target file is a plain text type, the file characteristic information of the target file includes at least one of the following: file size and key file characteristic information, and the computing power resource demand information indicates that an ordinary computing node without a GPU is used as the target computing node required, then ordinary computing nodes without a GPU that meet the computing power resource demand information are screened out from various computing nodes of the cloud computing platform as the target computing node.

[0076] Further optionally, in order to improve resource utilization and scheduling performance, when screening out target computing nodes that meet computing resource demand information from various computing nodes in the cloud computing platform, a resource application request can be sent to the computing resource pool in the cloud computing platform, so that the computing resource pool can screen out target computing nodes that meet computing resource demand information from various computing nodes therein.

[0077] Optionally, to improve resource utilization, after the cloud application finishes processing the target file, resource recovery can be performed. Specifically, in response to a cloud application shutdown request sent by the user through the cloud application client, the cloud application is shut down, and computing resources occupied by the cloud application in the target computing node are released.

[0078] The technical solution provided by the embodiment of the present application takes into account that cloud applications consume different cloud computing resources when processing different files. To this end, for the file processing scenarios of cloud applications, the file characteristic information of the files to be processed is automatically obtained, and based on the file characteristic information of the files to be processed, the computing power resource requirements required by the cloud application for file processing are reasonably evaluated. The cloud application is then scheduled to a computing node in the cloud computing platform that matches the computing power resource requirements, and the cloud application is started to process the file. This effectively improves the file processing efficiency of the cloud application and the resource utilization of cloud computing resources, thereby improving the user experience of the cloud application.

[0079] FIG3 is a flow chart of a computing power scheduling method for cloud applications provided in an embodiment of the present application. The method is applied to a cloud computing platform. Referring to FIG3 , the method may include the following steps:

[0080] 301. Obtain a target file identifier sent by a user through a cloud application client, and obtain file characteristic information of a target file corresponding to the target file identifier.

[0081] 302. Determine computing resource demand information of the cloud application based on file characteristic information of the target file.

[0082] 303. Filter out target computing nodes that meet computing resource demand information from various computing nodes of the cloud computing platform.

[0083] 304. Schedule the cloud application to the target computing node.

[0084] In actual applications, users can send the target file identifier corresponding to the target file to the cloud computing platform at any time through the cloud application client. For example, if the user has a processing requirement for the target file, the user can send the target file identifier corresponding to the target file to the cloud computing platform through the cloud application client. Of course, there is no restriction on this. For more information on determining the file characteristics of the target file, the computing resource requirements of the cloud application, selecting the target computing nodes that meet the computing resource requirements, and cloud application scheduling, please refer to the previous content and will not be repeated here.

[0085] Further optionally, determining the computing power resource demand information of the cloud application based on the file characteristic information of the target file includes: determining the computational complexity of the target file based on the file characteristic information of the target file; and determining the computing power resource demand information of the cloud application based on the computational complexity of the target file.

[0086] Further optionally, the computing power resource demand information of the cloud application is determined based on the computational complexity of the target file, including: determining the computing power resource demand information of the cloud application based on the computational complexity of the target file and the node information of each computing node of the cloud computing platform, wherein the node information includes load pressure and / or remaining resource information.

[0087] Further optionally, the computational complexity of the target file is determined based on the file characteristic information of the target file, including: determining a target computational complexity determination method that matches the file type of the target file from the computational complexity determination methods corresponding to each file type based on the file type in the file characteristic information of the target file; and processing the file characteristic information of the target file using the target computational complexity determination method to determine the computational complexity of the target file.

[0088] Further optionally, obtaining the file characteristic information of the target file corresponding to the target file identifier includes: searching for the file characteristic information of the target file from the file characteristic information of each file already saved in the cloud computing platform according to the target file identifier; if the file characteristic information of the target file is not found in the cloud computing platform, obtaining the file metadata information of the target file from the cloud storage system; using the file metadata information of the target file as the file characteristic information of the target file, and associating and saving the target file identifier and file characteristic information of the target file in the cloud computing platform.

[0089] Further optionally, before using the file metadata information of the target file as the file characteristic information of the target file, the method further includes: performing feature extraction on the file data of the target file cached in the cloud storage system to obtain key file characteristic information of the target file; accordingly, using the file metadata information of the target file as the file characteristic information of the target file includes: using the file metadata information and key file characteristic information of the target file as the file characteristic information of the target file.

[0090] Further optionally, feature extraction is performed on the file data of the target file cached in the cloud storage system to obtain key file feature information of the target file, including: selecting a target feature extraction algorithm whose algorithm performance matches the file metadata information of the target file from multiple feature extraction algorithms; and using the target feature extraction algorithm to perform feature extraction on the file data of the target file cached in the cloud storage system to obtain key file feature information of the target file.

[0091] Further optionally, after the cloud application completes processing the target file, it also includes: responding to a cloud application shutdown request sent by the user through the cloud application client, closing the cloud application, and releasing computing resources occupied by the cloud application in the target computing node.

[0092] Further optionally, target computing nodes that meet the computing power resource demand information are screened out from the various computing nodes of the cloud computing platform, including: sending a resource application request to the computing power resource pool in the cloud computing platform, so that the computing power resource pool screens out target computing nodes that meet the computing power resource demand information from the various computing nodes therein.

[0093] Further optionally, a target computing node that meets the computing power resource demand information is screened out from each computing node of the cloud computing platform, including: if the file type of the target file is a rich text type, the file characteristic information of the target file includes at least one of the following: file size, image size, image resolution, encoding format, bit rate, frame rate and key file characteristic information, and the computing power resource demand information indicates that a graphics computing node with a GPU is used as the target computing node required, then a graphics computing node with a GPU that meets the computing power resource demand information is screened out from each computing node of the cloud computing platform as the target computing node; if the file type of the target file is a plain text type, the file characteristic information of the target file includes at least one of the following: file size and key file characteristic information, and the computing power resource demand information indicates that an ordinary computing node without a GPU is used as the target computing node required, then an ordinary computing node without a GPU that meets the computing power resource demand information is screened out from each computing node of the cloud computing platform as the target computing node.

[0094] Regarding the implementation of each step in the embodiment shown in FIG3 , reference may be made to the implementation of each step in the embodiment shown in FIG2 , and no further details will be given here.

[0095] The computing power scheduling method for cloud applications provided in this embodiment automatically obtains file characteristic information of files to be processed, based on this information, rationally assesses the computing power resource requirements required by cloud applications for file processing, and schedules cloud applications to computing nodes on the cloud computing platform that match these requirements. This allows for the rational scheduling of computing power resources for cloud applications, improving the utilization of cloud computing resources.

[0096] FIG4 is a schematic diagram of a computing power scheduling and file processing scenario of an exemplary cloud application provided in an embodiment of the present application.

[0097] In actual applications, the cloud computing platform includes a cloud application management and control device, a cloud storage system, and a computing resource pool. For example, the cloud application management and control device includes a file feature extraction module, a computing resource scheduling module, etc. For an introduction to the cloud computing platform, please refer to the relevant content of the above embodiment.

[0098] S1. Receive a file access request.

[0099] When a user has a file processing requirement, he can send an access request to the cloud application management and control device through the cloud application client. The access request may include the file access path of the file to be accessed. When the file access path indicates access to the file on the cloud, step S2 is executed.

[0100] S2. Determine whether the file characteristic information has been extracted.

[0101] The cloud application management and control device determines whether the file characteristic information for the file to be processed has been extracted. If not, it calls the file characteristic extraction module to extract the file characteristic information online and offline. Online extraction of file characteristic information allows for rapid extraction of file metadata, while offline extraction of file characteristic information allows for file feature extraction using intelligent algorithms. Furthermore, the extracted file characteristic information is cached and step S3 is executed. If yes, step S3 is also executed.

[0102] It is worth noting that when extracting file feature information online, a lightweight intelligent algorithm (which takes less time to execute) can also be used for file feature extraction, and there is no restriction on this. When extracting file feature information offline, a more accurate intelligent algorithm can be used for file feature extraction.

[0103] In addition, it is understandable that pre-caching file feature information for direct use when users access it can further reduce the impact on application startup speed.

[0104] S3. Obtain cached file feature information.

[0105] S4. Analyze file characteristic information.

[0106] The cloud application management and control device calls the computing resource scheduling module to parse the file characteristic information.

[0107] S5. Determine whether the file type is a rich text file. If so, proceed to step S6; if not, proceed to step S7.

[0108] Different file types have different automatic computing power decision logics based on text feature information. In addition, weighted analysis can be performed on multiple feature information involved in computing complexity to improve the accuracy of computing power decisions.

[0109] S6. Determine the computational complexity based on file characteristic information such as image resolution, encoding format, and video frame rate, and execute step S8.

[0110] S7. Determine the computational complexity based on file characteristic information such as file size or key file feature information, and execute step S8.

[0111] S8. Information on computing power resources required for decision-making and file processing.

[0112] Computing resource requirements include information such as whether a graphics computing node with a GPU is needed or a regular computing node without a GPU is needed, as well as the specifications of the required computing nodes, such as high-specification, standard-specification, and low-specification. Available computing resources are sorted from smallest to largest, in the order of low-specification computing nodes, standard-specification computing nodes, and high-specification computing nodes. Graphics computing nodes refer to computing nodes with GPUs, while regular computing nodes refer to computing nodes without GPUs. For example, rich text files require graphics computing nodes with GPUs, while plain text files use regular computing nodes without GPUs.

[0113] S9. Dispatch corresponding computing resources.

[0114] S10. Complete the allocation of computing resources.

[0115] The computing resource scheduling module applies for the required computing resources from the computing resource pool based on the required computing resource demand information and completes the computing resource allocation.

[0116] S11. Start the cloud application.

[0117] For example, the cloud application distribution module is called to perform cloud application image distribution, application deployment, configuration, and start and stop.

[0118] S12. Load file data.

[0119] S13. Perform file processing.

[0120] After launching a cloud application, it can load the file data for the desired file and begin processing. Additionally, users can browse and edit files in the cloud through the cloud application client, and stream data via the cloud application protocol, enabling real-time updates of the file processing progress. After completing a file processing task, users can simply close the cloud application, automatically releasing the corresponding cloud data cache and computing resources, completing resource recycling.

[0121] FIG5 is a schematic diagram of the structure of a cloud computing platform provided in an embodiment of the present application. Referring to FIG5 , the cloud computing platform may include: a cloud application management and control device 51, a cloud storage system 52, and a computing resource pool 53, wherein the computing resource pool 53 includes multiple computing nodes;

[0122] The cloud application management and control device 51 is configured to respond to a file processing request including a target file identifier sent by a user through a cloud application client, obtain file characteristic information of a target file corresponding to the target file identifier; determine computing resource demand information of the cloud application based on the file characteristic information of the target file; send a resource application request including the resource demand information to the computing resource pool, receive resource application response information returned by the computing resource pool, schedule the cloud application to the target computing node based on the node identifier of the target computing node in the resource application response information, and start the cloud application scheduled to the target computing node. After starting, the cloud application loads file data of the target file from the cloud storage system 52 and performs file processing on the file data of the target file.

[0123] The computing power resource pool 53 is used to respond to resource application requests, screen out target computing nodes that meet computing power resource demand information from various computing nodes, and return resource application response information to the cloud application management and control device.

[0124] Further optionally, when the computing power resource pool 53 filters out the target computing node that meets the computing power resource demand information from the various computing nodes of the cloud computing platform, it is specifically used: if the file type of the target file is a rich text type, the file characteristic information of the target file includes at least one of the following: file size, image size, image resolution, encoding format, bit rate, frame rate and key file characteristic information, and the computing power resource demand information indicates that a graphics computing node with a GPU is used as the target computing node required, then the graphics computing node with a GPU that meets the computing power resource demand information is filtered out from the various computing nodes of the cloud computing platform as the target computing node; if the file type of the target file is a plain text type, the file characteristic information of the target file includes at least one of the following: file size and key file characteristic information, and the computing power resource demand information indicates that an ordinary computing node without a GPU is used as the target computing node required, then the ordinary computing node without a GPU that meets the computing power resource demand information is filtered out from the various computing nodes of the cloud computing platform as the target computing node.

[0125] Further optionally, when the cloud application management and control device 51 determines the computing power resource demand information of the cloud application based on the file characteristic information of the target file, it is specifically used to: determine the computational complexity of the target file based on the file characteristic information of the target file; determine the computing power resource demand information of the cloud application based on the computational complexity of the target file.

[0126] Further optionally, when the cloud application management and control device 51 determines the computing power resource demand information of the cloud application based on the computational complexity of the target file, it is specifically used to: determine the computing power resource demand information of the cloud application based on the computational complexity of the target file and the node information of each computing node of the cloud computing platform, wherein the node information includes load pressure and / or remaining resource information.

[0127] Further optionally, when the cloud application management and control device 51 determines the computational complexity of the target file based on the file characteristic information of the target file, it is specifically used to: determine the target computational complexity determination method that matches the file type of the target file from the computational complexity determination methods corresponding to each file type based on the file type in the file characteristic information of the target file; and use the target computational complexity determination method to process the file characteristic information of the target file to determine the computational complexity of the target file.

[0128] Further optionally, when the cloud application management and control device 51 obtains the file characteristic information of the target file corresponding to the target file identifier, it is specifically used to: search for the file characteristic information of the target file from the file characteristic information of each file already stored in the cloud computing platform according to the target file identifier;

[0129] If the file characteristic information of the target file is not found in the cloud computing platform, the file metadata information of the target file is obtained from the cloud storage system; the file metadata information of the target file is used as the file characteristic information of the target file, and the target file identifier and file characteristic information of the target file are associated and saved in the cloud computing platform.

[0130] Further optionally, before using the file metadata information of the target file as the file characteristic information of the target file, the cloud application management and control device 51 is further configured to: perform feature extraction on the file data of the target file cached in the cloud storage system to obtain key file characteristic information of the target file;

[0131] Correspondingly, when the cloud application management and control device 51 uses the file metadata information of the target file as the file characteristic information of the target file, it is specifically used to: use the file metadata information and key file feature information of the target file as the file characteristic information of the target file.

[0132] Further optionally, the cloud application management and control device 51 performs feature extraction on the file data of the target file cached in the cloud storage system to obtain the key file feature information of the target file, which is specifically used to: select a target feature extraction algorithm whose algorithm performance matches the file metadata information of the target file from multiple feature extraction algorithms; use the target feature extraction algorithm to perform feature extraction on the file data of the target file cached in the cloud storage system to obtain the key file feature information of the target file.

[0133] Further optionally, after the cloud application completes processing the target file, the cloud application management and control device 51 is also used to: respond to a cloud application shutdown request sent by the user through the cloud application client, close the cloud application, and release the computing resources occupied by the cloud application in the target computing node.

[0134] The specific manner in which the cloud application management and control device 51 in the above embodiment performs operations has been described in detail in the embodiment of the relevant method and will not be elaborated here.

[0135] The technical solution provided by the embodiment of the present application takes into account that cloud applications consume different cloud computing resources when processing different files. To this end, for the file processing scenarios of cloud applications, the file characteristic information of the files to be processed is automatically obtained, and based on the file characteristic information of the files to be processed, the computing power resource requirements required by the cloud application for file processing are reasonably evaluated. The cloud application is then scheduled to a computing node in the cloud computing platform that matches the computing power resource requirements, and the cloud application is started to process the file. This effectively improves the file processing efficiency of the cloud application and the resource utilization of cloud computing resources, thereby improving the user experience of the cloud application.

[0136] It should be noted that the execution entity of each step of the method provided in the above embodiment can be the same device, or the method can be executed by different devices. For example, the execution entity of steps 201 to 205 can be device A; for another example, the execution entity of steps 201 and 202 can be device A, and the execution entity of steps 203 to 205 can be device B; and so on.

[0137] In addition, some of the processes described in the above embodiments and the accompanying drawings include multiple operations that appear in a specific order, but it should be clearly understood that these operations may not be executed in the order in which they appear in this article or may be executed in parallel. The sequence numbers of the operations, such as 201, 202, etc., are only used to distinguish between different operations, and the sequence numbers themselves do not represent any execution order. In addition, these processes may include more or fewer operations, and these operations may be executed in sequence or in parallel. It should be noted that the descriptions of "first", "second", etc. in this article are used to distinguish different messages, devices, modules, etc., and do not represent a sequential order, nor do they limit "first" and "second" to being different types.

[0138] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0139] Figure 6 is a schematic diagram of the structure of a computer device provided in an embodiment of the present application. As shown in Figure 6, the computer device includes: a memory 61 and a processor 62;

[0140] The memory 61 is used to store computer programs and can be configured to store various other data to support operations on the computing platform. Examples of such data include instructions for any application or method operating on the computing platform, contact data, phone book data, messages, pictures, videos, etc.

[0141] The memory 61 can be implemented by any type of volatile or non-volatile memory device or a combination thereof, such as static random-access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable programmable read only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0142] The processor 62 is coupled to the memory 61 and is used to execute the computer program in the memory 61 to execute the steps in the file processing method of the cloud application or the computing power scheduling method of the cloud application.

[0143] Furthermore, as shown in Figure 6 , the computer device also includes other components, such as a communication component 63, a display 64, a power supply component 65, and an audio component 66. Figure 6 only schematically illustrates some of the components, and does not imply that the computer device only includes the components shown in Figure 6 . Furthermore, the components within the dashed box in Figure 6 are optional, not required, and their specific requirements may depend on the product form factor of the computer device.

[0144] The detailed implementation process of the processor performing each action can be found in the relevant description in the aforementioned embodiments, which will not be repeated here.

[0145] Accordingly, an embodiment of the present application further provides a computer-readable storage medium storing a computer program, which, when executed, can implement the steps that can be executed by a computer device in the above method embodiment.

[0146] Accordingly, an embodiment of the present application also provides a computer program product, including a computer program / instruction. When the computer program / instruction is executed by a processor, the processor is enabled to implement the steps that can be executed by a computer device in the above method embodiment.

[0147] The above-mentioned communication component is configured to facilitate wired or wireless communication between the device where the communication component is located and other devices. The device where the communication component is located can access a wireless network based on a communication standard, such as WiFi (Wireless Fidelity), 2G (2Generation, 2nd generation), 3G (3Generation, 3rd generation), 4G (4Generation, 4th generation) / LTE (long Term Evolution, long term evolution), 5G (5Generation, 5th generation) and other mobile communication networks, or a combination thereof. In an exemplary embodiment, the communication component receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wide band (UWB) technology, Bluetooth (BT) technology and other technologies.

[0148] The above-mentioned display includes a screen, which may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor can not only sense the boundary of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.

[0149] The power supply assembly provides power to various components of the device in which the power supply assembly is located. The power supply assembly may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device in which the power supply assembly is located.

[0150] The above-mentioned audio component can be configured to output and / or input audio signals. For example, the audio component includes a microphone (MIC), and when the device where the audio component is located is in an operating mode, such as call mode, recording mode, and voice recognition mode, the microphone is configured to receive external audio signals. The received audio signal can be further stored in a memory or sent via a communication component. In some embodiments, the audio component also includes a speaker for outputting audio signals.

[0151] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-readable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0152] The present application is described with reference to the flow chart and / or block diagram of the method, device (system), and computer program product according to the embodiment of the present application. It should be understood that each flow process and / or box in the flow chart and / or block diagram and the combination of the flow process and / or box in the flow chart and / or block diagram can be realized by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processing machine or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for realizing the function specified in one flow chart flow or multiple flows and / or one box or multiple boxes of the block diagram.

[0153] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0154] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0155] In a typical configuration, a computing device includes one or more processors (Central Processing Unit, CPU), input / output interfaces, network interfaces, and memory.

[0156] Memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.

[0157] Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be used to store information using any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change RAM (PRAM), static random-access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices, or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media, such as modulated data signals and carrier waves.

[0158] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.

[0159] The above are merely embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should all be included within the scope of the claims of the present application.

Claims

1. A file processing method for cloud applications, characterized in that: include: In response to a file processing request including a target file identifier sent by a user through a cloud application client, obtaining file characteristic information of a target file corresponding to the target file identifier; Determining computing resource demand information of the cloud application according to the file characteristic information of the target file; Selecting a target computing node that meets the computing resource demand information from each computing node of the cloud computing platform; The cloud application is scheduled to the target computing node, and the cloud application scheduled to the target computing node is started to process the target file.

2. The method according to claim 1, characterized in that Determining the computing resource requirement information of the cloud application according to the file characteristic information of the target file includes: Determining the computational complexity of the target file according to the file characteristic information of the target file; The computing power resource requirement information of the cloud application is determined according to the computational complexity of the target file.

3. The method according to claim 2, characterized in that Determining computing resource demand information of the cloud application according to the computational complexity of the target file includes: The computing power resource demand information of the cloud application is determined according to the computational complexity of the target file and the node information of each computing node of the cloud computing platform, wherein the node information includes load pressure and / or remaining resource information.

4. The method according to claim 2, characterized in that: Determining the computational complexity of the target file according to the file characteristic information of the target file includes: According to the file type in the file characteristic information of the target file, determining a target calculation complexity determination method that matches the file type of the target file from the calculation complexity determination methods corresponding to the various file types; The target computational complexity determination method is used to process the file characteristic information of the target file to determine the computational complexity of the target file.

5. The method according to claim 1, characterized in that Acquiring the file characteristic information of the target file corresponding to the target file identifier includes: Searching for file characteristic information of the target file from file characteristic information of various files already stored on the cloud computing platform according to the target file identifier; If the file characteristic information of the target file is not found in the cloud computing platform, obtaining the file metadata information of the target file from the cloud storage system; The file metadata information of the target file is used as the file characteristic information of the target file, and the target file identifier and the file characteristic information of the target file are associated and saved in the cloud computing platform.

6. The method according to claim 5, characterized in that Before using the file metadata information of the target file as the file characteristic information of the target file, the method further includes: Performing feature extraction on the file data of the target file cached in the cloud storage system to obtain key file feature information of the target file; Correspondingly, using the file metadata information of the target file as the file characteristic information of the target file includes: using the file metadata information and key file feature information of the target file as the file characteristic information of the target file.

7. The method according to claim 6, characterized in that Performing feature extraction on the file data of the target file cached in the cloud storage system to obtain key file feature information of the target file includes: Selecting a target feature extraction algorithm whose algorithm performance matches the file metadata information of the target file from a plurality of feature extraction algorithms; The target feature extraction algorithm is used to perform feature extraction on the file data of the target file cached in the cloud storage system to obtain key file feature information of the target file.

8. The method according to any one of claims 1 to 7, characterized in that: After the cloud application completes processing the target file, the method further includes: In response to a closing request for the cloud application sent by the user through a cloud application client, the cloud application is closed, and computing resources occupied by the cloud application in the target computing node are released.

9. The method according to any one of claims 1 to 7, characterized in that: Selecting a target computing node that meets the computing resource demand information from each computing node of the cloud computing platform includes: A resource application request is sent to a computing resource pool in the cloud computing platform, so that the computing resource pool selects a target computing node that meets the computing resource demand information from various computing nodes therein.

10. The method according to any one of claims 1 to 7, characterized in that: Selecting a target computing node that meets the computing resource demand information from each computing node of the cloud computing platform includes: If the file type of the target file is a rich text type, the file characteristic information of the target file includes at least one of the following: file size, image size, image resolution, encoding format, bit rate, frame rate and key file characteristic information, and the computing power resource requirement information indicates that a graphics computing node with a GPU is used as the target computing node required, then a graphics computing node with a GPU that meets the computing power resource requirement information is selected from various computing nodes of the cloud computing platform as the target computing node; If the file type of the target file is a plain text type, the file characteristic information of the target file includes at least one of the following: file size and key file feature information, and the computing power resource requirement information indicates that an ordinary computing node without a GPU is used as the target computing node required, then an ordinary computing node without a GPU that meets the computing power resource requirement information is screened out from various computing nodes on the cloud computing platform as the target computing node.

11. A computing power scheduling method for cloud applications, characterized in that: include: Obtaining a target file identifier sent by a user through a cloud application client, and obtaining file characteristic information of a target file corresponding to the target file identifier; Determining computing resource demand information of the cloud application according to the file characteristic information of the target file; Selecting a target computing node that meets the computing resource demand information from each computing node of the cloud computing platform; The cloud application is scheduled to the target computing node.

12. A cloud computing platform, characterized in that: include: A cloud application management and control device, a cloud storage system and a computing resource pool, wherein the computing resource pool includes multiple computing nodes; The cloud application management and control device is used to respond to a file processing request including a target file identifier sent by a user through a cloud application client, obtain file characteristic information of a target file corresponding to the target file identifier; determine computing resource demand information of the cloud application according to the file characteristic information of the target file; send a resource application request including the resource demand information to the computing resource pool, and receive resource application response information returned by the computing resource pool, and schedule the cloud application to the target computing node according to the node identifier of the target computing node in the resource application response information, and start the cloud application scheduled to the target computing node, and after the cloud application is started, load the file data of the target file from the cloud storage system, and perform file processing on the file data of the target file; The computing power resource pool is used to respond to the resource application request, screen out target computing nodes that meet the computing power resource demand information from various computing nodes, and return resource application response information to the cloud application management and control device.

13. A computer device, characterized in that: include: Memory and processor; The memory is used to store computer programs; The processor is coupled to the memory and configured to execute the computer program to perform the steps of the method according to any one of claims 1 to 11.

14. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the processor is enabled to implement the steps in the method according to any one of claims 1 to 11.

Citation Information

Patent Citations

  • Network system, resource processing method and equipment

    CN113676512A

  • Cloud equipment scheduling method, device and system, electronic equipment and storage medium

    CN115086331A

  • Cloud application running method and device based on GPU cloud desktop platform, equipment and medium

    CN115576653A

  • Computing power scheduling method of cloud application, file processing method of cloud application and cloud computing platform

    CN116700987A

  • System and method for detecting and integrating with native applications enabled for web-based storage

    US20130346450A1

Cited By

  • Game running method, equipment, medium and product

    CN120983917A

  • End-to-end delay measurement method and device, storage medium and computer program product

    CN121349535A

  • Computing power matching method and system for large-model cross-modal retrieval

    CN121478464A