Scheme generation method and device based on intelligent capability, equipment and medium

Through the intelligent capability solution generation method, combined with the advantages of business and technical personnel, solutions in the field of gas safety are built, which solves the problem of capacity separation in the field of gas safety and improves the efficiency and accuracy of risk identification and response strategies.

CN118917964APending Publication Date: 2024-11-08BOCOM SMART INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410681970.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-29
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

The failure of business personnel and technicians to effectively combine the capabilities of gas safety in the field of gas safety has led to the inability to accurately identify potential risks and formulate response strategies in a timely manner, which may cause safety accidents.

Method used

Through the intelligent capability-based solution generation method, the pre-built target knowledge base acquires relevant knowledge, builds processing capabilities that meet the requirements of preset capabilities, and automatically encodes and generates solutions, and directly determines the target processing capabilities and Solution.

Benefits of technology

It has achieved complementary and integration of professional knowledge and problem-solving experience in the field of gas safety, enhanced the practicality and systematicity of solutions, improved the efficiency and accuracy of solution generation, and improved the safety response capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118917964A_ABST
    Figure CN118917964A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an intelligent capability-based scheme generation method and device, equipment and a medium, and the method comprises the steps: obtaining target knowledge related to a target field corresponding to a preset capability demand based on a pre-constructed target knowledge base for any preset capability demand; based on the target knowledge and a preset capability demand, automatically coding and constructing a preset processing capability meeting the preset capability demand; and based on a plurality of preset processing capabilities in the intelligent security system, determining a target processing capability and a target solution corresponding to the to-be-processed task. Complementation and fusion of related professional knowledge and specific problem processing experience are realized through the intelligent safety system, the practicability and systematicness of the target solution are enhanced, and the efficiency and accuracy of scheme generation are improved. Meanwhile, the intelligent security system can automatically generate a solution for the to-be-processed task in combination with a plurality of preset processing capabilities, so that the security coping capability is improved to a certain extent.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a solution generation method, device, equipment and medium based on intelligent capability. Background Art

[0002] With the continuous advancement of science and technology, the field of gas safety is facing increasingly complex challenges. However, in the context of existing technologies, a significant problem is that the capabilities of business personnel and technical personnel have not been well combined. Business personnel usually have rich market experience and relevant professional knowledge in the field of gas safety, but are often unable to cope with technical details and operational levels; while technical personnel are good at data analysis and problem handling, but are relatively weak in the depth of understanding of relevant professional knowledge in the field of gas safety. This split in capabilities leads to the inability to accurately identify potential risks and formulate effective response strategies in a timely manner during the monitoring and response process of gas safety, which may cause safety accidents and pose a serious threat to production safety.

[0003] Therefore, how to combine the capabilities of business personnel and technical personnel to achieve complementarity and integration of capabilities has become an urgent problem to be solved in the field of gas safety. Summary of the invention

[0004] In order to overcome the problems existing in the related art, the present invention provides a solution generation method, device, equipment and medium based on intelligent capability.

[0005] In a first aspect, the present invention provides a solution generation method based on intelligent capability, which is applied to an intelligent security system, and the method comprises:

[0006] For any preset capability requirement, based on a pre-built target knowledge base, obtain target knowledge related to the target field corresponding to the preset capability requirement;

[0007] Based on the target knowledge and the preset capability requirement, construct a preset processing capability that meets the preset capability requirement;

[0008] Based on a plurality of preset processing capabilities in the intelligent security system, a target processing capability and a target solution for solving the task to be processed are determined.

[0009] Optionally, constructing a preset processing capability that meets the preset capability requirement based on the target knowledge and the preset capability requirement includes:

[0010] Based on the target knowledge and the preset capability requirement, a thinking tree is generated, and based on each thinking path in the thinking tree, a target data source of the target data required to achieve the preset capability requirement is determined;

[0011] Based on the target data source and the mind tree, a preset code corresponding to the preset capability requirement is automatically encoded and generated; the preset code is used to describe the preset processing capability in a target language.

[0012] Optionally, the acquiring of target knowledge related to the target field corresponding to the preset capability requirement based on a pre-built target knowledge base includes:

[0013] Pre-build a target knowledge base based on domain knowledge of at least two fields;

[0014] Analyze the preset capability requirements to determine the target vertical field and target horizontal field corresponding to the preset capability requirements;

[0015] Based on the knowledge extraction model, target knowledge related to the target vertical field and the target horizontal field corresponding to the preset capability requirement is extracted from the target knowledge base.

[0016] Optionally, the determining of a target processing capability and a target solution for solving a task to be processed based on a plurality of preset processing capabilities in the intelligent security system includes:

[0017] Understand the intention of the task to be processed and determine the target processing capacity required to process the task to be processed; the target processing capacity is at least one of a plurality of preset processing capacities in the intelligent security system;

[0018] Determine a solution plan corresponding to the task to be processed based on the target processing capability, target processing steps and target thinking chain;

[0019] The target solution is generated based on the solution plan and the preset template.

[0020] Optionally, the method further comprises:

[0021] Obtaining target execution information obtained after executing the target solution;

[0022] The target knowledge base is updated based on the target execution information and the target solution.

[0023] In a second aspect, the present invention provides a solution generation device based on intelligent capability, which is applied to an intelligent security system, and the device comprises:

[0024] A first acquisition module is used to acquire target knowledge related to a target field corresponding to any preset capability requirement based on a pre-built target knowledge base;

[0025] A first construction module is used to construct a preset processing capability that meets the preset capability requirement based on the target knowledge and the preset capability requirement;

[0026] The first determination module is used to determine a target processing capacity and a target solution corresponding to a task to be processed based on a plurality of preset processing capacities in the intelligent security system.

[0027] Optionally, the first building block includes:

[0028] A first determination submodule is used to generate a thinking tree based on the target knowledge and the preset capability requirement, and to determine a target data source for the target data required to achieve the preset capability requirement based on each thinking path in the thinking tree;

[0029] The first generation module is used to automatically encode and generate a preset code corresponding to the preset capability requirement based on the target data source and the mind tree; the preset code is used to describe the preset processing capability in a target language.

[0030] Optionally, the first acquisition module includes:

[0031] A second building module is used to pre-build a target knowledge base based on domain knowledge of at least two fields;

[0032] A second determination submodule is used to analyze the preset capability requirement and determine the target vertical field and the target horizontal field corresponding to the preset capability requirement;

[0033] The first extraction module is used to extract target knowledge related to the target vertical field and the target horizontal field corresponding to the preset capability requirement from the target knowledge base based on the knowledge extraction model.

[0034] Optionally, the first determining module includes:

[0035] A third determination submodule is used to understand the intention of the task to be processed and determine the target processing capacity required to process the task to be processed; the target processing capacity is at least one of a plurality of preset processing capacities in the intelligent security system;

[0036] A fourth determination submodule is used to determine a solution plan corresponding to the task to be processed based on the target processing capability, target processing steps and target thinking chain;

[0037] The first generating submodule is used to generate the target solution based on the solution plan and the preset template.

[0038] Optionally, the device further comprises:

[0039] A second acquisition module is used to acquire target execution information obtained after executing the target solution;

[0040] A first updating module is used to update the target knowledge base based on the target execution information and the target solution.

[0041] In a third aspect, the present invention provides an electronic device comprising: a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method for generating a solution based on intelligent capability as described in any one of the first aspects above is implemented.

[0042] In a fourth aspect, the present invention provides a readable storage medium, which, when the instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to perform the steps in the solution generation method based on intelligent capabilities in any embodiment of the first aspect above.

[0043] In the embodiment of the present invention, for any preset capability requirement, based on the pre-built target knowledge base, the target knowledge related to the target field corresponding to the preset capability requirement is obtained; based on the target knowledge and the preset capability requirement, the preset processing capability that meets the preset capability requirement is automatically coded and constructed; based on multiple preset processing capabilities in the intelligent security system, the target processing capability and target solution corresponding to the task to be processed are determined. In this way, the relevant knowledge in different fields can be converted into intelligent capabilities through multiple preset processing capabilities pre-built for different preset capability requirements, so that the intelligent security system can quickly determine the target processing capability and target solution corresponding to the task to be processed based on multiple preset processing capabilities. Further, by combining the preset processing capability with the actual processing requirements of the task to be processed, a solution that can actually solve the task to be processed is directly generated, which is equivalent to realizing the complementarity and integration of relevant professional knowledge and specific problem handling experience through the intelligent security system, enhancing the practicality and systematicness of the target solution, and improving the efficiency and accuracy of solution generation. At the same time, the intelligent security system can automatically generate solutions for the task to be processed in combination with multiple preset processing capabilities, which improves the security response capability to a certain extent. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0045] Figure 1is a flowchart of a method for generating a solution based on intelligent capability provided by an embodiment of the present invention;

[0046] Figure 2 is a structural diagram of a solution generation device based on intelligent capability provided by an embodiment of the present invention;

[0047] Figure 3 It is a structural diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0048] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0049] Figure 1 The present invention provides a flowchart of a method for generating a solution based on intelligent capabilities, which is applied to an intelligent security system.

[0050] In the embodiment of the present invention, the intelligent security system can be used to generate corresponding solutions for different tasks. The intelligent security system can integrate a variety of pre-built preset processing capabilities. The intelligent security system can assemble and arrange the capabilities of the multiple preset processing capabilities to form a solution capability for actual scenarios. In addition, the intelligent security system can realize the construction of the large model intelligent body solution and function according to the scene requirements based on the setting of the large model capability and the prompt word, such as setting roles, setting skills, setting workflows, and setting knowledge bases to realize the service generation of the face application scenario. Among them, the ability assembly refers to selecting at least two preset processing capabilities according to the requirements (for example, the specific step process of the solution generated for the task), and the ability arrangement refers to the arrangement of the logical process of combining the selected at least two preset processing capabilities with the specific step process, for example, by arranging, applying at least two preset processing capabilities in specific steps, that is, which preset processing capability needs to be applied in the specific step process in the solution to achieve the execution effect of the step, for example: the content of a certain step in the solution is: recognizing the image to obtain the recognition result, indicating that the image recognition capability needs to be applied in this step, then the image recognition capability needs to be arranged to the processing step to achieve the image recognition effect. Intelligent security systems can be deployed in application software, open platforms, intelligent dialogue robots, etc.

[0051] like Figure 1 As shown, the method may include:

[0052] Step 101: For any preset capability requirement, based on a pre-built target knowledge base, obtain target knowledge related to a target field corresponding to the preset capability requirement.

[0053] In an embodiment of the present invention, the preset capability requirements may include capability requirements for different types of intelligent capabilities in different fields. For example, for the field of gas safety, the intelligent capabilities corresponding to the field may include pipeline leakage detection capability, gas monitoring capability, gas safety incident processing capability, safety situation prediction capability, warning and emergency capabilities, etc. Accordingly, the preset capability requirements may include capability requirements for intelligent capabilities such as pipeline leakage detection capability, gas monitoring capability, gas safety incident processing capability, safety situation prediction capability, warning and emergency capabilities. For any preset capability requirement, a preset processing capability for the preset capability requirement is constructed. Based on the pre-constructed target knowledge base, target knowledge related to the target field corresponding to the preset capability requirement can be obtained from the target knowledge base. Specifically, the preset capability requirement can be analyzed to determine the relevant target field involved in the preset capability requirement. Among them, in order to construct a preset processing capability for the preset capability requirement, the target field needs to include different types of subdivided fields, such as target vertical fields (professional technology and method fields directly related to the preset processing capability corresponding to the preset capability requirement) and target horizontal fields (other fields and application backgrounds related to the preset processing capability corresponding to the preset capability requirement).

[0054] Exemplarily, assuming that the preset capability requirement is a pipeline leakage detection capability requirement, the target areas corresponding to the preset capability requirement may include target vertical areas (such as pipeline leakage detection areas, pipeline engineering technology areas, sensor data monitoring areas, signal processing areas, leakage location areas, etc.) and target horizontal areas (such as station gas leakage detection areas, environmental protection areas, safety engineering areas, urban gas pipeline network monitoring areas, etc.).

[0055] After determining the target domain corresponding to the preset capability requirement, the knowledge related to the target domain is obtained from the target knowledge base as the target knowledge.

[0056] Step 102: Based on the target knowledge and the preset capability requirement, construct a preset processing capability that meets the preset capability requirement.

[0057] In an embodiment of the present invention, based on the target knowledge and the preset capability requirements, a preset processing capability that can meet the preset capability requirements is constructed by automatic coding. Specifically, on the premise that the preset capability requirements are known, the problem to be solved to meet the preset capability requirements is clarified, the problem is deeply understood and analyzed, and the key concepts and elements therein are identified. Combined with the specific knowledge content in the target knowledge, relevant information that can solve the problem is extracted, and the relevant information is integrated to obtain a solution that can solve the above problem. The solution is formed into a piece of code by automatic coding, and the code can represent the preset processing capability that can meet the preset capability requirements, that is, the preset processing capability is constructed.

[0058] It can be understood that the preset processing capabilities in the embodiments of the present invention can be constructed based on target knowledge and preset capability requirements, or can be processing capabilities obtained based on models of different functions, such as text recognition capabilities, image recognition capabilities, video encoding capabilities, voice conversion capabilities, etc. These preset processing capabilities can be called by the intelligent security system according to actual needs.

[0059] Step 103: Based on a plurality of preset processing capabilities in the intelligent security system, determine a target processing capability and a target solution for solving the task to be processed.

[0060] In an embodiment of the present invention, multiple preset processing capabilities corresponding to multiple preset capability requirements are constructed in the above-mentioned manner, and multiple preset processing capabilities are integrated into the intelligent security system. For the task to be processed, based on multiple preset processing capabilities, the target processing capability for solving the task to be processed and the target solution capable of solving the task to be processed are determined. Specifically, the intent of the task to be processed can be understood, and the target processing capability required for processing the task to be processed can be determined from multiple preset processing capabilities, and the target processing steps and target thinking chains corresponding to the task to be processed can be determined based on the thinking chain module and the execution chain module in the intelligent security system. Based on the target processing capability, the target processing steps and the target thinking chain, a target solution corresponding to the task to be processed is generated.

[0061] It will be understood that the embodiments of the present invention do not impose any restrictions on the display format of the target solution. For example, the target solution may be displayed in the form of a dynamic or static map (for example, converting the target solution into a service and publishing it, or converting the target solution into a service and then connecting it to a specific application), or in the form of text or pictures. The specific selection may be based on the settings or actual needs.

[0062] In a possible implementation, the intelligent safety system can determine the target solution corresponding to the pending task based on multiple preset processing capabilities when receiving the pending task. For example, assuming that the pending task received by the intelligent safety system is "providing an emergency treatment solution for gas leakage scenarios", the intelligent safety system can output an emergency treatment solution for gas leakage scenarios based on multiple preset processing capabilities; or multiple pending tasks can be pre-configured in the intelligent safety system, and the intelligent safety system outputs the target solution corresponding to each pending task for each pending task. For example, assuming that the pending task is the status monitoring of the target device, the intelligent safety system can output and display the device parameters collected for the target device and the status analysis results determined based on the device parameters in real time to achieve parameter monitoring of the target device. In addition, the target solution can be displayed in the form of a map, and the map can be marked with the specific location of the target device, the device parameters collected by the target device in real time, and the status analysis results obtained based on the device parameters, so that the target solution can be visually presented to the user.

[0063] In summary, in the embodiment of the present invention, for any preset capability requirement, based on the pre-built target knowledge base, the target knowledge related to the target field corresponding to the preset capability requirement is obtained; based on the target knowledge and the preset capability requirement, the preset processing capability that meets the preset capability requirement is automatically coded and constructed; based on multiple preset processing capabilities in the intelligent security system, the target processing capability and target solution corresponding to the task to be processed are determined. In this way, the relevant knowledge in different fields can be converted into intelligent capabilities through multiple preset processing capabilities pre-built for different preset capability requirements, so that the intelligent security system can quickly determine the target processing capability and target solution corresponding to the task to be processed based on multiple preset processing capabilities. Further, by combining the preset processing capability with the actual processing requirements of the task to be processed, a solution that can actually solve the task to be processed is directly generated, which is equivalent to realizing the complementarity and integration of relevant professional knowledge and specific problem handling experience through the intelligent security system, enhancing the practicality and systematicness of the target solution, and improving the efficiency and accuracy of solution generation. At the same time, the intelligent security system can automatically generate solutions for the task to be processed in combination with multiple preset processing capabilities, which improves the security response capability to a certain extent.

[0064] Optionally, step 102 may include the following steps:

[0065] Step 201: Generate a thinking tree based on the target knowledge and the preset capability requirement, and determine a target data source of the target data required to achieve the preset capability requirement based on each thinking path in the thinking tree.

[0066] Step 202: Based on the target data source and the mind tree, automatically encode and generate a preset code corresponding to the preset capability requirement; the preset code is used to describe the preset processing capability in a target language.

[0067] In an embodiment of the present invention, a preset processing capability that can meet the preset capability requirement is determined based on the preset capability requirement, the preset processing capability is used as a guide for generating a thinking tree, and based on target knowledge, a thinking path that can realize the preset processing capability is searched to determine the thinking tree.

[0068] Exemplarily, the preset capability requirements can be used as a guide in the process of generating a thinking tree. Based on the target knowledge, the problems or challenges that need to be solved to meet the preset capability requirements are defined, and these problems or challenges are closely related to the generation and application of the preset processing capabilities corresponding to the preset capability requirements. At the same time, set the problems to be solved or the effects to be achieved by generating the preset processing capabilities corresponding to the preset capability requirements. Further, the ToT (Tree of Thinking) framework is used to represent the problem-solving process as a tree. Each node represents a part of the solution to the problem, and the branches represent the operations to reach the node. The problem is decomposed into a series of coherent thinking steps, each of which is a language sequence as an intermediary for problem solving. These steps are determined based on the target knowledge and the application of the preset processing capabilities corresponding to the preset capability requirements. Generate potential thinking steps for each state of the tree structure. These steps should take into account different solutions and possible changes. Evaluate the potential value of each state as a heuristic criterion for the search algorithm. This helps determine the direction and priority of the search. Use different search algorithms (such as breadth-first search or depth-first search) to explore the thinking tree to find the optimal solution. During the search process, adjustments and optimizations can be made based on the evaluation results and search strategies to determine the thinking tree corresponding to the preset capability requirements.

[0069] Further, multimodal data alignment is performed based on the thinking tree. Multimodal data alignment refers to the process of processing data from different sources (such as images, texts, audio, video, etc.), and making these data correspond to or be associated with each other based on the thinking rules and logical relationships defined in the thinking tree. Based on each thinking path in the thinking tree, the target data source of the target data involved in each thinking path is determined, that is, the target data source of the target data required to achieve the preset capability requirements. By determining the target data source of the target data involved in each thinking path, and combining the target data source according to the decision-making process of the thinking tree, the preset code corresponding to the preset capability requirements is automatically encoded based on the code generation model. Among them, the preset code is used to describe or reflect the preset processing capability in the target language, and the target language can be a computer code language. Specifically, a preliminary multimodal alignment can be performed according to the data type, data description and business logic of the target data through the code generation model, and then the corresponding preset code is designed based on the target data source and the thinking tree through the code generation model to reflect the preset processing capability.

[0070] Exemplarily, assuming that the preset capacity requirement is the pipeline leakage detection capacity requirement, an analysis is conducted from the actual scenario, and based on the actual detection situation, it is determined that specific equipment or components need to be checked and detected (such as real-time detection through detection devices such as detection vehicles, IoT detection devices, handheld detectors, and valve manhole cover alarm detectors), and a thinking tree for pipeline leakage detection is generated. Each thinking path in the thinking tree may involve detection based on the specific data collected, and branches are designed in the thinking tree according to different situations to determine whether there is a pipeline leakage. Therefore, the target data source of the target data involved in each thinking path in the thinking tree is determined by analysis, for example, it may include a detection vehicle, an IoT detection device, a handheld detector, and a valve manhole cover alarm detector, and then based on the target data source and the thinking tree, the preset code corresponding to the preset capacity requirement is automatically encoded.

[0071] In the embodiment of the present invention, a thinking tree is generated to simulate the human cognitive process, thereby providing effective support and guidance for solving preset capability requirements and generating preset processing capabilities, and a preset code describing the preset processing capability is generated by automatic coding, which facilitates the integration of the preset processing capability into the intelligent security system and improves the versatility of the preset processing capability.

[0072] Optionally, step 101 may include the following steps:

[0073] Step 301: pre-build a target knowledge base based on domain knowledge of at least two fields.

[0074] In an embodiment of the present invention, for each field, relevant books, articles, research reports, patents, cases and other resources are collected. The collected knowledge is screened and sorted to remove duplicate, outdated or irrelevant information. Knowledge is labeled and organized using tags, classifications or keywords for subsequent retrieval and use. At the same time, for at least two fields, the association points and intersections between two or more fields are analyzed to find out the commonalities and differences between them. Knowledge from different fields is integrated and associated to form a cross-domain knowledge network. This can be achieved by establishing knowledge links, reference relationship diagrams, etc. During the integration process, the accuracy and consistency of knowledge are maintained to avoid confusion or misleading. The knowledge collected, sorted and integrated according to the above steps is used to establish a target knowledge base.

[0075] For example, when it is necessary to establish a target knowledge base related to gas safety, the target knowledge base related to gas safety can be constructed by vectorizing and structuring different types of gas safety knowledge (maintenance work orders, emergency response plans, response cases, pipeline problem summaries, testing experience, industry specifications and standards, etc.).

[0076] Step 302: Analyze the preset capability requirements to determine the target vertical field and the target horizontal field corresponding to the preset capability requirements.

[0077] In the embodiment of the present invention, for the preset capability requirement, the source, purpose, specific content, expected result and other information of the preset capability requirement are analyzed. Based on the information obtained by the analysis, the vertical field related to the preset capability requirement and the horizontal field related to the preset capability requirement are determined to obtain the target vertical field and the target horizontal field.

[0078] Step 303: Based on the knowledge extraction model, target knowledge related to the target vertical field and the target horizontal field corresponding to the preset capability requirement is extracted from the target knowledge base.

[0079] In the embodiment of the present invention, a knowledge extraction model is obtained based on pre-training. The knowledge extraction model can be obtained by iteratively training the knowledge extraction model to be trained based on knowledge content in various fields. The knowledge extraction model can be used to extract available knowledge units from various data sources, that is, in the embodiment of the present invention, the knowledge extraction model can be used to extract target knowledge related to the target vertical field and the target horizontal field from the target knowledge base. It can be understood that the training method of the knowledge extraction model can refer to the prior art, and the embodiment of the present invention does not limit this.

[0080] In an embodiment of the present invention, target knowledge related to target vertical fields and target horizontal fields corresponding to preset capability requirements is extracted from a pre-built target knowledge base based on a knowledge extraction model, so that the information expressed by the target knowledge contains broader and more extensible associations, thereby improving the richness and comprehensiveness of the target knowledge.

[0081] Optionally, step 103 may include the following steps:

[0082] Step 401: Understand the intent of the task to be processed and determine the target processing capacity required to process the task to be processed; the target processing capacity is at least one of a plurality of preset processing capacities in the intelligent security system.

[0083] In an embodiment of the present invention, the intent of the task to be processed is understood, and the task target of the task to be processed and the desired task effect are determined. Among them, the intent understanding may include semantic understanding, context understanding, understanding by expansion or retrieval, and other understanding methods, which are not limited in the embodiment of the present invention. The target processing capability may be at least one of the preset processing capabilities pre-set in the intelligent security system. Exemplarily, the intent understanding model may be used to understand the intent of the task to be processed and determine the target processing capability. The task to be processed is input into the intent understanding model. The task to be processed may be text, voice, image or other forms of data. After the intent understanding model pre-processes the task to be processed, the feature extraction of the task to be processed is performed to obtain the target feature. The target feature may be vocabulary, phrase, grammatical structure, semantic information, etc. Feature extraction can be achieved by various methods, such as word embeddings, convolutional neural networks (CNNs), recurrent neural networks (RNNs) or Transformer, etc. The intent recognition model analyzes the target processing capability required for the task to be processed based on the extracted target features.

[0084] Step 402: Determine a solution plan corresponding to the task to be processed based on the target processing capability, target processing steps, and target thinking chain.

[0085] In an embodiment of the present invention, for a task to be processed, the execution chain module in the intelligent security system can be used to determine the processing flow required to process the task to be processed, and the work processing flow when processing the task to be processed can be split to obtain multiple processing steps, namely, target processing steps. The target thinking chain corresponding to the task to be processed can be sorted out through the thinking chain module in the intelligent security system. Exemplarily, the target thinking chain corresponding to the task to be processed can be determined based on the task goal and task effect of the task to be processed as the starting point, based on reasoning, analysis, and decision-making, and ultimately leading to a thinking mode of obtaining a target solution.

[0086] Based on the determined target processing capability, target processing steps and target thinking chain, a solution plan corresponding to the task to be processed is determined. Exemplarily, the target processing steps and the target processing capability can be combined through the target thinking chain, that is, the target processing capability is designed in the corresponding processing step according to the target thinking chain, so as to obtain a complete solution plan that can achieve the task target of the task to be processed and can process the task to be processed.

[0087] Step 403: Generate the target solution based on the solution plan and the preset template.

[0088] In the embodiment of the present invention, according to the guidance of the prompt words in the preset template, the solution plan is specifically supplemented into the preset template to obtain the target solution.

[0089] In an embodiment of the present invention, the intention of the task to be processed is understood, the requirements of the task to be processed are accurately understood, the target processing capacity is determined, and then based on the target processing capacity, target processing steps and target thinking chain, the solution plan corresponding to the task to be processed is determined, and then the target solution is generated through the solution plan and preset templates, thereby ensuring the comprehensiveness and effectiveness of the solution plan while maintaining a structured and systematic way of thinking.

[0090] Optionally, the embodiment of the present invention may include the following steps:

[0091] Step 501: Acquire target execution information obtained after executing the target solution.

[0092] In an embodiment of the present invention, after the target solution is output, the target solution is actually executed and used to obtain target execution information corresponding to the execution process of the target solution. The target execution information may include execution experience summarized during the execution process, deficiencies in the execution process, execution process record information, and execution results. Based on the target execution information and the target solution, the target knowledge base is updated. Specifically, the target execution information and the target solution can be input into the target knowledge base, and the target execution information and the target solution are integrated and associated with the original knowledge information in the target knowledge base to update the target knowledge base.

[0093] Accordingly, after updating the target knowledge base, the target update knowledge related to the target field corresponding to the preset capability requirement can be obtained based on the updated target knowledge base, and then the preset processing capability corresponding to the preset capability requirement can be reconstructed based on the target update knowledge and the preset capability requirement. The updated preset processing capability is more comprehensive and in-depth than the original preset processing capability. The target solution determined based on the target processing capability including the preset processing capability is thus optimized.

[0094] In the embodiment of the present invention, by updating the target knowledge base through the target solution and the target execution information obtained based on the target solution, the precipitation of knowledge, the iteration of knowledge and the updating of capabilities can be achieved.

[0095] Figure 2 is a schematic diagram of a solution generation device based on intelligent capability provided by an embodiment of the present invention, which is applied to an intelligent security system, such as Figure 2 As shown, the device may specifically include:

[0096] The first acquisition module 601 is used to acquire target knowledge related to a target field corresponding to any preset capability requirement based on a pre-built target knowledge base;

[0097] A first construction module 602 is used to construct a preset processing capability that meets the preset capability requirement based on the target knowledge and the preset capability requirement;

[0098] The first determination module 603 is used to determine a target processing capacity and a target solution for solving a task to be processed based on a plurality of preset processing capacities in the intelligent security system.

[0099] The embodiment of the present invention provides a solution generation device based on intelligent capabilities. For any preset capability requirement, based on a pre-built target knowledge base, target knowledge related to the target field corresponding to the preset capability requirement is obtained; based on the target knowledge and the preset capability requirement, a preset processing capability that meets the preset capability requirement is automatically coded and constructed; based on multiple preset processing capabilities in the intelligent security system, the target processing capability and target solution corresponding to the task to be processed are determined. In this way, the relevant knowledge in different fields can be converted into intelligent capabilities through multiple preset processing capabilities pre-built for different preset capability requirements, so that the intelligent security system can quickly determine the target processing capability and target solution corresponding to the task to be processed based on multiple preset processing capabilities. Further, by combining the preset processing capability with the actual processing requirements of the task to be processed, a solution that can actually solve the task to be processed is directly generated, which is equivalent to realizing the complementarity and integration of relevant professional knowledge and specific problem handling experience through the intelligent security system, enhancing the practicality and systematicness of the target solution, and improving the efficiency and accuracy of solution generation. At the same time, the intelligent security system can automatically generate solutions for the task to be processed in combination with multiple preset processing capabilities, which improves the security response capability to a certain extent.

[0100] Optionally, the first building module 602 includes:

[0101] A first determination submodule is used to generate a thinking tree based on the target knowledge and the preset capability requirement, and to determine a target data source for the target data required to achieve the preset capability requirement based on each thinking path in the thinking tree;

[0102] The first generation module is used to automatically encode and generate a preset code corresponding to the preset capability requirement based on the target data source and the mind tree; the preset code is used to describe the preset processing capability in a target language.

[0103] Optionally, the first acquisition module 601 includes:

[0104] A second building module is used to pre-build a target knowledge base based on domain knowledge of at least two fields;

[0105] A second determination submodule is used to analyze the preset capability requirement and determine the target vertical field and the target horizontal field corresponding to the preset capability requirement;

[0106] The first extraction module is used to extract target knowledge related to the target vertical field and the target horizontal field corresponding to the preset capability requirement from the target knowledge base based on the knowledge extraction model.

[0107] Optionally, the first determining module 603 includes:

[0108] A third determination submodule is used to understand the intention of the task to be processed and determine the target processing capacity required to process the task to be processed; the target processing capacity is at least one of a plurality of preset processing capacities in the intelligent security system;

[0109] A fourth determination submodule is used to determine a solution plan corresponding to the task to be processed based on the target processing capability, target processing steps and target thinking chain;

[0110] The first generating submodule is used to generate the target solution based on the solution plan and the preset template.

[0111] Optionally, the device further comprises:

[0112] A second acquisition module is used to acquire target execution information obtained after executing the target solution;

[0113] A first updating module is used to update the target knowledge base based on the target execution information and the target solution.

[0114] The present invention also provides an electronic device, see Figure 3, including: a processor 701, a memory 702, and a computer program 7021 stored in the memory and executable on the processor, wherein when the processor executes the program, the solution generation method based on intelligent capability of the aforementioned embodiment is implemented.

[0115] The present invention also provides a readable storage medium, when the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the solution generation method based on intelligent capability of the aforementioned embodiment.

[0116] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0117] The algorithm and display provided herein are not inherently related to any particular computer, virtual system or other device. Various general purpose systems can also be used together with the teachings based on this. According to the above description, it is obvious that the structure required for constructing such systems. In addition, the present invention is not directed to any specific programming language either. It should be understood that various programming languages ​​can be utilized to realize the content of the present invention described herein, and the description of the above specific languages ​​is for disclosing the best mode of the present invention.

[0118] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.

[0119] Similarly, it should be understood that in order to streamline the present invention and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, the various features of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, this disclosed method should not be interpreted as reflecting the following intention: that the claimed invention requires more features than the features explicitly recited in each claim. More specifically, as reflected in the claims below, inventive aspects lie in less than all the features of the individual embodiments disclosed above. Therefore, the claims that follow the specific embodiment are hereby expressly incorporated into the specific embodiment, with each claim itself serving as a separate embodiment of the present invention.

[0120] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and in addition they may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.

[0121] The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It should be understood by those skilled in the art that a microprocessor or digital signal processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components in the sorting device according to the present invention. The present invention may also be implemented as a device or apparatus program for executing part or all of the methods described herein. Such a program for implementing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.

[0122] It should be noted that the above embodiments illustrate the present invention rather than limit it, and that those skilled in the art may devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be construed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present invention may be implemented by means of hardware comprising a number of different elements and by means of a suitably programmed computer. In a unit claim enumerating a number of devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc., does not indicate any order. These words may be interpreted as names.

[0123] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0124] It should be noted that all actions of acquiring signals, information or data in this application are carried out in compliance with the relevant data protection laws and policies of the country where they are located and with the authorization given by the owner of the corresponding device.

[0125] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

[0126] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A solution generation method based on intelligent capability, applied to an intelligent security system, the method comprising: For any preset capability requirement, based on a pre-built target knowledge base, obtain target knowledge related to the target field corresponding to the preset capability requirement; Based on the target knowledge and the preset capability requirement, construct a preset processing capability that meets the preset capability requirement; Based on a plurality of preset processing capabilities in the intelligent security system, a target processing capability and a target solution for solving the task to be processed are determined.

2. The method according to claim 1, characterized in that The step of constructing a preset processing capability that meets the preset capability requirement based on the target knowledge and the preset capability requirement includes: Based on the target knowledge and the preset capability requirement, a thinking tree is generated, and based on each thinking path in the thinking tree, a target data source of the target data required to achieve the preset capability requirement is determined; Based on the target data source and the mind tree, a preset code corresponding to the preset capability requirement is automatically encoded and generated; the preset code is used to describe the preset processing capability in a target language.

3. The method according to claim 1, characterized in that The step of acquiring target knowledge related to the target field corresponding to the preset capability requirement based on the pre-built target knowledge base includes: Pre-build a target knowledge base based on domain knowledge of at least two fields; Analyze the preset capability requirements to determine the target vertical field and target horizontal field corresponding to the preset capability requirements; Based on the knowledge extraction model, target knowledge related to the target vertical field and the target horizontal field corresponding to the preset capability requirement is extracted from the target knowledge base.

4. The method according to claim 1, characterized in that The determining of a target processing capability and a target solution for solving a task to be processed based on a plurality of preset processing capabilities in the intelligent security system includes: Understand the intention of the task to be processed and determine the target processing capacity required to process the task to be processed; the target processing capacity is at least one of a plurality of preset processing capacities in the intelligent security system; Determine a solution plan corresponding to the task to be processed based on the target processing capability, target processing steps and target thinking chain; The target solution is generated based on the solution plan and the preset template.

5. The method according to claim 1, characterized in that The method further comprises: Obtaining target execution information obtained after executing the target solution; The target knowledge base is updated based on the target execution information and the target solution.

6. A solution generation device based on intelligent capability, applied to an intelligent security system, the device comprising: A first acquisition module is used to acquire target knowledge related to a target field corresponding to any preset capability requirement based on a pre-built target knowledge base; A first construction module is used to construct a preset processing capability that meets the preset capability requirement based on the target knowledge and the preset capability requirement; The first determination module is used to determine a target processing capacity and a target solution corresponding to a task to be processed based on a plurality of preset processing capacities in the intelligent security system.

7. The device according to claim 6, characterized in that The first building block comprises: A first determination submodule is used to generate a thinking tree based on the target knowledge and the preset capability requirement, and to determine a target data source for the target data required to achieve the preset capability requirement based on each thinking path in the thinking tree; The first generation module is used to automatically encode and generate a preset code corresponding to the preset capability requirement based on the target data source and the mind tree; the preset code is used to describe the preset processing capability in a target language.

8. The device according to claim 6, characterized in that The first acquisition module includes: A second building module is used to pre-build a target knowledge base based on domain knowledge of at least two fields; A second determination submodule is used to analyze the preset capability requirement and determine the target vertical field and the target horizontal field corresponding to the preset capability requirement; The first extraction module is used to extract target knowledge related to the target vertical field and the target horizontal field corresponding to the preset capability requirement from the target knowledge base based on the knowledge extraction model.

9. An electronic device, characterized in that: include: A processor, a memory, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method for generating a solution based on intelligent capability as claimed in any one of claims 1 to 5 is implemented.

10. A readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the solution generation method based on intelligent capability as described in any one of claims 1-5.