WO2019057055A1 - Task processing method and apparatus, electronic device, and storage medium - Google Patents

Task processing method and apparatus, electronic device, and storage medium Download PDF

Info

Publication number
WO2019057055A1
WO2019057055A1 PCT/CN2018/106413 CN2018106413W WO2019057055A1 WO 2019057055 A1 WO2019057055 A1 WO 2019057055A1 CN 2018106413 W CN2018106413 W CN 2018106413W WO 2019057055 A1 WO2019057055 A1 WO 2019057055A1
Authority
WO
WIPO (PCT)
Prior art keywords
task
parameter
message
cloud computing
computing platform
Prior art date
Application number
PCT/CN2018/106413
Other languages
French (fr)
Chinese (zh)
Inventor
张伟
Original Assignee
北京金山云网络技术有限公司
北京金山云科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京金山云网络技术有限公司, 北京金山云科技有限公司 filed Critical 北京金山云网络技术有限公司
Publication of WO2019057055A1 publication Critical patent/WO2019057055A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content

Definitions

  • the present application relates to the field of cloud computing technologies, and in particular, to a task processing method, apparatus, electronic device, and storage medium.
  • Hybrid cloud mainly refers to platform integration of private cloud and public cloud.
  • private cloud and public cloud By combining private cloud and public cloud by using dedicated technology, the entire hybrid cloud system has data and application portability, providing customers with on-demand, Multi-level resource expansion.
  • the private cloud clusters of enterprise customers are mostly located in self-built machine rooms or managed computer rooms, which are the main business of users. At the same time, enterprise customers retain enterprise accounts in public cloud vendors, and preserve various basic resources of public clouds as private cloud cluster resources. Supplement.
  • the scenarios that currently include hybrid cloud requirements are: First, the separation of development and test environments: testing in public clouds can reduce costs, deploying production environments in private clouds, with security and controllability; Disaster recovery considerations and improved availability: When using a load balancer to balance services, use both private and public clouds, or when one party fails, migrate the service to the peer; third, users want to use multiple vendors. I don't want to bind to a single vendor. Fourth, build a hybrid cloud to support the original system. If you have already used a public cloud, you need a new online private cloud environment.
  • OpenAPI Open Application Programming Interface
  • the hybrid cloud technology in the related art enables the client to display in different display interfaces by calling OpenAPI of various cloud platforms by creating a common platform.
  • OpenAPI of various cloud platforms since the OpenAPI of each cloud platform is different, the client needs to configure multiple interfaces to access various cloud platforms, and the configuration requirements for the client are high, and the related technologies are mixed.
  • the management of the cloud system is highly complex and there is a problem of low application efficiency.
  • the purpose of the embodiments of the present application is to provide a task processing method, device, electronic device, and storage medium, so as to improve management and usage efficiency of the hybrid cloud system.
  • the specific technical solutions are as follows:
  • the embodiment of the present application provides a task processing method, which is applied to a proxy layer component of a hybrid cloud system, where the method includes: receiving a first computing task message, where the first computing task message includes: The processed task, the first task parameter corresponding to the task, and the identification information of the first cloud computing platform corresponding to the task; determining the type of the task according to the first computing task message, when the type of the task is Converting the first task parameter to a second task parameter of a corresponding format recognizable by the first cloud computing platform, and transmitting the task and the second task parameter to the first
  • the cloud computing platform is configured to cause the first cloud computing platform to process the task according to the second task parameter.
  • the converting the first task parameter into the second task parameter of the corresponding format that is identifiable by the first cloud computing platform includes: parsing the first task parameter; The first task parameter is converted into a second task parameter of a corresponding format identifiable by the first cloud computing platform.
  • a task processing method in the embodiment of the present application further includes: when the type of the task is not a preset type, according to A preset database that processes the tasks.
  • a task processing method of the embodiment of the present application further includes: periodically updating the preset database by using a virtual private network.
  • the task processing method of the embodiment of the present application further includes: determining whether the first computing task message is a task message in a preset specification format; When the first computing task message is not a task message of a preset specification format, the first computing task message is converted into a task message of the preset specification format.
  • the embodiment of the present application provides a task processing apparatus, where the apparatus includes: a receiving module, configured to receive a first computing task message, where the first computing task message includes: a task to be processed, the The first task parameter corresponding to the task and the identification information of the first cloud computing platform corresponding to the task; the conversion module is configured to determine the type of the task according to the first computing task message, when the type of the task is pre When the type is set, the first task parameter is converted into a second task parameter of a corresponding format recognizable by the first cloud computing platform; and the sending module is configured to send the task and the second task parameter to The first cloud computing platform, so that the first cloud computing platform processes the task according to the second task parameter.
  • a receiving module configured to receive a first computing task message, where the first computing task message includes: a task to be processed, the The first task parameter corresponding to the task and the identification information of the first cloud computing platform corresponding to the task
  • the conversion module is configured to determine the type of the task according to the first computing task message, when the
  • the conversion module includes: a parsing sub-module, configured to parse the first task parameter; and the first conversion sub-module is configured to parse the first task parameter after parsing the parsing sub-module Converting to a second task parameter of a corresponding format recognizable by the first cloud computing platform.
  • the task processing apparatus of the embodiment of the present application further includes: a processing module, configured to: when the conversion module determines that the type of the task is not a preset type, according to a preset database, The task is processed.
  • the task processing apparatus of the embodiment of the present application further includes: an update module, configured to periodically update the preset database by using a virtual private network.
  • the task processing apparatus of the embodiment of the present application further includes: a determining module, configured to determine whether the first computing task message is a task message in a preset specification format; and a conversion module, configured to be When the determining module determines that the first computing task message is not a task message of a preset specification format, the determining the first computing task message into a task message of the preset specification format.
  • the embodiment of the present application provides a task processing system, where the system includes: a proxy layer component, a first cloud computing platform, and the proxy layer component is configured to receive a first computing task message, where the The first computing task message includes: a task to be processed, a first task parameter corresponding to the task, and identifier information of the first cloud computing platform corresponding to the task, and determining a type of the task according to the first computing task message Converting the first task parameter to a second task parameter of a corresponding format recognizable by the first cloud computing platform, when the type of the task is a preset type, and the task and the second task are And sending, to the first cloud computing platform, the first cloud computing platform, configured to receive the task and the second task parameter sent by the proxy layer component, and according to the second task parameter, The task is processed.
  • the proxy layer component is configured to parse the first task parameter, and convert the parsed first task parameter into a second task corresponding to the first cloud computing platform. parameter.
  • the proxy layer component is further configured to process the task according to a preset database when the type of the task is not a preset type.
  • the proxy layer component is further configured to periodically update the preset database by using a virtual private network.
  • the proxy layer component is further configured to determine whether the first computing task message is a task message in a preset specification format; when the first computing task message is not a task message in a preset specification format And converting the first computing task message into a task message of the preset specification format.
  • the first cloud computing platform is configured to process the task according to the second task parameter and a preset database.
  • An embodiment of the present application provides an electronic device including a processor and a machine readable storage medium storing machine executable instructions executable by the processor, the processor executing the The steps of the task processing method provided above are implemented when the machine executes the instructions.
  • the embodiment of the present application provides a computer readable storage medium, where the computer readable storage medium stores a computer program, and when the computer program is executed by the processor, implements the task processing method steps provided above.
  • the embodiment of the present application also provides a computer program product comprising instructions that, when run on a computer, cause the computer to perform the task processing method provided above.
  • the embodiment of the present application also provides a computer program that, when run on a computer, causes the computer to execute the task processing method provided above.
  • the task processing method, device, electronic device and storage medium provided by the embodiments of the present application are applied to a proxy layer component of a hybrid cloud system, and the proxy layer receives a first computing task message, where the first computing task message includes: to be processed The first task parameter corresponding to the task and the task, and the identification information of the first cloud computing platform corresponding to the task; the agent layer determines the type of the task according to the first computing task message, and when the type of the task is the preset type, the first computing task Converting the first task parameter in the message to a second task parameter of a corresponding format recognizable by the first cloud computing platform, so that the first cloud computing platform can identify; sending the task and the second task parameter to the first cloud computing platform, So that the first cloud computing platform processes the task according to the second task parameter.
  • the task parameters of the computing task are converted into task parameters that can be calculated on the corresponding cloud computing platform, so that the cloud computing platform passes the post-conversion processing task of the proxy layer, and the method provided by the embodiment of the present application.
  • Introducing the agent layer design, configuring an interface on the client to connect with multiple cloud computing platforms, and implementing tasks on different cloud computing platforms in the hybrid cloud system can improve the management and usage efficiency of the hybrid cloud system.
  • implementing any of the products or methods of the present application necessarily does not necessarily require all of the advantages described above to be achieved at the same time.
  • FIG. 1 is a schematic structural diagram of a hybrid cloud system according to an embodiment of the present application.
  • FIG. 2 is a flowchart of a task processing method according to an embodiment of the present application.
  • FIG. 3 is a flowchart of a task processing method according to another embodiment of the present application.
  • FIG. 4 is a flowchart of a task processing method according to another embodiment of the present application.
  • FIG. 5 is a flowchart of a task processing method according to still another embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a task processing apparatus according to an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of a task processing apparatus according to another embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of a task processing apparatus according to another embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of a task processing apparatus according to still another embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of a task processing system according to an embodiment of the present application.
  • FIG. 11 is a system architecture diagram of a task processing method according to an embodiment of the present application.
  • FIG. 12 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
  • the present invention provides a task processing method, device, electronic device, and storage medium.
  • the embodiment of the present application provides a task processing method, which can be applied to a proxy layer component of a hybrid cloud system, where the hybrid cloud system can include a private cloud computing platform, a public cloud computing platform, and a management private cloud computing platform and a public cloud.
  • the server of the computing platform, the agent layer component is located in the server.
  • the agent layer component is a functional module of the server that provides a unified standard interface for all cloud computing platforms in the hybrid cloud system.
  • FIG. 1 is a schematic structural diagram of a hybrid cloud system according to an embodiment of the present application, including a proxy layer component 110, a unit test module 120, a private cloud platform 130, a public cloud platform 140, and other cloud platforms 150.
  • the proxy layer component 110 is a module in the server.
  • the interfaces of the private cloud platform 130, the public cloud platform 140, and other cloud platforms 150 are all connected to the proxy layer component 110.
  • the unit test module 120 is configured to determine the underlying cloud platforms. Whether it is possible to access the proxy layer component 110, and the package condition can be accessed.
  • FIG. 2 is a flowchart of a task processing method according to an embodiment of the present application, including the following steps:
  • Step 101 Receive a first computing task message.
  • the proxy layer receives the first computing task message sent by the client, where the first computing task message includes: a task to be processed, a first task parameter corresponding to the task, and identifier information of the first cloud computing platform corresponding to the task.
  • the task to be processed is an operation task that can be performed on the cloud computing platform, and the task to be processed can be a query, a creation, an update, a deletion, and the like;
  • the first task parameter corresponding to the task to be processed is a specific task content, for example, when When the task to be processed is the query, the first task parameter corresponding to the task to be processed is the specific content of the query, which may be a query for the user account, querying the service data, etc., but is not limited thereto; when the task to be processed is updated
  • the first task parameter corresponding to the task to be processed may be the specific service content, the update address, and the like, but is not limited thereto; when the task to be processed is deleted, the first task parameter corresponding to the task to be processed may
  • the proxy layer can determine the specific operations that can be performed on the first cloud computing platform by using the first task parameter corresponding to the task to be processed and the task.
  • the first cloud computing platform corresponding to the task to be processed is selected by the user, that is, the agent layer receives.
  • the only cloud computing platform that handles tasks that is, the cloud computing platform that handles tasks.
  • Step 102 Determine a type of the task according to the first computing task message.
  • the type of the task is a preset type, convert the first task parameter into a second task parameter of a corresponding format recognizable by the first cloud computing platform.
  • the agent layer may determine the type of the task according to the task to be processed, or determine the type of the task according to the task to be processed and the first task parameter corresponding to the task to be processed.
  • the type is a preset type
  • the first task parameter included in the first computing task message is converted into a second task parameter that is identifiable by the first cloud computing platform and corresponding to the format.
  • the preset type may be: creating a cloud host, updating a cloud host, deleting a cloud host, or migrating a cloud host, but is not limited thereto.
  • the second task parameter includes a specific task content of the corresponding format that can be recognized by the first cloud computing platform.
  • the first task parameter corresponding to the task to be processed may be the specific content of the query, and the query User accounts, query business data, etc., but are not limited to this.
  • the proxy layer may send the corresponding computing task message to different cloud computing platforms according to the first task parameter and the preset routing rule.
  • the preset routing rule may be a routing path from the agent layer to the cloud computing platform corresponding to the second task parameter.
  • the preset routing rule may be expressed in the following form: ⁇ "AA-B, C1": "http://C1.AA-B.com” ⁇ , in the first task parameter in the first computing task message Including: ⁇ "B”: “AA-B”, “C”: “C1” ⁇ parameters, the above proxy layer can replace the first computing task message with the second task parameter, according to the preset route Rules, sent to the cloud computing platform of "http://C1.AA-B.com", where "B” can represent the cloud computing platform, "AA-B” can represent the name of the cloud computing platform, and “C” can represent For the area, "C1" can represent the area name.
  • the purpose of converting the first task parameter into the second task parameter is to convert the task parameters of the differently processed tasks to be processed by the agent layer into identifiable ones that can perform calculations on the selected cloud computing platform.
  • the corresponding task parameter of the unified format is to convert the task parameters of the differently processed tasks to be processed by the agent layer into identifiable ones that can perform calculations on the selected cloud computing platform.
  • the preset type is to create a cloud host "boot server”.
  • the task type in the first computing task message is the same as the preset type, and the first task parameter can be converted into a second task parameter, where the content and format of the second task parameter is: ⁇ "server” : ⁇ "name":"vm1"
  • flavorRef indicates the common specification name on the cloud host platform
  • “uuid” indicates the unique network identification code common on the cloud host platform
  • imageRef indicates the common host image name on the cloud host platform.
  • the first task parameter in the first computing task message sent by the client can be converted into a identifiable one that can perform calculation on the cloud computing platform.
  • the corresponding task parameter of the unified format is the first task parameter in the first computing task message sent by the client.
  • Step 103 Send the task and the second task parameter to the first cloud computing platform, so that the first cloud computing platform processes the task according to the second task parameter.
  • the proxy layer After the proxy layer converts the first task parameter into the second task parameter of the corresponding format recognizable by the first cloud computing platform, the task to be processed and the second task parameter may be sent to the first cloud computing platform, so that the first cloud computing The platform may process the task to be processed according to the specific task content or the operation content included in the second task parameter, such as the specific content of the query, the update of the specific business content, and the like.
  • the task processing method provided in the embodiment of the present application is applied to the proxy layer component of the hybrid cloud system, and the proxy layer receives the first computing task message, and converts the first task parameter included in the first computing task message into the first cloud computing.
  • a second task parameter of the corresponding format that can be identified by the platform, so that the first cloud computing platform can identify; send the task and the second task parameter to the first cloud computing platform, so that the first cloud computing platform is configured according to the second task parameter.
  • the task is processed, and the task parameters of the computing task are converted into task parameters that can be calculated on the corresponding cloud computing platform by introducing the agent layer component, so that the cloud computing platform passes the post-conversion processing task of the agent layer, and the application is implemented.
  • the method provided by the example introduces the agent layer design, configures an interface on the client to connect with multiple cloud computing platforms, and implements tasks on different cloud computing platforms in the hybrid cloud system, which can improve the management and use of the hybrid cloud system. effectiveness.
  • the first task parameter in step 102 is converted into a second task parameter of a corresponding format recognizable by the cloud computing platform, as shown in FIG. 3, including the following step:
  • step 1021 the first task parameter is parsed.
  • the proxy layer may first parse the first task parameter included in the first computing task message.
  • the first task parameter may include a parameter agreed with the user, such as a cloud computing platform name and a region name, etc., in converting the first task parameter into a second task parameter of a corresponding format recognizable by the first cloud computing platform.
  • the cloud computing platform name included in the first task parameter is parsed, for example, a big data platform, a physical machine platform, a network platform, etc., and the area name may be included, and the area name may be based on Parameters submitted by the user's actual needs.
  • Step 1022 Convert the parsed first task parameter into a second task parameter of a corresponding format recognizable by the first cloud computing platform.
  • the proxy layer may convert the first task parameter into the first task according to the first task parameter obtained after the parsing, which may include a cloud computing platform name, an area name, a specific operation task, and the like.
  • the second task parameter of the corresponding format recognizable by the cloud computing platform may be the same as the first task parameter, but the format of the second task parameter is a corresponding format recognizable by the first cloud computing platform, so as to be mapped according to the second task parameter and the preset routing rule.
  • the first cloud computing platform can perform the task.
  • the proxy layer after receiving the first computing task message, the proxy layer first parses the first task parameter included therein, so as to ensure that the parameters agreed with the user included in the first task parameter, such as a cloud computing platform, are ensured. And the area name and the like are converted into the second task parameter of the corresponding format recognizable by the first cloud computing platform, so that the first cloud computing platform can process the task.
  • FIG. 4 is a flowchart after determining the type of the task according to the first computing task message in step 102, including:
  • Step 1023 Determine the type of the task according to the first computing task message.
  • Step 10231 When the type of the task is a preset type, convert the first task parameter into a second task parameter of a corresponding format recognizable by the first cloud computing platform.
  • Step 10232 When the type of the task is not a preset type, the task is processed according to a preset database.
  • the type of the task After the type of the task is determined, it is determined whether the type of the task is a preset type. When the type of the task is not a preset type, the task is processed according to a preset database.
  • the preset database is located on the bottom layer of the private cloud and the public cloud platform in the hybrid cloud system.
  • the preset database contains resource information and data of each cloud platform.
  • the type of the task is not a preset type, for example, when the task is read.
  • the data is directly read in the preset database, and the task is processed without converting the first task parameter into the second task parameter of the corresponding format recognizable by the first cloud computing platform.
  • the task type of the first computing task message is not the preset type of task type, for example, the task type of the first computing task message is a read data operation, and the first task parameter does not need to be converted into the first task parameter.
  • the cloud computing platform can recognize the second task parameter of the corresponding format, but directly reads the data in the preset database, thereby improving the working efficiency of the hybrid cloud system.
  • the foregoing method further includes: periodically updating a preset database by using a virtual private network.
  • the preset database contains the resource information and data of each cloud platform. Since the resource information and data of each cloud platform are updated over time, the synchronization layer design is introduced, and the preset database is synchronously updated through the synchronization layer.
  • the synchronization layer is the underlying component of each cloud platform.
  • the synchronization layer can integrate the resource information of each cloud platform into a preset database, and the synchronization layer can also integrate the resource information and data of each cloud platform into a unified format data.
  • the data formats on basic resources are basically the same, and do not need to be integrated into a unified format, and can be directly synchronized to a preset database.
  • the synchronization process may be set to periodically and periodically perform a synchronization process, and the synchronization layer may periodically read corresponding resource information through respective driving layers of each cloud platform.
  • the method for providing the resource information according to the resource type is serialized according to the resource type; after the serialized resource type is marked as a source, it is stored in a preset database, and the method provided by the embodiment of the present application can be Run on distributed nodes at the same time, support different cloud platforms through horizontal expansion.
  • the synchronization layer can periodically update the preset database through the virtual private network, and use the timing and periodic synchronization to complete the synchronization and update process through the virtual private network in a specific time period, and in all time periods, The resource information and data in the database can be read.
  • the method after receiving the first computing task message in step 101 is as shown in FIG. 5, and further includes the following steps:
  • Step 104 Determine whether the first computing task message is a task message in a preset specification format.
  • the agent layer determines whether it is a task message of a preset specification format.
  • the task message of the preset specification format is a task message with a canonical format that can be directly read by the agent layer, and the agent layer can directly
  • the first computing task message is read to obtain the task to be processed, the task parameter corresponding to the task, and the identification information of the first cloud computing platform corresponding to the task.
  • Step 105 When the first computing task message is not a task message in a preset specification format, the first computing task message is converted into a task message in a preset specification format.
  • the embodiment of the present application abstracts the task to be calculated and processed into a task message of a preset specification format, which may include: a unified specification task execution operation Rules; unified specification of abstract data types; unified standardization of distributed abstract data types to another abstract data type conversion method, wherein the data conversion format may include: one-to-one conversion map, filter conversion filter or many-to-one conversion reduce process, etc. .
  • the proxy layer converts the first computing task message into a task message in a preset specification format, so that the task to be processed, the task parameter corresponding to the task, and the first cloud computing platform corresponding to the task can be obtained more conveniently and quickly. Identification information.
  • the embodiment of the present application further provides a task processing device.
  • the schematic structural diagram of the device is as shown in FIG.
  • the receiving module 601 is configured to receive the first computing task message, where the first computing task message includes: a task to be processed, a task parameter corresponding to the task, and identifier information of the first cloud computing platform corresponding to the task;
  • the conversion module 602 is configured to determine a type of the task according to the first computing task message, and when the type of the task is a preset type, convert the first task parameter into a second task parameter of a corresponding format recognizable by the first cloud computing platform;
  • the sending module 603 is configured to send the task and the second task parameter to the first cloud computing platform, so that the first cloud computing platform processes the task according to the second task parameter.
  • the task processing apparatus receives the first computing task message, and converts the first task parameter included in the first computing task message into a second task parameter of a corresponding format recognizable by the first cloud computing platform, so that The first cloud computing platform is capable of identifying; sending the task and the second task parameter to the first cloud computing platform, so that the first cloud computing platform processes the task according to the second task parameter, and by calculating the agent layer component, the computing
  • the task parameters of the task are converted into task parameters that can be calculated on the corresponding cloud computing platform, so that the cloud computing platform passes the post-conversion processing task of the proxy layer, and the method provided by the embodiment of the present application introduces the proxy layer design on the client side.
  • a schematic diagram of the structure of the conversion module 602, as shown in FIG. 7, includes:
  • the parsing submodule 6021 is configured to parse the first task parameter
  • the first conversion sub-module 6022 is configured to convert the first task parameter parsed by the parsing sub-module 6021 into a second task parameter of a corresponding format recognizable by the first cloud computing platform.
  • the device may further include:
  • the processing module 604 is configured to process the task according to the preset database when the conversion module 602 determines that the type of the task is not the preset type.
  • the apparatus may further include:
  • the update module is configured to periodically update the preset database through a virtual private network.
  • the device may further include:
  • the determining module 605 is configured to determine whether the first computing task message is a task message in a preset specification format
  • the conversion module 606 is configured to convert the first computing task message into a task message of a preset specification format when the determining module 605 determines that the first computing task message is not a task message of a preset specification format.
  • the above device may be located in the proxy layer component of the hybrid cloud system, but is not limited thereto.
  • each module in the foregoing apparatus may be located in the same processor or in different processors, and is not limited.
  • the embodiment of the present application further provides a task processing system, as shown in FIG. 10, including: a proxy layer component 1001, a first cloud computing platform 1002,
  • the proxy layer component 1001 is configured to receive the first computing task message, where the first computing task message includes: a task to be processed, a task parameter corresponding to the task, and identifier information of the first cloud computing platform 1002 corresponding to the task, according to the first
  • the computing task message determines the type of the task.
  • the type of the task is a preset type
  • the first task parameter is converted into a second task parameter of the corresponding format that the first cloud computing platform 1002 can identify, and the task and the second task parameter are Send to the first cloud computing platform 1002;
  • the first cloud computing platform 1002 is configured to receive the task and the second task parameter sent by the agent layer component 1001, and process the task according to the second task parameter.
  • the task processing system includes a proxy layer component and a first cloud computing platform, and the proxy layer component 1001 receives the first computing task message, and converts the first task parameter included in the first computing task message into the first
  • the second task parameter of the corresponding format can be identified by the cloud computing platform, so that the first cloud computing platform can identify; the task and the second task parameter are sent to the first cloud computing platform, and the first cloud computing platform is configured according to the second task parameter.
  • the task is processed, and the task parameters of the computing task are converted into task parameters that can be calculated on the corresponding cloud computing platform by introducing the agent layer component, so that the cloud computing platform passes the post-conversion processing task of the agent layer, and the application is implemented.
  • the method provided by the example introduces the agent layer design, configures an interface on the client to connect with multiple cloud computing platforms, and implements tasks on different cloud computing platforms in the hybrid cloud system, which can improve the management and use of the hybrid cloud system. effectiveness.
  • the proxy layer component 1001 is configured to parse the first task parameter, and convert the parsed first task parameter into a second task parameter corresponding to the cloud computing platform.
  • the proxy layer component 1001 is further configured to process the task according to a preset database when the type of the task is not a preset type.
  • the proxy layer component 1001 is further configured to periodically update a preset database through a virtual private network.
  • the proxy layer component 1001 is further configured to determine whether the first computing task message is a task message of a preset specification format; when the first computing task message is not a task message of a preset specification format, the first The task message is converted into a task message in a preset canonical format.
  • the first cloud computing platform 1002 is configured to process the task according to the second task parameter and a preset database.
  • 11 is an architectural diagram of an embodiment of the present application in an actual hybrid cloud system, including: a proxy layer component 1101, a network platform 1102, a computing platform 1103, a storage platform 1104, a big data platform 1105, a mirroring platform 1106, a physical machine platform 1107,
  • the proxy layer component 1101 is configured to receive request data of the tag cloud platform.
  • the proxy layer component 1101 receives the request data of the client tag cloud platform, where the request data of the tag cloud platform may include: a task to be processed, a task parameter corresponding to the task, and identifier information of the cloud platform corresponding to the task.
  • the task to be processed may be an operation task that can be performed on the cloud computing platform, such as query, creation, update, and deletion;
  • the task parameter corresponding to the task to be processed is a specific task content, for example, when the task to be processed is a query, then
  • the task parameter corresponding to the task to be processed is the specific content of the query, and may be a query for the user account, querying the service data, etc.; when the task to be processed is updated, the task parameter corresponding to the task to be processed may be to update the specific service content.
  • the task parameters corresponding to the task to be processed may be the specific content to be deleted and the deleted address.
  • the proxy layer can determine the specific operations that can be performed on the cloud platform by using the task parameters corresponding to the task to be processed and the task.
  • the identifier information of the cloud platform corresponding to the task to be processed is the processing selected by the user, that is, the processing received by the proxy layer component 1101.
  • the only cloud platform for the task is the cloud platform that handles the task.
  • the agent layer component 1101 After receiving the request data of the tag cloud platform, the agent layer component 1101 converts the task parameters into the task parameters corresponding to the cloud platform according to the task parameters included in the request data.
  • the agent layer component 1101 needs to convert the task parameters into task parameters corresponding to the computing cloud platform 1103; for the big data cloud platform 1105
  • the proxy layer component 1101 needs to convert the task parameters into task parameters corresponding to the big data cloud platform 1105, and other types of cloud computing platforms are similar.
  • the shared function module 1108 includes a public cloud and a private cloud computing platform
  • the shared function query module 1109 includes a public cloud and a private cloud computing platform
  • the independent function module 1110 includes a public cloud and a private cloud computing platform
  • the proxy layer component 1101 sends the request data and the converted task parameters to different modules according to different task types included in the request data, and the shared function module 1108, the shared function query module 1109, and the independent function module 1110 all include a public cloud and The private cloud computing platform, but the function of each module is different, wherein the shared function module 1108 can include a create, update, and delete task; the shared function query module 1109 is a query task; the independent function module 1110 is a public cloud and a private cloud computing platform. Independent function query task.
  • the agent layer component 1101 forwards the request data and the transformed task parameters to different cloud computing platforms in different functional modules.
  • the public cloud domain name 1111 is a domain name configured for the public cloud in the above three different functional modules, and the synchronization timing can be updated through the synchronization layer.
  • the private cloud service nodes 1112 are service nodes configured for private clouds in the above three different functional modules, and the synchronization timing can be updated through the synchronization layer.
  • the public cloud domain name 1111 and the private cloud service node 1112 can be obtained by collecting data in preset data.
  • the embodiment of the present application further provides an electronic device, as shown in FIG. 12, including a processor 1201 and a machine readable storage medium 1202.
  • the machine readable storage medium 1202 stores machine executable instructions executable by the processor 1201.
  • the foregoing task processing steps are implemented, such as the following steps:
  • the first computing task message includes: a task to be processed, a task parameter corresponding to the task, and identifier information of the first cloud computing platform corresponding to the task;
  • the agent layer receives the first computing task message, and converts the first task parameter included in the first computing task message into a second task parameter of a corresponding format recognizable by the first cloud computing platform. So that the first cloud computing platform can identify; send the task and the second task parameter to the first cloud computing platform, so that the first cloud computing platform processes the task according to the second task parameter, and by introducing the agent layer component,
  • the task parameters of the computing task are converted into task parameters that can be calculated on the corresponding cloud computing platform, so that the cloud computing platform passes the post-conversion processing task of the agent layer, and the method provided by the embodiment of the present application introduces the agent layer design in the client.
  • the interface is configured to interface with multiple cloud computing platforms, and the tasks are processed on different cloud computing platforms in the hybrid cloud system, which can improve the management and usage efficiency of the hybrid cloud system.
  • the embodiment of the present application provides a computer readable storage medium.
  • the computer readable storage medium stores a computer program.
  • the task processing steps are implemented. For example, the task processing method steps provided as follows:
  • the first computing task message includes: a task to be processed, a task parameter corresponding to the task, and identifier information of the first cloud computing platform corresponding to the task;
  • the computer readable storage medium provided by the embodiment of the present application is applied to a proxy layer component of a hybrid cloud system, and the proxy layer receives the first computing task message, and converts the first task parameter included in the first computing task message into the first a second task parameter of the corresponding format recognizable by the cloud computing platform, so that the first cloud computing platform can identify; sending the task and the second task parameter to the first cloud computing platform, so that the first cloud computing platform is configured according to the second task
  • the parameter is used to process the task, and by introducing the agent layer component, the task parameter of the computing task is converted into a task parameter that can be calculated on the corresponding cloud computing platform, so that the cloud computing platform passes the post-conversion processing task of the agent layer.
  • Applying the method provided by the embodiment introducing a proxy layer design, configuring an interface on the client to connect with multiple cloud computing platforms, and implementing tasks on different cloud computing platforms in the hybrid cloud system can improve the management of the hybrid cloud system. And use efficiency.
  • machine readable storage medium 1202 may be the same as or different from the above-mentioned computer readable storage medium, but is not limited thereto.
  • the above machine executable instructions may be a computer program as a whole or may be considered as part of a computer program, but are not limited thereto.
  • the embodiment of the present application further provides a computer program product including instructions, when it is run on a computer, causing the computer to execute the above task processing method, for example, the task processing method provided as follows:
  • the first computing task message includes: a task to be processed, a task parameter corresponding to the task, and identifier information of the first cloud computing platform corresponding to the task;
  • the computer program product including the instruction provided in the embodiment of the present application is applied to a proxy layer component of the hybrid cloud system, and the proxy layer receives the first computing task message, and converts the first task parameter included in the first computing task message into the first task parameter.
  • the task parameter, the task is processed, and the task parameter of the computing task is converted into a task parameter that can be calculated on the corresponding cloud computing platform by introducing the agent layer component, so that the cloud computing platform processes the task through the proxy layer.
  • the method provided by the embodiment of the present application introduces a proxy layer design, and configures an interface on the client to connect with multiple cloud computing platforms, and implements tasks on different cloud computing platforms in the hybrid cloud system, thereby improving the hybrid cloud system. Management and use efficiency.
  • the embodiment of the present application further provides a computer program, when it is run on a computer, causing the computer to execute the above task processing method, for example, the task processing method provided as follows:
  • the first computing task message includes: a task to be processed, a task parameter corresponding to the task, and identifier information of the first cloud computing platform corresponding to the task;
  • the computer program provided in the embodiment of the present application is applied to the proxy layer component of the hybrid cloud system, and the proxy layer receives the first computing task message, and converts the first task parameter included in the first computing task message into the first cloud computing platform. Identifying a second task parameter of the corresponding format, so that the first cloud computing platform can identify; sending the task and the second task parameter to the first cloud computing platform, so that the first cloud computing platform is configured according to the second task parameter.
  • the task is processed, and the task parameters of the computing task are converted into task parameters that can be calculated on the corresponding cloud computing platform by using the agent layer component, so that the cloud computing platform can perform the post-conversion processing task of the proxy layer.
  • the provided method introduces the agent layer design, configures an interface on the client to connect with multiple cloud computing platforms, and implements tasks on different cloud computing platforms in the hybrid cloud system, which can improve the management and use efficiency of the hybrid cloud system. .
  • the above processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; or may be a digital signal processing (DSP), dedicated integration.
  • CPU central processing unit
  • NP network processor
  • DSP digital signal processing
  • ASIC Application Specific Integrated Circuit
  • FPGA Field-Programmable Gate Array
  • the device, the system, the electronic device, the storage medium, the computer program product, and the computer program provided by the embodiments of the present application are respectively the device, the system, the electronic device, the storage medium, the computer program product, and the computer that apply the above task processing method.
  • the program, then all the embodiments of the above task processing method are applicable to the device, system, electronic device, storage medium, computer program product, computer program, and all achieve the same or similar beneficial effects.
  • the task processing method, the device, the electronic device, and the storage medium provided by the embodiment of the present application convert the task parameters of the computing task into task parameters that can be calculated on the corresponding cloud computing platform by introducing a proxy layer component.
  • the method provided by the embodiment of the present application introduces a proxy layer design, and configures an interface to connect with multiple cloud computing platforms on the client, and implements different in the hybrid cloud system. Processing tasks on the cloud computing platform can improve the management and usage efficiency of the hybrid cloud system.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer And Data Communications (AREA)

Abstract

Embodiments of the present application provide a task processing method and apparatus, an electronic device, and a storage medium, applied to an agent layer component of a hybrid cloud system. The method comprises: receiving a first computing task message, wherein the first computing task message comprises: a task to be processed, a first task parameter corresponding to the task, and identifier information of a first cloud computing platform corresponding to the task; determining the type of the task according to the first computing task message, and when the type of the task is a preset type, converting the first task parameter into a second task parameter in a corresponding format recognizable by the first cloud computing platform; and sending the task and the second task parameter to the first cloud computing platform, so that the first cloud computing platform processes the task according to the second task parameter. The present method can improve the management and use efficiency of a hybrid cloud system.

Description

一种任务处理方法、装置、电子设备及存储介质Task processing method, device, electronic device and storage medium
本申请要求于2017年09月22日提交中国专利局、申请号为201710865239.9发明名称为“一种任务处理方法、装置、电子设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to the Chinese Patent Application entitled "A Task Processing Method, Apparatus, Electronic Device, and Storage Medium" by the Chinese Patent Office, filed on Sep. 22, 2017, the entire disclosure of which is hereby incorporated by reference. Combined in this application.
技术领域Technical field
本申请涉及云计算技术领域,特别是涉及一种任务处理方法、装置、电子设备及存储介质。The present application relates to the field of cloud computing technologies, and in particular, to a task processing method, apparatus, electronic device, and storage medium.
背景技术Background technique
混合云主要是指私有云和公有云的平台整合,通过使用专用的技术将私有云和公有云组合起来,使得整个混合云系统具有数据和应用程序的可移植性,为客户提供按需的、多层次的资源扩展。Hybrid cloud mainly refers to platform integration of private cloud and public cloud. By combining private cloud and public cloud by using dedicated technology, the entire hybrid cloud system has data and application portability, providing customers with on-demand, Multi-level resource expansion.
企业客户的私有云集群多位于自建机房或托管机房,是用户的业务主体,同时企业客户在公有云厂商保留有企业帐号,并保存有部分公有云的各类基础资源,作为私有云集群资源的补充。目前包含混合云需求的场景主要有:第一,开发和测试环境分离:在公有云里进行测试,可以减小成本,在私有云里部署生产环境,具有安全性和可控性;第二,容灾考虑及提高可用性:使用负载均衡器对业务做均衡时,同时使用私有云和公有云,或,当一方故障时,将业务迁移到对端;第三,用户希望使用多个供应商,而不希望绑定到单一厂商时;第四,构建混合云以支持原来的系统,如果已经使用了公有云,需要新上线私有云环境等。The private cloud clusters of enterprise customers are mostly located in self-built machine rooms or managed computer rooms, which are the main business of users. At the same time, enterprise customers retain enterprise accounts in public cloud vendors, and preserve various basic resources of public clouds as private cloud cluster resources. Supplement. The scenarios that currently include hybrid cloud requirements are: First, the separation of development and test environments: testing in public clouds can reduce costs, deploying production environments in private clouds, with security and controllability; Disaster recovery considerations and improved availability: When using a load balancer to balance services, use both private and public clouds, or when one party fails, migrate the service to the peer; third, users want to use multiple vendors. I don't want to bind to a single vendor. Fourth, build a hybrid cloud to support the original system. If you have already used a public cloud, you need a new online private cloud environment.
目前,各大公有云厂商均提供对应的OpenAPI(Open Application Programming Interface,开放接口)供用户调用,OpenAPI屏蔽了后端架构实现的不同,对外展示了结构类同的调用接口。Currently, all public cloud vendors provide OpenAPI (Open Application Programming Interface) for users to call. OpenAPI shields the implementation of the back-end architecture and exposes the same call interface.
相关技术中的混合云技术通过创建公共平台,使客户端通过调用各类云平台的OpenAPI,展示在不同的显示界面内。但在多个云平台同时存在时,由于每个云平台的OpenAPI都不相同,需要客户端配置多个接口,以访问各类云平台,对于客户端的配置要求较高,且相关技术中的混合云系统的管理复杂度高,存在应用效率低的问题。The hybrid cloud technology in the related art enables the client to display in different display interfaces by calling OpenAPI of various cloud platforms by creating a common platform. However, when multiple cloud platforms exist at the same time, since the OpenAPI of each cloud platform is different, the client needs to configure multiple interfaces to access various cloud platforms, and the configuration requirements for the client are high, and the related technologies are mixed. The management of the cloud system is highly complex and there is a problem of low application efficiency.
发明内容Summary of the invention
本申请实施例的目的在于提供一种任务处理方法、装置、电子设备及存储介质,以实现提高混合云系统的管理和使用效率。具体技术方案如下:The purpose of the embodiments of the present application is to provide a task processing method, device, electronic device, and storage medium, so as to improve management and usage efficiency of the hybrid cloud system. The specific technical solutions are as follows:
第一方面,本申请实施例提供了一种任务处理方法,应用于混合云系统的代理层组件中,该方法包括:接收第一计算任务消息,其中,所述第一计算任务消息包括:待处理的任务、所述任务对应的第一任务参数以及所述任务对应的第一云计算平台的标识信息;根据所述第一计算任务消息确定所述任务的类型,当所述任务的类型为预设类型时,将所述第一任务参数转换为所述第一云计算平台可识别的对应格式的第二任务参数;将所述任务和所述第二任务参数,发送至所述第一云计算平台,以使所述第一云计算平台根据所述第二任务参数,对所述任务进行处理。In a first aspect, the embodiment of the present application provides a task processing method, which is applied to a proxy layer component of a hybrid cloud system, where the method includes: receiving a first computing task message, where the first computing task message includes: The processed task, the first task parameter corresponding to the task, and the identification information of the first cloud computing platform corresponding to the task; determining the type of the task according to the first computing task message, when the type of the task is Converting the first task parameter to a second task parameter of a corresponding format recognizable by the first cloud computing platform, and transmitting the task and the second task parameter to the first The cloud computing platform is configured to cause the first cloud computing platform to process the task according to the second task parameter.
本申请实施例中,所述将所述第一任务参数转换为所述第一云计算平台可识别的对应格式的第二任务参数,包括:将所述第一任务参数进行解析;将解析后的第一任务参数转换为所述第一云计算平台可识别的对应格式的第二任务参数。In the embodiment of the present application, the converting the first task parameter into the second task parameter of the corresponding format that is identifiable by the first cloud computing platform includes: parsing the first task parameter; The first task parameter is converted into a second task parameter of a corresponding format identifiable by the first cloud computing platform.
本申请实施例中,所述根据所述第一计算任务消息确定所述任务的类型之后,本申请实施例的一种任务处理方法还包括:当所述任务的类型不是预设类型时,根据预设的数据库,对所述任务进行处理。In the embodiment of the present application, after the determining the type of the task according to the first computing task message, a task processing method in the embodiment of the present application further includes: when the type of the task is not a preset type, according to A preset database that processes the tasks.
本申请实施例中,本申请实施例的一种任务处理方法还包括:通过虚拟专用网对所述预设的数据库进行周期性更新。In the embodiment of the present application, a task processing method of the embodiment of the present application further includes: periodically updating the preset database by using a virtual private network.
本申请实施例中,所述接收第一计算任务消息之后,本申请实施例的一种任务处理方法还包括:判断所述第一计算任务消息是否为预设规范格式的任务消息;当所述第一计算任务消息不是预设规范格式的任务消息时,将所述第一计算任务消息转化为所述预设规范格式的任务消息。In the embodiment of the present application, after the receiving the first computing task message, the task processing method of the embodiment of the present application further includes: determining whether the first computing task message is a task message in a preset specification format; When the first computing task message is not a task message of a preset specification format, the first computing task message is converted into a task message of the preset specification format.
第二方面,本申请实施例提供了一种任务处理装置,该装置包括:接收模块,设置为接收第一计算任务消息,其中,所述第一计算任务消息包括:待处理的任务、所述任务对应的第一任务参数以及所述任务对应的第一云计算平台的标识信息;转换模块,设置为根据所述第一计算任务消息确定所述任务的类型,当所述任务的类型为预设类型时,将所述第一任务参数转换为 所述第一云计算平台可识别的对应格式的第二任务参数;发送模块,设置为将所述任务和所述第二任务参数,发送至所述第一云计算平台,以使所述第一云计算平台根据所述第二任务参数,对所述任务进行处理。In a second aspect, the embodiment of the present application provides a task processing apparatus, where the apparatus includes: a receiving module, configured to receive a first computing task message, where the first computing task message includes: a task to be processed, the The first task parameter corresponding to the task and the identification information of the first cloud computing platform corresponding to the task; the conversion module is configured to determine the type of the task according to the first computing task message, when the type of the task is pre When the type is set, the first task parameter is converted into a second task parameter of a corresponding format recognizable by the first cloud computing platform; and the sending module is configured to send the task and the second task parameter to The first cloud computing platform, so that the first cloud computing platform processes the task according to the second task parameter.
本申请实施例中,所述转换模块,包括:解析子模块,设置为将所述第一任务参数进行解析;第一转换子模块,设置为将所述解析子模块解析后的第一任务参数转换为所述第一云计算平台可识别的对应格式的第二任务参数。In the embodiment of the present application, the conversion module includes: a parsing sub-module, configured to parse the first task parameter; and the first conversion sub-module is configured to parse the first task parameter after parsing the parsing sub-module Converting to a second task parameter of a corresponding format recognizable by the first cloud computing platform.
本申请实施例中,本申请实施例的一种任务处理装置还包括:处理模块,设置为当所述转换模块确定所述任务的类型不是预设类型时,根据预设的数据库,对所述任务进行处理。In the embodiment of the present application, the task processing apparatus of the embodiment of the present application further includes: a processing module, configured to: when the conversion module determines that the type of the task is not a preset type, according to a preset database, The task is processed.
本申请实施例中,本申请实施例的一种任务处理装置还包括:更新模块,设置为通过虚拟专用网对所述预设的数据库进行周期性更新。In the embodiment of the present application, the task processing apparatus of the embodiment of the present application further includes: an update module, configured to periodically update the preset database by using a virtual private network.
本申请实施例中,本申请实施例的一种任务处理装置还包括:判断模块,设置为判断所述第一计算任务消息是否为预设规范格式的任务消息;转化模块,设置为当所述判断模块判断出所述第一计算任务消息不是预设规范格式的任务消息时,将所述第一计算任务消息转化为所述预设规范格式的任务消息。In the embodiment of the present application, the task processing apparatus of the embodiment of the present application further includes: a determining module, configured to determine whether the first computing task message is a task message in a preset specification format; and a conversion module, configured to be When the determining module determines that the first computing task message is not a task message of a preset specification format, the determining the first computing task message into a task message of the preset specification format.
第三方面,本申请实施例提供了一种任务处理系统,所述系统包括:代理层组件、第一云计算平台,所述代理层组件,设置为接收第一计算任务消息,其中,所述第一计算任务消息包括:待处理的任务、所述任务对应的第一任务参数以及所述任务对应的第一云计算平台的标识信息,根据所述第一计算任务消息确定所述任务的类型,当所述任务的类型为预设类型时,将所述第一任务参数转换为所述第一云计算平台可识别的对应格式的第二任务参数,将所述任务和所述第二任务参数,发送至所述第一云计算平台;所述第一云计算平台,设置为接收所述代理层组件发送的所述任务和所述第二任务参数,并根据所述第二任务参数,对所述任务进行处理。In a third aspect, the embodiment of the present application provides a task processing system, where the system includes: a proxy layer component, a first cloud computing platform, and the proxy layer component is configured to receive a first computing task message, where the The first computing task message includes: a task to be processed, a first task parameter corresponding to the task, and identifier information of the first cloud computing platform corresponding to the task, and determining a type of the task according to the first computing task message Converting the first task parameter to a second task parameter of a corresponding format recognizable by the first cloud computing platform, when the type of the task is a preset type, and the task and the second task are And sending, to the first cloud computing platform, the first cloud computing platform, configured to receive the task and the second task parameter sent by the proxy layer component, and according to the second task parameter, The task is processed.
本申请实施例中,所述代理层组件,设置为将所述第一任务参数进行解析;将解析后的第一任务参数转换为所述第一云计算平台可识别的对应格式的第二任务参数。In the embodiment of the present application, the proxy layer component is configured to parse the first task parameter, and convert the parsed first task parameter into a second task corresponding to the first cloud computing platform. parameter.
本申请实施例中,所述代理层组件,还设置为当所述任务的类型不是预 设类型时,根据预设的数据库,对所述任务进行处理。In the embodiment of the present application, the proxy layer component is further configured to process the task according to a preset database when the type of the task is not a preset type.
本申请实施例中,所述代理层组件,还设置为通过虚拟专用网对所述预设的数据库进行周期性更新。In the embodiment of the present application, the proxy layer component is further configured to periodically update the preset database by using a virtual private network.
本申请实施例中,所述代理层组件,还设置为判断所述第一计算任务消息是否为预设规范格式的任务消息;当所述第一计算任务消息不是预设规范格式的任务消息时,将所述第一计算任务消息转化为所述预设规范格式的任务消息。In the embodiment of the present application, the proxy layer component is further configured to determine whether the first computing task message is a task message in a preset specification format; when the first computing task message is not a task message in a preset specification format And converting the first computing task message into a task message of the preset specification format.
本申请实施例中,所述第一云计算平台,设置为根据所述第二任务参数和预设的数据库,对所述任务进行处理。In the embodiment of the present application, the first cloud computing platform is configured to process the task according to the second task parameter and a preset database.
本申请实施例提供了一种电子设备,包括处理器和机器可读存储介质,所述机器可读存储介质存储有能够被所述处理器执行的机器可执行指令,所述处理器执行所述机器可执行指令时,实现上述提供的任务处理方法步骤。An embodiment of the present application provides an electronic device including a processor and a machine readable storage medium storing machine executable instructions executable by the processor, the processor executing the The steps of the task processing method provided above are implemented when the machine executes the instructions.
本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现上述提供的任务处理方法步骤。The embodiment of the present application provides a computer readable storage medium, where the computer readable storage medium stores a computer program, and when the computer program is executed by the processor, implements the task processing method steps provided above.
本申请实施例还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述提供的任务处理方法。The embodiment of the present application also provides a computer program product comprising instructions that, when run on a computer, cause the computer to perform the task processing method provided above.
本申请实施例还提供了一种计算机程序,当其在计算机上运行时,使得计算机执行上述提供的任务处理方法。The embodiment of the present application also provides a computer program that, when run on a computer, causes the computer to execute the task processing method provided above.
本申请实施例提供的一种任务处理方法、装置、电子设备及存储介质,应用于混合云系统的代理层组件中,代理层接收第一计算任务消息,第一计算任务消息包括:待处理的任务、任务对应的第一任务参数以及任务对应的第一云计算平台的标识信息;代理层根据第一计算任务消息确定任务的类型,当任务的类型为预设类型时,将第一计算任务消息中的第一任务参数转换为第一云计算平台可识别的对应格式的第二任务参数,以便第一云计算平台能够识别;将任务和第二任务参数,发送至第一云计算平台,以使第一云计算平台根据第二任务参数,对任务进行处理。通过引入代理层组件,将计算任务的任务参数转换成能够在对应的云计算平台上进行计算的任务参数,以使 云计算平台通过代理层的转换后处理任务,本申请实施例提供的方法,引入代理层设计,在客户端配置一个接口与多个云计算平台进行对接,在混合云系统中实现在不同的云计算平台上处理任务,可以提高混合云系统的管理和使用效率。当然,实施本申请的任一产品或方法必不一定需要同时达到以上所述的所有优点。The task processing method, device, electronic device and storage medium provided by the embodiments of the present application are applied to a proxy layer component of a hybrid cloud system, and the proxy layer receives a first computing task message, where the first computing task message includes: to be processed The first task parameter corresponding to the task and the task, and the identification information of the first cloud computing platform corresponding to the task; the agent layer determines the type of the task according to the first computing task message, and when the type of the task is the preset type, the first computing task Converting the first task parameter in the message to a second task parameter of a corresponding format recognizable by the first cloud computing platform, so that the first cloud computing platform can identify; sending the task and the second task parameter to the first cloud computing platform, So that the first cloud computing platform processes the task according to the second task parameter. By introducing a proxy layer component, the task parameters of the computing task are converted into task parameters that can be calculated on the corresponding cloud computing platform, so that the cloud computing platform passes the post-conversion processing task of the proxy layer, and the method provided by the embodiment of the present application, Introducing the agent layer design, configuring an interface on the client to connect with multiple cloud computing platforms, and implementing tasks on different cloud computing platforms in the hybrid cloud system can improve the management and usage efficiency of the hybrid cloud system. Of course, implementing any of the products or methods of the present application necessarily does not necessarily require all of the advantages described above to be achieved at the same time.
附图说明DRAWINGS
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present application, and other drawings can be obtained according to the drawings without any creative work for those skilled in the art.
图1为本申请实施例提供的混合云系统的结构示意图;FIG. 1 is a schematic structural diagram of a hybrid cloud system according to an embodiment of the present application;
图2为本申请一种实施例提供的任务处理方法的流程图;2 is a flowchart of a task processing method according to an embodiment of the present application;
图3为本申请另一种实施例提供的任务处理方法的流程图;FIG. 3 is a flowchart of a task processing method according to another embodiment of the present application;
图4为本申请又一种实施例提供的任务处理方法的流程图;4 is a flowchart of a task processing method according to another embodiment of the present application;
图5为本申请再一种实施例提供的任务处理方法的流程图;FIG. 5 is a flowchart of a task processing method according to still another embodiment of the present application;
图6为本申请一种实施例提供的任务处理装置的结构示意图;FIG. 6 is a schematic structural diagram of a task processing apparatus according to an embodiment of the present application;
图7为本申请另一种实施例提供的任务处理装置的结构示意图;FIG. 7 is a schematic structural diagram of a task processing apparatus according to another embodiment of the present application;
图8为本申请又一种实施例提供的任务处理装置的结构示意图;FIG. 8 is a schematic structural diagram of a task processing apparatus according to another embodiment of the present application;
图9为本申请再一种实施例提供的任务处理装置的结构示意图;FIG. 9 is a schematic structural diagram of a task processing apparatus according to still another embodiment of the present application;
图10为本申请实施例提供的任务处理系统的结构示意图;FIG. 10 is a schematic structural diagram of a task processing system according to an embodiment of the present application;
图11为本申请实施例提供的任务处理方法在实际应用中的系统架构图;FIG. 11 is a system architecture diagram of a task processing method according to an embodiment of the present application;
图12为本申请实施例提供的电子设备结构示意图。FIG. 12 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application are clearly and completely described in the following with reference to the drawings in the embodiments of the present application. It is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application.
为了解决相关技术的混合云技术中,在多个云平台同时存在时,需要客户端配置多个接口,才可以访问各类云平台,对于客户端的配置要求较高、 混合云系统的管理复杂度高、应用效率低的问题,本申请实施例提供了一种任务处理方法、装置、电子设备及存储介质。In the hybrid cloud technology of the related technology, when multiple cloud platforms exist at the same time, the client needs to configure multiple interfaces to access various cloud platforms, and the configuration requirements of the client are high, and the management complexity of the hybrid cloud system is high. The present invention provides a task processing method, device, electronic device, and storage medium.
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application.
本申请实施例提供了一种任务处理方法,可以应用于混合云系统的代理层组件中,混合云系统中可以包括私有云计算平台、公有云计算平台和用于管理私有云计算平台和公有云计算平台的服务器,代理层组件位于服务器中。代理层组件为服务器的一个功能模块,为混合云系统中所有的云计算平台提供统一的标准接口。图1为本申请实施例提供的混合云系统的结构示意图,包括代理层组件110、单元测试模块120、私有云平台130、公有云平台140和其他云平台150。The embodiment of the present application provides a task processing method, which can be applied to a proxy layer component of a hybrid cloud system, where the hybrid cloud system can include a private cloud computing platform, a public cloud computing platform, and a management private cloud computing platform and a public cloud. The server of the computing platform, the agent layer component is located in the server. The agent layer component is a functional module of the server that provides a unified standard interface for all cloud computing platforms in the hybrid cloud system. FIG. 1 is a schematic structural diagram of a hybrid cloud system according to an embodiment of the present application, including a proxy layer component 110, a unit test module 120, a private cloud platform 130, a public cloud platform 140, and other cloud platforms 150.
代理层组件110为服务器中的一个模块,私有云平台130、公有云平台140和其他云平台150的接口全部接入到代理层组件110,其中,单元测试模块120设置为判断底层的各个云平台是否可以接入到代理层组件110,满足封装条件的才可以接入。The proxy layer component 110 is a module in the server. The interfaces of the private cloud platform 130, the public cloud platform 140, and other cloud platforms 150 are all connected to the proxy layer component 110. The unit test module 120 is configured to determine the underlying cloud platforms. Whether it is possible to access the proxy layer component 110, and the package condition can be accessed.
图2为本申请实施例提供的一种任务处理方法的流程图,包括如下步骤:FIG. 2 is a flowchart of a task processing method according to an embodiment of the present application, including the following steps:
步骤101,接收第一计算任务消息。Step 101: Receive a first computing task message.
代理层接收客户端发送的第一计算任务消息,其中,第一计算任务消息包括:待处理的任务、任务对应的第一任务参数以及任务对应的第一云计算平台的标识信息。待处理的任务为可以在云计算平台上进行的操作任务,该待处理的任务可以为查询、创建、更新、删除等;待处理的任务对应的第一任务参数为具体的任务内容,例如当待处理的任务为查询时,那么待处理的任务对应的第一任务参数为查询的具体内容,可以为查询用户账号、查询业务数据等,但并不限于此;当待处理的任务为更新时,那么待处理的任务对应的第一任务参数可以为更新具体的业务内容、更新地址等,但并不限于此;当待处理的任务为删除时,待处理的任务对应的第一任务参数可以为删除的具体内容以及删除的地址等,但并不限于此。代理层通过待处理的任务和任务对应的第一任务参数可以确定在第一云计算平台上可以进行的具体操作,待处理的任务对应的第一云计算平台为用户选择的、即代理层接收到的处理 任务的唯一的云计算平台,也就是处理任务的云计算平台。The proxy layer receives the first computing task message sent by the client, where the first computing task message includes: a task to be processed, a first task parameter corresponding to the task, and identifier information of the first cloud computing platform corresponding to the task. The task to be processed is an operation task that can be performed on the cloud computing platform, and the task to be processed can be a query, a creation, an update, a deletion, and the like; the first task parameter corresponding to the task to be processed is a specific task content, for example, when When the task to be processed is the query, the first task parameter corresponding to the task to be processed is the specific content of the query, which may be a query for the user account, querying the service data, etc., but is not limited thereto; when the task to be processed is updated The first task parameter corresponding to the task to be processed may be the specific service content, the update address, and the like, but is not limited thereto; when the task to be processed is deleted, the first task parameter corresponding to the task to be processed may be The specific content to be deleted, the deleted address, etc., but not limited to this. The proxy layer can determine the specific operations that can be performed on the first cloud computing platform by using the first task parameter corresponding to the task to be processed and the task. The first cloud computing platform corresponding to the task to be processed is selected by the user, that is, the agent layer receives. The only cloud computing platform that handles tasks, that is, the cloud computing platform that handles tasks.
步骤102,根据第一计算任务消息确定任务的类型,当任务的类型为预设类型时,将第一任务参数转换为第一云计算平台可识别的对应格式的第二任务参数。Step 102: Determine a type of the task according to the first computing task message. When the type of the task is a preset type, convert the first task parameter into a second task parameter of a corresponding format recognizable by the first cloud computing platform.
代理层在接收到第一计算任务消息以后,可以根据待处理的任务确定任务的类型,也可以根据待处理的任务以及待处理的任务对应的第一任务参数,确定任务的类型,当任务的类型为预设类型时,将第一计算任务消息中包括的第一任务参数转换成第一云计算平台可以识别的、对应格式的第二任务参数。例如,该预设类型可以是:创建云主机、更新云主机、删除云主机或者迁移云主机等,但并不限于此。After receiving the first computing task message, the agent layer may determine the type of the task according to the task to be processed, or determine the type of the task according to the task to be processed and the first task parameter corresponding to the task to be processed. When the type is a preset type, the first task parameter included in the first computing task message is converted into a second task parameter that is identifiable by the first cloud computing platform and corresponding to the format. For example, the preset type may be: creating a cloud host, updating a cloud host, deleting a cloud host, or migrating a cloud host, but is not limited thereto.
第二任务参数包括第一云计算平台可识别的对应格式的具体的任务内容,例如当待处理的任务为查询时,那么待处理的任务对应的第一任务参数可以为查询的具体内容,查询用户账号、查询业务数据等,但并不限于此。代理层可以根据第一任务参数和预设的路由规则,将对应的计算任务消息发送到不同的云计算平台上。该预设的路由规则,可以是从代理层至与第二任务参数对应的云计算平台之间的路由路径。The second task parameter includes a specific task content of the corresponding format that can be recognized by the first cloud computing platform. For example, when the task to be processed is a query, the first task parameter corresponding to the task to be processed may be the specific content of the query, and the query User accounts, query business data, etc., but are not limited to this. The proxy layer may send the corresponding computing task message to different cloud computing platforms according to the first task parameter and the preset routing rule. The preset routing rule may be a routing path from the agent layer to the cloud computing platform corresponding to the second task parameter.
例如,该预设路由规则可以以如下形式表示:{"AA-B,C1":"http://C1.AA-B.com"},当第一计算任务消息中的第一任务参数中包含:{"B":"AA-B","C":"C1"}的参数时,上述的代理层可以将该第一计算任务消息换成第二任务参数后,按照该预设路由规则,发送给"http://C1.AA-B.com"的云计算平台,其中,“B”可以表示云计算平台,“AA-B”可以表示云计算平台名称,“C”可以表示为区域,“C1”可以表示区域名称。For example, the preset routing rule may be expressed in the following form: {"AA-B, C1": "http://C1.AA-B.com"}, in the first task parameter in the first computing task message Including: {"B": "AA-B", "C": "C1"} parameters, the above proxy layer can replace the first computing task message with the second task parameter, according to the preset route Rules, sent to the cloud computing platform of "http://C1.AA-B.com", where "B" can represent the cloud computing platform, "AA-B" can represent the name of the cloud computing platform, and "C" can represent For the area, "C1" can represent the area name.
将第一任务参数转换成第二任务参数的目的,是为了将代理层接收的不同格式的待处理的任务的任务参数,转换成能够在选择的云计算平台上执行计算的、可被识别的、对应的、统一格式的第二任务参数。The purpose of converting the first task parameter into the second task parameter is to convert the task parameters of the differently processed tasks to be processed by the agent layer into identifiable ones that can perform calculations on the selected cloud computing platform. The corresponding task parameter of the unified format.
例如,假设第一计算任务消息中的第一任务参数为:{"server":{"name":"vm1","size":"3","network":["afa81e0d-0618-470e-99f4-53072a597cf4"],"ima ge":"d45a360c-723d-4217-a0ad-98605c162b36"}},表示:创建一个主机名为“vm1”、规格为“3”、网络为“afa81e0d-0618-470e-99f4-53072a597cf4”、主 机镜像名为“d45a360c-723d-4217-a0ad-98605c162b36”的云主机。For example, suppose the first task parameter in the first computing task message is: {"server":{"name":"vm1","size":"3","network":["afa81e0d-0618-470e- 99f4-53072a597cf4"], "ima ge": "d45a360c-723d-4217-a0ad-98605c162b36"}}, means: create a host named "vm1", the specification is "3", and the network is "afa81e0d-0618-470e" -99f4-53072a597cf4", the cloud host with the host image name "d45a360c-723d-4217-a0ad-98605c162b36".
假设,预设类型为创建云主机“boot server”。可见,该第一计算任务消息中的任务类型与预设类型相同,则可以将该第一任务参数转换为第二任务参数,其中,该第二任务参数的内容和格式为:{"server":{"name":"vm1","flavorRef":"3","networks":[{"uuid":"afa81e0d-0618-470e-99f4-53072a597cf4"}],"imageRef":"d45a360c-723d-4217-a0ad-98605c162b36"}}。其中,“flavorRef”表示在云主机平台上通用的规格名,“uuid”表示在云主机平台上通用的唯一的网络识别码,“imageRef”表示在云主机平台上通用的主机镜像名。Assume that the preset type is to create a cloud host "boot server". It can be seen that the task type in the first computing task message is the same as the preset type, and the first task parameter can be converted into a second task parameter, where the content and format of the second task parameter is: {"server" :{"name":"vm1","flavorRef":"3","networks":[{"uuid":"afa81e0d-0618-470e-99f4-53072a597cf4"}],"imageRef":"d45a360c-723d -4217-a0ad-98605c162b36"}}. Among them, "flavorRef" indicates the common specification name on the cloud host platform, "uuid" indicates the unique network identification code common on the cloud host platform, and "imageRef" indicates the common host image name on the cloud host platform.
可见,通过将第一任务参数转换为第二任务参数,可以将客户端发送的第一计算任务消息中的第一任务参数,转换为可以在该云计算平台上执行计算的、可被识别的、对应的、统一格式的第二任务参数。It can be seen that, by converting the first task parameter into the second task parameter, the first task parameter in the first computing task message sent by the client can be converted into a identifiable one that can perform calculation on the cloud computing platform. The corresponding task parameter of the unified format.
步骤103,将任务和第二任务参数,发送至第一云计算平台,以使第一云计算平台根据第二任务参数,对任务进行处理。Step 103: Send the task and the second task parameter to the first cloud computing platform, so that the first cloud computing platform processes the task according to the second task parameter.
代理层将第一任务参数转换为第一云计算平台可识别的对应格式的第二任务参数以后,可以将待处理的任务和第二任务参数发送至第一云计算平台,使得第一云计算平台可以根据第二任务参数中包括的具体的任务内容或者操作内容,例如查询的具体内容、更新具体的业务内容等,对待处理的任务进行处理。After the proxy layer converts the first task parameter into the second task parameter of the corresponding format recognizable by the first cloud computing platform, the task to be processed and the second task parameter may be sent to the first cloud computing platform, so that the first cloud computing The platform may process the task to be processed according to the specific task content or the operation content included in the second task parameter, such as the specific content of the query, the update of the specific business content, and the like.
本申请实施例提供的任务处理方法,应用于混合云系统的代理层组件中,代理层接收第一计算任务消息,并将第一计算任务消息中包括的第一任务参数转换为第一云计算平台可识别的对应格式的第二任务参数,以便第一云计算平台能够识别;将任务和第二任务参数,发送至第一云计算平台,以使第一云计算平台根据第二任务参数,对任务进行处理,通过引入代理层组件,将计算任务的任务参数转换成能够在对应的云计算平台上进行计算的任务参数,以使云计算平台通过代理层的转换后处理任务,本申请实施例提供的方法,引入代理层设计,在客户端配置一个接口与多个云计算平台进行对接,在混合云系统中实现在不同的云计算平台上处理任务,可以提高混合云系统的管理和使用效率。The task processing method provided in the embodiment of the present application is applied to the proxy layer component of the hybrid cloud system, and the proxy layer receives the first computing task message, and converts the first task parameter included in the first computing task message into the first cloud computing. a second task parameter of the corresponding format that can be identified by the platform, so that the first cloud computing platform can identify; send the task and the second task parameter to the first cloud computing platform, so that the first cloud computing platform is configured according to the second task parameter. The task is processed, and the task parameters of the computing task are converted into task parameters that can be calculated on the corresponding cloud computing platform by introducing the agent layer component, so that the cloud computing platform passes the post-conversion processing task of the agent layer, and the application is implemented. The method provided by the example introduces the agent layer design, configures an interface on the client to connect with multiple cloud computing platforms, and implements tasks on different cloud computing platforms in the hybrid cloud system, which can improve the management and use of the hybrid cloud system. effectiveness.
作为本申请又一种具体实施方式,结合上述实施例,在步骤102中的将第 一任务参数转换为云计算平台可识别的对应格式的第二任务参数中,如图3所示,包括如下步骤:As another specific implementation manner of the present application, in combination with the foregoing embodiment, the first task parameter in step 102 is converted into a second task parameter of a corresponding format recognizable by the cloud computing platform, as shown in FIG. 3, including the following step:
步骤1021,将第一任务参数进行解析。In step 1021, the first task parameter is parsed.
代理层接收第一计算任务消息之后,可以首先将第一计算任务消息中包含的第一任务参数进行解析。在实际应用中,第一任务参数可以包括与用户约定的参数,例如云计算平台名称和区域名称等,在将第一任务参数转换为第一云计算平台可识别的对应格式的第二任务参数之前,需要将第一任务参数进行解析,解析出第一任务参数中包括的云计算平台名称,例如大数据平台、物理机平台、网络平台等,还可以包括区域名称等,区域名称可以为根据用户的实际需求而提交的参数。After receiving the first computing task message, the proxy layer may first parse the first task parameter included in the first computing task message. In an actual application, the first task parameter may include a parameter agreed with the user, such as a cloud computing platform name and a region name, etc., in converting the first task parameter into a second task parameter of a corresponding format recognizable by the first cloud computing platform. Before, the first task parameter needs to be parsed, and the cloud computing platform name included in the first task parameter is parsed, for example, a big data platform, a physical machine platform, a network platform, etc., and the area name may be included, and the area name may be based on Parameters submitted by the user's actual needs.
步骤1022,将解析后的第一任务参数转换为第一云计算平台可识别的对应格式的第二任务参数。Step 1022: Convert the parsed first task parameter into a second task parameter of a corresponding format recognizable by the first cloud computing platform.
代理层在将第一任务参数解析以后,根据解析后得到的第一任务参数,其中可以包括云计算平台名称、区域名称、具体的操作任务等,将解析后的第一任务参数转换为第一云计算平台可识别的对应格式的第二任务参数。第二任务参数中包括的内容可以与第一任务参数相同,但第二任务参数的格式为第一云计算平台可识别的对应格式,以便根据第二任务参数和预设的路由规则,映射到相应的云计算平台上,使得第一云计算平台可以执行该任务。After the first task parameter is parsed, the proxy layer may convert the first task parameter into the first task according to the first task parameter obtained after the parsing, which may include a cloud computing platform name, an area name, a specific operation task, and the like. The second task parameter of the corresponding format recognizable by the cloud computing platform. The content included in the second task parameter may be the same as the first task parameter, but the format of the second task parameter is a corresponding format recognizable by the first cloud computing platform, so as to be mapped according to the second task parameter and the preset routing rule. On the corresponding cloud computing platform, the first cloud computing platform can perform the task.
本实施例中,代理层在接收到第一计算任务消息之后,先将其中包括的第一任务参数进行解析,是为了保证将第一任务参数中包括的与用户约定的参数,例如云计算平台和区域名称等都转换成第一云计算平台可识别的对应格式的第二任务参数,使得第一云计算平台能够处理该任务。In this embodiment, after receiving the first computing task message, the proxy layer first parses the first task parameter included therein, so as to ensure that the parameters agreed with the user included in the first task parameter, such as a cloud computing platform, are ensured. And the area name and the like are converted into the second task parameter of the corresponding format recognizable by the first cloud computing platform, so that the first cloud computing platform can process the task.
作为本申请另一个具体的实施例,结合上述实施例,图4为步骤102中根据第一计算任务消息确定任务的类型之后的流程图,包括:As another specific embodiment of the present application, in combination with the foregoing embodiment, FIG. 4 is a flowchart after determining the type of the task according to the first computing task message in step 102, including:
步骤1023,根据第一计算任务消息确定任务的类型。Step 1023: Determine the type of the task according to the first computing task message.
步骤10231,当任务的类型为预设类型时,将第一任务参数转换为第一云计算平台可识别的对应格式的第二任务参数。Step 10231: When the type of the task is a preset type, convert the first task parameter into a second task parameter of a corresponding format recognizable by the first cloud computing platform.
步骤10232,当任务的类型不是预设类型时,根据预设的数据库,对任务进行处理。Step 10232: When the type of the task is not a preset type, the task is processed according to a preset database.
在确定了任务的类型以后,判断任务的类型是否为预设类型,当任务的类型不是预设类型时,根据预设的数据库,对任务进行处理。预设的数据库位于混合云系统中私有云和公有云平台的底层,预设的数据库中包含了各个云平台的资源信息和数据,当任务的类型不是预设类型时,例如为读取任务时,则直接在预设的数据库中读取数据,对任务进行处理,而不需要将第一任务参数转换为第一云计算平台可识别的对应格式的第二任务参数。After the type of the task is determined, it is determined whether the type of the task is a preset type. When the type of the task is not a preset type, the task is processed according to a preset database. The preset database is located on the bottom layer of the private cloud and the public cloud platform in the hybrid cloud system. The preset database contains resource information and data of each cloud platform. When the type of the task is not a preset type, for example, when the task is read. The data is directly read in the preset database, and the task is processed without converting the first task parameter into the second task parameter of the corresponding format recognizable by the first cloud computing platform.
本实施例中,在第一计算任务消息的任务类型不是预设类型的任务类型时,例如,第一计算任务消息的任务类型为读取数据操作,不需要将第一任务参数转换为第一云计算平台可识别的对应格式的第二任务参数,而是直接在预设的数据库中读取数据,提高了混合云系统的工作效率。In this embodiment, when the task type of the first computing task message is not the preset type of task type, for example, the task type of the first computing task message is a read data operation, and the first task parameter does not need to be converted into the first task parameter. The cloud computing platform can recognize the second task parameter of the corresponding format, but directly reads the data in the preset database, thereby improving the working efficiency of the hybrid cloud system.
作为本申请实施例的一个具体的实施例,结合上述实施例,上述实施例中还包括的方法为:通过虚拟专用网对预设的数据库进行周期性更新。预设的数据库中包含了各个云平台的资源信息和数据,由于各个云平台的资源信息和数据是随着时间不断更新的,引入同步层设计,通过同步层对预设的数据库进行同步更新,同步层为各个云平台的底层组件,同步层可以将各个云平台的资源信息整合到预设的数据库中,同步层还可以将各个云平台的资源信息和数据整合成统一格式的数据。As a specific embodiment of the embodiment of the present application, in combination with the foregoing embodiment, the foregoing method further includes: periodically updating a preset database by using a virtual private network. The preset database contains the resource information and data of each cloud platform. Since the resource information and data of each cloud platform are updated over time, the synchronization layer design is introduced, and the preset database is synchronously updated through the synchronization layer. The synchronization layer is the underlying component of each cloud platform. The synchronization layer can integrate the resource information of each cloud platform into a preset database, and the synchronization layer can also integrate the resource information and data of each cloud platform into a unified format data.
例如,在基础资源如虚拟机、磁盘上数据格式基本相同,不需要整合成统一格式,直接同步到预设的数据库中即可。但是在部分属性不一样的基础资源上,需要将资源信息和数据整合成统一格式的数据,并更新到对应组件的数据库中;由于在网络和对象的存储上差异较大,数据库的结构改变较大,所以预设的数据库的结构类型需要设计成兼容的。For example, the data formats on basic resources such as virtual machines and disks are basically the same, and do not need to be integrated into a unified format, and can be directly synchronized to a preset database. However, in some basic resources with different attributes, it is necessary to integrate the resource information and data into a unified format data and update it to the database of the corresponding component; due to the large difference in the storage of the network and the object, the structure of the database changes. Large, so the default database structure type needs to be designed to be compatible.
为了避免频繁的读取各个云平台的资源信息,可以将同步过程设定为定时、周期性地执行同步过程,同步层可以实现通过各个云平台各自的驱动层定时读取对应的各类资源信息;将读取的资源信息按照资源类型完成资源格式的序列化;将序列化后的资源类型标记来源后,存储在预设的数据库内,并且通过引入同步层,本申请实施例提供的方法可在分布式节点同时运行,通过水平扩展来支持不同的云平台。同步层可以通过虚拟专用网对预设的数据库进行周期性更新,利用定时及周期性地同步的方式,在特定的时间段内 通过虚拟专用网完成同步及更新过程,并且在所有时段内,预设的数据库内的资源信息和数据都能被读取。In order to avoid frequent reading of resource information of each cloud platform, the synchronization process may be set to periodically and periodically perform a synchronization process, and the synchronization layer may periodically read corresponding resource information through respective driving layers of each cloud platform. The method for providing the resource information according to the resource type is serialized according to the resource type; after the serialized resource type is marked as a source, it is stored in a preset database, and the method provided by the embodiment of the present application can be Run on distributed nodes at the same time, support different cloud platforms through horizontal expansion. The synchronization layer can periodically update the preset database through the virtual private network, and use the timing and periodic synchronization to complete the synchronization and update process through the virtual private network in a specific time period, and in all time periods, The resource information and data in the database can be read.
作为本申请再一个具体的实施例,步骤101的接收第一计算任务消息之后的方法如图5所示,还包括如下步骤:As a specific embodiment of the present application, the method after receiving the first computing task message in step 101 is as shown in FIG. 5, and further includes the following steps:
步骤104,判断第一计算任务消息是否为预设规范格式的任务消息。Step 104: Determine whether the first computing task message is a task message in a preset specification format.
代理层在接收到第一计算任务消息后,判断是否为预设规范格式的任务消息,预设规范格式的任务消息是具有规范格式的、代理层能够直接读取的任务消息,代理层可以直接读取该第一计算任务消息得到待处理的任务、任务对应的任务参数以及任务对应的第一云计算平台的标识信息。After receiving the first computing task message, the agent layer determines whether it is a task message of a preset specification format. The task message of the preset specification format is a task message with a canonical format that can be directly read by the agent layer, and the agent layer can directly The first computing task message is read to obtain the task to be processed, the task parameter corresponding to the task, and the identification information of the first cloud computing platform corresponding to the task.
步骤105,当第一计算任务消息不是预设规范格式的任务消息时,将第一计算任务消息转化为预设规范格式的任务消息。Step 105: When the first computing task message is not a task message in a preset specification format, the first computing task message is converted into a task message in a preset specification format.
当判断得到第一计算任务消息不是预设规范格式的任务消息时,将第一计算任务消息转化为预设规范格式的任务消息。本申请实施例为了向代理层提供更加便捷与统一的预设规范格式的任务消息,将所要计算处理的任务进行抽象,转化为预设规范格式的任务消息,可以包括:统一规范任务执行的运算规则;统一规范抽象数据类型;统一规范分布式抽象数据类型到另一个抽象数据类型的转换方式,其中,数据转换格式可以包括:一对一转换map、过滤转换filter或者多对一转换reduce过程等。When it is determined that the first computing task message is not a task message in a preset specification format, the first computing task message is converted into a task message in a preset specification format. In order to provide a task message with a more convenient and unified preset specification format to the proxy layer, the embodiment of the present application abstracts the task to be calculated and processed into a task message of a preset specification format, which may include: a unified specification task execution operation Rules; unified specification of abstract data types; unified standardization of distributed abstract data types to another abstract data type conversion method, wherein the data conversion format may include: one-to-one conversion map, filter conversion filter or many-to-one conversion reduce process, etc. .
本实施例中,代理层通过将第一计算任务消息转化为预设规范格式的任务消息,可以更加方便快捷的得到待处理的任务、任务对应的任务参数以及任务对应的第一云计算平台的标识信息。In this embodiment, the proxy layer converts the first computing task message into a task message in a preset specification format, so that the task to be processed, the task parameter corresponding to the task, and the first cloud computing platform corresponding to the task can be obtained more conveniently and quickly. Identification information.
本申请实施例还提供了一种任务处理装置,该装置的结构示意图如图6所示,包括:The embodiment of the present application further provides a task processing device. The schematic structural diagram of the device is as shown in FIG.
接收模块601,设置为接收第一计算任务消息,其中,第一计算任务消息包括:待处理的任务、任务对应的任务参数以及任务对应的第一云计算平台的标识信息;The receiving module 601 is configured to receive the first computing task message, where the first computing task message includes: a task to be processed, a task parameter corresponding to the task, and identifier information of the first cloud computing platform corresponding to the task;
转换模块602,设置为根据第一计算任务消息确定任务的类型,当任务的类型为预设类型时,将第一任务参数转换为第一云计算平台可识别的对应格式的第二任务参数;The conversion module 602 is configured to determine a type of the task according to the first computing task message, and when the type of the task is a preset type, convert the first task parameter into a second task parameter of a corresponding format recognizable by the first cloud computing platform;
发送模块603,设置为将任务和第二任务参数,发送至第一云计算平台,以使第一云计算平台根据第二任务参数,对任务进行处理。The sending module 603 is configured to send the task and the second task parameter to the first cloud computing platform, so that the first cloud computing platform processes the task according to the second task parameter.
本申请实施例提供的任务处理装置,接收第一计算任务消息,并将第一计算任务消息中包括的第一任务参数转换为第一云计算平台可识别的对应格式的第二任务参数,以便第一云计算平台能够识别;将任务和第二任务参数,发送至第一云计算平台,以使第一云计算平台根据第二任务参数,对任务进行处理,通过引入代理层组件,将计算任务的任务参数转换成能够在对应的云计算平台上进行计算的任务参数,以使云计算平台通过代理层的转换后处理任务,本申请实施例提供的方法,引入代理层设计,在客户端配置一个接口与多个云计算平台进行对接,在混合云系统中实现在不同的云计算平台上处理任务,可以提高混合云系统的管理和使用效率。本申请实施例中,转换模块602的结构图示意图,如图7所示,包括:The task processing apparatus provided by the embodiment of the present application receives the first computing task message, and converts the first task parameter included in the first computing task message into a second task parameter of a corresponding format recognizable by the first cloud computing platform, so that The first cloud computing platform is capable of identifying; sending the task and the second task parameter to the first cloud computing platform, so that the first cloud computing platform processes the task according to the second task parameter, and by calculating the agent layer component, the computing The task parameters of the task are converted into task parameters that can be calculated on the corresponding cloud computing platform, so that the cloud computing platform passes the post-conversion processing task of the proxy layer, and the method provided by the embodiment of the present application introduces the proxy layer design on the client side. Configuring an interface to interface with multiple cloud computing platforms, and processing tasks on different cloud computing platforms in a hybrid cloud system can improve the management and usage efficiency of the hybrid cloud system. In the embodiment of the present application, a schematic diagram of the structure of the conversion module 602, as shown in FIG. 7, includes:
解析子模块6021,设置为将第一任务参数进行解析;The parsing submodule 6021 is configured to parse the first task parameter;
第一转换子模块6022,设置为将解析子模块6021解析后的第一任务参数转换为第一云计算平台可识别的对应格式的第二任务参数。The first conversion sub-module 6022 is configured to convert the first task parameter parsed by the parsing sub-module 6021 into a second task parameter of a corresponding format recognizable by the first cloud computing platform.
在本申请实施例中,如图8所示,该装置还可以包括:In the embodiment of the present application, as shown in FIG. 8, the device may further include:
处理模块604,设置为当转换模块602确定任务的类型不是预设类型时,根据预设的数据库,对任务进行处理。The processing module 604 is configured to process the task according to the preset database when the conversion module 602 determines that the type of the task is not the preset type.
在本申请实施例中,该装置还可以包括:In this embodiment of the present application, the apparatus may further include:
更新模块,设置为通过虚拟专用网对所述预设的数据库进行周期性更新。The update module is configured to periodically update the preset database through a virtual private network.
在本申请实施例中,如图9所示,该装置还可以包括:In the embodiment of the present application, as shown in FIG. 9, the device may further include:
判断模块605,设置为判断第一计算任务消息是否为预设规范格式的任务消息;The determining module 605 is configured to determine whether the first computing task message is a task message in a preset specification format;
转化模块606,设置为当判断模块605判断出第一计算任务消息不是预设规范格式的任务消息时,将第一计算任务消息转化为预设规范格式的任务消息。The conversion module 606 is configured to convert the first computing task message into a task message of a preset specification format when the determining module 605 determines that the first computing task message is not a task message of a preset specification format.
需要说明的是,上述装置可以位于混合云系统的代理层组件中,但并不限于此。It should be noted that the above device may be located in the proxy layer component of the hybrid cloud system, but is not limited thereto.
需要说明的是,上述装置中的各个模块可以是位于同一个处理器中,也 可以位于不同的处理器中,并不限定。It should be noted that each module in the foregoing apparatus may be located in the same processor or in different processors, and is not limited.
本申请实施例还提供了一种任务处理系统,如图10所示,包括:代理层组件1001、第一云计算平台1002,The embodiment of the present application further provides a task processing system, as shown in FIG. 10, including: a proxy layer component 1001, a first cloud computing platform 1002,
代理层组件1001,设置为接收第一计算任务消息,其中,第一计算任务消息包括:待处理的任务、任务对应的任务参数以及任务对应的第一云计算平台1002的标识信息,根据第一计算任务消息确定任务的类型,当任务的类型为预设类型时,将第一任务参数转换为第一云计算平台1002可以识别的对应格式的第二任务参数,将任务和第二任务参数,发送至第一云计算平台1002;The proxy layer component 1001 is configured to receive the first computing task message, where the first computing task message includes: a task to be processed, a task parameter corresponding to the task, and identifier information of the first cloud computing platform 1002 corresponding to the task, according to the first The computing task message determines the type of the task. When the type of the task is a preset type, the first task parameter is converted into a second task parameter of the corresponding format that the first cloud computing platform 1002 can identify, and the task and the second task parameter are Send to the first cloud computing platform 1002;
第一云计算平台1002,设置为接收代理层组件1001发送的任务和第二任务参数,并根据第二任务参数,对任务进行处理。The first cloud computing platform 1002 is configured to receive the task and the second task parameter sent by the agent layer component 1001, and process the task according to the second task parameter.
本申请实施例提供的任务处理系统,包括代理层组件和第一云计算平台,代理层组件1001接收第一计算任务消息,并将第一计算任务消息中包括的第一任务参数转换为第一云计算平台可识别的对应格式的第二任务参数,以便第一云计算平台能够识别;将任务和第二任务参数,发送至第一云计算平台,第一云计算平台根据第二任务参数,对任务进行处理,通过引入代理层组件,将计算任务的任务参数转换成能够在对应的云计算平台上进行计算的任务参数,以使云计算平台通过代理层的转换后处理任务,本申请实施例提供的方法,引入代理层设计,在客户端配置一个接口与多个云计算平台进行对接,在混合云系统中实现在不同的云计算平台上处理任务,可以提高混合云系统的管理和使用效率。The task processing system provided by the embodiment of the present application includes a proxy layer component and a first cloud computing platform, and the proxy layer component 1001 receives the first computing task message, and converts the first task parameter included in the first computing task message into the first The second task parameter of the corresponding format can be identified by the cloud computing platform, so that the first cloud computing platform can identify; the task and the second task parameter are sent to the first cloud computing platform, and the first cloud computing platform is configured according to the second task parameter. The task is processed, and the task parameters of the computing task are converted into task parameters that can be calculated on the corresponding cloud computing platform by introducing the agent layer component, so that the cloud computing platform passes the post-conversion processing task of the agent layer, and the application is implemented. The method provided by the example introduces the agent layer design, configures an interface on the client to connect with multiple cloud computing platforms, and implements tasks on different cloud computing platforms in the hybrid cloud system, which can improve the management and use of the hybrid cloud system. effectiveness.
在本申请实施例中,代理层组件1001,设置为将第一任务参数进行解析;将解析后的第一任务参数转换为云计算平台对应格式的第二任务参数。In the embodiment of the present application, the proxy layer component 1001 is configured to parse the first task parameter, and convert the parsed first task parameter into a second task parameter corresponding to the cloud computing platform.
在本申请实施例中,代理层组件1001,还设置为当任务的类型不是预设类型时,根据预设的数据库,对任务进行处理。In the embodiment of the present application, the proxy layer component 1001 is further configured to process the task according to a preset database when the type of the task is not a preset type.
在本申请实施例中,代理层组件1001,还设置为通过虚拟专用网对预设的数据库进行周期性更新。In the embodiment of the present application, the proxy layer component 1001 is further configured to periodically update a preset database through a virtual private network.
在本申请实施例中,代理层组件1001,还设置为判断第一计算任务消息是否为预设规范格式的任务消息;当第一计算任务消息不是预设规范格式的任务消息时,将第一计算任务消息转化为预设规范格式的任务消息。In the embodiment of the present application, the proxy layer component 1001 is further configured to determine whether the first computing task message is a task message of a preset specification format; when the first computing task message is not a task message of a preset specification format, the first The task message is converted into a task message in a preset canonical format.
在本申请实施例中,第一云计算平台1002,设置为根据第二任务参数和预设的数据库,对任务进行处理。In the embodiment of the present application, the first cloud computing platform 1002 is configured to process the task according to the second task parameter and a preset database.
下面通过一个具体实例来对本申请实施例进行简单说明。图11为本申请实施例在实际混合云系统中的架构图,包括:代理层组件1101、网络平台1102、计算平台1103、存储平台1104、大数据平台1105、镜像平台1106、物理机平台1107、共有功能模块1108、共有功能查询模块1109、独立功能模块1110、公有云域名1111和私有云各服务节点1112。The embodiment of the present application will be briefly described below by way of a specific example. 11 is an architectural diagram of an embodiment of the present application in an actual hybrid cloud system, including: a proxy layer component 1101, a network platform 1102, a computing platform 1103, a storage platform 1104, a big data platform 1105, a mirroring platform 1106, a physical machine platform 1107, The shared function module 1108, the shared function query module 1109, the independent function module 1110, the public cloud domain name 1111, and the private cloud service node 1112.
代理层组件1101,设置为接收标记云平台的请求数据。The proxy layer component 1101 is configured to receive request data of the tag cloud platform.
代理层组件1101接收客户端标记云平台的请求数据,其中,标记云平台的请求数据中可以包括:待处理的任务、任务对应的任务参数以及任务对应的云平台的标识信息。待处理的任务可以为查询、创建、更新、删除等可以在云计算平台上进行的操作任务;待处理的任务对应的任务参数为具体的任务内容,例如当待处理的任务为查询时,那么待处理的任务对应的任务参数为查询的具体内容,可以为查询用户账号、查询业务数据等;当待处理的任务为更新时,那么待处理的任务对应的任务参数可以为更新具体的业务内容、更新地址等;当待处理的任务为删除时,待处理的任务对应的任务参数可以为删除的具体内容以及删除的地址等。代理层通过待处理的任务和任务对应的任务参数可以确定在云平台上可以进行的具体操作,待处理的任务对应的云平台的标识信息为用户选择的、即代理层组件1101接收到的处理任务的唯一的云平台,就是处理任务的云平台。The proxy layer component 1101 receives the request data of the client tag cloud platform, where the request data of the tag cloud platform may include: a task to be processed, a task parameter corresponding to the task, and identifier information of the cloud platform corresponding to the task. The task to be processed may be an operation task that can be performed on the cloud computing platform, such as query, creation, update, and deletion; the task parameter corresponding to the task to be processed is a specific task content, for example, when the task to be processed is a query, then The task parameter corresponding to the task to be processed is the specific content of the query, and may be a query for the user account, querying the service data, etc.; when the task to be processed is updated, the task parameter corresponding to the task to be processed may be to update the specific service content. When the task to be processed is deleted, the task parameters corresponding to the task to be processed may be the specific content to be deleted and the deleted address. The proxy layer can determine the specific operations that can be performed on the cloud platform by using the task parameters corresponding to the task to be processed and the task. The identifier information of the cloud platform corresponding to the task to be processed is the processing selected by the user, that is, the processing received by the proxy layer component 1101. The only cloud platform for the task is the cloud platform that handles the task.
代理层组件1101接收标记云平台的请求数据之后,根据请求数据中包括的任务参数,将任务参数转化为云平台对应的任务参数,本申请实施例中提供了6种类型的云平台,实际应用中,还可以包括其他种类的云平台。当请求数据中包括的标记云平台为其中一种时,例如为计算云平台1103时,则代理层组件1101需要将任务参数转化为计算云平台1103对应的任务参数;为大数据云平台1105时,则代理层组件1101需要将任务参数转化为大数据云平台1105对应的任务参数,其他种类的云计算平台同理。After receiving the request data of the tag cloud platform, the agent layer component 1101 converts the task parameters into the task parameters corresponding to the cloud platform according to the task parameters included in the request data. In the embodiment of the present application, six types of cloud platforms are provided, and the actual application is provided. Other types of cloud platforms can also be included. When the tag cloud platform included in the request data is one of the types, for example, the cloud platform 1103 is calculated, the agent layer component 1101 needs to convert the task parameters into task parameters corresponding to the computing cloud platform 1103; for the big data cloud platform 1105 The proxy layer component 1101 needs to convert the task parameters into task parameters corresponding to the big data cloud platform 1105, and other types of cloud computing platforms are similar.
共有功能模块1108包括公有云和私有云计算平台,共有功能查询模块1109包括公有云和私有云计算平台,独立功能模块1110包括公有云和私有云计 算平台;The shared function module 1108 includes a public cloud and a private cloud computing platform, the shared function query module 1109 includes a public cloud and a private cloud computing platform, and the independent function module 1110 includes a public cloud and a private cloud computing platform;
代理层组件1101根据请求数据中包含的不同任务类型,将请求数据和转化后的任务参数发送到不同的模块中,共有功能模块1108、共有功能查询模块1109以及独立功能模块1110都包括公有云和私有云计算平台,但是每个模块的功能不相同,其中,共有功能模块1108可以包括创建、更新、删除任务;共有功能查询模块1109为查询任务;独立功能模块1110为公有云和私有云计算平台的独立功能查询任务。根据不同的任务类型,代理层组件1101会将请求数据和转化后的任务参数转发到不同的功能模块中的不同云计算平台上。The proxy layer component 1101 sends the request data and the converted task parameters to different modules according to different task types included in the request data, and the shared function module 1108, the shared function query module 1109, and the independent function module 1110 all include a public cloud and The private cloud computing platform, but the function of each module is different, wherein the shared function module 1108 can include a create, update, and delete task; the shared function query module 1109 is a query task; the independent function module 1110 is a public cloud and a private cloud computing platform. Independent function query task. Depending on the type of task, the agent layer component 1101 forwards the request data and the transformed task parameters to different cloud computing platforms in different functional modules.
公有云域名1111为针对上述三个不同功能模块中的公有云配置的域名,可以通过同步层进行同步定时的更新。The public cloud domain name 1111 is a domain name configured for the public cloud in the above three different functional modules, and the synchronization timing can be updated through the synchronization layer.
私有云各服务节点1112为针对上述三个不同功能模块中的私有云配置的各服务节点,可以通过同步层进行同步定时的更新。The private cloud service nodes 1112 are service nodes configured for private clouds in the above three different functional modules, and the synchronization timing can be updated through the synchronization layer.
其中,公有云域名1111和私有云各服务节点1112都可以通过采集预设的数据中的数据得到。The public cloud domain name 1111 and the private cloud service node 1112 can be obtained by collecting data in preset data.
本申请实施例还提供了一种电子设备,如图12所示,包括处理器1201、机器可读存储介质1202,机器可读存储介质1202存储有能够被处理器1201执行的机器可执行指令,所述处理器1201执行所述机器可执行指令时,实现上述任务处理步骤,比如如下步骤:The embodiment of the present application further provides an electronic device, as shown in FIG. 12, including a processor 1201 and a machine readable storage medium 1202. The machine readable storage medium 1202 stores machine executable instructions executable by the processor 1201. When the processor 1201 executes the machine executable instructions, the foregoing task processing steps are implemented, such as the following steps:
接收第一计算任务消息,其中,第一计算任务消息包括:待处理的任务、任务对应的任务参数以及任务对应的第一云计算平台的标识信息;Receiving a first computing task message, where the first computing task message includes: a task to be processed, a task parameter corresponding to the task, and identifier information of the first cloud computing platform corresponding to the task;
根据第一计算任务消息确定任务的类型,当任务的类型为预设类型时,将第一任务参数转换为第一云计算平台可识别的对应格式的第二任务参数;Determining, according to the first computing task message, a type of the task, when the type of the task is a preset type, converting the first task parameter into a second task parameter of a corresponding format recognizable by the first cloud computing platform;
将任务和第二任务参数,发送至第一云计算平台,以使第一云计算平台根据第二任务参数,对任务进行处理。Sending the task and the second task parameter to the first cloud computing platform, so that the first cloud computing platform processes the task according to the second task parameter.
本申请实施例提供的电子设备,代理层接收第一计算任务消息,并将第一计算任务消息中包括的第一任务参数转换为第一云计算平台可识别的对应格式的第二任务参数,以便第一云计算平台能够识别;将任务和第二任务参 数,发送至第一云计算平台,以使第一云计算平台根据第二任务参数,对任务进行处理,通过引入代理层组件,将计算任务的任务参数转换成能够在对应的云计算平台上进行计算的任务参数,以使云计算平台通过代理层的转换后处理任务,本申请实施例提供的方法,引入代理层设计,在客户端配置一个接口与多个云计算平台进行对接,在混合云系统中实现在不同的云计算平台上处理任务,可以提高混合云系统的管理和使用效率。In the electronic device provided by the embodiment of the present application, the agent layer receives the first computing task message, and converts the first task parameter included in the first computing task message into a second task parameter of a corresponding format recognizable by the first cloud computing platform. So that the first cloud computing platform can identify; send the task and the second task parameter to the first cloud computing platform, so that the first cloud computing platform processes the task according to the second task parameter, and by introducing the agent layer component, The task parameters of the computing task are converted into task parameters that can be calculated on the corresponding cloud computing platform, so that the cloud computing platform passes the post-conversion processing task of the agent layer, and the method provided by the embodiment of the present application introduces the agent layer design in the client. The interface is configured to interface with multiple cloud computing platforms, and the tasks are processed on different cloud computing platforms in the hybrid cloud system, which can improve the management and usage efficiency of the hybrid cloud system.
本申请实施例提供了一种计算机可读存储介质,计算机可读存储介质内存储有计算机程序,计算机程序被处理器执行时实现上述任务处理步骤,比如可以执行如下提供的任务处理方法步骤:The embodiment of the present application provides a computer readable storage medium. The computer readable storage medium stores a computer program. When the computer program is executed by the processor, the task processing steps are implemented. For example, the task processing method steps provided as follows:
接收第一计算任务消息,其中,第一计算任务消息包括:待处理的任务、任务对应的任务参数以及任务对应的第一云计算平台的标识信息;Receiving a first computing task message, where the first computing task message includes: a task to be processed, a task parameter corresponding to the task, and identifier information of the first cloud computing platform corresponding to the task;
根据第一计算任务消息确定任务的类型,当任务的类型为预设类型时,将第一任务参数转换为第一云计算平台可识别的对应格式的第二任务参数;Determining, according to the first computing task message, a type of the task, when the type of the task is a preset type, converting the first task parameter into a second task parameter of a corresponding format recognizable by the first cloud computing platform;
将任务和第二任务参数,发送至第一云计算平台,以使第一云计算平台根据第二任务参数,对任务进行处理。Sending the task and the second task parameter to the first cloud computing platform, so that the first cloud computing platform processes the task according to the second task parameter.
本申请实施例提供的计算机可读存储介质,应用于混合云系统的代理层组件中,代理层接收第一计算任务消息,并将第一计算任务消息中包括的第一任务参数转换为第一云计算平台可识别的对应格式的第二任务参数,以便第一云计算平台能够识别;将任务和第二任务参数,发送至第一云计算平台,以使第一云计算平台根据第二任务参数,对任务进行处理,通过引入代理层组件,将计算任务的任务参数转换成能够在对应的云计算平台上进行计算的任务参数,以使云计算平台通过代理层的转换后处理任务,本申请实施例提供的方法,引入代理层设计,在客户端配置一个接口与多个云计算平台进行对接,在混合云系统中实现在不同的云计算平台上处理任务,可以提高混合云系统的管理和使用效率。The computer readable storage medium provided by the embodiment of the present application is applied to a proxy layer component of a hybrid cloud system, and the proxy layer receives the first computing task message, and converts the first task parameter included in the first computing task message into the first a second task parameter of the corresponding format recognizable by the cloud computing platform, so that the first cloud computing platform can identify; sending the task and the second task parameter to the first cloud computing platform, so that the first cloud computing platform is configured according to the second task The parameter is used to process the task, and by introducing the agent layer component, the task parameter of the computing task is converted into a task parameter that can be calculated on the corresponding cloud computing platform, so that the cloud computing platform passes the post-conversion processing task of the agent layer. Applying the method provided by the embodiment, introducing a proxy layer design, configuring an interface on the client to connect with multiple cloud computing platforms, and implementing tasks on different cloud computing platforms in the hybrid cloud system can improve the management of the hybrid cloud system. And use efficiency.
需要说明的是,上述机器可读存储介质1202与上述计算机可读存储介质可以相同,也可以不同,但并不限于此。上述机器可执行指令可以是计算机程序整体,也可以认为是计算机程序中的一部分,但并不限于此。It should be noted that the above-mentioned machine readable storage medium 1202 may be the same as or different from the above-mentioned computer readable storage medium, but is not limited thereto. The above machine executable instructions may be a computer program as a whole or may be considered as part of a computer program, but are not limited thereto.
本申请实施例还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述任务处理方法,比如可以执行如下提供的任务处理方法:The embodiment of the present application further provides a computer program product including instructions, when it is run on a computer, causing the computer to execute the above task processing method, for example, the task processing method provided as follows:
接收第一计算任务消息,其中,第一计算任务消息包括:待处理的任务、任务对应的任务参数以及任务对应的第一云计算平台的标识信息;Receiving a first computing task message, where the first computing task message includes: a task to be processed, a task parameter corresponding to the task, and identifier information of the first cloud computing platform corresponding to the task;
根据第一计算任务消息确定任务的类型,当任务的类型为预设类型时,将第一任务参数转换为第一云计算平台可识别的对应格式的第二任务参数;Determining, according to the first computing task message, a type of the task, when the type of the task is a preset type, converting the first task parameter into a second task parameter of a corresponding format recognizable by the first cloud computing platform;
将任务和第二任务参数,发送至第一云计算平台,以使第一云计算平台根据第二任务参数,对任务进行处理。Sending the task and the second task parameter to the first cloud computing platform, so that the first cloud computing platform processes the task according to the second task parameter.
本申请实施例提供的包含指令的计算机程序产品,应用于混合云系统的代理层组件中,代理层接收第一计算任务消息,并将第一计算任务消息中包括的第一任务参数转换为第一云计算平台可识别的对应格式的第二任务参数,以便第一云计算平台能够识别;将任务和第二任务参数,发送至第一云计算平台,以使第一云计算平台根据第二任务参数,对任务进行处理,通过引入代理层组件,将计算任务的任务参数转换成能够在对应的云计算平台上进行计算的任务参数,以使云计算平台通过代理层的转换后处理任务,本申请实施例提供的方法,引入代理层设计,在客户端配置一个接口与多个云计算平台进行对接,在混合云系统中实现在不同的云计算平台上处理任务,可以提高混合云系统的管理和使用效率。The computer program product including the instruction provided in the embodiment of the present application is applied to a proxy layer component of the hybrid cloud system, and the proxy layer receives the first computing task message, and converts the first task parameter included in the first computing task message into the first task parameter. a second task parameter of a corresponding format recognizable by the cloud computing platform, so that the first cloud computing platform can identify; sending the task and the second task parameter to the first cloud computing platform, so that the first cloud computing platform is configured according to the second The task parameter, the task is processed, and the task parameter of the computing task is converted into a task parameter that can be calculated on the corresponding cloud computing platform by introducing the agent layer component, so that the cloud computing platform processes the task through the proxy layer. The method provided by the embodiment of the present application introduces a proxy layer design, and configures an interface on the client to connect with multiple cloud computing platforms, and implements tasks on different cloud computing platforms in the hybrid cloud system, thereby improving the hybrid cloud system. Management and use efficiency.
本申请实施例还提供了一种计算机程序,当其在计算机上运行时,使得计算机执行上述任务处理方法,比如可以执行如下提供的任务处理方法:The embodiment of the present application further provides a computer program, when it is run on a computer, causing the computer to execute the above task processing method, for example, the task processing method provided as follows:
接收第一计算任务消息,其中,第一计算任务消息包括:待处理的任务、任务对应的任务参数以及任务对应的第一云计算平台的标识信息;Receiving a first computing task message, where the first computing task message includes: a task to be processed, a task parameter corresponding to the task, and identifier information of the first cloud computing platform corresponding to the task;
根据第一计算任务消息确定任务的类型,当任务的类型为预设类型时,将第一任务参数转换为第一云计算平台可识别的对应格式的第二任务参数;Determining, according to the first computing task message, a type of the task, when the type of the task is a preset type, converting the first task parameter into a second task parameter of a corresponding format recognizable by the first cloud computing platform;
将任务和第二任务参数,发送至第一云计算平台,以使第一云计算平台根据第二任务参数,对任务进行处理。Sending the task and the second task parameter to the first cloud computing platform, so that the first cloud computing platform processes the task according to the second task parameter.
本申请实施例提供的计算机程序,应用于混合云系统的代理层组件中,代理层接收第一计算任务消息,并将第一计算任务消息中包括的第一任务参数转换为第一云计算平台可识别的对应格式的第二任务参数,以便第一云计算平台能够识别;将任务和第二任务参数,发送至第一云计算平台,以使第一云计算平台根据第二任务参数,对任务进行处理,通过引入代理层组件,将计算任务的任务参数转换成能够在对应的云计算平台上进行计算的任务参数,以使云计算平台通过代理层的转换后处理任务,本申请实施例提供的方法,引入代理层设计,在客户端配置一个接口与多个云计算平台进行对接,在混合云系统中实现在不同的云计算平台上处理任务,可以提高混合云系统的管理和使用效率。The computer program provided in the embodiment of the present application is applied to the proxy layer component of the hybrid cloud system, and the proxy layer receives the first computing task message, and converts the first task parameter included in the first computing task message into the first cloud computing platform. Identifying a second task parameter of the corresponding format, so that the first cloud computing platform can identify; sending the task and the second task parameter to the first cloud computing platform, so that the first cloud computing platform is configured according to the second task parameter The task is processed, and the task parameters of the computing task are converted into task parameters that can be calculated on the corresponding cloud computing platform by using the agent layer component, so that the cloud computing platform can perform the post-conversion processing task of the proxy layer. The provided method introduces the agent layer design, configures an interface on the client to connect with multiple cloud computing platforms, and implements tasks on different cloud computing platforms in the hybrid cloud system, which can improve the management and use efficiency of the hybrid cloud system. .
上述的处理器可以是通用处理器,包括中央处理器(Central Processing Unit,CPU)、网络处理器(Network Processor,NP)等;还可以是数字信号处理器(Digital Signal Processing,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。The above processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; or may be a digital signal processing (DSP), dedicated integration. Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component.
需要说明的是,本申请实施例提供的装置、系统、电子设备、存储介质、计算机程序产品、计算机程序分别是应用上述任务处理方法的装置、系统、电子设备、存储介质、计算机程序产品、计算机程序,则上述任务处理方法的所有实施例均适用于该装置、系统、电子设备、存储介质、计算机程序产品、计算机程序,且均能达到相同或相似的有益效果。It should be noted that the device, the system, the electronic device, the storage medium, the computer program product, and the computer program provided by the embodiments of the present application are respectively the device, the system, the electronic device, the storage medium, the computer program product, and the computer that apply the above task processing method. The program, then all the embodiments of the above task processing method are applicable to the device, system, electronic device, storage medium, computer program product, computer program, and all achieve the same or similar beneficial effects.
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that, in this context, relational terms such as first and second are used merely to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply these entities or operations. There is any such actual relationship or order between them. Furthermore, the term "comprises" or "comprises" or "comprises" or any other variations thereof is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device that comprises a plurality of elements includes not only those elements but also Other elements, or elements that are inherent to such a process, method, item, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
本说明书中的各个实施例均采用相关的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。The various embodiments in the present specification are described in a related manner, and the same or similar parts between the various embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
以上所述仅为本申请的较佳实施例而已,并不用以限制本申请,凡在本申请的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本申请保护的范围之内。The above is only the preferred embodiment of the present application, and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc., which are made within the spirit and principles of the present application, should be included in the present application. Within the scope of protection.
工业实用性Industrial applicability
基于本申请实施例提供的一种任务处理方法、装置、电子设备及存储介质,通过引入代理层组件,将计算任务的任务参数转换成能够在对应的云计算平台上进行计算的任务参数,以使云计算平台通过代理层的转换后处理任务,本申请实施例提供的方法,引入代理层设计,在客户端配置一个接口与多个云计算平台进行对接,在混合云系统中实现在不同的云计算平台上处理任务,可以提高混合云系统的管理和使用效率。The task processing method, the device, the electronic device, and the storage medium provided by the embodiment of the present application convert the task parameters of the computing task into task parameters that can be calculated on the corresponding cloud computing platform by introducing a proxy layer component. The method provided by the embodiment of the present application introduces a proxy layer design, and configures an interface to connect with multiple cloud computing platforms on the client, and implements different in the hybrid cloud system. Processing tasks on the cloud computing platform can improve the management and usage efficiency of the hybrid cloud system.

Claims (20)

  1. 一种任务处理方法,其中,应用于混合云系统的代理层组件中,所述方法包括:A task processing method, wherein the method is applied to a proxy layer component of a hybrid cloud system, the method comprising:
    接收第一计算任务消息,其中,所述第一计算任务消息包括:待处理的任务、所述任务对应的第一任务参数以及所述任务对应的第一云计算平台的标识信息;Receiving a first computing task message, where the first computing task message includes: a task to be processed, a first task parameter corresponding to the task, and identifier information of the first cloud computing platform corresponding to the task;
    根据所述第一计算任务消息确定所述任务的类型,当所述任务的类型为预设类型时,将所述第一任务参数转换为所述第一云计算平台可识别的对应格式的第二任务参数;Determining, according to the first computing task message, a type of the task, when the type of the task is a preset type, converting the first task parameter into a corresponding format that is identifiable by the first cloud computing platform Two task parameters;
    将所述任务和所述第二任务参数,发送至所述第一云计算平台,以使所述第一云计算平台根据所述第二任务参数,对所述任务进行处理。And sending the task and the second task parameter to the first cloud computing platform, so that the first cloud computing platform processes the task according to the second task parameter.
  2. 根据权利要求1所述的方法,其中,所述将所述第一任务参数转换为所述云计算平台对应格式的第二任务参数,包括:The method of claim 1, wherein the converting the first task parameter to the second task parameter of the cloud computing platform corresponding format comprises:
    将所述第一任务参数进行解析;Parsing the first task parameter;
    将解析后的第一任务参数转换为所述第一云计算平台可识别的对应格式的第二任务参数。Converting the parsed first task parameter into a second task parameter of a corresponding format recognizable by the first cloud computing platform.
  3. 根据权利要求1所述的方法,其中,在所述根据所述第一计算任务消息确定所述任务的类型之后,所述方法还包括:The method of claim 1, wherein after the determining the type of the task according to the first computing task message, the method further comprises:
    当所述任务的类型不是预设类型时,根据预设的数据库,对所述任务进行处理。When the type of the task is not a preset type, the task is processed according to a preset database.
  4. 根据权利要求3所述的方法,其中,所述方法还包括:The method of claim 3, wherein the method further comprises:
    通过虚拟专用网对所述预设的数据库进行周期性更新。The preset database is periodically updated through a virtual private network.
  5. 根据权利要求1所述的方法,其中,在所述接收第一计算任务消息之后,所述方法还包括:The method of claim 1, wherein after the receiving the first computing task message, the method further comprises:
    判断所述第一计算任务消息是否为预设规范格式的任务消息;Determining whether the first computing task message is a task message in a preset specification format;
    当所述第一计算任务消息不是预设规范格式的任务消息时,将所述第一计算任务消息转化为所述预设规范格式的任务消息。And when the first computing task message is not a task message of a preset specification format, converting the first computing task message into a task message of the preset specification format.
  6. 一种任务处理装置,其中,所述装置包括:A task processing device, wherein the device comprises:
    接收模块,设置为接收第一计算任务消息,其中,所述第一计算任务消 息包括:待处理的任务、所述任务对应的第一任务参数以及所述任务对应的第一云计算平台的标识信息;The receiving module is configured to receive the first computing task message, where the first computing task message includes: a task to be processed, a first task parameter corresponding to the task, and an identifier of the first cloud computing platform corresponding to the task information;
    转换模块,设置为根据所述第一计算任务消息确定所述任务的类型,当所述任务的类型为预设类型时,将所述第一任务参数转换为所述第一云计算平台可识别的对应格式的第二任务参数;a conversion module, configured to determine a type of the task according to the first computing task message, and when the type of the task is a preset type, converting the first task parameter into the first cloud computing platform The second task parameter of the corresponding format;
    发送模块,设置为将所述任务和所述第二任务参数,发送至所述第一云计算平台,以使所述第一云计算平台根据所述第二任务参数,对所述任务进行处理。a sending module, configured to send the task and the second task parameter to the first cloud computing platform, so that the first cloud computing platform processes the task according to the second task parameter .
  7. 根据权利要求6所述的装置,其中,所述转换模块,包括:The apparatus of claim 6, wherein the conversion module comprises:
    解析子模块,设置为将所述第一任务参数进行解析;Parsing a submodule, configured to parse the first task parameter;
    第一转换子模块,设置为将所述解析子模块解析后的第一任务参数转换为所述第一云计算平台可识别的对应格式的第二任务参数。The first conversion submodule is configured to convert the first task parameter parsed by the parsing submodule into a second task parameter of a corresponding format recognizable by the first cloud computing platform.
  8. 根据权利要求6所述的装置,其中,所述装置还包括:The apparatus of claim 6 wherein said apparatus further comprises:
    处理模块,设置为当所述转换模块确定所述任务的类型不是预设类型时,根据预设的数据库,对所述任务进行处理。The processing module is configured to: when the conversion module determines that the type of the task is not a preset type, process the task according to a preset database.
  9. 根据权利要求8所述的装置,其中,所述装置还包括:The apparatus of claim 8 wherein said apparatus further comprises:
    更新模块,设置为通过虚拟专用网对所述预设的数据库进行周期性更新。The update module is configured to periodically update the preset database through a virtual private network.
  10. 根据权利要求6所述的装置,其中,所述装置还包括:The apparatus of claim 6 wherein said apparatus further comprises:
    判断模块,设置为判断所述第一计算任务消息是否为预设规范格式的任务消息;a determining module, configured to determine whether the first computing task message is a task message in a preset specification format;
    转化模块,设置为当所述判断模块判断出第一计算任务消息不是预设规范格式的任务消息时,将所述第一计算任务消息转化为所述预设规范格式的任务消息。The conversion module is configured to convert the first computing task message into the task message of the preset specification format when the determining module determines that the first computing task message is not a task message of a preset specification format.
  11. 一种任务处理系统,其中,所述系统包括:代理层组件、第一云计算平台,A task processing system, wherein the system comprises: a proxy layer component, a first cloud computing platform,
    所述代理层组件,设置为接收第一计算任务消息,其中,所述第一计算任务消息包括:待处理的任务、所述任务对应的第一任务参数以及所述任务对应的第一云计算平台的标识信息,根据所述第一计算任务消息确定所述任务的类型,当所述任务的类型为预设类型时,将所述第一任务参数转换为所 述第一云计算平台可识别的对应格式的第二任务参数,将所述任务和所述第二任务参数,发送至所述第一云计算平台;The proxy layer component is configured to receive a first computing task message, where the first computing task message includes: a task to be processed, a first task parameter corresponding to the task, and a first cloud computing corresponding to the task The identifier information of the platform is determined according to the first computing task message, and when the type of the task is a preset type, the first task parameter is converted into the first cloud computing platform. a second task parameter of the corresponding format, sending the task and the second task parameter to the first cloud computing platform;
    所述第一云计算平台,设置为接收所述代理层组件发送的所述任务和所述第二任务参数,并根据所述第二任务参数,对所述任务进行处理。The first cloud computing platform is configured to receive the task and the second task parameter sent by the proxy layer component, and process the task according to the second task parameter.
  12. 根据权利要求11所述的系统,其中,所述代理层组件,具体设置为将所述第一任务参数进行解析;将解析后的第一任务参数转换为所述第一云计算平台可识别的对应格式的第二任务参数。The system of claim 11, wherein the proxy layer component is specifically configured to parse the first task parameter; convert the parsed first task parameter into a identifiable by the first cloud computing platform The second task parameter of the corresponding format.
  13. 根据权利要求11所述的系统,其中,所述代理层组件,还设置为当所述任务的类型不是预设类型时,根据预设的数据库,对所述任务进行处理。The system of claim 11, wherein the proxy layer component is further configured to process the task according to a preset database when the type of the task is not a preset type.
  14. 根据权利要求13所述的系统,其中,所述代理层组件,还设置为通过虚拟专用网对所述预设的数据库进行周期性更新。The system of claim 13 wherein said proxy layer component is further configured to periodically update said predetermined database via a virtual private network.
  15. 根据权利要求11所述的系统,其中,所述代理层组件,还设置为判断所述第一计算任务消息是否为预设规范格式的任务消息;The system according to claim 11, wherein the proxy layer component is further configured to determine whether the first computing task message is a task message in a preset specification format;
    当所述第一计算任务消息不是预设规范格式的任务消息时,将所述第一计算任务消息转化为所述预设规范格式的任务消息。And when the first computing task message is not a task message of a preset specification format, converting the first computing task message into a task message of the preset specification format.
  16. 根据权利要求13所述的系统,其中,所述第一云计算平台,具体设置为根据所述第二任务参数和预设的数据库,对所述任务进行处理。The system of claim 13, wherein the first cloud computing platform is specifically configured to process the task according to the second task parameter and a preset database.
  17. 一种电子设备,其中,包括处理器和机器可读存储介质,所述机器可读存储介质存储有能够被所述处理器执行的机器可执行指令,所述处理器执行所述机器可执行指令时,实现权利要求1-5任一所述的方法步骤。An electronic device, comprising a processor and a machine readable storage medium, the machine readable storage medium storing machine executable instructions executable by the processor, the processor executing the machine executable instructions The method steps of any of claims 1-5 are achieved.
  18. 一种计算机可读存储介质,其中,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1-5任一所述的方法步骤。A computer readable storage medium, wherein the computer readable storage medium stores a computer program, the computer program being executed by a processor to implement the method steps of any of claims 1-5.
  19. 一种包含指令的计算机程序产品,其中,所述包含指令的计算机程序产品在计算机上运行时,使得计算机执行权利要求1-5任一项所述的方法步骤。A computer program product comprising instructions, wherein the computer program product comprising instructions, when run on a computer, causes the computer to perform the method steps of any of claims 1-5.
  20. 一种计算机程序,其中,所述计算机程序在计算机上运行时,使得计算机执行权利要求1-5任一项所述的方法步骤。A computer program, wherein the computer program, when run on a computer, causes the computer to perform the method steps of any of claims 1-5.
PCT/CN2018/106413 2017-09-22 2018-09-19 Task processing method and apparatus, electronic device, and storage medium WO2019057055A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710865239.9 2017-09-22
CN201710865239.9A CN109547514A (en) 2017-09-22 2017-09-22 A kind of task processing method, device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2019057055A1 true WO2019057055A1 (en) 2019-03-28

Family

ID=65809517

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/106413 WO2019057055A1 (en) 2017-09-22 2018-09-19 Task processing method and apparatus, electronic device, and storage medium

Country Status (2)

Country Link
CN (1) CN109547514A (en)
WO (1) WO2019057055A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114819925A (en) * 2022-06-29 2022-07-29 成都秦川物联网科技股份有限公司 Industrial Internet of things based on event sequence analysis and prediction and control method thereof

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110134461B (en) * 2019-04-09 2021-08-06 苏宁易购集团股份有限公司 Universal processing method and device for data interaction
CN110298784A (en) * 2019-06-27 2019-10-01 北京金山安全软件有限公司 Data conversion method and device and electronic equipment
CN110825632B (en) * 2019-11-01 2023-10-03 北京金山云网络技术有限公司 Cloud computing resource metering data testing method, system and device and electronic equipment
CN112929293A (en) * 2019-12-05 2021-06-08 金色熊猫有限公司 Task execution method, device, equipment, platform and medium
CN111786886B (en) * 2020-06-30 2022-09-06 京东科技控股股份有限公司 Message processing method, device and system, electronic equipment and storage medium
CN112052103A (en) * 2020-08-09 2020-12-08 中信银行股份有限公司 Task processing method and device and storage medium
CN112887129B (en) * 2021-01-15 2023-07-25 杭州安恒信息技术股份有限公司 Specification configuration method, system and related device of cloud security product
CN113505073A (en) * 2021-07-15 2021-10-15 北京金山云网络技术有限公司 Database performance test method, device, equipment and medium
CN117221022B (en) * 2023-10-30 2024-02-20 天讯瑞达通信技术有限公司 Management system for realizing hybrid cloud nanotubes based on OpenAPI

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102255933A (en) * 2010-05-20 2011-11-23 中兴通讯股份有限公司 Cloud service medium, cloud computing method and cloud system
CN103051710A (en) * 2012-12-20 2013-04-17 中国科学院深圳先进技术研究院 Virtual cloud platform management system and method
CN103092670A (en) * 2011-11-02 2013-05-08 佳都新太科技股份有限公司 Cross-platform virtual computing resource management method under cloud computing environment
CN106648674A (en) * 2016-12-28 2017-05-10 北京奇艺世纪科技有限公司 Big data computing management method and system
US20170163492A1 (en) * 2015-12-04 2017-06-08 Vmware, Inc. Branching application-release-management pipelines with inter-pipeline dependencies

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9781205B2 (en) * 2011-09-12 2017-10-03 Microsoft Technology Licensing, Llc Coordination engine for cloud selection
US10225164B2 (en) * 2012-09-07 2019-03-05 Oracle International Corporation System and method for providing a cloud computing environment
CN106790455B (en) * 2016-12-08 2019-07-26 中国科学院软件研究所 A kind of distributed cloud management system and method based on mixed mode

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102255933A (en) * 2010-05-20 2011-11-23 中兴通讯股份有限公司 Cloud service medium, cloud computing method and cloud system
CN103092670A (en) * 2011-11-02 2013-05-08 佳都新太科技股份有限公司 Cross-platform virtual computing resource management method under cloud computing environment
CN103051710A (en) * 2012-12-20 2013-04-17 中国科学院深圳先进技术研究院 Virtual cloud platform management system and method
US20170163492A1 (en) * 2015-12-04 2017-06-08 Vmware, Inc. Branching application-release-management pipelines with inter-pipeline dependencies
CN106648674A (en) * 2016-12-28 2017-05-10 北京奇艺世纪科技有限公司 Big data computing management method and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114819925A (en) * 2022-06-29 2022-07-29 成都秦川物联网科技股份有限公司 Industrial Internet of things based on event sequence analysis and prediction and control method thereof
CN114819925B (en) * 2022-06-29 2022-10-11 成都秦川物联网科技股份有限公司 Industrial Internet of things system based on event sequence analysis and prediction and control method thereof
US11754999B1 (en) 2022-06-29 2023-09-12 Chengdu Qinchuan Iot Technology Co., Ltd. Industrial internet of things based on event sequence analysis and prediction, prediction method, and storage medium thereof

Also Published As

Publication number Publication date
CN109547514A (en) 2019-03-29

Similar Documents

Publication Publication Date Title
WO2019057055A1 (en) Task processing method and apparatus, electronic device, and storage medium
WO2021017301A1 (en) Management method and apparatus based on kubernetes cluster, and computer-readable storage medium
CN107947961B (en) SDN-based Kubernetes network management system and method
US11582106B2 (en) Automatic discovery of cloud-based infrastructure and resources
US9229759B2 (en) Virtual machine provisioning using replicated containers
WO2018024059A1 (en) Method and device for service deployment in virtualized network
US20170134278A1 (en) Independent network interfaces for virtual network environments
WO2017113201A1 (en) Network service lifecycle management method and device
CN111290865A (en) Service calling method and device, electronic equipment and storage medium
US9378039B2 (en) Virtual machine storage replication schemes
US20170364540A1 (en) Normalized searchable cloud layer
WO2018119601A1 (en) Data conversion method and back-up server
US9514244B2 (en) Dynamic assignment of business logic based on schema mapping metadata
US9021478B1 (en) Provisioning virtual machines from template by splitting and building index for locating content portions via content-centric network
US9591079B2 (en) Method and apparatus for managing sessions of different websites
CN111277432A (en) Configuration information updating method and device, electronic equipment and storage medium
CN113301116A (en) Cross-network communication method, device, system and equipment for microservice application
US8543680B2 (en) Migrating device management between object managers
US10785056B1 (en) Sharing a subnet of a logically isolated network between client accounts of a provider network
WO2018188607A1 (en) Stream processing method and device
US11601495B2 (en) Mechanism for a work node scan process to facilitate cluster scaling
US10587725B2 (en) Enabling a traditional language platform to participate in a Java enterprise computing environment
WO2021232860A1 (en) Communication method, apparatus and system
US20240211304A1 (en) Systems and methods for migration planning, assessment, and launch
US11522799B1 (en) Dynamically managed data traffic workflows

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18858911

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18858911

Country of ref document: EP

Kind code of ref document: A1