A plug-and-play off-grid edge node and layered collaborative gateway platform and manufacturing process

By designing the PCBA substrate and identifying external modules, the fragmentation and security risks of off-grid IoT hardware architecture are resolved. This enables rigid division of hardware roles and complete machine replacement, optimizes resource utilization and system efficiency, and reduces manufacturing costs.

CN123185019APending Publication Date: 2026-11-27SHENZHEN CHUTONG NETWORK TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611026133.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2026-05-28
Filing Date
2026-07-10
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

The existing off-grid IoT field suffers from problems such as fragmented hardware architecture, resource mismatch, security risks, non-reusable manufacturing processes, and an imperfect plug-and-play ecosystem at the module level, resulting in long R&D cycles, high costs, poor security, resource waste, and low efficiency.

Method used

The PCBA substrate design is adopted, and the rigid division of hardware roles is achieved through role-fixed soldering areas, role identification resistor networks and functional configuration fuse arrays. A hierarchical collaborative network topology is constructed, and the built-in identity identification and security authentication mechanism of the external module is used to achieve module-level plug-and-play and fault self-healing, and decouple the communication and energy modules.

Benefits of technology

It achieves absolute security for hardware components and ease of complete system replacement, reduces manufacturing costs and inventory pressure, optimizes resource utilization, and improves system reliability and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123185019A_ABST
    Figure CN123185019A_ABST
Patent Text Reader

Abstract

The application discloses a plug-and-play off-grid edge node and a layered cooperative gateway platform and a manufacturing process, adopts a unified PCBA substrate, and physically rigidly divides three types of hardware roles through differential welding, a role recognition resistance network of 10kΩ single / 20kΩ series / 5kΩ parallel, and an unalterable eFuse fuse array. The edge node is only equipped with energy and a general interface, the inner network gateway is additionally equipped with a power amplifier, a low-noise amplifier and a cache, and the outer network gateway is additionally provided with a communication expansion interface, and the roles of the hardware and functions are strictly matched. The system forms a tree-type layered topology, the inner network gateway converges data, the outer network gateway transmits data in batches, and the communication cost is reduced. A hierarchical energy consumption guarantee strategy is adopted to preferentially guarantee local networking communication. An external module is internally provided with an identity mark, and zero-configuration plug-and-play is realized through low-voltage security authentication. In manufacturing, a general semi-finished product is generated through front SMT, and is burned and programmed through differential welding in the rear, and the component reuse rate is high. The whole machine is replaced and recovered within 10 seconds through breakpoint marking, and is suitable for extremely off-grid unmanned maintenance scenes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of IoT terminal hardware architecture, platform-based manufacturing process, and hierarchical collaborative network technology. Specifically, it relates to an architecture, system, and process for rigidly classifying and replacing three hardware roles—edge nodes, intranet gateways, and external gateways—in extreme off-grid scenarios without public power grids, public communication network coverage, or manual on-site maintenance. This is achieved through a unified PCBA substrate designed for platform-based production, a role-fixed soldering area, a role identification resistor network, and a functional configuration fuse array. The three roles share the same manufacturing platform and bill of materials. The front-end processes generate generic semi-finished products that cannot distinguish the final role, while the subsequent differentiated processes complete the role differentiation.

[0002] This invention also introduces a secure plug-and-play mechanism based on the built-in identity identifier of the external module, and through characteristic-differentiated interfaces and adapted low-voltage security authentication and precise power supply processes, it realizes full plug-and-play, security authentication and fault self-healing of all external modules, and constructs a new paradigm of off-grid IoT hardware with physically fixed hardware roles, highly reusable manufacturing processes, hierarchical and collaborative network topology, independent decoupling of communication and energy modules, and a complete module-level plug-and-play ecosystem. Background Technology

[0003] The current off-grid IoT field faces fragmentation among three core technology branches, each with its own inherent shortcomings. The first branch, with its module-level plug-and-play ecosystem, solves the module identification and adaptation problem but fails to address the hardware solidification and platform-based manufacturing of the main control board. The second branch, edge computing hardware manufacturing, generally adopts a "one scenario, one design" model, resulting in long development cycles and high costs; a few software-defined solutions lead to uncontrolled node power consumption or insufficient gateway capabilities, and pose security risks. The third branch, with its large-scale off-grid network architecture, employs a flat design, with all gateways independently handling wide-area backhaul, resulting in communication module redundancy, energy waste, and resource misallocation.

[0004] The aforementioned situation has led to six major structural defects: First, fragmented hardware architecture, lacking a platform-based reuse solution covering all three roles, resulting in high inventory and manufacturing costs. Second, in large-scale scenarios, the roles of intranet aggregation and wide-area backhaul are not distinguished, leaving 90% of gateway external communication modules idle and causing severe resource mismatch. Third, software-defined role solutions pose fundamental security risks; firmware tampering can lead to network topology chaos, and forcing nodes or intranet-type gateways to undertake tasks beyond their hardware capabilities can cause performance crashes. Fourth, the coupled design of energy circuits and main control board requires redesigning the entire board for technology upgrades, hindering independent iteration. Fifth, manufacturing processes for products with different roles are not reusable, resulting in time-consuming and inefficient production line switching. Sixth, the existing module-level plug-and-play ecosystem only covers full-function terminals and does not provide dedicated protection or a coordinated mechanism for complete machine replacement for the three product forms: edge nodes, intranet-type gateways, and external gateways. Summary of the Invention

[0005] The present invention aims to overcome the above-mentioned defects of the prior art and provide a platform-based hardware architecture, system and manufacturing process for off-grid IoT edge nodes and hierarchical collaborative gateways. The specific objectives are as follows.

[0006] First, a rigid architecture defining three hardware roles is established. Through PCBA physical layer design, including the soldering content of role-defined areas, role identification resistor networks, and functional configuration fuse arrays, the role boundaries of the three roles are solidified, eliminating the ambiguity and security risks of software-defined roles, and achieving hardware-level role authentication and physically immutable role confirmation. Edge nodes only handle data collection and reporting, intranet gateways handle node aggregation and coordination within their respective areas, and external gateways primarily handle wide-area data backhaul. The hardware capabilities of the three roles are strictly matched to their functions.

[0007] Second, a complete replacement strategy is implemented for the three roles. Internal network gateways and external network gateways share the same unified PCBA substrate, but their hardware roles are rigidly distinguished through differentiated soldering and programming. When network requirements change, a complete replacement strategy is adopted, i.e., the old unit is removed and the new unit is inserted; the system automatically completes identification, loading, and restoration. This strategy is consistent with the rigid division of hardware roles: roles cannot be tampered with at the factory, and complete replacement is required for upgrades, ensuring the absolute security of hardware roles.

[0008] Third, it enables platform-based manufacturing of PCBAs. This allows all three roles to share the same unified PCBA substrate, the same set of SMT assembly process parameters, the same 80% bill of materials, and the same set of testing fixtures, achieving ultimate reuse of manufacturing processes. This reduces production line changeover time from several hours to minutes, and after the front-end SMT process, it generates universal semi-finished products that are indistinguishable from their final roles in terms of board appearance and circuitry, significantly reducing manufacturing costs and inventory pressure.

[0009] Fourth, decouple communication and energy to enable independent upgrades. The local narrowband IoT networking communication module is fixed in the role-defined area in a non-removable manner, while external communication and energy management are designed as external standardized modules that connect to the main control board through standardized interfaces, enabling independent and rapid iteration of core communication technologies and energy solutions.

[0010] Fifth, construct a hierarchical collaborative network topology. In large-scale off-grid scenarios, deploy N intranet gateways to handle regional node aggregation and M external gateways to handle wide-area data backhaul, forming a tree-like hierarchical topology. This hierarchical topology is not simply a software-defined communication strategy, but rather a system behavior inevitably formed by the three types of devices with rigid differences in physical hardware capabilities, due to their respective insurmountable hardware capability boundaries. Intranet gateways aggregate node data within their local network to a cache, while external gateways read cached data from intranet gateways in batches through polling or event-triggered mechanisms and transmit it back to the cloud through external communication modules. This hierarchical collaborative mechanism reduces the number of external communication modules from N to M, lowering communication costs by more than 90%.

[0011] Sixth, a complete module-level plug-and-play ecosystem is built. This invention, through a feature-differentiated interface system and an identity identification and security authentication mechanism built into external modules, coupled with low-voltage security detection and precise power supply adaptation processes, ensures that all external modules are plug-and-play with zero configuration, security authentication, and fault self-healing. The entire machine replacement process fully follows this plug-and-play process; after the new machine is inserted, identification, authentication, protocol stack loading, and task startup are completed within ten seconds.

[0012] The objective of this invention is achieved through the following technical solution: This invention provides an off-grid IoT edge node, which includes a PCBA substrate uniformly designed for platform-based production. This substrate is uniformly designed and prepared for manufacturing products with three different hardware roles—edge nodes, intranet gateways, and external gateways—through selective soldering and programming processes. It features a general-purpose microcontroller, an energy storage and power management unit, a unified energy consumption scheduling unit, and a security authentication unit, as well as energy-specific interface pads and general-purpose multi-channel adaptive interface pads reserved at the substrate level for these three roles.

[0013] The edge node's substrate features a role-fixed soldering area. Within this area, a local networking communication module is fixed using a non-replaceable, fixed connection method. This module contains only a low-power wide-area network communication transceiver chip and an RF front-end matching network, excluding power amplifiers and low-noise amplifiers. The substrate has a differentiated interface system consisting solely of an energy-specific interface and a general-purpose multi-channel adaptive interface. The energy-specific interface provides a physically continuous energy harvesting path to the energy storage power management unit and is used to connect external energy modules. The general-purpose multi-channel adaptive interface is used to connect sensor modules or actuator modules. The edge node is shipped without a dedicated communication expansion interface. The substrate also features a role-identifying resistor network, with each 10kΩ precision resistor forming a unique resistance combination, defining the substrate as an edge node role. The PCBA substrate also includes a voltage follower circuit. Its input is connected to a bandgap reference voltage source decoupled from the system power supply within the microcontroller, and its output provides a high-drive, low-impedance reference voltage to drive the role-identifying resistor network. The substrate also features a functional configuration fuse array, which includes an internal electrically programmable fuse (eFuse) and an independent non-volatile configuration memory. At the factory, the hardware role confirmation bit is programmed into the internal eFuse, and the communication frequency band configuration is programmed into the configuration memory. The fuse status cannot be erased. After the microcontroller is powered on, and after confirming that the system power supply voltage is stable within the preset nominal range, it reads the voltage divider value of the resistor network and performs dual verification with the internal eFuse role confirmation bit. Once the verification is consistent, the node-level firmware partition is loaded.

[0014] Furthermore, this invention also provides an off-grid IoT intranet gateway, which includes a PCBA substrate designed uniformly for platform-based production, the same as the aforementioned edge nodes. A local networking communication module is fixedly connected to its role-fixed soldering area via a non-replaceable fixed connection method. This module includes a low-power wide-area network communication transceiver chip, an RF front-end matching network, and a power amplifier and a low-noise amplifier. Its differentiated interface system consists of only an energy-specific interface and a general-purpose multi-channel adaptive interface. The energy-specific interface provides a physically continuous energy harvesting path to the energy storage power management unit and is used to connect external energy modules. The general-purpose multi-channel adaptive interface is used to connect sensor modules or actuator modules. The intranet gateway does not include a dedicated communication expansion interface in its factory-delivered state. The intranet gateway also includes a large-capacity data buffer area for caching data aggregated from multiple edge nodes within the area.

[0015] The role identification resistor network of this intranet-type gateway consists of two 10kΩ precision resistors connected in series, forming a total resistance of 20kΩ. This baseboard is defined as the intranet-type gateway. The PCBA baseboard also includes a voltage follower circuit. Its input is connected to a bandgap reference voltage source decoupled from the system power supply inside the microcontroller, and its output provides a high-drive-capability, low-impedance reference voltage to drive the role identification resistor network. Its functional configuration fuse array includes an internal eFuse and an independent non-volatile configuration memory. At the factory, the hardware role confirmation bit is programmed into the internal eFuse, and the communication frequency band configuration and area identifier are programmed into the configuration memory. The fuse status cannot be erased. After the microcontroller powers on and confirms that the system power supply voltage is stable within the preset nominal range, it reads the resistor network voltage divider value and the internal eFuse role confirmation bit for dual verification. If they match, the gateway-level firmware partition is loaded and the power amplifier and low-noise amplifier are enabled.

[0016] Furthermore, this invention also provides an off-grid IoT external gateway, which includes a PCBA substrate designed uniformly for platform-based production, identical to the aforementioned edge nodes. A local networking communication module is fixedly connected to its role-fixed soldering area via a non-replaceable fixed connection method. This module includes a low-power wide-area network communication transceiver chip, an RF front-end matching network, a power amplifier, and a low-noise amplifier. Its differentiated interface system consists of only an energy-dedicated interface, a communication expansion-dedicated interface, and a general-purpose multi-channel adaptive interface. The energy-dedicated interface provides a physically continuous energy harvesting path to the energy storage power management unit and is used to connect external energy modules. The general-purpose multi-channel adaptive interface is used to connect sensor modules or actuator modules. The communication expansion-dedicated interface is used to connect external external communication modules. This external gateway also includes a large-capacity data buffer for caching data aggregated from multiple nodes.

[0017] The role identification resistor network of this external gateway consists of two 10kΩ precision resistors connected in parallel, forming a total resistance of 5kΩ. This defines the substrate as the external gateway. The PCBA substrate also includes a voltage follower circuit. Its input is connected to a bandgap reference voltage source decoupled from the system power supply inside the microcontroller, and its output provides a high-drive capability, low-impedance reference voltage to drive the role identification resistor network. Its functional configuration fuse array includes an internal eFuse for the microcontroller and an independent non-volatile configuration memory. At the factory, the hardware role confirmation bit is programmed into the internal eFuse, while the communication frequency band configuration, external communication type pre-configuration, and area identifier are programmed into the configuration memory. The fuse status cannot be erased. After the microcontroller powers on and confirms that the system power supply voltage is stable within the preset nominal range, it reads the voltage divider value of the resistor network and verifies it against the role confirmation bit in the internal eFuse. If they match, the gateway-level firmware partition is loaded, and the power amplifier, low-noise amplifier, and dedicated communication expansion interface are enabled.

[0018] In a further embodiment of the aforementioned node or gateway, the external energy module, external communication module, and module accessing the universal multi-channel adaptive interface all have built-in non-volatile memory chips storing module identification and electrical parameters. The module identification includes at least a globally unique module serial number and a safe power supply voltage window. The security authentication unit is configured to verify the legitimacy of the module identification.

[0019] For the aforementioned nodes or gateways, the connector of the energy-specific interface has a rated current of no more than 5 amps, an open-circuit voltage withstand capability of no more than 50 volts DC, and features anti-misfit coding and an enhanced locking structure. The universal multiplexer interface is a multi-core industrial-grade connector with a protection level of no less than IP67, and the rated current carrying capacity of the energy-specific interface is at least an order of magnitude greater than that of the universal multiplexer interface. The microcontroller is configured to: perform a safety adaptation process for modules inserted into the universal multiplexer interface, which includes establishing communication with the module under low voltage to obtain its identification and electrical parameters, and configuring the correct operating voltage for it after completing safety verification; and perform a fast adaptation process for modules inserted into the energy-specific interface or communication extension dedicated interface using known prior information about the interface characteristics. The safety adaptation process includes obtaining a complete operating voltage window from the module and setting a permanent operating voltage accordingly.

[0020] Furthermore, the security authentication unit is configured to: read the identity identifier built into the external module, verify its legitimacy using a preset root public key, and if the verification fails, cut off the interface power and report a security alarm; the preset root public key is stored in an erasable non-volatile storage area and has an open remote update channel. The public key update operation performed by this update channel must pass at least two security checks simultaneously: digital signature verification of the public key data to be updated, time window validity verification, and device serial number binding verification. The microcontroller is also configured to: persist the breakpoint marker of the current data read to its local non-volatile storage in a transaction atomic manner after each successful data transmission to the external gateway and receipt of confirmation. This operation does not depend on the unplugging event of the external gateway or any active update instruction; when the same identity module is reinserted, the breakpoint marker is obtained by querying the internal gateway to resume the transmission; the breakpoint marker includes the module's unique serial number and module type identifier code read from the module's identity identifier.

[0021] For the aforementioned external gateway, the dedicated communication extension interface has a high-speed data bus with a data rate of not less than 100Mbps, impedance control traces with a characteristic impedance of 50Ω ± 10%, a dedicated RF status indication channel, and an electromagnetic shielding shell; the microcontroller directly reads the communication characteristic parameters stored in the external communication module to load the corresponding protocol stack. The unified energy consumption scheduling unit monitors the terminal voltage of the energy storage unit and executes control logic with time hysteresis: when the terminal voltage of the energy storage unit is continuously higher than the first voltage threshold for a first preset time, the external communication module is woken up; when the terminal voltage of the energy storage unit is lower than the second voltage threshold or the current backhaul task has been completed and the terminal voltage has fallen back to below the first voltage threshold for a second preset time, the external communication module is forced to hibernate, wherein the first voltage threshold being higher than the second voltage threshold constitutes a hysteresis window; the power consumption budget of the local network communication module is marked as the first-level guaranteed energy consumption budget, which has a higher priority than the dynamic scheduling priority of the external communication module, ensuring that the local data aggregation and command issuance capabilities receive the highest priority power guarantee under any operating condition.

[0022] This invention also provides an off-grid IoT layered collaborative network system, which includes at least one of the aforementioned edge nodes, at least one of the aforementioned intranet gateways, and at least one of the aforementioned external gateways. The edge nodes, intranet gateways, and external gateways all form a topology through local networking communication modules within their respective fixed-role areas that cannot be replaced on-site. The intranet gateway receives periodic data from the edge nodes and caches it in a large-capacity data cache. The external gateway reads the cached data from the intranet gateway in batches through polling or event triggering and transmits it back to the wide area network through an external communication module. The polling cycle of the external gateway is 15 minutes, and the event triggering condition is that the cache capacity of the intranet gateway reaches 80%. When the external gateway is replaced, the new device completes identification, loading, and data routing recovery within 10 seconds. Edge nodes, lacking power amplifiers and low-noise amplifiers, cannot undertake gateway aggregation tasks; intranet gateways, due to internal eFuse hardware root trust lock, cannot undertake wide-area backhaul tasks even if attackers physically connect external communication modules via flying wires, as the firmware refuses to load the communication protocol stack; external gateways, due to inherent power amplifier / low-noise amplifier and eFuse lock, have a higher power consumption baseline than other roles and cannot undertake long-term low-power acquisition tasks for edge nodes. The hardware boundaries of these three roles are physically insurmountable.

[0023] The main point of this invention is to provide a platform-based manufacturing process for off-grid IoT device PCBAs, used to manufacture the aforementioned edge nodes, intranet gateways, and external gateways. The first step of this manufacturing process is standardized SMT placement. On the same SMT production line, using identical stencil patterns and placement programs, common BOM components for all three roles are mounted onto a blank PCBA substrate of the same specification, designed for platform-based production. These common components include at least a microcontroller, a power management chip, a dedicated energy interface, a universal multi-channel adaptive interface socket, and a role-specific RF matching network. Based on the number of discrete components, the component reuse rate can reach over 80%. After this step, a generic semi-finished product indistinguishable from the final role is generated. The second step is differentiated soldering of the role-specific areas: edge nodes only have low-power wide-area network communication transceiver chips and matching networks soldered; intranet gateways additionally have power amplifiers and low-noise amplifiers soldered; and external gateways, in addition to soldering the same components as intranet gateways, also have dedicated communication extension interface sockets soldered. Step 3 involves programming the function configuration fuse and initializing the configuration memory. The hardware role confirmation bit is programmed into the microcontroller's internal eFuse through the debugging interface, and the configuration information is written to the independent configuration memory through the test points. After programming, it is verified that the configuration cannot be tampered with.

[0024] Step four involves role-specific resistor network soldering: edge nodes are soldered with a single 10kΩ resistor, internal network gateways are soldered with two 10kΩ resistors in series, and external network gateways are soldered with two 10kΩ resistors in parallel. Step five involves unified test fixture verification. The fixture automatically reads the voltage divider values ​​of the resistor networks, identifies the PCBA type, and loads the corresponding test program. The voltage divider values ​​for the three roles are independent of system power supply fluctuations at temperatures ranging from -40°C to 85°C. Because the microcontroller uses an internal bandgap reference buffered by a voltage follower as the ADC reference, the voltage ranges for each role are maintained at a safety margin of at least twice the maximum fluctuation range. The manufacturing process also includes manufacturing quality traceability: each PCBA substrate is assigned a unique manufacturing serial number and identified during the SMT placement process; the batch number and process parameters of the components soldered in the role-fixed area, the role and status burned into the eFuse inside the MCU, the data written to the independent configuration memory, the soldering resistance value and measured voltage divider value of the role identification resistor network are all stored in association with the manufacturing serial number; the test data verified by standardized test fixtures are associated with the manufacturing serial number to form a manufacturing traceability report covering the entire process.

[0025] Furthermore, this invention also provides a method for replacing an external gateway, used in the aforementioned external gateway. When the old gateway is removed, the hot-swap detection circuit triggers a removal interrupt, and the microcontroller executes a fast power-off protection process: terminating external communication tasks and sending breakpoint update instructions to each managed intranet gateway, causing the intranet gateway to persist the breakpoint mark of the current data read to its local non-volatile storage; wherein, during normal operation, the intranet gateway has autonomously persisted the breakpoint mark after each successful data interaction transaction, and this operation is decoupled from the old gateway removal event. When the new gateway is inserted, the hot-swap detection circuit triggers an insertion interrupt, and the microcontroller reads the identity identifier and communication parameters stored in the new gateway's internal storage and performs security verification, reads the voltage divider value of the role identification resistor network and the internal eFuse hardware role confirmation bit, and confirms that the role is an external gateway. After successful verification, the external gateway firmware partition is loaded. The local network queries the local network gateway within the jurisdiction to obtain the breakpoint marker, requests to resume data transmission from the breakpoint, adds the data to the external transmission queue, and completes the topology reconstruction by broadcasting a role change announcement on the local network.

[0026] In addition, this invention also provides a hardware role self-identification method for any of the aforementioned devices. Upon power-up, the microcontroller first confirms that the system power supply voltage is stable within a preset nominal range. Then, using a bandgap reference voltage source buffered by a voltage follower and internally decoupled from the system power supply as a reference, it reads the voltage division value of the role identification resistor network. The voltage division value is compared with the preset role voltage range, and double-verified using the hardware role confirmation bit of the eFuse inside the MCU in the function configuration fuse array. Only when the two match, the corresponding role firmware partition is loaded and configuration is executed; otherwise, a safety lockout state is entered. When the voltage division value falls within the corresponding range and the eFuse role confirmation bit is 00, it is determined to be an edge node, node-level firmware is loaded, power and general interfaces are enabled, and power amplifier and communication expansion-related functions are disabled. When the voltage division value falls within the corresponding range and the eFuse role confirmation bit is 01, it is determined to be an intranet-type gateway, gateway-level firmware is loaded, power amplifier / low-noise amplifier is enabled, and communication expansion interface functions are disabled. When the voltage divider value falls within the corresponding range and the eFuse role confirmation bit is 10, it is determined to be an external gateway, the gateway-level firmware is loaded, the power amplifier / low noise amplifier and communication expansion interface are enabled, and external communication is initialized according to the pre-configuration in the configuration memory.

[0027] This invention also provides a unified test fixture for verifying any of the aforementioned PCBAs. The unified test fixture includes a programmable power supply, an RF tester, a module identification simulator, an automatic insertion / removal robotic arm, and a controller. The controller automatically identifies the type of the PCBA under test—whether it is an edge node, an intranet gateway, or an external gateway—by reading the voltage divider value of the role identification resistor network, and automatically loads the corresponding test program. After the test is completed, a manufacturing traceability report is generated, containing test data, eFuse status, resistor network values, and role type.

[0028] The present invention also provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the aforementioned whole machine replacement method or the aforementioned hardware role self-identification method.

[0029] To translate the above technical concepts into an implementable solution, the following section provides a detailed technical description of the overall system architecture, edge nodes, intranet gateways, external gateways, and platform-based manufacturing processes.

[0030] 1. System Overall Architecture The system of this invention comprises three physical layers: a PCBA substrate uniformly designed for platform-based production, a role-specific soldering area, and an external standardized module. All three roles share the same unified substrate. Rigid division of hardware roles is achieved through differentiated soldering content in the role-specific soldering area, differentiated resistance value combinations in the role-identifying resistor network, and differentiated programming states of the functional configuration fuse array.

[0031] 1.1 Unified substrate The unified substrate is designed and prepared for the manufacture of three different hardware roles through selective soldering and programming processes. Its layout includes: a general-purpose microcontroller and energy storage / power management unit; dedicated energy interface pads and general-purpose multi-channel adaptive interface pads reserved at the substrate level for each role; a role-specific soldering area whose pad layout is compatible with both complete modules containing power amplifiers and low-noise amplifiers, and basic modules without power amplifiers and low-noise amplifiers; and dedicated communication expansion interface pads reserved for external gateways, which are unsoldered when used for edge nodes and intranet gateways.

[0032] The substrate completes the mounting of all common components during the SMT assembly stage, producing a general-purpose semi-finished product whose final role cannot be distinguished from its board appearance and circuitry.

[0033] The front side of the substrate has a role-specific curing soldering area, while the back side has a role-specific resistor network soldering area and a function configuration fuse array programming interface area. The three types of substrates are only distinguished in the subsequent differentiated soldering stage.

[0034] 1.2, Role-based solidification welding area The role-fixed soldering area is located in a designated area on the front of the unified substrate. Through an irreversible soldering process at the factory, the core local narrowband IoT networking communication module is fixed in place. This role-fixed area is a dedicated area on the PCB board defined by silkscreen markings, no-wiring zones, or physical slots; its physical boundaries are clear and unchangeable. Within this area, the low-power wide-area network local networking communication module is fixed in place using a non-replaceable, fixed connection method without any pluggable connectors.

[0035] The soldering content of the fixed areas for the three types of roles differs fundamentally: edge nodes only have communication transceiver chips and RF front-end matching networks soldered on, excluding power amplifiers (PA) and low-noise amplifiers (LNA); internal network gateways and external connection gateways additionally have PA and LNA soldered on, and their fixed areas are completely identical. The differentiating feature of external connection gateways lies in their external communication modules connected via dedicated communication extension interfaces, rather than hardware differences within the fixed areas.

[0036] The PA and LNA are dynamically enabled by the microcontroller based on network size and signal quality. In the configuration of intranet-type and internet-type gateways, after power-on, the microcontroller reads the status of the role identification resistor network and fuse array. After determining that it is a gateway, it enables the power control pins of the PA / LNA and dynamically adjusts the gain level of the PA based on the real-time signal strength indicator (RSSI) and signal-to-noise ratio (SNR). This ensures that the transmit power is reduced in densely populated areas to save energy, and the transmit power is increased in sparsely populated areas to expand coverage. The power consumption scheduling priority of the PA and LNA is explicitly set as follows: deeply bound to the local network communication task, belonging to the first-level energy consumption budget. The dynamic enabling operation is only performed within this first-level budget framework to ensure that, under any operating condition, the local network's data aggregation and command issuance capabilities always receive priority power protection and will not be degraded or interrupted due to energy consumption competition from external communication or other tasks.

[0037] 1.3 External Standardized Modules and Secure Identity Recognition Mechanism External standardized modules connect to the base plate via standardized interfaces with differentiated characteristics. All external modules have built-in non-volatile memory chips storing module identification identifiers and operating parameters for plug-and-play identification. This module identification identifier is the core identity definition standard for achieving plug-and-play functionality in this invention.

[0038] The module identification identifier includes at least a globally unique module serial number, a complete operating voltage window, and a type identification code. The complete operating voltage window includes a minimum operating voltage value and a maximum absolute rated voltage value. The system is also equipped with a security authentication unit with a pre-set root public key for verifying the integrity and legitimacy of the module identification identifier. In a preferred embodiment, the data stored internally in the module further includes electrical characteristic parameters, calibration data, drive adaptation information, and communication characteristic parameters.

[0039] External power modules are attached to edge nodes. Internal network gateways also have external power modules. External gateways have both external power modules and external communication modules. The power modules for all three roles use the same mechanical coding and electrical specifications and are interchangeable.

[0040] 2. Definition of hardware architecture differences for the three roles All three roles are based on the unified substrate, sharing common hardware including a microcontroller, energy storage and power management unit, unified energy consumption scheduling unit, and security authentication unit. They also share energy-specific interfaces and general-purpose multi-channel adaptive interfaces within the characteristic differentiation interface system. The security authentication unit is integrated into the general-purpose main control board and stores a preset root public key used to verify the legitimacy of the built-in identity identifier of the external module. The role identification resistor network is driven by a voltage follower circuit. The input of this voltage follower is connected to the output of a bandgap reference voltage source decoupled from the system power supply inside the microcontroller, providing a high-drive capability, low impedance, and absolutely stable reference voltage. The functional configuration fuse array includes an internally programmable fuse (eFuse) and an independent non-volatile configuration memory within the microcontroller. The following focuses on describing the differentiated hardware characteristics of each role.

[0041] 2.1 Edge Node Hardware Architecture The role-fixed area only solders low-power wide area network local networking communication transceiver chips and RF front-end matching network, excluding PA and LNA.

[0042] The differentiated interface system consists of only energy-specific interfaces and general-purpose multi-path adaptive interfaces. These are all the standardized physical interfaces used to connect external functional modules in the factory-delivered state of edge nodes, excluding communication extension-specific interfaces.

[0043] The aforementioned limitations do not exclude non-functional physical connection points used during manufacturing, testing, and maintenance.

[0044] For energy modules with dedicated energy interfaces, the system utilizes prior information about the "known characteristics" of the interfaces to perform an optimized and rapid adaptation process: when a module is detected to be connected, electrical energy is immediately introduced into the energy storage power management unit through the normally open energy harvesting path to power up the system; the microcontroller directly reads the electrical characteristic parameters stored in the module's built-in storage, extracts the open-circuit voltage (Voc), maximum power point voltage (Vmp), and maximum power point current (Imp), and automatically calculates the initial scanning voltage range for the maximum power point tracking (MPPT) algorithm, without requiring manual configuration throughout the process.

[0045] The character recognition resistor network consists of a 10 kΩ precision pull-down resistor fixed to the substrate and a 10 kΩ precision pull-up resistor soldered to the character recognition area. One end of the pull-up resistor is connected to the output of the voltage follower, and the other end is connected to the analog-to-digital converter (ADC) input pin of the microcontroller; one end of the pull-down resistor is connected to the ADC pin, and the other end is grounded.

[0046] This combination of resistors works in conjunction with the system's preset 5.0-volt bandgap reference voltage source to generate a specific first voltage divider value, nominally 2.5 volts.

[0047] When the functional configuration fuse array leaves the factory, the hardware role confirmation bit is burned into the MCU's internal eFuse, and key configurations such as communication frequency band are written into an independent configuration memory and locked.

[0048] When the microcontroller is powered on, after confirming that the system power supply voltage is stable within the preset nominal operating voltage range, it reads the voltage divider value through the built-in ADC, compares it with the preset node role voltage range, and performs a secondary verification with the eFuse role confirmation bit. If they match, the node-level firmware partition is loaded.

[0049] 2.2 Hardware Architecture of Intranet Gateway The character-fixed area adds welding PA and LNA to the edge node welding content.

[0050] The differentiated interface system consists of only energy-specific interfaces and general-purpose multi-channel adaptive interfaces, and does not include communication extension-specific interfaces in the factory-delivered state.

[0051] The large-capacity data cache is an external Flash memory or SD card slot used to cache data from multiple edge nodes within the area. The standard configuration is 128 megabytes of Flash memory, which can be expanded to a 1 gigabyte SD card.

[0052] The character recognition resistor network consists of a 10 kΩ precision pull-down resistor fixed on the substrate and a pull-up resistor soldered to the character recognition area, which is composed of two 10 kΩ precision resistors connected in series to form a total resistance of 20 kΩ.

[0053] This combination of resistors works in conjunction with the system's preset 5.0-volt bandgap reference voltage source to generate a specific second voltage divider value, nominally 1.667 volts.

[0054] The voltage divider value has sufficient voltage margin compared to the first voltage divider value at the edge node, and because it uses an independent bandgap reference and is buffered by a voltage follower, this margin is not affected by actual system power supply fluctuations and load effects.

[0055] When the functional configuration fuse array is shipped from the factory, the hardware role confirmation bit is permanently burned into the MCU's internal eFuse; the communication frequency band configuration bit and the area identifier bit are written into the independent configuration memory and locked.

[0056] After the microcontroller powers on and confirms that the system power supply voltage is stable, it reads the voltage divider value and performs dual verification with eFuse to determine that it is an intranet-type gateway. It then loads the gateway-level firmware partition, enables PA and LNA, but disables functions related to external communication.

[0057] 2.3 External Gateway Hardware Architecture The welding content of the role-fixed area is exactly the same as that of the intranet-type gateway.

[0058] The differentiated interface system consists of only energy-specific interfaces, communication extension-specific interfaces, and general multi-path adaptive interfaces. These constitute all the standardized physical interfaces used to connect external functional modules in the factory-delivered state of the external gateway.

[0059] External gateway products are strictly limited to three external physical interfaces.

[0060] The standard configuration of the large-capacity data cache is a 1-gigabyte SD card, expandable to 32 gigabytes, used to store local sensor data as well as aggregated data read in batches from multiple intranet-type gateways.

[0061] The character recognition resistor network consists of a 10 kΩ precision pull-down resistor fixed on the substrate and a pull-up resistor soldered to the character recognition area, which is composed of two 10 kΩ precision resistors connected in parallel to form a total resistance of 5 kΩ.

[0062] This combination of resistors works in conjunction with the system's preset 5.0-volt bandgap reference voltage source to generate a specific third voltage divider value, nominally 3.333 volts.

[0063] There is sufficient margin between the three voltage divider values ​​for the three roles, and because the independent bandgap reference is buffered by the voltage follower, it is completely unaffected by the wide range of fluctuations in battery power supply and load changes.

[0064] When the functional configuration fuse array is shipped from the factory, the hardware role confirmation bit is permanently burned into the MCU's internal eFuse; the external communication type pre-configuration bit, energy type pre-configuration bit, etc. are written into the independent configuration memory and locked.

[0065] After the microcontroller powers on and confirms that the system power supply voltage is stable, it reads the voltage divider value and performs dual verification with eFuse to determine that it is an external gateway. It then loads the gateway-level firmware partition and enables PA, LNA and external communication-related functions.

[0066] 3. Complete machine replacement strategy for three types of characters One of the core innovations of this invention lies in the rigid division of three hardware roles and the whole-machine replacement strategy. This strategy is based on the principle that "the roles cannot be tampered with at the factory, and the whole machine must be replaced during upgrades," ensuring the physical inviolability of the hardware roles.

[0067] The fundamental difference between intranet gateways and external gateways lies in the following: Intranet gateways are shipped without a dedicated communication expansion interface socket, their resistor network consists of two 10kΩ resistors in series, and the MCU's internal eFuse hardware role confirmation bit is encoded as 01. External gateways, on the other hand, are shipped with a dedicated communication expansion interface socket soldered on, their resistor network consists of two 10kΩ resistors in parallel, and the MCU's internal eFuse hardware role confirmation bit is encoded as 10.

[0068] Scenario Adaptation Strategy: During the network planning phase of large-scale off-grid scenarios, the deployment ratio of internal network gateways to external network gateways is determined based on factors such as regional data volume, backhaul frequency, and communication costs. When network requirements change, instead of upgrading internal network gateways on-site, a complete replacement solution is adopted—the original internal network gateway is removed and replaced with a complete external network gateway. The replaced external network gateway automatically broadcasts the role change announcement through the local network. Edge nodes and internal network gateways within its jurisdiction do not require any configuration changes and automatically route data to the new external network gateway.

[0069] The technical benefits of whole-unit replacement: The replacement process is identical to replacing any plug-and-play module—remove the old unit, insert the new unit, and the system automatically identifies the new unit's electronic identity, loads the corresponding driver, and restores data routing, all without requiring manual configuration. While this strategy may seem to increase hardware costs, it actually avoids the security and reliability risks associated with on-site upgrades, offering higher lifecycle economics in off-grid, unattended maintenance scenarios.

[0070] Self-healing mechanism for complete machine replacement When the external gateway needs to be replaced due to failure or maintenance, the system executes the following self-healing process: Step 1: Old Gateway Removal Detection. The hot-swap detection circuit detects the removal of the old external gateway from its mounting position, triggering a removal interrupt. The microcontroller immediately initiates a rapid power-off protection process: within a very short time window supported by capacitor energy storage, it performs the most critical local state sealing operations, including terminating the current polling task with the managed intranet gateways and sending a final 'data received confirmation and breakpoint update' message to each intranet gateway. This process does not perform a complete protocol stack offload or complex power management sequence; all non-critical protocol stack offload operations are delayed until the system's next power-on startup, completed through state machine recovery, to ensure data consistency protection is achieved before voltage drops. During normal operation, the intranet gateway, independent of the external gateway's removal event, atomically and transactionally stores the breakpoint marker of the current data read in its local non-volatile memory after each successful data transmission to the external gateway and receipt of confirmation. This breakpoint marker does not depend on any proactive update instructions issued by the external gateway, but is a persistent record maintained autonomously by the internal gateway after completing a full data interaction transaction.

[0071] When an internal network gateway responds to a breakpoint query request from a new external network gateway, it directly returns its locally stored latest breakpoint marker associated with the old external network gateway ID. This marker reflects the last confirmed position of the previous successful interaction. Based on this, the new external network gateway initiates breakpoint resumption, and the internal network gateway continues transmitting data from that breakpoint, ensuring seamless data continuity without duplication or loss.

[0072] Step Two: Data Caching and Breakpoint Marking. This step is completely replaced by the normal breakpoint maintenance logic described above, and its functionality has already been implemented in the description of Step One. It will not be defined again here.

[0073] Step 3: New Unit Insertion and Identification. After the new external gateway unit is inserted into the installation slot, the hot-swap detection circuit detects the presence signal and triggers an insertion interrupt. The microcontroller reads the identity and communication parameters from the new unit's built-in non-volatile memory chip and performs a security check to confirm the legitimacy and integrity of the unit's identity. The communication capability parameters of the unit are extracted from the communication characteristic parameters. Only after successful verification can the next stage proceed.

[0074] Step 4: Role Consistency Verification. Verify the voltage divider value of the role identification resistor network and the hardware role confirmation bits of the internal eFuse and independent configuration memory of the new unit to confirm that the new unit's role is an external gateway. If the verification passes, load the external gateway-level firmware partition; if the verification fails, cut off the power supply and report a security alarm.

[0075] Step 5: Resume Transmission from Breakpoint. The new system broadcasts a query request to all intranet-type gateways within its jurisdiction via the local network to obtain their respective service breakpoint markers. Each intranet-type gateway reads the breakpoint marker associated with the old external gateway ID from its local non-volatile storage and returns it to the new system. Based on the breakpoint marker, the new system sends a data synchronization request to the intranet-type gateway. The intranet-type gateway continues transmitting cached data from the number of bytes already read corresponding to the breakpoint marker, and the new system adds the data to the external communication transmission queue.

[0076] Step Six: Topology Reconstruction Completed. The new system broadcasts a role change announcement on the local network, notifying edge nodes and internal network gateways within its jurisdiction to update their routing tables. Edge nodes maintain their original data collection strategies, while internal network gateways adjust their data reporting strategies to the new external gateway.

[0077] The necessity of replacing the entire machine lies in the fact that it simplifies complex on-site upgrade operations into module-level replacements, reducing the average repair time from several days in traditional solutions to minutes, while ensuring the absolute rigidity of the hardware role and eliminating any risk of role drift at the software level.

[0078] 4. Hierarchical Cooperative Network Topology and Data Routing Another core innovation of this invention lies in the hierarchical collaborative network topology in large-scale off-grid scenarios. This hierarchical topology is not a communication networking strategy implemented simply by software configuration, but rather a system behavior inevitably formed by the three types of device entities with rigid differences in physical hardware capabilities, due to their respective insurmountable hardware capability boundaries.

[0079] Network Topology: In a 1500-acre marine ranch scenario, 1000 edge nodes, 100 intranet gateways, and 10 external gateways are deployed. The intranet gateways establish star or mesh topology connections with edge nodes within their jurisdiction through local networking. The external gateways establish star connections with the 10 intranet gateways through local networking, and simultaneously establish wide-area connections with the cloud management center through dedicated communication extension interfaces.

[0080] Data routing strategy: Core business data from edge nodes is consistently reported to their respective intranet gateways via the local network. The intranet gateways cache the aggregated data in their local high-capacity storage, awaiting polling from external gateways. The external gateways then use the local network to read the cached data from the intranet gateways in batches via a polling or event-triggered mechanism, and subsequently transmit the batch data back to the cloud through the external communication module.

[0081] Energy Consumption Coordination Management: The power consumption budget of the local network communication module is marked as the first-level guaranteed energy consumption budget, which has a higher priority than the dynamic scheduling priority of the external communication module, ensuring that the data aggregation and command issuance capabilities within the region receive the highest priority power guarantee under any energy conditions. The power consumption budget of the intranet gateway is marked as the regional aggregation priority, and its local network communication module works continuously with the large-capacity buffer being refreshed periodically. The power consumption budget of the local network communication module of the external gateway is marked as the highest priority that cannot be reduced, and the power consumption budget of the external communication module is marked as the dynamic scheduling priority. The unified energy consumption scheduling unit monitors the terminal voltage of the energy storage unit in the energy storage power supply management unit and executes time-dimensional hysteresis control logic to manage the wake-up and sleep of the external communication module. The wake-up condition must be met simultaneously: the terminal voltage of the energy storage unit is continuously higher than the first voltage threshold (V_high) and this state has lasted for a first preset time (T1). Forced sleep is executed when either of the following conditions is met: the terminal voltage of the energy storage unit is lower than the second voltage threshold (V_low), or the current data backhaul task has been completed and the terminal voltage has fallen back to below V_high and lasted for a second preset time (T2). V_high is higher than V_low, forming a hysteresis window to prevent critical oscillations. When the external communication module completes transmission or triggers a forced sleep condition, the unified energy consumption scheduling unit cuts off its power supply, and the system returns to a low-power standby state.

[0082] Fault isolation mechanism: The failure of a single intranet gateway does not affect the operation of other intranet gateways and external gateways. Edge nodes, based on a pre-configured list of backup gateway addresses, automatically switch to a backup intranet gateway for data reporting after three consecutive unanswered responses from the primary intranet gateway. When a single external gateway fails, the cached data of its managed intranet gateways continues to be stored locally, awaiting replacement of the backup external gateway or manual on-site maintenance.

[0083] 5. Platform-based manufacturing process The core manufacturing process of this invention includes the following standardized steps. This process does not depend on specific manufacturing equipment, and any entity implementing this manufacturing method falls within the protection scope of this invention. The three roles share a unified substrate, and role differentiation is achieved through differentiated soldering and programming.

[0084] Step 1: Standardized Surface Mount Technology (SMT) Assembly. On the same SMT production line, using identical stencil patterns, placement procedures, and process parameters (including but not limited to lead-free solder paste, stencil thickness, and reflow temperature profiles), common BOM components for all three roles are mounted onto a uniform blank substrate of the same size. Common BOM components include microcontrollers, power management chips, resistors, capacitors, standardized interface sockets, high-capacity cache memory pads, and RF front-end matching networks for specific roles. After this step, a generic semi-finished product is generated, indistinguishable from its final role in terms of board appearance and circuitry.

[0085] Step Two: Differentiated Soldering in Role-Specific Fixed Areas. Using selective soldering processes, including but not limited to selective wave soldering or the selective placement function of SMT placement machines, components corresponding to the target role are soldered in the role-specific fixed soldering areas according to the production task type.

[0086] When manufacturing edge nodes, only solder the low-power wide area network local networking communication transceiver chip and the RF front-end matching network; do not solder the PA and LNA, and do not solder the dedicated interface socket for communication expansion.

[0087] When manufacturing intranet-type gateways, in addition to soldering the PA and LNA at the edge nodes, do not solder the dedicated interface socket for communication expansion.

[0088] When manufacturing external gateways, the soldering process is exactly the same as for internal gateways, with the addition of a dedicated communication expansion interface socket.

[0089] Step 3: Function Configuration Fuse Programming and Configuration Memory Initialization. Using a dedicated programming fixture, and through the test points and debugging interfaces on the back of the PCB, the hardware role confirmation bits and hardware-dependent configurations are programmed into the microcontroller's internal eFuse, achieving permanent physical solidification. Simultaneously, the independent configuration memory is initialized and locked using the test points. Immediately after programming, status verification is performed to ensure that the role fuse status is unalterable and the configuration information is correct.

[0090] Step 4: Role Identification Resistor Network Soldering. Based on the target role, solder the corresponding precision resistor combinations: edge nodes solder a single 10kΩ pull-up resistor, internal network gateways solder two 10kΩ series pull-up resistors, and external network gateways solder two 10kΩ parallel pull-up resistors. A protection interval of at least 0.833 volts is maintained between the voltage division values ​​(2.5V, 1.667V, 3.333V) for the three roles, far exceeding the maximum voltage division value drift caused by ±5% fluctuations in the power supply voltage. Since the microcontroller uses an internal bandgap reference buffered by a voltage follower as the ADC reference, this protection interval further protects against large-scale fluctuations in the actual system power supply and the load effect of the ADC reference source, ensuring absolutely reliable identification over a wide temperature range from -40°C to 85°C and within the range of solar power supply voltage variations.

[0091] Step 5: Standardized Test Fixture Verification. Insert the soldered PCBA into the standardized test fixture. This fixture includes a programmable power supply, an RF tester, a module identification simulator, an automatic insertion / removal robotic arm, and test program libraries for three roles. The test fixture automatically identifies the PCBA type by reading the voltage divider value of the role identification resistor network and automatically switches to the corresponding test program based on the identification result. The module identification simulator is used to simulate the identification data stored internally in the external module, verifying the main control board's ability to read, parse, and perform security checks on it.

[0092] Edge node testing process: verifying identity reading and integrity, RF transmit power and receive sensitivity, two-interface power supply accuracy and current limit test, MCU internal eFuse and configuration memory status reading and verification, and measuring the voltage divider value of the role identification resistor network.

[0093] Intranet gateway testing process: Based on the edge node testing items, add PA / LNA gain test, large capacity buffer read / write test, and local network coverage test.

[0094] External gateway testing process: Based on the internal gateway testing items, add high-speed signal integrity testing of dedicated communication extension interface, external communication module protocol stack loading testing, and layered collaborative data routing simulation testing.

[0095] After the test is completed, a manufacturing traceability report containing test data, character fuse status, resistor network values, and character type is automatically generated and stored in the production database.

[0096] Through the above five steps, the same production line can complete role switching within 15 minutes. Production line switching only requires calling different programs, without needing to replace the stencil or mechanically reconfigure the pick-and-place machine. Based on the number of discrete components, the component reuse rate for the three roles can reach over 80%, and the test fixture reuse rate reaches 100%.

[0097] 6. Insurmountable physical safety guarantees for characters. Due to the rigid differences in hardware configuration, the three types of roles form physically insurmountable capability boundaries.

[0098] Edge nodes, due to their fixed role and the absence of PAs and LNAs within their designated areas, have limited local network coverage and cannot undertake gateway aggregation tasks. Furthermore, lacking a large-capacity data cache and dedicated communication expansion interfaces, they cannot cache data from multiple nodes or connect to external communication modules. This rigid hardware role allocation ensures that edge nodes cannot be upgraded to gateways via software.

[0099] Internal network gateways, due to their fixed role containing PA and LNA, have expanded coverage and can undertake regional node aggregation tasks. However, because they lack dedicated communication expansion interface sockets at the factory and the MCU's internal eFuse is programmed as an internal network gateway, they cannot undertake wide-area backhaul tasks. The core security of this invention lies in the hardware root trust built by the functional configuration fuse array composed of the MCU's internal eFuse and independent configuration memory, rather than relying on the presence or absence of interface sockets.

[0100] Even if an attacker uses physical means such as flying wires to solder an unauthorized 4G module to the reserved communication expansion interface pads, the attack will completely fail. This is because the dual authentication logic executed by the microcontroller upon power-up determines the device as an intranet gateway based on the immutable eFuse. The firmware loader only loads the intranet gateway firmware partition, which contains no external communication protocol stack or related power management code. Therefore, the microcontroller refuses to enable the power supply and data bus to the communication expansion interface, determines that the hardware is in an illegally tampered state, triggers a security alarm, and enters a security lockout.

[0101] External gateways, with their hardware-soldered PA and LNA and MCU internal eFuse programmed for this role, have a higher power consumption baseline than other roles, making them unable to handle long-term low-power data acquisition tasks for edge nodes. Their dedicated communication extension interface enables external communication, but the unified energy scheduling unit marks the local networking module's power budget as the highest priority, ensuring that local data acquisition and aggregation capabilities are not affected under extreme energy conditions.

[0102] The rigid hardware division of the three roles ensures the physical security of the system architecture. No software-level attack can change the role of the device, which has a fundamental security advantage compared to the existing software-defined role scheme.

[0103] To further enhance the physical security of the hardware root trust, this invention also introduces a redundant fuse verification mechanism. The hardware role confirmation bit in the functional configuration fuse array employs a multi-redundant encoding scheme, meaning that the same role information is written into multiple independent physical fuse units within the microcontroller's internal eFuse, and multi-unit consistency voting is performed during power-on self-test. The role status is only adopted when the reading results of a majority of fuse units are consistent; if the reading results of each unit are inconsistent, it is determined that the hardware fuse array may have suffered physical interference or damage, the system enters a security lockout state, and reports a fuse verification failure alarm. This redundancy mechanism can effectively resist the risk of failure from a single physical attack point against the eFuse and improve the fault tolerance capability for single-bit flips caused by manufacturing defects or aging. Simultaneously, the PCBA substrate can be equipped with an anti-tamper detection network at the physical level. This network consists of copper-clad serpentine traces distributed in key areas of the substrate. Once the substrate is physically removed or damaged, an irreversible open-circuit detection is triggered. Combined with the remote alarm mechanism of the security authentication unit, this constitutes a defense-in-depth physical security system.

[0104] 7. Plug-and-play implementation mechanism for external modules This invention fully inherits and implements the interface standard of the feature differentiation interface system and the plug-and-play mechanism with the built-in identity identifier of the external module as the core.

[0105] 7.1 Interface System with Differentiated Characteristics The differentiated interface system clearly divides physical interfaces into two categories: dedicated fixed interfaces and general adaptive interfaces.

[0106] Category 1: Dedicated fixed interface. The physical form and electrical characteristics are specifically optimized according to the intended functional module category, and hot-swappable is supported.

[0107] The dedicated energy interface is designed to support independent energy harvesting modules. Its connector features high current carrying capacity, high open-circuit voltage withstand capability, anti-misinsertion coding, and an enhanced locking structure. Internally, this interface provides a physically continuous energy harvesting path that connects directly to the input of the energy storage power management unit. This path contains no digitally controlled switching elements, ensuring that under any operating condition, as long as the energy module is connected, electrical energy can be passively introduced into the system.

[0108] The dedicated communication expansion interface is designed to support extended communication modules. Its connector features a high-speed data bus, impedance control signal traces, a dedicated RF status indication channel, and an electromagnetic shielding housing. This interface is used to connect communication expansion modules that provide auxiliary or high-bandwidth links, including but not limited to satellite communication modules and public cellular communication modules.

[0109] The second type: General Adaptive Interface. This is a standardized interface with unified electrical characteristics and pin definitions, used to support a wide variety of functional modules with unknown characteristics, but all being low-power, with a single signal type and short communication channels. This interface is the sole standardized entry point for the physical carrier of the external module to access the system. Its physical form can utilize various industrial-grade connectors, but all forms have identical pin definitions and electrical characteristics, forming a logically unified plug-and-play access point. The connector has a dustproof and waterproof sealing structure of at least IP67. This interface provides a unified set of pins, including at least bidirectional power pins, ground pins, data communication pins, and analog signal input pins.

[0110] 7.2 Consistency of the Plug and Play Process Therefore, this invention establishes "whether or not a compliant module identity identifier and operating parameters are pre-stored" as the sole defining standard for standardized and non-standardized functional modules. Both access paths share the exact same low-voltage security authentication, precise power supply, identity reading, and driver loading processes on the main control board.

[0111] Beneficial effects This invention introduces a unified substrate, a role-fixed soldering area, a role-identifying resistor network, a functional configuration fuse array, a whole-machine replacement strategy, and a hierarchical collaborative topology. It also introduces a feature differentiation interface system with module identity identification as the core and a plug-and-play mechanism, resulting in the following beneficial effects.

[0112] First, a revolutionary improvement in manufacturing efficiency. Changeover time for PCBA production lines in all three roles has been reduced from over 4 hours in the traditional approach to less than 15 minutes. Changeover only requires calling different selective soldering and programming programs, without needing to replace stencils or mechanically reconfigure the placement machines. Because the three roles are calculated based on the number of discrete components, the component reuse rate can reach over 80%, BOM procurement costs are reduced by over 25%, and inventory types are reduced by over 60%. The R&D cycle is shortened from 3-6 months to 2-4 weeks, and the delivery cycle for new equipment in new scenarios is significantly reduced.

[0113] Secondly, the physical solidification of hardware roles fundamentally guarantees system security. Through a dual physical lock-in system consisting of a role identification resistor network and a functional configuration fuse array comprised of the MCU's internal eFuse and an independent configuration memory, along with a voltage follower-buffered bandgap reference source independent of the system power supply to ensure absolute stability and strong drive of the identification voltage, and differentiated hardware configurations for the three roles, the risk of role drift due to software tampering or firmware errors is eliminated. The core security of this invention is the hardware root trust built upon the MCU's internal eFuse. Any attempt by an attacker to bypass physically missing interfaces, such as through flying wire soldering, will fail because the fuses cannot be tampered with. The introduction of a redundant fuse verification mechanism further eliminates the risk of failure at a single physical attack point or a single bit flip, significantly enhancing the robustness and fault tolerance of the hardware root trust.

[0114] Compared to existing software-defined role solutions, the security mechanism of this invention is inherently unbreakable.

[0115] Third, the hierarchical and collaborative network topology drastically reduces costs in large-scale scenarios. In a marine ranch covering 1,500 acres, a hierarchical collaborative topology of 100 internal network gateways and 10 external network gateways was adopted. Compared to a flat topology with 100 external network gateways, the number of external communication modules was reduced from 100 to 10, resulting in a 90% reduction in communication costs and an 85% reduction in energy consumption. This hierarchical collaboration is not simply software-defined, but rather a system behavior inherently formed by the physically solidified hardware capabilities of the devices, possessing inherent structural stability.

[0116] Fourth, the complete device replacement strategy achieves both network resilience and security. When network requirements change or the external gateway fails, a complete device replacement is used instead of on-site upgrades. Breakpoint markers are automatically atomically fixed by the internal gateway after each successful data interaction transaction, independent of any active update commands when the old device is unplugged, fundamentally eliminating the risk of data loss due to operational failures during unplugging. The new external gateway automatically identifies, loads, and resumes breakpoint transmission within 10 seconds of being plugged in, requiring no manual configuration throughout. This strategy avoids the software tampering and interface reliability risks associated with on-site upgrades, offering higher lifecycle economics in off-grid, unattended maintenance scenarios.

[0117] Fifth, independent technological iterations for communication and energy. Upgrading local network communication technology only requires modifying the soldered components in the fixed-function area, without redesigning the entire board. Upgrading external communication or energy solutions only requires replacing external modules, shortening the technology iteration cycle by more than 60%. The three evolve independently without hindering each other, extending the overall PCBA lifecycle by more than 3 times and significantly reducing the overall cost of hardware upgrades.

[0118] Sixth, a secure and robust plug-and-play ecosystem for add-on modules has been established. All add-on modules are seamlessly compatible with the feature differentiation interface and embedded security identification mechanism defined in this invention. By implementing low-voltage security authentication and power supply adaptation for modules at the interface level, the entire machine replacement process fully follows this plug-and-play procedure, reducing the average node repair time from several days in traditional solutions to minutes.

[0119] Seventh, it provides comprehensive technical protection for three product forms. Based on the introduction of a secure plug-and-play ecosystem for modules, this invention explicitly protects the edge node product architecture with only two interfaces (energy and sensing), the intranet gateway product architecture with two interfaces but enhanced by PA / LNA, and the complete external gateway product architecture with three interfaces. The entire product line, from low-cost nodes to high-functionality gateways, is protected by patents, forming a complete product portfolio patent layout. Attached Figure Description

[0120] Figure 1 The embodiment provides a hardware capability solidification device system diagram that uses the same universal substrate as the base, and through an immutable hardware solidification and identity authentication mechanism, it derives three types of devices with rigidly defined functional boundaries, and under the local priority energy consumption strategy, it will inevitably form a robust tree-shaped hierarchical collaborative network. Implementation The technical solution of the present invention will be clearly and completely described below with reference to the embodiments. 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.

[0121] Example 1: Construction of a Layered Collaborative Monitoring System for Marine Ranches This embodiment demonstrates how to construct a typical stratified collaborative monitoring system for marine ranches using the present invention. The system includes... 1000 edge nodes, 100 intranet gateways, and 10 external gateways form a tree-like hierarchical topology.

[0122] First, deploy 1000 edge nodes as described in claim 1. Each node is deployed on an aquaculture cage, with a single 10kΩ precision resistor soldered onto a role identification resistor network on its uniform substrate. The MCU's internal eFuse program has a hardware role confirmation bit of "00". This node ships with only an energy-specific interface and a general-purpose multi-channel adaptive interface. The former connects to a 60W photovoltaic panel, and the latter connects to a multi-parameter water quality sensor module integrating water temperature, dissolved oxygen, and pH sensors. This sensor module has a built-in non-volatile memory chip storing the module's identity identifier and electrical parameters. The identity identifier includes the module's unique serial number, complete operating voltage window, and function type code, and also has integrity protection data.

[0123] Since only the LoRa transceiver chip and RF matching network are soldered within the fixed-position area, without a PA / LNA, the node's power consumption is only 0.3 watts, and its wireless coverage is strictly limited to within 1 kilometer. It can only communicate with the intranet-type gateway that governs it. After the node is powered on, the microcontroller confirms that the power supply is stable, uses the internal bandgap reference voltage source buffered by the voltage follower as a reference, reads the voltage divider value of the resistor network and the eFuse fuse code to double confirm that it is an edge node, loads the node-level firmware, and collects and reports data at a frequency of once every 10 minutes.

[0124] Secondly, 100 intranet-type gateways as described in claim 2 are deployed. These gateways are deployed on buoy platforms located in each aquaculture zone, covering an area with a radius of approximately 1.5 kilometers. Each gateway manages approximately 10 edge nodes. The role identification resistor network on its unified substrate is soldered with a series combination of 20 kΩ resistors, and the MCU's internal eFuse is programmed with "01" confirmation bits. At the factory, the gateway also only has an energy-specific interface and a general-purpose multi-channel adaptive interface. The former connects to a 120W wind-solar hybrid energy module, and the latter connects to a meteorological sensor for collecting wind speed and direction. In addition to the LoRa chip, a PA and LNA are additionally soldered into its role-fixed area. After power-on, the gateway automatically identifies its role, loads the gateway firmware, dynamically enables the PA, and increases the receiving sensitivity by 8dBm to reliably receive data from edge nodes within its jurisdiction, storing it in a 128-megabyte Flash buffer. Because it lacks a communication expansion interface socket and the MCU's internal eFuse is locked as an intranet-type gateway, it cannot connect to any external 4G or satellite modules.

[0125] Finally, ten external gateways as described in claim 3 are deployed. These gateways are deployed on monitoring towers near the coast, each responsible for aggregating data from ten internal network gateways. Their unified substrate has a role identification resistor network soldered with parallel 5kΩ resistor combinations, and the MCU's internal eFuse is programmed with a "10" confirmation bit, while an independent configuration memory is written with a "4G communication" pre-configuration bit. The gateway ships with three physical interfaces: an energy-dedicated interface connecting to a 180W wind-solar hybrid energy module; a general-purpose multi-channel adaptive interface connecting to a high-definition camera; and a communication expansion-dedicated interface connecting to an external 4G communication module via its high-speed data bus. Upon power-up, the gateway automatically identifies its role, loads the gateway firmware, and enables the PA / LNA and communication expansion interface.

[0126] The system's data routing strategy is as follows: edge nodes report sensor data to their respective intranet gateways via LoRa every 10 minutes; the intranet gateways aggregate and store the data in Flash memory; the external gateways poll their 10 managed intranet gateways via LoRa every 15 minutes, reading their cached data in batches; after reading, the unified energy consumption scheduling unit of the external gateway detects that the energy storage battery voltage is 13.2V and has remained stable for more than 30 seconds, meeting the wake-up condition, and then wakes up the 4G communication module to send the compressed and packaged batch data back to the shore-based cloud management center. This hierarchical structure completes the data backhaul of 1000 nodes using only 10 4G modules, reducing the number of communication modules and cost by 90% compared to traditional flattened solutions.

[0127] Example 2: Replacement and Self-Healing Process for External Gateway Following Example 1, this example demonstrates how to perform complete machine replacement and fault self-healing when an external communication module interface of an external gateway fails due to marine salt spray corrosion.

[0128] The faulty external gateway was responsible for managing 10 internal network gateways. When maintenance personnel arrived at the monitoring tower by boat, they performed a complete system replacement procedure. Removal of Old Unit and Status Preservation: Maintenance personnel unscrew the waterproof casing and directly remove the old external gateway from its DIN rail mounting position. The hot-swap detection circuit on the PCBA immediately detects the power pin disconnection, triggering a removal interruption. With a brief power supply from the supercapacitor on the board, the microcontroller executes a rapid power-off protection procedure: immediately terminating polling with all managed intranet gateways and sending a final 'data received confirmation and breakpoint update' message to each intranet gateway to ensure that the intranet gateway has saved the latest read progress to its local Flash memory. It is important to emphasize that after each successful data transmission and confirmation from the external gateway, the intranet gateway autonomously writes the breakpoint marker to its local non-volatile storage in a transactional atomic manner. This operation is completely decoupled from the removal event of the external gateway. Therefore, even if the final confirmation message is not successfully sent at the moment of removal, the intranet gateway still retains the breakpoint marker of the most recent successful interaction, and data integrity does not depend on the instantaneous communication success or failure at the time of removal.

[0129] New Unit Insertion and Automatic Identification: Maintenance personnel retrieve a brand-new external gateway unit from the spare parts box and insert it into the same mounting slot. The hot-swap circuit detects a stable 32-volt power supply input, triggering an insertion interrupt. The new unit's microcontroller first performs a self-test: reading the role identification resistor network to obtain the corresponding voltage divider value; reading the internal eFuse to obtain the hardware role confirmation bit "10". With both verifications consistent, it confirms itself as an external gateway and loads the external gateway-level firmware partition. Subsequently, the microcontroller reads the identity identifier and communication parameters from the new unit's built-in non-volatile memory chip, performs a security verification on the identifier, and extracts the communication capability parameters. Only after successful verification can the next stage proceed.

[0130] Network Reconstruction and Data Recovery: After firmware loading is complete, the new external gateway first broadcasts a "Role Change Announcement" message via the LoRa local network, containing its new device ID and priority. Upon receiving the announcement, the managing internal gateways automatically update their data routing addresses to the new gateway ID. Subsequently, the new gateway broadcasts a "Breakpoint Query Request" message to all managing internal gateways via the LoRa local network. Each internal gateway retrieves and returns the breakpoint marker corresponding to the external gateway's slot or ID from its local Flash memory. Based on this, the new gateway sends a "Breakpoint Resume Request" message to the corresponding internal gateway, requesting to resume data transmission from the breakpoint.

[0131] The internal network gateway responds to the request and resumes the transmission of the remaining cached data. The new gateway adds the recovered complete data packets to the outgoing transmission queue. The entire replacement process, from power-on to resumption of data transmission, takes approximately 8 seconds and requires no manual configuration.

[0132] Example 3: A platform-based manufacturing process for co-line production of three roles This embodiment describes in detail how the process of this invention can be used to produce 1,000 PCBAs of three different functions in 8 hours on an SMT production line of a foundry.

[0133] At 8:00 AM, the production line began operation. Step one was executed first. All blank PCBA substrates, regardless of their final role, were treated as identical substrates and entered the same SMT production line. The pick-and-place machine used the exact same stencil pattern and placement program, a uniform 0.13mm thick stencil, and lead-free solder paste. Following the same placement program, common components, accounting for 80% of the total, including microcontrollers, power chips, resistors, capacitors, power and general interface connectors, Flash pads, and RF matching networks in the designated areas, were precisely placed onto the substrates. Afterward, the PCBs entered a 10-zone reflow soldering process, where all solder joints were soldered in one pass. This process, treating all substrates equally, took approximately 4 hours, producing 1000 universal semi-finished substrates whose final roles were indistinguishable in terms of appearance and circuitry.

[0134] In the afternoon, step two began. The operator loaded production tasks onto the selective wave soldering equipment. For the batch of 200 wafers identified as "edge nodes," the equipment was programmed to solder only LoRa communication chips; for the batch of 600 wafers designated as "internal network gateways," the program switched to soldering both LoRa communication chips and PA / LNA chips; for the batch of 200 wafers designated as "external network gateways," the program, based on the "internal network gateway" design, added the soldering of communication expansion interface sockets. The equipment's nozzles automatically positioned themselves according to the program, applied flux, and completed the soldering. Switching between the three batches only required calling different programs, taking 15 minutes, without needing to replace the stencil or perform mechanical reconfiguration of the equipment.

[0135] Next, steps three and four are performed. At the parallel workstation, the operator uses an automated programming and soldering machine. The machine's probes contact the test points and debugging interfaces on the back of the PCBA. First, based on the batch information, the hardware role confirmation bits are programmed into the MCU's internal eFuse, and the communication configuration is written to an independent memory, which is then immediately read back for verification. Then, the machine's built-in robotic arm picks up components from the precision resistor strip. For edge nodes, a single 10kΩ resistor is soldered in batches; for intranet-type gateways, two 10kΩ resistors in series are soldered in batches; and for external gateways, two 10kΩ resistors in parallel are soldered in batches.

[0136] Finally, in step five, all soldered PCBAs are placed one by one into a unified testing fixture. The fixture's controller first measures the voltage division value of the role identification resistor network to identify the type of product being tested, and then automatically retrieves the corresponding complete set of test programs from the database. For example, if it identifies a PCBA with a corresponding voltage division value, it starts the external gateway test program, automatically completing RF performance tests, cache read / write tests, and high-speed signal integrity tests for the communication expansion interface. During the test, the module identification simulator is used to simulate the identification data stored in the external module's internal storage, verifying the main control board's ability to read, parse, and authenticate the identification. After the test is passed, a traceability report containing complete process parameters and test data is automatically generated. The entire differentiated manufacturing and testing process is completed within 4 hours, achieving efficient mixed production of the three roles on a single platform.

[0137] The above description is merely a preferred embodiment of the present invention. It should be understood that the present invention is not limited to the forms disclosed herein and should not be construed as excluding other embodiments. It can be used in various other combinations, modifications, and environments, and can be altered within the scope of the concept described herein through the above teachings or related technologies or knowledge. Modifications and variations made by those skilled in the art that do not depart from the spirit and scope of the present invention should be within the protection scope of the appended claims.

Claims

1. An off-grid Internet of Things edge node: comprising a PCBA substrate uniformly designed for platform-based production, the substrate being uniformly designed and prepared for manufacturing products with three different hardware roles—edge node, intranet gateway, and external gateway—through selective soldering and programming processes, and having a general-purpose microcontroller, energy storage power management unit, unified energy consumption scheduling unit, and security authentication unit laid out on it, as well as energy-specific interface pads and general-purpose multi-channel adaptive interface pads reserved for the three roles and connected at the substrate level; The substrate has a role-curing soldering area, in which a local networking communication module containing only low-power wide area network communication transceiver chips and RF front-end matching network, but excluding power amplifiers and low-noise amplifiers, is fixed by a curing connection method that cannot be replaced in the field. The substrate is equipped with a differentiated interface system, consisting of only an energy-specific interface and a general-purpose multi-channel adaptive interface. The energy-specific interface provides a physically continuous energy harvesting path to the energy storage power management unit and is used to connect external energy modules. The general-purpose multi-channel adaptive interface is used to connect sensor modules or actuator modules. The edge node does not have a dedicated communication expansion interface in the factory-delivered state. The substrate is provided with a role identification resistor network, which consists of a unique combination of resistance values ​​composed of a single 10 kΩ precision resistor, defining the substrate as an edge node role; the PCBA substrate is also provided with a voltage follower circuit, whose input is connected to the output of a bandgap reference voltage source decoupled from the system power supply inside the microcontroller, and whose output provides a high driving capability and low impedance reference voltage to drive the role identification resistor network. The substrate is equipped with a functional configuration fuse array, including an internal electrically programmable fuse (eFuse) of the microcontroller and an independent non-volatile configuration memory. The hardware role confirmation bit is burned into the internal eFuse at the factory, and the communication frequency band configuration is burned into the configuration memory. The fuse status cannot be erased. After the microcontroller is powered on, it confirms that the system power supply voltage is stable within the preset nominal range, reads the voltage divider value of the resistor network and performs dual verification with the internal eFuse role confirmation bit, and loads the node-level firmware partition after confirming that they are consistent.

2. An off-grid IoT intranet gateway: comprising the same PCBA substrate as claim 1, uniformly designed for platform-based production; The role-fixed welding area is fixed to the local networking communication module through a fixed connection method that cannot be replaced on site. This module includes a low-power wide area network communication transceiver chip, an RF front-end matching network, and a power amplifier and a low-noise amplifier. The differentiated interface system consists of only an energy-specific interface and a general-purpose multi-channel adaptive interface. The energy-specific interface provides a physically continuous energy acquisition path to the energy storage power management unit and is used to connect external energy modules. The general-purpose multi-channel adaptive interface is used to connect sensor modules or actuator modules. The intranet-type gateway does not have a dedicated communication expansion interface in the factory-delivered state. It also includes a large-capacity data cache area, used to cache data aggregated from multiple edge nodes within the region; The role recognition resistor network consists of two 10 kΩ precision resistors connected in series to form a total resistance of 20 kΩ, defining the substrate as an intranet-type gateway role; the PCBA substrate is also equipped with a voltage follower circuit, whose input is connected to the output of a bandgap reference voltage source decoupled from the system power supply inside the microcontroller, and whose output provides a high-driving-capability, low-impedance reference voltage to drive the role recognition resistor network. The functional configuration fuse array includes the microcontroller's internal eFuse and an independent non-volatile configuration memory. The hardware role confirmation bit is burned into the internal eFuse at the factory, and the communication frequency band configuration and area identifier are burned into the configuration memory. The fuse status cannot be erased. After the microcontroller is powered on, it confirms that the system power supply voltage is stable within the preset nominal range, reads the voltage divider value of the resistor network and performs dual verification with the internal eFuse role confirmation bit. If they are consistent, it loads the gateway-level firmware partition and enables the power amplifier and low-noise amplifier.

3. An off-grid IoT external gateway: comprising the same PCBA substrate as claim 1, uniformly designed for platform-based production; The role-fixed welding area is fixed to the local networking communication module through a fixed connection method that cannot be replaced on site. This module includes a low-power wide area network communication transceiver chip, an RF front-end matching network, a power amplifier, and a low-noise amplifier. The differentiated interface system consists of only one energy-specific interface, one communication extension-specific interface, and one general-purpose multi-channel adaptive interface. The energy-specific interface provides a physically continuous energy acquisition path to the energy storage power management unit and is used to connect external energy modules. The general-purpose multi-channel adaptive interface is used to connect sensor modules or actuator modules. The communication extension-specific interface is used to connect external external communication modules. It also includes a large-capacity data cache area for caching aggregated data from multiple nodes; The role recognition resistor network consists of two 10 kΩ precision resistors connected in parallel to form a total resistance of 5 kΩ. This substrate is defined as an external gateway role. The PCBA substrate is also equipped with a voltage follower circuit. Its input is connected to the output of a bandgap reference voltage source that is decoupled from the system power supply inside the microcontroller. Its output provides a high-driving-capability, low-impedance reference voltage to drive the role recognition resistor network. The functional configuration fuse array includes the microcontroller's internal eFuse and an independent non-volatile configuration memory. The hardware role confirmation bit is burned into the internal eFuse at the factory, and the communication frequency band configuration, external communication type pre-configuration, and area identifier are burned into the configuration memory. The fuse status cannot be erased. After the microcontroller is powered on, it confirms that the system power supply voltage is stable within the preset nominal range, reads the voltage divider value of the resistor network and performs dual verification with the internal eFuse role confirmation bit. If they are consistent, it loads the gateway-level firmware partition and enables the power amplifier, low-noise amplifier and dedicated communication expansion interface.

4. The node or gateway according to any one of claims 1 to 3, characterized in that: The external energy module, the external external communication module, and the module that accesses the universal multi-channel adaptive interface all have built-in non-volatile memory chips that store module identification and electrical parameters. The module identification includes at least a globally unique module serial number and a safe power supply voltage window; The security authentication unit is configured to verify the legitimacy of the module's identity.

5. The node or gateway according to claim 4, characterized in that: The energy-specific interface has a rated current of no more than 5 amps and an open-circuit voltage withstand of no more than 50 volts DC, and features anti-misinsertion coding and an enhanced locking structure; the general-purpose multi-channel adaptive interface is a multi-core industrial-grade connector with a protection level of no less than IP67, and the rated current carrying capacity of the energy-specific interface is at least one order of magnitude greater than that of the general-purpose multi-channel adaptive interface. The microcontroller is configured to: perform a safety adaptation process for modules with a universal multiplexer interface, including establishing communication with the module under low voltage to obtain its identity and electrical parameters, and configuring the correct operating voltage for it after completing safety verification; and perform a fast adaptation process for modules with a dedicated energy interface or a dedicated communication extension interface by utilizing the known prior information of the interface characteristics. The safety adaptation process includes obtaining the complete operating voltage window from the module and setting the permanent operating voltage accordingly.

6. The node or gateway according to claim 4, characterized in that: The security authentication unit is configured to: read the identity identifier built into the plug-in module, verify its legitimacy with a preset root public key, and if the verification fails, cut off the interface power and report a security alarm; the preset root public key is stored in an erasable and rewritable non-volatile storage area and has an open remote update channel. The public key update operation performed by the update channel must pass at least two security checks, namely, digital signature verification of the public key data to be updated, time window validity verification, and device serial number binding verification. The microcontroller is further configured such that: after each successful data transmission to the external gateway and receipt of confirmation, the intranet gateway persists the breakpoint marker of the current data read to its local non-volatile storage in a transactional atomic manner. This operation does not depend on the unplugging event of the external gateway or any active update instruction. When a module with the same identity is re-inserted, the breakpoint marker is retrieved by querying the intranet gateway to resume the interrupted transmission. The breakpoint marker includes the module's unique serial number and module type identifier code read from the module's identity identifier.

7. The external connection gateway according to claim 3, characterized in that: The dedicated communication expansion interface has a high-speed data bus with a data rate of not less than 100Mbps, impedance control traces with a characteristic impedance of 50Ω±10%, a dedicated radio frequency status indication channel, and an electromagnetic shielding shell; the microcontroller directly reads the communication characteristic parameters stored in the external communication module to load the corresponding protocol stack. The unified energy consumption scheduling unit monitors the terminal voltage of the energy storage unit and executes control logic with time hysteresis: when the terminal voltage of the energy storage unit is continuously higher than the first voltage threshold for a first preset time, the external communication module is woken up; when the terminal voltage of the energy storage unit is lower than the second voltage threshold or the current backhaul task has been completed and the terminal voltage has fallen back to below the first voltage threshold for a second preset time, the external communication module is forced to hibernate, wherein the first voltage threshold being higher than the second voltage threshold constitutes a hysteresis window; the power consumption budget of the local network communication module is marked as the first-level energy consumption budget, which has a higher priority than the dynamic scheduling priority of the external communication module, ensuring that the local data aggregation and command issuance capabilities receive the highest priority power guarantee under any operating condition.

8. An off-grid Internet of Things (IoT) hierarchical collaborative network system, characterized in that: It includes at least one edge node as described in claim 1, at least one intranet gateway as described in claim 2, and at least one external gateway as described in claim 3; The edge nodes, intranet gateways, and external gateways all form a topology through local networking communication modules within their respective role-fixed areas that cannot be replaced on-site. The intranet gateway receives periodic data from the edge nodes and caches it in a large-capacity data cache area. The external gateway reads the cached data of the intranet gateway in batches through polling or event triggering and transmits it back to the wide area network through an external external communication module. The polling cycle for external gateways is 15 minutes, and the event triggering condition is that the cache capacity of internal gateways reaches 80%. When an external gateway is replaced, the new machine completes identification, loading, and data routing recovery within 10 seconds. Edge nodes, lacking power amplifiers and low-noise amplifiers, cannot undertake gateway aggregation tasks; intranet gateways, due to internal eFuse hardware root trust lock, cannot undertake wide-area backhaul tasks even if attackers physically connect external communication modules via flying wires, as the firmware refuses to load the communication protocol stack; external gateways, due to inherent power amplifier / low-noise amplifier and eFuse lock, have a higher power consumption baseline than other roles and cannot undertake long-term low-power acquisition tasks for edge nodes. The hardware boundaries of these three roles are physically insurmountable.

9. A platform-based manufacturing process for off-grid IoT device PCBAs, used to manufacture edge nodes, intranet gateways, and external gateways as described in any one of claims 1 to 3, characterized in that: Step 1: Standardize SMT placement. On the same SMT production line, using the exact same stencil pattern and placement program, mount the common BOM components for the three roles onto a blank PCBA substrate of the same specification designed for platform-based production. The common components include at least a microcontroller, a power management chip, a dedicated energy interface and a universal multi-channel adaptive interface socket, and a role-specific RF matching network. Calculated based on the number of discrete components, the component reuse rate can reach more than 80%. After this step is completed, a general semi-finished product that cannot be distinguished from the final role is generated. Step 2, differentiated soldering for role-specific areas: edge nodes only solder low-power WAN communication transceiver chips and matching networks; intranet gateways additionally solder power amplifiers and low-noise amplifiers; external gateways, in addition to soldering the same components as intranet gateways, also solder dedicated communication expansion interface sockets. Step 3: Function configuration fuse programming and configuration memory initialization. The hardware role confirmation bit is programmed into the microcontroller's internal eFuse through the debugging interface, and the configuration information is written to the independent configuration memory through the test points. After programming, it is verified that it cannot be tampered with. Step 4, Role Recognition Resistor Network Welding: Weld a single 10 kΩ resistor to the edge node, weld two 10 kΩ resistors in series to the internal network gateway, and weld two 10 kΩ resistors in parallel to the external network gateway. Step 5: Unify the testing fixture for verification. The fixture automatically reads the voltage divider value of the resistor network, identifies the PCBA type, and loads the corresponding test program. The voltage divider values ​​for the three roles range from -40 degrees Celsius to 85 degrees Celsius. Because the microcontroller uses an internal bandgap reference and is buffered by a voltage follower as the ADC reference, the voltage values ​​are independent of system power fluctuations. There is a safety interval of at least twice the maximum fluctuation range between the voltage ranges of each role. It also includes manufacturing quality traceability: assigning a unique manufacturing serial number and identifying each PCBA substrate during the SMT assembly process; The batch number and process parameters of the components soldered in the role-fixed area, the role and status burned into the eFuse inside the MCU, the data written to the independent configuration memory, the soldering resistance value and measured voltage divider value of the role identification resistor network are all stored in association with the manufacturing serial number; the test data verified by the standardized test fixtures are associated with the manufacturing serial number to form a manufacturing traceability report covering the entire process.

10. A method for replacing an entire external gateway, used in the external gateway as described in claim 3, characterized in that: When the old unit is removed, the hot-swap detection circuit triggers a removal interrupt, and the microcontroller executes a fast power-off protection process: terminating external communication tasks and sending a breakpoint update command to each managed intranet gateway, so that the intranet gateway persists the breakpoint mark of the current data reading to its local non-volatile storage; wherein, during normal operation, the intranet gateway has autonomously persisted the breakpoint mark after each successful data interaction transaction, and this operation is decoupled from the old unit removal event; When a new unit is inserted, the hot-swap detection circuit triggers an insertion interrupt. The microcontroller reads the identity identifier and communication parameters stored in the new unit's internal memory and performs security verification. It reads the voltage divider value of the role identification resistor network and the internal eFuse hardware role confirmation bit to confirm that the role is an external gateway. After successful verification, the external gateway firmware partition is loaded. The local network queries the local network gateway within the jurisdiction to obtain the breakpoint marker, requests to resume data transmission from the breakpoint, adds the data to the external transmission queue, and completes the topology reconstruction by broadcasting a role change announcement on the local network.

11. A hardware role self-identification method, used in the apparatus according to any one of claims 1 to 3, characterized in that: After powering on, the microcontroller first confirms that the system power supply voltage is stable within the preset nominal range. Then, it reads the voltage division value of the role identification resistor network with reference to the bandgap reference voltage source that is buffered by the voltage follower and internally decoupled from the system power supply. The voltage divider value is compared with the preset role voltage range, and double verification is performed by combining the hardware role confirmation bit of the eFuse inside the MCU in the functional configuration fuse array. If the two match, load the corresponding role's firmware partition and execute the configuration; otherwise, enter a security lock state. When the voltage divider value falls within the corresponding range and the eFuse role confirmation bit is 00, it is determined to be an edge node, the node-level firmware is loaded, the energy and general interface are enabled, and the power amplifier and communication extension-related functions are disabled. When the voltage divider value falls within the corresponding range and the eFuse role confirmation bit is 01, it is determined to be an intranet type gateway, the gateway-level firmware is loaded, the power amplifier / low noise amplifier is enabled, and the communication extension interface function is disabled. When the voltage divider value falls within the corresponding range and the eFuse role confirmation bit is 10, it is determined to be an external gateway, the gateway-level firmware is loaded, the power amplifier / low noise amplifier and communication expansion interface are enabled, and external communication is initialized according to the pre-configuration in the configuration memory.

12. A unified test fixture for verifying the PCBA as described in any one of claims 1 to 3, characterized in that: This includes programmable power supplies, radio frequency testers, module identification simulators, automatic plug-in / plug-out robotic arms, and controllers. The controller automatically identifies the type of PCBA under test as an edge node, intranet gateway, or external gateway by reading the voltage divider value of the role identification resistor network, and automatically loads the corresponding test program. After the test is completed, a manufacturing traceability report containing test data, eFuse status, resistor network value, and role type is generated.

13. A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the whole machine replacement method as described in claim 10 or the hardware role self-identification method as described in claim 11.