An analysis unit registration and governance method and device, electronic equipment and medium

By parsing and validating the registration requests of analysis units, detecting conflicts and resolving them, the problems of difficult and inefficient management of analysis units in the prior art are solved, and efficient and flexible analysis unit registration and management are achieved.

CN122173130APending Publication Date: 2026-06-09BEIJING YOUTEJIE INFORMATION TECH

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
BEIJING YOUTEJIE INFORMATION TECH
Filing Date
2026-03-04
Publication Date
2026-06-09

AI Technical Summary

Technical Problem

Existing technologies require modifications to core code when adding new analytical capabilities, resulting in a large workload, difficult and inefficient management of analytical units, and inflexibility, making it difficult to support the large-scale expansion of analytical capabilities and security governance.

Method used

By receiving registration requests from analysis units in real time, parsing target description information, performing information legality verification and capability conflict detection, registering and managing the process during invocation, including scheduling frequency adjustment and pause operations.

Benefits of technology

It improves the efficiency and flexibility of analysis unit registration and governance, reduces the processing workload, and solves the difficulties and inflexibility of analysis unit management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122173130A_ABST
    Figure CN122173130A_ABST
Patent Text Reader

Abstract

The application discloses an analysis unit registration and management method and device, electronic equipment and medium. Real-time receiving and according to the analysis unit registration request to be processed, target analysis unit description information is obtained; according to the target analysis unit description information, the information legality verification method is processed to obtain the current information legality verification result; if the current information legality verification result is verified, the target analysis unit is processed to complete the registration operation of the target analysis unit through the capability conflict and dependence detection method; in the target analysis unit calling execution process that has been registered, the target analysis unit is managed through the analysis unit management method to complete the calling processing operation of the target analysis unit. The problems of large processing workload, difficult analysis unit management, low efficiency and inflexibility of increasing analysis capability are solved, the efficiency and flexibility of analysis unit registration and management are improved, and the workload of analysis unit processing is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data processing technology, and in particular to a method, apparatus, electronic device, and medium for registering and managing analysis units. Background Technology

[0002] In the field of observability platform technology, analytical capabilities targeting objects such as services, hosts, Kubernetes, and databases typically exist as fixed functional modules or hard-coded logic. With the development of intelligent assistants, analytical capabilities are showing a trend towards plug-in and composability.

[0003] In the process of realizing this invention, the inventors discovered the following defects in the prior art: the prior art requires modification of the core code and redistribution for the addition of new analysis capabilities, which leads to a large workload; the inability to effectively control the scope of application of analysis capabilities, version activation rules and conflict handling strategies leads to difficulties in the management of analysis units, low efficiency and inflexibility, and makes it difficult to support the large-scale expansion and security governance of analysis capabilities. Summary of the Invention

[0004] This invention provides a method, apparatus, electronic device, and medium for registering and managing analytical units, thereby improving the efficiency and flexibility of analytical unit registration and management and reducing the workload of analytical unit processing.

[0005] According to one aspect of the present invention, an analysis unit registration and governance method is provided, comprising: The system receives and parses the registration requests of the analysis units to be processed in real time to obtain the target analysis unit description information. Based on the target analysis unit description information, the information is processed using a preset information legality verification method to obtain the current information legality verification result; If the current information legality verification result is successful, the target analysis unit is processed using a preset capability conflict and dependency detection method, and the registration operation of the target analysis unit is completed based on the processing result. During the execution of the registered target analysis unit, the target analysis unit is managed using a preset analysis unit management method, and the call processing operation of the target analysis unit is completed based on the management result.

[0006] According to another aspect of the present invention, an analysis unit registration and management apparatus is provided, comprising: The target analysis unit description information determination module is used to receive and parse the analysis unit registration request in real time according to the analysis unit registration request to be processed, and obtain the target analysis unit description information. The current information legality verification result determination module is used to process the target analysis unit description information through a preset information legality verification method to obtain the current information legality verification result. The target analysis unit registration operation module is used to process the target analysis unit through a preset capability conflict and dependency detection method if the current information legality verification result is successful, and complete the registration operation of the target analysis unit according to the processing result. The target analysis unit governance module is used to govern the target analysis unit through a preset governance method during the execution of the registered target analysis unit call, and to complete the call processing operation of the target analysis unit based on the governance result.

[0007] According to another aspect of the present invention, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the analysis unit registration and governance method described in any embodiment of the present invention.

[0008] According to another aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions for causing a processor to execute and implement the analysis unit registration and management method according to any embodiment of the present invention.

[0009] The technical solution of this invention involves receiving and parsing a registration request for an analysis unit in real time to obtain target analysis unit description information. Based on this description information, a preset information validity verification method is used to obtain the current information validity verification result. If the verification result is successful, the target analysis unit is processed using a preset capability conflict and dependency detection method, and registration is completed based on the processing result. During the execution of the registered target analysis unit, a preset analysis unit governance method is used to govern the target analysis unit, and the call processing operation is completed based on the governance result. This solves the problems of large workload for increasing analysis capabilities, difficult analysis unit management, low efficiency, and inflexibility, improving the efficiency and flexibility of analysis unit registration and governance, and reducing the workload of analysis unit processing.

[0010] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description

[0011] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0012] Figure 1 This is a flowchart of an analysis unit registration and governance method provided in Embodiment 1 of the present invention; Figure 2 This is a schematic diagram of the structure of an analysis unit registration and management device according to Embodiment 2 of the present invention; Figure 3 This is a schematic diagram of the structure of an electronic device provided according to Embodiment 3 of the present invention. Detailed Implementation

[0013] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0014] It should be noted that the terms "target," "current," etc., used in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0015] It is worth noting that the information collected in the technical solution of this application is information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of the relevant data all comply with the relevant laws, regulations and standards of the relevant countries and regions, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entry points for users to choose to authorize or refuse; if the user chooses to refuse, the process will proceed to the expert decision-making process.

[0016] Example 1 Figure 1 The present invention provides a flowchart of an analysis unit registration and management method according to Embodiment 1. This embodiment is applicable to the case of registering and managing analysis units. The method can be executed by an analysis unit registration and management device, which can be implemented in hardware and / or software.

[0017] Correspondingly, such as Figure 1 As shown, the method includes: S110. Receive and parse the analysis unit registration request in real time according to the analysis unit registration request to be processed, and obtain the target analysis unit description information.

[0018] Optionally, the target analysis unit description information includes: target capability classification type, target input data declaration, target output data declaration, and target condition set; The target condition set includes at least one target sub-condition.

[0019] In this embodiment, after receiving the registration request of the analysis unit to be processed, it is necessary to parse the registration request of the analysis unit to be processed, and determine the parameters such as the target capability classification type, target input data declaration, target output data declaration, and target condition set corresponding to the request.

[0020] The target capability classification type can describe the capability category of the request; specifically, it can be functions such as database analysis, application performance analysis, or error log analysis. The target input data declaration can be a declaration of the input data, corresponding to the output data declaration. The target condition set can be one or more sub-conditions used to describe which conditions the analysis unit must meet to be executed.

[0021] S120. Based on the target analysis unit description information, the information is processed using a preset information legality verification method to obtain the current information legality verification result.

[0022] Among them, the information legality verification method can be a verification method used to detect whether the description information of the analysis unit is legal, including field structure verification and type rule verification.

[0023] Optionally, the step of processing the target analysis unit description information using a preset information validity verification method to obtain the current information validity verification result includes: using the field structure verification sub-method in the information validity verification method to perform field structure verification processing on the target capability classification type, target input data declaration, target output data declaration, and target condition set respectively; if all verifications pass, then processing is performed using the type rule verification sub-method in the information validity verification method to obtain the current information validity verification result.

[0024] Specifically, the process of obtaining the current information legality verification result through the type rule verification sub-method in the information legality verification method includes: determining whether the analysis object in the target capability classification type is a preset existing entity type through the type rule verification sub-method; if so, determining that the capability legality verification has passed; determining whether the target input data declaration matches a preset input data type library; if so, determining that the input data legality verification has passed; determining whether the target output data declaration is an empty field; if not, determining that the output data legality verification has passed; and determining whether the target condition set is an empty field; if so, determining that the condition set legality verification has passed. If not, then determine whether the fields of the target condition set can be parsed to obtain the condition set field parsing result. If so, then the condition set validity check result is determined to be passed. Based on the capability validity check result, the input data validity check result, the output data validity check result, and the condition set validity check result, the current information validity check result is determined to be passed. If at least one of the capability validity check failure result, the input data validity check failure result, the output data validity check failure result, and the condition set validity check failure result is satisfied, then the current information validity check result is determined to be failed.

[0025] In this embodiment, the field structure validation sub-method is first used to validate the target capability classification type, target input data declaration, target output data declaration, and target condition set. This can determine whether there are any non-standard or incorrect field structures. If the validation fails, error information is directly fed back to the user.

[0026] Furthermore, if the verification passes, the type rule verification sub-method is used to determine whether the analysis object in the target capability classification type is a pre-defined existing entity type. If so, the capability validity verification result is determined to be passed. For example, if the analysis object of the target capability classification type is a host analysis or database analysis, which is an existing entity type, the capability validity verification result is determined to be passed; if it is a data center analysis, which is not an existing entity type, the verification result is failed.

[0027] Accordingly, it can be further determined whether the target input data declaration matches the preset input data type library (which may include indicator input data, log input data, or link input data). If so, the input data validity check is passed. If it does not match the input data type library and is data from the data center, the validation fails. Next, it is necessary to determine whether the target output data declaration is an empty field. If not, the output data validity check is passed. Since the output declaration cannot be empty—for example, it must contain relevant keywords such as memory, or be structured data, or be in plain text format—these requirements must be met; otherwise, the validation fails.

[0028] Furthermore, for the target condition set, it can be an empty field or, if input is required, it must be parsable to obtain the corresponding parsing result. Specifically, it is necessary to determine whether the target condition set is an empty field. If so, the condition set validity check is considered passed. If not, it is determined whether the fields of the target condition set can be parsed to obtain the condition set field parsing result. If so, the condition set validity check is considered passed.

[0029] Accordingly, the current information validity verification result can be determined to be valid based on the results of the capability validity verification, the input data validity verification, the output data validity verification, and the condition set validity verification. If at least one of the following is satisfied: the capability validity verification fails, the input data validity verification fails, the output data validity verification fails, and the condition set validity verification fails, then the current information validity verification result is determined to be invalid.

[0030] The advantage of this setup is that, through field structure verification and type rule verification in the information legality verification method, the legality verification operations of target capability classification type, target input data declaration, target output data declaration, and target condition set can be performed better. This can improve the accuracy of analysis unit registration, better assist the registration work of analysis units, and enhance the guarantee of normal operation of analysis units.

[0031] S130. If the current information legality verification result is successful, the target analysis unit is processed using a preset capability conflict and dependency detection method, and the registration operation of the target analysis unit is completed based on the processing result.

[0032] Among them, the capability conflict and dependency detection methods can include the detection of capability conflicts between the analysis unit and the registered unit, as well as the processing methods for dependency detection.

[0033] Optionally, the step of processing the target analysis unit using a preset capability conflict and dependency detection method and completing the registration operation of the target analysis unit based on the processing result includes: using the capability conflict detection sub-method in the capability conflict and dependency detection method to determine whether the capability classification type corresponding to the target analysis unit is the same as the capability classification type of at least one registered analysis unit in the pre-built registered analysis unit library; if not, then it is determined that the capability conflict registration operation condition of the target analysis unit is met; if so, then it is determined whether the input data declaration corresponding to the target analysis unit is the same as the input data declaration of each of the registered analysis units; if not, then it is determined that... The capability conflict registration operation conditions of the target analysis unit are met. If they are the same, it is determined whether the target condition set corresponding to the target analysis unit is the same as or satisfies a subset relationship with the target condition set of each registered analysis unit. If not, it is determined that the capability conflict registration operation conditions of the target analysis unit are met. If so, it is determined that the target analysis unit has a capability conflict, and the registration operation of the target analysis unit is cancelled. Through the dependency detection sub-method in the capability conflict and dependency detection method, dependency detection is performed on each target sub-condition in the target condition set corresponding to the target analysis unit that meets the capability conflict registration operation conditions, and the registration operation of the target analysis unit is completed according to the processing result.

[0034] In this embodiment, a registered analysis unit library needs to be established in advance. The registered analysis unit library may include multiple registered analysis units. Each registered analysis unit may include descriptive parameters such as capability classification type, input data declaration, target condition set, and analysis unit identifier number.

[0035] First, the capability classification type corresponding to the target analysis unit needs to be compared with the capability classification type of each registered analysis unit in the registered analysis unit library. If they are the same, the input data declarations need to be compared. If they are the same, it needs to be determined whether the corresponding target condition sets are the same or satisfy a subset relationship. If they are the same or satisfy a subset relationship, it can be determined that there is a capability conflict in the target analysis unit, and the registration operation of the target analysis unit is cancelled.

[0036] Conversely, if none of the above conditions are met, it can be determined that the capability conflict registration operation conditions of the target analysis unit are met. Then, through the dependency detection sub-method, dependency detection is performed on each target sub-condition in the target condition set corresponding to the target analysis unit that meets the capability conflict registration operation conditions. Based on the processing results, the registration operation of the target analysis unit is completed.

[0037] Specifically, the process of performing dependency detection on each target sub-condition in the target condition set corresponding to the target analysis unit that meets the capability conflict registration operation conditions through the dependency detection sub-method in the capability conflict and dependency detection method, and completing the registration operation of the target analysis unit based on the processing result, includes: performing dependency detection on each target sub-condition in the target condition set corresponding to the target analysis unit that meets the capability conflict registration operation conditions through the dependency detection sub-method in the capability conflict and dependency detection method; determining whether there is a circular dependency relationship among each target sub-condition based on the target condition set of each registered analysis unit in the registered analysis unit library; if so, determining that the target analysis unit has a dependency relationship and canceling the registration operation of the target analysis unit; if not, setting a target analysis unit identifier number corresponding to the target analysis unit and performing the registration operation of the target analysis unit.

[0038] In this embodiment, a dependency detection sub-method is used to perform dependency detection on each target sub-condition in the target condition set corresponding to the target analysis unit that meets the capability conflict registration operation conditions; specifically, it is necessary to determine whether each sub-condition in the target analysis unit has a circular dependency relationship with the conditions in the target condition set of each registered analysis unit.

[0039] For example, a sub-condition in target analysis unit A is that its execution operation depends on the result of a registered analysis unit B; however, for registered analysis unit B, there exists a condition that its execution operation depends on the result of target analysis unit A, thus forming a circular dependency. In this case, the registration operation of the target analysis unit needs to be canceled. If no circular dependency exists, then a corresponding target analysis unit identifier number needs to be assigned to the target analysis unit, and the target analysis unit needs to be registered.

[0040] The advantages of this setup are: it solves the problem of a large workload in registering additional analytical capabilities, improves the efficiency and flexibility of analytical unit registration, and reduces the workload of analytical unit processing.

[0041] S140. During the execution of the registered target analysis unit, the target analysis unit is managed by a preset analysis unit management method, and the call processing operation of the target analysis unit is completed based on the management result.

[0042] Among them, the governance method of the analysis unit can be a governance method that adjusts the scheduling frequency of the analysis unit or suspends the operation of the analysis unit.

[0043] Optionally, during the execution of a registered target analysis unit call, the target analysis unit is managed using a preset analysis unit management method. The call processing operation for the target analysis unit is then completed based on the management results. This includes: during the execution of a registered target analysis unit call, obtaining the current scheduling description information corresponding to the target analysis unit; wherein the current scheduling description information includes at least one of the following: current scheduling frequency, current execution time, current memory usage, current total scheduling count, and current scheduling failure count; obtaining the maximum allowed execution time, maximum allowed scheduling frequency, and maximum allowed memory usage; using the analysis unit management method, if it is determined that the current total scheduling count equals the current scheduling failure count, then the call to the target analysis unit is paused, and the target analysis unit is removed from the scheduler; if at least one of the following is satisfied: the current scheduling frequency is greater than the maximum allowed scheduling frequency, the current execution time is greater than the maximum allowed execution time, or the current memory usage is greater than the maximum allowed memory usage, then the frequency of calling the target analysis unit is reduced to complete the call processing operation for the target analysis unit.

[0044] In this embodiment, after the target analysis unit is registered, it is also necessary to manage the analysis unit according to the scheduling parameters corresponding to the target analysis unit.

[0045] Specifically, it is necessary to obtain the current scheduling frequency, current execution time, current memory usage, current total scheduling count, and current scheduling failure count of the target analysis unit during the scheduling process; it is also necessary to obtain the corresponding maximum allowed execution time, maximum allowed scheduling frequency, and maximum allowed memory usage. Then, a judgment process is performed. Specifically, if it is determined that the current total scheduling count equals the current scheduling failure count, the call to the target analysis unit is paused, and the target analysis unit is removed from the scheduler; if it is determined that the current total scheduling count is greater than the current scheduling failure count, and the scheduling success probability is met, the function of continuously scheduling the target analysis unit can continue.

[0046] Correspondingly, if the current scheduling frequency is greater than the maximum allowed scheduling frequency, the current execution time is greater than the maximum allowed execution time, or the current memory usage is greater than the maximum allowed memory usage, it indicates that the current analysis unit scheduling frequency is too high, the execution time is too long, or the memory usage is too high. Therefore, it is necessary to reduce the frequency of calling the target analysis unit in order to complete the call processing operation of the target analysis unit.

[0047] The advantages of this setup are: it solves the problems of difficulty, inefficiency, and inflexibility in managing analytical units, improves the efficiency and flexibility of managing analytical units, and reduces the difficulty of managing analytical units.

[0048] Furthermore, if multiple updated versions of a target analysis unit exist, the analysis unit with the higher version should be prioritized for scheduling. Alternatively, for the same capability classification type requirement, if at least one analysis unit can handle it, the analysis unit with the higher version should also be prioritized for scheduling. This can improve the flexibility of analysis unit governance and increase the efficiency of analysis unit processing.

[0049] The technical solution of this invention involves receiving and parsing a registration request for an analysis unit in real time to obtain target analysis unit description information. Based on this description information, a preset information validity verification method is used to obtain the current information validity verification result. If the verification result is successful, the target analysis unit is processed using a preset capability conflict and dependency detection method, and registration is completed based on the processing result. During the execution of the registered target analysis unit, a preset analysis unit governance method is used to govern the target analysis unit, and the call processing operation is completed based on the governance result. This solves the problems of large workload for increasing analysis capabilities, difficult analysis unit management, low efficiency, and inflexibility, improving the efficiency and flexibility of analysis unit registration and governance, and reducing the workload of analysis unit processing.

[0050] Example 2 Figure 2 This is a schematic diagram of an analysis unit registration and management device provided in Embodiment 2 of the present invention. The analysis unit registration and management device provided in this embodiment can be implemented by software and / or hardware, and can be configured in a terminal device or server to implement an analysis unit registration and management method according to an embodiment of the present invention. Figure 2 As shown, the device includes: a target analysis unit description information determination module 210, a current information legality verification result determination module 220, a target analysis unit registration operation module 230, and a target analysis unit governance module 240.

[0051] The target analysis unit description information determination module 210 is used to receive and parse the analysis unit registration request in real time according to the analysis unit registration request to be processed, and obtain the target analysis unit description information. The current information legality verification result determination module 220 is used to process the target analysis unit description information through a preset information legality verification method to obtain the current information legality verification result. The target analysis unit registration operation module 230 is used to process the target analysis unit through a preset capability conflict and dependency detection method if the current information legality verification result is successful, and complete the registration operation of the target analysis unit according to the processing result. The target analysis unit governance module 240 is used to govern the target analysis unit through a preset analysis unit governance method during the execution of the registered target analysis unit call, and to complete the call processing operation of the target analysis unit based on the governance result.

[0052] The technical solution of this invention involves receiving and parsing a registration request for an analysis unit in real time to obtain target analysis unit description information. Based on this description information, a preset information validity verification method is used to obtain the current information validity verification result. If the verification result is successful, the target analysis unit is processed using a preset capability conflict and dependency detection method, and registration is completed based on the processing result. During the execution of the registered target analysis unit, a preset analysis unit governance method is used to govern the target analysis unit, and the call processing operation is completed based on the governance result. This solves the problems of large workload for increasing analysis capabilities, difficult analysis unit management, low efficiency, and inflexibility, improving the efficiency and flexibility of analysis unit registration and governance, and reducing the workload of analysis unit processing.

[0053] Based on the above embodiments, the target analysis unit description information includes: target capability classification type, target input data declaration, target output data declaration, and target condition set; wherein, the target condition set includes at least one target sub-condition.

[0054] Based on the above embodiments, the current information legality verification result determination module 220 may specifically include: a field structure verification processing unit, which may be specifically used to: perform field structure verification processing on the target capability classification type, target input data declaration, target output data declaration, and target condition set respectively through the field structure verification sub-method in the information legality verification method; and a current information legality verification result determination unit, which may be specifically used to: if all verifications pass, process the results through the type rule verification sub-method in the information legality verification method to obtain the current information legality verification result.

[0055] Based on the above embodiments, the current information legality verification result determination unit can be specifically used to: determine, through the type rule verification sub-method, whether the analysis object in the target capability classification type is a preset existing entity type; if so, determine that the capability legality verification has passed; determine whether the target input data declaration hits a preset input data type library; if so, determine that the input data legality verification has passed; determine whether the target output data declaration is an empty field; if not, determine that the output data legality verification has passed; determine whether the target condition set is an empty field; if so, determine that the condition set legality verification has passed; if not, determine that the... The fields of the target condition set are parsed to determine if a parsing result for the condition set fields can be obtained. If so, the condition set validity check is considered passed. Based on the pass results for capability validity check, input data validity check, output data validity check, and condition set validity check, the current information validity check result is determined to be passed. If at least one of the following is satisfied: fail result for capability validity check, fail result for input data validity check, fail result for output data validity check, or fail result for condition set validity check, the current information validity check result is determined to be failed.

[0056] Based on the above embodiments, the target analysis unit registration operation module 230 can be specifically used to: determine, through the capability conflict detection sub-method in the capability conflict and dependency detection method, whether the capability classification type corresponding to the target analysis unit is the same as the capability classification type of at least one registered analysis unit in the pre-built registered analysis unit library; if not, then it is determined that the capability conflict registration operation condition of the target analysis unit is met; if so, then it is determined whether the input data declaration corresponding to the target analysis unit is the same as the input data declaration of each of the registered analysis units; if not, then it is determined that the capability conflict registration operation condition of the target analysis unit is met; if so, then it is determined whether the target condition set corresponding to the target analysis unit is the same as or satisfies a subset relationship with the target condition set of each of the registered analysis units; if not, then it is determined that the capability conflict registration operation condition of the target analysis unit is met; if so, then it is determined that the target analysis unit has a capability conflict, and the registration operation of the target analysis unit is cancelled; through the dependency detection sub-method in the capability conflict and dependency detection method, dependency detection is performed on each target sub-condition in the target condition set corresponding to the target analysis unit that meets the capability conflict registration operation condition, and the registration operation of the target analysis unit is completed according to the processing result.

[0057] Based on the above embodiments, the target analysis unit registration operation module 230 can also be specifically used to: perform dependency detection on each target sub-condition in the target condition set corresponding to the target analysis unit that meets the capability conflict registration operation conditions through the dependency detection sub-method in the capability conflict and dependency detection method; determine whether there is a circular dependency relationship among each target sub-condition according to the target condition set of each registered analysis unit in the registered analysis unit library; if there is, determine that the target analysis unit has a dependency relationship and cancel the registration operation of the target analysis unit; if not, set the target analysis unit identifier number corresponding to the target analysis unit and perform the registration operation of the target analysis unit.

[0058] Based on the above embodiments, the target analysis unit governance module 240 can be specifically used to: during the execution of a registered target analysis unit call, obtain the current scheduling description information corresponding to the target analysis unit; wherein, the current scheduling description information includes at least one of the following: current scheduling frequency, current execution time, current memory usage, current total scheduling count, and current scheduling failure count; obtain the maximum allowed execution time, maximum allowed scheduling frequency, and maximum allowed memory usage; through the analysis unit governance method, if it is determined that the current total scheduling count is equal to the current scheduling failure count, then the call to the target analysis unit is paused, and the target analysis unit is removed from the scheduler; if at least one of the following is satisfied: the current scheduling frequency is greater than the maximum allowed scheduling frequency, the current execution time is greater than the maximum allowed execution time, or the current memory usage is greater than the maximum allowed memory usage, then the frequency of calling the target analysis unit is reduced to complete the call processing operation of the target analysis unit.

[0059] The analysis unit registration and management device provided in the embodiments of the present invention can execute the analysis unit registration and management method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0060] Example 3 Figure 3 A schematic diagram of an electronic device 10, which can be used to implement Embodiment 3 of the present invention, is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (such as helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.

[0061] like Figure 3 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 can also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0062] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0063] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as the analysis unit registration and governance method.

[0064] In some embodiments, the analysis unit registration and management method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the analysis unit registration and management method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to execute the analysis unit registration and management method by any other suitable means (e.g., by means of firmware).

[0065] The method includes: receiving and parsing the registration request of the analysis unit to be processed in real time to obtain the target analysis unit description information; processing the target analysis unit description information through a preset information legality verification method to obtain the current information legality verification result; if the current information legality verification result is successful, processing the target analysis unit through a preset capability conflict and dependency detection method, and completing the registration operation of the target analysis unit according to the processing result; during the execution of the registered target analysis unit, managing the target analysis unit through a preset analysis unit management method, and completing the call processing operation of the target analysis unit according to the management result.

[0066] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0067] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0068] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0069] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device 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 provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, 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 sound input, voice input, or tactile input).

[0070] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or middleware components (e.g., application servers), or frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.

[0071] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.

[0072] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.

[0073] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand 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 invention should be included within the scope of protection of this invention.

[0074] Example 4 Embodiment 4 of the present invention also provides a computer-readable storage medium, wherein the computer-readable instructions, when executed by a computer processor, are used to perform an analysis unit registration and governance method. The method includes: receiving and parsing an analysis unit registration request to be processed in real time to obtain target analysis unit description information; processing the target analysis unit description information using a preset information legality verification method to obtain a current information legality verification result; if the current information legality verification result is successful, processing the target analysis unit using a preset capability conflict and dependency detection method, and completing the registration operation of the target analysis unit based on the processing result; during the execution of a registered target analysis unit, governing the target analysis unit using a preset analysis unit governance method, and completing the call processing operation of the target analysis unit based on the governance result.

[0075] Of course, the computer-executable instructions provided in the embodiments of the present invention, which include a computer-readable storage medium, are not limited to the method operations described above, but can also perform related operations in the analysis unit registration and governance method provided in any embodiment of the present invention.

[0076] Based on the above description of the implementation methods, those skilled in the art can clearly understand that the present invention can be implemented using software and necessary general-purpose hardware, and of course, it can also be implemented using hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory, hard disk, or optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0077] It is worth noting that in the embodiments of the above-mentioned analysis unit registration and governance method, the various units and modules included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be achieved; in addition, the specific names of each functional unit are only for easy differentiation and are not used to limit the scope of protection of the present invention.

[0078] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand 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 invention should be included within the scope of protection of this invention.

Claims

1. A method for registering and managing analytical units, characterized in that, include: The system receives and parses the registration requests of the analysis units to be processed in real time to obtain the target analysis unit description information. Based on the target analysis unit description information, the information is processed using a preset information legality verification method to obtain the current information legality verification result; If the current information legality verification result is successful, the target analysis unit is processed using a preset capability conflict and dependency detection method, and the registration operation of the target analysis unit is completed based on the processing result. During the execution of the registered target analysis unit, the target analysis unit is managed using a preset analysis unit management method, and the call processing operation of the target analysis unit is completed based on the management result.

2. The method according to claim 1, characterized in that, The target analysis unit description information includes: target capability classification type, target input data declaration, target output data declaration, and target condition set; The target condition set includes at least one target sub-condition.

3. The method according to claim 2, characterized in that, The step of processing the target analysis unit description information using a preset information legality verification method to obtain the current information legality verification result includes: The field structure verification sub-method in the information legality verification method is used to perform field structure verification processing on the target capability classification type, target input data declaration, target output data declaration, and target condition set respectively. If all checks pass, the information validity verification result is obtained by processing the type rule verification sub-method in the information validity verification method.

4. The method according to claim 3, characterized in that, The process of obtaining the current information validity verification result through the type rule verification sub-method in the information validity verification method includes: The type rule verification sub-method is used to determine whether the analysis object in the target capability classification type is a preset existing entity type. If so, the capability legality verification result is determined to be passed. Determine whether the target input data declaration matches the preset input data type library; if so, determine that the input data validity verification result has passed. Determine whether the target output data declaration is an empty field; if not, then determine that the output data validity check has passed. Determine whether the target condition set is an empty field. If it is, then the result of the condition set validity check is passed. If not, determine whether the fields of the target condition set can be parsed to obtain the condition set field parsing result. If they are obtained, then the result of the condition set validity check is passed. Based on the results of the capability validity verification, the input data validity verification, the output data validity verification, and the condition set validity verification, the current information validity verification result is determined to be valid. If at least one of the following is satisfied: the capability validity check fails, the input data validity check fails, the output data validity check fails, and the condition set validity check fails, then the current information validity check result is determined to be a failure.

5. The method according to claim 4, characterized in that, The process of processing the target analysis unit using a preset capability conflict and dependency detection method, and registering the target analysis unit based on the processing result, includes: The capability conflict detection sub-method in the capability conflict and dependency detection method determines whether the capability classification type corresponding to the target analysis unit is the same as the capability classification type of at least one registered analysis unit in the pre-built registered analysis unit library. If not, it is determined that the capability conflict registration operation condition of the target analysis unit is met. If so, determine whether the input data declaration corresponding to the target analysis unit is the same as the input data declaration of each registered analysis unit. If they are not the same, determine that the capability conflict registration operation condition of the target analysis unit is met. If they are the same, it is determined whether the target condition set corresponding to the target analysis unit is the same as or satisfies the subset relationship of the target condition set of each registered analysis unit. If not, it is determined that the capability conflict registration operation condition of the target analysis unit is met. If so, it is determined that the target analysis unit has a capability conflict and the registration operation of the target analysis unit is cancelled. The dependency detection sub-method in the capability conflict and dependency detection method performs dependency detection on each target sub-condition in the target condition set corresponding to the target analysis unit that meets the capability conflict registration operation conditions, and completes the registration operation of the target analysis unit based on the processing results.

6. The method according to claim 5, characterized in that, The process involves using the dependency detection sub-method in the capability conflict and dependency detection method to perform dependency detection on each target sub-condition in the target condition set corresponding to the target analysis unit that meets the capability conflict registration operation conditions, and completing the registration operation of the target analysis unit based on the processing results. This includes: The dependency detection sub-method in the capability conflict and dependency detection method performs dependency detection on each target sub-condition in the target condition set corresponding to the target analysis unit that meets the capability conflict registration operation conditions. Based on the target condition set of each registered analysis unit in the registered analysis unit library, determine whether there is a circular dependency relationship between each target sub-condition. If so, determine that the target analysis unit has a dependency relationship and cancel the registration operation of the target analysis unit. If it does not exist, set the target analysis unit identifier number corresponding to the target analysis unit, and perform a registration operation on the target analysis unit.

7. The method according to claim 1 or 6, characterized in that, During the execution of the registered target analysis unit, the target analysis unit is managed using a preset analysis unit management method. Based on the management results, the call processing operation for the target analysis unit is completed, including: During the execution of a registered target analysis unit, obtain the current scheduling description information corresponding to the target analysis unit; The current scheduling description information includes at least one of the following: current scheduling frequency, current execution time, current memory usage, current total number of scheduling attempts, and current number of scheduling failures; Get the maximum allowed execution time, the maximum allowed scheduling frequency, and the maximum allowed memory usage; If the current total number of scheduling attempts is determined to be equal to the current number of scheduling failures using the analysis unit governance method, then the invocation of the target analysis unit is paused, and the target analysis unit is removed from the scheduler. If at least one of the following conditions is met: the current scheduling frequency is greater than the maximum allowed scheduling frequency, the current execution time is greater than the maximum allowed execution time, or the current memory usage is greater than the maximum allowed memory usage, then the frequency of calling the target analysis unit is reduced to complete the call processing operation of the target analysis unit.

8. An analytical unit registration and management device, characterized in that, include: The target analysis unit description information determination module is used to receive and parse the analysis unit registration request in real time according to the analysis unit registration request to be processed, and obtain the target analysis unit description information. The current information legality verification result determination module is used to process the target analysis unit description information through a preset information legality verification method to obtain the current information legality verification result. The target analysis unit registration operation module is used to process the target analysis unit through a preset capability conflict and dependency detection method if the current information legality verification result is successful, and complete the registration operation of the target analysis unit according to the processing result. The target analysis unit governance module is used to govern the target analysis unit through a preset governance method during the execution of the registered target analysis unit call, and to complete the call processing operation of the target analysis unit based on the governance result.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements an analysis unit registration and management method as described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that cause a processor to execute and implement the analysis unit registration and management method as described in any one of claims 1-7.