Intelligent electric power inspection method and device based on MCP technology, electronic equipment and medium
Through the intelligent power inspection method based on MCP technology, the model is used to process instruction information and call the data processing server, which solves the problems of intelligent processing and multimodal data analysis of the UAV power inspection system in complex environments, and realizes efficient power inspection operations and accurate inspection results.
Patent Information
- Application Number
- CN202511024043.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-24
- Publication Date
- 2025-09-26
AI Technical Summary
The existing UAV power inspection system lacks human-computer interaction and intelligent processing capabilities in complex environments, resulting in high operational complexity and difficulty in achieving comprehensive analysis of multimodal data.
An intelligent power inspection method based on MCP technology is adopted. The first model is used to process instruction information and convert it into text information. The second model is used to call the data processing server to achieve fast and accurate matching and analysis of the data processing server, supporting comprehensive analysis of multimodal data.
It improves the intelligent interaction capability of the UAV power inspection system, reduces the operation complexity, realizes the precise analysis of multimodal data and the accurate acquisition of inspection results, and improves the availability of the system.
Smart Images

Figure CN120708308A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power inspection, and in particular to an intelligent power inspection method, device, electronic equipment and medium based on MCP technology. Background Art
[0002] With the rapid development of computer vision and related fields such as drones, power inspection has also developed rapidly. Currently, drones are used for power inspection, which has reduced the workload of manual inspections to a certain extent. However, the drone inspection systems currently used in related technologies are not intelligent enough and have certain limitations in terms of human-computer interaction and intelligent processing capabilities in complex environments. Summary of the Invention
[0003] The present invention provides an intelligent power inspection method, device, electronic equipment and medium based on MCP technology to improve intelligent interaction capabilities and realize comprehensive analysis of multimodal data.
[0004] According to one aspect of the present invention, a smart power inspection method based on MCP technology is provided, which is applied to a smart power inspection platform. The smart power inspection platform is configured with a first model and a second model. The first model is used to process instruction information input into the first model; the second model is used to call a data processing server based on the output content of the first model. The method includes:
[0005] In response to first instruction information sent by the target object, processing the first instruction information based on the first large model to obtain first information corresponding to the first instruction information; the first information is used to indicate a power inspection task;
[0006] Based on the second model and the first information, matching the first data processing server corresponding to each of the power inspection tasks;
[0007] The first data is analyzed and processed based on the first data processing server to obtain an inspection result; the first data is the inspection data obtained by the drone when executing the power inspection task corresponding to the first data processing server.
[0008] According to another aspect of the present invention, there is provided an intelligent power inspection device based on MCP technology, which is applied to an intelligent power inspection platform. The intelligent power inspection platform is configured with a first model and a second model. The first model is used to process instruction information input into the first model; the second model is used to call a data processing server based on the output content of the first model. The device includes:
[0009] a first data processing module, configured to respond to first instruction information sent by a target object, process the first instruction information based on the first large model, and obtain first information corresponding to the first instruction information; the first information is used to indicate a power inspection task;
[0010] a matching module, configured to match a first data processing server corresponding to each of the power inspection tasks based on the second model and the first information;
[0011] The second data processing module is used to analyze and process the first data based on the first data processing server to obtain inspection results; the first data is the inspection data obtained by the drone performing the power inspection task corresponding to the first data processing server.
[0012] According to another aspect of the present invention, an electronic device is provided, comprising:
[0013] at least one processor; and
[0014] a memory communicatively connected to the at least one processor; wherein,
[0015] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the intelligent power inspection method based on MCP technology described in any embodiment of the present invention.
[0016] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the intelligent power inspection method based on MCP technology described in any embodiment of the present invention when executed.
[0017] The intelligent power inspection method based on MCP technology of the technical solution of the embodiment of the present invention is applied to the intelligent power inspection platform. The intelligent power inspection platform is configured with a first model and a second model. In response to the first instruction information sent by the target object, the first instruction information is processed based on the first large model to obtain the first information for the first instruction information, and the first instruction information is converted into the first information indicating the power inspection task, that is, the first instruction information is accurately understood. Further, based on the second model and the first information, the first data processing server corresponding to each power inspection task is matched to achieve fast and accurate calling of the data processing server, improve the intelligent interaction capability, and thus accurately analyze the inspection data obtained by the first data processing server when the drone executes the power inspection task corresponding to the first data processing server, obtain the inspection results for the power inspection task, and achieve comprehensive analysis of multimodal data.
[0018] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present invention, nor is it intended to limit the scope of the present invention. Other features of the present invention will become readily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0020] Figure 1 This is a flow chart of an intelligent power inspection method based on MCP technology provided according to an embodiment of the present invention;
[0021] Figure 2 is a schematic diagram of intelligent interaction of an intelligent power inspection platform applicable to an embodiment of the present invention;
[0022] Figure 3 2 is a schematic structural diagram of an intelligent power inspection device based on MCP technology provided according to an embodiment of the present invention;
[0023] Figure 4 3 is a structural diagram of an electronic device for implementing the intelligent power inspection method based on MCP technology according to an embodiment of the present invention. DETAILED DESCRIPTION
[0024] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described are only 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 making creative efforts should fall within the scope of protection of the present invention.
[0025] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or are inherent to these processes, methods, products or devices.
[0026] Example 1
[0027] Figure 1 A flowchart of an intelligent power inspection method based on MCP technology is provided in an embodiment of the present invention. This embodiment is applicable to situations where drones perform power inspections. The method can be performed by an intelligent power inspection device based on MCP technology. The intelligent power inspection device based on MCP technology can be implemented in the form of hardware and / or software. The intelligent power inspection device based on MCP technology can be configured in any electronic device with network communication capabilities.
[0028] The intelligent power inspection method based on MCP technology of the present invention is applied to an intelligent power inspection platform. The intelligent power inspection platform is configured with a first model and a second model. The first model is used to process the instruction information input to the first model; the second model is used to call a data processing server based on the output content of the first model; Figure 1 As shown, the intelligent power inspection method based on MCP technology of the present invention includes:
[0029] S110. In response to the first instruction information sent by the target object, the first instruction information is processed based on the first large model to obtain first information for the first instruction information; the first information is used to indicate the power inspection task.
[0030] The first instruction information may be a voice message, a gesture message, or a text message. The target object may be the person operating the drone for inspection, such as a drone operator. The first instruction information may include at least one of an instruction for inspecting the entire inspection object, an instruction for inspecting different areas of the inspection object, an instruction for adjusting the inspection route, and information about anomalies. The first information is text.
[0031] Specifically, the first model can analyze and process the first instruction information to determine the inspection intention indicated by the target object, thereby converting the core content of the inspection intention indicated by the target object into text content and outputting the first information for the first instruction information.
[0032] In an embodiment of the present invention, optionally, the first instruction information is a voice message. In response to the first instruction information sent by the target object, the first instruction information is processed based on the first large model to obtain first information corresponding to the first instruction information, including: in response to the voice information sent by the target object, analyzing the first inspection strategy of the voice information based on the first large model, and determining the first information corresponding to the voice information based on the first inspection strategy; the first inspection strategy is used to describe the inspection intention of the target object indicated in the voice information. The present invention enables the target object to operate the intelligent power inspection platform without professional knowledge, that is, to conduct human-computer interaction by sending voice messages, greatly reducing the complexity of drone inspection operations and improving the availability of the system.
[0033] In the embodiment of the present invention, optionally, before responding to the first instruction information sent by the target object, the method further includes steps A1-A3:
[0034] Step A1. In response to the second instruction information sent by the target object, the second instruction information is processed based on the first large model to obtain second information for the second instruction information; the second instruction information is used to describe the prompt information for path planning for the UAV before the UAV performs various power inspection tasks; the second information is the information after the preset information is extracted based on the second instruction information.
[0035] The preset information may be core vocabulary related to path planning.
[0036] Specifically, the first model analyzes the core content of the second instruction information, further extracts information related to the core content of the second instruction information, and obtains the second information for the second instruction information.
[0037] Step A2: Determine a second data processing server for executing route planning based on the second model and the second information.
[0038] Specifically, the second information may indicate that the target object intends to perform path planning, and the second model can be matched to a second data processing server for path planning based on the second information, so that the second data processing server can be used for path planning later.
[0039] Step A3: Analyze and process the second data based on the second data processing server to obtain inspection route information.
[0040] The second data is various types of information collected during a historical period before the drone performed the multiple inspection missions, which can be used to plan the target areas corresponding to the multiple inspection missions. For example, the second data can include various environmental information within the target area, information about the inspection objects, and other information related to the planned route. For example, if the inspection is performed on multiple towers in the target area, the second data can include line point cloud data, tower locations, and tree obstacle information collected during the historical period. The inspection route information can include the inspection route of the drone during the mission inspection.
[0041] In an embodiment of the present invention, before a UAV performs a mission inspection, in response to the second instruction information sent by the target object, the second instruction information used to describe the path planning for the UAV before the UAV performs each power inspection task is processed based on the first large model to obtain second information for the second instruction information; an accurate and rapid analysis of the intention of the target object is achieved, and further based on the second model and the second information, a second data processing server for executing route planning is determined, so that the second data processing server for executing route planning can be accurately called without the need for complex technical operations, which greatly reduces the complexity of operation; finally, the second data is analyzed and processed based on the second data processing server to obtain inspection route information, so that human-computer interaction is achieved through voice dialogue, and staff can operate the system without professional IT knowledge, which greatly improves the system availability.
[0042] S120. Based on the second model and the first information, match the first data processing server corresponding to each power inspection task.
[0043] Specifically, the first information is used to indicate the power inspection task, the first model is used to process the instruction information input into the preset large model, and obtain the text information representing each power inspection task in the instruction information, and the second model contains the matching relationship between the text information representing each power inspection task in the instruction information and the data processing server. After determining the first information, the first information is input into the second model, and the second model determines the text information of each power inspection task represented in the first information, thereby determining the first data processing server corresponding to each power inspection task based on the matching relationship.
[0044] Optionally, the second model can be used to call the data processing server using MCP technology; SSE communication and / or standard I / O communication are supported between the second model and the data processing server; and each data processing server adapts to the Function Calling interface of the second model.
[0045] Among them, MCP (Model Context Protocol) aims to standardize the interaction between large language models and external data sources and tools. The MCP technology of the present invention is the interaction between the second model and the data processing server. SSE (Server-Sent Events) can be a technology based on HTTP that pushes real-time data from the server to the client in a one-way manner. The present invention is that the server of the second model initiates data push to the data processing server. The Function Calling interface is a function calling interface, which can be understood as a bridge for interaction between each data processing server and the second model.
[0046] Optionally, matching the first data processing servers corresponding to each power inspection task based on the second model and the first information includes: analyzing and processing the first information based on the MCP technology in the second model to obtain server matching information; matching the server matching information to at least one first data processing server corresponding to the power inspection task indicated by the first information; and matching the first data processing server based on the server matching information. The technical solution of the present invention, by translating user needs into specific data processing servers to execute inspection tasks, reduces reliance on professionals, reduces the complexity of drone inspection operations, and effectively improves inspection operation efficiency by enhancing intelligent interaction capabilities.
[0047] S130. Analyze and process the first data based on the first data processing server to obtain an inspection result; the first data is the inspection data obtained by the drone performing the power inspection task corresponding to the first data processing server.
[0048] Among them, the first data can be understood as the data collected in real time by the drone during the inspection mission, and for the first data processing server, the first data is the data collected in real time by the drone that can be processed by the first data processing server.
[0049] Optionally, after the first data is analyzed and processed by the first data processing server to obtain the inspection results, the method further includes: returning the inspection results to the target display interface so that the target object can send instruction information based on the inspection results. Specifically, the inspection results are returned to the target display interface, and the target object can view the inspection results and issue instruction information for repeated inspections and processing and analysis of suspected abnormalities in the inspection results, thereby achieving accurate processing of abnormal situations. For example, based on the inspection results, instruction information for repeated inspections of key areas or instruction information for focusing on analyzing abnormal situations in a certain area is proposed and uploaded to the smart power inspection platform. The first model of the smart power inspection platform processes the instruction information for the inspection results to obtain text information of the instruction information for the inspection results. Furthermore, based on the second model and the text information of the instruction information for the inspection results, the fourth data processing server corresponding to the text information of the instruction information for the inspection results is matched; the fourth data processing server analyzes and processes the third data to obtain an abnormality detection result; the third data is the inspection data that may contain abnormalities in the inspection results.
[0050] In addition, the first model and the second model can jointly construct a data processing model to complete the intelligent power inspection method of the present invention, that is, the two processes of the first model and the second model are respectively completed within the data processing model, specifically: in response to the first instruction information sent by the target object, the first instruction information is processed based on the first model in the data processing model to obtain the first information for the first instruction information; the first information is used to indicate the power inspection task; then, based on the second model and the first information in the data processing model, the first data processing server corresponding to each power inspection task is matched; finally, the first data is analyzed and processed based on the first data processing server to obtain the inspection result; the first data is the inspection data obtained by the drone when executing the power inspection task corresponding to the first data processing server.
[0051] The intelligent power inspection method based on MCP technology of the technical solution of the embodiment of the present invention is applied to the intelligent power inspection platform. The intelligent power inspection platform is configured with a first model and a second model. In response to the first instruction information sent by the target object, the first instruction information is processed based on the first large model to obtain the first information for the first instruction information, and the first instruction information is converted into the first information indicating the power inspection task, that is, the first instruction information is accurately understood. Further, based on the second model and the first information, the first data processing server corresponding to each power inspection task is matched to achieve fast and accurate calling of the data processing server, improve the intelligent interaction capability, and thus accurately analyze the inspection data obtained by the first data processing server when the drone executes the power inspection task corresponding to the first data processing server, obtain the inspection results for the power inspection task, and achieve comprehensive analysis of multimodal data.
[0052] Example 2
[0053] Figure 2 Schematic diagram of intelligent interaction of an intelligent power inspection platform applicable to an embodiment of the present invention. The technical solution of this embodiment illustrates an intelligent power inspection method based on MCP technology based on the above embodiment, specifically including the following process:
[0054] Taking the drone intelligent inspection task of the transmission lines in the target area as an example, the drone intelligent inspection task includes the mission preparation stage, route planning stage, data processing stage, route optimization stage, exception handling stage and report generation stage.
[0055] Step 1: Task preparation phase:
[0056] The target user sends a second instruction message through the voice dialogue system: "A drone inspection of the power transmission lines in the target area is required. Please plan the inspection route." The first model converts the second instruction message into text information, which is the second message for the second instruction message.
[0057] Based on the second model and the second information, a second data processing server for executing route planning is determined. The second data processing server may include a server for a wire extraction service, a server for a tower extraction service, a server for a line route planning service, and other services.
[0058] Step 2: Route planning stage
[0059] The intelligent power inspection platform invokes the Conductor Extraction service to process historically collected line point cloud data and obtain primary analysis data. The system then invokes the Pole Extraction service to identify the locations of all towers along the lines in the target area, obtaining secondary analysis data. The intelligent power inspection platform invokes the Tree Barrier Analysis service to analyze the tree barriers surrounding the lines and obtain tertiary analysis data.
[0060] The intelligent power inspection platform calls the line simulation route planning server to generate a target route for the transmission line in the target area based on the first analysis data, the second analysis data, and the third analysis data, and sends the target route to the drone so that the drone can perform the intelligent inspection task of the transmission line in the target area.
[0061] Step 3: Data processing stage
[0062] The drone performs inspections along the target route, collects image data, and uploads the image data in real time to a target display interface visible to the target object; during the inspection process, the target object can send a first instruction message to the intelligent power inspection platform, analyze the first inspection strategy of the voice information based on the first large model, and determine the first information corresponding to the voice information based on the first inspection strategy; the first inspection strategy is used to describe the inspection intention of the target object indicated in the voice information.
[0063] Furthermore, based on the second model and the first information, the first data processing server corresponding to each power inspection task is matched; the first data is analyzed and processed based on the first data processing server to obtain the inspection results; the first data is the inspection data obtained by the drone executing the power inspection task corresponding to the first data processing server.
[0064] For example, a first image captured by a drone is obtained, and the first command information is a voice message uttered by a target object, with the content of the voice message being: What is the device on the tower in the first image? The first information corresponding to the voice message is further obtained through the first model to determine the device on the tower in the first image. The first data processing server that matches the second model with the first information is a power transmission detection server. The intelligent power inspection platform invokes the power transmission detection service, analyzes the first image, identifies the device type, and obtains an inspection result indicating that the device is a lightning arrester and is in normal condition.
[0065] Step 4: Route Optimization Phase
[0066] During the real-time inspection process, the target object can send the first instruction information for optimizing the target route, obtain the first information of the first instruction information through the first model, and then match the server of the route refinement service end through the second model and the first information.
[0067] The intelligent power inspection platform system calls on the route refinement service to optimize the inspection route based on the inspection results collected during this inspection process.
[0068] Step 5: Exception handling phase
[0069] During the real-time inspection process, the inspection results are returned to the target display interface. The target object can send reference voice information of the inspection results displayed on the target display interface to the intelligent power inspection platform, analyze the second inspection strategy of the reference voice information based on the first large model, and determine the third information corresponding to the reference voice information based on the first inspection strategy; the second inspection strategy is used to describe the abnormal detection intention of the target object indicated in the reference voice information.
[0070] Furthermore, based on the second model and the third information, a third data processing server corresponding to each power inspection task is matched; the third data is analyzed and processed by the third data processing server to obtain an anomaly detection result; the third data is abnormal inspection data obtained by the drone performing the power inspection task corresponding to the third data processing server. For example, the third data can be abnormal data in the inspection result.
[0071] In this example, an inspection result is obtained. The reference voice information is a voice message sent by the target object for anomaly detection, and the content of the reference voice information is: Is there an abnormality in a certain area of the image? The third information corresponding to the reference voice information is further obtained through the first model, which determines whether a certain area in the image has an abnormality. The third data processing server matched by the second model and the third information is a power distribution detection server. The intelligent power inspection platform calls the power distribution detection service, analyzes whether a certain area in the image corresponding to the inspection result has an abnormality, and returns an abnormality detection result of "Contamination detected on the insulator surface, cleaning recommended." The abnormal point is marked in a certain area in the image corresponding to the inspection result.
[0072] Step 6: Report generation phase
[0073] After the drone completes the entire inspection, the intelligent power inspection platform can integrate all detection results and generate an inspection report containing the location, type and treatment suggestions of the abnormal points.
[0074] The drone inspection is considered complete when it completes inspections of all areas, or in response to a third command message. The third command message is a message sent by the target object indicating the inspection is complete. For example, the target object may use a voice command such as "Generate this inspection report and send it to the operations department."
[0075] The technical solution of the embodiment of the present invention is based on the modular design of MCP technology, which can flexibly deploy various data processing servers, so that the intelligent power inspection platform can be flexibly and accurately connected with various data processing servers by adopting MCP technology. The present invention uses a large language model as the decision-making core, which can understand natural language instructions and automatically select the appropriate tool combination, greatly reducing the complexity of operation. At the same time, the present invention supports the processing of image data (transmission / distribution detection) and 3D point cloud data (conductor / tower extraction), realizing the comprehensive analysis of multimodal data. In addition, human-computer interaction is achieved through voice dialogue, and staff can operate the system without professional IT knowledge, which greatly improves the system availability.
[0076] Example 3
[0077] Figure 3 The present invention provides a structural diagram of an intelligent power inspection device based on MCP technology. This embodiment is applicable to situations where drones conduct power inspections. The intelligent power inspection device based on MCP technology can be implemented in the form of hardware and / or software. The intelligent power inspection device based on MCP technology can be configured in any electronic device with network communication capabilities. The intelligent power inspection device based on MCP technology of the present invention is applied to an intelligent power inspection platform. The intelligent power inspection platform is configured with a first model and a second model. The first model is used to process instruction information input into the first model; the second model is used to call a data processing server based on the output content of the first model; Figure 3 As shown, the intelligent power inspection device based on MCP technology of the present invention includes:
[0078] A first data processing module 210 is configured to process the first instruction information sent by the target object based on the first large model to obtain first information corresponding to the first instruction information; the first information is used to indicate a power inspection task;
[0079] A matching module 220, configured to match a first data processing server corresponding to each of the power inspection tasks based on the second model and the first information;
[0080] The second data processing module 230 is used to analyze and process the first data based on the first data processing server to obtain inspection results; the first data is the inspection data obtained by the drone performing the power inspection task corresponding to the first data processing server.
[0081] Based on the above embodiment, optionally, the second model is used to call the data processing server using MCP technology; SSE communication and / or standard I / O communication are supported between the second model and the data processing server; and each data processing server adapts to the Function Calling interface of the second model.
[0082] Based on the above embodiment, optionally, matching the first data processing server corresponding to each power inspection task based on the second model and the first information includes:
[0083] Analyzing and processing the first information based on the MCP technology in the second model to obtain server matching information; the server matching information is at least one first data processing server that matches the power inspection task indicated by the first information;
[0084] A first data processing server is matched based on the server matching information.
[0085] Based on the above embodiment, optionally, the first instruction information is voice information, and in response to the first instruction information sent by the target object, the first instruction information is processed based on the first large model to obtain first information corresponding to the first instruction information, including:
[0086] In response to the voice information sent by the target object, a first inspection strategy of the voice information is analyzed based on the first large model, and the first information corresponding to the voice information is determined based on the first inspection strategy; the first inspection strategy is used to describe the inspection intention of the target object indicated in the voice information.
[0087] Based on the above embodiment, optionally, after the first data processing server analyzes and processes the first data to obtain an inspection result, the method further includes:
[0088] The inspection result is returned to the target display interface, so that the target object sends instruction information according to the inspection result.
[0089] Based on the above embodiment, optionally, the first instruction information includes at least one of instruction information for inspecting the entire inspection object, instruction information for inspecting different areas of the inspection object, instruction information for adjusting the inspection route, and abnormal point information.
[0090] Based on the above embodiment, optionally, before responding to the first instruction information sent by the target object, the method further includes:
[0091] In response to the second instruction information sent by the target object, the second instruction information is processed based on the first large model to obtain second information corresponding to the second instruction information; the second instruction information is used to describe prompt information for planning a path for the drone before the drone performs each power inspection task; the second information is information obtained by extracting preset information based on the second instruction information;
[0092] determining a second data processing server for executing route planning based on the second model and the second information;
[0093] The second data processing server analyzes and processes the second data to obtain inspection route information.
[0094] The intelligent power inspection device based on MCP technology provided in the embodiment of the present invention can execute the intelligent power inspection method based on MCP technology provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0095] Example 4
[0096] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium, and a computer program product.
[0097] Figure 4 The following is a schematic diagram of the structure of an electronic device that can be used to implement the intelligent power inspection method based on MCP technology according to an embodiment of the present invention. 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 processing, cellular phones, smart phones, 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 examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0098] like Figure 4As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., which is communicatively connected to the at least one processor 11. The memory stores a computer program that can be executed by the at least one processor. The processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 into the random access memory (RAM) 13. Various programs and data required for the operation of the electronic device 10 can also be stored in the RAM 13. The processor 11, ROM 12, and RAM 13 are connected to each other via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0099] Multiple components in the electronic device 10 are connected to the I / O interface 15, including an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.
[0100] The processor 11 can be any general-purpose and / or specialized processing component with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any other suitable processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the intelligent power inspection method based on MCP technology.
[0101] In some embodiments, the intelligent power inspection method based on MCP technology can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the intelligent power inspection method based on MCP technology described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to execute the intelligent power inspection method based on MCP technology in any other appropriate manner (for example, by means of firmware).
[0102] Various embodiments of the systems and techniques described 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), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0103] Computer programs for implementing 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 the computer program is executed by the processor, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The computer program may be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.
[0104] In the context of the present invention, computer-readable storage media can be tangible media that can contain or store a computer program for use with an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. Computer-readable storage media can include but are not limited to electronic, magnetic, optical, electromagnetic, infrared or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, computer-readable storage media can be machine-readable signal media. More specific examples of machine-readable storage media can include electrical connections based on one or more lines, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0105] 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 can provide input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0106] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0107] A computing system may include clients and servers. The clients and servers are typically remote from each other and typically interact via a communication network. This client-server relationship arises through computer programs running on the respective computers, creating a client-server relationship. The server may be a cloud server, also known as a cloud computing server or cloud host. This server is a hosting product within the cloud computing service ecosystem that addresses the management difficulties and limited scalability of traditional physical hosting and VPS services.
[0108] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in the present invention can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved. This is not limited herein.
[0109] The above specific embodiments do not limit the scope of protection of the present invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may be made based on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention are intended to be included within the scope of protection of the present invention.
Claims
1. An intelligent power inspection method based on MCP technology, characterized in that: Applied to an intelligent power inspection platform, the intelligent power inspection platform is configured with a first model and a second model, the first model is used to process instruction information input into the first model; The second model is used to call a data processing server based on output content of the first model; the method includes: In response to first instruction information sent by the target object, processing the first instruction information based on the first large model to obtain first information corresponding to the first instruction information; the first information is used to indicate a power inspection task; Based on the second model and the first information, matching the first data processing server corresponding to each of the power inspection tasks; The first data is analyzed and processed based on the first data processing server to obtain an inspection result; the first data is the inspection data obtained by the drone when executing the power inspection task corresponding to the first data processing server.
2. The method according to claim 1, characterized in that The second model is used to call the data processing server using MCP technology; SSE communication and / or standard I / O communication are supported between the second model and the data processing server; each data processing server adapts to the Function Calling interface of the second model.
3. The method according to claim 2, characterized in that Matching the first data processing servers corresponding to the respective power inspection tasks based on the second model and the first information includes: Analyzing and processing the first information based on the MCP technology in the second model to obtain server matching information; the server matching information is at least one first data processing server that matches the power inspection task indicated by the first information; A first data processing server is matched based on the server matching information.
4. The method according to any one of claims 1 to 3, characterized in that The first instruction information is voice information. In response to the first instruction information sent by the target object, the first instruction information is processed based on the first large model to obtain first information corresponding to the first instruction information, including: In response to the voice information sent by the target object, a first inspection strategy of the voice information is analyzed based on the first large model, and the first information corresponding to the voice information is determined based on the first inspection strategy; the first inspection strategy is used to describe the inspection intention of the target object indicated in the voice information.
5. The method according to any one of claims 1 to 3, characterized in that: After the first data processing server analyzes and processes the first data to obtain an inspection result, the method further includes: The inspection result is returned to the target display interface, so that the target object sends instruction information according to the inspection result.
6. The method according to any one of claims 1 to 3, characterized in that: The first instruction information includes at least one of instruction information for inspecting the entire inspection object, instruction information for inspecting different areas of the inspection object, instruction information for adjusting the inspection route, and abnormal point information.
7. The method according to any one of claims 1 to 3, characterized in that: Before responding to the first instruction information sent by the target object, the method further includes: In response to the second instruction information sent by the target object, the second instruction information is processed based on the first large model to obtain second information corresponding to the second instruction information; the second instruction information is used to describe prompt information for planning a path for the drone before the drone performs each power inspection task; the second information is information obtained by extracting preset information based on the second instruction information; determining a second data processing server for executing route planning based on the second model and the second information; The second data processing server analyzes and processes the second data to obtain inspection route information.
8. An intelligent power inspection device based on MCP technology, characterized in that: Applied to an intelligent power inspection platform, the intelligent power inspection platform is configured with a first model and a second model, the first model is used to process instruction information input into the first model; The second model is used to call a data processing server based on the output content of the first model; the device includes: a first data processing module, configured to respond to first instruction information sent by a target object, process the first instruction information based on the first large model, and obtain first information corresponding to the first instruction information; the first information is used to indicate a power inspection task; a matching module, configured to match a first data processing server corresponding to each of the power inspection tasks based on the second model and the first information; The second data processing module is used to analyze and process the first data based on the first data processing server to obtain inspection results; the first data is the inspection data obtained by the drone performing the power inspection task corresponding to the first data processing server.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor. The computer program is executed by the at least one processor to enable the at least one processor to execute the intelligent power inspection method based on MCP technology according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the intelligent power inspection method based on MCP technology according to any one of claims 1 to 7 when executed.