Business opening method and device of resource, electronic equipment, storage medium and program product
By sharing resource information sets and APIs, the system can associate resource schedulers with customer information, activate shared resource services, solve the problem of low resource utilization efficiency, and improve the efficiency of resource sharing and the accuracy of service activation.
Patent Information
- Application Number
- CN202411084227.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-08
- Publication Date
- 2025-11-18
- Estimated Expiration
- 2044-08-08
AI Technical Summary
Existing technologies are inefficient in resource utilization, making it difficult for infrastructure providers and broadband service providers to quickly monetize and grow their customer base.
By sharing resource information sets and application programming interfaces (APIs), the association between resource schedulers and customer information can be realized, activating shared resource services, simplifying the service activation process, and improving resource sharing efficiency.
It improved the efficiency of shared resource utilization and the accuracy of business activation, and simplified the business activation process for resource sharing.
Smart Images

Figure CN119254716B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of communication, in particular to a resource service opening method and device, electronic equipment, storage medium and program product. BACKGROUND
[0002] With the rapid development of the communication market, new infrastructure providers and broadband service providers are constantly emerging in the market.
[0003] After the network construction of the infrastructure provider, the problem of how to quickly realize the resources is faced; on the other hand, the broadband service provider also faces the problem of lack of resources and inability to quickly develop customers. The existing resource service opening is completed by the resource provider alone, and the resource utilization efficiency is low. SUMMARY
[0004] The present application provides a resource service opening method and device, electronic equipment, storage medium and program product, to solve the defect of low resource utilization efficiency in the prior art, and to improve the efficiency of resource sharing.
[0005] In a first aspect, the present application provides a resource service opening method applied to a resource provider, comprising: sharing at least one resource information set of shared resources to a plurality of resource schedulers, the resource information set comprising 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 scheduler, the resource order being determined based on a business demand of a customer of the resource scheduler and the resource information set, the resource order comprising a required API, resource scheduler information and customer information; and activating a business of a shared resource associated with the required API based on the resource scheduler information and the customer information.
[0006] According to the resource service opening method provided by the present application, after activating the business of the shared resource associated with the required API based on the resource scheduler information and the customer information, the resource service opening method further comprises: receiving a resource pre-occupation request sent by the resource scheduler, the resource pre-occupation request comprising the required API; setting the state attribute of the shared resource associated with the required API to an occupied state, and canceling the shared shared resource associated with the required API.
[0007] According to the method for opening a service of a resource provided by the application, the resource scheduling party information includes a service profile, a service virtual local area network and a resource scheduling party number, the service profile is used to represent a service type provided by the resource scheduling party for a customer, the service virtual local area network is used to represent a network address of the resource scheduling party, and a service of a shared resource associated with an API to be occupied is activated based on the resource scheduling party information and customer information, including: creating an activation instruction based on the service profile, the service virtual local area network, the resource scheduling party number and the customer information; and creating a use relationship between the shared resource associated with the API to be occupied and the customer based on the activation instruction, so as to activate the service of the shared resource associated with the API to be occupied.
[0008] According to the method for opening a service of a resource provided by the application, a resource information set of at least one shared resource is shared with multiple resource scheduling parties, including: uploading the resource information set to a resource management unit, setting a state attribute of all shared resources to an idle state, and setting a viewing permission of all shared resources to visible to all resource providers.
[0009] In a second aspect, the application provides a method for opening a service of a resource, applied to a resource scheduling party, including: obtaining a resource information set of at least one shared resource shared by a resource provider, the resource information set including idle state information of each shared resource and an application programming interface (API) of each shared resource; determining a resource order based on a service demand of a customer of the resource scheduling party and the resource information set, and sending the resource order to the resource provider, so that the resource provider activates a service of a shared resource associated with an API to be occupied based on resource scheduling party information and customer information, the resource order including the API to be occupied, the resource scheduling party information and the customer information.
[0010] According to the method for opening a service of a resource provided by the application, a resource order is determined based on a service demand of a customer of a resource scheduling party and a resource information set, including: when the resource scheduling party receives the service demand, viewing the resource information set, determining a shared resource matched with an installation address of the customer, and taking an API of the shared resource matched with the installation address of the customer as the API to be occupied; and determining the resource order based on the API to be occupied, the resource scheduling party information and the customer information.
[0011] In a third aspect, the present application provides a service opening device of a resource, comprising a sharing module, a receiving module and a service activation module, wherein: the sharing module is configured to share resource information sets of at least one shared resource to a plurality of resource schedulers, the resource information set comprising state attributes of each shared resource and application programming interfaces (APIs) of each shared resource; the receiving module is configured to receive a resource order sent by a resource scheduler, the resource order being determined based on service requirements of a customer of the resource scheduler and the resource information set, the resource order comprising APIs to be occupied, resource scheduler information and customer information; and the service activation module is configured to activate services of shared resources associated with the APIs to be occupied based on the resource scheduler information and the customer information.
[0012] In a fourth aspect, the present application provides a service opening device of a resource, comprising an obtaining module and a sending module, wherein: the obtaining module is configured to obtain resource information sets of at least one shared resource shared by a resource provider, the resource information set comprising idle state information of each shared resource and APIs of each shared resource; and the sending module is configured to determine a resource order based on service requirements of a customer of a resource scheduler and the resource information set, and send the resource order to the resource provider, so that the resource provider activates services of shared resources associated with APIs to be occupied based on resource scheduler information and customer information, the resource order comprising APIs to be occupied, resource scheduler information and customer information.
[0013] In a fifth aspect, the present application further provides an electronic device, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements any of the above-mentioned service opening methods of a resource when executing the computer program.
[0014] In a sixth aspect, the present application further provides a non-transitory computer readable storage medium having a computer program stored thereon, wherein the computer program is executable on a processor to implement any of the above-mentioned service opening methods of a resource.
[0015] In a seventh aspect, the present application further provides a computer program product comprising a computer program, wherein the computer program is executable on a processor to implement any of the above-mentioned service opening methods of a resource.
[0016] The method, device, electronic equipment, storage medium and program product for opening a service of a resource provided by the application realize sharing of shared resources by all resource schedulers through a shared state attribute and an API, which is beneficial to improving the use efficiency of the shared resources. The resource order is determined through the API to be occupied, resource scheduler information and customer information, the business association relationship between the API to be occupied and the corresponding customer is constructed, and this is beneficial to improving the accuracy of activating the service of the shared resource. The application realizes resource sharing through a shared resource information set, and realizes service activation through the API to be occupied, resource scheduler information and customer information, which simplifies the service opening process of the shared resource and improves the use efficiency of the shared resource. BRIEF DESCRIPTION OF DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or the prior art description. Obviously, the drawings in the following description are some embodiments of the application, and other drawings can be obtained by those skilled in the art without creative labor.
[0018] Figure 1 is one of the flowcharts of the method for opening a service of a resource provided by the application.
[0019] Figure 2 is the second flowchart of the method for opening a service of a resource provided by the application.
[0020] Figure 3 is the third flowchart of the method for opening a service of a resource provided by the application.
[0021] Figure 4 is one of the structural diagrams of the device for opening a service of a resource provided by the application.
[0022] Figure 5 is the second structural diagram of the device for opening a service of a resource provided by the application.
[0023] Figure 6 is the structural diagram of the electronic equipment provided by the application. DETAILED DESCRIPTION
[0024] In order to make the objects, technical solutions and advantages of the application clearer, the following will combine the drawings in the application to clearly and completely describe the technical solutions in the application. Obviously, the described embodiments are some of the embodiments of the application, not all the embodiments. Based on the embodiments in the application, all other embodiments obtained by those skilled in the art without creative labor are within the protection scope of the application.
[0025] The following will be combined withFigures 1-6 The application discloses a service opening method, device and electronic equipment of resources.
[0026] Figure 1 is one of the flowcharts of the service opening method of resources provided by the application, as Figure 1 shown, the service opening method of resources is applied to a resource provider, and includes steps S100 to S300, and each step is specifically as follows.
[0027] S100: sharing resource information sets of at least one shared resource to a plurality of resource schedulers, the resource information sets including state attributes of each shared resource and application programming interfaces (APIs) of each shared resource.
[0028] The resource information sets of the at least one shared resource are shared to the plurality of resource schedulers, specifically, the resource information sets are uploaded to a resource management unit, state attributes of all shared resources are set to an idle state, and viewing permissions of all shared resources are set to visible to all resource providers.
[0029] As Figure 2 shown, the resource provider of the application includes an infrastructure provider, for example, an operator, a power company or a company specially providing network resources. The resource scheduler includes a broadband service provider (a partner of the infrastructure provider), and the resource scheduler is multiple, for example, resource scheduler 1,..., resource scheduler n. The resource management unit is arranged in the resource provider, and is used for managing all shared resources. The shared resources include optical distribution network (ODN) resources. An application programming interface (API) of the shared resource is used for identifying the shared resource, so as to facilitate preoccupying the shared resource. The API of the shared resource can be preoccupied by preoccupying the API of the shared resource. The resource provider includes a resource management unit, an order process unit and a service activation unit. The resource management module is used for managing the shared resources, the order process unit is used for processing resource orders, and the service activation unit is used for processing service activation requests.
[0030] The resource provider imports resource information sets of all ODN resources to be shared in the resource management unit. Meanwhile, the resource provider sets viewing permissions (home attribute) of the resource information sets of all ODN resources to visible to all partners, and sets state attributes of the ODN resources to an idle state. The resource management unit provides shared resource availability check and shared resource preoccupying services to all partners.
[0031] The application realizes the availability identification of the shared resource by setting the state attribute of the shared resource as the idle state, realizes the sharing of the shared resource to the resource scheduling party by setting the viewing permission as visible to all resource providers, and realizes the unified management of all shared resources by the resource management unit, thereby improving the management efficiency of the shared resource.
[0032] S200: receiving a resource order sent by the resource scheduling party, the resource order being determined based on the service demand of the customer of the resource scheduling party and the resource information set, and the resource order including the API to be occupied, the resource scheduling party information and the customer information.
[0033] When the resource scheduling party receives the service demand of the customer for installing the broadband service, the resource scheduling party calls the API provided by the resource management unit to query whether there is a shared resource matching the service demand. The resource management unit performs the API query according to the requirement of the resource scheduling party, and feeds back the query result to the resource scheduling party. The resource scheduling party sets the API matching the service demand as the API to be occupied. The resource scheduling party determines the resource order according to the API to be occupied, the resource scheduling party information and the customer information, and sends the resource order to the order flow unit of the resource provider. The order flow unit identifies the resource scheduling party information and the customer information in the resource order, matches the corresponding service activation request, and sends the service activation request to the service activation unit of the resource provider. The service activation unit is used to activate the service flow between the API to be occupied and the corresponding customer.
[0034] S300: activating the service of the shared resource associated with the API to be occupied based on the resource scheduling party information and the customer information.
[0035] After the service activation unit receives the service activation request, the API to be occupied, the resource scheduling party information and the customer information in the service activation request are parsed. The service activation unit opens the service between the API to be occupied and the corresponding customer according to the API to be occupied, the resource scheduling party information and the customer information.
[0036] The method for opening the service of the resource provided by the embodiment of the application realizes the sharing of the shared resource to all resource scheduling parties through the shared state attribute and the API, thereby improving the use efficiency of the shared resource. The resource order is determined through the API to be occupied, the resource scheduling party information and the customer information, thereby constructing the service association relationship between the API to be occupied and the corresponding customer, and improving the accuracy of activating the service of the shared resource. The application realizes the resource sharing through the shared resource information set, and realizes the service activation through the API to be occupied, the resource scheduling party information and the customer information, thereby simplifying the service opening process of the shared resource and improving the use efficiency of the shared resource.
[0037] Based on the above embodiment, after the service of the shared resource associated with the API to be occupied is activated based on the resource dispatcher information and the customer information, the method for opening the service of the resource further comprises steps S400 and S500, which are specifically as follows.
[0038] S400: receiving the resource pre-occupancy request sent by the resource dispatcher, the resource pre-occupancy request comprising the 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 resource associated with the API to be occupied is activated, the resource dispatcher creates a resource pre-occupancy request according to the API to be occupied. The resource dispatcher sends the resource pre-occupancy request to the resource management unit. The resource management unit sets the state attribute of the shared resource associated with the API to be occupied to an occupied state according to the resource pre-occupancy request. The resource management unit sets the viewing permission of the shared resource associated with the API to be occupied to invisible to other resource dispatchers, so as to cancel the sharing of the shared resource associated with the API to be occupied and avoid resource conflicts.
[0041] The application modifies the occupied state and the sharing state of the API to be occupied through the resource pre-occupancy request, timely avoids the use conflicts of the shared resource, and is beneficial to improving the use efficiency of the shared resource.
[0042] Based on the above embodiment, the resource dispatcher information comprises a service configuration file, a service virtual local area network and a resource dispatcher number, the service configuration file is used to represent the service type provided by the resource dispatcher for the customer, and the service virtual local area network is used to represent the network address of the resource dispatcher. Based on the resource dispatcher information and the customer information, the service of the shared resource associated with the API to be occupied is activated, which comprises steps S310 to S320, which are specifically as follows.
[0043] S310: creating an activation instruction based on the service configuration file, the service virtual local area network, the resource dispatcher number and the customer information.
[0044] S320: creating a use relationship between the shared resource associated with the API to be occupied and the customer based on the activation instruction, so as to activate the service of the shared resource associated with the API to be occupied.
[0045] The resource scheduling party number (Client Code) is used to identify the resource scheduling party. The service profile (ServiceProfile) is used to identify the type of service provided by the resource scheduling party for the client. The service virtual local area network (Service VLAN) is used to identify the network address of the resource scheduling party. The service activation unit receives the service activation request sent by the order flow unit, and creates an activation instruction according to the service profile, the service virtual local area network, the resource scheduling party number and the client 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 constructs the use relationship and the use flow between the shared resources and the client according to the activation instruction, and then activates the service of the shared resources associated with the API to be occupied. The service profile, the service virtual local area network, the resource scheduling party number and the client information are used to lock the client and the specific service corresponding to the client.
[0046] According to the service profile, the service virtual local area network, the resource scheduling party number and the client information, the application creates the use relationship between the shared resources associated with the API to be occupied and the client, thereby improving the efficiency and accuracy of activating the shared resources.
[0047] As shown in Figure 3 The application provides a resource service opening method applied to a resource scheduling party, which comprises steps S600 to S700, and each step is specifically as follows.
[0048] S600: Obtain a resource information set of at least one shared resource shared by a resource provider, and the resource information set comprises idle state information of each shared resource and an application programming interface (API) of each shared resource.
[0049] When the resource scheduling party receives a service demand of a client for installing a broadband, the resource scheduling party calls the resource management unit to query the resource information set of all shared resources.
[0050] S700: Determine a resource order based on the service demand of the client of the resource scheduling party and the resource information set, and send the resource order to the resource provider, so that the resource provider activates the service of the shared resources associated with the API to be occupied based on the resource scheduling party information and the client information. The resource order comprises the API to be occupied, the resource scheduling party information and the client information.
[0051] The resource order is determined based on the service demand of the client of the resource scheduling party and the resource information set. Specifically, when the resource scheduling party receives the service demand, the resource scheduling party checks the resource information set, determines the shared resource matched with the installation address of the client, takes the API of the shared resource matched with the installation address of the client as the API to be occupied, and determines the resource order based on the API to be occupied, the resource scheduling party information and the client information.
[0052] The resource scheduler obtains the customer's installation address for broadband service based on business needs. The resource scheduler searches the resource information set for available shared resources (shared resources matching the customer's installation address) near the customer's installation address. If a shared resource matching the customer's installation address exists, its API is designated as the API to be used. The resource scheduler creates a resource order based on the required API, its own information, and the customer's information, and sends the order to the resource provider's order process unit. The order process unit identifies the resource scheduler and customer information in the resource order. It matches the corresponding service activation request with the resource scheduler and customer information and sends the request to the resource provider's service activation unit. Upon receiving the service activation request, the service activation unit parses the required API, resource scheduler information, and customer information. Finally, the service activation unit activates the service between the required API and the corresponding customer based on the required API, resource scheduler information, and customer information.
[0053] The resource service activation method provided in this invention enables the sharing of shared resources among all resource schedulers by sharing status attributes and APIs, which improves the efficiency of shared resource utilization. By determining resource orders through the required APIs, resource scheduler information, and customer information, a business association relationship is established between the required APIs and corresponding customers, which helps improve the accuracy of activating shared resource services. This invention achieves resource sharing through a shared resource information set and realizes service activation through the required APIs, resource scheduler information, and customer information, simplifying the shared resource service activation process and improving the efficiency of shared resource utilization.
[0054] The service activation device for resources provided by the present invention is described below. The service activation device for resources described below can be referred to in correspondence with the service activation method for resources described above.
[0055] like Figure 4 As shown, a service activation device for a resource includes: a sharing module 401, used to share 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.
[0056] The receiving module 402 is used to receive resource orders 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 includes the API to be occupied, the resource scheduler information, and the customer information.
[0057] The business activation module 403 is used to activate the shared resources associated with the API that need to be occupied based on the resource scheduler information and customer information.
[0058] The resource service activation device provided in this invention enables the sharing of shared resources among all resource schedulers by sharing status attributes and APIs, which helps improve the efficiency of shared resource utilization. By determining resource orders through the required APIs, resource scheduler information, and customer information, a business association relationship is established between the required APIs and corresponding customers, which helps improve the accuracy of activating shared resource services. This invention achieves resource sharing through a shared resource information set and realizes service activation through the required APIs, resource scheduler information, and customer information, simplifying the shared resource service activation process and improving the efficiency of shared resource utilization.
[0059] In one embodiment, the service activation module 403 is further configured to: receive a resource pre-occupancy request sent by the resource scheduler, the resource pre-occupancy request including the API that needs to be occupied; set the status attribute of the shared resource associated with the API that needs to be occupied to the occupied status; and cancel the sharing of the shared resource associated with the API that needs to be occupied.
[0060] In one embodiment, 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 type of service provided by the resource scheduler to the customer, and 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 configuration file, service virtual LAN, resource scheduler number, and customer information; and 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, so as 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 status attributes of all shared resources to idle status, and set the viewing permissions of all shared resources to be visible to all resource providers.
[0062] like Figure 5 As shown, a service activation device for a resource includes: an acquisition module 501, 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 application programming interface (API) of each shared resource.
[0063] The sending module 502 is configured to determine a resource order based on the service demand of the customer of the resource dispatcher and the resource information set, and send the resource order to the resource provider, so that the resource provider activates the service of the shared resource associated with the API to be occupied based on the resource dispatcher information and the customer information, wherein the resource order comprises the API to be occupied, the resource dispatcher information and the customer information.
[0064] The service opening device for resources provided by the embodiment of the application realizes the sharing of the shared resources by all resource dispatchers through the shared state attribute and the API, which is beneficial to improving the use efficiency of the shared resources. The service association relationship between the API to be occupied and the corresponding customer is constructed by determining the resource order based on the API to be occupied, the resource dispatcher information and the customer information, which is beneficial to improving the accuracy of activating the service of the shared resource. The resource sharing is realized by the shared resource information set, and the service activation is realized by the API to be occupied, the resource dispatcher information and the customer information, so that the service opening process of the shared resource is simplified, and the use efficiency of the shared resource is improved.
[0065] In one embodiment, the sending module 502 is configured to: when the resource dispatcher receives the service demand, check the resource information set, determine the shared resource matched with the customer installation address, and take the API of the shared resource matched with the customer installation address as the API to be occupied; and determine the resource order based on the API to be occupied, the resource dispatcher information and the customer information.
[0066] Figure 6 An example of an entity structure diagram of an electronic device is shown in Figure 6 As shown in the figure, the electronic device can include a processor 610, a communications interface 620, a memory 630 and a communications bus 640, wherein the processor 610, the communications interface 620 and the memory 630 complete mutual communication through the communications bus 640. The processor 610 can invoke the logical instructions in the memory 630 to execute the service opening method for resources, which comprises: sharing the resource information set of at least one shared resource to multiple resource dispatchers, wherein the resource information set comprises the state attribute of each shared resource and the application programming interface (API) of each shared resource; receiving the resource order sent by the resource dispatcher, wherein the resource order is determined based on the service demand of the customer of the resource dispatcher and the resource information set, and the resource order comprises the API to be occupied, the resource dispatcher information and the customer information; and activating the service of the shared resource associated with the API to be occupied based on the resource dispatcher information and the customer information.
[0067] Alternatively, a service opening method of an execution resource is performed, and the method includes: obtaining a resource information set of at least one shared resource shared by a resource provider, the resource information set including idle state information of each shared resource and an application programming interface (API) of each shared resource; determining a resource order based on 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 activates a service of a shared resource associated with the API based on resource scheduler information and customer information, the resource order including the API, the resource scheduler information and the customer information.
[0068] In addition, the logic instructions in the memory 630 described above can be implemented in the form of a software functional unit and sold or used as an independent product, and can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application essentially or the part that contributes to the prior art or part of the technical solutions can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a plurality of instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various media that can store program codes.
[0069] On the other hand, the present application also provides a computer program product, the computer program product 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 service opening method of the resource provided by the above-mentioned method, the method includes: sharing a resource information set of at least one shared resource to a plurality of resource schedulers, the resource information set includes state attributes 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 service requirements of a customer of a resource scheduler and the resource information set, the resource order includes an API to be occupied, resource scheduler information and customer information; activating a service of a shared resource associated with the API based on the resource scheduler information and the customer information.
[0070] Alternatively, the computer can execute a service opening method of a resource provided by each method, and the method comprises: 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 a service demand of a customer of the resource dispatcher and the resource information set, and sending the resource order to the resource provider, so that the resource provider activates a service of the shared resource associated with the API to be occupied based on the resource dispatcher information and the customer information, the resource order comprising the API to be occupied, the resource dispatcher information and the customer information.
[0071] In another aspect, the application also provides a non-transitory computer readable storage medium having a computer program stored thereon, the computer program being executed by a processor to implement a service opening method of a resource provided by each method, the method comprising: sharing a resource information set of at least one shared resource to a plurality of resource dispatchers, the resource information set comprising state attributes of each shared resource and an application programming interface (API) of each shared resource; receiving a resource order sent by a resource dispatcher, the resource order being determined based on a service demand of a customer of the resource dispatcher and the resource information set, the resource order comprising an API to be occupied, resource dispatcher information and customer information; and activating a service of the shared resource associated with the API to be occupied based on the resource dispatcher information and the customer information.
[0072] Alternatively, the computer program is executed by a processor to implement a service opening method of a resource provided by each method, 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 a service demand of a customer of the resource dispatcher and the resource information set, and sending the resource order to the resource provider, so that the resource provider activates a service of the shared resource associated with the API to be occupied based on the resource dispatcher information and the customer information, the resource order comprising the API to be occupied, the resource dispatcher information and the customer information.
[0073] The device embodiments described above are only schematic, wherein the units illustrated as separate components can or can not be physically separate, and the components illustrated as units can or can not be physical units, i.e., can be located in one place, or can be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the embodiment. Those skilled in the art can understand and implement without creative labor.
[0074] Those skilled in the art can clearly understand the technical solutions of the various embodiments from the above description of the embodiments, and the various embodiments can be implemented by means of software with the necessary general hardware platforms, and of course, can also be implemented by hardware. Based on such understanding, the above technical solutions, essentially or in other words, the part of the prior art that makes a contribution, can be embodied in the form of a software product, which can be stored in a computer readable storage medium, such as a ROM / RAM, a magnetic disk, an optical disk, and the like, and includes a number of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments 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 application, and not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: it can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement for some technical features therein; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for activating services for a resource, characterized in that, Applied to resource providers, including: The resource information set of at least one shared resource is shared 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; The system receives resource orders sent by the resource scheduler. These resource orders are determined based on the business needs of the resource scheduler's customers and the resource information set. The resource orders include the APIs that need to be used, resource scheduler information, and customer information. The service that activates the shared resources associated with the API required by the resource scheduler and the customer information.
2. The service activation method for resources according to claim 1, characterized in that, After activating 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: Receive a resource pre-allocation request sent by the resource scheduler, the resource pre-allocation request including the API that needs to be occupied; Set the status attribute of the shared resource associated with the API that needs to be occupied to the occupied state, and cancel sharing the shared resource associated with the API that needs to be occupied.
3. The service activation method for resources according to claim 1, characterized in that, The resource scheduler information includes a service configuration file, a service virtual LAN, and a resource scheduler ID. The service configuration file represents the type of service provided by the resource scheduler to the customer, and the service virtual LAN represents the network address of the resource scheduler. The service of activating the shared resources associated with the API required based on the resource scheduler information and the customer information includes: An activation command is created based on the service configuration file, service virtual LAN, resource scheduler number, and customer information. Based on the activation instruction, a usage relationship is created between the shared resource associated with the API that needs to be occupied and the customer, so as to activate the service of the shared resource associated with the API that needs to be occupied.
4. The service activation method for resources according to claim 1, characterized in that, The sharing of resource information sets of at least one shared resource with multiple resource schedulers includes: The resource information set is uploaded to the resource management unit, the status attribute of all the shared resources is set to idle, and the viewing permission of all the shared resources is set to be visible to all the resource providers.
5. A method for activating services for a resource, applied to a resource scheduler, characterized in that, include: Obtain 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 application programming interface (API) of each shared resource; Based on the business needs of the resource scheduler's customers and the resource information set, a resource order is determined and sent to the resource provider so that the resource provider can activate the shared resources associated with the API that need 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.
6. The service activation method for resources according to claim 5, characterized in that, The process of determining resource orders based on the business needs of the resource scheduler's customers and the resource information set includes: When the resource scheduler receives the business request, it checks the resource information set, determines the shared resource that matches the customer's installation address, and uses the API of the shared resource 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 used, the resource scheduler information, and the customer information.
7. A service activation device for a resource, characterized in that, include: The module consists of a sharing module, a receiving module, and a service activation module, among which: 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 status attributes of each shared resource and the application programming interface (API) of each shared resource. The receiving module is used to receive resource orders sent by the resource scheduler. The resource orders are determined based on the business needs of the resource scheduler's customers and the resource information set. The resource orders include the APIs that need to be used, resource scheduler information, and customer information. The service activation module is used to activate the shared resources associated with the API that need to be occupied based on the resource scheduler information and the customer information. Alternatively, the service activation device for the resource 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 the resource provider. The resource information set includes the idle status information of each shared resource and the 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 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, characterized in that, When the processor executes the computer program, it implements the service activation method for the resource as described in any one of claims 1 to 4, or... When the processor executes the computer program, it implements the service activation method for the resource as described in any one of claims 5 to 6.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the service activation method for the resource as described in any one of claims 1 to 4, or... When the computer program is executed by the processor, it implements the service activation method for the resource as described in any one of claims 5 to 6.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the service activation method for the resource as described in any one of claims 1 to 4, or... When the computer program is executed by the processor, it implements the service activation method for the resource as described in any one of claims 5 to 6.
Citation Information
Patent Citations
Resource scheduling method, device and system
CN112866321A
Shared storage service implementation method of cloud platform, program product, equipment and medium
CN118250294A