CN113886043B - Simulation task scheduling system for comprehensively deploying public cloud and private cloud - Google Patents

Simulation task scheduling system for comprehensively deploying public cloud and private cloud Download PDF

Info

Publication number
CN113886043B
CN113886043B CN202111151451.1A CN202111151451A CN113886043B CN 113886043 B CN113886043 B CN 113886043B CN 202111151451 A CN202111151451 A CN 202111151451A CN 113886043 B CN113886043 B CN 113886043B
Authority
CN
China
Prior art keywords
cloud
instruction
task
data
cloud platform
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN202111151451.1A
Other languages
Chinese (zh)
Other versions
CN113886043A (en
Inventor
王忆晨
徐逸文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qingzhou Zhihang Technology Co ltd
Original Assignee
Beijing Qingzhou Zhihang Technology Co ltd
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 Beijing Qingzhou Zhihang Technology Co ltd filed Critical Beijing Qingzhou Zhihang Technology Co ltd
Priority to CN202111151451.1A priority Critical patent/CN113886043B/en
Publication of CN113886043A publication Critical patent/CN113886043A/en
Application granted granted Critical
Publication of CN113886043B publication Critical patent/CN113886043B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention relates to a simulation task scheduling system for comprehensively deploying public cloud and private cloud, which comprises the following steps: the system comprises a first user terminal, a first SDK module, a first workflow server terminal, a first resource allocation server terminal, a first cloud transfer server terminal, a first public cloud cluster and a first private cloud cluster. The system provided by the invention can reduce the network construction cost and the test operation and maintenance cost of the automatic driving system, can reduce the operation pressure of the core workflow service end, and improves the deployment flexibility of the simulation task.

Description

Simulation task scheduling system for comprehensively deploying public cloud and private cloud
Technical Field
The invention relates to the technical field of data processing, in particular to a simulation task scheduling system for comprehensively deploying public cloud and private cloud.
Background
When the automatic driving system is subjected to simulation test, different computing resources are required to be allocated to the tested module according to the simulation task of the tested module. For example, for simulation tasks for testing motion planning modules, most only need to allocate CPU computing resources for them; and for the simulation task for testing the positioning or sensing module, GPU computing resources are allocated to the simulation task. The existing simulation task computing resource allocation or scheduling scheme is mainly based on a task scheduling system like Kubernetes, and corresponding task execution equipment and computing resources are allocated to each simulation task by setting node labels for the respective test tasks. However, in this processing manner, all computing resources need to be integrated into the same internal network or the same private cloud platform for overall scheduling, so that the limitation brought is that each company can only build a huge internal network system or private cloud platform by itself, and therefore, the test operation and maintenance cost is always high.
Disclosure of Invention
The invention aims at overcoming the defects of the prior art and provides a simulation task scheduling system for comprehensively deploying public cloud and private cloud. The system uses a first user terminal to butt-joint test users of different operating systems; using a first SDK module to complete data docking from different versions of user terminals to a first workflow server terminal; using a first workflow server to distribute platforms and schedule instructions for each simulation task initiated by a first user; and using the first cloud switching server to dock with the sustainable expansion first private cloud cluster and the sustainable expansion first public cloud cluster, and performing specific platform computing resource (equipment resource) allocation and scheduling instruction execution on the simulation task which is allocated by the completed platform. According to the system provided by the invention, a well-established public cloud platform of an external provider is introduced, and public cloud and private cloud test resources are comprehensively managed, so that the network construction cost and the test operation and maintenance cost of an automatic driving system can be greatly reduced; in addition, when specific task resource allocation is carried out on each simulation task, the two-stage task resource allocation mechanism (the first workflow server end completes the first-stage platform allocation, the first cloud switching server end completes the second-stage equipment allocation) used by the system can greatly reduce the operation pressure of the core workflow server end and improve the deployment flexibility of the simulation tasks.
In order to achieve the above object, an embodiment of the present invention provides a simulation task scheduling system for comprehensively deploying public cloud and private cloud, the system including: the system comprises a first user terminal, a first SDK module, a first workflow server terminal, a first resource allocation server terminal, a first cloud transfer server terminal, a first public cloud cluster and a first private cloud cluster;
The first user terminal is connected with the first SDK module; the first client comprises a first version client of a plurality of versions; the first version user is used for adapting to a corresponding first operating system; the simulation task scheduling instruction data input by a user through the first operating system is obtained, and first instruction data is generated; and sending the first instruction data to the first SDK module; and receiving first instruction return data returned from the first SDK module; displaying the first instruction return data to a user through the first operating system;
The first SDK module is connected with the first workflow server; the first SDK module comprises a plurality of first SDK interfaces; the first SDK interface is used for adapting to the corresponding first version user terminal; receiving the first instruction data sent from the first version user terminal; the first instruction data is sent to the first workflow server; receiving the first instruction return data returned from the first workflow server;
The first workflow server is connected with the first resource allocation server and the first cloud switching server; the first workflow server is used for receiving the first instruction data sent from the first SDK interface; when the first instruction data belongs to a cloud resource deployment instruction set, calling the first resource configuration server and the first cloud switching server to execute a cloud resource deployment processing flow corresponding to the first instruction data to generate corresponding first instruction return data; when the first instruction data belongs to a simulation task deployment instruction set, calling the first resource configuration server and the first cloud switching server to execute a simulation task deployment processing flow corresponding to the first instruction data to generate corresponding first instruction return data; when the first instruction data belongs to a simulation task scheduling instruction set, calling the first resource allocation server and the first cloud switching server to execute a simulation task scheduling processing flow corresponding to the first instruction data to generate corresponding first instruction return data; returning the first instruction return data to the first SDK interface;
The first resource allocation server is used for providing a resource allocation service calling interface for the first workflow server; identifying instruction data received from the resource allocation service calling interface, and carrying out corresponding cloud platform resource task processing according to an identification result and a local overall resource list;
The first cloud switching server is respectively connected with each first public cloud of the first public cloud cluster and each first private cloud of the first private cloud cluster; the first cloud switching server comprises a plurality of first cloud platform interfaces; each first cloud platform interface is used for interfacing with a designated data access interface of the first public cloud or the first private cloud; the first cloud transfer server is used for providing a cloud transfer service calling interface for the first workflow server; identifying the instruction data received from the cloud transfer service calling interface, and carrying out corresponding cloud platform interface task processing according to the identification result;
the first public cloud cluster includes a plurality of the first public clouds; the first public cloud is specifically a cloud platform provided by a third party cloud service provider outside a user organization;
The first private cloud cluster includes a plurality of the first private clouds; the first private cloud is specifically a cloud platform provided by different internal networks inside a user organization.
Preferably, the first workflow server is specifically configured to identify a cloud resource deployment instruction for the first instruction data when the first workflow server calls the first resource configuration server and the first cloud switching server to execute a cloud resource deployment processing procedure corresponding to the first instruction data to generate the corresponding first instruction return data;
When the first instruction data is a cloud platform registration instruction of the cloud resource deployment instruction set, extracting a first registration cloud platform type, first registration cloud platform basic data, a first registration cloud platform resource list and a first registration cloud platform data access interface from the first instruction data; the first resource adding instruction data carrying the first registration cloud platform type, the first registration cloud platform basic data and the first registration cloud platform resource list is sent to the first resource configuration server through the resource configuration service calling interface, and first resource adding state data returned from the first resource configuration server is received; adding instruction data to a first interface carrying the first registration cloud platform basic data and the first registration cloud platform data access interface, sending the instruction data to the first cloud transfer server through the cloud transfer service call interface, and receiving first interface adding state data returned from the first cloud transfer server; if the first resource adding state data and the first interface adding state data are successful, the preset cloud platform registration success information is used as the first instruction return data; the first registration cloud platform type comprises a public cloud type and a private cloud type; the first registration cloud platform basic data at least comprises a first cloud platform name;
When the first instruction data is a cloud platform cancellation instruction of the cloud resource deployment instruction set, extracting a first cancellation cloud platform name from the first instruction data; the first resource deleting instruction data carrying the first cancellation cloud platform name is sent to the first resource configuration server through the resource configuration service calling interface, and first resource deleting state data returned from the first resource configuration server is received; the first interface deleting instruction data carrying the name of the first cancellation cloud platform is sent to the first cloud transfer server through the cloud transfer service calling interface, and first interface deleting state data returned from the first cloud transfer server is received; and if the first resource deletion state data and the first interface deletion state data are successful, returning the preset cloud platform cancellation success information as the first instruction return data.
Further, the first resource allocation server is specifically configured to identify instruction data received from the resource allocation service calling interface;
When the instruction data received from the resource allocation service calling interface is the first resource adding instruction data, performing corresponding cloud platform resource adding task processing on the overall resource list according to the first registration cloud platform type, the first registration cloud platform basic data and the first registration cloud platform resource list carried in the first resource adding instruction data; if the cloud platform resource adding task is successfully processed, returning the first resource adding state data which is specifically set to be successful to the first workflow server through the resource configuration service calling interface;
When the instruction data received from the resource allocation service calling interface is the first resource deletion instruction data, corresponding cloud platform resource deletion task processing is carried out on the overall resource list according to the first cancellation cloud platform name carried in the first resource deletion instruction data, and if the cloud platform resource deletion task processing is successful, the first resource deletion state data which is specifically set to be successful is returned to the first workflow server through the resource allocation service calling interface.
Further, the first cloud transfer server is specifically configured to identify instruction data received from the cloud transfer service call interface;
When the instruction data received from the cloud transfer service calling interface is the first interface adding instruction data, corresponding cloud platform interface newly-built task processing is carried out according to the first registered cloud platform basic data and the first registered cloud platform data access interface carried in the first interface adding instruction data, if the cloud platform interface newly-built task processing is successful, the first interface adding state data which is specifically set to be successful is returned to the first workflow server through the cloud transfer service calling interface;
When the instruction data received from the cloud transfer service calling interface is the first interface deleting instruction data, corresponding cloud platform interface deleting task processing is carried out according to the first cancellation cloud platform name carried in the first interface deleting instruction data, and if the cloud platform interface deleting task processing is successful, the first interface deleting state data which is specifically set to be successful is returned to the first workflow server through the cloud transfer service calling interface.
Preferably, the first workflow server is specifically configured to perform simulation task deployment instruction identification on the first instruction data when the first workflow server calls the first resource configuration server and the first cloud switching server to execute a simulation task deployment processing procedure corresponding to the first instruction data to generate corresponding first instruction return data;
when the first instruction data is a simulation task creation instruction of the simulation task deployment instruction set, a preset simulation task setting page is used as the first instruction return data;
when the first instruction data is a simulation task submitting instruction of the simulation task deployment instruction set, a first resource demand list and a first simulation task set are extracted from the first instruction data; the first resource allocation instruction data carrying the first resource demand list is sent to the first resource allocation server through the resource allocation service calling interface, and the first resource allocation list returned from the first resource allocation server is received; the first task deployment instruction data carrying the first resource allocation list and the first simulation task set is sent to the first cloud transfer server through the cloud transfer service calling interface, and the first task deployment list returned from the first cloud transfer server is received; distributing corresponding first task identification data for the simulation task set; the first task identification data, the first resource allocation list and the first task deployment list form corresponding first task workflow records and are stored in a preset workflow record table; and returning the first task identification data as the first instruction return data; the first resource demand list comprises resource demand information of each first simulation task in the first simulation task set; the first resource allocation list comprises cloud platform name information of shared cloud or private cloud allocated for each first simulation task; the first task deployment list comprises cloud platform name information and cloud platform equipment information of a shared cloud or a private cloud distributed for each first simulation task.
Further, the first resource allocation server is specifically configured to identify instruction data received from the resource allocation service calling interface;
When the instruction data received from the resource allocation service calling interface is the first resource allocation instruction data, carrying out corresponding matching cloud platform resource allocation task processing on the overall resource list according to the first resource demand list carried in the first resource allocation instruction data to obtain a first resource allocation list; and returning the first resource allocation list to the first workflow server through the resource allocation service calling interface.
Further, the first cloud transfer server is specifically configured to identify instruction data received from the cloud transfer service call interface;
When the instruction data received from the cloud transfer service calling interface is the first task deployment instruction data, polling the name information of each cloud platform of the first resource allocation list in the first task deployment instruction data; the currently polled cloud platform name information is used as first cloud platform information, the first cloud platform interface corresponding to the first cloud platform information is used as a first interface, a plurality of first simulation tasks corresponding to the first cloud platform information in the first simulation task set are recorded as a first platform simulation task set, and the first public cloud or the first private cloud corresponding to the first cloud platform information is recorded as a first cloud platform; the first interface is called to upload the first platform simulation task set to the first cloud platform to perform corresponding cloud platform equipment deployment processing, and a first platform task deployment list returned from the first cloud platform is received; all the obtained task deployment lists of the first platform are formed into a first task deployment list; returning the first task deployment list to the first workflow server through the cloud transfer service calling interface; the first platform task deployment list includes the first cloud platform information and cloud platform equipment information allocated by the first cloud platform to each first simulation task in the first platform simulation task set.
Preferably, the first workflow server is specifically configured to identify a simulation task scheduling instruction for the first instruction data when the first workflow server calls the first resource allocation server and the first cloud switching server to execute a simulation task scheduling processing procedure corresponding to the first instruction data to generate corresponding first instruction return data;
When the first instruction data is a simulation task operation/stop instruction of the simulation task scheduling instruction set, extracting task identification information from the first instruction data to serve as second task identification data, extracting task operation/stop state information to serve as first task execution state data, and extracting an operation/stop simulation task name set to serve as a first simulation task name set; extracting a first resource allocation list of a first task workflow record with first task identification data matched with the second task identification data from a preset workflow record table, and taking the first resource allocation list as a second resource allocation list; data filtering is carried out on the second resource allocation list, and only cloud platform name information matched with the first simulation task name set is reserved in the second resource allocation list; if the first task execution state data is operation state information, first simulation task operation instruction data carrying the first simulation task name set and the second resource allocation list after data filtering are sent to the first cloud transfer server through the cloud transfer service calling interface, first operation instruction state data returned by the first cloud transfer server is received, and if the first operation instruction state data is successful, preset simulation task operation success information is used as first instruction return data; if the first task execution state data is stop state information, first simulation task stop instruction data carrying the first simulation task name set and the second resource allocation list after data filtering are sent to the first cloud transfer server through the cloud transfer service calling interface, first stop instruction state data returned by the first cloud transfer server is received, and if the first stop instruction state data is successful, preset simulation task stop success information is used as first instruction return data;
When the first instruction data is a simulation task deleting instruction of the simulation task scheduling instruction set, extracting task identification information from the first instruction data to serve as third task identification data; extracting the first resource allocation list and the first task deployment list of the first task workflow record, which are matched with the first task identification data, from the workflow record table, and generating a corresponding third resource allocation list and second task deployment list; the first resource release instruction data carrying the third resource allocation list is sent to the first resource allocation server through the resource allocation service calling interface, and first release instruction return data returned from the first resource allocation server is received; the first simulation task cleaning instruction data carrying the second task deployment list is sent to the first cloud transfer server through the cloud transfer service calling interface, and first cleaning instruction return data returned from the first cloud transfer server is received; if the first release instruction state data and the first cleaning instruction return data are successful, deleting success information of a preset simulation task to serve as the first instruction return data;
When the first instruction data is a simulation task query instruction of the simulation task scheduling instruction set, extracting task identification information from the first instruction data to serve as fourth task identification data; extracting the first task deployment list of the first task workflow record matched with the first task identification data and the fourth task identification data from the workflow record table, and generating a corresponding third task deployment list; the first simulation task query instruction data carrying the third task deployment list is sent to the first cloud transfer server through the cloud transfer service calling interface, and a first task execution state list returned from the first cloud transfer server is received; and returning the first task execution state list as the first instruction to data.
Further, the first cloud transfer server is specifically configured to identify instruction data received from the cloud transfer service call interface;
When the instruction data received from the cloud transfer service calling interface is the first simulation task operation instruction data, polling the cloud platform name information of the second resource allocation list in the first simulation task operation instruction data; taking the currently polled cloud platform name information as second cloud platform information, taking the first cloud platform interface corresponding to the second cloud platform information as a second interface, marking a plurality of first simulation task names corresponding to the second cloud platform information in the first simulation task name set as a first platform simulation task name set, and marking the first public cloud or the first private cloud corresponding to the second cloud platform information as a second cloud platform; the second interface is called to upload the first platform simulation task name set to the second cloud platform to perform corresponding cloud platform simulation task execution processing, and first platform operation instruction state data returned from the second cloud platform is received; if all the obtained first platform running instruction state data are successful, returning the first running instruction state data set to be successful to the first workflow server through the cloud transfer service calling interface;
When the instruction data received from the cloud transfer service calling interface is the first simulation task stopping instruction data, polling the cloud platform name information of the second resource allocation list in the first simulation task stopping instruction data; taking the currently polled cloud platform name information as third cloud platform information, taking the first cloud platform interface corresponding to the third cloud platform information as a third interface, marking a plurality of first simulation task names corresponding to the third cloud platform information in the first simulation task name set as a second platform simulation task name set, and marking the first public cloud or the first private cloud corresponding to the third cloud platform information as a third cloud platform; the third interface is called to upload the second platform simulation task name set to the third cloud platform to perform corresponding cloud platform simulation task stopping processing, and first platform stopping instruction state data returned from the third cloud platform is received; if all the obtained first platform stop instruction state data are successful, returning the first stop instruction state data set to be successful to the first workflow server through the cloud transfer service calling interface;
when the instruction data received from the cloud transfer service calling interface is the first simulation task cleaning instruction data, polling the cloud platform name information of the second task deployment list in the first simulation task cleaning instruction data; taking the currently polled cloud platform name information as fourth cloud platform information, taking the first cloud platform interface corresponding to the fourth cloud platform information as a fourth interface, and recording the first public cloud or the first private cloud corresponding to the fourth cloud platform information as a fourth cloud platform; the fourth interface is called to upload the second task deployment list to the fourth cloud platform to carry out corresponding cloud platform simulation task cleaning processing, and first platform cleaning instruction state data returned from the fourth cloud platform is received; if all the obtained first platform cleaning instruction state data are successful, returning the first cleaning instruction return data set to be successful to the first workflow server through the cloud transfer service calling interface;
When the instruction data received from the cloud transfer service calling interface is the first simulation task query instruction data, polling the cloud platform name information of the third task deployment list in the first simulation task query instruction data; taking the currently polled cloud platform name information as fifth cloud platform information, taking the first cloud platform interface corresponding to the fifth cloud platform information as a fifth interface, and recording the first public cloud or the first private cloud corresponding to the fifth cloud platform information as a fifth cloud platform; the fifth interface is called to upload the third task deployment list to the fifth cloud platform to perform corresponding cloud platform simulation task state query processing, and a first platform task execution state list returned from the fifth cloud platform is received; returning the first task execution state list formed by all the obtained first platform task execution state lists to the first workflow server through the cloud transfer service calling interface; the first platform task execution state list comprises corresponding fifth cloud platform information and execution state information of each first simulation task corresponding to the third task deployment list, and the execution state information comprises unexecuted, stopped, executing success and executing failure.
Further, the first resource allocation server is specifically configured to identify instruction data received from the resource allocation service calling interface;
When the instruction data received from the resource allocation service calling interface is the first resource release instruction data, carrying out corresponding platform resource release operation on the overall resource list according to the third resource allocation list carried in the first resource release instruction data; and after the operation is successful, returning the first release instruction return data which is set to be successful to the first workflow server through the resource configuration service calling interface.
The embodiment of the invention provides a simulation task scheduling system for comprehensively deploying public cloud and private cloud, which comprises a first user end, a first SDK module, a first workflow server end, a first resource allocation server end, a first cloud switching server end, a first public cloud cluster and a first private cloud cluster. The system uses a first user terminal to butt-joint test users of different operating systems; using a first SDK module to complete data docking from different versions of user terminals to a first workflow server terminal; using a first workflow server to distribute platforms and schedule instructions for each simulation task initiated by a first user; and using the first cloud switching server to dock with the sustainable expansion first private cloud cluster and the sustainable expansion first public cloud cluster, and performing specific platform computing resource (equipment resource) allocation and scheduling instruction execution on the simulation task which is allocated by the completed platform. According to the system provided by the invention, a public cloud platform of an external provider with mature construction is introduced, and public cloud and private cloud test resources are comprehensively managed, so that the network construction cost and the test operation and maintenance cost of an automatic driving system are greatly reduced; in addition, when specific task resource allocation is carried out on each simulation task, a two-stage task resource allocation mechanism (a first workflow server side completes primary platform allocation and a first cloud switching server side completes secondary equipment allocation) used by the system greatly reduces the operation pressure of a core workflow server side and improves the deployment flexibility of the simulation tasks.
Drawings
Fig. 1 is a schematic structural diagram of a simulation task scheduling system for comprehensively deploying public cloud and private cloud according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail below with reference to the accompanying drawings, and it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The embodiment of the invention provides a simulation task scheduling system for comprehensively deploying public cloud and private cloud, as shown in a structural schematic diagram of the simulation task scheduling system for comprehensively deploying public cloud and private cloud provided by the embodiment of the invention in fig. 1, the system mainly comprises: the first client 11, the first SDK module 12, the first workflow server 13, the first resource allocation server 14, the first cloud transit server 15, the first public cloud cluster 16 and the first private cloud cluster 17.
1. First user terminal 11
The first user terminal 11 is connected with the first SDK module 12; the first client 11 includes a plurality of versions of a first version client 111; the first version client 111 is configured to adapt to a corresponding first operating system; the simulation task scheduling instruction data input by a user through a first operating system is obtained, and first instruction data is generated; and sends the first instruction data to the first SDK module 12; and receives first instruction return data returned from the first SDK module 12; and displaying the first instruction return data to the user through the first operating system.
Here, the first ue 11 is a user operation end provided by the present system to the test user, and because the device operation systems used by different user sides, that is, the first operation system, cannot be completely consistent, different versions of the ue, that is, the first version of the ue 111, are provided for different operation systems according to the embodiment of the present invention. Users using the system can be divided into at least two categories, administrator users and test users.
For an administrator user, the first user terminal 11 may provide an instruction set for cloud resource deployment to the user, where the instruction set for cloud resource deployment includes at least a cloud platform registration instruction and a cloud platform logout instruction. The cloud platform registration instruction is used for adding a new first public cloud 161 and/or a new first private cloud 171 in the first public cloud cluster 16 and/or the first private cloud cluster 17 of the system; the cloud platform logout instruction is used to logout the old first public cloud 161 and/or the first private cloud 171 in the first public cloud cluster 16 and/or the first private cloud cluster 17 of the system of the present invention. When the first instruction data input by the user is a cloud platform registration instruction, the obtained first instruction return data is return data reflecting whether the registration is successful or not; when the first instruction data input by the user is a cloud platform logout instruction, the obtained first instruction return data should be return data reflecting whether the logout is successful or not.
For the test user type, the first user terminal 11 provides the simulation task deployment instruction set for the user, where the simulation task deployment instruction set includes at least a simulation task creation instruction and a simulation task submission instruction. The simulation task creation instruction is used for providing a simulation task setting page for filling simulation task information (such as simulation task name information, simulation task code information, resource requirement information required for running a simulation task and the like) for a test user; the simulation task submitting instruction is used for uploading simulation task information filled in the simulation task setting page by a user to the first workflow server 13 to perform workflow processing related to task resource allocation and deployment. When first instruction data input by a user is a simulation task creation instruction, the obtained first instruction return data is a simulation task setting page for guiding the filling of simulation task information, and one or more specific simulation tasks can be submitted on the simulation task setting page to form a simulation task set; when the first instruction data input by the user is a simulation task submitting instruction, the obtained first instruction return data is task identification information distributed to the current task by the system.
For the test user type, the first user terminal 11 also provides a simulation task scheduling instruction set for the user, where the simulation task scheduling instruction set includes at least a simulation task running/stopping instruction, a simulation task deleting instruction, and a simulation task querying instruction. The simulation task running/stopping instruction is used for running and stopping the simulation task appointed by the user; the simulation task deleting instruction is used for deleting the task of the simulation task appointed by the user; the simulation task query instruction is used for performing task deletion operation on the simulation task appointed by the user. When the first instruction data input by the user is an operation/stop instruction of the simulation task, the obtained first instruction return data is the return data reflecting whether the task is successfully operated/stopped; when the first instruction data input by the user is a simulation task deleting instruction, the obtained first instruction return data is the return data reflecting whether the task is successfully deleted or not; when the first instruction data input by the user is the simulation task query instruction, the obtained first instruction return data should be the return data reflecting the task state query result.
2. First software development kit (Software Development Kit, SDK) module 12
The first SDK module 12 is connected with a first workflow server 13; the first SDK module 12 includes a plurality of first SDK interfaces 121; the first SDK interface 121 is configured to adapt to the corresponding first version client 111; and receives the first instruction data sent from the first version user terminal 111; and sends the first instruction data to the first workflow server 13; and receives first instruction return data returned from the first workflow server 13.
Here, the first SDK module 12 has multiple versions of the first SDK interface 121, and each version of the first SDK interface 121 may correspond to one or more first version clients 111, depending on the operating system corresponding to the first version client 111. The first SDK interface 121 performs data transfer between the corresponding first version client 111 and the first workflow server 13, and encapsulates and parses each instruction set instruction and corresponding instruction return data provided by the system of the present invention to the user.
3. First workflow Server 13
The first workflow server 13 is connected with a first resource allocation server 14 and a first cloud switching server 15; the first workflow server 13 is configured to receive first instruction data sent from the first SDK interface 121; when the first instruction data belongs to a cloud resource deployment instruction set, the first resource configuration server 14 and the first cloud switching server 15 are called to execute a cloud resource deployment processing flow corresponding to the first instruction data to generate corresponding first instruction return data; when the first instruction data belongs to the simulation task deployment instruction set, the first resource allocation server 14 and the first cloud switching server 15 are called to execute a simulation task deployment processing flow corresponding to the first instruction data to generate corresponding first instruction return data; when the first instruction data belongs to the simulation task scheduling instruction set, the first resource allocation server 14 and the first cloud switching server 15 are called to execute a simulation task scheduling processing flow corresponding to the first instruction data to generate corresponding first instruction return data; and returns the first instruction return data to the first SDK interface 121.
Here, the first workflow server 13 performs the identification operation of the belonging instruction set on the first instruction data received from the first SDK interface 121, if the identification result indicates that the current instruction belongs to the cloud resource deployment instruction set, the current first instruction data is an operation instruction sent by the administrator user to register/cancel the public cloud/private cloud resource, and further needs to call the first resource configuration server 14 and the first cloud transit server 15 to perform the registration/cancellation operation related to the public cloud/private cloud resource and return the operation result as the corresponding first instruction to the data; if the identification result shows that the current instruction belongs to the simulation task deployment instruction set, the current first instruction data is an operation instruction for creating/submitting the simulation task sent by the test user, and the first resource allocation server 14 and the first cloud switching server 15 are further required to be called to execute the operation related to creating and submitting the simulation task, and the operation result is used as the corresponding first instruction to return data; if the identification result shows that the current instruction belongs to the simulation task scheduling instruction set, the current first instruction data is an operation instruction which is sent by the test user and used for carrying out operation/stop/deletion/state query on the simulation task, and the first resource allocation server 14 and the first cloud switching server 15 are further required to be called to execute the operation related to the simulation task, and the operation result is used as corresponding first instruction return data; finally, the obtained first instruction return data is returned to the first SDK interface 121.
In a specific implementation manner provided by the embodiment of the present invention, the first workflow server 13 is specifically configured to identify a cloud resource deployment instruction for the first instruction data when the first resource configuration server 14 and the first cloud switching server 15 are invoked to execute a cloud resource deployment processing procedure corresponding to the first instruction data to generate corresponding first instruction return data;
here, after the first instruction data has been identified as belonging to the cloud resource deployment instruction set, the first workflow server 13 further performs internal instruction positioning of the cloud resource deployment instruction set thereon;
When the first instruction data is a cloud platform registration instruction of a cloud resource deployment instruction set, extracting a first registration cloud platform type, first registration cloud platform basic data, a first registration cloud platform resource list and a first registration cloud platform data access interface from the first instruction data; the first resource adding instruction data carrying the first registration cloud platform type, the first registration cloud platform basic data and the first registration cloud platform resource list is sent to the first resource allocation server 14 through the resource allocation service calling interface 141, and first resource adding state data returned from the first resource allocation server 14 is received; the first interface adding instruction data carrying the first registration cloud platform basic data and the first registration cloud platform data access interface is sent to the first cloud transfer server 15 through the cloud transfer service calling interface 152, and first interface adding state data returned from the first cloud transfer server 15 is received; if the first resource adding state data and the first interface adding state data are successful, returning the preset cloud platform registration success information as first instruction return data; the first registration cloud platform type comprises a public cloud type and a private cloud type; the first registration cloud platform basic data at least comprises a first cloud platform name;
Here, when the first instruction data is a cloud platform registration instruction of the cloud resource deployment instruction set, the first instruction data includes a first registration cloud platform type, first registration cloud platform basic data, a first registration cloud platform resource list and a first registration cloud platform data access interface, which are input by an administrator user; the first registration cloud platform type is used for identifying the cloud platform type (public cloud type and private cloud type) of the cloud platform registered at the time; the first registered cloud platform basic data is used for explaining basic information of the cloud platform registered at this time and can comprise a first cloud platform name for identifying platform name information; the first registration cloud platform data access interface is a data access interface provided by the registration cloud platform; the first workflow server 13 uses the first registered cloud platform type, the first registered cloud platform basic data and the first registered cloud platform resource list to form first resource adding instruction data, and activates the first resource configuration server 14 to execute corresponding cloud platform resource adding task processing by sending the first resource adding instruction data to the first resource configuration server 14, wherein a processing result is first resource adding state data; the first registered cloud platform basic data and the first registered cloud platform data access interface are used for forming first interface adding instruction data, the first cloud switching server 15 is activated to execute corresponding cloud platform interface newly-built task processing by sending the first interface adding instruction data to the first cloud switching server 15, and the processing result is first interface adding state data; if the cloud platform resource adding task processing and the cloud platform interface newly-built task processing are successful, the first workflow server 13 takes the preset cloud platform registration success information as the return data of the cloud platform registration instruction, namely the first instruction return data; if the cloud platform resource adding task processing fails or the cloud platform interface newly-built task processing fails, the first workflow server 13 performs state rollback on the first resource allocation server 14 or the first cloud switching server 15 which is successfully added to restore the state to the state before the adding, and uses preset cloud platform registration failure information as the return data of the cloud platform registration instruction, namely the first instruction return data;
When the first instruction data is a cloud platform cancellation instruction of the cloud resource deployment instruction set, extracting a first cancellation cloud platform name from the first instruction data; the first resource deletion instruction data carrying the first cancellation cloud platform name is sent to the first resource allocation server 14 through the resource allocation service calling interface 141, and first resource deletion state data returned from the first resource allocation server 14 is received; the first interface deleting instruction data carrying the name of the first cancellation cloud platform is sent to the first cloud transfer server 15 through the cloud transfer service calling interface 152, and first interface deleting state data returned from the first cloud transfer server 15 is received; if the first resource deletion state data and the first interface deletion state data are successful, the preset cloud platform cancellation success information is used as a first instruction to return data.
Here, when the first instruction data is a cloud platform cancellation instruction of the cloud resource deployment instruction set, the first instruction data includes cloud platform name information to be cancelled, that is, a first cancellation cloud platform name, input by an administrator user; the first workflow server 13 uses the first cancellation cloud platform name to form first resource deletion instruction data, and activates the first resource configuration server 14 to execute corresponding cloud platform resource deletion task processing by sending the first resource deletion instruction data to the first resource configuration server 14, wherein the processing result is first resource deletion state data; the first cancellation cloud platform name is used for forming first interface deletion instruction data, the first cloud transfer server 15 is activated to execute corresponding cloud platform interface deletion task processing by sending the first interface deletion instruction data to the first cloud transfer server 15, and the processing result is first interface deletion state data; if the cloud platform resource deletion task processing and the cloud platform interface deletion task processing are successful, the first workflow server 13 takes the preset cloud platform cancellation success information as the return data of the cloud platform cancellation instruction, namely the first instruction return data; if the cloud platform resource deletion task processing fails or the cloud platform interface deletion task processing fails, the first workflow server 13 performs state rollback on the first resource allocation server 14 or the first cloud switching server 15 that is successfully deleted to restore the state to the state before being deleted, and uses preset cloud platform cancellation failure information as return data of the cloud platform registration instruction, that is, return data of the first instruction.
In another specific implementation manner provided by the embodiment of the present invention, the first workflow server 13 is specifically configured to perform simulation task deployment instruction identification on the first instruction data when the first resource configuration server 14 and the first cloud switching server 15 are invoked to execute a simulation task deployment processing procedure corresponding to the first instruction data to generate corresponding first instruction return data;
Here, after the first instruction data has been identified as belonging to the simulation task deployment instruction set, the first workflow server 13 further performs internal instruction positioning of the simulation task deployment instruction set thereon;
When the first instruction data is a simulation task creation instruction of a simulation task deployment instruction set, a preset simulation task setting page is used as first instruction return data;
Here, when the first instruction data is a simulation task creation instruction of the simulation task deployment instruction set, the first workflow server 13 will return the locally preset simulation task setting page as first instruction return data, and feed back the first instruction back to the first version user 111 of the test user through the corresponding first SDK interface 121; as can be seen from the foregoing, the simulation task setting page is used for guiding the user to perform simulation task information filling, where the simulation task information of each simulation task may include at least one or more simulation task name information, simulation task execution script/code information, and resource requirement information required for running the simulation task, where the resource requirement information may include content such as equipment GPU requirement information, equipment operating system requirement information, and equipment software and hardware environment requirement information; after the test user completes the filling of the simulation task information of one or more simulation tasks on the first version user side 111, the first version user side 111 regards each simulation task execution script/code information as a first simulation task, forms a first simulation task set by one or more obtained first simulation tasks, integrates the simulation task name information and the resource demand information corresponding to each first simulation task to form a first resource demand list, forms first instruction data which is specifically a simulation task submitting instruction by the first resource demand list and the first simulation task set, and sends the first instruction data to the first workflow server side 13 through the corresponding first SDK interface 121;
When the first instruction data is a simulation task submitting instruction of a simulation task deployment instruction set, a first resource demand list and a first simulation task set are extracted from the first instruction data; the first resource allocation instruction data carrying the first resource demand list is sent to the first resource allocation server 14 through the resource allocation service calling interface 141, and the first resource allocation list returned from the first resource allocation server 14 is received; the first task deployment instruction data carrying the first resource allocation list and the first simulation task set is sent to the first cloud transfer server 15 through the cloud transfer service calling interface 152, and the first task deployment list returned from the first cloud transfer server 15 is received; distributing corresponding first task identification data for the simulation task set; the first task identification data, the first resource allocation list and the first task deployment list form corresponding first task workflow records and are stored in a preset workflow record table; and returning the first task identification data as first instruction return data; the first resource demand list comprises simulation task name information and resource demand information of each first simulation task in the first simulation task set; the first resource allocation list comprises simulation task name information of each first simulation task, resource demand information and cloud platform name information of shared cloud or private cloud allocated for each first simulation task; the first task deployment list comprises simulation task name information and resource demand information of each first simulation task, cloud platform name information of a shared cloud or private cloud distributed for each first simulation task and cloud platform equipment information distributed for each first simulation task.
Here, when the first instruction data is a simulation task submitting instruction of the simulation task deployment instruction set, the first workflow server 13 uses the first resource demand list to form first resource configuration instruction data, and activates the first resource configuration server 14 to execute corresponding matching cloud platform resource allocation task processing by sending the first resource configuration instruction data to the first resource configuration server 14, where a processing result is the first resource allocation list; the first resource allocation list and the first simulation task set are used for forming first task deployment instruction data, the first cloud transfer server 15 is activated to perform corresponding simulation task cloud platform equipment allocation processing by sending the first task deployment instruction data to the first cloud transfer server 15, and the processing result is the first task deployment list; the matching cloud platform resource allocation task processing and the simulation task cloud platform equipment allocation processing can be regarded as two-stage resource allocation flow of the system to the simulation task, first, the first resource allocation server 14 is used for completing the first-stage resource allocation, namely, the first resource allocation list is obtained by allocating the platforms of each first simulation task set in the first simulation task set, and then, the second-stage resource allocation is completed by each corresponding platform, namely, the specific allocation of the operation equipment is carried out on one or more first simulation tasks allocated by each corresponding platform, so as to obtain the first task deployment list; if the cloud platform resource allocation task processing and the simulation task cloud platform equipment allocation processing are successful, the first workflow server 13 allocates a unique test item identification information, namely first task identification data, for the batch of simulation task sets, and a first task workflow record is formed by the first task identification data, the first resource allocation list and the first task deployment list and is stored in a workflow record table, and the first task identification data is used as return data of a simulation task submitting instruction, namely first instruction return data; if the cloud platform resource allocation task processing fails or the simulation task cloud platform equipment allocation processing fails, the first workflow server 13 performs state rollback on the first resource allocation server 14 or the second resource allocation success first cloud switching server 15 with the first stage of allocation success to restore the state before the first stage of allocation, and uses preset simulation task submission failure information as return data of the cloud platform registration instruction, namely, return data of the first instruction.
In another specific implementation manner provided by the embodiment of the present invention, the first workflow server 13 is specifically configured to identify a simulation task scheduling instruction for the first instruction data when the first resource configuration server 14 and the first cloud switching server 15 are invoked to execute a simulation task scheduling processing procedure corresponding to the first instruction data to generate corresponding first instruction return data;
here, after the first instruction data has been identified as belonging to the simulation task scheduling instruction set, the first workflow server 13 further performs internal instruction positioning of the simulation task scheduling instruction set thereon;
When the first instruction data is a simulation task running/stopping instruction of a simulation task scheduling instruction set, extracting task identification information from the first instruction data as second task identification data, extracting task running/stopping state information as first task execution state data, and extracting a running/stopping simulation task name set as a first simulation task name set; extracting a first resource allocation list of a first task workflow record with first task identification data matched with second task identification data from a preset workflow record table, and taking the first resource allocation list as a second resource allocation list; data filtering is carried out on the second resource allocation list, and only cloud platform name information matched with the first simulation task name set is reserved in the second resource allocation list; if the first task execution state data is operation state information, sending first simulation task operation instruction data carrying a first simulation task name set and a second resource allocation list after data filtering to the first cloud transfer server 15 through the cloud transfer service calling interface 152, receiving first operation instruction state data returned by the first cloud transfer server 15, and if the first operation instruction state data is successful, taking preset simulation task operation success information as first instruction return data; if the first task execution state data is the stop state information, sending first simulation task stop instruction data carrying the first simulation task name set and the data filtered second resource allocation list to the first cloud switching server 15 through the cloud switching service calling interface 152, receiving the first stop instruction state data returned by the first cloud switching server 15, and if the first stop instruction state data is successful, taking preset simulation task stop success information as first instruction return data;
Here, when the first instruction data is a simulation task running/stopping instruction of the simulation task scheduling instruction set, the first instruction data may include task identification information, task running/stopping state information and running/stopping simulation task name sets, where the task identification information is test item identification information to which all simulation tasks of the current instruction operation belong, the running/stopping simulation task name sets are simulation task name information sets of all simulation tasks of the current instruction operation, if the task running/stopping state information is specifically that the running state information indicates that the purpose of the current instruction operation is test operation of all simulation tasks corresponding to the running/stopping simulation task name sets in the running command, and if the task running/stopping state information is specifically that the purpose of the stopping instruction operation is test operation of all simulation tasks corresponding to the running/stopping simulation task name sets in the stopping command; after receiving the first instruction data, specifically, the simulation task running/stopping instruction, the first workflow server 13 uses the task identification information, namely, the second task identification data, queries the local workflow record table to obtain a corresponding first task workflow record, and obtains a corresponding resource allocation list, namely, a second resource allocation list from the corresponding first task workflow record; because the second resource allocation list is a full project list, the number of the first simulation tasks involved in the second resource allocation list may be larger than the number of the first simulation tasks operated by the current instruction, so that data filtering is required to be performed on the second resource allocation list, and cloud platform name information of the simulation tasks which are not in the running/stopping simulation task name set of the current instruction, namely the first simulation task name set, is deleted; then judging the task running/stopping state information of the current instruction, namely the value of the first task execution state data; if the first task execution state data is operation state information, forming first simulation task operation instruction data by the first simulation task name set and the second resource allocation list after data filtering, and activating the first cloud switching server 15 to execute corresponding simulation task cloud platform batch operation by sending the first simulation task operation instruction data to the first cloud switching server 15, wherein an operation result is the first operation instruction state data, and the first operation instruction state data is used as return data of simulation task operation/stop instructions, namely first instruction return data; if the first task execution state data is stop state information, forming first simulation task stop instruction data by the first simulation task name set and the second resource allocation list after data filtering, and activating the first cloud transfer server 15 to execute corresponding batch stop operation of the simulation task cloud platform by sending the first simulation task stop instruction data to the first cloud transfer server 15, wherein an operation result is the first stop instruction state data, and the first stop instruction state data is used as return data of simulation task operation/stop instructions, namely first instruction return data;
When the first instruction data is a simulation task deleting instruction of a simulation task scheduling instruction set, extracting task identification information from the first instruction data as third task identification data; extracting a first resource allocation list and a first task deployment list of a first task workflow record, which are matched with the first task identification data and the third task identification data, from a workflow record table, and generating a corresponding third resource allocation list and second task deployment list; the first resource release instruction data carrying the third resource allocation list is sent to the first resource allocation server 14 through the resource allocation service calling interface 141, and first release instruction return data returned from the first resource allocation server 14 is received; the first simulation task cleaning instruction data carrying the second task deployment list is sent to the first cloud transfer server 15 through the cloud transfer service calling interface 152, and first cleaning instruction return data returned from the first cloud transfer server 15 is received; if the first release instruction state data and the first cleaning instruction return data are successful, deleting success information of a preset simulation task as the first instruction return data;
Here, when the first instruction data is a simulation task deleting instruction of the simulation task scheduling instruction set, the first instruction data includes task identification information, and the information is test item identification information of the current instruction operation; after receiving the first instruction data, specifically a simulation task deletion instruction, the first workflow server 13 uses task identification information, namely third task identification data, queries a local workflow record table to obtain a corresponding first task workflow record, and obtains a corresponding resource allocation list and a task deployment list, namely a third resource allocation list and a second task deployment list, from the corresponding first task workflow record; the first workflow server 13 forms the third resource allocation list into first resource release instruction data, and activates the first resource allocation server 14 to execute corresponding platform resource release operation by sending the first resource release instruction data to the first resource allocation server 14, and the operation result is returned data of the first release instruction; the second task deployment list forms first simulation task cleaning instruction data, the first cloud transfer server 15 is activated to execute corresponding simulation task cleaning operation by sending the first simulation task cleaning instruction data to the first cloud transfer server 15, and the operation result is returned data of the first cleaning instruction; if the platform resource releasing operation and the simulation task cleaning operation are successful, the first workflow server 13 uses the simulation task deleting success information as the return data of the simulation task deleting instruction, namely the first instruction return data; if the platform resource release operation fails or the simulation task cleaning operation fails, the first workflow server 13 rolls back the state of the first resource allocation server 14 with successful release operation or the first cloud switching server 15 with successful cleaning operation to recover to the state before release or cleaning, and uses the preset simulation task deletion failure information as the return data of the simulation task deletion instruction, namely the first instruction return data;
When the first instruction data is a simulation task query instruction of a simulation task scheduling instruction set, extracting task identification information from the first instruction data as fourth task identification data; extracting a first task deployment list of a first task workflow record matched with the first task identification data and the fourth task identification data from a workflow record table, and generating a corresponding third task deployment list; the first simulation task query instruction data carrying the third task deployment list is sent to the first cloud transfer server 15 through the cloud transfer service call interface 152, and a first task execution state list returned from the first cloud transfer server 15 is received; and returning the first task execution state list as the first instruction to the data.
Here, when the first instruction data is a simulation task query instruction of a simulation task scheduling instruction set, the first instruction data includes task identification information, where the information is test item identification information of the current instruction operation; after receiving the first instruction data, specifically a simulation task query instruction, the first workflow server 13 queries a local workflow record table to obtain a corresponding first task workflow record by using task identification information, namely fourth task identification data, and obtains a corresponding task deployment list, namely a third task deployment list, from the corresponding first task workflow record; the first workflow server 13 constructs the third task deployment list into first simulation task query instruction data, and activates the first cloud switching server 15 to execute corresponding simulation task state query operation by sending the first simulation task query instruction data to the first cloud switching server 15, where an operation result is a first task execution state list, and the first task execution state list is used as return data of a simulation task query instruction, that is, first instruction return data.
4. First resource allocation Server 14
The first resource allocation server 14 is configured to provide a resource allocation service calling interface 141 to the first workflow server 13; and identifies the instruction data received from the resource allocation service calling interface 141, and processes the corresponding cloud platform resource task according to the identification result and the local overall resource list.
Here, after receiving the first resource adding instruction data from the first workflow server 13, the first resource allocation server 14 executes corresponding cloud platform resource adding task processing, where a processing result is first resource adding status data; after receiving the first resource deletion instruction data, executing corresponding cloud platform resource deletion task processing, wherein the processing result is first resource deletion state data; after receiving the first resource allocation instruction data, executing corresponding matching cloud platform resource allocation task processing, wherein a processing result is a first resource allocation list; after receiving the first resource release instruction data, a corresponding platform resource release operation is executed, and the operation result is the return data of the first release instruction.
In another specific implementation manner provided by the embodiment of the present invention, the first resource allocation server 14 is specifically configured to identify instruction data received from the resource allocation service calling interface 141;
When the instruction data received from the resource allocation service calling interface 141 is first resource adding instruction data, performing corresponding cloud platform resource adding task processing on the overall resource list according to the first registered cloud platform type, the first registered cloud platform basic data and the first registered cloud platform resource list carried in the first resource adding instruction data; if the cloud platform resource adding task processing is successful, the first resource adding state data which is specifically set to be successful is returned to the first workflow server 13 through the resource configuration service calling interface 141;
Here, the total resource list is a total list for counting all public/existing cloud platform resources locally at the first resource allocation server 14, and the total resource list includes a plurality of first cloud platform resource records; when executing the cloud platform resource adding task processing, the first resource allocation server 14 performs a record adding operation on a new first cloud platform resource record formed by the first registration cloud platform type, the first registration cloud platform basic data and the first registration cloud platform resource list to the overall resource list, and allocates a corresponding resource occupation counter for each first cloud platform resource record; the first registration cloud platform resource list comprises statistical information of all equipment resources in the corresponding cloud platform; for the newly-built first cloud platform resource record, setting a corresponding resource occupation counter to be 0 occupation; if the value of a certain resource occupation counter is equal to the resource statistics total number of the first registration cloud platform resource list recorded by the corresponding first cloud platform resource, indicating that the resources of the corresponding cloud platform are fully occupied and cannot be redistributed;
When the instruction data received from the resource allocation service calling interface 141 is the first resource deletion instruction data, corresponding cloud platform resource deletion task processing is performed on the overall resource list according to the first cancellation cloud platform name carried in the first resource deletion instruction data, and if the cloud platform resource deletion task processing is successful, the first resource deletion state data which is specifically set to be successful is returned to the first workflow server 13 through the resource allocation service calling interface 141.
Here, when the first resource configuration server 14 performs the cloud platform resource deletion task processing, the first cloud platform resource record and the corresponding resource occupation counter, in which the first registered cloud platform base data and the first registered cloud platform name are matched, in the overall resource list are deleted.
In another specific implementation manner provided by the embodiment of the present invention, the first resource allocation server 14 is specifically configured to identify instruction data received from the resource allocation service calling interface 141;
When the instruction data received from the resource allocation service calling interface 141 is first resource allocation instruction data, performing corresponding matching cloud platform resource allocation task processing on the overall resource list according to a first resource demand list carried in the first resource allocation instruction data to obtain a first resource allocation list; and returns the first resource allocation list to the first workflow server 13 via the resource allocation service call interface 141.
Here, when executing the task processing of matching the cloud platform resource allocation, the first resource allocation server 14 uses, according to a preset resource allocation principle, a cloud platform corresponding to one or more first cloud platform resource records in the overall resource list as an allocation platform of each corresponding first simulation task in the first resource demand list, so as to generate a corresponding primary platform allocation result, that is, a first resource allocation list; and according to the quantity of the allocated resources of each allocation platform, performing corresponding counting increment operation on the resource occupation counter corresponding to each allocation platform.
In another specific implementation manner provided by the embodiment of the present invention, the first resource allocation server 14 is specifically configured to identify instruction data received from the resource allocation service calling interface 141;
When the instruction data received from the resource allocation service calling interface is first resource release instruction data, carrying out corresponding platform resource release operation on the overall resource list according to a third resource allocation list carried in the first resource release instruction data; and after the operation is successful, returning the first release instruction return data which is set to be successful to the first workflow server through the resource allocation service calling interface.
Here, as described above, the first resource allocation server 14 performs the platform resource release operation after receiving the first resource release instruction data; when the platform resource releasing operation is executed, the first resource allocation server 14 performs corresponding counting and value reducing operations on the resource occupation counters of one or more allocation platforms corresponding to the third resource allocation list in the overall resource list according to the resource occupation amount reflected in the third resource allocation list.
5. First cloud switching server 15
The first cloud switching server 15 is respectively connected with each first public cloud of the first public cloud cluster 16 and each first private cloud of the first private cloud cluster 17; the first cloud switching server 15 includes a plurality of first cloud platform interfaces 151; each first cloud platform interface 151 is configured to interface with a data access interface of a designated first public cloud 161 or a first private cloud 171; the first cloud transit server 15 is configured to provide a cloud transit service call interface 152 to the first workflow server 13; and identifies the instruction data received from the cloud transfer service call interface 152, and performs corresponding cloud platform interface task processing according to the identification result.
Here, after receiving the first interface addition instruction data from the first workflow server 13, the first cloud switching server 15 executes corresponding task processing of the cloud platform interface, where a processing result is first interface addition status data; after receiving the first interface deletion instruction data, executing corresponding cloud platform interface deletion task processing, wherein the processing result is first interface deletion state data; after receiving the first task deployment instruction data, executing corresponding simulation task cloud platform equipment allocation processing, wherein a processing result is a first task deployment list; after receiving the first simulation task operation instruction data, executing corresponding simulation task cloud platform batch operation, wherein an operation result is first operation instruction state data; after the first simulation task stopping instruction data is received, the corresponding batch stopping operation of the simulation task cloud platform is executed, and the operation result is the first stopping instruction state data; after receiving the first simulation task cleaning instruction data, executing corresponding simulation task cleaning operation, wherein the operation result is returned data of the first cleaning instruction; after receiving the first simulation task query instruction data, a corresponding simulation task state query operation is executed, and an operation result is a first task execution state list.
In another specific implementation manner provided by the embodiment of the present invention, the first cloud switching server 15 is specifically configured to identify instruction data received from the cloud switching service call interface 152;
When the instruction data received from the cloud transfer service calling interface 152 is first interface adding instruction data, corresponding cloud platform interface newly-built task processing is performed according to first registered cloud platform basic data and first registered cloud platform data access interfaces carried in the first interface adding instruction data, if the cloud platform interface newly-built task processing is successful, the first interface adding state data which is specifically set to be successful is returned to the first workflow server side 13 through the cloud transfer service calling interface 152;
when the instruction data received from the cloud transfer service calling interface 152 is the first interface deleting instruction data, corresponding cloud platform interface deleting task processing is performed according to the first cancellation cloud platform name carried in the first interface deleting instruction data, and if the cloud platform interface deleting task processing is successful, the first interface deleting state data which is specifically set to be successful is returned to the first workflow server 13 through the cloud transfer service calling interface 152.
Here, when executing the task process created by the cloud platform interface, the first cloud switching server 15 creates a new first cloud platform interface 151 to correspond to the newly added first public cloud 161 or first private cloud 171 in the cluster; when executing the cloud platform interface deletion task processing, the first cloud switching server 15 deletes the first cloud platform interface 151 corresponding to the first cancellation cloud platform name.
In another specific implementation manner provided by the embodiment of the present invention, the first cloud switching server 15 is specifically configured to identify instruction data received from the cloud switching service call interface 152;
When the instruction data received from the cloud transfer service call interface 152 is first task deployment instruction data, polling each cloud platform name information of the first resource allocation list in the first task deployment instruction data; taking currently polled cloud platform name information as first cloud platform information, taking a first cloud platform interface 151 corresponding to the first cloud platform information as a first interface, recording a plurality of first simulation tasks corresponding to the first cloud platform information in a first simulation task set as a first platform simulation task set, and recording a first public cloud or a first private cloud corresponding to the first cloud platform information as a first cloud platform; the first interface is called to upload the first platform simulation task set to the first cloud platform to perform corresponding cloud platform equipment deployment processing, and a first platform task deployment list returned from the first cloud platform is received; all the obtained first platform task deployment lists form a first task deployment list; returning the first task deployment list to the first workflow server 13 through the cloud transfer service calling interface 152; the first platform task deployment list comprises first cloud platform information and cloud platform equipment information distributed by the first cloud platform for each first simulation task in the first platform simulation task set.
Here, as described above, after receiving the first task deployment instruction data, the first cloud transit server 15 executes the corresponding allocation process of the simulation task cloud platform device; when executing the allocation processing of the simulation task cloud platform equipment, the first cloud switching server 15 polls the name information of each cloud platform of the first resource allocation list, extracts a simulation task subset which is allocated to the cloud platform corresponding to the current cloud platform name information in the first simulation task set as a corresponding first platform simulation task set, and stores and automatically deploys the simulation task subset by the corresponding cloud platform; when the storage and automatic task deployment are carried out, the corresponding cloud platform can carry out storage processing and operation equipment allocation processing on each first simulation task in the first platform simulation task set based on the task sequencing or resource using principle of the cloud platform, the generated equipment allocation statistical information is a corresponding first platform task deployment list, and the first task deployment list can be obtained by integrating the first platform task deployment lists of all the allocation platforms.
In another specific implementation manner provided by the embodiment of the present invention, the first cloud switching server 15 is specifically configured to identify instruction data received from the cloud switching service call interface 152;
when the instruction data received from the cloud transfer service call interface 152 is first simulation task operation instruction data, polling each cloud platform name information of the second resource allocation list in the first simulation task operation instruction data; taking currently polled cloud platform name information as second cloud platform information, taking a first cloud platform interface 151 corresponding to the second cloud platform information as a second interface, marking a plurality of first simulation task names corresponding to the second cloud platform information in a first simulation task name set as a first platform simulation task name set, and marking a first public cloud or a first private cloud corresponding to the second cloud platform information as a second cloud platform; the second interface is called to upload the first platform simulation task name set to the second cloud platform to perform corresponding cloud platform simulation task execution processing, and first platform operation instruction state data returned from the second cloud platform is received; if all the obtained first platform operation instruction state data are successful, returning the first operation instruction state data set to be successful to the first workflow server 13 through the cloud transfer service calling interface 152;
Here, as described above, after receiving the first simulation task operation instruction data, the first cloud switching server 15 executes the corresponding simulation task cloud platform batch operation; when executing the batch operation of the simulation task cloud platforms, the first cloud switching server 15 polls the name information of each cloud platform in the second resource allocation list in the first simulation task operation instruction data, extracts a subset matched with the name information of the current cloud platform from the first simulation task name set to form a first platform simulation task name set, and performs cloud platform simulation task execution processing on the first platform simulation task name set by the corresponding cloud platform; when the corresponding cloud platform executes the cloud platform simulation task execution processing, sending a task operation instruction to equipment which deploys a simulation task corresponding to the first platform simulation task name set in the platform, and after each equipment receives the task operation instruction, carrying out code analysis and task operation processing on a task script/code of the first simulation task which is locally deployed and related to the first platform simulation task name set by using a preset simulation task executor;
when the instruction data received from the cloud transfer service call interface 152 is first simulation task stop instruction data, polling each cloud platform name information of the second resource allocation list in the first simulation task stop instruction data; taking currently polled cloud platform name information as third cloud platform information, taking a first cloud platform interface 151 corresponding to the third cloud platform information as a third interface, marking a plurality of first simulation task names corresponding to the third cloud platform information in a first simulation task name set as a second platform simulation task name set, and marking a first public cloud or a first private cloud corresponding to the third cloud platform information as a third cloud platform; the third interface is called to upload the second platform simulation task name set to the third cloud platform to perform corresponding cloud platform simulation task stopping processing, and first platform stopping instruction state data returned from the third cloud platform is received; if all the obtained first platform stop instruction state data are successful, returning the first stop instruction state data set to be successful to the first workflow server 13 through the cloud transfer service calling interface 152;
Here, as described above, after receiving the first simulation task stopping instruction data, the first cloud switching server 15 executes the batch stopping operation of the corresponding simulation task cloud platform; when executing batch stopping operation of the simulation task cloud platforms, the first cloud switching server 15 polls each cloud platform name information in a second resource allocation list in the first simulation task stopping instruction data, extracts a subset matched with the current cloud platform name information from the first simulation task name set to form a second platform simulation task name set, and performs cloud platform simulation task stopping processing on the second platform simulation task name set by the corresponding cloud platform; when the corresponding cloud platform executes the cloud platform simulation task stopping processing, sending a task stopping instruction to equipment which deploys a simulation task corresponding to the second platform simulation task name set in the platform, and stopping executing a first simulation task which is locally deployed and related to the second platform simulation task name set after each equipment receives the task stopping instruction;
When the instruction data received from the cloud transfer service call interface 152 is first simulation task cleaning instruction data, polling each cloud platform name information of a second task deployment list in the first simulation task cleaning instruction data; taking the currently polled cloud platform name information as fourth cloud platform information, taking a first cloud platform interface 151 corresponding to the fourth cloud platform information as a fourth interface, and recording a first public cloud or a first private cloud corresponding to the fourth cloud platform information as a fourth cloud platform; the fourth interface is called to upload the second task deployment list to the fourth cloud platform to carry out corresponding cloud platform simulation task cleaning processing, and first platform cleaning instruction state data returned from the fourth cloud platform is received; if all the obtained first platform cleaning instruction state data are successful, returning the first cleaning instruction return data set to be successful to the first workflow server 13 through the cloud transfer service call interface 152;
Here, as described above, the first cloud transit server 15 executes the corresponding simulation task cleaning operation after receiving the first simulation task cleaning instruction data; when executing the simulation task cleaning operation, the first cloud switching server 15 polls the name information of each cloud platform in the second task deployment list in the first simulation task cleaning instruction data, and the corresponding cloud platform deletes the first simulation task matched with the second task deployment list.
When the instruction data received from the cloud transfer service call interface 152 is first simulation task query instruction data, polling each cloud platform name information of a third task deployment list in the first simulation task query instruction data; taking the currently polled cloud platform name information as fifth cloud platform information, taking a first cloud platform interface 151 corresponding to the fifth cloud platform information as a fifth interface, and recording a first public cloud or a first private cloud corresponding to the fifth cloud platform information as a fifth cloud platform; the fifth interface is called to upload the third task deployment list to the fifth cloud platform to perform corresponding cloud platform simulation task state query processing, and a first platform task execution state list returned from the fifth cloud platform is received; returning a first task execution state list consisting of all the obtained first platform task execution state lists to the first workflow server 13 through the cloud transfer service calling interface 152; the first platform task execution state list comprises corresponding fifth cloud platform information and execution state information of each first simulation task corresponding to the third task deployment list, and the execution state information comprises unexecuted, stopped, executing success and executing failure.
Here, as described above, the first cloud transit server 15 executes the corresponding simulation task state query operation after receiving the first simulation task query instruction data; when executing the simulation task state query operation, the first cloud switching server 15 polls the name information of each cloud platform in the third task deployment list in the first simulation task query instruction data, and the corresponding cloud platform counts the execution state of the first simulation task matched with the third task deployment list, so as to obtain a corresponding first platform task execution state list.
6. First public cloud cluster 16
The first public cloud cluster 16 includes a plurality of first public clouds 161; the first public cloud 161 is specifically a cloud platform provided by a third party cloud service outside the user organization.
7. First private cloud cluster 17
The first private cloud cluster 17 includes a plurality of first private clouds 171; the first private cloud 171 is specifically a cloud platform provided by a different internal network within the user organization.
The embodiment of the invention provides a simulation task scheduling system for comprehensively deploying public cloud and private cloud, which comprises a first user end, a first SDK module, a first workflow server end, a first resource allocation server end, a first cloud switching server end, a first public cloud cluster and a first private cloud cluster. The system uses a first user terminal to butt-joint test users of different operating systems; using a first SDK module to complete data docking from different versions of user terminals to a first workflow server terminal; using a first workflow server to distribute platforms and schedule instructions for each simulation task initiated by a first user; and using the first cloud switching server to dock with the sustainable expansion first private cloud cluster and the sustainable expansion first public cloud cluster, and performing specific platform computing resource (equipment resource) allocation and scheduling instruction execution on the simulation task which is allocated by the completed platform. According to the system provided by the invention, a public cloud platform of an external provider with mature construction is introduced, and public cloud and private cloud test resources are comprehensively managed, so that the network construction cost and the test operation and maintenance cost of an automatic driving system are greatly reduced; in addition, when specific task resource allocation is carried out on each simulation task, a two-stage task resource allocation mechanism (a first workflow server side completes primary platform allocation and a first cloud switching server side completes secondary equipment allocation) used by the system greatly reduces the operation pressure of a core workflow server side and improves the deployment flexibility of the simulation tasks.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative elements and steps are described above generally in terms of function in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a system described in connection with the embodiments disclosed herein may be embodied in hardware, in a software module executed by a processor, or in a combination of the two. The software modules may be disposed in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The foregoing description of the embodiments has been provided for the purpose of illustrating the general principles of the invention, and is not meant to limit the scope of the invention, but to limit the invention to the particular embodiments, and any modifications, equivalents, improvements, etc. that fall within the spirit and principles of the invention are intended to be included within the scope of the invention.

Claims (10)

1. A simulation task scheduling system for comprehensively deploying public cloud and private cloud, the system comprising: the system comprises a first user terminal, a first SDK module, a first workflow server terminal, a first resource allocation server terminal, a first cloud transfer server terminal, a first public cloud cluster and a first private cloud cluster;
The first user terminal is connected with the first SDK module; the first client comprises a first version client of a plurality of versions; the first version user is used for adapting to a corresponding first operating system; the simulation task scheduling instruction data input by a user through the first operating system is obtained, and first instruction data is generated; and sending the first instruction data to the first SDK module; and receiving first instruction return data returned from the first SDK module; displaying the first instruction return data to a user through the first operating system;
The first SDK module is connected with the first workflow server; the first SDK module comprises a plurality of first SDK interfaces; the first SDK interface is used for adapting to the corresponding first version user terminal; receiving the first instruction data sent from the first version user terminal; the first instruction data is sent to the first workflow server; receiving the first instruction return data returned from the first workflow server;
The first workflow server is connected with the first resource allocation server and the first cloud switching server; the first workflow server is used for receiving the first instruction data sent from the first SDK interface; when the first instruction data belongs to a cloud resource deployment instruction set, calling the first resource configuration server and the first cloud switching server to execute a cloud resource deployment processing flow corresponding to the first instruction data to generate corresponding first instruction return data; when the first instruction data belongs to a simulation task deployment instruction set, calling the first resource configuration server and the first cloud switching server to execute a simulation task deployment processing flow corresponding to the first instruction data to generate corresponding first instruction return data; when the first instruction data belongs to a simulation task scheduling instruction set, calling the first resource allocation server and the first cloud switching server to execute a simulation task scheduling processing flow corresponding to the first instruction data to generate corresponding first instruction return data; returning the first instruction return data to the first SDK interface;
The first resource allocation server is used for providing a resource allocation service calling interface for the first workflow server; identifying instruction data received from the resource allocation service calling interface, and carrying out corresponding cloud platform resource task processing according to an identification result and a local overall resource list;
The first cloud switching server is respectively connected with each first public cloud of the first public cloud cluster and each first private cloud of the first private cloud cluster; the first cloud switching server comprises a plurality of first cloud platform interfaces; each first cloud platform interface is used for interfacing with a designated data access interface of the first public cloud or the first private cloud; the first cloud transfer server is used for providing a cloud transfer service calling interface for the first workflow server; identifying the instruction data received from the cloud transfer service calling interface, and carrying out corresponding cloud platform interface task processing according to the identification result;
the first public cloud cluster includes a plurality of the first public clouds; the first public cloud is specifically a cloud platform provided by a third party cloud service provider outside a user organization;
The first private cloud cluster includes a plurality of the first private clouds; the first private cloud is specifically a cloud platform provided by different internal networks inside a user organization.
2. The simulation task scheduling system for comprehensively deploying public and private clouds according to claim 1, wherein,
The first workflow server is specifically configured to identify a cloud resource deployment instruction for the first instruction data when the first workflow server calls the first resource configuration server and the first cloud switching server to execute a cloud resource deployment processing flow corresponding to the first instruction data to generate the corresponding first instruction return data;
When the first instruction data is a cloud platform registration instruction of the cloud resource deployment instruction set, extracting a first registration cloud platform type, first registration cloud platform basic data, a first registration cloud platform resource list and a first registration cloud platform data access interface from the first instruction data; the first resource adding instruction data carrying the first registration cloud platform type, the first registration cloud platform basic data and the first registration cloud platform resource list is sent to the first resource configuration server through the resource configuration service calling interface, and first resource adding state data returned from the first resource configuration server is received; adding instruction data to a first interface carrying the first registration cloud platform basic data and the first registration cloud platform data access interface, sending the instruction data to the first cloud transfer server through the cloud transfer service call interface, and receiving first interface adding state data returned from the first cloud transfer server; if the first resource adding state data and the first interface adding state data are successful, the preset cloud platform registration success information is used as the first instruction return data; the first registration cloud platform type comprises a public cloud type and a private cloud type; the first registration cloud platform basic data at least comprises a first cloud platform name;
When the first instruction data is a cloud platform cancellation instruction of the cloud resource deployment instruction set, extracting a first cancellation cloud platform name from the first instruction data; the first resource deleting instruction data carrying the first cancellation cloud platform name is sent to the first resource configuration server through the resource configuration service calling interface, and first resource deleting state data returned from the first resource configuration server is received; the first interface deleting instruction data carrying the name of the first cancellation cloud platform is sent to the first cloud transfer server through the cloud transfer service calling interface, and first interface deleting state data returned from the first cloud transfer server is received; and if the first resource deletion state data and the first interface deletion state data are successful, returning the preset cloud platform cancellation success information as the first instruction return data.
3. The simulation task scheduling system for comprehensively deploying public and private clouds according to claim 2, wherein,
The first resource allocation server is specifically configured to identify instruction data received from the resource allocation service calling interface;
When the instruction data received from the resource allocation service calling interface is the first resource adding instruction data, performing corresponding cloud platform resource adding task processing on the overall resource list according to the first registration cloud platform type, the first registration cloud platform basic data and the first registration cloud platform resource list carried in the first resource adding instruction data; if the cloud platform resource adding task is successfully processed, returning the first resource adding state data which is specifically set to be successful to the first workflow server through the resource configuration service calling interface;
When the instruction data received from the resource allocation service calling interface is the first resource deletion instruction data, corresponding cloud platform resource deletion task processing is carried out on the overall resource list according to the first cancellation cloud platform name carried in the first resource deletion instruction data, and if the cloud platform resource deletion task processing is successful, the first resource deletion state data which is specifically set to be successful is returned to the first workflow server through the resource allocation service calling interface.
4. The simulation task scheduling system for comprehensively deploying public and private clouds according to claim 2, wherein,
The first cloud transfer service end is specifically used for identifying instruction data received from the cloud transfer service call interface;
When the instruction data received from the cloud transfer service calling interface is the first interface adding instruction data, corresponding cloud platform interface newly-built task processing is carried out according to the first registered cloud platform basic data and the first registered cloud platform data access interface carried in the first interface adding instruction data, if the cloud platform interface newly-built task processing is successful, the first interface adding state data which is specifically set to be successful is returned to the first workflow server through the cloud transfer service calling interface;
When the instruction data received from the cloud transfer service calling interface is the first interface deleting instruction data, corresponding cloud platform interface deleting task processing is carried out according to the first cancellation cloud platform name carried in the first interface deleting instruction data, and if the cloud platform interface deleting task processing is successful, the first interface deleting state data which is specifically set to be successful is returned to the first workflow server through the cloud transfer service calling interface.
5. The simulation task scheduling system for comprehensively deploying public and private clouds according to claim 1, wherein,
The first workflow server is specifically configured to perform simulation task deployment instruction identification on the first instruction data when the first workflow server calls the first resource allocation server and the first cloud switching server to execute a simulation task deployment processing flow corresponding to the first instruction data to generate corresponding first instruction return data;
when the first instruction data is a simulation task creation instruction of the simulation task deployment instruction set, a preset simulation task setting page is used as the first instruction return data;
when the first instruction data is a simulation task submitting instruction of the simulation task deployment instruction set, a first resource demand list and a first simulation task set are extracted from the first instruction data; the first resource allocation instruction data carrying the first resource demand list is sent to the first resource allocation server through the resource allocation service calling interface, and the first resource allocation list returned from the first resource allocation server is received; the first task deployment instruction data carrying the first resource allocation list and the first simulation task set is sent to the first cloud transfer server through the cloud transfer service calling interface, and the first task deployment list returned from the first cloud transfer server is received; distributing corresponding first task identification data for the simulation task set; the first task identification data, the first resource allocation list and the first task deployment list form corresponding first task workflow records and are stored in a preset workflow record table; and returning the first task identification data as the first instruction return data; the first resource demand list comprises resource demand information of each first simulation task in the first simulation task set; the first resource allocation list comprises cloud platform name information of shared cloud or private cloud allocated for each first simulation task; the first task deployment list comprises cloud platform name information and cloud platform equipment information of a shared cloud or a private cloud distributed for each first simulation task.
6. The simulation task scheduling system for comprehensively deploying public and private clouds according to claim 5, wherein,
The first resource allocation server is specifically configured to identify instruction data received from the resource allocation service calling interface;
When the instruction data received from the resource allocation service calling interface is the first resource allocation instruction data, carrying out corresponding matching cloud platform resource allocation task processing on the overall resource list according to the first resource demand list carried in the first resource allocation instruction data to obtain a first resource allocation list; and returning the first resource allocation list to the first workflow server through the resource allocation service calling interface.
7. The simulation task scheduling system for comprehensively deploying public and private clouds according to claim 5, wherein,
The first cloud transfer service end is specifically used for identifying instruction data received from the cloud transfer service call interface;
When the instruction data received from the cloud transfer service calling interface is the first task deployment instruction data, polling the name information of each cloud platform of the first resource allocation list in the first task deployment instruction data; the currently polled cloud platform name information is used as first cloud platform information, the first cloud platform interface corresponding to the first cloud platform information is used as a first interface, a plurality of first simulation tasks corresponding to the first cloud platform information in the first simulation task set are recorded as a first platform simulation task set, and the first public cloud or the first private cloud corresponding to the first cloud platform information is recorded as a first cloud platform; the first interface is called to upload the first platform simulation task set to the first cloud platform to perform corresponding cloud platform equipment deployment processing, and a first platform task deployment list returned from the first cloud platform is received; all the obtained task deployment lists of the first platform are formed into a first task deployment list; returning the first task deployment list to the first workflow server through the cloud transfer service calling interface; the first platform task deployment list includes the first cloud platform information and cloud platform equipment information allocated by the first cloud platform to each first simulation task in the first platform simulation task set.
8. The simulation task scheduling system for comprehensively deploying public and private clouds according to claim 5, wherein,
The first workflow server is specifically configured to perform simulation task scheduling instruction identification on the first instruction data when the first workflow server calls the first resource allocation server and the first cloud switching server to execute a simulation task scheduling processing flow corresponding to the first instruction data to generate corresponding first instruction return data;
When the first instruction data is a simulation task operation/stop instruction of the simulation task scheduling instruction set, extracting task identification information from the first instruction data to serve as second task identification data, extracting task operation/stop state information to serve as first task execution state data, and extracting an operation/stop simulation task name set to serve as a first simulation task name set; extracting a first resource allocation list of a first task workflow record with first task identification data matched with the second task identification data from a preset workflow record table, and taking the first resource allocation list as a second resource allocation list; data filtering is carried out on the second resource allocation list, and only cloud platform name information matched with the first simulation task name set is reserved in the second resource allocation list; if the first task execution state data is operation state information, first simulation task operation instruction data carrying the first simulation task name set and the second resource allocation list after data filtering are sent to the first cloud transfer server through the cloud transfer service calling interface, first operation instruction state data returned by the first cloud transfer server is received, and if the first operation instruction state data is successful, preset simulation task operation success information is used as first instruction return data; if the first task execution state data is stop state information, first simulation task stop instruction data carrying the first simulation task name set and the second resource allocation list after data filtering are sent to the first cloud transfer server through the cloud transfer service calling interface, first stop instruction state data returned by the first cloud transfer server is received, and if the first stop instruction state data is successful, preset simulation task stop success information is used as first instruction return data;
When the first instruction data is a simulation task deleting instruction of the simulation task scheduling instruction set, extracting task identification information from the first instruction data to serve as third task identification data; extracting the first resource allocation list and the first task deployment list of the first task workflow record, which are matched with the first task identification data, from the workflow record table, and generating a corresponding third resource allocation list and second task deployment list; the first resource release instruction data carrying the third resource allocation list is sent to the first resource allocation server through the resource allocation service calling interface, and first release instruction return data returned from the first resource allocation server is received; the first simulation task cleaning instruction data carrying the second task deployment list is sent to the first cloud transfer server through the cloud transfer service calling interface, and first cleaning instruction return data returned from the first cloud transfer server is received; if the first release instruction state data and the first cleaning instruction return data are successful, deleting success information of a preset simulation task to serve as the first instruction return data;
When the first instruction data is a simulation task query instruction of the simulation task scheduling instruction set, extracting task identification information from the first instruction data to serve as fourth task identification data; extracting the first task deployment list of the first task workflow record matched with the first task identification data and the fourth task identification data from the workflow record table, and generating a corresponding third task deployment list; the first simulation task query instruction data carrying the third task deployment list is sent to the first cloud transfer server through the cloud transfer service calling interface, and a first task execution state list returned from the first cloud transfer server is received; and returning the first task execution state list as the first instruction to data.
9. The simulation task scheduling system for comprehensively deploying public and private clouds according to claim 8, wherein,
The first cloud transfer service end is specifically used for identifying instruction data received from the cloud transfer service call interface;
When the instruction data received from the cloud transfer service calling interface is the first simulation task operation instruction data, polling the cloud platform name information of the second resource allocation list in the first simulation task operation instruction data; taking the currently polled cloud platform name information as second cloud platform information, taking the first cloud platform interface corresponding to the second cloud platform information as a second interface, marking a plurality of first simulation task names corresponding to the second cloud platform information in the first simulation task name set as a first platform simulation task name set, and marking the first public cloud or the first private cloud corresponding to the second cloud platform information as a second cloud platform; the second interface is called to upload the first platform simulation task name set to the second cloud platform to perform corresponding cloud platform simulation task execution processing, and first platform operation instruction state data returned from the second cloud platform is received; if all the obtained first platform running instruction state data are successful, returning the first running instruction state data set to be successful to the first workflow server through the cloud transfer service calling interface;
When the instruction data received from the cloud transfer service calling interface is the first simulation task stopping instruction data, polling the cloud platform name information of the second resource allocation list in the first simulation task stopping instruction data; taking the currently polled cloud platform name information as third cloud platform information, taking the first cloud platform interface corresponding to the third cloud platform information as a third interface, marking a plurality of first simulation task names corresponding to the third cloud platform information in the first simulation task name set as a second platform simulation task name set, and marking the first public cloud or the first private cloud corresponding to the third cloud platform information as a third cloud platform; the third interface is called to upload the second platform simulation task name set to the third cloud platform to perform corresponding cloud platform simulation task stopping processing, and first platform stopping instruction state data returned from the third cloud platform is received; if all the obtained first platform stop instruction state data are successful, returning the first stop instruction state data set to be successful to the first workflow server through the cloud transfer service calling interface;
when the instruction data received from the cloud transfer service calling interface is the first simulation task cleaning instruction data, polling the cloud platform name information of the second task deployment list in the first simulation task cleaning instruction data; taking the currently polled cloud platform name information as fourth cloud platform information, taking the first cloud platform interface corresponding to the fourth cloud platform information as a fourth interface, and recording the first public cloud or the first private cloud corresponding to the fourth cloud platform information as a fourth cloud platform; the fourth interface is called to upload the second task deployment list to the fourth cloud platform to carry out corresponding cloud platform simulation task cleaning processing, and first platform cleaning instruction state data returned from the fourth cloud platform is received; if all the obtained first platform cleaning instruction state data are successful, returning the first cleaning instruction return data set to be successful to the first workflow server through the cloud transfer service calling interface;
When the instruction data received from the cloud transfer service calling interface is the first simulation task query instruction data, polling the cloud platform name information of the third task deployment list in the first simulation task query instruction data; taking the currently polled cloud platform name information as fifth cloud platform information, taking the first cloud platform interface corresponding to the fifth cloud platform information as a fifth interface, and recording the first public cloud or the first private cloud corresponding to the fifth cloud platform information as a fifth cloud platform; the fifth interface is called to upload the third task deployment list to the fifth cloud platform to perform corresponding cloud platform simulation task state query processing, and a first platform task execution state list returned from the fifth cloud platform is received; returning the first task execution state list formed by all the obtained first platform task execution state lists to the first workflow server through the cloud transfer service calling interface; the first platform task execution state list comprises corresponding fifth cloud platform information and execution state information of each first simulation task corresponding to the third task deployment list, and the execution state information comprises unexecuted, stopped, executing success and executing failure.
10. The simulation task scheduling system for comprehensively deploying public and private clouds according to claim 8, wherein,
The first resource allocation server is specifically configured to identify instruction data received from the resource allocation service calling interface;
When the instruction data received from the resource allocation service calling interface is the first resource release instruction data, carrying out corresponding platform resource release operation on the overall resource list according to the third resource allocation list carried in the first resource release instruction data; and after the operation is successful, returning the first release instruction return data which is set to be successful to the first workflow server through the resource configuration service calling interface.
CN202111151451.1A 2021-09-29 2021-09-29 Simulation task scheduling system for comprehensively deploying public cloud and private cloud Active CN113886043B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111151451.1A CN113886043B (en) 2021-09-29 2021-09-29 Simulation task scheduling system for comprehensively deploying public cloud and private cloud

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111151451.1A CN113886043B (en) 2021-09-29 2021-09-29 Simulation task scheduling system for comprehensively deploying public cloud and private cloud

Publications (2)

Publication Number Publication Date
CN113886043A CN113886043A (en) 2022-01-04
CN113886043B true CN113886043B (en) 2024-05-03

Family

ID=79008060

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111151451.1A Active CN113886043B (en) 2021-09-29 2021-09-29 Simulation task scheduling system for comprehensively deploying public cloud and private cloud

Country Status (1)

Country Link
CN (1) CN113886043B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104657220A (en) * 2015-03-12 2015-05-27 广东石油化工学院 Model and method for scheduling for mixed cloud based on deadline and cost constraints
WO2016101638A1 (en) * 2014-12-23 2016-06-30 国家电网公司 Operation management method for electric power system cloud simulation platform
CN107797870A (en) * 2017-11-10 2018-03-13 苏州铭冠软件科技有限公司 A kind of cloud computing data resource dispatching method
WO2018095416A1 (en) * 2016-11-24 2018-05-31 腾讯科技(深圳)有限公司 Information processing method, device and system
CN112565317A (en) * 2019-09-25 2021-03-26 阿里巴巴集团控股有限公司 Hybrid cloud system, data processing method and device thereof, and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10348808B2 (en) * 2015-10-30 2019-07-09 International Business Machines Corporation Hybrid cloud applications

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016101638A1 (en) * 2014-12-23 2016-06-30 国家电网公司 Operation management method for electric power system cloud simulation platform
CN104657220A (en) * 2015-03-12 2015-05-27 广东石油化工学院 Model and method for scheduling for mixed cloud based on deadline and cost constraints
WO2018095416A1 (en) * 2016-11-24 2018-05-31 腾讯科技(深圳)有限公司 Information processing method, device and system
CN107797870A (en) * 2017-11-10 2018-03-13 苏州铭冠软件科技有限公司 A kind of cloud computing data resource dispatching method
CN112565317A (en) * 2019-09-25 2021-03-26 阿里巴巴集团控股有限公司 Hybrid cloud system, data processing method and device thereof, and storage medium

Also Published As

Publication number Publication date
CN113886043A (en) 2022-01-04

Similar Documents

Publication Publication Date Title
CN107493310B (en) Cloud resource processing method and cloud management platform
CN109800083B (en) Method, device, system and storage medium for micro-service collaborative call
CN112738060B (en) Method and device for processing micro-service data, micro-service processing platform and medium
CN113641457A (en) Container creation method, device, apparatus, medium, and program product
CN110956269A (en) Data model generation method, device, equipment and computer storage medium
CN110930003A (en) Work order processing method and device
CN109819023B (en) Distributed transaction processing method and related product
CN110673933A (en) ZooKeeper-based distributed asynchronous queue implementation method, device, equipment and medium
CN112579692A (en) Data synchronization method, device, system, equipment and storage medium
CN112395736A (en) Parallel simulation job scheduling method of distributed interactive simulation system
CN113438295A (en) Container group address allocation method, device, equipment and storage medium
CN113032125A (en) Job scheduling method, device, computer system and computer-readable storage medium
CN107734050B (en) Load machine distribution method, computing equipment and load machine distribution system
CN113835830A (en) AI-based RPA cluster management method, device and storage medium
CN113886043B (en) Simulation task scheduling system for comprehensively deploying public cloud and private cloud
CN116483546B (en) Distributed training task scheduling method, device, equipment and storage medium
CN112884382B (en) Resource quota management method, device and equipment of cloud platform and storage medium
CN107102901A (en) A kind of task processing method and device
CN113760446A (en) Resource scheduling method, device, equipment and medium
CN111078358B (en) Test data processing method and system based on software container
CN117573396B (en) Distributed workflow event processing method, device and medium
CN113204434B (en) Planned task execution method and device based on k8s and computer equipment
CN113867912A (en) Method and device for executing task, electronic equipment and readable storage medium
CN106060127A (en) Server calling method and server calling device
CN117931435A (en) Management method and device of cloud-native multi-tenant resource pool and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant