Online differential tool integration and management method and device, electronic equipment and medium

By matching and scheduling the execution scripts of differential tools in the differential server list, the management and scheduling problems caused by the independent operation of differential tools are solved, and efficient management and execution of differential tasks for large-scale distributed systems are achieved.

CN119960978APending Publication Date: 2025-05-09CHERY AUTOMOBILE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510005090.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-02
Publication Date
2025-05-09

AI Technical Summary

Technical Problem

The independent operation of differential tools lacks a unified management and scheduling mechanism, which is difficult to adapt to the needs of large-scale distributed systems.

Method used

By matching the differential server and execution script path corresponding to the target differential tool in the idle state in the pre-built differential server list, the execution script is used to perform the differential action on the differential server, and the callback mechanism determines that the difference is successful and the difference package is obtained and uploaded to the target file server.

Benefits of technology

A flexible and efficient differential tool management system has been built, which has achieved efficient management and scheduling of a variety of differential tools, and has improved the execution efficiency, reliability and security of differential tasks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119960978A_ABST
    Figure CN119960978A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of Internet of Vehicles, in particular to an integration and management method and device of an online differential tool, electronic equipment and a medium. The method comprises the steps of matching a differential server corresponding to a target differential tool in an idle state and an execution script path corresponding to the target differential tool in a pre-constructed differential server list based on a calling instruction, and calling an execution script corresponding to the target differential tool according to the execution script path, the execution script is used for executing a differential action on the differential server, and if it is judged that differential of the target differential tool succeeds through a callback mechanism based on the differential result, a differential package of the differential server is obtained and uploaded to the target file server. Therefore, the problems that a unified management and scheduling mechanism is lacked and the requirements of a large-scale distributed system are difficult to adapt due to independent operation of the differential tool are solved, and the execution efficiency, reliability and safety of the differential task are improved by constructing a flexible and efficient differential tool management system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle networking technology, and in particular to an integration and management method, device, electronic device and medium for an online differential tool. Background Art

[0002] As the complexity of software development continues to increase, code version management and change control become increasingly important. As an important part of the software development process, differential tools can help developers quickly identify code differences between different code versions, and then assist in code merging and conflict resolution.

[0003] In related technologies, differential tools usually run independently and lack a unified management and scheduling mechanism. Therefore, they are difficult to adapt to the needs of large-scale distributed systems and need to be solved urgently. Summary of the invention

[0004] The present application provides an integration and management method, device, electronic device and medium for an online differential tool to solve the problems that the differential tool runs independently but lacks a unified management and scheduling mechanism and is difficult to adapt to the needs of large-scale distributed systems.

[0005] The first aspect of the present application provides an integration and management method of an online differential tool, comprising the following steps:

[0006] Receive a call instruction of a target differential tool;

[0007] Based on the calling instruction, a differential server corresponding to the target differential tool in an idle state is matched in a pre-built differential server list, and an execution script path corresponding to the target differential tool is matched, and an execution script corresponding to the target differential tool is called according to the execution script path, so as to use the execution script corresponding to the target differential tool to execute a differential action on the differential server corresponding to the target differential tool, and generate a differential result;

[0008] Based on the differential result, a callback mechanism is used to determine whether the target differential tool is differentially successful. If the target differential tool is differentially successful, a differential package of the differential server corresponding to the target differential tool is obtained, and the differential package is uploaded to the target file server.

[0009] According to one embodiment of the present application, before receiving the call instruction of the target difference tool, it also includes:

[0010] Obtain at least one differential tool to be scheduled;

[0011] Respectively configure the operating environment of each differential tool to be scheduled, and deploy the differential scheduling service in the operating environment of each differential tool to be scheduled;

[0012] The execution script of each differential tool to be scheduled is called through the differential scheduling service.

[0013] According to an embodiment of the present application, before calling the execution script of each differential tool to be scheduled through the differential scheduling service, it also includes:

[0014] Respectively configuring a plurality of differential servers of each differential tool to be scheduled and a differential server address corresponding to each differential server, and configuring an execution script path of each differential tool to be scheduled;

[0015] A differential server list of each differential tool to be scheduled is generated based on the multiple differential servers of each differential tool to be scheduled and the differential server address corresponding to each differential server.

[0016] According to one embodiment of the present application, after the target differential tool is successfully differentiated, the method further includes:

[0017] Update the differential success status of the target differential tool and the download address of the differential package of the differential server corresponding to the target differential tool.

[0018] According to an embodiment of the present application, after judging whether the target differential tool is differentially successful based on the differential result, the method further includes:

[0019] If the target differential tool fails in differential analysis, the differential failure status and differential failure reason of the target differential tool are updated.

[0020] According to the integration and management method of the online differential tool of the embodiment of the present application, the differential server corresponding to the target differential tool in the idle state and the execution script path corresponding to the target differential tool are matched in the pre-built differential server list based on the call instruction, and the execution script corresponding to the target differential tool is called according to the execution script path, so as to use the execution script to perform the differential action on the differential server, and based on the differential result, the differential of the target differential tool is judged to be successful through the callback mechanism, and the differential package of the differential server is obtained, and the differential package is uploaded to the target file server. Thus, the problems such as the lack of unified management and scheduling mechanism due to the independent operation of the differential tool and the difficulty in adapting to the needs of large-scale distributed systems are solved. By building a flexible and efficient differential tool management system, efficient management and scheduling of multiple differential tools are realized, so as to be applicable to the frequent comparison and management of code versions, and improve the execution efficiency, reliability and security of differential tasks.

[0021] A second aspect of the present application provides an integration and management device for online differential tools, including:

[0022] A receiving module, used for receiving a calling instruction of a target differential tool;

[0023] A generation module, used for matching the differential server corresponding to the target differential tool in an idle state in a pre-built differential server list based on the calling instruction, and matching the execution script path corresponding to the target differential tool, calling the execution script corresponding to the target differential tool according to the execution script path, so as to use the execution script corresponding to the target differential tool to perform a differential action on the differential server corresponding to the target differential tool, and generate a differential result;

[0024] A judgment module is used to judge whether the target differential tool is differentially successful based on the differential result through a callback mechanism. If the target differential tool is differentially successful, a differential package of the differential server corresponding to the target differential tool is obtained, and the differential package is uploaded to the target file server.

[0025] According to an embodiment of the present application, before receiving the call instruction of the target difference tool, the receiving module further includes:

[0026] Obtain at least one differential tool to be scheduled;

[0027] Respectively configure the operating environment of each differential tool to be scheduled, and deploy the differential scheduling service in the operating environment of each differential tool to be scheduled;

[0028] The execution script of each differential tool to be scheduled is called through the differential scheduling service.

[0029] According to an embodiment of the present application, before calling the execution script of each differential tool to be scheduled through the differential scheduling service, the receiving module further includes:

[0030] Respectively configuring a plurality of differential servers of each differential tool to be scheduled and a differential server address corresponding to each differential server, and configuring an execution script path of each differential tool to be scheduled;

[0031] A differential server list of each differential tool to be scheduled is generated based on the multiple differential servers of each differential tool to be scheduled and the differential server address corresponding to each differential server.

[0032] According to an embodiment of the present application, after the target differential tool is successfully differentiated, the judgment module further includes:

[0033] Update the differential success status of the target differential tool and the download address of the differential package of the differential server corresponding to the target differential tool.

[0034] According to an embodiment of the present application, after judging whether the target differential tool is differentially successful based on the differential result, the judging module further includes:

[0035] If the target differential tool fails in differential analysis, the differential failure status and differential failure reason of the target differential tool are updated.

[0036] According to the online differential tool integration and management device of the embodiment of the present application, based on the call instruction, the differential server corresponding to the target differential tool in the idle state and the execution script path corresponding to the target differential tool are matched in the pre-built differential server list, and the execution script corresponding to the target differential tool is called according to the execution script path, so as to use the execution script to perform the differential action on the differential server, and based on the differential result, the callback mechanism is used to judge that the differential of the target differential tool is successful, then the differential package of the differential server is obtained, and the differential package is uploaded to the target file server. Thus, the problems such as the lack of unified management and scheduling mechanism due to the independent operation of the differential tool and the difficulty in adapting to the needs of large-scale distributed systems are solved. By building a flexible and efficient differential tool management system, efficient management and scheduling of multiple differential tools are realized, so as to be applicable to the frequent comparison and management of code versions, and improve the execution efficiency, reliability and security of differential tasks.

[0037] The third aspect of the present application provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the online differential tool integration and management method as described in the above embodiment.

[0038] A fourth aspect of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the integration and management method of the online differential tool as described in the above embodiment.

[0039] The fifth aspect of the present application provides a computer program product, including a computer program, which is executed to implement the integration and management method of the online differential tool described in the above embodiment.

[0040] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0042] Figure 1 A flowchart of an integration and management method of an online differential tool provided according to an embodiment of the present application;

[0043] Figure 2 A UML (Unified Modeling Language) flow chart according to an embodiment of the present application;

[0044] Figure 3 A schematic diagram of a system framework according to an embodiment of the present application;

[0045] Figure 4 is a block diagram of an example of an integration and management device for online differential tools according to an embodiment of the present application;

[0046] Figure 5 Schematic diagram of the structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0047] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.

[0048] The following describes the integration and management method, device, electronic device and medium of the online differential tool of the embodiment of the present application with reference to the accompanying drawings. In view of the problem mentioned in the above background technology that the differential tool runs independently and lacks a unified management and scheduling mechanism, and is difficult to adapt to the needs of large-scale distributed systems, the present application provides an integration and management method for online differential tools, in which the differential server corresponding to the target differential tool in an idle state and the execution script path corresponding to the target differential tool are matched in the pre-built differential server list based on the call instruction, and the execution script corresponding to the target differential tool is called according to the execution script path, so as to use the execution script to perform the differential action on the differential server, and based on the differential result, the target differential tool is judged to be differentially successful through the callback mechanism, and the differential package of the differential server is obtained, and the differential package is uploaded to the target file server. Thus, the problem that the differential tool runs independently and lacks a unified management and scheduling mechanism, and is difficult to adapt to the needs of large-scale distributed systems is solved. By building a flexible and efficient differential tool management system, efficient management and scheduling of multiple differential tools are achieved, so as to be applicable to the frequent comparison and management of code versions, and improve the execution efficiency, reliability and security of differential tasks.

[0049] Specifically, Figure 1 A flowchart of an integration and management method of an online differential tool provided in an embodiment of the present application.

[0050] like Figure 1 As shown, the integration and management method of the online differential tool includes the following steps:

[0051] In step S101, a call instruction of a target differential tool is received.

[0052] According to one embodiment of the present application, before receiving the call instruction of the target differential tool, it also includes: obtaining at least one differential tool to be scheduled; configuring the operating environment of each differential tool to be scheduled respectively, and deploying a differential scheduling service in the operating environment of each differential tool to be scheduled; and calling the execution script of each differential tool to be scheduled through the differential scheduling service.

[0053] According to one embodiment of the present application, before calling the execution script of each differential tool to be scheduled through the differential scheduling service, it also includes: respectively configuring multiple differential servers for each differential tool to be scheduled and the differential server address corresponding to each differential server, and configuring the execution script path of each differential tool to be scheduled; generating a differential server list for each differential tool to be scheduled based on the multiple differential servers for each differential tool to be scheduled and the differential server address corresponding to each differential server.

[0054] Specifically, in order to solve the problem that in distributed systems, differential tools often lack a unified management and scheduling mechanism due to their independent operation, making it difficult to meet the needs of large-scale distributed systems, the embodiments of the present application are based on the above-mentioned problems and, by constructing a flexible and efficient differential tool management system, achieve efficient management and scheduling of multiple differential tools, thereby improving the execution efficiency of differential tasks.

[0055] Specifically, if Figure 2 and Figure 3As shown in the figure, first, perform the environment initialization configuration, and configure a corresponding and independent environment for each differential tool to be scheduled to ensure the isolation and independence between the differential tools to be scheduled, so as to avoid the normal operation of other differential tools being affected by the failure of a differential tool. Among them, the environment of each differential tool to be scheduled includes the differential tool to be scheduled itself and its required operating environment, so as to ensure that each differential tool to be scheduled can run in a consistent environment, and deploy the differential scheduling service, namely the dispatcher service, in the operating environment of each differential tool to be scheduled; secondly, perform the scheduling task configuration, and configure the differential server of each differential tool to be scheduled and the differential server corresponding to each differential server in the system. The system obtains necessary information such as the address and the execution script path of each differential tool to be scheduled to ensure that the target server can be found accurately during task scheduling. Then, based on the multiple differential servers of each differential tool to be scheduled and the differential server address corresponding to each differential server, a differential server list for each differential tool to be scheduled is generated. When the system receives the call instruction of the target differential tool issued by the user, the system automatically obtains the available server list corresponding to the target differential tool according to the configuration information, such as matching according to parameters such as the differential tool type, source file path, and target file path, to ensure that each differential task can be executed on the most suitable server, thereby improving resource utilization and performing differential operations based on the servers in the server list.

[0056] In step S102, based on the calling instruction, the differential server corresponding to the target differential tool in the idle state is matched in the pre-built differential server list, and the execution script path corresponding to the target differential tool is matched, and the execution script corresponding to the target differential tool is called according to the execution script path, so as to utilize the execution script corresponding to the target differential tool to execute the differential action on the differential server corresponding to the target differential tool and generate a differential result.

[0057] Specifically, Figure 2 As shown, when the embodiment of the present application obtains the call instruction of the target differential tool issued by the user and matches the server list of the corresponding target differential tool based on the call instruction, the system will first search for a server in the server list that is in an idle state, that is, a server that is not executing a task, so as to balance the load and avoid the situation where some servers are overloaded while other servers are idle; secondly, the differential scheduling service based on the target differential tool calls the execution script corresponding to the target differential tool, that is, the shell script, and then the scheduling management module calls the dispatcher service on the server in the idle state to execute the differential interface, and passes in the corresponding parameters and unique ID (Identification) identifier, so as to use the execution script corresponding to the target differential tool to execute the differential action on the differential server corresponding to the target differential tool to generate a differential result.

[0058] Among them, the parameters passed in may include the difference tool type, source file path and target file path. These parameters can ensure that the dispatcher service can correctly call the corresponding target difference tool and execute specific difference tasks; the unique ID identifier is a unique identifier generated by the scheduling management module for each task, which is used to track the status of the task throughout the task life cycle. Through the unique ID identifier, the system can accurately associate the results with specific tasks after the task is executed, and feedback the task execution status to the user through the callback mechanism.

[0059] Furthermore, if the system does not find an idle server in the server list, that is, all servers are in the task execution state, the task is put into a queue for waiting, so as to ensure that the task will not be lost due to insufficient resources.

[0060] Furthermore, the dispatcher service of the embodiment of the present application can also monitor the execution status of the task in real time to ensure that the task can proceed smoothly. If an abnormality occurs during the execution of the task, the dispatcher service will handle it in a timely manner and report it to the scheduling management module.

[0061] In step S103, based on the differential result, a callback mechanism is used to determine whether the target differential tool is differentially successful. If the target differential tool is differentially successful, a differential package of the differential server corresponding to the target differential tool is obtained, and the differential package is uploaded to the target file server.

[0062] According to an embodiment of the present application, after the target differential tool is differentially successful, it also includes: updating the differential success status of the target differential tool and the download address of the differential package of the differential server corresponding to the target differential tool.

[0063] According to an embodiment of the present application, after determining whether the target differential tool is differentially successful based on the differential result, it also includes: if the target differential tool fails to differential, updating the differential failure status and differential failure reason of the target differential tool.

[0064] Specifically, after the difference is completed, the callback mechanism can be used to determine whether the target difference tool is successful in the difference. For example, the shell script uses the curl command to call back the system Web interface to report the difference result. If the target difference tool is successful in the difference, the dispatcher service obtains the difference package of the difference server corresponding to the target difference tool, and uploads the difference package to the target file server. At the same time, the difference success status of the target difference tool and the download address of the difference package of the difference server corresponding to the target difference tool are updated to facilitate user download; if the target difference tool fails to differenciate, the difference failure status is updated and recorded, and then the cause of the failure is analyzed and stored, so as to facilitate subsequent investigation and tracing.

[0065] Furthermore, after the differential tool fails in differential analysis, a differential failure retry mechanism can be used to allow the system to automatically retry the task in certain situations, thereby improving the fault tolerance of the system.

[0066] Therefore, through the above technical solution, the embodiment of the present application can realize efficient management and scheduling of multiple differential tools, improve the execution efficiency of differential tasks, simplify the task management and monitoring process, and ensure the reliability and security of task execution.

[0067] According to the integration and management method of the online differential tool of the embodiment of the present application, the differential server corresponding to the target differential tool in the idle state and the execution script path corresponding to the target differential tool are matched in the pre-built differential server list based on the call instruction, and the execution script corresponding to the target differential tool is called according to the execution script path, so as to use the execution script to perform the differential action on the differential server, and based on the differential result, the differential of the target differential tool is judged to be successful through the callback mechanism, and the differential package of the differential server is obtained, and the differential package is uploaded to the target file server. Thus, the problems such as the lack of unified management and scheduling mechanism due to the independent operation of the differential tool and the difficulty in adapting to the needs of large-scale distributed systems are solved. By building a flexible and efficient differential tool management system, efficient management and scheduling of multiple differential tools are realized, so as to be applicable to the frequent comparison and management of code versions, and improve the execution efficiency, reliability and security of differential tasks.

[0068] Next, an integration and management device for online differential tools proposed according to an embodiment of the present application will be described with reference to the accompanying drawings.

[0069] Figure 4 It is a block diagram of an integration and management device of an online differential tool according to an embodiment of the present application.

[0070] like Figure 4 As shown, the online differential tool integration and management device 10 includes: a receiving module 100, a generating module 200 and a judging module 300.

[0071] The receiving module 100 is used to receive a call instruction of a target differential tool;

[0072] The generation module 200 is used to match the differential server corresponding to the target differential tool in the idle state in the pre-built differential server list based on the call instruction, and match the execution script path corresponding to the target differential tool, and call the execution script corresponding to the target differential tool according to the execution script path, so as to use the execution script corresponding to the target differential tool to perform the differential action on the differential server corresponding to the target differential tool, and generate a differential result;

[0073] The judgment module 300 is used to judge whether the target differential tool is differentially successful based on the differential result through a callback mechanism. If the target differential tool is differentially successful, the differential package of the differential server corresponding to the target differential tool is obtained, and the differential package is uploaded to the target file server.

[0074] According to an embodiment of the present application, before receiving the call instruction of the target differential tool, the receiving module 100 further includes:

[0075] Obtain at least one differential tool to be scheduled;

[0076] Configure the operating environment of each differential tool to be scheduled respectively, and deploy the differential scheduling service in the operating environment of each differential tool to be scheduled;

[0077] The execution script of each differential tool to be scheduled is called through the differential scheduling service.

[0078] According to an embodiment of the present application, before calling the execution script of each differential tool to be scheduled through the differential scheduling service, the receiving module 100 further includes:

[0079] Respectively configure multiple differential servers for each differential tool to be scheduled and the differential server address corresponding to each differential server, and configure the execution script path of each differential tool to be scheduled;

[0080] A differential server list of each differential tool to be scheduled is generated based on multiple differential servers of each differential tool to be scheduled and a differential server address corresponding to each differential server.

[0081] According to an embodiment of the present application, after the target differential tool is successfully differentiated, the judgment module 300 further includes:

[0082] Update the differential success status of the target differential tool and the download address of the differential package of the differential server corresponding to the target differential tool.

[0083] According to an embodiment of the present application, after determining whether the target differential tool is differentially successful based on the differential result, the determination module 300 further includes:

[0084] If the target differential tool fails in differential analysis, the differential failure status and differential failure reason of the target differential tool are updated.

[0085] According to the online differential tool integration and management device of the embodiment of the present application, based on the call instruction, the differential server corresponding to the target differential tool in the idle state and the execution script path corresponding to the target differential tool are matched in the pre-built differential server list, and the execution script corresponding to the target differential tool is called according to the execution script path, so as to use the execution script to perform the differential action on the differential server, and based on the differential result, the callback mechanism is used to judge that the differential of the target differential tool is successful, then the differential package of the differential server is obtained, and the differential package is uploaded to the target file server. Thus, the problems such as the lack of unified management and scheduling mechanism due to the independent operation of the differential tool and the difficulty in adapting to the needs of large-scale distributed systems are solved. By building a flexible and efficient differential tool management system, efficient management and scheduling of multiple differential tools are realized, so as to be applicable to the frequent comparison and management of code versions, and improve the execution efficiency, reliability and security of differential tasks.

[0086] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device may include:

[0087] A memory 501 , a processor 502 , and a computer program stored in the memory 501 and executable on the processor 502 .

[0088] When the processor 502 executes the program, the integration and management method of the online difference tool provided in the above embodiment is implemented.

[0089] Furthermore, the electronic device further comprises:

[0090] The communication interface 503 is used for communication between the memory 501 and the processor 502 .

[0091] The memory 501 is used to store computer programs that can be executed on the processor 502 .

[0092] The memory 501 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0093] If the memory 501, the processor 502 and the communication interface 503 are implemented independently, the communication interface 503, the memory 501 and the processor 502 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0094] Optionally, in a specific implementation, if the memory 501, the processor 502 and the communication interface 503 are integrated on a chip, the memory 501, the processor 502 and the communication interface 503 can communicate with each other through an internal interface.

[0095] The processor 502 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.

[0096] This embodiment also provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the above-mentioned online differential tool integration and management method is implemented.

[0097] This embodiment also provides a computer program product, including a computer program, which is executed to implement the online differential tool integration and management method of the above embodiment.

[0098] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0099] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0100] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0101] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or N wirings (electronic devices), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or otherwise processing in a suitable manner if necessary, and then stored in a computer memory.

[0102] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiment, the N steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0103] A person skilled in the art may understand that all or part of the steps in the above-mentioned embodiment method may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0104] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0105] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present application. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A method for integrating and managing online differential tools, characterized in that: The following steps are involved: Receive a call instruction of a target differential tool; Based on the calling instruction, a differential server corresponding to the target differential tool in an idle state is matched in a pre-built differential server list, and an execution script path corresponding to the target differential tool is matched, and an execution script corresponding to the target differential tool is called according to the execution script path, so as to use the execution script corresponding to the target differential tool to execute a differential action on the differential server corresponding to the target differential tool, and generate a differential result; Based on the differential result, a callback mechanism is used to determine whether the target differential tool is differentially successful. If the target differential tool is differentially successful, a differential package of the differential server corresponding to the target differential tool is obtained, and the differential package is uploaded to the target file server.

2. The method according to claim 1, characterized in that Before receiving the call instruction of the target differential tool, it also includes: Obtain at least one differential tool to be scheduled; Respectively configure the operating environment of each differential tool to be scheduled, and deploy the differential scheduling service in the operating environment of each differential tool to be scheduled; The execution script of each differential tool to be scheduled is called through the differential scheduling service.

3. The method according to claim 2, characterized in that Before calling the execution script of each differential tool to be scheduled through the differential scheduling service, it also includes: Respectively configure a plurality of differential servers of each differential tool to be scheduled and a differential server address corresponding to each differential server, and configure an execution script path of each differential tool to be scheduled; A differential server list of each differential tool to be scheduled is generated based on the multiple differential servers of each differential tool to be scheduled and the differential server address corresponding to each differential server.

4. The method according to claim 1, characterized in that After the target differential tool is successfully differentiated, the method further includes: Update the differential success status of the target differential tool and the download address of the differential package of the differential server corresponding to the target differential tool.

5. The method according to claim 1, characterized in that: After judging whether the target differential tool is differentially successful based on the differential result, the method further includes: If the target differential tool fails in differential analysis, the differential failure status and differential failure reason of the target differential tool are updated.

6. An integration and management device for online differential tools, characterized in that: include: A receiving module, used for receiving a calling instruction of a target differential tool; A generation module, used for matching the differential server corresponding to the target differential tool in an idle state in a pre-built differential server list based on the calling instruction, and matching the execution script path corresponding to the target differential tool, calling the execution script corresponding to the target differential tool according to the execution script path, so as to use the execution script corresponding to the target differential tool to perform a differential action on the differential server corresponding to the target differential tool, and generate a differential result; A judgment module is used to judge whether the target differential tool is differentially successful based on the differential result through a callback mechanism. If the target differential tool is differentially successful, a differential package of the differential server corresponding to the target differential tool is obtained, and the differential package is uploaded to the target file server.

7. The device according to claim 6, characterized in that Before receiving the call instruction of the target differential tool, the receiving module further includes: Obtain at least one differential tool to be scheduled; Respectively configure the operating environment of each differential tool to be scheduled, and deploy the differential scheduling service in the operating environment of each differential tool to be scheduled; The execution script of each differential tool to be scheduled is called through the differential scheduling service.

8. The device according to claim 7, characterized in that Before calling the execution script of each differential tool to be scheduled through the differential scheduling service, the receiving module further includes: Respectively configure a plurality of differential servers of each differential tool to be scheduled and a differential server address corresponding to each differential server, and configure an execution script path of each differential tool to be scheduled; A differential server list of each differential tool to be scheduled is generated based on the multiple differential servers of each differential tool to be scheduled and the differential server address corresponding to each differential server.

9. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method for integrating and managing online differential tools as described in any one of claims 1 to 5.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: The program is executed by a processor to implement the integration and management method of the online differential tool as described in any one of claims 1 to 5.