Resource Scheduling Method, Device, Electronic Device and Storage Medium Based on Cloud Platform

By creating resource data associated with device identification in the cloud platform and matching and prioritizing resource data, resource scheduling conflicts in large-scale and high-concurrency scenarios in the cloud platform backend are resolved, and timely and precise allocation of resources is achieved.

CN113971078BActive Publication Date: 2025-08-01CHINA MOBILE (SUZHOU) SOFTWARE TECH CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010725955.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-07-24
Publication Date
2025-08-01
Estimated Expiration
2040-07-24

AI Technical Summary

Technical Problem

In the large-scale and high-concurrency scenarios of the cloud platform backend, the existing technology cannot effectively schedule resources in the infrastructure cloud, resulting in resource conflicts and inaccurate scheduling.

Method used

By obtaining the device identification and resource request information of the resource requesting device, creating resource data associated with the device identification, and determining the matching resource data based on the platform resource data for scheduling, it supports multi-device priority processing and replication and synchronization of resource data to ensure the timeliness and accuracy of resource allocation.

Benefits of technology

It realizes timely response and precise scheduling of various resources in large-scale and high-concurrency scenarios in the backend of the cloud platform, solves resource conflict problems, and ensures that each device is properly allocated.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113971078B_ABST
    Figure CN113971078B_ABST
Patent Text Reader

Abstract

An embodiment of the present application discloses a resource scheduling method based on a cloud platform. The method includes: obtaining a first resource scheduling request sent by a first resource request device; the first resource scheduling request includes a first device identifier of the first resource request device and first resource request information; creating first resource data associated with the first device identifier based on the platform resource data of the cloud platform; determining second resource data matching the first resource request information from the first resource data; and scheduling the second resource data to the first resource request device. An embodiment of the present application also discloses a resource scheduling device based on a cloud platform, a cloud platform, and a computer-readable storage medium; achieving the effect of scheduling various resources in a large-scale and high-concurrency scenario at the backend of the cloud platform, so as to respond to each scheduling request in a timely manner.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technologies, and particularly to a resource scheduling method based on a cloud platform, a resource scheduling device based on a cloud platform, an electronic device, and a computer storage medium. Background Art

[0002] The resources provided by the infrastructure cloud vary according to different service positions; in related technologies, when the cloud platform implements resource scheduling, various types of data are uniformly collected into a dedicated scheduling service. Subsequently, all requests for resources from users must pass through this scheduling service. The scheduling service focuses on resource supply and backend calls. This scheduling service can achieve controllable allocation of user resources and classify and calculate all service resources to ensure that all available resources are allocated to users in real time.

[0003] However, the scheduling strategy in related technologies only supports processing a small number of user requests. In the case of large-scale and high-concurrency scenarios at the backend of the cloud platform, when there are conflicts in the resource data requested by multiple devices, it is impossible to schedule the resources in the infrastructure cloud. Summary of the Invention

[0004] Embodiments of this application are expected to provide a resource scheduling method based on a cloud platform, a resource scheduling device based on a cloud platform, an electronic device, and a computer storage medium, which solve the problem in related technologies that resources in the infrastructure cloud cannot be scheduled in large-scale and high-concurrency scenarios at the backend of the cloud platform; and achieve the effect of scheduling various resources in large-scale and high-concurrency scenarios at the backend of the cloud platform, so as to respond to each scheduling request in a timely manner.

[0005] The technical solution of this application is implemented as follows:

[0006] In a first aspect, an embodiment of this application provides a resource scheduling method based on a cloud platform, and the method includes:

[0007] Obtain a first resource scheduling request sent by a first resource request device; the first resource scheduling request includes a first device identifier of the first resource request device and first resource request information;

[0008] Based on the platform resource data of the cloud platform, create first resource data associated with the first device identifier;

[0009] Determine second resource data that matches the first resource request information from the first resource data;

[0010] Schedule the second resource data to the first resource request device.

[0011] Optionally, creating first resource data associated with the first device identifier based on the platform resource data of the cloud platform includes:

[0012] Copy the platform resource data;

[0013] Create the first resource data based on the copied platform resource data.

[0014] Optionally, before determining second resource data that matches the first resource request information from the first resource data, the method further includes:

[0015] Obtain the current scheduling information of the platform resource data; the current scheduling information is used to characterize the allocation of the platform resource data by the cloud platform;

[0016] Correspondingly, determining second resource data that matches the first resource request information from the first resource data includes:

[0017] Determine the second resource data from the first resource data based on the current scheduling information.

[0018] Optionally, before determining second resource data that matches the first resource request information from the first resource data, the method further includes:

[0019] Obtain a second resource scheduling request sent by a second resource request device; the second resource scheduling request includes a second device identifier of the second resource request device;

[0020] Correspondingly, determining second resource data that matches the first resource request information from the first resource data includes:

[0021] If the priority of the first device identifier is higher than the priority of the second device identifier, determine the second resource data from the first resource data.

[0022] Optionally, the second resource scheduling request further includes second resource request information of the second resource request device. After determining second resource data that matches the first resource request information from the first resource data, the method further includes:

[0023] Create third resource data associated with the second device identifier based on the platform resource data;

[0024] Determine fourth resource data that is different from the second resource data from the third resource data;

[0025] Schedule the fourth resource data to the second resource request device.

[0026] Optionally, the current scheduling information indicates that the cloud platform has allocated fifth resource data to a third resource requesting device, which is different from the first resource requesting device. Based on the current scheduling information, determining the second resource data from the first resource data includes:

[0027] Determining the second resource data different from the fifth resource data from the first resource data.

[0028] Optionally, the method further includes:

[0029] Receiving a scheduling completion instruction sent by the first resource requesting device; the scheduling completion instruction is used to indicate that the first resource requesting device has successfully accessed the second resource data;

[0030] Based on the scheduling completion instruction, deleting the first resource data.

[0031] In a second aspect, an embodiment of the present application provides a resource scheduling device based on a cloud platform. The resource scheduling device based on the cloud platform includes:

[0032] An obtaining unit, configured to obtain a first resource scheduling request sent by a first resource requesting device; the first resource scheduling request includes a first device identifier and first resource request information of the first resource requesting device;

[0033] A first processing unit, configured to create first resource data associated with the first device identifier based on the platform resource data of the cloud platform;

[0034] A second processing unit, configured to determine second resource data matching the first resource request information from the first resource data;

[0035] A third processing unit, configured to schedule the second resource data to the first resource requesting device.

[0036] In a fourth aspect, an embodiment of the present application provides an electronic device, which includes:

[0037] A memory, configured to store executable instructions;

[0038] A processor, configured to execute the executable instructions stored in the memory to implement the resource scheduling method based on the cloud platform as described above.

[0039] In a fifth aspect, an embodiment of the present application provides a computer storage medium, which stores one or more programs, and the one or more programs can be executed by one or more processors to implement the resource scheduling method based on the cloud platform as described above.

[0040] The resource scheduling method based on a cloud platform, the resource scheduling device based on a cloud platform, the electronic device, and the computer storage medium provided by the embodiments of the present application obtain a first resource scheduling request sent by a first resource request device; the first resource scheduling request includes a first device identifier of the first resource request device and first resource request information; based on the platform resource data of the cloud platform, create first resource data associated with the first device identifier; determine second resource data matching the first resource request information from the first resource data; schedule the second resource data to the first resource request device; that is, allocate the second resource data matching the first resource request information in the platform resource data of the cloud platform to the first resource device. In this way, for multiple resource request devices, the electronic device can allocate the most suitable resource data to each device based on the platform resource data; furthermore, it solves the problem in the related art that in the large-scale and high-concurrency scenario at the back end of the cloud platform, when there are conflicts in the resource data requested and called by multiple devices, the resources in the infrastructure cloud cannot be scheduled; it realizes the effect of scheduling various resources in the large-scale and high-concurrency scenario at the back end of the cloud platform, so as to respond to each scheduling request in a timely manner. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 It is a schematic flowchart of a resource scheduling method based on a cloud platform provided by an embodiment of the present application;

[0042] Figure 2 It is a schematic flowchart of another resource scheduling method based on a cloud platform provided by an embodiment of the present application;

[0043] Figure 3 It is a schematic flowchart of yet another resource scheduling method based on a cloud platform provided by an embodiment of the present application;

[0044] Figure 4 It is a schematic flowchart of a resource scheduling method based on a cloud platform provided by another embodiment of the present application;

[0045] Figure 5 It is an interaction schematic diagram between a cloud platform and a resource request device provided by an embodiment of the present application;

[0046] Figure 6 It is a schematic flowchart of another resource scheduling method based on a cloud platform provided by another embodiment of the present application;

[0047] Figure 7 It is a schematic structural diagram of a resource scheduling device based on a cloud platform provided by an embodiment of the present application;

[0048] Figure 8 It is a schematic structural diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0049] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application.

[0050] It should be understood that the "embodiments of the present application" or "the foregoing embodiments" mentioned throughout the specification mean that specific features, structures, or characteristics related to the embodiments are included in at least one embodiment of the present application. Therefore, the appearances of "in the embodiments of the present application" or "in the foregoing embodiments" throughout the specification do not necessarily refer to the same embodiments. In addition, these specific features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In various embodiments of the present application, the order numbers of the above processes do not mean the order of execution. The order of execution of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application. The serial numbers of the embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments.

[0051] In the related art, the resources provided by the infrastructure cloud for users vary due to different service positions; how to quickly and accurately schedule the resources required by users in a large-scale resource pool to users is one of the core service capabilities of the current cloud platform. A representative solution in the industry, such as OpenStack, is to collect various types of data into a dedicated scheduling service. Subsequently, all requests for resources from users must pass through this scheduling service, and this scheduling service focuses on resource supply and backend calls. This scheduling service can achieve controllable allocation of users' resources and classify and calculate all service resources to ensure that all available resources are allocated to users in real time. However, most of the resource scheduling systems implemented in the industry at present are built on the data processing backend, and all services in the scheduling cluster obtain data in a stateless manner. Although this can complete rapid data access and extraction in a short time, in the large-scale and high-concurrency scenarios at the backend of the cloud platform, the following problems will still occur: 1. Centralized data will cause various services to perform centralized conversion processing on various scheduling resource service data. In this way, on the one hand, there is a problem of data inconsistency, and on the other hand, it will also cause a problem of mismatch in the expansion between the scheduling service and the third-party service, resulting in the inability to schedule the resources in the infrastructure cloud; 2. Stateless services will have inconsistent data processing due to factors such as time during the process of reading and writing data, resulting in inaccurate scheduling results in this scenario. As can be seen from the above, there are problems of inability to schedule various resources in real time and inability to schedule accurately during the process of scheduling resources in the infrastructure cloud in large-scale and high-concurrency scenarios.

[0052] The embodiments of the present application provide a resource scheduling method based on a cloud platform, which is applied to an electronic device. Referring to Figure 1 as shown, the method includes the following steps:

[0053] Step 101: Obtain a first resource scheduling request sent by a first resource request device.

[0054] The first resource scheduling request includes a first device identifier of the first resource request device and first resource request information. In the embodiments of the present application, the first resource request device may include mobile terminal devices such as laptop computers and personal digital assistants (PDAs), as well as fixed terminal devices such as desktop computers.

[0055] Step 102: Create first resource data associated with the first device identifier based on the platform resource data of the cloud platform.

[0056] In the embodiments of the present application, after the cloud platform obtains the first resource scheduling request sent by the first resource request device, it creates first resource data associated with the first device identifier for the first resource request device; that is, the cloud platform creates resource data belonging to each resource request device for each resource request device.

[0057] In the embodiments of the present application, the resource data includes the memory resource data of the cloud platform, such as data such as images, videos, and texts stored on the cloud platform.

[0058] Step 103: Determine second resource data that matches the first resource request information from the first resource data.

[0059] The second resource data is resource data determined by the cloud platform from the first resource data to be allocated to the first resource request device for the first resource request device to schedule.

[0060] Step 104: Schedule the second resource data to the first resource request device.

[0061] In the embodiments of the present application, after the cloud platform determines the first resource request device to which the first resource is to be allocated, it schedules the second resource data to the first resource request device so that the first resource request device can access the second resource data in a timely and accurate manner.

[0062] The resource scheduling method based on a cloud platform provided by an embodiment of the present application obtains a first resource scheduling request sent by a first resource request device; the first resource scheduling request includes a first device identifier of the first resource request device and first resource request information; based on the platform resource data of the cloud platform, create first resource data associated with the first device identifier; determine second resource data matching the first resource request information from the first resource data; schedule the second resource data to the first resource request device; solves the problem in the related art that in the scenario of large scale and high concurrency at the back end of the cloud platform, when there are conflicts in the resource data requested by multiple devices, the resources in the infrastructure cloud cannot be scheduled; realizes the effect of scheduling various resources in the scenario of large scale and high concurrency at the back end of the cloud platform, so as to respond to each scheduling request in a timely manner.

[0063] An embodiment of the present application provides a resource scheduling method based on a cloud platform, which is applied to an electronic device. Referring to Figure 2 as shown, the method includes the following steps:

[0064] Step 201, obtain a first resource scheduling request sent by a first resource request device.

[0065] Among them, the first resource scheduling request includes a first device identifier of the first resource request device and first resource request information.

[0066] Step 202, copy the platform resource data.

[0067] Step 203, create first resource data based on the copied platform resource data.

[0068] In an embodiment of the present application, when each resource request device sends a resource scheduling request, the cloud platform copies a copy of the platform resource data for each resource request device to ensure that each resource scheduling request corresponds to a complete copy of the platform resource data. That is to say, the cloud platform copies a copy of the platform resource data for each device to ensure that in a high-concurrency scenario, each device can propose a call demand based on the entire platform resources, and then the cloud platform can comprehensively consider the demands of each device and allocate resource data that matches the request information sent by each device as much as possible.

[0069] Step 204, obtain the current scheduling information of the platform resource data.

[0070] In an embodiment of the present application, the current scheduling information is used to characterize the allocation situation of the cloud platform for the platform resource data.

[0071] Step 205, determine second resource data from the first resource data based on the current scheduling information.

[0072] Step 206, schedule the second resource data to the first resource request device.

[0073] It should be noted that for the descriptions of the same steps and the same content in this embodiment and other embodiments, reference can be made to the descriptions in other embodiments, and details will not be repeated here.

[0074] An embodiment of the present application provides a resource scheduling method based on a cloud platform, which is applied to an electronic device. Referring to Figure 3 as shown, the method includes the following steps:

[0075] Step 301: Obtain a first resource scheduling request sent by a first resource request device.

[0076] Among them, the first resource scheduling request includes a first device identifier of the first resource request device and first resource request information.

[0077] Step 302: Based on the platform resource data of the cloud platform, create first resource data associated with the first device identifier.

[0078] Step 303: Obtain a second resource scheduling request sent by a second resource request device.

[0079] Among them, the second resource scheduling request includes a second device identifier of the second resource request device. The second resource scheduling request further includes second resource request information of the second resource request device.

[0080] Step 304: If the priority of the first device identifier is higher than the priority of the second device identifier, determine second resource data from the first resource data.

[0081] Step 305: Schedule the second resource data to the first resource request device.

[0082] In the embodiment of the present application, when multiple resource request devices send resource scheduling requests to the cloud platform, the cloud platform determines the priorities of the respective resource request devices according to the different device identifiers included in the different resource scheduling requests, and preferentially determines second resource data from the first resource data, and then schedules the second resource data to the first resource request device.

[0083] Step 306: Based on the platform resource data, create third resource data associated with the second device identifier.

[0084] Step 307: Determine fourth resource data different from the second resource data from the third resource data.

[0085] In the embodiment of the present application, the cloud platform, according to the priorities of different device identifiers, in the order of highest to lowest priority, schedules resource data for high-priority resource request devices first, and then schedules resource data for low-priority resource request devices.

[0086] Step 308, schedule the fourth resource data to the second resource request device.

[0087] It should be noted that for the descriptions of the same steps and the same content in this embodiment and other embodiments, reference may be made to the descriptions in other embodiments, and details are not repeated here.

[0088] An embodiment of the present application provides a resource scheduling method based on a cloud platform, which is applied to an electronic device. Referring to Figure 4 as shown, the method includes the following steps:

[0089] Step 401, obtain a first resource scheduling request sent by a first resource request device.

[0090] Among them, the first resource scheduling request includes a first device identifier of the first resource request device and first resource request information.

[0091] Step 402, copy the platform resource data.

[0092] Step 403, create first resource data based on the copied platform resource data.

[0093] Step 404, obtain the current scheduling information of the platform resource data.

[0094] Among them, the current scheduling information indicates that the cloud platform has allocated fifth resource data to a third resource request device, and the third resource request device is different from the first resource request device.

[0095] Step 405, determine second resource data different from the fifth resource data from the first resource data.

[0096] In the embodiment of the present application, when the cloud platform creates first resource data for the first resource request device, first obtain the current scheduling information of the platform resource data, and then based on the current scheduling information of the platform resource data, determine second resource data different from the fifth resource data from the first resource data. In this way, it is ensured that the resource scheduling requests of each resource request device can be responded to, and the cloud platform allocates appropriate resource data to each resource request device based on the platform resource data.

[0097] Step 406, schedule the second resource data to the first resource request device.

[0098] Step 407, receive a scheduling completion instruction sent by the first resource request device.

[0099] Among them, the scheduling completion instruction is used to indicate that the first resource request device has successfully accessed the second resource data.

[0100] Step 408, delete the first resource data based on the scheduling completion instruction.

[0101] In an embodiment of the present application, after the cloud platform determines that resource scheduling for a first resource scheduling request sent by a first resource request device is completed, the first resource data created for the first resource request device is deleted, saving memory space.

[0102] It should be noted that for the description of the same steps and the same content in this embodiment and other embodiments, reference may be made to the description in other embodiments, and details are not described herein again.

[0103] An embodiment of the present application provides a resource scheduling method based on a cloud platform, which is applied to an electronic device. Referring to Figure 5 As shown, the electronic device includes a scheduling selection module 51, a scheduling data maintenance module 52, a scheduling request monitoring module 53, and a scheduled resource service module 54. Among them, the scheduled resource service module 54 is a capability node that provides actual infrastructure in an infrastructure cloud, and it is a direct service module for a resource request device 55. The scheduling request monitoring module 53 is used to monitor the resource request device 55. It has complete platform resource data and will perform data processing and return relevant results according to the resource scheduling request of the resource request device 55. The scheduling data maintenance module 52 is a unified merging and processing device for the electronic device during the resource scheduling request process of multiple resource request devices 55. It is a device for ensuring the unified coordination of platform resources during high-concurrency requests. The scheduling selection module is a module that filters different data according to the resource scheduling request of the resource request device 55 and performs data filtering. The scheduling request monitoring module 53 can perform individual monitoring and resource response for each resource scheduling request. Because the data and calculation models in this device are relatively independent for each request, it can ensure that the resource scheduling requests of the resource request device can be quickly responded to. The scheduling data maintenance module 52 can perform distributed unified maintenance on the data in multiple scheduling request monitoring modules 53. That is, although the data of each scheduling request monitoring module 53 is independent, when the data in each independent device changes, they can be synchronized with each other through this device.

[0104] After receiving a resource scheduling request, the scheduling request monitoring module 53 filters and cleans the resource scheduling request of the resource request device through the scheduling selection module 51 and sends it to the scheduling resource maintenance module 52. After the scheduling resource maintenance module 52 confirms the data and returns it synchronously without error, the final resource is returned to the resource request device, and the resource request device can access the specific scheduled resource according to the returned data.

[0105] Further, the resource scheduling method based on the cloud platform is further described. When a resource request device initiates a resource scheduling request, the electronic device will create a scheduling request monitoring module 53 for it and copy a complete set of platform resource data from the scheduling data maintenance module 52 of the electronic device. Each resource scheduling request initiated by a resource request device will be accompanied by the creation of this process, that is, each resource scheduling request has an independent monitoring module and a complete set of platform resource data.

[0106] After obtaining a complete set of platform resource data, the scheduling request monitoring module 53 immediately requests the scheduling selection module 51 of the electronic device to process and filter the resource scheduling request and the resources corresponding to the electronic device. This process filters the platform resource data that matches the expected creation for the resource request device.

[0107] When the scheduling selection module 51 of the electronic device filters the platform resource data expected to be created by the resource request device, it will immediately return it to the scheduling request monitoring module 53. After receiving the corresponding data, the scheduling request monitoring module 53 will immediately request the scheduling data maintenance module 52. The purpose of this process is to synchronize the data between different resource request devices to avoid data differences between different resource request devices due to different resource scheduling requests and different filtering.

[0108] After the scheduling data maintenance module 52 completes data synchronization and processing, it will directly access the scheduled resource data, create the resources required by the resource request device, wait for the result to be returned to the resource request device after the resource creation is successful, and at the same time delete the resource data corresponding to the resource request device.

[0109] See Figure 6 As shown, in practical applications, the method includes the following steps:

[0110] Step 501: The resource request device initiates a resource scheduling request.

[0111] Step 502: Initialize the scheduling request monitoring module of the electronic device.

[0112] Step 503: The electronic device initializes the platform resource data to the scheduling request monitoring module.

[0113] Step 504: The electronic device confirms that the initialization of the scheduling request monitoring module is completed.

[0114] Step 505: The electronic device filters the platform resource data through the scheduling request monitoring module.

[0115] Step 506: The electronic device filters the resource data that matches the resource scheduling request of the resource request device through the scheduling request monitoring module.

[0116] Step 507: After the electronic device obtains the scheduling selection result through the scheduling request monitoring module, it initiates a data maintenance request.

[0117] Step 508: The electronic device synchronizes all the data of the scheduling request monitoring module according to the data maintenance request through the scheduling data maintenance module.

[0118] Step 509: After the electronic device confirms that the data synchronization is completed, it notifies the scheduled resource service module to start resource creation.

[0119] Step 510: The electronic device returns the scheduled resource data to the resource request device.

[0120] As can be seen from the above, the resource scheduling request of the resource request device is maintained by an independent scheduling data maintenance module, ensuring that the response of the resource request device is fast and sensitive. There is a unified scheduling data maintenance module between independent modules, ensuring the rapid synchronization of the data of the scheduling data maintenance modules for different requests, and ensuring that the created resources of the resource request device are more accurate than its expected requirements.

[0121] The embodiment of the present application provides a resource scheduling device based on a cloud platform. Referring to Figure 7 as shown, the resource scheduling device 6 based on the cloud platform can be used to implement Figures 1 to 4 the steps of resource scheduling based on the cloud platform shown. The resource scheduling device 6 based on the cloud platform includes:

[0122] An obtaining unit 61, configured to obtain a first resource scheduling request sent by a first resource request device; the first resource scheduling request includes a first device identifier of the first resource request device and first resource request information;

[0123] A first processing unit 62, configured to create first resource data associated with the first device identifier based on the platform resource data of the cloud platform;

[0124] A second processing unit 63, configured to determine second resource data matching the first resource request information from the first resource data;

[0125] A third processing unit 64, configured to schedule the second resource data to the first resource request device.

[0126] In other embodiments of the present application, the first processing unit 62 is further configured to copy the platform resource data; and create the first resource data based on the copied platform resource data.

[0127] In other embodiments of the present application, the obtaining unit 61 is further configured to obtain the current scheduling information of the platform resource data; the current scheduling information is used to characterize the allocation situation of the cloud platform for the platform resource data.

[0128] In other embodiments of the present application, the second processing unit 63 is further configured to determine second resource data from the first resource data based on the current scheduling information.

[0129] In other embodiments of the present application, the obtaining unit 61 is further configured to obtain a second resource scheduling request sent by a second resource requesting device; the second resource scheduling request includes a second device identifier of the second resource requesting device, and the second resource scheduling request further includes second resource request information of the second resource requesting device.

[0130] In other embodiments of the present application, the second processing unit 63 is further configured to determine second resource data from the first resource data if the priority of the first device identifier is higher than the priority of the second device identifier.

[0131] In other embodiments of the present application, the first processing unit 62 is further configured to create third resource data associated with the second device identifier based on the platform resource data.

[0132] In other embodiments of the present application, the second processing unit 63 is further configured to determine fourth resource data different from the second resource data from the third resource data.

[0133] In other embodiments of the present application, the third processing unit 64 is further configured to schedule the fourth resource data to the second resource requesting device.

[0134] In other embodiments of the present application, the current scheduling information indicates that the cloud platform has allocated fifth resource data to a third resource requesting device, and the third resource requesting device is different from the first resource requesting device.

[0135] In other embodiments of the present application, in other embodiments of the present application, the second processing unit 63 is further configured to determine second resource data different from the fifth resource data from the first resource data.

[0136] In other embodiments of the present application, the obtaining unit 61 is further configured to receive a scheduling completion instruction sent by the first resource requesting device; the scheduling completion instruction is used to indicate that the first resource requesting device has successfully accessed the second resource data.

[0137] In other embodiments of the present application, the third processing unit 64 is further configured to delete the first resource data based on the scheduling completion instruction.

[0138] It should be noted that for the specific implementation processes of the steps executed by each functional unit in this embodiment, reference may be made to Figures 1 to 4 the implementation processes in the resource scheduling method based on the cloud platform provided in the corresponding embodiment, which will not be elaborated here.

[0139] Embodiments of the present application provide an electronic device. Refer to Figure 8As shown, the electronic device 7 can be used to implement Figures 1 to 4 the steps of the resource scheduling method based on the cloud platform shown, and the electronic device 7 ( Figure 8 the electronic device 7 in Figure 7 corresponds to the resource scheduling device 6 based on the cloud platform) includes: a processor 71, a memory 72, and a communication bus 73;

[0140] The communication bus 73 is used to implement the communication connection between the processor 71 and the memory 72;

[0141] The processor 71 is used to execute the resource scheduling program based on the cloud platform stored in the memory 72 to implement the following steps:

[0142] Obtain a first resource scheduling request sent by a first resource request device; the first resource scheduling request includes a first device identifier of the first resource request device and first resource request information;

[0143] Based on the platform resource data of the cloud platform, create first resource data associated with the first device identifier;

[0144] Determine second resource data that matches the first resource request information from the first resource data;

[0145] Schedule the second resource data to the first resource request device.

[0146] In other embodiments of the present application, the processor 71 is used to copy the platform resource data; based on the copied platform resource data, create first resource data.

[0147] In other embodiments of the present application, the processor 71 is used to obtain the current scheduling information of the platform resource data; the current scheduling information is used to characterize the allocation of the platform resource data by the cloud platform; based on the current scheduling information, determine second resource data from the first resource data.

[0148] In other embodiments of the present application, the processor 71 is used to obtain a second resource scheduling request sent by a second resource request device; the second resource scheduling request includes a second device identifier of the second resource request device; the second resource scheduling request further includes second resource request information of the second resource request device; if the priority of the first device identifier is higher than the priority of the second device identifier, determine second resource data from the first resource data.

[0149] In other embodiments of the present application, the processor 71 is used to create third resource data associated with the second device identifier based on the platform resource data;

[0150] Determine fourth resource data different from the second resource data from the third resource data;

[0151] Schedule the fourth resource data to the second resource requesting device.

[0152] In other embodiments of the present application, the current scheduling information indicates that the cloud platform has allocated the fifth resource data to the third resource requesting device, and the third resource requesting device is different from the first resource requesting device.

[0153] In other embodiments of the present application, the processor 71 is used to determine second resource data different from the fifth resource data from the first resource data.

[0154] In other embodiments of the present application, the processor 71 is used to receive a scheduling completion instruction sent by the first resource requesting device; the scheduling completion instruction is used to indicate that the first resource requesting device has successfully accessed the second resource data; based on the scheduling completion instruction, delete the first resource data.

[0155] It should be noted that the specific implementation process of the steps executed by the processor in this embodiment can be referred to Figures 1 to 4 the implementation process in the resource scheduling method based on the cloud platform provided in the corresponding embodiment, which will not be elaborated here.

[0156] A computer storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the Figures 1 to 4 implementation process in the resource scheduling method based on the cloud platform provided in the corresponding embodiment, which will not be elaborated here.

[0157] It should be noted that the above-mentioned memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a ferromagnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM), etc.; it can also be various terminals including one or any combination of the above-mentioned memories, such as mobile phones, computers, tablet devices, personal digital assistants, etc.

[0158] In several embodiments provided by the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined, or can be integrated into another system, or some features can be ignored, or not executed. In addition, the couplings, direct couplings, or communication connections between the various components shown or discussed may be through some interfaces. The indirect couplings or communication connections of devices or units can be electrical, mechanical, or other forms.

[0159] The units described above as separate components may or may not be physically separated. The components shown as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0160] In addition, in each embodiment of the present application, each functional unit can be all integrated in a processing module, or each unit can be separately used as a unit, or two or more units can be integrated in one unit; the above integrated unit can be implemented in the form of hardware, or in the form of a combination of hardware and software functional units. Those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions. The foregoing program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps including the above method embodiments; and the foregoing storage medium includes: various media such as removable storage devices, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs that can store program codes.

[0161] The methods disclosed in several method embodiments provided by the present application can be arbitrarily combined without conflict to obtain new method embodiments.

[0162] The features disclosed in several product embodiments provided by the present application can be arbitrarily combined without conflict to obtain new product embodiments.

[0163] The features disclosed in several method or device embodiments provided by the present application can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.

[0164] As described above, it is only the specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present application can easily think of changes or substitutions, which should all be covered within the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims described above.

Claims

1. A resource scheduling method based on a cloud platform, characterized in that The method includes: Obtaining a first resource scheduling request sent by a first resource requesting device; the first resource scheduling request includes a first device identifier of the first resource requesting device and first resource request information; Creating first resource data associated with the first device identifier based on the platform resource data of the cloud platform; Determining second resource data that matches the first resource request information from the first resource data; Scheduling the second resource data to the first resource requesting device; Before determining the second resource data that matches the first resource request information from the first resource data, the method further includes: Obtaining current scheduling information of the platform resource data; the current scheduling information is used to characterize the allocation of the platform resource data by the cloud platform; Correspondingly, determining the second resource data that matches the first resource request information from the first resource data includes: Determining the second resource data from the first resource data based on the current scheduling information; Creating the first resource data associated with the first device identifier based on the platform resource data of the cloud platform includes: Copying the platform resource data; Creating the first resource data based on the copied platform resource data; The current scheduling information characterizes that the cloud platform has allocated fifth resource data to a third resource requesting device, and the third resource requesting device is different from the first resource requesting device. Determining the second resource data from the first resource data based on the current scheduling information includes: Determining the second resource data that is different from the fifth resource data from the first resource data.

2. The method according to claim 1, characterized in that, The method further includes: Receiving a scheduling completion instruction sent by the first resource requesting device; the scheduling completion instruction is used to indicate that the first resource requesting device has successfully accessed the second resource data; Deleting the first resource data based on the scheduling completion instruction.

3. The method according to claim 1, characterized in that Before determining the second resource data that matches the first resource request information from the first resource data, the method further includes: Obtaining a second resource scheduling request sent by a second resource requesting device; the second resource scheduling request includes a second device identifier of the second resource requesting device; Correspondingly, determining the second resource data that matches the first resource request information from the first resource data includes: If the priority of the first device identifier is higher than the priority of the second device identifier, determining the second resource data from the first resource data.

4. The method according to claim 3, wherein The second resource scheduling request further includes second resource request information of the second resource requesting device. After determining the second resource data that matches the first resource request information from the first resource data, the method further includes: Creating third resource data associated with the second device identifier based on the platform resource data; Determining fourth resource data that is different from the second resource data from the third resource data; Scheduling the fourth resource data to the second resource requesting device.

5. A resource scheduling device based on a cloud platform, characterized in that, The resource scheduling based on the cloud platform includes: An obtaining unit, configured to obtain a first resource scheduling request sent by a first resource requesting device; the first resource scheduling request includes a first device identifier of the first resource requesting device and first resource request information; A first processing unit, configured to create first resource data associated with the first device identifier based on platform resource data of the cloud platform; A second processing unit, configured to determine second resource data matching the first resource request information from the first resource data; A third processing unit, configured to schedule the second resource data to the first resource requesting device; The obtaining unit is further configured to obtain current scheduling information of the platform resource data; the current scheduling information is used to characterize the allocation situation of the cloud platform for the platform resource data; The second processing unit is further configured to determine the second resource data from the first resource data based on the current scheduling information; The first processing unit is further configured to copy the platform resource data; Based on the copied platform resource data, create the first resource data; The current scheduling information indicates that the cloud platform has allocated fifth resource data to a third resource requesting device, and the third resource requesting device is different from the first resource requesting device. The second processing unit is further configured to determine the second resource data different from the fifth resource data from the first resource data.

6. An electronic device, characterized in that, The cloud platform includes: A memory, configured to store executable instructions; A processor, configured to execute the executable instructions stored in the memory to implement the resource scheduling method based on the cloud platform according to any one of claims 1 to 4.

7. A computer storage medium, characterized in that, The computer storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the resource scheduling method based on the cloud platform according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Method and system for dispatching cloud computed resources

    CN103248659A

  • Network data processing method and apparatus

    WO2018165988A1