Internet of Things equipment data state analysis APP generation and management system

The system addresses the inefficiencies in IoT device data state analysis APP development by using standardized components and remote management, enhancing efficiency and unified management of IoT device data state analysis APPs.

CN120321092APending Publication Date: 2025-07-15ELECTRIC POWER RES INST OF GUANGDONG POWER GRID CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202510595862.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-09
Publication Date
2025-07-15

AI Technical Summary

Technical Problem

The generation of existing IoT device data status analysis APPs requires manual configuration of components and parameters one by one, which is inefficient and lacks unified management.

Method used

It provides a generation and management system for IoT device data state analysis APP, including component development module, APP development module and APP management module, storing common components through component library, generating APP using visual drag and drop and configuration methods, and real-time monitoring is realized.

Benefits of technology

It improves the development efficiency of IoT device data status analysis APP, realizes unified management and resource allocation, reduces operation and maintenance costs, and enhances the stability and reliability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120321092A_ABST
    Figure CN120321092A_ABST
Patent Text Reader

Abstract

The invention discloses an Internet of Things equipment data state analysis APP generation and management system, which belongs to the technical field of Internet of Things and comprises a component development module, an APP development module and an APP management module. The component development module is used for generating a universal component; the APP development module is used for extracting a target component from a component library and generating a corresponding Internet of Things equipment data state analysis APP; and the APP management module is used for sending the remote operation instruction to a corresponding target gateway, so that the target gateway calls a local AP I to execute a corresponding remote operation according to the remote operation instruction, and performs real-time monitoring on the state, performance and resources of the Internet of Things equipment data state analysis APP. The problem of low development and generation efficiency of an Internet of Things equipment data state analysis APP in the prior art can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of the Internet of Things, and in particular to a system for generating and managing an Internet of Things device data status analysis APP. Background Art

[0002] As another wave of the information and communication industry following the Internet and mobile communication, the Internet of Things has opened the door to the era of all things connected, showing the possibility of exploring an unprecedented intelligent and systematic production mode. The Internet of Things is deeply integrated with new-generation information and communication technologies such as big data, artificial intelligence, and 5G, accelerating the upgrading of the manufacturing industry, promoting the evolution of the manufacturing industry towards digitization, networking, and intelligence, giving birth to a large number of new industries, new business forms, and new models, empowering with intelligence and increasing efficiency with intelligence, and injecting new impetus into the manufacturing industry. At present, relevant personnel have developed a series of Internet of Things device data status analysis APPs for the analysis of Internet of Things device data status. However, in the development process of the Internet of Things device data status analysis APP, the generation of each Internet of Things device data status analysis APP requires relevant personnel to manually develop and configure the components and parameters of the APP one by one, with low efficiency and a lack of unified management of the Internet of Things device data status analysis APP. Summary of the Invention

[0003] The present invention provides a system for generating and managing an Internet of Things device data status analysis APP, which can solve the problems in the prior art that the generation of each Internet of Things device data status analysis APP requires relevant personnel to manually develop and configure the components and parameters of the APP one by one, with low efficiency and a lack of unified management of the Internet of Things device data status analysis APP.

[0004] To solve the above technical problems, an embodiment of the present invention provides a system for generating and managing an Internet of Things device data status analysis APP, including: a component development module, an APP development module, and an APP management module;

[0005] The component development module is used to encapsulate each preset function into a corresponding component according to the component source code of each component, obtain a general component including a standard application layer protocol, functional development, and program logic control, and store the general component in a preset component library;

[0006] The APP development module is used to extract corresponding general components from the component library as target components, connect the extracted target components, set the data flow direction in each target component according to the preset business logic sequence, and configure the business logic and parameter interaction of each target component through the property setting window and data interface of each component, generate the corresponding Internet of Things device data status analysis APP, and then set the processing logic for parameter interaction configuration and logic judgment for the links that need to perform data interaction in the Internet of Things device data status analysis APP;

[0007] The APP management module is used to generate a corresponding remote operation instruction according to the remote operation request when receiving the remote operation request of the Internet of Things device data status analysis APP, and send the remote operation instruction to the corresponding target gateway, so that the target gateway calls the local API to execute the corresponding remote operation according to the remote operation instruction, and real-time monitors the status, performance and resources of the Internet of Things device data status analysis APP, and real-time allocates various running resources in the Internet of Things device data status analysis APP.

[0008] As a preferred solution, the component development module includes: a component data upload unit, a component design tool unit, a component installation and update unit, and a component library unit;

[0009] The component data upload unit is used to obtain the corresponding component source code and store it in a preset component library when receiving the upload request of the component source code, and extract the corresponding component source code from the component library and download it to the target address when receiving the download request of the component source code;

[0010] The component design tool unit is used to encapsulate each preset function into a corresponding component according to the component source code and expose the standardized interfaces of each component;

[0011] The component installation and update unit is used to store the component in the component library, extract the component to be installed from the component library and deploy the component to the target device when receiving the component installation request, obtain the corresponding differential update package when receiving the component update request, and update the component to be updated according to the differential update package;

[0012] The component library unit is used to store and manage each component; among them, the component includes: a general component and a special component.

[0013] As a preferred solution, the APP development module includes: a business process design unit, a business parameter configuration unit, and a UI interface design unit;

[0014] The business process design unit is used to extract corresponding target components from the component library according to the intelligent regulation service requirements of the low-voltage power distribution area, connect the extracted target components, set the data flow direction in each target component according to the preset business logic sequence, and configure the business logic and parameter interaction of each target component through the attribute setting window and data interface of each component to generate the corresponding Internet of Things device data status analysis APP;

[0015] The business parameter configuration unit is used to perform parameter interaction configuration and processing logic setting of logical judgment on the links that need to perform data interaction in the Internet of Things device data status analysis APP;

[0016] The UI interface design unit is used to design the interaction mode and page elements of the front-end interface in the Internet of Things device data status analysis APP.

[0017] As a preferred solution, the APP management module includes: an APP management unit, an APP monitoring unit, and an APP scheduling unit;

[0018] The APP management unit is used to generate a corresponding remote operation instruction according to the remote operation request when receiving the remote operation request of the Internet of Things device data status analysis APP, and send the remote operation instruction to the corresponding target gateway, so that the target gateway calls the local API to execute the corresponding remote operation according to the remote operation instruction;

[0019] The APP monitoring unit is used to monitor the status, performance, and resources of the Internet of Things device data status analysis APP in real time and generate corresponding monitoring feedback data;

[0020] The APP scheduling unit is used to perform resource scheduling on the Internet of Things device data status analysis APP according to the APP priority, service requirements, and resource occupancy situation, and allocate various running resources in the Internet of Things device data status analysis APP according to the monitoring feedback data.

[0021] As a preferred solution, the APP monitoring unit includes: a real-time status monitoring subunit, an operation log recording and analysis subunit, and a historical version management subunit;

[0022] The real-time status monitoring subunit is used to obtain the running status data of the Internet of Things device data status analysis APP, and analyze the resource usage trend and abnormal mode of the Internet of Things device data status analysis APP according to the running status data; among them, the running status data includes: process status, performance indicators, resource usage, and service data;

[0023] The operation log recording and analysis subunit is used to obtain and store the full-link data of the operations of the IoT device data status analysis APP on the target device; wherein, the full-link data includes: operation trigger time, execution module identifier, operation type, operation object, and input and output parameters;

[0024] The historical version management subunit is used to store all historical versions of the IoT device data status analysis APP.

[0025] As a preferred solution, the APP scheduling unit includes: a resource intelligent allocation subunit and a performance optimization scheduling subunit;

[0026] The resource intelligent allocation subunit is used to perform resource scheduling and allocation on various operating resources of the IoT device data status analysis APP according to the APP priority, service requirements, and resource occupancy situation;

[0027] The performance optimization scheduling subunit is used to analyze the operating status and resource usage of the IoT device data status analysis APP according to the monitoring feedback data, and adjust the resource allocation of the IoT device data status analysis APP according to the analysis results.

[0028] As a preferred solution, it further includes: a system management module;

[0029] The system management module is used to perform dynamic resource allocation on each module in the IoT device data status analysis APP.

[0030] As a preferred solution, the system management module includes: a resource management unit and an interface management unit;

[0031] The resource management unit is used to configure permissions for the operating resources of each module in the IoT device data status analysis APP;

[0032] The interface management unit is used to manage the external system interfaces and internal module interfaces in the IoT device data status analysis APP, where the external system interfaces and internal module interfaces include: edge device information collection interfaces, edge computing APP distribution interfaces, edge computing APP information collection interfaces, and edge computing APP operation and maintenance interfaces.

[0033] As a preferred solution, it further includes: a cloud-edge collaboration module;

[0034] The cloud-edge collaboration module is used to interpret the IoT device data status analysis APP as underlying code according to the regulation and operation engine in the IoT device data status analysis APP and send it to the edge device.

[0035] As a preferred solution, the cloud-edge collaboration module includes: an engine registration unit, an engine operation and maintenance unit, and an access authentication unit;

[0036] The engine registration unit is used to manage the control operation engine information in the preset edge computing APP; wherein, the control operation engine information includes: the type, status, location, running duration, start time, device name and number information of the engine;

[0037] The engine operation and maintenance unit is used to monitor and perform operation and maintenance management on the control operation engine in the edge computing APP;

[0038] The access authentication unit is used to verify the user identity and authorize the permissions of the control operation engine in the edge computing APP.

[0039] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0040] The present invention provides a system for generating and managing an Internet of Things device data status analysis APP, including a component development module, an APP development module, and an APP management module; the component development module is used to encapsulate each preset function into a corresponding component according to the component source code of each component, obtain a general component including a standard application layer protocol, functional development, and program logic control, and store the general component in a preset component library; the APP development module is used to extract the corresponding general component from the component library as a target component, connect the extracted target components, set the data flow direction in each target component according to the preset business logic sequence, and configure the business logic and parameter interaction of each target component through the attribute setting window and data interface of each component to generate a corresponding Internet of Things device data status analysis APP, and then perform parameter interaction configuration and processing logic setting of logical judgment on the links that need to perform data interaction in the Internet of Things device data status analysis APP. The present invention can greatly improve the development efficiency of the Internet of Things device data status analysis APP by pre-developing components with different functions, directly extracting the required target components from the component library when generating the APP, and configuring the parameters and business logic of each target component.

[0041] In addition, the APP management module is configured to generate a corresponding remote operation instruction according to the remote operation request when receiving the remote operation request of the Internet of Things device data status analysis APP, and send the remote operation instruction to the corresponding target gateway, so that the target gateway calls the local API to execute the corresponding remote operation according to the remote operation instruction, and monitors the status, performance and resources of the Internet of Things device data status analysis APP in real time, and allocates various running resources in the Internet of Things device data status analysis APP in real time. The present invention further includes an APP management module, through which the remote operation of the Internet of Things device data status analysis APP can be assisted, the real-time status of the APP can be monitored, and various running resources of the APP can be allocated to achieve unified management of the Internet of Things device data status analysis APP. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 FIG. is a schematic structural diagram of a generation and management system of an Internet of Things device data status analysis APP provided by an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0043] To make the objectives, technical solutions and advantages of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Apparently, the described embodiments are some but not all of the embodiments of the present application. All other embodiments obtained by those of ordinary skill in the art without making creative efforts based on the embodiments of the present application fall within the scope of the present application.

[0044] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" and any variations thereof in the specification and claims of this application and the above drawings are intended to cover non-exclusive inclusion.

[0045] In the description of the embodiments of the present application, technical terms such as "first" and "second" are only used to distinguish different objects and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity, specific order or primary-secondary relationship of the indicated technical features. In the description of the embodiments of the present application, "a plurality of" means more than two unless otherwise specifically defined.

[0046] References herein to "embodiments" mean that the particular features, structures, or characteristics described in connection with the embodiments can be included in at least one embodiment of the present application. The phrase appears in various places in the specification and does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0047] In the description of the embodiments of the present application, the term "and / or" is merely a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " in this article generally represents an "or" relationship between the associated objects before and after.

[0048] In the description of the embodiments of the present application, the terms "a plurality" and "several" refer to two or more (including two). Similarly, "multiple groups" refers to two or more groups (including two groups), and "multiple pieces" refers to two or more pieces (including two pieces).

[0049] In the description of the embodiments of the present application, unless otherwise clearly specified and limited, technical terms such as "installation", "connection", "connection", and "fixation" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or integrated; it can also be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium, and it can be the communication inside two components or the interaction relationship between two components. For those of ordinary skill in the art, the specific meanings of the above terms in the embodiments of the present application can be understood according to specific circumstances.

[0050] Embodiment 1

[0051] Please refer to Figure 1 , to solve the problem that in the prior art, the generation of each Internet of Things device data status analysis APP requires relevant personnel to manually develop and configure the components and parameters of the APP one by one, with low efficiency and lack of unified management of the Internet of Things device data status analysis APP. A schematic structural diagram of a system for generating and managing an Internet of Things device data status analysis APP provided by an embodiment of the present invention includes: a component development module, an APP development module, and an APP management module;

[0052] The component development module is used to encapsulate each preset function into a corresponding component according to the component source code of each component, obtain a general component including a standard application layer protocol, functional development, and program logic control, and store the general component in a preset component library;

[0053] The APP development module is used to extract corresponding general components from the component library as target components, connect the extracted target components, set the data flow direction in each target component according to the preset business logic sequence, and configure the business logic and parameter interaction of each target component through the property setting window and data interface of each component, generate the corresponding Internet of Things device data status analysis APP, and then set the processing logic for parameter interaction configuration and logical judgment for the links that need to perform data interaction in the Internet of Things device data status analysis APP;

[0054] The APP management module is used to generate a corresponding remote operation instruction according to the remote operation request when receiving the remote operation request of the Internet of Things device data status analysis APP, and send the remote operation instruction to the corresponding target gateway, so that the target gateway calls the local API to execute the corresponding remote operation according to the remote operation instruction, and monitors the status, performance and resources of the Internet of Things device data status analysis APP in real time, and allocates various running resources in the Internet of Things device data status analysis APP in real time.

[0055] Preferably, the component development module includes: a component data upload unit, a component design tool unit, a component installation and update unit, and a component library unit; the component data upload unit is used to obtain the corresponding component source code and store it in a preset component library when receiving the upload request of the component source code, and extract the corresponding component source code from the component library and download it to the target address when receiving the download request of the component source code; the component design tool unit is used to encapsulate each preset function into a corresponding component according to the component source code and expose the standardized interfaces of each component; the component installation and update unit is used to store the component in the component library, extract the component to be installed from the component library and deploy the component to be installed to the target device when receiving the component installation request, obtain the corresponding differential update package when receiving the component update request, and update the component to be updated according to the differential update package; the component library unit is used to store and manage each component; wherein, the components include: general components and special components.

[0056] Preferably, the APP development module includes: a business process design unit, a business parameter configuration unit, and a UI interface design unit; the business process design unit is configured to extract corresponding target components from the component library according to the intelligent regulation service requirements of the low-voltage power distribution area, connect the extracted target components, set the data flow direction in each target component according to the preset business logic sequence, and configure the business logic and parameter interaction of each target component through the property setting window and data interface of each component to generate a corresponding IoT device data status analysis APP; the business parameter configuration unit is configured to perform parameter interaction configuration and logical judgment processing logic setting on the links that need to perform data interaction in the IoT device data status analysis APP; the UI interface design unit is configured to design the interaction mode and page elements of the front-end interface in the IoT device data status analysis APP.

[0057] Preferably, the APP management module includes: an APP management unit, an APP monitoring unit, and an APP scheduling unit; the APP management unit is configured to generate a corresponding remote operation instruction according to the remote operation request when receiving the remote operation request of the IoT device data status analysis APP, and send the remote operation instruction to the corresponding target gateway, so that the target gateway calls the local API to execute the corresponding remote operation according to the remote operation instruction; the APP monitoring unit is configured to monitor the status, performance, and resources of the IoT device data status analysis APP in real time and generate corresponding monitoring feedback data; the APP scheduling unit is configured to perform resource scheduling on the IoT device data status analysis APP according to the APP priority, service requirements, and resource occupancy situation, and allocate various running resources in the IoT device data status analysis APP according to the monitoring feedback data.

[0058] Preferably, the APP monitoring unit includes: a real-time status monitoring subunit, an operation log recording and analysis subunit, and a historical version management subunit; the real-time status monitoring subunit is configured to obtain the running status data of the IoT device data status analysis APP, and analyze the resource usage trend and abnormal mode of the IoT device data status analysis APP according to the running status data; wherein, the running status data includes: process status, performance indicators, resource usage, and service data; the operation log recording and analysis subunit is configured to obtain and store the full-link data of the operations of the IoT device data status analysis APP on the target device; wherein, the full-link data includes: operation trigger time, execution module identifier, operation type, operation object, and input and output parameters; the historical version management subunit is configured to store all historical versions of the IoT device data status analysis APP.

[0059] Preferably, the APP scheduling unit includes: a resource intelligent allocation sub-unit and a performance optimization scheduling sub-unit; the resource intelligent allocation sub-unit is configured to perform resource scheduling and allocation on various operating resources of the IoT device data status analysis APP according to the APP priority, service requirements, and resource occupancy; the performance optimization scheduling sub-unit is configured to analyze the operating status and resource usage of the IoT device data status analysis APP according to the monitoring feedback data, and adjust the resource allocation of the IoT device data status analysis APP according to the analysis results.

[0060] Preferably, it further includes: a system management module; the system management module is configured to perform dynamic resource allocation on each module in the IoT device data status analysis APP.

[0061] Preferably, the system management module includes: a resource management unit and an interface management unit; the resource management unit is configured to perform permission configuration on the operating resources of each module in the IoT device data status analysis APP; the interface management unit is configured to manage the external system interfaces and internal module interfaces in the IoT device data status analysis APP, where the external system interfaces and internal module interfaces include: edge device information collection interfaces, edge computing APP distribution interfaces, edge computing APP information collection interfaces, and edge computing APP operation and maintenance interfaces.

[0062] Preferably, it further includes: a cloud-edge collaboration module; the cloud-edge collaboration module is configured to interpret the IoT device data status analysis APP as underlying code according to the control operation engine in the IoT device data status analysis APP and distribute it to the edge device.

[0063] Preferably, the cloud-edge collaboration module includes: an engine registration unit, an engine operation and maintenance unit, and an access authentication unit; the engine registration unit is configured to manage the control operation engine information in the preset edge computing APP; where the control operation engine information includes: the type, status, location, running duration, start time, device name, and number information of the engine; the engine operation and maintenance unit is configured to monitor and perform operation and maintenance management on the control operation engine in the edge computing APP; the access authentication unit is configured to verify the user identity and perform permission authorization on the control operation engine in the edge computing APP.

[0064] Specifically, the generation and management system of the IoT device data status analysis APP of the present invention includes a component development module, an APP development module, an APP management module, a system management module, and a cloud-edge collaboration module. The component development module is used to develop a general component library containing standard application layer protocols, functional development, and program logic control. The APP development module uses the components in the general component library to build the IoT device data status analysis APP through visual drag-and-drop and configuration methods. The APP management module is responsible for deploying, starting, and stopping the APP, and real-time feedbacks the performance monitoring, resource scheduling, and version management information of the APP to the system management module. The system management module dynamically allocates resources to each module and the APP according to this information, including computing, storage, and network resources. The cloud-edge collaboration module, based on the resources allocated by the system management module, uses the dedicated operation engine for the IoT APP to interpret the APP as low-level code and send it to the edge device.

[0065] Specifically, by developing and managing the general component library, the component development module improves the development efficiency, flexibility, and functional diversity of the IoT device data status analysis system, reduces the development difficulty and cost, enhances the adaptability and compatibility of the system to different business scenarios, and at the same time ensures the reusability and maintainability of the components, providing a solid foundation for the stable operation and continuous optimization of the system. The APP development module uses the visual drag-and-drop and configuration methods to quickly build the IoT device data status analysis APP using the general component library, reducing the development threshold, improving the development efficiency, enabling business personnel to participate in the development, enhancing the system's response speed and adaptability to business requirements, and improving the user experience and system usability. The APP management module realizes the full-life cycle management of the IoT device data status analysis APP. Through functions such as remote operation, performance monitoring, resource scheduling, and version management, it ensures the stable and efficient operation of the APP, improves the operation and maintenance management efficiency and the overall performance of the system, reduces the operation and maintenance cost, and enhances the reliability and maintainability of the system. The system management module, through the unified control of the operation resources of each module of the system, permission configuration, and interface management, ensures the reasonable allocation and efficient utilization of the resources of the IoT device data status analysis system, improves the system stability, compatibility, and security, and guarantees the effective collaboration and data interaction between different parts of the system, providing strong support for the reliable operation of the system. The cloud-edge collaboration module, through registering and operating the intelligent control operation engine for edge computing APP, performs access authentication and data collaboration, realizes the efficient collaboration between the cloud and the edge in the IoT device data status analysis system, ensures the secure and stable execution of the APP on the edge device, reduces the data transmission delay, improves the system response speed, overall performance, and security, and enhances the system's real-time control ability for IoT devices.

[0066] The component development module includes a component data upload unit, a component design tool unit, a component installation and update unit, and a component library unit. The component data upload unit is used to provide the download and upload functions of component source code for the component development interface. The component design tool unit is used to encapsulate specific functions into components and correctly expose interfaces for use when developing the IoT APP. The component installation and update unit is used to save components to the component library and can perform installation and update operations on the components in the IoT APP at any time. The component library unit is used to provide management functions for various general components and special components, including classification management, keyword query, and function query capabilities of components.

[0067] Specifically, the component data upload unit integrates a file transfer module based on the HTTP / HTTPS protocol in the component development interface to achieve the convenient download and upload functions of component source code. When downloading, it supports retrieval by conditions such as component name, version, and function label, uses chunked transfer technology to improve the download efficiency of large files, and ensures file integrity through MD5 hash verification. When the verification fails, retransmission is automatically triggered. When uploading, it has built-in format verification (such as checking the suffix of code files and the compliance of directory structures) and security scanning (virus and sensitive code detection), supports resume upload to handle network interruptions, and developers can fill in component metadata (version number, function description, dependent environment) when uploading. The system automatically generates a unique identifier and stores it in the distributed component library to achieve secure sharing and version management of the code.

[0068] Based on the modular design concept, the component design tool unit encapsulates specific functions (such as Modbus protocol parsing, data conversion algorithms) into independent components, hides internal implementation details through object-oriented programming technology, and only exposes standardized interfaces (such as RESTful APIs) externally. The interface definition follows the OpenAPI specification, clarifying input and output parameters and error handling mechanisms, and generating visual interface documents for developers to call. It supports customizing extended functions through scripting languages (Python / Java), and at the same time integrates a unit test framework to verify the robustness of the interfaces, ensuring the reliability and cross-scenario reusability of component functions.

[0069] The component installation and update unit packages components into a standardized package (such as a Docker image or a ZIP file) that includes a dependency manifest and environment configuration. During installation, it automatically resolves dependencies, compares with the current APP running environment, automatically pulls missing dependencies from the cloud repository or prompts the user to install them when needed, and supports batch deployment to multiple target devices. During the update operation, it compares with the latest version in the cloud using semantic version numbers (major version, minor version, patch), downloads the differential update package and backs up the old version, and completes file replacement, configuration update, and service restart through automated scripts. It performs digital signature verification during the update process to prevent file tampering, monitors the running status of components (CPU / memory usage, interface response time) in real time after the update to ensure the APP uses a stable version, and records the update process in the log for fault backtracking, achieving timely update and efficient reuse of components and reducing system maintenance costs.

[0070] The APP development module includes a business process design unit, a business parameter configuration unit, and a UI interface design unit. The business process design unit is used to perform process-based orchestration, business logic configuration, and parameter interaction configuration on business components and process links according to the intelligent regulation business scenario of the low-voltage power grid area. The business parameter configuration unit is used to perform parameter interaction configuration and set the processing logic for logical judgment on the links that require data interaction. The UI interface design unit is used to design the front-end interface of the IoT APP, including the design of the interaction mode and page elements.

[0071] Specifically, based on the intelligent regulation business scenario of the low-voltage power grid area, the business process design unit selects components such as data collection, logical operation, and device control from the component library with the help of a visual modeling tool. For example, when constructing a power grid fault warning process in the power grid area, it successively connects the data collection component, the logical judgment component, and the device control component, sets the data flow direction according to the business logic order, and completes the process-based orchestration. For each component, through the property setting window, it sets parameter thresholds such as voltage and current and judgment rules for the logical judgment component, and can also customize complex logic using a scripting language to achieve business logic configuration. According to the unified data interface specification, it ensures accurate data transmission between components and can dynamically adjust parameter transfer according to changes in the real-time business scenario, achieving parameter interaction configuration, realizing personalized customization of the business process of the IoT device data status analysis APP, improving the system's processing ability for complex business scenarios and the accuracy of data status analysis, and precisely adapting to diverse business needs.

[0072] In the data interaction process of the Internet of Things device data status analysis APP, the service parameter configuration unit configures parameters such as the register address and acquisition frequency of the smart meter in the acquisition process, the buffer size and timeout in the transmission process, and the line loss calculation in the analysis process according to the device communication protocol and data characteristics, and completes the parameter interaction configuration; using the rule engine technology, logical judgment conditions and processing actions such as triggering alarms and troubleshooting processes when the line current exceeds the limit and lasts for a certain period of time are set through a visual interface, and script writing is also supported to expand complex logics, and the logical judgment rules can be adjusted according to business changes to ensure that the APP processes data accurately, improve the flexibility and accuracy of data processing, and enhance the adaptability of the system to different business scenarios and the effectiveness of data analysis.

[0073] When the UI interface design unit designs the interaction mode and page elements for the front-end interface of the Internet of Things device data status analysis APP, for operation and maintenance personnel, simple and intuitive icons and menu layouts are adopted to highlight common functions such as device monitoring and fault handling, and gesture operations are supported to improve efficiency. Interactive reports and charts are designed for management personnel to display data for convenient decision-making, and intelligent search and filtering functions are also set; in the design of page elements, the layout is reasonably planned, important information and operation buttons are placed in prominent positions, a color scheme that conforms to the power industry is selected, green represents normal equipment and red represents faults, clear and easy-to-read font sizes are selected, and the chart design focuses on accurately displaying data and adding annotations and legends to enhance the convenience and friendliness of user interaction with the system, optimize the user experience, enable users to operate more efficiently and obtain data status analysis results, and improve the practicality of the system and user satisfaction.

[0074] The APP management module includes an APP management unit, an APP monitoring unit, and an APP scheduling unit. The APP management unit is used to implement the remote operation management of the IoT APP, including functions such as start, stop, pause, and resume, and at the same time realizes large-scale installation and deployment. The APP monitoring unit is used to monitor the status, performance, and resources of the IoT APP in real time, and provides operation log viewing, historical version query, and business data feedback. The APP scheduling unit is used to perform intelligent resource scheduling on the IoT APP according to the APP priority, business requirements, and resource occupancy. By analyzing the data feedback from the monitoring interface and combining the threshold setting, reasonable allocation of various operating resources of the APP is carried out.

[0075] Specifically, the APP management unit realizes the remote operation and management of the IoT device data status analysis APP by establishing a secure and reliable communication link with the edge intelligent gateway (such as based on the MQTT or HTTPS protocol). When operations such as start and stop need to be executed, the management unit encapsulates the operation instructions into a standardized data format (such as JSON), attaches the device identifier and permission verification information, and then sends them to the target gateway. After parsing the instructions, the gateway calls the local API to execute the corresponding operations, and at the same time supports the real-time feedback of operation results and the exception retry mechanism. In terms of large-scale installation and deployment, the APP management unit stores the APP installation package and supporting configuration files in the cloud repository uniformly, supports formulating batch deployment strategies according to device groups (such as by substation area, device model), batch-selecting target devices through automated scripts or visual interfaces, and the system automatically generates differentiated deployment tasks (such as container images adapted to the ARM / x86 architecture). Through the breakpoint resumption technology, it ensures the reliable transmission of large files. After receiving, the intelligent gateway automatically completes decompression, environment configuration (such as installation of dependent components, port mapping settings), and registry writing, realizing "one-key" batch installation across different hardware platforms. During the process, it monitors the deployment progress in real time and automatically records logs, greatly saving the time cost of manual operation for each device, ensuring the stable operation of the APP in different network environments and hardware configurations. Through permission hierarchical management (such as distinguishing deployment strategies for development, testing, and production environments) and version consistency verification, it improves the efficiency of the system's full life cycle management of the APP, enhances the rapid deployment ability and operation and maintenance standardization level in the large-scale IoT device scenario.

[0076] The APP monitoring unit includes a real-time status monitoring subunit, an operation log recording and analysis subunit, and a historical version management subunit. The APP scheduling unit includes a resource intelligent allocation subunit and a performance optimization scheduling subunit. The real-time status monitoring subunit is used to monitor the running status of the IoT APP in real time, including aspects such as APP status, performance, and resources. By collecting and analyzing relevant data, it provides timely and accurate information for operation and maintenance personnel. The operation log recording and analysis subunit is used to record the operation conditions of the IoT APP on the integrated terminal device. The historical version management subunit is used to retain all historical versions of the IoT APP. The resource intelligent allocation subunit is used to intelligently schedule and reasonably allocate various running resources of the IoT APP according to the APP priority, business requirements, and resource occupancy. The performance optimization scheduling subunit is used to dynamically adjust the APP resource allocation strategy based on the monitoring and analysis of the running status and resource usage of the IoT APP, according to the performance indicators and threshold settings.

[0077] Specifically, the real-time status monitoring subunit deploys a lightweight monitoring agent (such as a probe based on Prometheus) in the running environment of the IoT device data status analysis APP to collect real-time APP running status data, covering process status (start / stop / abnormal exit), performance metrics (CPU utilization, memory occupancy, disk I / O rate, network throughput), resource usage (number of threads, number of file handles, port connection status), and business data (data processing latency, task queue backlog, interface call success rate). It performs real-time analysis on the collected data through a preset rule engine, including threshold comparison (such as triggering an alarm when the CPU usage exceeds 70% continuously for 10 minutes), trend prediction (fitting the resource usage curve based on historical data), and abnormal pattern recognition (detecting memory leaks or thread deadlocks through machine learning), providing visual dashboards and real-time alarms for operation and maintenance personnel to achieve precise monitoring of the APP running status and anticipation of potential problems.

[0078] The operation log recording and analysis subunit deploys a log collection module in the integrated terminal device and the cloud management platform to record the full-link data of APP operations, including operation trigger time, executing user / system module identifier, operation type (component call, parameter configuration modification, device control instruction issuance), operation object (such as smart meter device ID, data collection task number), input / output parameters (such as instruction content, return status code), and associated context (network connection ID, transaction serial number). It performs structured storage and retrieval through the ELK (Elasticsearch-Logstash-Kibana) log management system, supporting operation and maintenance personnel to trace the operation history, locate the root cause of abnormal operations (such as instruction errors caused by misconfiguration), analyze the efficiency of the operation process, and provide an operation trace evidence chain for system security auditing to enhance system manageability.

[0079] The intelligent resource allocation subunit, based on the resource usage data provided by the real-time monitoring subunit (such as CPU core occupancy, memory partition usage, network bandwidth peak) and the APP priority configuration (defining the resource guarantee level of key business APPs through QoS policies), adopts dynamic scheduling algorithms (such as load balancing algorithms, best-fit allocation strategies), and combines container technologies (such as Docker resource quota configuration) to achieve dynamic allocation of resources such as CPU cores, memory space, and network bandwidth. For example, when it detects that the memory usage rate of a load forecasting APP in a certain area continuously exceeds 80%, it automatically increases its memory quota by 10% and adjusts the CPU scheduling priority.

[0080] The performance optimization subunit analyzes real-time monitoring data and historical performance baselines (such as resource usage benchmark values under various business scenarios) to identify resource bottlenecks (such as response latency caused by insufficient database connection pools), and uses intelligent algorithms (such as genetic algorithms to optimize resource allocation parameters) to dynamically adjust the resource allocation strategy. For example, during peak electricity consumption periods, it automatically increases the network bandwidth resources of data collection apps by 20%, and reclaims idle resources during low-load periods to improve overall resource utilization. By continuously iterating the strategy model, it realizes the dynamic optimization of app resource allocation and the continuous improvement of system performance, ensuring the stable and efficient operation of apps under different business scenarios.

[0081] The system management module includes a resource management unit and an interface management unit. The resource management unit is used to uniformly manage and configure permissions for the operating resources of each module in the system, including the policy settings of load balancing, resource isolation, and backup recovery. The interface management unit is used to provide the management of the interfaces between the system and external systems and the internal modules, including the edge device information collection interface, the edge computing app distribution interface, the edge computing app information collection interface, and the edge computing app operation and maintenance interface.

[0082] Specifically, the resource management unit realizes the unified management and control of the operating resources of each module in the Internet of Things device data status analysis system by constructing a resource scheduling center under the microservices architecture. First, it classifies and models computing resources (CPU core count, memory space), storage resources (disk capacity, IO throughput), and network resources (bandwidth, ports), generates resource description files (defining resource requirement thresholds and priority levels) for each module, and supports resource query through a visual interface or API (such as retrieving the current CPU occupancy rate by module name); in the resource monitoring link, it integrates the Prometheus + Grafana monitoring system to collect the resource usage data of each module in real time (such as the real-time memory usage rate, disk IO queue length), and combines the preset resource allocation strategy (such as the dynamic quota algorithm based on priority). When it detects that the memory usage rate of a certain module continuously exceeds the threshold, it automatically triggers the resource reallocation process, dynamically adjusts the CPU / memory quota of the module through container orchestration technology (such as Kubernetes HPA), and at the same time reclaims and redistributes long-term idle resources (such as CPU cores with a utilization rate lower than 10% for 2 consecutive hours); in terms of permission configuration, it adopts role-based access control (RBAC), assigns resource operation permissions to different user roles (development, testing, operation and maintenance) (such as restricting development users to only query resource status and prohibiting modification of the memory quota of core modules), and combines the access control list (ACL) to refine to specific resource objects (such as read and write permissions for specific database ports) to ensure reasonable resource allocation and secure access, and improve the system resource utilization efficiency and refined management level.

[0083] The interface management unit uses the API gateway (such as Nginx API Gateway) as the unified entry to realize the full - life - cycle management of interfaces inside and outside the system. For external system interfaces (such as the connection with the Internet of Things platform and third - party databases), first, interface registration is carried out. The access party is required to provide an OpenAPI specification document, and protocol conversion (such as the mutual conversion between RESTful API and SOAP protocol) and security authentication (OAuth2.0 token verification, IP white - list restriction) are completed. When publishing, an interface call document and an SDK toolkit are generated to facilitate the access of external systems. For internal module interfaces, the service registration and discovery mechanism (such as Consul) is used to monitor the interface status in real - time (online / offline, response latency, call success rate). The circuit - breaker mechanism (such as Hystrix) is adopted to prevent cascading interface failures. When the response time of a certain internal interface exceeds 500ms and the error rate is higher than 20%, it will be automatically fused and switched to the standby interface. At the same time, interface call logs (including input parameters, return values, call timestamps) are recorded, and call frequency limitation (such as the maximum number of calls per second) and traffic monitoring are supported through the interface management interface. In terms of interface security, the transmitted data is encrypted with SSL / TLS, two - way authentication (client certificate + server signature) is implemented for sensitive interfaces, and interface security scans are regularly carried out (such as detecting vulnerabilities with OWASP ZAP) to ensure the stability and reliability of the interfaces. For the access of new modules, a standardized interface definition template (based on the Swagger specification) and an automated test process (such as Postman batch test cases) are provided to simplify the access process. Through interface version management (semantic version control), the smooth upgrade of system functions is supported, the compatibility between new and old modules is guaranteed, and the system integration and scalability are improved.

[0084] The cloud - edge collaboration module includes an engine registration unit, an engine operation and maintenance unit, and an access authentication unit. The engine registration unit is used to manage the information of the intelligent control operation engine of the edge - computing APP, covering the type, status, location, running duration, start time, device name, and number information of the engine. The engine operation and maintenance unit is used to realize the monitoring and operation and maintenance management of the intelligent control operation engine of the edge - computing APP. The access authentication unit is used as a security barrier for system interaction to verify the user identity of the intelligent control operation engine of the edge - computing APP, authorize permissions, and configure encryption algorithms and policies to ensure system security.

[0085] Specifically, the engine registration unit builds a distributed registration center (such as based on Consul or Eureka) in the cloud-edge collaboration module, providing a standardized registration interface for the intelligent regulation and operation of the edge computing APP engine. When the engine is accessed, it needs to submit metadata including the engine type (such as Java / Python runtime environment), version number, supported protocols (MQTT / HTTP), device hardware information (CPU architecture, memory capacity), security certificate (digital signature file), etc. The registration center automatically generates a unique engine ID and associates it with the device identifier (such as MAC address), encrypts and stores the registration information in the distributed database, and supports querying the engine registration status (online / offline, last heartbeat time) and detailed configuration through the API or visual interface, ensuring that the engine is uniquely identified and legally managed in the system, and establishing a basic information mapping for cloud-edge data collaboration.

[0086] The engine operation and maintenance unit realizes the comprehensive management of the engine by integrating the Prometheus + Grafana monitoring system and automated operation and maintenance scripts. In terms of start-stop control, it supports remote batch operations (such as starting 100 edge node engines simultaneously through Kubernetes commands). The status monitoring collects the engine operation parameters (CPU occupancy, memory leak detection, thread pool status) and edge device metrics (temperature, network connection stability) in real time. The log record uses the ELK stack to achieve multi-dimensional log storage (operation logs, error stacks, resource call traces) and supports keyword retrieval and exception log clustering analysis. The version management compares the engine version number (following the semantic versioning rules) with the latest version in the cloud, automatically downloads the differential upgrade package, and realizes non-stop upgrade through container image technology (such as Docker image layer update). At the same time, it records the upgrade log for rollback operations, ensuring the stable and efficient operation of the engine in different hardware environments.

[0087] The access authentication unit constructs a security authentication system using OAuth2.0 and mutual TLS (mTLS) technology. When a user accesses the engine, they need to first pass through the identity authentication gateway and submit a request containing a device certificate (X.509 certificate) and a dynamic token (JWT). The authentication system verifies the validity of the certificate and the token signature (using the SHA-256 hash algorithm), combines with the RBAC (role-based access control) policy, and assigns operation permissions according to the user role (administrator / ordinary user) (for example, an administrator can configure engine parameters, while an ordinary user can only view the status). AES-256 encryption is implemented for data transmission at the interface layer, and two-factor authentication (sms verification code + hardware U-key) is enabled for critical operations (such as engine configuration modification). At the same time, IP sources and port access are restricted through an access control list (ACL), and authentication logs (success / failure records, attempt times, timestamps) are recorded in real time to prevent unauthorized access and over-privileged operations, ensuring that only authorized entities can call engine functions and maintaining the security of data and resources during the cloud-edge collaboration process.

[0088] Thus, the present invention provides a system for generating and managing an IoT device data status analysis APP, and the following beneficial effects can be achieved through the present invention:

[0089] 1. In the present invention, by dividing functions into multiple clear modules such as component development, APP development, APP management, system management, and cloud-edge collaboration, the responsibilities of each module are clear, reducing the coupling between modules, making the system architecture more flexible, easy to expand and maintain, thus improving the problem that in the existing system, due to unclear division of functional modules, the coupling degree between modules may be relatively high, which may result in a bloated system architecture that is not conducive to maintenance.

[0090] 2. In the present invention, through the cloud-edge collaboration module, according to the resources allocated by the system management module, the APP can be sent to the edge device for execution using the dedicated operation engine of the IoT APP, achieving the proximity processing of data at the edge end, reducing data transmission latency, and improving the response speed and overall processing efficiency of the system.

[0091] 3. In the present invention, through the component development module, a general component library including functions such as standard application layer protocols, functional development, and program logic control is developed, and is designed based on component abstraction and reuse technology, improving the generality and reusability of the components.

[0092] 4. In the present invention, the APP development module builds the APP by adopting a visual drag-and-drop and configuration method. Business personnel only need to focus on business logic and can complete APP development through simple operations without in-depth understanding of underlying technical details, greatly reducing the development threshold, enabling more non-technical personnel to participate in IoT application development, accelerating the development and deployment speed of IoT applications, and improving the integration degree of business and technology.

[0093] The above are the preferred embodiments of the present invention. It should be noted that for those of ordinary skill in the art, without departing from the principle of the present invention, several improvements and refinements can be made, and these improvements and refinements are also regarded as the protection scope of the present invention.

Claims

1. A generation and management system for an IoT device data status analysis APP, characterized in that, Including: A component development module, an APP development module, and an APP management module; The component development module is used to encapsulate each preset function into a corresponding component according to the component source code of each component, obtain a general component including a standard application layer protocol, functional development, and program logic control, and store the general component in a preset component library; The APP development module is used to extract the corresponding general component from the component library as a target component, connect the extracted target components, set the data flow direction in each target component according to a preset business logic sequence, and configure the business logic and parameter interaction of each target component through the property setting window and data interface of each component, generate a corresponding Internet of Things device data status analysis APP, and then set the processing logic for parameter interaction configuration and logical judgment for the links that need to perform data interaction in the Internet of Things device data status analysis APP; The APP management module is used to generate a corresponding remote operation instruction according to the remote operation request when receiving the remote operation request of the Internet of Things device data status analysis APP, and send the remote operation instruction to the corresponding target gateway, so that the target gateway calls the local API to execute the corresponding remote operation according to the remote operation instruction, and real-time monitors the status, performance, and resources of the Internet of Things device data status analysis APP, and real-time allocates various running resources in the Internet of Things device data status analysis APP.

2. The generation and management system of the Internet of Things device data status analysis APP according to claim 1, characterized in that, The component development module includes: a component data upload unit, a component design tool unit, a component installation and update unit, and a component library unit; The component data upload unit is used to obtain the corresponding component source code and store it in a preset component library when receiving an upload request for the component source code, and extract the corresponding component source code from the component library and download it to the target address when receiving a download request for the component source code; The component design tool unit is used to encapsulate each preset function into a corresponding component according to the component source code and expose the standardized interfaces of each component; The component installation and update unit is used to store the component in the component library, extract the component to be installed from the component library and deploy it to the target device when receiving a component installation request, obtain the corresponding differential update package when receiving a component update request, and update the component to be updated according to the differential update package; The component library unit is used to store and manage each component; among them, the components include: general components and special components.

3. The generation and management system of the IoT device data status analysis APP according to claim 2, wherein, The APP development module includes: a business process design unit, a business parameter configuration unit, and a UI interface design unit; The business process design unit is used to extract corresponding target components from the component library according to the intelligent regulation business requirements of the low-voltage power grid area, connect the extracted target components, set the data flow direction in each target component according to the preset business logic sequence, and configure the business logic and parameter interaction of each target component through the attribute setting window and data interface of each component to generate the corresponding Internet of Things device data status analysis APP; The business parameter configuration unit is used to perform parameter interaction configuration and processing logic setting of logical judgment on the links that need to perform data interaction in the Internet of Things device data status analysis APP; The UI interface design unit is used to design the interaction mode and page elements of the front-end interface in the Internet of Things device data status analysis APP.

4. The generation and management system of the IoT device data status analysis APP according to claim 3, characterized in that, The APP management module includes: an APP management unit, an APP monitoring unit, and an APP scheduling unit; The APP management unit is used to generate a corresponding remote operation instruction according to the remote operation request when receiving the remote operation request of the Internet of Things device data status analysis APP, and send the remote operation instruction to the corresponding target gateway, so that the target gateway calls the local API to execute the corresponding remote operation according to the remote operation instruction; The APP monitoring unit is used to monitor the status, performance, and resources of the Internet of Things device data status analysis APP in real time and generate corresponding monitoring feedback data; The APP scheduling unit is used to perform resource scheduling on the Internet of Things device data status analysis APP according to the APP priority, business requirements, and resource occupancy situation, and allocate various running resources in the Internet of Things device data status analysis APP according to the monitoring feedback data.

5. The generation and management system of the IoT device data status analysis APP according to claim 4, wherein The APP monitoring unit includes: a real-time status monitoring subunit, an operation log recording and analysis subunit, and a historical version management subunit; The real-time status monitoring subunit is used to obtain the running status data of the Internet of Things device data status analysis APP, and analyze the resource usage trend and abnormal mode of the Internet of Things device data status analysis APP according to the running status data; among them, the running status data includes: process status, performance indicators, resource usage, and business data; The operation log recording and analysis subunit is used to obtain and store the full-link data of the operations of the Internet of Things device data status analysis APP on the target device; among them, the full-link data includes: operation trigger time, execution module identifier, operation type, operation object, and input and output parameters; The historical version management subunit is used to store all historical versions of the Internet of Things device data status analysis APP.

6. The generation and management system of the IoT device data status analysis APP according to claim 5, characterized in that, The APP scheduling unit includes: a resource intelligent allocation subunit and a performance optimization scheduling subunit; The resource intelligent allocation subunit is used to perform resource scheduling and allocation on various running resources of the Internet of Things device data status analysis APP according to the APP priority, business requirements, and resource occupancy situation; The performance optimization scheduling subunit is used to analyze the operating status and resource usage of the Internet of Things device data status analysis APP according to the monitoring feedback data, and adjust the resource allocation of the Internet of Things device data status analysis APP according to the analysis results.

7. The generation and management system of the IoT device data status analysis APP according to claim 6, characterized in that It further includes: A system management module; The system management module is used to perform dynamic resource allocation for each module in the Internet of Things device data status analysis APP.

8. The generation and management system of the Internet of Things device data status analysis APP according to claim 7, characterized in that, The system management module includes a resource management unit and an interface management unit; The resource management unit is used to configure the permissions for the operating resources of each module in the Internet of Things device data status analysis APP; The interface management unit is used to manage the external system interfaces and internal module interfaces in the Internet of Things device data status analysis APP. Among them, the external system interfaces and internal module interfaces include: edge device information collection interfaces, edge computing APP distribution interfaces, edge computing APP information collection interfaces, and edge computing APP operation and maintenance interfaces.

9. The generation and management system of the IoT device data status analysis APP according to claim 8, characterized in that, It further includes: A cloud-edge collaboration module; The cloud-edge collaboration module is used to interpret the Internet of Things device data status analysis APP as underlying code according to the control operation engine in the Internet of Things device data status analysis APP and send it to the edge device.

10. The generation and management system of the Internet of Things device data status analysis APP according to claim 9, characterized in that, The cloud-edge collaboration module includes an engine registration unit, an engine operation and maintenance unit, and an access authentication unit; The engine registration unit is used to manage the control operation engine information in the preset edge computing APP. Among them, the control operation engine information includes: the type, status, location, running duration, start time, device name, and number information of the engine; The engine operation and maintenance unit is used to monitor and perform operation and maintenance management on the control operation engine in the edge computing APP; The access authentication unit is used to verify the user identity and authorize the permissions of the control operation engine in the edge computing APP.

Citation Information

Cited By

  • Industrial APP generation method and system

    CN121116242A

  • An industrial APP generation method and system

    CN121116242B