Tool scheduling control method and device, computer equipment and readable storage medium

Through the tool scheduling control method, the switching signal of the open platform is used to start a second tool with the same function, solving the problem of untimely business processing caused by tool restart and realizing the timeliness of business interaction.

CN119557019APending Publication Date: 2025-03-04CHINA CONSTRUCTION BANK +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411619421.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-13
Publication Date
2025-03-04

AI Technical Summary

Technical Problem

In the field of big data, tools can run uninterruptedly for 24 hours and may cause memory overflow or operation errors. The existing restart methods rely on manual operations, resulting in untimely business processing.

Method used

Provide a tool scheduling control method, by obtaining the switching signal sent by the open platform, starting a second tool with the same functions, replacing the first tool, and ensuring the timeliness of business interaction.

Benefits of technology

During the restart of the first tool, a second tool with the same function replaces the first tool, avoiding the stagnation of business processing and ensuring the timeliness of business processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119557019A_ABST
    Figure CN119557019A_ABST
Patent Text Reader

Abstract

The invention relates to the field of big data, and particularly discloses a tool scheduling control method and device, computer equipment, a computer readable storage medium and a computer program product. The method comprises the steps of obtaining a first switching signal sent by an open platform under the condition that a first tool is in a running state; in response to the first switching signal, starting a second tool matched with the first tool; the second tool and the first tool are both deployed in the computer equipment, and the second tool and the first tool have the same function; determining a first calling interface corresponding to the first tool and a second calling interface corresponding to the second tool; under the condition that the second tool is connected through the second calling interface, the connection with the first calling interface is disconnected, so that the first tool is stopped; and sending a first feedback signal of switching completion to the open platform. By adopting the method, the timeliness of service processing can be ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of big data technology, and in particular to a tool scheduling control method, apparatus, computer equipment, computer-readable storage medium, and computer program product. Background Art

[0002] In the current era of rapid development in the field of big data, open platforms open to users often need to interact with computer devices uninterruptedly to ensure the timeliness and accuracy of completing the business that users need to handle. Specifically, open platforms generally interact with tools deployed on computer devices, and the tools assist in the development of corresponding functions on the computer devices to enable the computer devices to achieve corresponding business functions.

[0003] However, if the tool runs 24 hours a day, the running process may cause memory overflow or operation errors. Therefore, the tool needs to be restarted after working for a period of time. At present, the tool is generally restarted manually, but during the restart process, the tool cannot work from the time the tool is shut down to the time it is restarted to resume normal operation, and cannot assist in development and ensure business interaction between computer equipment and open platforms. Therefore, the traditional way of restarting the tool has the problem of untimely processing of business. Summary of the invention

[0004] Based on this, it is necessary to provide a tool scheduling control method, device, computer equipment, computer-readable storage medium and computer program product that can ensure timely processing of business in response to the above technical problems.

[0005] In a first aspect, the present application provides a tool scheduling control method, applied to a computer device, comprising:

[0006] When the first tool is in a running state, obtaining a first switching signal sent by the open platform;

[0007] In response to the first switching signal, a second tool matching the first tool is started; the second tool and the first tool are both deployed on the computer device, and the second tool has the same function as the first tool;

[0008] Determine a first calling interface corresponding to the first tool and a second calling interface corresponding to the second tool;

[0009] In case of accessing the second tool through the second calling interface, disconnecting from the first calling interface to deactivate the first tool;

[0010] A first feedback signal indicating that the switching is completed is sent to the open platform.

[0011] In one embodiment, in response to the first switching signal, starting a second tool that matches the first tool includes:

[0012] determining a tool type of the first tool in response to the first switching signal;

[0013] A second tool corresponding to the tool type is obtained as a second tool matching the first tool.

[0014] In one embodiment, obtaining a second tool corresponding to the tool type as a second tool matching the first tool includes:

[0015] Acquire a plurality of candidate second tools corresponding to the tool type;

[0016] Sending a test signal to each of the candidate second tools, and determining a response time of each of the candidate second tools based on the test signal;

[0017] A candidate second tool with the shortest response time is selected as the second tool matching the first tool.

[0018] In one embodiment, the method further comprises:

[0019] Acquire a second switching signal sent by the open platform when the first tool completes restarting;

[0020] In response to the second switching signal, starting the first tool;

[0021] In case of accessing the first tool through the first calling interface, disconnecting from the second calling interface to deactivate the second tool;

[0022] A second feedback signal indicating that the switching is completed is sent to the open platform.

[0023] In a second aspect, the present application also provides a tool scheduling control method, which is applied to an open platform, including:

[0024] When the first tool is in operation, sending a first switching signal to the computer device;

[0025] Receive a first feedback signal of switching completion sent by the computer device; the first feedback signal is sent by the computer device after disconnecting from the first calling interface when the computer device accesses the second tool through the second calling interface; the second tool is started by the computer device in response to the first switching signal; the first calling interface corresponds to the first tool; the second calling interface corresponds to the second tool; the second tool and the first tool are both deployed on the computer device, and the second tool has the same function as the first tool.

[0026] In one embodiment, when the first tool is in the running state, sending the first switching signal to the computer device includes:

[0027] When the first tool is in operation, obtaining operation parameters of the first tool and operation conditions corresponding to the first tool;

[0028] When the operating parameter does not meet the operating condition, a first switching signal is sent to the computer device.

[0029] In a third aspect, the present application further provides a tool scheduling control device, applied to a computer device, the device comprising:

[0030] A switching signal acquisition module, used for acquiring a first switching signal sent by the open platform when the first tool is in a running state;

[0031] a tool starting module, configured to start a second tool matching the first tool in response to the first switching signal; the second tool and the first tool are both deployed on the computer device, and the second tool has the same function as the first tool;

[0032] An interface determination module, used to determine a first calling interface corresponding to the first tool and a second calling interface corresponding to the second tool;

[0033] a tool deactivation module, configured to disconnect the first calling interface from the second calling interface to deactivate the first tool when the second tool is accessed through the second calling interface;

[0034] The signal sending module is used to send a first feedback signal indicating that the switching is completed to the open platform.

[0035] In one embodiment, the tool startup module includes:

[0036] a tool type determination unit, configured to determine a tool type of the first tool in response to the first switching signal;

[0037] The tool acquisition unit is used to acquire a second tool corresponding to the tool type as a second tool matching the first tool.

[0038] In one embodiment, the tool acquisition unit is specifically used to:

[0039] Acquire a plurality of candidate second tools corresponding to the tool type;

[0040] Sending a test signal to each of the candidate second tools, and determining a response time of each of the candidate second tools based on the test signal;

[0041] A candidate second tool with the shortest response time is selected as the second tool matching the first tool.

[0042] In one embodiment, the device further includes a recall module, specifically configured to:

[0043] Acquire a second switching signal sent by the open platform when the first tool completes restarting;

[0044] In response to the second switching signal, starting the first tool;

[0045] In case of accessing the first tool through the first calling interface, disconnecting from the second calling interface to deactivate the second tool;

[0046] A second feedback signal indicating that the switching is completed is sent to the open platform.

[0047] In a fourth aspect, the present application further provides a tool scheduling control device, which is applied to an open platform, and the device includes:

[0048] A switching signal sending module, used for sending a first switching signal to the computer device when the first tool is in an operating state;

[0049] A feedback signal receiving module is used to receive a first feedback signal of switching completion sent by the computer device; the first feedback signal is sent by the computer device after disconnecting from the first calling interface when the computer device accesses the second tool through the second calling interface; the second tool is started by the computer device in response to the first switching signal; the first calling interface corresponds to the first tool; the second calling interface corresponds to the second tool; the second tool and the first tool are both deployed on the computer device, and the second tool has the same function as the first tool.

[0050] In one embodiment, the switching signal sending module is specifically used for:

[0051] When the first tool is in operation, obtaining operation parameters of the first tool and operation conditions corresponding to the first tool;

[0052] When the operating parameter does not satisfy the operating condition, a first switching signal is sent to the computer device.

[0053] In a fifth aspect, the present application further provides a computer device, wherein the computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the above method are implemented.

[0054] In a sixth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the above method are implemented.

[0055] In a seventh aspect, the present application further provides a computer program product, wherein the computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.

[0056] The tool scheduling control method, device, computer equipment, computer readable storage medium and computer program product are applied to computer equipment. When the first tool is in the running state, the first switching signal sent by the open platform is obtained to determine the tool switching instruction indicated by the open platform. In response to the first switching signal, the second tool matching the first tool is started, wherein the second tool and the first tool are both deployed on the computer equipment, and the second tool has the same function as the first tool. At this time, the first tool and the second tool are both in the startup state, and the first tool is the calling tool of the computer equipment. Then, the first calling interface corresponding to the first tool and the second calling interface corresponding to the second tool are determined. When the second tool is accessed through the second calling interface, the connection with the first calling interface is disconnected to deactivate the first tool. At this time, the second tool replaces the first tool as the calling tool of the computer equipment, and sends the first feedback signal of the switching completion to the open platform, so that the open platform can obtain the information that the tool switching is successful. The above method is used for tool scheduling, and a second tool is set to temporarily replace the first tool to work, so as to ensure that during the restart of the first tool, there is a second tool with the same function to replace the first tool to assist in the development of the corresponding function on the computer equipment, so as to avoid the stagnation of business processing during the restart process, thereby ensuring the timeliness of business processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0058] Figure 1 An application environment diagram of a tool scheduling control method in one embodiment;

[0059] Figure 2 It is a flowchart of a tool scheduling control method in one embodiment;

[0060] Figure 3 A schematic diagram of a flow chart of starting a second tool step in one embodiment;

[0061] Figure 4 A schematic diagram of a process for obtaining a second tool step in one embodiment;

[0062] Figure 5 A schematic diagram of a flow chart of a secondary tool switching step in an embodiment;

[0063] Figure 6 A schematic flow chart of a tool scheduling control method in another embodiment;

[0064] Figure 7 is a schematic flow chart of a first switching signal sending step in an embodiment;

[0065] Figure 8 A specific flow chart of a tool scheduling control method in one embodiment;

[0066] Fig. 9 A schematic diagram of a flow chart of an example scheduling step in an embodiment;

[0067] Fig.10 It is a flowchart of a tool scheduling control method in another embodiment;

[0068] Fig.11 A schematic flow chart of a tool scheduling control method in yet another embodiment;

[0069] Fig.12 It is a structural block diagram of a tool scheduling control device in one embodiment;

[0070] Fig.13 It is a structural block diagram of a tool scheduling control device in another embodiment;

[0071] Fig.14 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0072] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application. It should be noted that in the embodiments of the present application, certain software, components, models and other existing solutions in the industry may be mentioned, which should be considered as exemplary, and their purpose is only to illustrate the feasibility of the implementation of the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.

[0073] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations. The acquisition, storage, use, and processing of data in the technical solution of this application are in compliance with relevant provisions of national laws and regulations.

[0074] The tool scheduling control method provided in the embodiment of the present application can be applied to Figure 1In the application environment shown. The computer device 102 communicates with the open platform 104 through the network, and the first tool 106 and the second tool 108 are both deployed on the computer device 102. The computer device 102 may be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, IoT devices and portable wearable devices. The IoT devices may be smart speakers, smart TVs, smart air conditioners, smart car devices, projection devices, etc. Portable wearable devices may be smart watches, smart bracelets, head-mounted devices, etc. The head-mounted devices may be virtual reality (VR) devices, augmented reality (AR) devices, smart glasses, etc. The open platform 104 is a platform for users and enterprises that can exchange data and cooperate. The first tool 106 and the second tool 108 may be software tools or hardware tools deployed on the computer device. Users can use the first tool 106 and the second tool 108 to assist in the development, maintenance, simulation, transplantation or management of the corresponding functions on the computer device to enrich the business functions of the computer device. Specifically, during the tool scheduling and control process, the computer device 102 obtains a first switching signal sent by the open platform 104 when the first tool 106 is in operation; in response to the first switching signal, the second tool 108 matching the first tool 106 is started; the second tool 108 and the first tool 106 are both deployed on the computer device 102, and the second tool 108 has the same function as the first tool 106; a first calling interface corresponding to the first tool 106 and a second calling interface corresponding to the second tool 108 are determined; when the second tool 108 is accessed through the second calling interface, the connection with the first calling interface is disconnected to deactivate the first tool 106; and a first feedback signal of switching completion is sent to the open platform 104.

[0075] In an exemplary embodiment, Figure 2 As shown, a tool scheduling control method is provided, which is applied to Figure 1 The computer device 102 in the example is used as an example to illustrate, including the following steps S202 to S210. Among them:

[0076] Step S202: when the first tool is in operation, obtaining a first switching signal sent by the open platform.

[0077] Among them, the first tool can be a software tool or a hardware tool deployed on the computer device. The user can use the first tool to assist in the development, maintenance, simulation, transplantation or management of the corresponding functions on the computer device to enrich the business functions of the computer device. The computer device can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car devices, projection devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The head-mounted devices can be virtual reality (VR) devices, augmented reality (AR) devices, smart glasses, etc. The open platform 104 is a platform for users and enterprises that can exchange data and cooperate. The open platform 104 is a platform for users and enterprises that can exchange data and cooperate.

[0078] In this embodiment, if the first tool is running on the computer device and is assisting in the development of the corresponding function on the computer device, it indicates that the first tool is in the running state. The first switching signal is a signal for switching the first tool to the second tool.

[0079] In actual applications, the first tool is generally used to assist in the development of the corresponding functions on the computer device. At this time, the first tool is in operation. However, if the first tool works for too long, the memory required for operation will become larger and larger, resulting in unknown errors such as the inability to process tasks normally. Therefore, the first tool can be switched, but the computer device needs to receive the switching instruction sent by the open platform before it can execute the tool switching function. That is, when the first tool is in operation, the first switching signal sent by the open platform is obtained, and the tool switching operation can be performed later. It can be understood that the process of obtaining the first switching signal sent by the open platform can be either active or passive.

[0080] Step S204: In response to the first switching signal, starting a second tool that matches the first tool.

[0081] The second tool is also deployed on the computer device, and the second tool has the same function as the first tool.

[0082] Specifically, after obtaining the first switching signal sent by the open platform, it is necessary to respond to the first switching signal, that is, it is necessary to start the second tool that matches the first tool first. At this time, the first tool and the second tool are both in the startup state, and the first tool is the calling tool of the computer device. In some specific embodiments, there may be many first tools deployed on the computer device, and each first tool corresponds to a different auxiliary development function. Since the second tool has the same function as the first tool, before starting the second tool, it is necessary to first determine the tool type of the first tool and obtain the second tool corresponding to the tool type as the second tool that matches the first tool. In other specific embodiments, an association relationship can be established in advance for each first tool and the second tool corresponding to the first tool. After obtaining the first switching signal sent by the open platform, the computer device only needs to determine and start the second tool that matches the first tool based on the association relationship.

[0083] Step S206, determining a first calling interface corresponding to the first tool and a second calling interface corresponding to the second tool.

[0084] Among them, the calling interface is used to realize the communication and interaction between different programs or systems. It allows data and functions to be transferred from one program or system to another, thereby realizing the expansion of the system and the enhancement of functions. By calling the interface, a module or system can be shared and reused by multiple programs or systems, improving the reusability and development efficiency of the code.

[0085] Specifically, after starting the second tool, at this time, both the first tool and the second tool are in the startup state, and it is necessary to first determine the first calling interface corresponding to the first tool and the second calling interface corresponding to the second tool to facilitate subsequent tool switching.

[0086] Step S208, when the second tool is accessed through the second calling interface, disconnect the first calling interface to deactivate the first tool.

[0087] Specifically, after determining the first calling interface corresponding to the first tool and the second calling interface corresponding to the second tool, it is necessary to access the second tool through the second calling interface. After accessing the second tool, the second tool is replaced by the calling tool of the computer device. Therefore, it is necessary to disconnect the connection with the first calling interface to deactivate the first tool. After the above operation, the process of replacing the first tool with the second tool to call the computer device is completed, and the first tool can be restarted. After the restart is complete, the above steps can be repeated, and the first tool can replace the first tool to call the computer device.

[0088] Step S210: Send a first feedback signal indicating that the switching is completed to the open platform.

[0089] The first feedback signal is used to indicate that the computer device has completed the tool switching process and the first tool has been replaced by the second tool.

[0090] Specifically, when the computer device accesses the second tool through the second calling interface, it disconnects from the first calling interface and deactivates the first tool. Then, it is necessary to feedback information on the completion of the tool switching to the open platform, that is, it is necessary to send a first feedback signal indicating the completion of the switching to the open platform. The open platform can know the progress of the task through the first feedback signal, so that the open platform can update the signal sent to the computer device to ensure normal interaction between the open platform and the computer device.

[0091] Optionally, an instruction table can be established in advance, and the open platform stores the first switching instruction represented by the first switching signal in the instruction table, and then the computer device obtains and executes the first switching instruction from the instruction table. After execution, the computer device stores the first feedback information represented by the first feedback signal in the instruction table, and finally the open platform obtains the first feedback information from the instruction table. The open platform can also directly send the first switching signal to the computer device, and the computer device can directly send the first feedback signal to the open platform.

[0092] The tool scheduling control method is applied to a computer device. When the first tool is in the running state, the first switching signal sent by the open platform is obtained to determine the tool switching instruction indicated by the open platform. In response to the first switching signal, the second tool matching the first tool is started, wherein the second tool and the first tool are both deployed on the computer device, and the second tool has the same function as the first tool. At this time, the first tool and the second tool are both in the startup state, and the first tool is the calling tool of the computer device. Then, the first calling interface corresponding to the first tool and the second calling interface corresponding to the second tool are determined. When the second tool is accessed through the second calling interface, the connection with the first calling interface is disconnected to deactivate the first tool. At this time, the second tool replaces the first tool as the calling tool of the computer device, and sends the first feedback signal of the switching completion to the open platform, so that the open platform can obtain the information that the tool switching is successful. The above method is used for tool scheduling, and a second tool is set to temporarily replace the first tool to work, so as to ensure that during the restart of the first tool, there is a second tool with the same function to replace the first tool to assist in the development of the corresponding function on the computer device, so as to avoid the stagnation of business processing during the restart process, thereby ensuring the timeliness of business processing.

[0093] In an exemplary embodiment, Figure 3 As shown, in response to the first switching signal, the step of starting the second tool matching the first tool includes:

[0094] Step S302: determining a tool type of a first tool in response to a first switching signal.

[0095] The tool type refers to the result of classifying the tool according to its function, purpose or other characteristics. In the present application, the first tool and the second tool have the same function, so the first tool and the second tool have the same tool type.

[0096] Specifically, after obtaining the first switching signal sent by the open platform, it is necessary to respond to the first switching signal, that is, it is necessary to start the second tool that matches the first tool first. At this time, the first tool and the second tool are both in the startup state. The first tool is the calling tool of the computer device. However, there may be many first tools deployed on the computer device, and each first tool corresponds to different auxiliary development functions. Since the second tool has the same function as the first tool, before starting the second tool, it is necessary to first determine the tool type of the first tool.

[0097] Step S304: Acquire a second tool corresponding to the tool type as the second tool matching the first tool.

[0098] Specifically, after determining the tool type of the first tool, a second tool corresponding to the tool type can be obtained to ensure that the second tool is of the same tool type as the first tool, and then the second tool can be used as a second tool matching the first tool.

[0099] In this embodiment, by matching the second tool corresponding to the first tool based on the tool type of the first tool, it can be ensured that when multiple first tools are deployed on a computer device, the tool types of the first tool and the second tool are the same, thereby ensuring the normal progress of the subsequent tool scheduling control process.

[0100] In an exemplary embodiment, Figure 4 As shown, the step of obtaining a second tool corresponding to the tool type as the second tool matching the first tool includes:

[0101] Step S402, obtaining a plurality of candidate second tools corresponding to the tool type.

[0102] Step S404: Send a test signal to each candidate second tool, and determine the response time of each candidate second tool based on the test signal.

[0103] Step S406: Select the candidate second tool with the shortest response time as the second tool that matches the first tool.

[0104] The candidate second tool refers to the second tool being considered or tested. The test signal is a signal used to detect, measure or evaluate the performance of a system or tool under specific conditions. The response, performance or failure of the system or tool can be evaluated through the test signal. The response time is the response time of the tool to the test signal, which can be used to characterize the performance of the tool.

[0105] Specifically, there may be multiple second tools with the same tool type as the first tool, and ultimately only one second tool needs to be selected to match the first tool. Therefore, it is necessary to first obtain multiple candidate second tools corresponding to the tool type of the first tool, send a test signal to each candidate second tool, and determine the response time of each candidate second tool based on the test signal to determine the performance of each candidate second tool. The shorter the response time, the better the performance of the candidate second tool. Therefore, the candidate second tool with the shortest response time can be selected as the second tool that matches the first tool.

[0106] In this embodiment, when there are multiple candidate second tools corresponding to the tool type of the first tool, the candidate second tool with the shortest response time to the test signal is selected as the second tool that matches the first tool, which can ensure the work efficiency and work quality of the second tool during operation, and thus ensure the stable implementation of tool scheduling control.

[0107] In an exemplary embodiment, Figure 5 As shown, the tool scheduling control method also includes:

[0108] Step S502: Acquire a second switching signal sent by the open platform when the first tool completes restarting.

[0109] Step S504, starting the first tool in response to the second switching signal.

[0110] Step S506, when the first tool is accessed through the first calling interface, disconnecting from the second calling interface to deactivate the second tool.

[0111] Step S508: Send a second feedback signal indicating that the switching is completed to the open platform.

[0112] The second switching signal is a signal for switching the second tool to the first tool. The second feedback signal is used to indicate that the computer device has completed the tool switching process and the second tool has been replaced by the first tool.

[0113] Specifically, after deactivating the first tool and sending the first feedback signal of switching completion to the open platform, the first tool needs to be restarted. After the restart is complete, it needs to be switched again to replace the second tool with the first tool. Therefore, the open platform needs to confirm that the first tool has completed the restart and send a second switching signal to the computer device. After receiving the second switching signal, the computer device needs to respond to the second switching signal, start the first tool, and disconnect from the second calling interface when accessing the first tool through the first calling interface to deactivate the second tool. Finally, the second feedback signal of switching completion is sent to the open platform. At this time, the first tool has successfully restarted and is used again as a tool to assist computer device development, realizing a complete tool scheduling.

[0114] In this embodiment, after the first tool is restarted, the tool switching step is continued until the first tool is used again as a tool to assist computer device development. This ensures that the second tool will replace the first tool during the restart of the first tool to ensure timeliness of business processing.

[0115] In an exemplary embodiment, Figure 6 As shown, a tool scheduling control method is also provided, which is applied to Figure 1 The open platform 104 in FIG. 1 is used as an example to illustrate the invention, including:

[0116] Step S602: When the first tool is in operation, a first switching signal is sent to the computer device.

[0117] Step S604: receiving a first feedback signal sent by the computer device indicating that the switching is completed.

[0118] Among them, the first feedback signal is sent by the computer device after disconnecting from the first calling interface when the computer device accesses the second tool through the second calling interface; the second tool is started by the computer device in response to the first switching signal; the first calling interface corresponds to the first tool; the second calling interface corresponds to the second tool; the second tool and the first tool are both deployed on the computer device, and the second tool has the same function as the first tool.

[0119] Specifically, this embodiment uses the open platform as the execution subject. When the first tool is in operation, the open platform needs to send a first switching signal to the computer device to instruct the computer device to switch the tool. After the computer device completes the tool switch, it needs to receive a first feedback signal of the switching completion sent by the computer device to complete a tool replacement process. Optionally, when the first tool is in operation, the open platform can obtain the operating parameters of the first tool and the operating conditions corresponding to the first tool, and send the first switching signal to the computer device when the operating parameters do not meet the operating conditions. Optionally, the restart time of the first tool can also be preset on the open platform, and the open platform can send the first switching signal to the computer device at a fixed time.

[0120] In this embodiment, the open platform is used to issue tool switching instructions to the computer device, and receive a first feedback signal sent by the computer device after the computer device completes the switch. The working status of the computer device can be determined in a timely manner to issue corresponding work instructions to the computer device, thereby ensuring the timeliness of business processing.

[0121] In an exemplary embodiment, Figure 7 As shown, when the first tool is in the running state, the step of sending a first switching signal to the computer device includes:

[0122] Step S702, when the first tool is in operation, obtain the operation parameters of the first tool and the operation conditions corresponding to the first tool.

[0123] Step S704: When the operating parameters do not meet the operating conditions, a first switching signal is sent to the computer device.

[0124] The operating parameters refer to various values ​​or options that characterize the performance or status of a tool during its operation or execution. The operating conditions are the conditions that the operating parameters need to meet during the normal operation of the first tool. It can be understood that if the first tool works for too long, the operating parameters of the first tool may have problems and thus fail to meet the operating conditions.

[0125] Specifically, in order to save costs, the first tool can be restarted when the first tool has been running for a long time and the operating parameters do not meet the operating conditions. That is, when the first tool is in operation, the operating parameters of the first tool and the operating conditions corresponding to the first tool can be obtained to judge the operating parameters. When the operating parameters do not meet the operating conditions, it is considered that the first tool has been running for a long time and needs to be restarted. Therefore, a first switching signal needs to be sent to the computer device.

[0126] In this embodiment, by judging the operating parameters of the first tool and determining the timing of sending the first switching signal, it is possible to avoid the problem of wasted costs caused by switching the first tool when it is operating normally, thereby achieving the purpose of cost saving.

[0127] In a specific embodiment, the specific process of the tool scheduling control method is as follows: Figure 8 As shown, after receiving the tool switching instruction, the open platform can update the pending task table. After the computer device assisted in development by the first tool queries the task instruction updated by the open platform from the pending task table, it can execute the tool switching operation, switch the first tool to the second tool, and update the pending task table. At this time, the open platform can query the pending task table to determine the completion status of the tool switching business.

[0128] In a specific embodiment, Fig. 9 As shown, four different function schedules can be configured in the open platform. These four schedules can be used to call up computer equipment jobs to start and stop batch scheduling processing tools.

[0129] Scheduling 1 function: start the first tool;

[0130] Scheduling 2 function: stop the first tool;

[0131] Scheduling 3 function: start the second tool;

[0132] Scheduling 4 function: stop the second tool;

[0133] Specifically, when no tool is running in the host computer device, the action of starting the second tool needs to be manually executed. After the second tool is running normally, the open platform instance schedules 1 to run: start the first tool, and then instantiate schedule 4: stop the second tool, and instantiate schedule 3. Schedule 3 will wait until a fixed time to start running, realizing automatic restart.

[0134] When it is in the cycle process: the system natural day is T;

[0135] Prerequisite status: Instance schedule 1 (instance date is T-1) on the open platform is running normally, the first tool on the computer device is running normally, and schedule 3 (instance date is T) is waiting (time has not arrived);

[0136] When the system time reaches 15:15, Schedule 3 starts running: first start the second tool on the computer device, and after the second tool runs normally, schedule 2 is instantiated (the instance date is T);

[0137] When the system time reaches 15:25, Schedule 2 starts running: first stop the first tool on the computer device, and after all the first tools are stopped (Schedule 1 (instance date is T-1) ends), then instance Schedule 1 (instance date is T), and Schedule 2 ends;

[0138] When the system time reaches 15:35, Schedule 1 (instance date is T) starts running: the first tool on the computer device is started first, and then Schedule 4 (instance date is T) is instantiated after the first tool is started;

[0139] Schedule 4 starts running: first stop the second tool on the computer device. After the second tool stops (Schedule 3 (instance date is T) ends), schedule 3 (instance date is T+1) is instantiated. Schedule 4 ends.

[0140] At this time, the first tool has completed one round of restarts, and will start the next round of restarts at 15:15 the next day.

[0141] In a specific embodiment, Fig.10 As shown, a tool scheduling control method is also provided, which is applied to a computer device, comprising:

[0142] Step S1001, when the first tool is in a running state, obtaining a first switching signal sent by the open platform;

[0143] Step S1002, in response to a first switching signal, determining a tool type of a first tool;

[0144] Step S1003, obtaining a plurality of candidate second tools corresponding to the tool type, sending a test signal to each candidate second tool, and determining a response time of each candidate second tool based on the test signal;

[0145] Step S1004, selecting a candidate second tool with the shortest response time as the second tool matching the first tool;

[0146] Wherein, the second tool and the first tool are both deployed on a computer device, and the second tool has the same function as the first tool;

[0147] Step S1005, determining a first calling interface corresponding to the first tool and a second calling interface corresponding to the second tool;

[0148] Step S1006, when the second tool is accessed through the second calling interface, disconnecting from the first calling interface to deactivate the first tool;

[0149] Step S1007, sending a first feedback signal of switching completion to the open platform, and obtaining a second switching signal sent by the open platform when the first tool completes restarting;

[0150] Step S1008, in response to the second switching signal, starting the first tool, and in the case where the first tool is accessed through the first calling interface, disconnecting from the second calling interface to deactivate the second tool;

[0151] Step S1009: Send a second feedback signal indicating that the switching is completed to the open platform.

[0152] In a specific embodiment, Fig.11 As shown, a tool scheduling control method is also provided, which is applied to an open platform and includes:

[0153] Step S1101, when the first tool is in operation, obtaining operation parameters of the first tool and operation conditions corresponding to the first tool;

[0154] Step S1102, when the operating parameters do not meet the operating conditions, sending a first switching signal to the computer device;

[0155] Step S1103, receiving a first feedback signal of switching completion sent by the computer device;

[0156] The first feedback signal is sent by the computer device after the computer device accesses the second tool through the second calling interface and disconnects from the first calling interface; the second tool is started by the computer device in response to the first switching signal; the first calling interface corresponds to the first tool; the second calling interface corresponds to the second tool; the second tool and the first tool are both deployed on the computer device, and the second tool has the same function as the first tool.

[0157] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0158] Based on the same inventive concept, the embodiment of the present application also provides a tool scheduling control device for implementing the tool scheduling control method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more tool scheduling control device embodiments provided below can refer to the limitations on the tool scheduling control method above, and will not be repeated here.

[0159] In an exemplary embodiment, Fig.12 As shown, a tool scheduling control device 1200 is provided, which is applied to a computer device, including: a switching signal acquisition module 1202, a tool startup module 1204, an interface determination module 1206, a tool deactivation module 1208 and a signal sending module 1210, wherein:

[0160] The switching signal acquisition module 1202 is used to acquire a first switching signal sent by the open platform when the first tool is in a running state;

[0161] The tool starting module 1204 is used to start a second tool matching the first tool in response to the first switching signal; the second tool and the first tool are both deployed on a computer device, and the second tool has the same function as the first tool;

[0162] An interface determination module 1206, configured to determine a first calling interface corresponding to the first tool and a second calling interface corresponding to the second tool;

[0163] The tool deactivation module 1208 is used to disconnect the first calling interface to deactivate the first tool when the second tool is accessed through the second calling interface;

[0164] The signal sending module 1210 is configured to send a first feedback signal indicating that the switching is completed to the open platform.

[0165] In an exemplary embodiment, the tool launch module 1204 includes:

[0166] a tool type determination unit, for determining a tool type of the first tool in response to the first switching signal;

[0167] The tool acquisition unit is used to acquire a second tool corresponding to the tool type as the second tool matching the first tool.

[0168] In an exemplary embodiment, the tool acquisition unit is specifically configured to:

[0169] Acquire a plurality of candidate second tools corresponding to the tool type;

[0170] Sending a test signal to each candidate second tool, and determining a response time of each candidate second tool based on the test signal;

[0171] A candidate second tool with the shortest response time is selected as the second tool matching the first tool.

[0172] In an exemplary embodiment, the tool scheduling control device 1200 further includes a recall module, which is specifically configured to:

[0173] Acquire a second switching signal sent by the open platform when the first tool completes restarting;

[0174] In response to the second switching signal, starting the first tool;

[0175] In case of accessing the first tool through the first calling interface, disconnecting from the second calling interface to deactivate the second tool;

[0176] A second feedback signal indicating that the switching is completed is sent to the open platform.

[0177] In an exemplary embodiment, Fig.13 As shown, a tool scheduling control device 1300 is also provided, which is applied to an open platform and includes: a switching signal sending module 1302 and a feedback signal receiving module 1304, wherein:

[0178] The switching signal sending module 1302 is used to send a first switching signal to the computer device when the first tool is in the running state;

[0179] The feedback signal receiving module 1304 is used to receive a first feedback signal of switching completion sent by the computer device; the first feedback signal is sent by the computer device after disconnecting from the first calling interface when the computer device accesses the second tool through the second calling interface; the second tool is started by the computer device in response to the first switching signal; the first calling interface corresponds to the first tool; the second calling interface corresponds to the second tool; the second tool and the first tool are both deployed on the computer device, and the second tool has the same function as the first tool.

[0180] In an exemplary embodiment, the switching signal sending module 1302 is specifically configured to:

[0181] When the first tool is in operation, obtaining operation parameters of the first tool and operation conditions corresponding to the first tool;

[0182] When the operating parameters do not meet the operating conditions, a first switching signal is sent to the computer device.

[0183] Each module in the tool scheduling control device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.

[0184] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Fig.14 As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a tool scheduling control method is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.

[0185] Those skilled in the art will understand that Fig.14 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0186] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps of the above method when executing the computer program.

[0187] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above method are implemented.

[0188] In one embodiment, a computer program product is provided, comprising a computer program, which implements the steps of the above method when executed by a processor.

[0189] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0190] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0191] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A tool scheduling control method, characterized in that: Applied to a computer device, the method comprises: When the first tool is in a running state, obtaining a first switching signal sent by the open platform; In response to the first switching signal, a second tool matching the first tool is started; the second tool and the first tool are both deployed on the computer device, and the second tool has the same function as the first tool; Determine a first calling interface corresponding to the first tool and a second calling interface corresponding to the second tool; In case of accessing the second tool through the second calling interface, disconnecting from the first calling interface to deactivate the first tool; A first feedback signal indicating that the switching is completed is sent to the open platform.

2. The method according to claim 1, characterized in that In response to the first switching signal, starting a second tool that matches the first tool comprises: determining a tool type of the first tool in response to the first switching signal; A second tool corresponding to the tool type is obtained as a second tool matching the first tool.

3. The method according to claim 2, characterized in that The acquiring a second tool corresponding to the tool type as a second tool matching the first tool includes: Acquire a plurality of candidate second tools corresponding to the tool type; Sending a test signal to each of the candidate second tools, and determining a response time of each of the candidate second tools based on the test signal; A candidate second tool with the shortest response time is selected as the second tool matching the first tool.

4. The method according to claim 1, characterized in that: The method further comprises: Acquire a second switching signal sent by the open platform when the first tool completes restarting; In response to the second switching signal, starting the first tool; In case of accessing the first tool through the first calling interface, disconnecting from the second calling interface to deactivate the second tool; A second feedback signal indicating that the switching is completed is sent to the open platform.

5. A tool scheduling control method, characterized in that: Applied to an open platform, the method comprises: When the first tool is in operation, sending a first switching signal to the computer device; Receive a first feedback signal of switching completion sent by the computer device; the first feedback signal is sent by the computer device after disconnecting from the first calling interface when the computer device accesses the second tool through the second calling interface; the second tool is started by the computer device in response to the first switching signal; the first calling interface corresponds to the first tool; the second calling interface corresponds to the second tool; the second tool and the first tool are both deployed on the computer device, and the second tool has the same function as the first tool.

6. The method according to claim 5, characterized in that The step of sending a first switching signal to a computer device when the first tool is in an operating state comprises: When the first tool is in operation, obtaining operation parameters of the first tool and operation conditions corresponding to the first tool; When the operating parameter does not satisfy the operating condition, a first switching signal is sent to the computer device.

7. A tool scheduling control device, characterized in that: Applied to computer equipment, the device comprises: A switching signal acquisition module, used for acquiring a first switching signal sent by the open platform when the first tool is in a running state; a tool starting module, configured to start a second tool matching the first tool in response to the first switching signal; the second tool and the first tool are both deployed on the computer device, and the second tool has the same function as the first tool; An interface determination module, used to determine a first calling interface corresponding to the first tool and a second calling interface corresponding to the second tool; a tool deactivation module, configured to disconnect the first calling interface from the second calling interface to deactivate the first tool when the second tool is accessed through the second calling interface; The signal sending module is used to send a first feedback signal indicating that the switching is completed to the open platform.

8. The device according to claim 7, characterized in that The tool startup module includes: a tool type determination unit, configured to determine a tool type of the first tool in response to the first switching signal; The tool acquisition unit is used to acquire a second tool corresponding to the tool type as a second tool matching the first tool.

9. The device according to claim 8, characterized in that The tool acquisition unit is specifically used for: Acquire a plurality of candidate second tools corresponding to the tool type; Sending a test signal to each of the candidate second tools, and determining a response time of each of the candidate second tools based on the test signal; A candidate second tool with the shortest response time is selected as the second tool matching the first tool.

10. The device according to claim 7, characterized in that The device also includes a recall module, specifically configured to: Acquire a second switching signal sent by the open platform when the first tool completes restarting; In response to the second switching signal, starting the first tool; In case of accessing the first tool through the first calling interface, disconnecting from the second calling interface to deactivate the second tool; A second feedback signal indicating that the switching is completed is sent to the open platform.

11. A tool scheduling control device, characterized in that: Applied to an open platform, the device comprises: A switching signal sending module, used for sending a first switching signal to the computer device when the first tool is in an operating state; A feedback signal receiving module is used to receive a first feedback signal of switching completion sent by the computer device; the first feedback signal is sent by the computer device after disconnecting from the first calling interface when the computer device accesses the second tool through the second calling interface; the second tool is started by the computer device in response to the first switching signal; the first calling interface corresponds to the first tool; the second calling interface corresponds to the second tool; the second tool and the first tool are both deployed on the computer device, and the second tool has the same function as the first tool.

12. The device according to claim 11, characterized in that The switching signal sending module is specifically used for: When the first tool is in operation, obtaining operation parameters of the first tool and operation conditions corresponding to the first tool; When the operating parameter does not satisfy the operating condition, a first switching signal is sent to the computer device.

13. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

14. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

15. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.