Embedded intelligent device online programming device
Patent Information
- Application Number
- CN202610683391.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-05-18
- Publication Date
- 2026-08-21
AI Technical Summary
该方式操作流程复杂,对人员专业能力要求高,且必须停机操作,严重影响设备正常运行
本发明通过六大模块协同工作,实现嵌入式智能化设备在线编程与功能升级,无需重新编程烧录,无需专业代码能力,普通用户即可完成操作。升级全程可在3分钟内完成,不中断设备运行,大幅提升响应速度,避免大量设备因无法升级而淘汰,节约社会资源,符合绿色低碳发展理念,具备显著经济与社会效益。
Smart Images

Figure CN122614352A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of embedded programming technology, specifically to an online programming device for embedded intelligent devices. Background Technology
[0002] Most of the functions of existing embedded intelligent devices are fixed before leaving the factory. If function upgrades, modifications, or customized updates are required according to user needs, it usually requires professionals to rewrite the code, compile, and flash the firmware. This method is complex, requires high levels of expertise from personnel, and necessitates shutdown for operation, which seriously affects the normal operation of the device.
[0003] For existing equipment already deployed in large numbers, on-site upgrades are costly and time-consuming. Some equipment cannot be disassembled and reprogrammed due to installation environment limitations, leading to a lack of equipment iteration, shortened lifespan, and wasted resources. Furthermore, traditional upgrade methods rely on specialized programming skills, which are difficult for ordinary maintenance personnel to complete independently. Therefore, there is an urgent need for a device that can quickly update functions online without reprogramming, addressing the pain points of existing technologies. Summary of the Invention
[0004] The purpose of this invention is to provide an online programming device for embedded intelligent devices, which enables zero-code, non-stop, online function updates for embedded devices through component-based packaging combined with graphical configuration and dynamic linked list execution.
[0005] To achieve the above objectives, the present invention provides the following technical solution: an online programming device for embedded intelligent devices, comprising the following modules: an embedded functional component set and its manager, used to standardize and encapsulate single sub-functions of the intelligent device to form a reusable component set, and providing a description table and management interface; a configurable dynamic linked list, composed of nodes, used to carry the configured logical flow; a configurable dynamic linked list manager, used to receive the linked list, parse nodes, complete local dynamic linking, and store it; a dynamic linked list executor, used to call components according to the logical order of the linked list and execute the updated function; an online configuration tool, used for graphical configuration and compilation to generate the dynamic linked list; and a configuration file download tool, used to reliably transmit the dynamic linked list to the intelligent device.
[0006] Furthermore, the embedded functional component set and its manager encapsulate all sub-functions according to a unified specification, generating a component description table containing component ID, name, number of parameters, parameter type, and function description; providing standard methods for adding and deleting components, and recording the component execution entry address for subsequent dynamic linking.
[0007] Furthermore, the configurable dynamic linked list node consists of a main element, a parameter list, a true branch pointer pNT, and a false branch pointer pNF, used to represent logical judgments and execution flow.
[0008] Furthermore, the configurable dynamic linked list manager resets the pointer to the actual local address of the device, completes the secondary dynamic link, and manages the temporary storage units required for the operation of the linked list.
[0009] Furthermore, the dynamic linked list executor starts execution from the head node, selects pNT or pNF branch jump based on the boolean return value, and completes the full logical flow.
[0010] Furthermore, the online configuration tool provides a visual drag-and-drop interface that automatically generates component diagrams. Users can define logical relationships by connecting lines and complete complex task configurations without writing code.
[0011] Furthermore, the configuration file download tool transmits dynamic linked lists via Ethernet and RS485, supports breakpoint resume and CRC32 verification, ensuring data integrity and reliability.
[0012] Compared with the prior art, the beneficial effects of the present invention are: This invention enables online programming and function upgrades for embedded intelligent devices through the collaborative operation of six modules. No reprogramming or re-burning is required, nor are professional coding skills necessary; ordinary users can complete the operation. The entire upgrade process can be completed within 3 minutes without interrupting device operation, significantly improving response speed and preventing the obsolescence of numerous devices due to inability to upgrade. This saves social resources, aligns with the concept of green and low-carbon development, and yields significant economic and social benefits.
[0013] This invention modularizes functions, graphically configures them, and dynamically executes them, reducing the reliance on professional personnel and on-site environments for equipment upgrades, reducing manpower and time costs, and extending equipment lifespan. It is applicable to new equipment configurations and the upgrading of existing equipment, covering multiple fields such as industry, new energy, power, automobiles, and the Internet of Things. Attached Figure Description
[0014] Figure 1 is a schematic diagram of the modular structure of the device of the present invention; Figure 2 is a schematic diagram of the working process of the device of the present invention; Figure 3 is a schematic diagram of the graphical operation interface of the online configuration tool of the present invention; Figure 4 is a schematic block diagram of the structure of the dynamic linked list of the present invention. Detailed Implementation
[0015] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0016] Please see Figure 1-4 The present invention provides the following technical solutions: In this embodiment, the embedded intelligent device online programming device includes the following modules: Embedded functional component set and its manager: As the functional foundation of the device, according to the unified component definition specification, all the single sub-functions of the intelligent device are encapsulated into independent components, forming a component set covering all functions of the device, and generating usage instructions and configuration component description tables. The component definition format is a general procedure method, including: Boolean return value, component name, n general formal parameters (n is agreed upon by the specific system implementation), and component description table, which contains key information such as the ID, name, number of functional parameters, parameter table type description, and component function description (optional) of all components; The component definition specification is jointly followed by embedded devices and online programming systems. The programming implementation and execution of components are within the embedded system. Components that conform to the specification are added to the component set and removed from the component set by the two methods of the embedded system's component manager: <Add Component (Component Prototype)> and <Delete Component (Component Prototype)>. The <Add Component> method also records the entry address of the executable code of the component to the component set data, which is used as private local data of the component table for later dynamic linking of components. Configurable dynamic linked list manager: It undertakes the full lifecycle management of dynamic linked lists, including receiving linked list data generated by online configuration tools, storing temporary data online, and after the smart device receives the linked list, completing node parsing, secondary linking of local resources, and permanently storing the linked dynamic linked list in the smart device. A dynamic linked list consists of multiple nodes. Each node comprises a main element, a main element parameter list, a pointer to the true branch node (pNT), and a pointer to the false branch node (pNF). When a configurable dynamic linked list manager receives a dynamic linked list generated by an online configuration tool, it resets pNT and pNF with the actual address of the target linked list to complete the local dynamic linking and stores the linked list. The configurable dynamic linked list manager also manages the local storage units used by the linked list, providing temporary data storage for the elements within the list. Dynamic linked list executor: As the execution core, after the smart device activates a new dynamic linked list, it calls the corresponding components according to the logical order of the linked list to execute user-defined complex tasks and realize the operation of the device after the function update; The executor begins execution by calling the main element of the head node of a linked list using the parameters within the node, and uses the boolean value returned by the head node to call other nodes in the linked list through the true branch node pointer pNT and the false branch node pointer pNF; Online configuration tool: Provides a graphical user interface, establishes a connection with smart devices through a communication interface, reads the embedded functional component set and the component description table in its manager, and automatically generates visual primitives for each component; users can drag and drop primitives to perform logical combinations and complete complex task definitions. The tool has a built-in compilation function to convert the configuration logic into a dynamic linked list that can be recognized by the smart device. The visual primitives consist of boxes representing element operators, multiple input lines representing input parameters, and output lines representing true and false branches. The output line of the previous element is connected to the input line of the next element, forming the link logic of the true branch node pointer pNT and the false branch node pointer pNF of the linked list node where the element is located. The online tool parses the element linked list, parameter definitions and link relationships generated by the graphical configuration tool, generates a configurable dynamic linked list, and transmits it to the receiving unit of the configurable dynamic linked list manager of the embedded device through the download tool. Configuration file download tool: Responsible for data transmission, it downloads the dynamic linked list generated by the online configuration tool to the smart device through the communication interface, ensuring the stability and integrity of data transmission.
[0017] When in use, the device is first powered on, the component manager loads all functional components and description tables, the online configuration tool connects to the device, automatically reads and generates component primitives, the user drags and drops the configuration logic, compiles and generates a dynamic linked list, the download tool downloads the linked list to the device, the linked list manager completes dynamic linking and storage, the actuator activates the new linked list, and the device runs according to the new logic. The whole process does not require disassembly, flashing, or writing code, and can be completed independently by ordinary maintenance personnel.
[0018] Although embodiments of the invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the appended claims and their equivalents.
Claims
1. An online programming device for embedded intelligent devices, characterized in that, Includes the following modules: Embedded functional component set and its manager are used to standardize and encapsulate sub-functions of smart devices into components, and provide component description and management interfaces; A configurable dynamic linked list is used to carry the device logic tasks after graphical configuration. A configurable dynamic linked list manager for receiving, parsing, locally dynamically linking, and storing dynamic linked lists; A dynamic linked list executor is used to call components according to linked list logic and execute updated functions. Online configuration tool for graphical drag-and-drop configuration and compilation to generate dynamic linked lists; Configuration file download tool for securely downloading dynamic linked lists to embedded smart devices.
2. The embedded intelligent device online programming device according to claim 1, characterized in that, The embedded functional component set and its manager include component definition specifications, single-function component sets, component usage instructions, and configuration component description tables. The component definition specifications are shared by the embedded system and the online programming system. The component manager has methods for adding and deleting components and records the component execution entry address for dynamic linking.
3. The embedded intelligent device online programming device according to claim 1, characterized in that, The configurable dynamic linked list consists of several nodes, each node containing a main element, a main element parameter list, a true branch node pointer pNT, and a false branch node pointer pNF.
4. The embedded intelligent device online programming device according to claim 1, characterized in that, The configurable dynamic linked list manager has functions such as online storage, node parsing, secondary linking of local resources, local storage unit management, and permanent storage.
5. The embedded intelligent device online programming device according to claim 1, characterized in that, The dynamic linked list executor starts execution from the head node of the linked list and jumps to the branch logic through the pNT and pNF pointers based on the boolean value returned by the element.
6. The embedded intelligent device online programming device according to claim 1, characterized in that, The online configuration tool can read the component description table in the smart device and automatically generate visual primitives, supports drag-and-drop connection configuration, and compiles and outputs a dynamic linked list that the device can recognize.
7. The embedded intelligent device online programming device according to claim 1, characterized in that, The configuration file download tool supports Ethernet and RS485 communication and has breakpoint resume and CRC32 verification functions.
8. The embedded intelligent device online programming device according to claim 1, characterized in that, Function upgrades, changes, or customizations can be achieved online via dynamic linked lists without reprogramming or flashing firmware to smart devices.