Task management method, device, equipment and storage medium based on tag engine

By pre-configuring the external service interface and computing platform information in the tag engine, the target computing platform is automatically determined and accessed, which solves the problem of low task management efficiency in the tag engine system and realizes convenient and efficient task management operations.

CN111930539BActive Publication Date: 2024-08-27BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010764750.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-07-31
Publication Date
2024-08-27
Estimated Expiration
2040-07-31

AI Technical Summary

Technical Problem

When managing tasks, the existing tag engine system requires users to manually jump to different third-party computing platforms for query and management, resulting in low operating efficiency and in urgent need of improvement.

Method used

Obtain the tag tasks to be executed through the pre-configured external service interface, determine the target computing platform, and access the target computing platform to execute the tag tasks based on the pre-configured information and calling interface of the platform to achieve unified task management operations.

Benefits of technology

It improves the convenience and operational efficiency of tag engine task management, provides a unified business specification that does not require users to manually jump, and enhances the efficiency and convenience of task management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111930539B
    Figure CN111930539B
Patent Text Reader

Abstract

The present application discloses a task management method, apparatus, device and storage medium based on a label engine, which relates to the field of data processing technology of artificial intelligence, and in particular to the field of big data, label engine technology and task management technology. The specific implementation scheme is: obtaining the label task to be executed through a pre-configured external service interface; determining the target computing platform to be called according to the label task; accessing the target computing platform according to the pre-configured platform information and calling interface of the target computing platform, so as to execute the label task through the target computing platform. It can improve the convenience and operational efficiency of label engine task management, and provide a new idea for task management based on label engines.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of artificial intelligence data processing technology, in particular to the fields of big data, tag engine technology and task management technology, and specifically to a tag engine-based task management method, device, equipment and storage medium. Background Art

[0002] With the development of big data processing technology, the application of label engine systems is becoming more and more common. The current label engine system needs to rely on different third-party computing platforms, such as the computing engine Spark platform, the distributed system Hadoop platform or Flink and other computing platforms to calculate and process label tasks. Therefore, if the label engine system needs to manage tasks, such as checking task progress and task logs, users need to manually jump to different third-party computing platforms for querying, which is inefficient in management operations and urgently needs to be improved. Summary of the invention

[0003] The present invention provides a task management method, device, equipment and storage medium based on a tag engine.

[0004] According to one aspect of the present disclosure, a task management method based on a tag engine is provided, comprising:

[0005] Obtain the labeling tasks to be executed through the pre-configured external service interface;

[0006] Determine the target computing platform to be called according to the label task;

[0007] The target computing platform is accessed according to the platform information and the calling interface pre-configured by the target computing platform, so as to execute the label task through the target computing platform.

[0008] According to another aspect of the present disclosure, a task management device based on a tag engine is provided, comprising:

[0009] The label task acquisition module is used to obtain the label tasks to be executed through the pre-configured external service interface;

[0010] A computing platform determination module, used to determine a target computing platform to be called according to the label task;

[0011] The tag task execution module is used to access the target computing platform according to the platform information and calling interface pre-configured by the target computing platform, so as to execute the tag task through the target computing platform.

[0012] According to another aspect of the present disclosure, there is provided an electronic device, the electronic device comprising:

[0013] at least one processor; and

[0014] a memory communicatively connected to the at least one processor; wherein,

[0015] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the task management method based on the tag engine described in any embodiment of the present application.

[0016] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to execute the tag engine-based task management method described in any embodiment of the present application.

[0017] The technology of the present application improves the convenience and operational efficiency of tag engine task management, and provides a new idea for tag engine-based task management.

[0018] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present application.

[0020] Figure 1A is a flowchart of a task management method based on a tag engine provided according to an embodiment of the present application;

[0021] Figure 1B It is a schematic diagram of the principle of a task management method based on a tag engine provided in an embodiment of the present application;

[0022] Figure 2 is a flowchart of another task management method based on a tag engine provided according to an embodiment of the present application;

[0023] Figure 3 is a flowchart of another task management method based on a tag engine provided according to an embodiment of the present application;

[0024] Figure 4 is a flowchart of another task management method based on a tag engine provided according to an embodiment of the present application;

[0025] Figure 5 It is a structural diagram of a task management device based on a tag engine provided according to an embodiment of the present application;

[0026] Figure 6It is a block diagram of an electronic device used to implement the task management method based on the tag engine of an embodiment of the present application. DETAILED DESCRIPTION

[0027] The following is a description of exemplary embodiments of the present application in conjunction with the accompanying drawings, including various details of the embodiments of the present application to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present application. Similarly, for the sake of clarity and conciseness, the description of well-known functions and structures is omitted in the following description.

[0028] Optionally, before introducing the embodiments of the present application, the label engine of the embodiments of the present application is first introduced. The label engine of the embodiments of the present application can be a platform for performing label task calculations on big data. The underlying configuration of the label engine has a variety of label task calculation logics. The label engine can use different computing platforms to perform corresponding label tasks based on the configured label task calculation logic. For example, the Spark platform is used to perform the first label task; the Hadoop platform is used to perform the second label task; the Flink platform is used to perform the third label task, etc. The various embodiments of the present application are suitable for task management of such a label engine.

[0029] Figure 1A is a flowchart of a task management method based on a tag engine provided according to an embodiment of the present application; Figure 1B 1 is a schematic diagram of the principle of the task management method based on the tag engine provided in the embodiment of the present application. The embodiment of the present application is applicable to the situation where tag tasks are managed based on the tag engine. The embodiment can be executed by the tag engine, specifically by a task management device based on the tag engine configured in the device to which the tag engine belongs, and the device can be implemented by software and / or hardware. Figure 1A-1B As shown, the method includes:

[0030] S101, obtaining a label task to be executed through a pre-configured external service interface.

[0031] Among them, the external service interface can be a unified interface that is pre-configured on the label engine to provide external operation interaction services. The user can input the label task that he wants to request the label engine to execute through the external service interface, for example, input the label task that he wants to execute. The label task can be a related task involved when the embodiment of the present application performs task management on the label engine, including at least two types: information query task and operation execution task. The so-called information query task is mainly used to query related task information, for example, it can include at least one of the query task running status, task log and task analysis results. The so-called operation execution task is mainly used to instruct the label engine to execute related tasks of computing operations, for example, it can include at least one of submitting tasks, starting tasks, terminating tasks and exception handling tasks.

[0032] Optionally, in an embodiment of the present application, the user can input the label task that he wants to execute through the label engine through the external service interface provided by the label engine. At this time, the label engine can obtain the label task input by the user through the external service interface.

[0033] It should be noted that in the embodiment of the present application, when the user requests to manage the label tasks of different platforms, they are all initiated through the external service interface. That is, the user can manage the label tasks of different computing platforms according to the unified operating specifications provided by the external service interface. For example, the staff can initiate the task running status query of the Spark platform and the task log query of the Hadoop platform through the unified operating specifications of the information query task configured by the external service interface; at this time, the label engine can obtain the label tasks corresponding to the two different computing platforms through the external service interface, that is, obtain the task status query task of the Spark platform, and the task log query task of the Hadoop platform.

[0034] S102, determining the target computing platform to be called according to the label task.

[0035] The target computing platform may be a computing platform among multiple computing platforms supported by the label engine that is relied upon for executing the current label task.

[0036] Optionally, in an embodiment of the present application, different label tasks of the label engine may need to rely on different computing platforms to execute. Therefore, after obtaining the label task, the label engine must determine the computing platform that needs to be relied on to execute the label task, that is, the target computing platform.

[0037] Optionally, when determining the target computing platform to be called according to the label task, the computing platform that different label tasks need to rely on can be configured in advance. In this case, this step can be to use the computing platform pre-configured for the label task as the target computing platform to be called this time. For example, assuming that the acquired label task is the running status of the label computing task for querying the number of times the target object goes online, and the pre-configured label computing task for querying the number of times the target object goes online is calculated by the Spark platform, in this case, this step can determine that the target computing platform to be called is the Spark platform. It can also be that the label task contains the target computing platform to be called. In this case, this step can directly parse the acquired label task to obtain the target computing platform contained therein. For example, assuming that the acquired label task is a log query task of the Hadoop platform, in this case, this step can determine that the target computing platform to be called is the Hadoop platform by analyzing the label task.

[0038] S103, accessing the target computing platform according to the platform information and calling interface pre-configured by the target computing platform, so as to execute the label task through the target computing platform.

[0039] Among them, in an embodiment of the present application, the platform information of the computing platform may be the platform-related information required to call the computing platform according to the task flow of the label engine. For example, it may include but is not limited to: the request address, authority, account, password, service address interface, etc. of the computing platform. The calling interface may be the calling interface used when the label engine wants to call each computing platform. In an embodiment of the present application, the platform information and calling interface of each computing platform may be pre-configured in the label engine. For example, the platform information and calling interface are configured in the storage space of the label engine.

[0040] Optionally, in an embodiment of the present application, it is necessary to pre-configure platform information and call interfaces for each computing platform in the label engine to implement instantiation processing of each computing platform. Specifically, the platform information of each computing platform of the label engine can be configured into the metadata of the storage space according to the task flow of the label engine, and a corresponding call interface can be configured for each computing platform to implement instantiation processing of each computing platform. Among them, the storage space can be the native external service management storage space of the label engine, which includes at least one of a distributed file system (Hadoop Distributed File System, HDFS), a relational database management system MySQL, and an expert system (ExpertSystem, ES).

[0041] Optionally, in the embodiment of the present application, after the tag engine determines the target computing platform that needs to be relied upon for executing this tag task, it may access the target computing platform according to the pre-configured platform information and calling interface of the target computing platform. Specifically, it may be through the calling interface of the target computing platform, input the target computing platform's request address, authority, account, password, service address interface and other platform information, complete the relevant verification of the target computing platform, successfully access the target computing platform, and then execute the tag computing task to be executed this time through the target computing platform. For example, query the task log on the target computing platform, query the task running status, or control the target computing platform to start executing a new computing task.

[0042] For example, Figure 1B As shown, the tag engine includes a task management service. To implement the task management service, relevant information needs to be pre-configured, such as the platform information of the computing platform, the calling interface of the computing platform, and the external service interface. Figure 1B Only part of the configuration information is shown, and some is not shown, such as the task state logic of different computing platforms. Users can send label tasks through the external service interface in the form of application programming interface (API) request interaction. After the label engine obtains the label task, it selects the target computing platform to be called from multiple optional computing platforms, namely Hadoop platform, Spark platform and Flink platform, and then pre-configures the platform information and calling interface of the target computing platform according to the task management service, accesses the target computing platform, and executes the label task through the target computing platform.

[0043] It should be noted that the embodiment of the present application is independent of the product, and provides a task management strategy based on the dynamic expansion and configurable access of the tag engine platform, which is seamlessly connected with the tag engine platform. Based on the tag engine, the embodiment of the present application designs a set of unified business specifications that fully conform to the business logic of the tag task itself, completely decoupling the task management service from the computing platforms that the tag engine depends on, and completing the business management based on each computing platform according to the pre-configured unified business specifications, completely getting rid of the customized development tasks of each computing platform, so as to improve the efficiency and convenience of task management.

[0044] The technical solution of the embodiment of the present application obtains the label task through a pre-configured external service interface, and determines the target computing platform that needs to be called by the label task, and then accesses the target computing platform to execute the label task based on the pre-configured platform information and calling interface of the target computing platform. The solution of the embodiment of the present application can provide users with task management operations of the label engine through a unified external service interface configured on the label engine, without the need for users to manually trigger the target computing platform that needs to be jumped to for task management according to the business logic of the target computing platform, thereby improving the convenience and operational efficiency of label engine task management and providing a new idea for task management based on the label engine.

[0045] Optionally, in the embodiment of the present application, some label tasks of the label engine do not need to call a third-party computing platform to execute. For example, such label tasks can be operations such as adding, deleting, modifying, and querying the label task service logic of the label engine itself. Therefore, for label tasks with adjusted label task service logic, the label engine of the embodiment of the present application can also adjust the label task service logic provided by the label engine through a pre-configured external service interface. Specifically, after obtaining the label tasks submitted by the user that do not need to call the computing platform for execution (i.e., the label tasks with adjusted label task service logic) through a pre-configured external service interface, the relevant processes inside the label engine can be called to add, delete, modify, query, and adjust the label task service logic according to the label task requirements. The advantage of such a setting is that the label engine of the embodiment of the present application can not only process label tasks that rely on the computing platform through a unified external service window, but also process other label tasks that do not need to rely on the computing platform. While improving the convenience and efficiency of label task management, it also improves the comprehensiveness of label task management.

[0046] Figure 2 This is a flowchart of another task management method based on a tag engine provided by an embodiment of the present application. This embodiment is further optimized on the basis of the above embodiment, and provides a specific situation introduction of how to execute a tag task through a target computing platform according to the platform information and calling interface pre-configured by the target computing platform when the tag task is an information query task. Figure 2 As shown, the method specifically includes:

[0047] S201, obtaining a label task to be executed through a pre-configured external service interface.

[0048] S202, determining the target computing platform to be called according to the label task.

[0049] S203: If the tag task is an information query task, access the target computing platform according to the platform information and calling interface pre-configured by the target computing platform to obtain the information to be queried through the target computing platform.

[0050] The information query task in the embodiment of the present application may be related information for querying the tag computing task, for example, it may include at least one of the query task running status, task log and task analysis results, etc. The information to be queried in the embodiment of the present application may be related information that the information query task needs to query from the target computing platform, and accordingly, the information to be queried includes at least one of the task running status, task log and task analysis results.

[0051] Optionally, in an embodiment of the present application, when the tag engine accesses the target computing platform according to the pre-configured platform information and calling interface of the target computing platform, it can be through the calling interface of the target computing platform, input the request address, permissions, account, password, service address interface and other information of the target computing platform, complete the relevant verification of the target computing platform, and successfully access the target computing platform.

[0052] It should be noted that in the embodiment of the present application, the process of the tag engine accessing the target computing platform does not require the user to manually select the target computing platform to be jumped to according to the business logic of the target computing platform, but the tag engine is automatically triggered after obtaining the tag task through a unified external service interface. For the user, he does not need to know what the target computing platform to be jumped to is, nor does he need to understand the access logic of the target computing platform. He only needs to input his query requirements through the external service interface of the tag engine.

[0053] Optionally, in an embodiment of the present application, after the tag engine successfully accesses the target computing platform, it can query and obtain the corresponding information to be queried from the target computing platform according to the query requirements corresponding to the acquired information query task. For example, if the information query task is to query the task log of computing task 1, the tag engine can query the log storage space of the computing platform, and find and obtain the task log of computing task 1 as the acquired information to be queried.

[0054] Optionally, if the information query task obtained by the label engine is a task analysis result query task, the label engine can directly obtain the target computing platform's analysis results of the task from the target computing platform; it can also obtain the target computing platform's calculation results, execution process, resource occupancy and other related information of the task from the target computing platform, perform analysis, and obtain the task analysis results.

[0055] S204, displaying the information to be queried through a pre-configured external service interface.

[0056] Optionally, a display window is pre-configured in the label engine of the embodiment of the present application, and the label engine can transmit the acquired information to be queried to the display window through the external service interface, and then display the acquired information to be queried to the user through the display window. For example, through the pre-configured external service interface, the task log of the acquired computing task 1 is transmitted to the display window of the label engine for display. Optionally, considering that the format of the task log recorded by the target computing platform may not be suitable for the label engine, the label engine in this step can also process the acquired information to be queried in the format, display mode, etc., and then transmit it to the display window for display.

[0057] It should be noted that in the embodiment of the present application, when the label engine displays the information to be queried to the user, it does not need to be displayed through the target computing platform, but is transmitted to the label engine's display window through the label engine's external service interface for display.

[0058] The technical solution of the embodiment of the present application obtains the information query task through a pre-configured external service interface, and determines the target computing platform that needs to be called for the information query task, and then accesses the target computing platform based on the pre-configured platform information and calling interface of the target computing platform, so as to obtain the information to be queried through the target computing platform, and then displays it to the user through the external service interface. The solution of the embodiment of the present application can provide users with service management of information query tasks that need to access the target computing platform through a unified external service interface configured on the label engine, and display the query results to users through the external service interface. During the entire information query process, the label engine automatically queries based on the configured relevant information, and the user does not need to manually trigger the target computing platform that needs to be jumped to view the task information according to the business logic of the target computing platform, thereby improving the convenience and efficiency of information query.

[0059] Optionally, when accessing the target computing platform according to the platform information and call interface pre-configured by the target computing platform, the embodiment of the present application may be to start the information capture thread pool; use the information capture thread pool to access the target computing platform according to the platform information and call interface pre-configured by the target computing platform. Specifically, the embodiment of the present application may be to create and start an information capture thread pool for each information query task, and then execute the information query task of this time through the information capture thread pool, that is, to use the information capture thread pool to access the target computing platform according to the platform information and call interface pre-configured by the target computing platform, and obtain the information to be queried. The advantage of this setting of the present application is that it is convenient to monitor the progress of task execution, and a thread pool is independently set for each task. When there are multiple information query tasks, each information query task can be independently and synchronously performed to improve the efficiency and accuracy of task execution. Optionally, the embodiment of the present application may be to close the information capture thread pool when the information query task is completed, or when the task is abnormal and the task needs to be forcibly ended, and release the running space of the label engine.

[0060] Optionally, in an embodiment of the present application, after the tag engine obtains the information to be queried from the target technology platform, it also includes: storing the information to be queried in a preset storage space. The advantage of such a setting is that when the tag engine needs to use the information to be queried later, it can quickly find the information without repeatedly accessing the target computing platform to query and obtain the information to be queried.

[0061] Figure 3 This is a flowchart of another task management method based on a tag engine provided by an embodiment of the present application. This embodiment is further optimized on the basis of the above embodiment, and provides a specific situation introduction of how to execute the tag task through the target computing platform according to the platform information and calling interface pre-configured by the target computing platform when the tag task is an operation execution task. Figure 3 As shown, the method specifically includes:

[0062] S301, obtaining a label task to be executed through a pre-configured external service interface.

[0063] S302, determining the target computing platform to be called according to the label task.

[0064] S303: If the tag task is an operation execution task, access the target computing platform according to the platform information and calling interface pre-configured by the target computing platform to control the target computing platform to execute the tag task.

[0065] The operation execution task in the embodiment of the present application may be a related task for instructing the tag engine to perform a computing operation. The operation execution task may include at least one of submitting a task, starting a task, terminating a task, and handling an exception.

[0066] Optionally, in an embodiment of the present application, when the tag engine accesses the target computing platform according to the pre-configured platform information and calling interface of the target computing platform, it can be through the calling interface of the target computing platform, input the request address, authority, account, password, service address interface and other information of the target computing platform, complete the relevant verification of the target computing platform, and successfully access the target computing platform. After accessing the target computing platform, the tag engine will control the target computing platform to perform the operation execution task, for example, control the target computing platform to submit, start, terminate or handle a certain computing task.

[0067] It should be noted that in the embodiment of the present application, the process of the tag engine accessing the target computing platform does not require the user to manually select the target computing platform to be jumped to according to the business logic of the target computing platform, but the tag engine is automatically triggered after obtaining the tag task through a unified external service interface. For the user, he does not need to know what the target computing platform to be jumped to is, nor does he need to understand the access logic of the target computing platform. He only needs to input his task operation requirements through the external service interface of the tag engine.

[0068] The technical solution of the embodiment of the present application obtains the operation execution task through a pre-configured external service interface, and determines the target computing platform that needs to be called for the operation execution task, and then accesses the target computing platform based on the pre-configured platform information and calling interface of the target computing platform, and controls the target computing platform to execute the operation execution task. The solution of the embodiment of the present application can provide users with service management of operation execution tasks that need to access the target computing platform through a unified external service interface configured on the label engine, and during the entire operation execution task processing process, the label engine accesses the target computing platform for task processing based on the configured relevant information, and the user does not need to manually trigger the target computing platform that needs to be jumped to perform task processing operations according to the business logic of the target computing platform, thereby improving the convenience and processing efficiency of operation execution task processing.

[0069] Figure 4 This is a flowchart of another task management method based on a tag engine provided in an embodiment of the present application. This embodiment is further optimized on the basis of the above embodiment and provides an introduction to the specific operation of executing a tag task. Figure 4 As shown, the method specifically includes:

[0070] S401, obtaining a label task to be executed through a pre-configured external service interface.

[0071] S402, determining the target computing platform to be called according to the tag task.

[0072] S403, access the target computing platform according to the platform information and calling interface pre-configured by the target computing platform, and execute the label task through the target computing platform. In the process of executing the label task, the state information of the label task is converted according to the general task state logic and the target task state logic of the target computing platform.

[0073] Among them, the general task state logic can be the logic of representing the task state in the tag engine, which can be different task states represented by text, for example, it can include: running state, paused state, termination state caused by manual shutdown, end state after task execution, and task abnormal state, etc. The target task state logic of the target computing platform can be the logic of representing the task state in the target computing platform. The task state logic corresponding to different computing platforms is different. For example, the Spark platform represents different task states by English letters, for example, running is used to represent the running state; pause is used to represent the paused state; stop is used to represent the termination state; finish is used to represent the end state; bad is used to represent the task abnormal state, etc. The Hadoop platform represents different task states by numbers, for example, 1 is used to represent the running state; 2 is used to represent the paused state; 3 is used to represent the termination state; 4 is used to represent the end state; 5 is used to represent the task abnormal state, etc. Optionally, the tag engine of the embodiment of the present application can pre-configure its own general task state logic and the task state logic of each computing platform it supports.

[0074] Optionally, in an embodiment of the present application, since the task state logic of the label engine is different from the target task state logic of the target computing platform, in the process of executing the label task, if the task state determination operation is involved, it is necessary to convert the state information of the label task according to the general task state logic and the target task state logic of the target computing platform. Specifically, if the label task of the present application is an information query task, and the queried information contains the task state, such as querying the task running state, or querying the task log (wherein the task log contains the task running state), etc., at this time, the label engine accesses the target computing platform according to the platform information and call interface pre-configured by the target computing platform, and obtains the information to be queried. Then, according to the general task state logic of the label engine and the target task state logic of the target computing platform, it is necessary to convert the task state information represented under the target task state logic into the task state information represented under the general task state logic, so as to obtain the information to be queried that can be finally displayed to the user.

[0075] If the label task of this application is an operation execution task, since the operation execution task is about the execution task of different task states (such as the pause task corresponding to the pause state), and the operation execution task is obtained through the external service interface of the label engine, the task running state contained in the operation execution task should be the general task state logic of the label engine. At this time, it is necessary to first convert the operation execution task from the general task state logic to the target task state logic of the target computing platform, and then access the target computing platform according to the platform information and call interface pre-configured by the target computing platform to control the target computing platform to execute the operation execution task converted to the target task state logic.

[0076] The technical solution of the embodiment of the present application obtains the label task through a pre-configured external service interface, and determines the target computing platform that needs to be called by the label task, and then calls the target computing platform to execute the label task based on the pre-configured platform information and calling interface of the target computing platform, and in the process of executing the label task, the state information of the label task is converted according to the general task state logic and the target task state logic of the target computing platform. When the solution of the embodiment of the present application provides the user with the task management operation of the label engine through the unified external service interface configured on the label engine, it can unify the target task state logic of different target computing platforms into the general task state logic of the label engine for task management, thereby improving the efficiency and convenience of task management.

[0077] Figure 5 1 is a structural diagram of a task management device based on a tag engine provided according to an embodiment of the present application. The embodiment of the present application is applicable to the situation where tag tasks are managed based on a tag engine. The device can implement the data processing method based on a tag engine described in any embodiment of the present application. The device can be configured in a device to which the tag engine belongs. The device 500 specifically includes:

[0078] The label task acquisition module 501 is used to acquire the label task to be executed through the pre-configured external service interface;

[0079] A computing platform determination module 502 is used to determine a target computing platform to be called according to the tag task;

[0080] The tag task execution module 503 is used to access the target computing platform according to the platform information and calling interface pre-configured by the target computing platform, so as to execute the tag task through the target computing platform.

[0081] The beneficial effect of the embodiment of the present application is to obtain the label task through the pre-configured external service interface, determine the target computing platform that needs to be called by the label task, and then access the target computing platform to execute the label task based on the pre-configured platform information and calling interface of the target computing platform. The solution of the embodiment of the present application can provide users with the task management operation of the label engine through the unified external service interface configured on the label engine, without the need for users to manually trigger the target computing platform that needs to be jumped to perform task management according to the business logic of the target computing platform, thereby improving the convenience and operational efficiency of label engine task management and providing a new idea for task management based on the label engine.

[0082] Furthermore, the tag task execution module 503 includes a query task execution unit, and the query task execution unit specifically includes:

[0083] A computing platform access subunit, configured to, if the tag task is an information query task, access the target computing platform according to the platform information and call interface pre-configured by the target computing platform, so as to obtain the information to be queried through the target computing platform;

[0084] The query information display subunit is used to display the information to be queried through the pre-configured external service interface.

[0085] Furthermore, the computing platform access subunit is specifically used for:

[0086] Start the information crawling thread pool;

[0087] The target computing platform is accessed by using the information capture thread pool according to the platform information and calling interface pre-configured by the target computing platform.

[0088] Furthermore, the query task execution unit also includes:

[0089] The query information storage subunit is used to store the information to be queried in a preset storage space.

[0090] Furthermore, the information to be queried includes at least one of: task running status, task log and task analysis result.

[0091] Furthermore, the tag task execution module 503 also includes an operation task execution unit;

[0092] The operation task execution unit is specifically used to: if the label task is an operation execution task, access the target computing platform according to the platform information and calling interface pre-configured by the target computing platform to control the target computing platform to execute the label task.

[0093] Furthermore, the operation execution task includes: at least one of submitting a task, starting a task, terminating a task and handling an exception task.

[0094] Furthermore, the device further comprises:

[0095] The state information conversion module is used to convert the state information of the tag task according to the general task state logic and the target task state logic of the target computing platform during the execution of the tag task.

[0096] Furthermore, the device further comprises:

[0097] The task service adjustment module is used to adjust the label task service logic provided by the label engine through the pre-configured external service interface.

[0098] According to an embodiment of the present application, the present application also provides an electronic device and a readable storage medium.

[0099] like Figure 6 , is a block diagram of an electronic device according to a task management method based on a tag engine according to an embodiment of the present application. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or required herein.

[0100] like Figure 6 As shown, the electronic device includes: one or more processors 601, a memory 602, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are interconnected using different buses and can be installed on a common mainboard or installed in other ways as needed. The processor can process instructions executed in the electronic device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In other embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple electronic devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 6 A processor 601 is taken as an example.

[0101] The memory 602 is a non-transient computer-readable storage medium provided in the present application. The memory stores instructions executable by at least one processor to enable the at least one processor to execute the task management method based on the tag engine provided in the present application. The non-transient computer-readable storage medium of the present application stores computer instructions, which are used to enable a computer to execute the task management method based on the tag engine provided in the present application.

[0102] The memory 602 is a non-transient computer-readable storage medium that can be used to store non-transient software programs, non-transient computer executable programs and modules, such as the program instructions / modules corresponding to the task management method based on the tag engine in the embodiment of the present application (for example, the attached Figure 5 The processor 601 executes various functional applications and data processing of the server by running the non-transient software programs, instructions and modules stored in the memory 602, that is, the task management method based on the tag engine in the above method embodiment is implemented.

[0103] The memory 602 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of an electronic device based on a tag engine task management method, etc. In addition, the memory 602 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory 602 may optionally include a memory remotely disposed relative to the processor 601, and these remote memories may be connected to the electronic device based on the tag engine task management method via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0104] The electronic device of the task management method based on the tag engine may further include: an input device 603 and an output device 604. The processor 601, the memory 602, the input device 603 and the output device 604 may be connected via a bus or other means. Figure 6 The example of connecting through bus is taken in the following.

[0105] The input device 603 can receive input digital or character information, and generate key signal input related to user settings and function control of the electronic device based on the task management method of the tag engine, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator rod, one or more mouse buttons, a trackball, a joystick and other input devices. The output device 604 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The display device may include, but is not limited to, a liquid crystal display (LCD), a light emitting diode (LED) display and a plasma display. In some embodiments, the display device may be a touch screen.

[0106] Various implementations of the systems and techniques described herein can be realized in digital electronic circuit systems, integrated circuit systems, dedicated ASICs (application specific integrated circuits), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0107] These computer programs (also referred to as programs, software, software applications, or code) include machine instructions for programmable processors and can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, device, and / or means (e.g., disk, optical disk, memory, programmable logic device (PLD)) for providing machine instructions and / or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal for providing machine instructions and / or data to a programmable processor.

[0108] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0109] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0110] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0111] According to the technical solution of the embodiment of the present application, the label task is obtained through a pre-configured external service interface, and the target computing platform that needs to be called by the label task is determined, and then based on the pre-configured platform information and calling interface of the target computing platform, the target computing platform is accessed to execute the label task. The solution of the embodiment of the present application can provide users with task management operations of the label engine through a unified external service interface configured on the label engine, without the need for users to manually trigger the target computing platform that needs to be jumped to perform task management according to the business logic of the target computing platform, thereby improving the convenience and operational efficiency of label engine task management and providing a new idea for task management based on the label engine.

[0112] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this application can be executed in parallel, sequentially or in different orders, as long as the expected results of the technical solution disclosed in this application can be achieved, and this document is not limited here.

[0113] The above specific implementations do not constitute a limitation on the protection scope of this application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.

Claims

1. A task management method based on a tag engine, comprising: Obtain the labeling tasks to be executed through the pre-configured external service interface; Determine the target computing platform to be called according to the label task; Accessing the target computing platform according to the platform information and calling interface pre-configured by the target computing platform to execute the label task through the target computing platform; Through the pre-configured external service interface, the label task submitted by the user is obtained, and the relevant process inside the label engine is called to add, delete, modify or query the label task service logic provided by the label engine according to the requirements of the label task.

2. The method according to claim 1, wherein: Accessing the target computing platform according to the platform information and the calling interface pre-configured by the target computing platform to execute the label task through the target computing platform includes: If the tag task is an information query task, accessing the target computing platform according to the platform information and calling interface pre-configured by the target computing platform to obtain the information to be queried through the target computing platform; The information to be queried is displayed through the pre-configured external service interface.

3. The method according to claim 2, wherein: Accessing the target computing platform according to the platform information and calling interface pre-configured by the target computing platform includes: Start the information crawling thread pool; The target computing platform is accessed by using the information capture thread pool according to the platform information and calling interface pre-configured by the target computing platform.

4. The method according to claim 2, further comprising: The information to be queried is stored in a preset storage space.

5. The method according to any one of claims 2 to 4, wherein: The information to be queried includes: at least one of task running status, task log and task analysis result.

6. The method according to claim 1, wherein: Accessing the target computing platform according to the platform information and the calling interface pre-configured by the target computing platform to execute the label task through the target computing platform includes: If the tag task is an operation execution task, the target computing platform is accessed according to the platform information and calling interface pre-configured by the target computing platform to control the target computing platform to execute the tag task.

7. The method according to claim 6, wherein: The operation execution task includes: at least one of submitting a task, starting a task, terminating a task and handling an exception.

8. The method according to claim 1, further comprising: During the execution of the tag task, the state information of the tag task is converted according to the general task state logic and the target task state logic of the target computing platform.

9. A task management device based on a tag engine, comprising: The label task acquisition module is used to obtain the label tasks to be executed through the pre-configured external service interface; A computing platform determination module, used to determine a target computing platform to be called according to the label task; A tag task execution module, used to access the target computing platform according to the platform information and calling interface pre-configured by the target computing platform, so as to execute the tag task through the target computing platform; The task service adjustment module is used to obtain the labeling tasks submitted by the user through the pre-configured external service interface, and call the relevant processes inside the labeling engine to add, delete, modify or query the labeling task service logic provided by the labeling engine according to the requirements of the labeling task.

10. The device according to claim 9, wherein: The tag task execution module includes a query task execution unit, and the query task execution unit specifically includes: A computing platform access subunit, configured to, if the tag task is an information query task, access the target computing platform according to the platform information and call interface pre-configured by the target computing platform, so as to obtain the information to be queried through the target computing platform; The query information display subunit is used to display the information to be queried through the pre-configured external service interface.

11. The device according to claim 10, wherein: The computing platform access subunit is specifically used for: Start the information crawling thread pool; The target computing platform is accessed by using the information capture thread pool according to the platform information and calling interface pre-configured by the target computing platform.

12. The device according to claim 10, wherein the query task execution unit further comprises: The query information storage subunit is used to store the information to be queried in a preset storage space.

13. The device according to any one of claims 10 to 12, wherein: The information to be queried includes: at least one of task running status, task log and task analysis result.

14. The device according to claim 9, wherein: The label task execution module also includes an operation task execution unit; The operation task execution unit is specifically used to: if the label task is an operation execution task, access the target computing platform according to the platform information and calling interface pre-configured by the target computing platform to control the target computing platform to execute the label task.

15. The device according to claim 14, wherein: The operation execution task includes: at least one of submitting a task, starting a task, terminating a task and handling an exception.

16. The apparatus according to claim 9, further comprising: The state information conversion module is used to convert the state information of the tag task according to the general task state logic and the target task state logic of the target computing platform during the execution of the tag task.

17. An electronic device, wherein: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the task management method based on the tag engine as described in any one of claims 1-8.

18. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to enable the computer to execute the tag engine-based task management method described in any one of claims 1-8.