Resource service opening method and device, electronic equipment, storage medium and program product
Through the activation mechanism of shared resource information sets and API, the problem of low resource utilization efficiency is solved, efficient sharing and management of resources is realized, business activation process is simplified, and resource utilization efficiency is improved.
Patent Information
- Application Number
- CN202411084227.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-08
- Publication Date
- 2025-01-03
- Estimated Expiration
- 2044-08-08
AI Technical Summary
In the prior art, resource usage efficiency is low, and it is difficult for infrastructure providers and broadband service providers to quickly monetize and develop resources during the process of resource utilization.
By sharing the information set of shared resources to multiple resource schedulers, and activate the services of shared resources associated with APIs that need to be occupied based on resource scheduler information and customer information, efficient sharing and management of resources can be achieved.
It improves the efficiency of resource use, simplifies the resource business activation process, ensures accurate activation and efficient utilization of resources, and avoids resource conflicts.
Smart Images

Figure CN119254716A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a resource service provisioning method, device, electronic equipment, storage medium and program product. Background Art
[0002] With the rapid development of the communications market, new infrastructure providers and broadband service providers continue to emerge in the market.
[0003] After the infrastructure provider has built its network, it faces the problem of how to quickly monetize its resources. On the other hand, broadband service providers also face the problem of lack of resources and inability to quickly develop customers. The service provisioning of existing resources is completed by the resource provider alone, which leads to low resource utilization efficiency. Summary of the invention
[0004] The present invention provides a resource service activation method, device, electronic device, storage medium and program product, which are used to solve the defect of low resource utilization efficiency in the prior art and improve the efficiency of resource sharing.
[0005] In a first aspect, the present invention provides a method for activating resource services, which is applied to a resource provider, and includes: sharing a resource information set of at least one shared resource with multiple resource schedulers, the resource information set including a status attribute of each shared resource and an application programming interface (API) of each shared resource; receiving a resource order sent by a resource scheduler, the resource order is determined based on the service requirements of the resource scheduler's customer and the resource information set, the resource order including the API to be occupied, resource scheduler information and customer information; and activating the service of the shared resource associated with the API to be occupied based on the resource scheduler information and customer information.
[0006] According to the resource service activation method provided by the present invention, after activating the service of the shared resources associated with the API that needs to be occupied based on the resource scheduler information and the customer information, the resource service activation method also includes: receiving a resource pre-occupancy request sent by the resource scheduler, the resource pre-occupancy request includes the API that needs to be occupied; setting the state attribute of the shared resources associated with the API that needs to be occupied to an occupied state, and canceling the sharing of the shared resources associated with the API that needs to be occupied.
[0007] According to the service activation method for resources provided by the present invention, the resource scheduler information includes a service configuration file, a service virtual LAN and a resource scheduler number, the service configuration file is used to characterize the service type provided by the resource scheduler to the customer, the service virtual LAN is used to represent the network address of the resource scheduler, and the service of the shared resources associated with the API that needs to be occupied is activated based on the resource scheduler information and the customer information, including: creating an activation instruction based on the service configuration file, the service virtual LAN, the resource scheduler number and the customer information; creating a usage relationship between the shared resources associated with the API that needs to be occupied and the customer based on the activation instruction, so as to activate the service of the shared resources associated with the API that needs to be occupied.
[0008] According to the resource service activation method provided by the present invention, a resource information set of at least one shared resource is shared with multiple resource schedulers, including: uploading the resource information set to a resource management unit, setting the status attributes of all shared resources to an idle state, and setting the viewing permissions of all shared resources to be visible to all resource providers.
[0009] In a second aspect, the present invention provides a method for activating resource services, which is applied to a resource scheduler, and includes: obtaining a resource information set of at least one shared resource shared by a resource provider, the resource information set including idle status information of each shared resource and an application programming interface API of each shared resource; determining a resource order based on the business needs of the resource scheduler's customers and the resource information set, and sending the resource order to the resource provider, so that the resource provider can activate the services of the shared resources associated with the API that needs to be occupied based on the resource scheduler information and customer information, the resource order including the API that needs to be occupied, the resource scheduler information and the customer information.
[0010] According to the service activation method for resources provided by the present invention, a resource order is determined based on the service requirements of the customer of the resource dispatcher and a resource information set, including: when the resource dispatcher receives the service requirements, it checks the resource information set to determine the shared resources that match the customer's installation address, and uses the API of the shared resources that matches the customer's installation address as the API that needs to be occupied; and determines the resource order based on the API that needs to be occupied, the resource dispatcher information and the customer information.
[0011] In a third aspect, the present invention provides a resource service activation device, comprising: a sharing module, a receiving module and a service activation module, wherein: the sharing module is used to share a resource information set of at least one shared resource with multiple resource schedulers, the resource information set includes the state attributes of each shared resource and the application programming interface API of each shared resource; the receiving module is used to receive a resource order sent by the resource scheduler, the resource order is determined based on the service requirements and resource information set of the resource scheduler's customers, the resource order includes the API to be occupied, the resource scheduler information and the customer information; the service activation module is used to activate the service of the shared resource associated with the API to be occupied based on the resource scheduler information and the customer information.
[0012] In a fourth aspect, the present invention provides a resource service activation device, comprising: an acquisition module and a sending module, wherein: the acquisition module is used to acquire a resource information set of at least one shared resource shared by a resource provider, the resource information set including idle status information of each shared resource and an application programming interface API of each shared resource; the sending module is used to determine a resource order based on the business needs of a resource scheduler's customer and the resource information set, and send the resource order to the resource provider, so that the resource provider can activate the business of the shared resources associated with the API that needs to be occupied based on the resource scheduler information and customer information, the resource order including the API that needs to be occupied, the resource scheduler information and the customer information.
[0013] In a fifth aspect, the present invention further provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, a service activation method for any of the above-mentioned resources is implemented.
[0014] In a sixth aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a service activation method for any of the above-mentioned resources.
[0015] In a seventh aspect, the present invention further provides a computer program product, including a computer program, which, when executed by a processor, implements a service provisioning method for any of the above-mentioned resources.
[0016] The resource service activation method, device, electronic device, storage medium and program product provided by the present invention realize the sharing of shared resources for all resource dispatchers through shared state attributes and APIs, which is conducive to improving the efficiency of using shared resources. The resource order is determined by the API that needs to be occupied, the resource dispatcher information and the customer information, and the business association relationship between the API that needs to be occupied and the corresponding customer is established, which is conducive to improving the accuracy of activating the shared resource service. The present invention realizes resource sharing through a shared resource information set, realizes service activation through the API that needs to be occupied, the resource dispatcher information and the customer information, simplifies the service activation process of shared resources, and improves the efficiency of using shared resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0018] Figure 1 This is one of the flow charts of the resource service activation method provided by the present invention.
[0019] Figure 2 This is the second flow chart of the resource service activation method provided by the present invention.
[0020] Figure 3 This is the third flow chart of the resource service activation method provided by the present invention.
[0021] Figure 4 This is one of the structural schematic diagrams of the resource service provisioning device provided by the present invention.
[0022] Figure 5 This is the second structural diagram of the resource service provisioning device provided by the present invention.
[0023] Figure 6 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0024] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0025] Combine the following Figure 1-Figure 6 The invention describes a method, device and electronic device for provisioning services of resources.
[0026] Figure 1 This is one of the flow charts of the resource service provisioning method provided by the present invention, such as Figure 1 As shown, the resource service activation method is applied to the resource provider, including steps S100 to S300, and each step is specifically as follows.
[0027] S100: Sharing a resource information set of at least one shared resource with multiple resource schedulers, where the resource information set includes a state attribute of each shared resource and an application programming interface API of each shared resource.
[0028] The resource information set of at least one shared resource is shared with multiple resource schedulers. Specifically, the resource information set is uploaded to the resource management unit, the state attributes of all shared resources are set to idle state, and the viewing permissions of all shared resources are set to be visible to all resource providers.
[0029] like Figure 2 As shown, the resource providers of the present invention include infrastructure providers, such as operators, power companies, or companies specializing in providing network resources. The resource dispatcher includes a broadband service provider (partner of the infrastructure provider), and there are multiple resource dispatchers, such as resource dispatcher 1,..., resource dispatcher n. The resource management unit is set in the resource provider to manage all shared resources. Shared resources include optical distribution network (ODN) resources. The application programming interface (Application Programming Interface, API) of shared resources is used to identify shared resources to facilitate pre-occupancy of shared resources. Pre-occupancy of the shared resources corresponding to the API can be achieved by pre-occupying the API of the shared resources. The resource provider includes a resource management unit, an order process unit, and a service activation unit. The resource management module is used to manage shared resources, the order process unit is used to process resource orders, and the service activation unit is used to process service activation requests.
[0030] The resource provider imports the resource information set of all ODN resources to be shared in the resource management unit. At the same time, the resource provider sets the viewing permission (owner attribute) of the resource information set of all ODN resources to be visible to all partners, and the state attribute of the ODN resources is set to idle state. The resource management unit provides shared resource availability check and shared resource pre-occupancy services to all partners.
[0031] The present invention realizes the availability identification of shared resources by setting the state attribute of shared resources to an idle state. By setting the viewing permission to be visible to all resource providers, the shared resources are shared with resource schedulers. All shared resources are uniformly managed by a resource management unit, which is conducive to improving the management efficiency of shared resources.
[0032] S200: receiving a resource order sent by a resource dispatcher. The resource order is determined based on the business requirements and resource information set of the client of the resource dispatcher. The resource order includes the API to be occupied, the resource dispatcher information and the client information.
[0033] When the resource dispatcher receives a customer's business demand for installing broadband services, the resource dispatcher calls the API provided by the resource management unit to query whether there are shared resources that match the business demand. The resource management unit performs an API query according to the requirements of the resource dispatcher and feeds back the query results to the resource dispatcher. The resource dispatcher sets the queried API that matches the business demand as the API that needs to be occupied. The resource dispatcher determines the resource order based on the API that needs to be occupied, the resource dispatcher information and the customer information, and sends the resource order to the order process unit of the resource provider. The order process unit identifies the resource dispatcher information and customer information in the resource order, matches the corresponding business activation request, and sends the business activation request to the business activation unit of the resource provider. The business activation unit is used to activate the business process between the API that needs to be occupied and the corresponding customer.
[0034] S300: Activate the service of the shared resources associated with the API that needs to be occupied based on the resource scheduler information and the customer information.
[0035] After receiving the service activation request, the service activation unit analyzes the API, resource dispatcher information and customer information required in the service activation request. The service activation unit activates the service between the API required to be occupied and the corresponding customer according to the API, resource dispatcher information and customer information required to be occupied.
[0036] The service activation method for resources provided in the embodiment of the present invention realizes sharing of shared resources for all resource dispatchers through shared state attributes and APIs, which is conducive to improving the efficiency of using shared resources. The resource order is determined by the API that needs to be occupied, the resource dispatcher information and the customer information, and the service association relationship between the API that needs to be occupied and the corresponding customer is established, which is conducive to improving the accuracy of activating the service of shared resources. The present invention realizes resource sharing through a shared resource information set, realizes service activation through the API that needs to be occupied, the resource dispatcher information and the customer information, simplifies the service activation process of shared resources, and improves the efficiency of using shared resources.
[0037] Based on the above embodiment, after activating the service of the shared resource associated with the API that needs to be occupied based on the resource scheduler information and the customer information, the resource service activation method further includes steps S400 and S500, and each step is specifically as follows.
[0038] S400: receiving a resource pre-occupancy request sent by a resource scheduler, where the resource pre-occupancy request includes an API to be occupied.
[0039] S500: setting the state attribute of the shared resource associated with the API to be occupied to an occupied state, and canceling the sharing of the shared resource associated with the API to be occupied.
[0040] After the service of the shared resources associated with the API that needs to be occupied is activated, the resource scheduler creates a resource pre-occupancy request based on the API that needs to be occupied. The resource scheduler sends the resource pre-occupancy request to the resource management unit. The resource management unit sets the state attribute of the shared resources associated with the API that needs to be occupied to the occupied state according to the resource pre-occupancy request. The resource management unit sets the viewing permission of the shared resources associated with the API that needs to be occupied to be invisible to other resource schedulers, so as to cancel the sharing of the shared resources associated with the API that needs to be occupied and avoid resource conflicts.
[0041] The present invention modifies the occupation state and sharing state of the API to be occupied through the resource pre-occupancy request, thereby timely avoiding the use conflict of shared resources and being beneficial to improving the use efficiency of shared resources.
[0042] Based on the above embodiment, the resource scheduler information includes a service profile, a service virtual LAN and a resource scheduler number. The service profile is used to characterize the type of service provided by the resource scheduler to the customer. The service virtual LAN is used to represent the network address of the resource scheduler. The service of the shared resources associated with the API that need to be occupied is activated based on the resource scheduler information and the customer information, including steps S310 to S320, and each step is specifically as follows.
[0043] S310: Create an activation instruction based on the service configuration file, the service virtual local area network, the resource scheduler number and the customer information.
[0044] S320: Creating a usage relationship between the shared resource associated with the API to be occupied and the client based on the activation instruction to activate the service of the shared resource associated with the API to be occupied.
[0045] The client code is used to identify the resource dispatcher. The service profile is used to identify the type of service provided by the resource dispatcher to the customer. The service VLAN is used to identify the network address of the resource dispatcher. The service activation unit receives the service activation request sent by the order process unit, and creates an activation instruction based on the service profile, service VLAN, resource dispatcher number and customer information in the service activation request. The service activation unit sends the activation instruction to the network management system of the resource provider. The network management system builds the usage relationship and usage process between the shared resources of the API that needs to be occupied and the customer based on the activation instruction, and then activates the service of the shared resources associated with the API that needs to be occupied. The service profile, service VLAN, resource dispatcher number and customer information are used to lock the customer and the specific service corresponding to the customer.
[0046] The present invention creates a usage relationship between API-associated shared resources that need to be occupied and clients according to a service configuration file, a service virtual local area network, a resource dispatcher number and client information, thereby improving the efficiency and accuracy of activating shared resources.
[0047] like Figure 3 As shown, the present invention provides a resource service activation method, which is applied to a resource scheduling party and includes steps S600 to S700, and each step is specifically as follows.
[0048] S600: Acquire a resource information set of at least one shared resource shared by a resource provider, where the resource information set includes idle state information of each shared resource and an application programming interface API of each shared resource.
[0049] When the resource dispatcher receives a service demand from a customer to install broadband, the resource dispatcher calls the resource management unit to query the resource information set of all shared resources.
[0050] S700: Determine a resource order based on the business needs of the resource scheduler's customers and a resource information set, and send the resource order to the resource provider so that the resource provider can activate the business of the shared resources associated with the API that needs to be occupied based on the resource scheduler information and customer information. The resource order includes the API that needs to be occupied, the resource scheduler information, and the customer information.
[0051] The resource order is determined based on the business requirements of the resource dispatcher's customers and the resource information set. Specifically, when the resource dispatcher receives the business requirements, it checks the resource information set, determines the shared resources that match the customer's installation address, and uses the API of the shared resources that matches the customer's installation address as the API that needs to be occupied; the resource order is determined based on the API that needs to be occupied, the resource dispatcher information and the customer information.
[0052] The resource dispatcher obtains the customer installation address where the customer installs the broadband service according to the business needs. The resource dispatcher searches the resource information set to find out whether there are available shared resources (shared resources that match the customer installation address) near the customer installation address. If there are shared resources that match the customer installation address, the API of the shared resource that matches the customer installation address is used as the API that needs to be occupied. The resource dispatcher creates a resource order based on the API that needs to be occupied, the resource dispatcher information and the customer information, and sends the resource order to the order process unit of the resource provider. The order process unit identifies the resource dispatcher information and the customer information in the resource order. The order process unit matches the corresponding service activation request based on the resource dispatcher information and the customer information, and sends the service activation request to the service activation unit of the resource provider. After receiving the service activation request, the service activation unit parses the API that needs to be occupied, the resource dispatcher information and the customer information in the service activation request. The service activation unit opens the service between the API that needs to be occupied and the corresponding customer based on the API that needs to be occupied, the resource dispatcher information and the customer information.
[0053] The service activation method for resources provided in the embodiment of the present invention realizes sharing of shared resources for all resource dispatchers through shared state attributes and APIs, which is conducive to improving the efficiency of using shared resources. The resource order is determined by the API that needs to be occupied, the resource dispatcher information and the customer information, and the service association relationship between the API that needs to be occupied and the corresponding customer is established, which is conducive to improving the accuracy of activating the service of shared resources. The present invention realizes resource sharing through a shared resource information set, realizes service activation through the API that needs to be occupied, the resource dispatcher information and the customer information, simplifies the service activation process of shared resources, and improves the efficiency of using shared resources.
[0054] The resource service provisioning device provided by the present invention is described below. The resource service provisioning device described below and the resource service provisioning method described above can be referenced to each other.
[0055] like Figure 4 As shown, a resource service provisioning device includes: a sharing module 401, which is used to share a resource information set of at least one shared resource with multiple resource schedulers, and the resource information set includes a state attribute of each shared resource and an application programming interface API of each shared resource.
[0056] The receiving module 402 is used to receive a resource order sent by a resource dispatcher. The resource order is determined based on the business requirements and resource information set of the client of the resource dispatcher. The resource order includes the API to be occupied, the resource dispatcher information and the client information.
[0057] The service activation module 403 is used to activate the service of the shared resources associated with the API that needs to be occupied based on the resource scheduler information and the customer information.
[0058] The service activation device for resources provided in the embodiment of the present invention realizes sharing of shared resources for all resource dispatchers through shared state attributes and APIs, which is conducive to improving the efficiency of using shared resources. The resource order is determined by the API that needs to be occupied, the resource dispatcher information and the customer information, and the service association relationship between the API that needs to be occupied and the corresponding customer is established, which is conducive to improving the accuracy of activating the service of shared resources. The present invention realizes resource sharing through a shared resource information set, realizes service activation through the API that needs to be occupied, the resource dispatcher information and the customer information, simplifies the service activation process of shared resources, and improves the efficiency of using shared resources.
[0059] In one embodiment, the service activation module 403 is further used to: receive a resource pre-occupancy request sent by a resource scheduler, the resource pre-occupancy request including an API to be occupied; set the state attribute of the shared resource associated with the API to be occupied to an occupied state, and cancel the sharing of the shared resource associated with the API to be occupied.
[0060] In one embodiment, the resource scheduler information includes a service profile, a service virtual LAN and a resource scheduler number. The service profile is used to characterize the type of service provided by the resource scheduler to the customer. The service virtual LAN is used to represent the network address of the resource scheduler. The service activation module 403 is used to: create an activation instruction based on the service profile, the service virtual LAN, the resource scheduler number and the customer information; create a usage relationship between the shared resources associated with the API that needs to be occupied and the customer based on the activation instruction to activate the service of the shared resources associated with the API that needs to be occupied.
[0061] In one embodiment, the sharing module 401 is used to upload the resource information set to the resource management unit, set the state attribute of all shared resources to an idle state, and set the viewing permission of all shared resources to be visible to all resource providers.
[0062] like Figure 5 As shown, a resource service provisioning device includes: an acquisition module 501, which is used to acquire a resource information set of at least one shared resource shared by a resource provider, wherein the resource information set includes idle state information of each shared resource and an application programming interface API of each shared resource.
[0063] The sending module 502 is used to determine the resource order based on the business needs of the resource scheduler's customers and the resource information set, and send the resource order to the resource provider so that the resource provider can activate the business of the shared resources associated with the API that needs to be occupied based on the resource scheduler information and customer information. The resource order includes the API that needs to be occupied, the resource scheduler information and the customer information.
[0064] The service activation device for resources provided in the embodiment of the present invention realizes sharing of shared resources for all resource dispatchers through shared state attributes and APIs, which is conducive to improving the efficiency of using shared resources. The resource order is determined by the API that needs to be occupied, the resource dispatcher information and the customer information, and the service association relationship between the API that needs to be occupied and the corresponding customer is established, which is conducive to improving the accuracy of activating the service of shared resources. The present invention realizes resource sharing through a shared resource information set, realizes service activation through the API that needs to be occupied, the resource dispatcher information and the customer information, simplifies the service activation process of shared resources, and improves the efficiency of using shared resources.
[0065] In one embodiment, the sending module 502 is used to: when the resource scheduler receives a business demand, check the resource information set, determine the shared resources that match the customer installation address, and use the API of the shared resources that matches the customer installation address as the API that needs to be occupied; determine the resource order based on the API that needs to be occupied, the resource scheduler information and the customer information.
[0066] Figure 6 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 6 As shown, the electronic device may include: a processor 610, a communication interface 620, a memory 630 and a communication bus 640, wherein the processor 610, the communication interface 620 and the memory 630 communicate with each other through the communication bus 640. The processor 610 may call the logic instructions in the memory 630 to execute a resource service activation method, the method comprising: sharing a resource information set of at least one shared resource to multiple resource schedulers, the resource information set comprising the state attribute of each shared resource and the application programming interface API of each shared resource; receiving a resource order sent by a resource scheduler, the resource order being determined based on the service requirements and resource information set of the customer of the resource scheduler, the resource order comprising the API to be occupied, the resource scheduler information and the customer information; activating the service of the shared resource associated with the API to be occupied based on the resource scheduler information and the customer information.
[0067] Alternatively, a method for executing service activation of resources comprises: obtaining a resource information set of at least one shared resource shared by a resource provider, the resource information set comprising idle status information of each shared resource and an application programming interface API of each shared resource; determining a resource order based on the service requirements of a customer of a resource scheduler and the resource information set, and sending the resource order to the resource provider, so that the resource provider can activate the service of the shared resource associated with the API that needs to be occupied based on the resource scheduler information and the customer information, the resource order comprising the API that needs to be occupied, the resource scheduler information and the customer information.
[0068] In addition, the logic instructions in the above-mentioned memory 630 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0069] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the resource service activation method provided by the above-mentioned methods, the method including: sharing a resource information set of at least one shared resource with multiple resource schedulers, the resource information set including the status attributes of each shared resource and the application programming interface API of each shared resource; receiving a resource order sent by the resource scheduler, the resource order is determined based on the business needs of the resource scheduler's customers and the resource information set, the resource order including the API to be occupied, the resource scheduler information and the customer information; activating the business of the shared resource associated with the API to be occupied based on the resource scheduler information and the customer information.
[0070] Alternatively, a computer can execute a method for activating services for resources provided by the above methods, the method comprising: obtaining a resource information set of at least one shared resource shared by a resource provider, the resource information set comprising idle status information of each shared resource and an application programming interface API of each shared resource; determining a resource order based on the service requirements of a resource scheduler's customer and the resource information set, and sending the resource order to the resource provider, so that the resource provider can activate services of shared resources associated with the API that need to be occupied based on the resource scheduler information and customer information, the resource order comprising the API that needs to be occupied, the resource scheduler information and the customer information.
[0071] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the service activation method for resources provided by the above-mentioned methods, the method comprising: sharing a resource information set of at least one shared resource with multiple resource schedulers, the resource information set comprising status attributes of each shared resource and an application programming interface API of each shared resource; receiving a resource order sent by the resource scheduler, the resource order being determined based on the service requirements and resource information set of the resource scheduler's customers, the resource order comprising the API to be occupied, the resource scheduler information and the customer information; and activating the service of the shared resource associated with the API to be occupied based on the resource scheduler information and the customer information.
[0072] Alternatively, when the computer program is executed by a processor, it is implemented to execute the service activation method of the resources provided by the above methods, the method comprising: obtaining a resource information set of at least one shared resource shared by a resource provider, the resource information set comprising idle state information of each shared resource and an application programming interface API of each shared resource; determining a resource order based on the service requirements of the resource scheduler's customers and the resource information set, and sending the resource order to the resource provider, so that the resource provider can activate the service of the shared resources associated with the API that needs to be occupied based on the resource scheduler information and the customer information, the resource order comprising the API that needs to be occupied, the resource scheduler information and the customer information.
[0073] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0074] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0075] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for opening a resource service, characterized in that: Applicable to resource providers, including: Sharing a resource information set of at least one shared resource to multiple resource schedulers, wherein the resource information set includes a state attribute of each shared resource and an application programming interface API of each shared resource; Receiving a resource order sent by the resource dispatcher, wherein the resource order is determined based on the business needs of the client of the resource dispatcher and the resource information set, and the resource order includes the API to be occupied, the resource dispatcher information and the client information; The service of the shared resource associated with the API that needs to be occupied is activated based on the resource scheduler information and the customer information.
2. The resource service provisioning method according to claim 1, characterized in that: After activating the service of the shared resource associated with the API that needs to be occupied based on the resource scheduler information and the customer information, the method further includes: Receiving a resource pre-occupancy request sent by the resource scheduler, wherein the resource pre-occupancy request includes the API to be occupied; The state attribute of the shared resource associated with the API that needs to be occupied is set to an occupied state, and the shared resource associated with the API that needs to be occupied is cancelled.
3. The resource service provisioning method according to claim 1, characterized in that: The resource dispatcher information includes a service profile, a service virtual local area network and a resource dispatcher number, wherein the service profile is used to characterize the type of service provided by the resource dispatcher to the customer, and the service virtual local area network is used to represent the network address of the resource dispatcher. The service of activating the shared resource associated with the API that needs to be occupied based on the resource dispatcher information and the customer information includes: Creating an activation instruction based on the service configuration file, the service virtual local area network, the resource scheduler number and the customer information; A usage relationship between the shared resource associated with the API that needs to be occupied and the client is created based on the activation instruction to activate the service of the shared resource associated with the API that needs to be occupied.
4. The resource service provisioning method according to claim 1, characterized in that: The step of sharing the resource information set of at least one shared resource with multiple resource schedulers includes: The resource information set is uploaded to a resource management unit, the state attributes of all the shared resources are set to an idle state, and the viewing permissions of all the shared resources are set to be visible to all the resource providers.
5. A resource service activation method, applied to resource scheduling, characterized in that: include: Acquire a resource information set of at least one shared resource shared by a resource provider, wherein the resource information set includes idle state information of each shared resource and an application programming interface API of each shared resource; A resource order is determined based on the business needs of the resource scheduler's customers and the resource information set, and the resource order is sent to the resource provider so that the resource provider can activate the business of the shared resources associated with the API that needs to be occupied based on the resource scheduler information and the customer information. The resource order includes the API that needs to be occupied, the resource scheduler information and the customer information.
6. The resource service provisioning method according to claim 4, characterized in that: The determining of the resource order based on the business requirements of the client of the resource scheduler and the resource information set includes: When the resource dispatcher receives the business demand, it checks the resource information set, determines the shared resource matching the customer installation address, and uses the API of the shared resource matching the customer installation address as the API to be occupied; The resource order is determined based on the API that needs to be occupied, the resource scheduler information and the customer information.
7. A resource service provisioning device, characterized in that: include: Sharing module, receiving module and service activation module, including: The sharing module is used to share a resource information set of at least one shared resource with multiple resource schedulers, wherein the resource information set includes a state attribute of each shared resource and an application programming interface API of each shared resource; The receiving module is used to receive a resource order sent by the resource dispatcher, wherein the resource order is determined based on the business needs of the client of the resource dispatcher and the resource information set, and the resource order includes the API to be occupied, the resource dispatcher information and the client information; The service activation module is used to activate the service of the shared resources associated with the API that needs to be occupied based on the resource scheduler information and the customer information; Alternatively, the resource service provisioning device includes an acquisition module and a sending module, wherein: The acquisition module is used to acquire a resource information set of at least one shared resource shared by a resource provider, wherein the resource information set includes idle state information of each shared resource and an application programming interface API of each shared resource; The sending module is used to determine a resource order based on the business needs of the resource scheduler's customers and the resource information set, and send the resource order to the resource provider so that the resource provider can activate the business of the shared resources associated with the API that needs to be occupied based on the resource scheduler information and the customer information. The resource order includes the API that needs to be occupied, the resource scheduler information and the customer information.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the method for providing service for a resource as claimed in any one of claims 1 to 4 is implemented, or, When the processor executes the computer program, the service provisioning method for resources as claimed in any one of claims 5 to 6 is implemented.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for providing service for a resource as claimed in any one of claims 1 to 4 is implemented, or, When the computer program is executed by a processor, the service provisioning method for resources as claimed in any one of claims 5 to 6 is implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method for providing service for a resource as claimed in any one of claims 1 to 4 is implemented, or, When the computer program is executed by a processor, the service provisioning method for resources as claimed in any one of claims 5 to 6 is implemented.
Citation Information
Patent Citations
Resource scheduling method, device and system
CN112866321A
Resource configuration method and device, electronic equipment and storage medium
CN117971499A
Shared storage service implementation method of cloud platform, program product, equipment and medium
CN118250294A
Client-allocatable bandwidth pools
US9032077B1
