IoT perception data analysis method, system, IoT platform and storage medium

Through large language models, statement analysis and data extraction are performed, and IoT-aware data are automatically processed, which solves the problems of high cost and low efficiency caused by relying on manual analysis in the existing technology, and realizes accurate and in-depth analysis and efficient analysis of data.

CN118689968BActive Publication Date: 2024-11-26E SURFING IOT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411166292.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-23
Publication Date
2024-11-26
Estimated Expiration
2044-08-23

AI Technical Summary

Technical Problem

The existing IoT perceptual data analysis methods rely on a large number of professionals to perform processing and analysis, resulting in high personnel and time costs, making it difficult to effectively process massive complex and diverse IoT perceptual data.

Method used

A large language model is used to perform statement analysis, generate statement analysis results, determine the target data source, construct prompt words to extract target data, perform preprocessing and data analysis, generate visual charts and reports, and realize automated data analysis.

Benefits of technology

Without relying on the professional and technical capabilities of operators, the analysis efficiency of IoT perceived data is improved and accurate and in-depth analysis of data is achieved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118689968B_ABST
    Figure CN118689968B_ABST
Patent Text Reader

Abstract

The present application relates to an IoT perception data analysis method, system, IoT platform and storage medium, wherein the method includes: obtaining data analysis problems corresponding to business needs, and performing sentence analysis on the data analysis problems through a large language model to generate sentence analysis results; determining the target data source according to the sentence analysis results, and constructing prompt words, extracting target data from the target data source according to the prompt words, and obtaining an initial data set; preprocessing the initial data set based on the prompt words to generate a target data set; performing data analysis based on the target data set and data analysis problems to obtain data analysis results, and generating visualization charts based on the data analysis results; performing report generation processing based on the data analysis results, visualization charts and sentence analysis results to obtain a target analysis report. The present application can accurately and deeply analyze IoT perception data, which is conducive to improving the analysis efficiency of IoT perception data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of artificial intelligence technology, and in particular to an IoT perception data analysis method, system, IoT platform and storage medium. Background Art

[0002] As the construction of smart cities continues to deepen, the Internet of Things platform, as the device access base of smart cities, has taken over more and more sensor devices. Since different types of sensor devices belong to various commissions and offices, and are limited by industry characteristics, the types of monitoring data collected by sensor devices are complex, which puts forward higher requirements for data processing, analysis and extraction.

[0003] In order to maximize the value of this type of data and monitor and predict the operation status of cities in various dimensions, complex data analysis and visualization are required. This process not only places high demands on operators but also requires a high time cost. However, although existing data analysis methods can solve the above problems to a certain extent, they often need to rely on a large number of professionals to perform processing and analysis operations, resulting in high personnel and time costs. Moreover, faced with massive, complex and diverse IoT perception data, it is difficult to rely solely on manual efforts for in-depth insight analysis. Summary of the invention

[0004] The purpose of the embodiments of the present application is to propose an IoT perception data analysis method, system, IoT platform and storage medium, which can accurately and deeply analyze IoT perception data and improve the analysis efficiency of IoT perception data.

[0005] In order to solve the above technical problems, the present application provides a method for analyzing IoT perception data, including:

[0006] Obtain data analysis problems corresponding to business needs, and perform sentence analysis on the data analysis problems through a large language model to generate sentence analysis results;

[0007] Determine the target data source according to the sentence analysis result, construct a prompt word, extract the target data from the target data source according to the prompt word, and obtain an initial data set;

[0008] Preprocessing the initial data set based on the prompt words to generate a target data set;

[0009] Performing data analysis based on the target data set and the data analysis problem to obtain data analysis results, and generating a visualization chart based on the data analysis results;

[0010] A report generation process is performed based on the data analysis results, the visual charts and the statement analysis results to obtain a target analysis report.

[0011] In order to solve the above technical problems, the present application provides an IoT perception data analysis system, including:

[0012] A statement analysis unit is used to obtain data analysis problems corresponding to business requirements, and perform statement analysis on the data analysis problems through a large language model to generate statement analysis results;

[0013] A data extraction unit, used to determine a target data source according to the sentence analysis result, construct a prompt word, and extract target data from the target data source according to the prompt word to obtain an initial data set;

[0014] A data preprocessing unit, configured to preprocess the initial data set based on the prompt word to generate a target data set;

[0015] A visualization chart generating unit, configured to perform data analysis based on the target data set and the data analysis problem, obtain data analysis results, and generate a visualization chart based on the data analysis results;

[0016] A report generation unit is used to perform report generation processing based on the data analysis results, the visual charts and the statement analysis results to obtain a target analysis report.

[0017] To solve the above technical problems, a technical solution adopted by the present invention is: to provide an Internet of Things platform, including one or more processors; a memory for storing one or more programs, so that one or more processors can implement any one of the above-mentioned Internet of Things perception data analysis methods.

[0018] To solve the above technical problems, a technical solution adopted by the present invention is: a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, any one of the above-mentioned IoT perception data analysis methods is implemented.

[0019] The embodiment of the present invention provides a method, system, Internet of Things platform and storage medium for analyzing data of Internet of Things perception. The method includes: obtaining a data analysis problem corresponding to a business demand, and performing sentence analysis on the data analysis problem through a large language model to generate a sentence analysis result; determining a target data source according to the sentence analysis result, and constructing a prompt word, extracting target data from the target data source according to the prompt word, and obtaining an initial data set; preprocessing the initial data set based on the prompt word to generate a target data set; performing data analysis based on the target data set and the data analysis problem to obtain a data analysis result, and generating a visualization chart based on the data analysis result; performing report generation processing based on the data analysis result, the visualization chart and the sentence analysis result to obtain a target analysis report. The embodiment of the present invention performs sentence analysis and data extraction on the data analysis problem through a large language model, and performs data analysis and visualization table generation on the proposed data set, without relying on the professional and technical capabilities of the operator, avoiding spending a lot of time to process data, and can accurately and deeply analyze the Internet of Things perception data, which is conducive to improving the analysis efficiency of the Internet of Things perception data. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the scheme in the present application, a brief introduction is given below to the drawings required for use in the description of the embodiments of the present application. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0021] Figure 1 It is a flowchart of the implementation of the IoT perception data analysis method provided in the embodiment of the present application;

[0022] Figure 2 is a specific implementation flow chart of step S1 provided in an embodiment of the present application;

[0023] Figure 3 is a flowchart of an implementation of a method for analyzing IoT perception data provided by another embodiment of the present application;

[0024] Figure 4 is a specific implementation flow chart of step S2 provided in an embodiment of the present application;

[0025] Figure 5 is a specific implementation flow chart of step S3 provided in an embodiment of the present application;

[0026] Figure 6 is a specific implementation flow chart of step S4 provided in an embodiment of the present application;

[0027] Figure 7is a specific implementation flow chart of step S5 provided in an embodiment of the present application;

[0028] Figure 8 It is a schematic diagram of the IoT perception data analysis system provided in an embodiment of the present application;

[0029] Fig. 9 It is a schematic diagram of the Internet of Things platform provided in an embodiment of the present application. DETAILED DESCRIPTION

[0030] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by technicians in the technical field of the present application; the terms used in the specification of the application herein are only for the purpose of describing specific embodiments and are not intended to limit the present application; the terms "including" and "having" and any variations thereof in the specification and claims of the present application and the above-mentioned drawings are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of the present application or the above-mentioned drawings are used to distinguish different objects, not to describe a specific order.

[0031] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0032] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.

[0033] The present invention is described in detail below with reference to the accompanying drawings and embodiments.

[0034] It should be noted that the IoT perception data analysis method provided in the embodiment of the present application is generally executed by an IoT platform, and accordingly, the IoT perception data analysis system is generally configured in the IoT platform.

[0035] See also Figure 1 , Figure 1 A specific implementation of the IoT perception data analysis method is shown.

[0036] It should be noted that if there are substantially the same results, the method of the present invention is not limited to Figure 1 The process sequence shown is limited to the following steps:

[0037] S1: Obtain data analysis problems corresponding to business needs, and perform sentence analysis on the data analysis problems through a large language model to generate sentence analysis results.

[0038] Specifically, the embodiments of the present application require a clear understanding of business needs and goals, and output questions that require data analysis, which requires business personnel to supplement and modify the output data analysis questions, thereby sending the modified data analysis questions corresponding to the business needs to the Internet of Things platform. When the Internet of Things platform receives the data analysis questions corresponding to the business needs, it converts the data analysis questions into sentence analysis through a large language model to generate sentence analysis results.

[0039] The data analysis problem is a problem in natural language. For example, a data analysis problem provided by a business person is "analyze the comparison of precipitation and flooding depth at flood-prone points in different regions". The embodiment of the present application performs sentence analysis on the data analysis problem, generates a data processing plan, and then generates a sentence analysis result according to the data processing plan.

[0040] See also Figure 2 , Figure 2 A specific implementation of step S1 is shown, which is described in detail as follows:

[0041] S11: Obtaining data analysis questions corresponding to the business requirements;

[0042] S12: inputting the data analysis problem into the large language model, and splitting the data analysis problem by the large language model to obtain a plurality of executable subtasks;

[0043] S13: extracting the data column corresponding to the data analysis problem based on the subtask;

[0044] S14: Generate a data processing plan according to each of the data columns, and generate the statement analysis result based on the data processing plan.

[0045] Specifically, the data analysis problem is input into a large language model, and the data analysis problem is split through the large language model to obtain multiple executable subtasks; then the data columns related to the problem (such as "flood-prone points", "precipitation", "water accumulation depth") are automatically identified and extracted; and a data processing plan is generated according to each data column to generate detailed data processing and analysis steps, including data grouping, cumulative amount calculation, etc. Finally, the data processing plan is generated as the statement analysis result. The embodiment of the present application does not require human intervention, and the results can be output through human supervision, which is conducive to improving the analysis efficiency of IoT perception data.

[0046] For example, "Analyze the comparison of precipitation and flooding depth at flood-prone points in different regions", the generated data processing plan is: First, it is necessary to extract the "flood-prone points" column, "precipitation" column, and "water accumulation depth" data column from the data set to analyze the comparison of precipitation and water accumulation depth at different flood-prone points; Next, group them according to "flood-prone points" and calculate the cumulative amount of precipitation and water accumulation depth at each flood-prone point. Finally, a column chart or bar chart can be used to show the comparison of precipitation and water accumulation depth at each flood-prone point.

[0047] See also Figure 3 , Figure 3 A specific implementation after step S14 is shown, which is described in detail as follows:

[0048] S141: Obtain sample data;

[0049] S142: simulating and executing a data processing plan based on the statement analysis result on the sample data to verify the validity of the statement analysis result and obtain a simulation result;

[0050] S143: adjusting the data processing plan in the statement analysis result based on the simulation result to obtain a new statement analysis result, and replacing the statement analysis result with the new statement analysis result.

[0051] Specifically, in order to verify the correctness and effectiveness of the data processing plan constructed by the above steps, verification is required in advance. In an embodiment of the present application, a small amount of sample data is obtained, and the data processing plan is simulated and executed based on the statement analysis result on the sample data to verify the effectiveness of the statement analysis result and obtain a simulation result; if the simulation result shows that the data processing plan is executed correctly, there is no need to adjust the data processing plan; if the data analysis question cannot be answered, the data processing plan needs to be adjusted to ensure that the data processing plan can accurately answer the data analysis question.

[0052] S2: Determine the target data source according to the sentence analysis result, construct prompt words, extract target data from the target data source according to the prompt words, and obtain an initial data set.

[0053] Specifically, the IoT subject library, special library and third-party business system API interface involved in the above data analysis problem are determined according to the statement analysis results, so as to determine the target data source, and then the prompt words are constructed, and the target data is extracted from the target data source according to the prompt words to obtain the initial data set.

[0054] See also Figure 4 , Figure 4 A specific implementation of step S2 is shown, which is described in detail as follows:

[0055] S21: Determine the target data source according to the statement analysis result, wherein the target data source includes an IoT theme library, a special library, and a third-party business system API interface;

[0056] S22: constructing the prompt word based on the sentence analysis result;

[0057] S23: Generate Python code based on the prompt word through the large language model, and call a compilation tool to execute the Python code to extract target data from the target data source to obtain the initial data set.

[0058] Specifically, according to the data type appearing in the early warning analysis results, the data source required for the data analysis problem is determined, that is, the target data source is determined. Among them, the target data source includes the Internet of Things theme library, the special library and the third-party business system API interface. The above-mentioned generated statement analysis results extract the data column corresponding to the data analysis problem. The embodiment of the present application can construct prompt words (such as "flood-prone points") according to the data column, and then generate Python code based on the prompt words through a large language model, and call the compilation tool to execute the Python code to extract the target data corresponding to the prompt words from the target data source to obtain the initial data set. The embodiment of the present application does not require manual intervention, but requires supervision of the output results, which is conducive to improving the analysis efficiency of the Internet of Things perception data.

[0059] For example, according to the sentence analysis result of "flood-prone points", the query results involve the urban governance-urban waterlogging theme library. A prompt is constructed to generate code to call the data interface, and data can also be obtained based on the prompt.

[0060] S3: Preprocessing the initial data set based on the prompt words to generate a target data set.

[0061] See also Figure 5 , Figure 5 A specific implementation of step S3 is shown, which is described in detail as follows:

[0062] S31: performing alignment processing on the data in the initial data set according to the prompt word and the data processing plan in the sentence analysis result to obtain an aligned data set;

[0063] S32: performing grouping according to the prompt words to obtain a grouping result;

[0064] S33: Calculate the data accumulation corresponding to each of the grouping results in the aligned data set to obtain the target data set.

[0065] Specifically, the above steps have extracted the data. In the embodiment of the present application, the data in the initial data set is aligned according to the data processing plan in the prompt words and sentence analysis results to obtain an aligned data set; then the data is grouped according to the prompt words to obtain the grouping results; finally, the data accumulation corresponding to each grouping result in the aligned data set is calculated to obtain the target data set.

[0066] In the embodiment of the present application, the preprocessing requirements (such as data extraction, completion, conversion, etc.) are converted into executable operation logic, and then Python code is generated through LLM, and the compilation tool is called to execute to complete the data preprocessing. In the above steps, the present application obtains the precipitation data and water accumulation data of each flood-prone point, automatically completes the data according to the data processing plan, groups them according to "flood-prone points", and calculates the cumulative amount of precipitation and water accumulation depth of each flood-prone point to complete the data preprocessing.

[0067] S4: Performing data analysis based on the target data set and the data analysis problem to obtain data analysis results, and generating a visualization chart based on the data analysis results.

[0068] Specifically, the embodiment of the present application inputs data structure attribute information, data samples, and analysis questions into a large language model for reasoning, obtains data analysis results, and then generates visual charts based on the data analysis results.

[0069] See also Figure 6 , Figure 6 A specific implementation of step S4 is shown, which is described in detail as follows:

[0070] S41: Acquire data structure attribute information and data samples of the target data set;

[0071] S42: inputting the data structure attribute information, the data sample and the data analysis question into the large language model for data analysis to obtain the data analysis result;

[0072] S43: Performing visualization based on the data analysis result by calling a preset data visualization expression tool to generate the visualization chart.

[0073] Specifically, the data structure attribute information and data samples of the target data set are obtained; then, the data structure attribute information, data samples and data analysis questions are input into a large language model for data analysis to obtain data analysis results. That is, in an embodiment of the present application, based on business needs and data characteristics, detailed data analysis steps are planned, and the data analysis steps are used as data analysis results. BI or Echart is called as a data visualization expression tool, and visualization processing is performed based on the data analysis results to generate visualization charts.

[0074] Furthermore, according to the steps, a prompt is constructed and input into the large language model to write Python code. The large language model generates a statement to call the compilation tool to compile the Python code to obtain the running result; then the prompt is constructed again and input into the large language model and the next step of Python code writing and calling the tool compilation operation is performed until the final result is output, thereby completing the data analysis steps.

[0075] S5: Perform report generation processing according to the data analysis results, the visualization chart and the statement analysis results to obtain a target analysis report.

[0076] See also Figure 7 , Figure 7 A specific implementation of step S5 is shown, which is described in detail as follows:

[0077] S51: constructing a target prompt word according to the data analysis result, the visualization table and the sentence analysis result;

[0078] S52: Performing report generation processing based on the target prompt word through the large language model to obtain the target analysis report.

[0079] Specifically, the target prompt words are constructed according to the data analysis results, the visualization table and the sentence analysis results. The report generation process is performed based on the target prompt words through the large language model to obtain the target analysis report.

[0080] In a specific embodiment, a report template is designed based on the data analysis results, the visualization table and the statement analysis results, including a title, a chart, a conclusion and other parts, and then the visualization chart and the analysis results are integrated into the report template to generate a final analysis report, that is, a target analysis report.

[0081] In an embodiment of the present application, a data analysis problem corresponding to a business need is obtained, and a statement analysis is performed on the data analysis problem through a large language model to generate a statement analysis result; a target data source is determined according to the statement analysis result, and a prompt word is constructed, and target data is extracted from the target data source according to the prompt word to obtain an initial data set; the initial data set is preprocessed based on the prompt word to generate a target data set; data analysis is performed based on the target data set and the data analysis problem to obtain a data analysis result, and a visualization chart is generated based on the data analysis result; report generation processing is performed based on the data analysis result, the visualization chart and the statement analysis result to obtain a target analysis report. The embodiment of the present invention performs statement analysis and data extraction on the data analysis problem through a large language model, and performs data analysis and visualization table generation on the proposed data set, without relying on the professional and technical capabilities of the operator, avoiding spending a lot of time to process data, and can accurately and deeply analyze the IoT perception data, which is conducive to improving the analysis efficiency of IoT perception data.

[0082] Furthermore, the existing IoT perception data analysis methods rely on manual processing and analysis of perception data, and the insights into data are limited by the professional level of people. Secondly, it is obviously impossible to rely entirely on manual processing and analysis of massive IoT perception data. The embodiment of the present application uses the understanding and reasoning ability of the large model to create analysis and processing based on IoT subject library data by calling various intelligent analysis tool algorithm models, making IoT perception data processing and analysis more efficient and intelligent.

[0083] Please refer to Figure 8 , as a response to the above Figure 1 The present application provides an embodiment of an IoT sensing data analysis system, which is similar to Figure 1 Corresponding to the method embodiment shown, the system can be specifically applied to various Internet of Things platforms.

[0084] like Figure 8 As shown, the IoT perception data analysis system of this embodiment includes: a statement analysis unit 61, a data extraction unit 62, a data preprocessing unit 63, a visualization chart generation unit 64 and a report generation unit 65, wherein:

[0085] A statement analysis unit 61 is used to obtain a data analysis problem corresponding to a business requirement, and perform statement analysis on the data analysis problem through a large language model to generate a statement analysis result;

[0086] A data extraction unit 62 is used to determine a target data source according to the sentence analysis result, construct a prompt word, and extract target data from the target data source according to the prompt word to obtain an initial data set;

[0087] A data preprocessing unit 63, configured to preprocess the initial data set based on the prompt word to generate a target data set;

[0088] A visualization chart generating unit 64 is used to perform data analysis based on the target data set and the data analysis problem, obtain data analysis results, and generate a visualization chart based on the data analysis results;

[0089] The report generation unit 65 is used to perform report generation processing according to the data analysis results, the visual charts and the statement analysis results to obtain a target analysis report.

[0090] Furthermore, the sentence analysis unit 61 includes:

[0091] A data analysis problem obtaining unit, used to obtain the data analysis problem corresponding to the business requirement;

[0092] A splitting unit, used for inputting the data analysis problem into the large language model, splitting the data analysis problem through the large language model to obtain a plurality of executable subtasks;

[0093] A data column extraction unit, used for extracting the data column corresponding to the data analysis problem based on the subtask;

[0094] The statement analysis result generating unit is used to generate a data processing plan according to each of the data columns, and generate the statement analysis result based on the data processing plan.

[0095] Furthermore, the statement analysis result generating unit further includes:

[0096] A sample data acquisition unit, used for acquiring sample data;

[0097] A simulation unit, used for simulating the execution of a data processing plan based on the statement analysis result on the sample data to verify the validity of the statement analysis result and obtain a simulation result;

[0098] A plan adjustment unit is used to adjust the data processing plan in the statement analysis result based on the simulation result to obtain a new statement analysis result, and replace the statement analysis result with the new statement analysis result.

[0099] Further, the data extraction unit 62 includes:

[0100] A data source determination unit, configured to determine the target data source according to the statement analysis result, wherein the target data source includes an IoT theme library, a subject library, and a third-party business system API interface;

[0101] A prompt word construction unit, used to construct the prompt word based on the sentence analysis result;

[0102] The initial data set generating unit is used to generate Python code based on the prompt word through the large language model, and call a compilation tool to execute the Python code to extract target data from the target data source to obtain the initial data set.

[0103] Furthermore, the data preprocessing unit 63 includes:

[0104] An alignment unit, configured to perform alignment processing on the data in the initial data set according to the prompt word and the data processing plan in the sentence analysis result to obtain an aligned data set;

[0105] A grouping unit, used for grouping according to the prompt words to obtain a grouping result;

[0106] The accumulation amount calculation unit is used to calculate the data accumulation amount corresponding to each of the grouping results in the aligned data set to obtain the target data set.

[0107] Furthermore, the visualization chart generating unit 64 includes:

[0108] A data sample acquisition unit, used to acquire data structure attribute information and data samples of the target data set;

[0109] A data analysis result generating unit, configured to input the data structure attribute information, the data sample and the data analysis question into the large language model for data analysis to obtain the data analysis result;

[0110] The visualization processing unit is used to perform visualization processing based on the data analysis result by calling a preset data visualization expression tool to generate the visualization chart.

[0111] Furthermore, the report generating unit 65 includes:

[0112] A target prompt word construction unit, used to construct a target prompt word according to the data analysis result, the visualization table and the sentence analysis result;

[0113] A target analysis report generation unit is used to perform report generation processing based on the target prompt word through the large language model to obtain the target analysis report.

[0114] In an embodiment of the present application, a data analysis problem corresponding to a business need is obtained, and a statement analysis is performed on the data analysis problem through a large language model to generate a statement analysis result; a target data source is determined according to the statement analysis result, and a prompt word is constructed, and target data is extracted from the target data source according to the prompt word to obtain an initial data set; the initial data set is preprocessed based on the prompt word to generate a target data set; data analysis is performed based on the target data set and the data analysis problem to obtain a data analysis result, and a visualization chart is generated based on the data analysis result; report generation processing is performed based on the data analysis result, the visualization chart and the statement analysis result to obtain a target analysis report. The embodiment of the present invention performs statement analysis and data extraction on the data analysis problem through a large language model, and performs data analysis and visualization table generation on the proposed data set, without relying on the professional and technical capabilities of the operator, avoiding spending a lot of time to process data, and can accurately and deeply analyze the IoT perception data, which is conducive to improving the analysis efficiency of IoT perception data.

[0115] To solve the above technical problems, the present application embodiment also provides an Internet of Things platform. Fig. 9 , Fig. 9 This is a basic structural block diagram of the Internet of Things platform in this embodiment.

[0116] The Internet of Things platform 7 includes a memory 71, a processor 72, and a network interface 73 that are interconnected through a system bus. It should be noted that the figure only shows an Internet of Things platform 7 with three components: a memory 71, a processor 72, and a network interface 73, but it should be understood that it is not required to implement all the components shown, and more or fewer components can be implemented instead. Among them, those skilled in the art can understand that the Internet of Things platform here is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable gate arrays (Field-Programmable Gate Array, FPGA), digital processors (Digital Signal Processor, DSP), embedded devices, etc.

[0117] The IoT platform can be a computing device such as a desktop computer, notebook, PDA, or cloud server. The IoT platform can interact with users through keyboard, mouse, remote control, touchpad, or voice control device.

[0118] The memory 71 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 71 can be an internal storage unit of the Internet of Things platform 7, such as a hard disk or memory of the Internet of Things platform 7. In other embodiments, the memory 71 can also be an external storage device of the Internet of Things platform 7, such as a plug-in hard disk, a smart memory card (SmartMedia Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the Internet of Things platform 7. Of course, the memory 71 can also include both the internal storage unit of the Internet of Things platform 7 and its external storage device. In this embodiment, the memory 71 is generally used to store the operating system and various application software installed on the Internet of Things platform 7, such as the program code of the Internet of Things perception data analysis method, etc. In addition, the memory 71 can also be used to temporarily store various types of data that have been output or are to be output.

[0119] In some embodiments, the processor 72 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips. The processor 72 is generally used to control the overall operation of the IoT platform 7. In this embodiment, the processor 72 is used to run the program code stored in the memory 71 or process data, such as running the program code of the IoT perception data analysis method described above, to implement various embodiments of the IoT perception data analysis method.

[0120] The network interface 73 may include a wireless network interface or a wired network interface, and the network interface 73 is generally used to establish a communication connection between the Internet of Things platform 7 and other electronic devices.

[0121] The present application also provides another implementation, namely, providing a computer-readable storage medium, which stores a computer program, and the computer program can be executed by at least one processor to enable the at least one processor to perform the steps of a method for analyzing IoT perception data as described above.

[0122] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods of each embodiment of the present application.

[0123] Obviously, the embodiments described above are only some embodiments of the present application, rather than all embodiments. The preferred embodiments of the present application are given in the accompanying drawings, but they do not limit the patent scope of the present application. The present application can be implemented in many different forms. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present application more thorough and comprehensive. Although the present application is described in detail with reference to the aforementioned embodiments, for those skilled in the art, it is still possible to modify the technical solutions recorded in the aforementioned specific implementation methods, or to replace some of the technical features therein with equivalents. Any equivalent structure made using the contents of the specification and drawings of this application, directly or indirectly used in other related technical fields, is similarly within the scope of patent protection of this application.

Claims

1. A method for analyzing IoT perception data, characterized in that: include: Obtain data analysis questions corresponding to business needs; Inputting the data analysis problem into a large language model, splitting the data analysis problem by the large language model to obtain a plurality of executable subtasks; Extracting the data column corresponding to the data analysis problem based on the subtask; generating a data processing plan according to each of the data columns, and generating a statement analysis result based on the data processing plan; Get sample data; Simulating and executing a data processing plan based on the statement analysis result on the sample data to verify the validity of the statement analysis result and obtain a simulation result; Adjust the data processing plan in the statement analysis result based on the simulation result to obtain a new statement analysis result, and replace the statement analysis result with the new statement analysis result; Determine the IoT subject library, special library and third-party business system API interface involved in the data analysis problem according to the statement analysis results to determine the target data source; Constructing prompt words based on the sentence analysis results; Generate Python code based on the prompt word through the large language model, and call the compilation tool to execute the Python code to extract target data from the target data source to obtain an initial data set, wherein the initial data set is a monitoring data set collected by the IoT platform accessing the sensing device; Performing alignment processing on the data in the initial data set according to the prompt word and the data processing plan in the sentence analysis result to obtain an aligned data set; Grouping is performed according to the prompt words to obtain a grouping result; Calculating the data accumulation corresponding to each of the grouping results in the aligned data set to obtain a target data set; Performing data analysis based on the target data set and the data analysis problem to obtain data analysis results, and generating a visualization chart based on the data analysis results; Perform report generation processing according to the data analysis results, the visualization chart and the statement analysis results to obtain a target analysis report; The performing data analysis based on the target data set and the data analysis problem to obtain data analysis results, and generating a visualization chart based on the data analysis results, includes: Acquire data structure attribute information and data samples of the target data set; According to the data structure attribute information, the data sample and the data analysis question, the data analysis is performed on the large language model to obtain the data analysis result, wherein the data analysis steps are planned based on the business requirements and data characteristics, and the data analysis steps are used as the data analysis result; BI or Echart is called as a data visualization expression tool, and the visualization chart is generated by calling the data visualization expression tool to perform visualization processing based on the data analysis result.

2. The method for analyzing IoT perception data according to claim 1, characterized in that: The report generation process is performed according to the data analysis result, the visualization chart and the statement analysis result to obtain a target analysis report, including: Constructing a target prompt word according to the data analysis result, the visualization table and the sentence analysis result; The target analysis report is obtained by performing report generation processing based on the target prompt word through the large language model.

3. An IoT perception data analysis system, characterized in that: include: A data analysis problem acquisition unit, used to acquire data analysis problems corresponding to business requirements; A splitting unit, used for inputting the data analysis problem into a large language model, splitting the data analysis problem through the large language model to obtain a plurality of executable subtasks; A data column extraction unit, used for extracting the data column corresponding to the data analysis problem based on the subtask; A statement analysis result generating unit, used to generate a data processing plan according to each of the data columns, and generate a statement analysis result based on the data processing plan; A sample data acquisition unit, used for acquiring sample data; A simulation unit, used for simulating the execution of a data processing plan based on the statement analysis result on the sample data to verify the validity of the statement analysis result and obtain a simulation result; A plan adjustment unit, configured to adjust the data processing plan in the statement analysis result based on the simulation result, obtain a new statement analysis result, and replace the statement analysis result with the new statement analysis result; A data source determination unit, used to determine the IoT subject library, thematic library and the third-party business system API interface involved in the data analysis problem according to the statement analysis result, so as to determine the target data source; A prompt word construction unit, used for constructing prompt words based on the sentence analysis result; An initial data set generating unit, used to generate Python code based on the prompt word through the large language model, and call a compilation tool to execute the Python code to extract target data from the target data source to obtain an initial data set, wherein the initial data set is a monitoring data set collected by the IoT platform accessing the sensing device; An alignment unit, configured to perform alignment processing on the data in the initial data set according to the prompt word and the data processing plan in the sentence analysis result to obtain an aligned data set; A grouping unit, used for grouping according to the prompt words to obtain a grouping result; A cumulative amount calculation unit, used to calculate the data cumulative amount corresponding to each of the grouping results in the aligned data set to obtain a target data set; A visualization chart generating unit, configured to perform data analysis based on the target data set and the data analysis problem, obtain data analysis results, and generate a visualization chart based on the data analysis results; A report generation unit, used to perform report generation processing according to the data analysis results, the visual chart and the statement analysis results to obtain a target analysis report; The visualization chart generating unit comprises: A data sample acquisition unit, used to acquire data structure attribute information and data samples of the target data set; A data analysis result generating unit, configured to input the data structure attribute information, the data sample and the data analysis question into the large language model for data analysis to obtain the data analysis result, wherein the data analysis steps are planned based on business requirements and data characteristics, and the data analysis steps are used as the data analysis result; The visualization processing unit is used to call BI or Echart as a data visualization expression tool, and generate the visualization chart by calling the data visualization expression tool to perform visualization processing based on the data analysis result.

4. An Internet of Things platform, characterized in that: It comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the method for analyzing IoT perception data as described in any one of claims 1 to 2 is implemented.

5. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for analyzing IoT perception data as described in any one of claims 1 to 2 is implemented.