A computing power scheduling method, apparatus and equipment

By using a GraphQL-based computing power scheduling service, the problem that RESTful APIs cannot meet user needs in computing power scheduling is solved, and on-demand dynamic scheduling and efficient computing power resource management are achieved.

CN117369978BActive Publication Date: 2026-11-17CHINA MOBILE GROUP ZHEJIANG +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210754906.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-30
Publication Date
2026-11-17
Estimated Expiration
2042-06-30

AI Technical Summary

Technical Problem

Existing RESTful APIs in the form of REST cannot flexibly meet the computing power needs of various users in computing power scheduling services. They lack type definitions, making it difficult to verify the legality and validity of the content structure, increasing the burden on the server side, and consuming network bandwidth when transmitting invalid data.

Method used

A GraphQL-based computing power scheduling service is adopted. Requests are received through a preset computing power scheduling request interface, data structures and field types are verified, and scheduling is performed using computing power scheduling strategy templates to generate dynamic computing power scheduling results.

Benefits of technology

It enables on-demand dynamic computing power scheduling services, simplifies the number of interfaces for requesters, improves scheduling success rate, reduces invalid data transmission, and optimizes network bandwidth utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117369978B_ABST
    Figure CN117369978B_ABST
Patent Text Reader

Abstract

This invention discloses a computing power scheduling method, apparatus, and device, applied to computing power scheduling services. The method includes: receiving a computing power scheduling request initiated by a computing power scheduling requester through a preset computing power scheduling request interface; verifying the computing power scheduling request and obtaining a verification result; determining that the verification result is successful, then invoking computing power scheduling for the computing power scheduling request according to a computing power scheduling strategy template to obtain a computing power scheduling result; and returning the computing power scheduling result to the computing power scheduling requester. Through the above method, this invention achieves on-demand dynamic computing power scheduling services.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of communication technology, and specifically to a computing power scheduling method, apparatus, and device. Background Technology

[0002] Under the general trend of computing development, computing resources are scheduled through certain strategies to achieve the distribution of computing resources of different scales near users. Computing resources in ubiquitous computing environments exhibit distributed and disordered characteristics.

[0003] When deploying computing power and applications at runtime, external calls to computing power scheduling services based on REST (Representational State Transfer) suffer from the following drawbacks due to the limitations of RESTful APIs: RESTful API calls cannot flexibly meet the diverse computing power needs and data structures of various users, relying instead on default values ​​and placeholders to provide scheduling requests. Furthermore, the lack of typified definitions means that callers cannot verify the validity of dynamically received responses, relying only on state symbols for rough judgment. It fails to abstractly define the request content at both levels. Strict checks on data types and structures are not possible on the caller side, increasing server-side processing overhead and delaying response times. Finally, responses with such definitions often return large amounts of irrelevant data, hindering user comprehension and consuming excessive network bandwidth for invalid data transmission. Summary of the Invention

[0004] In view of the above problems, embodiments of the present invention are proposed to provide a computing power scheduling method, apparatus and device that overcomes or at least partially solves the above problems, and realizes on-demand dynamic computing power scheduling services.

[0005] According to one aspect of the present invention, a computing power scheduling method is provided, applied to a computing power scheduling service module, the method comprising:

[0006] Receive computing power scheduling requests initiated by computing power scheduling requesters through the preset computing power scheduling request interface;

[0007] The computing power scheduling request is verified, and the verification result is obtained;

[0008] If the verification result is determined to be successful, then according to the computing power scheduling strategy template, the computing power scheduling request is invoked to obtain the computing power scheduling result;

[0009] The computing power scheduling result is returned to the computing power scheduling requester.

[0010] Optionally, the computing power scheduling request is verified to obtain a verification result, including:

[0011] Using a preset computing power scheduling data definition, the data structure and / or field data type carried in the computing power scheduling request are verified to obtain the verification result of the computing power scheduling request; the verification includes verifying whether the data structure and / or field data type conforms to the query statement rules or change statement rules set in the preset computing power scheduling data definition.

[0012] Optionally, the computing power scheduling request includes: a computing power scheduling query request or a computing power scheduling change request.

[0013] Optionally, when the computing power scheduling request is a computing power scheduling query request, computing power scheduling is triggered according to the computing power scheduling policy template to obtain the computing power scheduling result, including:

[0014] Based on the computing power scheduling strategy template, the query scheduling component is invoked to perform a query operation and obtain the computing power scheduling result; the query operation is based on the computing power scheduling strategy, computing power scheduling job and computing power scheduling sensing construction of GraphQL in the application programming interface API.

[0015] Optionally, when the computing power scheduling request includes a computing power scheduling change request, computing power scheduling is triggered according to the computing power scheduling policy template to obtain the computing power scheduling result, including:

[0016] Based on the characteristics and operation parameters of the computing power scheduling change in the computing power scheduling change request, a computing power scheduling strategy parsing component is generated.

[0017] The computing power scheduling result is obtained based on the computing power scheduling strategy parsing component.

[0018] Optionally, the computing power scheduling result is obtained according to the computing power scheduling strategy parsing component, including:

[0019] An update operation is performed based on the computing power scheduling strategy parsing component to obtain the computing power scheduling result; the update operation is constructed based on the computing power scheduling strategy, computing power scheduling job and computing power scheduling sensing in GraphQL.

[0020] Optionally, sending the computing power scheduling result to the computing power scheduling requester includes:

[0021] After verifying that the computing power scheduling result satisfies the GraphQL query statement defined by the computing power scheduling data definition module, a computing power scheduling response is generated.

[0022] The computing power scheduling response is sent to the computing power scheduling requester.

[0023] According to another aspect of the present invention, a computing power scheduling device is provided, the device comprising:

[0024] The transceiver module is used to receive computing power scheduling requests initiated by computing power scheduling requesters through a preset computing power scheduling request interface;

[0025] The processing module is used to verify the computing power scheduling request and obtain the verification result; if the verification result is passed, then according to the computing power scheduling strategy template, the computing power scheduling is invoked for the computing power scheduling request to obtain the computing power scheduling result.

[0026] The transceiver module is also used to return the computing power scheduling result to the computing power scheduling requester.

[0027] According to another aspect of the present invention, a computing device is provided, comprising: a processor, a memory, a communication interface, and a communication bus, wherein the processor, the memory, and the communication interface communicate with each other through the communication bus;

[0028] The memory is used to store at least one executable instruction, which causes the processor to perform the operation corresponding to the computing power scheduling method described above.

[0029] According to another aspect of the present invention, a computer storage medium is provided, the storage medium storing at least one executable instruction, the executable instruction causing a processor to perform an operation corresponding to the computing power scheduling method described above.

[0030] According to the solution provided in the above embodiments of the present invention, a computing power scheduling request initiated by a computing power scheduling requester is received through a preset computing power scheduling request interface; the computing power scheduling request is verified to obtain a verification result; if the verification result is deemed successful, computing power scheduling is invoked for the computing power scheduling request according to the computing power scheduling strategy template to obtain a computing power scheduling result; and the computing power scheduling result is returned to the computing power scheduling requester. This enables the provision of dynamic computing power scheduling services to users on demand.

[0031] The above description is merely an overview of the technical solutions of the embodiments of the present invention. In order to better understand the technical means of the embodiments of the present invention and to implement them in accordance with the contents of the specification, and to make the above and other objects, features and advantages of the embodiments of the present invention more obvious and understandable, specific implementation methods of the embodiments of the present invention are described below. Attached Figure Description

[0032] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the scope of the invention. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings:

[0033] Figure 1 A flowchart of the computing power scheduling method provided in an embodiment of the present invention is shown;

[0034] Figure 2 The interactive flowchart of a computing power scheduling query operation provided in another embodiment of the present invention is shown;

[0035] Figure 3 An interactive flowchart of a computing power scheduling change operation provided in another embodiment of the present invention is shown;

[0036] Figure 4 A schematic diagram of the architecture of a computing power scheduling system provided in another embodiment of the present invention is shown;

[0037] Figure 5 A schematic diagram of the computing power scheduling device provided in an embodiment of the present invention is shown;

[0038] Figure 6 A schematic diagram of the structure of a computing device provided in an embodiment of the present invention is shown. Detailed Implementation

[0039] Exemplary embodiments of the invention will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this invention will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.

[0040] Figure 1 This invention illustrates a computing power scheduling method provided by an embodiment of the present invention, applied to a computing power scheduling service. The method includes:

[0041] Step 11: Receive the computing power scheduling request initiated by the computing power scheduling requester through the preset computing power scheduling request interface;

[0042] Step 12: Verify the computing power scheduling request and obtain the verification result;

[0043] Step 13: If the verification result is deemed to be successful, then according to the computing power scheduling strategy template, call the computing power scheduling for the computing power scheduling request to obtain the computing power scheduling result;

[0044] Step 14: Return the computing power scheduling result to the computing power scheduling requester.

[0045] The computing power scheduling request includes: a computing power scheduling query request or a computing power scheduling change request.

[0046] It should be noted that the preset computing power scheduling request interface can be an API (Application Program Interface).

[0047] The computing power scheduling service receives computing power scheduling query and change requests through a unified computing power scheduling request interface, which can reduce the number of interfaces on the requesting side and simplify the complexity of computing power scheduling collaboration. It provides a computing power scheduling request interface to meet various request-response processing needs.

[0048] In this embodiment of the invention, the computing power scheduling method can provide users with dynamic computing power scheduling query services and computing power scheduling change services on demand, based on GraphQL (Graph-based Query Language). GraphQL is an open-source data query and manipulation language in API form that can parse requests using data definitions (schemas) at runtime and return the expected results according to the data definition structure.

[0049] In an optional embodiment of the present invention, step 12 may include:

[0050] Step 121: Using a preset computing power scheduling data definition, verify the data structure and / or field data type carried in the computing power scheduling request to obtain the verification result of the computing power scheduling request; the verification includes verifying whether the data structure and / or field data type conforms to the query statement rules or change statement rules set in the preset computing power scheduling data definition.

[0051] In this embodiment, since the computing power scheduling service receives and processes computing power scheduling requests based on GraphQL query statements, it is necessary to check whether the data structure and / or field data types of the computing power scheduling query request or computing power scheduling change request conform to the query statement rules or change statement rules set in the preset computing power scheduling data definition through the computing power scheduling data definition. This can maintain the consistency of request-response processing according to the data definition (schema).

[0052] In another optional embodiment of the present invention, when the computing power scheduling request is a computing power scheduling query request, step 13 may include:

[0053] Step 131: According to the computing power scheduling strategy template, call the query scheduling component to perform a query operation and obtain the computing power scheduling result; the query operation is based on the computing power scheduling strategy, computing power scheduling job and computing power scheduling sensing construction of GraphQL in the application programming interface API.

[0054] The computing power scheduling operation can include the process of forming various operations of computing power scheduling; the computing power scheduling sensing can refer to the form of data targeted by computing power scheduling; the query scheduling component can initiate a GraphQL-based computing power scheduling status query operation to the business module for the computing power required by the computing power query request, thereby satisfying on-demand computing power scheduling.

[0055] Figure 2 The diagram illustrates the interactive process of invoking computing power scheduling for the request and obtaining the scheduling result based on the computing power scheduling policy template when the computing power scheduling request is a computing power scheduling query request. Specifically, this process may include:

[0056] Step 31: The computing power scheduling service receives computing power scheduling query requests initiated by the computing power scheduling requester based on the user's computing power requirements and using GraphQL syntax through the preset computing power scheduling request interface (API).

[0057] Step 32: The computing power scheduling service verifies, through the computing power scheduling data definition, whether the data structure and / or field data type carried in the computing power scheduling request conforms to the query statement rules set in the preset computing power scheduling data definition, and obtains the verification result;

[0058] Step 33A: If the verification result is satisfactory, the computing power scheduling service module calls the query scheduling component according to the computing power scheduling strategy template;

[0059] Step 33B: Execute query operations for computing power scheduling policies, computing power scheduling jobs, and computing power scheduling sensing based on the GraphQL application programming interface (API) to obtain computing power scheduling query results;

[0060] Step 34: After verifying that the computing power scheduling query result satisfies the GraphQL query statement defined by the computing power scheduling data definition module, generate a computing power scheduling response;

[0061] Step 35: Return the computing power scheduling response to the computing power scheduling requester.

[0062] In another optional embodiment of the present invention, when the computing power scheduling request includes a computing power scheduling change request, step 13 may include:

[0063] Step 132: Generate a computing power scheduling strategy parsing component based on the characteristics and operation parameters of the computing power scheduling change in the computing power scheduling change request;

[0064] Step 133: Obtain the computing power scheduling result according to the computing power scheduling strategy parsing component.

[0065] In this embodiment, the computing power scheduling service combines the characteristics and operation parameters of the computing power scheduling change request sent by the computing power scheduling requester based on the user's computing power needs. Through a common GraphQL computing power scheduling strategy template, a specific parsing component is generated. The parsing component can initiate a GraphQL-based computing power scheduling update operation to the business module for the computing power required by the computing power update request. In this way, the corresponding computing power scheduling change service can be provided to the user according to the user's actual needs.

[0066] In another optional embodiment of the present invention, step 133 may include:

[0067] Step 1331: Perform an update operation based on the computing power scheduling strategy parsing component to obtain the computing power scheduling result; the update operation is based on the computing power scheduling strategy, computing power scheduling job and computing power scheduling sensing of GraphQL.

[0068] The update operations include: creating a new service, deleting an existing service, or modifying the current service.

[0069] In this embodiment, the computing power scheduling strategy parsing component can be dynamically embedded into the update operation process of the current computing power scheduling service, and update operations can be performed on the computing power scheduling strategy, computing power scheduling job and computing power scheduling sensor of GraphQL. In this way, specific, accurate and targeted computing power scheduling change services can be provided to users according to their specific computing power needs.

[0070] Figure 3 The diagram illustrates the interactive process of invoking computing power scheduling for the request and obtaining the scheduling result based on the computing power scheduling policy template when the computing power scheduling request is a computing power scheduling change request. Specifically, this process may include:

[0071] Step 41: The computing power scheduling service receives computing power scheduling change requests initiated by the computing power scheduling requester based on the user's computing power needs and using GraphQL syntax through the preset computing power scheduling request interface;

[0072] Step 42: The computing power scheduling service verifies, through the computing power scheduling data definition, whether the data structure and / or field data type carried in the computing power scheduling request conforms to the change statement rules set in the preset computing power scheduling data definition, and obtains the verification result;

[0073] Step 43: If the verification result is satisfactory, the computing power scheduling service generates a computing power scheduling strategy parsing component based on the characteristics and operation parameters of the computing power scheduling change in the computing power scheduling change request;

[0074] Step 44A: Perform an update operation based on the computing power scheduling strategy parsing component;

[0075] Step 44B: Initiate update operations for the GraphQL-based computing power scheduling policy, computing power scheduling job, and computing power scheduling sensing to obtain the computing power scheduling change results;

[0076] Step 45: After verifying that the computing power scheduling change result satisfies the GraphQL query statement defined by the computing power scheduling data definition module, generate a computing power scheduling response;

[0077] Step 46: Return the computing power scheduling response to the computing power scheduling requester.

[0078] In another optional embodiment of the present invention, step 14 may include:

[0079] Step 141: After verifying that the computing power scheduling result satisfies the GraphQL query statement defined by the computing power scheduling data definition module, a computing power scheduling response is generated.

[0080] Step 142: Send the computing power scheduling response to the computing power scheduling requester;

[0081] The computing power scheduling results include: computing power scheduling query results or computing power scheduling change results.

[0082] In this embodiment, the computing power scheduling service module verifies the computing power scheduling query result or the computing power scheduling change result through the computing power scheduling data definition module, generates a computing power scheduling response corresponding to the computing power scheduling query result or the computing power scheduling change result, and returns the computing power scheduling response to the computing power scheduling requester.

[0083] Figure 4 The above-described embodiments of the present invention illustrate a computing power scheduling system, which may include the following modules: a computing power scheduling service module, a computing power scheduling data definition module (Schema), and a computing power scheduling strategy template module (Fragment-Resolver);

[0084] The computing power scheduling strategy template module may include, but is not limited to, components, containers, instances, languages, rules, etc.

[0085] Based on the computing power scheduling service module, the computing power scheduling data definition module, and the computing power scheduling strategy template module, it is possible to implement strongly typed computing power scheduling query operations based on GraphQL (Graph Query Language, a query language for querying graph data), as well as modification operations based on customizable and reusable computing power scheduling strategy templates (GraphQL).

[0086] The functions of the computing power scheduling service module may include: defining a unified API, receiving computing power scheduling query requests and computing power scheduling change requests sent by computing power scheduling requesters, and realizing query and change operations on computing power scheduling by combining the computing power scheduling data definition module and the computing power scheduling strategy template module;

[0087] The functions of the computing power scheduling data definition module may include: verifying whether the data structure and / or field data type carried in the computing power scheduling query request or computing power scheduling change request conforms to the query statement rules or change statement rules set in the preset computing power scheduling data definition;

[0088] When the computing power scheduling request is a computing power scheduling query request, the computing power scheduling data definition module verifies whether the data structure and / or field data type carried in the computing power scheduling query request conforms to the query statement rules set by the computing power scheduling data definition module. If it conforms, the computing power scheduling service module calls the query scheduling component according to the computing power scheduling strategy template to execute the query operation of computing power scheduling strategy, computing power scheduling job and computing power scheduling sensing based on the application programming interface API GraphQL, obtains the computing power scheduling query result, verifies that it meets the GraphQL query statement defined by the computing power scheduling data definition module, generates a computing power scheduling response, and returns the computing power scheduling response to the computing power scheduling requester.

[0089] When the computing power scheduling request is a computing power scheduling change request, the computing power scheduling data definition module verifies whether the data structure and / or field data type carried in the computing power scheduling change request conforms to the change statement rules set by the preset computing power scheduling data definition module. If it conforms, the computing power scheduling service module generates a computing power scheduling strategy parsing component based on the characteristics and operation parameters of the computing power scheduling change in the computing power scheduling change request. Based on the computing power scheduling strategy parsing component, it performs an update operation, performs update operations on the computing power scheduling strategy, computing power scheduling job, and computing power scheduling sensing based on GraphQL, obtains the computing power scheduling change result, verifies that it meets the GraphQL query statement defined by the computing power scheduling data definition module, generates a computing power scheduling response, and returns the computing power scheduling response to the computing power scheduling requester.

[0090] In the above embodiments of the present invention, the computing power scheduling method can provide users with corresponding query or change services based on the GraphQL query language and according to the user's actual query or change needs;

[0091] Using a unified computing power query and scheduling interface can reduce the number of interfaces for computing power scheduling requests and simplify the scheduling collaboration complexity of computing power call requesters.

[0092] By using the computing power call data definition module to verify whether the data structure and / or field data type of computing power scheduling query request or computing power scheduling change request conform to the query statement rules or change statement rules set in the computing power scheduling data definition, the success rate of computing power scheduling can be effectively improved.

[0093] By using a common computing power scheduling strategy template, specific parsing components are generated. These parsing components are dynamically embedded into the update operation process of the current computing power scheduling service, enabling customizable and reusable scheduling modification strategies. This allows for the execution of computing power scheduling modification operations to achieve the computing power scheduling task. Based on a GraphQL version strategy, it supports computing power requesters scheduling computing power resources and configurations corresponding to the specified versions. Based on GraphQL returned content, it supports returning a complete relationship graph according to the actual computing power scheduling content and status.

[0094] Figure 5 This invention illustrates a computing power scheduling device 50 provided in an embodiment of the present invention, applied to a computing power scheduling service module. The device 50 includes:

[0095] The transceiver module 51 is used to receive computing power scheduling requests initiated by computing power scheduling requesters through a preset computing power scheduling request interface;

[0096] Processing module 52 is used to verify the computing power scheduling request and obtain a verification result; if the verification result is verified as passed, then according to the computing power scheduling strategy template, it calls computing power scheduling for the computing power scheduling request and obtains computing power scheduling result;

[0097] The transceiver module 52 is also used to return the computing power scheduling result to the computing power scheduling requester.

[0098] Optionally, the computing power scheduling request is verified to obtain a verification result, including:

[0099] Using a preset computing power scheduling data definition, the data structure and / or field data type carried in the computing power scheduling request are verified to obtain the verification result of the computing power scheduling request; the verification includes verifying whether the data structure and / or field data type conforms to the query statement rules or change statement rules set in the preset computing power scheduling data definition.

[0100] Optionally, the computing power scheduling request includes: a computing power scheduling query request or a computing power scheduling change request.

[0101] Optionally, when the computing power scheduling request is a computing power scheduling query request, computing power scheduling is triggered according to the computing power scheduling policy template to obtain the computing power scheduling result, including:

[0102] Based on the computing power scheduling strategy template, the query scheduling component is invoked to perform a query operation and obtain the computing power scheduling result; the query operation is based on the computing power scheduling strategy, computing power scheduling job and computing power scheduling sensing construction of GraphQL in the application programming interface API.

[0103] Optionally, when the computing power scheduling request includes a computing power scheduling change request, computing power scheduling is triggered according to the computing power scheduling policy template to obtain the computing power scheduling result, including:

[0104] Based on the characteristics and operation parameters of the computing power scheduling change in the computing power scheduling change request, a computing power scheduling strategy parsing component is generated.

[0105] The computing power scheduling result is obtained based on the computing power scheduling strategy parsing component.

[0106] Optionally, the computing power scheduling result is obtained according to the computing power scheduling strategy parsing component, including:

[0107] An update operation is performed based on the computing power scheduling strategy parsing component to obtain the computing power scheduling result; the update operation is constructed based on the computing power scheduling strategy, computing power scheduling job and computing power scheduling sensing in GraphQL.

[0108] Optionally, sending the computing power scheduling result to the computing power scheduling requester includes:

[0109] After verifying that the computing power scheduling result satisfies the GraphQL query statement defined by the computing power scheduling data definition module, a computing power scheduling response is generated.

[0110] The computing power scheduling response is sent to the computing power scheduling requester.

[0111] It should be noted that in this embodiment, the device is the same as the method described above. All implementations in the method embodiments described above are applicable to the device embodiments and can achieve the same technical effect.

[0112] This invention provides a non-volatile computer storage medium storing at least one executable instruction that can execute the computing power scheduling method in any of the above method embodiments.

[0113] Figure 6 The diagram shows a structural schematic of a computing device provided in an embodiment of the present invention. The specific embodiments of the present invention do not limit the specific implementation of the computing device.

[0114] like Figure 6As shown, the computing device may include a processor, a communications interface, memory, and a communications bus.

[0115] The processor, communication interface, and memory communicate with each other via a communication bus. The communication interface is used to communicate with other network elements, such as clients or other servers. The processor executes programs, specifically the relevant steps described in the embodiment of the computing power scheduling method for computing devices.

[0116] Specifically, the program may include program code, which includes computer operation instructions.

[0117] The processor may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention. The computing device includes one or more processors, which may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.

[0118] Memory is used to store programs. Memory may include high-speed RAM, and may also include non-volatile memory, such as at least one disk drive.

[0119] Specifically, the program can be used to cause the processor to execute the computing power scheduling method in any of the above method embodiments. The specific implementation of each step in the program can be found in the corresponding descriptions of the steps and units in the above computing power scheduling method embodiments, and will not be repeated here. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the devices and modules described above can be referred to the corresponding process descriptions in the foregoing method embodiments, and will not be repeated here.

[0120] The algorithms or displays provided herein are not inherently related to any particular computer, virtual system, or other device. Various general-purpose systems can also be used in conjunction with the teachings herein. The required structure for constructing such systems is apparent from the above description. Furthermore, the embodiments of the present invention are not directed to any particular programming language. It should be understood that the embodiments of the present invention described herein can be implemented using various programming languages, and the above description of specific languages ​​is for the purpose of disclosing the best mode of implementation of the embodiments of the present invention.

[0121] Numerous specific details are set forth in the specification provided herein. However, it will be understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures, and techniques have not been shown in detail so as not to obscure the understanding of this specification.

[0122] Similarly, it should be understood that, in order to streamline the embodiments of the invention and aid in understanding one or more of the various inventive aspects, features of the embodiments of the invention are sometimes grouped together in a single embodiment, figure, or description thereof in the above description of exemplary embodiments of the invention. However, this disclosure should not be construed as reflecting an intention that the claimed embodiments of the invention require more features than are expressly recited in each claim. Rather, as reflected in the following claims, inventive aspects lie in fewer than all features of a single foregoing disclosed embodiment. Therefore, the claims following the detailed description are hereby expressly incorporated into that detailed description, wherein each claim itself is a separate embodiment of the invention.

[0123] Those skilled in the art will understand that modules in the device of the embodiments can be adaptively changed and placed in one or more devices different from that embodiment. Modules, units, or components in the embodiments can be combined into a single module, unit, or component, and further, they can be divided into multiple sub-modules, sub-units, or sub-components. Except where at least some of such features and / or processes or units are mutually exclusive, any combination can be used to combine all features disclosed in this specification (including the accompanying claims, abstract, and drawings) and all processes or units of any method or device so disclosed. Unless expressly stated otherwise, each feature disclosed in this specification (including the accompanying claims, abstract, and drawings) may be replaced by an alternative feature serving the same, equivalent, or similar purpose.

[0124] Furthermore, those skilled in the art will understand that although some embodiments herein include certain features included in other embodiments but not others, combinations of features from different embodiments are intended to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments can be used in any combination.

[0125] The various component embodiments of the present invention can be implemented in hardware, or as software modules running on one or more processors, or a combination thereof. Those skilled in the art will understand that microprocessors or digital signal processors (DSPs) can be used in practice to implement some or all of the functions of some or all of the components according to the embodiments of the present invention. The embodiments of the present invention can also be implemented as device or apparatus programs (e.g., computer programs and computer program products) for performing part or all of the methods described herein. Such programs implementing the embodiments of the present invention can be stored on a computer-readable medium, or can be in the form of one or more signals. Such signals can be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.

[0126] It should be noted that the above embodiments are illustrative of the present invention and not restrictive of the invention, and that those skilled in the art can devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses should not be construed as limiting the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. Embodiments of the present invention can be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third, etc., does not indicate any order. These words can be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be construed as limiting the order of execution.

Claims

1. A computing power scheduling method, characterized in that, Applied to computing power scheduling services, the method includes: Receive computing power scheduling requests initiated by computing power scheduling requesters through the preset computing power scheduling request interface; The computing power scheduling request is verified, and the verification result is obtained; If the verification result is deemed successful, then according to the computing power scheduling policy template, computing power scheduling is invoked for the computing power scheduling request to obtain the computing power scheduling result. Specifically, when the computing power scheduling request is a computing power scheduling query request, the query scheduling component is invoked according to the computing power scheduling policy template to perform a query operation and obtain the computing power scheduling result. The query operation is constructed based on the computing power scheduling policy, computing power scheduling job, and computing power scheduling sensing of the GraphQL application programming interface (API). When the computing power scheduling request includes a computing power scheduling change request, a computing power scheduling policy parsing component is generated based on the characteristics and operation parameters of the computing power scheduling change in the computing power scheduling change request. The computing power scheduling result is obtained based on the computing power scheduling policy parsing component. The computing power scheduling result is returned to the computing power scheduling requester.

2. The computing power scheduling method according to claim 1, characterized in that, The computing power scheduling request is verified, and the verification result is obtained, including: Using a preset computing power scheduling data definition, the data structure and / or field data type carried in the computing power scheduling request are verified to obtain the verification result of the computing power scheduling request; the verification includes verifying whether the data structure and / or field data type conforms to the query statement rules or change statement rules set in the preset computing power scheduling data definition.

3. The computing power scheduling method according to claim 1, characterized in that, The computing power scheduling request includes: computing power scheduling query request or computing power scheduling change request.

4. The computing power scheduling method according to claim 1, characterized in that, The computing power scheduling result is obtained based on the computing power scheduling strategy parsing component, including: An update operation is performed based on the computing power scheduling strategy parsing component to obtain the computing power scheduling result; the update operation is constructed based on the computing power scheduling strategy, computing power scheduling job and computing power scheduling sensing in GraphQL.

5. The computing power scheduling method according to claim 1 or 4, characterized in that, Sending the computing power scheduling result to the computing power scheduling requester includes: After verifying that the computing power scheduling result satisfies the GraphQL query statement defined by the computing power scheduling data definition module, a computing power scheduling response is generated. The computing power scheduling response is sent to the computing power scheduling requester.

6. A computing power scheduling device, characterized in that, The device includes: The transceiver module is used to receive computing power scheduling requests initiated by computing power scheduling requesters through a preset computing power scheduling request interface; The processing module verifies the computing power scheduling request and obtains a verification result. If the verification result is successful, it calls computing power scheduling for the computing power scheduling request according to the computing power scheduling policy template to obtain a computing power scheduling result. Specifically, when the computing power scheduling request is a computing power scheduling query request, it calls a query scheduling component according to the computing power scheduling policy template to perform a query operation and obtain a computing power scheduling result. The query operation is based on the computing power scheduling policy, computing power scheduling job, and computing power scheduling sensing construction of the GraphQL application programming interface (API). When the computing power scheduling request includes a computing power scheduling change request, it generates a computing power scheduling policy parsing component based on the characteristics and operation parameters of the computing power scheduling change in the request. The computing power scheduling result is obtained based on the computing power scheduling policy parsing component. The transceiver module is also used to return the computing power scheduling result to the computing power scheduling requester.

7. A computing device, characterized in that, include: The processor, memory, communication interface, and communication bus are provided, wherein the processor, memory, and communication interface communicate with each other via the communication bus. The memory is used to store at least one executable instruction that causes the processor to perform the operation corresponding to the method as described in any one of claims 1-5.

8. A computer storage medium, characterized in that, The storage medium stores at least one executable instruction that causes the processor to perform the operation corresponding to the method as described in any one of claims 1-5.

Citation Information

Patent Citations

  • Computing power processing network system and computing power processing method

    CN113448721A