Service scheduling method and device, electronic equipment and storage medium
By using intelligent agents and server performance-driven service scheduling methods, the problem of coupling service scheduling with business scenarios is solved, realizing automated scheduling and resource optimization, and improving business execution efficiency and system reliability.
Patent Information
- Application Number
- CN202510907487.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-01
- Publication Date
- 2025-11-04
AI Technical Summary
In existing technologies, service scheduling is tightly coupled with business scenarios, resulting in non-reusable code, high modification costs, unreasonable resource utilization, lack of global perspective business process monitoring and optimization, lack of cross-domain service orchestration, and inability to allocate resources reasonably.
By inputting service configuration parameters, intelligent agents are created, and deployment and scheduling locations are determined based on server computing power and network performance. This enables automated scheduling and decoupling of multiple services, optimizes resource matching, and reduces manual intervention and operational complexity.
It enables flexible adaptation to business changes, reduces development difficulty, improves resource utilization and service scheduling system performance, reduces task completion time, and enhances response speed and system reliability.
Smart Images

Figure CN120892147A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of computers, and in particular to a service scheduling method and device, an electronic device, and a storage medium. BACKGROUND
[0002] In implementing user requirements, a plurality of service combinations are usually required to complete. For example, in an e-commerce scenario, a plurality of services such as payment services, order services, warehousing services, and logistics services are required to jointly complete the purchase requirements of a user.
[0003] At present, to meet the user requirements in a specific scenario, the execution order of services is usually directly written in code to implement the calling of a plurality of services.
[0004] However, in this implementation manner, the code is strongly coupled with the scenario, and when the scenario changes, the code cannot be directly reused, and the modification cost is high. Moreover, this manner cannot reasonably arrange and schedule the services, and is prone to cause unreasonable resource utilization. SUMMARY
[0005] The present application provides a service scheduling method and device, an electronic device, and a storage medium, which can reduce the modification cost and improve the resource utilization.
[0006] To achieve the above object, the present application adopts the following technical solutions:
[0007] In a first aspect, the present application provides a service scheduling method, which comprises: in response to an input operation of a service configuration parameter, determining an execution order of a plurality of services, the service configuration parameter being used to represent the configuration required by the plurality of services in a running process; based on the execution order of the plurality of services, creating an intelligent agent, the intelligent agent being used to coordinate the plurality of services to execute in sequence according to the execution order; based on the computing power and network performance of a server managed in a service scheduling system, determining a deployment position; the deployment position being used to indicate a server for deploying the plurality of services and the intelligent agent; in response to a first request message, based on the deployment position, determining a scheduling position; the scheduling position being used to indicate a server for running the plurality of services and the intelligent agent; based on the scheduling position, scheduling the plurality of services in sequence through the intelligent agent according to the execution order.
[0008] In combination with the above first aspect, in a possible implementation manner, in response to the first request message, based on the deployment position, determining the scheduling position comprises: in response to the first request message, obtaining a performance requirement of the service scheduling system, the performance requirement being used to represent the minimum performance requirement for the service scheduling system; determining, as the scheduling position, a server that satisfies a first preset condition among the servers indicated by the deployment position; wherein the first preset condition comprises that the current computing power performance and the current network performance satisfy the minimum performance requirement, and the current computing power performance and / or the current network performance satisfy a priority condition.
[0009] In a possible implementation manner of the first aspect, the deployment position is determined based on the computing power and network performance of the servers in the service scheduling system, and the deployment position comprises: a server in the service scheduling system that meets a second preset condition is determined as the deployment position; the second preset condition comprises: a server with the highest rated computing power performance and / or the highest rated network performance.
[0010] In a possible implementation manner of the first aspect, the plurality of services are respectively deployed on different servers in a distributed manner, and the intelligent agent comprises a plurality of intelligent sub-agents, each of which corresponds to a service; the plurality of intelligent sub-agents are respectively deployed on different servers.
[0011] In a possible implementation manner of the first aspect, the intelligent agent is created based on the execution order of the plurality of services, and the creation of the intelligent agent comprises: interface information of the plurality of services is obtained; and the interface information is sequentially encapsulated and compiled according to the execution order of the plurality of services to generate the intelligent agent.
[0012] In a possible implementation manner of the first aspect, the service configuration parameter comprises a service application scenario, a service running environment, a service quantity, and a service dependency relationship.
[0013] In a possible implementation manner of the first aspect, the service configuration parameter comprises a service application scenario, a service running environment, a service quantity, and a service dependency relationship.
[0014] In a possible implementation manner of the second aspect, the third determining unit is configured to: in response to the first request message, obtain a performance requirement of the service scheduling system, the performance requirement being used to represent a minimum performance requirement of the service scheduling system; and determine, as the scheduling position, a server in the server indicated by the deployment position that meets a first preset condition; the first preset condition comprises: a current computing power performance and a current network performance meet the minimum performance requirement, and the current computing power performance and / or the current network performance meet a priority condition.
[0015] In a possible implementation manner of the second aspect, the second determining unit is configured to determine, from the servers managed by the service scheduling system, a server satisfying a second preset condition as the deployment position; the second preset condition comprises a server with the highest rated computing power performance and / or the highest rated network performance.
[0016] In a possible implementation manner of the second aspect, the plurality of services are respectively deployed on different servers in a distributed manner; the intelligent agent comprises a plurality of intelligent sub-agents, each of which corresponds to a service; and the plurality of intelligent sub-agents are respectively deployed on different servers.
[0017] In a possible implementation manner of the second aspect, the creating unit is configured to obtain interface information of the plurality of services; and sequentially encapsulate and compile the interface information according to the execution order of the plurality of services to generate the intelligent agent.
[0018] In a possible implementation manner of the second aspect, the service configuration parameter comprises a service application scenario, a service running environment, a service quantity, and a service dependency relationship.
[0019] In a third aspect, the present application provides an electronic device, comprising a processor and a communication interface; the communication interface is coupled with the processor, and the processor is configured to run a computer program or instruction to implement the service scheduling method described in the first aspect and any possible implementation manner of the first aspect.
[0020] In a fourth aspect, the present application provides a computer readable storage medium, which stores an instruction, and when the instruction is run on a computer, the computer executes the service scheduling method described in the first aspect and any possible implementation manner of the first aspect.
[0021] In a fifth aspect, the present application provides a computer program product comprising an instruction, and when the computer program product is run on a computer, the computer executes the service scheduling method described in the first aspect and any possible implementation manner of the first aspect.
[0022] In a sixth aspect, the present application provides a chip, which comprises a processor and a communication interface; the communication interface is coupled with the processor, and the processor is configured to run a computer program or instruction to implement the service scheduling method described in the first aspect and any possible implementation manner of the first aspect.
[0023] Specifically, the chip provided in the present application further comprises a memory for storing the computer program or instruction.
[0024] It should be noted that the computer instructions described above can be stored in whole or in part on a computer readable storage medium. The computer readable storage medium can be packaged together with the processor of the device or packaged separately from the processor of the device, and the present application does not limit this.
[0025] In a seventh aspect, the present application provides a service scheduling system, comprising: a server and an electronic device, wherein the electronic device is configured to execute the service scheduling method as described in the first aspect and any possible implementation manner of the first aspect.
[0026] The description of the second aspect to the seventh aspect in the present application can refer to the detailed description of the first aspect, and the beneficial effects of the description of the second aspect to the seventh aspect can refer to the beneficial effect analysis of the first aspect, which will not be repeated here.
[0027] In the present application, the name of the service scheduling device does not constitute a limitation on the device or functional module itself, and in actual implementation, these devices or functional modules can appear with other names. As long as the functions of each device or functional module are similar to those of the present application, they belong to the scope of the claims of the present application and equivalent technologies.
[0028] These aspects or other aspects of the present application will be more apparent in the following description.
[0029] Based on the above technical solutions, the service scheduling method provided by the present application can realize automatic scheduling of multiple services through the input operation of the service configuration parameters, and make the multiple services execute in turn according to the execution order, thereby reducing manual intervention, realizing intelligent scheduling of multiple services, and in the case of changes in business, only the parameters need to be re-input, without the need to reconfigure the service code, with low change cost, flexible adaptation to changes in business, improved execution efficiency of business, reduced development difficulty, decoupling of multiple services through the creation of intelligent agents, and reduced operation and maintenance complexity. Moreover, the scheduling position is determined through the deployment position, and then the multiple services are scheduled in turn according to the scheduling position, which can optimize the matching degree of resources, schedule the services to the corresponding scheduling positions, reduce the task completion time, reduce the delay, improve the resource utilization rate, and improve the performance and response speed of the service scheduling system. BRIEF DESCRIPTION OF DRAWINGS
[0030] Figure 1 An architecture schematic diagram of a service scheduling system provided by an embodiment of the present application is shown in the figure;
[0031] Figure 2 A hardware structure schematic diagram of an electronic device provided by an embodiment of the present application is shown in the figure;
[0032] Figure 3 A flowchart of a service scheduling method provided by an embodiment of the present application is shown in the figure;
[0033] Figure 4 A service state schematic diagram provided for an embodiment of the present application;
[0034] Figure 5 A flowchart of determining a deployment position provided for an embodiment of the present application;
[0035] Figure 6 A flowchart of service scheduling provided for an embodiment of the present application;
[0036] Figure 7 A module division schematic diagram of a service scheduling system provided for an embodiment of the present application;
[0037] Figure 8 Another module division schematic diagram of a service scheduling system provided for an embodiment of the present application;
[0038] Figure 9 An implementation effect diagram of service scheduling provided for an embodiment of the present application;
[0039] Figure 10 A structure schematic diagram of a service scheduling apparatus provided for an embodiment of the present application. DETAILED DESCRIPTION
[0040] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the scope of the present application.
[0041] The term "and / or" in the present document is only used to describe the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B, which can represent the three cases of A alone, A and B together, and B alone.
[0042] The terms "first" and "second" and the like in the specification and drawings of the present application are used to distinguish different objects or different treatments of the same object, rather than to describe a specific order of the objects.
[0043] In addition, the terms "include" and "have" and any variations thereof mentioned in the description of the present application are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but can optionally include other steps or units not listed or can optionally include other steps or units inherent to the process, method, product or device.
[0044] It should be noted that in the embodiments of the present application, the words such as "exemplary" or "for example" are used to mean serving as an example, instance, or illustration. Any embodiment or design presented as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or superior to other embodiments or design solutions. Rather, the use of the words such as "exemplary" or "for example" is intended to present concepts in a concrete manner.
[0045] In the description of the present application, "a plurality of" means two or more, unless otherwise specified.
[0046] The computing power network is a computing network formed by deeply integrating edge computing nodes, cloud computing nodes and other computing nodes using information network technology. The computing power network is a ubiquitous network that can connect computing resources distributed everywhere, achieve global optimization of the computing power network through unified collaborative scheduling, and meet the needs of users for service level agreement (SLA).
[0047] With the development of artificial intelligence (AI) technology and the intelligent transformation of society, AI technology is widely used in various industries. For example, AI technology is widely used in industrial quality inspection, intelligent driving, intelligent medical treatment and other industries. With the wide application of AI technology, the business needs and business scenarios of users are becoming increasingly complex. A single computing power can usually only provide relatively single computing power. To meet the current business needs and business scenarios, multiple modal computing power usually needs to be coordinated. For example, in the business scenario of autonomous driving, multiple heterogeneous models such as laser radar, camera, image detection, and multi-modal large model need to be processed in a certain order to ensure the safe driving of the vehicle. For another example, the application process of an intelligent agent also needs knowledge base, vectorization algorithm, and large model algorithm to cooperate with each other to realize various functions of the intelligent agent. For another example, in the e-commerce scenario, in the case where a user needs to purchase goods, the combination of multiple services such as payment service, order service, warehousing service, and logistics service is needed to complete the purchase demand of the user. It can be seen that in the current complex business needs and business scenarios, to truly realize business value, it is not the performance of a single service that matters, but the coordination of all services to ensure that the end-to-end business flow of the enterprise can run normally.
[0048] However, in the actual operation process of an enterprise, the end-to-end business flow often lacks formal document description. The event flow from one service to another is mostly implicitly embodied in the business code, which makes it difficult for the enterprise to have a full view of the business architecture view and unable to grasp the complete context of the business flow from a macro perspective.
[0049] Especially in the current computing power network environment, in the face of a complex task that needs to be completed by multiple services in combination, some companies take a one-off approach to establish their own continuous integration (CI) / continuous delivery (CD) pipeline for each specific task. Although this approach may solve the problem of a specific task in the short term, it has triggered a series of new problems. It leads to high costs because each task requires independent pipeline construction and maintenance; it is strongly coupled with business, making pipeline adjustment and optimization extremely difficult; it cannot be reused, and pipelines between different tasks cannot share resources and technology; and resource utilization is limited, with a large number of resources scattered in various independent pipelines, which cannot be fully utilized, resulting in waste of resources.
[0050] From the macro perspective of computing power network, within the same data center, the widespread application of microservices architecture makes business orchestration a key link. Currently, the Zeebe open source tool occupies a certain position in the field of microservice business orchestration, and it can effectively support the orchestration of microservices within a single data center, providing strong protection for service collaboration within the data center. However, this tool also has obvious limitations, and it is limited to service orchestration within the same data center. When there are multiple data centers in different regions, this tool cannot cross the boundaries of data centers to achieve cross-domain service orchestration.
[0051] The lack of mature technology for cross-domain application service orchestration has become a major bottleneck restricting the efficient operation of computing power networks. In the face of complex business that needs to be completed by multiple services in combination, some companies take the approach of implicitly writing service access order in business code, tightly coupling service access logic with business code. This approach may achieve business requirements to some extent, but it has brought many problems. On the one hand, the deep coupling of service access and business code makes service management inconvenient, and when the service architecture needs to be adjusted or optimized, the business code needs to be modified in depth, increasing maintenance costs and risks; on the other hand, due to the lack of end-to-end global perspective, enterprises are difficult to fully and clearly understand the interaction relationship and running state of each service in a complete business processing flow, which is not conducive to the overall optimization and monitoring of business processes.
[0052] One of the core goals of the computing power network is to break the isolation between computing power and the network, realize the deep integration and efficient use of computing power and network resources. It needs to perceive the usage of computing power and network, introduce advanced scheduling algorithms, accurately schedule the user's business demand to the matching computing power node, so as to improve the resource utilization. However, the current one-off service coordination arrangement method only focuses on the business arrangement of the application layer, and does not fully combine the characteristics of the computing power network for scheduling. This one-sided arrangement method leads to the fact that resources cannot be reasonably allocated and utilized according to actual demand, resulting in low resource utilization.
[0053] Therefore, the service scheduling method provided by the application can realize automatic scheduling of multiple services by inputting service configuration parameters, and can make multiple services execute in turn according to the execution order, so as to reduce manual intervention, realize intelligent scheduling of multiple services, and only need to input parameters again in the case of business change, without the need to reconfigure service code, low change cost, flexible adaptation to business changes, improved business execution efficiency, reduced development difficulty, decoupling of multiple services through the creation of intelligent agents, reduced operation and maintenance complexity, enhanced system reliability, and guaranteed service flexibility and maintainability. Moreover, by determining the scheduling position according to the deployment position, and then scheduling multiple services in turn according to the scheduling position, the matching degree of resources can be optimized, the services can be scheduled to the corresponding scheduling position, the task completion time can be reduced, the delay can be reduced, the resource utilization can be improved, and the performance and response speed of the service scheduling system can be improved.
[0054] The implementation of the embodiments of the application will be described in detail below with reference to the accompanying drawings.
[0055] Figure 1 An architecture diagram of a service scheduling system provided by an embodiment of the application is shown in FIG. 1. As shown in the figure, the architecture includes an electronic device 101 and a server 102. Figure 1
[0056] The electronic device 101 can be at least one of a smart phone, a smart watch, a desktop computer, a laptop computer, a virtual reality terminal, an augmented reality terminal, a wireless terminal, and a laptop computer, and the like. The embodiments of the application do not limit this.
[0057] In some embodiments, the electronic device 101 can display a service configuration parameter setting interface through a visual interface. For example, the configuration information to be confirmed is displayed in the service configuration parameter setting interface, and the user can make a selection in the service configuration parameter setting interface. For another example, the user can input the service configuration parameters according to the prompt in the service configuration parameter setting interface.
[0058] In some embodiments, the electronic device 101 can determine the service configuration parameters in response to the input operation of the user in the service configuration parameter setting interface.
[0059] The service configuration parameter is used to represent the configuration required by the plurality of services during running.
[0060] In some embodiments, the electronic device 101 has a processing function. For example, the electronic device 101 can create an intelligent agent based on the execution order of the plurality of services. For another example, the electronic device 101 can determine a deployment location based on the computing power and network performance of the servers managed in the service scheduling system. For another example, the electronic device 101 can determine a scheduling location based on the deployment location in response to the first request message.
[0061] The intelligent agent is used to coordinate the plurality of services to execute in sequence according to the execution order.
[0062] In some embodiments, the electronic device 101 has a communication function. For example, the electronic device 101 schedules the plurality of services in sequence according to the execution order through communication with the server 102.
[0063] The server 102 is at least one of an independent physical server, a server cluster or a distributed file system composed of a plurality of physical servers, or a cloud server providing basic cloud computing services such as cloud service, cloud database, cloud computing, cloud function, cloud storage, network service, cloud communication, middleware service, domain name service, security service, content distribution network, and big data and artificial intelligence platform. Of course, the above is only an exemplary introduction to the server 102, and the server 102 can also be a relational database management system and / or a database based on distributed file storage, which is not limited in the embodiments of the present application. For example, the relational database management system can be mysql, Oracle Database, or Microsoft SQL Server, etc.; the database based on distributed file storage can be MongoDB database, HBase database, or Cassandra database, etc.
[0064] In some embodiments, the server 102 has a communication function. For example, the server 102 receives scheduling from the electronic device 101.
[0065] The server 102 can be one or a plurality of servers, which is not limited in the embodiments of the present application. For ease of understanding, Figure 1 Only one is shown. Of course, the server 102 can also include other functional servers to provide more comprehensive and diversified services.
[0066] The electronic device 101 and the server 102 are connected through a communication link. The communication link can be a wired communication link or a wireless communication link, which is not limited in the embodiments of the present application.
[0067] When implemented by hardware, the electronic device can be provided as a hardware structure as shown in Figure 2 Fig. 1, specifically, Figure 2 a hardware structure schematic diagram of an electronic device provided by an embodiment of the present application. As shown in Figure 2 Fig. 1, the electronic device includes at least one processor 201, a communication line 202, and at least one communication interface 204, and can further include a memory 203. Among the processor 201, the memory 203, and the communication interface 204, the three can be connected through the communication line 202.
[0068] The processor 201 can be a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement one or more embodiments of the present application, such as one or more digital signal processors (DSPs), or one or more field programmable gate arrays (FPGAs).
[0069] The communication line 202 is used to transmit information between the above-mentioned components.
[0070] The communication interface 204 is used to communicate with other devices or communication networks, and can use any transceiver-like device, such as an Ethernet, a radio access network (RAN), a wireless local area network (WLAN), etc.
[0071] The memory 203 can be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disk storage, a magnetic disk storage or other magnetic storage devices, or any other medium capable of storing desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited thereto.
[0072] In a possible design, the memory 203 can exist independently of the processor 201, that is, the memory 203 can be a memory external to the processor 201, and in this case, the memory 203 can be connected to the processor 201 through the communication line 202, used to store execution instructions or application program codes, and controlled by the processor 201 to perform, to implement the service scheduling method provided in the embodiments of the present application. In another possible design, the memory 203 can also be integrated with the processor 201, that is, the memory 203 can be an internal memory of the processor 201, for example, the memory 203 is a cache, which can be used to temporarily store some data and instruction information, and the like.
[0073] As a possible implementation, the processor 201 can include one or more CPUs, for example, the CPUs 0 and 1 in Figure 2 As another possible implementation, the electronic device can include multiple processors, for example, the processor 201 and the processor 207 in Figure 2 As still another possible implementation, the electronic device can further include the output device 205 and the input device 206.
[0074] It should be noted that the embodiments of the present application can be mutually referenced or borrowed, for example, the same or similar steps, method embodiments, system embodiments, and device embodiments can be mutually referenced, without limitation.
[0075] Figure 3 A flowchart of a service scheduling method provided in the embodiments of the present application, which can be applied to an electronic device as shown in Figure 2 The method can be implemented through S301 to S303 as shown in Figure 3 The method can be implemented through S301 to S303 as shown in
[0076] S301, in response to an input operation of a service configuration parameter, determining an execution order of a plurality of services.
[0077] The service configuration parameter is used to represent the configuration required by the plurality of services in the running process.
[0078] In a possible implementation, the service configuration parameter includes an application scenario of the service, a running environment of the service, a number of services, and a dependency relationship between services.
[0079] The application scenario of the service refers to a specific business to which the service is applied or a functional scenario to which the service is applied. For example, the application scenario of the service can be real-time monitoring, data analysis, fault prediction, and the like.
[0080] The running environment of the service refers to an infrastructure for deployment and scheduling of the service, or a performance requirement for deployment and scheduling of the service. For example, the running environment of the service can refer to a location where a server on which the service is installed is located; or the running environment of the service can also refer to a network bandwidth requirement for running the service. The location where the server on which the service is installed is located can be an edge device or a cloud device, and the like.
[0081] The number of services refers to a total number of services in a service scheduling system. Understandably, a business is composed of one or more services. According to the number of services, the complexity of the business can be determined. For example, according to the complexity of the business, the business can be divided into a simple business and a complex business. When the number of services is greater than a number threshold, the business is a complex task, otherwise it is a simple task. The number threshold can be 1, 2, and the like. In order to determine how to schedule the plurality of services subsequently according to the complexity of the business.
[0082] The dependency relationship between services refers to a dependency relationship between services, or refers to a logical association between services. For example, the dependency relationship between services can be a parallel relationship, a serial relationship, and the like between services; or the dependency relationship between services can be a loop relationship, a conditional judgment relationship, and the like required when implementing the service. Through determination of the dependency relationship between services, the flexibility of the business process is enhanced.
[0083] In this way, the specific content of the service configuration parameter can be determined, and the execution order of the plurality of services can be determined according to the service configuration parameter subsequently.
[0084] For example, the electronic device is installed with a visual interface. In the visual interface, a service configuration parameter setting interface is displayed. In the service configuration parameter setting interface, options of application scenarios of multiple services, running environments of the services, quantities of the services, and dependency relationships between the services are displayed. A user can select the options in the service configuration parameter interface, or the user can drag multiple options in the service configuration parameter interface. According to the selection or the result after the dragging of the user, an execution order of the multiple services is determined.
[0085] For another example, the service configuration parameter setting interface displays a prompt of service configuration parameter input, and a user inputs application scenarios of services, running environments of the services, quantities of the services, and dependency relationships between the services according to the prompt. According to the input of the user, an execution order of the multiple services is determined.
[0086] S302, the electronic device creates an intelligent agent based on the execution order of the multiple services.
[0087] The intelligent agent is used to coordinate the multiple services to execute in sequence according to the execution order.
[0088] In a possible implementation, the execution order of the multiple services is written as standardized code through a construction tool plug-in, and the standardized code is encapsulated and compiled to form the intelligent agent.
[0089] S303, the electronic device determines a deployment position based on computing power and network performance of a server managed in a service scheduling system.
[0090] The deployment position is used to indicate a server on which the multiple services and the intelligent agent are deployed.
[0091] For example, the electronic device can obtain the computing power and the network performance of the server managed in the service scheduling system through an interface. The electronic device takes the server with the highest computing power and network performance as the deployment position.
[0092] S304, the electronic device determines a scheduling position based on the deployment position in response to a first request message.
[0093] The scheduling position is used to indicate a server on which the multiple services and the intelligent agent are run.
[0094] The first request message is used to trigger scheduling of the multiple services to achieve a user demand. For example, in an unmanned driving scenario, the first request message can be a request for obtaining a planned path sent by a user. After the user sends the request for obtaining the planned path, the electronic device schedules the multiple services through the intelligent agent according to the request, and finally obtains the planned path.
[0095] It can be understood that in actual application scenarios, services are usually in the form of distributed deployment, that is, the same service can be deployed on multiple servers. And the intelligent agent can also be deployed on different servers. In this case, when scheduling services, only one of the multiple servers can be run, that is, the scheduling location can be understood as the server actually running in the service scheduling process.
[0096] S305, the electronic device schedules the multiple services in sequence according to the execution order through the intelligent agent based on the scheduling location.
[0097] The service scheduling method provided by the application can realize automatic scheduling of multiple services through input operation of service configuration parameters, and make the multiple services execute in sequence according to the execution order, so as to reduce manual intervention, realize intelligent scheduling of multiple services, and only need to re-input parameters in the case of business change, without the need to reconfigure service code, with low change cost, flexible adaptation to business changes, improved business execution efficiency, reduced development difficulty, decoupling of multiple services through creation of intelligent agents, reduced operation and maintenance complexity, enhanced system reliability, and guaranteed flexibility and maintainability of services. And the scheduling location is determined through the deployment location, and the multiple services are sequentially scheduled according to the scheduling location, which can optimize the matching degree of resources, schedule services to the corresponding scheduling location, reduce the task completion time, reduce the delay, improve the resource utilization rate, and improve the performance and response speed of the service scheduling system.
[0098] The above Figure 3 The process of determining the deployment location in step S303 shown in the above embodiment will be described below. In one possible implementation, the process of determining the deployment location in step S303 can be implemented through the following step 11.
[0099] Step 11: determining a server satisfying a second preset condition in the servers managed by the service scheduling system as the deployment location.
[0100] The second preset condition includes: a server with the highest rated computing performance and / or rated network performance.
[0101] The rated computing performance can refer to the maximum computing capability that the server can achieve under standard test conditions; or the rated computing performance can refer to the average value of the computing capability achieved by the server within a period of time.
[0102] The rated network performance can refer to the maximum performance index that the server can achieve under standard test conditions; or the rated network performance can refer to the average value of the performance index achieved by the server within a period of time.
[0103] For example, the rated computing power performance can be memory capacity, bandwidth, thread number, core number of a central processing unit (CPU), core number of a graphics processing unit (GPU), CPU utilization, GPU utilization, neural processing unit (NPU) utilization, etc.
[0104] For example, the rated network performance can be network latency, packet loss rate, etc.
[0105] It can be understood that, for the server, the memory capacity, bandwidth, thread number, core number of the CPU, core number of the GPU, etc. can be understood as positive indicators, that is, the greater the value of the parameter, the better the performance of the server; the CPU utilization, GPU utilization, NPU utilization, network latency, packet loss rate, etc. can be understood as negative indicators, that is, the greater the value of these parameters, the worse the performance of the server.
[0106] For example, the electronic device stores the rated computing power performance and the rated network performance of the servers in the service scheduling system. In the process of determining the deployment position, the server with the highest rated computing power performance and / or the highest rated network performance is selected to deploy the service.
[0107] For another example, the electronic device can obtain the computing power performance and / or the network performance of the servers in the service scheduling system through the corresponding interface multiple times within a period of time, and obtain the rated computing power performance and / or the rated network performance according to the obtained computing power performance and / or network performance.
[0108] In this way, the service and the intelligent agent are deployed on the server with the highest rated computing power performance and / or the highest rated network performance, which can deploy the service and the intelligent agent on a suitable server, improve the service response speed, reduce the user waiting time, improve the user experience, and enhance the stability of the service scheduling system and improve the performance of the service scheduling system.
[0109] It should be noted that the multiple services are respectively deployed on different servers in a distributed manner.
[0110] The intelligent agent includes multiple intelligent sub-agents, each of which corresponds to calling a service; and the multiple intelligent sub-agents are respectively deployed on different servers.
[0111] In the case of including multiple intelligent sub-agents, the intelligent agent can further include an intelligent master agent for coordinating and scheduling the multiple intelligent sub-agents.
[0112] In addition, in the process of deploying the service and the intelligent agent, the service can be deployed first, and then the intelligent sub-agent can be deployed according to the principle of proximity according to the deployment position of the service.
[0113] For example, in actual use, multiple services can need to be deployed in data centers in different regions. In the case of multiple services deployed in different regions, the corresponding intelligent sub-agent can also be deployed on the server in the region where the service is located. Through the deployment of the intelligent sub-agent in proximity, the response speed of the service can be improved.
[0114] In this way, through distributed deployment, the influence of the entire service scheduling system in the case of single point failure can be avoided, the reliability of the service scheduling system can be improved, and in the case of cross-regional deployment of services and intelligent agents, the delay of the service can be reduced, the service response efficiency can be improved, and the resource utilization of the server can be improved. Moreover, the deployment position of the service is not limited by the region, and when the service is in different data centers, the service can be scheduled according to the deployment position of the service, the system reliability can be enhanced, and the flexibility and maintainability of the service can be ensured.
[0115] The process of determining the scheduling position in step S304 shown in the above Figure 3 The process of determining the scheduling position in step S304 shown in the above
[0116] Step 21: In response to the first request message, the performance requirement of the service scheduling system is obtained.
[0117] The performance requirement is used to represent the minimum performance requirement of the service scheduling system. For example, the performance requirement includes the SLA requirement, the type of service needed to be used, the memory requirement, etc.
[0118] For example, the performance requirement can be pre-stored in the electronic device.
[0119] Step 22: Among the servers indicated by the deployment position, the server that meets the first preset condition is determined as the scheduling position.
[0120] The first preset condition includes that the current computing power performance and the current network performance meet the minimum performance requirement, and the current computing power performance and / or the current network performance meet the priority condition.
[0121] The current computing power performance can refer to the computing power performance of the server at the current time, or can also be the average value of the computing power performance of the server in a period of time.
[0122] The current network performance can refer to the network performance of the server at the current time, or can also be the average value of the network performance of the server in a period of time.
[0123] For example, the current computing performance can be CPU utilization, GPU utilization, NPU utilization, etc.
[0124] For example, the current network performance can be network latency, packet loss rate, etc.
[0125] For example, the priority condition can be computing performance priority, that is, the server with the highest computing performance has the highest priority. For another example, the priority condition can be latency priority, that is, the server with the lowest latency has the highest priority.
[0126] In this way, the content of the first preset condition can be determined, the server whose current computing performance and current network performance meet the minimum performance requirement and whose current computing performance and / or current network performance meet the priority condition is taken as the scheduling position, the resource utilization can be improved, the processing speed of the service can be improved, the waiting time of the user can be reduced, and the user experience can be improved.
[0127] It should be noted that, compared with the current computing performance, the rated computing performance can be understood as the computing capability under ideal conditions, and the current computing performance can be understood as the computing capability in the actual use process, and generally the current computing performance is less than the rated computing performance. Compared with the current network performance, the rated network performance can be understood as the transmission capability under ideal conditions, and the current network performance can be understood as the transmission capability in the actual use process, and generally the current network performance is less than the rated network performance.
[0128] The above Figure 3 The process of creating the intelligent agent in step S302 shown in the figure will be described below. As one possible embodiment of the present application, the above step S302 can also be implemented by the following step 31 to step 32.
[0129] Step 31: Obtain the interface information of the plurality of services.
[0130] The interface information includes interface name, interface belonging service, request parameter, response parameter, etc.
[0131] In one possible implementation manner, the electronic device stores an application programming interface (API) document of the service, and the API document includes the interface information of the plurality of services. The electronic device obtains the interface information of the plurality of services by querying the API document.
[0132] In another possible implementation manner, the electronic device obtains the interface information of the plurality of services by sending an http request.
[0133] Step 32: encapsulate and compile the interface information in sequence according to the execution order of the plurality of services to generate the intelligent agent.
[0134] For example, according to the execution order of the plurality of services, the access logic between services is obtained, and according to the access logic between services, the interface information corresponding to the plurality of services is encapsulated and compiled in sequence by a code generation tool to generate the intelligent agent.
[0135] The access logic between services can be used to determine when to call which service and how to pass data.
[0136] In this way, the cost of manual development and maintenance can be reduced, and in the case of service changes or interface changes, the demand iteration can be quickly adapted, the business agility is improved, and the system stability, flexibility and intelligent degree are enhanced.
[0137] It should be noted that in the above service scheduling process, the services involved need to be registered before they can be deployed and scheduled. Through the service registration process, the interface information of the service can be provided. In addition, it also includes service update and service deletion. In a business, the interaction between multiple services is involved, and the addition, deletion and modification of the business are realized through the registration of the service, the update of the service and the deletion of the service. Figure 4 A service state diagram provided by an embodiment of the present application is shown in FIG. 1. Figure 4 As shown in the figure, the service state includes service registration, service update and service deletion.
[0138] Figure 5 A flowchart for determining a deployment location provided by an embodiment of the present application is shown in FIG. 2. Figure 5 As shown in the figure, the process can be implemented by S501 to S507.
[0139] S501, the user inputs the service configuration parameters.
[0140] S502, the electronic device determines the execution order of the plurality of services in response to the input operation of the service configuration parameters.
[0141] S503, the electronic device obtains the interface information of the plurality of services.
[0142] S504, the electronic device encapsulates and compiles the interface information in sequence according to the execution order of the plurality of services to generate the intelligent agent.
[0143] S505, the electronic device determines the server in the server management system that meets the second preset condition as the deployment location.
[0144] S506, the electronic device sends a deployment instruction to the server.
[0145] The server is a server satisfying a second preset condition. The deployment instruction is used to instruct the service to be deployed on the server.
[0146] Correspondingly, the server receives the deployment instruction.
[0147] S507, the server deploys the service and the intelligent agent according to the deployment instruction.
[0148] In addition, in the case where the service needs to be added, updated or deleted, the service and the intelligent agent are re-deployed after the service is added, updated or deleted.
[0149] The above process of determining the deployment position can be called a design state in the service scheduling method, which is used to provide basic capabilities for service scheduling. The process of determining the service scheduling position can be called an execution state, which is used to execute the scheduled service. The design state is the basis, and the execution state is the actual application of the design state.
[0150] In addition, after the service and the intelligent agent are deployed, the service is scheduled. Figure 6 A flowchart of a service scheduling method provided by an embodiment of the present application is shown in FIG. 6. Figure 6 As shown in FIG. 6, three services are taken as an example, and the process can be implemented through S601 to S614.
[0151] The services include service A, service B and service M, and the execution order of the services is service A-service B-service M. The service A is distributedly deployed on servers A1 to AN; the service B is distributedly deployed on servers B1 to BN; and the service M is distributedly deployed on servers M1 to MN. The scheduling position of the service A is server A1; the scheduling position of the service B is server B2; and the scheduling position of the service M is server M1. The intelligent agent includes intelligent sub-agent 1, intelligent sub-agent A, intelligent sub-agent B and intelligent sub-agent C.
[0152] S601, the electronic device acquires the performance requirement of the service scheduling system in response to a first request message.
[0153] S602, the electronic device determines a server satisfying a first preset condition in the server indicated by the deployment position as the scheduling position.
[0154] S603, the electronic device schedules the multiple services in the execution order through the intelligent agent based on the scheduling position.
[0155] S604, the electronic device sends the first request message and the scheduling information to the intelligent sub-agent 1.
[0156] The scheduling information includes the execution order of the services and the scheduling position of the services.
[0157] Correspondingly, the intelligent sub-agent 1 receives the scheduling information sent by the electronic device.
[0158] S605, the intelligent sub-agent 1 sends the scheduling information to the intelligent sub-agent A, the intelligent sub-agent B and the intelligent sub-agent M. And the intelligent sub-agent 1 sends the first request message to the intelligent sub-agent A.
[0159] Correspondingly, the intelligent sub-agent A, the intelligent sub-agent B and the intelligent sub-agent M receive the scheduling information. The intelligent sub-agent A receives the first request message.
[0160] S606, the intelligent sub-agent A sends the first request message to the server A1.
[0161] Correspondingly, the server A1 receives the first request message.
[0162] S607, after the server A1 processes the first request message, the first processing result is sent to the intelligent sub-agent A.
[0163] Correspondingly, the intelligent sub-agent A receives the first processing result.
[0164] For example, the first request message can be used to plan a route for an unmanned vehicle. The service A is used to obtain the road condition information in the specified area. Then the first processing result can be the obtained road condition information in the specified area.
[0165] S608, the intelligent sub-agent A sends the first processing result to the intelligent sub-agent B.
[0166] Correspondingly, the intelligent sub-agent B receives the first processing result.
[0167] S609, the intelligent sub-agent B sends the first processing result to the server B2.
[0168] Correspondingly, the server B2 receives the first processing result.
[0169] S610, after the server B2 processes, the second processing result is sent to the intelligent sub-agent B.
[0170] Correspondingly, the intelligent sub-agent B receives the second processing result.
[0171] S611, the intelligent sub-agent B sends the second processing result to the intelligent sub-agent M.
[0172] Correspondingly, the intelligent sub-agent M receives the second processing result.
[0173] S612, the intelligent sub-agent M sends the second processing result to the server M1.
[0174] Correspondingly, the server M1 receives the second processing result.
[0175] S613, after the server M1 processes, the third processing result is sent to the intelligent sub-agent M.
[0176] Correspondingly, the intelligent sub-agent M receives the third processing result.
[0177] S614, the intelligent sub-agent M sends the third processing result to the electronic device.
[0178] Correspondingly, the electronic device receives the third processing result.
[0179] In the embodiments of the present application, the service scheduling system can be divided into functional modules according to the service scheduling method shown in the above method embodiment.
[0180] Exemplarily, Figure 7 A module division schematic diagram of a service scheduling system provided by the embodiments of the present application is shown. As shown in the figure, Figure 7 The service scheduling system includes a business customization module, an intelligent agent module, an arrangement and scheduling module, and an execution module.
[0181] The business customization module obtains service configuration parameters through user input on the interface. The business customization module includes the application scenario of the service, the running environment of the service, the number of services, the dependency relationship between services, etc.
[0182] The intelligent agent module includes creating an intelligent agent, deploying an intelligent agent, and scheduling an intelligent agent.
[0183] The arrangement and scheduling module includes deploying a service, scheduling a user request, and scheduling a service.
[0184] The deployment service is used to determine the deployment location. The scheduling user request is used to schedule the request information sent by the user. For example, the request information sent by the user can be the first request information. The scheduling service is used to determine the scheduling location.
[0185] The execution module is used to make the multiple services be scheduled in turn according to the execution order. For example, service A-service B-service C.
[0186] Exemplarily, Figure 8 Another module division schematic diagram of a service scheduling system provided by the embodiments of the present application is shown. As shown in the figure, Figure 8 The service scheduling system includes an infrastructure module, a service connection module, a scheduling engine module, a business arrangement module, and a business domain module.
[0187] The infrastructure module refers to the computing power resources used to achieve user needs. The infrastructure module includes end-side computing power, edge cloud computing power, center cloud computing power, gateway, etc.
[0188] The service connection module is used to sequentially schedule a plurality of services according to deployment positions and scheduling positions. The service connection module comprises an intelligent agent execution sequence and a service execution sequence.
[0189] The scheduling engine module is used to determine the deployment positions and the scheduling positions. The scheduling engine module comprises an intelligent agent scheduling module, a service scheduling module and a preset condition module. The intelligent agent scheduling module is used to determine intelligent agent deployment positions and scheduling positions. The intelligent agent scheduling module comprises intelligent agent deployment positions and intelligent agent scheduling positions. The service scheduling module is used to determine service deployment positions and scheduling positions. The service scheduling module comprises service deployment positions and service scheduling positions. The preset condition module is used to store and manage preset conditions. The preset condition module comprises a preset condition library and a preset condition management.
[0190] The business orchestration module is used to determine the execution sequence of the services and create intelligent agents. The business orchestration module comprises service registration, service management, permission management, service configuration parameters, creation of intelligent agents, etc.
[0191] The business domain module refers to the domain to which the service scheduling system can be applied. The business domain module comprises autonomous driving, industrial quality inspection, medical health, financial services, smart home, etc.
[0192] As a specific example, Figure 9 An implementation effect diagram of service scheduling is provided for the embodiments of the present application. When the above service scheduling system is applied in the autonomous driving domain, in order to realize the business requirements of unmanned shuttle buses or unmanned vending vehicles, the front-end monitoring device is called, the intelligent agent schedules the corresponding services according to the execution sequence of the services, i.e., the execution sequence of service 1-service 2-service 4 and service 3-service 4, through the corresponding intelligent sub-agents of the services, and finally outputs the result required by the user. In this process, the scheduling of the intelligent agent and the service is realized through network connection such as a bearer network.
[0193] The embodiments of the present application can divide the functional modules or functional units of the service scheduling device according to the above method examples. For example, each functional module or functional unit can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be realized in the form of hardware or in the form of a software functional module or functional unit. The division of modules or units in the embodiments of the present application is illustrative, and is only a logical functional division. When actually implemented, another division mode can be used.
[0194] Figure 10A structural schematic diagram of a service scheduling apparatus 100 is provided for an embodiment of the present application. The service scheduling apparatus 100 comprises: a first determining unit 1001 configured to determine an execution order of a plurality of services in response to an input operation of a service configuration parameter, the service configuration parameter being used to represent a configuration required by the plurality of services in a running process; a creating unit 1002 configured to create an intelligent agent based on the execution order of the plurality of services, the intelligent agent being used to coordinate the plurality of services to execute in sequence according to the execution order; a second determining unit 1003 configured to determine a deployment position based on a computing power and a network performance of a server managed in a service scheduling system, the deployment position being used to indicate a server for deploying the plurality of services and the intelligent agent; a third determining unit 1004 configured to determine a scheduling position based on the deployment position in response to a first request message; and a scheduling unit 1005 configured to indicate a server for running the plurality of services and the intelligent agent, and to sequentially schedule the plurality of services through the intelligent agent according to the execution order based on the scheduling position.
[0195] In a possible implementation, the third determining unit 1004 is configured to: in response to the first request message, acquire a performance requirement of the service scheduling system, the performance requirement being used to represent a minimum performance requirement for the service scheduling system; and determine, as the scheduling position, a server that satisfies a first preset condition from the servers indicated by the deployment position; wherein the first preset condition comprises that a current computing power performance and a current network performance satisfy the minimum performance requirement, and the current computing power performance and / or the current network performance satisfy a priority condition.
[0196] In a possible implementation, the second determining unit 1003 is configured to: determine, as the deployment position, a server that satisfies a second preset condition from the servers managed in the service scheduling system; wherein the second preset condition comprises a server with a highest rated computing power performance and / or a highest rated network performance.
[0197] In a possible implementation, the plurality of services are respectively deployed on different servers in a distributed deployment manner; the intelligent agent comprises a plurality of intelligent sub-agents, each intelligent sub-agent corresponding to a service call; and the plurality of intelligent sub-agents are respectively deployed on different servers.
[0198] In a possible implementation, the creating unit 1002 is configured to: acquire interface information of the plurality of services; and sequentially encapsulate and compile the interface information according to the execution order of the plurality of services to generate the intelligent agent.
[0199] In a possible implementation, the service configuration parameter comprises a service application scenario, a service running environment, a service quantity, and a dependency relationship between services.
[0200] Those skilled in the art can clearly understand the above-mentioned method embodiments from the description of the above-mentioned implementation manners. For the convenience and brevity of description, only the division of the above-mentioned functional modules is exemplified. In actual application, the above-mentioned functions can be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the foregoing method embodiments, and will not be described here.
[0201] The embodiment of the present application provides a computer program product containing instructions, which, when executed on a computer, cause the computer to perform the service scheduling method in the method embodiments.
[0202] The embodiment of the present application also provides a computer readable storage medium, which stores instructions, and when the instructions are executed on a computer, the computer performs the service scheduling method in the method flow shown in the method embodiments.
[0203] The computer readable storage medium may, for example, be, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or apparatus, or any combination of the above. More specific examples (a non-exhaustive list) of the computer readable storage medium include an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a register, a hard disk, an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above, or any other form of computer readable storage medium known in the art. An exemplary storage medium is coupled to the processor, so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be an integral part of the processor. The processor and the storage medium can be located in an application specific integrated circuit (ASIC). In the embodiment of the present application, the computer readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, device or apparatus.
[0204] Since the service scheduling apparatus, the computer readable storage medium and the computer program product in the embodiments of the present application can be applied to the method described above, the technical effects that can be obtained thereby can also be referred to the method embodiments, and the embodiments of the present application will not be repeated here.
[0205] In several embodiments provided in the present application, it should be understood that the disclosed system, device and method can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division. In actual implementation, another division mode can be used. For example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units shown or discussed can be indirect coupling or communication connection through some interface, device or unit, and can be electrical, mechanical or other forms.
[0206] The units described as separate components can or can not be physically separated, and the components shown as units can or can not be physical units, i.e. can be located in one place or distributed on a plurality of network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiments.
[0207] In addition, the functional units in each embodiment of the present application can be integrated in one processing unit, or each unit can be physically present separately, or two or more units can be integrated in one unit.
[0208] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any change or replacement within the technical scope disclosed in the present application should be covered in the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A service scheduling method, characterized in that, The method, applied to a service scheduling system, includes: In response to input operations of service configuration parameters, the execution order of multiple services is determined, wherein the service configuration parameters are used to characterize the configuration required by the multiple services during operation; Based on the execution order of the multiple services, a smart proxy is created, which is used to coordinate the execution of the multiple services in the order of execution. Based on the computing power and network performance of the servers managed in the service scheduling system, the deployment location is determined; the deployment location is used to indicate the server where the multiple services and the intelligent agent are deployed. In response to the first request message, a scheduling location is determined based on the deployment location; the scheduling location is used to indicate the server running the plurality of services and the smart agent; Based on the scheduling position, the intelligent agent sequentially schedules the multiple services according to the execution order.
2. The method according to claim 1, characterized in that, The step of responding to the first request message and determining the scheduling location based on the deployment location includes: In response to the first request message, the performance requirements of the service scheduling system are obtained, wherein the performance requirements are used to characterize the minimum performance requirements of the service scheduling system; Among the servers indicated by the deployment location, the server that meets the first preset condition is selected as the scheduling location; The first preset condition includes: the current computing power performance and the current network performance meet the minimum performance requirements, and the current computing power performance and / or the current network performance meet the priority conditions.
3. The method according to claim 1, characterized in that, The determination of deployment locations based on the computing power and network performance of servers managed in the service scheduling system includes: Among the servers managed in the service scheduling system, the server that meets the second preset condition is selected as the deployment location; The second preset condition includes: the server with the highest rated computing power performance and / or rated network performance.
4. The method according to claim 1, characterized in that, The multiple services are deployed on different servers in a distributed manner; The intelligent agent includes multiple intelligent sub-agents, each of which calls a service; the multiple intelligent sub-agents are deployed on different servers.
5. The method according to claim 1, characterized in that, The creation of a smart agent based on the execution order of the multiple services includes: Obtain the interface information of the multiple services; The interface information is sequentially encapsulated and compiled according to the execution order of the multiple services to generate the intelligent proxy.
6. The method according to any one of claims 1-5, characterized in that, The service configuration parameters include the service's application scenario, the service's operating environment, the number of services, and the dependencies between services.
7. A service scheduling device, characterized in that, The device includes: The first determining unit is configured to determine the execution order of multiple services in response to an input operation of service configuration parameters, wherein the service configuration parameters are used to characterize the configuration required by the multiple services during operation; A creation unit is used to create an intelligent agent based on the execution order of the multiple services, wherein the intelligent agent is used to coordinate the execution of the multiple services in the order of execution; The second determining unit is used to determine the deployment location based on the computing power and network performance of the servers managed in the service scheduling system; the deployment location is used to indicate the server where the multiple services and the intelligent agent are deployed. The third determining unit is configured to, in response to the first request message, determine the scheduling location based on the deployment location; the scheduling location is used to indicate the server running the plurality of services and the intelligent agent; The scheduling unit is used to schedule the multiple services sequentially according to the execution order through the intelligent agent based on the scheduling position.
8. An electronic device, characterized in that, include: A processor and a communication interface; the communication interface is coupled to the processor, the processor being used to run computer programs or instructions to implement the service scheduling method as described in any one of claims 1-6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores instructions that, when executed by a computer, perform the service scheduling method as described in any one of claims 1-6.
10. A computer program product, characterized in that, The computer program product includes computer instructions that, when executed on a computer, cause the computer to perform the service scheduling method as described in any one of claims 1-6.